@erquhart/heroui-native 1.0.0-beta.10.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/LICENSE +21 -0
- package/README.md +109 -0
- package/lib/module/components/accordion/accordion.animation.js +145 -0
- package/lib/module/components/accordion/accordion.animation.js.map +1 -0
- package/lib/module/components/accordion/accordion.constants.js +53 -0
- package/lib/module/components/accordion/accordion.constants.js.map +1 -0
- package/lib/module/components/accordion/accordion.js +288 -0
- package/lib/module/components/accordion/accordion.js.map +1 -0
- package/lib/module/components/accordion/accordion.md +406 -0
- package/lib/module/components/accordion/accordion.styles.js +90 -0
- package/lib/module/components/accordion/accordion.styles.js.map +1 -0
- package/lib/module/components/accordion/accordion.types.js +4 -0
- package/lib/module/components/accordion/accordion.types.js.map +1 -0
- package/lib/module/components/accordion/chevron-down-icon.js +24 -0
- package/lib/module/components/accordion/chevron-down-icon.js.map +1 -0
- package/lib/module/components/accordion/index.js +5 -0
- package/lib/module/components/accordion/index.js.map +1 -0
- package/lib/module/components/avatar/avatar.animation.js +111 -0
- package/lib/module/components/avatar/avatar.animation.js.map +1 -0
- package/lib/module/components/avatar/avatar.constants.js +20 -0
- package/lib/module/components/avatar/avatar.constants.js.map +1 -0
- package/lib/module/components/avatar/avatar.context.js +11 -0
- package/lib/module/components/avatar/avatar.context.js.map +1 -0
- package/lib/module/components/avatar/avatar.js +222 -0
- package/lib/module/components/avatar/avatar.js.map +1 -0
- package/lib/module/components/avatar/avatar.md +376 -0
- package/lib/module/components/avatar/avatar.styles.js +150 -0
- package/lib/module/components/avatar/avatar.styles.js.map +1 -0
- package/lib/module/components/avatar/avatar.types.js +4 -0
- package/lib/module/components/avatar/avatar.types.js.map +1 -0
- package/lib/module/components/avatar/index.js +4 -0
- package/lib/module/components/avatar/index.js.map +1 -0
- package/lib/module/components/avatar/person-icon.js +23 -0
- package/lib/module/components/avatar/person-icon.js.map +1 -0
- package/lib/module/components/bottom-sheet/bottom-sheet.animation.js +37 -0
- package/lib/module/components/bottom-sheet/bottom-sheet.animation.js.map +1 -0
- package/lib/module/components/bottom-sheet/bottom-sheet.constants.js +16 -0
- package/lib/module/components/bottom-sheet/bottom-sheet.constants.js.map +1 -0
- package/lib/module/components/bottom-sheet/bottom-sheet.js +329 -0
- package/lib/module/components/bottom-sheet/bottom-sheet.js.map +1 -0
- package/lib/module/components/bottom-sheet/bottom-sheet.md +341 -0
- package/lib/module/components/bottom-sheet/bottom-sheet.styles.js +61 -0
- package/lib/module/components/bottom-sheet/bottom-sheet.styles.js.map +1 -0
- package/lib/module/components/bottom-sheet/bottom-sheet.types.js +4 -0
- package/lib/module/components/bottom-sheet/bottom-sheet.types.js.map +1 -0
- package/lib/module/components/bottom-sheet/index.js +4 -0
- package/lib/module/components/bottom-sheet/index.js.map +1 -0
- package/lib/module/components/button/button.constants.js +10 -0
- package/lib/module/components/button/button.constants.js.map +1 -0
- package/lib/module/components/button/button.js +201 -0
- package/lib/module/components/button/button.js.map +1 -0
- package/lib/module/components/button/button.md +316 -0
- package/lib/module/components/button/button.styles.js +88 -0
- package/lib/module/components/button/button.styles.js.map +1 -0
- package/lib/module/components/button/button.types.js +4 -0
- package/lib/module/components/button/button.types.js.map +1 -0
- package/lib/module/components/button/index.js +4 -0
- package/lib/module/components/button/index.js.map +1 -0
- package/lib/module/components/card/card.constants.js +14 -0
- package/lib/module/components/card/card.constants.js.map +1 -0
- package/lib/module/components/card/card.js +169 -0
- package/lib/module/components/card/card.js.map +1 -0
- package/lib/module/components/card/card.md +187 -0
- package/lib/module/components/card/card.styles.js +32 -0
- package/lib/module/components/card/card.styles.js.map +1 -0
- package/lib/module/components/card/card.types.js +4 -0
- package/lib/module/components/card/card.types.js.map +1 -0
- package/lib/module/components/card/index.js +4 -0
- package/lib/module/components/card/index.js.map +1 -0
- package/lib/module/components/checkbox/checkbox.animation.js +164 -0
- package/lib/module/components/checkbox/checkbox.animation.js.map +1 -0
- package/lib/module/components/checkbox/checkbox.constants.js +8 -0
- package/lib/module/components/checkbox/checkbox.constants.js.map +1 -0
- package/lib/module/components/checkbox/checkbox.js +188 -0
- package/lib/module/components/checkbox/checkbox.js.map +1 -0
- package/lib/module/components/checkbox/checkbox.md +305 -0
- package/lib/module/components/checkbox/checkbox.styles.js +104 -0
- package/lib/module/components/checkbox/checkbox.styles.js.map +1 -0
- package/lib/module/components/checkbox/checkbox.types.js +4 -0
- package/lib/module/components/checkbox/checkbox.types.js.map +1 -0
- package/lib/module/components/checkbox/index.js +4 -0
- package/lib/module/components/checkbox/index.js.map +1 -0
- package/lib/module/components/chip/chip.animation.js +17 -0
- package/lib/module/components/chip/chip.animation.js.map +1 -0
- package/lib/module/components/chip/chip.constants.js +10 -0
- package/lib/module/components/chip/chip.constants.js.map +1 -0
- package/lib/module/components/chip/chip.js +118 -0
- package/lib/module/components/chip/chip.js.map +1 -0
- package/lib/module/components/chip/chip.md +190 -0
- package/lib/module/components/chip/chip.styles.js +206 -0
- package/lib/module/components/chip/chip.styles.js.map +1 -0
- package/lib/module/components/chip/chip.types.js +4 -0
- package/lib/module/components/chip/chip.types.js.map +1 -0
- package/lib/module/components/chip/index.js +4 -0
- package/lib/module/components/chip/index.js.map +1 -0
- package/lib/module/components/dialog/dialog.animation.js +8 -0
- package/lib/module/components/dialog/dialog.animation.js.map +1 -0
- package/lib/module/components/dialog/dialog.constants.js +16 -0
- package/lib/module/components/dialog/dialog.constants.js.map +1 -0
- package/lib/module/components/dialog/dialog.js +340 -0
- package/lib/module/components/dialog/dialog.js.map +1 -0
- package/lib/module/components/dialog/dialog.md +363 -0
- package/lib/module/components/dialog/dialog.styles.js +80 -0
- package/lib/module/components/dialog/dialog.styles.js.map +1 -0
- package/lib/module/components/dialog/dialog.types.js +4 -0
- package/lib/module/components/dialog/dialog.types.js.map +1 -0
- package/lib/module/components/dialog/index.js +4 -0
- package/lib/module/components/dialog/index.js.map +1 -0
- package/lib/module/components/divider/divider.constants.js +9 -0
- package/lib/module/components/divider/divider.constants.js.map +1 -0
- package/lib/module/components/divider/divider.js +58 -0
- package/lib/module/components/divider/divider.js.map +1 -0
- package/lib/module/components/divider/divider.md +98 -0
- package/lib/module/components/divider/divider.styles.js +47 -0
- package/lib/module/components/divider/divider.styles.js.map +1 -0
- package/lib/module/components/divider/divider.types.js +4 -0
- package/lib/module/components/divider/divider.types.js.map +1 -0
- package/lib/module/components/divider/index.js +4 -0
- package/lib/module/components/divider/index.js.map +1 -0
- package/lib/module/components/error-view/error-view.animation.js +44 -0
- package/lib/module/components/error-view/error-view.animation.js.map +1 -0
- package/lib/module/components/error-view/error-view.constants.js +31 -0
- package/lib/module/components/error-view/error-view.constants.js.map +1 -0
- package/lib/module/components/error-view/error-view.js +66 -0
- package/lib/module/components/error-view/error-view.js.map +1 -0
- package/lib/module/components/error-view/error-view.md +177 -0
- package/lib/module/components/error-view/error-view.styles.js +15 -0
- package/lib/module/components/error-view/error-view.styles.js.map +1 -0
- package/lib/module/components/error-view/error-view.types.js +4 -0
- package/lib/module/components/error-view/error-view.types.js.map +1 -0
- package/lib/module/components/error-view/index.js +4 -0
- package/lib/module/components/error-view/index.js.map +1 -0
- package/lib/module/components/form-field/form-field.animation.js +17 -0
- package/lib/module/components/form-field/form-field.animation.js.map +1 -0
- package/lib/module/components/form-field/form-field.constants.js +13 -0
- package/lib/module/components/form-field/form-field.constants.js.map +1 -0
- package/lib/module/components/form-field/form-field.context.js +13 -0
- package/lib/module/components/form-field/form-field.context.js.map +1 -0
- package/lib/module/components/form-field/form-field.js +257 -0
- package/lib/module/components/form-field/form-field.js.map +1 -0
- package/lib/module/components/form-field/form-field.md +243 -0
- package/lib/module/components/form-field/form-field.styles.js +36 -0
- package/lib/module/components/form-field/form-field.styles.js.map +1 -0
- package/lib/module/components/form-field/form-field.types.js +4 -0
- package/lib/module/components/form-field/form-field.types.js.map +1 -0
- package/lib/module/components/form-field/index.js +4 -0
- package/lib/module/components/form-field/index.js.map +1 -0
- package/lib/module/components/popover/arrow-svg.js +161 -0
- package/lib/module/components/popover/arrow-svg.js.map +1 -0
- package/lib/module/components/popover/index.js +4 -0
- package/lib/module/components/popover/index.js.map +1 -0
- package/lib/module/components/popover/popover.animation.js +8 -0
- package/lib/module/components/popover/popover.animation.js.map +1 -0
- package/lib/module/components/popover/popover.constants.js +37 -0
- package/lib/module/components/popover/popover.constants.js.map +1 -0
- package/lib/module/components/popover/popover.js +502 -0
- package/lib/module/components/popover/popover.js.map +1 -0
- package/lib/module/components/popover/popover.md +521 -0
- package/lib/module/components/popover/popover.styles.js +87 -0
- package/lib/module/components/popover/popover.styles.js.map +1 -0
- package/lib/module/components/popover/popover.types.js +4 -0
- package/lib/module/components/popover/popover.types.js.map +1 -0
- package/lib/module/components/pressable-feedback/index.js +5 -0
- package/lib/module/components/pressable-feedback/index.js.map +1 -0
- package/lib/module/components/pressable-feedback/pressable-feedback.animation.js +291 -0
- package/lib/module/components/pressable-feedback/pressable-feedback.animation.js.map +1 -0
- package/lib/module/components/pressable-feedback/pressable-feedback.constants.js +13 -0
- package/lib/module/components/pressable-feedback/pressable-feedback.constants.js.map +1 -0
- package/lib/module/components/pressable-feedback/pressable-feedback.js +220 -0
- package/lib/module/components/pressable-feedback/pressable-feedback.js.map +1 -0
- package/lib/module/components/pressable-feedback/pressable-feedback.md +246 -0
- package/lib/module/components/pressable-feedback/pressable-feedback.styles.js +104 -0
- package/lib/module/components/pressable-feedback/pressable-feedback.styles.js.map +1 -0
- package/lib/module/components/pressable-feedback/pressable-feedback.types.js +4 -0
- package/lib/module/components/pressable-feedback/pressable-feedback.types.js.map +1 -0
- package/lib/module/components/radio-group/index.js +4 -0
- package/lib/module/components/radio-group/index.js.map +1 -0
- package/lib/module/components/radio-group/radio-group.animation.js +80 -0
- package/lib/module/components/radio-group/radio-group.animation.js.map +1 -0
- package/lib/module/components/radio-group/radio-group.constants.js +16 -0
- package/lib/module/components/radio-group/radio-group.constants.js.map +1 -0
- package/lib/module/components/radio-group/radio-group.js +266 -0
- package/lib/module/components/radio-group/radio-group.js.map +1 -0
- package/lib/module/components/radio-group/radio-group.md +303 -0
- package/lib/module/components/radio-group/radio-group.styles.js +95 -0
- package/lib/module/components/radio-group/radio-group.styles.js.map +1 -0
- package/lib/module/components/radio-group/radio-group.types.js +4 -0
- package/lib/module/components/radio-group/radio-group.types.js.map +1 -0
- package/lib/module/components/scroll-shadow/index.js +4 -0
- package/lib/module/components/scroll-shadow/index.js.map +1 -0
- package/lib/module/components/scroll-shadow/scroll-shadow.animation.js +95 -0
- package/lib/module/components/scroll-shadow/scroll-shadow.animation.js.map +1 -0
- package/lib/module/components/scroll-shadow/scroll-shadow.constants.js +24 -0
- package/lib/module/components/scroll-shadow/scroll-shadow.constants.js.map +1 -0
- package/lib/module/components/scroll-shadow/scroll-shadow.js +211 -0
- package/lib/module/components/scroll-shadow/scroll-shadow.js.map +1 -0
- package/lib/module/components/scroll-shadow/scroll-shadow.md +191 -0
- package/lib/module/components/scroll-shadow/scroll-shadow.styles.js +50 -0
- package/lib/module/components/scroll-shadow/scroll-shadow.styles.js.map +1 -0
- package/lib/module/components/scroll-shadow/scroll-shadow.types.js +4 -0
- package/lib/module/components/scroll-shadow/scroll-shadow.types.js.map +1 -0
- package/lib/module/components/select/index.js +4 -0
- package/lib/module/components/select/index.js.map +1 -0
- package/lib/module/components/select/select.animation.js +8 -0
- package/lib/module/components/select/select.animation.js.map +1 -0
- package/lib/module/components/select/select.constants.js +40 -0
- package/lib/module/components/select/select.constants.js.map +1 -0
- package/lib/module/components/select/select.js +608 -0
- package/lib/module/components/select/select.js.map +1 -0
- package/lib/module/components/select/select.md +735 -0
- package/lib/module/components/select/select.styles.js +143 -0
- package/lib/module/components/select/select.styles.js.map +1 -0
- package/lib/module/components/select/select.types.js +4 -0
- package/lib/module/components/select/select.types.js.map +1 -0
- package/lib/module/components/skeleton/index.js +4 -0
- package/lib/module/components/skeleton/index.js.map +1 -0
- package/lib/module/components/skeleton/linear-gradient.js +44 -0
- package/lib/module/components/skeleton/linear-gradient.js.map +1 -0
- package/lib/module/components/skeleton/skeleton.animation.js +256 -0
- package/lib/module/components/skeleton/skeleton.animation.js.map +1 -0
- package/lib/module/components/skeleton/skeleton.constants.js +42 -0
- package/lib/module/components/skeleton/skeleton.constants.js.map +1 -0
- package/lib/module/components/skeleton/skeleton.js +157 -0
- package/lib/module/components/skeleton/skeleton.js.map +1 -0
- package/lib/module/components/skeleton/skeleton.md +200 -0
- package/lib/module/components/skeleton/skeleton.styles.js +59 -0
- package/lib/module/components/skeleton/skeleton.styles.js.map +1 -0
- package/lib/module/components/skeleton/skeleton.types.js +4 -0
- package/lib/module/components/skeleton/skeleton.types.js.map +1 -0
- package/lib/module/components/skeleton-group/index.js +4 -0
- package/lib/module/components/skeleton-group/index.js.map +1 -0
- package/lib/module/components/skeleton-group/skeleton-group.constants.js +10 -0
- package/lib/module/components/skeleton-group/skeleton-group.constants.js.map +1 -0
- package/lib/module/components/skeleton-group/skeleton-group.js +82 -0
- package/lib/module/components/skeleton-group/skeleton-group.js.map +1 -0
- package/lib/module/components/skeleton-group/skeleton-group.md +247 -0
- package/lib/module/components/skeleton-group/skeleton-group.styles.js +11 -0
- package/lib/module/components/skeleton-group/skeleton-group.styles.js.map +1 -0
- package/lib/module/components/skeleton-group/skeleton-group.types.js +4 -0
- package/lib/module/components/skeleton-group/skeleton-group.types.js.map +1 -0
- package/lib/module/components/spinner/index.js +4 -0
- package/lib/module/components/spinner/index.js.map +1 -0
- package/lib/module/components/spinner/spinner-icon.js +64 -0
- package/lib/module/components/spinner/spinner-icon.js.map +1 -0
- package/lib/module/components/spinner/spinner.animation.js +119 -0
- package/lib/module/components/spinner/spinner.animation.js.map +1 -0
- package/lib/module/components/spinner/spinner.constants.js +37 -0
- package/lib/module/components/spinner/spinner.constants.js.map +1 -0
- package/lib/module/components/spinner/spinner.js +143 -0
- package/lib/module/components/spinner/spinner.js.map +1 -0
- package/lib/module/components/spinner/spinner.md +199 -0
- package/lib/module/components/spinner/spinner.styles.js +46 -0
- package/lib/module/components/spinner/spinner.styles.js.map +1 -0
- package/lib/module/components/spinner/spinner.types.js +4 -0
- package/lib/module/components/spinner/spinner.types.js.map +1 -0
- package/lib/module/components/surface/index.js +4 -0
- package/lib/module/components/surface/index.js.map +1 -0
- package/lib/module/components/surface/surface.animation.js +17 -0
- package/lib/module/components/surface/surface.animation.js.map +1 -0
- package/lib/module/components/surface/surface.constants.js +9 -0
- package/lib/module/components/surface/surface.constants.js.map +1 -0
- package/lib/module/components/surface/surface.js +65 -0
- package/lib/module/components/surface/surface.js.map +1 -0
- package/lib/module/components/surface/surface.md +141 -0
- package/lib/module/components/surface/surface.styles.js +26 -0
- package/lib/module/components/surface/surface.styles.js.map +1 -0
- package/lib/module/components/surface/surface.types.js +4 -0
- package/lib/module/components/surface/surface.types.js.map +1 -0
- package/lib/module/components/switch/index.js +5 -0
- package/lib/module/components/switch/index.js.map +1 -0
- package/lib/module/components/switch/switch.animation.js +183 -0
- package/lib/module/components/switch/switch.animation.js.map +1 -0
- package/lib/module/components/switch/switch.constants.js +23 -0
- package/lib/module/components/switch/switch.constants.js.map +1 -0
- package/lib/module/components/switch/switch.js +223 -0
- package/lib/module/components/switch/switch.js.map +1 -0
- package/lib/module/components/switch/switch.md +332 -0
- package/lib/module/components/switch/switch.styles.js +83 -0
- package/lib/module/components/switch/switch.styles.js.map +1 -0
- package/lib/module/components/switch/switch.types.js +4 -0
- package/lib/module/components/switch/switch.types.js.map +1 -0
- package/lib/module/components/tabs/index.js +4 -0
- package/lib/module/components/tabs/index.js.map +1 -0
- package/lib/module/components/tabs/tabs.animation.js +139 -0
- package/lib/module/components/tabs/tabs.animation.js.map +1 -0
- package/lib/module/components/tabs/tabs.constants.js +16 -0
- package/lib/module/components/tabs/tabs.constants.js.map +1 -0
- package/lib/module/components/tabs/tabs.context.js +24 -0
- package/lib/module/components/tabs/tabs.context.js.map +1 -0
- package/lib/module/components/tabs/tabs.js +329 -0
- package/lib/module/components/tabs/tabs.js.map +1 -0
- package/lib/module/components/tabs/tabs.md +492 -0
- package/lib/module/components/tabs/tabs.styles.js +120 -0
- package/lib/module/components/tabs/tabs.styles.js.map +1 -0
- package/lib/module/components/tabs/tabs.types.js +4 -0
- package/lib/module/components/tabs/tabs.types.js.map +1 -0
- package/lib/module/components/text-field/index.js +4 -0
- package/lib/module/components/text-field/index.js.map +1 -0
- package/lib/module/components/text-field/text-field.animation.js +228 -0
- package/lib/module/components/text-field/text-field.animation.js.map +1 -0
- package/lib/module/components/text-field/text-field.constants.js +37 -0
- package/lib/module/components/text-field/text-field.constants.js.map +1 -0
- package/lib/module/components/text-field/text-field.js +324 -0
- package/lib/module/components/text-field/text-field.js.map +1 -0
- package/lib/module/components/text-field/text-field.md +377 -0
- package/lib/module/components/text-field/text-field.styles.js +96 -0
- package/lib/module/components/text-field/text-field.styles.js.map +1 -0
- package/lib/module/components/text-field/text-field.types.js +4 -0
- package/lib/module/components/text-field/text-field.types.js.map +1 -0
- package/lib/module/components/toast/index.js +4 -0
- package/lib/module/components/toast/index.js.map +1 -0
- package/lib/module/components/toast/toast.animation.js +315 -0
- package/lib/module/components/toast/toast.animation.js.map +1 -0
- package/lib/module/components/toast/toast.constants.js +13 -0
- package/lib/module/components/toast/toast.constants.js.map +1 -0
- package/lib/module/components/toast/toast.js +382 -0
- package/lib/module/components/toast/toast.js.map +1 -0
- package/lib/module/components/toast/toast.md +417 -0
- package/lib/module/components/toast/toast.styles.js +88 -0
- package/lib/module/components/toast/toast.styles.js.map +1 -0
- package/lib/module/components/toast/toast.types.js +4 -0
- package/lib/module/components/toast/toast.types.js.map +1 -0
- package/lib/module/helpers/components/animated-check-icon.js +53 -0
- package/lib/module/helpers/components/animated-check-icon.js.map +1 -0
- package/lib/module/helpers/components/bottom-sheet-content-container.js +49 -0
- package/lib/module/helpers/components/bottom-sheet-content-container.js.map +1 -0
- package/lib/module/helpers/components/check-icon.js +25 -0
- package/lib/module/helpers/components/check-icon.js.map +1 -0
- package/lib/module/helpers/components/close-icon.js +25 -0
- package/lib/module/helpers/components/close-icon.js.map +1 -0
- package/lib/module/helpers/components/full-window-overlay.js +7 -0
- package/lib/module/helpers/components/full-window-overlay.js.map +1 -0
- package/lib/module/helpers/components/hero-text.js +66 -0
- package/lib/module/helpers/components/hero-text.js.map +1 -0
- package/lib/module/helpers/components/index.js +8 -0
- package/lib/module/helpers/components/index.js.map +1 -0
- package/lib/module/helpers/contexts/animation-settings-context.js +14 -0
- package/lib/module/helpers/contexts/animation-settings-context.js.map +1 -0
- package/lib/module/helpers/contexts/index.js +4 -0
- package/lib/module/helpers/contexts/index.js.map +1 -0
- package/lib/module/helpers/hooks/index.js +14 -0
- package/lib/module/helpers/hooks/index.js.map +1 -0
- package/lib/module/helpers/hooks/use-augmented-ref.js +23 -0
- package/lib/module/helpers/hooks/use-augmented-ref.js.map +1 -0
- package/lib/module/helpers/hooks/use-combined-animation-disabled-state.js +48 -0
- package/lib/module/helpers/hooks/use-combined-animation-disabled-state.js.map +1 -0
- package/lib/module/helpers/hooks/use-controllable-state.js +83 -0
- package/lib/module/helpers/hooks/use-controllable-state.js.map +1 -0
- package/lib/module/helpers/hooks/use-keyboard-status.js +21 -0
- package/lib/module/helpers/hooks/use-keyboard-status.js.map +1 -0
- package/lib/module/helpers/hooks/use-popup-bottom-sheet-content-animation.js +56 -0
- package/lib/module/helpers/hooks/use-popup-bottom-sheet-content-animation.js.map +1 -0
- package/lib/module/helpers/hooks/use-popup-dialog-content-animation.js +157 -0
- package/lib/module/helpers/hooks/use-popup-dialog-content-animation.js.map +1 -0
- package/lib/module/helpers/hooks/use-popup-overlay-animation.js +58 -0
- package/lib/module/helpers/hooks/use-popup-overlay-animation.js.map +1 -0
- package/lib/module/helpers/hooks/use-popup-popover-content-animation.js +103 -0
- package/lib/module/helpers/hooks/use-popup-popover-content-animation.js.map +1 -0
- package/lib/module/helpers/hooks/use-popup-root-animation.js +200 -0
- package/lib/module/helpers/hooks/use-popup-root-animation.js.map +1 -0
- package/lib/module/helpers/hooks/use-relative-position.js +220 -0
- package/lib/module/helpers/hooks/use-relative-position.js.map +1 -0
- package/lib/module/helpers/hooks/use-resolved-style-property.js +89 -0
- package/lib/module/helpers/hooks/use-resolved-style-property.js.map +1 -0
- package/lib/module/helpers/theme/color-kit/index.js +2338 -0
- package/lib/module/helpers/theme/color-kit/index.js.map +1 -0
- package/lib/module/helpers/theme/color-kit/types.js +2 -0
- package/lib/module/helpers/theme/color-kit/types.js.map +1 -0
- package/lib/module/helpers/theme/hooks/use-is-on-surface.js +8 -0
- package/lib/module/helpers/theme/hooks/use-is-on-surface.js.map +1 -0
- package/lib/module/helpers/theme/hooks/use-theme-color.js +43 -0
- package/lib/module/helpers/theme/hooks/use-theme-color.js.map +1 -0
- package/lib/module/helpers/theme/index.js +7 -0
- package/lib/module/helpers/theme/index.js.map +1 -0
- package/lib/module/helpers/theme/types.js +22 -0
- package/lib/module/helpers/theme/types.js.map +1 -0
- package/lib/module/helpers/theme/utils/cn.js +16 -0
- package/lib/module/helpers/theme/utils/cn.js.map +1 -0
- package/lib/module/helpers/theme/utils/combine-styles.js +16 -0
- package/lib/module/helpers/theme/utils/combine-styles.js.map +1 -0
- package/lib/module/helpers/types/animation.js +4 -0
- package/lib/module/helpers/types/animation.js.map +1 -0
- package/lib/module/helpers/types/bottom-sheet.js +4 -0
- package/lib/module/helpers/types/bottom-sheet.js.map +1 -0
- package/lib/module/helpers/types/index.js +7 -0
- package/lib/module/helpers/types/index.js.map +1 -0
- package/lib/module/helpers/types/misc.js +2 -0
- package/lib/module/helpers/types/misc.js.map +1 -0
- package/lib/module/helpers/types/primitives.js +4 -0
- package/lib/module/helpers/types/primitives.js.map +1 -0
- package/lib/module/helpers/utils/animation.js +212 -0
- package/lib/module/helpers/utils/animation.js.map +1 -0
- package/lib/module/helpers/utils/children-to-string.js +69 -0
- package/lib/module/helpers/utils/children-to-string.js.map +1 -0
- package/lib/module/helpers/utils/create-context.js +29 -0
- package/lib/module/helpers/utils/create-context.js.map +1 -0
- package/lib/module/helpers/utils/ease-gradient/create-interpolation.js +29 -0
- package/lib/module/helpers/utils/ease-gradient/create-interpolation.js.map +1 -0
- package/lib/module/helpers/utils/ease-gradient/index.js +60 -0
- package/lib/module/helpers/utils/ease-gradient/index.js.map +1 -0
- package/lib/module/helpers/utils/get-element-by-display-name.js +8 -0
- package/lib/module/helpers/utils/get-element-by-display-name.js.map +1 -0
- package/lib/module/helpers/utils/get-element-with-default.js +11 -0
- package/lib/module/helpers/utils/get-element-with-default.js.map +1 -0
- package/lib/module/helpers/utils/has-prop.js +15 -0
- package/lib/module/helpers/utils/has-prop.js.map +1 -0
- package/lib/module/helpers/utils/index.js +10 -0
- package/lib/module/helpers/utils/index.js.map +1 -0
- package/lib/module/index.js +36 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/primitives/README.md +27 -0
- package/lib/module/primitives/accordion/accordion.js +208 -0
- package/lib/module/primitives/accordion/accordion.js.map +1 -0
- package/lib/module/primitives/accordion/accordion.types.js +4 -0
- package/lib/module/primitives/accordion/accordion.types.js.map +1 -0
- package/lib/module/primitives/accordion/accordion.utils.js +9 -0
- package/lib/module/primitives/accordion/accordion.utils.js.map +1 -0
- package/lib/module/primitives/accordion/index.js +5 -0
- package/lib/module/primitives/accordion/index.js.map +1 -0
- package/lib/module/primitives/activity-indicator/activity-indicator.js +43 -0
- package/lib/module/primitives/activity-indicator/activity-indicator.js.map +1 -0
- package/lib/module/primitives/activity-indicator/activity-indicator.types.js +4 -0
- package/lib/module/primitives/activity-indicator/activity-indicator.types.js.map +1 -0
- package/lib/module/primitives/activity-indicator/index.js +5 -0
- package/lib/module/primitives/activity-indicator/index.js.map +1 -0
- package/lib/module/primitives/avatar/avatar.js +133 -0
- package/lib/module/primitives/avatar/avatar.js.map +1 -0
- package/lib/module/primitives/avatar/avatar.types.js +4 -0
- package/lib/module/primitives/avatar/avatar.types.js.map +1 -0
- package/lib/module/primitives/avatar/avatar.utils.js +98 -0
- package/lib/module/primitives/avatar/avatar.utils.js.map +1 -0
- package/lib/module/primitives/avatar/index.js +5 -0
- package/lib/module/primitives/avatar/index.js.map +1 -0
- package/lib/module/primitives/bottom-sheet/bottom-sheet.js +214 -0
- package/lib/module/primitives/bottom-sheet/bottom-sheet.js.map +1 -0
- package/lib/module/primitives/bottom-sheet/bottom-sheet.types.js +4 -0
- package/lib/module/primitives/bottom-sheet/bottom-sheet.types.js.map +1 -0
- package/lib/module/primitives/bottom-sheet/index.js +5 -0
- package/lib/module/primitives/bottom-sheet/index.js.map +1 -0
- package/lib/module/primitives/checkbox/checkbox.js +99 -0
- package/lib/module/primitives/checkbox/checkbox.js.map +1 -0
- package/lib/module/primitives/checkbox/checkbox.types.js +4 -0
- package/lib/module/primitives/checkbox/checkbox.types.js.map +1 -0
- package/lib/module/primitives/checkbox/index.js +5 -0
- package/lib/module/primitives/checkbox/index.js.map +1 -0
- package/lib/module/primitives/dialog/dialog.js +234 -0
- package/lib/module/primitives/dialog/dialog.js.map +1 -0
- package/lib/module/primitives/dialog/dialog.types.js +4 -0
- package/lib/module/primitives/dialog/dialog.types.js.map +1 -0
- package/lib/module/primitives/dialog/index.js +5 -0
- package/lib/module/primitives/dialog/index.js.map +1 -0
- package/lib/module/primitives/label/index.js +5 -0
- package/lib/module/primitives/label/index.js.map +1 -0
- package/lib/module/primitives/label/label.js +33 -0
- package/lib/module/primitives/label/label.js.map +1 -0
- package/lib/module/primitives/label/label.types.js +4 -0
- package/lib/module/primitives/label/label.types.js.map +1 -0
- package/lib/module/primitives/popover/index.js +5 -0
- package/lib/module/primitives/popover/index.js.map +1 -0
- package/lib/module/primitives/popover/popover.js +340 -0
- package/lib/module/primitives/popover/popover.js.map +1 -0
- package/lib/module/primitives/popover/popover.types.js +4 -0
- package/lib/module/primitives/popover/popover.types.js.map +1 -0
- package/lib/module/primitives/portal/index.js +4 -0
- package/lib/module/primitives/portal/index.js.map +1 -0
- package/lib/module/primitives/portal/portal.js +105 -0
- package/lib/module/primitives/portal/portal.js.map +1 -0
- package/lib/module/primitives/radio-group/index.js +5 -0
- package/lib/module/primitives/radio-group/index.js.map +1 -0
- package/lib/module/primitives/radio-group/radio-group.js +92 -0
- package/lib/module/primitives/radio-group/radio-group.js.map +1 -0
- package/lib/module/primitives/radio-group/radio-group.types.js +4 -0
- package/lib/module/primitives/radio-group/radio-group.types.js.map +1 -0
- package/lib/module/primitives/select/index.js +5 -0
- package/lib/module/primitives/select/index.js.map +1 -0
- package/lib/module/primitives/select/select.js +555 -0
- package/lib/module/primitives/select/select.js.map +1 -0
- package/lib/module/primitives/select/select.types.js +4 -0
- package/lib/module/primitives/select/select.types.js.map +1 -0
- package/lib/module/primitives/slot/index.js +4 -0
- package/lib/module/primitives/slot/index.js.map +1 -0
- package/lib/module/primitives/slot/slot.js +78 -0
- package/lib/module/primitives/slot/slot.js.map +1 -0
- package/lib/module/primitives/slot/types.js +4 -0
- package/lib/module/primitives/slot/types.js.map +1 -0
- package/lib/module/primitives/slot/utils.js +79 -0
- package/lib/module/primitives/slot/utils.js.map +1 -0
- package/lib/module/primitives/switch/index.js +5 -0
- package/lib/module/primitives/switch/index.js.map +1 -0
- package/lib/module/primitives/switch/switch.js +57 -0
- package/lib/module/primitives/switch/switch.js.map +1 -0
- package/lib/module/primitives/switch/switch.types.js +4 -0
- package/lib/module/primitives/switch/switch.types.js.map +1 -0
- package/lib/module/primitives/tabs/index.js +5 -0
- package/lib/module/primitives/tabs/index.js.map +1 -0
- package/lib/module/primitives/tabs/tabs.js +169 -0
- package/lib/module/primitives/tabs/tabs.js.map +1 -0
- package/lib/module/primitives/tabs/tabs.types.js +4 -0
- package/lib/module/primitives/tabs/tabs.types.js.map +1 -0
- package/lib/module/primitives/toast/index.js +5 -0
- package/lib/module/primitives/toast/index.js.map +1 -0
- package/lib/module/primitives/toast/toast.js +117 -0
- package/lib/module/primitives/toast/toast.js.map +1 -0
- package/lib/module/primitives/toast/toast.types.js +4 -0
- package/lib/module/primitives/toast/toast.types.js.map +1 -0
- package/lib/module/providers/animation-settings/index.js +4 -0
- package/lib/module/providers/animation-settings/index.js.map +1 -0
- package/lib/module/providers/animation-settings/provider.js +43 -0
- package/lib/module/providers/animation-settings/provider.js.map +1 -0
- package/lib/module/providers/animation-settings/types.js +4 -0
- package/lib/module/providers/animation-settings/types.js.map +1 -0
- package/lib/module/providers/hero-ui-native/index.js +5 -0
- package/lib/module/providers/hero-ui-native/index.js.map +1 -0
- package/lib/module/providers/hero-ui-native/provider.js +92 -0
- package/lib/module/providers/hero-ui-native/provider.js.map +1 -0
- package/lib/module/providers/hero-ui-native/provider.md +332 -0
- package/lib/module/providers/hero-ui-native/types.js +4 -0
- package/lib/module/providers/hero-ui-native/types.js.map +1 -0
- package/lib/module/providers/text-component/index.js +5 -0
- package/lib/module/providers/text-component/index.js.map +1 -0
- package/lib/module/providers/text-component/provider.js +8 -0
- package/lib/module/providers/text-component/provider.js.map +1 -0
- package/lib/module/providers/text-component/types.js +4 -0
- package/lib/module/providers/text-component/types.js.map +1 -0
- package/lib/module/providers/toast/index.js +5 -0
- package/lib/module/providers/toast/index.js.map +1 -0
- package/lib/module/providers/toast/insets-container.js +46 -0
- package/lib/module/providers/toast/insets-container.js.map +1 -0
- package/lib/module/providers/toast/provider.js +366 -0
- package/lib/module/providers/toast/provider.js.map +1 -0
- package/lib/module/providers/toast/reducer.js +28 -0
- package/lib/module/providers/toast/reducer.js.map +1 -0
- package/lib/module/providers/toast/toast-config.context.js +25 -0
- package/lib/module/providers/toast/toast-config.context.js.map +1 -0
- package/lib/module/providers/toast/toast-item-renderer.js +35 -0
- package/lib/module/providers/toast/toast-item-renderer.js.map +1 -0
- package/lib/module/providers/toast/types.js +4 -0
- package/lib/module/providers/toast/types.js.map +1 -0
- package/lib/module/styles/index.css +3 -0
- package/lib/module/styles/theme.css +205 -0
- package/lib/module/styles/theme.md +423 -0
- package/lib/module/styles/utilities.css +8 -0
- package/lib/module/styles/variables.css +113 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/components/accordion/accordion.animation.d.ts +38 -0
- package/lib/typescript/src/components/accordion/accordion.animation.d.ts.map +1 -0
- package/lib/typescript/src/components/accordion/accordion.constants.d.ts +44 -0
- package/lib/typescript/src/components/accordion/accordion.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/accordion/accordion.d.ts +53 -0
- package/lib/typescript/src/components/accordion/accordion.d.ts.map +1 -0
- package/lib/typescript/src/components/accordion/accordion.styles.d.ts +130 -0
- package/lib/typescript/src/components/accordion/accordion.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/accordion/accordion.types.d.ts +228 -0
- package/lib/typescript/src/components/accordion/accordion.types.d.ts.map +1 -0
- package/lib/typescript/src/components/accordion/chevron-down-icon.d.ts +8 -0
- package/lib/typescript/src/components/accordion/chevron-down-icon.d.ts.map +1 -0
- package/lib/typescript/src/components/accordion/index.d.ts +4 -0
- package/lib/typescript/src/components/accordion/index.d.ts.map +1 -0
- package/lib/typescript/src/components/avatar/avatar.animation.d.ts +33 -0
- package/lib/typescript/src/components/avatar/avatar.animation.d.ts.map +1 -0
- package/lib/typescript/src/components/avatar/avatar.constants.d.ts +14 -0
- package/lib/typescript/src/components/avatar/avatar.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/avatar/avatar.context.d.ts +7 -0
- package/lib/typescript/src/components/avatar/avatar.context.d.ts.map +1 -0
- package/lib/typescript/src/components/avatar/avatar.d.ts +33 -0
- package/lib/typescript/src/components/avatar/avatar.d.ts.map +1 -0
- package/lib/typescript/src/components/avatar/avatar.styles.d.ts +269 -0
- package/lib/typescript/src/components/avatar/avatar.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/avatar/avatar.types.d.ts +188 -0
- package/lib/typescript/src/components/avatar/avatar.types.d.ts.map +1 -0
- package/lib/typescript/src/components/avatar/index.d.ts +3 -0
- package/lib/typescript/src/components/avatar/index.d.ts.map +1 -0
- package/lib/typescript/src/components/avatar/person-icon.d.ts +7 -0
- package/lib/typescript/src/components/avatar/person-icon.d.ts.map +1 -0
- package/lib/typescript/src/components/bottom-sheet/bottom-sheet.animation.d.ts +15 -0
- package/lib/typescript/src/components/bottom-sheet/bottom-sheet.animation.d.ts.map +1 -0
- package/lib/typescript/src/components/bottom-sheet/bottom-sheet.constants.d.ts +14 -0
- package/lib/typescript/src/components/bottom-sheet/bottom-sheet.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/bottom-sheet/bottom-sheet.d.ts +54 -0
- package/lib/typescript/src/components/bottom-sheet/bottom-sheet.d.ts.map +1 -0
- package/lib/typescript/src/components/bottom-sheet/bottom-sheet.styles.d.ts +16 -0
- package/lib/typescript/src/components/bottom-sheet/bottom-sheet.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/bottom-sheet/bottom-sheet.types.d.ts +177 -0
- package/lib/typescript/src/components/bottom-sheet/bottom-sheet.types.d.ts.map +1 -0
- package/lib/typescript/src/components/bottom-sheet/index.d.ts +3 -0
- package/lib/typescript/src/components/bottom-sheet/index.d.ts.map +1 -0
- package/lib/typescript/src/components/button/button.constants.d.ts +8 -0
- package/lib/typescript/src/components/button/button.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/button/button.d.ts +31 -0
- package/lib/typescript/src/components/button/button.d.ts.map +1 -0
- package/lib/typescript/src/components/button/button.styles.d.ts +113 -0
- package/lib/typescript/src/components/button/button.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/button/button.types.d.ts +74 -0
- package/lib/typescript/src/components/button/button.types.d.ts.map +1 -0
- package/lib/typescript/src/components/button/index.d.ts +3 -0
- package/lib/typescript/src/components/button/index.d.ts.map +1 -0
- package/lib/typescript/src/components/card/card.constants.d.ts +12 -0
- package/lib/typescript/src/components/card/card.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/card/card.d.ts +37 -0
- package/lib/typescript/src/components/card/card.d.ts.map +1 -0
- package/lib/typescript/src/components/card/card.styles.d.ts +10 -0
- package/lib/typescript/src/components/card/card.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/card/card.types.d.ts +73 -0
- package/lib/typescript/src/components/card/card.types.d.ts.map +1 -0
- package/lib/typescript/src/components/card/index.d.ts +3 -0
- package/lib/typescript/src/components/card/index.d.ts.map +1 -0
- package/lib/typescript/src/components/checkbox/checkbox.animation.d.ts +34 -0
- package/lib/typescript/src/components/checkbox/checkbox.animation.d.ts.map +1 -0
- package/lib/typescript/src/components/checkbox/checkbox.constants.d.ts +6 -0
- package/lib/typescript/src/components/checkbox/checkbox.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/checkbox/checkbox.d.ts +27 -0
- package/lib/typescript/src/components/checkbox/checkbox.d.ts.map +1 -0
- package/lib/typescript/src/components/checkbox/checkbox.styles.d.ts +77 -0
- package/lib/typescript/src/components/checkbox/checkbox.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/checkbox/checkbox.types.d.ts +184 -0
- package/lib/typescript/src/components/checkbox/checkbox.types.d.ts.map +1 -0
- package/lib/typescript/src/components/checkbox/index.d.ts +3 -0
- package/lib/typescript/src/components/checkbox/index.d.ts.map +1 -0
- package/lib/typescript/src/components/chip/chip.animation.d.ts +11 -0
- package/lib/typescript/src/components/chip/chip.animation.d.ts.map +1 -0
- package/lib/typescript/src/components/chip/chip.constants.d.ts +8 -0
- package/lib/typescript/src/components/chip/chip.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/chip/chip.d.ts +24 -0
- package/lib/typescript/src/components/chip/chip.d.ts.map +1 -0
- package/lib/typescript/src/components/chip/chip.styles.d.ts +184 -0
- package/lib/typescript/src/components/chip/chip.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/chip/chip.types.d.ts +56 -0
- package/lib/typescript/src/components/chip/chip.types.d.ts.map +1 -0
- package/lib/typescript/src/components/chip/index.d.ts +3 -0
- package/lib/typescript/src/components/chip/index.d.ts.map +1 -0
- package/lib/typescript/src/components/dialog/dialog.animation.d.ts +4 -0
- package/lib/typescript/src/components/dialog/dialog.animation.d.ts.map +1 -0
- package/lib/typescript/src/components/dialog/dialog.constants.d.ts +14 -0
- package/lib/typescript/src/components/dialog/dialog.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/dialog/dialog.d.ts +56 -0
- package/lib/typescript/src/components/dialog/dialog.d.ts.map +1 -0
- package/lib/typescript/src/components/dialog/dialog.styles.d.ts +15 -0
- package/lib/typescript/src/components/dialog/dialog.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/dialog/dialog.types.d.ts +224 -0
- package/lib/typescript/src/components/dialog/dialog.types.d.ts.map +1 -0
- package/lib/typescript/src/components/dialog/index.d.ts +3 -0
- package/lib/typescript/src/components/dialog/index.d.ts.map +1 -0
- package/lib/typescript/src/components/divider/divider.constants.d.ts +7 -0
- package/lib/typescript/src/components/divider/divider.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/divider/divider.d.ts +15 -0
- package/lib/typescript/src/components/divider/divider.d.ts.map +1 -0
- package/lib/typescript/src/components/divider/divider.styles.d.ts +30 -0
- package/lib/typescript/src/components/divider/divider.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/divider/divider.types.d.ts +35 -0
- package/lib/typescript/src/components/divider/divider.types.d.ts.map +1 -0
- package/lib/typescript/src/components/divider/index.d.ts +3 -0
- package/lib/typescript/src/components/divider/index.d.ts.map +1 -0
- package/lib/typescript/src/components/error-view/error-view.animation.d.ts +12 -0
- package/lib/typescript/src/components/error-view/error-view.animation.d.ts.map +1 -0
- package/lib/typescript/src/components/error-view/error-view.constants.d.ts +24 -0
- package/lib/typescript/src/components/error-view/error-view.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/error-view/error-view.d.ts +11 -0
- package/lib/typescript/src/components/error-view/error-view.d.ts.map +1 -0
- package/lib/typescript/src/components/error-view/error-view.styles.d.ts +67 -0
- package/lib/typescript/src/components/error-view/error-view.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/error-view/error-view.types.d.ts +57 -0
- package/lib/typescript/src/components/error-view/error-view.types.d.ts.map +1 -0
- package/lib/typescript/src/components/error-view/index.d.ts +3 -0
- package/lib/typescript/src/components/error-view/index.d.ts.map +1 -0
- package/lib/typescript/src/components/form-field/form-field.animation.d.ts +11 -0
- package/lib/typescript/src/components/form-field/form-field.animation.d.ts.map +1 -0
- package/lib/typescript/src/components/form-field/form-field.constants.d.ts +11 -0
- package/lib/typescript/src/components/form-field/form-field.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/form-field/form-field.context.d.ts +8 -0
- package/lib/typescript/src/components/form-field/form-field.context.d.ts.map +1 -0
- package/lib/typescript/src/components/form-field/form-field.d.ts +37 -0
- package/lib/typescript/src/components/form-field/form-field.d.ts.map +1 -0
- package/lib/typescript/src/components/form-field/form-field.styles.d.ts +21 -0
- package/lib/typescript/src/components/form-field/form-field.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/form-field/form-field.types.d.ts +62 -0
- package/lib/typescript/src/components/form-field/form-field.types.d.ts.map +1 -0
- package/lib/typescript/src/components/form-field/index.d.ts +3 -0
- package/lib/typescript/src/components/form-field/index.d.ts.map +1 -0
- package/lib/typescript/src/components/popover/arrow-svg.d.ts +15 -0
- package/lib/typescript/src/components/popover/arrow-svg.d.ts.map +1 -0
- package/lib/typescript/src/components/popover/index.d.ts +3 -0
- package/lib/typescript/src/components/popover/index.d.ts.map +1 -0
- package/lib/typescript/src/components/popover/popover.animation.d.ts +4 -0
- package/lib/typescript/src/components/popover/popover.animation.d.ts.map +1 -0
- package/lib/typescript/src/components/popover/popover.constants.d.ts +32 -0
- package/lib/typescript/src/components/popover/popover.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/popover/popover.d.ts +56 -0
- package/lib/typescript/src/components/popover/popover.d.ts.map +1 -0
- package/lib/typescript/src/components/popover/popover.styles.d.ts +16 -0
- package/lib/typescript/src/components/popover/popover.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/popover/popover.types.d.ts +336 -0
- package/lib/typescript/src/components/popover/popover.types.d.ts.map +1 -0
- package/lib/typescript/src/components/pressable-feedback/index.d.ts +3 -0
- package/lib/typescript/src/components/pressable-feedback/index.d.ts.map +1 -0
- package/lib/typescript/src/components/pressable-feedback/pressable-feedback.animation.d.ts +75 -0
- package/lib/typescript/src/components/pressable-feedback/pressable-feedback.animation.d.ts.map +1 -0
- package/lib/typescript/src/components/pressable-feedback/pressable-feedback.constants.d.ts +11 -0
- package/lib/typescript/src/components/pressable-feedback/pressable-feedback.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/pressable-feedback/pressable-feedback.d.ts +31 -0
- package/lib/typescript/src/components/pressable-feedback/pressable-feedback.d.ts.map +1 -0
- package/lib/typescript/src/components/pressable-feedback/pressable-feedback.styles.d.ts +105 -0
- package/lib/typescript/src/components/pressable-feedback/pressable-feedback.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/pressable-feedback/pressable-feedback.types.d.ts +332 -0
- package/lib/typescript/src/components/pressable-feedback/pressable-feedback.types.d.ts.map +1 -0
- package/lib/typescript/src/components/radio-group/index.d.ts +3 -0
- package/lib/typescript/src/components/radio-group/index.d.ts.map +1 -0
- package/lib/typescript/src/components/radio-group/radio-group.animation.d.ts +26 -0
- package/lib/typescript/src/components/radio-group/radio-group.animation.d.ts.map +1 -0
- package/lib/typescript/src/components/radio-group/radio-group.constants.d.ts +14 -0
- package/lib/typescript/src/components/radio-group/radio-group.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/radio-group/radio-group.d.ts +53 -0
- package/lib/typescript/src/components/radio-group/radio-group.d.ts.map +1 -0
- package/lib/typescript/src/components/radio-group/radio-group.styles.d.ts +92 -0
- package/lib/typescript/src/components/radio-group/radio-group.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/radio-group/radio-group.types.d.ts +136 -0
- package/lib/typescript/src/components/radio-group/radio-group.types.d.ts.map +1 -0
- package/lib/typescript/src/components/scroll-shadow/index.d.ts +3 -0
- package/lib/typescript/src/components/scroll-shadow/index.d.ts.map +1 -0
- package/lib/typescript/src/components/scroll-shadow/scroll-shadow.animation.d.ts +25 -0
- package/lib/typescript/src/components/scroll-shadow/scroll-shadow.animation.d.ts.map +1 -0
- package/lib/typescript/src/components/scroll-shadow/scroll-shadow.constants.d.ts +19 -0
- package/lib/typescript/src/components/scroll-shadow/scroll-shadow.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/scroll-shadow/scroll-shadow.d.ts +18 -0
- package/lib/typescript/src/components/scroll-shadow/scroll-shadow.d.ts.map +1 -0
- package/lib/typescript/src/components/scroll-shadow/scroll-shadow.styles.d.ts +42 -0
- package/lib/typescript/src/components/scroll-shadow/scroll-shadow.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/scroll-shadow/scroll-shadow.types.d.ts +98 -0
- package/lib/typescript/src/components/scroll-shadow/scroll-shadow.types.d.ts.map +1 -0
- package/lib/typescript/src/components/select/index.d.ts +3 -0
- package/lib/typescript/src/components/select/index.d.ts.map +1 -0
- package/lib/typescript/src/components/select/select.animation.d.ts +4 -0
- package/lib/typescript/src/components/select/select.animation.d.ts.map +1 -0
- package/lib/typescript/src/components/select/select.constants.d.ts +35 -0
- package/lib/typescript/src/components/select/select.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/select/select.d.ts +66 -0
- package/lib/typescript/src/components/select/select.d.ts.map +1 -0
- package/lib/typescript/src/components/select/select.styles.d.ts +121 -0
- package/lib/typescript/src/components/select/select.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/select/select.types.d.ts +391 -0
- package/lib/typescript/src/components/select/select.types.d.ts.map +1 -0
- package/lib/typescript/src/components/skeleton/index.d.ts +3 -0
- package/lib/typescript/src/components/skeleton/index.d.ts.map +1 -0
- package/lib/typescript/src/components/skeleton/linear-gradient.d.ts +6 -0
- package/lib/typescript/src/components/skeleton/linear-gradient.d.ts.map +1 -0
- package/lib/typescript/src/components/skeleton/skeleton.animation.d.ts +44 -0
- package/lib/typescript/src/components/skeleton/skeleton.animation.d.ts.map +1 -0
- package/lib/typescript/src/components/skeleton/skeleton.constants.d.ts +32 -0
- package/lib/typescript/src/components/skeleton/skeleton.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/skeleton/skeleton.d.ts +15 -0
- package/lib/typescript/src/components/skeleton/skeleton.d.ts.map +1 -0
- package/lib/typescript/src/components/skeleton/skeleton.styles.d.ts +16 -0
- package/lib/typescript/src/components/skeleton/skeleton.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/skeleton/skeleton.types.d.ts +173 -0
- package/lib/typescript/src/components/skeleton/skeleton.types.d.ts.map +1 -0
- package/lib/typescript/src/components/skeleton-group/index.d.ts +3 -0
- package/lib/typescript/src/components/skeleton-group/index.d.ts.map +1 -0
- package/lib/typescript/src/components/skeleton-group/skeleton-group.constants.d.ts +8 -0
- package/lib/typescript/src/components/skeleton-group/skeleton-group.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/skeleton-group/skeleton-group.d.ts +24 -0
- package/lib/typescript/src/components/skeleton-group/skeleton-group.d.ts.map +1 -0
- package/lib/typescript/src/components/skeleton-group/skeleton-group.styles.d.ts +5 -0
- package/lib/typescript/src/components/skeleton-group/skeleton-group.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/skeleton-group/skeleton-group.types.d.ts +28 -0
- package/lib/typescript/src/components/skeleton-group/skeleton-group.types.d.ts.map +1 -0
- package/lib/typescript/src/components/spinner/index.d.ts +3 -0
- package/lib/typescript/src/components/spinner/index.d.ts.map +1 -0
- package/lib/typescript/src/components/spinner/spinner-icon.d.ts +6 -0
- package/lib/typescript/src/components/spinner/spinner-icon.d.ts.map +1 -0
- package/lib/typescript/src/components/spinner/spinner.animation.d.ts +27 -0
- package/lib/typescript/src/components/spinner/spinner.animation.d.ts.map +1 -0
- package/lib/typescript/src/components/spinner/spinner.constants.d.ts +30 -0
- package/lib/typescript/src/components/spinner/spinner.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/spinner/spinner.d.ts +23 -0
- package/lib/typescript/src/components/spinner/spinner.d.ts.map +1 -0
- package/lib/typescript/src/components/spinner/spinner.styles.d.ts +24 -0
- package/lib/typescript/src/components/spinner/spinner.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/spinner/spinner.types.d.ts +131 -0
- package/lib/typescript/src/components/spinner/spinner.types.d.ts.map +1 -0
- package/lib/typescript/src/components/surface/index.d.ts +3 -0
- package/lib/typescript/src/components/surface/index.d.ts.map +1 -0
- package/lib/typescript/src/components/surface/surface.animation.d.ts +11 -0
- package/lib/typescript/src/components/surface/surface.animation.d.ts.map +1 -0
- package/lib/typescript/src/components/surface/surface.constants.d.ts +7 -0
- package/lib/typescript/src/components/surface/surface.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/surface/surface.d.ts +16 -0
- package/lib/typescript/src/components/surface/surface.d.ts.map +1 -0
- package/lib/typescript/src/components/surface/surface.styles.d.ts +32 -0
- package/lib/typescript/src/components/surface/surface.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/surface/surface.types.d.ts +40 -0
- package/lib/typescript/src/components/surface/surface.types.d.ts.map +1 -0
- package/lib/typescript/src/components/switch/index.d.ts +3 -0
- package/lib/typescript/src/components/switch/index.d.ts.map +1 -0
- package/lib/typescript/src/components/switch/switch.animation.d.ts +46 -0
- package/lib/typescript/src/components/switch/switch.animation.d.ts.map +1 -0
- package/lib/typescript/src/components/switch/switch.constants.d.ts +20 -0
- package/lib/typescript/src/components/switch/switch.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/switch/switch.d.ts +42 -0
- package/lib/typescript/src/components/switch/switch.d.ts.map +1 -0
- package/lib/typescript/src/components/switch/switch.styles.d.ts +28 -0
- package/lib/typescript/src/components/switch/switch.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/switch/switch.types.d.ts +184 -0
- package/lib/typescript/src/components/switch/switch.types.d.ts.map +1 -0
- package/lib/typescript/src/components/tabs/index.d.ts +3 -0
- package/lib/typescript/src/components/tabs/index.d.ts.map +1 -0
- package/lib/typescript/src/components/tabs/tabs.animation.d.ts +26 -0
- package/lib/typescript/src/components/tabs/tabs.animation.d.ts.map +1 -0
- package/lib/typescript/src/components/tabs/tabs.constants.d.ts +12 -0
- package/lib/typescript/src/components/tabs/tabs.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/tabs/tabs.context.d.ts +13 -0
- package/lib/typescript/src/components/tabs/tabs.context.d.ts.map +1 -0
- package/lib/typescript/src/components/tabs/tabs.d.ts +44 -0
- package/lib/typescript/src/components/tabs/tabs.d.ts.map +1 -0
- package/lib/typescript/src/components/tabs/tabs.styles.d.ts +103 -0
- package/lib/typescript/src/components/tabs/tabs.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/tabs/tabs.types.d.ts +239 -0
- package/lib/typescript/src/components/tabs/tabs.types.d.ts.map +1 -0
- package/lib/typescript/src/components/text-field/index.d.ts +3 -0
- package/lib/typescript/src/components/text-field/index.d.ts.map +1 -0
- package/lib/typescript/src/components/text-field/text-field.animation.d.ts +47 -0
- package/lib/typescript/src/components/text-field/text-field.animation.d.ts.map +1 -0
- package/lib/typescript/src/components/text-field/text-field.constants.d.ts +30 -0
- package/lib/typescript/src/components/text-field/text-field.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/text-field/text-field.d.ts +47 -0
- package/lib/typescript/src/components/text-field/text-field.d.ts.map +1 -0
- package/lib/typescript/src/components/text-field/text-field.styles.d.ts +203 -0
- package/lib/typescript/src/components/text-field/text-field.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/text-field/text-field.types.d.ts +324 -0
- package/lib/typescript/src/components/text-field/text-field.types.d.ts.map +1 -0
- package/lib/typescript/src/components/toast/index.d.ts +3 -0
- package/lib/typescript/src/components/toast/index.d.ts.map +1 -0
- package/lib/typescript/src/components/toast/toast.animation.d.ts +29 -0
- package/lib/typescript/src/components/toast/toast.animation.d.ts.map +1 -0
- package/lib/typescript/src/components/toast/toast.constants.d.ts +11 -0
- package/lib/typescript/src/components/toast/toast.constants.d.ts.map +1 -0
- package/lib/typescript/src/components/toast/toast.d.ts +56 -0
- package/lib/typescript/src/components/toast/toast.d.ts.map +1 -0
- package/lib/typescript/src/components/toast/toast.styles.d.ts +61 -0
- package/lib/typescript/src/components/toast/toast.styles.d.ts.map +1 -0
- package/lib/typescript/src/components/toast/toast.types.d.ts +278 -0
- package/lib/typescript/src/components/toast/toast.types.d.ts.map +1 -0
- package/lib/typescript/src/helpers/components/animated-check-icon.d.ts +12 -0
- package/lib/typescript/src/helpers/components/animated-check-icon.d.ts.map +1 -0
- package/lib/typescript/src/helpers/components/bottom-sheet-content-container.d.ts +20 -0
- package/lib/typescript/src/helpers/components/bottom-sheet-content-container.d.ts.map +1 -0
- package/lib/typescript/src/helpers/components/check-icon.d.ts +8 -0
- package/lib/typescript/src/helpers/components/check-icon.d.ts.map +1 -0
- package/lib/typescript/src/helpers/components/close-icon.d.ts +8 -0
- package/lib/typescript/src/helpers/components/close-icon.d.ts.map +1 -0
- package/lib/typescript/src/helpers/components/full-window-overlay.d.ts +4 -0
- package/lib/typescript/src/helpers/components/full-window-overlay.d.ts.map +1 -0
- package/lib/typescript/src/helpers/components/hero-text.d.ts +51 -0
- package/lib/typescript/src/helpers/components/hero-text.d.ts.map +1 -0
- package/lib/typescript/src/helpers/components/index.d.ts +6 -0
- package/lib/typescript/src/helpers/components/index.d.ts.map +1 -0
- package/lib/typescript/src/helpers/contexts/animation-settings-context.d.ts +12 -0
- package/lib/typescript/src/helpers/contexts/animation-settings-context.d.ts.map +1 -0
- package/lib/typescript/src/helpers/contexts/index.d.ts +3 -0
- package/lib/typescript/src/helpers/contexts/index.d.ts.map +1 -0
- package/lib/typescript/src/helpers/hooks/index.d.ts +12 -0
- package/lib/typescript/src/helpers/hooks/index.d.ts.map +1 -0
- package/lib/typescript/src/helpers/hooks/use-augmented-ref.d.ts +9 -0
- package/lib/typescript/src/helpers/hooks/use-augmented-ref.d.ts.map +1 -0
- package/lib/typescript/src/helpers/hooks/use-combined-animation-disabled-state.d.ts +22 -0
- package/lib/typescript/src/helpers/hooks/use-combined-animation-disabled-state.d.ts.map +1 -0
- package/lib/typescript/src/helpers/hooks/use-controllable-state.d.ts +22 -0
- package/lib/typescript/src/helpers/hooks/use-controllable-state.d.ts.map +1 -0
- package/lib/typescript/src/helpers/hooks/use-keyboard-status.d.ts +2 -0
- package/lib/typescript/src/helpers/hooks/use-keyboard-status.d.ts.map +1 -0
- package/lib/typescript/src/helpers/hooks/use-popup-bottom-sheet-content-animation.d.ts +27 -0
- package/lib/typescript/src/helpers/hooks/use-popup-bottom-sheet-content-animation.d.ts.map +1 -0
- package/lib/typescript/src/helpers/hooks/use-popup-dialog-content-animation.d.ts +70 -0
- package/lib/typescript/src/helpers/hooks/use-popup-dialog-content-animation.d.ts.map +1 -0
- package/lib/typescript/src/helpers/hooks/use-popup-overlay-animation.d.ts +21 -0
- package/lib/typescript/src/helpers/hooks/use-popup-overlay-animation.d.ts.map +1 -0
- package/lib/typescript/src/helpers/hooks/use-popup-popover-content-animation.d.ts +51 -0
- package/lib/typescript/src/helpers/hooks/use-popup-popover-content-animation.d.ts.map +1 -0
- package/lib/typescript/src/helpers/hooks/use-popup-root-animation.d.ts +33 -0
- package/lib/typescript/src/helpers/hooks/use-popup-root-animation.d.ts.map +1 -0
- package/lib/typescript/src/helpers/hooks/use-relative-position.d.ts +61 -0
- package/lib/typescript/src/helpers/hooks/use-relative-position.d.ts.map +1 -0
- package/lib/typescript/src/helpers/hooks/use-resolved-style-property.d.ts +60 -0
- package/lib/typescript/src/helpers/hooks/use-resolved-style-property.d.ts.map +1 -0
- package/lib/typescript/src/helpers/theme/color-kit/index.d.ts +92 -0
- package/lib/typescript/src/helpers/theme/color-kit/index.d.ts.map +1 -0
- package/lib/typescript/src/helpers/theme/color-kit/types.d.ts +202 -0
- package/lib/typescript/src/helpers/theme/color-kit/types.d.ts.map +1 -0
- package/lib/typescript/src/helpers/theme/hooks/use-is-on-surface.d.ts +2 -0
- package/lib/typescript/src/helpers/theme/hooks/use-is-on-surface.d.ts.map +1 -0
- package/lib/typescript/src/helpers/theme/hooks/use-theme-color.d.ts +25 -0
- package/lib/typescript/src/helpers/theme/hooks/use-theme-color.d.ts.map +1 -0
- package/lib/typescript/src/helpers/theme/index.d.ts +5 -0
- package/lib/typescript/src/helpers/theme/index.d.ts.map +1 -0
- package/lib/typescript/src/helpers/theme/types.d.ts +25 -0
- package/lib/typescript/src/helpers/theme/types.d.ts.map +1 -0
- package/lib/typescript/src/helpers/theme/utils/cn.d.ts +3 -0
- package/lib/typescript/src/helpers/theme/utils/cn.d.ts.map +1 -0
- package/lib/typescript/src/helpers/theme/utils/combine-styles.d.ts +13 -0
- package/lib/typescript/src/helpers/theme/utils/combine-styles.d.ts.map +1 -0
- package/lib/typescript/src/helpers/types/animation.d.ts +157 -0
- package/lib/typescript/src/helpers/types/animation.d.ts.map +1 -0
- package/lib/typescript/src/helpers/types/bottom-sheet.d.ts +72 -0
- package/lib/typescript/src/helpers/types/bottom-sheet.d.ts.map +1 -0
- package/lib/typescript/src/helpers/types/index.d.ts +5 -0
- package/lib/typescript/src/helpers/types/index.d.ts.map +1 -0
- package/lib/typescript/src/helpers/types/misc.d.ts +3 -0
- package/lib/typescript/src/helpers/types/misc.d.ts.map +1 -0
- package/lib/typescript/src/helpers/types/primitives.d.ts +120 -0
- package/lib/typescript/src/helpers/types/primitives.d.ts.map +1 -0
- package/lib/typescript/src/helpers/utils/animation.d.ts +120 -0
- package/lib/typescript/src/helpers/utils/animation.d.ts.map +1 -0
- package/lib/typescript/src/helpers/utils/children-to-string.d.ts +18 -0
- package/lib/typescript/src/helpers/utils/children-to-string.d.ts.map +1 -0
- package/lib/typescript/src/helpers/utils/create-context.d.ts +28 -0
- package/lib/typescript/src/helpers/utils/create-context.d.ts.map +1 -0
- package/lib/typescript/src/helpers/utils/ease-gradient/create-interpolation.d.ts +15 -0
- package/lib/typescript/src/helpers/utils/ease-gradient/create-interpolation.d.ts.map +1 -0
- package/lib/typescript/src/helpers/utils/ease-gradient/index.d.ts +28 -0
- package/lib/typescript/src/helpers/utils/ease-gradient/index.d.ts.map +1 -0
- package/lib/typescript/src/helpers/utils/get-element-by-display-name.d.ts +4 -0
- package/lib/typescript/src/helpers/utils/get-element-by-display-name.d.ts.map +1 -0
- package/lib/typescript/src/helpers/utils/get-element-with-default.d.ts +4 -0
- package/lib/typescript/src/helpers/utils/get-element-with-default.d.ts.map +1 -0
- package/lib/typescript/src/helpers/utils/has-prop.d.ts +9 -0
- package/lib/typescript/src/helpers/utils/has-prop.d.ts.map +1 -0
- package/lib/typescript/src/helpers/utils/index.d.ts +8 -0
- package/lib/typescript/src/helpers/utils/index.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +29 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/primitives/accordion/accordion.d.ts +30 -0
- package/lib/typescript/src/primitives/accordion/accordion.d.ts.map +1 -0
- package/lib/typescript/src/primitives/accordion/accordion.types.d.ts +84 -0
- package/lib/typescript/src/primitives/accordion/accordion.types.d.ts.map +1 -0
- package/lib/typescript/src/primitives/accordion/accordion.utils.d.ts +3 -0
- package/lib/typescript/src/primitives/accordion/accordion.utils.d.ts.map +1 -0
- package/lib/typescript/src/primitives/accordion/index.d.ts +3 -0
- package/lib/typescript/src/primitives/accordion/index.d.ts.map +1 -0
- package/lib/typescript/src/primitives/activity-indicator/activity-indicator.d.ts +6 -0
- package/lib/typescript/src/primitives/activity-indicator/activity-indicator.d.ts.map +1 -0
- package/lib/typescript/src/primitives/activity-indicator/activity-indicator.types.d.ts +22 -0
- package/lib/typescript/src/primitives/activity-indicator/activity-indicator.types.d.ts.map +1 -0
- package/lib/typescript/src/primitives/activity-indicator/index.d.ts +3 -0
- package/lib/typescript/src/primitives/activity-indicator/index.d.ts.map +1 -0
- package/lib/typescript/src/primitives/avatar/avatar.d.ts +23 -0
- package/lib/typescript/src/primitives/avatar/avatar.d.ts.map +1 -0
- package/lib/typescript/src/primitives/avatar/avatar.types.d.ts +42 -0
- package/lib/typescript/src/primitives/avatar/avatar.types.d.ts.map +1 -0
- package/lib/typescript/src/primitives/avatar/avatar.utils.d.ts +44 -0
- package/lib/typescript/src/primitives/avatar/avatar.utils.d.ts.map +1 -0
- package/lib/typescript/src/primitives/avatar/index.d.ts +3 -0
- package/lib/typescript/src/primitives/avatar/index.d.ts.map +1 -0
- package/lib/typescript/src/primitives/bottom-sheet/bottom-sheet.d.ts +38 -0
- package/lib/typescript/src/primitives/bottom-sheet/bottom-sheet.d.ts.map +1 -0
- package/lib/typescript/src/primitives/bottom-sheet/bottom-sheet.types.d.ts +87 -0
- package/lib/typescript/src/primitives/bottom-sheet/bottom-sheet.types.d.ts.map +1 -0
- package/lib/typescript/src/primitives/bottom-sheet/index.d.ts +3 -0
- package/lib/typescript/src/primitives/bottom-sheet/index.d.ts.map +1 -0
- package/lib/typescript/src/primitives/checkbox/checkbox.d.ts +17 -0
- package/lib/typescript/src/primitives/checkbox/checkbox.d.ts.map +1 -0
- package/lib/typescript/src/primitives/checkbox/checkbox.types.d.ts +30 -0
- package/lib/typescript/src/primitives/checkbox/checkbox.types.d.ts.map +1 -0
- package/lib/typescript/src/primitives/checkbox/index.d.ts +3 -0
- package/lib/typescript/src/primitives/checkbox/index.d.ts.map +1 -0
- package/lib/typescript/src/primitives/dialog/dialog.d.ts +38 -0
- package/lib/typescript/src/primitives/dialog/dialog.d.ts.map +1 -0
- package/lib/typescript/src/primitives/dialog/dialog.types.d.ts +87 -0
- package/lib/typescript/src/primitives/dialog/dialog.types.d.ts.map +1 -0
- package/lib/typescript/src/primitives/dialog/index.d.ts +3 -0
- package/lib/typescript/src/primitives/dialog/index.d.ts.map +1 -0
- package/lib/typescript/src/primitives/label/index.d.ts +3 -0
- package/lib/typescript/src/primitives/label/index.d.ts.map +1 -0
- package/lib/typescript/src/primitives/label/label.d.ts +12 -0
- package/lib/typescript/src/primitives/label/label.d.ts.map +1 -0
- package/lib/typescript/src/primitives/label/label.types.d.ts +26 -0
- package/lib/typescript/src/primitives/label/label.types.d.ts.map +1 -0
- package/lib/typescript/src/primitives/popover/index.d.ts +3 -0
- package/lib/typescript/src/primitives/popover/index.d.ts.map +1 -0
- package/lib/typescript/src/primitives/popover/popover.d.ts +38 -0
- package/lib/typescript/src/primitives/popover/popover.d.ts.map +1 -0
- package/lib/typescript/src/primitives/popover/popover.types.d.ts +165 -0
- package/lib/typescript/src/primitives/popover/popover.types.d.ts.map +1 -0
- package/lib/typescript/src/primitives/portal/index.d.ts +2 -0
- package/lib/typescript/src/primitives/portal/index.d.ts.map +1 -0
- package/lib/typescript/src/primitives/portal/portal.d.ts +25 -0
- package/lib/typescript/src/primitives/portal/portal.d.ts.map +1 -0
- package/lib/typescript/src/primitives/radio-group/index.d.ts +3 -0
- package/lib/typescript/src/primitives/radio-group/index.d.ts.map +1 -0
- package/lib/typescript/src/primitives/radio-group/radio-group.d.ts +20 -0
- package/lib/typescript/src/primitives/radio-group/radio-group.d.ts.map +1 -0
- package/lib/typescript/src/primitives/radio-group/radio-group.types.d.ts +46 -0
- package/lib/typescript/src/primitives/radio-group/radio-group.types.d.ts.map +1 -0
- package/lib/typescript/src/primitives/select/index.d.ts +3 -0
- package/lib/typescript/src/primitives/select/index.d.ts.map +1 -0
- package/lib/typescript/src/primitives/select/select.d.ts +70 -0
- package/lib/typescript/src/primitives/select/select.d.ts.map +1 -0
- package/lib/typescript/src/primitives/select/select.types.d.ts +264 -0
- package/lib/typescript/src/primitives/select/select.types.d.ts.map +1 -0
- package/lib/typescript/src/primitives/slot/index.d.ts +2 -0
- package/lib/typescript/src/primitives/slot/index.d.ts.map +1 -0
- package/lib/typescript/src/primitives/slot/slot.d.ts +9 -0
- package/lib/typescript/src/primitives/slot/slot.d.ts.map +1 -0
- package/lib/typescript/src/primitives/slot/types.d.ts +11 -0
- package/lib/typescript/src/primitives/slot/types.d.ts.map +1 -0
- package/lib/typescript/src/primitives/slot/utils.d.ts +8 -0
- package/lib/typescript/src/primitives/slot/utils.d.ts.map +1 -0
- package/lib/typescript/src/primitives/switch/index.d.ts +3 -0
- package/lib/typescript/src/primitives/switch/index.d.ts.map +1 -0
- package/lib/typescript/src/primitives/switch/switch.d.ts +8 -0
- package/lib/typescript/src/primitives/switch/switch.d.ts.map +1 -0
- package/lib/typescript/src/primitives/switch/switch.types.d.ts +44 -0
- package/lib/typescript/src/primitives/switch/switch.types.d.ts.map +1 -0
- package/lib/typescript/src/primitives/tabs/index.d.ts +3 -0
- package/lib/typescript/src/primitives/tabs/index.d.ts.map +1 -0
- package/lib/typescript/src/primitives/tabs/tabs.d.ts +40 -0
- package/lib/typescript/src/primitives/tabs/tabs.d.ts.map +1 -0
- package/lib/typescript/src/primitives/tabs/tabs.types.d.ts +48 -0
- package/lib/typescript/src/primitives/tabs/tabs.types.d.ts.map +1 -0
- package/lib/typescript/src/primitives/toast/index.d.ts +3 -0
- package/lib/typescript/src/primitives/toast/index.d.ts.map +1 -0
- package/lib/typescript/src/primitives/toast/toast.d.ts +24 -0
- package/lib/typescript/src/primitives/toast/toast.d.ts.map +1 -0
- package/lib/typescript/src/primitives/toast/toast.types.d.ts +56 -0
- package/lib/typescript/src/primitives/toast/toast.types.d.ts.map +1 -0
- package/lib/typescript/src/providers/animation-settings/index.d.ts +3 -0
- package/lib/typescript/src/providers/animation-settings/index.d.ts.map +1 -0
- package/lib/typescript/src/providers/animation-settings/provider.d.ts +23 -0
- package/lib/typescript/src/providers/animation-settings/provider.d.ts.map +1 -0
- package/lib/typescript/src/providers/animation-settings/types.d.ts +26 -0
- package/lib/typescript/src/providers/animation-settings/types.d.ts.map +1 -0
- package/lib/typescript/src/providers/hero-ui-native/index.d.ts +3 -0
- package/lib/typescript/src/providers/hero-ui-native/index.d.ts.map +1 -0
- package/lib/typescript/src/providers/hero-ui-native/provider.d.ts +42 -0
- package/lib/typescript/src/providers/hero-ui-native/provider.d.ts.map +1 -0
- package/lib/typescript/src/providers/hero-ui-native/types.d.ts +80 -0
- package/lib/typescript/src/providers/hero-ui-native/types.d.ts.map +1 -0
- package/lib/typescript/src/providers/text-component/index.d.ts +3 -0
- package/lib/typescript/src/providers/text-component/index.d.ts.map +1 -0
- package/lib/typescript/src/providers/text-component/provider.d.ts +4 -0
- package/lib/typescript/src/providers/text-component/provider.d.ts.map +1 -0
- package/lib/typescript/src/providers/text-component/types.d.ts +51 -0
- package/lib/typescript/src/providers/text-component/types.d.ts.map +1 -0
- package/lib/typescript/src/providers/toast/index.d.ts +4 -0
- package/lib/typescript/src/providers/toast/index.d.ts.map +1 -0
- package/lib/typescript/src/providers/toast/insets-container.d.ts +35 -0
- package/lib/typescript/src/providers/toast/insets-container.d.ts.map +1 -0
- package/lib/typescript/src/providers/toast/provider.d.ts +32 -0
- package/lib/typescript/src/providers/toast/provider.d.ts.map +1 -0
- package/lib/typescript/src/providers/toast/reducer.d.ts +6 -0
- package/lib/typescript/src/providers/toast/reducer.d.ts.map +1 -0
- package/lib/typescript/src/providers/toast/toast-config.context.d.ts +20 -0
- package/lib/typescript/src/providers/toast/toast-config.context.d.ts.map +1 -0
- package/lib/typescript/src/providers/toast/toast-item-renderer.d.ts +7 -0
- package/lib/typescript/src/providers/toast/toast-item-renderer.d.ts.map +1 -0
- package/lib/typescript/src/providers/toast/types.d.ts +355 -0
- package/lib/typescript/src/providers/toast/types.d.ts.map +1 -0
- package/package.json +177 -0
- package/src/components/accordion/accordion.animation.ts +178 -0
- package/src/components/accordion/accordion.constants.ts +62 -0
- package/src/components/accordion/accordion.md +406 -0
- package/src/components/accordion/accordion.styles.ts +95 -0
- package/src/components/accordion/accordion.tsx +330 -0
- package/src/components/accordion/accordion.types.ts +262 -0
- package/src/components/accordion/chevron-down-icon.tsx +25 -0
- package/src/components/accordion/index.ts +16 -0
- package/src/components/avatar/avatar.animation.ts +123 -0
- package/src/components/avatar/avatar.constants.ts +19 -0
- package/src/components/avatar/avatar.context.ts +11 -0
- package/src/components/avatar/avatar.md +376 -0
- package/src/components/avatar/avatar.styles.ts +153 -0
- package/src/components/avatar/avatar.tsx +298 -0
- package/src/components/avatar/avatar.types.ts +231 -0
- package/src/components/avatar/index.ts +12 -0
- package/src/components/avatar/person-icon.tsx +23 -0
- package/src/components/bottom-sheet/bottom-sheet.animation.ts +42 -0
- package/src/components/bottom-sheet/bottom-sheet.constants.ts +13 -0
- package/src/components/bottom-sheet/bottom-sheet.md +341 -0
- package/src/components/bottom-sheet/bottom-sheet.styles.ts +67 -0
- package/src/components/bottom-sheet/bottom-sheet.tsx +395 -0
- package/src/components/bottom-sheet/bottom-sheet.types.ts +199 -0
- package/src/components/bottom-sheet/index.ts +16 -0
- package/src/components/button/button.constants.ts +7 -0
- package/src/components/button/button.md +316 -0
- package/src/components/button/button.styles.ts +89 -0
- package/src/components/button/button.tsx +248 -0
- package/src/components/button/button.types.ts +88 -0
- package/src/components/button/index.ts +8 -0
- package/src/components/card/card.constants.ts +11 -0
- package/src/components/card/card.md +187 -0
- package/src/components/card/card.styles.ts +37 -0
- package/src/components/card/card.tsx +148 -0
- package/src/components/card/card.types.ts +77 -0
- package/src/components/card/index.ts +9 -0
- package/src/components/checkbox/checkbox.animation.ts +201 -0
- package/src/components/checkbox/checkbox.constants.ts +6 -0
- package/src/components/checkbox/checkbox.md +305 -0
- package/src/components/checkbox/checkbox.styles.ts +106 -0
- package/src/components/checkbox/checkbox.tsx +245 -0
- package/src/components/checkbox/checkbox.types.ts +211 -0
- package/src/components/checkbox/index.ts +2 -0
- package/src/components/chip/chip.animation.ts +18 -0
- package/src/components/chip/chip.constants.ts +7 -0
- package/src/components/chip/chip.md +190 -0
- package/src/components/chip/chip.styles.ts +235 -0
- package/src/components/chip/chip.tsx +125 -0
- package/src/components/chip/chip.types.ts +69 -0
- package/src/components/chip/index.ts +2 -0
- package/src/components/dialog/dialog.animation.ts +9 -0
- package/src/components/dialog/dialog.constants.ts +13 -0
- package/src/components/dialog/dialog.md +363 -0
- package/src/components/dialog/dialog.styles.ts +84 -0
- package/src/components/dialog/dialog.tsx +392 -0
- package/src/components/dialog/dialog.types.ts +244 -0
- package/src/components/dialog/index.ts +12 -0
- package/src/components/divider/divider.constants.ts +6 -0
- package/src/components/divider/divider.md +98 -0
- package/src/components/divider/divider.styles.ts +47 -0
- package/src/components/divider/divider.tsx +62 -0
- package/src/components/divider/divider.types.ts +40 -0
- package/src/components/divider/index.ts +6 -0
- package/src/components/error-view/error-view.animation.ts +52 -0
- package/src/components/error-view/error-view.constants.ts +31 -0
- package/src/components/error-view/error-view.md +177 -0
- package/src/components/error-view/error-view.styles.ts +17 -0
- package/src/components/error-view/error-view.tsx +73 -0
- package/src/components/error-view/error-view.types.ts +70 -0
- package/src/components/error-view/index.ts +2 -0
- package/src/components/form-field/form-field.animation.ts +18 -0
- package/src/components/form-field/form-field.constants.ts +10 -0
- package/src/components/form-field/form-field.context.ts +13 -0
- package/src/components/form-field/form-field.md +243 -0
- package/src/components/form-field/form-field.styles.ts +40 -0
- package/src/components/form-field/form-field.tsx +301 -0
- package/src/components/form-field/form-field.types.ts +86 -0
- package/src/components/form-field/index.ts +7 -0
- package/src/components/popover/arrow-svg.tsx +180 -0
- package/src/components/popover/index.ts +19 -0
- package/src/components/popover/popover.animation.ts +9 -0
- package/src/components/popover/popover.constants.ts +34 -0
- package/src/components/popover/popover.md +521 -0
- package/src/components/popover/popover.styles.ts +92 -0
- package/src/components/popover/popover.tsx +637 -0
- package/src/components/popover/popover.types.ts +370 -0
- package/src/components/pressable-feedback/index.ts +3 -0
- package/src/components/pressable-feedback/pressable-feedback.animation.ts +380 -0
- package/src/components/pressable-feedback/pressable-feedback.constants.ts +11 -0
- package/src/components/pressable-feedback/pressable-feedback.md +246 -0
- package/src/components/pressable-feedback/pressable-feedback.styles.ts +106 -0
- package/src/components/pressable-feedback/pressable-feedback.tsx +291 -0
- package/src/components/pressable-feedback/pressable-feedback.types.ts +350 -0
- package/src/components/radio-group/index.ts +17 -0
- package/src/components/radio-group/radio-group.animation.ts +92 -0
- package/src/components/radio-group/radio-group.constants.ts +14 -0
- package/src/components/radio-group/radio-group.md +303 -0
- package/src/components/radio-group/radio-group.styles.ts +101 -0
- package/src/components/radio-group/radio-group.tsx +327 -0
- package/src/components/radio-group/radio-group.types.ts +152 -0
- package/src/components/scroll-shadow/index.ts +6 -0
- package/src/components/scroll-shadow/scroll-shadow.animation.ts +132 -0
- package/src/components/scroll-shadow/scroll-shadow.constants.ts +21 -0
- package/src/components/scroll-shadow/scroll-shadow.md +191 -0
- package/src/components/scroll-shadow/scroll-shadow.styles.ts +47 -0
- package/src/components/scroll-shadow/scroll-shadow.tsx +246 -0
- package/src/components/scroll-shadow/scroll-shadow.types.ts +121 -0
- package/src/components/select/index.ts +25 -0
- package/src/components/select/select.animation.ts +9 -0
- package/src/components/select/select.constants.ts +37 -0
- package/src/components/select/select.md +735 -0
- package/src/components/select/select.styles.ts +154 -0
- package/src/components/select/select.tsx +736 -0
- package/src/components/select/select.types.ts +432 -0
- package/src/components/skeleton/index.ts +6 -0
- package/src/components/skeleton/linear-gradient.tsx +45 -0
- package/src/components/skeleton/skeleton.animation.ts +349 -0
- package/src/components/skeleton/skeleton.constants.ts +39 -0
- package/src/components/skeleton/skeleton.md +200 -0
- package/src/components/skeleton/skeleton.styles.ts +57 -0
- package/src/components/skeleton/skeleton.tsx +183 -0
- package/src/components/skeleton/skeleton.types.ts +191 -0
- package/src/components/skeleton-group/index.ts +6 -0
- package/src/components/skeleton-group/skeleton-group.constants.ts +7 -0
- package/src/components/skeleton-group/skeleton-group.md +247 -0
- package/src/components/skeleton-group/skeleton-group.styles.ts +8 -0
- package/src/components/skeleton-group/skeleton-group.tsx +94 -0
- package/src/components/skeleton-group/skeleton-group.types.ts +28 -0
- package/src/components/spinner/index.ts +9 -0
- package/src/components/spinner/spinner-icon.tsx +49 -0
- package/src/components/spinner/spinner.animation.ts +150 -0
- package/src/components/spinner/spinner.constants.ts +36 -0
- package/src/components/spinner/spinner.md +199 -0
- package/src/components/spinner/spinner.styles.ts +46 -0
- package/src/components/spinner/spinner.tsx +195 -0
- package/src/components/spinner/spinner.types.ts +158 -0
- package/src/components/surface/index.ts +2 -0
- package/src/components/surface/surface.animation.ts +18 -0
- package/src/components/surface/surface.constants.ts +6 -0
- package/src/components/surface/surface.md +141 -0
- package/src/components/surface/surface.styles.ts +26 -0
- package/src/components/surface/surface.tsx +66 -0
- package/src/components/surface/surface.types.ts +47 -0
- package/src/components/switch/index.ts +2 -0
- package/src/components/switch/switch.animation.ts +246 -0
- package/src/components/switch/switch.constants.ts +26 -0
- package/src/components/switch/switch.md +332 -0
- package/src/components/switch/switch.styles.ts +85 -0
- package/src/components/switch/switch.tsx +280 -0
- package/src/components/switch/switch.types.ts +208 -0
- package/src/components/tabs/index.ts +7 -0
- package/src/components/tabs/tabs.animation.ts +167 -0
- package/src/components/tabs/tabs.constants.ts +16 -0
- package/src/components/tabs/tabs.context.ts +28 -0
- package/src/components/tabs/tabs.md +492 -0
- package/src/components/tabs/tabs.styles.ts +127 -0
- package/src/components/tabs/tabs.tsx +372 -0
- package/src/components/tabs/tabs.types.ts +263 -0
- package/src/components/text-field/index.ts +10 -0
- package/src/components/text-field/text-field.animation.ts +299 -0
- package/src/components/text-field/text-field.constants.ts +36 -0
- package/src/components/text-field/text-field.md +377 -0
- package/src/components/text-field/text-field.styles.ts +106 -0
- package/src/components/text-field/text-field.tsx +375 -0
- package/src/components/text-field/text-field.types.ts +349 -0
- package/src/components/toast/index.ts +2 -0
- package/src/components/toast/toast.animation.ts +381 -0
- package/src/components/toast/toast.constants.ts +10 -0
- package/src/components/toast/toast.md +417 -0
- package/src/components/toast/toast.styles.ts +91 -0
- package/src/components/toast/toast.tsx +428 -0
- package/src/components/toast/toast.types.ts +316 -0
- package/src/helpers/components/animated-check-icon.tsx +78 -0
- package/src/helpers/components/bottom-sheet-content-container.tsx +49 -0
- package/src/helpers/components/check-icon.tsx +28 -0
- package/src/helpers/components/close-icon.tsx +29 -0
- package/src/helpers/components/full-window-overlay.tsx +6 -0
- package/src/helpers/components/hero-text.tsx +71 -0
- package/src/helpers/components/index.ts +5 -0
- package/src/helpers/contexts/animation-settings-context.tsx +19 -0
- package/src/helpers/contexts/index.ts +5 -0
- package/src/helpers/hooks/index.ts +11 -0
- package/src/helpers/hooks/use-augmented-ref.ts +32 -0
- package/src/helpers/hooks/use-combined-animation-disabled-state.ts +49 -0
- package/src/helpers/hooks/use-controllable-state.ts +102 -0
- package/src/helpers/hooks/use-keyboard-status.ts +22 -0
- package/src/helpers/hooks/use-popup-bottom-sheet-content-animation.ts +77 -0
- package/src/helpers/hooks/use-popup-dialog-content-animation.ts +279 -0
- package/src/helpers/hooks/use-popup-overlay-animation.ts +70 -0
- package/src/helpers/hooks/use-popup-popover-content-animation.ts +154 -0
- package/src/helpers/hooks/use-popup-root-animation.ts +248 -0
- package/src/helpers/hooks/use-relative-position.ts +353 -0
- package/src/helpers/hooks/use-resolved-style-property.ts +118 -0
- package/src/helpers/theme/color-kit/index.ts +2392 -0
- package/src/helpers/theme/color-kit/types.ts +212 -0
- package/src/helpers/theme/hooks/use-is-on-surface.ts +8 -0
- package/src/helpers/theme/hooks/use-theme-color.ts +56 -0
- package/src/helpers/theme/index.ts +4 -0
- package/src/helpers/theme/types.ts +89 -0
- package/src/helpers/theme/utils/cn.ts +12 -0
- package/src/helpers/theme/utils/combine-styles.ts +17 -0
- package/src/helpers/types/animation.ts +183 -0
- package/src/helpers/types/bottom-sheet.ts +74 -0
- package/src/helpers/types/index.ts +4 -0
- package/src/helpers/types/misc.ts +10 -0
- package/src/helpers/types/primitives.ts +146 -0
- package/src/helpers/utils/animation.ts +266 -0
- package/src/helpers/utils/children-to-string.ts +78 -0
- package/src/helpers/utils/create-context.ts +60 -0
- package/src/helpers/utils/ease-gradient/create-interpolation.ts +35 -0
- package/src/helpers/utils/ease-gradient/index.ts +97 -0
- package/src/helpers/utils/get-element-by-display-name.ts +15 -0
- package/src/helpers/utils/get-element-with-default.ts +17 -0
- package/src/helpers/utils/has-prop.ts +18 -0
- package/src/helpers/utils/index.ts +7 -0
- package/src/index.tsx +33 -0
- package/src/primitives/README.md +27 -0
- package/src/primitives/accordion/accordion.tsx +270 -0
- package/src/primitives/accordion/accordion.types.ts +117 -0
- package/src/primitives/accordion/accordion.utils.ts +12 -0
- package/src/primitives/accordion/index.ts +2 -0
- package/src/primitives/activity-indicator/activity-indicator.tsx +50 -0
- package/src/primitives/activity-indicator/activity-indicator.types.ts +24 -0
- package/src/primitives/activity-indicator/index.ts +2 -0
- package/src/primitives/avatar/avatar.tsx +171 -0
- package/src/primitives/avatar/avatar.types.ts +62 -0
- package/src/primitives/avatar/avatar.utils.ts +102 -0
- package/src/primitives/avatar/index.ts +2 -0
- package/src/primitives/bottom-sheet/bottom-sheet.tsx +246 -0
- package/src/primitives/bottom-sheet/bottom-sheet.types.ts +127 -0
- package/src/primitives/bottom-sheet/index.ts +2 -0
- package/src/primitives/checkbox/checkbox.tsx +121 -0
- package/src/primitives/checkbox/checkbox.types.ts +39 -0
- package/src/primitives/checkbox/index.ts +2 -0
- package/src/primitives/dialog/dialog.tsx +274 -0
- package/src/primitives/dialog/dialog.types.ts +129 -0
- package/src/primitives/dialog/index.ts +2 -0
- package/src/primitives/label/index.ts +2 -0
- package/src/primitives/label/label.tsx +24 -0
- package/src/primitives/label/label.types.ts +37 -0
- package/src/primitives/popover/index.ts +2 -0
- package/src/primitives/popover/popover.tsx +394 -0
- package/src/primitives/popover/popover.types.ts +202 -0
- package/src/primitives/portal/index.ts +1 -0
- package/src/primitives/portal/portal.tsx +126 -0
- package/src/primitives/radio-group/index.ts +2 -0
- package/src/primitives/radio-group/radio-group.tsx +114 -0
- package/src/primitives/radio-group/radio-group.types.ts +65 -0
- package/src/primitives/select/index.ts +2 -0
- package/src/primitives/select/select.tsx +641 -0
- package/src/primitives/select/select.types.ts +333 -0
- package/src/primitives/slot/index.ts +1 -0
- package/src/primitives/slot/slot.tsx +121 -0
- package/src/primitives/slot/types.ts +19 -0
- package/src/primitives/slot/utils.ts +90 -0
- package/src/primitives/switch/index.ts +2 -0
- package/src/primitives/switch/switch.tsx +61 -0
- package/src/primitives/switch/switch.types.ts +55 -0
- package/src/primitives/tabs/index.ts +2 -0
- package/src/primitives/tabs/tabs.tsx +202 -0
- package/src/primitives/tabs/tabs.types.ts +77 -0
- package/src/primitives/toast/index.ts +2 -0
- package/src/primitives/toast/toast.tsx +138 -0
- package/src/primitives/toast/toast.types.ts +86 -0
- package/src/providers/animation-settings/index.ts +8 -0
- package/src/providers/animation-settings/provider.tsx +47 -0
- package/src/providers/animation-settings/types.ts +27 -0
- package/src/providers/hero-ui-native/index.ts +2 -0
- package/src/providers/hero-ui-native/provider.md +332 -0
- package/src/providers/hero-ui-native/provider.tsx +92 -0
- package/src/providers/hero-ui-native/types.ts +82 -0
- package/src/providers/text-component/index.ts +2 -0
- package/src/providers/text-component/provider.tsx +9 -0
- package/src/providers/text-component/types.ts +52 -0
- package/src/providers/toast/index.ts +3 -0
- package/src/providers/toast/insets-container.tsx +74 -0
- package/src/providers/toast/provider.tsx +426 -0
- package/src/providers/toast/reducer.ts +34 -0
- package/src/providers/toast/toast-config.context.ts +27 -0
- package/src/providers/toast/toast-item-renderer.tsx +45 -0
- package/src/providers/toast/types.ts +367 -0
- package/src/styles/index.css +3 -0
- package/src/styles/theme.css +205 -0
- package/src/styles/theme.md +423 -0
- package/src/styles/utilities.css +8 -0
- package/src/styles/variables.css +113 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 NextUI Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://heroui.com">
|
|
3
|
+
<img width="100%" src="https://heroui-assets.nyc3.cdn.digitaloceanspaces.com/images/heroui-native-repo-2.png" alt="heroui" />
|
|
4
|
+
</a>
|
|
5
|
+
</p>
|
|
6
|
+
<p align="center">
|
|
7
|
+
<a href="https://github.com/heroui-inc/heroui-native/blob/beta/LICENSE">
|
|
8
|
+
<img src="https://img.shields.io/npm/l/@heroui/react?style=flat" alt="License">
|
|
9
|
+
</a>
|
|
10
|
+
<a href="https://www.npmjs.com/package/heroui-native">
|
|
11
|
+
<img src="https://img.shields.io/npm/dm/heroui-native.svg?style=flat-round" alt="npm downloads">
|
|
12
|
+
</a>
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
<p align="center">
|
|
16
|
+
Beautiful, fast and modern React Native UI library
|
|
17
|
+
</p>
|
|
18
|
+
|
|
19
|
+
<p align="center">
|
|
20
|
+
v1.0.0-beta.10
|
|
21
|
+
</p>
|
|
22
|
+
|
|
23
|
+
## Getting Started
|
|
24
|
+
|
|
25
|
+
Visit <a aria-label="heroui learn" href="https://v3.heroui.com/docs/native/getting-started/quick-start">https://v3.heroui.com/docs/native/getting-started/quick-start</a> to get started with HeroUI Native.
|
|
26
|
+
|
|
27
|
+
## Documentation
|
|
28
|
+
|
|
29
|
+
Visit [https://v3.heroui.com/docs/native/getting-started](https://v3.heroui.com/docs/native/getting-started) to view the full documentation.
|
|
30
|
+
|
|
31
|
+
## Preview App
|
|
32
|
+
|
|
33
|
+
Experience HeroUI Native components in action with our preview app! You can explore all components and their variants directly on your device.
|
|
34
|
+
|
|
35
|
+
### Prerequisites
|
|
36
|
+
|
|
37
|
+
Make sure you have the latest version of [Expo Go](https://expo.dev/go) installed on your mobile device
|
|
38
|
+
|
|
39
|
+
### How to Access
|
|
40
|
+
|
|
41
|
+
Choose one of the following methods to access the preview app:
|
|
42
|
+
|
|
43
|
+
#### Option 1: Scan the QR Code
|
|
44
|
+
|
|
45
|
+
Use your device's camera or Expo Go app to scan:
|
|
46
|
+
|
|
47
|
+
<p align="center">
|
|
48
|
+
<img width="25%" src="https://heroui-assets.nyc3.cdn.digitaloceanspaces.com/images/qr-code-native.png" alt="Expo Go QR Code" />
|
|
49
|
+
</p>
|
|
50
|
+
|
|
51
|
+
> **Note for Android users:** If scanning the QR code with your device's camera or other scanner apps redirects to a browser and shows a 404 error, open Expo Go first and use its built-in QR scanner instead.
|
|
52
|
+
|
|
53
|
+
#### Option 2: Click the Link
|
|
54
|
+
|
|
55
|
+
**[📱 Open Demo App in Expo Go](https://link.heroui.com/native-demo)**
|
|
56
|
+
|
|
57
|
+
This will automatically open the app in Expo Go if it's installed on your device.
|
|
58
|
+
|
|
59
|
+
## Quick Start with Example App
|
|
60
|
+
|
|
61
|
+
Want to start building with HeroUI Native immediately? We provide a standalone example app that's fully configured and ready to use:
|
|
62
|
+
|
|
63
|
+
**[🚀 HeroUI Native Example App](https://github.com/heroui-inc/heroui-native-example)**
|
|
64
|
+
|
|
65
|
+
This repository contains a pre-configured React Native app with HeroUI Native already set up, including:
|
|
66
|
+
|
|
67
|
+
- All necessary dependencies installed
|
|
68
|
+
- Uniwind configuration ready
|
|
69
|
+
- Example components showcasing best practices
|
|
70
|
+
- Perfect for quickly prototyping or starting a new project
|
|
71
|
+
|
|
72
|
+
Simply clone, install, and start building!
|
|
73
|
+
|
|
74
|
+
## Changelog
|
|
75
|
+
|
|
76
|
+
See [CHANGELOG.md](./CHANGELOG.md) for a history of changes to this library.
|
|
77
|
+
|
|
78
|
+
## Roadmap
|
|
79
|
+
|
|
80
|
+
See [Roadmap](https://herouinative.featurebase.app/roadmap) to see what we're working on.
|
|
81
|
+
|
|
82
|
+
## Community
|
|
83
|
+
|
|
84
|
+
We're excited to see the community adopt HeroUI, raise issues, and provide feedback.
|
|
85
|
+
Whether it's a feature request, bug report, or a project to showcase, please get involved!
|
|
86
|
+
|
|
87
|
+
- [Discord](https://discord.gg/9b6yyZKmH4)
|
|
88
|
+
- [X](https://x.com/hero_ui)
|
|
89
|
+
- [GitHub Discussions](https://github.com/heroui-inc/heroui/discussions)
|
|
90
|
+
|
|
91
|
+
## Contributing
|
|
92
|
+
|
|
93
|
+
Contributions are always welcome! We appreciate your help in making HeroUI Native better.
|
|
94
|
+
|
|
95
|
+
### How to Contribute
|
|
96
|
+
|
|
97
|
+
- **Bug Fixes**: Check our [GitHub Issues](https://github.com/heroui-inc/heroui-native/issues) for bugs that need fixing
|
|
98
|
+
- **New Components**: Only core team can add new components. Check our [Roadmap](https://herouinative.featurebase.app/roadmap) to see what's planned
|
|
99
|
+
- **Feature Proposals**: Start a discussion in [GitHub Discussions](https://github.com/heroui-inc/heroui/discussions) before implementing
|
|
100
|
+
|
|
101
|
+
**Important:** Please do not add new components or variants, change existing designs, or modify component behavior without prior discussion. We follow a strict design system based on our Figma designs and roadmap.
|
|
102
|
+
|
|
103
|
+
For detailed guidelines, see [CONTRIBUTING.md](https://github.com/heroui-inc/heroui-native/blob/main/CONTRIBUTING.md).
|
|
104
|
+
|
|
105
|
+
Please adhere to this project's [CODE_OF_CONDUCT](https://github.com/heroui-inc/heroui-native/blob/main/CODE_OF_CONDUCT.md).
|
|
106
|
+
|
|
107
|
+
## License
|
|
108
|
+
|
|
109
|
+
[MIT](./LICENSE)
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useEffect } from 'react';
|
|
4
|
+
import { interpolate, useAnimatedStyle, useSharedValue, withSpring } from 'react-native-reanimated';
|
|
5
|
+
import { useAnimationSettings } from "../../helpers/contexts/index.js";
|
|
6
|
+
import { useCombinedAnimationDisabledState } from "../../helpers/hooks/index.js";
|
|
7
|
+
import { createContext } from "../../helpers/utils/index.js";
|
|
8
|
+
import { getAnimationState, getAnimationValueMergedConfig, getAnimationValueProperty, getIsAnimationDisabledValue, getRootAnimationState } from "../../helpers/utils/animation.js";
|
|
9
|
+
import { ACCORDION_LAYOUT_TRANSITION, DEFAULT_CONTENT_ENTERING, DEFAULT_CONTENT_EXITING, INDICATOR_SPRING_CONFIG } from "./accordion.constants.js";
|
|
10
|
+
const [AccordionAnimationProvider, useAccordionAnimation] = createContext({
|
|
11
|
+
name: 'AccordionAnimationContext'
|
|
12
|
+
});
|
|
13
|
+
export { AccordionAnimationProvider, useAccordionAnimation };
|
|
14
|
+
|
|
15
|
+
// --------------------------------------------------
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Animation hook for Accordion root component
|
|
19
|
+
* Handles layout transition configuration and provides context for child components
|
|
20
|
+
*/
|
|
21
|
+
export function useAccordionRootAnimation(options) {
|
|
22
|
+
const {
|
|
23
|
+
animation
|
|
24
|
+
} = options;
|
|
25
|
+
const isAllAnimationsDisabled = useCombinedAnimationDisabledState(animation);
|
|
26
|
+
const {
|
|
27
|
+
animationConfig,
|
|
28
|
+
isAnimationDisabled
|
|
29
|
+
} = getRootAnimationState(animation);
|
|
30
|
+
const isAnimationDisabledValue = getIsAnimationDisabledValue({
|
|
31
|
+
isAnimationDisabled,
|
|
32
|
+
isAllAnimationsDisabled
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
// Layout transition animation
|
|
36
|
+
const layoutTransitionValue = getAnimationValueProperty({
|
|
37
|
+
animationValue: animationConfig?.layout,
|
|
38
|
+
property: 'value',
|
|
39
|
+
defaultValue: ACCORDION_LAYOUT_TRANSITION
|
|
40
|
+
});
|
|
41
|
+
return {
|
|
42
|
+
layoutTransition: isAnimationDisabledValue ? undefined : layoutTransitionValue,
|
|
43
|
+
isAllAnimationsDisabled
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// --------------------------------------------------
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Animation hook for Accordion Indicator component
|
|
51
|
+
* Handles rotation animation for the chevron icon
|
|
52
|
+
*/
|
|
53
|
+
export function useAccordionIndicatorAnimation(options) {
|
|
54
|
+
const {
|
|
55
|
+
animation,
|
|
56
|
+
isExpanded
|
|
57
|
+
} = options;
|
|
58
|
+
|
|
59
|
+
// Read from global animation context (always available in compound parts)
|
|
60
|
+
const {
|
|
61
|
+
isAllAnimationsDisabled
|
|
62
|
+
} = useAnimationSettings();
|
|
63
|
+
const {
|
|
64
|
+
animationConfig,
|
|
65
|
+
isAnimationDisabled
|
|
66
|
+
} = getAnimationState(animation);
|
|
67
|
+
const isAnimationDisabledValue = getIsAnimationDisabledValue({
|
|
68
|
+
isAnimationDisabled,
|
|
69
|
+
isAllAnimationsDisabled
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
// Rotation animation values
|
|
73
|
+
const rotationValue = getAnimationValueProperty({
|
|
74
|
+
animationValue: animationConfig?.rotation,
|
|
75
|
+
property: 'value',
|
|
76
|
+
defaultValue: [0, -180]
|
|
77
|
+
});
|
|
78
|
+
const rotationSpringConfig = getAnimationValueMergedConfig({
|
|
79
|
+
animationValue: animationConfig?.rotation,
|
|
80
|
+
property: 'springConfig',
|
|
81
|
+
defaultValue: INDICATOR_SPRING_CONFIG
|
|
82
|
+
});
|
|
83
|
+
const rotation = useSharedValue(0);
|
|
84
|
+
useEffect(() => {
|
|
85
|
+
if (isAnimationDisabledValue) {
|
|
86
|
+
rotation.set(isExpanded ? 1 : 0);
|
|
87
|
+
} else {
|
|
88
|
+
rotation.set(withSpring(isExpanded ? 1 : 0, rotationSpringConfig));
|
|
89
|
+
}
|
|
90
|
+
}, [isExpanded, isAnimationDisabledValue, rotation, rotationSpringConfig]);
|
|
91
|
+
const rContainerStyle = useAnimatedStyle(() => {
|
|
92
|
+
return {
|
|
93
|
+
transform: [{
|
|
94
|
+
rotate: interpolate(rotation.get(), [0, 1], [rotationValue[0], rotationValue[1]]) + 'deg'
|
|
95
|
+
}]
|
|
96
|
+
};
|
|
97
|
+
});
|
|
98
|
+
return {
|
|
99
|
+
rContainerStyle
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// --------------------------------------------------
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Animation hook for Accordion Content component
|
|
107
|
+
* Handles entering and exiting animations
|
|
108
|
+
*/
|
|
109
|
+
export function useAccordionContentAnimation(options) {
|
|
110
|
+
const {
|
|
111
|
+
animation
|
|
112
|
+
} = options;
|
|
113
|
+
|
|
114
|
+
// Read from global animation context (always available in compound parts)
|
|
115
|
+
const {
|
|
116
|
+
isAllAnimationsDisabled
|
|
117
|
+
} = useAnimationSettings();
|
|
118
|
+
const {
|
|
119
|
+
animationConfig,
|
|
120
|
+
isAnimationDisabled
|
|
121
|
+
} = getAnimationState(animation);
|
|
122
|
+
const isAnimationDisabledValue = getIsAnimationDisabledValue({
|
|
123
|
+
isAnimationDisabled,
|
|
124
|
+
isAllAnimationsDisabled
|
|
125
|
+
});
|
|
126
|
+
|
|
127
|
+
// Entering animation
|
|
128
|
+
const enteringValue = getAnimationValueProperty({
|
|
129
|
+
animationValue: animationConfig?.entering,
|
|
130
|
+
property: 'value',
|
|
131
|
+
defaultValue: DEFAULT_CONTENT_ENTERING
|
|
132
|
+
});
|
|
133
|
+
|
|
134
|
+
// Exiting animation
|
|
135
|
+
const exitingValue = getAnimationValueProperty({
|
|
136
|
+
animationValue: animationConfig?.exiting,
|
|
137
|
+
property: 'value',
|
|
138
|
+
defaultValue: DEFAULT_CONTENT_EXITING
|
|
139
|
+
});
|
|
140
|
+
return {
|
|
141
|
+
entering: isAnimationDisabledValue ? undefined : enteringValue,
|
|
142
|
+
exiting: isAnimationDisabledValue ? undefined : exitingValue
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
//# sourceMappingURL=accordion.animation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useEffect","interpolate","useAnimatedStyle","useSharedValue","withSpring","useAnimationSettings","useCombinedAnimationDisabledState","createContext","getAnimationState","getAnimationValueMergedConfig","getAnimationValueProperty","getIsAnimationDisabledValue","getRootAnimationState","ACCORDION_LAYOUT_TRANSITION","DEFAULT_CONTENT_ENTERING","DEFAULT_CONTENT_EXITING","INDICATOR_SPRING_CONFIG","AccordionAnimationProvider","useAccordionAnimation","name","useAccordionRootAnimation","options","animation","isAllAnimationsDisabled","animationConfig","isAnimationDisabled","isAnimationDisabledValue","layoutTransitionValue","animationValue","layout","property","defaultValue","layoutTransition","undefined","useAccordionIndicatorAnimation","isExpanded","rotationValue","rotation","rotationSpringConfig","set","rContainerStyle","transform","rotate","get","useAccordionContentAnimation","enteringValue","entering","exitingValue","exiting"],"sourceRoot":"../../../../src","sources":["components/accordion/accordion.animation.ts"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,OAAO;AACjC,SACEC,WAAW,EACXC,gBAAgB,EAChBC,cAAc,EACdC,UAAU,QACL,yBAAyB;AAChC,SAASC,oBAAoB,QAAQ,iCAAwB;AAC7D,SAASC,iCAAiC,QAAQ,8BAAqB;AACvE,SAASC,aAAa,QAAQ,8BAAqB;AACnD,SACEC,iBAAiB,EACjBC,6BAA6B,EAC7BC,yBAAyB,EACzBC,2BAA2B,EAC3BC,qBAAqB,QAChB,kCAA+B;AACtC,SACEC,2BAA2B,EAC3BC,wBAAwB,EACxBC,uBAAuB,EACvBC,uBAAuB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,CAAC;EAE7E,MAAMI,wBAAwB,GAAGf,2BAA2B,CAAC;IAC3Dc,mBAAmB;IACnBF;EACF,CAAC,CAAC;;EAEF;EACA,MAAMsB,aAAa,GAAGnC,yBAAyB,CAAC;IAC9CkB,cAAc,EAAEJ,eAAe,EAAEsB,QAAQ;IACzChB,QAAQ,EAAE,OAAO;IACjBC,YAAY,EAAEjB;EAChB,CAAC,CAAC;;EAEF;EACA,MAAMiC,YAAY,GAAGrC,yBAAyB,CAAC;IAC7CkB,cAAc,EAAEJ,eAAe,EAAEwB,OAAO;IACxClB,QAAQ,EAAE,OAAO;IACjBC,YAAY,EAAEhB;EAChB,CAAC,CAAC;EAEF,OAAO;IACL+B,QAAQ,EAAEpB,wBAAwB,GAAGO,SAAS,GAAGY,aAAa;IAC9DG,OAAO,EAAEtB,wBAAwB,GAAGO,SAAS,GAAGc;EAClD,CAAC;AACH","ignoreList":[]}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { Easing, FadeIn, FadeOut, LinearTransition } from 'react-native-reanimated';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Display names for Accordion components
|
|
7
|
+
*/
|
|
8
|
+
export const DISPLAY_NAME = {
|
|
9
|
+
ROOT: 'HeroUINative.Accordion.Root',
|
|
10
|
+
ITEM: 'HeroUINative.Accordion.Item',
|
|
11
|
+
TRIGGER: 'HeroUINative.Accordion.Trigger',
|
|
12
|
+
INDICATOR: 'HeroUINative.Accordion.Indicator',
|
|
13
|
+
CONTENT: 'HeroUINative.Accordion.Content',
|
|
14
|
+
CHEVRON_DOWN_ICON: 'HeroUINative.Accordion.ChevronDownIcon'
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Default layout transition for accordion animations
|
|
19
|
+
*/
|
|
20
|
+
export const ACCORDION_LAYOUT_TRANSITION = LinearTransition.springify().damping(140).stiffness(1600).mass(4);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Default icon size for the indicator
|
|
24
|
+
*/
|
|
25
|
+
export const DEFAULT_ICON_SIZE = 16;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Rotation values for indicator animation
|
|
29
|
+
*/
|
|
30
|
+
export const INDICATOR_ROTATION = {
|
|
31
|
+
COLLAPSED: '0deg',
|
|
32
|
+
EXPANDED: '180deg'
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Spring configuration for indicator animation
|
|
37
|
+
*/
|
|
38
|
+
export const INDICATOR_SPRING_CONFIG = {
|
|
39
|
+
damping: 140,
|
|
40
|
+
stiffness: 1000,
|
|
41
|
+
mass: 4
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Default entering animation for accordion content
|
|
46
|
+
*/
|
|
47
|
+
export const DEFAULT_CONTENT_ENTERING = FadeIn.duration(200).easing(Easing.out(Easing.ease));
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Default exiting animation for accordion content
|
|
51
|
+
*/
|
|
52
|
+
export const DEFAULT_CONTENT_EXITING = FadeOut.duration(200).easing(Easing.in(Easing.ease));
|
|
53
|
+
//# sourceMappingURL=accordion.constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Easing","FadeIn","FadeOut","LinearTransition","DISPLAY_NAME","ROOT","ITEM","TRIGGER","INDICATOR","CONTENT","CHEVRON_DOWN_ICON","ACCORDION_LAYOUT_TRANSITION","springify","damping","stiffness","mass","DEFAULT_ICON_SIZE","INDICATOR_ROTATION","COLLAPSED","EXPANDED","INDICATOR_SPRING_CONFIG","DEFAULT_CONTENT_ENTERING","duration","easing","out","ease","DEFAULT_CONTENT_EXITING","in"],"sourceRoot":"../../../../src","sources":["components/accordion/accordion.constants.ts"],"mappings":";;AAAA,SACEA,MAAM,EACNC,MAAM,EACNC,OAAO,EACPC,gBAAgB,QACX,yBAAyB;;AAEhC;AACA;AACA;AACA,OAAO,MAAMC,YAAY,GAAG;EAC1BC,IAAI,EAAE,6BAA6B;EACnCC,IAAI,EAAE,6BAA6B;EACnCC,OAAO,EAAE,gCAAgC;EACzCC,SAAS,EAAE,kCAAkC;EAC7CC,OAAO,EAAE,gCAAgC;EACzCC,iBAAiB,EAAE;AACrB,CAAU;;AAEV;AACA;AACA;AACA,OAAO,MAAMC,2BAA2B,GAAGR,gBAAgB,CAACS,SAAS,CAAC,CAAC,CACpEC,OAAO,CAAC,GAAG,CAAC,CACZC,SAAS,CAAC,IAAI,CAAC,CACfC,IAAI,CAAC,CAAC,CAAC;;AAEV;AACA;AACA;AACA,OAAO,MAAMC,iBAAiB,GAAG,EAAE;;AAEnC;AACA;AACA;AACA,OAAO,MAAMC,kBAAkB,GAAG;EAChCC,SAAS,EAAE,MAAM;EACjBC,QAAQ,EAAE;AACZ,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMC,uBAAuB,GAAG;EACrCP,OAAO,EAAE,GAAG;EACZC,SAAS,EAAE,IAAI;EACfC,IAAI,EAAE;AACR,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMM,wBAAwB,GAAGpB,MAAM,CAACqB,QAAQ,CAAC,GAAG,CAAC,CAACC,MAAM,CACjEvB,MAAM,CAACwB,GAAG,CAACxB,MAAM,CAACyB,IAAI,CACxB,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMC,uBAAuB,GAAGxB,OAAO,CAACoB,QAAQ,CAAC,GAAG,CAAC,CAACC,MAAM,CACjEvB,MAAM,CAAC2B,EAAE,CAAC3B,MAAM,CAACyB,IAAI,CACvB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { Children, forwardRef, useMemo } from 'react';
|
|
4
|
+
import Animated from 'react-native-reanimated';
|
|
5
|
+
import { AnimationSettingsProvider } from "../../helpers/contexts/animation-settings-context.js";
|
|
6
|
+
import { useThemeColor } from "../../helpers/theme/hooks/use-theme-color.js";
|
|
7
|
+
import { createContext } from "../../helpers/utils/index.js";
|
|
8
|
+
import * as AccordionPrimitive from "../../primitives/accordion/index.js";
|
|
9
|
+
import { AccordionAnimationProvider, useAccordionAnimation, useAccordionContentAnimation, useAccordionIndicatorAnimation, useAccordionRootAnimation } from "./accordion.animation.js";
|
|
10
|
+
import { DEFAULT_ICON_SIZE, DISPLAY_NAME } from "./accordion.constants.js";
|
|
11
|
+
import accordionStyles, { styleSheet } from "./accordion.styles.js";
|
|
12
|
+
import { ChevronDownIcon } from "./chevron-down-icon.js";
|
|
13
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
+
const AnimatedRootView = Animated.createAnimatedComponent(AccordionPrimitive.Root);
|
|
15
|
+
const AnimatedItemView = Animated.createAnimatedComponent(AccordionPrimitive.Item);
|
|
16
|
+
const AnimatedIndicator = Animated.createAnimatedComponent(AccordionPrimitive.Indicator);
|
|
17
|
+
|
|
18
|
+
// ------------------------------------------------------------------------------
|
|
19
|
+
|
|
20
|
+
const [AccordionInnerProvider, useAccordionInnerContext] = createContext({
|
|
21
|
+
name: 'AccordionInnerContext'
|
|
22
|
+
});
|
|
23
|
+
const useAccordion = AccordionPrimitive.useRootContext;
|
|
24
|
+
const useAccordionItem = AccordionPrimitive.useItemContext;
|
|
25
|
+
|
|
26
|
+
// ------------------------------------------------------------------------------
|
|
27
|
+
|
|
28
|
+
const Root = /*#__PURE__*/forwardRef((props, ref) => {
|
|
29
|
+
const {
|
|
30
|
+
children,
|
|
31
|
+
variant = 'default',
|
|
32
|
+
isDividerVisible = true,
|
|
33
|
+
className,
|
|
34
|
+
classNames,
|
|
35
|
+
style,
|
|
36
|
+
animation,
|
|
37
|
+
...restProps
|
|
38
|
+
} = props;
|
|
39
|
+
const {
|
|
40
|
+
container,
|
|
41
|
+
divider
|
|
42
|
+
} = accordionStyles.root({
|
|
43
|
+
variant
|
|
44
|
+
});
|
|
45
|
+
const containerStyles = container({
|
|
46
|
+
className: [className, classNames?.container]
|
|
47
|
+
});
|
|
48
|
+
const dividerStyles = divider({
|
|
49
|
+
className: classNames?.divider
|
|
50
|
+
});
|
|
51
|
+
const {
|
|
52
|
+
layoutTransition,
|
|
53
|
+
isAllAnimationsDisabled
|
|
54
|
+
} = useAccordionRootAnimation({
|
|
55
|
+
animation
|
|
56
|
+
});
|
|
57
|
+
const contextValue = useMemo(() => ({
|
|
58
|
+
variant
|
|
59
|
+
}), [variant]);
|
|
60
|
+
const animationSettingsContextValue = useMemo(() => ({
|
|
61
|
+
isAllAnimationsDisabled
|
|
62
|
+
}), [isAllAnimationsDisabled]);
|
|
63
|
+
const animationContextValue = useMemo(() => ({
|
|
64
|
+
layoutTransition
|
|
65
|
+
}), [layoutTransition]);
|
|
66
|
+
return /*#__PURE__*/_jsx(AnimationSettingsProvider, {
|
|
67
|
+
value: animationSettingsContextValue,
|
|
68
|
+
children: /*#__PURE__*/_jsx(AccordionAnimationProvider, {
|
|
69
|
+
value: animationContextValue,
|
|
70
|
+
children: /*#__PURE__*/_jsx(AccordionInnerProvider, {
|
|
71
|
+
value: contextValue,
|
|
72
|
+
children: /*#__PURE__*/_jsx(AnimatedRootView, {
|
|
73
|
+
ref: ref,
|
|
74
|
+
className: containerStyles,
|
|
75
|
+
style: [styleSheet.root, style],
|
|
76
|
+
layout: layoutTransition,
|
|
77
|
+
...restProps,
|
|
78
|
+
children: Children.map(children, (child, index) => /*#__PURE__*/_jsxs(_Fragment, {
|
|
79
|
+
children: [child, isDividerVisible && index < Children.count(children) - 1 && /*#__PURE__*/_jsx(Animated.View, {
|
|
80
|
+
className: dividerStyles,
|
|
81
|
+
layout: layoutTransition
|
|
82
|
+
})]
|
|
83
|
+
}))
|
|
84
|
+
})
|
|
85
|
+
})
|
|
86
|
+
})
|
|
87
|
+
});
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
// ------------------------------------------------------------------------------
|
|
91
|
+
|
|
92
|
+
const Item = /*#__PURE__*/forwardRef((props, ref) => {
|
|
93
|
+
const {
|
|
94
|
+
children,
|
|
95
|
+
value,
|
|
96
|
+
layout: layoutProp,
|
|
97
|
+
className,
|
|
98
|
+
isDisabled: isDisabledProp,
|
|
99
|
+
...restProps
|
|
100
|
+
} = props;
|
|
101
|
+
const tvStyles = accordionStyles.item({
|
|
102
|
+
className
|
|
103
|
+
});
|
|
104
|
+
const {
|
|
105
|
+
layoutTransition
|
|
106
|
+
} = useAccordionAnimation();
|
|
107
|
+
const {
|
|
108
|
+
value: rootValue
|
|
109
|
+
} = useAccordion();
|
|
110
|
+
const itemValue = value;
|
|
111
|
+
const isExpanded = Array.isArray(rootValue) ? rootValue.includes(itemValue) : rootValue === itemValue;
|
|
112
|
+
const renderProps = useMemo(() => ({
|
|
113
|
+
isExpanded,
|
|
114
|
+
value: itemValue
|
|
115
|
+
}), [isExpanded, itemValue]);
|
|
116
|
+
const content = typeof children === 'function' ? children(renderProps) : children;
|
|
117
|
+
return /*#__PURE__*/_jsx(AnimatedItemView, {
|
|
118
|
+
ref: ref,
|
|
119
|
+
layout: layoutProp || layoutTransition,
|
|
120
|
+
value: value,
|
|
121
|
+
className: tvStyles,
|
|
122
|
+
isDisabled: isDisabledProp,
|
|
123
|
+
...restProps,
|
|
124
|
+
children: content
|
|
125
|
+
});
|
|
126
|
+
});
|
|
127
|
+
|
|
128
|
+
// ------------------------------------------------------------------------------
|
|
129
|
+
|
|
130
|
+
const Trigger = /*#__PURE__*/forwardRef((props, ref) => {
|
|
131
|
+
const {
|
|
132
|
+
children,
|
|
133
|
+
className,
|
|
134
|
+
...restProps
|
|
135
|
+
} = props;
|
|
136
|
+
const {
|
|
137
|
+
variant
|
|
138
|
+
} = useAccordionInnerContext();
|
|
139
|
+
const tvStyles = accordionStyles.trigger({
|
|
140
|
+
variant,
|
|
141
|
+
className
|
|
142
|
+
});
|
|
143
|
+
return /*#__PURE__*/_jsx(AccordionPrimitive.Header, {
|
|
144
|
+
children: /*#__PURE__*/_jsx(AccordionPrimitive.Trigger, {
|
|
145
|
+
ref: ref,
|
|
146
|
+
className: tvStyles,
|
|
147
|
+
...restProps,
|
|
148
|
+
children: children
|
|
149
|
+
})
|
|
150
|
+
});
|
|
151
|
+
});
|
|
152
|
+
|
|
153
|
+
// ------------------------------------------------------------------------------
|
|
154
|
+
|
|
155
|
+
const Indicator = /*#__PURE__*/forwardRef((props, ref) => {
|
|
156
|
+
const {
|
|
157
|
+
children,
|
|
158
|
+
className,
|
|
159
|
+
iconProps,
|
|
160
|
+
animation,
|
|
161
|
+
isAnimatedStyleActive = true,
|
|
162
|
+
style,
|
|
163
|
+
...restProps
|
|
164
|
+
} = props;
|
|
165
|
+
const {
|
|
166
|
+
isExpanded
|
|
167
|
+
} = useAccordionItem();
|
|
168
|
+
const themeColorForeground = useThemeColor('foreground');
|
|
169
|
+
const indicatorClassName = accordionStyles.indicator({
|
|
170
|
+
className
|
|
171
|
+
});
|
|
172
|
+
const {
|
|
173
|
+
rContainerStyle
|
|
174
|
+
} = useAccordionIndicatorAnimation({
|
|
175
|
+
animation,
|
|
176
|
+
isExpanded
|
|
177
|
+
});
|
|
178
|
+
const indicatorStyle = isAnimatedStyleActive ? [rContainerStyle, style] : style;
|
|
179
|
+
if (children) {
|
|
180
|
+
return /*#__PURE__*/_jsx(AnimatedIndicator, {
|
|
181
|
+
ref: ref,
|
|
182
|
+
className: indicatorClassName,
|
|
183
|
+
style: style,
|
|
184
|
+
...restProps,
|
|
185
|
+
children: children
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
return /*#__PURE__*/_jsx(AnimatedIndicator, {
|
|
189
|
+
ref: ref,
|
|
190
|
+
className: indicatorClassName,
|
|
191
|
+
style: indicatorStyle,
|
|
192
|
+
...restProps,
|
|
193
|
+
children: /*#__PURE__*/_jsx(ChevronDownIcon, {
|
|
194
|
+
size: iconProps?.size ?? DEFAULT_ICON_SIZE,
|
|
195
|
+
color: iconProps?.color ?? themeColorForeground
|
|
196
|
+
})
|
|
197
|
+
});
|
|
198
|
+
});
|
|
199
|
+
|
|
200
|
+
// ------------------------------------------------------------------------------
|
|
201
|
+
|
|
202
|
+
const Content = /*#__PURE__*/forwardRef((props, ref) => {
|
|
203
|
+
const {
|
|
204
|
+
children,
|
|
205
|
+
className,
|
|
206
|
+
animation,
|
|
207
|
+
...restProps
|
|
208
|
+
} = props;
|
|
209
|
+
const {
|
|
210
|
+
variant
|
|
211
|
+
} = useAccordionInnerContext();
|
|
212
|
+
const {
|
|
213
|
+
isExpanded
|
|
214
|
+
} = useAccordionItem();
|
|
215
|
+
const tvStyles = accordionStyles.content({
|
|
216
|
+
variant,
|
|
217
|
+
className
|
|
218
|
+
});
|
|
219
|
+
const {
|
|
220
|
+
entering: animatedEntering,
|
|
221
|
+
exiting: animatedExiting
|
|
222
|
+
} = useAccordionContentAnimation({
|
|
223
|
+
animation
|
|
224
|
+
});
|
|
225
|
+
if (!isExpanded) {
|
|
226
|
+
return null;
|
|
227
|
+
}
|
|
228
|
+
return /*#__PURE__*/_jsx(Animated.View, {
|
|
229
|
+
entering: animatedEntering,
|
|
230
|
+
exiting: animatedExiting,
|
|
231
|
+
children: /*#__PURE__*/_jsx(AccordionPrimitive.Content, {
|
|
232
|
+
ref: ref,
|
|
233
|
+
className: tvStyles,
|
|
234
|
+
...restProps,
|
|
235
|
+
children: children
|
|
236
|
+
})
|
|
237
|
+
});
|
|
238
|
+
});
|
|
239
|
+
|
|
240
|
+
// ------------------------------------------------------------------------------
|
|
241
|
+
|
|
242
|
+
Root.displayName = DISPLAY_NAME.ROOT;
|
|
243
|
+
Item.displayName = DISPLAY_NAME.ITEM;
|
|
244
|
+
Trigger.displayName = DISPLAY_NAME.TRIGGER;
|
|
245
|
+
Indicator.displayName = DISPLAY_NAME.INDICATOR;
|
|
246
|
+
Content.displayName = DISPLAY_NAME.CONTENT;
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Compound Accordion component with sub-components
|
|
250
|
+
*
|
|
251
|
+
* @component Accordion - Main container that manages the accordion state and behavior.
|
|
252
|
+
* Controls expansion/collapse of items, supports single or multiple selection modes,
|
|
253
|
+
* and provides variant styling (default or surface).
|
|
254
|
+
*
|
|
255
|
+
* @component Accordion.Item - Container for individual accordion items.
|
|
256
|
+
* Wraps the trigger and content, managing the expanded state for each item.
|
|
257
|
+
* Supports render function children that receive expansion state.
|
|
258
|
+
*
|
|
259
|
+
* @component Accordion.Trigger - Interactive element that toggles item expansion.
|
|
260
|
+
* Built on Header and Trigger primitives.
|
|
261
|
+
*
|
|
262
|
+
* @component Accordion.Indicator - Optional visual indicator showing expansion state.
|
|
263
|
+
* Defaults to an animated chevron icon that rotates based on item state.
|
|
264
|
+
* Supports custom animation configuration.
|
|
265
|
+
*
|
|
266
|
+
* @component Accordion.Content - Container for expandable content.
|
|
267
|
+
* Animated with layout transitions for smooth expand/collapse effects.
|
|
268
|
+
* Supports custom entering and exiting animations.
|
|
269
|
+
*
|
|
270
|
+
* Props flow from Accordion to sub-components via context (variant).
|
|
271
|
+
* Animation state flows via AccordionAnimationProvider.
|
|
272
|
+
* Item expansion state is managed by the primitive accordion context.
|
|
273
|
+
*
|
|
274
|
+
* @see Full documentation: https://heroui.com/components/accordion
|
|
275
|
+
*/
|
|
276
|
+
const CompoundAccordion = Object.assign(Root, {
|
|
277
|
+
/** @required Container for individual accordion items */
|
|
278
|
+
Item,
|
|
279
|
+
/** @required Interactive trigger element */
|
|
280
|
+
Trigger,
|
|
281
|
+
/** @optional Visual indicator showing expansion state (defaults to chevron) */
|
|
282
|
+
Indicator,
|
|
283
|
+
/** @required Container for expandable content with animations */
|
|
284
|
+
Content
|
|
285
|
+
});
|
|
286
|
+
export default CompoundAccordion;
|
|
287
|
+
export { useAccordion, useAccordionItem };
|
|
288
|
+
//# sourceMappingURL=accordion.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Children","forwardRef","useMemo","Animated","AnimationSettingsProvider","useThemeColor","createContext","AccordionPrimitive","AccordionAnimationProvider","useAccordionAnimation","useAccordionContentAnimation","useAccordionIndicatorAnimation","useAccordionRootAnimation","DEFAULT_ICON_SIZE","DISPLAY_NAME","accordionStyles","styleSheet","ChevronDownIcon","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","AnimatedRootView","createAnimatedComponent","Root","AnimatedItemView","Item","AnimatedIndicator","Indicator","AccordionInnerProvider","useAccordionInnerContext","name","useAccordion","useRootContext","useAccordionItem","useItemContext","props","ref","children","variant","isDividerVisible","className","classNames","style","animation","restProps","container","divider","root","containerStyles","dividerStyles","layoutTransition","isAllAnimationsDisabled","contextValue","animationSettingsContextValue","animationContextValue","value","layout","map","child","index","count","View","layoutProp","isDisabled","isDisabledProp","tvStyles","item","rootValue","itemValue","isExpanded","Array","isArray","includes","renderProps","content","Trigger","trigger","Header","iconProps","isAnimatedStyleActive","themeColorForeground","indicatorClassName","indicator","rContainerStyle","indicatorStyle","size","color","Content","entering","animatedEntering","exiting","animatedExiting","displayName","ROOT","ITEM","TRIGGER","INDICATOR","CONTENT","CompoundAccordion","Object","assign"],"sourceRoot":"../../../../src","sources":["components/accordion/accordion.tsx"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,UAAU,EAAEC,OAAO,QAAQ,OAAO;AAErD,OAAOC,QAAQ,MAAM,yBAAyB;AAC9C,SAASC,yBAAyB,QAAQ,sDAAmD;AAC7F,SAASC,aAAa,QAAQ,8CAA2C;AAEzE,SAASC,aAAa,QAAQ,8BAAqB;AACnD,OAAO,KAAKC,kBAAkB,MAAM,qCAA4B;AAChE,SACEC,0BAA0B,EAC1BC,qBAAqB,EACrBC,4BAA4B,EAC5BC,8BAA8B,EAC9BC,yBAAyB,QACpB,0BAAuB;AAC9B,SAASC,iBAAiB,EAAEC,YAAY,QAAQ,0BAAuB;AACvE,OAAOC,eAAe,IAAIC,UAAU,QAAQ,uBAAoB;AAUhE,SAASC,eAAe,QAAQ,wBAAqB;AAAC,SAAAC,GAAA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