@mks2508/mks-ui 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +73 -0
- package/dist/components/animate-ui/primitives/animate/slot.d.ts +18 -0
- package/dist/components/animate-ui/primitives/animate/slot.d.ts.map +1 -0
- package/dist/components/animate-ui/primitives/animate/slot.js +47 -0
- package/dist/components/animate-ui/primitives/animate/slot.js.map +1 -0
- package/dist/components/animate-ui/primitives/base/accordion.d.ts +22 -0
- package/dist/components/animate-ui/primitives/base/accordion.d.ts.map +1 -0
- package/dist/components/animate-ui/primitives/base/accordion.js +52 -0
- package/dist/components/animate-ui/primitives/base/accordion.js.map +1 -0
- package/dist/components/animate-ui/primitives/base/alert-dialog.d.ts +33 -0
- package/dist/components/animate-ui/primitives/base/alert-dialog.d.ts.map +1 -0
- package/dist/components/animate-ui/primitives/base/alert-dialog.js +60 -0
- package/dist/components/animate-ui/primitives/base/alert-dialog.js.map +1 -0
- package/dist/components/animate-ui/primitives/base/checkbox.d.ts +15 -0
- package/dist/components/animate-ui/primitives/base/checkbox.d.ts.map +1 -0
- package/dist/components/animate-ui/primitives/base/checkbox.js +41 -0
- package/dist/components/animate-ui/primitives/base/checkbox.js.map +1 -0
- package/dist/components/animate-ui/primitives/base/dialog.d.ts +33 -0
- package/dist/components/animate-ui/primitives/base/dialog.d.ts.map +1 -0
- package/dist/components/animate-ui/primitives/base/dialog.js +60 -0
- package/dist/components/animate-ui/primitives/base/dialog.js.map +1 -0
- package/dist/components/animate-ui/primitives/base/menu.d.ts +60 -0
- package/dist/components/animate-ui/primitives/base/menu.d.ts.map +1 -0
- package/dist/components/animate-ui/primitives/base/menu.js +122 -0
- package/dist/components/animate-ui/primitives/base/menu.js.map +1 -0
- package/dist/components/animate-ui/primitives/base/popover.d.ts +30 -0
- package/dist/components/animate-ui/primitives/base/popover.d.ts.map +1 -0
- package/dist/components/animate-ui/primitives/base/popover.js +45 -0
- package/dist/components/animate-ui/primitives/base/popover.js.map +1 -0
- package/dist/components/animate-ui/primitives/base/progress.d.ts +297 -0
- package/dist/components/animate-ui/primitives/base/progress.d.ts.map +1 -0
- package/dist/components/animate-ui/primitives/base/progress.js +27 -0
- package/dist/components/animate-ui/primitives/base/progress.js.map +1 -0
- package/dist/components/animate-ui/primitives/base/switch.d.ts +23 -0
- package/dist/components/animate-ui/primitives/base/switch.d.ts.map +1 -0
- package/dist/components/animate-ui/primitives/base/switch.js +36 -0
- package/dist/components/animate-ui/primitives/base/switch.js.map +1 -0
- package/dist/components/animate-ui/primitives/base/tabs.d.ts +33 -0
- package/dist/components/animate-ui/primitives/base/tabs.d.ts.map +1 -0
- package/dist/components/animate-ui/primitives/base/tabs.js +53 -0
- package/dist/components/animate-ui/primitives/base/tabs.js.map +1 -0
- package/dist/components/animate-ui/primitives/base/tooltip.d.ts +31 -0
- package/dist/components/animate-ui/primitives/base/tooltip.d.ts.map +1 -0
- package/dist/components/animate-ui/primitives/base/tooltip.js +71 -0
- package/dist/components/animate-ui/primitives/base/tooltip.js.map +1 -0
- package/dist/components/animate-ui/primitives/effects/auto-height.d.ts +12 -0
- package/dist/components/animate-ui/primitives/effects/auto-height.d.ts.map +1 -0
- package/dist/components/animate-ui/primitives/effects/auto-height.js +18 -0
- package/dist/components/animate-ui/primitives/effects/auto-height.js.map +1 -0
- package/dist/components/animate-ui/primitives/effects/highlight.d.ts +92 -0
- package/dist/components/animate-ui/primitives/effects/highlight.d.ts.map +1 -0
- package/dist/components/animate-ui/primitives/effects/highlight.js +315 -0
- package/dist/components/animate-ui/primitives/effects/highlight.js.map +1 -0
- package/dist/components/animate-ui/primitives/texts/counting-number.d.ts +16 -0
- package/dist/components/animate-ui/primitives/texts/counting-number.d.ts.map +1 -0
- package/dist/components/animate-ui/primitives/texts/counting-number.js +69 -0
- package/dist/components/animate-ui/primitives/texts/counting-number.js.map +1 -0
- package/dist/components/ui/alert-dialog.d.ts +21 -0
- package/dist/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog.js +43 -0
- package/dist/components/ui/alert-dialog.js.map +1 -0
- package/dist/components/ui/badge/badge.d.ts +37 -0
- package/dist/components/ui/badge/badge.d.ts.map +1 -0
- package/dist/components/ui/badge/badge.js +40 -0
- package/dist/components/ui/badge/badge.js.map +1 -0
- package/dist/components/ui/badge/badge.styles.d.ts +23 -0
- package/dist/components/ui/badge/badge.styles.d.ts.map +1 -0
- package/dist/components/ui/badge/badge.styles.js +39 -0
- package/dist/components/ui/badge/badge.styles.js.map +1 -0
- package/dist/components/ui/badge/badge.types.d.ts +38 -0
- package/dist/components/ui/badge/badge.types.d.ts.map +1 -0
- package/dist/components/ui/badge/badge.types.js +2 -0
- package/dist/components/ui/badge/badge.types.js.map +1 -0
- package/dist/components/ui/badge/index.d.ts +8 -0
- package/dist/components/ui/badge/index.d.ts.map +1 -0
- package/dist/components/ui/badge/index.js +7 -0
- package/dist/components/ui/badge/index.js.map +1 -0
- package/dist/components/ui/button/button.d.ts +79 -0
- package/dist/components/ui/button/button.d.ts.map +1 -0
- package/dist/components/ui/button/button.js +121 -0
- package/dist/components/ui/button/button.js.map +1 -0
- package/dist/components/ui/button/button.styles.d.ts +33 -0
- package/dist/components/ui/button/button.styles.d.ts.map +1 -0
- package/dist/components/ui/button/button.styles.js +54 -0
- package/dist/components/ui/button/button.styles.js.map +1 -0
- package/dist/components/ui/button/button.types.d.ts +103 -0
- package/dist/components/ui/button/button.types.d.ts.map +1 -0
- package/dist/components/ui/button/button.types.js +2 -0
- package/dist/components/ui/button/button.types.js.map +1 -0
- package/dist/components/ui/button/index.d.ts +7 -0
- package/dist/components/ui/button/index.d.ts.map +1 -0
- package/dist/components/ui/button/index.js +7 -0
- package/dist/components/ui/button/index.js.map +1 -0
- package/dist/components/ui/card.d.ts +14 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/card.js +38 -0
- package/dist/components/ui/card.js.map +1 -0
- package/dist/components/ui/combobox.d.ts +25 -0
- package/dist/components/ui/combobox.d.ts.map +1 -0
- package/dist/components/ui/combobox.js +62 -0
- package/dist/components/ui/combobox.js.map +1 -0
- package/dist/components/ui/devenv-bracket.d.ts +30 -0
- package/dist/components/ui/devenv-bracket.d.ts.map +1 -0
- package/dist/components/ui/devenv-bracket.js +49 -0
- package/dist/components/ui/devenv-bracket.js.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +30 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.js +53 -0
- package/dist/components/ui/dropdown-menu.js.map +1 -0
- package/dist/components/ui/field.d.ts +25 -0
- package/dist/components/ui/field.d.ts.map +1 -0
- package/dist/components/ui/field.js +69 -0
- package/dist/components/ui/field.js.map +1 -0
- package/dist/components/ui/index.d.ts +23 -0
- package/dist/components/ui/index.d.ts.map +1 -0
- package/dist/components/ui/index.js +25 -0
- package/dist/components/ui/index.js.map +1 -0
- package/dist/components/ui/input-group.d.ts +19 -0
- package/dist/components/ui/input-group.d.ts.map +1 -0
- package/dist/components/ui/input-group.js +58 -0
- package/dist/components/ui/input-group.js.map +1 -0
- package/dist/components/ui/input.d.ts +4 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/input.js +8 -0
- package/dist/components/ui/input.js.map +1 -0
- package/dist/components/ui/label.d.ts +4 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/label.js +7 -0
- package/dist/components/ui/label.js.map +1 -0
- package/dist/components/ui/morphing-popover/index.d.ts +10 -0
- package/dist/components/ui/morphing-popover/index.d.ts.map +1 -0
- package/dist/components/ui/morphing-popover/index.js +9 -0
- package/dist/components/ui/morphing-popover/index.js.map +1 -0
- package/dist/components/ui/morphing-popover/morphing-popover.d.ts +54 -0
- package/dist/components/ui/morphing-popover/morphing-popover.d.ts.map +1 -0
- package/dist/components/ui/morphing-popover/morphing-popover.js +50 -0
- package/dist/components/ui/morphing-popover/morphing-popover.js.map +1 -0
- package/dist/components/ui/select.d.ts +16 -0
- package/dist/components/ui/select.d.ts.map +1 -0
- package/dist/components/ui/select.js +35 -0
- package/dist/components/ui/select.js.map +1 -0
- package/dist/components/ui/separator.d.ts +4 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/separator.js +9 -0
- package/dist/components/ui/separator.js.map +1 -0
- package/dist/components/ui/textarea.d.ts +4 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/textarea.js +7 -0
- package/dist/components/ui/textarea.js.map +1 -0
- package/dist/hooks/use-auto-height.d.ts +11 -0
- package/dist/hooks/use-auto-height.d.ts.map +1 -0
- package/dist/hooks/use-auto-height.js +75 -0
- package/dist/hooks/use-auto-height.js.map +1 -0
- package/dist/hooks/use-controlled-state.d.ts +9 -0
- package/dist/hooks/use-controlled-state.d.ts.map +1 -0
- package/dist/hooks/use-controlled-state.js +16 -0
- package/dist/hooks/use-controlled-state.js.map +1 -0
- package/dist/hooks/use-data-state.d.ts +5 -0
- package/dist/hooks/use-data-state.d.ts.map +1 -0
- package/dist/hooks/use-data-state.js +45 -0
- package/dist/hooks/use-data-state.js.map +1 -0
- package/dist/hooks/use-is-in-view.d.ts +13 -0
- package/dist/hooks/use-is-in-view.d.ts.map +1 -0
- package/dist/hooks/use-is-in-view.js +15 -0
- package/dist/hooks/use-is-in-view.js.map +1 -0
- package/dist/icons/index.d.ts +8 -0
- package/dist/icons/index.d.ts.map +1 -0
- package/dist/icons/index.js +11 -0
- package/dist/icons/index.js.map +1 -0
- package/dist/icons/lucide-animated/activity.d.ts +11 -0
- package/dist/icons/lucide-animated/activity.d.ts.map +1 -0
- package/dist/icons/lucide-animated/activity.js +57 -0
- package/dist/icons/lucide-animated/activity.js.map +1 -0
- package/dist/icons/lucide-animated/arrow-down-to-line.d.ts +23 -0
- package/dist/icons/lucide-animated/arrow-down-to-line.d.ts.map +1 -0
- package/dist/icons/lucide-animated/arrow-down-to-line.js +23 -0
- package/dist/icons/lucide-animated/arrow-down-to-line.js.map +1 -0
- package/dist/icons/lucide-animated/arrow-up.d.ts +23 -0
- package/dist/icons/lucide-animated/arrow-up.d.ts.map +1 -0
- package/dist/icons/lucide-animated/arrow-up.js +23 -0
- package/dist/icons/lucide-animated/arrow-up.js.map +1 -0
- package/dist/icons/lucide-animated/bell-electric.d.ts +11 -0
- package/dist/icons/lucide-animated/bell-electric.d.ts.map +1 -0
- package/dist/icons/lucide-animated/bell-electric.js +58 -0
- package/dist/icons/lucide-animated/bell-electric.js.map +1 -0
- package/dist/icons/lucide-animated/bell.d.ts +11 -0
- package/dist/icons/lucide-animated/bell.d.ts.map +1 -0
- package/dist/icons/lucide-animated/bell.js +43 -0
- package/dist/icons/lucide-animated/bell.js.map +1 -0
- package/dist/icons/lucide-animated/bot.d.ts +11 -0
- package/dist/icons/lucide-animated/bot.d.ts.map +1 -0
- package/dist/icons/lucide-animated/bot.js +58 -0
- package/dist/icons/lucide-animated/bot.js.map +1 -0
- package/dist/icons/lucide-animated/box.d.ts +11 -0
- package/dist/icons/lucide-animated/box.d.ts.map +1 -0
- package/dist/icons/lucide-animated/box.js +54 -0
- package/dist/icons/lucide-animated/box.js.map +1 -0
- package/dist/icons/lucide-animated/check.d.ts +7 -0
- package/dist/icons/lucide-animated/check.d.ts.map +1 -0
- package/dist/icons/lucide-animated/check.js +10 -0
- package/dist/icons/lucide-animated/check.js.map +1 -0
- package/dist/icons/lucide-animated/circle-check.d.ts +11 -0
- package/dist/icons/lucide-animated/circle-check.d.ts.map +1 -0
- package/dist/icons/lucide-animated/circle-check.js +54 -0
- package/dist/icons/lucide-animated/circle-check.js.map +1 -0
- package/dist/icons/lucide-animated/delete.d.ts +11 -0
- package/dist/icons/lucide-animated/delete.d.ts.map +1 -0
- package/dist/icons/lucide-animated/delete.js +54 -0
- package/dist/icons/lucide-animated/delete.js.map +1 -0
- package/dist/icons/lucide-animated/download.d.ts +11 -0
- package/dist/icons/lucide-animated/download.d.ts.map +1 -0
- package/dist/icons/lucide-animated/download.js +48 -0
- package/dist/icons/lucide-animated/download.js.map +1 -0
- package/dist/icons/lucide-animated/edit-2.d.ts +7 -0
- package/dist/icons/lucide-animated/edit-2.d.ts.map +1 -0
- package/dist/icons/lucide-animated/edit-2.js +10 -0
- package/dist/icons/lucide-animated/edit-2.js.map +1 -0
- package/dist/icons/lucide-animated/globe.d.ts +7 -0
- package/dist/icons/lucide-animated/globe.d.ts.map +1 -0
- package/dist/icons/lucide-animated/globe.js +10 -0
- package/dist/icons/lucide-animated/globe.js.map +1 -0
- package/dist/icons/lucide-animated/home.d.ts +11 -0
- package/dist/icons/lucide-animated/home.d.ts.map +1 -0
- package/dist/icons/lucide-animated/home.js +50 -0
- package/dist/icons/lucide-animated/home.js.map +1 -0
- package/dist/icons/lucide-animated/index.d.ts +38 -0
- package/dist/icons/lucide-animated/index.d.ts.map +1 -0
- package/dist/icons/lucide-animated/index.js +38 -0
- package/dist/icons/lucide-animated/index.js.map +1 -0
- package/dist/icons/lucide-animated/layers.d.ts +7 -0
- package/dist/icons/lucide-animated/layers.d.ts.map +1 -0
- package/dist/icons/lucide-animated/layers.js +10 -0
- package/dist/icons/lucide-animated/layers.js.map +1 -0
- package/dist/icons/lucide-animated/layout-panel-top.d.ts +11 -0
- package/dist/icons/lucide-animated/layout-panel-top.d.ts.map +1 -0
- package/dist/icons/lucide-animated/layout-panel-top.js +68 -0
- package/dist/icons/lucide-animated/layout-panel-top.js.map +1 -0
- package/dist/icons/lucide-animated/list.d.ts +23 -0
- package/dist/icons/lucide-animated/list.d.ts.map +1 -0
- package/dist/icons/lucide-animated/list.js +23 -0
- package/dist/icons/lucide-animated/list.js.map +1 -0
- package/dist/icons/lucide-animated/package.d.ts +7 -0
- package/dist/icons/lucide-animated/package.d.ts.map +1 -0
- package/dist/icons/lucide-animated/package.js +10 -0
- package/dist/icons/lucide-animated/package.js.map +1 -0
- package/dist/icons/lucide-animated/palette.d.ts +7 -0
- package/dist/icons/lucide-animated/palette.d.ts.map +1 -0
- package/dist/icons/lucide-animated/palette.js +10 -0
- package/dist/icons/lucide-animated/palette.js.map +1 -0
- package/dist/icons/lucide-animated/plus.d.ts +11 -0
- package/dist/icons/lucide-animated/plus.d.ts.map +1 -0
- package/dist/icons/lucide-animated/plus.js +43 -0
- package/dist/icons/lucide-animated/plus.js.map +1 -0
- package/dist/icons/lucide-animated/refresh-cw.d.ts +7 -0
- package/dist/icons/lucide-animated/refresh-cw.d.ts.map +1 -0
- package/dist/icons/lucide-animated/refresh-cw.js +10 -0
- package/dist/icons/lucide-animated/refresh-cw.js.map +1 -0
- package/dist/icons/lucide-animated/rocket.d.ts +7 -0
- package/dist/icons/lucide-animated/rocket.d.ts.map +1 -0
- package/dist/icons/lucide-animated/rocket.js +10 -0
- package/dist/icons/lucide-animated/rocket.js.map +1 -0
- package/dist/icons/lucide-animated/save.d.ts +7 -0
- package/dist/icons/lucide-animated/save.d.ts.map +1 -0
- package/dist/icons/lucide-animated/save.js +10 -0
- package/dist/icons/lucide-animated/save.js.map +1 -0
- package/dist/icons/lucide-animated/search.d.ts +11 -0
- package/dist/icons/lucide-animated/search.d.ts.map +1 -0
- package/dist/icons/lucide-animated/search.js +45 -0
- package/dist/icons/lucide-animated/search.js.map +1 -0
- package/dist/icons/lucide-animated/settings.d.ts +11 -0
- package/dist/icons/lucide-animated/settings.d.ts.map +1 -0
- package/dist/icons/lucide-animated/settings.js +43 -0
- package/dist/icons/lucide-animated/settings.js.map +1 -0
- package/dist/icons/lucide-animated/terminal.d.ts +24 -0
- package/dist/icons/lucide-animated/terminal.d.ts.map +1 -0
- package/dist/icons/lucide-animated/terminal.js +5 -0
- package/dist/icons/lucide-animated/terminal.js.map +1 -0
- package/dist/icons/lucide-animated/trash-2.d.ts +7 -0
- package/dist/icons/lucide-animated/trash-2.d.ts.map +1 -0
- package/dist/icons/lucide-animated/trash-2.js +10 -0
- package/dist/icons/lucide-animated/trash-2.js.map +1 -0
- package/dist/icons/lucide-animated/trending-down.d.ts +11 -0
- package/dist/icons/lucide-animated/trending-down.d.ts.map +1 -0
- package/dist/icons/lucide-animated/trending-down.js +87 -0
- package/dist/icons/lucide-animated/trending-down.js.map +1 -0
- package/dist/icons/lucide-animated/trending-up.d.ts +11 -0
- package/dist/icons/lucide-animated/trending-up.d.ts.map +1 -0
- package/dist/icons/lucide-animated/trending-up.js +87 -0
- package/dist/icons/lucide-animated/trending-up.js.map +1 -0
- package/dist/icons/lucide-animated/type.d.ts +7 -0
- package/dist/icons/lucide-animated/type.d.ts.map +1 -0
- package/dist/icons/lucide-animated/type.js +10 -0
- package/dist/icons/lucide-animated/type.js.map +1 -0
- package/dist/icons/lucide-animated/upload.d.ts +7 -0
- package/dist/icons/lucide-animated/upload.d.ts.map +1 -0
- package/dist/icons/lucide-animated/upload.js +10 -0
- package/dist/icons/lucide-animated/upload.js.map +1 -0
- package/dist/icons/lucide-animated/x.d.ts +11 -0
- package/dist/icons/lucide-animated/x.d.ts.map +1 -0
- package/dist/icons/lucide-animated/x.js +46 -0
- package/dist/icons/lucide-animated/x.js.map +1 -0
- package/dist/index.css +129 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/get-strict-context.d.ts +10 -0
- package/dist/lib/get-strict-context.d.ts.map +1 -0
- package/dist/lib/get-strict-context.js +16 -0
- package/dist/lib/get-strict-context.js.map +1 -0
- package/dist/lib/utils.d.ts +20 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +23 -0
- package/dist/lib/utils.js.map +1 -0
- package/package.json +84 -0
- package/src/assets/react.svg +1 -0
- package/src/components/animate-ui/primitives/animate/slot.tsx +96 -0
- package/src/components/animate-ui/primitives/base/accordion.tsx +179 -0
- package/src/components/animate-ui/primitives/base/alert-dialog.tsx +218 -0
- package/src/components/animate-ui/primitives/base/checkbox.tsx +153 -0
- package/src/components/animate-ui/primitives/base/dialog.tsx +203 -0
- package/src/components/animate-ui/primitives/base/menu.tsx +463 -0
- package/src/components/animate-ui/primitives/base/popover.tsx +167 -0
- package/src/components/animate-ui/primitives/base/progress.tsx +103 -0
- package/src/components/animate-ui/primitives/base/switch.tsx +158 -0
- package/src/components/animate-ui/primitives/base/tabs.tsx +202 -0
- package/src/components/animate-ui/primitives/base/tooltip.tsx +209 -0
- package/src/components/animate-ui/primitives/effects/auto-height.tsx +55 -0
- package/src/components/animate-ui/primitives/effects/highlight.tsx +640 -0
- package/src/components/animate-ui/primitives/texts/counting-number.tsx +119 -0
- package/src/components/ui/alert-dialog.tsx +177 -0
- package/src/components/ui/badge/badge.styles.ts +46 -0
- package/src/components/ui/badge/badge.tsx +52 -0
- package/src/components/ui/badge/badge.types.ts +41 -0
- package/src/components/ui/badge/index.ts +8 -0
- package/src/components/ui/button/button.styles.ts +66 -0
- package/src/components/ui/button/button.tsx +209 -0
- package/src/components/ui/button/button.types.ts +125 -0
- package/src/components/ui/button/index.ts +7 -0
- package/src/components/ui/card.tsx +108 -0
- package/src/components/ui/combobox.tsx +293 -0
- package/src/components/ui/devenv-bracket.tsx +81 -0
- package/src/components/ui/dropdown-menu.tsx +261 -0
- package/src/components/ui/field.tsx +227 -0
- package/src/components/ui/index.ts +26 -0
- package/src/components/ui/input-group.tsx +149 -0
- package/src/components/ui/input.tsx +20 -0
- package/src/components/ui/label.tsx +18 -0
- package/src/components/ui/morphing-popover/index.ts +10 -0
- package/src/components/ui/morphing-popover/morphing-popover.module.css +153 -0
- package/src/components/ui/morphing-popover/morphing-popover.tsx +183 -0
- package/src/components/ui/select.tsx +190 -0
- package/src/components/ui/separator.tsx +25 -0
- package/src/components/ui/textarea.tsx +18 -0
- package/src/hooks/use-auto-height.tsx +102 -0
- package/src/hooks/use-controlled-state.tsx +33 -0
- package/src/hooks/use-data-state.tsx +54 -0
- package/src/hooks/use-is-in-view.tsx +25 -0
- package/src/icons/index.ts +12 -0
- package/src/icons/lucide-animated/activity.tsx +109 -0
- package/src/icons/lucide-animated/arrow-down-to-line.tsx +51 -0
- package/src/icons/lucide-animated/arrow-up.tsx +50 -0
- package/src/icons/lucide-animated/bell-electric.tsx +124 -0
- package/src/icons/lucide-animated/bell.tsx +93 -0
- package/src/icons/lucide-animated/bot.tsx +122 -0
- package/src/icons/lucide-animated/box.tsx +117 -0
- package/src/icons/lucide-animated/check.tsx +21 -0
- package/src/icons/lucide-animated/circle-check.tsx +107 -0
- package/src/icons/lucide-animated/delete.tsx +133 -0
- package/src/icons/lucide-animated/download.tsx +99 -0
- package/src/icons/lucide-animated/edit-2.tsx +21 -0
- package/src/icons/lucide-animated/globe.tsx +23 -0
- package/src/icons/lucide-animated/home.tsx +103 -0
- package/src/icons/lucide-animated/index.ts +38 -0
- package/src/icons/lucide-animated/layers.tsx +23 -0
- package/src/icons/lucide-animated/layout-panel-top.tsx +143 -0
- package/src/icons/lucide-animated/list.tsx +54 -0
- package/src/icons/lucide-animated/package.tsx +24 -0
- package/src/icons/lucide-animated/palette.tsx +25 -0
- package/src/icons/lucide-animated/plus.tsx +92 -0
- package/src/icons/lucide-animated/refresh-cw.tsx +24 -0
- package/src/icons/lucide-animated/rocket.tsx +24 -0
- package/src/icons/lucide-animated/save.tsx +23 -0
- package/src/icons/lucide-animated/search.tsx +94 -0
- package/src/icons/lucide-animated/settings.tsx +92 -0
- package/src/icons/lucide-animated/terminal.tsx +46 -0
- package/src/icons/lucide-animated/trash-2.tsx +25 -0
- package/src/icons/lucide-animated/trending-down.tsx +151 -0
- package/src/icons/lucide-animated/trending-up.tsx +150 -0
- package/src/icons/lucide-animated/type.tsx +23 -0
- package/src/icons/lucide-animated/upload.tsx +23 -0
- package/src/icons/lucide-animated/x.tsx +102 -0
- package/src/index.css +129 -0
- package/src/index.ts +20 -0
- package/src/lib/get-strict-context.tsx +36 -0
- package/src/lib/utils.ts +24 -0
- package/src/types/css-modules.d.ts +18 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { motion, useAnimation } from "framer-motion";
|
|
4
|
+
import { forwardRef, useCallback, useImperativeHandle, useRef } from "react";
|
|
5
|
+
import { cn } from "@/lib/utils";
|
|
6
|
+
const VARIANTS = {
|
|
7
|
+
normal: {
|
|
8
|
+
opacity: 1,
|
|
9
|
+
pathLength: 1,
|
|
10
|
+
pathOffset: 0,
|
|
11
|
+
transition: {
|
|
12
|
+
duration: 0.4,
|
|
13
|
+
opacity: { duration: 0.1 },
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
animate: {
|
|
17
|
+
opacity: [0, 1],
|
|
18
|
+
pathLength: [0, 1],
|
|
19
|
+
pathOffset: [1, 0],
|
|
20
|
+
transition: {
|
|
21
|
+
duration: 0.6,
|
|
22
|
+
ease: "linear",
|
|
23
|
+
opacity: { duration: 0.1 },
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
const ActivityIcon = forwardRef(({ onMouseEnter, onMouseLeave, className, size = 28, ...props }, ref) => {
|
|
28
|
+
const controls = useAnimation();
|
|
29
|
+
const isControlledRef = useRef(false);
|
|
30
|
+
useImperativeHandle(ref, () => {
|
|
31
|
+
isControlledRef.current = true;
|
|
32
|
+
return {
|
|
33
|
+
startAnimation: () => controls.start("animate"),
|
|
34
|
+
stopAnimation: () => controls.start("normal"),
|
|
35
|
+
};
|
|
36
|
+
});
|
|
37
|
+
const handleMouseEnter = useCallback((e) => {
|
|
38
|
+
if (isControlledRef.current) {
|
|
39
|
+
onMouseEnter?.(e);
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
controls.start("animate");
|
|
43
|
+
}
|
|
44
|
+
}, [controls, onMouseEnter]);
|
|
45
|
+
const handleMouseLeave = useCallback((e) => {
|
|
46
|
+
if (isControlledRef.current) {
|
|
47
|
+
onMouseLeave?.(e);
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
controls.start("normal");
|
|
51
|
+
}
|
|
52
|
+
}, [controls, onMouseLeave]);
|
|
53
|
+
return (_jsx("div", { className: cn(className), onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, children: _jsx("svg", { fill: "none", height: size, stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", viewBox: "0 0 24 24", width: size, xmlns: "http://www.w3.org/2000/svg", children: _jsx(motion.path, { animate: controls, d: "M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2", initial: "normal", variants: VARIANTS }) }) }));
|
|
54
|
+
});
|
|
55
|
+
ActivityIcon.displayName = "ActivityIcon";
|
|
56
|
+
export { ActivityIcon };
|
|
57
|
+
//# sourceMappingURL=activity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"activity.js","sourceRoot":"","sources":["../../../src/icons/lucide-animated/activity.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE7E,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAWjC,MAAM,QAAQ,GAAa;IACzB,MAAM,EAAE;QACN,OAAO,EAAE,CAAC;QACV,UAAU,EAAE,CAAC;QACb,UAAU,EAAE,CAAC;QACb,UAAU,EAAE;YACV,QAAQ,EAAE,GAAG;YACb,OAAO,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE;SAC3B;KACF;IACD,OAAO,EAAE;QACP,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;QACf,UAAU,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;QAClB,UAAU,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;QAClB,UAAU,EAAE;YAC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zB,CAAC;IAEF,OAAO,CACL,cACE,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,EACxB,YAAY,EAAE,gBAAgB,EAC9B,YAAY,EAAE,gBAAgB,KAC1B,KAAK,YAET,cACE,IAAI,EAAC,MAAM,EACX,MAAM,EAAE,IAAI,EACZ,MAAM,EAAC,cAAc,EACrB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,EACtB,WAAW,EAAC,GAAG,EACf,OAAO,EAAC,WAAW,EACnB,KAAK,EAAE,IAAI,EACX,KAAK,EAAC,4BAA4B,YAElC,KAAC,MAAM,CAAC,IAAI,IACV,OAAO,EAAE,QAAQ,EACjB,CAAC,EAAC,4HAA4H,EAC9H,OAAO,EAAC,QAAQ,EAChB,QAAQ,EAAE,QAAQ,GAClB,GACE,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,YAAY,CAAC,WAAW,GAAG,cAAc,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ArrowDownToLine Icon.
|
|
3
|
+
*
|
|
4
|
+
* Simple SVG icon for follow cursor enabled.
|
|
5
|
+
*
|
|
6
|
+
* @module components/icons/arrow-down-to-line
|
|
7
|
+
*/
|
|
8
|
+
import type { HTMLAttributes } from 'react';
|
|
9
|
+
export interface IArrowDownToLineIconProps extends HTMLAttributes<SVGSVGElement> {
|
|
10
|
+
size?: number;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* ArrowDownToLine Icon component.
|
|
14
|
+
*
|
|
15
|
+
* Use for follow cursor enabled state (auto-scroll to bottom).
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```tsx
|
|
19
|
+
* <ArrowDownToLineIcon className="w-4 h-4 text-primary" />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function ArrowDownToLineIcon({ className, size, ...props }: IArrowDownToLineIconProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
//# sourceMappingURL=arrow-down-to-line.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrow-down-to-line.d.ts","sourceRoot":"","sources":["../../../src/icons/lucide-animated/arrow-down-to-line.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,WAAW,yBAA0B,SAAQ,cAAc,CAAC,aAAa,CAAC;IAC9E,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,IAAS,EACT,GAAG,KAAK,EACT,EAAE,yBAAyB,2CAoB3B"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ArrowDownToLine Icon.
|
|
3
|
+
*
|
|
4
|
+
* Simple SVG icon for follow cursor enabled.
|
|
5
|
+
*
|
|
6
|
+
* @module components/icons/arrow-down-to-line
|
|
7
|
+
*/
|
|
8
|
+
'use client';
|
|
9
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
/**
|
|
11
|
+
* ArrowDownToLine Icon component.
|
|
12
|
+
*
|
|
13
|
+
* Use for follow cursor enabled state (auto-scroll to bottom).
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* <ArrowDownToLineIcon className="w-4 h-4 text-primary" />
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export function ArrowDownToLineIcon({ className, size = 24, ...props }) {
|
|
21
|
+
return (_jsxs("svg", { className: className, width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", xmlns: "http://www.w3.org/2000/svg", ...props, children: [_jsx("path", { d: "M12 17V3" }), _jsx("path", { d: "m6 11 6 6 6-6" }), _jsx("path", { d: "M20 21H4" })] }));
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=arrow-down-to-line.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrow-down-to-line.js","sourceRoot":"","sources":["../../../src/icons/lucide-animated/arrow-down-to-line.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,YAAY,CAAC;;AAQb;;;;;;;;;GASG;AACH,MAAM,UAAU,mBAAmB,CAAC,EAClC,SAAS,EACT,IAAI,GAAG,EAAE,EACT,GAAG,KAAK,EACkB;IAC1B,OAAO,CACL,eACE,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI,EACZ,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,GAAG,EACf,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,EACtB,KAAK,EAAC,4BAA4B,KAC9B,KAAK,aAET,eAAM,CAAC,EAAC,UAAU,GAAG,EACrB,eAAM,CAAC,EAAC,eAAe,GAAG,EAC1B,eAAM,CAAC,EAAC,UAAU,GAAG,IACjB,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ArrowUp Icon.
|
|
3
|
+
*
|
|
4
|
+
* Simple SVG icon for follow cursor disabled.
|
|
5
|
+
*
|
|
6
|
+
* @module components/icons/arrow-up
|
|
7
|
+
*/
|
|
8
|
+
import type { HTMLAttributes } from 'react';
|
|
9
|
+
export interface IArrowUpIconProps extends HTMLAttributes<SVGSVGElement> {
|
|
10
|
+
size?: number;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* ArrowUp Icon component.
|
|
14
|
+
*
|
|
15
|
+
* Use for follow cursor disabled state (scroll locked).
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```tsx
|
|
19
|
+
* <ArrowUpIcon className="w-4 h-4 text-muted-foreground" />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function ArrowUpIcon({ className, size, ...props }: IArrowUpIconProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
//# sourceMappingURL=arrow-up.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrow-up.d.ts","sourceRoot":"","sources":["../../../src/icons/lucide-animated/arrow-up.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,aAAa,CAAC;IACtE,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,EAC1B,SAAS,EACT,IAAS,EACT,GAAG,KAAK,EACT,EAAE,iBAAiB,2CAmBnB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ArrowUp Icon.
|
|
3
|
+
*
|
|
4
|
+
* Simple SVG icon for follow cursor disabled.
|
|
5
|
+
*
|
|
6
|
+
* @module components/icons/arrow-up
|
|
7
|
+
*/
|
|
8
|
+
'use client';
|
|
9
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
/**
|
|
11
|
+
* ArrowUp Icon component.
|
|
12
|
+
*
|
|
13
|
+
* Use for follow cursor disabled state (scroll locked).
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* <ArrowUpIcon className="w-4 h-4 text-muted-foreground" />
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export function ArrowUpIcon({ className, size = 24, ...props }) {
|
|
21
|
+
return (_jsxs("svg", { className: className, width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", xmlns: "http://www.w3.org/2000/svg", ...props, children: [_jsx("path", { d: "M12 3v17" }), _jsx("path", { d: "m6 11 6-6 6 6" })] }));
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=arrow-up.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrow-up.js","sourceRoot":"","sources":["../../../src/icons/lucide-animated/arrow-up.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,YAAY,CAAC;;AAQb;;;;;;;;;GASG;AACH,MAAM,UAAU,WAAW,CAAC,EAC1B,SAAS,EACT,IAAI,GAAG,EAAE,EACT,GAAG,KAAK,EACU;IAClB,OAAO,CACL,eACE,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI,EACZ,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,GAAG,EACf,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,EACtB,KAAK,EAAC,4BAA4B,KAC9B,KAAK,aAET,eAAM,CAAC,EAAC,UAAU,GAAG,EACrB,eAAM,CAAC,EAAC,eAAe,GAAG,IACtB,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { HTMLAttributes } from "react";
|
|
2
|
+
export interface BellElectricIconHandle {
|
|
3
|
+
startAnimation: () => void;
|
|
4
|
+
stopAnimation: () => void;
|
|
5
|
+
}
|
|
6
|
+
interface BellElectricIconProps extends HTMLAttributes<HTMLDivElement> {
|
|
7
|
+
size?: number;
|
|
8
|
+
}
|
|
9
|
+
declare const BellElectricIcon: import("react").ForwardRefExoticComponent<BellElectricIconProps & import("react").RefAttributes<BellElectricIconHandle>>;
|
|
10
|
+
export { BellElectricIcon };
|
|
11
|
+
//# sourceMappingURL=bell-electric.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bell-electric.d.ts","sourceRoot":"","sources":["../../../src/icons/lucide-animated/bell-electric.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,WAAW,sBAAsB;IACrC,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,UAAU,qBAAsB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACpE,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,gBAAgB,0HAsGpB,CAAC;AAIH,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { motion, useAnimation } from "framer-motion";
|
|
4
|
+
import { forwardRef, useCallback, useImperativeHandle, useRef } from "react";
|
|
5
|
+
import { cn } from "@/lib/utils";
|
|
6
|
+
const BellElectricIcon = forwardRef(({ onMouseEnter, onMouseLeave, className, size = 28, ...props }, ref) => {
|
|
7
|
+
const controls = useAnimation();
|
|
8
|
+
const isControlledRef = useRef(false);
|
|
9
|
+
useImperativeHandle(ref, () => {
|
|
10
|
+
isControlledRef.current = true;
|
|
11
|
+
return {
|
|
12
|
+
startAnimation: () => controls.start("animate"),
|
|
13
|
+
stopAnimation: () => controls.start("normal"),
|
|
14
|
+
};
|
|
15
|
+
});
|
|
16
|
+
const handleMouseEnter = useCallback((e) => {
|
|
17
|
+
if (isControlledRef.current) {
|
|
18
|
+
onMouseEnter?.(e);
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
controls.start("animate");
|
|
22
|
+
}
|
|
23
|
+
}, [controls, onMouseEnter]);
|
|
24
|
+
const handleMouseLeave = useCallback((e) => {
|
|
25
|
+
if (isControlledRef.current) {
|
|
26
|
+
onMouseLeave?.(e);
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
controls.start("normal");
|
|
30
|
+
}
|
|
31
|
+
}, [controls, onMouseLeave]);
|
|
32
|
+
return (_jsx("div", { className: cn(className), onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, children: _jsxs(motion.svg, { animate: controls, fill: "none", height: size, stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", style: { transformBox: "fill-box", transformOrigin: "50% 50%" }, transition: { duration: 0.9 }, variants: {
|
|
33
|
+
normal: { rotate: 0, translateX: 0, translateY: 0 },
|
|
34
|
+
animate: {
|
|
35
|
+
rotate: [0, -12, 12, -8, 8, 0],
|
|
36
|
+
translateX: [0, -1.5, 1.5, -1, 1, 0],
|
|
37
|
+
translateY: [0, -1, 1, -0.5, 0.5, 0],
|
|
38
|
+
},
|
|
39
|
+
}, viewBox: "0 0 24 24", width: size, xmlns: "http://www.w3.org/2000/svg", children: [_jsx("path", { d: "M18.518 17.347A7 7 0 0 1 14 19" }), _jsx(motion.path, { animate: controls, d: "M18.8 4A11 11 0 0 1 20 9", style: { transformBox: "fill-box", originX: "50%", originY: "50%" }, transition: { duration: 0.9 }, variants: {
|
|
40
|
+
normal: { translateX: 0, translateY: 0, rotate: 0 },
|
|
41
|
+
animate: {
|
|
42
|
+
translateX: [0, -0.8, 0.8, -0.6, 0.6, 0],
|
|
43
|
+
translateY: [0, -0.5, 0.5, -0.3, 0.3, 0],
|
|
44
|
+
rotate: [0, -6, 6, -4, 4, 0],
|
|
45
|
+
},
|
|
46
|
+
} }), _jsx(motion.path, { animate: controls, d: "M9 9h.01", style: { transformBox: "fill-box", originX: "50%", originY: "50%" }, transition: { duration: 0.75 }, variants: {
|
|
47
|
+
normal: { translateX: 0, translateY: 0, rotate: 0, scale: 1 },
|
|
48
|
+
animate: {
|
|
49
|
+
translateX: [0, -1.6, 1.6, -1.2, 1.2, 0],
|
|
50
|
+
translateY: [0, -1.2, 1.2, -0.8, 0.8, 0],
|
|
51
|
+
rotate: [0, -10, 10, -7, 7, 0],
|
|
52
|
+
scale: [1, 1.08, 0.95, 1.06, 0.98, 1],
|
|
53
|
+
},
|
|
54
|
+
} }), _jsx("circle", { cx: "9", cy: "9", r: "7" }), _jsx("rect", { height: "6", rx: "2", width: "10", x: "4", y: "16" }), _jsx("circle", { cx: "20", cy: "16", r: "2" })] }) }));
|
|
55
|
+
});
|
|
56
|
+
BellElectricIcon.displayName = "BellElectricIcon";
|
|
57
|
+
export { BellElectricIcon };
|
|
58
|
+
//# sourceMappingURL=bell-electric.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bell-electric.js","sourceRoot":"","sources":["../../../src/icons/lucide-animated/bell-electric.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE7E,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAWjC,MAAM,gBAAgB,GAAG,UAAU,CAGjC,CAAC,EAAE,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,GAAG,EAAE,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACxE,MAAM,QAAQ,GAAG,YAAY,EAAE,CAAC;IAChC,MAAM,eAAe,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IAEtC,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE;QAC5B,eAAe,CAAC,OAAO,GAAG,IAAI,CAAC;QAC/B,OAAO;YACL,cAAc,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,SAAS,CAAC;YAC/C,aAAa,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC;SAC9C,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,MAAM,gBAAgB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
+
stopAnimation: () => void;
|
|
5
|
+
}
|
|
6
|
+
interface BellIconProps extends HTMLAttributes<HTMLDivElement> {
|
|
7
|
+
size?: number;
|
|
8
|
+
}
|
|
9
|
+
declare const BellIcon: import("react").ForwardRefExoticComponent<BellIconProps & import("react").RefAttributes<BellIconHandle>>;
|
|
10
|
+
export { BellIcon };
|
|
11
|
+
//# sourceMappingURL=bell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bell.d.ts","sourceRoot":"","sources":["../../../src/icons/lucide-animated/bell.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,WAAW,cAAc;IAC7B,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,UAAU,aAAc,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC5D,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAOD,QAAA,MAAM,QAAQ,0GAiEb,CAAC;AAIF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { motion, useAnimation } from "framer-motion";
|
|
4
|
+
import { forwardRef, useCallback, useImperativeHandle, useRef } from "react";
|
|
5
|
+
import { cn } from "@/lib/utils";
|
|
6
|
+
const SVG_VARIANTS = {
|
|
7
|
+
normal: { rotate: 0 },
|
|
8
|
+
animate: { rotate: [0, -10, 10, -10, 0] },
|
|
9
|
+
};
|
|
10
|
+
const BellIcon = forwardRef(({ onMouseEnter, onMouseLeave, className, size = 28, ...props }, ref) => {
|
|
11
|
+
const controls = useAnimation();
|
|
12
|
+
const isControlledRef = useRef(false);
|
|
13
|
+
useImperativeHandle(ref, () => {
|
|
14
|
+
isControlledRef.current = true;
|
|
15
|
+
return {
|
|
16
|
+
startAnimation: () => controls.start("animate"),
|
|
17
|
+
stopAnimation: () => controls.start("normal"),
|
|
18
|
+
};
|
|
19
|
+
});
|
|
20
|
+
const handleMouseEnter = useCallback((e) => {
|
|
21
|
+
if (isControlledRef.current) {
|
|
22
|
+
onMouseEnter?.(e);
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
controls.start("animate");
|
|
26
|
+
}
|
|
27
|
+
}, [controls, onMouseEnter]);
|
|
28
|
+
const handleMouseLeave = useCallback((e) => {
|
|
29
|
+
if (isControlledRef.current) {
|
|
30
|
+
onMouseLeave?.(e);
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
controls.start("normal");
|
|
34
|
+
}
|
|
35
|
+
}, [controls, onMouseLeave]);
|
|
36
|
+
return (_jsx("div", { className: cn(className), onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, children: _jsxs(motion.svg, { animate: controls, fill: "none", height: size, stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", transition: {
|
|
37
|
+
duration: 0.5,
|
|
38
|
+
ease: "easeInOut",
|
|
39
|
+
}, variants: SVG_VARIANTS, viewBox: "0 0 24 24", width: size, xmlns: "http://www.w3.org/2000/svg", children: [_jsx("path", { d: "M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9" }), _jsx("path", { d: "M10.3 21a1.94 1.94 0 0 0 3.4 0" })] }) }));
|
|
40
|
+
});
|
|
41
|
+
BellIcon.displayName = "BellIcon";
|
|
42
|
+
export { BellIcon };
|
|
43
|
+
//# sourceMappingURL=bell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bell.js","sourceRoot":"","sources":["../../../src/icons/lucide-animated/bell.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,m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AAC;YAC5B,YAAY,EAAE,CAAC,CAAC,CAAC,CAAC;QACpB,CAAC;aAAM,CAAC;YACN,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAC3B,CAAC;IACH,CAAC,EACD,CAAC,QAAQ,EAAE,YAAY,CAAC,CACzB,CAAC;IACF,OAAO,CACL,cACE,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,EACxB,YAAY,EAAE,gBAAgB,EAC9B,YAAY,EAAE,gBAAgB,KAC1B,KAAK,YAET,MAAC,MAAM,CAAC,GAAG,IACT,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAC,MAAM,EACX,MAAM,EAAE,IAAI,EACZ,MAAM,EAAC,cAAc,EACrB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,EACtB,WAAW,EAAC,GAAG,EACf,UAAU,EAAE;gBACV,QAAQ,EAAE,GAAG;gBACb,IAAI,EAAE,WAAW;aAClB,EACD,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAC,WAAW,EACnB,KAAK,EAAE,IAAI,EACX,KAAK,EAAC,4BAA4B,aAElC,eAAM,CAAC,EAAC,2CAA2C,GAAG,EACtD,eAAM,CAAC,EAAC,gCAAgC,GAAG,IAChC,GACT,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,QAAQ,CAAC,WAAW,GAAG,UAAU,CAAC;AAElC,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { HTMLAttributes } from "react";
|
|
2
|
+
export interface BotIconHandle {
|
|
3
|
+
startAnimation: () => void;
|
|
4
|
+
stopAnimation: () => void;
|
|
5
|
+
}
|
|
6
|
+
export interface BotIconProps extends HTMLAttributes<HTMLDivElement> {
|
|
7
|
+
size?: number;
|
|
8
|
+
}
|
|
9
|
+
declare const BotIcon: import("react").ForwardRefExoticComponent<BotIconProps & import("react").RefAttributes<BotIconHandle>>;
|
|
10
|
+
export { BotIcon };
|
|
11
|
+
//# sourceMappingURL=bot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bot.d.ts","sourceRoot":"","sources":["../../../src/icons/lucide-animated/bot.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,WAAW,aAAa;IAC5B,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,YAAa,SAAQ,cAAc,CAAC,cAAc,CAAC;IAClE,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,OAAO,wGAoGZ,CAAC;AAIF,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { motion, useAnimation } from "framer-motion";
|
|
4
|
+
import { forwardRef, useCallback, useImperativeHandle, useRef } from "react";
|
|
5
|
+
import { cn } from "@/lib/utils";
|
|
6
|
+
const BotIcon = forwardRef(({ onMouseEnter, onMouseLeave, className, size = 28, ...props }, ref) => {
|
|
7
|
+
const controls = useAnimation();
|
|
8
|
+
const isControlledRef = useRef(false);
|
|
9
|
+
useImperativeHandle(ref, () => {
|
|
10
|
+
isControlledRef.current = true;
|
|
11
|
+
return {
|
|
12
|
+
startAnimation: () => controls.start("animate"),
|
|
13
|
+
stopAnimation: () => controls.start("normal"),
|
|
14
|
+
};
|
|
15
|
+
});
|
|
16
|
+
const handleMouseEnter = useCallback((e) => {
|
|
17
|
+
if (isControlledRef.current) {
|
|
18
|
+
onMouseEnter?.(e);
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
controls.start("animate");
|
|
22
|
+
}
|
|
23
|
+
}, [controls, onMouseEnter]);
|
|
24
|
+
const handleMouseLeave = useCallback((e) => {
|
|
25
|
+
if (isControlledRef.current) {
|
|
26
|
+
onMouseLeave?.(e);
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
controls.start("normal");
|
|
30
|
+
}
|
|
31
|
+
}, [controls, onMouseLeave]);
|
|
32
|
+
return (_jsx("div", { className: cn(className), onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, children: _jsxs("svg", { fill: "none", height: size, stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", viewBox: "0 0 24 24", width: size, xmlns: "http://www.w3.org/2000/svg", children: [_jsx("path", { d: "M12 8V4H8" }), _jsx("rect", { height: "12", rx: "2", width: "16", x: "4", y: "8" }), _jsx("path", { d: "M2 14h2" }), _jsx("path", { d: "M20 14h2" }), _jsx(motion.line, { animate: controls, initial: "normal", variants: {
|
|
33
|
+
normal: { y1: 13, y2: 15 },
|
|
34
|
+
animate: {
|
|
35
|
+
y1: [13, 14, 13],
|
|
36
|
+
y2: [15, 14, 15],
|
|
37
|
+
transition: {
|
|
38
|
+
duration: 0.5,
|
|
39
|
+
ease: "easeInOut",
|
|
40
|
+
delay: 0.2,
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
}, x1: 15, x2: 15 }), _jsx(motion.line, { animate: controls, initial: "normal", variants: {
|
|
44
|
+
normal: { y1: 13, y2: 15 },
|
|
45
|
+
animate: {
|
|
46
|
+
y1: [13, 14, 13],
|
|
47
|
+
y2: [15, 14, 15],
|
|
48
|
+
transition: {
|
|
49
|
+
duration: 0.5,
|
|
50
|
+
ease: "easeInOut",
|
|
51
|
+
delay: 0.2,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
}, x1: 9, x2: 9 })] }) }));
|
|
55
|
+
});
|
|
56
|
+
BotIcon.displayName = "Bot";
|
|
57
|
+
export { BotIcon };
|
|
58
|
+
//# sourceMappingURL=bot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bot.js","sourceRoot":"","sources":["../../../src/icons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ACV,OAAO,EAAE,QAAQ,EACjB,OAAO,EAAC,QAAQ,EAChB,QAAQ,EAAE;wBACR,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE;wBAC1B,OAAO,EAAE;4BACP,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;4BAChB,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;4BAChB,UAAU,EAAE;gCACV,QAAQ,EAAE,GAAG;gCACb,IAAI,EAAE,WAAW;gCACjB,KAAK,EAAE,GAAG;6BACX;yBACF;qBACF,EACD,EAAE,EAAE,CAAC,EACL,EAAE,EAAE,CAAC,GACL,IACE,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,OAAO,CAAC,WAAW,GAAG,KAAK,CAAC;AAE5B,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { HTMLAttributes } from "react";
|
|
2
|
+
export interface BoxIconHandle {
|
|
3
|
+
startAnimation: () => void;
|
|
4
|
+
stopAnimation: () => void;
|
|
5
|
+
}
|
|
6
|
+
interface BoxIconProps extends HTMLAttributes<HTMLDivElement> {
|
|
7
|
+
size?: number;
|
|
8
|
+
}
|
|
9
|
+
declare const BoxIcon: import("react").ForwardRefExoticComponent<BoxIconProps & import("react").RefAttributes<BoxIconHandle>>;
|
|
10
|
+
export { BoxIcon };
|
|
11
|
+
//# sourceMappingURL=box.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../src/icons/lucide-animated/box.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,WAAW,aAAa;IAC5B,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,UAAU,YAAa,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC3D,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAqBD,QAAA,MAAM,OAAO,wGA2EZ,CAAC;AAIF,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { motion, useAnimation } from "framer-motion";
|
|
4
|
+
import { forwardRef, useCallback, useImperativeHandle, useRef } from "react";
|
|
5
|
+
import { cn } from "@/lib/utils";
|
|
6
|
+
const PATH_VARIANTS = {
|
|
7
|
+
normal: {
|
|
8
|
+
opacity: 1,
|
|
9
|
+
pathLength: 1,
|
|
10
|
+
transition: {
|
|
11
|
+
duration: 0.3,
|
|
12
|
+
opacity: { duration: 0.1 },
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
animate: {
|
|
16
|
+
opacity: [0, 1],
|
|
17
|
+
pathLength: [0, 1],
|
|
18
|
+
transition: {
|
|
19
|
+
duration: 0.4,
|
|
20
|
+
opacity: { duration: 0.1 },
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
const BoxIcon = forwardRef(({ onMouseEnter, onMouseLeave, className, size = 28, ...props }, ref) => {
|
|
25
|
+
const controls = useAnimation();
|
|
26
|
+
const isControlledRef = useRef(false);
|
|
27
|
+
useImperativeHandle(ref, () => {
|
|
28
|
+
isControlledRef.current = true;
|
|
29
|
+
return {
|
|
30
|
+
startAnimation: () => controls.start("animate"),
|
|
31
|
+
stopAnimation: () => controls.start("normal"),
|
|
32
|
+
};
|
|
33
|
+
});
|
|
34
|
+
const handleMouseEnter = useCallback((e) => {
|
|
35
|
+
if (isControlledRef.current) {
|
|
36
|
+
onMouseEnter?.(e);
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
controls.start("animate");
|
|
40
|
+
}
|
|
41
|
+
}, [controls, onMouseEnter]);
|
|
42
|
+
const handleMouseLeave = useCallback((e) => {
|
|
43
|
+
if (isControlledRef.current) {
|
|
44
|
+
onMouseLeave?.(e);
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
controls.start("normal");
|
|
48
|
+
}
|
|
49
|
+
}, [controls, onMouseLeave]);
|
|
50
|
+
return (_jsx("div", { className: cn(className), onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, children: _jsxs("svg", { fill: "none", height: size, stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", viewBox: "0 0 24 24", width: size, xmlns: "http://www.w3.org/2000/svg", children: [_jsx(motion.path, { animate: controls, d: "M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z", initial: "normal", variants: PATH_VARIANTS }), _jsx(motion.path, { animate: controls, d: "m3.3 7 8.7 5 8.7-5", initial: "normal", variants: PATH_VARIANTS }), _jsx(motion.path, { animate: controls, d: "M12 22V12", initial: "normal", variants: PATH_VARIANTS })] }) }));
|
|
51
|
+
});
|
|
52
|
+
BoxIcon.displayName = "BoxIcon";
|
|
53
|
+
export { BoxIcon };
|
|
54
|
+
//# sourceMappingURL=box.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"box.js","sourceRoot":"","sources":["../../../src/icons/lucide-animated/box.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE7E,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAWjC,MAAM,aAAa,GAAa;IAC9B,MAAM,EAAE;QACN,OAAO,EAAE,CAAC;QACV,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GAIG;AAEH,wBAAgB,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,2CAczD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Check Icon
|
|
4
|
+
*
|
|
5
|
+
* Checkmark/tick icon.
|
|
6
|
+
*/
|
|
7
|
+
export function Check(props) {
|
|
8
|
+
return (_jsx("svg", { ...props, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: _jsx("polyline", { points: "20 6 9 17 4 12" }) }));
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=check.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check.js","sourceRoot":"","sources":["../../../src/icons/lucide-animated/check.tsx"],"names":[],"mappings":";AAAA;;;;GAIG;AAEH,MAAM,UAAU,KAAK,CAAC,KAAoC;IACxD,OAAO,CACL,iBACM,KAAK,EACT,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,GAAG,EACf,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,YAEtB,mBAAU,MAAM,EAAC,gBAAgB,GAAG,GAChC,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { HTMLAttributes } from "react";
|
|
2
|
+
export interface CircleCheckIconHandle {
|
|
3
|
+
startAnimation: () => void;
|
|
4
|
+
stopAnimation: () => void;
|
|
5
|
+
}
|
|
6
|
+
interface CircleCheckIconProps extends HTMLAttributes<HTMLDivElement> {
|
|
7
|
+
size?: number;
|
|
8
|
+
}
|
|
9
|
+
declare const CircleCheckIcon: import("react").ForwardRefExoticComponent<CircleCheckIconProps & import("react").RefAttributes<CircleCheckIconHandle>>;
|
|
10
|
+
export { CircleCheckIcon };
|
|
11
|
+
//# sourceMappingURL=circle-check.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"circle-check.d.ts","sourceRoot":"","sources":["../../../src/icons/lucide-animated/circle-check.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,WAAW,qBAAqB;IACpC,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,UAAU,oBAAqB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACnE,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAqBD,QAAA,MAAM,eAAe,wHAiEpB,CAAC;AAIF,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { motion, useAnimation } from "framer-motion";
|
|
4
|
+
import { forwardRef, useCallback, useImperativeHandle, useRef } from "react";
|
|
5
|
+
import { cn } from "@/lib/utils";
|
|
6
|
+
const PATH_VARIANTS = {
|
|
7
|
+
normal: {
|
|
8
|
+
opacity: 1,
|
|
9
|
+
pathLength: 1,
|
|
10
|
+
transition: {
|
|
11
|
+
duration: 0.3,
|
|
12
|
+
opacity: { duration: 0.1 },
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
animate: {
|
|
16
|
+
opacity: [0, 1],
|
|
17
|
+
pathLength: [0, 1],
|
|
18
|
+
transition: {
|
|
19
|
+
duration: 0.4,
|
|
20
|
+
opacity: { duration: 0.1 },
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
const CircleCheckIcon = forwardRef(({ onMouseEnter, onMouseLeave, className, size = 28, ...props }, ref) => {
|
|
25
|
+
const controls = useAnimation();
|
|
26
|
+
const isControlledRef = useRef(false);
|
|
27
|
+
useImperativeHandle(ref, () => {
|
|
28
|
+
isControlledRef.current = true;
|
|
29
|
+
return {
|
|
30
|
+
startAnimation: () => controls.start("animate"),
|
|
31
|
+
stopAnimation: () => controls.start("normal"),
|
|
32
|
+
};
|
|
33
|
+
});
|
|
34
|
+
const handleMouseEnter = useCallback((e) => {
|
|
35
|
+
if (isControlledRef.current) {
|
|
36
|
+
onMouseEnter?.(e);
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
controls.start("animate");
|
|
40
|
+
}
|
|
41
|
+
}, [controls, onMouseEnter]);
|
|
42
|
+
const handleMouseLeave = useCallback((e) => {
|
|
43
|
+
if (isControlledRef.current) {
|
|
44
|
+
onMouseLeave?.(e);
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
controls.start("normal");
|
|
48
|
+
}
|
|
49
|
+
}, [controls, onMouseLeave]);
|
|
50
|
+
return (_jsx("div", { className: cn(className), onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, children: _jsxs("svg", { fill: "none", height: size, stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", viewBox: "0 0 24 24", width: size, xmlns: "http://www.w3.org/2000/svg", children: [_jsx("circle", { cx: "12", cy: "12", r: "10" }), _jsx(motion.path, { animate: controls, d: "m9 12 2 2 4-4", initial: "normal", variants: PATH_VARIANTS })] }) }));
|
|
51
|
+
});
|
|
52
|
+
CircleCheckIcon.displayName = "CircleCheckIcon";
|
|
53
|
+
export { CircleCheckIcon };
|
|
54
|
+
//# sourceMappingURL=circle-check.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"circle-check.js","sourceRoot":"","sources":["../../../src/icons/lucide-animated/circle-check.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAErD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,EAAE,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,CAAC;QAC5B,CAAC;IACH,CAAC,EACD,CAAC,QAAQ,EAAE,YAAY,CAAC,CACzB,CAAC;IAEF,MAAM,gBAAgB,GAAG,WAAW,CAClC,CAAC,CAAmC,EAAE,EAAE;QACtC,IAAI,eAAe,CAAC,OAAO,EAAE,CAAC;YAC5B,YAAY,EAAE,CAAC,CAAC,CAAC,CAAC;QACpB,CAAC;aAAM,CAAC;YACN,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAC3B,CAAC;IACH,CAAC,EACD,CAAC,QAAQ,EAAE,YAAY,CAAC,CACzB,CAAC;IAEF,OAAO,CACL,cACE,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,EACxB,YAAY,EAAE,gBAAgB,EAC9B,YAAY,EAAE,gBAAgB,KAC1B,KAAK,YAET,eACE,IAAI,EAAC,MAAM,EACX,MAAM,EAAE,IAAI,EACZ,MAAM,EAAC,cAAc,EACrB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,EACtB,WAAW,EAAC,GAAG,EACf,OAAO,EAAC,WAAW,EACnB,KAAK,EAAE,IAAI,EACX,KAAK,EAAC,4BAA4B,aAElC,iBAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,GAAG,EACjC,KAAC,MAAM,CAAC,IAAI,IACV,OAAO,EAAE,QAAQ,EACjB,CAAC,EAAC,eAAe,EACjB,OAAO,EAAC,QAAQ,EAChB,QAAQ,EAAE,aAAa,GACvB,IACE,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,CAAC,WAAW,GAAG,iBAAiB,CAAC;AAEhD,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { HTMLAttributes } from "react";
|
|
2
|
+
export interface DeleteIconHandle {
|
|
3
|
+
startAnimation: () => void;
|
|
4
|
+
stopAnimation: () => void;
|
|
5
|
+
}
|
|
6
|
+
interface DeleteIconProps extends HTMLAttributes<HTMLDivElement> {
|
|
7
|
+
size?: number;
|
|
8
|
+
}
|
|
9
|
+
declare const DeleteIcon: import("react").ForwardRefExoticComponent<DeleteIconProps & import("react").RefAttributes<DeleteIconHandle>>;
|
|
10
|
+
export { DeleteIcon };
|
|
11
|
+
//# sourceMappingURL=delete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete.d.ts","sourceRoot":"","sources":["../../../src/icons/lucide-animated/delete.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,WAAW,gBAAgB;IAC/B,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,UAAU,eAAgB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC9D,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAaD,QAAA,MAAM,UAAU,8GAmGf,CAAC;AAIF,OAAO,EAAE,UAAU,EAAE,CAAC"}
|