Migrate to a monorepo setup - step 1 * Move web to subfolder /apps/scandic-web * Yarn + transitive deps - Move to yarn - design-system package removed for now since yarn doesn't support the parameter for token (ie project currently broken) - Add missing transitive dependencies as Yarn otherwise prevents these imports - VS Code doesn't pick up TS path aliases unless you open /apps/scandic-web instead of root (will be fixed with monorepo) * Pin framer-motion to temporarily fix typing issue https://github.com/adobe/react-spectrum/issues/7494 * Pin zod to avoid typ error There seems to have been a breaking change in the types returned by zod where error is now returned as undefined instead of missing in the type. We should just handle this but to avoid merge conflicts just pin the dependency for now. * Pin react-intl version Pin version of react-intl to avoid tiny type issue where formatMessage does not accept a generic any more. This will be fixed in a future commit, but to avoid merge conflicts just pin for now. * Pin typescript version Temporarily pin version as newer versions as stricter and results in a type error. Will be fixed in future commit after merge. * Setup workspaces * Add design-system as a monorepo package * Remove unused env var DESIGN_SYSTEM_ACCESS_TOKEN * Fix husky for monorepo setup * Update netlify.toml * Add lint script to root package.json * Add stub readme * Fix react-intl formatMessage types * Test netlify.toml in root * Remove root toml * Update netlify.toml publish path * Remove package-lock.json * Update build for branch/preview builds Approved-by: Linus Flood
28 lines
2.0 KiB
TypeScript
28 lines
2.0 KiB
TypeScript
import { iconVariants } from "./variants"
|
|
|
|
import type { IconProps } from "@/types/components/icon"
|
|
|
|
export default function ErrorCircleFilledIcon({
|
|
className,
|
|
color,
|
|
...props
|
|
}: IconProps) {
|
|
const classNames = iconVariants({ className, color })
|
|
return (
|
|
<svg
|
|
className={classNames}
|
|
fill="none"
|
|
height="65"
|
|
viewBox="0 0 65 65"
|
|
width="65"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
{...props}
|
|
>
|
|
<path
|
|
d="M32.492 45.5C33.2078 45.5 33.8101 45.2579 34.299 44.7737C34.7879 44.2895 35.0324 43.6895 35.0324 42.9737C35.0324 42.2579 34.7902 41.6556 34.306 41.1667C33.8218 40.6778 33.2218 40.4333 32.506 40.4333C31.7902 40.4333 31.1879 40.6754 30.699 41.1597C30.2101 41.6438 29.9657 42.2438 29.9657 42.9597C29.9657 43.6754 30.2078 44.2778 30.692 44.7667C31.1762 45.2556 31.7762 45.5 32.492 45.5ZM32.5324 35.1667C33.2212 35.1667 33.8101 34.9222 34.299 34.4333C34.7879 33.9444 35.0324 33.3556 35.0324 32.6667V21.9333C35.0324 21.2444 34.7879 20.6556 34.299 20.1667C33.8101 19.6778 33.2212 19.4333 32.5324 19.4333C31.8435 19.4333 31.2546 19.6778 30.7657 20.1667C30.2768 20.6556 30.0324 21.2444 30.0324 21.9333V32.6667C30.0324 33.3556 30.2768 33.9444 30.7657 34.4333C31.2546 34.9222 31.8435 35.1667 32.5324 35.1667ZM32.499 58.5C28.9032 58.5 25.5239 57.8164 22.3614 56.4491C19.1987 55.0819 16.4477 53.2263 14.1082 50.8825C11.7688 48.5386 9.91569 45.787 8.54902 42.6275C7.18236 39.4681 6.49902 36.0922 6.49902 32.5C6.49902 28.9041 7.18265 25.5249 8.54989 22.3623C9.91713 19.1997 11.7727 16.4487 14.1166 14.1092C16.4604 11.7697 19.2121 9.91667 22.3715 8.55C25.531 7.18333 28.9068 6.5 32.499 6.5C36.0949 6.5 39.4741 7.18362 42.6367 8.55087C45.7993 9.91811 48.5504 11.7737 50.8898 14.1175C53.2293 16.4614 55.0824 19.213 56.449 22.3725C57.8157 25.5319 58.499 28.9078 58.499 32.5C58.499 36.0959 57.8154 39.4751 56.4482 42.6377C55.0809 45.8003 53.2254 48.5513 50.8815 50.8908C48.5376 53.2303 45.786 55.0833 42.6266 56.45C39.4671 57.8167 36.0912 58.5 32.499 58.5Z"
|
|
fill="#26201E"
|
|
/>
|
|
</svg>
|
|
)
|
|
}
|