@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
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ViewProps } from 'app-studio';
|
|
2
|
+
import { Shape, Size, Variant } from './Badge.type';
|
|
3
|
+
/**
|
|
4
|
+
* Badge sizes following the 4px grid system
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* A badge is a secondary label, so its type ramp sits one step below the
|
|
8
|
+
* control ramp: `md` is 12px in a 24px pill, against 14px body text and a 40px
|
|
9
|
+
* `md` control.
|
|
10
|
+
*
|
|
11
|
+
* It used to share the control ramp exactly — `md` was 14px in a 28px pill —
|
|
12
|
+
* which made a status badge read as loudly as the row it annotated: in a user
|
|
13
|
+
* table, "SYSTEM_ADMIN" competed with the person's name rather than supporting
|
|
14
|
+
* it.
|
|
15
|
+
*
|
|
16
|
+
* `lg`/`xl` still reach the old `md`/`lg` sizes for the cases that genuinely
|
|
17
|
+
* need a prominent badge.
|
|
18
|
+
*/
|
|
19
|
+
export declare const BadgeSizes: Record<Size, ViewProps>;
|
|
20
|
+
export declare const BadgeAnnouncementSizes: Record<Size, ViewProps>;
|
|
21
|
+
export declare const BadgePastilContentSizes: Record<Size, ViewProps>;
|
|
22
|
+
export declare const BadgeAnnouncementTextSizes: Record<Size, ViewProps>;
|
|
23
|
+
/**
|
|
24
|
+
* Badge shapes with consistent border radius
|
|
25
|
+
*/
|
|
26
|
+
export declare const BadgeShapes: Record<Shape, number | string>;
|
|
27
|
+
/**
|
|
28
|
+
* Badge positions for absolute positioning
|
|
29
|
+
*/
|
|
30
|
+
export declare const PositionStyles: {
|
|
31
|
+
[key: string]: React.CSSProperties;
|
|
32
|
+
};
|
|
33
|
+
export declare const getBadgeAnnouncementVariant: (themeMode: string) => ViewProps;
|
|
34
|
+
/**
|
|
35
|
+
* Get badge variants with consistent styling based on theme mode
|
|
36
|
+
*/
|
|
37
|
+
export declare const getBadgeVariants: (themeMode: string) => Record<Variant, ViewProps>;
|
|
38
|
+
/**
|
|
39
|
+
* Default badge variants for backward compatibility
|
|
40
|
+
*/
|
|
41
|
+
export declare const BadgeVariants: Record<Variant, ViewProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ViewProps } from 'app-studio';
|
|
2
|
+
export type Shape = 'square' | 'rounded' | 'pill';
|
|
3
|
+
export type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
export type Variant = 'filled' | 'outline' | 'link' | 'ghost';
|
|
5
|
+
export type Position = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
|
6
|
+
export type BadgeStyles = {
|
|
7
|
+
container?: ViewProps;
|
|
8
|
+
text?: ViewProps;
|
|
9
|
+
icon?: ViewProps;
|
|
10
|
+
pastil?: ViewProps;
|
|
11
|
+
pastilContent?: ViewProps;
|
|
12
|
+
action?: ViewProps;
|
|
13
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { DisplayBlock, Inline } from './BlockEditor.model';
|
|
3
|
+
import { MarkdownProps } from '../../Markdown/Markdown/Markdown.props';
|
|
4
|
+
type DisplayProps = Pick<MarkdownProps, 'renderLink' | 'allowImages' | 'allowVideos' | 'renderVideo'>;
|
|
5
|
+
export declare function InlineContent({ nodes, native, codeFontFamily, isDisplay, onLinkPress, renderLink, allowImages, }: {
|
|
6
|
+
nodes: Inline[];
|
|
7
|
+
native?: boolean;
|
|
8
|
+
codeFontFamily?: string;
|
|
9
|
+
isDisplay?: boolean;
|
|
10
|
+
onLinkPress?: (url: string) => void;
|
|
11
|
+
} & DisplayProps): React.ReactElement;
|
|
12
|
+
export declare function BlockContent({ block, native, codeFontFamily, isDisplay, onLinkPress, renderLink, allowImages, allowVideos, renderVideo, }: {
|
|
13
|
+
block: DisplayBlock;
|
|
14
|
+
native?: boolean;
|
|
15
|
+
codeFontFamily?: string;
|
|
16
|
+
isDisplay?: boolean;
|
|
17
|
+
onLinkPress?: (url: string) => void;
|
|
18
|
+
} & DisplayProps): React.JSX.Element;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { BlockEditorProps } from './BlockEditor.props';
|
|
3
|
+
import { BlockEditorState } from './BlockEditor.state';
|
|
4
|
+
export declare function BlockEditorControls({ state: s, props, preserve, formatting, }: {
|
|
5
|
+
state: BlockEditorState;
|
|
6
|
+
props: BlockEditorProps;
|
|
7
|
+
preserve?: React.PointerEventHandler;
|
|
8
|
+
formatting?: boolean;
|
|
9
|
+
}): React.JSX.Element;
|
|
10
|
+
export declare function BlockEditorPanels({ state: s, views, floating, uploadEnabled, }: {
|
|
11
|
+
state: BlockEditorState;
|
|
12
|
+
views?: BlockEditorProps['views'];
|
|
13
|
+
floating?: boolean;
|
|
14
|
+
uploadEnabled?: boolean;
|
|
15
|
+
}): React.JSX.Element | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EditorSelection } from './BlockEditor.model';
|
|
2
|
+
export declare function readEditorSelection(host: HTMLElement, directional?: boolean): EditorSelection | null;
|
|
3
|
+
export declare function editorSourceOffset(host: HTMLElement, node: Node, position: number): number | null;
|
|
4
|
+
export declare function restoreEditorSelection(host: HTMLElement, selection: EditorSelection): boolean;
|
|
5
|
+
/** Only editor-owned semantic elements are read. Pasted HTML is never imported. */
|
|
6
|
+
export declare function serializeEditorDom(root: HTMLElement): {
|
|
7
|
+
text: string;
|
|
8
|
+
selection: EditorSelection;
|
|
9
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { EditorSelection } from './BlockEditor.model';
|
|
3
|
+
import { BlockEditorState } from './BlockEditor.state';
|
|
4
|
+
/** Browser editing commands stay inside document fields, outside prompt/link inputs. */
|
|
5
|
+
export declare function useBlockEditorKeyboard(s: BlockEditorState, host: React.RefObject<HTMLDivElement | null>, blockList: React.RefObject<HTMLDivElement | null>, onSave?: () => void, hasAI?: boolean): {
|
|
6
|
+
capture: () => EditorSelection | null;
|
|
7
|
+
selectedDocument: boolean;
|
|
8
|
+
onKeyDown: (event: React.KeyboardEvent) => void;
|
|
9
|
+
onInputCapture: (event: React.FormEvent) => void;
|
|
10
|
+
onCopy: (event: React.ClipboardEvent) => void;
|
|
11
|
+
onCut: (event: React.ClipboardEvent) => void;
|
|
12
|
+
onPaste: (event: React.ClipboardEvent) => void;
|
|
13
|
+
onPointerDownCapture: (event: React.PointerEvent) => void;
|
|
14
|
+
onCompositionStartCapture: (event: React.CompositionEvent) => void;
|
|
15
|
+
onCompositionEndCapture: (event: React.CompositionEvent) => void;
|
|
16
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export type BlockKind = 'paragraph' | 'h1' | 'h2' | 'h3' | 'bullet' | 'number' | 'quote' | 'codeBlock' | 'table';
|
|
2
|
+
export type EditorSelection = {
|
|
3
|
+
start: number;
|
|
4
|
+
end: number;
|
|
5
|
+
backward?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export type Block = {
|
|
8
|
+
id: string;
|
|
9
|
+
kind: BlockKind;
|
|
10
|
+
start: number;
|
|
11
|
+
end: number;
|
|
12
|
+
raw: string;
|
|
13
|
+
body: string;
|
|
14
|
+
bodyStart: number;
|
|
15
|
+
language?: string;
|
|
16
|
+
};
|
|
17
|
+
export type DisplayBlock = Omit<Block, 'kind'> & {
|
|
18
|
+
kind: BlockKind | 'h4' | 'h5' | 'h6' | 'hr';
|
|
19
|
+
};
|
|
20
|
+
export type Inline = {
|
|
21
|
+
kind: 'text' | 'bold' | 'italic' | 'underline' | 'strikethrough' | 'code' | 'link' | 'image' | 'break';
|
|
22
|
+
start: number;
|
|
23
|
+
end: number;
|
|
24
|
+
text?: string;
|
|
25
|
+
url?: string;
|
|
26
|
+
title?: string;
|
|
27
|
+
contentStart?: number;
|
|
28
|
+
children?: Inline[];
|
|
29
|
+
};
|
|
30
|
+
export declare const blockKinds: BlockKind[];
|
|
31
|
+
export declare function safeEditorUrl(value: string): boolean;
|
|
32
|
+
export declare function safeImageUrl(value: string): boolean;
|
|
33
|
+
export declare function customReferenceUrl(value: string): boolean;
|
|
34
|
+
export declare function parseInline(value: string, offset?: number, depth?: number, display?: boolean): Inline[];
|
|
35
|
+
export declare function parseDocument(value: string, previous?: Block[], editedId?: string): {
|
|
36
|
+
blocks: Block[];
|
|
37
|
+
sourceMode: boolean;
|
|
38
|
+
};
|
|
39
|
+
export declare function parseDocument(value: string, previous: DisplayBlock[] | undefined, editedId: string | undefined, options: {
|
|
40
|
+
display: true;
|
|
41
|
+
}): {
|
|
42
|
+
blocks: DisplayBlock[];
|
|
43
|
+
sourceMode: boolean;
|
|
44
|
+
};
|
|
45
|
+
export declare function replaceRange(value: string, selection: EditorSelection, text: string): string;
|
|
46
|
+
export declare function transformBlock(block: Block, kind: BlockKind): string;
|
|
47
|
+
/** Deleting all of an inline span also removes its now-empty Markdown markers. */
|
|
48
|
+
export declare function deletionRange(blocks: Block[], selection: EditorSelection): EditorSelection;
|
|
49
|
+
/** Format text runs individually; block markers, code fences and table rules stay intact. */
|
|
50
|
+
export declare function formatBlocks(value: string, blocks: Block[], selection: EditorSelection, format: Inline['kind'], url?: string): {
|
|
51
|
+
value: string;
|
|
52
|
+
selection: EditorSelection;
|
|
53
|
+
};
|
|
54
|
+
export declare function formatRange(value: string, selection: EditorSelection, format: Inline['kind'], url?: string): {
|
|
55
|
+
value: string;
|
|
56
|
+
selection: EditorSelection;
|
|
57
|
+
removed?: boolean;
|
|
58
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { EditorSelection } from './BlockEditor.model';
|
|
2
|
+
/** Move the focus, retaining the original anchor even when the selection reverses. */
|
|
3
|
+
export declare function moveEditorSelection(host: HTMLElement, key: string, extend: boolean, preferredX: number | null): {
|
|
4
|
+
selection: EditorSelection;
|
|
5
|
+
x: number | null;
|
|
6
|
+
} | null;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ViewProps } from 'app-studio';
|
|
3
|
+
export type NativeMediaDescriptor = {
|
|
4
|
+
uri: string;
|
|
5
|
+
name: string;
|
|
6
|
+
/** MIME type supplied by the application's picker. */
|
|
7
|
+
type: string;
|
|
8
|
+
size?: number;
|
|
9
|
+
};
|
|
10
|
+
export type EditorMediaFile = File | NativeMediaDescriptor;
|
|
11
|
+
export type EditorMediaResult = {
|
|
12
|
+
url: string;
|
|
13
|
+
type: 'image' | 'video';
|
|
14
|
+
};
|
|
15
|
+
export interface BlockEditorProps extends Omit<ViewProps, 'onChange' | 'value' | 'defaultValue'> {
|
|
16
|
+
value?: string;
|
|
17
|
+
defaultValue?: string;
|
|
18
|
+
onChange?: (markdown: string) => void;
|
|
19
|
+
label?: string;
|
|
20
|
+
isDisabled?: boolean;
|
|
21
|
+
isReadOnly?: boolean;
|
|
22
|
+
onSave?: () => void;
|
|
23
|
+
/** Upload one user-selected file. The application owns storage and authorization. */
|
|
24
|
+
uploadMedia?: (file: EditorMediaFile, options: {
|
|
25
|
+
signal: AbortSignal;
|
|
26
|
+
}) => Promise<EditorMediaResult>;
|
|
27
|
+
/** Native applications supply their real picker; null means user cancellation. */
|
|
28
|
+
pickMedia?: () => Promise<EditorMediaFile | null>;
|
|
29
|
+
generate?: (prompt: string, fragment: string, scope: 'selection' | 'section') => Promise<string>;
|
|
30
|
+
status?: React.ReactNode;
|
|
31
|
+
labels?: Partial<BlockEditorLabels>;
|
|
32
|
+
views?: {
|
|
33
|
+
container?: ViewProps;
|
|
34
|
+
toolbar?: ViewProps;
|
|
35
|
+
block?: ViewProps;
|
|
36
|
+
content?: ViewProps;
|
|
37
|
+
source?: ViewProps;
|
|
38
|
+
notice?: ViewProps;
|
|
39
|
+
panel?: ViewProps;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export declare const defaultBlockEditorLabels: {
|
|
43
|
+
document: string;
|
|
44
|
+
paragraph: string;
|
|
45
|
+
h1: string;
|
|
46
|
+
h2: string;
|
|
47
|
+
h3: string;
|
|
48
|
+
bullet: string;
|
|
49
|
+
number: string;
|
|
50
|
+
quote: string;
|
|
51
|
+
codeBlock: string;
|
|
52
|
+
table: string;
|
|
53
|
+
blocks: string;
|
|
54
|
+
below: string;
|
|
55
|
+
duplicate: string;
|
|
56
|
+
delete: string;
|
|
57
|
+
up: string;
|
|
58
|
+
down: string;
|
|
59
|
+
drag: string;
|
|
60
|
+
bold: string;
|
|
61
|
+
italic: string;
|
|
62
|
+
underline: string;
|
|
63
|
+
strikethrough: string;
|
|
64
|
+
code: string;
|
|
65
|
+
link: string;
|
|
66
|
+
linkUrl: string;
|
|
67
|
+
invalidLink: string;
|
|
68
|
+
media: string;
|
|
69
|
+
image: string;
|
|
70
|
+
video: string;
|
|
71
|
+
mediaUrl: string;
|
|
72
|
+
mediaDescription: string;
|
|
73
|
+
mediaSource: string;
|
|
74
|
+
invalidMedia: string;
|
|
75
|
+
upload: string;
|
|
76
|
+
uploading: string;
|
|
77
|
+
pickingMedia: string;
|
|
78
|
+
uploadError: string;
|
|
79
|
+
cancelUpload: string;
|
|
80
|
+
mediaStale: string;
|
|
81
|
+
undo: string;
|
|
82
|
+
redo: string;
|
|
83
|
+
source: string;
|
|
84
|
+
visual: string;
|
|
85
|
+
emoji: string;
|
|
86
|
+
sourceFallback: string;
|
|
87
|
+
selectionToolbar: string;
|
|
88
|
+
askSelection: string;
|
|
89
|
+
askSection: string;
|
|
90
|
+
aiPanel: string;
|
|
91
|
+
instruction: string;
|
|
92
|
+
generating: string;
|
|
93
|
+
aiError: string;
|
|
94
|
+
proposal: string;
|
|
95
|
+
apply: string;
|
|
96
|
+
discard: string;
|
|
97
|
+
cancel: string;
|
|
98
|
+
retry: string;
|
|
99
|
+
generate: string;
|
|
100
|
+
stale: string;
|
|
101
|
+
selectionRequired: string;
|
|
102
|
+
save: string;
|
|
103
|
+
empty: string;
|
|
104
|
+
};
|
|
105
|
+
export type BlockEditorLabels = typeof defaultBlockEditorLabels;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { BlockEditorProps } from './BlockEditor.props';
|
|
3
|
+
import { BlockEditorState } from './BlockEditor.state';
|
|
4
|
+
export declare function BlockEditorSelection({ rect, state, props, preserve, }: {
|
|
5
|
+
rect: {
|
|
6
|
+
top: number;
|
|
7
|
+
bottom: number;
|
|
8
|
+
left: number;
|
|
9
|
+
};
|
|
10
|
+
state: BlockEditorState;
|
|
11
|
+
props: BlockEditorProps;
|
|
12
|
+
preserve: React.PointerEventHandler;
|
|
13
|
+
}): React.JSX.Element;
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { BlockEditorProps, EditorMediaFile, EditorMediaResult } from './BlockEditor.props';
|
|
2
|
+
import { Block, BlockKind, EditorSelection, Inline } from './BlockEditor.model';
|
|
3
|
+
type Snapshot = {
|
|
4
|
+
value: string;
|
|
5
|
+
selection: EditorSelection;
|
|
6
|
+
};
|
|
7
|
+
type MediaDraft = {
|
|
8
|
+
target: Snapshot;
|
|
9
|
+
revision: number;
|
|
10
|
+
type: EditorMediaResult['type'];
|
|
11
|
+
url: string;
|
|
12
|
+
description: string;
|
|
13
|
+
phase: 'idle' | 'picking' | 'loading' | 'error' | 'stale';
|
|
14
|
+
file?: EditorMediaFile;
|
|
15
|
+
error?: string;
|
|
16
|
+
};
|
|
17
|
+
type Proposal = {
|
|
18
|
+
scope: 'selection' | 'section';
|
|
19
|
+
target: Snapshot;
|
|
20
|
+
origin: EditorSelection;
|
|
21
|
+
revision: number;
|
|
22
|
+
fragment: string;
|
|
23
|
+
prompt: string;
|
|
24
|
+
state: 'prompt' | 'loading' | 'proposal' | 'error';
|
|
25
|
+
result?: string;
|
|
26
|
+
};
|
|
27
|
+
export declare function useBlockEditorState(props: BlockEditorProps): {
|
|
28
|
+
value: string;
|
|
29
|
+
document: {
|
|
30
|
+
blocks: Block[];
|
|
31
|
+
sourceMode: boolean;
|
|
32
|
+
};
|
|
33
|
+
selection: EditorSelection;
|
|
34
|
+
restoreVersion: number;
|
|
35
|
+
restoreRequested: import('react').RefObject<boolean>;
|
|
36
|
+
manualSource: boolean;
|
|
37
|
+
toggleSource: () => void;
|
|
38
|
+
source: boolean;
|
|
39
|
+
activeId: string | null;
|
|
40
|
+
setActiveId: import('react').Dispatch<import('react').SetStateAction<string | null>>;
|
|
41
|
+
commandId: string | null;
|
|
42
|
+
setCommandId: import('react').Dispatch<import('react').SetStateAction<string | null>>;
|
|
43
|
+
closeCommand: () => void;
|
|
44
|
+
linkOpen: boolean;
|
|
45
|
+
openLink: () => void;
|
|
46
|
+
closeLink: (restore?: boolean) => void;
|
|
47
|
+
media: MediaDraft | null;
|
|
48
|
+
openMedia: () => void;
|
|
49
|
+
closeMedia: (restore?: boolean) => void;
|
|
50
|
+
changeMedia: (fields: Partial<Pick<MediaDraft, "url" | "description" | "type">>) => void;
|
|
51
|
+
insertMedia: (result?: EditorMediaResult, draft?: MediaDraft | null) => void;
|
|
52
|
+
uploadFile: (file: EditorMediaFile, pickedRequest?: number) => Promise<void>;
|
|
53
|
+
chooseMedia: () => Promise<void>;
|
|
54
|
+
cancelMediaUpload: () => void;
|
|
55
|
+
link: string;
|
|
56
|
+
setLink: import('react').Dispatch<import('react').SetStateAction<string>>;
|
|
57
|
+
message: string;
|
|
58
|
+
setMessage: import('react').Dispatch<import('react').SetStateAction<string>>;
|
|
59
|
+
labels: {
|
|
60
|
+
document: string;
|
|
61
|
+
paragraph: string;
|
|
62
|
+
h1: string;
|
|
63
|
+
h2: string;
|
|
64
|
+
h3: string;
|
|
65
|
+
bullet: string;
|
|
66
|
+
number: string;
|
|
67
|
+
quote: string;
|
|
68
|
+
codeBlock: string;
|
|
69
|
+
table: string;
|
|
70
|
+
blocks: string;
|
|
71
|
+
below: string;
|
|
72
|
+
duplicate: string;
|
|
73
|
+
delete: string;
|
|
74
|
+
up: string;
|
|
75
|
+
down: string;
|
|
76
|
+
drag: string;
|
|
77
|
+
bold: string;
|
|
78
|
+
italic: string;
|
|
79
|
+
underline: string;
|
|
80
|
+
strikethrough: string;
|
|
81
|
+
code: string;
|
|
82
|
+
link: string;
|
|
83
|
+
linkUrl: string;
|
|
84
|
+
invalidLink: string;
|
|
85
|
+
media: string;
|
|
86
|
+
image: string;
|
|
87
|
+
video: string;
|
|
88
|
+
mediaUrl: string;
|
|
89
|
+
mediaDescription: string;
|
|
90
|
+
mediaSource: string;
|
|
91
|
+
invalidMedia: string;
|
|
92
|
+
upload: string;
|
|
93
|
+
uploading: string;
|
|
94
|
+
pickingMedia: string;
|
|
95
|
+
uploadError: string;
|
|
96
|
+
cancelUpload: string;
|
|
97
|
+
mediaStale: string;
|
|
98
|
+
undo: string;
|
|
99
|
+
redo: string;
|
|
100
|
+
source: string;
|
|
101
|
+
visual: string;
|
|
102
|
+
emoji: string;
|
|
103
|
+
sourceFallback: string;
|
|
104
|
+
selectionToolbar: string;
|
|
105
|
+
askSelection: string;
|
|
106
|
+
askSection: string;
|
|
107
|
+
aiPanel: string;
|
|
108
|
+
instruction: string;
|
|
109
|
+
generating: string;
|
|
110
|
+
aiError: string;
|
|
111
|
+
proposal: string;
|
|
112
|
+
apply: string;
|
|
113
|
+
discard: string;
|
|
114
|
+
cancel: string;
|
|
115
|
+
retry: string;
|
|
116
|
+
generate: string;
|
|
117
|
+
stale: string;
|
|
118
|
+
selectionRequired: string;
|
|
119
|
+
save: string;
|
|
120
|
+
empty: string;
|
|
121
|
+
};
|
|
122
|
+
locked: boolean;
|
|
123
|
+
capture: (next: EditorSelection) => void;
|
|
124
|
+
restoreSelection: (next?: EditorSelection) => void;
|
|
125
|
+
holdSelection: import('react').RefObject<boolean>;
|
|
126
|
+
current: import('react').RefObject<Snapshot>;
|
|
127
|
+
commit: (next: string, nextSelection?: EditorSelection, typing?: boolean, restore?: boolean, editedId?: string) => void;
|
|
128
|
+
replace: (text: string, target?: EditorSelection, typing?: boolean) => void;
|
|
129
|
+
editBlock: (block: Block, text: string, localSelection: EditorSelection, typing?: boolean, restore?: boolean) => void;
|
|
130
|
+
breakBlock: (soft?: boolean) => boolean;
|
|
131
|
+
mergeBackward: (id: string) => boolean;
|
|
132
|
+
undo: (redo?: boolean) => void;
|
|
133
|
+
move: (id: string, to: number) => void;
|
|
134
|
+
action: (id: string, name: "below" | "duplicate" | "delete" | "up" | "down") => void;
|
|
135
|
+
transform: (id: string, kind: BlockKind) => void;
|
|
136
|
+
format: (kind: Inline["kind"], url?: string) => void;
|
|
137
|
+
ai: Proposal | null;
|
|
138
|
+
setAi: import('react').Dispatch<import('react').SetStateAction<Proposal | null>>;
|
|
139
|
+
openAi: (scope: "selection" | "section") => void;
|
|
140
|
+
closeAi: (restore?: boolean) => void;
|
|
141
|
+
runAi: () => Promise<void>;
|
|
142
|
+
applyAi: () => void;
|
|
143
|
+
stale: boolean;
|
|
144
|
+
canUndo: boolean;
|
|
145
|
+
canRedo: boolean;
|
|
146
|
+
historyVersion: number;
|
|
147
|
+
};
|
|
148
|
+
export type BlockEditorState = ReturnType<typeof useBlockEditorState>;
|
|
149
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Block, EditorSelection } from './BlockEditor.model';
|
|
2
|
+
type Transaction = {
|
|
3
|
+
value: string;
|
|
4
|
+
selection: EditorSelection;
|
|
5
|
+
};
|
|
6
|
+
export declare function splitEditorBlock(value: string, blocks: Block[], selected: EditorSelection, soft?: boolean): Transaction | null;
|
|
7
|
+
export declare function mergeEditorBlock(value: string, blocks: Block[], id: string, itemPosition?: number): Transaction | null;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { BlockEditorProps } from './BlockEditor.props';
|
|
3
|
+
import { BlockEditorState } from './BlockEditor.state';
|
|
4
|
+
export declare function BlockEditorView({ state: s, ...props }: BlockEditorProps & {
|
|
5
|
+
state: BlockEditorState;
|
|
6
|
+
}): React.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ButtonElement = HTMLElement;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ButtonProps as $ButtonProps, Shadow, ViewProps } from 'app-studio';
|
|
3
|
+
import { Elevation } from '../../../utils/elevation';
|
|
4
|
+
import { IconPosition, Shape, Size, Variant, Animation, LoaderPosition } from './Button.type';
|
|
5
|
+
import { LoaderProps } from '../../Loader/Loader/Loader.props';
|
|
6
|
+
export interface ButtonProps extends Omit<$ButtonProps, 'size' | 'onClick' | 'variant' | 'shadow'> {
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
to?: string;
|
|
9
|
+
isLoading?: boolean;
|
|
10
|
+
loaderProps?: LoaderProps;
|
|
11
|
+
loaderPosition?: LoaderPosition;
|
|
12
|
+
icon?: React.ReactNode;
|
|
13
|
+
iconPosition?: IconPosition;
|
|
14
|
+
isDisabled?: boolean;
|
|
15
|
+
isFilled?: boolean;
|
|
16
|
+
isAuto?: boolean;
|
|
17
|
+
isIconRounded?: boolean;
|
|
18
|
+
onClick?: (...args: any) => any;
|
|
19
|
+
isExternal?: boolean;
|
|
20
|
+
isIcon?: boolean;
|
|
21
|
+
size?: Size;
|
|
22
|
+
shadow?: Shadow | Elevation | ViewProps;
|
|
23
|
+
shape?: Shape;
|
|
24
|
+
ariaLabel?: string;
|
|
25
|
+
variant?: Variant | string;
|
|
26
|
+
animation?: Animation;
|
|
27
|
+
color?: string;
|
|
28
|
+
textColor?: string;
|
|
29
|
+
explicitTextColor?: string;
|
|
30
|
+
reversed?: boolean;
|
|
31
|
+
borderMovingDuration?: number;
|
|
32
|
+
borderMovingGradientColors?: string[];
|
|
33
|
+
isHovered?: boolean;
|
|
34
|
+
animatedStrokeAccentColor?: string;
|
|
35
|
+
animatedStrokeTextColor?: string;
|
|
36
|
+
views?: {
|
|
37
|
+
container?: ViewProps;
|
|
38
|
+
content?: ViewProps;
|
|
39
|
+
loader?: ViewProps;
|
|
40
|
+
icon?: ViewProps;
|
|
41
|
+
link?: ViewProps;
|
|
42
|
+
};
|
|
43
|
+
config?: any;
|
|
44
|
+
keys?: any[];
|
|
45
|
+
label?: React.ReactNode;
|
|
46
|
+
leftIcon?: React.ReactNode;
|
|
47
|
+
rightIcon?: React.ReactNode;
|
|
48
|
+
startIcon?: React.ReactNode;
|
|
49
|
+
endIcon?: React.ReactNode;
|
|
50
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ViewProps } from 'app-studio';
|
|
2
|
+
import { Shape, Size, Variant } from './Button.type';
|
|
3
|
+
/**
|
|
4
|
+
* Vertical padding is one pixel short of the obvious `(minHeight - lineHeight) / 2`
|
|
5
|
+
* on purpose.
|
|
6
|
+
*
|
|
7
|
+
* These boxes are `border-box`, and every bordered variant (`filled`, `outline`)
|
|
8
|
+
* draws a 1px border. Budgeting `paddingVertical * 2 + lineHeight === minHeight`
|
|
9
|
+
* leaves no room for it, so those variants rendered exactly 2px taller than the
|
|
10
|
+
* size they declare — a `md` Button came out at 42px next to a `md` TextField at
|
|
11
|
+
* 40px. Borderless variants are unaffected: their content is 2px under
|
|
12
|
+
* `minHeight`, which then floors them to the declared height anyway.
|
|
13
|
+
*
|
|
14
|
+
* The type scale is deliberately untouched; the correction is taken out of
|
|
15
|
+
* spacing rather than typography.
|
|
16
|
+
*/
|
|
17
|
+
export declare const ButtonSizes: Record<Size, ViewProps>;
|
|
18
|
+
/**
|
|
19
|
+
* Button shapes with consistent border radius
|
|
20
|
+
*/
|
|
21
|
+
export declare const ButtonShapes: Record<Shape, number | string>;
|
|
22
|
+
/**
|
|
23
|
+
* Icon sizes for different button sizes
|
|
24
|
+
*/
|
|
25
|
+
export declare const IconSizes: Record<Size, ViewProps>;
|
|
26
|
+
/**
|
|
27
|
+
* Convert an app-studio token (`color-*`, `theme-*`, `light-*`, `dark-*`) into
|
|
28
|
+
* the equivalent CSS `var(--token)` reference so it can be embedded inside
|
|
29
|
+
* arbitrary CSS strings (box-shadow, gradients, …) where token resolution is
|
|
30
|
+
* not applied. Non-token values are returned unchanged.
|
|
31
|
+
*/
|
|
32
|
+
export declare const cssVar: (value: string) => string;
|
|
33
|
+
export declare const getButtonVariants: (color: string, textColor: string, reversed?: boolean, theme?: any) => Record<Variant, ViewProps>;
|
|
34
|
+
/**
|
|
35
|
+
* Generate offset path for border animation
|
|
36
|
+
*/
|
|
37
|
+
export declare function generateOffsetPath(width: number, height: number, borderRadius: number | string): string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type BorderWeights = 'light' | 'normal' | 'bold' | 'extrabold' | 'black';
|
|
2
|
+
export type Shape = 'square' | 'rounded' | 'pill';
|
|
3
|
+
export type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
export type Loaders = 'spinner' | 'points' | 'points-opacity';
|
|
5
|
+
export type IconPosition = 'left' | 'right' | 'top' | 'bottom';
|
|
6
|
+
export type LoaderPosition = 'left' | 'right';
|
|
7
|
+
export type ColorScheme = 'primary' | 'secondary' | 'black' | 'white';
|
|
8
|
+
export type Variant = 'filled' | 'outline' | 'empty' | 'ghost' | 'link' | 'subtle';
|
|
9
|
+
export type Animation = 'borderMoving' | 'animatedStroke' | 'borderReveal';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { LinkProps } from '../../Link/Link/Link.props';
|
|
3
|
+
import { ButtonProps } from './Button.props';
|
|
4
|
+
declare const ButtonView: React.NamedExoticComponent<ButtonProps & {
|
|
5
|
+
linkComponent?: React.ComponentType<LinkProps>;
|
|
6
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
7
|
+
export default ButtonView;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ButtonProps } from './Button/Button.props';
|
|
3
|
+
import { LinkProps } from '../Link/Link/Link.props';
|
|
4
|
+
export declare const createButton: (linkComponent?: React.ComponentType<LinkProps>) => React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Button: import('react').ForwardRefExoticComponent<import('..').ButtonProps & import('react').RefAttributes<HTMLElement>>;
|