@mks2508/mks-ui 0.1.4 → 0.2.1
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 +38 -11
- package/dist/core/index.d.ts +7 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/types.d.ts +79 -0
- package/dist/core/types.d.ts.map +1 -0
- package/dist/index.d.ts +19 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -72
- package/dist/react-ui/components/MorphingPopover/MorphingPopover.types.d.ts +44 -0
- package/dist/react-ui/components/MorphingPopover/MorphingPopover.types.d.ts.map +1 -0
- package/dist/react-ui/components/MorphingPopover/index.d.ts +46 -0
- package/dist/react-ui/components/MorphingPopover/index.d.ts.map +1 -0
- package/dist/{components/ui/morphing-popover/morphing-popover.js → react-ui/components/MorphingPopover/index.js} +46 -6
- package/dist/react-ui/components/MorphingPopover/morphing-popover.module.js +5 -0
- package/dist/react-ui/components/index.d.ts +9 -0
- package/dist/react-ui/components/index.d.ts.map +1 -0
- package/dist/react-ui/components/index.js +1 -0
- package/dist/react-ui/hooks/Animation/UseAutoHeight.d.ts +30 -0
- package/dist/react-ui/hooks/Animation/UseAutoHeight.d.ts.map +1 -0
- package/dist/{hooks/use-auto-height.js → react-ui/hooks/Animation/UseAutoHeight.js} +15 -1
- package/dist/react-ui/hooks/DOM/UseIsInView.d.ts +32 -0
- package/dist/react-ui/hooks/DOM/UseIsInView.d.ts.map +1 -0
- package/dist/react-ui/hooks/DOM/UseIsInView.js +33 -0
- package/dist/react-ui/hooks/State/UseControlledState.d.ts +31 -0
- package/dist/react-ui/hooks/State/UseControlledState.d.ts.map +1 -0
- package/dist/react-ui/hooks/State/UseControlledState.js +34 -0
- package/dist/react-ui/hooks/State/UseDataState.d.ts +21 -0
- package/dist/react-ui/hooks/State/UseDataState.d.ts.map +1 -0
- package/dist/{hooks/use-data-state.js → react-ui/hooks/State/UseDataState.js} +22 -1
- package/dist/react-ui/hooks/index.d.ts +14 -0
- package/dist/react-ui/hooks/index.d.ts.map +1 -0
- package/dist/react-ui/hooks/index.js +4 -0
- package/dist/react-ui/icons/index.d.ts +8 -0
- package/dist/react-ui/icons/index.d.ts.map +1 -0
- package/dist/react-ui/icons/lucide-animated/activity.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/activity.js +1 -1
- package/dist/react-ui/icons/lucide-animated/arrow-down-to-line.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/arrow-down-to-line.js +1 -1
- package/dist/react-ui/icons/lucide-animated/arrow-up.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/arrow-up.js +1 -1
- package/dist/react-ui/icons/lucide-animated/bell-electric.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/bell-electric.js +1 -1
- package/dist/react-ui/icons/lucide-animated/bell.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/bell.js +1 -1
- package/dist/react-ui/icons/lucide-animated/bot.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/bot.js +1 -1
- package/dist/react-ui/icons/lucide-animated/box.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/box.js +1 -1
- package/dist/react-ui/icons/lucide-animated/check.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/check.js +1 -1
- package/dist/react-ui/icons/lucide-animated/circle-check.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/circle-check.js +1 -1
- package/dist/react-ui/icons/lucide-animated/delete.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/delete.js +1 -1
- package/dist/react-ui/icons/lucide-animated/download.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/download.js +1 -1
- package/dist/react-ui/icons/lucide-animated/edit-2.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/edit-2.js +1 -1
- package/dist/react-ui/icons/lucide-animated/globe.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/globe.js +1 -1
- package/dist/react-ui/icons/lucide-animated/home.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/home.js +1 -1
- package/dist/react-ui/icons/lucide-animated/index.d.ts +38 -0
- package/dist/react-ui/icons/lucide-animated/index.d.ts.map +1 -0
- package/dist/react-ui/icons/lucide-animated/layers.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/layers.js +1 -1
- package/dist/react-ui/icons/lucide-animated/layout-panel-top.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/layout-panel-top.js +1 -1
- package/dist/react-ui/icons/lucide-animated/list.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/list.js +1 -1
- package/dist/react-ui/icons/lucide-animated/package.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/package.js +1 -1
- package/dist/react-ui/icons/lucide-animated/palette.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/palette.js +1 -1
- package/dist/react-ui/icons/lucide-animated/plus.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/plus.js +1 -1
- package/dist/react-ui/icons/lucide-animated/refresh-cw.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/refresh-cw.js +1 -1
- package/dist/react-ui/icons/lucide-animated/rocket.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/rocket.js +1 -1
- package/dist/react-ui/icons/lucide-animated/save.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/save.js +1 -1
- package/dist/react-ui/icons/lucide-animated/search.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/search.js +1 -1
- package/dist/react-ui/icons/lucide-animated/settings.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/settings.js +1 -1
- package/dist/react-ui/icons/lucide-animated/terminal.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/terminal.js +1 -1
- package/dist/react-ui/icons/lucide-animated/trash-2.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/trash-2.js +1 -1
- package/dist/react-ui/icons/lucide-animated/trending-down.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/trending-down.js +1 -1
- package/dist/react-ui/icons/lucide-animated/trending-up.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/trending-up.js +1 -1
- package/dist/react-ui/icons/lucide-animated/type.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/type.js +1 -1
- package/dist/react-ui/icons/lucide-animated/upload.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/upload.js +1 -1
- package/dist/react-ui/icons/lucide-animated/x.d.ts.map +1 -0
- package/dist/{icons → react-ui/icons}/lucide-animated/x.js +1 -1
- package/dist/react-ui/index.d.ts +19 -0
- package/dist/react-ui/index.d.ts.map +1 -0
- package/dist/react-ui/index.js +88 -0
- package/dist/react-ui/lib/get-strict-context.d.ts +30 -0
- package/dist/react-ui/lib/get-strict-context.d.ts.map +1 -0
- package/dist/react-ui/lib/get-strict-context.js +40 -0
- package/dist/react-ui/lib/index.d.ts +8 -0
- package/dist/react-ui/lib/index.d.ts.map +1 -0
- package/dist/react-ui/lib/index.js +2 -0
- package/dist/{lib → react-ui/lib}/utils.d.ts +2 -2
- package/dist/react-ui/lib/utils.d.ts.map +1 -0
- package/dist/{lib → react-ui/lib}/utils.js +3 -3
- package/dist/react-ui/primitives/AutoHeight/index.d.ts +31 -0
- package/dist/react-ui/primitives/AutoHeight/index.d.ts.map +1 -0
- package/dist/react-ui/primitives/AutoHeight/index.js +52 -0
- package/dist/react-ui/primitives/CountingNumber/index.d.ts +44 -0
- package/dist/react-ui/primitives/CountingNumber/index.d.ts.map +1 -0
- package/dist/{components/animate-ui/primitives/texts/counting-number.js → react-ui/primitives/CountingNumber/index.js} +21 -2
- package/dist/react-ui/primitives/Highlight/Highlight.types.d.ts +113 -0
- package/dist/react-ui/primitives/Highlight/Highlight.types.d.ts.map +1 -0
- package/dist/react-ui/primitives/Highlight/index.d.ts +48 -0
- package/dist/react-ui/primitives/Highlight/index.d.ts.map +1 -0
- package/dist/{components/animate-ui/primitives/effects/highlight.js → react-ui/primitives/Highlight/index.js} +42 -2
- package/dist/react-ui/primitives/Slot/index.d.ts +53 -0
- package/dist/react-ui/primitives/Slot/index.d.ts.map +1 -0
- package/dist/{components/animate-ui/primitives/animate/slot.js → react-ui/primitives/Slot/index.js} +25 -2
- package/dist/react-ui/primitives/index.d.ts +12 -0
- package/dist/react-ui/primitives/index.d.ts.map +1 -0
- package/dist/react-ui/primitives/index.js +4 -0
- package/dist/react-ui/ui/Accordion/Accordion.styles.d.ts +47 -0
- package/dist/react-ui/ui/Accordion/Accordion.styles.d.ts.map +1 -0
- package/dist/react-ui/ui/Accordion/Accordion.styles.js +54 -0
- package/dist/react-ui/ui/Accordion/Accordion.types.d.ts +160 -0
- package/dist/react-ui/ui/Accordion/Accordion.types.d.ts.map +1 -0
- package/dist/react-ui/ui/Accordion/index.d.ts +105 -0
- package/dist/react-ui/ui/Accordion/index.d.ts.map +1 -0
- package/dist/react-ui/ui/Accordion/index.js +266 -0
- package/dist/react-ui/ui/AlertDialog/AlertDialog.styles.d.ts +28 -0
- package/dist/react-ui/ui/AlertDialog/AlertDialog.styles.d.ts.map +1 -0
- package/dist/react-ui/ui/AlertDialog/AlertDialog.styles.js +29 -0
- package/dist/react-ui/ui/AlertDialog/AlertDialog.types.d.ts +235 -0
- package/dist/react-ui/ui/AlertDialog/AlertDialog.types.d.ts.map +1 -0
- package/dist/react-ui/ui/AlertDialog/index.d.ts +194 -0
- package/dist/react-ui/ui/AlertDialog/index.d.ts.map +1 -0
- package/dist/react-ui/ui/AlertDialog/index.js +319 -0
- package/dist/react-ui/ui/Badge/Badge.styles.d.ts +16 -0
- package/dist/react-ui/ui/Badge/Badge.styles.d.ts.map +1 -0
- package/dist/{components/ui/badge/badge.styles.js → react-ui/ui/Badge/Badge.styles.js} +2 -6
- package/dist/react-ui/ui/Badge/Badge.types.d.ts +21 -0
- package/dist/react-ui/ui/Badge/Badge.types.d.ts.map +1 -0
- package/dist/react-ui/ui/Badge/index.d.ts +20 -0
- package/dist/react-ui/ui/Badge/index.d.ts.map +1 -0
- package/dist/react-ui/ui/Badge/index.js +34 -0
- package/dist/react-ui/ui/Button/Button.styles.d.ts +21 -0
- package/dist/react-ui/ui/Button/Button.styles.d.ts.map +1 -0
- package/dist/{components/ui/button/button.styles.js → react-ui/ui/Button/Button.styles.js} +3 -9
- package/dist/react-ui/ui/Button/Button.types.d.ts +45 -0
- package/dist/react-ui/ui/Button/Button.types.d.ts.map +1 -0
- package/dist/react-ui/ui/Button/index.d.ts +22 -0
- package/dist/react-ui/ui/Button/index.d.ts.map +1 -0
- package/dist/react-ui/ui/Button/index.js +103 -0
- package/dist/react-ui/ui/Card/Card.styles.d.ts +11 -0
- package/dist/react-ui/ui/Card/Card.styles.d.ts.map +1 -0
- package/dist/react-ui/ui/Card/Card.styles.js +24 -0
- package/dist/react-ui/ui/Card/Card.types.d.ts +22 -0
- package/dist/react-ui/ui/Card/Card.types.d.ts.map +1 -0
- package/dist/react-ui/ui/Card/index.d.ts +36 -0
- package/dist/react-ui/ui/Card/index.d.ts.map +1 -0
- package/dist/react-ui/ui/Card/index.js +82 -0
- package/dist/react-ui/ui/Checkbox/Checkbox.styles.d.ts +25 -0
- package/dist/react-ui/ui/Checkbox/Checkbox.styles.d.ts.map +1 -0
- package/dist/react-ui/ui/Checkbox/Checkbox.styles.js +34 -0
- package/dist/react-ui/ui/Checkbox/Checkbox.types.d.ts +88 -0
- package/dist/react-ui/ui/Checkbox/Checkbox.types.d.ts.map +1 -0
- package/dist/react-ui/ui/Checkbox/index.d.ts +59 -0
- package/dist/react-ui/ui/Checkbox/index.d.ts.map +1 -0
- package/dist/react-ui/ui/Checkbox/index.js +158 -0
- package/dist/react-ui/ui/Combobox/Combobox.styles.d.ts +7 -0
- package/dist/react-ui/ui/Combobox/Combobox.styles.d.ts.map +1 -0
- package/dist/react-ui/ui/Combobox/Combobox.styles.js +17 -0
- package/dist/react-ui/ui/Combobox/Combobox.types.d.ts +49 -0
- package/dist/react-ui/ui/Combobox/Combobox.types.d.ts.map +1 -0
- package/dist/react-ui/ui/Combobox/index.d.ts +60 -0
- package/dist/react-ui/ui/Combobox/index.d.ts.map +1 -0
- package/dist/{components/ui/combobox.js → react-ui/ui/Combobox/index.js} +53 -15
- package/dist/react-ui/ui/CornerBracket/CornerBracket.styles.d.ts +18 -0
- package/dist/react-ui/ui/CornerBracket/CornerBracket.styles.d.ts.map +1 -0
- package/dist/react-ui/ui/CornerBracket/CornerBracket.styles.js +30 -0
- package/dist/react-ui/ui/CornerBracket/CornerBracket.types.d.ts +12 -0
- package/dist/react-ui/ui/CornerBracket/CornerBracket.types.d.ts.map +1 -0
- package/dist/react-ui/ui/CornerBracket/index.d.ts +23 -0
- package/dist/react-ui/ui/CornerBracket/index.d.ts.map +1 -0
- package/dist/react-ui/ui/CornerBracket/index.js +42 -0
- package/dist/react-ui/ui/Dialog/Dialog.styles.d.ts +24 -0
- package/dist/react-ui/ui/Dialog/Dialog.styles.d.ts.map +1 -0
- package/dist/react-ui/ui/Dialog/Dialog.styles.js +29 -0
- package/dist/react-ui/ui/Dialog/Dialog.types.d.ts +221 -0
- package/dist/react-ui/ui/Dialog/Dialog.types.d.ts.map +1 -0
- package/dist/react-ui/ui/Dialog/index.d.ts +138 -0
- package/dist/react-ui/ui/Dialog/index.d.ts.map +1 -0
- package/dist/react-ui/ui/Dialog/index.js +265 -0
- package/dist/react-ui/ui/DropdownMenu/DropdownMenu.styles.d.ts +7 -0
- package/dist/react-ui/ui/DropdownMenu/DropdownMenu.styles.d.ts.map +1 -0
- package/dist/react-ui/ui/DropdownMenu/DropdownMenu.styles.js +16 -0
- package/dist/react-ui/ui/DropdownMenu/DropdownMenu.types.d.ts +50 -0
- package/dist/react-ui/ui/DropdownMenu/DropdownMenu.types.d.ts.map +1 -0
- package/dist/react-ui/ui/DropdownMenu/index.d.ts +50 -0
- package/dist/react-ui/ui/DropdownMenu/index.d.ts.map +1 -0
- package/dist/{components/ui/dropdown-menu.js → react-ui/ui/DropdownMenu/index.js} +43 -13
- package/dist/react-ui/ui/Field/Field.styles.d.ts +11 -0
- package/dist/react-ui/ui/Field/Field.styles.d.ts.map +1 -0
- package/dist/react-ui/ui/Field/Field.styles.js +27 -0
- package/dist/react-ui/ui/Field/Field.types.d.ts +39 -0
- package/dist/react-ui/ui/Field/Field.types.d.ts.map +1 -0
- package/dist/react-ui/ui/Field/index.d.ts +56 -0
- package/dist/react-ui/ui/Field/index.d.ts.map +1 -0
- package/dist/{components/ui/field.js → react-ui/ui/Field/index.js} +54 -22
- package/dist/react-ui/ui/Input/Input.styles.d.ts +7 -0
- package/dist/react-ui/ui/Input/Input.styles.d.ts.map +1 -0
- package/dist/react-ui/ui/Input/Input.styles.js +5 -0
- package/dist/react-ui/ui/Input/Input.types.d.ts +9 -0
- package/dist/react-ui/ui/Input/Input.types.d.ts.map +1 -0
- package/dist/react-ui/ui/Input/index.d.ts +17 -0
- package/dist/react-ui/ui/Input/index.d.ts.map +1 -0
- package/dist/react-ui/ui/Input/index.js +29 -0
- package/dist/react-ui/ui/InputGroup/InputGroup.styles.d.ts +15 -0
- package/dist/react-ui/ui/InputGroup/InputGroup.styles.d.ts.map +1 -0
- package/dist/react-ui/ui/InputGroup/InputGroup.styles.js +34 -0
- package/dist/react-ui/ui/InputGroup/InputGroup.types.d.ts +28 -0
- package/dist/react-ui/ui/InputGroup/InputGroup.types.d.ts.map +1 -0
- package/dist/react-ui/ui/InputGroup/index.d.ts +28 -0
- package/dist/react-ui/ui/InputGroup/index.d.ts.map +1 -0
- package/dist/react-ui/ui/InputGroup/index.js +81 -0
- package/dist/react-ui/ui/Label/Label.styles.d.ts +6 -0
- package/dist/react-ui/ui/Label/Label.styles.d.ts.map +1 -0
- package/dist/react-ui/ui/Label/Label.styles.js +5 -0
- package/dist/react-ui/ui/Label/Label.types.d.ts +8 -0
- package/dist/react-ui/ui/Label/Label.types.d.ts.map +1 -0
- package/dist/react-ui/ui/Label/index.d.ts +14 -0
- package/dist/react-ui/ui/Label/index.d.ts.map +1 -0
- package/dist/react-ui/ui/Label/index.js +24 -0
- package/dist/react-ui/ui/Menu/Menu.styles.d.ts +42 -0
- package/dist/react-ui/ui/Menu/Menu.styles.d.ts.map +1 -0
- package/dist/react-ui/ui/Menu/Menu.styles.js +32 -0
- package/dist/react-ui/ui/Menu/Menu.types.d.ts +328 -0
- package/dist/react-ui/ui/Menu/Menu.types.d.ts.map +1 -0
- package/dist/react-ui/ui/Menu/index.d.ts +354 -0
- package/dist/react-ui/ui/Menu/index.d.ts.map +1 -0
- package/dist/react-ui/ui/Menu/index.js +636 -0
- package/dist/react-ui/ui/Popover/Popover.styles.d.ts +23 -0
- package/dist/react-ui/ui/Popover/Popover.styles.d.ts.map +1 -0
- package/dist/react-ui/ui/Popover/Popover.styles.js +26 -0
- package/dist/react-ui/ui/Popover/Popover.types.d.ts +204 -0
- package/dist/react-ui/ui/Popover/Popover.types.d.ts.map +1 -0
- package/dist/react-ui/ui/Popover/index.d.ts +133 -0
- package/dist/react-ui/ui/Popover/index.d.ts.map +1 -0
- package/dist/react-ui/ui/Popover/index.js +237 -0
- package/dist/react-ui/ui/Progress/Progress.styles.d.ts +28 -0
- package/dist/react-ui/ui/Progress/Progress.styles.d.ts.map +1 -0
- package/dist/react-ui/ui/Progress/Progress.styles.js +30 -0
- package/dist/react-ui/ui/Progress/Progress.types.d.ts +148 -0
- package/dist/react-ui/ui/Progress/Progress.types.d.ts.map +1 -0
- package/dist/react-ui/ui/Progress/index.d.ts +111 -0
- package/dist/react-ui/ui/Progress/index.d.ts.map +1 -0
- package/dist/react-ui/ui/Progress/index.js +170 -0
- package/dist/react-ui/ui/Select/Select.styles.d.ts +7 -0
- package/dist/react-ui/ui/Select/Select.styles.d.ts.map +1 -0
- package/dist/react-ui/ui/Select/Select.styles.js +15 -0
- package/dist/react-ui/ui/Select/Select.types.d.ts +28 -0
- package/dist/react-ui/ui/Select/Select.types.d.ts.map +1 -0
- package/dist/react-ui/ui/Select/index.d.ts +38 -0
- package/dist/react-ui/ui/Select/index.d.ts.map +1 -0
- package/dist/{components/ui/select.js → react-ui/ui/Select/index.js} +34 -12
- package/dist/react-ui/ui/Separator/Separator.styles.d.ts +6 -0
- package/dist/react-ui/ui/Separator/Separator.styles.d.ts.map +1 -0
- package/dist/react-ui/ui/Separator/Separator.styles.js +5 -0
- package/dist/react-ui/ui/Separator/Separator.types.d.ts +9 -0
- package/dist/react-ui/ui/Separator/Separator.types.d.ts.map +1 -0
- package/dist/react-ui/ui/Separator/index.d.ts +16 -0
- package/dist/react-ui/ui/Separator/index.d.ts.map +1 -0
- package/dist/react-ui/ui/Separator/index.js +29 -0
- package/dist/react-ui/ui/Switch/Switch.styles.d.ts +26 -0
- package/dist/react-ui/ui/Switch/Switch.styles.d.ts.map +1 -0
- package/dist/react-ui/ui/Switch/Switch.styles.js +41 -0
- package/dist/react-ui/ui/Switch/Switch.types.d.ts +130 -0
- package/dist/react-ui/ui/Switch/Switch.types.d.ts.map +1 -0
- package/dist/react-ui/ui/Switch/index.d.ts +79 -0
- package/dist/react-ui/ui/Switch/index.d.ts.map +1 -0
- package/dist/react-ui/ui/Switch/index.js +199 -0
- package/dist/react-ui/ui/Tabs/Tabs.styles.d.ts +43 -0
- package/dist/react-ui/ui/Tabs/Tabs.styles.d.ts.map +1 -0
- package/dist/react-ui/ui/Tabs/Tabs.styles.js +26 -0
- package/dist/react-ui/ui/Tabs/Tabs.types.d.ts +201 -0
- package/dist/react-ui/ui/Tabs/Tabs.types.d.ts.map +1 -0
- package/dist/react-ui/ui/Tabs/index.d.ts +141 -0
- package/dist/react-ui/ui/Tabs/index.d.ts.map +1 -0
- package/dist/react-ui/ui/Tabs/index.js +308 -0
- package/dist/react-ui/ui/Textarea/Textarea.styles.d.ts +6 -0
- package/dist/react-ui/ui/Textarea/Textarea.styles.d.ts.map +1 -0
- package/dist/react-ui/ui/Textarea/Textarea.styles.js +5 -0
- package/dist/react-ui/ui/Textarea/Textarea.types.d.ts +8 -0
- package/dist/react-ui/ui/Textarea/Textarea.types.d.ts.map +1 -0
- package/dist/react-ui/ui/Textarea/index.d.ts +14 -0
- package/dist/react-ui/ui/Textarea/index.d.ts.map +1 -0
- package/dist/react-ui/ui/Textarea/index.js +24 -0
- package/dist/react-ui/ui/Tooltip/Tooltip.styles.d.ts +23 -0
- package/dist/react-ui/ui/Tooltip/Tooltip.styles.d.ts.map +1 -0
- package/dist/react-ui/ui/Tooltip/Tooltip.styles.js +26 -0
- package/dist/react-ui/ui/Tooltip/Tooltip.types.d.ts +203 -0
- package/dist/react-ui/ui/Tooltip/Tooltip.types.d.ts.map +1 -0
- package/dist/react-ui/ui/Tooltip/index.d.ts +110 -0
- package/dist/react-ui/ui/Tooltip/index.d.ts.map +1 -0
- package/dist/react-ui/ui/Tooltip/index.js +219 -0
- package/dist/react-ui/ui/index.d.ts +31 -0
- package/dist/react-ui/ui/index.d.ts.map +1 -0
- package/dist/react-ui/ui/index.js +37 -0
- package/package.json +12 -9
- package/src/core/index.ts +7 -0
- package/src/core/types.ts +82 -0
- package/src/index.ts +20 -14
- package/src/react-ui/components/MorphingPopover/MorphingPopover.types.ts +49 -0
- package/src/react-ui/components/MorphingPopover/index.tsx +186 -0
- package/src/react-ui/components/index.ts +9 -0
- package/src/{hooks/use-auto-height.tsx → react-ui/hooks/Animation/UseAutoHeight.tsx} +24 -3
- package/src/react-ui/hooks/DOM/UseIsInView.tsx +44 -0
- package/src/{hooks/use-controlled-state.tsx → react-ui/hooks/State/UseControlledState.tsx} +26 -2
- package/src/{hooks/use-data-state.tsx → react-ui/hooks/State/UseDataState.tsx} +22 -0
- package/src/react-ui/hooks/index.ts +17 -0
- package/src/react-ui/icons/index.ts +12 -0
- package/src/{icons → react-ui/icons}/lucide-animated/activity.tsx +1 -1
- package/src/{icons → react-ui/icons}/lucide-animated/bell-electric.tsx +1 -1
- package/src/{icons → react-ui/icons}/lucide-animated/bell.tsx +1 -1
- package/src/{icons → react-ui/icons}/lucide-animated/bot.tsx +1 -1
- package/src/{icons → react-ui/icons}/lucide-animated/box.tsx +1 -1
- package/src/{icons → react-ui/icons}/lucide-animated/circle-check.tsx +1 -1
- package/src/{icons → react-ui/icons}/lucide-animated/delete.tsx +1 -1
- package/src/{icons → react-ui/icons}/lucide-animated/download.tsx +1 -1
- package/src/{icons → react-ui/icons}/lucide-animated/home.tsx +1 -1
- package/src/react-ui/icons/lucide-animated/index.ts +38 -0
- package/src/{icons → react-ui/icons}/lucide-animated/layout-panel-top.tsx +1 -1
- package/src/{icons → react-ui/icons}/lucide-animated/plus.tsx +1 -1
- package/src/{icons → react-ui/icons}/lucide-animated/search.tsx +1 -1
- package/src/{icons → react-ui/icons}/lucide-animated/settings.tsx +1 -1
- package/src/{icons → react-ui/icons}/lucide-animated/trending-down.tsx +1 -1
- package/src/{icons → react-ui/icons}/lucide-animated/trending-up.tsx +1 -1
- package/src/{icons → react-ui/icons}/lucide-animated/x.tsx +1 -1
- package/src/react-ui/index.ts +30 -0
- package/src/{lib → react-ui/lib}/get-strict-context.tsx +20 -0
- package/src/react-ui/lib/index.ts +8 -0
- package/src/{lib → react-ui/lib}/utils.ts +2 -2
- package/src/{components/animate-ui/primitives/effects/auto-height.tsx → react-ui/primitives/AutoHeight/index.tsx} +24 -5
- package/src/{components/animate-ui/primitives/texts/counting-number.tsx → react-ui/primitives/CountingNumber/index.tsx} +35 -7
- package/src/react-ui/primitives/Highlight/Highlight.types.ts +136 -0
- package/src/{components/animate-ui/primitives/effects/highlight.tsx → react-ui/primitives/Highlight/index.tsx} +60 -123
- package/src/{components/animate-ui/primitives/animate/slot.tsx → react-ui/primitives/Slot/index.tsx} +43 -11
- package/src/react-ui/primitives/index.ts +13 -0
- package/src/react-ui/ui/Accordion/Accordion.styles.ts +72 -0
- package/src/react-ui/ui/Accordion/Accordion.types.ts +199 -0
- package/src/react-ui/ui/Accordion/index.tsx +362 -0
- package/src/react-ui/ui/AlertDialog/AlertDialog.styles.ts +38 -0
- package/src/react-ui/ui/AlertDialog/AlertDialog.types.ts +296 -0
- package/src/react-ui/ui/AlertDialog/index.tsx +540 -0
- package/src/react-ui/ui/Badge/Badge.styles.ts +43 -0
- package/src/react-ui/ui/Badge/Badge.types.ts +26 -0
- package/src/react-ui/ui/Badge/index.tsx +34 -0
- package/src/react-ui/ui/Button/Button.styles.ts +57 -0
- package/src/react-ui/ui/Button/Button.types.ts +63 -0
- package/src/react-ui/ui/Button/index.tsx +155 -0
- package/src/react-ui/ui/Card/Card.styles.ts +32 -0
- package/src/react-ui/ui/Card/Card.types.ts +39 -0
- package/src/react-ui/ui/Card/index.tsx +130 -0
- package/src/react-ui/ui/Checkbox/Checkbox.styles.ts +40 -0
- package/src/react-ui/ui/Checkbox/Checkbox.types.ts +98 -0
- package/src/react-ui/ui/Checkbox/index.tsx +233 -0
- package/src/react-ui/ui/Combobox/Combobox.styles.ts +34 -0
- package/src/react-ui/ui/Combobox/Combobox.types.ts +89 -0
- package/src/react-ui/ui/Combobox/index.tsx +331 -0
- package/src/react-ui/ui/CornerBracket/CornerBracket.styles.ts +38 -0
- package/src/react-ui/ui/CornerBracket/CornerBracket.types.ts +15 -0
- package/src/react-ui/ui/CornerBracket/index.tsx +49 -0
- package/src/react-ui/ui/Dialog/Dialog.styles.ts +59 -0
- package/src/react-ui/ui/Dialog/Dialog.types.ts +284 -0
- package/src/react-ui/ui/Dialog/index.tsx +452 -0
- package/src/react-ui/ui/DropdownMenu/DropdownMenu.styles.ts +35 -0
- package/src/react-ui/ui/DropdownMenu/DropdownMenu.types.ts +81 -0
- package/src/react-ui/ui/DropdownMenu/index.tsx +300 -0
- package/src/react-ui/ui/Field/Field.styles.ts +47 -0
- package/src/react-ui/ui/Field/Field.types.ts +60 -0
- package/src/react-ui/ui/Field/index.tsx +254 -0
- package/src/{components/ui/input.tsx → react-ui/ui/Input/Input.styles.ts} +8 -17
- package/src/react-ui/ui/Input/Input.types.ts +10 -0
- package/src/react-ui/ui/Input/index.tsx +32 -0
- package/src/react-ui/ui/InputGroup/InputGroup.styles.ts +53 -0
- package/src/react-ui/ui/InputGroup/InputGroup.types.ts +44 -0
- package/src/react-ui/ui/InputGroup/index.tsx +147 -0
- package/src/react-ui/ui/Label/Label.styles.ts +10 -0
- package/src/react-ui/ui/Label/Label.types.ts +9 -0
- package/src/react-ui/ui/Label/index.tsx +27 -0
- package/src/react-ui/ui/Menu/Menu.styles.ts +71 -0
- package/src/react-ui/ui/Menu/Menu.types.ts +425 -0
- package/src/react-ui/ui/Menu/index.tsx +900 -0
- package/src/react-ui/ui/Popover/Popover.styles.ts +55 -0
- package/src/react-ui/ui/Popover/Popover.types.ts +261 -0
- package/src/react-ui/ui/Popover/index.tsx +422 -0
- package/src/react-ui/ui/Progress/Progress.styles.ts +36 -0
- package/src/react-ui/ui/Progress/Progress.types.ts +162 -0
- package/src/react-ui/ui/Progress/index.tsx +254 -0
- package/src/react-ui/ui/Select/Select.styles.ts +30 -0
- package/src/react-ui/ui/Select/Select.types.ts +51 -0
- package/src/react-ui/ui/Select/index.tsx +225 -0
- package/src/react-ui/ui/Separator/Separator.styles.ts +10 -0
- package/src/react-ui/ui/Separator/Separator.types.ts +10 -0
- package/src/react-ui/ui/Separator/index.tsx +37 -0
- package/src/react-ui/ui/Switch/Switch.styles.ts +50 -0
- package/src/react-ui/ui/Switch/Switch.types.ts +155 -0
- package/src/react-ui/ui/Switch/index.tsx +253 -0
- package/src/react-ui/ui/Tabs/Tabs.styles.ts +60 -0
- package/src/react-ui/ui/Tabs/Tabs.types.ts +250 -0
- package/src/react-ui/ui/Tabs/index.tsx +421 -0
- package/src/{components/ui/textarea.tsx → react-ui/ui/Textarea/Textarea.styles.ts} +7 -15
- package/src/react-ui/ui/Textarea/Textarea.types.ts +9 -0
- package/src/react-ui/ui/Textarea/index.tsx +27 -0
- package/src/react-ui/ui/Tooltip/Tooltip.styles.ts +43 -0
- package/src/react-ui/ui/Tooltip/Tooltip.types.ts +253 -0
- package/src/react-ui/ui/Tooltip/index.tsx +394 -0
- package/src/react-ui/ui/index.ts +34 -0
- package/dist/components/animate-ui/primitives/animate/slot.d.ts +0 -18
- package/dist/components/animate-ui/primitives/animate/slot.d.ts.map +0 -1
- package/dist/components/animate-ui/primitives/base/accordion.d.ts +0 -22
- package/dist/components/animate-ui/primitives/base/accordion.d.ts.map +0 -1
- package/dist/components/animate-ui/primitives/base/accordion.js +0 -132
- package/dist/components/animate-ui/primitives/base/alert-dialog.d.ts +0 -33
- package/dist/components/animate-ui/primitives/base/alert-dialog.d.ts.map +0 -1
- package/dist/components/animate-ui/primitives/base/alert-dialog.js +0 -132
- package/dist/components/animate-ui/primitives/base/checkbox.d.ts +0 -15
- package/dist/components/animate-ui/primitives/base/checkbox.d.ts.map +0 -1
- package/dist/components/animate-ui/primitives/base/checkbox.js +0 -101
- package/dist/components/animate-ui/primitives/base/dialog.d.ts +0 -33
- package/dist/components/animate-ui/primitives/base/dialog.d.ts.map +0 -1
- package/dist/components/animate-ui/primitives/base/dialog.js +0 -132
- package/dist/components/animate-ui/primitives/base/menu.d.ts +0 -60
- package/dist/components/animate-ui/primitives/base/menu.d.ts.map +0 -1
- package/dist/components/animate-ui/primitives/base/menu.js +0 -266
- package/dist/components/animate-ui/primitives/base/popover.d.ts +0 -30
- package/dist/components/animate-ui/primitives/base/popover.d.ts.map +0 -1
- package/dist/components/animate-ui/primitives/base/popover.js +0 -109
- package/dist/components/animate-ui/primitives/base/progress.d.ts +0 -297
- package/dist/components/animate-ui/primitives/base/progress.d.ts.map +0 -1
- package/dist/components/animate-ui/primitives/base/progress.js +0 -63
- package/dist/components/animate-ui/primitives/base/switch.d.ts +0 -23
- package/dist/components/animate-ui/primitives/base/switch.d.ts.map +0 -1
- package/dist/components/animate-ui/primitives/base/switch.js +0 -90
- package/dist/components/animate-ui/primitives/base/tabs.d.ts +0 -33
- package/dist/components/animate-ui/primitives/base/tabs.d.ts.map +0 -1
- package/dist/components/animate-ui/primitives/base/tabs.js +0 -132
- package/dist/components/animate-ui/primitives/base/tooltip.d.ts +0 -31
- package/dist/components/animate-ui/primitives/base/tooltip.d.ts.map +0 -1
- package/dist/components/animate-ui/primitives/base/tooltip.js +0 -116
- package/dist/components/animate-ui/primitives/effects/auto-height.d.ts +0 -12
- package/dist/components/animate-ui/primitives/effects/auto-height.d.ts.map +0 -1
- package/dist/components/animate-ui/primitives/effects/auto-height.js +0 -37
- package/dist/components/animate-ui/primitives/effects/highlight.d.ts +0 -92
- package/dist/components/animate-ui/primitives/effects/highlight.d.ts.map +0 -1
- package/dist/components/animate-ui/primitives/texts/counting-number.d.ts +0 -16
- package/dist/components/animate-ui/primitives/texts/counting-number.d.ts.map +0 -1
- package/dist/components/ui/accordion.d.ts +0 -9
- package/dist/components/ui/accordion.d.ts.map +0 -1
- package/dist/components/ui/accordion.js +0 -1
- package/dist/components/ui/alert-dialog.d.ts +0 -9
- package/dist/components/ui/alert-dialog.d.ts.map +0 -1
- package/dist/components/ui/alert-dialog.js +0 -1
- package/dist/components/ui/auto-height.d.ts +0 -9
- package/dist/components/ui/auto-height.d.ts.map +0 -1
- package/dist/components/ui/auto-height.js +0 -1
- package/dist/components/ui/badge/badge.d.ts +0 -37
- package/dist/components/ui/badge/badge.d.ts.map +0 -1
- package/dist/components/ui/badge/badge.js +0 -52
- package/dist/components/ui/badge/badge.styles.d.ts +0 -23
- package/dist/components/ui/badge/badge.styles.d.ts.map +0 -1
- package/dist/components/ui/badge/badge.types.d.ts +0 -38
- package/dist/components/ui/badge/badge.types.d.ts.map +0 -1
- package/dist/components/ui/badge/index.d.ts +0 -8
- package/dist/components/ui/badge/index.d.ts.map +0 -1
- package/dist/components/ui/badge/index.js +0 -2
- package/dist/components/ui/button/button.d.ts +0 -79
- package/dist/components/ui/button/button.d.ts.map +0 -1
- package/dist/components/ui/button/button.js +0 -161
- package/dist/components/ui/button/button.styles.d.ts +0 -33
- package/dist/components/ui/button/button.styles.d.ts.map +0 -1
- package/dist/components/ui/button/button.types.d.ts +0 -103
- package/dist/components/ui/button/button.types.d.ts.map +0 -1
- package/dist/components/ui/button/index.d.ts +0 -7
- package/dist/components/ui/button/index.d.ts.map +0 -1
- package/dist/components/ui/button/index.js +0 -2
- package/dist/components/ui/card.d.ts +0 -14
- package/dist/components/ui/card.d.ts.map +0 -1
- package/dist/components/ui/card.js +0 -67
- package/dist/components/ui/checkbox.d.ts +0 -9
- package/dist/components/ui/checkbox.d.ts.map +0 -1
- package/dist/components/ui/checkbox.js +0 -1
- package/dist/components/ui/combobox.d.ts +0 -25
- package/dist/components/ui/combobox.d.ts.map +0 -1
- package/dist/components/ui/corner-bracket.d.ts +0 -34
- package/dist/components/ui/corner-bracket.d.ts.map +0 -1
- package/dist/components/ui/corner-bracket.js +0 -70
- package/dist/components/ui/counting-number.d.ts +0 -9
- package/dist/components/ui/counting-number.d.ts.map +0 -1
- package/dist/components/ui/counting-number.js +0 -1
- package/dist/components/ui/dialog.d.ts +0 -9
- package/dist/components/ui/dialog.d.ts.map +0 -1
- package/dist/components/ui/dialog.js +0 -1
- package/dist/components/ui/dropdown-menu.d.ts +0 -30
- package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
- package/dist/components/ui/field.d.ts +0 -25
- package/dist/components/ui/field.d.ts.map +0 -1
- package/dist/components/ui/highlight.d.ts +0 -9
- package/dist/components/ui/highlight.d.ts.map +0 -1
- package/dist/components/ui/highlight.js +0 -1
- package/dist/components/ui/index.d.ts +0 -36
- package/dist/components/ui/index.d.ts.map +0 -1
- package/dist/components/ui/index.js +0 -47
- package/dist/components/ui/input-group.d.ts +0 -19
- package/dist/components/ui/input-group.d.ts.map +0 -1
- package/dist/components/ui/input-group.js +0 -84
- package/dist/components/ui/input.d.ts +0 -4
- package/dist/components/ui/input.d.ts.map +0 -1
- package/dist/components/ui/input.js +0 -17
- package/dist/components/ui/label.d.ts +0 -4
- package/dist/components/ui/label.d.ts.map +0 -1
- package/dist/components/ui/label.js +0 -15
- package/dist/components/ui/menu.d.ts +0 -9
- package/dist/components/ui/menu.d.ts.map +0 -1
- package/dist/components/ui/menu.js +0 -1
- package/dist/components/ui/morphing-popover/index.d.ts +0 -10
- package/dist/components/ui/morphing-popover/index.d.ts.map +0 -1
- package/dist/components/ui/morphing-popover/index.js +0 -1
- package/dist/components/ui/morphing-popover/morphing-popover.d.ts +0 -54
- package/dist/components/ui/morphing-popover/morphing-popover.d.ts.map +0 -1
- package/dist/components/ui/morphing-popover/morphing-popover.module.js +0 -5
- package/dist/components/ui/popover.d.ts +0 -9
- package/dist/components/ui/popover.d.ts.map +0 -1
- package/dist/components/ui/popover.js +0 -1
- package/dist/components/ui/progress.d.ts +0 -9
- package/dist/components/ui/progress.d.ts.map +0 -1
- package/dist/components/ui/progress.js +0 -1
- package/dist/components/ui/select.d.ts +0 -16
- package/dist/components/ui/select.d.ts.map +0 -1
- package/dist/components/ui/separator.d.ts +0 -4
- package/dist/components/ui/separator.d.ts.map +0 -1
- package/dist/components/ui/separator.js +0 -18
- package/dist/components/ui/slot.d.ts +0 -9
- package/dist/components/ui/slot.d.ts.map +0 -1
- package/dist/components/ui/slot.js +0 -1
- package/dist/components/ui/switch.d.ts +0 -9
- package/dist/components/ui/switch.d.ts.map +0 -1
- package/dist/components/ui/switch.js +0 -1
- package/dist/components/ui/tabs.d.ts +0 -9
- package/dist/components/ui/tabs.d.ts.map +0 -1
- package/dist/components/ui/tabs.js +0 -1
- package/dist/components/ui/textarea.d.ts +0 -4
- package/dist/components/ui/textarea.d.ts.map +0 -1
- package/dist/components/ui/textarea.js +0 -15
- package/dist/components/ui/tooltip.d.ts +0 -9
- package/dist/components/ui/tooltip.d.ts.map +0 -1
- package/dist/components/ui/tooltip.js +0 -1
- package/dist/hooks/index.d.ts +0 -10
- package/dist/hooks/index.d.ts.map +0 -1
- package/dist/hooks/index.js +0 -4
- package/dist/hooks/use-auto-height.d.ts +0 -11
- package/dist/hooks/use-auto-height.d.ts.map +0 -1
- package/dist/hooks/use-controlled-state.d.ts +0 -9
- package/dist/hooks/use-controlled-state.d.ts.map +0 -1
- package/dist/hooks/use-controlled-state.js +0 -17
- package/dist/hooks/use-data-state.d.ts +0 -5
- package/dist/hooks/use-data-state.d.ts.map +0 -1
- package/dist/hooks/use-is-in-view.d.ts +0 -13
- package/dist/hooks/use-is-in-view.d.ts.map +0 -1
- package/dist/hooks/use-is-in-view.js +0 -20
- package/dist/icons/index.d.ts +0 -8
- package/dist/icons/index.d.ts.map +0 -1
- package/dist/icons/lucide-animated/activity.d.ts.map +0 -1
- package/dist/icons/lucide-animated/arrow-down-to-line.d.ts.map +0 -1
- package/dist/icons/lucide-animated/arrow-up.d.ts.map +0 -1
- package/dist/icons/lucide-animated/bell-electric.d.ts.map +0 -1
- package/dist/icons/lucide-animated/bell.d.ts.map +0 -1
- package/dist/icons/lucide-animated/bot.d.ts.map +0 -1
- package/dist/icons/lucide-animated/box.d.ts.map +0 -1
- package/dist/icons/lucide-animated/check.d.ts.map +0 -1
- package/dist/icons/lucide-animated/circle-check.d.ts.map +0 -1
- package/dist/icons/lucide-animated/delete.d.ts.map +0 -1
- package/dist/icons/lucide-animated/download.d.ts.map +0 -1
- package/dist/icons/lucide-animated/edit-2.d.ts.map +0 -1
- package/dist/icons/lucide-animated/globe.d.ts.map +0 -1
- package/dist/icons/lucide-animated/home.d.ts.map +0 -1
- package/dist/icons/lucide-animated/index.d.ts +0 -38
- package/dist/icons/lucide-animated/index.d.ts.map +0 -1
- package/dist/icons/lucide-animated/layers.d.ts.map +0 -1
- package/dist/icons/lucide-animated/layout-panel-top.d.ts.map +0 -1
- package/dist/icons/lucide-animated/list.d.ts.map +0 -1
- package/dist/icons/lucide-animated/package.d.ts.map +0 -1
- package/dist/icons/lucide-animated/palette.d.ts.map +0 -1
- package/dist/icons/lucide-animated/plus.d.ts.map +0 -1
- package/dist/icons/lucide-animated/refresh-cw.d.ts.map +0 -1
- package/dist/icons/lucide-animated/rocket.d.ts.map +0 -1
- package/dist/icons/lucide-animated/save.d.ts.map +0 -1
- package/dist/icons/lucide-animated/search.d.ts.map +0 -1
- package/dist/icons/lucide-animated/settings.d.ts.map +0 -1
- package/dist/icons/lucide-animated/terminal.d.ts.map +0 -1
- package/dist/icons/lucide-animated/trash-2.d.ts.map +0 -1
- package/dist/icons/lucide-animated/trending-down.d.ts.map +0 -1
- package/dist/icons/lucide-animated/trending-up.d.ts.map +0 -1
- package/dist/icons/lucide-animated/type.d.ts.map +0 -1
- package/dist/icons/lucide-animated/upload.d.ts.map +0 -1
- package/dist/icons/lucide-animated/x.d.ts.map +0 -1
- package/dist/lib/get-strict-context.d.ts +0 -10
- package/dist/lib/get-strict-context.d.ts.map +0 -1
- package/dist/lib/get-strict-context.js +0 -20
- package/dist/lib/utils.d.ts.map +0 -1
- package/src/components/animate-ui/primitives/base/accordion.tsx +0 -179
- package/src/components/animate-ui/primitives/base/alert-dialog.tsx +0 -218
- package/src/components/animate-ui/primitives/base/checkbox.tsx +0 -153
- package/src/components/animate-ui/primitives/base/dialog.tsx +0 -203
- package/src/components/animate-ui/primitives/base/menu.tsx +0 -463
- package/src/components/animate-ui/primitives/base/popover.tsx +0 -167
- package/src/components/animate-ui/primitives/base/progress.tsx +0 -103
- package/src/components/animate-ui/primitives/base/switch.tsx +0 -158
- package/src/components/animate-ui/primitives/base/tabs.tsx +0 -202
- package/src/components/animate-ui/primitives/base/tooltip.tsx +0 -209
- package/src/components/ui/accordion.tsx +0 -9
- package/src/components/ui/alert-dialog.tsx +0 -9
- package/src/components/ui/auto-height.tsx +0 -9
- package/src/components/ui/badge/badge.styles.ts +0 -46
- package/src/components/ui/badge/badge.tsx +0 -52
- package/src/components/ui/badge/badge.types.ts +0 -41
- package/src/components/ui/badge/index.ts +0 -8
- package/src/components/ui/button/button.styles.ts +0 -66
- package/src/components/ui/button/button.tsx +0 -209
- package/src/components/ui/button/button.types.ts +0 -125
- package/src/components/ui/button/index.ts +0 -7
- package/src/components/ui/card.tsx +0 -108
- package/src/components/ui/checkbox.tsx +0 -9
- package/src/components/ui/combobox.tsx +0 -293
- package/src/components/ui/corner-bracket.tsx +0 -85
- package/src/components/ui/counting-number.tsx +0 -9
- package/src/components/ui/dialog.tsx +0 -9
- package/src/components/ui/dropdown-menu.tsx +0 -261
- package/src/components/ui/field.tsx +0 -227
- package/src/components/ui/highlight.tsx +0 -9
- package/src/components/ui/index.ts +0 -43
- package/src/components/ui/input-group.tsx +0 -149
- package/src/components/ui/label.tsx +0 -18
- package/src/components/ui/menu.tsx +0 -9
- package/src/components/ui/morphing-popover/index.ts +0 -10
- package/src/components/ui/morphing-popover/morphing-popover.tsx +0 -183
- package/src/components/ui/popover.tsx +0 -9
- package/src/components/ui/progress.tsx +0 -9
- package/src/components/ui/select.tsx +0 -190
- package/src/components/ui/separator.tsx +0 -25
- package/src/components/ui/slot.tsx +0 -9
- package/src/components/ui/switch.tsx +0 -9
- package/src/components/ui/tabs.tsx +0 -9
- package/src/components/ui/tooltip.tsx +0 -9
- package/src/hooks/index.ts +0 -10
- package/src/hooks/use-is-in-view.tsx +0 -25
- package/src/icons/index.ts +0 -12
- package/src/icons/lucide-animated/index.ts +0 -38
- /package/dist/{components/ui/morphing-popover/morphing-popover.module-CE9GIgKo.css → react-ui/components/MorphingPopover/morphing-popover.module-CgbYV_HS.css} +0 -0
- /package/dist/{icons → react-ui/icons}/index.js +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/activity.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/arrow-down-to-line.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/arrow-up.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/bell-electric.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/bell.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/bot.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/box.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/check.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/circle-check.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/delete.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/download.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/edit-2.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/globe.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/home.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/index.js +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/layers.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/layout-panel-top.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/list.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/package.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/palette.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/plus.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/refresh-cw.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/rocket.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/save.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/search.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/settings.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/terminal.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/trash-2.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/trending-down.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/trending-up.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/type.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/upload.d.ts +0 -0
- /package/dist/{icons → react-ui/icons}/lucide-animated/x.d.ts +0 -0
- /package/src/{components/ui/morphing-popover → react-ui/components/MorphingPopover}/morphing-popover.module.css +0 -0
- /package/src/{icons → react-ui/icons}/lucide-animated/arrow-down-to-line.tsx +0 -0
- /package/src/{icons → react-ui/icons}/lucide-animated/arrow-up.tsx +0 -0
- /package/src/{icons → react-ui/icons}/lucide-animated/check.tsx +0 -0
- /package/src/{icons → react-ui/icons}/lucide-animated/edit-2.tsx +0 -0
- /package/src/{icons → react-ui/icons}/lucide-animated/globe.tsx +0 -0
- /package/src/{icons → react-ui/icons}/lucide-animated/layers.tsx +0 -0
- /package/src/{icons → react-ui/icons}/lucide-animated/list.tsx +0 -0
- /package/src/{icons → react-ui/icons}/lucide-animated/package.tsx +0 -0
- /package/src/{icons → react-ui/icons}/lucide-animated/palette.tsx +0 -0
- /package/src/{icons → react-ui/icons}/lucide-animated/refresh-cw.tsx +0 -0
- /package/src/{icons → react-ui/icons}/lucide-animated/rocket.tsx +0 -0
- /package/src/{icons → react-ui/icons}/lucide-animated/save.tsx +0 -0
- /package/src/{icons → react-ui/icons}/lucide-animated/terminal.tsx +0 -0
- /package/src/{icons → react-ui/icons}/lucide-animated/trash-2.tsx +0 -0
- /package/src/{icons → react-ui/icons}/lucide-animated/type.tsx +0 -0
- /package/src/{icons → react-ui/icons}/lucide-animated/upload.tsx +0 -0
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { cn } from "../../lib/utils.js";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { cva } from "class-variance-authority";
|
|
4
|
-
|
|
5
|
-
//#region src/components/ui/corner-bracket.tsx
|
|
6
|
-
/**
|
|
7
|
-
* Corner Bracket Component
|
|
8
|
-
*
|
|
9
|
-
* Corner bracket decoration for industrial/technical styling.
|
|
10
|
-
*
|
|
11
|
-
* @module @mks2508/mks-ui/components/ui
|
|
12
|
-
*/
|
|
13
|
-
const bracketVariants = cva("absolute pointer-events-none", {
|
|
14
|
-
variants: {
|
|
15
|
-
position: {
|
|
16
|
-
tl: "top-0 left-0",
|
|
17
|
-
tr: "top-0 right-0",
|
|
18
|
-
bl: "bottom-0 left-0",
|
|
19
|
-
br: "bottom-0 right-0"
|
|
20
|
-
},
|
|
21
|
-
variant: {
|
|
22
|
-
default: "stroke-primary/50",
|
|
23
|
-
accent: "stroke-primary/66"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
defaultVariants: { variant: "default" }
|
|
27
|
-
});
|
|
28
|
-
const PATHS = {
|
|
29
|
-
tl: "M 0 20 L 0 5 A 5 5 0 0 1 5 0 L 20 0",
|
|
30
|
-
tr: "M 0 0 L 15 0 A 5 5 0 0 1 20 5 L 20 20",
|
|
31
|
-
bl: "M 0 0 L 0 15 A 5 5 0 0 0 5 20 L 20 20",
|
|
32
|
-
br: "M 20 0 L 5 0 A 5 5 0 0 0 0 5 L 0 20"
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Corner bracket decoration for industrial/technical UI styling.
|
|
36
|
-
*
|
|
37
|
-
* @param position - Corner position: 'tl' (top-left), 'tr' (top-right), 'bl' (bottom-left), 'br' (bottom-right)
|
|
38
|
-
* @param variant - Visual style: 'default' or 'accent'
|
|
39
|
-
* @param size - Bracket size in pixels (default: 20)
|
|
40
|
-
*
|
|
41
|
-
* @example
|
|
42
|
-
* ```tsx
|
|
43
|
-
* <div className="relative p-4">
|
|
44
|
-
* <CornerBracket position="tl" />
|
|
45
|
-
* <CornerBracket position="br" />
|
|
46
|
-
* Content here
|
|
47
|
-
* </div>
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
function CornerBracket({ className, position, variant, size = 20, ...props }) {
|
|
51
|
-
return /* @__PURE__ */ jsx("svg", {
|
|
52
|
-
width: size,
|
|
53
|
-
height: size,
|
|
54
|
-
viewBox: "0 0 20 20",
|
|
55
|
-
fill: "none",
|
|
56
|
-
className: cn(bracketVariants({
|
|
57
|
-
position,
|
|
58
|
-
variant
|
|
59
|
-
}), className),
|
|
60
|
-
...props,
|
|
61
|
-
children: /* @__PURE__ */ jsx("path", {
|
|
62
|
-
d: PATHS[position || "tl"],
|
|
63
|
-
strokeWidth: 1.5,
|
|
64
|
-
strokeLinecap: "round"
|
|
65
|
-
})
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
//#endregion
|
|
70
|
-
export { CornerBracket };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CountingNumber component - Animate UI primitive re-export.
|
|
3
|
-
*
|
|
4
|
-
* Animated number display with counting/interpolation effect.
|
|
5
|
-
*
|
|
6
|
-
* @module @mks2508/mks-ui/components/ui/counting-number
|
|
7
|
-
*/
|
|
8
|
-
export * from '../../components/animate-ui/primitives/texts/counting-number';
|
|
9
|
-
//# sourceMappingURL=counting-number.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"counting-number.d.ts","sourceRoot":"","sources":["../../../src/components/ui/counting-number.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,0DAA0D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { CountingNumber } from "../animate-ui/primitives/texts/counting-number.js";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dialog component - Animate UI primitive re-export.
|
|
3
|
-
*
|
|
4
|
-
* Animated modal dialog with backdrop and motion transitions.
|
|
5
|
-
*
|
|
6
|
-
* @module @mks2508/mks-ui/components/ui/dialog
|
|
7
|
-
*/
|
|
8
|
-
export * from '../../components/animate-ui/primitives/base/dialog';
|
|
9
|
-
//# sourceMappingURL=dialog.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../src/components/ui/dialog.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,gDAAgD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { Dialog, DialogBackdrop, DialogClose, DialogDescription, DialogFooter, DialogHeader, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, useDialog } from "../animate-ui/primitives/base/dialog.js";
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { Menu as MenuPrimitive } from "@base-ui/react/menu";
|
|
3
|
-
declare function DropdownMenu({ ...props }: MenuPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function DropdownMenuPortal({ ...props }: MenuPrimitive.Portal.Props): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function DropdownMenuTrigger({ ...props }: MenuPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare function DropdownMenuContent({ align, alignOffset, side, sideOffset, className, ...props }: MenuPrimitive.Popup.Props & Pick<MenuPrimitive.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
declare function DropdownMenuGroup({ ...props }: MenuPrimitive.Group.Props): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare function DropdownMenuLabel({ className, inset, ...props }: MenuPrimitive.GroupLabel.Props & {
|
|
9
|
-
inset?: boolean;
|
|
10
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
declare function DropdownMenuItem({ className, inset, variant, ...props }: MenuPrimitive.Item.Props & {
|
|
12
|
-
inset?: boolean;
|
|
13
|
-
variant?: "default" | "destructive";
|
|
14
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
declare function DropdownMenuSub({ ...props }: MenuPrimitive.SubmenuRoot.Props): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: MenuPrimitive.SubmenuTrigger.Props & {
|
|
17
|
-
inset?: boolean;
|
|
18
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
declare function DropdownMenuSubContent({ align, alignOffset, side, sideOffset, className, ...props }: React.ComponentProps<typeof DropdownMenuContent>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
declare function DropdownMenuCheckboxItem({ className, children, checked, inset, ...props }: MenuPrimitive.CheckboxItem.Props & {
|
|
21
|
-
inset?: boolean;
|
|
22
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
declare function DropdownMenuRadioGroup({ ...props }: MenuPrimitive.RadioGroup.Props): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
declare function DropdownMenuRadioItem({ className, children, inset, ...props }: MenuPrimitive.RadioItem.Props & {
|
|
25
|
-
inset?: boolean;
|
|
26
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
declare function DropdownMenuSeparator({ className, ...props }: MenuPrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
export { DropdownMenu, DropdownMenuPortal, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, };
|
|
30
|
-
//# sourceMappingURL=dropdown-menu.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../src/components/ui/dropdown-menu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAM3D,iBAAS,YAAY,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,CAAC,IAAI,CAAC,KAAK,2CAE3D;AAED,iBAAS,kBAAkB,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,CAAC,MAAM,CAAC,KAAK,2CAEnE;AAED,iBAAS,mBAAmB,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,CAAC,OAAO,CAAC,KAAK,2CAErE;AAED,iBAAS,mBAAmB,CAAC,EAC3B,KAAe,EACf,WAAe,EACf,IAAe,EACf,UAAc,EACd,SAAS,EACT,GAAG,KAAK,EACT,EAAE,aAAa,CAAC,KAAK,CAAC,KAAK,GAC1B,IAAI,CACF,aAAa,CAAC,UAAU,CAAC,KAAK,EAC9B,OAAO,GAAG,aAAa,GAAG,MAAM,GAAG,YAAY,CAChD,2CAkBF;AAED,iBAAS,iBAAiB,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,CAAC,KAAK,CAAC,KAAK,2CAEjE;AAED,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACT,EAAE,aAAa,CAAC,UAAU,CAAC,KAAK,GAAG;IAClC,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,2CASA;AAED,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,KAAK,EACL,OAAmB,EACnB,GAAG,KAAK,EACT,EAAE,aAAa,CAAC,IAAI,CAAC,KAAK,GAAG;IAC5B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAA;CACpC,2CAaA;AAED,iBAAS,eAAe,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,CAAC,WAAW,CAAC,KAAK,2CAErE;AAED,iBAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,aAAa,CAAC,cAAc,CAAC,KAAK,GAAG;IACtC,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,2CAeA;AAED,iBAAS,sBAAsB,CAAC,EAC9B,KAAe,EACf,WAAgB,EAChB,IAAc,EACd,UAAc,EACd,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,2CAYlD;AAED,iBAAS,wBAAwB,CAAC,EAChC,SAAS,EACT,QAAQ,EACR,OAAO,EACP,KAAK,EACL,GAAG,KAAK,EACT,EAAE,aAAa,CAAC,YAAY,CAAC,KAAK,GAAG;IACpC,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,2CAuBA;AAED,iBAAS,sBAAsB,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,CAAC,UAAU,CAAC,KAAK,2CAO3E;AAED,iBAAS,qBAAqB,CAAC,EAC7B,SAAS,EACT,QAAQ,EACR,KAAK,EACL,GAAG,KAAK,EACT,EAAE,aAAa,CAAC,SAAS,CAAC,KAAK,GAAG;IACjC,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,2CAsBA;AAED,iBAAS,qBAAqB,CAAC,EAC7B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,aAAa,CAAC,SAAS,CAAC,KAAK,2CAQ/B;AAED,iBAAS,oBAAoB,CAAC,EAC5B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,2CAQ9B;AAED,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,wBAAwB,EACxB,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,GACvB,CAAA"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { type VariantProps } from "class-variance-authority";
|
|
2
|
-
import { Label } from "../../components/ui/label";
|
|
3
|
-
declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
|
|
5
|
-
variant?: "legend" | "label";
|
|
6
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare const fieldVariants: (props?: ({
|
|
9
|
-
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
10
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
11
|
-
declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
|
|
17
|
-
children?: React.ReactNode;
|
|
18
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
|
|
20
|
-
errors?: Array<{
|
|
21
|
-
message?: string;
|
|
22
|
-
} | undefined>;
|
|
23
|
-
}): import("react/jsx-runtime").JSX.Element | null;
|
|
24
|
-
export { Field, FieldLabel, FieldDescription, FieldError, FieldGroup, FieldLegend, FieldSeparator, FieldSet, FieldContent, FieldTitle, };
|
|
25
|
-
//# sourceMappingURL=field.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../src/components/ui/field.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGjE,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAA;AAG7C,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,2CAQ1E;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,OAAkB,EAClB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAA;CAAE,2CASnE;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAWvE;AAED,QAAA,MAAM,aAAa;;8EAcjB,CAAA;AAEF,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,WAAwB,EACxB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,2CAUlE;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAWzE;AAED,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,2CAYpC;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAWvE;AAED,iBAAS,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,2CAa3E;AAED,iBAAS,cAAc,CAAC,EACtB,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG;IAC/B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,2CAmBA;AAED,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,QAAQ,EACR,MAAM,EACN,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG;IAC/B,MAAM,CAAC,EAAE,KAAK,CAAC;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC,CAAA;CACjD,kDA0CA;AAED,OAAO,EACL,KAAK,EACL,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,WAAW,EACX,cAAc,EACd,QAAQ,EACR,YAAY,EACZ,UAAU,GACX,CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Highlight effect - Animate UI primitive re-export.
|
|
3
|
-
*
|
|
4
|
-
* Animated highlight effect used by tabs, menus, and other interactive components.
|
|
5
|
-
*
|
|
6
|
-
* @module @mks2508/mks-ui/components/ui/highlight
|
|
7
|
-
*/
|
|
8
|
-
export * from '../../components/animate-ui/primitives/effects/highlight';
|
|
9
|
-
//# sourceMappingURL=highlight.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"highlight.d.ts","sourceRoot":"","sources":["../../../src/components/ui/highlight.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,sDAAsD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { Highlight, HighlightItem, useHighlight } from "../animate-ui/primitives/effects/highlight.js";
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* UI Components barrel export.
|
|
3
|
-
*
|
|
4
|
-
* All Shadcn/Animate UI components are exported from here.
|
|
5
|
-
*
|
|
6
|
-
* @module @mks2508/mks-ui/components/ui
|
|
7
|
-
*/
|
|
8
|
-
export * from './accordion';
|
|
9
|
-
export * from './alert-dialog';
|
|
10
|
-
export * from './checkbox';
|
|
11
|
-
export * from './dialog';
|
|
12
|
-
export * from './menu';
|
|
13
|
-
export * from './popover';
|
|
14
|
-
export * from './progress';
|
|
15
|
-
export * from './switch';
|
|
16
|
-
export * from './tabs';
|
|
17
|
-
export * from './tooltip';
|
|
18
|
-
export * from './auto-height';
|
|
19
|
-
export * from './counting-number';
|
|
20
|
-
export * from './highlight';
|
|
21
|
-
export * from './slot';
|
|
22
|
-
export * from './badge';
|
|
23
|
-
export * from './button';
|
|
24
|
-
export * from './card';
|
|
25
|
-
export * from './combobox';
|
|
26
|
-
export * from './dropdown-menu';
|
|
27
|
-
export * from './field';
|
|
28
|
-
export * from './input-group';
|
|
29
|
-
export * from './input';
|
|
30
|
-
export * from './label';
|
|
31
|
-
export * from './select';
|
|
32
|
-
export * from './separator';
|
|
33
|
-
export * from './textarea';
|
|
34
|
-
export * from './corner-bracket';
|
|
35
|
-
export * from './morphing-popover';
|
|
36
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAG1B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AAGvB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAG3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Accordion, AccordionHeader, AccordionItem, AccordionPanel, AccordionTrigger, useAccordionItem } from "../animate-ui/primitives/base/accordion.js";
|
|
2
|
-
import "./accordion.js";
|
|
3
|
-
import { AlertDialog, AlertDialogBackdrop, AlertDialogClose, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogPopup, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, useAlertDialog } from "../animate-ui/primitives/base/alert-dialog.js";
|
|
4
|
-
import "./alert-dialog.js";
|
|
5
|
-
import { Checkbox, CheckboxIndicator, useCheckbox } from "../animate-ui/primitives/base/checkbox.js";
|
|
6
|
-
import "./checkbox.js";
|
|
7
|
-
import { Dialog, DialogBackdrop, DialogClose, DialogDescription, DialogFooter, DialogHeader, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, useDialog } from "../animate-ui/primitives/base/dialog.js";
|
|
8
|
-
import "./dialog.js";
|
|
9
|
-
import { Highlight, HighlightItem, useHighlight } from "../animate-ui/primitives/effects/highlight.js";
|
|
10
|
-
import { Menu, MenuArrow, MenuCheckboxItem, MenuCheckboxItemIndicator, MenuGroup, MenuGroupLabel, MenuHighlight, MenuHighlightItem, MenuItem, MenuPopup, MenuPortal, MenuPositioner, MenuRadioGroup, MenuRadioItem, MenuRadioItemIndicator, MenuSeparator, MenuShortcut, MenuSubmenu, MenuSubmenuTrigger, MenuTrigger, useMenu, useMenuActiveValue } from "../animate-ui/primitives/base/menu.js";
|
|
11
|
-
import "./menu.js";
|
|
12
|
-
import { Popover, PopoverArrow, PopoverBackdrop, PopoverClose, PopoverDescription, PopoverPopup, PopoverPortal, PopoverPositioner, PopoverTitle, PopoverTrigger, usePopover } from "../animate-ui/primitives/base/popover.js";
|
|
13
|
-
import "./popover.js";
|
|
14
|
-
import { CountingNumber } from "../animate-ui/primitives/texts/counting-number.js";
|
|
15
|
-
import { Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, useProgress } from "../animate-ui/primitives/base/progress.js";
|
|
16
|
-
import "./progress.js";
|
|
17
|
-
import { Switch, SwitchIcon, SwitchThumb, useSwitch } from "../animate-ui/primitives/base/switch.js";
|
|
18
|
-
import "./switch.js";
|
|
19
|
-
import { Slot } from "../animate-ui/primitives/animate/slot.js";
|
|
20
|
-
import { AutoHeight } from "../animate-ui/primitives/effects/auto-height.js";
|
|
21
|
-
import { Tabs, TabsHighlight, TabsHighlightItem, TabsList, TabsPanel, TabsPanels, TabsTab } from "../animate-ui/primitives/base/tabs.js";
|
|
22
|
-
import "./tabs.js";
|
|
23
|
-
import { Tooltip, TooltipArrow, TooltipPopup, TooltipPortal, TooltipPositioner, TooltipProvider, TooltipTrigger, useTooltip } from "../animate-ui/primitives/base/tooltip.js";
|
|
24
|
-
import "./tooltip.js";
|
|
25
|
-
import "./auto-height.js";
|
|
26
|
-
import "./counting-number.js";
|
|
27
|
-
import "./highlight.js";
|
|
28
|
-
import "./slot.js";
|
|
29
|
-
import { badgeVariants } from "./badge/badge.styles.js";
|
|
30
|
-
import { Badge } from "./badge/badge.js";
|
|
31
|
-
import "./badge/index.js";
|
|
32
|
-
import { buttonStateStyles, buttonVariants } from "./button/button.styles.js";
|
|
33
|
-
import { Button } from "./button/button.js";
|
|
34
|
-
import "./button/index.js";
|
|
35
|
-
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, cardVariants } from "./card.js";
|
|
36
|
-
import { Input } from "./input.js";
|
|
37
|
-
import { Textarea } from "./textarea.js";
|
|
38
|
-
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea } from "./input-group.js";
|
|
39
|
-
import { Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, useComboboxAnchor } from "./combobox.js";
|
|
40
|
-
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./dropdown-menu.js";
|
|
41
|
-
import { Label } from "./label.js";
|
|
42
|
-
import { Separator } from "./separator.js";
|
|
43
|
-
import { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle } from "./field.js";
|
|
44
|
-
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./select.js";
|
|
45
|
-
import { CornerBracket } from "./corner-bracket.js";
|
|
46
|
-
import { MorphingPopover, MorphingPopoverWithTarget } from "./morphing-popover/morphing-popover.js";
|
|
47
|
-
import "./morphing-popover/index.js";
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { type VariantProps } from "class-variance-authority";
|
|
3
|
-
import { Button } from "../../components/ui/button";
|
|
4
|
-
declare function InputGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare const inputGroupAddonVariants: (props?: ({
|
|
6
|
-
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
7
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
|
-
declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
declare const inputGroupButtonVariants: (props?: ({
|
|
10
|
-
size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
|
|
11
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
12
|
-
declare function InputGroupButton({ className, size, ...props }: Omit<React.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants> & {
|
|
13
|
-
size?: "xs" | "sm" | "icon-xs" | "icon-sm";
|
|
14
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
declare function InputGroupText({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
declare function InputGroupInput({ className, ...props }: React.ComponentProps<"input">): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
declare function InputGroupTextarea({ className, ...props }: React.ComponentProps<"textarea">): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupText, InputGroupInput, InputGroupTextarea, };
|
|
19
|
-
//# sourceMappingURL=input-group.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input-group.d.ts","sourceRoot":"","sources":["../../../src/components/ui/input-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGjE,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAI/C,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAYvE;AAED,QAAA,MAAM,uBAAuB;;8EAiB5B,CAAA;AAED,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,KAAsB,EACtB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,OAAO,uBAAuB,CAAC,2CAgB5E;AAED,QAAA,MAAM,wBAAwB;;8EAe7B,CAAA;AAED,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,IAAW,EACX,GAAG,KAAK,EACT,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,EAAE,MAAM,CAAC,GAClD,YAAY,CAAC,OAAO,wBAAwB,CAAC,GAAG;IAC9C,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,SAAS,CAAA;CAC3C,2CAcF;AAED,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,2CAU5E;AAED,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAQ/B;AAED,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,2CAQlC;AAED,OAAO,EACL,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,kBAAkB,GACnB,CAAA"}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { cn } from "../../lib/utils.js";
|
|
2
|
-
import { Button } from "./button/button.js";
|
|
3
|
-
import "./button/index.js";
|
|
4
|
-
import { Input } from "./input.js";
|
|
5
|
-
import { Textarea } from "./textarea.js";
|
|
6
|
-
import "react";
|
|
7
|
-
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
import { cva } from "class-variance-authority";
|
|
9
|
-
|
|
10
|
-
//#region src/components/ui/input-group.tsx
|
|
11
|
-
function InputGroup({ className, ...props }) {
|
|
12
|
-
return /* @__PURE__ */ jsx("div", {
|
|
13
|
-
"data-slot": "input-group",
|
|
14
|
-
role: "group",
|
|
15
|
-
className: cn("border-input dark:bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-disabled:bg-input/50 dark:has-disabled:bg-input/80 h-8 rounded-lg border transition-colors in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-3 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[data-align=inline-start]]:[&>input]:pl-1.5 group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto", className),
|
|
16
|
-
...props
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
const inputGroupAddonVariants = cva("text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none", {
|
|
20
|
-
variants: { align: {
|
|
21
|
-
"inline-start": "pl-2 has-[>button]:ml-[-0.3rem] has-[>kbd]:ml-[-0.15rem] order-first",
|
|
22
|
-
"inline-end": "pr-2 has-[>button]:mr-[-0.3rem] has-[>kbd]:mr-[-0.15rem] order-last",
|
|
23
|
-
"block-start": "px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2 order-first w-full justify-start",
|
|
24
|
-
"block-end": "px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2 order-last w-full justify-start"
|
|
25
|
-
} },
|
|
26
|
-
defaultVariants: { align: "inline-start" }
|
|
27
|
-
});
|
|
28
|
-
function InputGroupAddon({ className, align = "inline-start", ...props }) {
|
|
29
|
-
return /* @__PURE__ */ jsx("div", {
|
|
30
|
-
role: "group",
|
|
31
|
-
"data-slot": "input-group-addon",
|
|
32
|
-
"data-align": align,
|
|
33
|
-
className: cn(inputGroupAddonVariants({ align }), className),
|
|
34
|
-
onClick: (e) => {
|
|
35
|
-
if (e.target.closest("button")) return;
|
|
36
|
-
e.currentTarget.parentElement?.querySelector("input")?.focus();
|
|
37
|
-
},
|
|
38
|
-
...props
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
const inputGroupButtonVariants = cva("gap-2 text-sm shadow-none flex items-center", {
|
|
42
|
-
variants: { size: {
|
|
43
|
-
xs: "h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>svg:not([class*='size-'])]:size-3.5",
|
|
44
|
-
sm: "",
|
|
45
|
-
"icon-xs": "size-6 rounded-[calc(var(--radius)-3px)] p-0 has-[>svg]:p-0",
|
|
46
|
-
"icon-sm": "size-8 p-0 has-[>svg]:p-0"
|
|
47
|
-
} },
|
|
48
|
-
defaultVariants: { size: "xs" }
|
|
49
|
-
});
|
|
50
|
-
function InputGroupButton({ className, size = "xs", ...props }) {
|
|
51
|
-
const buttonSize = size === "xs" ? "sm" : size === "icon-xs" || size === "icon-sm" ? "icon" : "default";
|
|
52
|
-
return /* @__PURE__ */ jsx(Button, {
|
|
53
|
-
type: "button",
|
|
54
|
-
"data-slot": "input-group-button",
|
|
55
|
-
"data-size": size,
|
|
56
|
-
size: buttonSize,
|
|
57
|
-
variant: "ghost",
|
|
58
|
-
className: cn(inputGroupButtonVariants({ size }), className),
|
|
59
|
-
...props
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
function InputGroupText({ className, ...props }) {
|
|
63
|
-
return /* @__PURE__ */ jsx("span", {
|
|
64
|
-
className: cn("text-muted-foreground gap-2 text-sm [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none", className),
|
|
65
|
-
...props
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
function InputGroupInput({ className, ...props }) {
|
|
69
|
-
return /* @__PURE__ */ jsx(Input, {
|
|
70
|
-
"data-slot": "input-group-control",
|
|
71
|
-
className: cn("rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1", className),
|
|
72
|
-
...props
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
function InputGroupTextarea({ className, ...props }) {
|
|
76
|
-
return /* @__PURE__ */ jsx(Textarea, {
|
|
77
|
-
"data-slot": "input-group-control",
|
|
78
|
-
className: cn("rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1 resize-none", className),
|
|
79
|
-
...props
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
//#endregion
|
|
84
|
-
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/components/ui/input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,iBAAS,KAAK,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAY1E;AAED,OAAO,EAAE,KAAK,EAAE,CAAA"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { cn } from "../../lib/utils.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import { Input } from "@base-ui/react/input";
|
|
5
|
-
|
|
6
|
-
//#region src/components/ui/input.tsx
|
|
7
|
-
function Input$1({ className, type, ...props }) {
|
|
8
|
-
return /* @__PURE__ */ jsx(Input, {
|
|
9
|
-
type,
|
|
10
|
-
"data-slot": "input",
|
|
11
|
-
className: cn("dark:bg-input/30 border-input focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 disabled:bg-input/50 dark:disabled:bg-input/80 h-8 rounded-lg border bg-transparent px-2.5 py-1 text-base transition-colors file:h-6 file:text-sm file:font-medium focus-visible:ring-3 aria-invalid:ring-3 md:text-sm file:text-foreground placeholder:text-muted-foreground w-full min-w-0 outline-none file:inline-flex file:border-0 file:bg-transparent disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
12
|
-
...props
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
//#endregion
|
|
17
|
-
export { Input$1 as Input };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/components/ui/label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,iBAAS,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,2CAWpE;AAED,OAAO,EAAE,KAAK,EAAE,CAAA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { cn } from "../../lib/utils.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
5
|
-
//#region src/components/ui/label.tsx
|
|
6
|
-
function Label({ className, ...props }) {
|
|
7
|
-
return /* @__PURE__ */ jsx("label", {
|
|
8
|
-
"data-slot": "label",
|
|
9
|
-
className: cn("gap-2 text-sm leading-none font-medium group-data-[disabled=true]:opacity-50 peer-disabled:opacity-50 flex items-center select-none group-data-[disabled=true]:pointer-events-none peer-disabled:cursor-not-allowed", className),
|
|
10
|
-
...props
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
//#endregion
|
|
15
|
-
export { Label };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Menu component - Animate UI primitive re-export.
|
|
3
|
-
*
|
|
4
|
-
* Animated context/trigger menu with motion transitions and highlight effects.
|
|
5
|
-
*
|
|
6
|
-
* @module @mks2508/mks-ui/components/ui/menu
|
|
7
|
-
*/
|
|
8
|
-
export * from '../../components/animate-ui/primitives/base/menu';
|
|
9
|
-
//# sourceMappingURL=menu.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../src/components/ui/menu.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,8CAA8C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { Menu, MenuArrow, MenuCheckboxItem, MenuCheckboxItemIndicator, MenuGroup, MenuGroupLabel, MenuHighlight, MenuHighlightItem, MenuItem, MenuPopup, MenuPortal, MenuPositioner, MenuRadioGroup, MenuRadioItem, MenuRadioItemIndicator, MenuSeparator, MenuShortcut, MenuSubmenu, MenuSubmenuTrigger, MenuTrigger, useMenu, useMenuActiveValue } from "../animate-ui/primitives/base/menu.js";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* MorphingPopover - A popover that animates from a trigger button to a target position
|
|
3
|
-
*
|
|
4
|
-
* Uses CSS Anchor Positioning + Popover API + @starting-style for smooth morphing animations.
|
|
5
|
-
*
|
|
6
|
-
* @module @mks2508/mks-ui/components/ui/morphing-popover
|
|
7
|
-
*/
|
|
8
|
-
export { MorphingPopover, MorphingPopoverWithTarget } from './morphing-popover';
|
|
9
|
-
export type { IMorphingPopoverProps, IMorphingPopoverWithTargetProps } from './morphing-popover';
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/morphing-popover/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,eAAe,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAChF,YAAY,EAAE,qBAAqB,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { MorphingPopover, MorphingPopoverWithTarget } from "./morphing-popover.js";
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
interface IMorphingPopoverProps {
|
|
2
|
-
/** Content to display in popover */
|
|
3
|
-
content: React.ReactNode;
|
|
4
|
-
/** Trigger button text or icon */
|
|
5
|
-
trigger?: React.ReactNode;
|
|
6
|
-
/** Additional CSS classes for trigger button */
|
|
7
|
-
triggerClassName?: string;
|
|
8
|
-
/** Additional CSS classes for popover */
|
|
9
|
-
popoverClassName?: string;
|
|
10
|
-
/** Target dimensions and position (if different from default) */
|
|
11
|
-
targetSize?: {
|
|
12
|
-
width?: number;
|
|
13
|
-
height?: number;
|
|
14
|
-
};
|
|
15
|
-
/** Callback when popover opens */
|
|
16
|
-
onOpen?: () => void;
|
|
17
|
-
/** Callback when popover closes */
|
|
18
|
-
onClose?: () => void;
|
|
19
|
-
/** Popover HTML ID */
|
|
20
|
-
popoverId?: string;
|
|
21
|
-
}
|
|
22
|
-
export declare const MorphingPopover: import("react").ForwardRefExoticComponent<IMorphingPopoverProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
23
|
-
/**
|
|
24
|
-
* MorphingPopoverWithTarget - Variant that animates to a specific target element
|
|
25
|
-
*
|
|
26
|
-
* The target element must have CSS `anchor-name: --target-anchor` set on it.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* ```tsx
|
|
30
|
-
* const targetRef = useRef<HTMLDivElement>(null);
|
|
31
|
-
*
|
|
32
|
-
* <div
|
|
33
|
-
* ref={targetRef}
|
|
34
|
-
* style={{ anchorName: '--target-anchor' }}
|
|
35
|
-
* className="draggable-box"
|
|
36
|
-
* >
|
|
37
|
-
* Drag me around
|
|
38
|
-
* </div>
|
|
39
|
-
*
|
|
40
|
-
* <MorphingPopoverWithTarget
|
|
41
|
-
* targetRef={targetRef}
|
|
42
|
-
* content={<div>Content</div>}
|
|
43
|
-
* />
|
|
44
|
-
* ```
|
|
45
|
-
*/
|
|
46
|
-
interface IMorphingPopoverWithTargetProps extends Omit<IMorphingPopoverProps, "popoverId" | "targetSize"> {
|
|
47
|
-
/** Reference to target element to anchor to (NOT used directly, for API compatibility) */
|
|
48
|
-
targetRef: React.RefObject<HTMLElement>;
|
|
49
|
-
/** Popover HTML ID */
|
|
50
|
-
popoverId?: string;
|
|
51
|
-
}
|
|
52
|
-
export declare const MorphingPopoverWithTarget: import("react").ForwardRefExoticComponent<IMorphingPopoverWithTargetProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
53
|
-
export type { IMorphingPopoverProps, IMorphingPopoverWithTargetProps };
|
|
54
|
-
//# sourceMappingURL=morphing-popover.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"morphing-popover.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/morphing-popover/morphing-popover.tsx"],"names":[],"mappings":"AA2BA,UAAU,qBAAqB;IAC7B,oCAAoC;IACpC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,kCAAkC;IAClC,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,gDAAgD;IAChD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,yCAAyC;IACzC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iEAAiE;IACjE,UAAU,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACjD,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,mCAAmC;IACnC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,eAAe,qHAoD3B,CAAC;AAIF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,UAAU,+BAAgC,SAAQ,IAAI,CAAC,qBAAqB,EAAE,WAAW,GAAG,YAAY,CAAC;IACvG,0FAA0F;IAC1F,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IACxC,sBAAsB;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,yBAAyB,+HA4CrC,CAAC;AAKF,YAAY,EAAE,qBAAqB,EAAE,+BAA+B,EAAE,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Popover component - Animate UI primitive re-export.
|
|
3
|
-
*
|
|
4
|
-
* Animated popover with arrow and motion transitions.
|
|
5
|
-
*
|
|
6
|
-
* @module @mks2508/mks-ui/components/ui/popover
|
|
7
|
-
*/
|
|
8
|
-
export * from '../../components/animate-ui/primitives/base/popover';
|
|
9
|
-
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/components/ui/popover.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iDAAiD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { Popover, PopoverArrow, PopoverBackdrop, PopoverClose, PopoverDescription, PopoverPopup, PopoverPortal, PopoverPositioner, PopoverTitle, PopoverTrigger, usePopover } from "../animate-ui/primitives/base/popover.js";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Progress component - Animate UI primitive re-export.
|
|
3
|
-
*
|
|
4
|
-
* Animated progress bar with track and indicator.
|
|
5
|
-
*
|
|
6
|
-
* @module @mks2508/mks-ui/components/ui/progress
|
|
7
|
-
*/
|
|
8
|
-
export * from '../../components/animate-ui/primitives/base/progress';
|
|
9
|
-
//# sourceMappingURL=progress.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../src/components/ui/progress.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,kDAAkD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, useProgress } from "../animate-ui/primitives/base/progress.js";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { Select as SelectPrimitive } from "@base-ui/react/select";
|
|
3
|
-
declare const Select: typeof SelectPrimitive.Root;
|
|
4
|
-
declare function SelectGroup({ className, ...props }: SelectPrimitive.Group.Props): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function SelectValue({ className, ...props }: SelectPrimitive.Value.Props): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare function SelectTrigger({ className, size, children, ...props }: SelectPrimitive.Trigger.Props & {
|
|
7
|
-
size?: "sm" | "default";
|
|
8
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
declare function SelectContent({ className, children, side, sideOffset, align, alignOffset, alignItemWithTrigger, ...props }: SelectPrimitive.Popup.Props & Pick<SelectPrimitive.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset" | "alignItemWithTrigger">): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
declare function SelectLabel({ className, ...props }: SelectPrimitive.GroupLabel.Props): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
declare function SelectItem({ className, children, ...props }: SelectPrimitive.Item.Props): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function SelectSeparator({ className, ...props }: SelectPrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpArrow>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownArrow>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };
|
|
16
|
-
//# sourceMappingURL=select.d.ts.map
|