diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000000..f7ec20a985 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,2 @@ +# Icon glyphs — generated via SVGR from @ably/ui's SVG sources (DX-1128) +src/components/Icon/glyphs/ diff --git a/.prettierignore b/.prettierignore index f8dfafd431..2ceb138a62 100644 --- a/.prettierignore +++ b/.prettierignore @@ -9,3 +9,6 @@ data/onPostBuild/__fixtures__/*.mdx # Vendored @ably/ui design tokens, reset and component CSS (DX-1128) - do not reformat src/styles/ui/ + +# Icon glyphs — generated via SVGR from @ably/ui's SVG sources (DX-1128), do not reformat +src/components/Icon/glyphs/ diff --git a/package.json b/package.json index e56d260681..2e15fd6858 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "@codesandbox/sandpack-react": "^2.20.0", "@codesandbox/sandpack-themes": "^2.0.21", "@gfx/zopfli": "^1.0.15", + "@heroicons/react": "^2.2.0", "@mdx-js/react": "^2.3.0", "@radix-ui/react-accordion": "^1.2.12", "@radix-ui/react-dropdown-menu": "^2.1.16", diff --git a/src/components/Examples/ExamplesCheckbox.tsx b/src/components/Examples/ExamplesCheckbox.tsx index 1b756abe85..31871d63bf 100644 --- a/src/components/Examples/ExamplesCheckbox.tsx +++ b/src/components/Examples/ExamplesCheckbox.tsx @@ -1,6 +1,6 @@ import React from 'react'; -import Icon from '@ably/ui/core/Icon'; import cn from 'src/utilities/cn'; +import { CheckIcon } from '@heroicons/react/24/outline'; const ExamplesCheckbox = ({ label, @@ -35,10 +35,9 @@ const ExamplesCheckbox = ({ data-ui-checkbox-styled="" className={cn(['ui-checkbox-styled', disabled && '!border-neutral-800 !bg-orange-600'])} > -