@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
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useEffect } from 'react';
|
|
4
|
+
import { interpolateColor, useAnimatedStyle, useSharedValue, withTiming } from 'react-native-reanimated';
|
|
5
|
+
import { useAnimationSettings } from "../../helpers/contexts/index.js";
|
|
6
|
+
import { useCombinedAnimationDisabledState } from "../../helpers/hooks/index.js";
|
|
7
|
+
import { useThemeColor } from "../../helpers/theme/index.js";
|
|
8
|
+
import { getAnimationState, getAnimationValueMergedConfig, getAnimationValueProperty, getIsAnimationDisabledValue } from "../../helpers/utils/animation.js";
|
|
9
|
+
import { ANIMATION_DURATION, ANIMATION_EASING, ENTERING_ANIMATION_CONFIG, EXITING_ANIMATION_CONFIG } from "./text-field.constants.js";
|
|
10
|
+
// --------------------------------------------------
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Animation hook for TextField Root component
|
|
14
|
+
* Handles root-level animation configuration and provides context for child components
|
|
15
|
+
*/
|
|
16
|
+
export function useTextFieldRootAnimation(options) {
|
|
17
|
+
const {
|
|
18
|
+
animation
|
|
19
|
+
} = options;
|
|
20
|
+
const isAllAnimationsDisabled = useCombinedAnimationDisabledState(animation);
|
|
21
|
+
return {
|
|
22
|
+
isAllAnimationsDisabled
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// --------------------------------------------------
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Animation hook for TextField Label component
|
|
30
|
+
* Handles entering and exiting animations for the label
|
|
31
|
+
*/
|
|
32
|
+
export function useTextFieldLabelAnimation(options) {
|
|
33
|
+
const {
|
|
34
|
+
animation
|
|
35
|
+
} = options;
|
|
36
|
+
const {
|
|
37
|
+
isAllAnimationsDisabled
|
|
38
|
+
} = useAnimationSettings();
|
|
39
|
+
const {
|
|
40
|
+
animationConfig,
|
|
41
|
+
isAnimationDisabled
|
|
42
|
+
} = getAnimationState(animation);
|
|
43
|
+
const isAnimationDisabledValue = getIsAnimationDisabledValue({
|
|
44
|
+
isAnimationDisabled,
|
|
45
|
+
isAllAnimationsDisabled
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
// Entering animation
|
|
49
|
+
const enteringValue = getAnimationValueProperty({
|
|
50
|
+
animationValue: animationConfig?.entering,
|
|
51
|
+
property: 'value',
|
|
52
|
+
defaultValue: ENTERING_ANIMATION_CONFIG
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
// Exiting animation
|
|
56
|
+
const exitingValue = getAnimationValueProperty({
|
|
57
|
+
animationValue: animationConfig?.exiting,
|
|
58
|
+
property: 'value',
|
|
59
|
+
defaultValue: EXITING_ANIMATION_CONFIG
|
|
60
|
+
});
|
|
61
|
+
return {
|
|
62
|
+
entering: isAnimationDisabledValue ? undefined : enteringValue,
|
|
63
|
+
exiting: isAnimationDisabledValue ? undefined : exitingValue
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// --------------------------------------------------
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Animation hook for TextField Description component
|
|
71
|
+
* Handles entering and exiting animations for the description text
|
|
72
|
+
*/
|
|
73
|
+
export function useTextFieldDescriptionAnimation(options) {
|
|
74
|
+
const {
|
|
75
|
+
animation
|
|
76
|
+
} = options;
|
|
77
|
+
const {
|
|
78
|
+
isAllAnimationsDisabled
|
|
79
|
+
} = useAnimationSettings();
|
|
80
|
+
const {
|
|
81
|
+
animationConfig,
|
|
82
|
+
isAnimationDisabled
|
|
83
|
+
} = getAnimationState(animation);
|
|
84
|
+
const isAnimationDisabledValue = getIsAnimationDisabledValue({
|
|
85
|
+
isAnimationDisabled,
|
|
86
|
+
isAllAnimationsDisabled
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
// Entering animation
|
|
90
|
+
const enteringValue = getAnimationValueProperty({
|
|
91
|
+
animationValue: animationConfig?.entering,
|
|
92
|
+
property: 'value',
|
|
93
|
+
defaultValue: ENTERING_ANIMATION_CONFIG
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
// Exiting animation
|
|
97
|
+
const exitingValue = getAnimationValueProperty({
|
|
98
|
+
animationValue: animationConfig?.exiting,
|
|
99
|
+
property: 'value',
|
|
100
|
+
defaultValue: EXITING_ANIMATION_CONFIG
|
|
101
|
+
});
|
|
102
|
+
return {
|
|
103
|
+
entering: isAnimationDisabledValue ? undefined : enteringValue,
|
|
104
|
+
exiting: isAnimationDisabledValue ? undefined : exitingValue
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// --------------------------------------------------
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Animation hook for TextField Input component
|
|
112
|
+
* Handles background color and border color animations for focus/blur and error states
|
|
113
|
+
*/
|
|
114
|
+
export function useTextFieldInputAnimation(options) {
|
|
115
|
+
const {
|
|
116
|
+
animation,
|
|
117
|
+
isInvalid
|
|
118
|
+
} = options;
|
|
119
|
+
const [themeColorFieldBackground, themeColorFieldFocusBackground, themeColorFieldBlurBorder, themeColorFieldFocusBorder, themeColorDanger] = useThemeColor(['field', 'field-focus', 'field-border', 'accent', 'danger']);
|
|
120
|
+
const {
|
|
121
|
+
isAllAnimationsDisabled
|
|
122
|
+
} = useAnimationSettings();
|
|
123
|
+
const {
|
|
124
|
+
animationConfig,
|
|
125
|
+
isAnimationDisabled
|
|
126
|
+
} = getAnimationState(animation);
|
|
127
|
+
const isAnimationDisabledValue = getIsAnimationDisabledValue({
|
|
128
|
+
isAnimationDisabled,
|
|
129
|
+
isAllAnimationsDisabled
|
|
130
|
+
});
|
|
131
|
+
|
|
132
|
+
// Background color animation
|
|
133
|
+
const backgroundColorValue = {
|
|
134
|
+
blur: animationConfig?.backgroundColor?.value?.blur ?? themeColorFieldBackground,
|
|
135
|
+
focus: animationConfig?.backgroundColor?.value?.focus ?? themeColorFieldFocusBackground,
|
|
136
|
+
error: animationConfig?.backgroundColor?.value?.error ?? themeColorFieldBackground
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
// Border color animation
|
|
140
|
+
const borderColorValue = {
|
|
141
|
+
blur: animationConfig?.borderColor?.value?.blur ?? themeColorFieldBlurBorder,
|
|
142
|
+
focus: animationConfig?.borderColor?.value?.focus ?? themeColorFieldFocusBorder,
|
|
143
|
+
error: animationConfig?.borderColor?.value?.error ?? themeColorDanger
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
// Focus/blur animation timing configuration
|
|
147
|
+
const focusTimingConfig = getAnimationValueMergedConfig({
|
|
148
|
+
animationValue: animationConfig?.focus,
|
|
149
|
+
property: 'timingConfig',
|
|
150
|
+
defaultValue: {
|
|
151
|
+
duration: ANIMATION_DURATION,
|
|
152
|
+
easing: ANIMATION_EASING
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
|
|
156
|
+
// Error state animation timing configuration
|
|
157
|
+
const errorTimingConfig = getAnimationValueMergedConfig({
|
|
158
|
+
animationValue: animationConfig?.error,
|
|
159
|
+
property: 'timingConfig',
|
|
160
|
+
defaultValue: {
|
|
161
|
+
duration: ANIMATION_DURATION,
|
|
162
|
+
easing: ANIMATION_EASING
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
const focusProgress = useSharedValue(0);
|
|
166
|
+
const errorProgress = useSharedValue(0);
|
|
167
|
+
const currentBgColor = useSharedValue(backgroundColorValue.blur);
|
|
168
|
+
const currentBorderColor = useSharedValue(borderColorValue.blur);
|
|
169
|
+
|
|
170
|
+
// Update error state when isInvalid changes
|
|
171
|
+
useEffect(() => {
|
|
172
|
+
if (isInvalid) {
|
|
173
|
+
errorProgress.set(withTiming(1, isAnimationDisabledValue ? {} : errorTimingConfig));
|
|
174
|
+
} else {
|
|
175
|
+
errorProgress.set(withTiming(0, isAnimationDisabledValue ? {} : errorTimingConfig));
|
|
176
|
+
}
|
|
177
|
+
}, [isInvalid, errorProgress, isAnimationDisabledValue, errorTimingConfig]);
|
|
178
|
+
const animatedContainerStyle = useAnimatedStyle(() => {
|
|
179
|
+
if (isInvalid) {
|
|
180
|
+
const errorBgColor = backgroundColorValue.error || currentBgColor.get();
|
|
181
|
+
const errorBorderColor = borderColorValue.error;
|
|
182
|
+
if (isAnimationDisabledValue) {
|
|
183
|
+
return {
|
|
184
|
+
backgroundColor: errorBgColor,
|
|
185
|
+
borderColor: errorBorderColor
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
return {
|
|
189
|
+
backgroundColor: interpolateColor(errorProgress.get(), [0, 1], [currentBgColor.get(), errorBgColor]),
|
|
190
|
+
borderColor: interpolateColor(errorProgress.get(), [0, 1], [currentBorderColor.get(), errorBorderColor])
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
if (isAnimationDisabledValue) {
|
|
194
|
+
return {
|
|
195
|
+
backgroundColor: focusProgress.get() ? backgroundColorValue.focus : backgroundColorValue.blur,
|
|
196
|
+
borderColor: focusProgress.get() ? borderColorValue.focus : borderColorValue.blur
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
return {
|
|
200
|
+
backgroundColor: interpolateColor(focusProgress.get(), [0, 1], [backgroundColorValue.blur, backgroundColorValue.focus]),
|
|
201
|
+
borderColor: interpolateColor(focusProgress.get(), [0, 1], [borderColorValue.blur, borderColorValue.focus])
|
|
202
|
+
};
|
|
203
|
+
});
|
|
204
|
+
const handleFocusAnimation = () => {
|
|
205
|
+
if (!isAnimationDisabledValue) {
|
|
206
|
+
focusProgress.set(withTiming(1, focusTimingConfig));
|
|
207
|
+
} else {
|
|
208
|
+
focusProgress.set(1);
|
|
209
|
+
}
|
|
210
|
+
currentBgColor.set(backgroundColorValue.focus);
|
|
211
|
+
currentBorderColor.set(borderColorValue.focus);
|
|
212
|
+
};
|
|
213
|
+
const handleBlurAnimation = () => {
|
|
214
|
+
if (!isAnimationDisabledValue) {
|
|
215
|
+
focusProgress.set(withTiming(0, focusTimingConfig));
|
|
216
|
+
} else {
|
|
217
|
+
focusProgress.set(0);
|
|
218
|
+
}
|
|
219
|
+
currentBgColor.set(backgroundColorValue.blur);
|
|
220
|
+
currentBorderColor.set(borderColorValue.blur);
|
|
221
|
+
};
|
|
222
|
+
return {
|
|
223
|
+
animatedContainerStyle,
|
|
224
|
+
handleFocusAnimation,
|
|
225
|
+
handleBlurAnimation
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
//# sourceMappingURL=text-field.animation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useEffect","interpolateColor","useAnimatedStyle","useSharedValue","withTiming","useAnimationSettings","useCombinedAnimationDisabledState","useThemeColor","getAnimationState","getAnimationValueMergedConfig","getAnimationValueProperty","getIsAnimationDisabledValue","ANIMATION_DURATION","ANIMATION_EASING","ENTERING_ANIMATION_CONFIG","EXITING_ANIMATION_CONFIG","useTextFieldRootAnimation","options","animation","isAllAnimationsDisabled","useTextFieldLabelAnimation","animationConfig","isAnimationDisabled","isAnimationDisabledValue","enteringValue","animationValue","entering","property","defaultValue","exitingValue","exiting","undefined","useTextFieldDescriptionAnimation","useTextFieldInputAnimation","isInvalid","themeColorFieldBackground","themeColorFieldFocusBackground","themeColorFieldBlurBorder","themeColorFieldFocusBorder","themeColorDanger","backgroundColorValue","blur","backgroundColor","value","focus","error","borderColorValue","borderColor","focusTimingConfig","duration","easing","errorTimingConfig","focusProgress","errorProgress","currentBgColor","currentBorderColor","set","animatedContainerStyle","errorBgColor","get","errorBorderColor","handleFocusAnimation","handleBlurAnimation"],"sourceRoot":"../../../../src","sources":["components/text-field/text-field.animation.ts"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,OAAO;AACjC,SACEC,gBAAgB,EAChBC,gBAAgB,EAChBC,cAAc,EACdC,UAAU,QACL,yBAAyB;AAChC,SAASC,oBAAoB,QAAQ,iCAAwB;AAC7D,SAASC,iCAAiC,QAAQ,8BAAqB;AACvE,SAASC,aAAa,QAAQ,8BAAqB;AAEnD,SACEC,iBAAiB,EACjBC,6BAA6B,EAC7BC,yBAAyB,EACzBC,2BAA2B,QACtB,kCAA+B;AACtC,SACEC,kBAAkB,EAClBC,gBAAgB,EAChBC,yBAAyB,EACzBC,wBAAwB,QACnB,2BAAwB;AAO/B;;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASC,yBAAyBA,CAACC,OAEzC,EAAE;EACD,MAAM;IAAEC;EAAU,CAAC,GAAGD,OAAO;EAE7B,MAAME,uBAAuB,GAAGb,iCAAiC,CAACY,SAAS,CAAC;EAE5E,OAAO;IACLC;EACF,CAAC;AACH;;AAEA;;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASC,0BAA0BA,CAACH,OAE1C,EAAE;EACD,MAAM;IAAEC;EAAU,CAAC,GAAGD,OAAO;EAE7B,MAAM;IAAEE;EAAwB,CAAC,G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,IAAI,EAAEK,gBAAgB,CAACF,KAAK,CAChD;IACF,CAAC;EACH,CAAC,CAAC;EAEF,MAAMiB,oBAAoB,GAAGA,CAAA,KAAM;IACjC,IAAI,CAACtC,wBAAwB,EAAE;MAC7B6B,aAAa,CAACI,GAAG,CAACpD,UAAU,CAAC,CAAC,EAAE4C,iBAAiB,CAAC,CAAC;IACrD,CAAC,MAAM;MACLI,aAAa,CAACI,GAAG,CAAC,CAAC,CAAC;IACtB;IACAF,cAAc,CAACE,GAAG,CAAChB,oBAAoB,CAACI,KAAK,CAAC;IAC9CW,kBAAkB,CAACC,GAAG,CAACV,gBAAgB,CAACF,KAAK,CAAC;EAChD,CAAC;EAED,MAAMkB,mBAAmB,GAAGA,CAAA,KAAM;IAChC,IAAI,CAACvC,wBAAwB,EAAE;MAC7B6B,aAAa,CAACI,GAAG,CAACpD,UAAU,CAAC,CAAC,EAAE4C,iBAAiB,CAAC,CAAC;IACrD,CAAC,MAAM;MACLI,aAAa,CAACI,GAAG,CAAC,CAAC,CAAC;IACtB;IACAF,cAAc,CAACE,GAAG,CAAChB,oBAAoB,CAACC,IAAI,CAAC;IAC7Cc,kBAAkB,CAACC,GAAG,CAACV,gBAAgB,CAACL,IAAI,CAAC;EAC/C,CAAC;EAED,OAAO;IACLgB,sBAAsB;IACtBI,oBAAoB;IACpBC;EACF,CAAC;AACH","ignoreList":[]}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { Easing, FadeIn, FadeOut } from 'react-native-reanimated';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Display names for TextField components
|
|
7
|
+
*/
|
|
8
|
+
export const DISPLAY_NAME = {
|
|
9
|
+
ROOT: 'HeroUINative.TextField.Root',
|
|
10
|
+
LABEL: 'HeroUINative.TextField.Label',
|
|
11
|
+
INPUT: 'HeroUINative.TextField.Input',
|
|
12
|
+
INPUT_START_CONTENT: 'HeroUINative.TextField.InputStartContent',
|
|
13
|
+
INPUT_END_CONTENT: 'HeroUINative.TextField.InputEndContent',
|
|
14
|
+
DESCRIPTION: 'HeroUINative.TextField.Description',
|
|
15
|
+
ERROR_MESSAGE: 'HeroUINative.TextField.ErrorMessage'
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Animation duration for focus/blur transitions
|
|
20
|
+
*/
|
|
21
|
+
export const ANIMATION_DURATION = 150;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Animation easing function for focus/blur transitions
|
|
25
|
+
*/
|
|
26
|
+
export const ANIMATION_EASING = Easing.out(Easing.ease);
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Animation configuration for entering transitions
|
|
30
|
+
*/
|
|
31
|
+
export const ENTERING_ANIMATION_CONFIG = FadeIn.duration(ANIMATION_DURATION).easing(ANIMATION_EASING);
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Animation configuration for exiting transitions
|
|
35
|
+
*/
|
|
36
|
+
export const EXITING_ANIMATION_CONFIG = FadeOut.duration(ANIMATION_DURATION).easing(ANIMATION_EASING);
|
|
37
|
+
//# sourceMappingURL=text-field.constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Easing","FadeIn","FadeOut","DISPLAY_NAME","ROOT","LABEL","INPUT","INPUT_START_CONTENT","INPUT_END_CONTENT","DESCRIPTION","ERROR_MESSAGE","ANIMATION_DURATION","ANIMATION_EASING","out","ease","ENTERING_ANIMATION_CONFIG","duration","easing","EXITING_ANIMATION_CONFIG"],"sourceRoot":"../../../../src","sources":["components/text-field/text-field.constants.ts"],"mappings":";;AAAA,SAASA,MAAM,EAAEC,MAAM,EAAEC,OAAO,QAAQ,yBAAyB;;AAEjE;AACA;AACA;AACA,OAAO,MAAMC,YAAY,GAAG;EAC1BC,IAAI,EAAE,6BAA6B;EACnCC,KAAK,EAAE,8BAA8B;EACrCC,KAAK,EAAE,8BAA8B;EACrCC,mBAAmB,EAAE,0CAA0C;EAC/DC,iBAAiB,EAAE,wCAAwC;EAC3DC,WAAW,EAAE,oCAAoC;EACjDC,aAAa,EAAE;AACjB,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMC,kBAAkB,GAAG,GAAG;;AAErC;AACA;AACA;AACA,OAAO,MAAMC,gBAAgB,GAAGZ,MAAM,CAACa,GAAG,CAACb,MAAM,CAACc,IAAI,CAAC;;AAEvD;AACA;AACA;AACA,OAAO,MAAMC,yBAAyB,GACpCd,MAAM,CAACe,QAAQ,CAACL,kBAAkB,CAAC,CAACM,MAAM,CAACL,gBAAgB,CAAC;;AAE9D;AACA;AACA;AACA,OAAO,MAAMM,wBAAwB,GACnChB,OAAO,CAACc,QAAQ,CAACL,kBAAkB,CAAC,CAACM,MAAM,CAACL,gBAAgB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { forwardRef, useMemo } from 'react';
|
|
4
|
+
import { TextInput, View } from 'react-native';
|
|
5
|
+
import Animated from 'react-native-reanimated';
|
|
6
|
+
import { HeroText } from "../../helpers/components/index.js";
|
|
7
|
+
import { AnimationSettingsProvider } from "../../helpers/contexts/animation-settings-context.js";
|
|
8
|
+
import { useThemeColor } from "../../helpers/theme/index.js";
|
|
9
|
+
import { createContext, getElementByDisplayName } from "../../helpers/utils/index.js";
|
|
10
|
+
import { ErrorView } from "../error-view/index.js";
|
|
11
|
+
import { useTextFieldDescriptionAnimation, useTextFieldInputAnimation, useTextFieldLabelAnimation, useTextFieldRootAnimation } from "./text-field.animation.js";
|
|
12
|
+
import { DISPLAY_NAME } from "./text-field.constants.js";
|
|
13
|
+
import textFieldStyles, { styleSheet } from "./text-field.styles.js";
|
|
14
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
|
+
const [TextFieldProvider, useTextField] = createContext({
|
|
16
|
+
name: 'TextFieldContext'
|
|
17
|
+
});
|
|
18
|
+
const AnimatedText = Animated.createAnimatedComponent(HeroText);
|
|
19
|
+
|
|
20
|
+
// --------------------------------------------------
|
|
21
|
+
|
|
22
|
+
const TextFieldRoot = /*#__PURE__*/forwardRef((props, ref) => {
|
|
23
|
+
const {
|
|
24
|
+
children,
|
|
25
|
+
className,
|
|
26
|
+
isDisabled = false,
|
|
27
|
+
isInvalid = false,
|
|
28
|
+
isRequired = false,
|
|
29
|
+
animation,
|
|
30
|
+
...restProps
|
|
31
|
+
} = props;
|
|
32
|
+
const tvStyles = textFieldStyles.root({
|
|
33
|
+
isDisabled,
|
|
34
|
+
className
|
|
35
|
+
});
|
|
36
|
+
const {
|
|
37
|
+
isAllAnimationsDisabled
|
|
38
|
+
} = useTextFieldRootAnimation({
|
|
39
|
+
animation
|
|
40
|
+
});
|
|
41
|
+
const contextValue = useMemo(() => ({
|
|
42
|
+
isDisabled,
|
|
43
|
+
isInvalid,
|
|
44
|
+
isRequired
|
|
45
|
+
}), [isDisabled, isInvalid, isRequired]);
|
|
46
|
+
const animationSettingsContextValue = useMemo(() => ({
|
|
47
|
+
isAllAnimationsDisabled
|
|
48
|
+
}), [isAllAnimationsDisabled]);
|
|
49
|
+
return /*#__PURE__*/_jsx(AnimationSettingsProvider, {
|
|
50
|
+
value: animationSettingsContextValue,
|
|
51
|
+
children: /*#__PURE__*/_jsx(TextFieldProvider, {
|
|
52
|
+
value: contextValue,
|
|
53
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
54
|
+
ref: ref,
|
|
55
|
+
className: tvStyles,
|
|
56
|
+
...restProps,
|
|
57
|
+
children: children
|
|
58
|
+
})
|
|
59
|
+
})
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
// --------------------------------------------------
|
|
64
|
+
|
|
65
|
+
const TextFieldLabel = /*#__PURE__*/forwardRef((props, ref) => {
|
|
66
|
+
const {
|
|
67
|
+
children,
|
|
68
|
+
className,
|
|
69
|
+
classNames,
|
|
70
|
+
isInvalid: localIsInvalid,
|
|
71
|
+
animation,
|
|
72
|
+
...restProps
|
|
73
|
+
} = props;
|
|
74
|
+
const {
|
|
75
|
+
isDisabled,
|
|
76
|
+
isInvalid: contextIsInvalid,
|
|
77
|
+
isRequired
|
|
78
|
+
} = useTextField();
|
|
79
|
+
const isInvalid = localIsInvalid !== undefined ? localIsInvalid : contextIsInvalid;
|
|
80
|
+
const tvStyles = textFieldStyles.label({
|
|
81
|
+
isDisabled,
|
|
82
|
+
isInvalid
|
|
83
|
+
});
|
|
84
|
+
const textStyles = tvStyles.text({
|
|
85
|
+
className: [className, classNames?.text]
|
|
86
|
+
});
|
|
87
|
+
const asteriskStyles = tvStyles.asterisk({
|
|
88
|
+
className: classNames?.asterisk
|
|
89
|
+
});
|
|
90
|
+
const {
|
|
91
|
+
entering,
|
|
92
|
+
exiting
|
|
93
|
+
} = useTextFieldLabelAnimation({
|
|
94
|
+
animation
|
|
95
|
+
});
|
|
96
|
+
return /*#__PURE__*/_jsxs(AnimatedText, {
|
|
97
|
+
ref: ref,
|
|
98
|
+
entering: entering,
|
|
99
|
+
exiting: exiting,
|
|
100
|
+
className: textStyles,
|
|
101
|
+
...restProps,
|
|
102
|
+
children: [children, isRequired && /*#__PURE__*/_jsx(HeroText, {
|
|
103
|
+
className: asteriskStyles,
|
|
104
|
+
children: " *"
|
|
105
|
+
})]
|
|
106
|
+
}, isInvalid ? 'label-invalid' : 'label-valid');
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
// --------------------------------------------------
|
|
110
|
+
|
|
111
|
+
const TextFieldInput = /*#__PURE__*/forwardRef((props, ref) => {
|
|
112
|
+
const {
|
|
113
|
+
children,
|
|
114
|
+
isInvalid: localIsInvalid,
|
|
115
|
+
className,
|
|
116
|
+
classNames,
|
|
117
|
+
style,
|
|
118
|
+
styles,
|
|
119
|
+
animation,
|
|
120
|
+
isAnimatedStyleActive = true,
|
|
121
|
+
onFocus,
|
|
122
|
+
onBlur,
|
|
123
|
+
...restProps
|
|
124
|
+
} = props;
|
|
125
|
+
const {
|
|
126
|
+
isInvalid: contextIsInvalid
|
|
127
|
+
} = useTextField();
|
|
128
|
+
const isInvalid = localIsInvalid !== undefined ? localIsInvalid : contextIsInvalid;
|
|
129
|
+
const startContent = getElementByDisplayName(children, DISPLAY_NAME.INPUT_START_CONTENT);
|
|
130
|
+
const endContent = getElementByDisplayName(children, DISPLAY_NAME.INPUT_END_CONTENT);
|
|
131
|
+
const [themeColorFieldPlaceholder, themeColorMuted] = useThemeColor(['field-placeholder', 'muted']);
|
|
132
|
+
const tvStyles = textFieldStyles.input({
|
|
133
|
+
isMultiline: Boolean(restProps.multiline)
|
|
134
|
+
});
|
|
135
|
+
const containerClassName = tvStyles.container({
|
|
136
|
+
className: [className, classNames?.container]
|
|
137
|
+
});
|
|
138
|
+
const inputStyles = tvStyles.input({
|
|
139
|
+
className: classNames?.input
|
|
140
|
+
});
|
|
141
|
+
const {
|
|
142
|
+
animatedContainerStyle,
|
|
143
|
+
handleFocusAnimation,
|
|
144
|
+
handleBlurAnimation
|
|
145
|
+
} = useTextFieldInputAnimation({
|
|
146
|
+
animation,
|
|
147
|
+
isInvalid
|
|
148
|
+
});
|
|
149
|
+
const containerStyle = isAnimatedStyleActive ? [animatedContainerStyle, styleSheet.borderCurve, style] : [styleSheet.borderCurve, style];
|
|
150
|
+
const handleFocus = e => {
|
|
151
|
+
handleFocusAnimation();
|
|
152
|
+
onFocus?.(e);
|
|
153
|
+
};
|
|
154
|
+
const handleBlur = e => {
|
|
155
|
+
handleBlurAnimation();
|
|
156
|
+
onBlur?.(e);
|
|
157
|
+
};
|
|
158
|
+
return /*#__PURE__*/_jsxs(Animated.View, {
|
|
159
|
+
className: containerClassName,
|
|
160
|
+
style: containerStyle,
|
|
161
|
+
children: [startContent, /*#__PURE__*/_jsx(TextInput, {
|
|
162
|
+
ref: ref,
|
|
163
|
+
className: inputStyles,
|
|
164
|
+
style: [styleSheet.borderCurve, styles?.input],
|
|
165
|
+
placeholderTextColor: themeColorFieldPlaceholder,
|
|
166
|
+
selectionColor: themeColorMuted,
|
|
167
|
+
selectionHandleColor: themeColorMuted,
|
|
168
|
+
onFocus: handleFocus,
|
|
169
|
+
onBlur: handleBlur,
|
|
170
|
+
textAlignVertical: restProps.multiline ? 'top' : 'center',
|
|
171
|
+
...restProps
|
|
172
|
+
}), endContent]
|
|
173
|
+
});
|
|
174
|
+
});
|
|
175
|
+
|
|
176
|
+
// --------------------------------------------------
|
|
177
|
+
|
|
178
|
+
const TextFieldInputStartContent = /*#__PURE__*/forwardRef((props, ref) => {
|
|
179
|
+
const {
|
|
180
|
+
children,
|
|
181
|
+
className,
|
|
182
|
+
...restProps
|
|
183
|
+
} = props;
|
|
184
|
+
const tvStyles = textFieldStyles.inputStartContent({
|
|
185
|
+
className
|
|
186
|
+
});
|
|
187
|
+
return /*#__PURE__*/_jsx(View, {
|
|
188
|
+
ref: ref,
|
|
189
|
+
className: tvStyles,
|
|
190
|
+
...restProps,
|
|
191
|
+
children: children
|
|
192
|
+
});
|
|
193
|
+
});
|
|
194
|
+
|
|
195
|
+
// --------------------------------------------------
|
|
196
|
+
|
|
197
|
+
const TextFieldInputEndContent = /*#__PURE__*/forwardRef((props, ref) => {
|
|
198
|
+
const {
|
|
199
|
+
children,
|
|
200
|
+
className,
|
|
201
|
+
...restProps
|
|
202
|
+
} = props;
|
|
203
|
+
const tvStyles = textFieldStyles.inputEndContent({
|
|
204
|
+
className
|
|
205
|
+
});
|
|
206
|
+
return /*#__PURE__*/_jsx(View, {
|
|
207
|
+
ref: ref,
|
|
208
|
+
className: tvStyles,
|
|
209
|
+
...restProps,
|
|
210
|
+
children: children
|
|
211
|
+
});
|
|
212
|
+
});
|
|
213
|
+
|
|
214
|
+
// --------------------------------------------------
|
|
215
|
+
|
|
216
|
+
const TextFieldDescription = /*#__PURE__*/forwardRef((props, ref) => {
|
|
217
|
+
const {
|
|
218
|
+
isInvalid: localIsInvalid,
|
|
219
|
+
children,
|
|
220
|
+
className,
|
|
221
|
+
animation,
|
|
222
|
+
...restProps
|
|
223
|
+
} = props;
|
|
224
|
+
const {
|
|
225
|
+
isInvalid: contextIsInvalid
|
|
226
|
+
} = useTextField();
|
|
227
|
+
const isInvalid = localIsInvalid !== undefined ? localIsInvalid : contextIsInvalid;
|
|
228
|
+
const tvStyles = textFieldStyles.description({
|
|
229
|
+
className
|
|
230
|
+
});
|
|
231
|
+
const {
|
|
232
|
+
entering,
|
|
233
|
+
exiting
|
|
234
|
+
} = useTextFieldDescriptionAnimation({
|
|
235
|
+
animation
|
|
236
|
+
});
|
|
237
|
+
if (isInvalid) return null;
|
|
238
|
+
return /*#__PURE__*/_jsx(AnimatedText, {
|
|
239
|
+
ref: ref,
|
|
240
|
+
entering: entering,
|
|
241
|
+
exiting: exiting,
|
|
242
|
+
className: tvStyles,
|
|
243
|
+
...restProps,
|
|
244
|
+
children: children
|
|
245
|
+
});
|
|
246
|
+
});
|
|
247
|
+
|
|
248
|
+
// --------------------------------------------------
|
|
249
|
+
|
|
250
|
+
const TextFieldErrorMessage = /*#__PURE__*/forwardRef((props, ref) => {
|
|
251
|
+
const {
|
|
252
|
+
isInvalid: contextIsInvalid
|
|
253
|
+
} = useTextField();
|
|
254
|
+
const {
|
|
255
|
+
className,
|
|
256
|
+
isInvalid: localIsInvalid,
|
|
257
|
+
...restProps
|
|
258
|
+
} = props;
|
|
259
|
+
const isInvalid = localIsInvalid !== undefined ? localIsInvalid : contextIsInvalid;
|
|
260
|
+
const tvStyles = textFieldStyles.errorMessage({
|
|
261
|
+
className
|
|
262
|
+
});
|
|
263
|
+
return /*#__PURE__*/_jsx(ErrorView, {
|
|
264
|
+
ref: ref,
|
|
265
|
+
isInvalid: isInvalid,
|
|
266
|
+
className: tvStyles,
|
|
267
|
+
...restProps
|
|
268
|
+
});
|
|
269
|
+
});
|
|
270
|
+
|
|
271
|
+
// --------------------------------------------------
|
|
272
|
+
|
|
273
|
+
TextFieldRoot.displayName = DISPLAY_NAME.ROOT;
|
|
274
|
+
TextFieldLabel.displayName = DISPLAY_NAME.LABEL;
|
|
275
|
+
TextFieldInput.displayName = DISPLAY_NAME.INPUT;
|
|
276
|
+
TextFieldInputStartContent.displayName = DISPLAY_NAME.INPUT_START_CONTENT;
|
|
277
|
+
TextFieldInputEndContent.displayName = DISPLAY_NAME.INPUT_END_CONTENT;
|
|
278
|
+
TextFieldDescription.displayName = DISPLAY_NAME.DESCRIPTION;
|
|
279
|
+
TextFieldErrorMessage.displayName = DISPLAY_NAME.ERROR_MESSAGE;
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* Compound TextField component with sub-components
|
|
283
|
+
*
|
|
284
|
+
* @component TextField - Main container that provides gap-1 spacing between children.
|
|
285
|
+
* Handles disabled state and validation state for the entire field.
|
|
286
|
+
*
|
|
287
|
+
* @component TextField.Label - Label with optional asterisk for required fields.
|
|
288
|
+
* Changes to danger color when field is invalid.
|
|
289
|
+
*
|
|
290
|
+
* @component TextField.Input - Input container with animated border and background.
|
|
291
|
+
* Supports start/end content slots and handles focus state animations.
|
|
292
|
+
* Border turns danger color when field is invalid.
|
|
293
|
+
*
|
|
294
|
+
* @component TextField.InputStartContent - Optional content at the start of the input.
|
|
295
|
+
* Use for icons or prefixes.
|
|
296
|
+
*
|
|
297
|
+
* @component TextField.InputEndContent - Optional content at the end of the input.
|
|
298
|
+
* Use for icons, suffixes, or action buttons.
|
|
299
|
+
*
|
|
300
|
+
* @component TextField.Description - Description text with muted styling.
|
|
301
|
+
* Hidden when field is invalid and error message is shown.
|
|
302
|
+
*
|
|
303
|
+
* @component TextField.ErrorMessage - Error message with danger styling.
|
|
304
|
+
* Shown with animation when field is invalid. Automatically populated from errorMessage prop.
|
|
305
|
+
*
|
|
306
|
+
* @see Full documentation: https://heroui.com/components/text-field
|
|
307
|
+
*/
|
|
308
|
+
const CompoundTextField = Object.assign(TextFieldRoot, {
|
|
309
|
+
/** @optional Label with asterisk support */
|
|
310
|
+
Label: TextFieldLabel,
|
|
311
|
+
/** @required Input container with focus animations */
|
|
312
|
+
Input: TextFieldInput,
|
|
313
|
+
/** @optional Start content for input */
|
|
314
|
+
InputStartContent: TextFieldInputStartContent,
|
|
315
|
+
/** @optional End content for input */
|
|
316
|
+
InputEndContent: TextFieldInputEndContent,
|
|
317
|
+
/** @optional Description or helper text */
|
|
318
|
+
Description: TextFieldDescription,
|
|
319
|
+
/** @optional Error message displayed when field is invalid */
|
|
320
|
+
ErrorMessage: TextFieldErrorMessage
|
|
321
|
+
});
|
|
322
|
+
export default CompoundTextField;
|
|
323
|
+
export { useTextField };
|
|
324
|
+
//# sourceMappingURL=text-field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["forwardRef","useMemo","TextInput","View","Animated","HeroText","AnimationSettingsProvider","useThemeColor","createContext","getElementByDisplayName","ErrorView","useTextFieldDescriptionAnimation","useTextFieldInputAnimation","useTextFieldLabelAnimation","useTextFieldRootAnimation","DISPLAY_NAME","textFieldStyles","styleSheet","jsx","_jsx","jsxs","_jsxs","TextFieldProvider","useTextField","name","AnimatedText","createAnimatedComponent","TextFieldRoot","props","ref","children","className","isDisabled","isInvalid","isRequired","animation","restProps","tvStyles","root","isAllAnimationsDisabled","contextValue","animationSettingsContextValue","value","TextFieldLabel","classNames","localIsInvalid","contextIsInvalid","undefined","label","textStyles","text","asteriskStyles","asterisk","entering","exiting","TextFieldInput","style","styles","isAnimatedStyleActive","onFocus","onBlur","startContent","INPUT_START_CONTENT","endContent","INPUT_END_CONTENT","themeColorFieldPlaceholder","themeColorMuted","input","isMultiline","Boolean","multiline","containerClassName","container","inputStyles","animatedContainerStyle","handleFocusAnimation","handleBlurAnimation","containerStyle","borderCurve","handleFocus","e","handleBlur","placeholderTextColor","selectionColor","selectionHandleColor","textAlignVertical","TextFieldInputStartContent","inputStartContent","TextFieldInputEndContent","inputEndContent","TextFieldDescription","description","TextFieldErrorMessage","errorMessage","displayName","ROOT","LABEL","INPUT","DESCRIPTION","ERROR_MESSAGE","CompoundTextField","Object","assign","Label","Input","InputStartContent","InputEndContent","Description","ErrorMessage"],"sourceRoot":"../../../../src","sources":["components/text-field/text-field.tsx"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,OAAO,QAAQ,OAAO;AAC3C,SACEC,SAAS,EACTC,IAAI,QAIC,cAAc;AACrB,OAAOC,QAAQ,MAAM,yBAAyB;AAC9C,SAASC,QAAQ,QAAQ,mCAA0B;AACnD,SAASC,yBAAyB,QAAQ,sDAAmD;AAC7F,SAASC,aAAa,QAAQ,8BAAqB;AAEnD,SAASC,aAAa,EAAEC,uBAAuB,QAAQ,8BAAqB;AAC5E,SAASC,SAAS,QAAQ,wBAAe;AACzC,SACEC,gCAAgC,EAChCC,0BAA0B,EAC1BC,0BAA0B,EAC1BC,yBAAyB,QACpB,2BAAwB;AAC/B,SAASC,YAAY,QAAQ,2BAAwB;AACrD,OAAOC,eAAe,IAAIC,UAAU,QAAQ,wBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAYlE,MAAM,CAACC,iBAAiB,EAAEC,YAAY,CAAC,GAAGf,aAAa,CAAwB;EAC7EgB,IAAI,EAAE;AACR,CAAC,CAAC;AAEF,MAAMC,YAAY,GAAGrB,QAAQ,CAACsB,uBAAuB,CAACrB,QAAQ,CAAC;;AAE/D;;AAEA,MAAMsB,aAAa,gBAAG3B,UAAU,CAA8B,CAAC4B,KAAK,EAAEC,GAAG,KAAK;EAC5E,MAAM;IACJC,QAAQ;IACRC,SAAS;IACTC,UAAU,GAAG,KAAK;IAClBC,SAAS,GAAG,KAAK;IACjBC,UAAU,GAAG,KAAK;IAClBC,SAAS;IACT,GAAGC;EACL,CAAC,GAAGR,KAAK;EAET,MAAMS,QAAQ,GAAGrB,eAAe,CAACsB,IAAI,CAAC;IAAEN,UAAU;IAAED;EAAU,CAAC,CAAC;EAEhE,MAAM;IAAEQ;EAAwB,CAAC,GAAGzB,yBAAyB,CAAC;IAAEqB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