@app-studio/components 0.11.13 → 0.12.0
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 +8 -1
- 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-Bjl40k3x.cjs +2 -0
- package/dist/chunks/Alert-Bjl40k3x.cjs.map +1 -0
- package/dist/chunks/Alert-Q1HlVX8f.mjs +179 -0
- package/dist/chunks/Alert-Q1HlVX8f.mjs.map +1 -0
- package/dist/chunks/AttachmentPreview-8d8gZ5kk.mjs +7777 -0
- package/dist/chunks/AttachmentPreview-8d8gZ5kk.mjs.map +1 -0
- package/dist/chunks/AttachmentPreview-Bwrz5TJh.cjs +2 -0
- package/dist/chunks/AttachmentPreview-Bwrz5TJh.cjs.map +1 -0
- package/dist/chunks/Avatar-BB0DeN9j.cjs +2 -0
- package/dist/chunks/Avatar-BB0DeN9j.cjs.map +1 -0
- package/dist/chunks/Avatar-D-GkyL2c.mjs +103 -0
- package/dist/chunks/Avatar-D-GkyL2c.mjs.map +1 -0
- package/dist/chunks/Button.core-Bc5cSn_z.mjs +717 -0
- package/dist/chunks/Button.core-Bc5cSn_z.mjs.map +1 -0
- package/dist/chunks/Button.core-BhtOm8ak.cjs +7 -0
- package/dist/chunks/Button.core-BhtOm8ak.cjs.map +1 -0
- package/dist/chunks/Button.pilot-C4BIb08S.mjs +6 -0
- package/dist/chunks/Button.pilot-C4BIb08S.mjs.map +1 -0
- package/dist/chunks/Button.pilot-JmR2DCSE.cjs +2 -0
- package/dist/chunks/Button.pilot-JmR2DCSE.cjs.map +1 -0
- package/dist/chunks/Card-CNSl9fD5.cjs +2 -0
- package/dist/chunks/Card-CNSl9fD5.cjs.map +1 -0
- package/dist/chunks/Card-DMhV_NTt.mjs +200 -0
- package/dist/chunks/Card-DMhV_NTt.mjs.map +1 -0
- package/dist/chunks/Checkbox-Bo7IRVRE.mjs +11 -0
- package/dist/chunks/Checkbox-Bo7IRVRE.mjs.map +1 -0
- package/dist/chunks/Checkbox-CAI6RtuO.cjs +2 -0
- package/dist/chunks/Checkbox-CAI6RtuO.cjs.map +1 -0
- package/dist/chunks/Checkbox.view-DGdNPlF9.cjs +2 -0
- package/dist/chunks/Checkbox.view-DGdNPlF9.cjs.map +1 -0
- package/dist/chunks/Checkbox.view-dhc-rfEX.mjs +308 -0
- package/dist/chunks/Checkbox.view-dhc-rfEX.mjs.map +1 -0
- package/dist/chunks/FieldWrapper-Bb0j8Iog.mjs +252 -0
- package/dist/chunks/FieldWrapper-Bb0j8Iog.mjs.map +1 -0
- package/dist/chunks/FieldWrapper-DRCn7BLi.cjs +2 -0
- package/dist/chunks/FieldWrapper-DRCn7BLi.cjs.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-D0nzjyau.cjs +22 -0
- package/dist/chunks/Formik.Uploader-D0nzjyau.cjs.map +1 -0
- package/dist/chunks/Formik.Uploader-DRIyxMI0.mjs +6962 -0
- package/dist/chunks/Formik.Uploader-DRIyxMI0.mjs.map +1 -0
- package/dist/chunks/Icon-C37alecH.cjs +2 -0
- package/dist/chunks/Icon-C37alecH.cjs.map +1 -0
- package/dist/chunks/Icon-DrAZswNH.mjs +148 -0
- package/dist/chunks/Icon-DrAZswNH.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-DkckCT8-.mjs +339 -0
- package/dist/chunks/Modal-DkckCT8-.mjs.map +1 -0
- package/dist/chunks/Modal-zok954As.cjs +2 -0
- package/dist/chunks/Modal-zok954As.cjs.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-C6R0Tei-.cjs +2 -0
- package/dist/chunks/Select-C6R0Tei-.cjs.map +1 -0
- package/dist/chunks/Select-C7IBNyjR.mjs +24 -0
- package/dist/chunks/Select-C7IBNyjR.mjs.map +1 -0
- package/dist/chunks/Select.view-CPMqT8pn.mjs +659 -0
- package/dist/chunks/Select.view-CPMqT8pn.mjs.map +1 -0
- package/dist/chunks/Select.view-Pq1yAcMm.cjs +2 -0
- package/dist/chunks/Select.view-Pq1yAcMm.cjs.map +1 -0
- package/dist/chunks/Switch-D80yPNFV.cjs +2 -0
- package/dist/chunks/Switch-D80yPNFV.cjs.map +1 -0
- package/dist/chunks/Switch-DWx1g3jT.mjs +11 -0
- package/dist/chunks/Switch-DWx1g3jT.mjs.map +1 -0
- package/dist/chunks/Switch.view-CQZO_Js7.cjs +2 -0
- package/dist/chunks/Switch.view-CQZO_Js7.cjs.map +1 -0
- package/dist/chunks/Switch.view-QLZ7O5Z7.mjs +315 -0
- package/dist/chunks/Switch.view-QLZ7O5Z7.mjs.map +1 -0
- package/dist/chunks/Tabs-D5chMrkE.mjs +403 -0
- package/dist/chunks/Tabs-D5chMrkE.mjs.map +1 -0
- package/dist/chunks/Tabs-DQeBJwkz.cjs +2 -0
- package/dist/chunks/Tabs-DQeBJwkz.cjs.map +1 -0
- package/dist/chunks/TextField-DOU2CL5J.mjs +266 -0
- package/dist/chunks/TextField-DOU2CL5J.mjs.map +1 -0
- package/dist/chunks/TextField-Da4JCcAU.cjs +2 -0
- package/dist/chunks/TextField-Da4JCcAU.cjs.map +1 -0
- package/dist/chunks/default-D7ePSMKP.cjs +2 -0
- package/dist/chunks/default-D7ePSMKP.cjs.map +1 -0
- package/dist/chunks/default-nRKhMTzF.mjs +610 -0
- package/dist/chunks/default-nRKhMTzF.mjs.map +1 -0
- package/dist/chunks/designSystem.page-B74Vm2Dt.cjs +11 -0
- package/dist/chunks/designSystem.page-B74Vm2Dt.cjs.map +1 -0
- package/dist/chunks/designSystem.page-K0ajTvy7.mjs +13119 -0
- package/dist/chunks/designSystem.page-K0ajTvy7.mjs.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 +1 -1
- package/dist/native/components/ActionSheet/ActionSheet/ActionSheet.view.native.js.map +1 -1
- package/dist/native/components/Alert/Alert/Alert.view.js +1 -1
- package/dist/native/components/Alert/Alert/Alert.view.js.map +1 -1
- package/dist/native/components/Alert/Alert/Alert.view.native.js +9 -2
- package/dist/native/components/Alert/Alert/Alert.view.native.js.map +1 -1
- package/dist/native/components/Alert/Alert.js +1 -1
- package/dist/native/components/Alert/Alert.js.map +1 -1
- package/dist/native/components/Avatar/Avatar.js +1 -1
- 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.map +1 -1
- package/dist/native/components/Button/Button/Button.view.d.ts +4 -1
- package/dist/native/components/Button/Button/Button.view.js +7 -5
- package/dist/native/components/Button/Button/Button.view.js.map +1 -1
- package/dist/native/components/Button/Button/Button.view.native.d.ts +4 -1
- package/dist/native/components/Button/Button/Button.view.native.js +14 -4
- 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.js +1 -1
- package/dist/native/components/Card/Card.js.map +1 -1
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.js +1 -1
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.js.map +1 -1
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.native.js +1 -1
- package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.native.js.map +1 -1
- package/dist/native/components/Form/Checkbox/Checkbox.js +1 -1
- package/dist/native/components/Form/Checkbox/Checkbox.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.view.js +1 -1
- package/dist/native/components/Form/Select/Select/Select.view.js.map +1 -1
- package/dist/native/components/Form/Select/Select/Select.view.native.js +2 -2
- package/dist/native/components/Form/Select/Select/Select.view.native.js.map +1 -1
- package/dist/native/components/Form/Select/Select.js +1 -1
- package/dist/native/components/Form/Select/Select.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.view.js +1 -1
- package/dist/native/components/Form/TextField/TextField/TextField.view.js.map +1 -1
- package/dist/native/components/Form/TextField/TextField/TextField.view.native.js +5 -9
- package/dist/native/components/Form/TextField/TextField/TextField.view.native.js.map +1 -1
- package/dist/native/components/Form/TextField/TextField.js +1 -1
- 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/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 +3 -0
- package/dist/native/components/Modal/Modal/Modal.view.js +45 -14
- package/dist/native/components/Modal/Modal/Modal.view.js.map +1 -1
- package/dist/native/components/Modal/Modal/Modal.view.native.js +2 -2
- 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/Tabs.view.js +1 -1
- package/dist/native/components/Tabs/Tabs/Tabs.view.js.map +1 -1
- package/dist/native/components/Tabs/Tabs/Tabs.view.native.js +1 -1
- package/dist/native/components/Tabs/Tabs/Tabs.view.native.js.map +1 -1
- package/dist/native/components/Tabs/Tabs.js +1 -1
- package/dist/native/components/Tabs/Tabs.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 +24 -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 +55 -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/theme.d.ts +28 -0
- package/dist/native/design-system/theme.js +54 -0
- package/dist/native/design-system/theme.js.map +1 -0
- package/dist/native/design-system/types.d.ts +8 -2
- 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 +89 -0
- package/dist/registry/avatar.json +78 -0
- package/dist/registry/button.json +145 -0
- package/dist/registry/card.json +78 -0
- package/dist/registry/checkbox.json +131 -0
- package/dist/registry/modal.json +111 -0
- package/dist/registry/registry.json +1207 -0
- package/dist/registry/select.json +246 -0
- package/dist/registry/settings-panel.json +51 -0
- package/dist/registry/sign-in.json +52 -0
- package/dist/registry/switch.json +113 -0
- package/dist/registry/tabs.json +83 -0
- package/dist/registry/text-field.json +206 -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 +116 -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 +6 -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 +7 -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 +6 -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 +30 -0
- package/dist/types/components/Form/Checkbox/Checkbox/Checkbox.state.d.ts +8 -0
- package/dist/types/components/Form/Checkbox/Checkbox/Checkbox.style.d.ts +79 -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 +96 -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 +66 -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 +69 -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 +70 -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/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 +90 -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 +22 -0
- package/dist/types/components/Tabs/Tabs/Tabs.props.d.ts +114 -0
- package/dist/types/components/Tabs/Tabs/Tabs.state.d.ts +22 -0
- package/dist/types/components/Tabs/Tabs/Tabs.type.d.ts +53 -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 +28 -0
- package/dist/types/design-system/types.d.ts +138 -0
- package/dist/types/design-system/utils.d.ts +5 -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 +6888 -0
- package/dist/web.esm.mjs.map +1 -0
- package/dist/web.umd.js +22 -22
- package/dist/web.umd.js.map +1 -1
- package/docs/guides/registry-guide.mdx +81 -0
- package/package.json +312 -18
- 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
|
@@ -1,503 +0,0 @@
|
|
|
1
|
-
# Badge
|
|
2
|
-
|
|
3
|
-
Renders a badge with various styles and states according to the design guidelines.
|
|
4
|
-
|
|
5
|
-
### **Import**
|
|
6
|
-
|
|
7
|
-
```tsx
|
|
8
|
-
import { Badge } from '@app-studio/web';
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
### **Default**
|
|
12
|
-
|
|
13
|
-
```tsx
|
|
14
|
-
import React from 'react';
|
|
15
|
-
import { Badge } from '../Badge';
|
|
16
|
-
|
|
17
|
-
export const DefaultDemo = () => <Badge content="default" />;
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
### **content**
|
|
21
|
-
|
|
22
|
-
Text or numeric content displayed in the main badge label.
|
|
23
|
-
|
|
24
|
-
- **Type:** `string | number`
|
|
25
|
-
|
|
26
|
-
```tsx
|
|
27
|
-
import React from 'react';
|
|
28
|
-
import { Badge } from '../Badge';
|
|
29
|
-
|
|
30
|
-
export const ContentDemo = () => <Badge content="content" />;
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
### **children**
|
|
34
|
-
|
|
35
|
-
Custom React content displayed in the main badge label. When provided, children take precedence over `content`.
|
|
36
|
-
|
|
37
|
-
- **Type:** `React.ReactNode`
|
|
38
|
-
|
|
39
|
-
```tsx
|
|
40
|
-
import React from 'react';
|
|
41
|
-
import { Badge } from '../Badge';
|
|
42
|
-
|
|
43
|
-
export const ChildrenDemo = () => <Badge>Custom Children</Badge>;
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
### **icon**
|
|
47
|
-
|
|
48
|
-
Optional leading icon rendered before the badge content.
|
|
49
|
-
|
|
50
|
-
- **Type:** `React.ReactNode`
|
|
51
|
-
|
|
52
|
-
```tsx
|
|
53
|
-
import React from 'react';
|
|
54
|
-
import { Badge } from '../Badge';
|
|
55
|
-
import { View, Horizontal } from 'app-studio';
|
|
56
|
-
import { CloseIcon } from 'src/components/Icon/Icon';
|
|
57
|
-
|
|
58
|
-
const Icon = () => (
|
|
59
|
-
<View
|
|
60
|
-
width="12px"
|
|
61
|
-
height="12px"
|
|
62
|
-
backgroundColor="currentColor"
|
|
63
|
-
borderRadius="50%"
|
|
64
|
-
/>
|
|
65
|
-
);
|
|
66
|
-
|
|
67
|
-
export const IconDemo = () => (
|
|
68
|
-
<Horizontal gap={10}>
|
|
69
|
-
<Badge icon={<CloseIcon />} content="With Icon" />
|
|
70
|
-
</Horizontal>
|
|
71
|
-
);
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
### **pastil**
|
|
75
|
-
|
|
76
|
-
Adds a small status dot before the badge content. Pass `true` for the default dot color, a status key such as `success`, `warning`, or `error`, or any custom color value.
|
|
77
|
-
|
|
78
|
-
- **Type:** `boolean | string`
|
|
79
|
-
|
|
80
|
-
```tsx
|
|
81
|
-
import React from 'react';
|
|
82
|
-
import { Badge } from '../Badge';
|
|
83
|
-
import { Horizontal } from 'app-studio';
|
|
84
|
-
|
|
85
|
-
export const PastilDemo = () => (
|
|
86
|
-
<Horizontal gap={10}>
|
|
87
|
-
<Badge pastil={true} content="Active" />
|
|
88
|
-
<Badge pastil="success" content="Success" />
|
|
89
|
-
<Badge pastil="warning" content="Warning" />
|
|
90
|
-
<Badge pastil="error" content="Error" />
|
|
91
|
-
</Horizontal>
|
|
92
|
-
);
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
### **pastilContent**
|
|
96
|
-
|
|
97
|
-
Adds a text pastil inside the badge, creating an announcement-style pill when combined with `content` and optional `action`.
|
|
98
|
-
|
|
99
|
-
- **Type:** `React.ReactNode`
|
|
100
|
-
|
|
101
|
-
```tsx
|
|
102
|
-
import React from 'react';
|
|
103
|
-
import { Badge } from '../Badge';
|
|
104
|
-
|
|
105
|
-
export const AnnouncementDemo = () => (
|
|
106
|
-
<Badge
|
|
107
|
-
pastilContent="New"
|
|
108
|
-
content="Agency Growth Platform"
|
|
109
|
-
action="Try now ›"
|
|
110
|
-
cursor="pointer"
|
|
111
|
-
/>
|
|
112
|
-
);
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
### **action**
|
|
116
|
-
|
|
117
|
-
Optional trailing action text for announcement-style badges.
|
|
118
|
-
|
|
119
|
-
- **Type:** `React.ReactNode`
|
|
120
|
-
|
|
121
|
-
```tsx
|
|
122
|
-
import React from 'react';
|
|
123
|
-
import { Badge } from '../Badge';
|
|
124
|
-
|
|
125
|
-
export const AnnouncementDemo = () => (
|
|
126
|
-
<Badge
|
|
127
|
-
pastilContent="New"
|
|
128
|
-
content="Agency Growth Platform"
|
|
129
|
-
action="Try now ›"
|
|
130
|
-
cursor="pointer"
|
|
131
|
-
/>
|
|
132
|
-
);
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
### **variant**
|
|
136
|
-
|
|
137
|
-
Determines the styling variants a UI component can have, which could include filled, outlined, or ghost styles among others.
|
|
138
|
-
|
|
139
|
-
- **Type:** `Variant`
|
|
140
|
-
- **Default:** `filled`
|
|
141
|
-
- **Possible Values:** `filled, outline, link, ghost`
|
|
142
|
-
|
|
143
|
-
```tsx
|
|
144
|
-
import React from 'react';
|
|
145
|
-
import { Vertical } from 'app-studio';
|
|
146
|
-
|
|
147
|
-
import { Badge } from '../Badge';
|
|
148
|
-
import { Variant } from '../Badge/Badge.type';
|
|
149
|
-
import { View } from 'app-studio';
|
|
150
|
-
export const VariantDemo = () => (
|
|
151
|
-
<Vertical gap={15}>
|
|
152
|
-
{['filled', 'outline', 'link', 'ghost'].map((variant, index) => (
|
|
153
|
-
<View position={'relative'} key={index}>
|
|
154
|
-
<Badge content={variant} variant={variant as Variant} />
|
|
155
|
-
</View>
|
|
156
|
-
))}
|
|
157
|
-
</Vertical>
|
|
158
|
-
);
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
### **position**
|
|
162
|
-
|
|
163
|
-
Lists possible positions for UI elements that can be placed in one of the corners of a container, like notification badges.
|
|
164
|
-
|
|
165
|
-
- **Type:** `Position`
|
|
166
|
-
- **Possible Values:** `top-right, top-left, bottom-right, bottom-left`
|
|
167
|
-
|
|
168
|
-
```tsx
|
|
169
|
-
import React from 'react';
|
|
170
|
-
import { Badge } from '../Badge';
|
|
171
|
-
import { View } from 'app-studio';
|
|
172
|
-
import { Horizontal } from 'app-studio';
|
|
173
|
-
import { Position } from '../Badge/Badge.type';
|
|
174
|
-
|
|
175
|
-
export const PositionDemo = () => (
|
|
176
|
-
<Horizontal gap={10}>
|
|
177
|
-
{['top-right', 'top-left', 'bottom-right', 'bottom-left'].map(
|
|
178
|
-
(position, index) => (
|
|
179
|
-
<View
|
|
180
|
-
key={index}
|
|
181
|
-
position="relative"
|
|
182
|
-
height="100px"
|
|
183
|
-
width="200px"
|
|
184
|
-
backgroundColor="color-warmGray-100"
|
|
185
|
-
>
|
|
186
|
-
<Badge position={position as Position} content={position} />
|
|
187
|
-
</View>
|
|
188
|
-
)
|
|
189
|
-
)}
|
|
190
|
-
</Horizontal>
|
|
191
|
-
);
|
|
192
|
-
```
|
|
193
|
-
|
|
194
|
-
### **size**
|
|
195
|
-
|
|
196
|
-
Specifies available sizes for UI elements, catering to a range of scalability from extra small to extra large.
|
|
197
|
-
|
|
198
|
-
- **Type:** `Size`
|
|
199
|
-
- **Default:** `md`
|
|
200
|
-
- **Possible Values:** `xs, sm, md, lg, xl`
|
|
201
|
-
|
|
202
|
-
```tsx
|
|
203
|
-
import React from 'react';
|
|
204
|
-
import { Vertical } from 'app-studio';
|
|
205
|
-
|
|
206
|
-
import { Badge } from '../Badge';
|
|
207
|
-
import { Size } from '../Badge/Badge.type';
|
|
208
|
-
import { View } from 'app-studio';
|
|
209
|
-
export const SizeDemo = () => (
|
|
210
|
-
<Vertical gap={10}>
|
|
211
|
-
{['xs', 'sm', 'md', 'lg', 'xl'].map((size, index) => (
|
|
212
|
-
<View position="relative" key={index}>
|
|
213
|
-
<Badge content={size} size={size as Size} />
|
|
214
|
-
</View>
|
|
215
|
-
))}
|
|
216
|
-
</Vertical>
|
|
217
|
-
);
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
### **shape**
|
|
221
|
-
|
|
222
|
-
Defines possible values for the shape of a UI component such as buttons or badges.
|
|
223
|
-
|
|
224
|
-
- **Type:** `Shape`
|
|
225
|
-
- **Default:** `pill`
|
|
226
|
-
- **Possible Values:** `square, rounded, pill`
|
|
227
|
-
|
|
228
|
-
```tsx
|
|
229
|
-
import React from 'react';
|
|
230
|
-
import { Horizontal } from 'app-studio';
|
|
231
|
-
import { Badge } from '../Badge';
|
|
232
|
-
import { Shape } from '../Badge/Badge.type';
|
|
233
|
-
import { View } from 'app-studio';
|
|
234
|
-
export const ShapeDemo = () => (
|
|
235
|
-
<Horizontal gap={15}>
|
|
236
|
-
{['square', 'rounded', 'pill'].map((shape, index) => (
|
|
237
|
-
<View position="relative" key={index}>
|
|
238
|
-
<Badge content={shape} shape={shape as Shape} />
|
|
239
|
-
</View>
|
|
240
|
-
))}
|
|
241
|
-
</Horizontal>
|
|
242
|
-
);
|
|
243
|
-
```
|
|
244
|
-
|
|
245
|
-
### **ColorScheme**
|
|
246
|
-
|
|
247
|
-
```tsx
|
|
248
|
-
import React from 'react';
|
|
249
|
-
import { Badge } from '../Badge';
|
|
250
|
-
import { Horizontal } from 'app-studio';
|
|
251
|
-
|
|
252
|
-
export const ColorSchemeDemo = () => (
|
|
253
|
-
<Horizontal gap={10}>
|
|
254
|
-
{[
|
|
255
|
-
'theme-primary',
|
|
256
|
-
'theme-secondary',
|
|
257
|
-
'theme-warning',
|
|
258
|
-
'theme-success',
|
|
259
|
-
'theme-error',
|
|
260
|
-
].map((color, index) => (
|
|
261
|
-
<Badge key={index} isAuto content={color} />
|
|
262
|
-
))}
|
|
263
|
-
</Horizontal>
|
|
264
|
-
);
|
|
265
|
-
```
|
|
266
|
-
|
|
267
|
-
### **DarkMode**
|
|
268
|
-
|
|
269
|
-
```tsx
|
|
270
|
-
import React from 'react';
|
|
271
|
-
import { Badge } from '../Badge';
|
|
272
|
-
import { Vertical, Horizontal } from 'app-studio';
|
|
273
|
-
import { Text } from 'app-studio';
|
|
274
|
-
import { Variant } from '../Badge/Badge.type';
|
|
275
|
-
|
|
276
|
-
export const DarkModeDemo = () => {
|
|
277
|
-
const variants: Variant[] = ['filled', 'outline', 'link', 'ghost'];
|
|
278
|
-
|
|
279
|
-
return (
|
|
280
|
-
<Vertical gap={24}>
|
|
281
|
-
<Text fontSize={20} fontWeight="bold">
|
|
282
|
-
Light Mode Badges
|
|
283
|
-
</Text>
|
|
284
|
-
<Horizontal gap={16} alignItems="center">
|
|
285
|
-
{variants.map((variant) => (
|
|
286
|
-
<Badge
|
|
287
|
-
key={variant}
|
|
288
|
-
content={variant}
|
|
289
|
-
variant={variant}
|
|
290
|
-
themeMode="light"
|
|
291
|
-
/>
|
|
292
|
-
))}
|
|
293
|
-
</Horizontal>
|
|
294
|
-
|
|
295
|
-
<Text fontSize={20} fontWeight="bold" marginTop={40}>
|
|
296
|
-
Dark Mode Badges
|
|
297
|
-
</Text>
|
|
298
|
-
<Horizontal gap={16} alignItems="center">
|
|
299
|
-
{variants.map((variant) => (
|
|
300
|
-
<Badge
|
|
301
|
-
key={variant}
|
|
302
|
-
content={variant}
|
|
303
|
-
variant={variant}
|
|
304
|
-
themeMode="dark"
|
|
305
|
-
/>
|
|
306
|
-
))}
|
|
307
|
-
</Horizontal>
|
|
308
|
-
</Vertical>
|
|
309
|
-
);
|
|
310
|
-
};
|
|
311
|
-
```
|
|
312
|
-
|
|
313
|
-
### **DesignSystem**
|
|
314
|
-
|
|
315
|
-
```tsx
|
|
316
|
-
/**
|
|
317
|
-
* Badge Examples - Design System
|
|
318
|
-
*
|
|
319
|
-
* Showcases the Badge component following the design guidelines:
|
|
320
|
-
* - Typography: Inter/Geist font, specific sizes/weights
|
|
321
|
-
* - Spacing: 4px grid system
|
|
322
|
-
* - Colors: Neutral palette with semantic colors
|
|
323
|
-
* - Rounded corners: Consistent border radius
|
|
324
|
-
* - Transitions: Subtle animations
|
|
325
|
-
*/
|
|
326
|
-
|
|
327
|
-
import React from 'react';
|
|
328
|
-
import { Badge } from '../Badge';
|
|
329
|
-
import { Vertical } from 'app-studio';
|
|
330
|
-
import { Horizontal } from 'app-studio';
|
|
331
|
-
import { Text } from 'app-studio';
|
|
332
|
-
import { View } from 'app-studio';
|
|
333
|
-
|
|
334
|
-
export const DesignSystemBadges = () => (
|
|
335
|
-
<Vertical gap={24}>
|
|
336
|
-
{/* Size Variants */}
|
|
337
|
-
<View>
|
|
338
|
-
<Text marginBottom={8} fontWeight="600">
|
|
339
|
-
Size Variants
|
|
340
|
-
</Text>
|
|
341
|
-
<Horizontal gap={16} alignItems="center" flexWrap="wrap">
|
|
342
|
-
{['xs', 'sm', 'md', 'lg', 'xl'].map((size) => (
|
|
343
|
-
<Badge key={size} content={size} size={size as any} />
|
|
344
|
-
))}
|
|
345
|
-
</Horizontal>
|
|
346
|
-
</View>
|
|
347
|
-
|
|
348
|
-
{/* Style Variants */}
|
|
349
|
-
<View>
|
|
350
|
-
<Text marginBottom={8} fontWeight="600">
|
|
351
|
-
Style Variants
|
|
352
|
-
</Text>
|
|
353
|
-
<Horizontal gap={16} alignItems="center" flexWrap="wrap">
|
|
354
|
-
{['filled', 'outline', 'ghost', 'link'].map((variant) => (
|
|
355
|
-
<Badge key={variant} content={variant} variant={variant as any} />
|
|
356
|
-
))}
|
|
357
|
-
</Horizontal>
|
|
358
|
-
</View>
|
|
359
|
-
|
|
360
|
-
{/* Shape Variants */}
|
|
361
|
-
<View>
|
|
362
|
-
<Text marginBottom={8} fontWeight="600">
|
|
363
|
-
Shape Variants
|
|
364
|
-
</Text>
|
|
365
|
-
<Horizontal gap={16} alignItems="center" flexWrap="wrap">
|
|
366
|
-
{['square', 'rounded', 'pill'].map((shape) => (
|
|
367
|
-
<Badge key={shape} content={shape} shape={shape as any} />
|
|
368
|
-
))}
|
|
369
|
-
</Horizontal>
|
|
370
|
-
</View>
|
|
371
|
-
|
|
372
|
-
{/* Position Examples */}
|
|
373
|
-
<View>
|
|
374
|
-
<Text marginBottom={8} fontWeight="600">
|
|
375
|
-
Position Examples
|
|
376
|
-
</Text>
|
|
377
|
-
<Horizontal gap={24} alignItems="flex-start" flexWrap="wrap">
|
|
378
|
-
{['top-right', 'top-left', 'bottom-right', 'bottom-left'].map(
|
|
379
|
-
(position) => (
|
|
380
|
-
<View
|
|
381
|
-
key={position}
|
|
382
|
-
width="100px"
|
|
383
|
-
height="100px"
|
|
384
|
-
backgroundColor="color-gray-100"
|
|
385
|
-
position="relative"
|
|
386
|
-
borderRadius="8px"
|
|
387
|
-
>
|
|
388
|
-
<Badge
|
|
389
|
-
content={position.split('-')[1]}
|
|
390
|
-
position={position as any}
|
|
391
|
-
size="sm"
|
|
392
|
-
/>
|
|
393
|
-
<Text
|
|
394
|
-
position="absolute"
|
|
395
|
-
top="50%"
|
|
396
|
-
left="50%"
|
|
397
|
-
transform="translate(-50%, -50%)"
|
|
398
|
-
color="color-gray-500"
|
|
399
|
-
>
|
|
400
|
-
{position}
|
|
401
|
-
</Text>
|
|
402
|
-
</View>
|
|
403
|
-
)
|
|
404
|
-
)}
|
|
405
|
-
</Horizontal>
|
|
406
|
-
</View>
|
|
407
|
-
|
|
408
|
-
{/* Custom Styling */}
|
|
409
|
-
<View>
|
|
410
|
-
<Text marginBottom={8} fontWeight="600">
|
|
411
|
-
Custom Styling
|
|
412
|
-
</Text>
|
|
413
|
-
<Horizontal gap={16} alignItems="center" flexWrap="wrap">
|
|
414
|
-
<Badge content="New" backgroundColor="color-blue-500" color="white" />
|
|
415
|
-
<Badge
|
|
416
|
-
content="Sale"
|
|
417
|
-
backgroundColor="color-green-500"
|
|
418
|
-
color="white"
|
|
419
|
-
borderRadius="16px"
|
|
420
|
-
/>
|
|
421
|
-
<Badge
|
|
422
|
-
content="Hot"
|
|
423
|
-
backgroundColor="color-red-500"
|
|
424
|
-
color="white"
|
|
425
|
-
fontWeight="bold"
|
|
426
|
-
/>
|
|
427
|
-
<Badge
|
|
428
|
-
content="Premium"
|
|
429
|
-
views={{
|
|
430
|
-
container: {
|
|
431
|
-
background: 'linear-gradient(90deg, #4F46E5 0%, #9333EA 100%)',
|
|
432
|
-
color: 'color-white',
|
|
433
|
-
boxShadow: '0 2px 8px rgba(99, 102, 241, 0.3)',
|
|
434
|
-
},
|
|
435
|
-
text: {
|
|
436
|
-
fontWeight: 'bold',
|
|
437
|
-
letterSpacing: '0.05em',
|
|
438
|
-
},
|
|
439
|
-
}}
|
|
440
|
-
/>
|
|
441
|
-
</Horizontal>
|
|
442
|
-
</View>
|
|
443
|
-
</Vertical>
|
|
444
|
-
);
|
|
445
|
-
```
|
|
446
|
-
|
|
447
|
-
### **Announcement**
|
|
448
|
-
|
|
449
|
-
```tsx
|
|
450
|
-
import React from 'react';
|
|
451
|
-
import { Badge } from '../Badge';
|
|
452
|
-
|
|
453
|
-
export const AnnouncementDemo = () => (
|
|
454
|
-
<Badge
|
|
455
|
-
pastilContent="New"
|
|
456
|
-
content="Agency Growth Platform"
|
|
457
|
-
action="Try now ›"
|
|
458
|
-
cursor="pointer"
|
|
459
|
-
/>
|
|
460
|
-
);
|
|
461
|
-
```
|
|
462
|
-
|
|
463
|
-
### **Index**
|
|
464
|
-
|
|
465
|
-
```tsx
|
|
466
|
-
export * from './announcement';
|
|
467
|
-
export * from './children';
|
|
468
|
-
export * from './icon';
|
|
469
|
-
export * from './pastil';
|
|
470
|
-
export * from './colorScheme';
|
|
471
|
-
export * from './content';
|
|
472
|
-
export * from './darkMode';
|
|
473
|
-
export * from './default';
|
|
474
|
-
export * from './designSystem'; // New design system example
|
|
475
|
-
export * from './position';
|
|
476
|
-
export * from './shape';
|
|
477
|
-
export * from './size';
|
|
478
|
-
export * from './styles';
|
|
479
|
-
export * from './variant';
|
|
480
|
-
```
|
|
481
|
-
|
|
482
|
-
### **Styles**
|
|
483
|
-
|
|
484
|
-
```tsx
|
|
485
|
-
import React from 'react';
|
|
486
|
-
import { Badge } from '../Badge';
|
|
487
|
-
|
|
488
|
-
export const StylesDemo = () => {
|
|
489
|
-
return (
|
|
490
|
-
<Badge
|
|
491
|
-
content="styles"
|
|
492
|
-
views={{
|
|
493
|
-
container: {
|
|
494
|
-
backgroundColor: 'transparent',
|
|
495
|
-
},
|
|
496
|
-
text: {
|
|
497
|
-
color: 'purple',
|
|
498
|
-
},
|
|
499
|
-
}}
|
|
500
|
-
/>
|
|
501
|
-
);
|
|
502
|
-
};
|
|
503
|
-
```
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
# Glisser-déposer des blocs
|
|
2
|
-
|
|
3
|
-
`BlockEditor` réserve la place du bloc déplacé pendant le glisser-déposer sur le web. Les autres blocs se décalent dès que la position cible change, avant le relâchement de la souris.
|
|
4
|
-
|
|
5
|
-
## Utilisation
|
|
6
|
-
|
|
7
|
-
```tsx
|
|
8
|
-
import React, { useState } from 'react';
|
|
9
|
-
import { BlockEditor } from '@app-studio/components';
|
|
10
|
-
|
|
11
|
-
export function Document() {
|
|
12
|
-
const [markdown, setMarkdown] = useState(
|
|
13
|
-
'# Projet\n\nUn paragraphe à déplacer.\n\n## Étapes\n\n- Préparer\n- Livrer\n\n```ts\nconst ready = true;\n```'
|
|
14
|
-
);
|
|
15
|
-
|
|
16
|
-
return (
|
|
17
|
-
<BlockEditor
|
|
18
|
-
label="Document du projet"
|
|
19
|
-
value={markdown}
|
|
20
|
-
onChange={setMarkdown}
|
|
21
|
-
/>
|
|
22
|
-
);
|
|
23
|
-
}
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
Aucune propriété supplémentaire ni dépendance n'est nécessaire pour activer ce comportement.
|
|
27
|
-
|
|
28
|
-
## Déplacement
|
|
29
|
-
|
|
30
|
-
1. Saisir la poignée `⠿` du bloc. La saisie et la sélection du texte restent disponibles dans le contenu du bloc.
|
|
31
|
-
2. Déplacer la souris vers la position souhaitée. Un aperçu du bloc entier accompagne le curseur.
|
|
32
|
-
3. Les blocs voisins se décalent avec une transition de 180 ms. Un espace teinté et délimité réserve la hauteur réelle du bloc déplacé, y compris pour un tableau ou un bloc de code.
|
|
33
|
-
4. Tant que le curseur reste dans cet espace, la position cible reste stable. Passer au-delà du milieu d'un bloc voisin fait avancer ou reculer l'espace réservé.
|
|
34
|
-
5. Relâcher la souris dans l'éditeur pour appliquer le nouvel ordre. Le focus revient dans le bloc déplacé.
|
|
35
|
-
|
|
36
|
-
Le bloc en déplacement et l'espace réservé n'ajoutent aucun contenu au Markdown. Le document garde sa hauteur pendant l'aperçu.
|
|
37
|
-
|
|
38
|
-
## Valeur contrôlée et historique
|
|
39
|
-
|
|
40
|
-
Le glisser-déposer ne modifie pas `value` et n'appelle pas `onChange` pendant le survol. Une dépose qui change l'ordre produit un seul appel `onChange(markdown)` et une seule étape dans l'historique. Annuler/rétablir utilise les mêmes boutons et raccourcis que la saisie.
|
|
41
|
-
|
|
42
|
-
Déposer à la position initiale n'émet aucun changement. Échap, une fin de geste sans dépose dans l'éditeur, un redimensionnement de la fenêtre, une nouvelle valeur externe ou le passage en lecture seule/désactivée annulent l'aperçu sans modifier le document. Chaque éditeur conserve son propre déplacement ; un bloc ne peut pas être déposé dans un autre éditeur.
|
|
43
|
-
|
|
44
|
-
## Accessibilité et plateformes
|
|
45
|
-
|
|
46
|
-
La préférence système de réduction des animations supprime les transitions ; les blocs se repositionnent immédiatement et l'espace réservé reste visible.
|
|
47
|
-
|
|
48
|
-
Le menu de la poignée propose aussi **Move up** et **Move down**, accessibles au clavier. Les libellés se personnalisent avec `labels`. Sur React Native, les déplacements utilisent les boutons haut/bas ; l'aperçu avec espace réservé concerne la surface web.
|
|
49
|
-
|
|
50
|
-
## Vérification
|
|
51
|
-
|
|
52
|
-
Les tests ciblés couvrent le décalage avant la dépose, les déplacements vers le haut et le bas, les blocs de hauteurs différentes, la stabilité du curseur dans l'espace réservé, l'annulation, l'historique, les valeurs contrôlées, l'isolation entre éditeurs et la réduction des animations.
|
|
53
|
-
|
|
54
|
-
```sh
|
|
55
|
-
npm run test:unwatch -- src/__tests__/blockEditor-drag.test.tsx
|
|
56
|
-
npm run build:package
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
La démo est disponible dans le catalogue, à la page `/blockeditor`. Le rendu du mouvement doit aussi être vérifié dans les navigateurs ciblés ; les tests DOM ne reproduisent pas le rendu d'un navigateur réel.
|
|
60
|
-
|
|
61
|
-
Le dernier contrôle du geste réel a été interrompu par le verrouillage du Mac. La validation de ce comportement dans Chrome, Firefox et Safari reste donc à terminer.
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
# BlockEditor
|
|
2
|
-
|
|
3
|
-
A Markdown block editor built from App Studio primitives, without an external editor engine.
|
|
4
|
-
|
|
5
|
-
```tsx
|
|
6
|
-
import React, { useState } from 'react';
|
|
7
|
-
import { BlockEditor } from '@app-studio/components';
|
|
8
|
-
|
|
9
|
-
export const DocumentEditor = () => {
|
|
10
|
-
const [markdown, setMarkdown] = useState(
|
|
11
|
-
'# My document\n\nStart writing here.'
|
|
12
|
-
);
|
|
13
|
-
return (
|
|
14
|
-
<BlockEditor label="My document" value={markdown} onChange={setMarkdown} />
|
|
15
|
-
);
|
|
16
|
-
};
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
Use `defaultValue` for an uncontrolled editor. `onChange` receives the Markdown string. Loading a different controlled `value` clears undo history and invalidates pending AI proposals; echoing the emitted value keeps the cursor and history.
|
|
20
|
-
|
|
21
|
-
To display this value without editing controls and with activatable links, use `<Markdown value={markdown} />`. See [Markdown](./Markdown.mdx) for the shared syntax, native navigation and source fallback.
|
|
22
|
-
|
|
23
|
-
## Blocks and editing
|
|
24
|
-
|
|
25
|
-
The block menu supports paragraphs, headings 1–3, bulleted and numbered lists, quotes, fenced code, and pipe tables. Type `/` in an empty block to open it. The block handle offers insertion, transformation, duplication, deletion and movement. Web dragging starts only from the handle, with a full-block preview. Neighboring blocks shift during dragging and a reserved gap matches the dragged block height. The preview leaves Markdown unchanged until drop, which creates one undoable transaction. Motion is disabled when reduced motion is preferred. Native provides move-up and move-down buttons.
|
|
26
|
-
|
|
27
|
-
Select text to apply bold, italic, underline, strikethrough, inline code or a link. Underline is serialized as the inert Markdown extension `<u>…</u>`. Code blocks use a monospace input and never execute code. Only http, https, mailto, tel and relative links are accepted by the link action.
|
|
28
|
-
|
|
29
|
-
The source is unchanged until an edit occurs, and editing a block leaves other blocks' source intact. Unsupported constructs, including images, MDX components, frontmatter, HTML, reference links, footnotes, task lists and nested block constructs, open in source mode. This is a bounded Markdown editor, not a full CommonMark or MDX implementation.
|
|
30
|
-
|
|
31
|
-
Select text to open the floating formatting toolbar. Its opaque surface, border and shadow separate it from the document; its position is clamped to the viewport using its actual size. It stays open while you use its controls or search for an emoji, preserving the selected text. The emoji trigger is a centered icon. Block handles are larger and remain visible. Blocks themselves have no blue focus border.
|
|
32
|
-
|
|
33
|
-
## Clipboard, selection and keyboard on web
|
|
34
|
-
|
|
35
|
-
| Shortcut | Behavior |
|
|
36
|
-
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
37
|
-
| Ctrl/Cmd+A | Select the whole document from a visual text block, including code and tables. In the source textarea, use the platform's field selection. |
|
|
38
|
-
| ← / → | Move by visible character, including composed emojis, and cross block boundaries. |
|
|
39
|
-
| ↑ / ↓ | Move by visual line, retaining the horizontal position through shorter blocks. |
|
|
40
|
-
| Shift+arrows | Extend or shrink the selection across blocks; reversing direction keeps its original anchor. |
|
|
41
|
-
| Enter | Split a prose block; continue list items; insert a newline in code or a line break in a table cell. |
|
|
42
|
-
| Shift+Enter | Insert a line break inside the current prose block. |
|
|
43
|
-
| Backspace at block start | Merge with the previous block and keep the cursor at the join; tables remain separate. |
|
|
44
|
-
| Ctrl/Cmd+C | Copy the selection as Markdown, preserving block syntax when the whole document is selected. |
|
|
45
|
-
| Ctrl/Cmd+X | Cut the selection in one undoable transaction. Empty inline formatting markers are removed with their selected text. |
|
|
46
|
-
| Ctrl/Cmd+V | Paste plain-text Markdown over the selection. HTML is never imported or executed. |
|
|
47
|
-
| Ctrl/Cmd+Z | Undo typing or a command, with cursor/selection restoration. |
|
|
48
|
-
| Ctrl/Cmd+Shift+Z or Ctrl+Y | Redo. |
|
|
49
|
-
| Ctrl/Cmd+B, I, U | Bold, italic or underline. Multi-block formatting preserves headings, list markers, code fences and table separators. |
|
|
50
|
-
| Ctrl/Cmd+K | Open the anchored link popover with focus in the address field. |
|
|
51
|
-
| Ctrl/Cmd+S | Call the optional `onSave` callback. |
|
|
52
|
-
| Ctrl/Cmd+Shift+A | Open selection AI when `generate` is provided. |
|
|
53
|
-
| Escape | Close the current panel or selection toolbar. |
|
|
54
|
-
|
|
55
|
-
Enter splits a prose block at the cursor or replaces its selection with a block boundary. Headings continue as a paragraph; quotes keep their style when split in the middle. Inline formatting and links remain balanced on both sides. Empty blocks at the start or end remain editable. Each split and merge is one undoable command, restoring the cursor.
|
|
56
|
-
|
|
57
|
-
Backspace at the first visible position joins a block to the previous one and places the cursor at the join. The previous block keeps its style. Code merged into prose stays inline code, and prose merged into code becomes literal text. Tables retain their cell boundaries and do not merge into neighboring blocks.
|
|
58
|
-
|
|
59
|
-
Enter continues bullet/numbered list items; an empty nested item outdents, and an empty top-level item exits the list. Backspace at the start of a following list item joins it to the previous item and updates later numbering. Shift+Enter inserts a line break inside a prose block. Enter in code inserts a literal newline; inside a table cell it inserts a line break. Source mode retains native textarea behavior.
|
|
60
|
-
|
|
61
|
-
The link popover uses the selection position instead of the bottom of the document. Its opaque surface, border and shadow match the floating toolbar. The target selection stays frozen while the address has focus, including when its text is selected. Enter or Apply inserts the link; Escape or Close restores the original selection; clicking outside dismisses it without stealing focus. Invalid URLs stay visible in the popover, and external document replacements close it. The panel follows scrolling/resizing and stays within the viewport.
|
|
62
|
-
|
|
63
|
-
Use Ctrl on Windows/Linux and Cmd on macOS. Copy, cut and paste use the browser's clipboard events, so context-menu actions work too. Typing, deletion, paste or IME input can replace a multi-block selection without modifying another editor on the page. An HTML-only clipboard does not erase the selected text.
|
|
64
|
-
|
|
65
|
-
On web, code uses the same contentEditable selection surface as other visual blocks, with literal monospace text and preserved Markdown fences. Selections can pass through code, lists and table cells. The floating toolbar remains available for a text selection. Source fields retain native arrow selection; Alt/Ctrl/Cmd navigation is delegated to the platform. Cross-block arrows use `Intl.Segmenter` to preserve composed characters; engines without it retain native arrow handling.
|
|
66
|
-
|
|
67
|
-
Source and code fields share the editor's undo history, including the direction of restored selections. Link fields, AI prompts, emoji search and command search retain their own native text-editing shortcuts. Undo history holds the last 100 transactions; consecutive typing is grouped over 750 ms, and moving the cursor starts a new group.
|
|
68
|
-
|
|
69
|
-
## Optional AI
|
|
70
|
-
|
|
71
|
-
```tsx
|
|
72
|
-
import React from 'react';
|
|
73
|
-
import { BlockEditor } from '@app-studio/components';
|
|
74
|
-
|
|
75
|
-
export const SimulatedAIEditor = () => (
|
|
76
|
-
<BlockEditor
|
|
77
|
-
label="AI demo"
|
|
78
|
-
defaultValue="Select a sentence to change."
|
|
79
|
-
generate={async (prompt, fragment, scope) =>
|
|
80
|
-
`${fragment}\n\nSuggestion: ${prompt}`
|
|
81
|
-
}
|
|
82
|
-
/>
|
|
83
|
-
);
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
The example is simulated and sends no network request. Your application supplies `generate(prompt, fragment, scope)`, returning `Promise<string>`; scope is `selection` or `section` (the whole editor). The library previews the result and requires Apply before changing the document. Errors, cancellation, empty responses and stale proposals preserve the current text. Without `generate`, AI actions are hidden.
|
|
87
|
-
|
|
88
|
-
## React Native
|
|
89
|
-
|
|
90
|
-
The same component and Markdown contract work on React Native. Inactive blocks render visually; the active block uses a native multiline input showing its Markdown markers. Menus and AI proposals open in an ActionSheet. Selection formatting operates inside the active input. Enter in prose uses the shared split command; Backspace at the start of the active Markdown input merges with the preceding block. Code and table inputs retain their source editing behavior. No DOM, browser editor or WebView is required.
|
|
91
|
-
|
|
92
|
-
## Other props
|
|
93
|
-
|
|
94
|
-
`isReadOnly` renders a non-editable document. `isDisabled` disables every mutation, including toolbar commands and AI application. `label` names the document for accessibility. `onSave` is an optional application callback; `status` displays application-owned save status. The editor performs no persistence or automatic network requests.
|
|
95
|
-
|
|
96
|
-
Override strings with `labels` and styles with `views.container`, `toolbar`, `block`, `content`, `source`, `notice` and `panel`. On web, `content` styles the editable block; on native it styles the active field and inactive block container.
|
|
97
|
-
|
|
98
|
-
## Validation
|
|
99
|
-
|
|
100
|
-
The targeted suite covers the shared Markdown engine, web DOM adapter, clipboard/keyboard commands, multi-block selection and direction reversal, visual-line navigation, grapheme movement, code/table boundaries, formatting, native adapter, Markdown rendering, EmojiPicker and Formik integration. Native adapter and IME tests use host mocks; they do not validate a device keyboard. Web and native TypeScript checks and package builds pass.
|
|
101
|
-
|
|
102
|
-
The updated Cmd+A/C/X/V/Z/Shift+Z flow, formatting across blocks, floating toolbar surface and emoji insertion were verified in the Codex in-app browser. Arrow/Shift+arrow selection was also checked across blocks and code, including backward selection, reversal and wrapped visual lines. Literal multiline code entry and undo restored the original document. Enter/Backspace split and merge, their undo flow, list-item joins, Shift+Enter caret placement, link popover placement, address entry and Enter-to-apply were also verified in the in-app browser. The emoji icon's horizontal and vertical center match the button's center. These updates still need verification in Chrome, Firefox, Safari and on iOS/Android, including real IME and hardware keyboards.
|
|
103
|
-
|
|
104
|
-
Chrome interactions were checked for typing, accents, formatting, history, block dragging, keyboard commands, AI preview/application and quick reactions. Firefox, Safari, iOS and Android were not verified in real browsers or devices. Real IME and native cursor/keyboard behavior still need platform validation.
|
|
105
|
-
|
|
106
|
-
The live-gap behavior has DOM regression tests, including variable block heights and drag-image capture timing. Its latest real drag validation was interrupted when the host Mac locked; Chrome, Firefox and Safari gesture validation remains pending for this behavior.
|