@12-apps/ui 6.19.1 → 6.21.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/NATIVE.md +10 -1
- package/dist/_internal/components/data-display/Alert/Alert.js +4 -4
- package/dist/_internal/components/data-display/Alert/Alert.styles.js +2 -2
- package/dist/_internal/components/data-display/AsyncStateContainer/AsyncStateContainer.js +9 -8
- package/dist/_internal/components/data-display/Avatar/Avatar.base.js +1 -0
- package/dist/_internal/components/data-display/Avatar/Avatar.base.js.map +1 -0
- package/dist/_internal/components/data-display/Avatar/Avatar.helpers.js +14 -0
- package/dist/_internal/components/data-display/Avatar/Avatar.helpers.js.map +1 -0
- package/dist/_internal/components/data-display/Avatar/Avatar.js +8 -2
- package/dist/_internal/components/data-display/Avatar/Avatar.metrics.js +52 -0
- package/dist/_internal/components/data-display/Avatar/Avatar.metrics.js.map +1 -0
- package/dist/_internal/components/data-display/Avatar/Avatar.view.js +6 -1
- package/dist/_internal/components/data-display/Badge/Badge.animations.js +6 -1
- package/dist/_internal/components/data-display/Badge/Badge.base.js +1 -0
- package/dist/_internal/components/data-display/Badge/Badge.base.js.map +1 -0
- package/dist/_internal/components/data-display/Badge/Badge.helpers.js +3 -1
- package/dist/_internal/components/data-display/Badge/Badge.js +12 -6
- package/dist/_internal/components/data-display/Badge/Badge.metrics.js +64 -0
- package/dist/_internal/components/data-display/Badge/Badge.metrics.js.map +1 -0
- package/dist/_internal/components/data-display/Badge/Badge.styles.js +8 -3
- package/dist/_internal/components/data-display/Badge/Badge.variants.js +6 -1
- package/dist/_internal/components/data-display/Badge/BadgeContent.js +9 -4
- package/dist/_internal/components/data-display/CardKit/CardKebab.js +3 -3
- package/dist/_internal/components/data-display/CardKit/card-actions-context.js +5 -5
- package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +8 -8
- package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +3 -3
- package/dist/_internal/components/data-display/Carousel/Carousel.js +3 -3
- package/dist/_internal/components/data-display/Chart/Chart.js +4 -4
- package/dist/_internal/components/data-display/Chart/SpecChart.js +7 -7
- package/dist/_internal/components/data-display/Chart/chart-context.js +2 -2
- package/dist/_internal/components/data-display/Chart/chart-renderers.js +3 -3
- package/dist/_internal/components/data-display/Chart/chart-spec.js +2 -2
- package/dist/_internal/components/data-display/Chip/Chip.base.js +1 -0
- package/dist/_internal/components/data-display/Chip/Chip.base.js.map +1 -0
- package/dist/_internal/components/data-display/Chip/Chip.helpers.js +3 -9
- package/dist/_internal/components/data-display/Chip/Chip.js +4 -2
- package/dist/_internal/components/data-display/Chip/Chip.metrics.js +32 -0
- package/dist/_internal/components/data-display/Chip/Chip.metrics.js.map +1 -0
- package/dist/_internal/components/data-display/Chip/Chip.styles.js +16 -0
- package/dist/_internal/components/data-display/Chip/Chip.styles.js.map +1 -0
- package/dist/_internal/components/data-display/DataGrid/DataGrid.js +2 -2
- package/dist/_internal/components/data-display/DataViews/DataViewsBoard.js +3 -3
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +50 -49
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +68 -64
- package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +4 -4
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +5 -5
- package/dist/_internal/components/data-display/DataViews/SaveViewModal.js +15 -11
- package/dist/_internal/components/data-display/DataViews/base-card.js +10 -7
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +10 -9
- package/dist/_internal/components/data-display/DataViews/base-list-card-gutters.js +10 -3
- package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +6 -6
- package/dist/_internal/components/data-display/DataViews/base-list-card.js +15 -13
- package/dist/_internal/components/data-display/DataViews/card-surface.js +7 -2
- package/dist/_internal/components/data-display/DataViews/data-views-category-pill.js +14 -12
- package/dist/_internal/components/data-display/DataViews/data-views-columns-tab.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-columns.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +7 -7
- package/dist/_internal/components/data-display/DataViews/data-views-display-tabs.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-empty.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-export.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +18 -16
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +11 -11
- package/dist/_internal/components/data-display/DataViews/data-views-grid-helpers.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +45 -44
- package/dist/_internal/components/data-display/DataViews/data-views-header-row.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +22 -21
- package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +8 -8
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +10 -10
- package/dist/_internal/components/data-display/DataViews/data-views-pagination.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-range-pill.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-select-all-strip.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +13 -13
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +23 -19
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +12 -12
- package/dist/_internal/components/data-display/DataViews/data-views-view-nav.js +4 -4
- package/dist/_internal/components/data-display/DataViews/list-card-rails.js +2 -2
- package/dist/_internal/components/data-display/DataViews/save-view-preview.js +3 -3
- package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +7 -7
- package/dist/_internal/components/data-display/DescriptionItem/DescriptionItem.js +3 -3
- package/dist/_internal/components/data-display/EmptyState/EmptyState.js +2 -2
- package/dist/_internal/components/data-display/ErrorState/ErrorState.js +2 -2
- package/dist/_internal/components/data-display/HoverCard/HoverCard.js +2 -2
- package/dist/_internal/components/data-display/LazyImage/LazyImage.js +6 -4
- package/dist/_internal/components/data-display/Lightbox/Lightbox.js +3 -3
- package/dist/_internal/components/data-display/LoadingState/LoadingState.js +6 -5
- package/dist/_internal/components/data-display/MapPreview/MapDecorations.js +2 -2
- package/dist/_internal/components/data-display/MapPreview/MapLayers.js +2 -2
- package/dist/_internal/components/data-display/MapPreview/MapPreview.hooks.js +2 -2
- package/dist/_internal/components/data-display/MapPreview/MapPreview.js +9 -9
- package/dist/_internal/components/data-display/MapPreview/MapTiles.js +2 -2
- package/dist/_internal/components/data-display/MapPreview/StaticMapView.js +4 -4
- package/dist/_internal/components/data-display/MapPreview/useMapPreview.js +3 -3
- package/dist/_internal/components/data-display/Progress/Progress.base.js +1 -0
- package/dist/_internal/components/data-display/Progress/Progress.base.js.map +1 -0
- package/dist/_internal/components/data-display/Progress/Progress.helpers.js +5 -1
- package/dist/_internal/components/data-display/Progress/Progress.js +8 -3
- package/dist/_internal/components/data-display/Progress/Progress.metrics.js +52 -0
- package/dist/_internal/components/data-display/Progress/Progress.metrics.js.map +1 -0
- package/dist/_internal/components/data-display/Progress/Progress.styles.js +6 -1
- package/dist/_internal/components/data-display/SectionOnboarding/SectionOnboarding.js +3 -3
- package/dist/_internal/components/data-display/StatCard/StatCard.js +6 -4
- package/dist/_internal/components/data-display/index.js +71 -64
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmButton.js +3 -3
- package/dist/_internal/components/feedback/index.js +3 -3
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.js +8 -6
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocompleteField.js +6 -4
- package/dist/_internal/components/form/AddressAutocomplete/AddressFallbackField.js +5 -3
- package/dist/_internal/components/form/AddressAutocomplete/AddressInputField.js +5 -3
- package/dist/_internal/components/form/AddressAutocomplete/AddressTextField.js +4 -2
- package/dist/_internal/components/form/Button/Button.js +2 -2
- package/dist/_internal/components/form/CategorySelect/CategoryPanel.js +9 -7
- package/dist/_internal/components/form/CategorySelect/CategoryPanelFoot.js +5 -3
- package/dist/_internal/components/form/CategorySelect/CategoryPanelHead.js +5 -3
- package/dist/_internal/components/form/CategorySelect/CategoryPanelList.js +6 -4
- package/dist/_internal/components/form/CategorySelect/CategoryRows.js +5 -3
- package/dist/_internal/components/form/CategorySelect/CategorySelect.js +11 -9
- package/dist/_internal/components/form/CategorySelect/CategorySelect.styles.js +4 -2
- package/dist/_internal/components/form/CategorySelect/CategoryTrigger.js +5 -3
- package/dist/_internal/components/form/CepField/CepField.js +10 -4
- package/dist/_internal/components/form/Checkbox/Checkbox.base.js +1 -0
- package/dist/_internal/components/form/Checkbox/Checkbox.base.js.map +1 -0
- package/dist/_internal/components/form/Checkbox/Checkbox.helpers.js +2 -1
- package/dist/_internal/components/form/Checkbox/Checkbox.js +9 -2
- package/dist/_internal/components/form/Checkbox/Checkbox.metrics.js +34 -0
- package/dist/_internal/components/form/Checkbox/Checkbox.metrics.js.map +1 -0
- package/dist/_internal/components/form/CodeEditor/CodeEditor.js +4 -2
- package/dist/_internal/components/form/CreatableSelect/CreatableSelect.js +4 -2
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.js +3 -3
- package/dist/_internal/components/form/Input/Input.base.js +1 -0
- package/dist/_internal/components/form/Input/Input.base.js.map +1 -0
- package/dist/_internal/components/form/Input/Input.helpers.js +23 -0
- package/dist/_internal/components/form/Input/Input.helpers.js.map +1 -0
- package/dist/_internal/components/form/Input/Input.js +9 -3
- package/dist/_internal/components/form/Input/Input.metrics.js +53 -0
- package/dist/_internal/components/form/Input/Input.metrics.js.map +1 -0
- package/dist/_internal/components/form/Input/Input.styles.js +10 -4
- package/dist/_internal/components/form/InputOTP/InputOTP.js +5 -3
- package/dist/_internal/components/form/InputOTP/InputOTP.styles.js +4 -2
- package/dist/_internal/components/form/Menubar/Menubar.js +5 -5
- package/dist/_internal/components/form/Menubar/Menubar.toolbar.js +2 -2
- package/dist/_internal/components/form/PhoneInput/PhoneInput.js +4 -2
- package/dist/_internal/components/form/RadioGroup/RadioGroup.js +6 -4
- package/dist/_internal/components/form/RadioGroup/RadioGroup.styles.js +4 -2
- package/dist/_internal/components/form/RadioGroup/RadioGroup.variants.js +5 -3
- package/dist/_internal/components/form/RichTextEditor/RichTextEditor.js +5 -3
- package/dist/_internal/components/form/Select/Select.base.js +1 -0
- package/dist/_internal/components/form/Select/Select.base.js.map +1 -0
- package/dist/_internal/components/form/Select/Select.helpers.js +48 -0
- package/dist/_internal/components/form/Select/Select.helpers.js.map +1 -0
- package/dist/_internal/components/form/Select/Select.js +10 -2
- package/dist/_internal/components/form/Select/Select.metrics.js +38 -0
- package/dist/_internal/components/form/Select/Select.metrics.js.map +1 -0
- package/dist/_internal/components/form/Switch/Switch.base.js +1 -0
- package/dist/_internal/components/form/Switch/Switch.base.js.map +1 -0
- package/dist/_internal/components/form/Switch/Switch.helpers.js +59 -0
- package/dist/_internal/components/form/Switch/Switch.helpers.js.map +1 -0
- package/dist/_internal/components/form/Switch/Switch.js +9 -3
- package/dist/_internal/components/form/Switch/Switch.metrics.js +83 -0
- package/dist/_internal/components/form/Switch/Switch.metrics.js.map +1 -0
- package/dist/_internal/components/form/Switch/Switch.parts.js +7 -2
- package/dist/_internal/components/form/Switch/Switch.styles.js +6 -1
- package/dist/_internal/components/form/Textarea/Textarea.js +5 -3
- package/dist/_internal/components/form/Textarea/Textarea.styles.js +4 -2
- package/dist/_internal/components/form/Textarea/TextareaRichEditor.js +4 -2
- package/dist/_internal/components/form/Textarea/TextareaRichEditor.js.map +1 -1
- package/dist/_internal/components/form/Toggle/Toggle.js +5 -3
- package/dist/_internal/components/form/Toggle/Toggle.styles.js +4 -2
- package/dist/_internal/components/form/index.js +44 -38
- package/dist/_internal/components/form/total-form/Fields/CategoryField.js +12 -10
- package/dist/_internal/components/form/total-form/Fields/CepField.js +11 -5
- package/dist/_internal/components/form/total-form/Fields/SelectField.js +11 -3
- package/dist/_internal/components/form/total-form/Fields/TextField.js +10 -4
- package/dist/_internal/components/form/total-form/Fields/index.js +30 -22
- package/dist/_internal/components/form/total-form/SubmitButton.js +3 -3
- package/dist/_internal/components/index.js +146 -133
- package/dist/_internal/components/layout/Box/Box.js +2 -2
- package/dist/_internal/components/layout/Container/Container.js +2 -2
- package/dist/_internal/components/layout/ScrollArea/ScrollArea.js +2 -2
- package/dist/_internal/components/layout/SettingsLayout/SettingsLayout.js +4 -4
- package/dist/_internal/components/layout/SettingsLayout/SettingsPanel.js +2 -2
- package/dist/_internal/components/layout/Skeleton/Skeleton.base.js +1 -0
- package/dist/_internal/components/layout/Skeleton/Skeleton.base.js.map +1 -0
- package/dist/_internal/components/layout/Skeleton/Skeleton.helpers.js +5 -3
- package/dist/_internal/components/layout/Skeleton/Skeleton.js +5 -3
- package/dist/_internal/components/layout/Skeleton/Skeleton.metrics.js +36 -0
- package/dist/_internal/components/layout/Skeleton/Skeleton.metrics.js.map +1 -0
- package/dist/_internal/components/layout/Skeleton/Skeleton.styles.js +2 -1
- package/dist/_internal/components/layout/Spacer/Spacer.js +2 -2
- package/dist/_internal/components/layout/Stack/Stack.js +3 -3
- package/dist/_internal/components/layout/index.js +15 -14
- package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +3 -3
- package/dist/_internal/components/navigation/CommandPalette/CommandPalette.js +2 -2
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMegaSection.js +3 -3
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMenu.js +5 -5
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMenuItem.js +2 -2
- package/dist/_internal/components/navigation/NavigationMenu/NavigationStandardBody.js +3 -3
- package/dist/_internal/components/navigation/Pagination/Pagination.js +2 -2
- package/dist/_internal/components/navigation/Tabs/Tabs.js +2 -2
- package/dist/_internal/components/navigation/index.js +17 -17
- package/dist/_internal/components/typography/Heading/Heading.js +2 -2
- package/dist/_internal/components/typography/Paragraph/Paragraph.js +2 -2
- package/dist/_internal/components/typography/Text/Text.js +2 -2
- package/dist/_internal/components/typography/index.js +4 -4
- package/dist/_internal/components/utility/InfiniteScroll/InfiniteScroll.js +2 -2
- package/dist/_internal/components/utility/InstallPrompt/InstallPrompt.js +2 -2
- package/dist/_internal/components/utility/index.js +4 -4
- package/dist/_internal/icons/Icon.js +3 -3
- package/dist/_internal/icons/paths.generated.js +1 -1
- package/dist/_internal/platform/animation.js +31 -0
- package/dist/_internal/platform/animation.js.map +1 -0
- package/dist/_internal/platform/aria.js +17 -1
- package/dist/_internal/platform/aria.js.map +1 -1
- package/dist/_internal/platform/test-id.js +3 -1
- package/dist/_internal/platform/web-keys.js +10 -0
- package/dist/_internal/platform/web-keys.js.map +1 -0
- package/dist/_internal/social-login-button/social-login-button.js +5 -5
- package/dist/_internal/tokens/field-edge.core.js +11 -0
- package/dist/_internal/tokens/field-edge.core.js.map +1 -0
- package/dist/_internal/tokens/field-edge.js +5 -2
- package/dist/_internal/tokens/mui-type.js +2 -1
- package/dist/_internal/tokens/mui-type.js.map +1 -1
- package/dist/_internal/user-avatar/user-avatar.js +8 -6
- package/dist/charts.js +16 -16
- package/dist/chunk-26Z7QWID.js +146 -0
- package/dist/chunk-2ECT4IY2.js +250 -0
- package/dist/chunk-2ECT4IY2.js.map +1 -0
- package/dist/chunk-2QFTAGDH.js +72 -0
- package/dist/chunk-2QLVUVVR.js +39 -0
- package/dist/chunk-2SWQ6HIK.js +167 -0
- package/dist/chunk-3UOHKHOT.js +30 -0
- package/dist/chunk-3W7IEWEL.js +34 -0
- package/dist/chunk-3ZVUNSFF.js +32 -0
- package/dist/chunk-3ZVUNSFF.js.map +1 -0
- package/dist/chunk-426FTCMF.js +64 -0
- package/dist/chunk-4ETQRBZC.js +189 -0
- package/dist/chunk-4HYXEMBP.js +147 -0
- package/dist/chunk-4K7FDVAB.js +57 -0
- package/dist/chunk-4MLDWACO.js +161 -0
- package/dist/chunk-4SQFO4GW.js +275 -0
- package/dist/chunk-4SQFO4GW.js.map +1 -0
- package/dist/chunk-4TXIZ5WI.js +147 -0
- package/dist/chunk-5JEOLUWJ.js +25 -0
- package/dist/chunk-5JEOLUWJ.js.map +1 -0
- package/dist/chunk-5RQ7N63M.js +19 -0
- package/dist/chunk-5ZNU2U4D.js +41 -0
- package/dist/chunk-5ZNU2U4D.js.map +1 -0
- package/dist/chunk-5ZOJLYD2.js +157 -0
- package/dist/chunk-6C5D6O3D.js +43 -0
- package/dist/chunk-6C5D6O3D.js.map +1 -0
- package/dist/chunk-6F5IKY32.js +22 -0
- package/dist/chunk-6F5IKY32.js.map +1 -0
- package/dist/chunk-6RGWDKUL.js +223 -0
- package/dist/chunk-6WIDZGXE.js +167 -0
- package/dist/chunk-6YLAVHV4.js +240 -0
- package/dist/chunk-6Z4H2Y77.js +270 -0
- package/dist/chunk-736HP6BL.js +64 -0
- package/dist/chunk-77F36LQQ.js +80 -0
- package/dist/chunk-7FDU3FIN.js +13 -0
- package/dist/chunk-7FDU3FIN.js.map +1 -0
- package/dist/chunk-7FOOLP5H.js +304 -0
- package/dist/chunk-7KTU6YMQ.js +38 -0
- package/dist/chunk-7MAOQIWA.js +58 -0
- package/dist/chunk-7WDPC46N.js +21 -0
- package/dist/chunk-7WDPC46N.js.map +1 -0
- package/dist/chunk-7ZH7ZB33.js +181 -0
- package/dist/chunk-AD776JPA.js +117 -0
- package/dist/chunk-AD776JPA.js.map +1 -0
- package/dist/chunk-AGYGNNOM.js +56 -0
- package/dist/chunk-AJ6XEO4E.js +80 -0
- package/dist/chunk-B3BK2SNS.js +41 -0
- package/dist/chunk-B5PYBEXO.js +46 -0
- package/dist/chunk-BBC4KT5G.js +231 -0
- package/dist/chunk-BDVNAU2C.js +177 -0
- package/dist/chunk-BEGWE5O4.js +170 -0
- package/dist/chunk-BEH4DN63.js +124 -0
- package/dist/chunk-BF4FYOAR.js +23 -0
- package/dist/chunk-BF4FYOAR.js.map +1 -0
- package/dist/chunk-BLBOYCOV.js +51 -0
- package/dist/chunk-BNNSO4MC.js +114 -0
- package/dist/chunk-BQQONDW5.js +155 -0
- package/dist/chunk-BRMGHMYB.js +45 -0
- package/dist/chunk-BRMGHMYB.js.map +1 -0
- package/dist/chunk-BRSF5NRT.js +225 -0
- package/dist/chunk-CXVMD6FE.js +157 -0
- package/dist/chunk-CZPU5TW3.js +132 -0
- package/dist/chunk-D4T646G4.js +246 -0
- package/dist/chunk-DBYFC6CF.js +216 -0
- package/dist/chunk-DF2FFYZ7.js +131 -0
- package/dist/chunk-DFK6QCXX.js +150 -0
- package/dist/chunk-DFK6QCXX.js.map +1 -0
- package/dist/chunk-DH75UNF3.js +125 -0
- package/dist/chunk-E46PG577.js +78 -0
- package/dist/chunk-E46PG577.js.map +1 -0
- package/dist/chunk-EPEJMTCQ.js +47 -0
- package/dist/chunk-EPEJMTCQ.js.map +1 -0
- package/dist/chunk-EPNUVSNK.js +161 -0
- package/dist/chunk-EZSEAYYT.js +200 -0
- package/dist/chunk-EZSEAYYT.js.map +1 -0
- package/dist/chunk-FAITHWIO.js +73 -0
- package/dist/chunk-FAITHWIO.js.map +1 -0
- package/dist/chunk-FB36IHCE.js +219 -0
- package/dist/chunk-FGUESLDX.js +161 -0
- package/dist/chunk-FINCVAAR.js +183 -0
- package/dist/chunk-FPWB5ILF.js +79 -0
- package/dist/chunk-FPWB5ILF.js.map +1 -0
- package/dist/chunk-FRQ4HNGF.js +198 -0
- package/dist/chunk-G2IPK2XE.js +158 -0
- package/dist/chunk-GBNOYRLP.js +183 -0
- package/dist/chunk-GBNOYRLP.js.map +1 -0
- package/dist/chunk-GBRKP5GZ.js +134 -0
- package/dist/chunk-GCXYCDOA.js +49 -0
- package/dist/chunk-GDEXYUPF.js +49 -0
- package/dist/chunk-GO4MVQGC.js +184 -0
- package/dist/chunk-GT7C6TSM.js +170 -0
- package/dist/chunk-GY6KNVMI.js +39 -0
- package/dist/chunk-GY6KNVMI.js.map +1 -0
- package/dist/chunk-HI2OFZSZ.js +75 -0
- package/dist/chunk-HI2OFZSZ.js.map +1 -0
- package/dist/chunk-HKKSZ7HG.js +59 -0
- package/dist/chunk-I3MDKPGG.js +203 -0
- package/dist/chunk-I7HYGIEJ.js +175 -0
- package/dist/chunk-I7HYGIEJ.js.map +1 -0
- package/dist/chunk-IE7ISTLQ.js +167 -0
- package/dist/chunk-IFNK5TPI.js +54 -0
- package/dist/chunk-IH4RSRQA.js +68 -0
- package/dist/chunk-IIROZKW5.js +53 -0
- package/dist/chunk-J2KSG754.js +240 -0
- package/dist/chunk-J2KSG754.js.map +1 -0
- package/dist/chunk-JDMYD6QC.js +39 -0
- package/dist/chunk-JIINGMEB.js +268 -0
- package/dist/chunk-JXAYT6LX.js +82 -0
- package/dist/chunk-KEVPUBOE.js +53 -0
- package/dist/chunk-KEVPUBOE.js.map +1 -0
- package/dist/chunk-KIHQE5YA.js +91 -0
- package/dist/chunk-KT6HWAEN.js +315 -0
- package/dist/chunk-KU6VHNRV.js +68 -0
- package/dist/chunk-KU6VHNRV.js.map +1 -0
- package/dist/chunk-KVEHH4SA.js +85 -0
- package/dist/chunk-KVEHH4SA.js.map +1 -0
- package/dist/chunk-MHV5Y5MR.js +100 -0
- package/dist/chunk-MHV5Y5MR.js.map +1 -0
- package/dist/chunk-MLCFODJO.js +135 -0
- package/dist/chunk-MLCFODJO.js.map +1 -0
- package/dist/chunk-N5IVVLTH.js +160 -0
- package/dist/chunk-N5IVVLTH.js.map +1 -0
- package/dist/chunk-NARIG5FL.js +98 -0
- package/dist/chunk-NUE774AN.js +203 -0
- package/dist/chunk-OCXCH2ZW.js +175 -0
- package/dist/chunk-OH3YGJT5.js +107 -0
- package/dist/chunk-OLVZ6TOV.js +88 -0
- package/dist/chunk-OLVZ6TOV.js.map +1 -0
- package/dist/chunk-ON2CMKTI.js +247 -0
- package/dist/chunk-OOGEYCJH.js +41 -0
- package/dist/chunk-OQFSYMHJ.js +146 -0
- package/dist/chunk-P6IPJYCS.js +267 -0
- package/dist/chunk-PANMJFDS.js +190 -0
- package/dist/chunk-PF5HDFYY.js +165 -0
- package/dist/chunk-PFLKPNBU.js +82 -0
- package/dist/chunk-PWXL3QQ6.js +28 -0
- package/dist/chunk-PXH24VIP.js +215 -0
- package/dist/chunk-PZEC5CQA.js +96 -0
- package/dist/chunk-QFHH2NU5.js +142 -0
- package/dist/chunk-QGBMCB76.js +99 -0
- package/dist/chunk-QRX5BYUQ.js +155 -0
- package/dist/chunk-QS7ZGRNS.js +80 -0
- package/dist/chunk-QS7ZGRNS.js.map +1 -0
- package/dist/chunk-QZDBWXZG.js +32 -0
- package/dist/chunk-R6RVBYTU.js +173 -0
- package/dist/chunk-R6SBP5M5.js +152 -0
- package/dist/chunk-RPQ3W2C6.js +165 -0
- package/dist/chunk-RPWEXIAW.js +118 -0
- package/dist/chunk-RRO2EOJB.js +64 -0
- package/dist/chunk-RRX6ZTNX.js +59 -0
- package/dist/chunk-RRZBATXK.js +88 -0
- package/dist/chunk-S6YY2WWK.js +164 -0
- package/dist/chunk-S6YY2WWK.js.map +1 -0
- package/dist/chunk-SAHQLXNN.js +77 -0
- package/dist/chunk-SHDIZSN5.js +60 -0
- package/dist/chunk-STH66VLA.js +180 -0
- package/dist/chunk-STH66VLA.js.map +1 -0
- package/dist/chunk-TFO6GBW7.js +332 -0
- package/dist/chunk-THZ2NAA4.js +92 -0
- package/dist/chunk-TLX66HCW.js +113 -0
- package/dist/chunk-TLX66HCW.js.map +1 -0
- package/dist/chunk-TP4N3X2Q.js +183 -0
- package/dist/chunk-TPIBJP4S.js +83 -0
- package/dist/chunk-TVO5STZB.js +184 -0
- package/dist/chunk-TZ4SFX3M.js +266 -0
- package/dist/chunk-TZ633UZA.js +19 -0
- package/dist/chunk-TZ633UZA.js.map +1 -0
- package/dist/chunk-UB76PBDF.js +69 -0
- package/dist/chunk-UEIVXFUC.js +193 -0
- package/dist/chunk-UOPQOBQZ.js +191 -0
- package/dist/chunk-V5P5Q6HM.js +108 -0
- package/dist/chunk-VIK3HAUQ.js +337 -0
- package/dist/chunk-VPHOSIPB.js +33 -0
- package/dist/chunk-VR5HDUBK.js +34 -0
- package/dist/chunk-VWBWKLXX.js +85 -0
- package/dist/chunk-VWGR5XUP.js +21 -0
- package/dist/chunk-VXTYVJDK.js +70 -0
- package/dist/chunk-W2UTDN4T.js +194 -0
- package/dist/chunk-WBKWIFXA.js +62 -0
- package/dist/chunk-WMALDOF5.js +138 -0
- package/dist/chunk-WPZT2JD4.js +196 -0
- package/dist/chunk-WROCSDVL.js +84 -0
- package/dist/chunk-WTIOCG4M.js +220 -0
- package/dist/chunk-WTIOCG4M.js.map +1 -0
- package/dist/chunk-XEE7PLDR.js +282 -0
- package/dist/chunk-XFU2S6XT.js +136 -0
- package/dist/chunk-XLJJ2ZAP.js +240 -0
- package/dist/chunk-XZTOIEKI.js +79 -0
- package/dist/chunk-Y46RBFBV.js +182 -0
- package/dist/chunk-YCCKY5VW.js +173 -0
- package/dist/chunk-YDI6IJ6F.js +170 -0
- package/dist/chunk-Z5ABJLTM.js +109 -0
- package/dist/chunk-Z6UEOSL7.js +297 -0
- package/dist/chunk-ZDWU52DJ.js +116 -0
- package/dist/chunk-ZEG2LNBY.js +68 -0
- package/dist/chunk-ZEG2LNBY.js.map +1 -0
- package/dist/chunk-ZFPJBKVZ.js +131 -0
- package/dist/chunk-ZGHIHEND.js +55 -0
- package/dist/chunk-ZKFYBC6G.js +67 -0
- package/dist/chunk-ZOW2CCMO.js +88 -0
- package/dist/chunk-ZOW2CCMO.js.map +1 -0
- package/dist/chunk-ZTF5C2GA.js +118 -0
- package/dist/chunk-ZTF5C2GA.js.map +1 -0
- package/dist/chunk-ZXLIWOXC.js +264 -0
- package/dist/chunk-ZZOOSKSV.js +243 -0
- package/dist/data-display/Alert.js +4 -4
- package/dist/data-display/AsyncStateContainer.js +9 -8
- package/dist/data-display/Avatar.js +8 -2
- package/dist/data-display/Badge.js +12 -6
- package/dist/data-display/CardKit.js +16 -16
- package/dist/data-display/Carousel.js +3 -3
- package/dist/data-display/Chart.js +16 -16
- package/dist/data-display/Chip.js +4 -2
- package/dist/data-display/DataGrid.js +2 -2
- package/dist/data-display/DataViews.js +85 -79
- package/dist/data-display/DescriptionItem.js +3 -3
- package/dist/data-display/EmptyState.js +2 -2
- package/dist/data-display/ErrorState.js +2 -2
- package/dist/data-display/HoverCard.js +2 -2
- package/dist/data-display/LazyImage.js +6 -4
- package/dist/data-display/Lightbox.js +3 -3
- package/dist/data-display/LoadingState.js +6 -5
- package/dist/data-display/MapPreview.js +9 -9
- package/dist/data-display/Progress.js +8 -3
- package/dist/data-display/SectionOnboarding.js +3 -3
- package/dist/data-display/StatCard.js +6 -4
- package/dist/feedback/ConfirmAction.js +3 -3
- package/dist/form/AddressAutocomplete.js +8 -6
- package/dist/form/Button.js +2 -2
- package/dist/form/CategorySelect.js +11 -9
- package/dist/form/CepField.js +10 -4
- package/dist/form/Checkbox.js +9 -2
- package/dist/form/CodeEditor.js +4 -2
- package/dist/form/CreatableSelect.js +4 -2
- package/dist/form/DateRangePicker.js +3 -3
- package/dist/form/Input.js +9 -3
- package/dist/form/InputOTP.js +5 -3
- package/dist/form/Menubar.js +5 -5
- package/dist/form/PhoneInput.js +4 -2
- package/dist/form/RadioGroup.js +6 -4
- package/dist/form/RichTextEditor.js +5 -3
- package/dist/form/Select.js +10 -2
- package/dist/form/Switch.js +9 -3
- package/dist/form/Textarea.js +5 -3
- package/dist/form/Toggle.js +5 -3
- package/dist/form/total-form.js +33 -28
- package/dist/icons.js +3 -3
- package/dist/layout/Box.js +2 -2
- package/dist/layout/Container.js +2 -2
- package/dist/layout/ContentToolbar.js +6 -6
- package/dist/layout/ScrollArea.js +2 -2
- package/dist/layout/SettingsLayout.js +6 -6
- package/dist/layout/Skeleton.js +5 -3
- package/dist/layout/Spacer.js +2 -2
- package/dist/layout/Stack.js +3 -3
- package/dist/native/chunks/chunk-D4EYAXNG.js +114 -0
- package/dist/native/chunks/chunk-D4EYAXNG.js.map +1 -0
- package/dist/native/chunks/chunk-HSIND52T.js +25 -0
- package/dist/native/chunks/chunk-HSIND52T.js.map +1 -0
- package/dist/native/chunks/chunk-MLQIOKQZ.js +30 -0
- package/dist/native/chunks/chunk-MLQIOKQZ.js.map +1 -0
- package/dist/native/chunks/chunk-OGWPPQL4.js +136 -0
- package/dist/native/chunks/chunk-OXHZDFJZ.js +15 -0
- package/dist/native/chunks/chunk-OXHZDFJZ.js.map +1 -0
- package/dist/native/chunks/chunk-QZAUOHDQ.js +18 -0
- package/dist/native/chunks/chunk-QZAUOHDQ.js.map +1 -0
- package/dist/native/chunks/chunk-RJVM5YDE.js +318 -0
- package/dist/native/chunks/chunk-T6BJPP3E.js +26 -0
- package/dist/native/chunks/chunk-T6BJPP3E.js.map +1 -0
- package/dist/native/chunks/chunk-WKMDCNIN.js +351 -0
- package/dist/native/chunks/chunk-WKMDCNIN.js.map +1 -0
- package/dist/native/data-display/Alert.js +9 -9
- package/dist/native/data-display/Avatar.js +451 -0
- package/dist/native/data-display/Avatar.js.map +1 -0
- package/dist/native/data-display/Badge.js +418 -0
- package/dist/native/data-display/Badge.js.map +1 -0
- package/dist/native/data-display/Chip.js +374 -0
- package/dist/native/data-display/Chip.js.map +1 -0
- package/dist/native/data-display/EmptyState.js +10 -10
- package/dist/native/data-display/ErrorState.js +10 -10
- package/dist/native/data-display/LoadingState.js +5 -5
- package/dist/native/data-display/Progress.js +432 -0
- package/dist/native/data-display/Progress.js.map +1 -0
- package/dist/native/form/Button.js +2 -2
- package/dist/native/form/Checkbox.js +233 -0
- package/dist/native/form/Checkbox.js.map +1 -0
- package/dist/native/form/Input.js +233 -0
- package/dist/native/form/Input.js.map +1 -0
- package/dist/native/form/Select.js +348 -0
- package/dist/native/form/Select.js.map +1 -0
- package/dist/native/form/Switch.js +511 -0
- package/dist/native/form/Switch.js.map +1 -0
- package/dist/native/icons.js +2 -2
- package/dist/native/layout/Box.js +2 -2
- package/dist/native/layout/Container.js +1 -1
- package/dist/native/layout/Skeleton.js +214 -0
- package/dist/native/layout/Skeleton.js.map +1 -0
- package/dist/native/layout/Spacer.js +1 -1
- package/dist/native/layout/Stack.js +2 -2
- package/dist/native/typography/Heading.js +1 -1
- package/dist/native/typography/Paragraph.js +1 -1
- package/dist/native/typography/Text.js +1 -1
- package/dist/navigation/AppHeader.js +7 -7
- package/dist/navigation/CommandPalette.js +2 -2
- package/dist/navigation/NavigationMenu.js +5 -5
- package/dist/navigation/Pagination.js +2 -2
- package/dist/navigation/Tabs.js +2 -2
- package/dist/social-login-button.js +5 -5
- package/dist/types/components/data-display/Avatar/Avatar.base.d.ts +87 -0
- package/dist/types/components/data-display/Avatar/Avatar.base.d.ts.map +1 -0
- package/dist/types/components/data-display/Avatar/Avatar.d.ts.map +1 -1
- package/dist/types/components/data-display/Avatar/Avatar.helpers.d.ts +37 -0
- package/dist/types/components/data-display/Avatar/Avatar.helpers.d.ts.map +1 -0
- package/dist/types/components/data-display/Avatar/Avatar.metrics.d.ts +113 -0
- package/dist/types/components/data-display/Avatar/Avatar.metrics.d.ts.map +1 -0
- package/dist/types/components/data-display/Avatar/Avatar.types.d.ts +4 -68
- package/dist/types/components/data-display/Avatar/Avatar.types.d.ts.map +1 -1
- package/dist/types/components/data-display/Avatar/Avatar.view.d.ts +2 -2
- package/dist/types/components/data-display/Avatar/Avatar.view.d.ts.map +1 -1
- package/dist/types/components/data-display/Avatar/index.d.ts +1 -1
- package/dist/types/components/data-display/Avatar/index.d.ts.map +1 -1
- package/dist/types/components/data-display/Badge/Badge.animations.d.ts.map +1 -1
- package/dist/types/components/data-display/Badge/Badge.base.d.ts +101 -0
- package/dist/types/components/data-display/Badge/Badge.base.d.ts.map +1 -0
- package/dist/types/components/data-display/Badge/Badge.d.ts.map +1 -1
- package/dist/types/components/data-display/Badge/Badge.helpers.d.ts +10 -4
- package/dist/types/components/data-display/Badge/Badge.helpers.d.ts.map +1 -1
- package/dist/types/components/data-display/Badge/Badge.metrics.d.ts +111 -0
- package/dist/types/components/data-display/Badge/Badge.metrics.d.ts.map +1 -0
- package/dist/types/components/data-display/Badge/Badge.styles.d.ts +1 -4
- package/dist/types/components/data-display/Badge/Badge.styles.d.ts.map +1 -1
- package/dist/types/components/data-display/Badge/Badge.types.d.ts +4 -81
- package/dist/types/components/data-display/Badge/Badge.types.d.ts.map +1 -1
- package/dist/types/components/data-display/Badge/Badge.variants.d.ts.map +1 -1
- package/dist/types/components/data-display/Badge/BadgeContent.d.ts.map +1 -1
- package/dist/types/components/data-display/Badge/index.d.ts +1 -1
- package/dist/types/components/data-display/Badge/index.d.ts.map +1 -1
- package/dist/types/components/data-display/Chip/Chip.base.d.ts +81 -0
- package/dist/types/components/data-display/Chip/Chip.base.d.ts.map +1 -0
- package/dist/types/components/data-display/Chip/Chip.d.ts.map +1 -1
- package/dist/types/components/data-display/Chip/Chip.helpers.d.ts +14 -28
- package/dist/types/components/data-display/Chip/Chip.helpers.d.ts.map +1 -1
- package/dist/types/components/data-display/Chip/Chip.metrics.d.ts +61 -0
- package/dist/types/components/data-display/Chip/Chip.metrics.d.ts.map +1 -0
- package/dist/types/components/data-display/Chip/Chip.styles.d.ts +30 -0
- package/dist/types/components/data-display/Chip/Chip.styles.d.ts.map +1 -0
- package/dist/types/components/data-display/Chip/Chip.types.d.ts +4 -67
- package/dist/types/components/data-display/Chip/Chip.types.d.ts.map +1 -1
- package/dist/types/components/data-display/Chip/index.d.ts +1 -1
- package/dist/types/components/data-display/Chip/index.d.ts.map +1 -1
- package/dist/types/components/data-display/Progress/Progress.base.d.ts +72 -0
- package/dist/types/components/data-display/Progress/Progress.base.d.ts.map +1 -0
- package/dist/types/components/data-display/Progress/Progress.d.ts.map +1 -1
- package/dist/types/components/data-display/Progress/Progress.helpers.d.ts +15 -3
- package/dist/types/components/data-display/Progress/Progress.helpers.d.ts.map +1 -1
- package/dist/types/components/data-display/Progress/Progress.metrics.d.ts +91 -0
- package/dist/types/components/data-display/Progress/Progress.metrics.d.ts.map +1 -0
- package/dist/types/components/data-display/Progress/Progress.styles.d.ts.map +1 -1
- package/dist/types/components/data-display/Progress/Progress.types.d.ts +4 -48
- package/dist/types/components/data-display/Progress/Progress.types.d.ts.map +1 -1
- package/dist/types/components/data-display/Progress/index.d.ts +1 -1
- package/dist/types/components/data-display/Progress/index.d.ts.map +1 -1
- package/dist/types/components/form/Checkbox/Checkbox.base.d.ts +36 -0
- package/dist/types/components/form/Checkbox/Checkbox.base.d.ts.map +1 -0
- package/dist/types/components/form/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/types/components/form/Checkbox/Checkbox.helpers.d.ts +9 -3
- package/dist/types/components/form/Checkbox/Checkbox.helpers.d.ts.map +1 -1
- package/dist/types/components/form/Checkbox/Checkbox.metrics.d.ts +92 -0
- package/dist/types/components/form/Checkbox/Checkbox.metrics.d.ts.map +1 -0
- package/dist/types/components/form/Checkbox/Checkbox.types.d.ts +8 -10
- package/dist/types/components/form/Checkbox/Checkbox.types.d.ts.map +1 -1
- package/dist/types/components/form/Checkbox/index.d.ts +1 -1
- package/dist/types/components/form/Checkbox/index.d.ts.map +1 -1
- package/dist/types/components/form/Input/Input.base.d.ts +62 -0
- package/dist/types/components/form/Input/Input.base.d.ts.map +1 -0
- package/dist/types/components/form/Input/Input.d.ts.map +1 -1
- package/dist/types/components/form/Input/Input.helpers.d.ts +11 -0
- package/dist/types/components/form/Input/Input.helpers.d.ts.map +1 -0
- package/dist/types/components/form/Input/Input.metrics.d.ts +186 -0
- package/dist/types/components/form/Input/Input.metrics.d.ts.map +1 -0
- package/dist/types/components/form/Input/Input.styles.d.ts +1 -35
- package/dist/types/components/form/Input/Input.styles.d.ts.map +1 -1
- package/dist/types/components/form/Input/Input.types.d.ts +12 -17
- package/dist/types/components/form/Input/Input.types.d.ts.map +1 -1
- package/dist/types/components/form/Input/index.d.ts +1 -1
- package/dist/types/components/form/Input/index.d.ts.map +1 -1
- package/dist/types/components/form/Select/Select.base.d.ts +75 -0
- package/dist/types/components/form/Select/Select.base.d.ts.map +1 -0
- package/dist/types/components/form/Select/Select.d.ts.map +1 -1
- package/dist/types/components/form/Select/Select.helpers.d.ts +36 -0
- package/dist/types/components/form/Select/Select.helpers.d.ts.map +1 -0
- package/dist/types/components/form/Select/Select.metrics.d.ts +72 -0
- package/dist/types/components/form/Select/Select.metrics.d.ts.map +1 -0
- package/dist/types/components/form/Select/Select.types.d.ts +12 -49
- package/dist/types/components/form/Select/Select.types.d.ts.map +1 -1
- package/dist/types/components/form/Select/index.d.ts +1 -1
- package/dist/types/components/form/Select/index.d.ts.map +1 -1
- package/dist/types/components/form/Switch/Switch.base.d.ts +111 -0
- package/dist/types/components/form/Switch/Switch.base.d.ts.map +1 -0
- package/dist/types/components/form/Switch/Switch.d.ts.map +1 -1
- package/dist/types/components/form/Switch/Switch.helpers.d.ts +17 -0
- package/dist/types/components/form/Switch/Switch.helpers.d.ts.map +1 -0
- package/dist/types/components/form/Switch/Switch.metrics.d.ts +194 -0
- package/dist/types/components/form/Switch/Switch.metrics.d.ts.map +1 -0
- package/dist/types/components/form/Switch/Switch.parts.d.ts.map +1 -1
- package/dist/types/components/form/Switch/Switch.styles.d.ts +5 -3
- package/dist/types/components/form/Switch/Switch.styles.d.ts.map +1 -1
- package/dist/types/components/form/Switch/Switch.types.d.ts +9 -91
- package/dist/types/components/form/Switch/Switch.types.d.ts.map +1 -1
- package/dist/types/components/form/Switch/index.d.ts +1 -1
- package/dist/types/components/form/Switch/index.d.ts.map +1 -1
- package/dist/types/components/layout/Skeleton/Skeleton.base.d.ts +37 -0
- package/dist/types/components/layout/Skeleton/Skeleton.base.d.ts.map +1 -0
- package/dist/types/components/layout/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/types/components/layout/Skeleton/Skeleton.helpers.d.ts +13 -3
- package/dist/types/components/layout/Skeleton/Skeleton.helpers.d.ts.map +1 -1
- package/dist/types/components/layout/Skeleton/Skeleton.metrics.d.ts +68 -0
- package/dist/types/components/layout/Skeleton/Skeleton.metrics.d.ts.map +1 -0
- package/dist/types/components/layout/Skeleton/Skeleton.styles.d.ts +1 -1
- package/dist/types/components/layout/Skeleton/Skeleton.styles.d.ts.map +1 -1
- package/dist/types/components/layout/Skeleton/Skeleton.types.d.ts +5 -15
- package/dist/types/components/layout/Skeleton/Skeleton.types.d.ts.map +1 -1
- package/dist/types/components/layout/Skeleton/index.d.ts +1 -1
- package/dist/types/components/layout/Skeleton/index.d.ts.map +1 -1
- package/dist/types/icons/paths.generated.d.ts +6 -0
- package/dist/types/icons/paths.generated.d.ts.map +1 -1
- package/dist/types/platform/animation.d.ts +14 -0
- package/dist/types/platform/animation.d.ts.map +1 -0
- package/dist/types/platform/aria.d.ts +59 -1
- package/dist/types/platform/aria.d.ts.map +1 -1
- package/dist/types/platform/test-id.d.ts +10 -0
- package/dist/types/platform/test-id.d.ts.map +1 -1
- package/dist/types/platform/web-keys.d.ts +25 -0
- package/dist/types/platform/web-keys.d.ts.map +1 -0
- package/dist/types/tokens/field-edge.core.d.ts +27 -0
- package/dist/types/tokens/field-edge.core.d.ts.map +1 -0
- package/dist/types/tokens/field-edge.d.ts +8 -9
- package/dist/types/tokens/field-edge.d.ts.map +1 -1
- package/dist/types/tokens/mui-type.d.ts +1 -1
- package/dist/types/tokens/mui-type.d.ts.map +1 -1
- package/dist/types-native/components/data-display/Avatar/Avatar.base.d.ts +87 -0
- package/dist/types-native/components/data-display/Avatar/Avatar.base.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Avatar/Avatar.helpers.d.ts +37 -0
- package/dist/types-native/components/data-display/Avatar/Avatar.helpers.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Avatar/Avatar.look.native.d.ts +25 -0
- package/dist/types-native/components/data-display/Avatar/Avatar.look.native.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Avatar/Avatar.metrics.d.ts +113 -0
- package/dist/types-native/components/data-display/Avatar/Avatar.metrics.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Avatar/Avatar.native.d.ts +19 -0
- package/dist/types-native/components/data-display/Avatar/Avatar.native.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Avatar/Avatar.parts.native.d.ts +69 -0
- package/dist/types-native/components/data-display/Avatar/Avatar.parts.native.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Avatar/Avatar.types.native.d.ts +24 -0
- package/dist/types-native/components/data-display/Avatar/Avatar.types.native.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Avatar/index.native.d.ts +3 -0
- package/dist/types-native/components/data-display/Avatar/index.native.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Badge/Badge.base.d.ts +101 -0
- package/dist/types-native/components/data-display/Badge/Badge.base.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Badge/Badge.helpers.d.ts +19 -0
- package/dist/types-native/components/data-display/Badge/Badge.helpers.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Badge/Badge.look.native.d.ts +31 -0
- package/dist/types-native/components/data-display/Badge/Badge.look.native.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Badge/Badge.metrics.d.ts +111 -0
- package/dist/types-native/components/data-display/Badge/Badge.metrics.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Badge/Badge.native.d.ts +10 -0
- package/dist/types-native/components/data-display/Badge/Badge.native.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Badge/Badge.types.native.d.ts +8 -0
- package/dist/types-native/components/data-display/Badge/Badge.types.native.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Badge/BadgeContent.native.d.ts +20 -0
- package/dist/types-native/components/data-display/Badge/BadgeContent.native.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Badge/index.native.d.ts +3 -0
- package/dist/types-native/components/data-display/Badge/index.native.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Chip/Chip.base.d.ts +81 -0
- package/dist/types-native/components/data-display/Chip/Chip.base.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Chip/Chip.helpers.d.ts +22 -0
- package/dist/types-native/components/data-display/Chip/Chip.helpers.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Chip/Chip.look.native.d.ts +29 -0
- package/dist/types-native/components/data-display/Chip/Chip.look.native.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Chip/Chip.metrics.d.ts +61 -0
- package/dist/types-native/components/data-display/Chip/Chip.metrics.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Chip/Chip.native.d.ts +11 -0
- package/dist/types-native/components/data-display/Chip/Chip.native.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Chip/Chip.types.native.d.ts +20 -0
- package/dist/types-native/components/data-display/Chip/Chip.types.native.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Chip/index.native.d.ts +3 -0
- package/dist/types-native/components/data-display/Chip/index.native.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Progress/Progress.base.d.ts +72 -0
- package/dist/types-native/components/data-display/Progress/Progress.base.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Progress/Progress.helpers.d.ts +18 -0
- package/dist/types-native/components/data-display/Progress/Progress.helpers.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Progress/Progress.look.native.d.ts +28 -0
- package/dist/types-native/components/data-display/Progress/Progress.look.native.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Progress/Progress.metrics.d.ts +91 -0
- package/dist/types-native/components/data-display/Progress/Progress.metrics.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Progress/Progress.native.d.ts +10 -0
- package/dist/types-native/components/data-display/Progress/Progress.native.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Progress/Progress.types.native.d.ts +8 -0
- package/dist/types-native/components/data-display/Progress/Progress.types.native.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Progress/index.native.d.ts +3 -0
- package/dist/types-native/components/data-display/Progress/index.native.d.ts.map +1 -0
- package/dist/types-native/components/form/Checkbox/Checkbox.base.d.ts +36 -0
- package/dist/types-native/components/form/Checkbox/Checkbox.base.d.ts.map +1 -0
- package/dist/types-native/components/form/Checkbox/Checkbox.helpers.d.ts +13 -0
- package/dist/types-native/components/form/Checkbox/Checkbox.helpers.d.ts.map +1 -0
- package/dist/types-native/components/form/Checkbox/Checkbox.metrics.d.ts +92 -0
- package/dist/types-native/components/form/Checkbox/Checkbox.metrics.d.ts.map +1 -0
- package/dist/types-native/components/form/Checkbox/Checkbox.native.d.ts +21 -0
- package/dist/types-native/components/form/Checkbox/Checkbox.native.d.ts.map +1 -0
- package/dist/types-native/components/form/Checkbox/Checkbox.types.native.d.ts +27 -0
- package/dist/types-native/components/form/Checkbox/Checkbox.types.native.d.ts.map +1 -0
- package/dist/types-native/components/form/Checkbox/index.native.d.ts +3 -0
- package/dist/types-native/components/form/Checkbox/index.native.d.ts.map +1 -0
- package/dist/types-native/components/form/Input/Input.base.d.ts +62 -0
- package/dist/types-native/components/form/Input/Input.base.d.ts.map +1 -0
- package/dist/types-native/components/form/Input/Input.helpers.d.ts +11 -0
- package/dist/types-native/components/form/Input/Input.helpers.d.ts.map +1 -0
- package/dist/types-native/components/form/Input/Input.look.native.d.ts +61 -0
- package/dist/types-native/components/form/Input/Input.look.native.d.ts.map +1 -0
- package/dist/types-native/components/form/Input/Input.metrics.d.ts +186 -0
- package/dist/types-native/components/form/Input/Input.metrics.d.ts.map +1 -0
- package/dist/types-native/components/form/Input/Input.native.d.ts +22 -0
- package/dist/types-native/components/form/Input/Input.native.d.ts.map +1 -0
- package/dist/types-native/components/form/Input/Input.types.native.d.ts +20 -0
- package/dist/types-native/components/form/Input/Input.types.native.d.ts.map +1 -0
- package/dist/types-native/components/form/Input/index.native.d.ts +3 -0
- package/dist/types-native/components/form/Input/index.native.d.ts.map +1 -0
- package/dist/types-native/components/form/Select/Select.base.d.ts +75 -0
- package/dist/types-native/components/form/Select/Select.base.d.ts.map +1 -0
- package/dist/types-native/components/form/Select/Select.helpers.d.ts +36 -0
- package/dist/types-native/components/form/Select/Select.helpers.d.ts.map +1 -0
- package/dist/types-native/components/form/Select/Select.look.native.d.ts +26 -0
- package/dist/types-native/components/form/Select/Select.look.native.d.ts.map +1 -0
- package/dist/types-native/components/form/Select/Select.metrics.d.ts +72 -0
- package/dist/types-native/components/form/Select/Select.metrics.d.ts.map +1 -0
- package/dist/types-native/components/form/Select/Select.native.d.ts +21 -0
- package/dist/types-native/components/form/Select/Select.native.d.ts.map +1 -0
- package/dist/types-native/components/form/Select/Select.types.native.d.ts +29 -0
- package/dist/types-native/components/form/Select/Select.types.native.d.ts.map +1 -0
- package/dist/types-native/components/form/Select/index.native.d.ts +3 -0
- package/dist/types-native/components/form/Select/index.native.d.ts.map +1 -0
- package/dist/types-native/components/form/Switch/Switch.base.d.ts +111 -0
- package/dist/types-native/components/form/Switch/Switch.base.d.ts.map +1 -0
- package/dist/types-native/components/form/Switch/Switch.helpers.d.ts +17 -0
- package/dist/types-native/components/form/Switch/Switch.helpers.d.ts.map +1 -0
- package/dist/types-native/components/form/Switch/Switch.look.native.d.ts +43 -0
- package/dist/types-native/components/form/Switch/Switch.look.native.d.ts.map +1 -0
- package/dist/types-native/components/form/Switch/Switch.metrics.d.ts +194 -0
- package/dist/types-native/components/form/Switch/Switch.metrics.d.ts.map +1 -0
- package/dist/types-native/components/form/Switch/Switch.native.d.ts +20 -0
- package/dist/types-native/components/form/Switch/Switch.native.d.ts.map +1 -0
- package/dist/types-native/components/form/Switch/Switch.types.native.d.ts +27 -0
- package/dist/types-native/components/form/Switch/Switch.types.native.d.ts.map +1 -0
- package/dist/types-native/components/form/Switch/index.native.d.ts +3 -0
- package/dist/types-native/components/form/Switch/index.native.d.ts.map +1 -0
- package/dist/types-native/components/form/field-pulse.native.d.ts +18 -0
- package/dist/types-native/components/form/field-pulse.native.d.ts.map +1 -0
- package/dist/types-native/components/layout/Skeleton/Skeleton.base.d.ts +37 -0
- package/dist/types-native/components/layout/Skeleton/Skeleton.base.d.ts.map +1 -0
- package/dist/types-native/components/layout/Skeleton/Skeleton.helpers.d.ts +16 -0
- package/dist/types-native/components/layout/Skeleton/Skeleton.helpers.d.ts.map +1 -0
- package/dist/types-native/components/layout/Skeleton/Skeleton.metrics.d.ts +68 -0
- package/dist/types-native/components/layout/Skeleton/Skeleton.metrics.d.ts.map +1 -0
- package/dist/types-native/components/layout/Skeleton/Skeleton.native.d.ts +38 -0
- package/dist/types-native/components/layout/Skeleton/Skeleton.native.d.ts.map +1 -0
- package/dist/types-native/components/layout/Skeleton/Skeleton.types.native.d.ts +8 -0
- package/dist/types-native/components/layout/Skeleton/Skeleton.types.native.d.ts.map +1 -0
- package/dist/types-native/components/layout/Skeleton/index.native.d.ts +3 -0
- package/dist/types-native/components/layout/Skeleton/index.native.d.ts.map +1 -0
- package/dist/types-native/icons/paths.generated.d.ts +6 -0
- package/dist/types-native/icons/paths.generated.d.ts.map +1 -1
- package/dist/types-native/platform/animation.d.ts +14 -0
- package/dist/types-native/platform/animation.d.ts.map +1 -0
- package/dist/types-native/platform/aria.d.ts +59 -1
- package/dist/types-native/platform/aria.d.ts.map +1 -1
- package/dist/types-native/platform/test-id.d.ts +10 -0
- package/dist/types-native/platform/test-id.d.ts.map +1 -1
- package/dist/types-native/platform/web-keys.d.ts +25 -0
- package/dist/types-native/platform/web-keys.d.ts.map +1 -0
- package/dist/types-native/tokens/field-edge.core.d.ts +27 -0
- package/dist/types-native/tokens/field-edge.core.d.ts.map +1 -0
- package/dist/types-native/tokens/mui-type.d.ts +1 -1
- package/dist/types-native/tokens/mui-type.d.ts.map +1 -1
- package/dist/types-native/utils/withDefaults.d.ts +13 -0
- package/dist/types-native/utils/withDefaults.d.ts.map +1 -0
- package/dist/typography/Heading.js +2 -2
- package/dist/typography/Paragraph.js +2 -2
- package/dist/typography/Text.js +2 -2
- package/dist/user-avatar.js +8 -6
- package/dist/utility/InfiniteScroll.js +2 -2
- package/dist/utility/InstallPrompt.js +2 -2
- package/package.json +37 -1
- package/src/components/data-display/Avatar/Avatar.base.ts +108 -0
- package/src/components/data-display/Avatar/Avatar.helpers.ts +54 -0
- package/src/components/data-display/Avatar/Avatar.look.native.ts +123 -0
- package/src/components/data-display/Avatar/Avatar.metrics.ts +111 -0
- package/src/components/data-display/Avatar/Avatar.native.tsx +190 -0
- package/src/components/data-display/Avatar/Avatar.parts.native.tsx +243 -0
- package/src/components/data-display/Avatar/Avatar.tsx +34 -36
- package/src/components/data-display/Avatar/Avatar.types.native.ts +39 -0
- package/src/components/data-display/Avatar/Avatar.types.ts +12 -81
- package/src/components/data-display/Avatar/Avatar.view.tsx +61 -41
- package/src/components/data-display/Avatar/NATIVE-NOTES.md +11 -0
- package/src/components/data-display/Avatar/index.native.ts +10 -0
- package/src/components/data-display/Avatar/index.ts +8 -1
- package/src/components/data-display/Badge/Badge.animations.ts +11 -9
- package/src/components/data-display/Badge/Badge.base.ts +138 -0
- package/src/components/data-display/Badge/Badge.helpers.ts +18 -7
- package/src/components/data-display/Badge/Badge.look.native.ts +174 -0
- package/src/components/data-display/Badge/Badge.metrics.ts +116 -0
- package/src/components/data-display/Badge/Badge.native.tsx +212 -0
- package/src/components/data-display/Badge/Badge.styles.ts +63 -74
- package/src/components/data-display/Badge/Badge.tsx +12 -6
- package/src/components/data-display/Badge/Badge.types.native.ts +16 -0
- package/src/components/data-display/Badge/Badge.types.ts +27 -113
- package/src/components/data-display/Badge/Badge.variants.ts +20 -9
- package/src/components/data-display/Badge/BadgeContent.native.tsx +78 -0
- package/src/components/data-display/Badge/BadgeContent.tsx +8 -8
- package/src/components/data-display/Badge/NATIVE-NOTES.md +11 -0
- package/src/components/data-display/Badge/index.native.ts +8 -0
- package/src/components/data-display/Badge/index.ts +7 -1
- package/src/components/data-display/Chip/Chip.base.ts +99 -0
- package/src/components/data-display/Chip/Chip.helpers.ts +49 -0
- package/src/components/data-display/Chip/Chip.look.native.ts +163 -0
- package/src/components/data-display/Chip/Chip.metrics.ts +102 -0
- package/src/components/data-display/Chip/Chip.native.tsx +269 -0
- package/src/components/data-display/Chip/Chip.styles.tsx +103 -0
- package/src/components/data-display/Chip/Chip.tsx +10 -11
- package/src/components/data-display/Chip/Chip.types.native.ts +28 -0
- package/src/components/data-display/Chip/Chip.types.ts +5 -84
- package/src/components/data-display/Chip/NATIVE-NOTES.md +10 -0
- package/src/components/data-display/Chip/chip.md +1 -1
- package/src/components/data-display/Chip/index.native.ts +8 -0
- package/src/components/data-display/Chip/index.ts +1 -1
- package/src/components/data-display/Progress/NATIVE-NOTES.md +10 -0
- package/src/components/data-display/Progress/Progress.base.ts +86 -0
- package/src/components/data-display/Progress/Progress.helpers.ts +29 -8
- package/src/components/data-display/Progress/Progress.look.native.ts +111 -0
- package/src/components/data-display/Progress/Progress.metrics.ts +101 -0
- package/src/components/data-display/Progress/Progress.native.tsx +387 -0
- package/src/components/data-display/Progress/Progress.styles.ts +31 -17
- package/src/components/data-display/Progress/Progress.tsx +7 -6
- package/src/components/data-display/Progress/Progress.types.native.ts +11 -0
- package/src/components/data-display/Progress/Progress.types.ts +6 -58
- package/src/components/data-display/Progress/index.native.ts +7 -0
- package/src/components/data-display/Progress/index.ts +6 -1
- package/src/components/form/Checkbox/Checkbox.base.ts +36 -0
- package/src/components/form/Checkbox/Checkbox.helpers.ts +13 -13
- package/src/components/form/Checkbox/Checkbox.metrics.ts +73 -0
- package/src/components/form/Checkbox/Checkbox.native.tsx +246 -0
- package/src/components/form/Checkbox/Checkbox.tsx +34 -21
- package/src/components/form/Checkbox/Checkbox.types.native.ts +29 -0
- package/src/components/form/Checkbox/Checkbox.types.ts +12 -11
- package/src/components/form/Checkbox/NATIVE-NOTES.md +11 -0
- package/src/components/form/Checkbox/index.native.ts +8 -0
- package/src/components/form/Checkbox/index.ts +1 -1
- package/src/components/form/Input/Input.base.ts +84 -0
- package/src/components/form/Input/Input.helpers.ts +43 -0
- package/src/components/form/Input/Input.look.native.ts +246 -0
- package/src/components/form/Input/Input.metrics.ts +229 -0
- package/src/components/form/Input/Input.native.tsx +240 -0
- package/src/components/form/Input/Input.styles.ts +45 -51
- package/src/components/form/Input/Input.tsx +46 -42
- package/src/components/form/Input/Input.types.native.ts +29 -0
- package/src/components/form/Input/Input.types.ts +15 -17
- package/src/components/form/Input/NATIVE-NOTES.md +14 -0
- package/src/components/form/Input/index.native.ts +2 -0
- package/src/components/form/Input/index.ts +1 -1
- package/src/components/form/Select/NATIVE-NOTES.md +12 -0
- package/src/components/form/Select/Select.base.ts +78 -0
- package/src/components/form/Select/Select.helpers.ts +82 -0
- package/src/components/form/Select/Select.look.native.ts +99 -0
- package/src/components/form/Select/Select.metrics.ts +90 -0
- package/src/components/form/Select/Select.native.tsx +264 -0
- package/src/components/form/Select/Select.tsx +37 -25
- package/src/components/form/Select/Select.types.native.ts +30 -0
- package/src/components/form/Select/Select.types.ts +14 -51
- package/src/components/form/Select/index.native.ts +9 -0
- package/src/components/form/Select/index.ts +7 -1
- package/src/components/form/Switch/NATIVE-NOTES.md +12 -0
- package/src/components/form/Switch/Switch.base.ts +136 -0
- package/src/components/form/Switch/Switch.helpers.ts +61 -0
- package/src/components/form/Switch/Switch.look.native.ts +187 -0
- package/src/components/form/Switch/Switch.metrics.ts +191 -0
- package/src/components/form/Switch/Switch.native.tsx +360 -0
- package/src/components/form/Switch/Switch.parts.tsx +4 -4
- package/src/components/form/Switch/Switch.styles.ts +109 -147
- package/src/components/form/Switch/Switch.tsx +4 -2
- package/src/components/form/Switch/Switch.types.native.ts +34 -0
- package/src/components/form/Switch/Switch.types.ts +16 -117
- package/src/components/form/Switch/index.native.ts +8 -0
- package/src/components/form/Switch/index.ts +6 -1
- package/src/components/form/field-pulse.native.tsx +78 -0
- package/src/components/layout/Skeleton/NATIVE-NOTES.md +8 -0
- package/src/components/layout/Skeleton/Skeleton.base.ts +37 -0
- package/src/components/layout/Skeleton/Skeleton.helpers.ts +24 -8
- package/src/components/layout/Skeleton/Skeleton.metrics.ts +81 -0
- package/src/components/layout/Skeleton/Skeleton.native.tsx +271 -0
- package/src/components/layout/Skeleton/Skeleton.styles.ts +25 -25
- package/src/components/layout/Skeleton/Skeleton.tsx +9 -5
- package/src/components/layout/Skeleton/Skeleton.types.native.ts +16 -0
- package/src/components/layout/Skeleton/Skeleton.types.ts +13 -16
- package/src/components/layout/Skeleton/index.native.ts +8 -0
- package/src/components/layout/Skeleton/index.ts +7 -1
- package/src/icons/glyphs.json +6 -0
- package/src/icons/paths.generated.ts +6 -0
- package/src/platform/animation.ts +53 -0
- package/src/platform/aria.ts +72 -1
- package/src/platform/test-id.ts +13 -0
- package/src/platform/web-keys.ts +28 -0
- package/src/tokens/field-edge.core.ts +87 -0
- package/src/tokens/field-edge.ts +10 -66
- package/src/tokens/mui-type.ts +2 -1
- package/dist/chunk-2PCOC3PT.js +0 -146
- package/dist/chunk-2W4CIWTW.js +0 -216
- package/dist/chunk-37YPZHAG.js +0 -39
- package/dist/chunk-3HWL4AW4.js +0 -106
- package/dist/chunk-3HWL4AW4.js.map +0 -1
- package/dist/chunk-43NEBUV3.js +0 -57
- package/dist/chunk-46UPILLK.js +0 -189
- package/dist/chunk-4FRZDSRD.js +0 -264
- package/dist/chunk-4N4ENTF7.js +0 -184
- package/dist/chunk-4Q7HWRR2.js +0 -220
- package/dist/chunk-4Q7HWRR2.js.map +0 -1
- package/dist/chunk-4SXZSSVV.js +0 -131
- package/dist/chunk-5HOJSVQH.js +0 -266
- package/dist/chunk-5SYD23V4.js +0 -170
- package/dist/chunk-64IEKEMQ.js +0 -170
- package/dist/chunk-6D5WEZ2L.js +0 -219
- package/dist/chunk-6DXYCXH4.js +0 -88
- package/dist/chunk-6XPNJLXE.js +0 -98
- package/dist/chunk-72NOM3O2.js +0 -198
- package/dist/chunk-72UYVJBQ.js +0 -72
- package/dist/chunk-7AR2R7TV.js +0 -116
- package/dist/chunk-7DBFEZRC.js +0 -337
- package/dist/chunk-7DNQHMDO.js +0 -215
- package/dist/chunk-7WL24VNI.js +0 -170
- package/dist/chunk-ACDYA5WC.js +0 -79
- package/dist/chunk-AP4FLCLA.js +0 -267
- package/dist/chunk-B443IIQG.js +0 -167
- package/dist/chunk-BJ3J6FTN.js +0 -163
- package/dist/chunk-BJ3J6FTN.js.map +0 -1
- package/dist/chunk-BUDXR3EV.js +0 -182
- package/dist/chunk-BVZVH3ZN.js +0 -38
- package/dist/chunk-C6XESZ3R.js +0 -223
- package/dist/chunk-CDJPDZCA.js +0 -203
- package/dist/chunk-CLNTJM3F.js +0 -157
- package/dist/chunk-CRNQVWIT.js +0 -136
- package/dist/chunk-D7FJ2GAD.js +0 -54
- package/dist/chunk-DCEMUZJQ.js +0 -167
- package/dist/chunk-DLFOEXUP.js +0 -28
- package/dist/chunk-DOADQW7I.js +0 -246
- package/dist/chunk-DQHC5P64.js +0 -225
- package/dist/chunk-DTKMBI7B.js +0 -240
- package/dist/chunk-DX527XPL.js +0 -191
- package/dist/chunk-DZN3JF5E.js +0 -231
- package/dist/chunk-E27Y7FF2.js +0 -270
- package/dist/chunk-E5ZHW4I5.js +0 -124
- package/dist/chunk-EMNGIYH6.js +0 -107
- package/dist/chunk-ENNW5SKT.js +0 -39
- package/dist/chunk-ES2RN7YV.js +0 -82
- package/dist/chunk-EXJBPKGW.js +0 -60
- package/dist/chunk-FCOEJCUP.js +0 -332
- package/dist/chunk-FS4X3VDA.js +0 -78
- package/dist/chunk-FS4X3VDA.js.map +0 -1
- package/dist/chunk-FWCUELBU.js +0 -125
- package/dist/chunk-FX5DY6VR.js +0 -114
- package/dist/chunk-FX5DY6VR.js.map +0 -1
- package/dist/chunk-GBB6XQ56.js +0 -99
- package/dist/chunk-GBFGZJB5.js +0 -184
- package/dist/chunk-GCJLMX63.js +0 -41
- package/dist/chunk-GGE7Y53F.js +0 -147
- package/dist/chunk-GOWBYHYW.js +0 -152
- package/dist/chunk-GSFNH4C5.js +0 -84
- package/dist/chunk-H2EQVMU3.js +0 -49
- package/dist/chunk-HAFE43QJ.js +0 -21
- package/dist/chunk-HAFE43QJ.js.map +0 -1
- package/dist/chunk-HBAPVB7T.js +0 -59
- package/dist/chunk-HBZIN6IQ.js +0 -96
- package/dist/chunk-HEK4LQT6.js +0 -69
- package/dist/chunk-HKFMPEXJ.js +0 -68
- package/dist/chunk-HKFMPEXJ.js.map +0 -1
- package/dist/chunk-HKV4MQ2W.js +0 -51
- package/dist/chunk-HKZHEK3Z.js +0 -77
- package/dist/chunk-HP2ODXNA.js +0 -34
- package/dist/chunk-HXYXDQ7U.js +0 -19
- package/dist/chunk-HXYXDQ7U.js.map +0 -1
- package/dist/chunk-IIOEQRXX.js +0 -142
- package/dist/chunk-IRDGC7FK.js +0 -74
- package/dist/chunk-IRDGC7FK.js.map +0 -1
- package/dist/chunk-ISSJNFJV.js +0 -80
- package/dist/chunk-J4W4TQPC.js +0 -108
- package/dist/chunk-J6UFAMIC.js +0 -19
- package/dist/chunk-JB67KPGM.js +0 -64
- package/dist/chunk-JD364H3Y.js +0 -18
- package/dist/chunk-JD364H3Y.js.map +0 -1
- package/dist/chunk-JE6RZ5L6.js +0 -157
- package/dist/chunk-JZKOJZ6V.js +0 -87
- package/dist/chunk-JZKOJZ6V.js.map +0 -1
- package/dist/chunk-KADJNWTQ.js +0 -165
- package/dist/chunk-KKYW3LU7.js +0 -177
- package/dist/chunk-KPQAPQH6.js +0 -238
- package/dist/chunk-KPQAPQH6.js.map +0 -1
- package/dist/chunk-KSF7TLXH.js +0 -155
- package/dist/chunk-L65LF6LN.js +0 -55
- package/dist/chunk-L6KEVPXN.js +0 -172
- package/dist/chunk-L6KEVPXN.js.map +0 -1
- package/dist/chunk-LDE4ELB5.js +0 -181
- package/dist/chunk-LIOVN5IM.js +0 -67
- package/dist/chunk-LYNJJV2X.js +0 -257
- package/dist/chunk-LYNJJV2X.js.map +0 -1
- package/dist/chunk-LYSSO6WC.js +0 -132
- package/dist/chunk-M3RIC6JI.js +0 -105
- package/dist/chunk-M3RIC6JI.js.map +0 -1
- package/dist/chunk-MHFJBNDP.js +0 -158
- package/dist/chunk-MLOWPVVW.js +0 -44
- package/dist/chunk-MLOWPVVW.js.map +0 -1
- package/dist/chunk-MMZAGB64.js +0 -41
- package/dist/chunk-MMZAGB64.js.map +0 -1
- package/dist/chunk-MQUU2XZB.js +0 -146
- package/dist/chunk-N4WANJI3.js +0 -173
- package/dist/chunk-NECUCG2S.js +0 -240
- package/dist/chunk-NFHS77NE.js +0 -32
- package/dist/chunk-NQC6H7GY.js +0 -147
- package/dist/chunk-NQHOHQCY.js +0 -71
- package/dist/chunk-NQHOHQCY.js.map +0 -1
- package/dist/chunk-OAXAF4VY.js +0 -161
- package/dist/chunk-OI3HOI74.js +0 -161
- package/dist/chunk-OR7UH2ZQ.js +0 -30
- package/dist/chunk-OZWQNFG6.js +0 -68
- package/dist/chunk-PC3ZFERM.js +0 -183
- package/dist/chunk-PMS3H3OO.js +0 -131
- package/dist/chunk-PNYXXLPU.js +0 -64
- package/dist/chunk-PQECNGDE.js +0 -56
- package/dist/chunk-PU3AAKRR.js +0 -80
- package/dist/chunk-Q5EQC7NL.js +0 -157
- package/dist/chunk-Q5EQC7NL.js.map +0 -1
- package/dist/chunk-QIV73V2X.js +0 -167
- package/dist/chunk-QIV73V2X.js.map +0 -1
- package/dist/chunk-QJJUTBKZ.js +0 -297
- package/dist/chunk-QLWBQQW7.js +0 -18
- package/dist/chunk-QLWBQQW7.js.map +0 -1
- package/dist/chunk-QYNCPS5W.js +0 -62
- package/dist/chunk-QZBUGUOY.js +0 -282
- package/dist/chunk-QZPNQWS2.js +0 -21
- package/dist/chunk-RBGOGTT2.js +0 -194
- package/dist/chunk-RLC46NIW.js +0 -47
- package/dist/chunk-RLC46NIW.js.map +0 -1
- package/dist/chunk-RMSH2I3O.js +0 -174
- package/dist/chunk-RMSH2I3O.js.map +0 -1
- package/dist/chunk-RXSGHPCR.js +0 -304
- package/dist/chunk-S7HRED4D.js +0 -49
- package/dist/chunk-SEH7KOVG.js +0 -70
- package/dist/chunk-SG6VULKS.js +0 -175
- package/dist/chunk-SL4NFGOL.js +0 -114
- package/dist/chunk-SM3NRN7L.js +0 -247
- package/dist/chunk-SOHDPFOB.js +0 -173
- package/dist/chunk-SX3V2DLV.js +0 -85
- package/dist/chunk-TBWEIQUR.js +0 -263
- package/dist/chunk-TBWEIQUR.js.map +0 -1
- package/dist/chunk-THBT56JE.js +0 -190
- package/dist/chunk-UEJQQVP2.js +0 -59
- package/dist/chunk-UF27D35R.js +0 -53
- package/dist/chunk-UMDXGIRZ.js +0 -243
- package/dist/chunk-UNF65XZW.js +0 -134
- package/dist/chunk-URWGRPL7.js +0 -34
- package/dist/chunk-UXQW6ZIN.js +0 -203
- package/dist/chunk-V3SBJ3PB.js +0 -109
- package/dist/chunk-VJK5FBNK.js +0 -46
- package/dist/chunk-VOOPGAQO.js +0 -83
- package/dist/chunk-VSLUFBMT.js +0 -206
- package/dist/chunk-VSLUFBMT.js.map +0 -1
- package/dist/chunk-W3FAKT3D.js +0 -167
- package/dist/chunk-WEH5TCPE.js +0 -183
- package/dist/chunk-WPR2HS5B.js +0 -33
- package/dist/chunk-WZUNBSS7.js +0 -315
- package/dist/chunk-X2J6MRJW.js +0 -196
- package/dist/chunk-X5D3PTWI.js +0 -58
- package/dist/chunk-X5MPHXG5.js +0 -118
- package/dist/chunk-XELVDPKL.js +0 -193
- package/dist/chunk-XFUNJYFT.js +0 -161
- package/dist/chunk-XXJRT6BP.js +0 -138
- package/dist/chunk-Y6KPZQPI.js +0 -155
- package/dist/chunk-YLDS5FOQ.js +0 -165
- package/dist/chunk-YVW7VPK4.js +0 -82
- package/dist/chunk-Z7JNCB5Q.js +0 -64
- package/dist/chunk-ZBNTFWTG.js +0 -91
- package/dist/chunk-ZBOFBRZC.js +0 -41
- package/dist/chunk-ZGEBIC5X.js +0 -84
- package/dist/chunk-ZGEBIC5X.js.map +0 -1
- package/dist/chunk-ZHEJLUCX.js +0 -87
- package/dist/chunk-ZHEJLUCX.js.map +0 -1
- package/dist/chunk-ZIOCRSHU.js +0 -268
- package/dist/chunk-ZRFRU545.js +0 -92
- package/dist/native/chunks/chunk-4NK5ZQZ3.js +0 -10
- package/dist/native/chunks/chunk-4NK5ZQZ3.js.map +0 -1
- package/dist/native/chunks/chunk-EKKNUEA6.js +0 -136
- package/dist/native/chunks/chunk-M4DTJDWU.js +0 -18
- package/dist/native/chunks/chunk-M4DTJDWU.js.map +0 -1
- package/dist/native/chunks/chunk-UKCCYP52.js +0 -318
- package/dist/native/chunks/chunk-V4DQTC5L.js +0 -24
- package/dist/native/chunks/chunk-V4DQTC5L.js.map +0 -1
- package/dist/native/chunks/chunk-YQGNMAJN.js +0 -108
- package/dist/native/chunks/chunk-YQGNMAJN.js.map +0 -1
- package/src/components/data-display/Chip/Chip.helpers.tsx +0 -131
- /package/dist/{chunk-2PCOC3PT.js.map → chunk-26Z7QWID.js.map} +0 -0
- /package/dist/{chunk-72UYVJBQ.js.map → chunk-2QFTAGDH.js.map} +0 -0
- /package/dist/{chunk-ENNW5SKT.js.map → chunk-2QLVUVVR.js.map} +0 -0
- /package/dist/{chunk-W3FAKT3D.js.map → chunk-2SWQ6HIK.js.map} +0 -0
- /package/dist/{chunk-OR7UH2ZQ.js.map → chunk-3UOHKHOT.js.map} +0 -0
- /package/dist/{chunk-URWGRPL7.js.map → chunk-3W7IEWEL.js.map} +0 -0
- /package/dist/{chunk-Z7JNCB5Q.js.map → chunk-426FTCMF.js.map} +0 -0
- /package/dist/{chunk-46UPILLK.js.map → chunk-4ETQRBZC.js.map} +0 -0
- /package/dist/{chunk-NQC6H7GY.js.map → chunk-4HYXEMBP.js.map} +0 -0
- /package/dist/{chunk-43NEBUV3.js.map → chunk-4K7FDVAB.js.map} +0 -0
- /package/dist/{chunk-OAXAF4VY.js.map → chunk-4MLDWACO.js.map} +0 -0
- /package/dist/{chunk-GGE7Y53F.js.map → chunk-4TXIZ5WI.js.map} +0 -0
- /package/dist/{chunk-J6UFAMIC.js.map → chunk-5RQ7N63M.js.map} +0 -0
- /package/dist/{chunk-JE6RZ5L6.js.map → chunk-5ZOJLYD2.js.map} +0 -0
- /package/dist/{chunk-C6XESZ3R.js.map → chunk-6RGWDKUL.js.map} +0 -0
- /package/dist/{chunk-DCEMUZJQ.js.map → chunk-6WIDZGXE.js.map} +0 -0
- /package/dist/{chunk-DTKMBI7B.js.map → chunk-6YLAVHV4.js.map} +0 -0
- /package/dist/{chunk-E27Y7FF2.js.map → chunk-6Z4H2Y77.js.map} +0 -0
- /package/dist/{chunk-PNYXXLPU.js.map → chunk-736HP6BL.js.map} +0 -0
- /package/dist/{chunk-ISSJNFJV.js.map → chunk-77F36LQQ.js.map} +0 -0
- /package/dist/{chunk-RXSGHPCR.js.map → chunk-7FOOLP5H.js.map} +0 -0
- /package/dist/{chunk-BVZVH3ZN.js.map → chunk-7KTU6YMQ.js.map} +0 -0
- /package/dist/{chunk-X5D3PTWI.js.map → chunk-7MAOQIWA.js.map} +0 -0
- /package/dist/{chunk-LDE4ELB5.js.map → chunk-7ZH7ZB33.js.map} +0 -0
- /package/dist/{chunk-PQECNGDE.js.map → chunk-AGYGNNOM.js.map} +0 -0
- /package/dist/{chunk-PU3AAKRR.js.map → chunk-AJ6XEO4E.js.map} +0 -0
- /package/dist/{chunk-ZBOFBRZC.js.map → chunk-B3BK2SNS.js.map} +0 -0
- /package/dist/{chunk-VJK5FBNK.js.map → chunk-B5PYBEXO.js.map} +0 -0
- /package/dist/{chunk-DZN3JF5E.js.map → chunk-BBC4KT5G.js.map} +0 -0
- /package/dist/{chunk-KKYW3LU7.js.map → chunk-BDVNAU2C.js.map} +0 -0
- /package/dist/{chunk-64IEKEMQ.js.map → chunk-BEGWE5O4.js.map} +0 -0
- /package/dist/{chunk-E5ZHW4I5.js.map → chunk-BEH4DN63.js.map} +0 -0
- /package/dist/{chunk-HKV4MQ2W.js.map → chunk-BLBOYCOV.js.map} +0 -0
- /package/dist/{chunk-SL4NFGOL.js.map → chunk-BNNSO4MC.js.map} +0 -0
- /package/dist/{chunk-KSF7TLXH.js.map → chunk-BQQONDW5.js.map} +0 -0
- /package/dist/{chunk-DQHC5P64.js.map → chunk-BRSF5NRT.js.map} +0 -0
- /package/dist/{chunk-CLNTJM3F.js.map → chunk-CXVMD6FE.js.map} +0 -0
- /package/dist/{chunk-LYSSO6WC.js.map → chunk-CZPU5TW3.js.map} +0 -0
- /package/dist/{chunk-DOADQW7I.js.map → chunk-D4T646G4.js.map} +0 -0
- /package/dist/{chunk-2W4CIWTW.js.map → chunk-DBYFC6CF.js.map} +0 -0
- /package/dist/{chunk-PMS3H3OO.js.map → chunk-DF2FFYZ7.js.map} +0 -0
- /package/dist/{chunk-FWCUELBU.js.map → chunk-DH75UNF3.js.map} +0 -0
- /package/dist/{chunk-XFUNJYFT.js.map → chunk-EPNUVSNK.js.map} +0 -0
- /package/dist/{chunk-6D5WEZ2L.js.map → chunk-FB36IHCE.js.map} +0 -0
- /package/dist/{chunk-OI3HOI74.js.map → chunk-FGUESLDX.js.map} +0 -0
- /package/dist/{chunk-PC3ZFERM.js.map → chunk-FINCVAAR.js.map} +0 -0
- /package/dist/{chunk-72NOM3O2.js.map → chunk-FRQ4HNGF.js.map} +0 -0
- /package/dist/{chunk-MHFJBNDP.js.map → chunk-G2IPK2XE.js.map} +0 -0
- /package/dist/{chunk-UNF65XZW.js.map → chunk-GBRKP5GZ.js.map} +0 -0
- /package/dist/{chunk-S7HRED4D.js.map → chunk-GCXYCDOA.js.map} +0 -0
- /package/dist/{chunk-H2EQVMU3.js.map → chunk-GDEXYUPF.js.map} +0 -0
- /package/dist/{chunk-4N4ENTF7.js.map → chunk-GO4MVQGC.js.map} +0 -0
- /package/dist/{chunk-7WL24VNI.js.map → chunk-GT7C6TSM.js.map} +0 -0
- /package/dist/{chunk-HBAPVB7T.js.map → chunk-HKKSZ7HG.js.map} +0 -0
- /package/dist/{chunk-CDJPDZCA.js.map → chunk-I3MDKPGG.js.map} +0 -0
- /package/dist/{chunk-B443IIQG.js.map → chunk-IE7ISTLQ.js.map} +0 -0
- /package/dist/{chunk-D7FJ2GAD.js.map → chunk-IFNK5TPI.js.map} +0 -0
- /package/dist/{chunk-OZWQNFG6.js.map → chunk-IH4RSRQA.js.map} +0 -0
- /package/dist/{chunk-UF27D35R.js.map → chunk-IIROZKW5.js.map} +0 -0
- /package/dist/{chunk-37YPZHAG.js.map → chunk-JDMYD6QC.js.map} +0 -0
- /package/dist/{chunk-ZIOCRSHU.js.map → chunk-JIINGMEB.js.map} +0 -0
- /package/dist/{chunk-ES2RN7YV.js.map → chunk-JXAYT6LX.js.map} +0 -0
- /package/dist/{chunk-ZBNTFWTG.js.map → chunk-KIHQE5YA.js.map} +0 -0
- /package/dist/{chunk-WZUNBSS7.js.map → chunk-KT6HWAEN.js.map} +0 -0
- /package/dist/{chunk-6XPNJLXE.js.map → chunk-NARIG5FL.js.map} +0 -0
- /package/dist/{chunk-UXQW6ZIN.js.map → chunk-NUE774AN.js.map} +0 -0
- /package/dist/{chunk-SG6VULKS.js.map → chunk-OCXCH2ZW.js.map} +0 -0
- /package/dist/{chunk-EMNGIYH6.js.map → chunk-OH3YGJT5.js.map} +0 -0
- /package/dist/{chunk-SM3NRN7L.js.map → chunk-ON2CMKTI.js.map} +0 -0
- /package/dist/{chunk-GCJLMX63.js.map → chunk-OOGEYCJH.js.map} +0 -0
- /package/dist/{chunk-MQUU2XZB.js.map → chunk-OQFSYMHJ.js.map} +0 -0
- /package/dist/{chunk-AP4FLCLA.js.map → chunk-P6IPJYCS.js.map} +0 -0
- /package/dist/{chunk-THBT56JE.js.map → chunk-PANMJFDS.js.map} +0 -0
- /package/dist/{chunk-KADJNWTQ.js.map → chunk-PF5HDFYY.js.map} +0 -0
- /package/dist/{chunk-YVW7VPK4.js.map → chunk-PFLKPNBU.js.map} +0 -0
- /package/dist/{chunk-DLFOEXUP.js.map → chunk-PWXL3QQ6.js.map} +0 -0
- /package/dist/{chunk-7DNQHMDO.js.map → chunk-PXH24VIP.js.map} +0 -0
- /package/dist/{chunk-HBZIN6IQ.js.map → chunk-PZEC5CQA.js.map} +0 -0
- /package/dist/{chunk-IIOEQRXX.js.map → chunk-QFHH2NU5.js.map} +0 -0
- /package/dist/{chunk-GBB6XQ56.js.map → chunk-QGBMCB76.js.map} +0 -0
- /package/dist/{chunk-Y6KPZQPI.js.map → chunk-QRX5BYUQ.js.map} +0 -0
- /package/dist/{chunk-NFHS77NE.js.map → chunk-QZDBWXZG.js.map} +0 -0
- /package/dist/{chunk-SOHDPFOB.js.map → chunk-R6RVBYTU.js.map} +0 -0
- /package/dist/{chunk-GOWBYHYW.js.map → chunk-R6SBP5M5.js.map} +0 -0
- /package/dist/{chunk-YLDS5FOQ.js.map → chunk-RPQ3W2C6.js.map} +0 -0
- /package/dist/{chunk-X5MPHXG5.js.map → chunk-RPWEXIAW.js.map} +0 -0
- /package/dist/{chunk-JB67KPGM.js.map → chunk-RRO2EOJB.js.map} +0 -0
- /package/dist/{chunk-UEJQQVP2.js.map → chunk-RRX6ZTNX.js.map} +0 -0
- /package/dist/{chunk-6DXYCXH4.js.map → chunk-RRZBATXK.js.map} +0 -0
- /package/dist/{chunk-HKZHEK3Z.js.map → chunk-SAHQLXNN.js.map} +0 -0
- /package/dist/{chunk-EXJBPKGW.js.map → chunk-SHDIZSN5.js.map} +0 -0
- /package/dist/{chunk-FCOEJCUP.js.map → chunk-TFO6GBW7.js.map} +0 -0
- /package/dist/{chunk-ZRFRU545.js.map → chunk-THZ2NAA4.js.map} +0 -0
- /package/dist/{chunk-WEH5TCPE.js.map → chunk-TP4N3X2Q.js.map} +0 -0
- /package/dist/{chunk-VOOPGAQO.js.map → chunk-TPIBJP4S.js.map} +0 -0
- /package/dist/{chunk-GBFGZJB5.js.map → chunk-TVO5STZB.js.map} +0 -0
- /package/dist/{chunk-5HOJSVQH.js.map → chunk-TZ4SFX3M.js.map} +0 -0
- /package/dist/{chunk-HEK4LQT6.js.map → chunk-UB76PBDF.js.map} +0 -0
- /package/dist/{chunk-XELVDPKL.js.map → chunk-UEIVXFUC.js.map} +0 -0
- /package/dist/{chunk-DX527XPL.js.map → chunk-UOPQOBQZ.js.map} +0 -0
- /package/dist/{chunk-J4W4TQPC.js.map → chunk-V5P5Q6HM.js.map} +0 -0
- /package/dist/{chunk-7DBFEZRC.js.map → chunk-VIK3HAUQ.js.map} +0 -0
- /package/dist/{chunk-WPR2HS5B.js.map → chunk-VPHOSIPB.js.map} +0 -0
- /package/dist/{chunk-HP2ODXNA.js.map → chunk-VR5HDUBK.js.map} +0 -0
- /package/dist/{chunk-SX3V2DLV.js.map → chunk-VWBWKLXX.js.map} +0 -0
- /package/dist/{chunk-QZPNQWS2.js.map → chunk-VWGR5XUP.js.map} +0 -0
- /package/dist/{chunk-SEH7KOVG.js.map → chunk-VXTYVJDK.js.map} +0 -0
- /package/dist/{chunk-RBGOGTT2.js.map → chunk-W2UTDN4T.js.map} +0 -0
- /package/dist/{chunk-QYNCPS5W.js.map → chunk-WBKWIFXA.js.map} +0 -0
- /package/dist/{chunk-XXJRT6BP.js.map → chunk-WMALDOF5.js.map} +0 -0
- /package/dist/{chunk-X2J6MRJW.js.map → chunk-WPZT2JD4.js.map} +0 -0
- /package/dist/{chunk-GSFNH4C5.js.map → chunk-WROCSDVL.js.map} +0 -0
- /package/dist/{chunk-QZBUGUOY.js.map → chunk-XEE7PLDR.js.map} +0 -0
- /package/dist/{chunk-CRNQVWIT.js.map → chunk-XFU2S6XT.js.map} +0 -0
- /package/dist/{chunk-NECUCG2S.js.map → chunk-XLJJ2ZAP.js.map} +0 -0
- /package/dist/{chunk-ACDYA5WC.js.map → chunk-XZTOIEKI.js.map} +0 -0
- /package/dist/{chunk-BUDXR3EV.js.map → chunk-Y46RBFBV.js.map} +0 -0
- /package/dist/{chunk-N4WANJI3.js.map → chunk-YCCKY5VW.js.map} +0 -0
- /package/dist/{chunk-5SYD23V4.js.map → chunk-YDI6IJ6F.js.map} +0 -0
- /package/dist/{chunk-V3SBJ3PB.js.map → chunk-Z5ABJLTM.js.map} +0 -0
- /package/dist/{chunk-QJJUTBKZ.js.map → chunk-Z6UEOSL7.js.map} +0 -0
- /package/dist/{chunk-7AR2R7TV.js.map → chunk-ZDWU52DJ.js.map} +0 -0
- /package/dist/{chunk-4SXZSSVV.js.map → chunk-ZFPJBKVZ.js.map} +0 -0
- /package/dist/{chunk-L65LF6LN.js.map → chunk-ZGHIHEND.js.map} +0 -0
- /package/dist/{chunk-LIOVN5IM.js.map → chunk-ZKFYBC6G.js.map} +0 -0
- /package/dist/{chunk-4FRZDSRD.js.map → chunk-ZXLIWOXC.js.map} +0 -0
- /package/dist/{chunk-UMDXGIRZ.js.map → chunk-ZZOOSKSV.js.map} +0 -0
- /package/dist/native/chunks/{chunk-EKKNUEA6.js.map → chunk-OGWPPQL4.js.map} +0 -0
- /package/dist/native/chunks/{chunk-UKCCYP52.js.map → chunk-RJVM5YDE.js.map} +0 -0
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
export type SkeletonAnimation = 'pulse' | 'wave' | false;
|
|
3
|
-
export type SkeletonIntensity = 'low' | 'medium' | 'high';
|
|
1
|
+
import type React from 'react';
|
|
4
2
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
import type { SkeletonBaseProps } from './Skeleton.base';
|
|
4
|
+
|
|
5
|
+
export type {
|
|
6
|
+
SkeletonAnimation,
|
|
7
|
+
SkeletonBaseProps,
|
|
8
|
+
SkeletonIntensity,
|
|
9
|
+
SkeletonVariant,
|
|
10
|
+
} from './Skeleton.base';
|
|
11
|
+
|
|
12
|
+
/** The web `Skeleton`: the shared contract, plus the DOM's own two styling hooks. */
|
|
13
|
+
export interface SkeletonProps extends SkeletonBaseProps {
|
|
13
14
|
className?: string;
|
|
14
|
-
intensity?: SkeletonIntensity;
|
|
15
|
-
glassmorphism?: boolean;
|
|
16
|
-
shimmer?: boolean;
|
|
17
|
-
'data-testid'?: string;
|
|
18
15
|
style?: React.CSSProperties;
|
|
19
|
-
}
|
|
16
|
+
}
|
package/src/icons/glyphs.json
CHANGED
|
@@ -2,9 +2,14 @@
|
|
|
2
2
|
"Add",
|
|
3
3
|
"ArrowBack",
|
|
4
4
|
"ArrowDownward",
|
|
5
|
+
"ArrowDropDown",
|
|
5
6
|
"ArrowForward",
|
|
6
7
|
"ArrowUpward",
|
|
8
|
+
"BrokenImage",
|
|
9
|
+
"Cancel",
|
|
7
10
|
"Check",
|
|
11
|
+
"CheckBox",
|
|
12
|
+
"CheckBoxOutlineBlank",
|
|
8
13
|
"CheckCircle",
|
|
9
14
|
"ChevronLeft",
|
|
10
15
|
"ChevronRight",
|
|
@@ -17,6 +22,7 @@
|
|
|
17
22
|
"ExpandLess",
|
|
18
23
|
"ExpandMore",
|
|
19
24
|
"FilterList",
|
|
25
|
+
"IndeterminateCheckBox",
|
|
20
26
|
"Info",
|
|
21
27
|
"InfoOutlined",
|
|
22
28
|
"KeyboardArrowDown",
|
|
@@ -10,9 +10,14 @@ export const ICON_PATHS = {
|
|
|
10
10
|
Add: ["M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"],
|
|
11
11
|
ArrowBack: ["M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"],
|
|
12
12
|
ArrowDownward: ["m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"],
|
|
13
|
+
ArrowDropDown: ["m7 10 5 5 5-5z"],
|
|
13
14
|
ArrowForward: ["m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"],
|
|
14
15
|
ArrowUpward: ["m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"],
|
|
16
|
+
BrokenImage: ["M21 5v6.59l-3-3.01-4 4.01-4-4-4 4-3-3.01V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2m-3 6.42 3 3.01V19c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2v-6.58l3 2.99 4-4 4 4z"],
|
|
17
|
+
Cancel: ["M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"],
|
|
15
18
|
Check: ["M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"],
|
|
19
|
+
CheckBox: ["M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2m-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"],
|
|
20
|
+
CheckBoxOutlineBlank: ["M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"],
|
|
16
21
|
CheckCircle: ["M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"],
|
|
17
22
|
ChevronLeft: ["M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"],
|
|
18
23
|
ChevronRight: ["M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],
|
|
@@ -25,6 +30,7 @@ export const ICON_PATHS = {
|
|
|
25
30
|
ExpandLess: ["m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"],
|
|
26
31
|
ExpandMore: ["M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"],
|
|
27
32
|
FilterList: ["M10 18h4v-2h-4zM3 6v2h18V6zm3 7h12v-2H6z"],
|
|
33
|
+
IndeterminateCheckBox: ["M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-2 10H7v-2h10z"],
|
|
28
34
|
Info: ["M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"],
|
|
29
35
|
InfoOutlined: ["M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"],
|
|
30
36
|
KeyboardArrowDown: ["M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"],
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Animated, Easing, Platform } from 'react-native';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* A CSS KEYFRAME LOOP, AS REACT NATIVE RUNS ONE.
|
|
6
|
+
*
|
|
7
|
+
* `animation: pulse 2s ease-in-out 0.5s infinite` is one declaration on the
|
|
8
|
+
* web and four decisions here: a driving value, a timing, a delay that runs
|
|
9
|
+
* ONCE (which is why the loop is sequenced behind an `Animated.delay` rather
|
|
10
|
+
* than given the timing's own `delay`, which would replay every lap), and a
|
|
11
|
+
* teardown. Several ported components paint a breathing surface, and each one
|
|
12
|
+
* writing that out again is how two of them end up on different cadences.
|
|
13
|
+
*
|
|
14
|
+
* The value runs 0 → 1 and repeats; the caller interpolates it into whatever
|
|
15
|
+
* the keyframes actually change.
|
|
16
|
+
*/
|
|
17
|
+
const DEFAULT_NATIVE_DRIVER = Platform.OS !== 'web';
|
|
18
|
+
|
|
19
|
+
export interface LoopOptions {
|
|
20
|
+
durationMs: number;
|
|
21
|
+
/** The CSS animation's delay, run once before the first lap. */
|
|
22
|
+
delayMs?: number;
|
|
23
|
+
easing?: (value: number) => number;
|
|
24
|
+
/**
|
|
25
|
+
* Layout properties (`left`, `width`, `height`) cannot be driven natively;
|
|
26
|
+
* `opacity` and `transform` can. Defaults to native everywhere but the web.
|
|
27
|
+
*/
|
|
28
|
+
useNativeDriver?: boolean;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export function useLoopedProgress(enabled: boolean, options: LoopOptions): Animated.Value {
|
|
32
|
+
const {
|
|
33
|
+
durationMs,
|
|
34
|
+
delayMs = 0,
|
|
35
|
+
easing = Easing.linear,
|
|
36
|
+
useNativeDriver = DEFAULT_NATIVE_DRIVER,
|
|
37
|
+
} = options;
|
|
38
|
+
const progress = React.useRef(new Animated.Value(0)).current;
|
|
39
|
+
|
|
40
|
+
React.useEffect(() => {
|
|
41
|
+
if (!enabled) return undefined;
|
|
42
|
+
const animation = Animated.sequence([
|
|
43
|
+
Animated.delay(delayMs),
|
|
44
|
+
Animated.loop(
|
|
45
|
+
Animated.timing(progress, { toValue: 1, duration: durationMs, easing, useNativeDriver }),
|
|
46
|
+
),
|
|
47
|
+
]);
|
|
48
|
+
animation.start();
|
|
49
|
+
return () => animation.stop();
|
|
50
|
+
}, [enabled, durationMs, delayMs, easing, useNativeDriver, progress]);
|
|
51
|
+
|
|
52
|
+
return progress;
|
|
53
|
+
}
|
package/src/platform/aria.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* WEB ATTRIBUTES REACT NATIVE DOES NOT DECLARE.
|
|
3
3
|
*
|
|
4
4
|
* React Native's `ViewProps` (0.83) type a dozen `aria-*` props and stop:
|
|
5
5
|
* `aria-level`, `aria-atomic` and `aria-describedby` are not among them.
|
|
@@ -13,6 +13,20 @@ export interface WebAria {
|
|
|
13
13
|
'aria-level'?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
14
14
|
'aria-atomic'?: 'true' | 'false';
|
|
15
15
|
'aria-describedby'?: string;
|
|
16
|
+
/**
|
|
17
|
+
* A field's validity and whether it must be filled. React Native's
|
|
18
|
+
* `accessibilityState` has neither — its five flags are disabled, selected,
|
|
19
|
+
* checked, busy and expanded — so these are web-only, and a device reads the
|
|
20
|
+
* error text instead. react-native-web forwards both.
|
|
21
|
+
*/
|
|
22
|
+
'aria-invalid'?: boolean;
|
|
23
|
+
'aria-required'?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* What a control pops open. React Native has `aria-expanded` and no
|
|
26
|
+
* `aria-haspopup`, so a `combobox` needs this one from here to say the thing
|
|
27
|
+
* it expands is a listbox — which is what the web's own trigger carries.
|
|
28
|
+
*/
|
|
29
|
+
'aria-haspopup'?: 'listbox' | 'menu' | 'dialog' | 'true';
|
|
16
30
|
}
|
|
17
31
|
|
|
18
32
|
/**
|
|
@@ -30,3 +44,60 @@ export function webAria(attrs: WebAria): object {
|
|
|
30
44
|
const { 'aria-atomic': atomic, ...rest } = attrs;
|
|
31
45
|
return atomic === undefined ? rest : { ...rest, accessibilityAtomic: atomic };
|
|
32
46
|
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* `disabled` for a react-native-web form control.
|
|
50
|
+
*
|
|
51
|
+
* React Native's `TextInput` has `editable` and no `disabled`, because a
|
|
52
|
+
* device has no disabled state to speak of — an uneditable field simply does
|
|
53
|
+
* not take the keyboard. The DOM does: only a real `disabled` attribute takes
|
|
54
|
+
* an `<input>` out of the tab order, and it is what `toBeDisabled()` reads. So
|
|
55
|
+
* a native field spreads this ALONGSIDE `editable={false}` and
|
|
56
|
+
* `aria-disabled`: react-native-web puts the attribute on the input, and a
|
|
57
|
+
* device ignores a prop it does not know.
|
|
58
|
+
*/
|
|
59
|
+
export function webDisabled(disabled: boolean): object {
|
|
60
|
+
return disabled ? { disabled: true } : {};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* `onClick` for a react-native-web element whose React Native twin has no
|
|
65
|
+
* click of its own.
|
|
66
|
+
*
|
|
67
|
+
* react-native-web's `TextInput` forwards `onClick` to the DOM input and drops
|
|
68
|
+
* `onPressIn`; a device does the opposite. A field that must answer a press on
|
|
69
|
+
* both renderers spreads this ALONGSIDE `onPressIn`, and exactly one of the two
|
|
70
|
+
* fires on each side — never both.
|
|
71
|
+
*/
|
|
72
|
+
export function webClick<E>(handler: ((event: E) => void) | undefined): object {
|
|
73
|
+
return handler === undefined ? {} : { onClick: handler };
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* A `role` React Native's own union does not carry.
|
|
78
|
+
*
|
|
79
|
+
* `Role` (0.83) stops at `list` and `menu`: `listbox`, the role a dropdown's
|
|
80
|
+
* option list owes a screen reader, is not in it. react-native-web forwards
|
|
81
|
+
* whatever string it is given, and a device ignores a role it does not know —
|
|
82
|
+
* the same trade `webAria` makes for the attributes below it.
|
|
83
|
+
*/
|
|
84
|
+
export function webRole(role: string): object {
|
|
85
|
+
return { role };
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/** The half of a DOM keyboard event a component needs, without the DOM lib. */
|
|
89
|
+
export interface WebKeyEvent {
|
|
90
|
+
key: string;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* `onKeyDown` for a react-native-web element.
|
|
95
|
+
*
|
|
96
|
+
* React Native has no key events on a `View` — a phone has no keyboard to
|
|
97
|
+
* press Escape on — so nothing here is typed by react-native and nothing here
|
|
98
|
+
* fires on a device. react-native-web forwards it to the DOM, which is what
|
|
99
|
+
* lets a native dropdown still answer Escape and the arrow keys in a browser.
|
|
100
|
+
*/
|
|
101
|
+
export function webKeyDown(handler: (event: WebKeyEvent) => void): object {
|
|
102
|
+
return { onKeyDown: handler };
|
|
103
|
+
}
|
package/src/platform/test-id.ts
CHANGED
|
@@ -18,6 +18,19 @@ export function resolveTestId(props: TestIdProps, fallback?: string): string | u
|
|
|
18
18
|
return props.testID ?? props.dataTestId ?? props['data-testid'] ?? fallback;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
/**
|
|
22
|
+
* The id under whichever of the three spellings the caller used, together with
|
|
23
|
+
* the props stripped of all three — so a web component can put `data-testid`
|
|
24
|
+
* where the DOM wants it without React seeing `testID` or `dataTestId` and
|
|
25
|
+
* warning that it does not recognise them.
|
|
26
|
+
*/
|
|
27
|
+
export function splitTestId<T extends TestIdProps>(
|
|
28
|
+
props: T,
|
|
29
|
+
fallback?: string,
|
|
30
|
+
): { testId: string | undefined; rest: Omit<T, keyof TestIdProps> } {
|
|
31
|
+
return { testId: resolveTestId(props, fallback), rest: withoutTestIdProps(props) };
|
|
32
|
+
}
|
|
33
|
+
|
|
21
34
|
/** `${id}-${suffix}` for a sub-element, or `${fallback}-${suffix}` when unnamed. */
|
|
22
35
|
export function childTestId(
|
|
23
36
|
props: TestIdProps,
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* KEY EVENTS REACT NATIVE DOES NOT DECLARE.
|
|
3
|
+
*
|
|
4
|
+
* There is no `onKeyDown` on React Native's `ViewProps` or `PressableProps`,
|
|
5
|
+
* because there is no keyboard behind a `View` on a device. react-native-web
|
|
6
|
+
* DOES forward one to the DOM, and a component that stands in for a native
|
|
7
|
+
* control — a chip that removes on Delete, a listbox option that activates on
|
|
8
|
+
* Space — carries those conventions as part of its contract on the web.
|
|
9
|
+
*
|
|
10
|
+
* `webKeyDown` spreads the handler onto a react-native element without that
|
|
11
|
+
* element's props type having to know it, the way `./aria.ts` does for the
|
|
12
|
+
* `aria-*` attributes React Native leaves out. On a device it is simply never
|
|
13
|
+
* called, which is the honest outcome: the gesture is the input there.
|
|
14
|
+
*
|
|
15
|
+
* The event is typed structurally rather than as a DOM `KeyboardEvent`, because
|
|
16
|
+
* the native type program is checked WITHOUT the DOM lib.
|
|
17
|
+
*/
|
|
18
|
+
export interface WebKeyEvent {
|
|
19
|
+
key: string;
|
|
20
|
+
preventDefault: () => void;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export type WebKeyHandler = (event: WebKeyEvent) => void;
|
|
24
|
+
|
|
25
|
+
/** `{ onKeyDown }` as something JSX can spread onto a react-native element. */
|
|
26
|
+
export function webKeyDown(handler: WebKeyHandler | undefined): object {
|
|
27
|
+
return handler === undefined ? {} : { onKeyDown: handler };
|
|
28
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import {
|
|
2
|
+
darken,
|
|
3
|
+
decomposeColor,
|
|
4
|
+
getContrastRatio,
|
|
5
|
+
getLuminance,
|
|
6
|
+
hslToRgb,
|
|
7
|
+
lighten,
|
|
8
|
+
recomposeColor,
|
|
9
|
+
} from './color';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* THE FIELD EDGE, WITH NO RENDERER BEHIND IT.
|
|
13
|
+
*
|
|
14
|
+
* The argument for why an outlined control cannot draw its resting boundary
|
|
15
|
+
* from `alpha(theme.palette.divider, 0.23)` is in `./field-edge.ts`, next to
|
|
16
|
+
* the MUI-typed `fieldEdge` the web components call. This file is the WALK
|
|
17
|
+
* itself, over two colour strings, so the native renderer can run it too:
|
|
18
|
+
* `Input.native.tsx` and `Select.native.tsx` have no MUI `Theme` to pass and no
|
|
19
|
+
* `@mui/material/styles` to import, and a second copy of the walk beside them
|
|
20
|
+
* is a second answer to "where is this field's border" waiting to drift.
|
|
21
|
+
*
|
|
22
|
+
* `./color` is a faithful port of MUI's colour manipulator (asserted equal to
|
|
23
|
+
* it in `./__tests__/color.test.ts`), so the string this returns is the string
|
|
24
|
+
* the web has always emitted.
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* WCAG 2.1 SC 1.4.11 — the contrast a control's own boundary owes the surface
|
|
29
|
+
* behind it. See `./field-edge.ts` for why 3:1 and why it is a floor.
|
|
30
|
+
*/
|
|
31
|
+
export const MIN_UI_CONTRAST = 3;
|
|
32
|
+
|
|
33
|
+
/** How far one step of the walk moves, and how many steps before it gives up. */
|
|
34
|
+
const STEP = 0.05;
|
|
35
|
+
const MAX_STEPS = 20;
|
|
36
|
+
|
|
37
|
+
/** A colour's red, green, blue and alpha, with `hsl()` converted on the way. */
|
|
38
|
+
function channels(colour: string): [number, number, number, number] {
|
|
39
|
+
const decomposed = decomposeColor(colour);
|
|
40
|
+
const rgb = decomposed.type.startsWith('hsl') ? decomposeColor(hslToRgb(colour)) : decomposed;
|
|
41
|
+
const [r, g, b, a] = rgb.values;
|
|
42
|
+
return [r ?? 0, g ?? 0, b ?? 0, a ?? 1];
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* A colour as an opaque `rgb()`, with any translucency resolved against
|
|
47
|
+
* `surface`.
|
|
48
|
+
*
|
|
49
|
+
* Needed because `getContrastRatio` reads the channels it is given and ignores
|
|
50
|
+
* the alpha, so handing it an `rgba()` measures a colour nobody sees.
|
|
51
|
+
*/
|
|
52
|
+
function flatten(colour: string, surface: string): string {
|
|
53
|
+
const [r, g, b, alpha] = channels(colour);
|
|
54
|
+
if (alpha >= 1) return recomposeColor({ type: 'rgb', values: [r, g, b] });
|
|
55
|
+
|
|
56
|
+
const [baseR, baseG, baseB] = channels(surface);
|
|
57
|
+
const blend = (fg: number, bg: number): number => Math.round(alpha * fg + (1 - alpha) * bg);
|
|
58
|
+
return recomposeColor({
|
|
59
|
+
type: 'rgb',
|
|
60
|
+
values: [blend(r, baseR), blend(g, baseG), blend(b, baseB)],
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* The resting boundary a control draws on `surface`, from the theme's own
|
|
66
|
+
* `divider` as the seed: the seed itself when it already clears
|
|
67
|
+
* {@link MIN_UI_CONTRAST}, otherwise the nearest tone of it that does.
|
|
68
|
+
*/
|
|
69
|
+
export function resolveFieldEdge(divider: string, surface: string): string {
|
|
70
|
+
const ground = flatten(surface, '#FFFFFF');
|
|
71
|
+
const seed = flatten(divider, ground);
|
|
72
|
+
if (getContrastRatio(seed, ground) >= MIN_UI_CONTRAST) return seed;
|
|
73
|
+
|
|
74
|
+
// Away from the surface, whichever way that is — so one rule serves both
|
|
75
|
+
// modes, and a dark card in a light theme is still handled by the pair rather
|
|
76
|
+
// than by `palette.mode`.
|
|
77
|
+
const away = getLuminance(ground) > 0.5 ? darken : lighten;
|
|
78
|
+
for (let step = 1; step <= MAX_STEPS; step += 1) {
|
|
79
|
+
// From the SEED each time rather than compounding the previous result, so
|
|
80
|
+
// the walk lands on the nearest passing tone instead of overshooting past it.
|
|
81
|
+
const candidate = away(seed, step * STEP);
|
|
82
|
+
if (getContrastRatio(candidate, ground) >= MIN_UI_CONTRAST) return candidate;
|
|
83
|
+
}
|
|
84
|
+
// Unreachable for any real surface — black clears 21:1 on white and white
|
|
85
|
+
// clears it on black — but a caller must never be handed `undefined`.
|
|
86
|
+
return getLuminance(ground) > 0.5 ? '#000000' : '#FFFFFF';
|
|
87
|
+
}
|
package/src/tokens/field-edge.ts
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
darken,
|
|
3
|
-
decomposeColor,
|
|
4
|
-
getContrastRatio,
|
|
5
|
-
getLuminance,
|
|
6
|
-
hslToRgb,
|
|
7
|
-
lighten,
|
|
8
|
-
recomposeColor,
|
|
9
|
-
} from '@mui/material/styles/index.js';
|
|
10
1
|
import type { Theme } from '@mui/material/styles/index.js';
|
|
11
2
|
|
|
3
|
+
import { resolveFieldEdge } from './field-edge.core';
|
|
4
|
+
|
|
12
5
|
/**
|
|
13
6
|
* THE EDGE THAT TELLS YOU WHERE A FIELD IS.
|
|
14
7
|
*
|
|
@@ -66,50 +59,17 @@ import type { Theme } from '@mui/material/styles/index.js';
|
|
|
66
59
|
* corrected brand colour that clears the floor by construction. The resting
|
|
67
60
|
* state was the only one you could not see, and it is the one that matters,
|
|
68
61
|
* because it is the state a field is in before anyone has found it.
|
|
69
|
-
*/
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* WCAG 2.1 SC 1.4.11 — the contrast a control's own boundary owes the surface
|
|
73
|
-
* behind it.
|
|
74
62
|
*
|
|
75
|
-
*
|
|
76
|
-
* shape, not a glyph, so it stays findable at a lower ratio. It is a FLOOR and
|
|
77
|
-
* not a target — {@link fieldEdge} stops at the first tone that clears it, so a
|
|
78
|
-
* theme with a stronger hairline keeps the stronger one.
|
|
79
|
-
*/
|
|
80
|
-
export const MIN_UI_CONTRAST = 3;
|
|
81
|
-
|
|
82
|
-
/** How far one step of the walk moves, and how many steps before it gives up. */
|
|
83
|
-
const STEP = 0.05;
|
|
84
|
-
const MAX_STEPS = 20;
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* A colour as an opaque `rgb()`, with any translucency resolved against
|
|
88
|
-
* `surface`.
|
|
63
|
+
* ## Where the walk itself lives
|
|
89
64
|
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
65
|
+
* `./field-edge.core.ts`, over two colour strings and this package's own
|
|
66
|
+
* colour arithmetic. The native `Input` and `Select` draw the same border and
|
|
67
|
+
* have neither a MUI `Theme` to pass nor `@mui/material/styles` to import, so
|
|
68
|
+
* the algorithm sits one file below this one and both renderers call it. This
|
|
69
|
+
* file is the MUI-typed door onto it, and the argument above.
|
|
95
70
|
*/
|
|
96
|
-
function flatten(colour: string, surface: string): string {
|
|
97
|
-
const decomposed = decomposeColor(colour);
|
|
98
|
-
const rgb = decomposed.type.startsWith('hsl')
|
|
99
|
-
? decomposeColor(hslToRgb(colour))
|
|
100
|
-
: decomposed;
|
|
101
|
-
const [r, g, b] = rgb.values;
|
|
102
|
-
const alpha = rgb.values[3] ?? 1;
|
|
103
|
-
if (alpha >= 1) return recomposeColor({ type: 'rgb', values: [r, g, b] });
|
|
104
71
|
|
|
105
|
-
|
|
106
|
-
const base = behind.type.startsWith('hsl') ? decomposeColor(hslToRgb(surface)) : behind;
|
|
107
|
-
const blend = (fg: number, bg: number): number => Math.round(alpha * fg + (1 - alpha) * bg);
|
|
108
|
-
return recomposeColor({
|
|
109
|
-
type: 'rgb',
|
|
110
|
-
values: [blend(r, base.values[0]), blend(g, base.values[1]), blend(b, base.values[2])],
|
|
111
|
-
});
|
|
112
|
-
}
|
|
72
|
+
export { MIN_UI_CONTRAST } from './field-edge.core';
|
|
113
73
|
|
|
114
74
|
/**
|
|
115
75
|
* The resting boundary for a form control on `surface`.
|
|
@@ -121,21 +81,5 @@ function flatten(colour: string, surface: string): string {
|
|
|
121
81
|
* as the pair it is given.
|
|
122
82
|
*/
|
|
123
83
|
export function fieldEdge(theme: Theme, surface?: string): string {
|
|
124
|
-
|
|
125
|
-
const seed = flatten(theme.palette.divider, ground);
|
|
126
|
-
if (getContrastRatio(seed, ground) >= MIN_UI_CONTRAST) return seed;
|
|
127
|
-
|
|
128
|
-
// Away from the surface, whichever way that is — so one rule serves both
|
|
129
|
-
// modes, and a dark card in a light theme is still handled by the pair rather
|
|
130
|
-
// than by `palette.mode`.
|
|
131
|
-
const away = getLuminance(ground) > 0.5 ? darken : lighten;
|
|
132
|
-
for (let step = 1; step <= MAX_STEPS; step += 1) {
|
|
133
|
-
// From the SEED each time rather than compounding the previous result, so
|
|
134
|
-
// the walk lands on the nearest passing tone instead of overshooting past it.
|
|
135
|
-
const candidate = away(seed, step * STEP);
|
|
136
|
-
if (getContrastRatio(candidate, ground) >= MIN_UI_CONTRAST) return candidate;
|
|
137
|
-
}
|
|
138
|
-
// Unreachable for any real surface — black clears 21:1 on white and white
|
|
139
|
-
// clears it on black — but a caller must never be handed `undefined`.
|
|
140
|
-
return getLuminance(ground) > 0.5 ? '#000000' : '#FFFFFF';
|
|
84
|
+
return resolveFieldEdge(theme.palette.divider, surface ?? theme.palette.background.paper);
|
|
141
85
|
}
|
package/src/tokens/mui-type.ts
CHANGED
|
@@ -15,7 +15,7 @@ import type { UiTheme } from './theme';
|
|
|
15
15
|
* halves and not these; each component that reads this records that as a
|
|
16
16
|
* known gap in its `NATIVE-NOTES.md`.
|
|
17
17
|
*/
|
|
18
|
-
export type MuiTypeVariantName = 'h6' | 'body1' | 'body2';
|
|
18
|
+
export type MuiTypeVariantName = 'h6' | 'body1' | 'body2' | 'caption';
|
|
19
19
|
|
|
20
20
|
export interface MuiTypeVariant {
|
|
21
21
|
fontSize: number;
|
|
@@ -28,6 +28,7 @@ export const MUI_TYPE: Record<MuiTypeVariantName, MuiTypeVariant> = {
|
|
|
28
28
|
h6: { fontSize: 20, lineHeight: 1.6, fontWeight: 500, letterSpacingEm: 0.0075 },
|
|
29
29
|
body1: { fontSize: 16, lineHeight: 1.5, fontWeight: 400, letterSpacingEm: 0.00938 },
|
|
30
30
|
body2: { fontSize: 14, lineHeight: 1.43, fontWeight: 400, letterSpacingEm: 0.01071 },
|
|
31
|
+
caption: { fontSize: 12, lineHeight: 1.66, fontWeight: 400, letterSpacingEm: 0.03333 },
|
|
31
32
|
};
|
|
32
33
|
|
|
33
34
|
/** MUI's `theme.typography.fontWeightMedium`, which several web styles name outright. */
|
package/dist/chunk-2PCOC3PT.js
DELETED
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CAPTION_FONT_SIZE,
|
|
3
|
-
CAPTION_LETTER_SPACING_EM,
|
|
4
|
-
CAPTION_OPACITY,
|
|
5
|
-
CODE_BACKGROUND_ALPHA,
|
|
6
|
-
CODE_BORDER_ALPHA,
|
|
7
|
-
CODE_FONT_SIZE,
|
|
8
|
-
CODE_PADDING,
|
|
9
|
-
CODE_RADIUS_FACTOR,
|
|
10
|
-
HEADING_DEFAULT_WEIGHT,
|
|
11
|
-
HEADING_LETTER_SPACING_EM,
|
|
12
|
-
TEXT_SIZES,
|
|
13
|
-
TEXT_WEIGHTS
|
|
14
|
-
} from "./chunk-V3PLFYKO.js";
|
|
15
|
-
import {
|
|
16
|
-
resolveTestId,
|
|
17
|
-
withoutTestIdProps
|
|
18
|
-
} from "./chunk-QLWBQQW7.js";
|
|
19
|
-
import {
|
|
20
|
-
px
|
|
21
|
-
} from "./chunk-NQN5Z36J.js";
|
|
22
|
-
|
|
23
|
-
// src/components/typography/Text/Text.tsx
|
|
24
|
-
import Typography from "@mui/material/Typography/index.js";
|
|
25
|
-
import { alpha, styled } from "@mui/material/styles/index.js";
|
|
26
|
-
import React from "react";
|
|
27
|
-
import { jsx } from "react/jsx-runtime";
|
|
28
|
-
var getColorFromTheme = (theme, color) => {
|
|
29
|
-
if (color === "neutral") {
|
|
30
|
-
return theme.palette.text.primary;
|
|
31
|
-
}
|
|
32
|
-
if (color === "secondary") {
|
|
33
|
-
return theme.palette.text.secondary;
|
|
34
|
-
}
|
|
35
|
-
const colorMap = {
|
|
36
|
-
primary: theme.palette.primary.main,
|
|
37
|
-
success: theme.palette.success.main,
|
|
38
|
-
warning: theme.palette.warning.main,
|
|
39
|
-
info: theme.palette.info.main,
|
|
40
|
-
danger: theme.palette.error.main
|
|
41
|
-
};
|
|
42
|
-
return colorMap[color];
|
|
43
|
-
};
|
|
44
|
-
var SIZE_MAP = Object.fromEntries(
|
|
45
|
-
Object.entries(TEXT_SIZES).map(([size, step]) => [
|
|
46
|
-
size,
|
|
47
|
-
{ fontSize: px(step.fontSize), lineHeight: step.lineHeight }
|
|
48
|
-
])
|
|
49
|
-
);
|
|
50
|
-
var WEIGHT_MAP = TEXT_WEIGHTS;
|
|
51
|
-
var decorationFor = (underline, strikethrough) => [underline && "underline", strikethrough && "line-through"].filter(Boolean).join(" ") || "none";
|
|
52
|
-
var baseTextStyles = (theme, a) => ({
|
|
53
|
-
color: getColorFromTheme(theme, a.customColor ?? "neutral"),
|
|
54
|
-
fontSize: SIZE_MAP[a.customSize ?? "md"]?.fontSize,
|
|
55
|
-
lineHeight: SIZE_MAP[a.customSize ?? "md"]?.lineHeight,
|
|
56
|
-
fontWeight: WEIGHT_MAP[a.customWeight ?? "normal"],
|
|
57
|
-
fontStyle: a.italic ? "italic" : "normal",
|
|
58
|
-
textDecoration: decorationFor(a.underline, a.strikethrough),
|
|
59
|
-
transition: "all 0.2s ease"
|
|
60
|
-
});
|
|
61
|
-
var sizeOverride = (customSize, atDefault) => (customSize ?? "md") === "md" ? atDefault : SIZE_MAP[customSize ?? "md"]?.fontSize;
|
|
62
|
-
var textVariantStyles = (theme, a, base) => {
|
|
63
|
-
const weight = a.customWeight ?? "normal";
|
|
64
|
-
switch (a.customVariant) {
|
|
65
|
-
case "heading":
|
|
66
|
-
return {
|
|
67
|
-
...base,
|
|
68
|
-
fontFamily: theme.typography.h4.fontFamily,
|
|
69
|
-
fontWeight: weight === "normal" ? HEADING_DEFAULT_WEIGHT : WEIGHT_MAP[weight],
|
|
70
|
-
letterSpacing: `${HEADING_LETTER_SPACING_EM}em`
|
|
71
|
-
};
|
|
72
|
-
case "caption":
|
|
73
|
-
return {
|
|
74
|
-
...base,
|
|
75
|
-
fontSize: sizeOverride(a.customSize, px(CAPTION_FONT_SIZE)),
|
|
76
|
-
opacity: CAPTION_OPACITY,
|
|
77
|
-
letterSpacing: `${CAPTION_LETTER_SPACING_EM}em`
|
|
78
|
-
};
|
|
79
|
-
case "code":
|
|
80
|
-
return {
|
|
81
|
-
...base,
|
|
82
|
-
fontFamily: 'Monaco, Menlo, "Ubuntu Mono", "Courier New", monospace',
|
|
83
|
-
fontSize: sizeOverride(a.customSize, px(CODE_FONT_SIZE)),
|
|
84
|
-
backgroundColor: alpha(theme.palette.primary.main, CODE_BACKGROUND_ALPHA),
|
|
85
|
-
padding: `${CODE_PADDING.vertical}px ${CODE_PADDING.horizontal}px`,
|
|
86
|
-
borderRadius: theme.shape.borderRadius * CODE_RADIUS_FACTOR,
|
|
87
|
-
border: `1px solid ${alpha(theme.palette.primary.main, CODE_BORDER_ALPHA)}`
|
|
88
|
-
};
|
|
89
|
-
default:
|
|
90
|
-
return { ...base, fontFamily: theme.typography.body1.fontFamily };
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
|
-
var StyledText = styled(Typography, {
|
|
94
|
-
shouldForwardProp: (prop) => ![
|
|
95
|
-
"customVariant",
|
|
96
|
-
"customColor",
|
|
97
|
-
"customSize",
|
|
98
|
-
"customWeight",
|
|
99
|
-
"italic",
|
|
100
|
-
"underline",
|
|
101
|
-
"strikethrough"
|
|
102
|
-
].includes(prop)
|
|
103
|
-
})((args) => {
|
|
104
|
-
const { theme } = args;
|
|
105
|
-
return textVariantStyles(theme, args, baseTextStyles(theme, args));
|
|
106
|
-
});
|
|
107
|
-
var Text = React.forwardRef(
|
|
108
|
-
({
|
|
109
|
-
variant = "body",
|
|
110
|
-
color = "neutral",
|
|
111
|
-
size = "md",
|
|
112
|
-
weight = "normal",
|
|
113
|
-
as = "span",
|
|
114
|
-
italic = false,
|
|
115
|
-
underline = false,
|
|
116
|
-
strikethrough = false,
|
|
117
|
-
children,
|
|
118
|
-
...others
|
|
119
|
-
}, ref) => {
|
|
120
|
-
const testId = resolveTestId(others);
|
|
121
|
-
const props = withoutTestIdProps(others);
|
|
122
|
-
return /* @__PURE__ */ jsx(
|
|
123
|
-
StyledText,
|
|
124
|
-
{
|
|
125
|
-
ref,
|
|
126
|
-
"data-testid": testId,
|
|
127
|
-
customVariant: variant,
|
|
128
|
-
customColor: color,
|
|
129
|
-
customSize: size,
|
|
130
|
-
customWeight: weight,
|
|
131
|
-
italic,
|
|
132
|
-
underline,
|
|
133
|
-
strikethrough,
|
|
134
|
-
...as && { as },
|
|
135
|
-
...props,
|
|
136
|
-
children
|
|
137
|
-
}
|
|
138
|
-
);
|
|
139
|
-
}
|
|
140
|
-
);
|
|
141
|
-
Text.displayName = "Text";
|
|
142
|
-
|
|
143
|
-
export {
|
|
144
|
-
Text
|
|
145
|
-
};
|
|
146
|
-
//# sourceMappingURL=chunk-2PCOC3PT.js.map
|