@app-studio/components 0.11.13 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -2
- package/compiler/vite.d.mts +5 -0
- package/compiler/vite.mjs +190 -0
- package/dist/alert.cjs.js +2 -0
- package/dist/alert.cjs.js.map +1 -0
- package/dist/alert.esm.d.mts +1 -0
- package/dist/alert.esm.mjs +5 -0
- package/dist/alert.esm.mjs.map +1 -0
- package/dist/avatar.cjs.js +2 -0
- package/dist/avatar.cjs.js.map +1 -0
- package/dist/avatar.esm.d.mts +1 -0
- package/dist/avatar.esm.mjs +5 -0
- package/dist/avatar.esm.mjs.map +1 -0
- package/dist/button.cjs.js +2 -0
- package/dist/button.cjs.js.map +1 -0
- package/dist/button.esm.d.mts +1 -0
- package/dist/button.esm.mjs +5 -0
- package/dist/button.esm.mjs.map +1 -0
- package/dist/card.cjs.js +2 -0
- package/dist/card.cjs.js.map +1 -0
- package/dist/card.esm.d.mts +1 -0
- package/dist/card.esm.mjs +5 -0
- package/dist/card.esm.mjs.map +1 -0
- package/dist/checkbox.cjs.js +2 -0
- package/dist/checkbox.cjs.js.map +1 -0
- package/dist/checkbox.esm.d.mts +1 -0
- package/dist/checkbox.esm.mjs +5 -0
- package/dist/checkbox.esm.mjs.map +1 -0
- package/dist/chunks/Alert-B5vkpWXy.mjs +192 -0
- package/dist/chunks/Alert-B5vkpWXy.mjs.map +1 -0
- package/dist/chunks/Alert-BHlgJZAo.cjs +2 -0
- package/dist/chunks/Alert-BHlgJZAo.cjs.map +1 -0
- package/dist/chunks/AttachmentPreview-B2-kP0Bn.mjs +6525 -0
- package/dist/chunks/AttachmentPreview-B2-kP0Bn.mjs.map +1 -0
- package/dist/chunks/AttachmentPreview-BZV6xSa4.cjs +2 -0
- package/dist/chunks/AttachmentPreview-BZV6xSa4.cjs.map +1 -0
- package/dist/chunks/Avatar-CC1SDq6h.mjs +105 -0
- package/dist/chunks/Avatar-CC1SDq6h.mjs.map +1 -0
- package/dist/chunks/Avatar-DtfD7QQ6.cjs +2 -0
- package/dist/chunks/Avatar-DtfD7QQ6.cjs.map +1 -0
- package/dist/chunks/Button.core-BB25t8wB.cjs +7 -0
- package/dist/chunks/Button.core-BB25t8wB.cjs.map +1 -0
- package/dist/chunks/Button.core-oxCH_VTn.mjs +731 -0
- package/dist/chunks/Button.core-oxCH_VTn.mjs.map +1 -0
- package/dist/chunks/Button.pilot-BJK10U1-.mjs +6 -0
- package/dist/chunks/Button.pilot-BJK10U1-.mjs.map +1 -0
- package/dist/chunks/Button.pilot-eWGY9Jm5.cjs +2 -0
- package/dist/chunks/Button.pilot-eWGY9Jm5.cjs.map +1 -0
- package/dist/chunks/Card-CK_D7gzP.cjs +2 -0
- package/dist/chunks/Card-CK_D7gzP.cjs.map +1 -0
- package/dist/chunks/Card-ymI5Thma.mjs +208 -0
- package/dist/chunks/Card-ymI5Thma.mjs.map +1 -0
- package/dist/chunks/Checkbox-BXbEChdd.cjs +2 -0
- package/dist/chunks/Checkbox-BXbEChdd.cjs.map +1 -0
- package/dist/chunks/Checkbox-DnwrApdj.mjs +21 -0
- package/dist/chunks/Checkbox-DnwrApdj.mjs.map +1 -0
- package/dist/chunks/Checkbox.view-B7K8ycvs.cjs +2 -0
- package/dist/chunks/Checkbox.view-B7K8ycvs.cjs.map +1 -0
- package/dist/chunks/Checkbox.view-CCGfVtqr.mjs +329 -0
- package/dist/chunks/Checkbox.view-CCGfVtqr.mjs.map +1 -0
- package/dist/chunks/FixedIcons-Dz_f-yDL.cjs +2 -0
- package/dist/chunks/FixedIcons-Dz_f-yDL.cjs.map +1 -0
- package/dist/chunks/FixedIcons-fxASFYew.mjs +37 -0
- package/dist/chunks/FixedIcons-fxASFYew.mjs.map +1 -0
- package/dist/chunks/Formik.Uploader-CIYySBWB.mjs +6962 -0
- package/dist/chunks/Formik.Uploader-CIYySBWB.mjs.map +1 -0
- package/dist/chunks/Formik.Uploader-DePTdd7A.cjs +22 -0
- package/dist/chunks/Formik.Uploader-DePTdd7A.cjs.map +1 -0
- package/dist/chunks/Icon-C37alecH.cjs +2 -0
- package/dist/chunks/Icon-C37alecH.cjs.map +1 -0
- package/dist/chunks/Icon-Cy5kEVYz.mjs +148 -0
- package/dist/chunks/Icon-Cy5kEVYz.mjs.map +1 -0
- package/dist/chunks/Icon.frame-COrb0u94.mjs +29 -0
- package/dist/chunks/Icon.frame-COrb0u94.mjs.map +1 -0
- package/dist/chunks/Icon.frame-DD6ycsWD.cjs +2 -0
- package/dist/chunks/Icon.frame-DD6ycsWD.cjs.map +1 -0
- package/dist/chunks/Label-BVEAujj2.mjs +83 -0
- package/dist/chunks/Label-BVEAujj2.mjs.map +1 -0
- package/dist/chunks/Label-Bd0TpfkG.cjs +2 -0
- package/dist/chunks/Label-Bd0TpfkG.cjs.map +1 -0
- package/dist/chunks/Loader-4V81BN95.cjs +2 -0
- package/dist/chunks/Loader-4V81BN95.cjs.map +1 -0
- package/dist/chunks/Loader-DMLQky1k.mjs +171 -0
- package/dist/chunks/Loader-DMLQky1k.mjs.map +1 -0
- package/dist/chunks/Modal-BzlrQQu5.cjs +2 -0
- package/dist/chunks/Modal-BzlrQQu5.cjs.map +1 -0
- package/dist/chunks/Modal-CqbUQXoc.mjs +356 -0
- package/dist/chunks/Modal-CqbUQXoc.mjs.map +1 -0
- package/dist/chunks/Router-DjmVh9pK.cjs +2 -0
- package/dist/chunks/Router-DjmVh9pK.cjs.map +1 -0
- package/dist/chunks/Router-Dtb8HvI0.mjs +76 -0
- package/dist/chunks/Router-Dtb8HvI0.mjs.map +1 -0
- package/dist/chunks/Router.store-Bxe2uZWk.cjs +2 -0
- package/dist/chunks/Router.store-Bxe2uZWk.cjs.map +1 -0
- package/dist/chunks/Router.store-C0zWd45T.mjs +27 -0
- package/dist/chunks/Router.store-C0zWd45T.mjs.map +1 -0
- package/dist/chunks/Select-CrOxhfvQ.mjs +28 -0
- package/dist/chunks/Select-CrOxhfvQ.mjs.map +1 -0
- package/dist/chunks/Select-DRMUC3NX.cjs +2 -0
- package/dist/chunks/Select-DRMUC3NX.cjs.map +1 -0
- package/dist/chunks/Select.view-BHMiRNIc.mjs +661 -0
- package/dist/chunks/Select.view-BHMiRNIc.mjs.map +1 -0
- package/dist/chunks/Select.view-BV01zWHM.cjs +2 -0
- package/dist/chunks/Select.view-BV01zWHM.cjs.map +1 -0
- package/dist/chunks/Switch-04GGHGrV.mjs +11 -0
- package/dist/chunks/Switch-04GGHGrV.mjs.map +1 -0
- package/dist/chunks/Switch-DqgmPp8M.cjs +2 -0
- package/dist/chunks/Switch-DqgmPp8M.cjs.map +1 -0
- package/dist/chunks/Switch.view-6ncV6Ifz.cjs +2 -0
- package/dist/chunks/Switch.view-6ncV6Ifz.cjs.map +1 -0
- package/dist/chunks/Switch.view-DUvFLhyy.mjs +310 -0
- package/dist/chunks/Switch.view-DUvFLhyy.mjs.map +1 -0
- package/dist/chunks/Tabs-BdoE88Ee.mjs +567 -0
- package/dist/chunks/Tabs-BdoE88Ee.mjs.map +1 -0
- package/dist/chunks/Tabs-DneEt-le.cjs +2 -0
- package/dist/chunks/Tabs-DneEt-le.cjs.map +1 -0
- package/dist/chunks/TextField-Bwc_F2Rq.mjs +277 -0
- package/dist/chunks/TextField-Bwc_F2Rq.mjs.map +1 -0
- package/dist/chunks/TextField-CwaxvcqN.cjs +2 -0
- package/dist/chunks/TextField-CwaxvcqN.cjs.map +1 -0
- package/dist/chunks/default-1F10zins.mjs +610 -0
- package/dist/chunks/default-1F10zins.mjs.map +1 -0
- package/dist/chunks/default-W-NMTEJ3.cjs +2 -0
- package/dist/chunks/default-W-NMTEJ3.cjs.map +1 -0
- package/dist/chunks/designSystem.page-BgmjSYsz.cjs +11 -0
- package/dist/chunks/designSystem.page-BgmjSYsz.cjs.map +1 -0
- package/dist/chunks/designSystem.page-CM_h09Ui.mjs +13121 -0
- package/dist/chunks/designSystem.page-CM_h09Ui.mjs.map +1 -0
- package/dist/chunks/useFieldDesignSystemProps-BZj7d9gK.mjs +283 -0
- package/dist/chunks/useFieldDesignSystemProps-BZj7d9gK.mjs.map +1 -0
- package/dist/chunks/useFieldDesignSystemProps-CgVU3R10.cjs +2 -0
- package/dist/chunks/useFieldDesignSystemProps-CgVU3R10.cjs.map +1 -0
- package/dist/design-system-preview.cjs.js +2 -0
- package/dist/design-system-preview.cjs.js.map +1 -0
- package/dist/design-system-preview.esm.d.mts +1 -0
- package/dist/design-system-preview.esm.mjs +30 -0
- package/dist/design-system-preview.esm.mjs.map +1 -0
- package/dist/formik.cjs.js +2 -0
- package/dist/formik.cjs.js.map +1 -0
- package/dist/formik.esm.d.mts +1 -0
- package/dist/formik.esm.mjs +28 -0
- package/dist/formik.esm.mjs.map +1 -0
- package/dist/link.cjs.js +2 -0
- package/dist/link.cjs.js.map +1 -0
- package/dist/link.esm.d.mts +1 -0
- package/dist/link.esm.mjs +78 -0
- package/dist/link.esm.mjs.map +1 -0
- package/dist/modal.cjs.js +2 -0
- package/dist/modal.cjs.js.map +1 -0
- package/dist/modal.esm.d.mts +1 -0
- package/dist/modal.esm.mjs +10 -0
- package/dist/modal.esm.mjs.map +1 -0
- package/dist/native/components/Accordion/Accordion/Accordion.view.js +1 -1
- package/dist/native/components/Accordion/Accordion/Accordion.view.js.map +1 -1
- package/dist/native/components/Accordion/Accordion/Accordion.view.native.js +1 -1
- package/dist/native/components/Accordion/Accordion/Accordion.view.native.js.map +1 -1
- package/dist/native/components/Accordion/Accordion.js +1 -1
- package/dist/native/components/Accordion/Accordion.js.map +1 -1
- package/dist/native/components/ActionSheet/ActionSheet/ActionSheet.view.native.js +14 -6
- package/dist/native/components/ActionSheet/ActionSheet/ActionSheet.view.native.js.map +1 -1
- package/dist/native/components/Alert/Alert/Alert.view.d.ts +3 -1
- package/dist/native/components/Alert/Alert/Alert.view.js +16 -6
- package/dist/native/components/Alert/Alert/Alert.view.js.map +1 -1
- package/dist/native/components/Alert/Alert/Alert.view.native.d.ts +3 -1
- package/dist/native/components/Alert/Alert/Alert.view.native.js +23 -5
- package/dist/native/components/Alert/Alert/Alert.view.native.js.map +1 -1
- package/dist/native/components/Alert/Alert.js +3 -3
- package/dist/native/components/Alert/Alert.js.map +1 -1
- package/dist/native/components/Avatar/Avatar/Avatar.props.d.ts +1 -1
- package/dist/native/components/Avatar/Avatar/Avatar.state.d.ts +2 -2
- package/dist/native/components/Avatar/Avatar/Avatar.state.js +6 -5
- package/dist/native/components/Avatar/Avatar/Avatar.state.js.map +1 -1
- package/dist/native/components/Avatar/Avatar/Avatar.view.d.ts +1 -1
- package/dist/native/components/Avatar/Avatar/Avatar.view.js +2 -2
- package/dist/native/components/Avatar/Avatar/Avatar.view.js.map +1 -1
- package/dist/native/components/Avatar/Avatar.js +3 -3
- package/dist/native/components/Avatar/Avatar.js.map +1 -1
- package/dist/native/components/Badge/Badge.js +1 -1
- package/dist/native/components/Badge/Badge.js.map +1 -1
- package/dist/native/components/Button/Button/Button.style.js +11 -6
- package/dist/native/components/Button/Button/Button.style.js.map +1 -1
- package/dist/native/components/Button/Button/Button.view.d.ts +6 -1
- package/dist/native/components/Button/Button/Button.view.js +15 -7
- package/dist/native/components/Button/Button/Button.view.js.map +1 -1
- package/dist/native/components/Button/Button/Button.view.native.d.ts +5 -1
- package/dist/native/components/Button/Button/Button.view.native.js +31 -6
- package/dist/native/components/Button/Button/Button.view.native.js.map +1 -1
- package/dist/native/components/Button/Button.core.d.ts +4 -0
- package/dist/native/components/Button/Button.core.js +39 -0
- package/dist/native/components/Button/Button.core.js.map +1 -0
- package/dist/native/components/Button/Button.d.ts +1 -3
- package/dist/native/components/Button/Button.js +3 -36
- package/dist/native/components/Button/Button.js.map +1 -1
- package/dist/native/components/Button/Button.pilot.d.ts +2 -0
- package/dist/native/components/Button/Button.pilot.js +3 -0
- package/dist/native/components/Button/Button.pilot.js.map +1 -0
- package/dist/native/components/Card/Card/Card.view.d.ts +3 -1
- package/dist/native/components/Card/Card/Card.view.js +32 -24
- package/dist/native/components/Card/Card/Card.view.js.map +1 -1
- package/dist/native/components/Card/Card.js +3 -3
- package/dist/native/components/Card/Card.js.map +1 -1
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.props.d.ts +1 -0
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.state.d.ts +5 -1
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.state.js +13 -0
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.state.js.map +1 -1
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.style.d.ts +3 -12
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.style.js +3 -12
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.style.js.map +1 -1
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.js +20 -17
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.js.map +1 -1
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.native.js +37 -31
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.native.js.map +1 -1
- package/dist/native/components/Form/Checkbox/Checkbox.js +3 -3
- package/dist/native/components/Form/Checkbox/Checkbox.js.map +1 -1
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.state.js +8 -2
- package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.state.js.map +1 -1
- package/dist/native/components/Form/Radio/Radio.js +1 -1
- package/dist/native/components/Form/Radio/Radio.js.map +1 -1
- package/dist/native/components/Form/Select/Select/Select.props.d.ts +1 -0
- package/dist/native/components/Form/Select/Select/Select.view.js +3 -3
- package/dist/native/components/Form/Select/Select/Select.view.js.map +1 -1
- package/dist/native/components/Form/Select/Select/Select.view.native.js +18 -5
- package/dist/native/components/Form/Select/Select/Select.view.native.js.map +1 -1
- package/dist/native/components/Form/Select/Select.js +3 -3
- package/dist/native/components/Form/Select/Select.js.map +1 -1
- package/dist/native/components/Form/Switch/Switch/Switch.style.d.ts +3 -8
- package/dist/native/components/Form/Switch/Switch/Switch.style.js +3 -8
- package/dist/native/components/Form/Switch/Switch/Switch.style.js.map +1 -1
- package/dist/native/components/Form/Switch/Switch/Switch.view.js +1 -5
- package/dist/native/components/Form/Switch/Switch/Switch.view.js.map +1 -1
- package/dist/native/components/Form/Switch/Switch/Switch.view.native.js +7 -4
- package/dist/native/components/Form/Switch/Switch/Switch.view.native.js.map +1 -1
- package/dist/native/components/Form/Switch/Switch.js +1 -1
- package/dist/native/components/Form/Switch/Switch.js.map +1 -1
- package/dist/native/components/Form/TextArea/TextArea.js +1 -1
- package/dist/native/components/Form/TextArea/TextArea.js.map +1 -1
- package/dist/native/components/Form/TextField/TextField/TextField.props.d.ts +1 -0
- package/dist/native/components/Form/TextField/TextField/TextField.view.js +3 -3
- package/dist/native/components/Form/TextField/TextField/TextField.view.js.map +1 -1
- package/dist/native/components/Form/TextField/TextField/TextField.view.native.js +13 -12
- package/dist/native/components/Form/TextField/TextField/TextField.view.native.js.map +1 -1
- package/dist/native/components/Form/TextField/TextField.js +3 -3
- package/dist/native/components/Form/TextField/TextField.js.map +1 -1
- package/dist/native/components/Icon/FixedIcons.d.ts +10 -0
- package/dist/native/components/Icon/FixedIcons.js +23 -0
- package/dist/native/components/Icon/FixedIcons.js.map +1 -0
- package/dist/native/components/Icon/FixedIcons.native.d.ts +17 -0
- package/dist/native/components/Icon/FixedIcons.native.js +30 -0
- package/dist/native/components/Icon/FixedIcons.native.js.map +1 -0
- package/dist/native/components/Icon/Icon.d.ts +2 -12
- package/dist/native/components/Icon/Icon.frame.d.ts +14 -0
- package/dist/native/components/Icon/Icon.frame.js +17 -0
- package/dist/native/components/Icon/Icon.frame.js.map +1 -0
- package/dist/native/components/Icon/Icon.js +11 -23
- package/dist/native/components/Icon/Icon.js.map +1 -1
- package/dist/native/components/Input/FieldContent/FieldContent/FieldContent.props.d.ts +1 -0
- package/dist/native/components/Input/FieldContent/FieldContent.js +16 -3
- package/dist/native/components/Input/FieldContent/FieldContent.js.map +1 -1
- package/dist/native/components/Input/useFieldDesignSystemProps.d.ts +9 -0
- package/dist/native/components/Input/useFieldDesignSystemProps.js +15 -0
- package/dist/native/components/Input/useFieldDesignSystemProps.js.map +1 -0
- package/dist/native/components/Loader/Loader.js +1 -1
- package/dist/native/components/Loader/Loader.js.map +1 -1
- package/dist/native/components/Modal/Modal/Modal.props.d.ts +5 -0
- package/dist/native/components/Modal/Modal/Modal.view.js +51 -18
- package/dist/native/components/Modal/Modal/Modal.view.js.map +1 -1
- package/dist/native/components/Modal/Modal/Modal.view.native.js +6 -5
- package/dist/native/components/Modal/Modal/Modal.view.native.js.map +1 -1
- package/dist/native/components/NavigationMenu/NavigationMenu.js +1 -1
- package/dist/native/components/NavigationMenu/NavigationMenu.js.map +1 -1
- package/dist/native/components/PageHeader/PageHeader.js +1 -1
- package/dist/native/components/PageHeader/PageHeader.js.map +1 -1
- package/dist/native/components/ProgressBar/ProgressBar.js +1 -1
- package/dist/native/components/ProgressBar/ProgressBar.js.map +1 -1
- package/dist/native/components/Separator/Separator.js +1 -1
- package/dist/native/components/Separator/Separator.js.map +1 -1
- package/dist/native/components/Slider/Slider.js +1 -1
- package/dist/native/components/Slider/Slider.js.map +1 -1
- package/dist/native/components/StatePanel/StatePanel.js +1 -1
- package/dist/native/components/StatePanel/StatePanel.js.map +1 -1
- package/dist/native/components/StatusIndicator/StatusIndicator.js +1 -1
- package/dist/native/components/StatusIndicator/StatusIndicator.js.map +1 -1
- package/dist/native/components/Table/Table.js +1 -1
- package/dist/native/components/Table/Table.js.map +1 -1
- package/dist/native/components/Tabs/Tabs/TabHeader.d.ts +2 -0
- package/dist/native/components/Tabs/Tabs/TabHeader.js +7 -6
- package/dist/native/components/Tabs/Tabs/TabHeader.js.map +1 -1
- package/dist/native/components/Tabs/Tabs/Tabs.props.d.ts +10 -0
- package/dist/native/components/Tabs/Tabs/Tabs.state.d.ts +1 -0
- package/dist/native/components/Tabs/Tabs/Tabs.state.js +20 -43
- package/dist/native/components/Tabs/Tabs/Tabs.state.js.map +1 -1
- package/dist/native/components/Tabs/Tabs/Tabs.styles.d.ts +11 -0
- package/dist/native/components/Tabs/Tabs/Tabs.styles.js +7 -0
- package/dist/native/components/Tabs/Tabs/Tabs.styles.js.map +1 -0
- package/dist/native/components/Tabs/Tabs/Tabs.type.d.ts +4 -0
- package/dist/native/components/Tabs/Tabs/Tabs.view.js +146 -58
- package/dist/native/components/Tabs/Tabs/Tabs.view.js.map +1 -1
- package/dist/native/components/Tabs/Tabs/Tabs.view.native.js +83 -19
- package/dist/native/components/Tabs/Tabs/Tabs.view.native.js.map +1 -1
- package/dist/native/components/Tabs/Tabs.js +8 -8
- package/dist/native/components/Tabs/Tabs.js.map +1 -1
- package/dist/native/components/index.js +1 -1
- package/dist/native/components/index.js.map +1 -1
- package/dist/native/components/pilot/alert.d.ts +2 -0
- package/dist/native/components/pilot/alert.js +2 -0
- package/dist/native/components/pilot/alert.js.map +1 -0
- package/dist/native/components/pilot/avatar.d.ts +2 -0
- package/dist/native/components/pilot/avatar.js +2 -0
- package/dist/native/components/pilot/avatar.js.map +1 -0
- package/dist/native/components/pilot/blocks/SettingsPanel.d.ts +8 -0
- package/dist/native/components/pilot/blocks/SettingsPanel.js +26 -0
- package/dist/native/components/pilot/blocks/SettingsPanel.js.map +1 -0
- package/dist/native/components/pilot/blocks/SignIn.d.ts +8 -0
- package/dist/native/components/pilot/blocks/SignIn.js +57 -0
- package/dist/native/components/pilot/blocks/SignIn.js.map +1 -0
- package/dist/native/components/pilot/button.d.ts +1 -0
- package/dist/native/components/pilot/button.js +2 -0
- package/dist/native/components/pilot/button.js.map +1 -0
- package/dist/native/components/pilot/card.d.ts +2 -0
- package/dist/native/components/pilot/card.js +2 -0
- package/dist/native/components/pilot/card.js.map +1 -0
- package/dist/native/components/pilot/checkbox.d.ts +2 -0
- package/dist/native/components/pilot/checkbox.js +2 -0
- package/dist/native/components/pilot/checkbox.js.map +1 -0
- package/dist/native/components/pilot/modal.d.ts +2 -0
- package/dist/native/components/pilot/modal.js +2 -0
- package/dist/native/components/pilot/modal.js.map +1 -0
- package/dist/native/components/pilot/select.d.ts +2 -0
- package/dist/native/components/pilot/select.js +2 -0
- package/dist/native/components/pilot/select.js.map +1 -0
- package/dist/native/components/pilot/settings-panel.d.ts +1 -0
- package/dist/native/components/pilot/settings-panel.js +2 -0
- package/dist/native/components/pilot/settings-panel.js.map +1 -0
- package/dist/native/components/pilot/sign-in.d.ts +1 -0
- package/dist/native/components/pilot/sign-in.js +2 -0
- package/dist/native/components/pilot/sign-in.js.map +1 -0
- package/dist/native/components/pilot/switch.d.ts +2 -0
- package/dist/native/components/pilot/switch.js +2 -0
- package/dist/native/components/pilot/switch.js.map +1 -0
- package/dist/native/components/pilot/tabs.d.ts +2 -0
- package/dist/native/components/pilot/tabs.js +2 -0
- package/dist/native/components/pilot/tabs.js.map +1 -0
- package/dist/native/components/pilot/text-field.d.ts +2 -0
- package/dist/native/components/pilot/text-field.js +2 -0
- package/dist/native/components/pilot/text-field.js.map +1 -0
- package/dist/native/design-system/DesignSystemProvider.d.ts +4 -24
- package/dist/native/design-system/DesignSystemProvider.js +5 -53
- package/dist/native/design-system/DesignSystemProvider.js.map +1 -1
- package/dist/native/design-system/configs/default.json +1 -1
- package/dist/native/design-system/theme.d.ts +37 -0
- package/dist/native/design-system/theme.js +83 -0
- package/dist/native/design-system/theme.js.map +1 -0
- package/dist/native/design-system/types.d.ts +11 -11
- package/dist/native/design-system/utils.d.ts +5 -2
- package/dist/native/design-system/utils.js +42 -10
- package/dist/native/design-system/utils.js.map +1 -1
- package/dist/presets.cjs.js +2 -0
- package/dist/presets.cjs.js.map +1 -0
- package/dist/presets.esm.d.mts +1 -0
- package/dist/presets.esm.mjs +10816 -0
- package/dist/presets.esm.mjs.map +1 -0
- package/dist/registry/alert.json +90 -0
- package/dist/registry/avatar.json +78 -0
- package/dist/registry/button.json +147 -0
- package/dist/registry/card.json +78 -0
- package/dist/registry/checkbox.json +134 -0
- package/dist/registry/modal.json +115 -0
- package/dist/registry/registry.json +1307 -0
- package/dist/registry/select.json +254 -0
- package/dist/registry/settings-panel.json +55 -0
- package/dist/registry/sign-in.json +56 -0
- package/dist/registry/switch.json +113 -0
- package/dist/registry/tabs.json +88 -0
- package/dist/registry/text-field.json +214 -0
- package/dist/registry/theme.json +71 -0
- package/dist/router.cjs.js +2 -0
- package/dist/router.cjs.js.map +1 -0
- package/dist/router.esm.d.mts +1 -0
- package/dist/router.esm.mjs +11 -0
- package/dist/router.esm.mjs.map +1 -0
- package/dist/select.cjs.js +2 -0
- package/dist/select.cjs.js.map +1 -0
- package/dist/select.esm.d.mts +1 -0
- package/dist/select.esm.mjs +5 -0
- package/dist/select.esm.mjs.map +1 -0
- package/dist/settings-panel.cjs.js +2 -0
- package/dist/settings-panel.cjs.js.map +1 -0
- package/dist/settings-panel.esm.d.mts +1 -0
- package/dist/settings-panel.esm.mjs +43 -0
- package/dist/settings-panel.esm.mjs.map +1 -0
- package/dist/sign-in.cjs.js +2 -0
- package/dist/sign-in.cjs.js.map +1 -0
- package/dist/sign-in.esm.d.mts +1 -0
- package/dist/sign-in.esm.mjs +83 -0
- package/dist/sign-in.esm.mjs.map +1 -0
- package/dist/switch.cjs.js +2 -0
- package/dist/switch.cjs.js.map +1 -0
- package/dist/switch.esm.d.mts +1 -0
- package/dist/switch.esm.mjs +5 -0
- package/dist/switch.esm.mjs.map +1 -0
- package/dist/tabs.cjs.js +2 -0
- package/dist/tabs.cjs.js.map +1 -0
- package/dist/tabs.esm.d.mts +1 -0
- package/dist/tabs.esm.mjs +5 -0
- package/dist/tabs.esm.mjs.map +1 -0
- package/dist/text-field.cjs.js +2 -0
- package/dist/text-field.cjs.js.map +1 -0
- package/dist/text-field.esm.d.mts +1 -0
- package/dist/text-field.esm.mjs +5 -0
- package/dist/text-field.esm.mjs.map +1 -0
- package/dist/theme.cjs.js +2 -0
- package/dist/theme.cjs.js.map +1 -0
- package/dist/theme.esm.d.mts +1 -0
- package/dist/theme.esm.mjs +169 -0
- package/dist/theme.esm.mjs.map +1 -0
- package/dist/types/components/Accordion/Accordion/Accordion.props.d.ts +50 -0
- package/dist/types/components/Accordion/Accordion/Accordion.state.d.ts +9 -0
- package/dist/types/components/Accordion/Accordion/Accordion.style.d.ts +6 -0
- package/dist/types/components/Accordion/Accordion/Accordion.type.d.ts +20 -0
- package/dist/types/components/Accordion/Accordion/Accordion.view.d.ts +32 -0
- package/dist/types/components/Accordion/Accordion.d.ts +2 -0
- package/dist/types/components/ActionSheet/ActionSheet/ActionSheet.props.d.ts +36 -0
- package/dist/types/components/ActionSheet/ActionSheet/ActionSheet.state.d.ts +8 -0
- package/dist/types/components/ActionSheet/ActionSheet/ActionSheet.style.d.ts +17 -0
- package/dist/types/components/ActionSheet/ActionSheet/ActionSheet.type.d.ts +37 -0
- package/dist/types/components/ActionSheet/ActionSheet/ActionSheet.view.d.ts +4 -0
- package/dist/types/components/ActionSheet/ActionSheet.d.ts +3 -0
- package/dist/types/components/ActionSheet/index.d.ts +3 -0
- package/dist/types/components/Alert/Alert/Alert.props.d.ts +14 -0
- package/dist/types/components/Alert/Alert/Alert.state.d.ts +5 -0
- package/dist/types/components/Alert/Alert/Alert.style.d.ts +18 -0
- package/dist/types/components/Alert/Alert/Alert.type.d.ts +8 -0
- package/dist/types/components/Alert/Alert/Alert.view.d.ts +8 -0
- package/dist/types/components/Alert/Alert.d.ts +3 -0
- package/dist/types/components/AppRoot/AppRoot.d.ts +17 -0
- package/dist/types/components/AppRoot/AppRoot.types.d.ts +22 -0
- package/dist/types/components/AppRoot/index.d.ts +2 -0
- package/dist/types/components/AspectRatio/AspectRatio/AspectRatio.props.d.ts +9 -0
- package/dist/types/components/AspectRatio/AspectRatio/AspectRatio.view.d.ts +3 -0
- package/dist/types/components/AspectRatio/AspectRatio.d.ts +3 -0
- package/dist/types/components/AttachmentGroup/AttachmentGroup/AttachmentGroup.d.ts +18 -0
- package/dist/types/components/AttachmentGroup/AttachmentGroup.d.ts +2 -0
- package/dist/types/components/AudioInput/AudioInput/AudioInput.props.d.ts +18 -0
- package/dist/types/components/AudioInput/AudioInput/AudioInput.state.d.ts +15 -0
- package/dist/types/components/AudioInput/AudioInput/AudioInput.view.d.ts +4 -0
- package/dist/types/components/AudioInput/AudioInput.d.ts +4 -0
- package/dist/types/components/AudioInput/AudioWaveform/AudioWaveform.d.ts +3 -0
- package/dist/types/components/AudioInput/AudioWaveform/AudioWaveform.props.d.ts +9 -0
- package/dist/types/components/AudioInput/AudioWaveform/AudioWaveform.view.d.ts +4 -0
- package/dist/types/components/AudioInput/useAudioRecording.d.ts +13 -0
- package/dist/types/components/Avatar/Avatar/Avatar.props.d.ts +14 -0
- package/dist/types/components/Avatar/Avatar/Avatar.state.d.ts +4 -0
- package/dist/types/components/Avatar/Avatar/Avatar.style.d.ts +14 -0
- package/dist/types/components/Avatar/Avatar/Avatar.type.d.ts +7 -0
- package/dist/types/components/Avatar/Avatar/Avatar.view.d.ts +3 -0
- package/dist/types/components/Avatar/Avatar.d.ts +3 -0
- package/dist/types/components/Background/Background/Background.props.d.ts +97 -0
- package/dist/types/components/Background/Background/Background.style.d.ts +24 -0
- package/dist/types/components/Background/Background/Background.type.d.ts +28 -0
- package/dist/types/components/Background/Background/Background.view.d.ts +18 -0
- package/dist/types/components/Background/Background.d.ts +15 -0
- package/dist/types/components/Background/index.d.ts +3 -0
- package/dist/types/components/Badge/Badge/Badge.props.d.ts +23 -0
- package/dist/types/components/Badge/Badge/Badge.style.d.ts +41 -0
- package/dist/types/components/Badge/Badge/Badge.type.d.ts +13 -0
- package/dist/types/components/Badge/Badge/Badge.view.d.ts +7 -0
- package/dist/types/components/Badge/Badge.d.ts +3 -0
- package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.content.d.ts +19 -0
- package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.controls.d.ts +15 -0
- package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.dom.d.ts +9 -0
- package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.keyboard.d.ts +16 -0
- package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.model.d.ts +58 -0
- package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.navigation.d.ts +6 -0
- package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.props.d.ts +105 -0
- package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.selection.d.ts +13 -0
- package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.state.d.ts +149 -0
- package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.transactions.d.ts +8 -0
- package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.upload.d.ts +6 -0
- package/dist/types/components/BlockEditor/BlockEditor/BlockEditor.view.d.ts +6 -0
- package/dist/types/components/BlockEditor/BlockEditor.d.ts +3 -0
- package/dist/types/components/Button/Button/Button.element.d.ts +1 -0
- package/dist/types/components/Button/Button/Button.props.d.ts +50 -0
- package/dist/types/components/Button/Button/Button.state.d.ts +5 -0
- package/dist/types/components/Button/Button/Button.style.d.ts +37 -0
- package/dist/types/components/Button/Button/Button.type.d.ts +9 -0
- package/dist/types/components/Button/Button/Button.view.d.ts +9 -0
- package/dist/types/components/Button/Button.core.d.ts +4 -0
- package/dist/types/components/Button/Button.d.ts +1 -0
- package/dist/types/components/Button/Button.pilot.d.ts +2 -0
- package/dist/types/components/Card/Card/Card.context.d.ts +6 -0
- package/dist/types/components/Card/Card/Card.props.d.ts +30 -0
- package/dist/types/components/Card/Card/Card.state.d.ts +4 -0
- package/dist/types/components/Card/Card/Card.style.d.ts +6 -0
- package/dist/types/components/Card/Card/Card.type.d.ts +10 -0
- package/dist/types/components/Card/Card/Card.view.d.ts +8 -0
- package/dist/types/components/Card/Card.d.ts +2 -0
- package/dist/types/components/Carousel/Carousel/Carousel.context.d.ts +3 -0
- package/dist/types/components/Carousel/Carousel/Carousel.props.d.ts +51 -0
- package/dist/types/components/Carousel/Carousel/Carousel.state.d.ts +29 -0
- package/dist/types/components/Carousel/Carousel/Carousel.style.d.ts +6 -0
- package/dist/types/components/Carousel/Carousel/Carousel.type.d.ts +32 -0
- package/dist/types/components/Carousel/Carousel/Carousel.view.d.ts +8 -0
- package/dist/types/components/Carousel/Carousel.d.ts +2 -0
- package/dist/types/components/Chart/Chart/BarChart.d.ts +15 -0
- package/dist/types/components/Chart/Chart/Chart.props.d.ts +28 -0
- package/dist/types/components/Chart/Chart/Chart.state.d.ts +40 -0
- package/dist/types/components/Chart/Chart/Chart.style.d.ts +20 -0
- package/dist/types/components/Chart/Chart/Chart.type.d.ts +36 -0
- package/dist/types/components/Chart/Chart/Chart.view.d.ts +3 -0
- package/dist/types/components/Chart/Chart/ChartColors.d.ts +13 -0
- package/dist/types/components/Chart/Chart/ChartTooltip.d.ts +14 -0
- package/dist/types/components/Chart/Chart/LineChart.d.ts +15 -0
- package/dist/types/components/Chart/Chart/PieChart.d.ts +15 -0
- package/dist/types/components/Chart/Chart.d.ts +3 -0
- package/dist/types/components/ChatInput/AttachmentGroup.d.ts +18 -0
- package/dist/types/components/ChatInput/AudioRecorder.d.ts +10 -0
- package/dist/types/components/ChatInput/ChatInput/ChatInput.props.d.ts +374 -0
- package/dist/types/components/ChatInput/ChatInput/ChatInput.state.d.ts +45 -0
- package/dist/types/components/ChatInput/ChatInput/ChatInput.style.d.ts +164 -0
- package/dist/types/components/ChatInput/ChatInput/ChatInput.type.d.ts +57 -0
- package/dist/types/components/ChatInput/ChatInput/ChatInput.view.d.ts +4 -0
- package/dist/types/components/ChatInput/ChatInput.d.ts +3 -0
- package/dist/types/components/ChatInput/ChatUploader.d.ts +20 -0
- package/dist/types/components/ChatInput/EditableInput.d.ts +44 -0
- package/dist/types/components/ChatInput/GuideTip.d.ts +12 -0
- package/dist/types/components/ChatInput/MessageInput.d.ts +36 -0
- package/dist/types/components/ChatInput/PromptExamples.d.ts +13 -0
- package/dist/types/components/ChatInput/index.d.ts +7 -0
- package/dist/types/components/ChatWidget/ChatWidget/ChatWidget.props.d.ts +32 -0
- package/dist/types/components/ChatWidget/ChatWidget/ChatWidget.state.d.ts +8 -0
- package/dist/types/components/ChatWidget/ChatWidget/ChatWidget.style.d.ts +81 -0
- package/dist/types/components/ChatWidget/ChatWidget/ChatWidget.type.d.ts +47 -0
- package/dist/types/components/ChatWidget/ChatWidget/ChatWidget.view.d.ts +4 -0
- package/dist/types/components/ChatWidget/ChatWidget.d.ts +4 -0
- package/dist/types/components/ChatWidget/Widget/ChatWidgetWidget.d.ts +14 -0
- package/dist/types/components/ChatWidget/Widget/index.d.ts +2 -0
- package/dist/types/components/ChatWidget/Widget/useContextSelector.d.ts +22 -0
- package/dist/types/components/ColorPicker/ColorPicker/ColorPicker.props.d.ts +44 -0
- package/dist/types/components/ColorPicker/ColorPicker/ColorPicker.state.d.ts +14 -0
- package/dist/types/components/ColorPicker/ColorPicker/ColorPicker.style.d.ts +19 -0
- package/dist/types/components/ColorPicker/ColorPicker/ColorPicker.type.d.ts +34 -0
- package/dist/types/components/ColorPicker/ColorPicker/ColorPicker.view.d.ts +4 -0
- package/dist/types/components/ColorPicker/ColorPicker.d.ts +3 -0
- package/dist/types/components/Command/Command/Command.props.d.ts +66 -0
- package/dist/types/components/Command/Command/Command.state.d.ts +17 -0
- package/dist/types/components/Command/Command/Command.style.d.ts +19 -0
- package/dist/types/components/Command/Command/Command.type.d.ts +42 -0
- package/dist/types/components/Command/Command/Command.view.d.ts +31 -0
- package/dist/types/components/Command/Command/CommandOverlay.d.ts +10 -0
- package/dist/types/components/Command/Command/CommandTextInput.d.ts +8 -0
- package/dist/types/components/Command/Command.d.ts +2 -0
- package/dist/types/components/Command/index.d.ts +1 -0
- package/dist/types/components/ContextMenu/ContextMenu/ContextMenu.props.d.ts +72 -0
- package/dist/types/components/ContextMenu/ContextMenu/ContextMenu.state.d.ts +27 -0
- package/dist/types/components/ContextMenu/ContextMenu/ContextMenu.style.d.ts +16 -0
- package/dist/types/components/ContextMenu/ContextMenu/ContextMenu.type.d.ts +52 -0
- package/dist/types/components/ContextMenu/ContextMenu/ContextMenu.view.d.ts +23 -0
- package/dist/types/components/ContextMenu/ContextMenu.d.ts +2 -0
- package/dist/types/components/CookieConsent/CookieConsent/CookieConsent.props.d.ts +15 -0
- package/dist/types/components/CookieConsent/CookieConsent/CookieConsent.state.d.ts +7 -0
- package/dist/types/components/CookieConsent/CookieConsent/CookieConsent.style.d.ts +65 -0
- package/dist/types/components/CookieConsent/CookieConsent/CookieConsent.type.d.ts +10 -0
- package/dist/types/components/CookieConsent/CookieConsent/CookieConsent.view.d.ts +3 -0
- package/dist/types/components/CookieConsent/CookieConsent.d.ts +3 -0
- package/dist/types/components/DataState/DataState/DataState.props.d.ts +14 -0
- package/dist/types/components/DataState/DataState/DataState.state.d.ts +13 -0
- package/dist/types/components/DataState/DataState/DataState.type.d.ts +33 -0
- package/dist/types/components/DataState/DataState/DataState.view.d.ts +6 -0
- package/dist/types/components/DataState/DataState.d.ts +3 -0
- package/dist/types/components/DragAndDrop/DragAndDrop/DragAndDrop.props.d.ts +18 -0
- package/dist/types/components/DragAndDrop/DragAndDrop/DragAndDrop.state.d.ts +8 -0
- package/dist/types/components/DragAndDrop/DragAndDrop/DragAndDrop.view.d.ts +3 -0
- package/dist/types/components/DragAndDrop/DragAndDrop.d.ts +4 -0
- package/dist/types/components/Drawer/Drawer/Drawer.layout.d.ts +3 -0
- package/dist/types/components/Drawer/Drawer/Drawer.props.d.ts +51 -0
- package/dist/types/components/Drawer/Drawer/Drawer.store.d.ts +19 -0
- package/dist/types/components/Drawer/Drawer/Drawer.style.d.ts +4 -0
- package/dist/types/components/Drawer/Drawer/Drawer.type.d.ts +3 -0
- package/dist/types/components/Drawer/Drawer/Drawer.view.d.ts +7 -0
- package/dist/types/components/Drawer/Drawer.d.ts +3 -0
- package/dist/types/components/DropZone/DropZone/DropZone.props.d.ts +24 -0
- package/dist/types/components/DropZone/DropZone/DropZone.state.d.ts +2 -0
- package/dist/types/components/DropZone/DropZone/DropZone.view.d.ts +3 -0
- package/dist/types/components/DropZone/DropZone.d.ts +3 -0
- package/dist/types/components/DropdownMenu/DropdownMenu/DropdownMenu.props.d.ts +51 -0
- package/dist/types/components/DropdownMenu/DropdownMenu/DropdownMenu.state.d.ts +6 -0
- package/dist/types/components/DropdownMenu/DropdownMenu/DropdownMenu.style.d.ts +17 -0
- package/dist/types/components/DropdownMenu/DropdownMenu/DropdownMenu.type.d.ts +35 -0
- package/dist/types/components/DropdownMenu/DropdownMenu/DropdownMenu.view.d.ts +20 -0
- package/dist/types/components/DropdownMenu/DropdownMenu.d.ts +2 -0
- package/dist/types/components/EditComponent/EditComponent.d.ts +14 -0
- package/dist/types/components/EditComponent/EditPanel.d.ts +7 -0
- package/dist/types/components/EditComponent/EditToolbar.d.ts +16 -0
- package/dist/types/components/EditComponent/index.d.ts +3 -0
- package/dist/types/components/EmojiPicker/EmojiPicker/EmojiPicker.data.d.ts +3 -0
- package/dist/types/components/EmojiPicker/EmojiPicker/EmojiPicker.props.d.ts +75 -0
- package/dist/types/components/EmojiPicker/EmojiPicker/EmojiPicker.state.d.ts +38 -0
- package/dist/types/components/EmojiPicker/EmojiPicker/EmojiPicker.style.d.ts +18 -0
- package/dist/types/components/EmojiPicker/EmojiPicker/EmojiPicker.type.d.ts +28 -0
- package/dist/types/components/EmojiPicker/EmojiPicker/EmojiPicker.view.d.ts +4 -0
- package/dist/types/components/EmojiPicker/EmojiPicker.d.ts +3 -0
- package/dist/types/components/File/File.d.ts +14 -0
- package/dist/types/components/Form/Checkbox/Checkbox/Checkbox.props.d.ts +31 -0
- package/dist/types/components/Form/Checkbox/Checkbox/Checkbox.state.d.ts +12 -0
- package/dist/types/components/Form/Checkbox/Checkbox/Checkbox.style.d.ts +70 -0
- package/dist/types/components/Form/Checkbox/Checkbox/Checkbox.type.d.ts +8 -0
- package/dist/types/components/Form/Checkbox/Checkbox/Checkbox.view.d.ts +4 -0
- package/dist/types/components/Form/Checkbox/Checkbox.d.ts +6 -0
- package/dist/types/components/Form/ColorInput/ColorInput/ColorInput.props.d.ts +54 -0
- package/dist/types/components/Form/ColorInput/ColorInput/ColorInput.state.d.ts +19 -0
- package/dist/types/components/Form/ColorInput/ColorInput/ColorInput.style.d.ts +16 -0
- package/dist/types/components/Form/ColorInput/ColorInput/ColorInput.type.d.ts +37 -0
- package/dist/types/components/Form/ColorInput/ColorInput/ColorInput.view.d.ts +4 -0
- package/dist/types/components/Form/ColorInput/ColorInput/colorFormat.d.ts +7 -0
- package/dist/types/components/Form/ColorInput/ColorInput.d.ts +3 -0
- package/dist/types/components/Form/ComboBox/ComboBox/ComboBox.context.d.ts +8 -0
- package/dist/types/components/Form/ComboBox/ComboBox/ComboBox.props.d.ts +46 -0
- package/dist/types/components/Form/ComboBox/ComboBox/ComboBox.provider.d.ts +2 -0
- package/dist/types/components/Form/ComboBox/ComboBox/ComboBox.state.d.ts +2 -0
- package/dist/types/components/Form/ComboBox/ComboBox/ComboBox.style.d.ts +105 -0
- package/dist/types/components/Form/ComboBox/ComboBox/ComboBox.type.d.ts +11 -0
- package/dist/types/components/Form/ComboBox/ComboBox/ComboBox.view.d.ts +4 -0
- package/dist/types/components/Form/ComboBox/ComboBox.d.ts +3 -0
- package/dist/types/components/Form/CountryPicker/CountryPicker/CountryPicker.props.d.ts +56 -0
- package/dist/types/components/Form/CountryPicker/CountryPicker/CountryPicker.state.d.ts +15 -0
- package/dist/types/components/Form/CountryPicker/CountryPicker/CountryPicker.style.d.ts +3 -0
- package/dist/types/components/Form/CountryPicker/CountryPicker/CountryPicker.type.d.ts +19 -0
- package/dist/types/components/Form/CountryPicker/CountryPicker/CountryPicker.view.d.ts +5 -0
- package/dist/types/components/Form/CountryPicker/CountryPicker.d.ts +3 -0
- package/dist/types/components/Form/CountryPicker/countries.json.d.ts +1455 -0
- package/dist/types/components/Form/DatePicker/DatePicker/DatePicker.props.d.ts +92 -0
- package/dist/types/components/Form/DatePicker/DatePicker/DatePicker.state.d.ts +10 -0
- package/dist/types/components/Form/DatePicker/DatePicker/DatePicker.style.d.ts +3 -0
- package/dist/types/components/Form/DatePicker/DatePicker/DatePicker.type.d.ts +12 -0
- package/dist/types/components/Form/DatePicker/DatePicker/DatePicker.view.d.ts +4 -0
- package/dist/types/components/Form/DatePicker/DatePicker.d.ts +6 -0
- package/dist/types/components/Form/Form.d.ts +12 -0
- package/dist/types/components/Form/Label/Label/Label.props.d.ts +17 -0
- package/dist/types/components/Form/Label/Label/Label.style.d.ts +2 -0
- package/dist/types/components/Form/Label/Label/Label.type.d.ts +3 -0
- package/dist/types/components/Form/Label/Label/Label.view.d.ts +4 -0
- package/dist/types/components/Form/Label/Label.d.ts +3 -0
- package/dist/types/components/Form/Password/Password/Password.props.d.ts +37 -0
- package/dist/types/components/Form/Password/Password/Password.state.d.ts +7 -0
- package/dist/types/components/Form/Password/Password/Password.type.d.ts +10 -0
- package/dist/types/components/Form/Password/Password.d.ts +6 -0
- package/dist/types/components/Form/Password/example/Default.d.ts +2 -0
- package/dist/types/components/Form/Password/example/DisabledInput.d.ts +2 -0
- package/dist/types/components/Form/Password/example/ErrorInput.d.ts +2 -0
- package/dist/types/components/Form/Password/example/HelperText.d.ts +2 -0
- package/dist/types/components/Form/Radio/Radio/Radio.props.d.ts +29 -0
- package/dist/types/components/Form/Radio/Radio/Radio.state.d.ts +8 -0
- package/dist/types/components/Form/Radio/Radio/Radio.style.d.ts +68 -0
- package/dist/types/components/Form/Radio/Radio/Radio.type.d.ts +8 -0
- package/dist/types/components/Form/Radio/Radio/Radio.view.d.ts +4 -0
- package/dist/types/components/Form/Radio/Radio.d.ts +3 -0
- package/dist/types/components/Form/Radio/RadioGroup/RadioGroup.props.d.ts +22 -0
- package/dist/types/components/Form/Radio/RadioGroup/RadioGroup.state.d.ts +5 -0
- package/dist/types/components/Form/Radio/RadioGroup/RadioGroup.type.d.ts +7 -0
- package/dist/types/components/Form/Radio/RadioGroup/RadioGroup.view.d.ts +4 -0
- package/dist/types/components/Form/Radio/RadioGroup.d.ts +3 -0
- package/dist/types/components/Form/Radio/index.d.ts +2 -0
- package/dist/types/components/Form/Select/Select/Select.props.d.ts +97 -0
- package/dist/types/components/Form/Select/Select/Select.state.d.ts +19 -0
- package/dist/types/components/Form/Select/Select/Select.style.d.ts +80 -0
- package/dist/types/components/Form/Select/Select/Select.type.d.ts +19 -0
- package/dist/types/components/Form/Select/Select/Select.view.d.ts +10 -0
- package/dist/types/components/Form/Select/Select.d.ts +3 -0
- package/dist/types/components/Form/Selector/Selector/Selector.props.d.ts +66 -0
- package/dist/types/components/Form/Selector/Selector/Selector.state.d.ts +17 -0
- package/dist/types/components/Form/Selector/Selector/Selector.style.d.ts +6 -0
- package/dist/types/components/Form/Selector/Selector/Selector.type.d.ts +19 -0
- package/dist/types/components/Form/Selector/Selector/Selector.view.d.ts +4 -0
- package/dist/types/components/Form/Selector/Selector.d.ts +3 -0
- package/dist/types/components/Form/Switch/Switch/Switch.props.d.ts +27 -0
- package/dist/types/components/Form/Switch/Switch/Switch.state.d.ts +10 -0
- package/dist/types/components/Form/Switch/Switch/Switch.style.d.ts +61 -0
- package/dist/types/components/Form/Switch/Switch/Switch.type.d.ts +7 -0
- package/dist/types/components/Form/Switch/Switch/Switch.view.d.ts +4 -0
- package/dist/types/components/Form/Switch/Switch.d.ts +3 -0
- package/dist/types/components/Form/TagInput/TagInput/TagInput.props.d.ts +54 -0
- package/dist/types/components/Form/TagInput/TagInput/TagInput.state.d.ts +19 -0
- package/dist/types/components/Form/TagInput/TagInput/TagInput.type.d.ts +25 -0
- package/dist/types/components/Form/TagInput/TagInput/TagInput.view.d.ts +4 -0
- package/dist/types/components/Form/TagInput/TagInput/index.d.ts +4 -0
- package/dist/types/components/Form/TagInput/TagInput.d.ts +3 -0
- package/dist/types/components/Form/TagInput/index.d.ts +2 -0
- package/dist/types/components/Form/TextArea/TextArea/TextArea.props.d.ts +62 -0
- package/dist/types/components/Form/TextArea/TextArea/TextArea.state.d.ts +11 -0
- package/dist/types/components/Form/TextArea/TextArea/TextArea.type.d.ts +13 -0
- package/dist/types/components/Form/TextArea/TextArea/TextArea.view.d.ts +4 -0
- package/dist/types/components/Form/TextArea/TextArea.d.ts +3 -0
- package/dist/types/components/Form/TextField/TextField/TextField.props.d.ts +70 -0
- package/dist/types/components/Form/TextField/TextField/TextField.state.d.ts +11 -0
- package/dist/types/components/Form/TextField/TextField/TextField.type.d.ts +12 -0
- package/dist/types/components/Form/TextField/TextField/TextField.view.d.ts +4 -0
- package/dist/types/components/Form/TextField/TextField.d.ts +3 -0
- package/dist/types/components/Formik/AttachmentPreview.d.ts +19 -0
- package/dist/types/components/Formik/Formik.ChatInput.d.ts +12 -0
- package/dist/types/components/Formik/Formik.Checkbox.d.ts +6 -0
- package/dist/types/components/Formik/Formik.ColorInput.d.ts +6 -0
- package/dist/types/components/Formik/Formik.ComboBox.d.ts +6 -0
- package/dist/types/components/Formik/Formik.CountryPicker.d.ts +6 -0
- package/dist/types/components/Formik/Formik.DatePicker.d.ts +6 -0
- package/dist/types/components/Formik/Formik.EmojiPicker.d.ts +6 -0
- package/dist/types/components/Formik/Formik.Form.d.ts +20 -0
- package/dist/types/components/Formik/Formik.Hook.d.ts +5 -0
- package/dist/types/components/Formik/Formik.IconPicker.d.ts +6 -0
- package/dist/types/components/Formik/Formik.OTPInput.d.ts +8 -0
- package/dist/types/components/Formik/Formik.Password.d.ts +6 -0
- package/dist/types/components/Formik/Formik.Radio.d.ts +6 -0
- package/dist/types/components/Formik/Formik.Select.d.ts +6 -0
- package/dist/types/components/Formik/Formik.Selector.d.ts +6 -0
- package/dist/types/components/Formik/Formik.Slider.d.ts +7 -0
- package/dist/types/components/Formik/Formik.Switch.d.ts +3 -0
- package/dist/types/components/Formik/Formik.TagInput.d.ts +9 -0
- package/dist/types/components/Formik/Formik.TextArea.d.ts +6 -0
- package/dist/types/components/Formik/Formik.TextField.d.ts +6 -0
- package/dist/types/components/Formik/Formik.Toggle.d.ts +6 -0
- package/dist/types/components/Formik/Formik.ToggleGroup.d.ts +6 -0
- package/dist/types/components/Formik/Formik.Uploader.d.ts +38 -0
- package/dist/types/components/Formik/index.d.ts +23 -0
- package/dist/types/components/Gradient/Gradient/Gradient.props.d.ts +15 -0
- package/dist/types/components/Gradient/Gradient/Gradient.style.d.ts +55 -0
- package/dist/types/components/Gradient/Gradient/Gradient.type.d.ts +13 -0
- package/dist/types/components/Gradient/Gradient/Gradient.view.d.ts +3 -0
- package/dist/types/components/Gradient/Gradient.d.ts +3 -0
- package/dist/types/components/Gradient/index.d.ts +1 -0
- package/dist/types/components/HoverCard/HoverCard/HoverCard.props.d.ts +33 -0
- package/dist/types/components/HoverCard/HoverCard/HoverCard.state.d.ts +11 -0
- package/dist/types/components/HoverCard/HoverCard/HoverCard.style.d.ts +5 -0
- package/dist/types/components/HoverCard/HoverCard/HoverCard.type.d.ts +12 -0
- package/dist/types/components/HoverCard/HoverCard/HoverCard.view.d.ts +10 -0
- package/dist/types/components/HoverCard/HoverCard.d.ts +2 -0
- package/dist/types/components/Icon/FixedIcons.d.ts +10 -0
- package/dist/types/components/Icon/Icon.d.ts +100 -0
- package/dist/types/components/Icon/Icon.frame.d.ts +14 -0
- package/dist/types/components/IconPicker/IconPicker/IconPicker.constants.d.ts +2 -0
- package/dist/types/components/IconPicker/IconPicker/IconPicker.props.d.ts +37 -0
- package/dist/types/components/IconPicker/IconPicker/IconPicker.state.d.ts +14 -0
- package/dist/types/components/IconPicker/IconPicker/IconPicker.style.d.ts +13 -0
- package/dist/types/components/IconPicker/IconPicker/IconPicker.type.d.ts +14 -0
- package/dist/types/components/IconPicker/IconPicker/IconPicker.view.d.ts +4 -0
- package/dist/types/components/IconPicker/IconPicker.d.ts +3 -0
- package/dist/types/components/Input/FieldContainer/FieldContainer/FieldContainer.props.d.ts +27 -0
- package/dist/types/components/Input/FieldContainer/FieldContainer.d.ts +3 -0
- package/dist/types/components/Input/FieldContent/FieldContent/FieldContent.props.d.ts +71 -0
- package/dist/types/components/Input/FieldContent/FieldContent.d.ts +3 -0
- package/dist/types/components/Input/FieldIcons/FieldIcons/FieldIcons.props.d.ts +3 -0
- package/dist/types/components/Input/FieldIcons/FieldIcons.d.ts +3 -0
- package/dist/types/components/Input/FieldLabel/FieldLabel/FieldLabel.props.d.ts +31 -0
- package/dist/types/components/Input/FieldLabel/FieldLabel.d.ts +3 -0
- package/dist/types/components/Input/FieldLayout/FieldLayout/FieldLayout.props.d.ts +25 -0
- package/dist/types/components/Input/FieldLayout/FieldLayout.d.ts +3 -0
- package/dist/types/components/Input/FieldWrapper/FieldWrapper.d.ts +3 -0
- package/dist/types/components/Input/FieldWrapper/FieldWrapper.props.d.ts +3 -0
- package/dist/types/components/Input/HelperText/HelperText.d.ts +3 -0
- package/dist/types/components/Input/HelperText/HelperText.props.d.ts +17 -0
- package/dist/types/components/Input/Input.style.d.ts +18 -0
- package/dist/types/components/Input/Input.type.d.ts +13 -0
- package/dist/types/components/Input/fieldSizes.d.ts +15 -0
- package/dist/types/components/Input/index.d.ts +7 -0
- package/dist/types/components/Input/useFieldDesignSystemProps.d.ts +9 -0
- package/dist/types/components/KeyboardAvoidingView/KeyboardAvoidingView.d.ts +3 -0
- package/dist/types/components/KeyboardAvoidingView/KeyboardAvoidingView.types.d.ts +24 -0
- package/dist/types/components/KeyboardAvoidingView/index.d.ts +2 -0
- package/dist/types/components/Link/Link/Link.props.d.ts +18 -0
- package/dist/types/components/Link/Link/Link.state.d.ts +4 -0
- package/dist/types/components/Link/Link/Link.style.d.ts +11 -0
- package/dist/types/components/Link/Link/Link.type.d.ts +8 -0
- package/dist/types/components/Link/Link/Link.view.d.ts +4 -0
- package/dist/types/components/Link/Link.d.ts +3 -0
- package/dist/types/components/Loader/Loader/Loader.props.d.ts +27 -0
- package/dist/types/components/Loader/Loader/Loader.style.d.ts +4 -0
- package/dist/types/components/Loader/Loader/Loader.type.d.ts +4 -0
- package/dist/types/components/Loader/Loader/Loader.view.d.ts +11 -0
- package/dist/types/components/Loader/Loader.d.ts +3 -0
- package/dist/types/components/Markdown/Markdown/Markdown.content.d.ts +6 -0
- package/dist/types/components/Markdown/Markdown/Markdown.motion.d.ts +1 -0
- package/dist/types/components/Markdown/Markdown/Markdown.props.d.ts +34 -0
- package/dist/types/components/Markdown/Markdown/Markdown.view.d.ts +1 -0
- package/dist/types/components/Markdown/Markdown/useMarkdownTyping.d.ts +6 -0
- package/dist/types/components/Markdown/Markdown.d.ts +3 -0
- package/dist/types/components/MediaPreview.d.ts +14 -0
- package/dist/types/components/Menubar/Menubar/Menubar.props.d.ts +74 -0
- package/dist/types/components/Menubar/Menubar/Menubar.state.d.ts +8 -0
- package/dist/types/components/Menubar/Menubar/Menubar.style.d.ts +19 -0
- package/dist/types/components/Menubar/Menubar/Menubar.type.d.ts +36 -0
- package/dist/types/components/Menubar/Menubar/Menubar.view.d.ts +22 -0
- package/dist/types/components/Menubar/Menubar.d.ts +2 -0
- package/dist/types/components/Menubar/index.d.ts +1 -0
- package/dist/types/components/Message/Message/Message.layout.d.ts +3 -0
- package/dist/types/components/Message/Message/Message.props.d.ts +36 -0
- package/dist/types/components/Message/Message/Message.store.d.ts +5 -0
- package/dist/types/components/Message/Message/Message.style.d.ts +5 -0
- package/dist/types/components/Message/Message/Message.type.d.ts +48 -0
- package/dist/types/components/Message/Message/Message.view.d.ts +3 -0
- package/dist/types/components/Message/Message.d.ts +5 -0
- package/dist/types/components/Modal/Modal/Modal.layout.d.ts +3 -0
- package/dist/types/components/Modal/Modal/Modal.props.d.ts +92 -0
- package/dist/types/components/Modal/Modal/Modal.store.d.ts +19 -0
- package/dist/types/components/Modal/Modal/Modal.style.d.ts +33 -0
- package/dist/types/components/Modal/Modal/Modal.type.d.ts +4 -0
- package/dist/types/components/Modal/Modal/Modal.view.d.ts +21 -0
- package/dist/types/components/Modal/Modal.d.ts +5 -0
- package/dist/types/components/NavigationMenu/NavigationMenu/NavigationMenu.props.d.ts +68 -0
- package/dist/types/components/NavigationMenu/NavigationMenu/NavigationMenu.state.d.ts +8 -0
- package/dist/types/components/NavigationMenu/NavigationMenu/NavigationMenu.style.d.ts +32 -0
- package/dist/types/components/NavigationMenu/NavigationMenu/NavigationMenu.type.d.ts +35 -0
- package/dist/types/components/NavigationMenu/NavigationMenu/NavigationMenu.view.d.ts +25 -0
- package/dist/types/components/NavigationMenu/NavigationMenu.d.ts +2 -0
- package/dist/types/components/OTPInput/OTPInput/OTPInput.props.d.ts +43 -0
- package/dist/types/components/OTPInput/OTPInput/OTPInput.state.d.ts +23 -0
- package/dist/types/components/OTPInput/OTPInput/OTPInput.type.d.ts +9 -0
- package/dist/types/components/OTPInput/OTPInput/OTPInput.view.d.ts +29 -0
- package/dist/types/components/OTPInput/OTPInput/sync-timeouts.d.ts +1 -0
- package/dist/types/components/OTPInput/OTPInput.d.ts +3 -0
- package/dist/types/components/PageHeader/PageHeader/PageHeader.props.d.ts +9 -0
- package/dist/types/components/PageHeader/PageHeader/PageHeader.style.d.ts +4 -0
- package/dist/types/components/PageHeader/PageHeader/PageHeader.type.d.ts +7 -0
- package/dist/types/components/PageHeader/PageHeader/PageHeader.view.d.ts +4 -0
- package/dist/types/components/PageHeader/PageHeader.d.ts +3 -0
- package/dist/types/components/PageLayout/PageLayout.d.ts +3 -0
- package/dist/types/components/PageLayout/PageLayout.types.d.ts +30 -0
- package/dist/types/components/PageLayout/index.d.ts +2 -0
- package/dist/types/components/Pagination/Pagination/Pagination.props.d.ts +19 -0
- package/dist/types/components/Pagination/Pagination/Pagination.state.d.ts +3 -0
- package/dist/types/components/Pagination/Pagination/Pagination.style.d.ts +7 -0
- package/dist/types/components/Pagination/Pagination/Pagination.type.d.ts +17 -0
- package/dist/types/components/Pagination/Pagination/Pagination.view.d.ts +3 -0
- package/dist/types/components/Pagination/Pagination.d.ts +3 -0
- package/dist/types/components/Pagination/index.d.ts +1 -0
- package/dist/types/components/Portal/Portal.d.ts +7 -0
- package/dist/types/components/ProgressBar/ProgressBar/ProgressBar.props.d.ts +24 -0
- package/dist/types/components/ProgressBar/ProgressBar/ProgressBar.view.d.ts +4 -0
- package/dist/types/components/ProgressBar/ProgressBar.d.ts +4 -0
- package/dist/types/components/Resizable/Resizable/Resizable.props.d.ts +52 -0
- package/dist/types/components/Resizable/Resizable/Resizable.state.d.ts +16 -0
- package/dist/types/components/Resizable/Resizable/Resizable.style.d.ts +7 -0
- package/dist/types/components/Resizable/Resizable/Resizable.type.d.ts +44 -0
- package/dist/types/components/Resizable/Resizable/Resizable.view.d.ts +13 -0
- package/dist/types/components/Resizable/Resizable.d.ts +2 -0
- package/dist/types/components/Resizable/index.d.ts +1 -0
- package/dist/types/components/Router/Router.d.ts +3 -0
- package/dist/types/components/Router/Router.match.d.ts +15 -0
- package/dist/types/components/Router/Router.store.d.ts +28 -0
- package/dist/types/components/Router/Router.types.d.ts +16 -0
- package/dist/types/components/Router/index.d.ts +5 -0
- package/dist/types/components/Router/useHistory.d.ts +21 -0
- package/dist/types/components/Separator/Separator/Separator.props.d.ts +12 -0
- package/dist/types/components/Separator/Separator/Separator.style.d.ts +23 -0
- package/dist/types/components/Separator/Separator/Separator.type.d.ts +8 -0
- package/dist/types/components/Separator/Separator/Separator.view.d.ts +3 -0
- package/dist/types/components/Separator/Separator.d.ts +4 -0
- package/dist/types/components/Separator/index.d.ts +1 -0
- package/dist/types/components/ShareButton/ShareButton/ShareButton.props.d.ts +19 -0
- package/dist/types/components/ShareButton/ShareButton/ShareButton.state.d.ts +6 -0
- package/dist/types/components/ShareButton/ShareButton/ShareButton.view.d.ts +4 -0
- package/dist/types/components/ShareButton/ShareButton.d.ts +3 -0
- package/dist/types/components/Sidebar/Sidebar/Sidebar.props.d.ts +54 -0
- package/dist/types/components/Sidebar/Sidebar/Sidebar.state.d.ts +7 -0
- package/dist/types/components/Sidebar/Sidebar/Sidebar.style.d.ts +13 -0
- package/dist/types/components/Sidebar/Sidebar/Sidebar.type.d.ts +32 -0
- package/dist/types/components/Sidebar/Sidebar/Sidebar.view.d.ts +21 -0
- package/dist/types/components/Sidebar/Sidebar.d.ts +2 -0
- package/dist/types/components/Sidebar/index.d.ts +1 -0
- package/dist/types/components/Slider/Slider/Slider.props.d.ts +36 -0
- package/dist/types/components/Slider/Slider/Slider.state.d.ts +14 -0
- package/dist/types/components/Slider/Slider/Slider.style.d.ts +15 -0
- package/dist/types/components/Slider/Slider/Slider.type.d.ts +18 -0
- package/dist/types/components/Slider/Slider/Slider.view.d.ts +3 -0
- package/dist/types/components/Slider/Slider.d.ts +3 -0
- package/dist/types/components/Slider/index.d.ts +1 -0
- package/dist/types/components/SplashScreen/SplashScreen.d.ts +3 -0
- package/dist/types/components/SplashScreen/SplashScreen.store.d.ts +18 -0
- package/dist/types/components/SplashScreen/SplashScreen.types.d.ts +23 -0
- package/dist/types/components/SplashScreen/index.d.ts +3 -0
- package/dist/types/components/StatePanel/StatePanel/StatePanel.props.d.ts +10 -0
- package/dist/types/components/StatePanel/StatePanel/StatePanel.style.d.ts +4 -0
- package/dist/types/components/StatePanel/StatePanel/StatePanel.type.d.ts +8 -0
- package/dist/types/components/StatePanel/StatePanel/StatePanel.view.d.ts +4 -0
- package/dist/types/components/StatePanel/StatePanel.d.ts +3 -0
- package/dist/types/components/StatusIndicator/StatusIndicator/StatusIndicator.props.d.ts +8 -0
- package/dist/types/components/StatusIndicator/StatusIndicator/StatusIndicator.style.d.ts +10 -0
- package/dist/types/components/StatusIndicator/StatusIndicator/StatusIndicator.type.d.ts +7 -0
- package/dist/types/components/StatusIndicator/StatusIndicator/StatusIndicator.view.d.ts +3 -0
- package/dist/types/components/StatusIndicator/StatusIndicator.d.ts +3 -0
- package/dist/types/components/Table/Table/Table.context.d.ts +23 -0
- package/dist/types/components/Table/Table/Table.props.d.ts +24 -0
- package/dist/types/components/Table/Table/Table.state.d.ts +5 -0
- package/dist/types/components/Table/Table/Table.style.d.ts +22 -0
- package/dist/types/components/Table/Table/Table.type.d.ts +19 -0
- package/dist/types/components/Table/Table/Table.view.d.ts +14 -0
- package/dist/types/components/Table/Table/TableScroll.d.ts +8 -0
- package/dist/types/components/Table/Table.d.ts +16 -0
- package/dist/types/components/Tabs/Tabs/TabHeader.d.ts +24 -0
- package/dist/types/components/Tabs/Tabs/Tabs.props.d.ts +124 -0
- package/dist/types/components/Tabs/Tabs/Tabs.state.d.ts +23 -0
- package/dist/types/components/Tabs/Tabs/Tabs.styles.d.ts +11 -0
- package/dist/types/components/Tabs/Tabs/Tabs.type.d.ts +57 -0
- package/dist/types/components/Tabs/Tabs/Tabs.view.d.ts +12 -0
- package/dist/types/components/Tabs/Tabs.d.ts +10 -0
- package/dist/types/components/TextArea/TextArea.d.ts +17 -0
- package/dist/types/components/Title/Title/SlideEffect.d.ts +16 -0
- package/dist/types/components/Title/Title/Title.props.d.ts +28 -0
- package/dist/types/components/Title/Title/Title.state.d.ts +10 -0
- package/dist/types/components/Title/Title/Title.style.d.ts +29 -0
- package/dist/types/components/Title/Title/Title.type.d.ts +8 -0
- package/dist/types/components/Title/Title/Title.view.d.ts +4 -0
- package/dist/types/components/Title/Title/TypewriterEffect.d.ts +15 -0
- package/dist/types/components/Title/Title.d.ts +3 -0
- package/dist/types/components/Title/index.d.ts +1 -0
- package/dist/types/components/Toast/Toast/Toast.hook.d.ts +10 -0
- package/dist/types/components/Toast/Toast/Toast.props.d.ts +34 -0
- package/dist/types/components/Toast/Toast/Toast.store.d.ts +10 -0
- package/dist/types/components/Toast/Toast/Toast.style.d.ts +17 -0
- package/dist/types/components/Toast/Toast/Toast.type.d.ts +53 -0
- package/dist/types/components/Toast/Toast/Toast.view.d.ts +4 -0
- package/dist/types/components/Toast/Toast.d.ts +23 -0
- package/dist/types/components/Toast/index.d.ts +1 -0
- package/dist/types/components/Toggle/Toggle/Toggle.props.d.ts +17 -0
- package/dist/types/components/Toggle/Toggle/Toggle.state.d.ts +6 -0
- package/dist/types/components/Toggle/Toggle/Toggle.style.d.ts +8 -0
- package/dist/types/components/Toggle/Toggle/Toggle.type.d.ts +2 -0
- package/dist/types/components/Toggle/Toggle/Toggle.view.d.ts +12 -0
- package/dist/types/components/Toggle/Toggle.d.ts +3 -0
- package/dist/types/components/ToggleGroup/ToggleGroup/ToggleGroup.props.d.ts +19 -0
- package/dist/types/components/ToggleGroup/ToggleGroup/ToggleGroup.state.d.ts +4 -0
- package/dist/types/components/ToggleGroup/ToggleGroup/ToggleGroup.style.d.ts +2 -0
- package/dist/types/components/ToggleGroup/ToggleGroup/ToggleGroup.type.d.ts +9 -0
- package/dist/types/components/ToggleGroup/ToggleGroup/ToggleGroup.view.d.ts +3 -0
- package/dist/types/components/ToggleGroup/ToggleGroup.d.ts +3 -0
- package/dist/types/components/Tooltip/Tooltip/Tooltip.props.d.ts +38 -0
- package/dist/types/components/Tooltip/Tooltip/Tooltip.state.d.ts +17 -0
- package/dist/types/components/Tooltip/Tooltip/Tooltip.style.d.ts +7 -0
- package/dist/types/components/Tooltip/Tooltip/Tooltip.type.d.ts +20 -0
- package/dist/types/components/Tooltip/Tooltip/Tooltip.view.d.ts +21 -0
- package/dist/types/components/Tooltip/Tooltip.d.ts +2 -0
- package/dist/types/components/Tooltip/index.d.ts +1 -0
- package/dist/types/components/Uploader/Uploader/Uploader.props.d.ts +59 -0
- package/dist/types/components/Uploader/Uploader/Uploader.state.d.ts +14 -0
- package/dist/types/components/Uploader/Uploader/Uploader.view.d.ts +3 -0
- package/dist/types/components/Uploader/Uploader.d.ts +3 -0
- package/dist/types/components/index.d.ts +13 -0
- package/dist/types/components/index.shared.d.ts +143 -0
- package/dist/types/components/pilot/alert.d.ts +2 -0
- package/dist/types/components/pilot/avatar.d.ts +2 -0
- package/dist/types/components/pilot/blocks/SettingsPanel.d.ts +8 -0
- package/dist/types/components/pilot/blocks/SignIn.d.ts +8 -0
- package/dist/types/components/pilot/button.d.ts +1 -0
- package/dist/types/components/pilot/card.d.ts +2 -0
- package/dist/types/components/pilot/checkbox.d.ts +2 -0
- package/dist/types/components/pilot/modal.d.ts +2 -0
- package/dist/types/components/pilot/select.d.ts +2 -0
- package/dist/types/components/pilot/settings-panel.d.ts +1 -0
- package/dist/types/components/pilot/sign-in.d.ts +1 -0
- package/dist/types/components/pilot/switch.d.ts +2 -0
- package/dist/types/components/pilot/tabs.d.ts +2 -0
- package/dist/types/components/pilot/text-field.d.ts +2 -0
- package/dist/types/design-system/DesignSystemProvider.d.ts +8 -0
- package/dist/types/design-system/DesignSystemScope.d.ts +8 -0
- package/dist/types/design-system/configs/airbnb.json.d.ts +715 -0
- package/dist/types/design-system/configs/apple.json.d.ts +733 -0
- package/dist/types/design-system/configs/coinbase.json.d.ts +726 -0
- package/dist/types/design-system/configs/default.json.d.ts +547 -0
- package/dist/types/design-system/configs/figma.json.d.ts +712 -0
- package/dist/types/design-system/configs/index.d.ts +27 -0
- package/dist/types/design-system/configs/linear.json.d.ts +705 -0
- package/dist/types/design-system/configs/nike.json.d.ts +733 -0
- package/dist/types/design-system/configs/notion.json.d.ts +838 -0
- package/dist/types/design-system/configs/revolut.json.d.ts +798 -0
- package/dist/types/design-system/configs/shopify.json.d.ts +701 -0
- package/dist/types/design-system/configs/spacex.json.d.ts +618 -0
- package/dist/types/design-system/configs/spotify.json.d.ts +701 -0
- package/dist/types/design-system/configs/stripe.json.d.ts +768 -0
- package/dist/types/design-system/configs/tesla.json.d.ts +660 -0
- package/dist/types/design-system/configs/uber.json.d.ts +716 -0
- package/dist/types/design-system/configs/vercel.json.d.ts +728 -0
- package/dist/types/design-system/index.d.ts +4 -0
- package/dist/types/design-system/theme.d.ts +37 -0
- package/dist/types/design-system/types.d.ts +132 -0
- package/dist/types/design-system/utils.d.ts +8 -0
- package/dist/types/pages/designSystem.page.d.ts +7 -0
- package/dist/types/types/global.d.ts +66 -0
- package/dist/types/types/module.d.ts +7 -0
- package/dist/types/types/refractor.d.ts +16 -0
- package/dist/types/utils/apiConfig.d.ts +28 -0
- package/dist/types/utils/colors.d.ts +31 -0
- package/dist/types/utils/elevation.d.ts +3 -0
- package/dist/types/utils/env.d.ts +15 -0
- package/dist/types/utils/file.d.ts +4 -0
- package/dist/types/utils/generateId.d.ts +5 -0
- package/dist/types/utils/id.d.ts +6 -0
- package/dist/types/utils/index.d.ts +7 -0
- package/dist/types/utils/localstorage.d.ts +5 -0
- package/dist/types/utils/request.d.ts +38 -0
- package/dist/types/utils/scriptTypography.d.ts +4 -0
- package/dist/types/utils/store.d.ts +7 -0
- package/dist/types/utils/typography.d.ts +23 -0
- package/dist/web.cjs.js +38 -72
- package/dist/web.cjs.js.map +1 -1
- package/dist/web.esm.d.mts +1 -0
- package/dist/web.esm.mjs +6891 -0
- package/dist/web.esm.mjs.map +1 -0
- package/dist/web.umd.js +39 -39
- package/dist/web.umd.js.map +1 -1
- package/docs/getting-started/react-native.md +17 -3
- package/docs/guides/performance.mdx +5 -0
- package/docs/guides/react-native.mdx +10 -0
- package/docs/guides/registry-guide.mdx +145 -0
- package/package.json +315 -19
- package/dist/apple-touch-icon.png +0 -0
- package/dist/assets/apple-logo.png +0 -0
- package/dist/assets/maskable_icon.png +0 -0
- package/dist/assets/orange.png +0 -0
- package/dist/favicon.ico +0 -0
- package/dist/favicon.svg +0 -4
- package/dist/files/media/Accordion.mdx +0 -333
- package/dist/files/media/Alert.mdx +0 -353
- package/dist/files/media/AspectRatio.mdx +0 -64
- package/dist/files/media/AudioInput.mdx +0 -78
- package/dist/files/media/AudioWaveform.mdx +0 -9
- package/dist/files/media/Avatar.mdx +0 -301
- package/dist/files/media/Background.mdx +0 -610
- package/dist/files/media/Badge.mdx +0 -503
- package/dist/files/media/BlockEditor-drag-and-drop.md +0 -61
- package/dist/files/media/BlockEditor.mdx +0 -106
- package/dist/files/media/Button.mdx +0 -688
- package/dist/files/media/Card.mdx +0 -560
- package/dist/files/media/Carousel.mdx +0 -605
- package/dist/files/media/Chart.mdx +0 -871
- package/dist/files/media/ChatInput.mdx +0 -540
- package/dist/files/media/ChatWidget.mdx +0 -403
- package/dist/files/media/Checkbox.mdx +0 -463
- package/dist/files/media/ColorInput.mdx +0 -217
- package/dist/files/media/ColorPicker.mdx +0 -259
- package/dist/files/media/ComboBox.mdx +0 -376
- package/dist/files/media/Command.mdx +0 -496
- package/dist/files/media/ContextMenu.mdx +0 -411
- package/dist/files/media/CookieConsent.mdx +0 -263
- package/dist/files/media/CountryPicker.mdx +0 -349
- package/dist/files/media/DatePicker.mdx +0 -217
- package/dist/files/media/DragAndDrop.mdx +0 -34
- package/dist/files/media/Drawer.mdx +0 -233
- package/dist/files/media/DropZone.mdx +0 -9
- package/dist/files/media/DropdownMenu.mdx +0 -403
- package/dist/files/media/EmojiPicker.mdx +0 -335
- package/dist/files/media/Gradient.mdx +0 -604
- package/dist/files/media/HoverCard.mdx +0 -144
- package/dist/files/media/IconPicker.mdx +0 -9
- package/dist/files/media/Label.mdx +0 -9
- package/dist/files/media/Link.mdx +0 -142
- package/dist/files/media/Loader.mdx +0 -161
- package/dist/files/media/Markdown.mdx +0 -99
- package/dist/files/media/Menubar.mdx +0 -496
- package/dist/files/media/Message.mdx +0 -299
- package/dist/files/media/Modal.mdx +0 -795
- package/dist/files/media/NavigationMenu.mdx +0 -728
- package/dist/files/media/OTPInput.mdx +0 -450
- package/dist/files/media/Pagination.mdx +0 -356
- package/dist/files/media/ProgressBar.mdx +0 -119
- package/dist/files/media/Radio.mdx +0 -314
- package/dist/files/media/RadioGroup.mdx +0 -9
- package/dist/files/media/Resizable.mdx +0 -873
- package/dist/files/media/Select.mdx +0 -689
- package/dist/files/media/Selector.mdx +0 -9
- package/dist/files/media/Separator.mdx +0 -741
- package/dist/files/media/ShareButton.mdx +0 -29
- package/dist/files/media/Sidebar.mdx +0 -1237
- package/dist/files/media/Slider.mdx +0 -513
- package/dist/files/media/StatusIndicator.mdx +0 -43
- package/dist/files/media/Switch.mdx +0 -521
- package/dist/files/media/Table.mdx +0 -827
- package/dist/files/media/Tabs.mdx +0 -524
- package/dist/files/media/TagInput.mdx +0 -372
- package/dist/files/media/TextArea.mdx +0 -724
- package/dist/files/media/TextField.mdx +0 -830
- package/dist/files/media/Title.mdx +0 -1081
- package/dist/files/media/Toast.mdx +0 -802
- package/dist/files/media/Toggle.mdx +0 -159
- package/dist/files/media/ToggleGroup.mdx +0 -180
- package/dist/files/media/Tooltip.mdx +0 -307
- package/dist/files/media/Uploader.mdx +0 -9
- package/dist/fonts/mulish-subset.woff2 +0 -0
- package/dist/icon-512.png +0 -0
- package/dist/illustrations/cross-platform.svg +0 -37
- package/dist/index.d.ts +0 -5516
- package/dist/indexnow-key.txt +0 -1
- package/dist/manifest.json +0 -22
- package/dist/orange.webp +0 -0
- package/dist/robots.txt +0 -8
- package/dist/web.esm.js +0 -49919
- package/dist/web.esm.js.map +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),Me=require("./Checkbox.view-B7K8ycvs.cjs"),$=require("./Formik.Uploader-DePTdd7A.cjs"),l=require("react"),i=require("app-studio"),he=require("./TextField-CwaxvcqN.cjs"),Q=require("./Icon-C37alecH.cjs"),uo=require("./Label-Bd0TpfkG.cjs"),oe=require("./useFieldDesignSystemProps-CgVU3R10.cjs"),Ce=require("./Select.view-BV01zWHM.cjs"),Be=require("./Switch.view-6ncV6Ifz.cjs"),pe=require("formik"),Ne=({placeholder:e,isMulti:a,options:n,id:r})=>{const c=l.useId().replace(/[^a-zA-Z0-9_-]/g,""),t=r??`selector-${c}`,s=e?a?[]:"":Array.isArray(n)&&n.length>0?n[0].value:a?[]:"",[u,m]=l.useState(!1),[f,h]=l.useState(!1),[d,p]=l.useState(s),[w,_]=l.useState(!0);return{id:t,value:d,setValue:p,hide:w,setHide:_,isHovered:u,setIsHovered:m,isFocused:f,setIsFocused:h}},Oe=({id:e,name:a,label:n,value:r,views:c={},options:t=[],helperText:s,error:u=!1,isDisabled:m=!1,isReadOnly:f=!1,onChange:h=()=>{},setValue:d=()=>{},hide:p,setHide:w,isHovered:_,setIsHovered:v,isFocused:I,setIsFocused:V,placeholder:x,isMulti:T,shape:C,variant:b,size:P,shadow:E,isScrollable:M,"aria-label":D,...z})=>{const A=l.useId(),B=e??A,y=`${B}-label`,S=`${B}-helper-text`,W=!!s,R=l.useCallback(g=>{m||f||(d(g.value),h&&h(g.value))},[d,h,m,f]);return o.jsxs(oe.FieldContainer,{id:B,width:"100%",views:c,...z,children:[n&&o.jsxs(i.Horizontal,{fontSize:"10px",letterSpacing:"wider",color:"color-black-500",fontWeight:"bold",marginBottom:12,alignItems:"center",gap:6,style:{textTransform:"uppercase"},children:[o.jsx(Q.InfoIcon,{widthHeight:14})," ",o.jsx(i.Text,{id:y,children:n})]}),o.jsx(i.Horizontal,{gap:0,role:"radiogroup","aria-labelledby":!D&&n?y:void 0,"aria-label":D,"aria-describedby":W?S:void 0,"aria-readonly":f||void 0,"aria-invalid":u?!0:void 0,children:t.map((g,H,U)=>{const F=r===g.value,ee=g.color??"theme-primary",te=F?ee:"color-gray-200",q=F?ee:"color-gray-500",N=H===0,k=H===U.length-1,L=k||F;return o.jsx(i.View,{as:"button",type:"button",role:"radio","aria-checked":F,disabled:m,onClick:()=>R(g),flex:1,minWidth:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",textAlign:"center",paddingVertical:6,paddingHorizontal:12,fontSize:"12px",fontWeight:F?"bold":"normal",cursor:m?"not-allowed":f?"default":"pointer",backgroundColor:"transparent",color:q,borderStyle:"solid",borderColor:te,borderTopWidth:1,borderBottomWidth:1,borderLeftWidth:1,borderRightWidth:L?1:0,borderRadius:N?"6px 0 0 6px":k?"0 6px 6px 0":"0",zIndex:F?1:0,transition:"color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease",...c.item,children:g.label},g.value)})}),o.jsx("input",{type:"hidden",id:`${B}-input`,name:a,value:Array.isArray(r)?r.join(","):r,onChange:()=>{}}),W&&o.jsx(i.Text,{id:S,fontSize:"11px",lineHeight:"16px",marginTop:0,fontWeight:u?"500":"400",color:u?"theme-error":"color-gray-500",transition:"color 0.2s ease, opacity 0.2s ease",...c.helperText,children:s})]})},$e=e=>{const{value:a,defaultValue:n="",onChange:r,onChangeComplete:c,onOpen:t,onClose:s,closeOnSelect:u=!0,maxRecentColors:m=8,showRecentColors:f=!0,isAutoFocus:h=!1,colorFormat:d}=e,[p,w]=l.useState(!1),[_,v]=l.useState(a??n),[I,V]=l.useState(""),[x,T]=l.useState([]),[C,b]=l.useState(!1),[P,E]=l.useState(!1),M=l.useRef(null),D=l.useRef(null);l.useEffect(()=>{a!==void 0&&v(a)},[a]),l.useEffect(()=>{if(f&&typeof localStorage<"u")try{const g=localStorage.getItem("colorInput-recentColors");g&&T(JSON.parse(g))}catch(g){console.warn("Failed to load recent colors from localStorage:",g)}},[f]),l.useEffect(()=>{const g=M.current;h&&g&&typeof g.focus=="function"&&g.focus()},[h]),l.useEffect(()=>{if(typeof document>"u")return;const g=H=>{p&&M.current&&D.current&&!M.current.contains(H.target)&&!D.current.contains(H.target)&&W()};return document.addEventListener("mousedown",g),()=>document.removeEventListener("mousedown",g)},[p]);const z=l.useCallback(g=>{f&&T(H=>{const U=H.filter(ee=>ee!==g),F=[g,...U].slice(0,m);try{typeof localStorage<"u"&&localStorage.setItem("colorInput-recentColors",JSON.stringify(F))}catch(ee){console.warn("Failed to save recent colors to localStorage:",ee)}return F})},[f,m]),A=l.useCallback(()=>{const g=!p;w(g),g?t==null||t():s==null||s()},[p,t,s]),B=l.useCallback(g=>{v(g),z(g);const H=$.formatColor(g,d);r==null||r(H),c==null||c(H),u&&(w(!1),s==null||s())},[r,c,u,s,z,d]),y=l.useCallback(g=>{V(g)},[]),S=l.useCallback(()=>{I&&(B(I),V(""))},[I,B]),W=l.useCallback(()=>{w(!1),s==null||s()},[s]),R=l.useCallback(g=>{v(g),r==null||r($.formatColor(g,d))},[r,d]);return{isOpen:p,selectedColor:_,recentColors:x,customColor:I,isFocused:C,isHovered:P,handleToggle:A,handleColorSelect:B,handleCustomColorChange:y,handleCustomColorSubmit:S,handleClose:W,setIsFocused:b,setIsHovered:E,setValue:R,triggerRef:M,dropdownRef:D}},we={container:{position:"relative",display:"inline-block",width:"fit-content"},trigger:{display:"flex",alignItems:"center",justifyContent:"space-between",cursor:"pointer",transition:"all 0.2s ease-in-out",backgroundColor:"color-white",borderWidth:"1px",borderStyle:"solid",borderColor:"color-gray-300",padding:"8px 12px",borderRadius:8},dropdown:{position:"absolute",top:"calc(100% + 4px)",left:0,right:0,zIndex:1e3,backgroundColor:"color-white",borderRadius:12,borderWidth:"1px",borderStyle:"solid",borderColor:"color-gray-200",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.1)",padding:"16px",minWidth:"280px"},colorGrid:{display:"grid",gridTemplateColumns:"repeat(8, 1fr)",gap:"8px"},recentColors:{display:"flex",gap:"4px",flexWrap:"wrap"}},mo={xs:{height:"28px",fontSize:"10px",padding:"4px 8px"},sm:{height:"32px",fontSize:"12px",padding:"6px 10px"},md:{height:"40px",fontSize:"14px",padding:"8px 12px"},lg:{height:"48px",fontSize:"16px",padding:"12px 16px"},xl:{height:"56px",fontSize:"20px",padding:"16px 20px"}},po={default:{borderRadius:8},square:{borderRadius:0},rounded:{borderRadius:8},pill:{borderRadius:9999}},ho={default:{backgroundColor:"color-white",borderColor:"color-gray-300",borderWidth:"1px",borderStyle:"solid"},outline:{backgroundColor:"transparent",borderColor:"color-gray-300",borderWidth:"1px",borderStyle:"solid"},none:{backgroundColor:"transparent",borderColor:"transparent",borderWidth:"0px"}},go=[{name:"Red 500",value:"color-red-500"},{name:"Orange 500",value:"color-orange-500"},{name:"Yellow 500",value:"color-yellow-500"},{name:"Green 500",value:"color-green-500"},{name:"Blue 500",value:"color-blue-500"},{name:"Indigo 500",value:"color-indigo-500"},{name:"Purple 500",value:"color-purple-500"},{name:"Pink 500",value:"color-pink-500"},{name:"Red 300",value:"color-red-300"},{name:"Orange 300",value:"color-orange-300"},{name:"Yellow 300",value:"color-yellow-300"},{name:"Green 300",value:"color-green-300"},{name:"Blue 300",value:"color-blue-300"},{name:"Indigo 300",value:"color-indigo-300"},{name:"Purple 300",value:"color-purple-300"},{name:"Pink 300",value:"color-pink-300"},{name:"Red 700",value:"color-red-700"},{name:"Orange 700",value:"color-orange-700"},{name:"Yellow 700",value:"color-yellow-700"},{name:"Green 700",value:"color-green-700"},{name:"Blue 700",value:"color-blue-700"},{name:"Indigo 700",value:"color-indigo-700"},{name:"Purple 700",value:"color-purple-700"},{name:"Pink 700",value:"color-pink-700"},{name:"Gray 100",value:"color-gray-100"},{name:"Gray 300",value:"color-gray-300"},{name:"Gray 500",value:"color-gray-500"},{name:"Gray 700",value:"color-gray-700"},{name:"Gray 900",value:"color-gray-900"},{name:"White",value:"color-white"},{name:"Black",value:"color-black"},{name:"Transparent",value:"transparent"}],Ue=({id:e,name:a,label:n,placeholder:r="Select a color",helperText:c,views:t={},size:s="md",shape:u="default",variant:m="default",shadow:f,error:h=!1,isDisabled:d=!1,isReadOnly:p=!1,isFocused:w=!1,isHovered:_=!1,predefinedColors:v=go,showCustomInput:I=!0,showRecentColors:V=!0,isOpen:x=!1,selectedColor:T="",recentColors:C=[],customColor:b="",handleToggle:P=()=>{},handleColorSelect:E=()=>{},handleCustomColorChange:M=()=>{},handleCustomColorSubmit:D=()=>{},handleClose:z,setIsFocused:A=()=>{},setIsHovered:B=()=>{},setValue:y,triggerRef:S,dropdownRef:W,onChange:R,onChangeComplete:g,onBlur:H,onFocus:U,onOpen:F,onClose:ee,colorFormat:te,maxRecentColors:q,closeOnSelect:N,value:k,defaultValue:L,"aria-label":G,...X})=>{const{getColor:K}=i.useTheme(),be=l.useId(),re=e??be,ne=`${re}-label`,ue=`${re}-listbox`,ie=`${re}-helper-text`,ge=`${re}-error-text`,le=!!h&&typeof h=="string",_e=[c?ie:null,le?ge:null].filter(Boolean).join(" ")||void 0,Ie={...we.container,...t==null?void 0:t.container},Te={...we.trigger,...mo[s],...po[u],...ho[m],...h&&{borderColor:"color-red-500"},...d&&{opacity:.6,cursor:"not-allowed"},...w&&{borderColor:"theme-primary",boxShadow:"0 0 0 2px rgba(255, 255, 255, 1), 0 0 0 4px rgba(29, 78, 216, 0.16)"},..._&&!d&&{borderColor:"color-gray-400"},...t==null?void 0:t.trigger,...f&&f},Se={...we.dropdown,...t==null?void 0:t.dropdown},j={...we.colorGrid,...t==null?void 0:t.colorGrid},J={...we.recentColors,...t==null?void 0:t.recentColors},me=T||"color-gray-200";return o.jsxs(i.View,{...Ie,...X,children:[n&&o.jsx(uo.Label,{id:ne,htmlFor:re,size:s,isDisabled:d,error:h,views:t==null?void 0:t.label,children:n}),a&&o.jsx("input",{type:"hidden",name:a,value:$.formatColor(T,te)}),o.jsxs(i.View,{ref:S,id:re,onClick:d||p?void 0:P,onKeyDown:O=>{d||p||(O.key==="Enter"||O.key===" ")&&(O.preventDefault(),P())},onMouseEnter:()=>B(!0),onMouseLeave:()=>B(!1),onFocus:()=>{A(!0),U&&U()},onBlur:O=>{A(!1),H&&H(O)},tabIndex:d?-1:0,role:"button","aria-expanded":x,"aria-haspopup":"listbox","aria-controls":x?ue:void 0,"aria-labelledby":!G&&n?ne:void 0,"aria-label":G??(n?void 0:r),"aria-describedby":_e,"aria-invalid":h?!0:void 0,width:"fit-content",gap:8,...Te,children:[o.jsx(i.View,{width:"20px",height:"20px",borderRadius:"4px",backgroundColor:me,borderWidth:"1px",borderStyle:"solid",borderColor:"color-gray-300"}),!p&&!d&&o.jsx(Q.ChevronIcon,{widthHeight:16,color:"color-gray-500",orientation:x?"up":"down"})]}),x&&o.jsxs(i.View,{ref:W,...Se,children:[o.jsx(i.View,{id:ue,role:"listbox","aria-labelledby":n?ne:void 0,"aria-label":n?void 0:"Color options",...j,children:v.map((O,ce)=>o.jsx(i.View,{role:"option","aria-selected":T===O.value,"aria-label":O.name,tabIndex:0,width:"24px",height:"24px",borderRadius:"8px",backgroundColor:O.value,borderWidth:"2px",borderStyle:"solid",borderColor:T===O.value?"theme-primary":"transparent",cursor:"pointer",transition:"transform 0.2s ease, border-color 0.2s ease",onClick:()=>E(O.value),onKeyDown:de=>{(de.key==="Enter"||de.key===" ")&&(de.preventDefault(),E(O.value))},title:O.name,_hover:{transform:"scale(1.05)",borderColor:"color-gray-400"},...t==null?void 0:t.colorSwatch},ce))}),V&&C.length>0&&o.jsxs(i.Vertical,{gap:8,marginTop:"16px",children:[o.jsx(i.Text,{fontSize:"12px",fontWeight:"500",color:"color-gray-600",children:"Recent Colors"}),o.jsx(i.Horizontal,{gap:4,flexWrap:"wrap",...J,children:C.map((O,ce)=>o.jsx(i.View,{width:"20px",height:"20px",borderRadius:"8px",backgroundColor:O,borderWidth:"1px",borderStyle:"solid",borderColor:T===O?"theme-primary":"color-gray-300",cursor:"pointer",transition:"transform 0.2s ease, border-color 0.2s ease",onClick:()=>E(O),title:O,_hover:{transform:"scale(1.05)",borderColor:"color-gray-400"}},ce))})]}),I&&o.jsxs(i.Vertical,{gap:8,marginTop:"16px",children:[o.jsx(i.Text,{fontSize:"12px",fontWeight:"500",color:"color-gray-600",children:"Custom Color"}),o.jsxs(i.Horizontal,{gap:8,children:[o.jsx(he.TextField,{value:b,onChange:M,placeholder:"#000000 or rgb(0,0,0)","aria-label":"Custom color",size:"sm",style:{flex:1},views:t==null?void 0:t.customInput}),o.jsx(i.Element,{as:"button",type:"button",padding:"8px 12px",backgroundColor:"theme-primary",border:"none",borderRadius:"8px",cursor:"pointer",onClick:D,transition:"background-color 0.2s ease, opacity 0.2s ease",_hover:{backgroundColor:"color-blue-700"},children:o.jsx(i.Text,{color:"color-white",fontSize:"12px",fontWeight:"500",children:"Add"})})]})]})]}),c&&o.jsx(i.Text,{id:ie,fontSize:"12px",color:h?"theme-error":"color-gray-600",marginTop:"4px",...t==null?void 0:t.helperText,children:c}),le&&o.jsx(i.Text,{id:ge,fontSize:"12px",color:"theme-error",marginTop:"4px",...t==null?void 0:t.error,children:h})]})},qe=[{name:"Afghanistan",dial_code:"+93",emoji:"🇦🇫",code:"AF"},{name:"Aland Islands",dial_code:"+358",emoji:"🇦🇽",code:"AX"},{name:"Albania",dial_code:"+355",emoji:"🇦🇱",code:"AL"},{name:"Algeria",dial_code:"+213",emoji:"🇩🇿",code:"DZ"},{name:"AmericanSamoa",dial_code:"+1684",emoji:"🇦🇸",code:"AS"},{name:"Andorra",dial_code:"+376",emoji:"🇦🇩",code:"AD"},{name:"Angola",dial_code:"+244",emoji:"🇦🇴",code:"AO"},{name:"Anguilla",dial_code:"+1264",emoji:"🇦🇮",code:"AI"},{name:"Antarctica",dial_code:"+672",emoji:"🇦🇶",code:"AQ"},{name:"Antigua and Barbuda",dial_code:"+1268",emoji:"🇦🇬",code:"AG"},{name:"Argentina",dial_code:"+54",emoji:"🇦🇷",code:"AR"},{name:"Armenia",dial_code:"+374",emoji:"🇦🇲",code:"AM"},{name:"Aruba",dial_code:"+297",emoji:"🇦🇼",code:"AW"},{name:"Australia",dial_code:"+61",emoji:"🇦🇺",code:"AU"},{name:"Austria",dial_code:"+43",emoji:"🇦🇹",code:"AT"},{name:"Azerbaijan",dial_code:"+994",emoji:"🇦🇿",code:"AZ"},{name:"Bahamas",dial_code:"+1242",emoji:"🇧🇸",code:"BS"},{name:"Bahrain",dial_code:"+973",emoji:"🇧🇭",code:"BH"},{name:"Bangladesh",dial_code:"+880",emoji:"🇧🇩",code:"BD"},{name:"Barbados",dial_code:"+1246",emoji:"🇧🇧",code:"BB"},{name:"Belarus",dial_code:"+375",emoji:"🇧🇾",code:"BY"},{name:"Belgium",dial_code:"+32",emoji:"🇧🇪",code:"BE"},{name:"Belize",dial_code:"+501",emoji:"🇧🇿",code:"BZ"},{name:"Benin",dial_code:"+229",emoji:"🇧🇯",code:"BJ"},{name:"Bermuda",dial_code:"+1441",emoji:"🇧🇲",code:"BM"},{name:"Bhutan",dial_code:"+975",emoji:"🇧🇹",code:"BT"},{name:"Bolivia, Plurinational State of",dial_code:"+591",emoji:"🇧🇴",code:"BO"},{name:"Bosnia and Herzegovina",dial_code:"+387",emoji:"🇧🇦",code:"BA"},{name:"Botswana",dial_code:"+267",emoji:"🇧🇼",code:"BW"},{name:"Brazil",dial_code:"+55",emoji:"🇧🇷",code:"BR"},{name:"British Indian Ocean Territory",dial_code:"+246",emoji:"🇮🇴",code:"IO"},{name:"Brunei Darussalam",dial_code:"+673",emoji:"🇧🇳",code:"BN"},{name:"Bulgaria",dial_code:"+359",emoji:"🇧🇬",code:"BG"},{name:"Burkina Faso",dial_code:"+226",emoji:"🇧🇫",code:"BF"},{name:"Burundi",dial_code:"+257",emoji:"🇧🇮",code:"BI"},{name:"Cambodia",dial_code:"+855",emoji:"🇰🇭",code:"KH"},{name:"Cameroon",dial_code:"+237",emoji:"🇨🇲",code:"CM"},{name:"Canada",dial_code:"+1",emoji:"🇨🇦",code:"CA"},{name:"Cape Verde",dial_code:"+238",emoji:"🇨🇻",code:"CV"},{name:"Cayman Islands",dial_code:"+345",emoji:"🇰🇾",code:"KY"},{name:"Central African Republic",dial_code:"+236",emoji:"🇨🇫",code:"CF"},{name:"Chad",dial_code:"+235",emoji:"🇹🇩",code:"TD"},{name:"Chile",dial_code:"+56",emoji:"🇨🇱",code:"CL"},{name:"China",dial_code:"+86",emoji:"🇨🇳",code:"CN"},{name:"Christmas Island",dial_code:"+61",emoji:"🇨🇽",code:"CX"},{name:"Cocos (Keeling) Islands",dial_code:"+61",emoji:"🇨🇨",code:"CC"},{name:"Colombia",dial_code:"+57",emoji:"🇨🇴",code:"CO"},{name:"Comoros",dial_code:"+269",emoji:"🇰🇲",code:"KM"},{name:"Congo",dial_code:"+242",emoji:"🇨🇬",code:"CG"},{name:"Congo, The Democratic Republic of the Congo",dial_code:"+243",emoji:"🇨🇩",code:"CD"},{name:"Cook Islands",dial_code:"+682",emoji:"🇨🇰",code:"CK"},{name:"Costa Rica",dial_code:"+506",emoji:"🇨🇷",code:"CR"},{name:"Cote d'Ivoire",dial_code:"+225",emoji:"🇨🇮",code:"CI"},{name:"Croatia",dial_code:"+385",emoji:"🇭🇷",code:"HR"},{name:"Cuba",dial_code:"+53",emoji:"🇨🇺",code:"CU"},{name:"Cyprus",dial_code:"+357",emoji:"🇨🇾",code:"CY"},{name:"Czech Republic",dial_code:"+420",emoji:"🇨🇿",code:"CZ"},{name:"Denmark",dial_code:"+45",emoji:"🇩🇰",code:"DK"},{name:"Djibouti",dial_code:"+253",emoji:"🇩🇯",code:"DJ"},{name:"Dominica",dial_code:"+1767",emoji:"🇩🇲",code:"DM"},{name:"Dominican Republic",dial_code:"+1849",emoji:"🇩🇴",code:"DO"},{name:"Ecuador",dial_code:"+593",emoji:"🇪🇨",code:"EC"},{name:"Egypt",dial_code:"+20",emoji:"🇪🇬",code:"EG"},{name:"El Salvador",dial_code:"+503",emoji:"🇸🇻",code:"SV"},{name:"Equatorial Guinea",dial_code:"+240",emoji:"🇬🇶",code:"GQ"},{name:"Eritrea",dial_code:"+291",emoji:"🇪🇷",code:"ER"},{name:"Estonia",dial_code:"+372",emoji:"🇪🇪",code:"EE"},{name:"Ethiopia",dial_code:"+251",emoji:"🇪🇹",code:"ET"},{name:"Falkland Islands (Malvinas)",dial_code:"+500",emoji:"🇫🇰",code:"FK"},{name:"Faroe Islands",dial_code:"+298",emoji:"🇫🇴",code:"FO"},{name:"Fiji",dial_code:"+679",emoji:"🇫🇯",code:"FJ"},{name:"Finland",dial_code:"+358",emoji:"🇫🇮",code:"FI"},{name:"France",dial_code:"+33",emoji:"🇫🇷",code:"FR"},{name:"French Guiana",dial_code:"+594",emoji:"🇬🇫",code:"GF"},{name:"French Polynesia",dial_code:"+689",emoji:"🇵🇫",code:"PF"},{name:"Gabon",dial_code:"+241",emoji:"🇬🇦",code:"GA"},{name:"Gambia",dial_code:"+220",emoji:"🇬🇲",code:"GM"},{name:"Georgia",dial_code:"+995",emoji:"🇬🇪",code:"GE"},{name:"Germany",dial_code:"+49",emoji:"🇩🇪",code:"DE"},{name:"Ghana",dial_code:"+233",emoji:"🇬🇭",code:"GH"},{name:"Gibraltar",dial_code:"+350",emoji:"🇬🇮",code:"GI"},{name:"Greece",dial_code:"+30",emoji:"🇬🇷",code:"GR"},{name:"Greenland",dial_code:"+299",emoji:"🇬🇱",code:"GL"},{name:"Grenada",dial_code:"+1473",emoji:"🇬🇩",code:"GD"},{name:"Guadeloupe",dial_code:"+590",emoji:"🇬🇵",code:"GP"},{name:"Guam",dial_code:"+1671",emoji:"🇬🇺",code:"GU"},{name:"Guatemala",dial_code:"+502",emoji:"🇬🇹",code:"GT"},{name:"Guernsey",dial_code:"+44",emoji:"🇬🇬",code:"GG"},{name:"Guinea",dial_code:"+224",emoji:"🇬🇳",code:"GN"},{name:"Guinea-Bissau",dial_code:"+245",emoji:"🇬🇼",code:"GW"},{name:"Guyana",dial_code:"+595",emoji:"🇬🇾",code:"GY"},{name:"Haiti",dial_code:"+509",emoji:"🇭🇹",code:"HT"},{name:"Holy See (Vatican City State)",dial_code:"+379",emoji:"🇻🇦",code:"VA"},{name:"Honduras",dial_code:"+504",emoji:"🇭🇳",code:"HN"},{name:"Hong Kong",dial_code:"+852",emoji:"🇭🇰",code:"HK"},{name:"Hungary",dial_code:"+36",emoji:"🇭🇺",code:"HU"},{name:"Iceland",dial_code:"+354",emoji:"🇮🇸",code:"IS"},{name:"India",dial_code:"+91",emoji:"🇮🇳",code:"IN"},{name:"Indonesia",dial_code:"+62",emoji:"🇮🇩",code:"ID"},{name:"Iran, Islamic Republic of Persian Gulf",dial_code:"+98",emoji:"🇮🇷",code:"IR"},{name:"Iraq",dial_code:"+964",emoji:"🇮🇷",code:"IQ"},{name:"Ireland",dial_code:"+353",emoji:"🇮🇪",code:"IE"},{name:"Isle of Man",dial_code:"+44",emoji:"🇮🇲",code:"IM"},{name:"Israel",dial_code:"+972",emoji:"🇮🇱",code:"IL"},{name:"Italy",dial_code:"+39",emoji:"🇮🇹",code:"IT"},{name:"Jamaica",dial_code:"+1876",emoji:"🇯🇲",code:"JM"},{name:"Japan",dial_code:"+81",emoji:"🇯🇵",code:"JP"},{name:"Jersey",dial_code:"+44",emoji:"🇯🇪",code:"JE"},{name:"Jordan",dial_code:"+962",emoji:"🇯🇴",code:"JO"},{name:"Kazakhstan",dial_code:"+77",emoji:"🇰🇿",code:"KZ"},{name:"Kenya",dial_code:"+254",emoji:"🇰🇪",code:"KE"},{name:"Kiribati",dial_code:"+686",emoji:"🇰🇮",code:"KI"},{name:"Korea, Democratic People's Republic of Korea",dial_code:"+850",emoji:"🇰🇵",code:"KP"},{name:"Korea, Republic of South Korea",dial_code:"+82",emoji:"🇰🇷",code:"KR"},{name:"Kuwait",dial_code:"+965",emoji:"🇰🇼",code:"KW"},{name:"Kyrgyzstan",dial_code:"+996",emoji:"🇰🇬",code:"KG"},{name:"Laos",dial_code:"+856",emoji:"🇱🇦",code:"LA"},{name:"Latvia",dial_code:"+371",emoji:"🇱🇻",code:"LV"},{name:"Lebanon",dial_code:"+961",emoji:"🇱🇧",code:"LB"},{name:"Lesotho",dial_code:"+266",emoji:"🇱🇸",code:"LS"},{name:"Liberia",dial_code:"+231",emoji:"🇱🇷",code:"LR"},{name:"Libyan Arab Jamahiriya",dial_code:"+218",emoji:"🇱🇾",code:"LY"},{name:"Liechtenstein",dial_code:"+423",emoji:"🇱🇮",code:"LI"},{name:"Lithuania",dial_code:"+370",emoji:"🇱🇹",code:"LT"},{name:"Luxembourg",dial_code:"+352",emoji:"🇱🇺",code:"LU"},{name:"Macao",dial_code:"+853",emoji:"🇲🇴",code:"MO"},{name:"Macedonia",dial_code:"+389",emoji:"🇲🇰",code:"MK"},{name:"Madagascar",dial_code:"+261",emoji:"🇲🇬",code:"MG"},{name:"Malawi",dial_code:"+265",emoji:"🇲🇼",code:"MW"},{name:"Malaysia",dial_code:"+60",emoji:"🇲🇾",code:"MY"},{name:"Maldives",dial_code:"+960",emoji:"🇲🇻",code:"MV"},{name:"Mali",dial_code:"+223",emoji:"🇲🇱",code:"ML"},{name:"Malta",dial_code:"+356",emoji:"🇲🇹",code:"MT"},{name:"Marshall Islands",dial_code:"+692",emoji:"🇲🇭",code:"MH"},{name:"Martinique",dial_code:"+596",emoji:"🇲🇶",code:"MQ"},{name:"Mauritania",dial_code:"+222",emoji:"🇲🇷",code:"MR"},{name:"Mauritius",dial_code:"+230",emoji:"🇲🇺",code:"MU"},{name:"Mayotte",dial_code:"+262",emoji:"🇾🇹",code:"YT"},{name:"Mexico",dial_code:"+52",emoji:"🇲🇽",code:"MX"},{name:"Micronesia, Federated States of Micronesia",dial_code:"+691",emoji:"🇫🇲",code:"FM"},{name:"Moldova",dial_code:"+373",emoji:"🇲🇩",code:"MD"},{name:"Monaco",dial_code:"+377",emoji:"🇲🇨",code:"MC"},{name:"Mongolia",dial_code:"+976",emoji:"🇲🇳",code:"MN"},{name:"Montenegro",dial_code:"+382",emoji:"🇲🇪",code:"ME"},{name:"Montserrat",dial_code:"+1664",emoji:"🇲🇸",code:"MS"},{name:"Morocco",dial_code:"+212",emoji:"🇲🇦",code:"MA"},{name:"Mozambique",dial_code:"+258",emoji:"🇲🇿",code:"MZ"},{name:"Myanmar",dial_code:"+95",emoji:"🇲🇲",code:"MM"},{name:"Namibia",emoji:"🇳🇦",dial_code:"+264",code:"NA"},{name:"Nauru",dial_code:"+674",emoji:"🇳🇷",code:"NR"},{name:"Nepal",dial_code:"+977",emoji:"🇳🇵",code:"NP"},{name:"Netherlands",dial_code:"+31",emoji:"🇳🇱",code:"NL"},{name:"Netherlands Antilles",dial_code:"+599",emoji:"🇧🇶",code:"AN"},{name:"New Caledonia",dial_code:"+687",emoji:"🇳🇨",code:"NC"},{name:"New Zealand",dial_code:"+64",emoji:"🇳🇿",code:"NZ"},{name:"Nicaragua",dial_code:"+505",emoji:"🇳🇮",code:"NI"},{name:"Niger",dial_code:"+227",emoji:"🇳🇪",code:"NE"},{name:"Nigeria",dial_code:"+234",emoji:"🇳🇬",code:"NG"},{name:"Niue",dial_code:"+683",emoji:"🇳🇺",code:"NU"},{name:"Norfolk Island",dial_code:"+672",emoji:"🇳🇫",code:"NF"},{name:"Northern Mariana Islands",dial_code:"+1670",emoji:"🇲🇵",code:"MP"},{name:"Norway",dial_code:"+47",emoji:"🇳🇴",code:"NO"},{name:"Oman",dial_code:"+968",emoji:"🇴🇲",code:"OM"},{name:"Pakistan",dial_code:"+92",emoji:"🇵🇰",code:"PK"},{name:"Palau",dial_code:"+680",emoji:"🇵🇼",code:"PW"},{name:"Palestinian Territory, Occupied",dial_code:"+970",emoji:"🇵🇸",code:"PS"},{name:"Panama",dial_code:"+507",emoji:"🇵🇦",code:"PA"},{name:"Papua New Guinea",dial_code:"+675",emoji:"🇵🇬",code:"PG"},{name:"Paraguay",dial_code:"+595",emoji:"🇵🇾",code:"PY"},{name:"Peru",dial_code:"+51",emoji:"🇵🇪",code:"PE"},{name:"Philippines",dial_code:"+63",emoji:"🇵🇭",code:"PH"},{name:"Pitcairn",dial_code:"+872",emoji:"🇵🇳",code:"PN"},{name:"Poland",dial_code:"+48",emoji:"🇵🇱",code:"PL"},{name:"Portugal",dial_code:"+351",emoji:"🇵🇹",code:"PT"},{name:"Puerto Rico",dial_code:"+1939",emoji:"🇵🇷",code:"PR"},{name:"Qatar",dial_code:"+974",emoji:"🇶🇦",code:"QA"},{name:"Romania",dial_code:"+40",emoji:"🇷🇴",code:"RO"},{name:"Russia",dial_code:"+7",emoji:"🇷🇺",code:"RU"},{name:"Rwanda",dial_code:"+250",emoji:"🇷🇼",code:"RW"},{name:"Reunion",dial_code:"+262",emoji:"🇷🇪",code:"RE"},{name:"Saint Barthelemy",dial_code:"+590",emoji:"🇧🇱",code:"BL"},{name:"Saint Helena, Ascension and Tristan Da Cunha",dial_code:"+290",emoji:"🇸🇭",code:"SH"},{name:"Saint Kitts and Nevis",dial_code:"+1869",emoji:"🇰🇳",code:"KN"},{name:"Saint Lucia",dial_code:"+1758",emoji:"🇱🇨",code:"LC"},{name:"Saint Martin",dial_code:"+590",emoji:"🇲🇫",code:"MF"},{name:"Saint Pierre and Miquelon",dial_code:"+508",emoji:"🇵🇲",code:"PM"},{name:"Saint Vincent and the Grenadines",dial_code:"+1784",emoji:"🇻🇨",code:"VC"},{name:"Samoa",dial_code:"+685",emoji:"🇼🇸",code:"WS"},{name:"San Marino",dial_code:"+378",emoji:"🇸🇲",code:"SM"},{name:"Sao Tome and Principe",dial_code:"+239",emoji:"🇸🇹",code:"ST"},{name:"Saudi Arabia",dial_code:"+966",emoji:"🇸🇦",code:"SA"},{name:"Senegal",dial_code:"+221",emoji:"🇸🇳",code:"SN"},{name:"Serbia",dial_code:"+381",emoji:"🇷🇸",code:"RS"},{name:"Seychelles",dial_code:"+248",emoji:"🇸🇨",code:"SC"},{name:"Sierra Leone",dial_code:"+232",emoji:"🇸🇱",code:"SL"},{name:"Singapore",dial_code:"+65",emoji:"🇸🇬",code:"SG"},{name:"Slovakia",dial_code:"+421",emoji:"🇸🇰",code:"SK"},{name:"Slovenia",dial_code:"+386",emoji:"🇸🇮",code:"SI"},{name:"Solomon Islands",dial_code:"+677",emoji:"🇸🇧",code:"SB"},{name:"Somalia",dial_code:"+252",emoji:"🇸🇴",code:"SO"},{name:"South Africa",dial_code:"+27",emoji:"🇿🇦",code:"ZA"},{name:"South Sudan",dial_code:"+211",emoji:"🇸🇸",code:"SS"},{name:"South Georgia and the South Sandwich Islands",dial_code:"+500",emoji:"🇬🇸",code:"GS"},{name:"Spain",dial_code:"+34",emoji:"🇪🇸",code:"ES"},{name:"Sri Lanka",dial_code:"+94",emoji:"🇱🇰",code:"LK"},{name:"Sudan",dial_code:"+249",emoji:"🇸🇩",code:"SD"},{name:"Suriname",dial_code:"+597",emoji:"🇸🇷",code:"SR"},{name:"Svalbard and Jan Mayen",dial_code:"+47",emoji:"🇸🇯",code:"SJ"},{name:"Swaziland",dial_code:"+268",emoji:"🇸🇿",code:"SZ"},{name:"Sweden",dial_code:"+46",emoji:"🇸🇪",code:"SE"},{name:"Switzerland",dial_code:"+41",emoji:"🇨🇭",code:"CH"},{name:"Syrian Arab Republic",dial_code:"+963",emoji:"🇸🇾",code:"SY"},{name:"Taiwan",dial_code:"+886",emoji:"🇹🇼",code:"TW"},{name:"Tajikistan",dial_code:"+992",emoji:"🇹🇯",code:"TJ"},{name:"Tanzania, United Republic of Tanzania",dial_code:"+255",emoji:"🇹🇿",code:"TZ"},{name:"Thailand",dial_code:"+66",emoji:"🇹🇭",code:"TH"},{name:"Timor-Leste",dial_code:"+670",emoji:"🇹🇱",code:"TL"},{name:"Togo",dial_code:"+228",emoji:"🇹🇬",code:"TG"},{name:"Tokelau",dial_code:"+690",emoji:"🇹🇰",code:"TK"},{name:"Tonga",dial_code:"+676",emoji:"🇹🇴",code:"TO"},{name:"Trinidad and Tobago",dial_code:"+1868",emoji:"🇹🇹",code:"TT"},{name:"Tunisia",dial_code:"+216",emoji:"🇹🇳",code:"TN"},{name:"Turkey",dial_code:"+90",emoji:"🇹🇷",code:"TR"},{name:"Turkmenistan",dial_code:"+993",emoji:"🇹🇲",code:"TM"},{name:"Turks and Caicos Islands",dial_code:"+1649",emoji:"🇹🇨",code:"TC"},{name:"Tuvalu",dial_code:"+688",emoji:"🇹🇻",code:"TV"},{name:"Uganda",dial_code:"+256",emoji:"🇺🇬",code:"UG"},{name:"Ukraine",dial_code:"+380",emoji:"🇺🇦",code:"UA"},{name:"United Arab Emirates",dial_code:"+971",emoji:"🇦🇪",code:"AE"},{name:"United Kingdom",dial_code:"+44",emoji:"🇬🇧",code:"GB"},{name:"United States",dial_code:"+1",emoji:"🇺🇸",code:"US"},{name:"Uruguay",dial_code:"+598",emoji:"🇺🇾",code:"UY"},{name:"Uzbekistan",dial_code:"+998",emoji:"🇺🇿",code:"UZ"},{name:"Vanuatu",dial_code:"+678",emoji:"🇻🇺",code:"VU"},{name:"Venezuela, Bolivarian Republic of Venezuela",dial_code:"+58",emoji:"🇻🇪",code:"VE"},{name:"Vietnam",dial_code:"+84",emoji:"🇻🇳",code:"VN"},{name:"Virgin Islands, British",dial_code:"+1284",emoji:"🇻🇬",code:"VG"},{name:"Virgin Islands, U.S.",dial_code:"+1340",emoji:"🇻🇮",code:"VI"},{name:"Wallis and Futuna",dial_code:"+681",emoji:"🇼🇫",code:"WF"},{name:"Yemen",dial_code:"+967",emoji:"🇾🇪",code:"YE"},{name:"Zambia",dial_code:"+260",emoji:"🇿🇲",code:"ZM"},{name:"Zimbabwe",dial_code:"+263",emoji:"🇿🇼",code:"ZW"}],Ye=({placeholder:e})=>{const[a,n]=l.useState(qe),[r,c]=l.useState(e??qe[0].name),[t,s]=l.useState(!0),[u,m]=l.useState(!1),[f,h]=l.useState(!1);return{hide:t,setHide:s,newOptions:a,setNewOptions:n,isHovered:f,setIsHovered:h,isFocused:u,setIsFocused:m,value:r,setValue:c}},He={xs:8,sm:10,md:12,lg:14,xl:16},fo=({size:e,...a})=>o.jsx(i.Element,{as:"ul",...a}),bo=e=>o.jsx(i.Input,{type:"text",...e}),xo=({size:e,...a})=>o.jsx(i.Element,{as:"li",...a}),ko=({id:e,option:a,size:n="md",isSelected:r=!1,isHighlighted:c=!1,callback:t=()=>{},views:s={text:{}}})=>{const u=m=>{m&&m.stopPropagation&&m.stopPropagation(),t(a??"")};return o.jsx(xo,{id:e,margin:0,role:"option","aria-selected":r,listStyleType:"none",fontWeight:"normal",paddingVertical:6,paddingHorizontal:12,onClick:u,fontSize:i.Typography.fontSizes[n],backgroundColor:c?"color-gray-100":void 0,_hover:{backgroundColor:"color-gray-100",transition:"all 0.15s ease-in-out"},...s.text,children:a})},yo=({id:e,size:a,views:n={dropDown:{}},options:r=[],selectedOption:c,highlightedIndex:t=-1,callback:s=()=>{}})=>{const u=m=>s(m);return o.jsx(fo,{id:e,role:"listbox",margin:0,padding:0,top:"100%",width:"100%",display:"flex",zIndex:1e3,overflow:"auto",maxHeight:"300px",borderRadius:12,position:"absolute",flexDirection:"column",backgroundColor:"color-white",borderWidth:"1px",borderStyle:"solid",borderColor:"color-gray-200",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.1)",...n.dropDown,children:r.map((m,f)=>o.jsx(ko,{id:e?`${e}-option-${f}`:void 0,size:a,option:m.name,isSelected:m.name===c,isHighlighted:f===t,callback:u,...n.text},m.code))})},Je=({id:e,name:a,label:n,value:r,placeholder:c,helperText:t,hide:s=!1,error:u=!1,isHovered:m=!1,isFocused:f=!1,isAutoFocus:h=!1,isDisabled:d=!1,isReadOnly:p=!1,shadow:w={},newOptions:_=[],size:v="md",variant:I="default",shape:V="default",onChange:x,onBlur:T=()=>{},setHide:C=()=>{},setNewOptions:b=()=>{},setIsHovered:P=()=>{},setIsFocused:E=()=>{},setValue:M=()=>{},selected:D,views:z={text:{},icon:{},label:{},dropDown:{},helperText:{}},themeMode:A,...B})=>{const{getColor:y,themeMode:S}=i.useTheme(),W=l.useId(),R=e??W,g=`${R}-listbox`,[H,U]=l.useState(-1),F=y("color-gray-500",{themeMode:A||S}),ee=()=>E(!0),te=K=>{C(!s),U(-1),M(K),x&&x(K)},q=()=>{!d&&!p&&C(!s)},N=K=>{const be=K.target.value,re=qe.filter(ne=>ne.name.toLowerCase().startsWith(be.toLowerCase()));s&&C(!1),b(re),U(re.length>0?0:-1),x&&x(be)},k=K=>{d||p||(K.key==="ArrowDown"?(K.preventDefault(),s?(C(!1),U(_.length>0?0:-1)):U(Math.min(H+1,_.length-1))):K.key==="ArrowUp"?s||(K.preventDefault(),U(Math.max(H-1,0))):K.key==="Enter"?!s&&H>=0&&_[H]&&(K.preventDefault(),te(_[H].name)):K.key==="Escape"&&(s||(C(!0),U(-1))))},L=K=>{T(K),E(!1)},G=!!n,X={margin:0,paddingVertical:0,paddingHorizontal:0,width:"100%",height:"100%",border:"none",on:{focus:{outline:"none"}},transition:"all 0.2s ease-in-out",fontSize:i.Typography.fontSizes[v],backgroundColor:"transparent",color:d?"color-gray-400":"color-gray-900",cursor:d?"not-allowed":p?"auto":"pointer",...z.field};return o.jsxs(oe.FieldContainer,{helperText:t,error:u,views:z,onClick:q,children:[o.jsxs(oe.FieldContent,{label:n,size:v,error:u,shape:V,views:z,shadow:w,variant:I,value:r,color:"theme-primary",isDisabled:d,isReadOnly:p,isFocused:f,showLabel:G,_hover:!d&&!u?{borderColor:"theme-primary"}:void 0,children:[o.jsxs(oe.FieldWrapper,{children:[G&&o.jsx(oe.FieldLabel,{htmlFor:R,color:"theme-primary",error:u,views:z,children:n}),o.jsx(bo,{id:R,name:a,placeholder:c,readOnly:p,disabled:d,autoFocus:h,role:"combobox","aria-expanded":!s,"aria-controls":s?void 0:g,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":!s&&H>=0?`${g}-option-${H}`:void 0,onBlur:L,onFocus:ee,onKeyDown:k,...X,...B,value:r,onChange:N})]}),o.jsx(oe.FieldIcons,{children:s?o.jsx(Q.ChevronIcon,{orientation:"down",widthHeight:He[v],color:F,style:z.icon}):o.jsx(Q.ChevronIcon,{orientation:"up",widthHeight:He[v],color:F,style:z.icon})})]}),!s&&o.jsx(yo,{id:g,size:v,views:z,options:_,selectedOption:r,highlightedIndex:H,callback:te})]})},Ze=e=>{const a=he.useTextFieldState(e),[n,r]=l.useState(!1);return{isVisible:n,setIsVisible:r,...e,...a}},Qe=(e,a,n)=>{const[r,c]=l.useState(e),[t,s]=l.useState(a?{value:a,label:a}:e[0]),[u,m]=l.useState([]),[f,h]=l.useState(0),[d,p]=l.useState(n??""),[w,_]=l.useState(!1);return{filteredItems:r,setFilteredItems:c,selectedItem:t,setSelectedItem:s,selectedItems:u,setSelectedItems:m,highlightedIndex:f,setHighlightedIndex:h,searchQuery:d,setSearchQuery:p,isDropdownVisible:w,setIsDropdownVisible:_}},jo={xs:12,sm:14,md:16,lg:20,xl:24},wo={maxHeight:"280px",overflowY:"auto",zIndex:1e3,backgroundColor:"color-white",borderRadius:12,borderWidth:"1px",borderStyle:"solid",borderColor:"color-gray-200",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.1)"},We={enter:{opacity:1,transform:"translateY(0) scale(1)",transition:"all 0.2s ease-in-out"},initial:{opacity:0,transform:"translateY(-8px) scale(0.96)"}},So={padding:"8px",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:"color-gray-100",backgroundColor:"color-gray-50",borderTopLeftRadius:10,borderTopRightRadius:10},Co={padding:"8px 10px",cursor:"pointer",borderRadius:8,margin:"1px 4px",transition:"all 0.15s ease-in-out"},_o={padding:"24px 16px",display:"flex",flexDirection:"column",alignItems:"center",gap:"8px"},Le={open:{transform:"rotate(180deg)",transition:"all 0.2s ease-in-out"},closed:{transform:"rotate(0deg)",transition:"all 0.2s ease-in-out"}},Io={display:"inline-flex",alignItems:"center",gap:"4px",padding:"2px 8px",backgroundColor:"color-gray-100",borderRadius:8,fontSize:"12px",fontWeight:"500",color:"color-gray-700",transition:"all 0.15s ease-in-out"},Xe=({placeholder:e,items:a,showTick:n=!0,onSelect:r,searchEnabled:c=!0,left:t,right:s,label:u,filteredItems:m,setSelectedItem:f,selectedItem:h,selectedItems:d,setSelectedItems:p,highlightedIndex:w,setHighlightedIndex:_,searchQuery:v,setSearchQuery:I,setFilteredItems:V,views:x,isDropdownVisible:T,setIsDropdownVisible:C,isMulti:b=!1,searchPlaceholder:P,size:E="md",...M})=>{const D=l.useId(),z=M.id??D,A=`${z}-dropdown`,B=`${z}-label`,{ref:y,relation:S}=i.useElementPosition({trackChanges:!0,trackOnScroll:!0,trackOnResize:!0,throttleMs:10}),W=l.useRef(null),[R,g]=l.useState(!1),[H,U]=l.useState(!1),F=()=>{var K;const k=H?We.enter:We.initial;if(!y.current)return{};const L=y.current.getBoundingClientRect(),G={position:"fixed",left:L.left,width:L.width,zIndex:1e4,...k};return((K=S==null?void 0:S.space)==null?void 0:K.vertical)==="top"?{...G,bottom:window.innerHeight-L.top+6}:{...G,top:L.bottom+6}};l.useEffect(()=>{if(T){const k=setTimeout(()=>U(!0),10);return()=>clearTimeout(k)}U(!1)},[T]),l.useEffect(()=>{const k=L=>{!L.composedPath().some(K=>(K==null?void 0:K.id)===A)&&y.current&&!y.current.contains(L.target)&&C(!1)};return document.addEventListener("mousedown",k),()=>document.removeEventListener("mousedown",k)},[]);const ee=k=>{if(I(k),k==="")V(a);else{const L=a.filter(G=>G.label.toLowerCase().includes(k.toLowerCase()));V(L)}_(0)},te=k=>{if(b){const L=d.some(X=>X.value===k.value);let G;L?G=d.filter(X=>X.value!==k.value):G=[...d,k],p(G),r==null||r(G)}else f(k),r==null||r(k),C(!1)},q=(k,L)=>{k.stopPropagation();const G=d.filter(X=>X.value!==L.value);p(G),r==null||r(G)},N=k=>b?d.some(L=>L.value===k.value):k.value===h.value;return o.jsxs(i.Horizontal,{flexWrap:"nowrap",gap:15,alignItems:"center",width:"100%",...M,children:[u&&o.jsx(i.Text,{id:B,views:x==null?void 0:x.label,children:u}),o.jsxs(i.View,{position:"relative",width:"100%",children:[o.jsx("div",{ref:y,role:"combobox",tabIndex:0,"aria-expanded":T,"aria-haspopup":"listbox","aria-controls":T?A:void 0,"aria-labelledby":u?B:void 0,onClick:()=>C(!T),onKeyDown:k=>{k.key==="Enter"||k.key===" "||k.key==="ArrowDown"?(k.preventDefault(),C(!0)):k.key==="Escape"&&C(!1)},style:{width:"100%"},children:o.jsxs(oe.FieldContent,{size:E,isHovered:R,isFocused:T,onMouseEnter:()=>g(!0),onMouseLeave:()=>g(!1),cursor:"pointer",views:{container:x==null?void 0:x.container},children:[o.jsxs(i.Horizontal,{gap:10,alignItems:"center",flex:1,minWidth:0,flexWrap:b?"wrap":"nowrap",...x==null?void 0:x.labelContainer,children:[t,b?d.length>0?o.jsx(i.Horizontal,{gap:6,flexWrap:"wrap",alignItems:"center",children:d.map(k=>o.jsxs(i.Horizontal,{...Io,_hover:{backgroundColor:"color-gray-200"},children:[k.icon&&o.jsx(i.View,{flexShrink:0,children:k.icon}),o.jsx(i.Text,{size:"sm",color:"color-gray-700",weight:"medium",children:k.label}),o.jsx(Q.CloseIcon,{widthHeight:12,color:"color-gray-500",cursor:"pointer",onClick:L=>q(L,k)})]},k.value))}):o.jsx(i.Text,{weight:"medium",flexGrow:1,color:"color-gray-500",style:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},...x==null?void 0:x.label,children:e}):o.jsxs(o.Fragment,{children:[h.icon&&h.label!==e&&o.jsx(i.View,{children:h.icon}),o.jsx(i.Text,{weight:"medium",flexGrow:1,color:h.label===e?"color-gray-500":"color-gray-800",style:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},...x==null?void 0:x.label,children:h.label})]})]}),o.jsxs(i.Horizontal,{gap:8,alignItems:"center",flexShrink:0,children:[s,o.jsx(i.View,{style:T?Le.open:Le.closed,children:o.jsx(Q.ChevronIcon,{widthHeight:jo[E],orientation:"down",color:T?"color-gray-700":"color-gray-400"})})]})]})}),T&&o.jsx(Ce.Portal,{children:o.jsxs(i.View,{ref:W,id:A,role:"listbox","aria-labelledby":u?B:void 0,...wo,style:F(),...x==null?void 0:x.dropdown,children:[c&&o.jsx(i.View,{...So,children:o.jsx(he.TextFieldView,{id:`${z}-search`,name:`${M.name??z}-search`,width:"100%",type:"search",autoFocus:!0,value:v,onChange:k=>ee(k),hint:P||e||"Search...","aria-label":P||"Search",isClearable:!1,left:o.jsx(Q.SearchIcon,{widthHeight:14,color:"color-gray-400"}),views:{container:{width:"100%",padding:"0",backgroundColor:"transparent",borderColor:"color-gray-200",...x==null?void 0:x.text},field:{fontSize:"13px"}}})}),m.length>0&&o.jsx(i.View,{margin:0,padding:"4px",children:m.map((k,L)=>{const G=N(k),X=L===w;return o.jsxs(i.Horizontal,{role:"option","aria-selected":G,justifyContent:"space-between",alignItems:"center",...Co,backgroundColor:G&&X?"color-blue-100":G?"color-blue-50":X?"color-gray-100":"transparent",onMouseEnter:()=>_(L),onClick:()=>te(k),...x==null?void 0:x.item,children:[o.jsxs(i.Horizontal,{gap:8,alignItems:"center",children:[k.icon&&o.jsx(i.View,{flexShrink:0,children:k.icon}),o.jsx(i.Text,{size:"sm",color:G?"theme-primary":"color-gray-800",weight:G?"medium":"normal",children:k.label})]}),G&&n&&o.jsx(Q.TickIcon,{widthHeight:16,color:"theme-primary"})]},k.value)})}),m.length===0&&o.jsxs(i.Vertical,{..._o,children:[o.jsx(Q.SearchIcon,{widthHeight:24,color:"color-gray-300"}),o.jsx(i.Text,{color:"color-gray-500",size:"sm",align:"center",children:"No results found"}),o.jsx(i.Text,{color:"color-gray-400",size:"xs",align:"center",children:"Try a different search term"})]})]})})]})]})},eo=e=>{const{tags:a,defaultTags:n=[],onTagsChange:r,onTagAdd:c,onTagRemove:t,maxTags:s,minTagLength:u=1,maxTagLength:m=50,allowDuplicates:f=!1,separators:h=["enter","comma"],isDisabled:d=!1,isReadOnly:p=!1}=e,[w,_]=l.useState(""),[v,I]=l.useState(()=>(a||n||[]).map((S,W)=>({id:`tag-${W}-${Date.now()}`,value:S}))),[V,x]=l.useState(!1),[T,C]=l.useState(!1),b=a&&Array.isArray(a)?a.map((y,S)=>({id:`tag-${S}-${Date.now()}`,value:y})):v;l.useEffect(()=>{a&&Array.isArray(a)&&I(a.map((y,S)=>({id:`tag-${S}-${Date.now()}`,value:y})))},[a]);const P=l.useCallback(y=>{const S=y.trim();return!(S.length<u||S.length>m||!f&&b.map(R=>R.value.toLowerCase()).includes(S.toLowerCase())||s&&b.length>=s)},[b,u,m,f,s]),E=l.useCallback(y=>{if(d||p)return;const S=y.trim();if(!S||!P(S))return;const W={id:`tag-${Date.now()}-${Math.random()}`,value:S},R=[...b,W],g=R.map(H=>H.value);a||I(R),r==null||r(g),c==null||c(S),_("")},[b,P,r,c,d,p,a]),M=l.useCallback(y=>{if(d||p)return;const S=b[y];if(!S)return;const W=b.filter((g,H)=>H!==y),R=W.map(g=>g.value);a||I(W),r==null||r(R),t==null||t(S.value,y)},[b,r,t,d,p,a]),D=l.useCallback(y=>{if(d||p)return;const S=y.target.value;if(h.includes("comma")&&S.includes(",")){const W=S.split(","),R=W[0],g=W.slice(1).join(",");R.trim()&&E(R),_(g);return}_(S)},[E,h,d,p]),z=l.useCallback(y=>{if(d||p)return;const{key:S}=y;if(h.includes("enter")&&S==="Enter"){y.preventDefault(),w.trim()&&E(w);return}if(h.includes("tab")&&S==="Tab"&&w.trim()){y.preventDefault(),E(w);return}if(h.includes("space")&&S===" "&&w.trim()){y.preventDefault(),E(w);return}if(S==="Backspace"&&!w&&b.length>0){y.preventDefault(),M(b.length-1);return}},[E,M,w,b,h,d,p]),A=l.useCallback(()=>{var y;x(!0),(y=e.onFocus)==null||y.call(e)},[e.onFocus]),B=l.useCallback(()=>{var y;x(!1),w.trim()&&E(w),(y=e.onBlur)==null||y.call(e)},[E,w,e.onBlur]);return{inputValue:w,setInputValue:_,tags:b,setTags:I,isFocused:V,setIsFocused:x,isHovered:T,setIsHovered:C,addTag:E,removeTag:M,handleInputChange:D,handleKeyDown:z,handleFocus:A,handleBlur:B,validateTag:P}},To=({tag:e,onRemove:a,isRemovable:n,size:r,views:c,isDisabled:t,isReadOnly:s})=>{const[u,m]=l.useState(!1),f={xs:{padding:"2px 8px",fontSize:"10px",iconSize:10},sm:{padding:"4px 10px",fontSize:"12px",iconSize:12},md:{padding:"6px 14px",fontSize:"14px",iconSize:14},lg:{padding:"8px 16px",fontSize:"16px",iconSize:16},xl:{padding:"10px 18px",fontSize:"18px",iconSize:18}}[r]||{padding:"6px 14px",fontSize:"14px",iconSize:14};return o.jsxs(i.Horizontal,{alignItems:"center",gap:6,padding:f.padding,backgroundColor:"theme-primary-100",borderRadius:"9999px",borderWidth:"1px",borderStyle:"solid",borderColor:"theme-primary-250",transition:"all 0.15s ease-in-out",opacity:t?.6:1,maxWidth:"100%",minWidth:0,_hover:!t&&!s?{backgroundColor:"theme-primary-180",borderColor:"theme-primary-400"}:{},...c==null?void 0:c.tag,children:[o.jsx(i.Text,{fontSize:f.fontSize,color:t?"color-gray-400":"theme-primary",maxLines:1,minWidth:0,...c==null?void 0:c.tagText,children:e}),n&&!t&&!s&&o.jsx(i.View,{cursor:"pointer",padding:"2px",borderRadius:"50%",transition:"all 0.15s ease-in-out",backgroundColor:u?"color-red-100":"transparent",opacity:u?1:.7,onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),onClick:h=>{h.stopPropagation(),a()},_hover:{backgroundColor:"color-red-100"},...c==null?void 0:c.tagRemove,children:o.jsx(Q.CloseIcon,{widthHeight:f.iconSize,color:u?"color-red-500":"color-gray-400"})})]})},oo=({id:e,name:a,label:n,placeholder:r="Type and press Enter to add tags...",helperText:c,error:t=!1,inputValue:s="",tags:u=[],left:m,right:f,shadow:h={},views:d={},size:p="md",shape:w="default",variant:_="default",isDisabled:v=!1,isReadOnly:I=!1,isAutoFocus:V=!1,isRemovable:x=!0,isFocused:T=!1,isHovered:C=!1,maxTags:b,handleInputChange:P,handleKeyDown:E,handleFocus:M,handleBlur:D,removeTag:z,setIsHovered:A,onClick:B,setInputValue:y,setIsFocused:S,addTag:W,defaultTags:R,onTagsChange:g,onTagAdd:H,onTagRemove:U,minTagLength:F,maxTagLength:ee,allowDuplicates:te,separators:q,menuItems:N,onMenuItemSelect:k,onFocus:L,onBlur:G,validateTag:X,...K})=>{const{getColor:be,themeMode:re}=i.useTheme(),ne=!!(n&&(T||u.length>0||s)),ue=b&&u.length>=b,ie={border:"none",outline:"none",backgroundColor:"transparent",fontSize:i.Typography.fontSizes[p],color:v?"color-gray-400":"color-gray-800",flex:1,minWidth:"120px",transition:"all 0.2s ease-in-out",...d==null?void 0:d.input};return o.jsx(oe.FieldContainer,{error:!!t,helperText:typeof t=="string"?t:c,views:d,...K,children:o.jsxs(oe.FieldContent,{label:n,shadow:h,value:u.length>0||s?"has-content":"",size:p,shape:w,variant:_,error:!!t,showLabel:ne,isFocused:T,isHovered:C,isDisabled:v,isReadOnly:I,views:{...d,container:{...d==null?void 0:d.container,...d==null?void 0:d.inputContainer}},onClick:B,onMouseEnter:()=>A==null?void 0:A(!0),onMouseLeave:()=>A==null?void 0:A(!1),children:[m,o.jsxs(oe.FieldWrapper,{children:[n&&o.jsx(oe.FieldLabel,{size:p,error:!!t,views:d,children:n}),o.jsxs(i.Horizontal,{alignItems:"center",gap:8,flexWrap:"wrap",width:"100%",minHeight:i.Typography.fontSizes[p],padding:"0",...d==null?void 0:d.tagsContainer,children:[u.map((ge,le)=>o.jsx(To,{tag:ge.value,onRemove:()=>z==null?void 0:z(le),isRemovable:x,size:p,views:d,isDisabled:v,isReadOnly:I},ge.id)),!ue&&o.jsx(i.Input,{id:e,name:a,type:"text",value:s,placeholder:u.length===0?r:"",disabled:v,readOnly:I,autoFocus:V,onChange:P,onKeyDown:E,onFocus:M,onBlur:D,autoComplete:"off",...ie}),ue&&o.jsxs(i.Text,{fontSize:i.Typography.fontSizes[p],color:"color-gray-500",fontStyle:"italic",...d==null?void 0:d.placeholder,children:["Maximum ",b," tags reached"]})]})]}),f]})})},ao={select:"Select an emoji",reaction:"Add reaction",search:"Search emojis…",more:"More emojis",empty:"No emojis found",categoryEmpty:"No emojis in this category",recent:"Recent",smileys:"Smileys",people:"People",animals:"Animals",food:"Food",activities:"Activities",travel:"Travel",objects:"Objects",symbols:"Symbols",flags:"Flags"},ro=["recent","smileys","people","animals","food","activities","travel","objects","symbols","flags"],Ge=e=>e.toLowerCase().replace(/œ/g,"oe").replace(/æ/g,"ae").normalize("NFD").replace(/[\u0300-\u036f]/g,""),vo=e=>e&&typeof e.emoji=="string"&&typeof e.name=="string"&&ro.includes(e.category)&&Array.isArray(e.keywords)&&e.keywords.every(a=>typeof a=="string"),to=e=>{const{value:a,defaultValue:n="",onChange:r,onEmojiSelect:c,isOpen:t,onOpen:s,onClose:u,closeOnSelect:m=!0,maxRecentEmojis:f=16,mode:h="picker",showRecentEmojis:d=h!=="reaction",enabledCategories:p=ro,customEmojis:w=[],isDisabled:_,isReadOnly:v}=e,[I,V]=l.useState(!1),x=t??I,[T,C]=l.useState(n),b=a??T,[P,E]=l.useState(""),[M,D]=l.useState(p.find(q=>q!=="recent")||"recent"),[z,A]=l.useState([]),[B,y]=l.useState(h!=="reaction"),S=l.useRef(null),W=l.useRef(null),R={...ao,...e.labels},g=l.useMemo(()=>Array.from(new Map([...$.DefaultEmojiData,...w].map(q=>[q.emoji,q])).values()),[w]),H=l.useMemo(()=>(e.quickEmojis??$.QuickReactionEmojis).map(q=>g.find(N=>N.emoji===q)??{emoji:q,name:q,category:"symbols",keywords:[]}),[g,e.quickEmojis]),U=l.useMemo(()=>{const q=g.filter(N=>p.includes(N.category));if(P.trim()){const N=Ge(P.trim());return q.filter(k=>Ge(`${k.emoji} ${k.name} ${k.keywords.join(" ")}`).includes(N))}return M==="recent"?z.filter(N=>p.includes(N.category)):q.filter(N=>N.category===M)},[g,M,z,P,p]);l.useEffect(()=>{if(!(!d||typeof localStorage>"u"))try{const q=JSON.parse(localStorage.getItem("emojiPicker-recentEmojis")||"[]");Array.isArray(q)&&A(q.filter(vo).slice(0,f))}catch{}},[d,f]),l.useEffect(()=>{p.includes(M)||D(p.find(q=>q!=="recent")||"recent")},[p,M]);const F=l.useCallback(()=>{V(!1),u==null||u()},[u]),ee=l.useCallback(()=>{if(!(_||v)){if(x){F();return}V(!0),E(""),y(h!=="reaction"),D(d&&z.length&&p.includes("recent")?"recent":p.find(q=>q!=="recent")||"recent"),s==null||s()}},[x,_,v,F,h,d,z.length,p,s]),te=l.useCallback(q=>{if(!(_||v)){if(C(q.emoji),d){const N=[q,...z.filter(k=>k.emoji!==q.emoji)].slice(0,Math.max(0,f));if(A(N),typeof localStorage<"u")try{localStorage.setItem("emojiPicker-recentEmojis",JSON.stringify(N))}catch{}}r==null||r(q.emoji),c==null||c(q),m&&F()}},[_,v,d,z,f,r,c,m,F]);return l.useEffect(()=>{if(!x||typeof document>"u"||typeof document.addEventListener!="function")return;const q=N=>{var k,L;(k=W.current)!=null&&k.contains&&((L=S.current)!=null&&L.contains)&&!W.current.contains(N.target)&&!S.current.contains(N.target)&&F()};return document.addEventListener("mousedown",q),()=>document.removeEventListener("mousedown",q)},[x,F]),{isOpen:x,selectedEmoji:b,recentEmojis:z,searchQuery:P,activeCategory:M,filteredEmojis:U,handleToggle:ee,handleEmojiSelect:te,handleSearchChange:E,handleCategoryChange:q=>{D(q),E("")},handleClose:F,triggerRef:S,dropdownRef:W,expanded:B,setExpanded:y,quickEmojiData:H,text:R}},fe={container:{position:"relative",display:"inline-block",width:"100%"},trigger:{display:"flex",alignItems:"center",justifyContent:"space-between",cursor:"pointer",transition:"all 0.2s ease-in-out"},dropdown:{position:"absolute",mixBlendMode:"normal",top:"calc(100% + 4px)",left:0,right:0,zIndex:1e3,backgroundColor:"color-white",borderRadius:12,borderWidth:"1px",borderStyle:"solid",borderColor:"color-gray-200",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.1)",padding:"16px",minWidth:"320px",maxHeight:"400px",overflow:"hidden"},categoryTabs:{display:"flex",flexDirection:"row",flexWrap:"wrap",borderBottom:"1px solid color-gray-100",marginBottom:"12px",overflowX:"auto"},categoryTab:{padding:"8px 12px",cursor:"pointer",borderBottom:"2px solid transparent",transition:"all 0.2s ease-in-out",fontSize:"14px",fontWeight:"500",color:"color-gray-600",whiteSpace:"nowrap",borderRadius:"8px 8px 0 0"},emojiGrid:{display:"grid",gridTemplateColumns:"repeat(8, 1fr)",flexDirection:"row",flexWrap:"wrap",justifyContent:"flex-start",gap:"4px",maxHeight:"240px",overflowY:"auto",padding:"4px",color:"color-black"},emoji:{width:"32px",height:"32px",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",borderRadius:6,fontSize:"20px",transition:"all 0.2s ease-in-out"}},zo={xs:{height:"28px",fontSize:"12px",padding:"4px 8px"},sm:{height:"32px",fontSize:"12px",padding:"6px 10px"},md:{height:"40px",fontSize:"14px",padding:"8px 12px"},lg:{height:"48px",fontSize:"14px",padding:"10px 14px"},xl:{height:"56px",fontSize:"16px",padding:"12px 16px"}},Fo={default:{borderRadius:8},square:{borderRadius:0},rounded:{borderRadius:8},pill:{borderRadius:9999}},qo={default:{backgroundColor:"color-white",borderWidth:"1px",borderStyle:"solid",borderColor:"color-gray-200",color:"color-gray-800"},outline:{backgroundColor:"transparent",borderWidth:"1px",borderStyle:"solid",borderColor:"color-gray-200",color:"color-gray-800"},filled:{backgroundColor:"color-gray-50",borderWidth:"1px",borderStyle:"solid",borderColor:"color-gray-200",color:"color-gray-800"}},Po={recent:"🕒",smileys:"😀",people:"👤",animals:"🐶",food:"🍎",activities:"⚽",travel:"🚗",objects:"💡",symbols:"❤️",flags:"🏁"},no=({id:e,name:a,label:n,placeholder:r,helperText:c,views:t={},size:s="md",shape:u="default",variant:m="default",error:f=!1,isDisabled:h=!1,isReadOnly:d=!1,showSearch:p=!0,showCategories:w=!0,showRecentEmojis:_=!0,enabledCategories:v=["recent","smileys","people","animals","food","activities","travel","objects","symbols","flags"],isOpen:I,selectedEmoji:V,recentEmojis:x,searchQuery:T,activeCategory:C,filteredEmojis:b,handleToggle:P,handleEmojiSelect:E,handleSearchChange:M,handleCategoryChange:D,handleClose:z,triggerRef:A,dropdownRef:B,mode:y="picker",trigger:S,quickEmojis:W,selectedEmojis:R=[],expanded:g,setExpanded:H,quickEmojiData:U,text:F,labels:ee,onChange:te,onOpen:q,onClose:N,onEmojiSelect:k,customEmojis:L,closeOnSelect:G,maxRecentEmojis:X,value:K,defaultValue:be,...re})=>{const ne=l.useId(),ue=`${e||ne}-panel`,ie=l.useRef(!1),ge=l.useCallback(j=>{var J;B.current=j,(J=j==null?void 0:j.querySelector("input,button"))==null||J.focus({preventScroll:!0})},[B]),[le,_e]=l.useState({top:0,left:0,width:320,maxHeight:400}),Ie=v.filter(j=>j!=="recent"||_&&x.length>0);l.useLayoutEffect(()=>{var J,me,O,ce,de;if(!I){ie.current&&(document.activeElement===document.body||(J=B.current)!=null&&J.contains(document.activeElement))&&((me=A.current)==null||me.focus({preventScroll:!0})),ie.current=!1;return}const j=()=>{var Re;const ae=(Re=A.current)==null?void 0:Re.getBoundingClientRect();if(!ae)return;const Z=window.visualViewport,ke=Math.min(320,((Z==null?void 0:Z.width)??window.innerWidth)-16),ye=(Z==null?void 0:Z.offsetLeft)??0,se=(Z==null?void 0:Z.offsetTop)??0,je=se+((Z==null?void 0:Z.height)??window.innerHeight)-8;if(ae.bottom<se||ae.top>je){z();return}const Pe=g?400:64,Ve=ae.top-se-16,ve=je-ae.bottom-8,Ee=ve<Pe&&Ve>ve,Ae=Math.min(Pe,Math.max(64,Ee?Ve:ve));_e({width:ke,maxHeight:Ae,left:Math.max(ye+8,Math.min(ae.left,ye+((Z==null?void 0:Z.width)??window.innerWidth)-ke-8)),top:Ee?Math.max(se+8,ae.top-Ae-8):ae.bottom+8})};return j(),ie.current||(ce=(O=B.current)==null?void 0:O.querySelector("input,button"))==null||ce.focus({preventScroll:!0}),ie.current=!0,window.addEventListener("scroll",j,!0),window.addEventListener("resize",j),(de=window.visualViewport)==null||de.addEventListener("resize",j),()=>{var ae;window.removeEventListener("scroll",j,!0),window.removeEventListener("resize",j),(ae=window.visualViewport)==null||ae.removeEventListener("resize",j)}},[I,g]);const Te=j=>E(j),Se=(j,J=!1)=>o.jsx(i.View,{as:"button",type:"button","data-emoji-choice":j.emoji,"aria-label":j.name,"aria-pressed":y==="reaction"?R.includes(j.emoji):V===j.emoji,disabled:h||d,...fe.emoji,width:40,height:44,flex:J?1:void 0,borderWidth:0,backgroundColor:R.includes(j.emoji)?"color-blue-50":"transparent",_hover:{backgroundColor:"color-gray-100"},_focusVisible:{outline:"2px solid",outlineColor:"theme-primary"},...t.emoji,onClick:()=>Te(j),title:j.name,children:j.emoji},j.emoji);return o.jsxs(i.View,{id:e,...fe.container,...t.container,...re,children:[n&&o.jsx(i.Text,{marginBottom:4,...t.label,children:n}),o.jsx(i.View,{ref:A,as:"button",type:"button",name:a,disabled:h||d,"aria-label":re["aria-label"]||n||(y==="reaction"?F.reaction:F.select),"aria-haspopup":"dialog","aria-expanded":I,"aria-controls":I?ue:void 0,...fe.trigger,...zo[s],...Fo[u],...qo[m],borderColor:f?"theme-error":"color-gray-200",opacity:h?.6:1,_focusVisible:{outline:"2px solid",outlineColor:"theme-primary"},...t.trigger,onClick:P,children:S??o.jsxs(i.Horizontal,{gap:8,children:[o.jsx(i.Text,{children:y==="reaction"?"☺ +":V||r||F.select}),y!=="reaction"&&o.jsx(i.Text,{"aria-hidden":"true",children:I?"▴":"▾"})]})}),I&&o.jsx(Ce.Portal,{children:o.jsxs(i.View,{ref:ge,id:ue,role:"dialog","aria-label":y==="reaction"?F.reaction:F.select,...fe.dropdown,...t.dropdown,position:"fixed",top:le.top,left:le.left,right:"auto",width:le.width,minWidth:0,maxHeight:le.maxHeight,overflowY:"auto",padding:y==="reaction"&&!g?8:12,zIndex:1100,onKeyDown:j=>{var ae,Z,ke,ye,se,je;if(j.key==="Escape"){j.preventDefault(),j.stopPropagation(),z(),(ae=A.current)==null||ae.focus();return}const J=Array.from(((Z=B.current)==null?void 0:Z.querySelectorAll("button:not(:disabled)"))||[]),me=J.indexOf(document.activeElement);if(j.key==="Tab"){(j.shiftKey&&me<=0||!j.shiftKey&&me===J.length-1)&&z();return}if(!["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(j.key)||!J.length||j.target.tagName==="INPUT"&&j.key!=="ArrowDown")return;j.preventDefault();const O=(ke=document.activeElement)==null?void 0:ke.closest("[data-emoji-grid]"),ce=["ArrowUp","ArrowDown"].includes(j.key)&&O?8:1,de=j.key==="Home"?0:j.key==="End"?J.length-1:(me+(["ArrowLeft","ArrowUp"].includes(j.key)?-ce:ce)+J.length)%J.length;(ye=J[de])==null||ye.focus(),(je=(se=J[de])==null?void 0:se.scrollIntoView)==null||je.call(se,{block:"nearest"})},children:[y==="reaction"&&o.jsxs(i.Horizontal,{gap:2,children:[U.map(j=>Se(j,!0)),o.jsx(i.View,{as:"button",type:"button",disabled:h||d,"aria-label":F.more,"aria-expanded":g,minWidth:40,minHeight:44,borderWidth:0,borderRadius:8,onClick:()=>H(!g),children:"+"})]}),g&&o.jsxs(o.Fragment,{children:[p&&o.jsx(i.View,{marginBottom:8,...t.searchInput,children:o.jsx(he.TextField,{value:T,onChange:M,placeholder:F.search,"aria-label":F.search,isDisabled:h||d,size:"sm"})}),w&&o.jsx(i.View,{role:"tablist","aria-label":F.select,...fe.categoryTabs,...t.categoryTabs,children:Ie.map(j=>o.jsx(i.View,{as:"button",type:"button",role:"tab","aria-label":F[j],"aria-selected":j===C,disabled:h||d,title:F[j],...fe.categoryTab,borderWidth:0,minHeight:44,padding:8,backgroundColor:j===C?"color-blue-50":"transparent",...t.categoryTab,onClick:()=>D(j),children:Po[j]},j))}),o.jsxs(i.View,{"data-emoji-grid":"true",role:"group","aria-label":F.select,...fe.emojiGrid,gridTemplateColumns:"repeat(8, minmax(0, 1fr))",...t.emojiGrid,children:[b.map(j=>Se(j)),!b.length&&o.jsx(i.Text,{gridColumn:"1 / -1",children:T?F.empty:F.categoryEmpty})]})]})]})}),c&&o.jsx(i.Text,{color:f?"theme-error":"theme-muted",...t.helperText,children:c})]})},De=["zoom-out","zoom-in","zap","zap-off","youtube","x","wrench","worm","workflow","wine","wine-off","wind","wind-arrow-down","wifi","wifi-zero","wifi-sync","wifi-pen","wifi-off","wifi-low","wifi-high","wifi-cog","whole-word","wheat","wheat-off","weight","weight-tilde","webhook","webhook-off","webcam","waypoints","waves","waves-ladder","waves-arrow-up","waves-arrow-down","watch","washing-machine","warehouse","wand","wand-sparkles","wallpaper","wallet","wallet-minimal","wallet-cards","vote","volume","volume-x","volume-off","volume-2","volume-1","volleyball","voicemail","view","videotape","video","video-off","vibrate","vibrate-off","venus","venus-and-mars","venetian-mask","vegan","vector-square","vault","variable","van","utility-pole","utensils","utensils-crossed","users","users-round","user","user-x","user-star","user-search","user-round","user-round-x","user-round-search","user-round-plus","user-round-pen","user-round-minus","user-round-cog","user-round-check","user-plus","user-pen","user-minus","user-lock","user-cog","user-check","usb","upload","unplug","unlink","unlink-2","university","ungroup","unfold-vertical","unfold-horizontal","undo","undo-dot","undo-2","underline","umbrella","umbrella-off","type","type-outline","twitter","twitch","tv","tv-minimal","tv-minimal-play","turtle","turntable","turkish-lira","truck","truck-electric","trophy","triangle","triangle-right","triangle-dashed","triangle-alert","trending-up","trending-up-down","trending-down","trello","trees","tree-pine","tree-palm","tree-deciduous","trash","trash-2","transgender","tram-front","train-track","train-front","train-front-tunnel","traffic-cone","tractor","toy-brick","tower-control","touchpad","touchpad-off","torus","tornado","toolbox","tool-case","toilet","toggle-right","toggle-left","timer","timer-reset","timer-off","tickets","tickets-plane","ticket","ticket-x","ticket-slash","ticket-plus","ticket-percent","ticket-minus","ticket-check","thumbs-up","thumbs-down","thermometer","thermometer-sun","thermometer-snowflake","theater","text-wrap","text-select","text-search","text-quote","text-initial","text-cursor","text-cursor-input","text-align-start","text-align-justify","text-align-end","text-align-center","test-tubes","test-tube","test-tube-diagonal","terminal","tent","tent-tree","telescope","target","tangent","tally-5","tally-4","tally-3","tally-2","tally-1","tags","tag","tablets","tablet","tablet-smartphone","table","table-rows-split","table-properties","table-of-contents","table-columns-split","table-cells-split","table-cells-merge","table-2","syringe","swords","sword","switch-camera","swiss-franc","swatch-book","superscript","sunset","sunrise","sun","sun-snow","sun-moon","sun-medium","sun-dim","subscript","strikethrough","stretch-vertical","stretch-horizontal","store","stone","sticky-note","sticker","stethoscope","step-forward","step-back","star","star-off","star-half","stamp","squirrel","squircle","squircle-dashed","squares-unite","squares-subtract","squares-intersect","squares-exclude","square","square-x","square-user","square-user-round","square-terminal","square-stop","square-star","square-stack","square-square","square-split-vertical","square-split-horizontal","square-slash","square-sigma","square-scissors","square-round-corner","square-radical","square-power","square-plus","square-play","square-pilcrow","square-pi","square-percent","square-pen","square-pause","square-parking","square-parking-off","square-mouse-pointer","square-minus","square-menu","square-m","square-library","square-kanban","square-function","square-equal","square-dot","square-divide","square-dashed","square-dashed-top-solid","square-dashed-mouse-pointer","square-dashed-kanban","square-dashed-bottom","square-dashed-bottom-code","square-code","square-chevron-up","square-chevron-right","square-chevron-left","square-chevron-down","square-check","square-check-big","square-chart-gantt","square-bottom-dashed-scissors","square-asterisk","square-arrow-up","square-arrow-up-right","square-arrow-up-left","square-arrow-right","square-arrow-out-up-right","square-arrow-out-up-left","square-arrow-out-down-right","square-arrow-out-down-left","square-arrow-left","square-arrow-down","square-arrow-down-right","square-arrow-down-left","square-activity","sprout","spray-can","spotlight","spool","split","spline","spline-pointer","spell-check","spell-check-2","speech","speaker","sparkles","sparkle","spade","space","soup","solar-panel","sofa","soap-dispenser-droplet","snowflake","snail","smile","smile-plus","smartphone","smartphone-nfc","smartphone-charging","sliders-vertical","sliders-horizontal","slice","slash","slack","skull","skip-forward","skip-back","siren","signpost","signpost-big","signature","signal","signal-zero","signal-medium","signal-low","signal-high","sigma","shuffle","shrub","shrink","shrimp","shredder","shower-head","shovel","shopping-cart","shopping-basket","shopping-bag","shirt","ship","ship-wheel","shield","shield-x","shield-user","shield-question-mark","shield-plus","shield-off","shield-minus","shield-half","shield-ellipsis","shield-check","shield-ban","shield-alert","shell","sheet","share","share-2","shapes","settings","settings-2","server","server-off","server-crash","server-cog","separator-vertical","separator-horizontal","send","send-to-back","send-horizontal","section","search","search-x","search-slash","search-code","search-check","search-alert","scroll","scroll-text","screen-share","screen-share-off","scooter","scissors","scissors-line-dashed","school","scan","scan-text","scan-search","scan-qr-code","scan-line","scan-heart","scan-face","scan-eye","scan-barcode","scaling","scale","scale-3d","save","save-off","save-all","saudi-riyal","satellite","satellite-dish","sandwich","salad","sailboat","russian-ruble","ruler","ruler-dimension-line","rss","rows-4","rows-3","rows-2","router","route","route-off","rotate-cw","rotate-cw-square","rotate-ccw","rotate-ccw-square","rotate-ccw-key","rotate-3d","rose","roller-coaster","rocking-chair","rocket","ribbon","rewind","reply","reply-all","replace","replace-all","repeat","repeat-2","repeat-1","remove-formatting","regex","refrigerator","refresh-cw","refresh-cw-off","refresh-ccw","refresh-ccw-dot","redo","redo-dot","redo-2","recycle","rectangle-vertical","rectangle-horizontal","rectangle-goggles","rectangle-ellipsis","rectangle-circle","receipt","receipt-turkish-lira","receipt-text","receipt-swiss-franc","receipt-russian-ruble","receipt-pound-sterling","receipt-japanese-yen","receipt-indian-rupee","receipt-euro","receipt-cent","ratio","rat","rainbow","rail-symbol","radius","radio","radio-tower","radio-receiver","radical","radiation","radar","rabbit","quote","qr-code","pyramid","puzzle","proportions","projector","printer","printer-check","presentation","power","power-off","pound-sterling","popsicle","popcorn","pointer","pointer-off","podcast","pocket","pocket-knife","plus","plug","plug-zap","plug-2","play","plane","plane-takeoff","plane-landing","pizza","pipette","pin","pin-off","pill","pill-bottle","pilcrow","pilcrow-right","pilcrow-left","piggy-bank","picture-in-picture","picture-in-picture-2","pickaxe","piano","pi","phone","phone-outgoing","phone-off","phone-missed","phone-incoming","phone-forwarded","phone-call","philippine-peso","person-standing","percent","pentagon","pencil","pencil-ruler","pencil-off","pencil-line","pen","pen-tool","pen-off","pen-line","pc-case","paw-print","pause","party-popper","parking-meter","parentheses","paperclip","panels-top-left","panels-right-bottom","panels-left-bottom","panel-top","panel-top-open","panel-top-dashed","panel-top-close","panel-top-bottom-dashed","panel-right","panel-right-open","panel-right-dashed","panel-right-close","panel-left","panel-left-right-dashed","panel-left-open","panel-left-dashed","panel-left-close","panel-bottom","panel-bottom-open","panel-bottom-dashed","panel-bottom-close","panda","palette","paintbrush","paintbrush-vertical","paint-roller","paint-bucket","package","package-x","package-search","package-plus","package-open","package-minus","package-check","package-2","origami","orbit","option","omega","octagon","octagon-x","octagon-pause","octagon-minus","octagon-alert","nut","nut-off","notepad-text","notepad-text-dashed","notebook","notebook-text","notebook-tabs","notebook-pen","non-binary","nfc","newspaper","network","navigation","navigation-off","navigation-2","navigation-2-off","music","music-4","music-3","music-2","move","move-vertical","move-up","move-up-right","move-up-left","move-right","move-left","move-horizontal","move-down","move-down-right","move-down-left","move-diagonal","move-diagonal-2","move-3d","mouse","mouse-pointer","mouse-pointer-click","mouse-pointer-ban","mouse-pointer-2","mouse-pointer-2-off","mouse-off","mountain","mountain-snow","motorbike","moon","moon-star","monitor","monitor-x","monitor-up","monitor-stop","monitor-speaker","monitor-smartphone","monitor-play","monitor-pause","monitor-off","monitor-down","monitor-dot","monitor-cog","monitor-cloud","monitor-check","minus","minimize","minimize-2","milk","milk-off","milestone","microwave","microscope","microchip","mic","mic-vocal","mic-off","messages-square","message-square","message-square-x","message-square-warning","message-square-text","message-square-share","message-square-reply","message-square-quote","message-square-plus","message-square-off","message-square-more","message-square-lock","message-square-heart","message-square-dot","message-square-diff","message-square-dashed","message-square-code","message-circle","message-circle-x","message-circle-warning","message-circle-reply","message-circle-question-mark","message-circle-plus","message-circle-off","message-circle-more","message-circle-heart","message-circle-dashed","message-circle-code","merge","menu","memory-stick","meh","megaphone","megaphone-off","medal","maximize","maximize-2","martini","mars","mars-stroke","map","map-plus","map-pinned","map-pin","map-pin-x","map-pin-x-inside","map-pin-plus","map-pin-plus-inside","map-pin-pen","map-pin-off","map-pin-minus","map-pin-minus-inside","map-pin-house","map-pin-check","map-pin-check-inside","map-minus","mails","mailbox","mail","mail-x","mail-warning","mail-search","mail-question-mark","mail-plus","mail-open","mail-minus","mail-check","magnet","luggage","lollipop","logs","log-out","log-in","lock","lock-open","lock-keyhole","lock-keyhole-open","locate","locate-off","locate-fixed","loader","loader-pinwheel","loader-circle","list","list-x","list-video","list-tree","list-todo","list-start","list-restart","list-plus","list-ordered","list-music","list-minus","list-indent-increase","list-indent-decrease","list-filter","list-filter-plus","list-end","list-collapse","list-chevrons-up-down","list-chevrons-down-up","list-checks","list-check","linkedin","link","link-2","link-2-off","line-squiggle","lightbulb","lightbulb-off","ligature","life-buoy","library","library-big","lectern","leafy-green","leaf","layout-template","layout-panel-top","layout-panel-left","layout-list","layout-grid","layout-dashboard","layers","layers-plus","layers-2","laugh","lasso","lasso-select","laptop","laptop-minimal","laptop-minimal-check","languages","landmark","land-plot","lamp","lamp-wall-up","lamp-wall-down","lamp-floor","lamp-desk","lamp-ceiling","keyboard","keyboard-off","keyboard-music","key","key-square","key-round","kayak","kanban","joystick","japanese-yen","iteration-cw","iteration-ccw","italic","instagram","inspection-panel","info","infinity","indian-rupee","inbox","import","images","image","image-upscale","image-up","image-plus","image-play","image-off","image-minus","image-down","id-card","id-card-lanyard","ice-cream-cone","ice-cream-bowl","house","house-wifi","house-plus","house-plug","house-heart","hourglass","hotel","hospital","hop","hop-off","history","highlighter","hexagon","helicopter","heater","heart","heart-pulse","heart-plus","heart-off","heart-minus","heart-handshake","heart-crack","headset","headphones","headphone-off","heading","heading-6","heading-5","heading-4","heading-3","heading-2","heading-1","hdmi-port","hd","haze","hat-glasses","hash","hard-hat","hard-drive","hard-drive-upload","hard-drive-download","handshake","handbag","hand","hand-platter","hand-metal","hand-helping","hand-heart","hand-grab","hand-fist","hand-coins","hammer","hamburger","ham","guitar","group","grip","grip-vertical","grip-horizontal","grid-3x3","grid-3x2","grid-2x2","grid-2x2-x","grid-2x2-plus","grid-2x2-check","grape","graduation-cap","gpu","goal","globe","globe-lock","glasses","glass-water","gitlab","github","git-pull-request","git-pull-request-draft","git-pull-request-create","git-pull-request-create-arrow","git-pull-request-closed","git-pull-request-arrow","git-merge","git-graph","git-fork","git-compare","git-compare-arrows","git-commit-vertical","git-commit-horizontal","git-branch","git-branch-plus","git-branch-minus","gift","ghost","georgian-lari","gem","gavel","gauge","gamepad","gamepad-directional","gamepad-2","gallery-vertical","gallery-vertical-end","gallery-thumbnails","gallery-horizontal","gallery-horizontal-end","funnel","funnel-x","funnel-plus","fullscreen","fuel","frown","framer","frame","forward","form","forklift","footprints","folders","folder","folder-x","folder-up","folder-tree","folder-sync","folder-symlink","folder-search","folder-search-2","folder-root","folder-plus","folder-pen","folder-output","folder-open","folder-open-dot","folder-minus","folder-lock","folder-key","folder-kanban","folder-input","folder-heart","folder-git","folder-git-2","folder-down","folder-dot","folder-cog","folder-code","folder-closed","folder-clock","folder-check","folder-archive","fold-vertical","fold-horizontal","focus","flower","flower-2","flip-vertical","flip-vertical-2","flip-horizontal","flip-horizontal-2","flask-round","flask-conical","flask-conical-off","flashlight","flashlight-off","flame","flame-kindling","flag","flag-triangle-right","flag-triangle-left","flag-off","fishing-hook","fish","fish-symbol","fish-off","fire-extinguisher","fingerprint-pattern","film","files","file","file-x","file-x-corner","file-volume","file-video-camera","file-user","file-up","file-type","file-type-corner","file-text","file-terminal","file-symlink","file-stack","file-spreadsheet","file-sliders","file-signal","file-search","file-search-corner","file-scan","file-question-mark","file-plus","file-plus-corner","file-play","file-pen","file-pen-line","file-output","file-music","file-minus","file-minus-corner","file-lock","file-key","file-input","file-image","file-heart","file-headphone","file-exclamation-point","file-down","file-digit","file-diff","file-cog","file-code","file-code-corner","file-clock","file-check","file-check-corner","file-chart-pie","file-chart-line","file-chart-column","file-chart-column-increasing","file-braces","file-braces-corner","file-box","file-badge","file-axis-3d","file-archive","figma","ferris-wheel","fence","feather","fast-forward","fan","factory","facebook","eye","eye-off","eye-closed","external-link","expand","ev-charger","euro","ethernet-port","eraser","equal","equal-not","equal-approximately","ellipsis","ellipsis-vertical","egg","egg-off","egg-fried","eclipse","earth","earth-lock","ear","ear-off","dumbbell","drumstick","drum","droplets","droplet","droplet-off","drone","drill","dribbble","drama","drafting-compass","download","dot","door-open","door-closed","door-closed-locked","donut","dollar-sign","dog","dock","dna","dna-off","divide","disc","disc-album","disc-3","disc-2","diff","dices","dice-6","dice-5","dice-4","dice-3","dice-2","dice-1","diamond","diamond-plus","diamond-percent","diamond-minus","diameter","dessert","delete","decimals-arrow-right","decimals-arrow-left","database","database-zap","database-backup","dam","cylinder","currency","cup-soda","cuboid","crown","crosshair","cross","crop","croissant","credit-card","creative-commons","cpu","corner-up-right","corner-up-left","corner-right-up","corner-right-down","corner-left-up","corner-left-down","corner-down-right","corner-down-left","copyright","copyleft","copy","copy-x","copy-slash","copy-plus","copy-minus","copy-check","cooking-pot","cookie","contrast","container","contact","contact-round","construction","cone","concierge-bell","computer","component","compass","command","combine","columns-4","columns-3","columns-3-cog","columns-2","coins","cog","coffee","codesandbox","codepen","code","code-xml","club","clover","cloudy","cloud","cloud-upload","cloud-sync","cloud-sun","cloud-sun-rain","cloud-snow","cloud-rain","cloud-rain-wind","cloud-off","cloud-moon","cloud-moon-rain","cloud-lightning","cloud-hail","cloud-fog","cloud-drizzle","cloud-download","cloud-cog","cloud-check","cloud-backup","cloud-alert","closed-caption","clock","clock-plus","clock-fading","clock-check","clock-arrow-up","clock-arrow-down","clock-alert","clock-9","clock-8","clock-7","clock-6","clock-5","clock-4","clock-3","clock-2","clock-12","clock-11","clock-10","clock-1","clipboard","clipboard-x","clipboard-type","clipboard-plus","clipboard-pen","clipboard-pen-line","clipboard-paste","clipboard-minus","clipboard-list","clipboard-copy","clipboard-clock","clipboard-check","clapperboard","citrus","circuit-board","circle","circle-x","circle-user","circle-user-round","circle-stop","circle-star","circle-small","circle-slash","circle-slash-2","circle-question-mark","circle-power","circle-pound-sterling","circle-plus","circle-play","circle-pile","circle-percent","circle-pause","circle-parking","circle-parking-off","circle-off","circle-minus","circle-gauge","circle-fading-plus","circle-fading-arrow-up","circle-equal","circle-ellipsis","circle-dot","circle-dot-dashed","circle-dollar-sign","circle-divide","circle-dashed","circle-chevron-up","circle-chevron-right","circle-chevron-left","circle-chevron-down","circle-check","circle-check-big","circle-arrow-up","circle-arrow-right","circle-arrow-out-up-right","circle-arrow-out-up-left","circle-arrow-out-down-right","circle-arrow-out-down-left","circle-arrow-left","circle-arrow-down","circle-alert","cigarette","cigarette-off","church","chromium","chevrons-up","chevrons-up-down","chevrons-right","chevrons-right-left","chevrons-left","chevrons-left-right","chevrons-left-right-ellipsis","chevrons-down","chevrons-down-up","chevron-up","chevron-right","chevron-left","chevron-last","chevron-first","chevron-down","chess-rook","chess-queen","chess-pawn","chess-knight","chess-king","chess-bishop","cherry","chef-hat","check","check-line","check-check","chart-spline","chart-scatter","chart-pie","chart-no-axes-gantt","chart-no-axes-combined","chart-no-axes-column","chart-no-axes-column-increasing","chart-no-axes-column-decreasing","chart-network","chart-line","chart-gantt","chart-column","chart-column-stacked","chart-column-increasing","chart-column-decreasing","chart-column-big","chart-candlestick","chart-bar","chart-bar-stacked","chart-bar-increasing","chart-bar-decreasing","chart-bar-big","chart-area","cctv","cat","castle","cast","cassette-tape","case-upper","case-sensitive","case-lower","carrot","card-sim","caravan","car","car-taxi-front","car-front","captions","captions-off","cannabis","cannabis-off","candy","candy-off","candy-cane","camera","camera-off","calendars","calendar","calendar-x","calendar-x-2","calendar-sync","calendar-search","calendar-range","calendar-plus","calendar-plus-2","calendar-off","calendar-minus","calendar-minus-2","calendar-heart","calendar-fold","calendar-days","calendar-cog","calendar-clock","calendar-check","calendar-check-2","calendar-arrow-up","calendar-arrow-down","calendar-1","calculator","cake","cake-slice","cable","cable-car","bus","bus-front","building","building-2","bug","bug-play","bug-off","bubbles","brush","brush-cleaning","bring-to-front","briefcase","briefcase-medical","briefcase-conveyor-belt","briefcase-business","brick-wall","brick-wall-shield","brick-wall-fire","brain","brain-cog","brain-circuit","brackets","braces","boxes","box","bow-arrow","bottle-wine","bot","bot-off","bot-message-square","boom-box","bookmark","bookmark-x","bookmark-plus","bookmark-minus","bookmark-check","book","book-x","book-user","book-up","book-up-2","book-type","book-text","book-search","book-plus","book-open","book-open-text","book-open-check","book-minus","book-marked","book-lock","book-key","book-image","book-heart","book-headphones","book-down","book-dashed","book-copy","book-check","book-audio","book-alert","book-a","bone","bomb","bolt","bold","bluetooth","bluetooth-searching","bluetooth-off","bluetooth-connected","blocks","blinds","blend","bitcoin","birdhouse","bird","biohazard","binoculars","binary","bike","biceps-flexed","between-vertical-start","between-vertical-end","between-horizontal-start","between-horizontal-end","bell","bell-ring","bell-plus","bell-off","bell-minus","bell-electric","bell-dot","beer","beer-off","beef","bed","bed-single","bed-double","bean","bean-off","beaker","battery","battery-warning","battery-plus","battery-medium","battery-low","battery-full","battery-charging","bath","baseline","barrel","barcode","banknote","banknote-x","banknote-arrow-up","banknote-arrow-down","bandage","banana","ban","balloon","baggage-claim","badge","badge-x","badge-turkish-lira","badge-swiss-franc","badge-russian-ruble","badge-question-mark","badge-pound-sterling","badge-plus","badge-percent","badge-minus","badge-japanese-yen","badge-info","badge-indian-rupee","badge-euro","badge-dollar-sign","badge-check","badge-cent","badge-alert","backpack","baby","axis-3d","axe","award","audio-waveform","audio-lines","atom","at-sign","asterisk","arrows-up-from-line","arrow-up","arrow-up-z-a","arrow-up-wide-narrow","arrow-up-to-line","arrow-up-right","arrow-up-narrow-wide","arrow-up-left","arrow-up-from-line","arrow-up-from-dot","arrow-up-down","arrow-up-a-z","arrow-up-1-0","arrow-up-0-1","arrow-right","arrow-right-to-line","arrow-right-left","arrow-right-from-line","arrow-left","arrow-left-to-line","arrow-left-right","arrow-left-from-line","arrow-down","arrow-down-z-a","arrow-down-wide-narrow","arrow-down-up","arrow-down-to-line","arrow-down-to-dot","arrow-down-right","arrow-down-narrow-wide","arrow-down-left","arrow-down-from-line","arrow-down-a-z","arrow-down-1-0","arrow-down-0-1","arrow-big-up","arrow-big-up-dash","arrow-big-right","arrow-big-right-dash","arrow-big-left","arrow-big-left-dash","arrow-big-down","arrow-big-down-dash","armchair","archive","archive-x","archive-restore","apple","app-window","app-window-mac","aperture","anvil","antenna","annoyed","angry","anchor","amphora","ampersands","ampersand","ambulance","align-vertical-space-between","align-vertical-space-around","align-vertical-justify-start","align-vertical-justify-end","align-vertical-justify-center","align-vertical-distribute-start","align-vertical-distribute-end","align-vertical-distribute-center","align-start-vertical","align-start-horizontal","align-horizontal-space-between","align-horizontal-space-around","align-horizontal-justify-start","align-horizontal-justify-end","align-horizontal-justify-center","align-horizontal-distribute-start","align-horizontal-distribute-end","align-horizontal-distribute-center","align-end-vertical","align-end-horizontal","align-center-vertical","align-center-horizontal","album","alarm-smoke","alarm-clock","alarm-clock-plus","alarm-clock-off","alarm-clock-minus","alarm-clock-check","airplay","air-vent","activity","accessibility","a-large-small","a-arrow-up","a-arrow-down"],io=e=>{const{value:a,defaultValue:n,onChange:r,isOpen:c,onOpen:t,onClose:s,closeOnSelect:u=!0}=e,[m,f]=l.useState(c??!1),[h,d]=l.useState(a??n),[p,w]=l.useState(""),_=l.useRef(null),v=l.useRef(null);l.useEffect(()=>{a!==void 0&&d(a)},[a]),l.useEffect(()=>{c!==void 0&&f(c)},[c]);const I=l.useMemo(()=>p?De.filter(b=>b.toLowerCase().includes(p.toLowerCase())).slice(0,100):De.slice(0,100),[p]);l.useEffect(()=>{const b=P=>{m&&_.current&&v.current&&!_.current.contains(P.target)&&!v.current.contains(P.target)&&V()};if(!(typeof document>"u"))return document.addEventListener("mousedown",b),()=>document.removeEventListener("mousedown",b)},[m]);const V=l.useCallback(()=>{c===void 0&&f(!1),s&&s()},[s,c]),x=l.useCallback(()=>{const b=!m;c===void 0&&f(b),b?(t&&t(),w("")):s&&s()},[m,t,s,c]),T=l.useCallback(b=>{a===void 0&&d(b),r&&r(b),u&&V()},[r,u,V,a]),C=l.useCallback(b=>{w(b)},[]);return{isOpen:m,selectedIcon:h,searchQuery:p,filteredIcons:I,handleToggle:x,handleIconSelect:T,handleSearchChange:C,handleClose:V,triggerRef:_,dropdownRef:v}},xe={container:{position:"relative",display:"inline-block",width:"100%"},trigger:{display:"flex",alignItems:"center",justifyContent:"space-between",cursor:"pointer",transition:"all 0.2s ease-in-out"},dropdown:{position:"absolute",mixBlendMode:"normal",top:"calc(100% + 4px)",left:0,right:0,zIndex:1e3,backgroundColor:"color-white",borderRadius:12,borderWidth:"1px",borderStyle:"solid",borderColor:"color-gray-200",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.1)",padding:"16px",minWidth:"280px",maxHeight:"320px",overflow:"hidden",display:"flex",flexDirection:"column"},searchInput:{marginBottom:"12px",flexShrink:0},iconGrid:{display:"grid",gridTemplateColumns:"repeat(6, 1fr)",flexDirection:"row",flexWrap:"wrap",justifyContent:"flex-start",gap:"8px",overflowY:"auto",padding:"4px",color:"color-black",flexGrow:1},iconItem:{width:"32px",height:"32px",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",borderRadius:8,transition:"all 0.2s ease-in-out"}},Vo={xs:{height:"28px",fontSize:"12px",padding:"4px 8px"},sm:{height:"32px",fontSize:"12px",padding:"6px 10px"},md:{height:"40px",fontSize:"14px",padding:"8px 12px"},lg:{height:"48px",fontSize:"14px",padding:"10px 14px"},xl:{height:"56px",fontSize:"16px",padding:"12px 16px"}},Eo={default:{borderRadius:8},square:{borderRadius:0},rounded:{borderRadius:8},pill:{borderRadius:9999}},Ao={default:{backgroundColor:"color-white",borderWidth:"1px",borderStyle:"solid",borderColor:"color-gray-200",color:"color-gray-800"},outline:{backgroundColor:"transparent",borderWidth:"1px",borderStyle:"solid",borderColor:"color-gray-200",color:"color-gray-800"},filled:{backgroundColor:"color-gray-50",borderWidth:"1px",borderStyle:"solid",borderColor:"color-gray-200",color:"color-gray-800"}},lo=({label:e,placeholder:a="Select an icon",helperText:n,views:r={},size:c="md",shape:t="default",variant:s="default",error:u=!1,isDisabled:m=!1,isReadOnly:f=!1,showSearch:h=!0,isOpen:d,selectedIcon:p,searchQuery:w,filteredIcons:_,handleToggle:v,handleIconSelect:I,handleSearchChange:V,triggerRef:x,dropdownRef:T,handleClose:C,onChange:b,value:P,defaultValue:E,onOpen:M,onClose:D,closeOnSelect:z,...A})=>{const{getColor:B}=i.useTheme(),y={...xe.container,...r==null?void 0:r.container},S={...xe.trigger,...Vo[c],...Eo[t],...Ao[s],...u&&{borderColor:"color-red-500"},...m&&{opacity:.6,cursor:"not-allowed"},...!m&&!f&&{_hover:{borderColor:"color-gray-300"}},...r==null?void 0:r.trigger},W={...xe.dropdown,...r==null?void 0:r.dropdown},R={...xe.iconGrid,...r==null?void 0:r.iconGrid};return o.jsxs(i.View,{...y,...A,children:[e&&o.jsx(i.Text,{fontSize:c==="xs"?"12px":c==="sm"?"14px":"16px",fontWeight:"500",color:"color-gray-700",marginBottom:"4px",...r==null?void 0:r.label,children:e}),o.jsxs(i.View,{ref:x,onClick:m||f?void 0:v,...S,children:[o.jsx(i.Horizontal,{alignItems:"center",gap:8,width:"100%",children:p?o.jsxs(i.Horizontal,{alignItems:"center",gap:8,width:"100%",children:[o.jsx(Q.Icon,{name:p,widthHeight:16}),o.jsx(i.Text,{color:"color-gray-800",fontSize:"inherit",style:{flex:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:p})]}):o.jsx(i.Text,{color:"color-gray-500",fontSize:"inherit",children:a})}),!f&&!m&&o.jsx(Q.ChevronIcon,{widthHeight:16,color:"color-gray-500",orientation:d?"up":"down"})]}),d&&o.jsxs(i.View,{ref:T,...W,children:[h&&o.jsx(i.View,{...xe.searchInput,...r==null?void 0:r.searchInput,children:o.jsx(he.TextField,{placeholder:"Search icons...",value:w,onChange:g=>V(g),size:"sm",autoFocus:!0})}),o.jsx(i.View,{...R,children:_.length>0?_.map(g=>o.jsx(i.View,{...xe.iconItem,onClick:()=>I(g),title:g,_hover:{backgroundColor:"color-gray-50",transform:"scale(1.05)"},backgroundColor:p===g?"#EFF6FF":"transparent",borderWidth:p===g?"1px":"0px",borderStyle:"solid",borderColor:p===g?"#BFDBFE":"transparent",...r==null?void 0:r.iconItem,children:o.jsx(Q.Icon,{name:g,widthHeight:20})},g)):o.jsx(i.View,{gridColumn:"1 / -1",padding:"20px",textAlign:"center",color:"color-gray-500",children:o.jsx(i.Text,{fontSize:"14px",children:"No icons found"})})})]}),n&&o.jsx(i.Text,{color:u?"theme-error":"color-gray-600",marginTop:"4px",...r==null?void 0:r.helperText,children:n})]})},ze=e=>typeof e=="string"?e:void 0;function Ro(){const e=new Date,a=String(e.getFullYear()).padStart(4,"0"),n=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0");return`${a}-${n}-${r}`}const co=({value:e,defaultValue:a}={})=>{const[n,r]=l.useState(!1),[c,t]=l.useState(!1),[s,u]=l.useState(()=>ze(e)??ze(a)??Ro()),m=ze(e);return l.useEffect(()=>{m!==void 0&&u(m)},[m]),{date:s,setDate:u,isHovered:n,setIsHovered:r,isFocused:c,setIsFocused:t}},Mo=e=>o.jsx(i.Input,{type:"date",...e}),so=({id:e,name:a,label:n,date:r,children:c,helperText:t,shadow:s={},size:u="md",variant:m="default",shape:f="default",views:h={container:{},label:{},helperText:{},text:{},field:{}},error:d=!1,isHovered:p=!1,isFocused:w=!1,isDisabled:_=!1,isReadOnly:v=!1,setDate:I=()=>{},setIsFocused:V=()=>{},setIsHovered:x=()=>{},onChange:T,onChangeText:C,value:b,defaultValue:P,...E})=>{const{themeMode:M}=i.useTheme(),D=l.useId(),z=e??D,A=!!n,B=()=>x(!p),y=()=>V(!0),S=R=>{typeof R=="string"?(I(R),C&&C(R)):(I(R.target.value),T&&T(R.target.value))},W={margin:0,paddingVertical:0,paddingHorizontal:0,width:"100%",height:"100%",border:"none",on:{focus:{outline:"none",backgroundColor:"transparent"}},transition:"all 0.2s ease-in-out",fontSize:i.Typography.fontSizes[u],backgroundColor:"transparent",color:_?"color-gray-400":"color-gray-900",cursor:_?"not-allowed":v?"auto":"pointer",...h.field};return o.jsx(oe.FieldContainer,{helperText:t,error:d,views:h,children:o.jsx(oe.FieldContent,{label:n,size:u,error:d,shape:f,views:h,shadow:s,color:"theme-primary",variant:m,value:r,isHovered:p,isDisabled:_,isReadOnly:v,isFocused:w,showLabel:A,onMouseEnter:B,onMouseLeave:B,children:o.jsxs(oe.FieldWrapper,{children:[A&&o.jsx(oe.FieldLabel,{htmlFor:z,color:"theme-primary",error:d,views:h,children:n}),o.jsx(Mo,{id:z,name:a,role:"textbox","aria-label":!A&&typeof n=="string"?n:void 0,onFocus:y,disabled:_,readOnly:v,...W,...E,...C&&{onChangeText:S},onChange:S,value:r})]})})})},Bo=e=>{switch(e){case"email":return{autoCorrect:"off",inputMode:"email",autoCapitalize:"none"};case"password":return{autoCorrect:"off",secureTextEntry:!0,autoCapitalize:"none"};case"digits":return{inputMode:"tel"};case"numeric":return{inputMode:"numeric"};case"name":return{autoCorrect:"off"};default:return{}}},Y=({name:e,type:a,...n},r={})=>{const c=$.useFormFocus(),{touched:t,errors:s,submitCount:u,values:m,setFieldTouched:f,setFieldValue:h}=pe.useFormikContext(),d=b=>{var P;h(e,b),(P=n.onChangeText)==null||P.call(n,b)},p=b=>{var P;h(e,b),(P=n.onChange)==null||P.call(n,b)},w=()=>{f(e,!0)},_=b=>{b.key==="Enter"&&(b.preventDefault(),c.focusNextInput(e))},v=["text","password","email","digits"].includes(a),I=pe.getIn(t,e)||u>0?pe.getIn(s,e):void 0,V=pe.getIn(m,e),x=typeof document<"u"&&typeof document.createElement=="function",T=!!r.focusable&&c.active,C=T?x?{onKeyPress:_}:{returnKeyType:c.getReturnKeyType(e),onSubmitEditing:()=>c.handleSubmitEditing(e),blurOnSubmit:!1}:{};return{...Bo(a),...n,value:V,error:I,onBlur:w,...v?{onChangeText:d}:{onChange:p},...C,...T?{inputRef:b=>c.setInputRef(e,b)}:{}}},Ho=e=>{let{value:a,...n}=Y(e);n.isChecked=a;const r=Me.useCheckboxState(e);return o.jsx(Me.CheckboxView,{...r,...n})},Wo=Ho,Lo=e=>{let{value:a,...n}=Y(e);n.isChecked=a===e.value;const r=$.useRadioState(e);return o.jsx($.RadioView,{...r,...n})},Go=Lo,Do=e=>{const{name:a,onSubmit:n,...r}=e,[c,t]=l.useState([]),s=Y({name:a,type:"text"}),u=p=>{s.onChangeText&&s.onChangeText(p)},m=(p,w)=>{n?n(p,w):u(p)},f=()=>c,h=()=>t([]),d=$.useChatInputState({...r,value:s.value||"",onChange:u,onSubmit:m});return o.jsx($.ChatInputView,{...r,...d,name:a,value:s.value||"",onChange:u,onSubmit:m,error:s.error,getPendingFiles:f,clearPendingFiles:h})},Ko=Do,No=e=>{const a=Y(e),n=$e(a);return o.jsx(Ue,{...n,...a})},Oo=No,$o=e=>{const a=Y(e),n=co();return o.jsx(so,{...n,...a})},Uo=$o,Yo=e=>{const a=Y(e),n=Ye(e);return o.jsx(Je,{...n,...a})},Jo=Yo,Zo=e=>{let a=Y(e);a.selected=a.value;const n=Ce.useSelectState({...e,value:a.value});return o.jsx(Ce.SelectView,{...a,...n})},Qo=Zo,Xo=e=>{const a=Y(e),n=Be.useSwitchState(e);return o.jsx(Be.SwitchView,{...n,...a})},ea=Xo,oa=e=>{const{name:a,...n}=e,{values:r,errors:c,touched:t,submitCount:s,setFieldValue:u,setFieldTouched:m}=pe.useFormikContext(),f=pe.getIn(r,a)||[],h=pe.getIn(t,a)||s>0?pe.getIn(c,a):void 0,d=l.useCallback(I=>{var x;const V=Array.isArray(I)?I.filter(T=>typeof T=="string"):[];u(a,V),(x=e.onTagsChange)==null||x.call(e,V)},[a,u,e.onTagsChange]),p=l.useCallback(()=>{var I;m(a,!0),(I=e.onBlur)==null||I.call(e)},[a,m,e.onBlur]),w=eo({...n,tags:f,onTagsChange:d,onBlur:p}),{tags:_,...v}=w;return o.jsx(oo,{...v,...n,tags:_,error:h})},aa=oa,ra=e=>{const a=Y(e),n=$.useTextAreaState(e);return o.jsx($.TextAreaView,{...n,...a})},ta=ra,na=e=>{const a=Y(e,{focusable:!0}),{value:n,...r}=he.useTextFieldState(e);return o.jsx(he.TextFieldView,{...r,...a})},ia=na,la=({visibleIcon:e=o.jsx(Q.OpenEyeIcon,{widthHeight:14}),hiddenIcon:a=o.jsx(Q.CloseEyeIcon,{widthHeight:14}),...n})=>{const r=Y(n,{focusable:!0}),{isVisible:c,setIsVisible:t,...s}=Ze(r);return o.jsx(he.TextFieldView,{...s,type:c?"text":"password",isClearable:!1,right:o.jsx(i.View,{onClick:()=>{n.isDisabled||t(!c)},children:c?e:a})})},ca=la,da=({items:e,placeholder:a,searchPlaceholder:n,isMulti:r=!1,...c})=>{const t=Y(c),s=Qe(e,a,n);l.useEffect(()=>{if(r&&Array.isArray(t.value))s.setSelectedItems(t.value);else if(!r&&t.value){const m=typeof t.value=="object"?t.value:e.find(f=>f.value===t.value);m&&s.setSelectedItem(m)}},[t.value,r,e]);const u=m=>{t.onChange(m)};return o.jsx(Xe,{...s,...t,items:e,placeholder:a,isMulti:r,onSelect:u})},sa=da,ua=e=>{const a=Y(e),n=$.useSliderState({...e,value:a.value!==void 0?Number(a.value):void 0,onChange:r=>{var c;a.onChange(r),(c=e.onChange)==null||c.call(e,r)}});return o.jsx($.SliderView,{...e,...n,...a})},ma=ua,Ke=e=>{if(e==null)return"";if(typeof e=="string"||typeof e=="number"){const a=String(e);return a==="[object Object]"?"":a}return""},Fe=(e,a)=>{console.log(`[FormikOTPInput] ${e}`,a)},pa=e=>e==null||typeof e=="string"||typeof e=="number"||typeof e=="boolean"?e:Object.prototype.toString.call(e),ha=e=>{const a=Y(e),n=Ke(a.value).slice(0,e.length||6);Fe("render",{name:e.name,type:e.type,formValue:pa(a.value),displayValue:n,length:e.length||6,hasFormikOnChange:!!a.onChange,hasFormikOnChangeText:!!a.onChangeText});const{isFocused:r,setIsFocused:c,isHovered:t,setIsHovered:s,inputRef:u,containerRef:m,mirrorSelectionStart:f,mirrorSelectionEnd:h,setMirrorSelectionStart:d,setMirrorSelectionEnd:p,setInputRef:w,handleFocus:_,handleBlur:v,handleKeyDown:I,handlePaste:V}=$.useOTPInputState(e),x=l.useCallback(C=>{const b=Ke(C).slice(0,e.length||6);Fe("setValue",{name:e.name,incomingValue:C,nextValue:b,hasFormikOnChange:!!a.onChange,hasFormikOnChangeText:!!a.onChangeText}),a.onChange&&a.onChange(b),a.onChangeText&&a.onChangeText(b),e.onComplete&&b.length===(e.length||6)&&e.onComplete(b),u.current&&(u.current.value=b)},[a,e,u]),T=l.useCallback(C=>{var E,M,D;const b=typeof C=="string"?C:((E=C==null?void 0:C.currentTarget)==null?void 0:E.value)??((M=C==null?void 0:C.target)==null?void 0:M.value)??((D=C==null?void 0:C.nativeEvent)==null?void 0:D.text)??"",P=String(b).slice(0,e.length||6);Fe("handleChange normalized",{name:e.name,raw:b,newValue:P}),x(P),u.current&&(u.current.value=P)},[e.length,x,u]);return o.jsx($.OTPInputView,{...e,...a,value:n,setValue:x,isFocused:r,setIsFocused:c,isHovered:t,setIsHovered:s,inputRef:u,containerRef:m,mirrorSelectionStart:f,mirrorSelectionEnd:h,setMirrorSelectionStart:d,setMirrorSelectionEnd:p,setInputRef:w,handleChange:T,handleFocus:_,handleBlur:v,handleKeyDown:I,handlePaste:V,stepValues:e.stepValues})},ga=ha,fa=e=>{let a=Y(e);a.selected=a.value;const n=Ne(e);return o.jsx(Oe,{...n,...a})},ba=fa,xa=({children:e,shape:a,variant:n,isDisabled:r,isToggled:c=!1,onToggle:t,...s})=>{const u=Y(s),{isHovered:m,setIsHovered:f,isToggle:h,setIsToggled:d}=$.useToggleState(u.value??c);l.useEffect(()=>{d(u.value??c)},[u.value,c]);const p=w=>{d(w),u.onChange(w),t==null||t(w)};return o.jsx($.ToggleView,{shape:a,variant:n,isDisabled:r,isHovered:m,setIsHovered:f,isToggle:h,setIsToggled:d,onToggle:p,...s,children:e})},ka=xa,ya=({items:e,shape:a,variant:n,onToggleChange:r,...c})=>{const t=Y(c),{activeToggles:s,setActiveToggles:u}=$.useToggleGroupState();l.useEffect(()=>{Array.isArray(t.value)&&u(t.value)},[t.value]);const m=f=>{u(f),t.onChange(f),r==null||r(f)};return o.jsx($.ToggleGroupView,{items:e,shape:a,variant:n,activeToggles:s,setActiveToggles:u,onToggleChange:m,...c})},ja=ya,wa=e=>{const a=Y(e),n={...e,value:a.value??e.value??e.defaultValue},r=io(n),c=t=>{r.handleIconSelect(t),a.onChange(t)};return o.jsx(lo,{...r,...n,handleIconSelect:c})},Sa=wa,Ca=e=>{const a=Y(e),n={...e,value:a.value??e.value??e.defaultValue,onChange:a.onChange},r=to(n),c=t=>{r.handleEmojiSelect(t)};return o.jsx(no,{...r,...n,handleEmojiSelect:c})},_a=Ca,Ia=({files:e,onRemove:a,maxHeight:n="120px",views:r={}})=>{if(e.length===0)return null;const c=l.useCallback(t=>t<1024?`${t} B`:t<1024*1024?`${(t/1024).toFixed(1)} KB`:`${(t/(1024*1024)).toFixed(1)} MB`,[]);return o.jsx(i.View,{display:"flex",flexWrap:"wrap",gap:"8px",padding:"8px 0",maxHeight:n,overflowY:"auto",...r==null?void 0:r.container,children:e.map((t,s)=>{const u=t.url||"",m=t.type.startsWith("image/"),f=t.type.startsWith("video/"),h=t.type.startsWith("audio/");return o.jsx(i.Vertical,{alignItems:"center",gap:"6px",padding:"6px 10px",borderRadius:"8px",border:"1px solid #E2E8F0",backgroundColor:"color-white",position:"relative",animate:{from:{opacity:0,scale:.9},to:{opacity:1,scale:1}},animationDuration:.2,...r==null?void 0:r.item,children:o.jsxs($.HoverCard,{children:[o.jsx($.HoverCard.Trigger,{children:o.jsxs(i.View,{position:"relative",children:[m&&u&&o.jsx(i.Image,{src:u,alt:t.name,width:"60px",height:"60px",objectFit:"cover",borderRadius:"8px"}),f&&u&&o.jsx(i.View,{as:"video",src:u,alt:t.name,controls:!1,muted:!0,width:"60px",height:"60px",objectFit:"cover",borderRadius:"8px"}),h&&o.jsx(i.Center,{width:"60px",height:"60px",backgroundColor:"color-gray-100",borderRadius:"8px",children:o.jsx(Q.AudioIcon,{widthHeight:24,color:"color-black"})}),!m&&!f&&!h&&o.jsx(i.Center,{width:"60px",height:"60px",backgroundColor:"color-gray-100",borderRadius:"8px",children:o.jsx(Q.FileIcon,{widthHeight:24,color:"color-black"})}),a&&o.jsx(i.Button,{position:"absolute",top:"-4px",right:"-4px",width:"20px",height:"20px",minWidth:"20px",minHeight:"20px",borderRadius:"50%",backgroundColor:"color-red-500",color:"white",fontSize:14,fontWeight:"bold",padding:0,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",border:"2px solid white",transition:"background-color 0.2s ease, opacity 0.2s ease",_hover:{backgroundColor:"#DC2626"},onClick:d=>{d.stopPropagation(),a(s)},"aria-label":`Remove ${t.name}`,children:"×"})]})}),o.jsxs($.HoverCard.Content,{children:[m&&u&&o.jsx(i.Image,{src:u,alt:t.name,maxWidth:"300px"}),f&&u&&o.jsx(i.View,{as:"video",src:u,controls:!0,maxWidth:"300px"}),h&&u&&o.jsx(i.View,{as:"audio",src:u,controls:!0,width:"100%"}),o.jsxs(i.Text,{marginTop:"4px",maxLines:1,width:"100%",fontSize:12,...r==null?void 0:r.name,children:[t.name," (",c(t.size),")"]})]})]})},s)})})};exports.AttachmentPreview=Ia;exports.ColorInputView=Ue;exports.ComboBoxView=Xe;exports.CountryPickerView=Je;exports.DatePickerView=so;exports.EmojiPickerView=no;exports.FormikChatInput=Ko;exports.FormikCheckbox=Wo;exports.FormikColorInput=Oo;exports.FormikComboBox=sa;exports.FormikCountryPicker=Jo;exports.FormikDatePicker=Uo;exports.FormikEmojiPicker=_a;exports.FormikIconPicker=Sa;exports.FormikOTPInput=ga;exports.FormikPassword=ca;exports.FormikRadio=Go;exports.FormikSelect=Qo;exports.FormikSelector=ba;exports.FormikSlider=ma;exports.FormikSwitch=ea;exports.FormikTagInput=aa;exports.FormikTextArea=ta;exports.FormikTextField=ia;exports.FormikToggle=ka;exports.FormikToggleGroup=ja;exports.IconPickerView=lo;exports.SelectorView=Oe;exports.TagInputView=oo;exports.defaultEmojiPickerLabels=ao;exports.useColorInputState=$e;exports.useComboBoxState=Qe;exports.useCountryPickerState=Ye;exports.useDatePickerState=co;exports.useEmojiPickerState=to;exports.useIconPickerState=io;exports.usePasswordState=Ze;exports.useSelectorState=Ne;exports.useTagInputState=eo;
|
|
2
|
+
//# sourceMappingURL=AttachmentPreview-BZV6xSa4.cjs.map
|