@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,169 @@
|
|
|
1
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
2
|
+
import { createContext as p, useContext as j, useMemo as w } from "react";
|
|
3
|
+
import { useTheme as x, ThemeProvider as E } from "app-studio";
|
|
4
|
+
import { d as A } from "./chunks/default-1F10zins.mjs";
|
|
5
|
+
const V = ({
|
|
6
|
+
children: e,
|
|
7
|
+
id: t,
|
|
8
|
+
appearance: o
|
|
9
|
+
}) => /* @__PURE__ */ f(
|
|
10
|
+
"div",
|
|
11
|
+
{
|
|
12
|
+
"data-design-system": t,
|
|
13
|
+
"data-appearance": o,
|
|
14
|
+
style: { display: "contents" },
|
|
15
|
+
children: e
|
|
16
|
+
}
|
|
17
|
+
), c = (e) => !!e && typeof e == "object" && !Array.isArray(e) && Object.prototype.toString.call(e) === "[object Object]", v = (e) => e, d = (...e) => {
|
|
18
|
+
const t = {};
|
|
19
|
+
return e.forEach((o) => {
|
|
20
|
+
c(o) && Object.entries(o).forEach(([n, s]) => {
|
|
21
|
+
if (s != null) {
|
|
22
|
+
if (c(s) && c(t[n])) {
|
|
23
|
+
t[n] = d(t[n], s);
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
t[n] = s;
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
}), t;
|
|
30
|
+
};
|
|
31
|
+
function L(...e) {
|
|
32
|
+
const t = {};
|
|
33
|
+
for (const o of e)
|
|
34
|
+
for (const [n, s] of Object.entries(o ?? {})) {
|
|
35
|
+
if (!c(s)) continue;
|
|
36
|
+
const i = Array.isArray(s.style) ? {
|
|
37
|
+
...s,
|
|
38
|
+
style: Object.assign(
|
|
39
|
+
{},
|
|
40
|
+
...s.style.flat(1 / 0).filter(c)
|
|
41
|
+
)
|
|
42
|
+
} : s, r = t[n];
|
|
43
|
+
if (c(r == null ? void 0 : r.style)) {
|
|
44
|
+
const l = { ...r.style };
|
|
45
|
+
for (const [a, u] of Object.entries(i))
|
|
46
|
+
a !== "style" && u != null && delete l[a];
|
|
47
|
+
t[n] = d({ ...r, style: l }, i);
|
|
48
|
+
} else
|
|
49
|
+
t[n] = d(r, i);
|
|
50
|
+
}
|
|
51
|
+
return t;
|
|
52
|
+
}
|
|
53
|
+
const O = (e) => {
|
|
54
|
+
if (Array.isArray(e) || !c(e)) return e;
|
|
55
|
+
const t = {};
|
|
56
|
+
for (const [o, n] of Object.entries(e))
|
|
57
|
+
n !== null && (t[o] = c(n) ? O(n) : n);
|
|
58
|
+
return t;
|
|
59
|
+
}, M = /* @__PURE__ */ new Set(["button"]), k = [
|
|
60
|
+
"backgroundColor",
|
|
61
|
+
"background",
|
|
62
|
+
"borderColor",
|
|
63
|
+
"color"
|
|
64
|
+
], D = /* @__PURE__ */ new Set(), I = (e, t) => {
|
|
65
|
+
if (process.env.NODE_ENV !== "production" && !(!t || !M.has(e)) && !D.has(e))
|
|
66
|
+
for (const [o, n] of Object.entries(t)) {
|
|
67
|
+
if (!c(n)) continue;
|
|
68
|
+
const s = k.filter((i) => n[i] != null);
|
|
69
|
+
if (s.length > 0) {
|
|
70
|
+
D.add(e), console.warn(
|
|
71
|
+
`[design-system] components.${e}.views.${o} sets ${s.join(", ")} — view styles apply above every variant, so this flattens ghost/outline/subtle into solid blocks. Move colors to components.${e}.config.variants.<variant> for an individual variant; keep legacy views to shape and typography.`
|
|
72
|
+
);
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}, h = (e, t, o = "legacy") => {
|
|
77
|
+
if (!t) return {};
|
|
78
|
+
const n = t.components[e] || {}, s = v(O(n));
|
|
79
|
+
return o === "legacy" && I(e, s.views), s;
|
|
80
|
+
}, T = (e, t, o) => y(
|
|
81
|
+
h(e, o),
|
|
82
|
+
t
|
|
83
|
+
);
|
|
84
|
+
function y(e, t) {
|
|
85
|
+
const { config: o, ...n } = t;
|
|
86
|
+
return v(
|
|
87
|
+
d(e, o, n)
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
const g = Symbol.for(
|
|
91
|
+
"@app-studio/components/design-system-context/v1"
|
|
92
|
+
);
|
|
93
|
+
function _() {
|
|
94
|
+
const e = globalThis, t = e[g] ?? (e[g] = /* @__PURE__ */ new WeakMap()), o = t.get(p);
|
|
95
|
+
if (o) return o;
|
|
96
|
+
const n = p({ isEnabled: !1 });
|
|
97
|
+
return t.set(p, n), n;
|
|
98
|
+
}
|
|
99
|
+
const m = _(), N = ({
|
|
100
|
+
children: e,
|
|
101
|
+
config: t,
|
|
102
|
+
mode: o,
|
|
103
|
+
targetWindow: n,
|
|
104
|
+
inheritTheme: s = !1,
|
|
105
|
+
stylePrecedence: i = "standard"
|
|
106
|
+
}) => {
|
|
107
|
+
const r = t ?? A, { themeMode: l } = x(), a = o ?? l ?? r.metadata.defaultAppearance, u = w(
|
|
108
|
+
() => ({ ...r.theme }),
|
|
109
|
+
[r.theme]
|
|
110
|
+
), P = {
|
|
111
|
+
mode: a,
|
|
112
|
+
targetWindow: n,
|
|
113
|
+
transparentWrapper: !0
|
|
114
|
+
}, C = w(
|
|
115
|
+
() => ({
|
|
116
|
+
config: r,
|
|
117
|
+
configId: r.metadata.id,
|
|
118
|
+
isEnabled: !0,
|
|
119
|
+
stylePrecedence: i
|
|
120
|
+
}),
|
|
121
|
+
[r, i]
|
|
122
|
+
), S = /* @__PURE__ */ f(
|
|
123
|
+
V,
|
|
124
|
+
{
|
|
125
|
+
id: r.metadata.id,
|
|
126
|
+
appearance: a,
|
|
127
|
+
children: e
|
|
128
|
+
}
|
|
129
|
+
);
|
|
130
|
+
return s ? /* @__PURE__ */ f(m.Provider, { value: C, children: S }) : /* @__PURE__ */ f(m.Provider, { value: C, children: /* @__PURE__ */ f(E, { theme: u, ...P, children: S }) });
|
|
131
|
+
}, b = () => j(m), z = (e) => {
|
|
132
|
+
const { config: t, stylePrecedence: o } = b();
|
|
133
|
+
return h(
|
|
134
|
+
e,
|
|
135
|
+
t,
|
|
136
|
+
o
|
|
137
|
+
);
|
|
138
|
+
}, K = (e, t) => {
|
|
139
|
+
const { config: o } = b();
|
|
140
|
+
return T(e, t, o);
|
|
141
|
+
};
|
|
142
|
+
function Y(e, t) {
|
|
143
|
+
const { config: o, stylePrecedence: n } = b(), s = h(
|
|
144
|
+
e,
|
|
145
|
+
o,
|
|
146
|
+
n
|
|
147
|
+
);
|
|
148
|
+
if (n !== "standard")
|
|
149
|
+
return { props: y(s, t) };
|
|
150
|
+
const { views: i, ...r } = s;
|
|
151
|
+
return {
|
|
152
|
+
props: y(r, t),
|
|
153
|
+
themeViews: i ?? {}
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
export {
|
|
157
|
+
N as DesignSystemProvider,
|
|
158
|
+
d as deepMerge,
|
|
159
|
+
h as getDesignSystemComponentProps,
|
|
160
|
+
y as mergeComponentDefaults,
|
|
161
|
+
T as mergeDesignSystemComponentProps,
|
|
162
|
+
L as mergeDesignSystemViews,
|
|
163
|
+
v as normalizeDesignSystemComponentProps,
|
|
164
|
+
b as useDesignSystem,
|
|
165
|
+
Y as useDesignSystemComponentLayers,
|
|
166
|
+
z as useDesignSystemComponentProps,
|
|
167
|
+
K as useMergedDesignSystemComponentProps
|
|
168
|
+
};
|
|
169
|
+
//# sourceMappingURL=theme.esm.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.esm.mjs","sources":["../src/design-system/DesignSystemScope.tsx","../src/design-system/utils.ts","../src/design-system/theme.tsx"],"sourcesContent":["import React from 'react';\nimport { DesignSystemScopeProps } from './types';\n\n/**\n * Marks the design system's subtree for CSS (`[data-design-system]`,\n * `[data-appearance]`) without adding a layout box. Native twin:\n * DesignSystemScope.native, which has no DOM to mark.\n */\nexport const DesignSystemScope: React.FC<DesignSystemScopeProps> = ({\n children,\n id,\n appearance,\n}) => (\n <div\n data-design-system={id}\n data-appearance={appearance}\n style={{ display: 'contents' }}\n >\n {children}\n </div>\n);\n","import {\n DesignSystemComponentConfig,\n DesignSystemComponentName,\n DesignSystemConfig,\n DesignSystemStylePrecedence,\n} from './types';\n\nconst isPlainObject = (value: unknown): value is Record<string, any> =>\n Boolean(value) &&\n typeof value === 'object' &&\n !Array.isArray(value) &&\n Object.prototype.toString.call(value) === '[object Object]';\n\nexport const normalizeDesignSystemComponentProps = <\n T extends Record<string, any>\n>(\n props: T\n): T => {\n return props;\n};\n\nexport const deepMerge = <T extends Record<string, any> = Record<string, any>>(\n ...objects: Array<Record<string, any> | undefined>\n): T => {\n const result: Record<string, any> = {};\n\n objects.forEach((object) => {\n if (!isPlainObject(object)) return;\n\n Object.entries(object).forEach(([key, value]) => {\n // Treat null the same as undefined: configs use null to declare a key\n // exists in the schema without overriding component defaults. Nested\n // nulls (e.g. `views.container.backgroundColor: null`) are pre-stripped\n // from configs at the boundary — see `stripNullsDeep` below — so this\n // top-level check is sufficient and we keep the cycle-safe shape that\n // assigns React-element props by reference rather than recursing.\n if (value === undefined || value === null) return;\n\n if (isPlainObject(value) && isPlainObject(result[key])) {\n result[key] = deepMerge(result[key], value);\n return;\n }\n\n result[key] = value;\n });\n });\n\n return result as T;\n};\n\n/** Merge slots in order, including styles supplied through the engine's inline style prop. */\nexport function mergeDesignSystemViews<T extends Record<string, any>>(\n ...layers: Array<Partial<T> | undefined>\n): T {\n const result: Record<string, any> = {};\n for (const layer of layers) {\n for (const [slot, view] of Object.entries(layer ?? {})) {\n if (!isPlainObject(view)) continue;\n // React Native styles can include nested arrays of objects and false values.\n const next = Array.isArray(view.style)\n ? {\n ...view,\n style: Object.assign(\n {},\n ...view.style.flat(Infinity).filter(isPlainObject)\n ),\n }\n : view;\n const previous = result[slot];\n if (isPlainObject(previous?.style)) {\n const style = { ...previous.style };\n // The engine applies inline styles after style props. Remove an earlier\n // inline value when a higher-priority layer sets the same direct prop.\n for (const [key, value] of Object.entries(next)) {\n if (key !== 'style' && value != null) delete style[key];\n }\n result[slot] = deepMerge({ ...previous, style }, next);\n } else {\n result[slot] = deepMerge(previous, next);\n }\n }\n }\n return result as T;\n}\n\n// Recursively remove keys whose value is `null` from plain-object trees.\n// Only descends into plain objects: arrays and non-object values are returned\n// as-is, so React elements / fibers / class instances are left alone. Used to\n// scrub `views.container.backgroundColor: null` and friends from configs\n// before they ever reach the merge pipeline.\nconst stripNullsDeep = <T>(value: T): T => {\n if (Array.isArray(value)) return value;\n if (!isPlainObject(value)) return value;\n const out: Record<string, any> = {};\n for (const [k, v] of Object.entries(value)) {\n if (v === null) continue;\n out[k] = isPlainObject(v) ? stripNullsDeep(v) : v;\n }\n return out as T;\n};\n\n// Components whose colors are computed per-variant. A config block's `views`\n// sits ABOVE the variant palette, so a color there flattens every variant\n// (ghost/outline/subtle all render as solid blocks). Colors for these\n// components belong in `config.variants.<variant>` or the top-level\n// `color`/`textColor` keys. Retain this warning for legacy precedence.\nconst VARIANT_DRIVEN_COMPONENTS: ReadonlySet<string> = new Set(['button']);\nconst VIEW_COLOR_KEYS = [\n 'backgroundColor',\n 'background',\n 'borderColor',\n 'color',\n] as const;\nconst warnedViewColorBlocks = new Set<string>();\n\nconst warnOnViewColors = (\n componentName: string,\n views: Record<string, Record<string, unknown>> | undefined\n) => {\n if (process.env.NODE_ENV === 'production') return;\n if (!views || !VARIANT_DRIVEN_COMPONENTS.has(componentName)) return;\n if (warnedViewColorBlocks.has(componentName)) return;\n for (const [viewKey, viewValue] of Object.entries(views)) {\n if (!isPlainObject(viewValue)) continue;\n const offenders = VIEW_COLOR_KEYS.filter((k) => viewValue[k] != null);\n if (offenders.length > 0) {\n warnedViewColorBlocks.add(componentName);\n console.warn(\n `[design-system] components.${componentName}.views.${viewKey} sets ` +\n `${offenders.join(', ')} — view styles apply above every variant, ` +\n 'so this flattens ghost/outline/subtle into solid blocks. Move ' +\n `colors to components.${componentName}.config.variants.<variant> ` +\n 'for an individual variant; keep legacy views to shape and typography.'\n );\n return;\n }\n }\n};\n\nexport const getDesignSystemComponentProps = (\n componentName: DesignSystemComponentName,\n config?: DesignSystemConfig,\n stylePrecedence: DesignSystemStylePrecedence = 'legacy'\n): DesignSystemComponentConfig => {\n if (!config) return {};\n const raw: DesignSystemComponentConfig =\n config.components[componentName] || {};\n const cleaned = normalizeDesignSystemComponentProps(stripNullsDeep(raw));\n if (stylePrecedence === 'legacy')\n warnOnViewColors(componentName, cleaned.views);\n return cleaned;\n};\n\nexport const mergeDesignSystemComponentProps = <T extends Record<string, any>>(\n componentName: DesignSystemComponentName,\n props: T,\n config?: DesignSystemConfig\n): T =>\n mergeComponentDefaults(\n getDesignSystemComponentProps(componentName, config),\n props\n );\n\nexport function mergeComponentDefaults<T extends Record<string, any>>(\n defaults: DesignSystemComponentConfig,\n props: T\n): T {\n const { config: localConfig, ...otherProps } = props;\n return normalizeDesignSystemComponentProps(\n deepMerge<T>(defaults, localConfig, otherProps)\n );\n}\n","import React, {\n Context,\n createContext,\n ReactNode,\n useContext,\n useMemo,\n} from 'react';\nimport { ThemeProvider, useTheme } from 'app-studio';\nimport defaultConfig from './configs/default.json';\nimport { DesignSystemScope } from './DesignSystemScope';\nimport {\n DesignSystemAppearance,\n DesignSystemComponentConfigFor,\n DesignSystemComponentName,\n DesignSystemConfig,\n DesignSystemContextValue,\n DesignSystemStylePrecedence,\n} from './types';\nimport {\n getDesignSystemComponentProps,\n mergeComponentDefaults,\n mergeDesignSystemComponentProps,\n} from './utils';\n\nconst contextKey = Symbol.for(\n '@app-studio/components/design-system-context/v1'\n);\n\nfunction getDesignSystemContext() {\n // A copied theme and the npm entry can coexist in one React tree. Share the\n // context for that React runtime. Provider values still live in the tree.\n const scope = globalThis as typeof globalThis & {\n [contextKey]?: WeakMap<\n typeof createContext,\n Context<DesignSystemContextValue>\n >;\n };\n const contexts = (scope[contextKey] ??= new WeakMap());\n const existing = contexts.get(createContext);\n if (existing) return existing;\n\n const context = createContext<DesignSystemContextValue>({ isEnabled: false });\n contexts.set(createContext, context);\n return context;\n}\n\nconst DesignSystemContext = getDesignSystemContext();\n\nexport interface DesignSystemProviderProps {\n children: ReactNode;\n config?: DesignSystemConfig;\n /**\n * Explicitly pin the appearance for this subtree (light/dark). When omitted,\n * the provider follows the **global** theme mode (so a light/dark toggle\n * flips the design system), falling back to the config's `defaultAppearance`\n * only when there is no surrounding ThemeProvider.\n */\n mode?: DesignSystemAppearance;\n /** Document that owns the subtree and its theme stylesheet (for iframe portals). */\n targetWindow?: Window;\n /**\n * Render no ThemeProvider of its own: colours and mode come from the\n * surrounding ThemeProvider (an app's `brand`), and this provider only\n * supplies the component configuration. Without it (the default), the\n * config's `theme` is applied through a nested ThemeProvider.\n */\n inheritTheme?: boolean;\n /** Standard precedence applies theme defaults, then variant styles, then instance overrides. */\n stylePrecedence?: DesignSystemStylePrecedence;\n}\n\nexport const DesignSystemProvider: React.FC<DesignSystemProviderProps> = ({\n children,\n config,\n mode,\n targetWindow,\n inheritTheme = false,\n stylePrecedence = 'standard',\n}) => {\n const resolvedConfig = config ?? (defaultConfig as DesignSystemConfig);\n\n // Follow the active global theme mode so a light/dark toggle actually flips\n // the design system. An explicit `mode` prop pins the subtree; otherwise we\n // inherit the surrounding ThemeProvider's mode and fall back to the config's\n // declared default appearance when no provider is present.\n const { themeMode } = useTheme();\n const effectiveMode: DesignSystemAppearance =\n mode ?? themeMode ?? resolvedConfig.metadata.defaultAppearance;\n const theme = useMemo(\n () => ({ ...resolvedConfig.theme }),\n [resolvedConfig.theme]\n );\n const themeOptions = {\n mode: effectiveMode,\n targetWindow,\n transparentWrapper: true,\n };\n\n const value = useMemo(\n () => ({\n config: resolvedConfig,\n configId: resolvedConfig.metadata.id,\n isEnabled: true,\n stylePrecedence,\n }),\n [resolvedConfig, stylePrecedence]\n );\n\n // Delegate token resolution to app-studio's ThemeProvider: it emits\n // `--theme-<slot>` CSS variables from the theme object and registers them\n // with its color resolver, so `theme-primary`, `theme-canvas`, etc. work\n // anywhere a component uses them. `transparentWrapper` is auto-inferred\n // (nested under another ThemeProvider) and keeps the page layout intact.\n const scoped = (\n <DesignSystemScope\n id={resolvedConfig.metadata.id}\n appearance={effectiveMode}\n >\n {children}\n </DesignSystemScope>\n );\n\n if (inheritTheme) {\n return (\n <DesignSystemContext.Provider value={value}>\n {scoped}\n </DesignSystemContext.Provider>\n );\n }\n\n return (\n <DesignSystemContext.Provider value={value}>\n <ThemeProvider theme={theme} {...themeOptions}>\n {scoped}\n </ThemeProvider>\n </DesignSystemContext.Provider>\n );\n};\n\nexport const useDesignSystem = () => useContext(DesignSystemContext);\n\nexport const useDesignSystemComponentProps = <\n Name extends DesignSystemComponentName\n>(\n componentName: Name\n): DesignSystemComponentConfigFor<Name> => {\n const { config, stylePrecedence } = useDesignSystem();\n return getDesignSystemComponentProps(\n componentName,\n config,\n stylePrecedence\n ) as DesignSystemComponentConfigFor<Name>;\n};\n\nexport const useMergedDesignSystemComponentProps = <\n T extends Record<string, any>\n>(\n componentName: DesignSystemComponentName,\n props: T\n): T => {\n const { config } = useDesignSystem();\n return mergeDesignSystemComponentProps(componentName, props, config);\n};\n\n/** Keep theme views separate until the component knows which variant to apply. */\nexport function useDesignSystemComponentLayers<\n T extends { views?: Record<string, any> }\n>(\n componentName: DesignSystemComponentName,\n props: T\n): { props: T; themeViews?: T['views'] } {\n const { config, stylePrecedence } = useDesignSystem();\n const defaults = getDesignSystemComponentProps(\n componentName,\n config,\n stylePrecedence\n );\n if (stylePrecedence !== 'standard') {\n return { props: mergeComponentDefaults(defaults, props) };\n }\n const { views, ...otherDefaults } = defaults;\n return {\n props: mergeComponentDefaults(otherDefaults, props),\n themeViews: (views ?? {}) as T['views'],\n };\n}\n\nexport * from './types';\nexport * from './utils';\n"],"names":["DesignSystemScope","children","id","appearance","jsx","isPlainObject","value","normalizeDesignSystemComponentProps","props","deepMerge","objects","result","object","key","mergeDesignSystemViews","layers","layer","slot","view","next","previous","style","stripNullsDeep","out","k","v","VARIANT_DRIVEN_COMPONENTS","VIEW_COLOR_KEYS","warnedViewColorBlocks","warnOnViewColors","componentName","views","viewKey","viewValue","offenders","getDesignSystemComponentProps","config","stylePrecedence","raw","cleaned","mergeDesignSystemComponentProps","mergeComponentDefaults","defaults","localConfig","otherProps","contextKey","getDesignSystemContext","scope","contexts","existing","createContext","context","DesignSystemContext","DesignSystemProvider","mode","targetWindow","inheritTheme","resolvedConfig","defaultConfig","themeMode","useTheme","effectiveMode","theme","useMemo","themeOptions","scoped","ThemeProvider","useDesignSystem","useContext","useDesignSystemComponentProps","useMergedDesignSystemComponentProps","useDesignSystemComponentLayers","otherDefaults"],"mappings":"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"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ViewProps } from 'app-studio';
|
|
3
|
+
import { AccordionStyles, Shape, Variant, AccordionType } from './Accordion.type';
|
|
4
|
+
export interface AccordionProps extends Omit<ViewProps, 'value' | 'defaultValue' | 'onChange'> {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
type?: AccordionType;
|
|
7
|
+
defaultValue?: string | string[];
|
|
8
|
+
value?: string | string[];
|
|
9
|
+
onValueChange?: (value: string | string[] | undefined) => void;
|
|
10
|
+
collapsible?: boolean;
|
|
11
|
+
shape?: Shape;
|
|
12
|
+
variant?: Variant;
|
|
13
|
+
views?: AccordionStyles;
|
|
14
|
+
}
|
|
15
|
+
export interface AccordionItemProps extends Omit<ViewProps, 'value'> {
|
|
16
|
+
value: string;
|
|
17
|
+
children: React.ReactNode;
|
|
18
|
+
isDisabled?: boolean;
|
|
19
|
+
views?: {
|
|
20
|
+
item?: ViewProps;
|
|
21
|
+
trigger?: ViewProps;
|
|
22
|
+
content?: ViewProps;
|
|
23
|
+
icon?: ViewProps;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export interface AccordionTriggerProps extends ViewProps {
|
|
27
|
+
children: React.ReactNode;
|
|
28
|
+
views?: {
|
|
29
|
+
container?: ViewProps;
|
|
30
|
+
icon?: ViewProps;
|
|
31
|
+
};
|
|
32
|
+
asChild?: boolean;
|
|
33
|
+
}
|
|
34
|
+
export interface AccordionContentProps {
|
|
35
|
+
children: React.ReactNode;
|
|
36
|
+
views?: {
|
|
37
|
+
container?: ViewProps;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export interface AccordionComponentType extends React.FC<AccordionProps> {
|
|
41
|
+
Item: React.FC<AccordionItemProps>;
|
|
42
|
+
Trigger: React.FC<AccordionTriggerProps & {
|
|
43
|
+
value?: string;
|
|
44
|
+
isExpanded?: boolean;
|
|
45
|
+
isDisabled?: boolean;
|
|
46
|
+
triggerId?: string;
|
|
47
|
+
contentId?: string;
|
|
48
|
+
}>;
|
|
49
|
+
Content: React.FC<AccordionContentProps>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AccordionProps } from './Accordion.props';
|
|
2
|
+
export declare const useAccordionState: ({ type, value: controlledValue, defaultValue, onValueChange, collapsible, }: Pick<AccordionProps, "type" | "value" | "defaultValue" | "onValueChange" | "collapsible">) => {
|
|
3
|
+
expandedItems: string[];
|
|
4
|
+
toggleItem: (itemValue: string) => void;
|
|
5
|
+
isItemExpanded: (itemValue: string) => boolean;
|
|
6
|
+
type: import('./Accordion.type').AccordionType;
|
|
7
|
+
collapsible: boolean;
|
|
8
|
+
baseId: string;
|
|
9
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ViewProps } from 'app-studio';
|
|
2
|
+
import { Shape, Variant } from './Accordion.type';
|
|
3
|
+
export declare const AccordionShapes: Record<Shape, ViewProps>;
|
|
4
|
+
export declare const AccordionVariants: Record<Variant, ViewProps>;
|
|
5
|
+
export declare const AccordionTriggerStyles: ViewProps;
|
|
6
|
+
export declare const AccordionContentStyles: ViewProps;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ViewProps } from 'app-studio';
|
|
2
|
+
export type Shape = 'square' | 'rounded';
|
|
3
|
+
export type Variant = 'default' | 'outline' | 'filled';
|
|
4
|
+
export type AccordionType = 'single' | 'multiple';
|
|
5
|
+
export interface AccordionContextType {
|
|
6
|
+
expandedItems: string[];
|
|
7
|
+
toggleItem: (itemId: string) => void;
|
|
8
|
+
isItemExpanded: (itemId: string) => boolean;
|
|
9
|
+
type: AccordionType;
|
|
10
|
+
collapsible: boolean;
|
|
11
|
+
baseId: string;
|
|
12
|
+
}
|
|
13
|
+
export interface AccordionStyles {
|
|
14
|
+
container?: ViewProps;
|
|
15
|
+
item?: ViewProps;
|
|
16
|
+
header?: ViewProps;
|
|
17
|
+
trigger?: ViewProps;
|
|
18
|
+
content?: ViewProps;
|
|
19
|
+
icon?: ViewProps;
|
|
20
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ViewProps } from 'app-studio';
|
|
3
|
+
import { AccordionContextType } from './Accordion.type';
|
|
4
|
+
import { AccordionTriggerProps, AccordionContentProps, AccordionItemProps } from './Accordion.props';
|
|
5
|
+
export declare const AccordionProvider: React.FC<{
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
value: AccordionContextType;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const useAccordionContext: () => AccordionContextType;
|
|
10
|
+
export declare const AccordionItem: React.FC<AccordionItemProps>;
|
|
11
|
+
export declare const AccordionTrigger: React.FC<AccordionTriggerProps & {
|
|
12
|
+
value?: string;
|
|
13
|
+
isExpanded?: boolean;
|
|
14
|
+
isDisabled?: boolean;
|
|
15
|
+
triggerId?: string;
|
|
16
|
+
contentId?: string;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const AccordionContent: React.FC<AccordionContentProps & {
|
|
19
|
+
isExpanded?: boolean;
|
|
20
|
+
isDisabled?: boolean;
|
|
21
|
+
triggerId?: string;
|
|
22
|
+
contentId?: string;
|
|
23
|
+
}>;
|
|
24
|
+
export declare const AccordionView: React.FC<{
|
|
25
|
+
children: React.ReactNode;
|
|
26
|
+
shape?: 'square' | 'rounded';
|
|
27
|
+
variant?: 'default' | 'outline' | 'filled';
|
|
28
|
+
views?: any;
|
|
29
|
+
baseId: string;
|
|
30
|
+
type: 'single' | 'multiple';
|
|
31
|
+
collapsible: boolean;
|
|
32
|
+
} & ViewProps>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ViewProps } from 'app-studio';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
import { ActionSheetAnimation, ActionSheetItem, ActionSheetSize, ActionSheetStyles, ActionSheetValue } from './ActionSheet.type';
|
|
4
|
+
export interface ActionSheetProps extends Omit<ViewProps, 'children' | 'onChange' | 'onSelect' | 'title'> {
|
|
5
|
+
isOpen?: boolean;
|
|
6
|
+
defaultOpen?: boolean;
|
|
7
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
8
|
+
onClose?: () => void;
|
|
9
|
+
isClosePrevented?: boolean;
|
|
10
|
+
dismissOnBackdropPress?: boolean;
|
|
11
|
+
title?: React.ReactNode;
|
|
12
|
+
description?: React.ReactNode;
|
|
13
|
+
header?: React.ReactNode;
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
items?: ActionSheetItem[];
|
|
16
|
+
value?: ActionSheetValue;
|
|
17
|
+
defaultValue?: ActionSheetValue;
|
|
18
|
+
isMulti?: boolean;
|
|
19
|
+
closeOnSelect?: boolean;
|
|
20
|
+
onSelect?: (value: string, item: ActionSheetItem) => void;
|
|
21
|
+
onChange?: (value: ActionSheetValue, item: ActionSheetItem) => void;
|
|
22
|
+
showCancel?: boolean;
|
|
23
|
+
cancelLabel?: string;
|
|
24
|
+
onCancel?: () => void;
|
|
25
|
+
showHandle?: boolean;
|
|
26
|
+
size?: ActionSheetSize;
|
|
27
|
+
maxHeight?: number | string;
|
|
28
|
+
animationType?: ActionSheetAnimation;
|
|
29
|
+
views?: ActionSheetStyles;
|
|
30
|
+
}
|
|
31
|
+
export interface ActionSheetViewProps extends ActionSheetProps {
|
|
32
|
+
isSheetOpen: boolean;
|
|
33
|
+
selectedValue: ActionSheetValue;
|
|
34
|
+
setSelectedValue: (value: ActionSheetValue) => void;
|
|
35
|
+
closeSheet: () => void;
|
|
36
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ActionSheetProps } from './ActionSheet.props';
|
|
2
|
+
import { ActionSheetValue } from './ActionSheet.type';
|
|
3
|
+
export declare const useActionSheetState: ({ isOpen, defaultOpen, value, defaultValue, isMulti, onOpenChange, onClose, }: ActionSheetProps) => {
|
|
4
|
+
isSheetOpen: boolean;
|
|
5
|
+
selectedValue: ActionSheetValue;
|
|
6
|
+
setSelectedValue: (nextValue: ActionSheetValue) => void;
|
|
7
|
+
closeSheet: () => void;
|
|
8
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ViewProps } from 'app-studio';
|
|
2
|
+
import { ActionSheetSize } from './ActionSheet.type';
|
|
3
|
+
export declare const ActionSheetItemSizes: Record<ActionSheetSize, ViewProps>;
|
|
4
|
+
export declare const ActionSheetTextSizes: Record<ActionSheetSize, {
|
|
5
|
+
label: number;
|
|
6
|
+
description: number;
|
|
7
|
+
}>;
|
|
8
|
+
export declare const actionSheetShadow: {
|
|
9
|
+
elevation: number;
|
|
10
|
+
shadowColor: string;
|
|
11
|
+
shadowOpacity: number;
|
|
12
|
+
shadowOffset: {
|
|
13
|
+
width: number;
|
|
14
|
+
height: number;
|
|
15
|
+
};
|
|
16
|
+
shadowRadius: number;
|
|
17
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ViewProps } from 'app-studio';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export type ActionSheetSize = 'sm' | 'md' | 'lg';
|
|
4
|
+
export type ActionSheetValue = string | string[];
|
|
5
|
+
export type ActionSheetAnimation = 'none' | 'slide' | 'fade';
|
|
6
|
+
export interface ActionSheetItem {
|
|
7
|
+
id?: string;
|
|
8
|
+
value?: string;
|
|
9
|
+
label?: React.ReactNode;
|
|
10
|
+
description?: React.ReactNode;
|
|
11
|
+
icon?: React.ReactNode;
|
|
12
|
+
selected?: boolean;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
isDisabled?: boolean;
|
|
15
|
+
destructive?: boolean;
|
|
16
|
+
divider?: boolean;
|
|
17
|
+
closeOnSelect?: boolean;
|
|
18
|
+
onPress?: (item: ActionSheetItem) => void;
|
|
19
|
+
}
|
|
20
|
+
export type ActionSheetStyles = {
|
|
21
|
+
overlay?: ViewProps;
|
|
22
|
+
container?: ViewProps;
|
|
23
|
+
sheet?: ViewProps;
|
|
24
|
+
handle?: ViewProps;
|
|
25
|
+
header?: ViewProps;
|
|
26
|
+
title?: ViewProps;
|
|
27
|
+
description?: ViewProps;
|
|
28
|
+
content?: ViewProps;
|
|
29
|
+
item?: ViewProps;
|
|
30
|
+
itemIcon?: ViewProps;
|
|
31
|
+
itemLabel?: ViewProps;
|
|
32
|
+
itemDescription?: ViewProps;
|
|
33
|
+
itemIndicator?: ViewProps;
|
|
34
|
+
divider?: ViewProps;
|
|
35
|
+
cancelButton?: ViewProps;
|
|
36
|
+
cancelLabel?: ViewProps;
|
|
37
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ViewProps } from 'app-studio';
|
|
3
|
+
import { AlertStyles, Variant } from './Alert.type';
|
|
4
|
+
export interface AlertProps extends ViewProps {
|
|
5
|
+
icon?: React.ReactNode;
|
|
6
|
+
title?: string;
|
|
7
|
+
description?: string | React.ReactNode;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
variant?: Variant;
|
|
10
|
+
severity?: string;
|
|
11
|
+
status?: string;
|
|
12
|
+
onClose?: () => void;
|
|
13
|
+
views?: AlertStyles;
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ViewProps } from 'app-studio';
|
|
2
|
+
import { Variant } from './Alert.type';
|
|
3
|
+
/**
|
|
4
|
+
* Get theme styles for different alert variants based on theme mode
|
|
5
|
+
*/
|
|
6
|
+
export declare const getThemes: (themeMode: string) => Record<Variant, {
|
|
7
|
+
container: ViewProps;
|
|
8
|
+
content: ViewProps;
|
|
9
|
+
icon: ViewProps;
|
|
10
|
+
}>;
|
|
11
|
+
/**
|
|
12
|
+
* Default themes for backward compatibility
|
|
13
|
+
*/
|
|
14
|
+
export declare const Themes: Record<Variant, {
|
|
15
|
+
container: ViewProps;
|
|
16
|
+
content: ViewProps;
|
|
17
|
+
icon: ViewProps;
|
|
18
|
+
}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { AlertProps } from './Alert.props';
|
|
3
|
+
/**
|
|
4
|
+
* Alert component that displays important messages to users
|
|
5
|
+
*/
|
|
6
|
+
export declare const AlertView: React.MemoExoticComponent<({ icon, title, views: instanceViews, themeViews, description, variant, themeMode: elementMode, children, ...props }: AlertProps & {
|
|
7
|
+
themeViews?: AlertProps["views"];
|
|
8
|
+
}) => React.JSX.Element>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { AppRootProps } from './AppRoot.types';
|
|
3
|
+
export type { AppRootProps };
|
|
4
|
+
/**
|
|
5
|
+
* AppRoot — one entry point that mounts every App Studio provider in the right
|
|
6
|
+
* order, so apps don't wire them by hand.
|
|
7
|
+
*
|
|
8
|
+
* Web build: Theme → Responsive → WindowSize. The native build
|
|
9
|
+
* (`AppRoot.native.tsx`) additionally wraps `SafeAreaProvider` so `safeArea*`
|
|
10
|
+
* props / `<SafeArea>` resolve to real device insets. Mount it once at the root:
|
|
11
|
+
*
|
|
12
|
+
* ```tsx
|
|
13
|
+
* import { AppRoot } from '@app-studio/components';
|
|
14
|
+
* export default () => <AppRoot><Screens /></AppRoot>;
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare const AppRoot: React.FC<AppRootProps>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface AppRootProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
/**
|
|
5
|
+
* Optional registry of named modals (`{ Name: ModalComponent }`). When
|
|
6
|
+
* provided, AppRoot mounts the `ModalRouter` once at the root so any code can
|
|
7
|
+
* drive them with `showModal('Name', props)` / `hideModal('Name')`.
|
|
8
|
+
*/
|
|
9
|
+
modals?: {
|
|
10
|
+
[name: string]: React.FC<any>;
|
|
11
|
+
};
|
|
12
|
+
/** Called whenever a modal is shown (forwarded to the ModalRouter). */
|
|
13
|
+
onModalShow?: (name: string, props?: any) => void;
|
|
14
|
+
/** Called whenever a modal is hidden (forwarded to the ModalRouter). */
|
|
15
|
+
onModalHide?: (name?: string, props?: any) => void;
|
|
16
|
+
/**
|
|
17
|
+
* Extra props forwarded to app-studio's `ThemeProvider` (e.g. `theme`,
|
|
18
|
+
* `themeMode`). Kept permissive so AppRoot tracks ThemeProvider without
|
|
19
|
+
* re-declaring its surface.
|
|
20
|
+
*/
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface AttachmentGroupProps {
|
|
3
|
+
files: File[];
|
|
4
|
+
sandboxId?: string;
|
|
5
|
+
onRemove: (index: number) => void;
|
|
6
|
+
layout?: 'inline' | 'grid';
|
|
7
|
+
maxHeight?: string;
|
|
8
|
+
showPreviews?: boolean;
|
|
9
|
+
views?: {
|
|
10
|
+
container?: any;
|
|
11
|
+
item?: any;
|
|
12
|
+
name?: any;
|
|
13
|
+
size?: any;
|
|
14
|
+
removeButton?: any;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export declare const AttachmentGroup: React.FC<AttachmentGroupProps>;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ViewProps } from 'app-studio';
|
|
2
|
+
export interface AudioInputProps extends ViewProps {
|
|
3
|
+
onAudio: (file: File) => void;
|
|
4
|
+
}
|
|
5
|
+
export interface AudioInputViewProps extends AudioInputProps {
|
|
6
|
+
recording: boolean;
|
|
7
|
+
paused: boolean;
|
|
8
|
+
audioBlob: Blob | null;
|
|
9
|
+
analyserNode: AnalyserNode | null;
|
|
10
|
+
duration: number;
|
|
11
|
+
error: string | null;
|
|
12
|
+
startRecording: () => void;
|
|
13
|
+
stopRecording: () => void;
|
|
14
|
+
pauseRecording: () => void;
|
|
15
|
+
resumeRecording: () => void;
|
|
16
|
+
resetRecording: () => void;
|
|
17
|
+
handleFileChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AudioInputProps } from './AudioInput.props';
|
|
2
|
+
export declare function useAudioInputState(props: AudioInputProps): {
|
|
3
|
+
recording: boolean;
|
|
4
|
+
paused: boolean;
|
|
5
|
+
audioBlob: Blob | null;
|
|
6
|
+
analyserNode: AnalyserNode | null;
|
|
7
|
+
duration: number;
|
|
8
|
+
error: string | null;
|
|
9
|
+
startRecording: () => Promise<void>;
|
|
10
|
+
stopRecording: () => void;
|
|
11
|
+
pauseRecording: () => void;
|
|
12
|
+
resumeRecording: () => void;
|
|
13
|
+
resetRecording: () => void;
|
|
14
|
+
handleFileChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
15
|
+
};
|