diff --git a/frontend/apps/client/package.json b/frontend/apps/client/package.json index de844a68..1c8012bf 100644 --- a/frontend/apps/client/package.json +++ b/frontend/apps/client/package.json @@ -9,8 +9,6 @@ "test": "vitest", "lint": "eslint .", "coverage": "vitest run --coverage", - "create-theme": "node src/scripts/create-theme.cjs & pnpm eslint --fix", - "create-icon": "node src/scripts/create-icon.cjs", "optimize-image": "node src/scripts/optimize-image.cjs", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build", diff --git a/frontend/apps/client/tsconfig.app.json b/frontend/apps/client/tsconfig.app.json index 5d88d692..399d9658 100644 --- a/frontend/apps/client/tsconfig.app.json +++ b/frontend/apps/client/tsconfig.app.json @@ -16,5 +16,5 @@ "allowImportingTsExtensions": true, "noEmit": true, }, - "include": ["src", "__tests__"] + "include": ["src", "__tests__", "../../packages/ui/scripts/create-icon.cjs", "../../packages/theme/scripts/create-theme.cjs"] } diff --git a/frontend/packages/theme/package.json b/frontend/packages/theme/package.json index b78a3170..8d18b284 100644 --- a/frontend/packages/theme/package.json +++ b/frontend/packages/theme/package.json @@ -27,6 +27,7 @@ "@vanilla-extract/recipes": "^0.5.5" }, "scripts": { - "build": "tsc -b && node scripts/copy-fonts.js" + "build": "tsc -b && node scripts/copy-fonts.js", + "create-theme": "node ./scripts/create-theme.cjs & pnpm eslint --fix" } } diff --git a/frontend/apps/client/src/scripts/create-theme.cjs b/frontend/packages/theme/scripts/create-theme.cjs similarity index 100% rename from frontend/apps/client/src/scripts/create-theme.cjs rename to frontend/packages/theme/scripts/create-theme.cjs diff --git a/frontend/packages/ui/package.json b/frontend/packages/ui/package.json index 50c0a78e..3822a8a6 100644 --- a/frontend/packages/ui/package.json +++ b/frontend/packages/ui/package.json @@ -13,7 +13,8 @@ "start": "tsup --watch", "test": "vitest", "storybook": "storybook dev -p 6006", - "build-storybook": "storybook build" + "build-storybook": "storybook build", + "create-icon": "node ./scripts/create-icon.cjs" }, "publishConfig": { "access": "public" diff --git a/frontend/apps/client/src/scripts/create-icon.cjs b/frontend/packages/ui/scripts/create-icon.cjs similarity index 87% rename from frontend/apps/client/src/scripts/create-icon.cjs rename to frontend/packages/ui/scripts/create-icon.cjs index ca553e72..02d69994 100644 --- a/frontend/apps/client/src/scripts/create-icon.cjs +++ b/frontend/packages/ui/scripts/create-icon.cjs @@ -1,8 +1,9 @@ const { existsSync, promises: fs } = require("fs"); const path = require("path"); +const ICON_DIR_RELATIVE_PATH = "../src/components/Icon"; -const SVG_DIR = path.resolve(__dirname, "../components/Icon/svg"); -const COMPONENT_DIR = path.resolve(__dirname,"../components/Icon/component"); +const SVG_DIR = path.resolve(__dirname, `${ICON_DIR_RELATIVE_PATH}/svg`); +const COMPONENT_DIR = path.resolve(__dirname,`${ICON_DIR_RELATIVE_PATH}/component`); const generateSvgComponentMap = async () => { const svgFiles = (await fs.readdir(SVG_DIR)).reduce( @@ -50,10 +51,9 @@ const createComponentContent = ( const hasFill = fillAttributes.length; const propsString = `{ clickable = false, className, width = 24, height = 24${hasStroke || hasFill ? ` ${hasStroke ? ', stroke = "white"' : ""}${hasFill ? ', fill = "white"' : ""}` : ""}, ...rest }`; const modifiedSvgContent = svgContent - .replace(/style="mask-type:luminance"/g, "MASK_TYPE_PLACEHOLDER") + .replace(/style="mask-type:([^"]+)"/g, (_match, value) => `style={{ maskType: "${value}" }}`) .replace(/data:image/g, "DATA_IMAGE_PLACEHOLDER") - .replace(/[-:](\w)/g, (_, letter) => letter.toUpperCase()) - .replace(/MASK_TYPE_PLACEHOLDER/g, "mask-type='luminance'") + .replace(/[:\-]([A-Za-z])/g, (_, letter) => letter.toUpperCase()) .replace(/DATA_IMAGE_PLACEHOLDER/g, "data:image") .replace(/]*)width="(\d+)"/g, `]*)height="(\d+)"/g, ` { }; const generateExportFile = async (components) => { - const EXPORT_FILE_PATH = path.resolve(__dirname, '../components/Icon/index.ts'); + const EXPORT_FILE_PATH = path.resolve(__dirname, `${ICON_DIR_RELATIVE_PATH}/index.ts`); const exportFileContent = components .map( (component) => - `export * from "./component/${component}.tsx";` + `export * from "./component/${component}";` ) .join("\n"); diff --git a/frontend/packages/ui/src/components/Icon/component/ArrowLeft.tsx b/frontend/packages/ui/src/components/Icon/component/ArrowLeft.tsx index bc1c246e..2811495b 100644 --- a/frontend/packages/ui/src/components/Icon/component/ArrowLeft.tsx +++ b/frontend/packages/ui/src/components/Icon/component/ArrowLeft.tsx @@ -1,43 +1,18 @@ -import type { IconProps } from '../Icon'; +import type { IconProps } from '../Icon.d.ts'; -export const ArrowLeft = ({ clickable = false, className, width = 24, height = 24, fill = 'white', ...rest }: IconProps) => ( - - - - - - - - +export const ArrowLeft = ({ clickable = false, className, width = 24, height = 24 , fill = "white", ...rest }: IconProps) => { + return ( + + + + + + + + -); + ); +}; ArrowLeft.displayName = 'ArrowLeft'; diff --git a/frontend/packages/ui/src/components/Icon/component/Calendar.tsx b/frontend/packages/ui/src/components/Icon/component/Calendar.tsx index 0db77c98..9252aceb 100644 --- a/frontend/packages/ui/src/components/Icon/component/Calendar.tsx +++ b/frontend/packages/ui/src/components/Icon/component/Calendar.tsx @@ -1,195 +1,67 @@ -import type { IconProps } from '../Icon'; +import type { IconProps } from '../Icon.d.ts'; -export const Calendar = ({ clickable = false, className, width = 24, height = 24, fill = 'white', ...rest }: IconProps) => ( - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +export const Calendar = ({ clickable = false, className, width = 24, height = 24 , fill = "white", ...rest }: IconProps) => { + return ( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -); + ); +}; Calendar.displayName = 'Calendar'; diff --git a/frontend/packages/ui/src/components/Icon/component/CalendarCheck.tsx b/frontend/packages/ui/src/components/Icon/component/CalendarCheck.tsx index 1035a5bf..370f9f1a 100644 --- a/frontend/packages/ui/src/components/Icon/component/CalendarCheck.tsx +++ b/frontend/packages/ui/src/components/Icon/component/CalendarCheck.tsx @@ -1,43 +1,18 @@ -import type { IconProps } from '../Icon'; +import type { IconProps } from '../Icon.d.ts'; -export const CalendarCheck = ({ clickable = false, className, width = 24, height = 24, fill = 'white', ...rest }: IconProps) => ( - - - - - - - - +export const CalendarCheck = ({ clickable = false, className, width = 24, height = 24 , fill = "white", ...rest }: IconProps) => { + return ( + + + + + + + + -); + ); +}; CalendarCheck.displayName = 'CalendarCheck'; diff --git a/frontend/packages/ui/src/components/Icon/component/Check.tsx b/frontend/packages/ui/src/components/Icon/component/Check.tsx index 4b0f6931..ee843afd 100644 --- a/frontend/packages/ui/src/components/Icon/component/Check.tsx +++ b/frontend/packages/ui/src/components/Icon/component/Check.tsx @@ -1,38 +1,18 @@ -import type { IconProps } from '../Icon'; +import type { IconProps } from '../Icon.d.ts'; -export const Check = ({ clickable = false, className, width = 24, height = 24, fill = 'white', ...rest }: IconProps) => ( - - - - - - - - +export const Check = ({ clickable = false, className, width = 24, height = 24 , fill = "white", ...rest }: IconProps) => { + return ( + + + + + + + + -); + ); +}; Check.displayName = 'Check'; diff --git a/frontend/packages/ui/src/components/Icon/component/CheckGraphic.tsx b/frontend/packages/ui/src/components/Icon/component/CheckGraphic.tsx new file mode 100644 index 00000000..447cf06c --- /dev/null +++ b/frontend/packages/ui/src/components/Icon/component/CheckGraphic.tsx @@ -0,0 +1,65 @@ + +import type { IconProps } from '../Icon.d.ts'; + +export const CheckGraphic = ({ clickable = false, className, width = 24, height = 24 , stroke = "white", fill = "white", ...rest }: IconProps) => { + return ( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ); +}; + +CheckGraphic.displayName = 'CheckGraphic'; diff --git a/frontend/packages/ui/src/components/Icon/component/ChevronDown.tsx b/frontend/packages/ui/src/components/Icon/component/ChevronDown.tsx index aa5289c2..d80b3114 100644 --- a/frontend/packages/ui/src/components/Icon/component/ChevronDown.tsx +++ b/frontend/packages/ui/src/components/Icon/component/ChevronDown.tsx @@ -1,32 +1,20 @@ -import type { IconProps } from '../Icon'; +import type { IconProps } from '../Icon.d.ts'; -export const ChevronDown = ({ clickable = false, className, width = 24, height = 24, fill = 'white', ...rest }: IconProps) => ( - - - - - - - - - - +export const ChevronDown = ({ clickable = false, className, width = 24, height = 24 , fill = "white", ...rest }: IconProps) => { + return ( + + + + + + + + + + -); + ); +}; ChevronDown.displayName = 'ChevronDown'; diff --git a/frontend/packages/ui/src/components/Icon/component/ChevronLeft.tsx b/frontend/packages/ui/src/components/Icon/component/ChevronLeft.tsx index 5f23a825..f1e197dd 100644 --- a/frontend/packages/ui/src/components/Icon/component/ChevronLeft.tsx +++ b/frontend/packages/ui/src/components/Icon/component/ChevronLeft.tsx @@ -1,21 +1,13 @@ -import type { IconProps } from '../Icon'; +import type { IconProps } from '../Icon.d.ts'; -export const ChevronLeft = ({ clickable = false, className, width = 24, height = 24, fill = 'white', ...rest }: IconProps) => ( - - - +export const ChevronLeft = ({ clickable = false, className, width = 24, height = 24 , fill = "white", ...rest }: IconProps) => { + return ( + + + -); + ); +}; ChevronLeft.displayName = 'ChevronLeft'; diff --git a/frontend/packages/ui/src/components/Icon/component/ChevronRight.tsx b/frontend/packages/ui/src/components/Icon/component/ChevronRight.tsx index 264f393f..1d2cbed9 100644 --- a/frontend/packages/ui/src/components/Icon/component/ChevronRight.tsx +++ b/frontend/packages/ui/src/components/Icon/component/ChevronRight.tsx @@ -1,21 +1,13 @@ -import type { IconProps } from '../Icon'; +import type { IconProps } from '../Icon.d.ts'; -export const ChevronRight = ({ clickable = false, className, width = 24, height = 24, fill = 'white', ...rest }: IconProps) => ( - - - +export const ChevronRight = ({ clickable = false, className, width = 24, height = 24 , fill = "white", ...rest }: IconProps) => { + return ( + + + -); + ); +}; ChevronRight.displayName = 'ChevronRight'; diff --git a/frontend/packages/ui/src/components/Icon/component/CircleCheck.tsx b/frontend/packages/ui/src/components/Icon/component/CircleCheck.tsx index a7c06d74..7f6a9f89 100644 --- a/frontend/packages/ui/src/components/Icon/component/CircleCheck.tsx +++ b/frontend/packages/ui/src/components/Icon/component/CircleCheck.tsx @@ -1,43 +1,18 @@ -import type { IconProps } from '../Icon'; +import type { IconProps } from '../Icon.d.ts'; -export const CircleCheck = ({ clickable = false, className, width = 24, height = 24, fill = 'white', ...rest }: IconProps) => ( - - - - - - - - +export const CircleCheck = ({ clickable = false, className, width = 24, height = 24 , fill = "white", ...rest }: IconProps) => { + return ( + + + + + + + + -); + ); +}; CircleCheck.displayName = 'CircleCheck'; diff --git a/frontend/packages/ui/src/components/Icon/component/Clock.tsx b/frontend/packages/ui/src/components/Icon/component/Clock.tsx index 718207e8..0a1d6713 100644 --- a/frontend/packages/ui/src/components/Icon/component/Clock.tsx +++ b/frontend/packages/ui/src/components/Icon/component/Clock.tsx @@ -1,43 +1,18 @@ -import type { IconProps } from '../Icon'; +import type { IconProps } from '../Icon.d.ts'; -export const Clock = ({ clickable = false, className, width = 24, height = 24, fill = 'white', ...rest }: IconProps) => ( - - - - - - - - +export const Clock = ({ clickable = false, className, width = 24, height = 24 , fill = "white", ...rest }: IconProps) => { + return ( + + + + + + + + -); + ); +}; Clock.displayName = 'Clock'; diff --git a/frontend/packages/ui/src/components/Icon/component/ClockGraphic.tsx b/frontend/packages/ui/src/components/Icon/component/ClockGraphic.tsx index 12e3fe62..10d3e198 100644 --- a/frontend/packages/ui/src/components/Icon/component/ClockGraphic.tsx +++ b/frontend/packages/ui/src/components/Icon/component/ClockGraphic.tsx @@ -7,11 +7,11 @@ export const ClockGraphic = ({ clickable = false, className, width = 24, height - + - + diff --git a/frontend/packages/ui/src/components/Icon/component/Close.tsx b/frontend/packages/ui/src/components/Icon/component/Close.tsx index 46723f33..d8e88dd0 100644 --- a/frontend/packages/ui/src/components/Icon/component/Close.tsx +++ b/frontend/packages/ui/src/components/Icon/component/Close.tsx @@ -1,43 +1,18 @@ -import type { IconProps } from '../Icon'; +import type { IconProps } from '../Icon.d.ts'; -export const Close = ({ clickable = false, className, width = 24, height = 24, fill = 'white', ...rest }: IconProps) => ( - - - - - - - - +export const Close = ({ clickable = false, className, width = 24, height = 24 , fill = "white", ...rest }: IconProps) => { + return ( + + + + + + + + -); + ); +}; Close.displayName = 'Close'; diff --git a/frontend/packages/ui/src/components/Icon/component/Google.tsx b/frontend/packages/ui/src/components/Icon/component/Google.tsx index 74ffb632..a77c5d4d 100644 --- a/frontend/packages/ui/src/components/Icon/component/Google.tsx +++ b/frontend/packages/ui/src/components/Icon/component/Google.tsx @@ -1,44 +1,16 @@ -import type { IconProps } from '../Icon'; +import type { IconProps } from '../Icon.d.ts'; -export const Google = ({ clickable = false, className, width = 24, height = 24, fill = 'white', ...rest }: IconProps) => ( - - - - - - +export const Google = ({ clickable = false, className, width = 24, height = 24 , fill = "white", ...rest }: IconProps) => { + return ( + + + + + + -); + ); +}; Google.displayName = 'Google'; diff --git a/frontend/packages/ui/src/components/Icon/component/GoogleCalendar.tsx b/frontend/packages/ui/src/components/Icon/component/GoogleCalendar.tsx index c40c0845..a74a802d 100644 --- a/frontend/packages/ui/src/components/Icon/component/GoogleCalendar.tsx +++ b/frontend/packages/ui/src/components/Icon/component/GoogleCalendar.tsx @@ -1,42 +1,19 @@ -import type { IconProps } from '../Icon'; +import type { IconProps } from '../Icon.d.ts'; -export const GoogleCalendar = ({ clickable = false, className, width = 24, height = 24, fill = 'white', ...rest }: IconProps) => ( - - - - - - - - - +export const GoogleCalendar = ({ clickable = false, className, width = 24, height = 24 , fill = "white", ...rest }: IconProps) => { + return ( + + + + + + + + + -); + ); +}; GoogleCalendar.displayName = 'GoogleCalendar'; diff --git a/frontend/packages/ui/src/components/Icon/component/IconDotsMono.tsx b/frontend/packages/ui/src/components/Icon/component/IconDotsMono.tsx index 4b74846b..59bf76e1 100644 --- a/frontend/packages/ui/src/components/Icon/component/IconDotsMono.tsx +++ b/frontend/packages/ui/src/components/Icon/component/IconDotsMono.tsx @@ -1,43 +1,18 @@ -import type { IconProps } from '../Icon'; +import type { IconProps } from '../Icon.d.ts'; -export const IconDotsMono = ({ clickable = false, className, width = 24, height = 24, fill = 'white', ...rest }: IconProps) => ( - - - - - - - - +export const IconDotsMono = ({ clickable = false, className, width = 24, height = 24 , fill = "white", ...rest }: IconProps) => { + return ( + + + + + + + + -); + ); +}; IconDotsMono.displayName = 'IconDotsMono'; diff --git a/frontend/packages/ui/src/components/Icon/component/Logo.tsx b/frontend/packages/ui/src/components/Icon/component/Logo.tsx index 37a77660..71465bb9 100644 --- a/frontend/packages/ui/src/components/Icon/component/Logo.tsx +++ b/frontend/packages/ui/src/components/Icon/component/Logo.tsx @@ -1,95 +1,45 @@ -import type { IconProps } from '../Icon'; +import type { IconProps } from '../Icon.d.ts'; -export const Logo = ({ clickable = false, className, width = 24, height = 24, fill = 'white', ...rest }: IconProps) => ( - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +export const Logo = ({ clickable = false, className, width = 24, height = 24 , fill = "white", ...rest }: IconProps) => { + return ( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -); + ); +}; Logo.displayName = 'Logo'; diff --git a/frontend/packages/ui/src/components/Icon/component/Pencil.tsx b/frontend/packages/ui/src/components/Icon/component/Pencil.tsx index 6c1181f5..4ba57719 100644 --- a/frontend/packages/ui/src/components/Icon/component/Pencil.tsx +++ b/frontend/packages/ui/src/components/Icon/component/Pencil.tsx @@ -1,43 +1,18 @@ -import type { IconProps } from '../Icon'; +import type { IconProps } from '../Icon.d.ts'; -export const Pencil = ({ clickable = false, className, width = 24, height = 24, fill = 'white', ...rest }: IconProps) => ( - - - - - - - - +export const Pencil = ({ clickable = false, className, width = 24, height = 24 , fill = "white", ...rest }: IconProps) => { + return ( + + + + + + + + -); + ); +}; Pencil.displayName = 'Pencil'; diff --git a/frontend/packages/ui/src/components/Icon/component/PinLocation.tsx b/frontend/packages/ui/src/components/Icon/component/PinLocation.tsx index 6f7c79ba..c835ef73 100644 --- a/frontend/packages/ui/src/components/Icon/component/PinLocation.tsx +++ b/frontend/packages/ui/src/components/Icon/component/PinLocation.tsx @@ -1,43 +1,18 @@ -import type { IconProps } from '../Icon'; +import type { IconProps } from '../Icon.d.ts'; -export const PinLocation = ({ clickable = false, className, width = 24, height = 24, fill = 'white', ...rest }: IconProps) => ( - - - - - - - - +export const PinLocation = ({ clickable = false, className, width = 24, height = 24 , fill = "white", ...rest }: IconProps) => { + return ( + + + + + + + + -); + ); +}; PinLocation.displayName = 'PinLocation'; diff --git a/frontend/packages/ui/src/components/Icon/component/Plus.tsx b/frontend/packages/ui/src/components/Icon/component/Plus.tsx index 52f4763b..f9c2374b 100644 --- a/frontend/packages/ui/src/components/Icon/component/Plus.tsx +++ b/frontend/packages/ui/src/components/Icon/component/Plus.tsx @@ -1,27 +1,13 @@ -import type { IconProps } from '../Icon'; +import type { IconProps } from '../Icon.d.ts'; -export const Plus = ({ clickable = false, className, width = 24, height = 24, stroke = 'white', ...rest }: IconProps) => ( - - - +export const Plus = ({ clickable = false, className, width = 24, height = 24 , stroke = "white", ...rest }: IconProps) => { + return ( + + + -); + ); +}; Plus.displayName = 'Plus'; diff --git a/frontend/packages/ui/src/components/Icon/component/Progress.tsx b/frontend/packages/ui/src/components/Icon/component/Progress.tsx index 655bc877..f808796f 100644 --- a/frontend/packages/ui/src/components/Icon/component/Progress.tsx +++ b/frontend/packages/ui/src/components/Icon/component/Progress.tsx @@ -1,92 +1,25 @@ -import type { IconProps } from '../Icon'; +import type { IconProps } from '../Icon.d.ts'; -export const Progress = ({ clickable = false, className, width = 24, height = 24, fill = 'white', ...rest }: IconProps) => ( - - - - - - - - - - - - - - - +export const Progress = ({ clickable = false, className, width = 24, height = 24 , fill = "white", ...rest }: IconProps) => { + return ( + + + + + + + + + + + + + + + -); + ); +}; Progress.displayName = 'Progress'; diff --git a/frontend/packages/ui/src/components/Icon/component/TriangleWarning.tsx b/frontend/packages/ui/src/components/Icon/component/TriangleWarning.tsx index 8e4c89d5..2489a011 100644 --- a/frontend/packages/ui/src/components/Icon/component/TriangleWarning.tsx +++ b/frontend/packages/ui/src/components/Icon/component/TriangleWarning.tsx @@ -1,43 +1,18 @@ -import type { IconProps } from '../Icon'; +import type { IconProps } from '../Icon.d.ts'; -export const TriangleWarning = ({ clickable = false, className, width = 24, height = 24, fill = 'white', ...rest }: IconProps) => ( - - - - - - - - +export const TriangleWarning = ({ clickable = false, className, width = 24, height = 24 , fill = "white", ...rest }: IconProps) => { + return ( + + + + + + + + -); + ); +}; TriangleWarning.displayName = 'TriangleWarning'; diff --git a/frontend/packages/ui/src/components/Icon/component/UserTwo.tsx b/frontend/packages/ui/src/components/Icon/component/UserTwo.tsx index b6033496..d735a242 100644 --- a/frontend/packages/ui/src/components/Icon/component/UserTwo.tsx +++ b/frontend/packages/ui/src/components/Icon/component/UserTwo.tsx @@ -1,50 +1,19 @@ -import type { IconProps } from '../Icon'; +import type { IconProps } from '../Icon.d.ts'; -export const UserTwo = ({ clickable = false, className, width = 24, height = 24, fill = 'white', ...rest }: IconProps) => ( - - - - - - - - - +export const UserTwo = ({ clickable = false, className, width = 24, height = 24 , fill = "white", ...rest }: IconProps) => { + return ( + + + + + + + + + -); + ); +}; UserTwo.displayName = 'UserTwo'; diff --git a/frontend/packages/ui/src/components/Icon/custom/CheckGraphic.tsx b/frontend/packages/ui/src/components/Icon/custom/CheckGraphic.tsx deleted file mode 100644 index 4a81dda7..00000000 --- a/frontend/packages/ui/src/components/Icon/custom/CheckGraphic.tsx +++ /dev/null @@ -1,193 +0,0 @@ - -import type { IconProps } from '../Icon'; - -export const CheckGraphic = ({ clickable = false, className, width = 24, height = 24, stroke = 'white', fill = 'white', ...rest }: IconProps) => ( - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -); - -CheckGraphic.displayName = 'CheckGraphic'; \ No newline at end of file diff --git a/frontend/packages/ui/src/components/Icon/custom/ClockGraphic.tsx b/frontend/packages/ui/src/components/Icon/custom/ClockGraphic.tsx deleted file mode 100644 index 3722afdb..00000000 --- a/frontend/packages/ui/src/components/Icon/custom/ClockGraphic.tsx +++ /dev/null @@ -1,90 +0,0 @@ - -import type { IconProps } from '../Icon'; - -export const ClockGraphic = ({ clickable = false, className, width = 24, height = 24, stroke = 'white', fill = 'white', ...rest }: IconProps) => ( - - - - - - - - - - - - - - - - - - - -); - -ClockGraphic.displayName = 'ClockGraphic'; diff --git a/frontend/packages/ui/src/components/Icon/index.ts b/frontend/packages/ui/src/components/Icon/index.ts index 9a403ea3..bf31d0ec 100644 --- a/frontend/packages/ui/src/components/Icon/index.ts +++ b/frontend/packages/ui/src/components/Icon/index.ts @@ -1,24 +1,24 @@ -export * from './component/ArrowLeft'; -export * from './component/CalendarCheck'; -export * from './component/CalendarMini'; -export * from './component/Calendar'; -export * from './component/Check'; -export * from './custom/CheckGraphic'; -export * from './component/ChevronDown'; -export * from './component/ChevronLeft'; -export * from './component/ChevronRight'; -export * from './component/CircleCheck'; -export * from './component/ClockGraphic'; -export * from './component/Clock'; -export * from './component/Close'; -export * from './component/GoogleCalendar'; -export * from './component/Google'; -export * from './component/IconDotsMono'; -export * from './component/Logo'; -export * from './component/Pencil'; -export * from './component/PinLocation'; -export * from './component/Plus'; -export * from './component/Progress'; -export * from './component/TriangleWarning'; -export * from './component/UserTwo'; -export * from './component/TooltipArrow'; \ No newline at end of file +export * from "./component/ArrowLeft"; +export * from "./component/CalendarCheck"; +export * from "./component/CalendarMini"; +export * from "./component/Calendar"; +export * from "./component/CheckGraphic"; +export * from "./component/Check"; +export * from "./component/ChevronDown"; +export * from "./component/ChevronLeft"; +export * from "./component/ChevronRight"; +export * from "./component/CircleCheck"; +export * from "./component/ClockGraphic"; +export * from "./component/Clock"; +export * from "./component/Close"; +export * from "./component/GoogleCalendar"; +export * from "./component/Google"; +export * from "./component/IconDotsMono"; +export * from "./component/Logo"; +export * from "./component/Pencil"; +export * from "./component/PinLocation"; +export * from "./component/Plus"; +export * from "./component/Progress"; +export * from "./component/TriangleWarning"; +export * from "./component/UserTwo"; +export * from "./component/TooltipArrow"; \ No newline at end of file