@12-apps/ui 6.78.4 β 6.80.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/dist/_internal/components/data-display/Alert/Alert.js +3 -3
- package/dist/_internal/components/data-display/AlertDialog/AlertDialog.js +3 -2
- package/dist/_internal/components/data-display/AlertDialog/AlertDialog.parts.js +2 -1
- package/dist/_internal/components/data-display/AsyncStateContainer/AsyncStateContainer.js +7 -5
- package/dist/_internal/components/data-display/Avatar/Avatar.js +5 -4
- package/dist/_internal/components/data-display/Avatar/Avatar.view.js +2 -2
- package/dist/_internal/components/data-display/CardKit/card-actions-context.js +4 -4
- package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +12 -11
- package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +8 -7
- package/dist/_internal/components/data-display/Carousel/Carousel.chrome.js +5 -2
- package/dist/_internal/components/data-display/Carousel/Carousel.js +7 -4
- package/dist/_internal/components/data-display/Carousel/Carousel.parts.js +4 -1
- package/dist/_internal/components/data-display/Chart/Chart.js +3 -3
- package/dist/_internal/components/data-display/Chart/SpecChart.js +6 -6
- package/dist/_internal/components/data-display/Chart/chart-renderers.js +2 -2
- package/dist/_internal/components/data-display/Chart/chart-spec.js +2 -2
- package/dist/_internal/components/data-display/DataGrid/DataGrid.js +2 -2
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +55 -53
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +76 -74
- package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +4 -3
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +10 -9
- package/dist/_internal/components/data-display/DataViews/SaveViewModal.js +8 -7
- package/dist/_internal/components/data-display/DataViews/base-card.js +5 -5
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +3 -3
- package/dist/_internal/components/data-display/DataViews/base-list-card-gutters.js +3 -3
- package/dist/_internal/components/data-display/DataViews/base-list-card-layout.js +3 -3
- package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +2 -2
- package/dist/_internal/components/data-display/DataViews/base-list-card.js +10 -10
- package/dist/_internal/components/data-display/DataViews/data-views-card-body.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-category-pill.js +17 -15
- package/dist/_internal/components/data-display/DataViews/data-views-columns.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +24 -22
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +8 -8
- package/dist/_internal/components/data-display/DataViews/data-views-grid-helpers.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +50 -48
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +25 -23
- package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +22 -20
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +23 -21
- 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 +4 -3
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +13 -11
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +25 -23
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +12 -10
- package/dist/_internal/components/data-display/DataViews/data-views-view-nav.js +1 -1
- package/dist/_internal/components/data-display/DataViews/list-card-rails.js +2 -2
- package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +5 -5
- package/dist/_internal/components/data-display/EmptyState/EmptyState.js +3 -2
- package/dist/_internal/components/data-display/ErrorState/ErrorState.js +2 -1
- package/dist/_internal/components/data-display/FleetMap/FleetBody.js +11 -8
- package/dist/_internal/components/data-display/FleetMap/FleetCanvas.js +10 -7
- package/dist/_internal/components/data-display/FleetMap/FleetMap.fixtures.js +1 -1
- package/dist/_internal/components/data-display/FleetMap/FleetMap.js +16 -12
- package/dist/_internal/components/data-display/HoverCard/HoverCard.js +2 -2
- package/dist/_internal/components/data-display/InteractiveTooltip/InteractiveTooltip.js +2 -2
- package/dist/_internal/components/data-display/LazyImage/LazyImage.hooks.js +1 -1
- package/dist/_internal/components/data-display/LazyImage/LazyImage.js +3 -2
- package/dist/_internal/components/data-display/Lightbox/Lightbox.js +6 -6
- package/dist/_internal/components/data-display/LoadingState/LoadingState.js +3 -1
- package/dist/_internal/components/data-display/MapPreview/MapControlBar.js +5 -1
- package/dist/_internal/components/data-display/MapPreview/MapLayers.js +7 -3
- package/dist/_internal/components/data-display/MapPreview/MapMarkers.js +5 -1
- package/dist/_internal/components/data-display/MapPreview/MapPreview.helpers.js +6 -1
- package/dist/_internal/components/data-display/MapPreview/MapPreview.js +9 -6
- package/dist/_internal/components/data-display/Progress/Progress.js +2 -2
- package/dist/_internal/components/data-display/SectionOnboarding/SectionOnboarding.js +6 -4
- package/dist/_internal/components/data-display/Sheet/Sheet.body.js +3 -2
- package/dist/_internal/components/data-display/Sheet/Sheet.hooks.js +2 -2
- package/dist/_internal/components/data-display/Sheet/Sheet.js +6 -5
- package/dist/_internal/components/data-display/Sheet/Sheet.parts.js +2 -1
- package/dist/_internal/components/data-display/Stepper/Stepper.js +3 -1
- package/dist/_internal/components/data-display/Table/Table.helpers.js +1 -1
- package/dist/_internal/components/data-display/Table/Table.js +6 -4
- package/dist/_internal/components/data-display/Table/TableParts.hooks.js +4 -2
- package/dist/_internal/components/data-display/Table/TableParts.js +4 -2
- package/dist/_internal/components/data-display/Timeline/Timeline.js +4 -2
- package/dist/_internal/components/data-display/Timeline/TimelineRow.js +1 -1
- package/dist/_internal/components/data-display/index.js +73 -68
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmAction.js +5 -4
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmAction.parts.js +4 -3
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmButton.js +6 -5
- package/dist/_internal/components/feedback/ConfirmAction/with-confirmation.js +5 -4
- package/dist/_internal/components/feedback/Dialog/Dialog.js +3 -2
- package/dist/_internal/components/feedback/NotificationStatusNotice/NotificationStatusNotice.js +4 -4
- package/dist/_internal/components/feedback/SequenceResolver/SequenceResolver.js +12 -11
- package/dist/_internal/components/feedback/SequenceResolver/SequenceResolver.parts.js +6 -6
- package/dist/_internal/components/feedback/Sonner/Sonner.js +3 -2
- package/dist/_internal/components/feedback/Sonner/SonnerToast.js +1 -1
- package/dist/_internal/components/feedback/StackedModal/StackedModal.js +7 -6
- package/dist/_internal/components/feedback/StackedModal/StackedModal.parts.js +2 -1
- package/dist/_internal/components/feedback/Toast/Toast.js +2 -1
- package/dist/_internal/components/feedback/TutorialOverlay/TutorialOverlay.js +3 -2
- package/dist/_internal/components/feedback/TutorialOverlay/TutorialStepBody.js +2 -1
- package/dist/_internal/components/feedback/index.js +34 -32
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.helpers.js +3 -1
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.hooks.js +8 -6
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.js +12 -10
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocompleteField.js +4 -2
- package/dist/_internal/components/form/AddressAutocomplete/useAddressPredictions.js +4 -2
- package/dist/_internal/components/form/AddressAutocomplete/useAddressSelection.js +1 -1
- package/dist/_internal/components/form/AddressAutocomplete/useCurrentLocation.js +1 -1
- package/dist/_internal/components/form/AddressAutocomplete/useGoogleMapsAPI.js +1 -1
- package/dist/_internal/components/form/Autocomplete/Autocomplete.js +2 -2
- package/dist/_internal/components/form/Calendar/Calendar.hooks.js +2 -2
- package/dist/_internal/components/form/Calendar/Calendar.js +6 -6
- package/dist/_internal/components/form/Calendar/CalendarDayCell.js +2 -2
- package/dist/_internal/components/form/Calendar/CalendarMonth.js +3 -3
- package/dist/_internal/components/form/CategorySelect/CategoryPanel.js +5 -5
- package/dist/_internal/components/form/CategorySelect/CategoryPanelList.js +3 -3
- package/dist/_internal/components/form/CategorySelect/CategoryRows.js +2 -2
- package/dist/_internal/components/form/CategorySelect/CategorySelect.js +9 -9
- package/dist/_internal/components/form/Checkbox/Checkbox.js +2 -2
- package/dist/_internal/components/form/CodeEditor/CodeEditor.js +3 -3
- package/dist/_internal/components/form/Command/Command.hooks.js +2 -1
- package/dist/_internal/components/form/Command/Command.js +4 -3
- package/dist/_internal/components/form/Command/Command.parts.js +2 -1
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.hooks.js +3 -2
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.js +12 -11
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.range.js +2 -1
- package/dist/_internal/components/form/DateRangePicker/DateRangePickerFields.js +3 -2
- package/dist/_internal/components/form/InputOTP/InputOTP.js +2 -2
- package/dist/_internal/components/form/Menubar/Menubar.js +2 -2
- package/dist/_internal/components/form/PhoneInput/PhoneInput.hooks.js +2 -2
- package/dist/_internal/components/form/PhoneInput/PhoneInput.js +4 -3
- package/dist/_internal/components/form/PhoneInput/countries.js +7 -3
- package/dist/_internal/components/form/PickerSheet/PickerSheet.js +4 -4
- package/dist/_internal/components/form/RichTextEditor/RichTextEditor.dom.js +2 -1
- package/dist/_internal/components/form/RichTextEditor/RichTextEditor.format.js +3 -2
- package/dist/_internal/components/form/RichTextEditor/RichTextEditor.hooks.js +4 -3
- package/dist/_internal/components/form/RichTextEditor/RichTextEditor.js +7 -5
- package/dist/_internal/components/form/RichTextEditor/RichTextEditorToolbar.js +1 -1
- package/dist/_internal/components/form/Switch/Switch.js +4 -4
- package/dist/_internal/components/form/Switch/Switch.parts.js +3 -3
- package/dist/_internal/components/form/Switch/Switch.styles.js +2 -2
- package/dist/_internal/components/form/Textarea/Textarea.js +1 -1
- package/dist/_internal/components/form/Textarea/TextareaRichEditor.js +4 -1
- package/dist/_internal/components/form/Textarea/TextareaRichEditor.js.map +1 -1
- package/dist/_internal/components/form/UploadButton/UploadButton.hooks.js +2 -1
- package/dist/_internal/components/form/UploadButton/UploadButton.js +3 -2
- package/dist/_internal/components/form/index.js +53 -50
- package/dist/_internal/components/form/total-form/Fields/CategoryField.js +10 -10
- package/dist/_internal/components/form/total-form/Fields/index.js +13 -13
- package/dist/_internal/components/form/total-form/FormErrorSnackbar.js +3 -2
- package/dist/_internal/components/index.js +214 -205
- package/dist/_internal/components/layout/Card/Card.js +2 -2
- package/dist/_internal/components/layout/ContentToolbar/ColumnsMenu.js +2 -1
- package/dist/_internal/components/layout/ContentToolbar/FilterTrigger.js +3 -1
- package/dist/_internal/components/layout/ContentToolbar/MultiSelectDropdown.js +2 -1
- package/dist/_internal/components/layout/ContentToolbar/ViewSelector.js +2 -1
- package/dist/_internal/components/layout/Dashboard/Dashboard.js +2 -1
- package/dist/_internal/components/layout/Drawer/Drawer.js +2 -1
- package/dist/_internal/components/layout/ScrollArea/ScrollArea.js +3 -3
- package/dist/_internal/components/layout/SettingCard/SettingCard.js +4 -4
- package/dist/_internal/components/layout/SettingCard/SettingCard.summary.js +3 -3
- package/dist/_internal/components/layout/SettingCard/SettingGroup.js +10 -10
- package/dist/_internal/components/layout/SettingCard/SettingSwitch.js +8 -8
- package/dist/_internal/components/layout/SettingCard/SettingToggle.js +10 -10
- package/dist/_internal/components/layout/SettingsLayout/SettingsLayout.js +7 -6
- package/dist/_internal/components/layout/SettingsLayout/SettingsLayout.rail.js +1 -1
- package/dist/_internal/components/layout/SettingsLayout/SettingsPanel.js +3 -3
- package/dist/_internal/components/layout/SettingsLayout/SettingsSectionChips.js +2 -2
- package/dist/_internal/components/layout/TableFilter/TableFilter.js +2 -1
- package/dist/_internal/components/layout/index.js +38 -36
- package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +9 -8
- package/dist/_internal/components/navigation/AppHeader/AppHeader.identity.js +2 -1
- package/dist/_internal/components/navigation/Breadcrumbs/Breadcrumbs.js +2 -1
- package/dist/_internal/components/navigation/CommandPalette/CommandPalette.helpers.js +2 -1
- package/dist/_internal/components/navigation/CommandPalette/CommandPalette.hooks.js +3 -2
- package/dist/_internal/components/navigation/CommandPalette/CommandPalette.js +6 -4
- package/dist/_internal/components/navigation/CommandPalette/CommandPaletteResults.js +3 -1
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMegaSection.js +4 -4
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMenu.js +7 -6
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMenu.shell.js +1 -1
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMenuItem.js +2 -2
- package/dist/_internal/components/navigation/NavigationMenu/NavigationStandardBody.js +5 -4
- package/dist/_internal/components/navigation/Pagination/Pagination.js +2 -2
- package/dist/_internal/components/navigation/SectionNav/SectionNav.bar.js +4 -3
- package/dist/_internal/components/navigation/SectionNav/SectionNav.js +6 -5
- package/dist/_internal/components/navigation/SectionNav/SectionNav.sheet.js +3 -2
- package/dist/_internal/components/navigation/index.js +34 -30
- package/dist/_internal/components/typography/Code/Code.js +2 -1
- package/dist/_internal/components/typography/index.js +2 -1
- package/dist/_internal/components/utility/AnimatedIcon/AnimatedIcon.js +2 -1
- package/dist/_internal/components/utility/InfiniteScroll/InfiniteScroll.js +3 -2
- package/dist/_internal/components/utility/InfiniteScroll/InfiniteScroll.parts.js +2 -1
- package/dist/_internal/components/utility/InstallPrompt/InstallPrompt.js +2 -2
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.helpers.js +7 -3
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.js +6 -4
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.parts.js +4 -2
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStepRow.js +5 -3
- package/dist/_internal/components/utility/index.js +11 -9
- package/dist/_internal/copy/labels.js +1 -0
- package/dist/_internal/en-US.data-display.js +1 -1
- package/dist/_internal/en-US.feedback.js +1 -1
- package/dist/_internal/en-US.form.js +1 -1
- package/dist/_internal/en-US.labels.js +8 -0
- package/dist/_internal/en-US.navigation.js +1 -1
- package/dist/_internal/en-US.utility.js +1 -1
- package/dist/_internal/pt-BR.data-display.js +1 -1
- package/dist/_internal/pt-BR.feedback.js +1 -1
- package/dist/_internal/pt-BR.form.js +1 -1
- package/dist/_internal/pt-BR.labels.js +8 -0
- package/dist/_internal/pt-BR.labels.js.map +1 -0
- package/dist/_internal/pt-BR.navigation.js +1 -1
- package/dist/_internal/pt-BR.utility.js +1 -1
- package/dist/_internal/social-login-button/social-login-button.js +5 -4
- package/dist/_internal/user-avatar/user-avatar.js +9 -7
- package/dist/_internal/utils/resolve-labels.js +8 -0
- package/dist/_internal/utils/resolve-labels.js.map +1 -0
- package/dist/charts.js +11 -11
- package/dist/{chunk-OPP6USJC.js β chunk-2FQF4CNE.js} +2 -2
- package/dist/{chunk-BWFQEASG.js β chunk-2P5ZBBTL.js} +5 -5
- package/dist/{chunk-SV6IQ2YO.js β chunk-3B7EJIG7.js} +6 -4
- package/dist/chunk-3B7EJIG7.js.map +1 -0
- package/dist/{chunk-GHXW6O5T.js β chunk-3LQLLL2J.js} +4 -4
- package/dist/chunk-3LQLLL2J.js.map +1 -0
- package/dist/{chunk-4MQ6XTIJ.js β chunk-3OWFUFZL.js} +27 -13
- package/dist/chunk-3OWFUFZL.js.map +1 -0
- package/dist/{chunk-QVO4SIS7.js β chunk-3W2B7IZG.js} +2 -2
- package/dist/{chunk-AYP6ICAY.js β chunk-44FY2YZL.js} +11 -10
- package/dist/chunk-44FY2YZL.js.map +1 -0
- package/dist/{chunk-Q6PRGXR2.js β chunk-4HBCWKIX.js} +4 -4
- package/dist/{chunk-RA6W37NZ.js β chunk-4JV46KXS.js} +11 -8
- package/dist/chunk-4JV46KXS.js.map +1 -0
- package/dist/{chunk-2QO3BKUQ.js β chunk-4NVEUJXK.js} +5 -5
- package/dist/{chunk-O6SAU5JA.js β chunk-4OTJ66ID.js} +4 -4
- package/dist/{chunk-PBMCRDZI.js β chunk-4PREA2R5.js} +5 -2
- package/dist/chunk-4PREA2R5.js.map +1 -0
- package/dist/{chunk-YZX4DVRS.js β chunk-52UVUVYQ.js} +6 -3
- package/dist/chunk-52UVUVYQ.js.map +1 -0
- package/dist/{chunk-PIP7XII2.js β chunk-5JDY5W7O.js} +3 -3
- package/dist/{chunk-XICRCPEQ.js β chunk-5U7LBO2V.js} +5 -4
- package/dist/chunk-5U7LBO2V.js.map +1 -0
- package/dist/{chunk-JE6RZ5L6.js β chunk-5ZOJLYD2.js} +4 -4
- package/dist/{chunk-KT3TF2LT.js β chunk-634Z7HGN.js} +10 -5
- package/dist/chunk-634Z7HGN.js.map +1 -0
- package/dist/{chunk-LG52LMAM.js β chunk-6B7VZFAO.js} +3 -3
- package/dist/{chunk-ALREWFRX.js β chunk-6DGNMASB.js} +4 -4
- package/dist/{chunk-LH4VKUZC.js β chunk-6EERXU6R.js} +13 -7
- package/dist/chunk-6EERXU6R.js.map +1 -0
- package/dist/{chunk-MA6SUE7F.js β chunk-6EZQLNPK.js} +5 -3
- package/dist/chunk-6EZQLNPK.js.map +1 -0
- package/dist/{chunk-555TUQ7E.js β chunk-6IVR5HFI.js} +6 -6
- package/dist/{chunk-VRPCZ3IE.js β chunk-6JKECOZ2.js} +7 -6
- package/dist/chunk-6JKECOZ2.js.map +1 -0
- package/dist/{chunk-J26ZWYQI.js β chunk-6KCJNERH.js} +2 -2
- package/dist/{chunk-5752357K.js β chunk-6N2U67KF.js} +4 -4
- package/dist/{chunk-AXZCCX7O.js β chunk-6S7CFH6V.js} +2 -2
- package/dist/{chunk-PMRLFNBT.js β chunk-763AHWKU.js} +4 -4
- package/dist/{chunk-6DAIC2MG.js β chunk-775LIZXS.js} +4 -4
- package/dist/{chunk-XKSA4L2X.js β chunk-7DODMQRK.js} +11 -3
- package/dist/chunk-7DODMQRK.js.map +1 -0
- package/dist/{chunk-7HA7UH7O.js β chunk-7H5BIZ33.js} +4 -4
- package/dist/{chunk-VEBNL5MG.js β chunk-7HYLXERK.js} +4 -4
- package/dist/{chunk-M3DSPEZ3.js β chunk-7S3NG2AO.js} +6 -6
- package/dist/{chunk-EUACQR6N.js β chunk-7UDQJOZZ.js} +7 -5
- package/dist/chunk-7UDQJOZZ.js.map +1 -0
- package/dist/{chunk-CSD6SWBZ.js β chunk-A3Z7ZXLM.js} +6 -6
- package/dist/{chunk-3ZWCKCZC.js β chunk-A7LBWRRW.js} +5 -2
- package/dist/chunk-A7LBWRRW.js.map +1 -0
- package/dist/{chunk-LBZEPWYK.js β chunk-ABJOW7EK.js} +4 -4
- package/dist/{chunk-44PBCQ7E.js β chunk-ABQZFK7M.js} +6 -6
- package/dist/{chunk-ZFBFQK2Y.js β chunk-AFSXC5FU.js} +11 -12
- package/dist/chunk-AFSXC5FU.js.map +1 -0
- package/dist/{chunk-PY3RW5LC.js β chunk-AISCD6W6.js} +24 -10
- package/dist/chunk-AISCD6W6.js.map +1 -0
- package/dist/{chunk-EIMFA7KP.js β chunk-ANUO67JQ.js} +2 -2
- package/dist/{chunk-PTQRJEPN.js β chunk-AOBQ3KYY.js} +2 -2
- package/dist/{chunk-LODYTVOO.js β chunk-B25SHVWP.js} +4 -4
- package/dist/{chunk-ZYKDUKAH.js β chunk-B2RNNJRO.js} +7 -4
- package/dist/chunk-B2RNNJRO.js.map +1 -0
- package/dist/{chunk-HPEBSLYP.js β chunk-B67KUCWU.js} +2 -2
- package/dist/{chunk-GTT5UKKO.js β chunk-BDJIP4HG.js} +4 -4
- package/dist/{chunk-TTCVYY2B.js β chunk-BFBCTF2Y.js} +22 -7
- package/dist/chunk-BFBCTF2Y.js.map +1 -0
- package/dist/{chunk-RS576GOH.js β chunk-BIUT3K6A.js} +4 -4
- package/dist/{chunk-A5NXBOWS.js β chunk-BLHSLB5D.js} +5 -5
- package/dist/{chunk-RHKQ2RSY.js β chunk-BLVFHVDM.js} +17 -17
- package/dist/{chunk-DYHOBKPU.js β chunk-BLZDSCIZ.js} +6 -6
- package/dist/{chunk-XQWUVQ2F.js β chunk-BMVLTTTC.js} +10 -3
- package/dist/chunk-BMVLTTTC.js.map +1 -0
- package/dist/{chunk-CZV6NVCA.js β chunk-BTDY2NYV.js} +10 -7
- package/dist/chunk-BTDY2NYV.js.map +1 -0
- package/dist/{chunk-E53MMMDA.js β chunk-BX6CF2UG.js} +3 -3
- package/dist/{chunk-RUF7TOAZ.js β chunk-C2I7NQC4.js} +3 -2
- package/dist/{chunk-RUF7TOAZ.js.map β chunk-C2I7NQC4.js.map} +1 -1
- package/dist/{chunk-WVZBYTIK.js β chunk-C465AAD5.js} +29 -19
- package/dist/chunk-C465AAD5.js.map +1 -0
- package/dist/{chunk-XYFBJH6F.js β chunk-C7LHIDVB.js} +19 -9
- package/dist/chunk-C7LHIDVB.js.map +1 -0
- package/dist/{chunk-Z24VOTA7.js β chunk-CCWE6DBC.js} +4 -2
- package/dist/{chunk-Z24VOTA7.js.map β chunk-CCWE6DBC.js.map} +1 -1
- package/dist/{chunk-7K23NEZO.js β chunk-CFDYQSN6.js} +8 -8
- package/dist/{chunk-YLSDFW5O.js β chunk-CN4JS57H.js} +35 -5
- package/dist/chunk-CN4JS57H.js.map +1 -0
- package/dist/{chunk-4NQXHPQR.js β chunk-D4LMRSY7.js} +11 -2
- package/dist/chunk-D4LMRSY7.js.map +1 -0
- package/dist/{chunk-O36MIQIO.js β chunk-DB7OJM6X.js} +2 -2
- package/dist/{chunk-GSXYXMCV.js β chunk-DD3VFDB2.js} +2 -2
- package/dist/{chunk-KARMRTTM.js β chunk-DE2GWZ6X.js} +10 -7
- package/dist/chunk-DE2GWZ6X.js.map +1 -0
- package/dist/{chunk-FT6HBP5E.js β chunk-DE7E2GBP.js} +11 -8
- package/dist/chunk-DE7E2GBP.js.map +1 -0
- package/dist/{chunk-QWVETTIY.js β chunk-DJMVBIFD.js} +21 -12
- package/dist/chunk-DJMVBIFD.js.map +1 -0
- package/dist/{chunk-JKNKGGOG.js β chunk-DKRMOIX2.js} +7 -1
- package/dist/chunk-DKRMOIX2.js.map +1 -0
- package/dist/{chunk-3HLKTBEO.js β chunk-DQ22UKMZ.js} +4 -2
- package/dist/{chunk-3HLKTBEO.js.map β chunk-DQ22UKMZ.js.map} +1 -1
- package/dist/{chunk-IQ2U5MVO.js β chunk-DT22MDC3.js} +9 -9
- package/dist/{chunk-INGPH3YQ.js β chunk-DVRNW33K.js} +28 -5
- package/dist/chunk-DVRNW33K.js.map +1 -0
- package/dist/{chunk-C5JCARNE.js β chunk-DWCH6GH5.js} +7 -4
- package/dist/chunk-DWCH6GH5.js.map +1 -0
- package/dist/{chunk-NTO5DALI.js β chunk-DWLSYFQW.js} +5 -2
- package/dist/chunk-DWLSYFQW.js.map +1 -0
- package/dist/{chunk-7XSCEHGA.js β chunk-EOQ6EKTS.js} +7 -7
- package/dist/{chunk-UGH2DDST.js β chunk-ETSASQXI.js} +4 -2
- package/dist/chunk-ETSASQXI.js.map +1 -0
- package/dist/{chunk-F742IMLQ.js β chunk-EXKK73UN.js} +5 -2
- package/dist/chunk-EXKK73UN.js.map +1 -0
- package/dist/{chunk-HN3PZTUK.js β chunk-F5SUBK42.js} +9 -6
- package/dist/chunk-F5SUBK42.js.map +1 -0
- package/dist/chunk-FB4GLQQO.js +102 -0
- package/dist/chunk-FB4GLQQO.js.map +1 -0
- package/dist/{chunk-5KNDAC24.js β chunk-FCCOUOP7.js} +8 -2
- package/dist/chunk-FCCOUOP7.js.map +1 -0
- package/dist/{chunk-WC3W36AM.js β chunk-FKUVFPQZ.js} +26 -12
- package/dist/chunk-FKUVFPQZ.js.map +1 -0
- package/dist/{chunk-VEKTKCSB.js β chunk-FLJ3RIRP.js} +5 -5
- package/dist/{chunk-2ARVNCVU.js β chunk-FZUAB2KS.js} +8 -6
- package/dist/chunk-FZUAB2KS.js.map +1 -0
- package/dist/{chunk-Z5WUSI47.js β chunk-G3JFESKD.js} +6 -6
- package/dist/{chunk-KZXOIRUP.js β chunk-G3SWMBZS.js} +43 -12
- package/dist/chunk-G3SWMBZS.js.map +1 -0
- package/dist/{chunk-XRDH24J7.js β chunk-G6ET2DRL.js} +2 -2
- package/dist/{chunk-KIL3OVLI.js β chunk-G76PIGF7.js} +6 -2
- package/dist/chunk-G76PIGF7.js.map +1 -0
- package/dist/{chunk-7JOLSD2W.js β chunk-GHTVBYFA.js} +3 -3
- package/dist/{chunk-Y7YJYUNV.js β chunk-GLAAX5JJ.js} +16 -4
- package/dist/chunk-GLAAX5JJ.js.map +1 -0
- package/dist/{chunk-U4G3KY6L.js β chunk-GMU5AA3R.js} +8 -7
- package/dist/chunk-GMU5AA3R.js.map +1 -0
- package/dist/{chunk-XLTHZI5W.js β chunk-GX2LIB4T.js} +6 -3
- package/dist/chunk-GX2LIB4T.js.map +1 -0
- package/dist/{chunk-RKVS5AA6.js β chunk-H3NXDKFH.js} +7 -4
- package/dist/chunk-H3NXDKFH.js.map +1 -0
- package/dist/{chunk-47VRDPR2.js β chunk-HFZE2PGM.js} +5 -2
- package/dist/chunk-HFZE2PGM.js.map +1 -0
- package/dist/{chunk-AMLHEKSV.js β chunk-HI7JPDD6.js} +5 -5
- package/dist/{chunk-5MMAV7XK.js β chunk-HWKBCLKD.js} +4 -2
- package/dist/chunk-HWKBCLKD.js.map +1 -0
- package/dist/{chunk-5J7SA4CZ.js β chunk-HWUFOII2.js} +28 -10
- package/dist/chunk-HWUFOII2.js.map +1 -0
- package/dist/{chunk-N34AOGK3.js β chunk-I3OKAQ5L.js} +7 -7
- package/dist/{chunk-AEYLFBZT.js β chunk-I4NDZFTB.js} +2 -2
- package/dist/{chunk-2ZRZTGWP.js β chunk-ISW5K72V.js} +5 -5
- package/dist/{chunk-ICRVLGWD.js β chunk-J7CIRTWQ.js} +14 -3
- package/dist/chunk-J7CIRTWQ.js.map +1 -0
- package/dist/{chunk-FTPTPASD.js β chunk-JBYFBPI6.js} +2 -5
- package/dist/{chunk-FTPTPASD.js.map β chunk-JBYFBPI6.js.map} +1 -1
- package/dist/{chunk-AYJ44VTJ.js β chunk-JJNY5MZL.js} +15 -13
- package/dist/chunk-JJNY5MZL.js.map +1 -0
- package/dist/{chunk-4M5GEKPM.js β chunk-JL4I7OQE.js} +4 -4
- package/dist/{chunk-EF4DVYD2.js β chunk-JMUZ5JZA.js} +2 -2
- package/dist/chunk-JQLQOIB3.js +1 -0
- package/dist/chunk-JQLQOIB3.js.map +1 -0
- package/dist/{chunk-FIOBPQL2.js β chunk-JQSF3CUR.js} +16 -4
- package/dist/chunk-JQSF3CUR.js.map +1 -0
- package/dist/{chunk-HQCZT6TO.js β chunk-JVOEVTCZ.js} +5 -5
- package/dist/{chunk-MBMZNSBP.js β chunk-JW7MN4DG.js} +3 -3
- package/dist/{chunk-FCVPVEAS.js β chunk-KSOIFQJ6.js} +7 -7
- package/dist/{chunk-GBVNY2LG.js β chunk-KTXJQ4YJ.js} +6 -6
- package/dist/{chunk-NBXG3SQ3.js β chunk-KW2KCPZF.js} +6 -6
- package/dist/{chunk-4VRDFZ4G.js β chunk-KYTFGW4R.js} +7 -3
- package/dist/chunk-KYTFGW4R.js.map +1 -0
- package/dist/{chunk-3V3Z4EML.js β chunk-L4FWEI2P.js} +5 -5
- package/dist/{chunk-7VRCGWQL.js β chunk-L7N4AFZD.js} +6 -5
- package/dist/chunk-L7N4AFZD.js.map +1 -0
- package/dist/{chunk-T743IIER.js β chunk-LDPN55AA.js} +8 -4
- package/dist/chunk-LDPN55AA.js.map +1 -0
- package/dist/{chunk-2TSGRQ2J.js β chunk-LHJJZ462.js} +4 -2
- package/dist/chunk-LHJJZ462.js.map +1 -0
- package/dist/{chunk-OE3SQOZV.js β chunk-LHRAHDJF.js} +13 -7
- package/dist/chunk-LHRAHDJF.js.map +1 -0
- package/dist/chunk-LL2BWQPM.js +11 -0
- package/dist/chunk-LL2BWQPM.js.map +1 -0
- package/dist/{chunk-56JF5PZK.js β chunk-LYVTJLCF.js} +4 -4
- package/dist/{chunk-MNZ6MCOK.js β chunk-MKRJUT5O.js} +9 -9
- package/dist/{chunk-BGYLL467.js β chunk-N3W6FZOC.js} +4 -4
- package/dist/{chunk-B2JYQBO4.js β chunk-NF5TATKP.js} +11 -6
- package/dist/chunk-NF5TATKP.js.map +1 -0
- package/dist/{chunk-BWFUZ4N2.js β chunk-NGXDOWUP.js} +4 -4
- package/dist/{chunk-MTGEJRE4.js β chunk-NNKIM73H.js} +17 -4
- package/dist/chunk-NNKIM73H.js.map +1 -0
- package/dist/{chunk-OHXAJUO5.js β chunk-NPPO7G2B.js} +5 -3
- package/dist/{chunk-OHXAJUO5.js.map β chunk-NPPO7G2B.js.map} +1 -1
- package/dist/{chunk-3VXS7O3X.js β chunk-NSS3X7FK.js} +17 -3
- package/dist/chunk-NSS3X7FK.js.map +1 -0
- package/dist/{chunk-VNVV6Y2X.js β chunk-NWNHSASQ.js} +4 -2
- package/dist/chunk-NWNHSASQ.js.map +1 -0
- package/dist/chunk-O2RXSXSF.js +145 -0
- package/dist/chunk-O2RXSXSF.js.map +1 -0
- package/dist/{chunk-VMN6KG2U.js β chunk-OCLEKMBP.js} +3 -3
- package/dist/chunk-OCLEKMBP.js.map +1 -0
- package/dist/{chunk-HBP2OU4Q.js β chunk-OOCD2QR3.js} +4 -3
- package/dist/chunk-OOCD2QR3.js.map +1 -0
- package/dist/{chunk-NYWAAXDX.js β chunk-OT4HIG7S.js} +3 -3
- package/dist/{chunk-ZPACE34U.js β chunk-OTION43A.js} +16 -12
- package/dist/chunk-OTION43A.js.map +1 -0
- package/dist/{chunk-GRMBCJS6.js β chunk-PAKLYZ6G.js} +4 -4
- package/dist/{chunk-PU3HEWSG.js β chunk-PF2A2IM7.js} +13 -4
- package/dist/chunk-PF2A2IM7.js.map +1 -0
- package/dist/{chunk-5M2NWXN4.js β chunk-PGBIUO2A.js} +2 -2
- package/dist/{chunk-RCTHCXS6.js β chunk-PJNIJIE6.js} +2 -2
- package/dist/{chunk-6ATXOJVQ.js β chunk-QADTI63U.js} +4 -4
- package/dist/{chunk-SUZXPDUQ.js β chunk-QJLOWBFW.js} +12 -6
- package/dist/chunk-QJLOWBFW.js.map +1 -0
- package/dist/{chunk-FRGNTTPA.js β chunk-QK3XXPBA.js} +15 -10
- package/dist/chunk-QK3XXPBA.js.map +1 -0
- package/dist/chunk-QNAB53N3.js +1 -0
- package/dist/chunk-QNAB53N3.js.map +1 -0
- package/dist/{chunk-7ZROYGUG.js β chunk-QOTMQLMW.js} +2 -2
- package/dist/{chunk-NQCTANF3.js β chunk-QVDEGBME.js} +7 -7
- package/dist/{chunk-LI6XSM5D.js β chunk-QVEJGFRP.js} +3 -3
- package/dist/{chunk-HEBZ7Q7O.js β chunk-QVYBRD6U.js} +7 -6
- package/dist/chunk-QVYBRD6U.js.map +1 -0
- package/dist/{chunk-JJVIZR6C.js β chunk-RIPG3QIN.js} +24 -13
- package/dist/chunk-RIPG3QIN.js.map +1 -0
- package/dist/{chunk-VD72JGHA.js β chunk-RMZQHJEP.js} +3 -3
- package/dist/{chunk-VBGC7G4F.js β chunk-RQ3IS5NQ.js} +2 -2
- package/dist/{chunk-3JDP5OUR.js β chunk-RQY5ONSF.js} +6 -2
- package/dist/chunk-RQY5ONSF.js.map +1 -0
- package/dist/{chunk-33LAPBYB.js β chunk-SCQARHMU.js} +9 -5
- package/dist/chunk-SCQARHMU.js.map +1 -0
- package/dist/chunk-SEUJNFOD.js +119 -0
- package/dist/chunk-SEUJNFOD.js.map +1 -0
- package/dist/{chunk-YNDTLBOH.js β chunk-SM2O6D5F.js} +2 -2
- package/dist/{chunk-WA6F4NOO.js β chunk-SMANO5OD.js} +4 -4
- package/dist/{chunk-7SYYGXC7.js β chunk-SSCEX5NY.js} +6 -2
- package/dist/chunk-SSCEX5NY.js.map +1 -0
- package/dist/{chunk-YJBWDDW7.js β chunk-SXNGH56D.js} +12 -12
- package/dist/{chunk-HZK4DRGF.js β chunk-SYZVXWEQ.js} +6 -4
- package/dist/chunk-SYZVXWEQ.js.map +1 -0
- package/dist/{chunk-VQYR64QB.js β chunk-TAR5LSGT.js} +8 -3
- package/dist/chunk-TAR5LSGT.js.map +1 -0
- package/dist/{chunk-NDGA7ZE6.js β chunk-TGMMUKOF.js} +3 -3
- package/dist/{chunk-RZCXYKY4.js β chunk-TGZ6GPYQ.js} +7 -3
- package/dist/chunk-TGZ6GPYQ.js.map +1 -0
- package/dist/{chunk-SB2SEGR6.js β chunk-TIM4PXWN.js} +3 -3
- package/dist/{chunk-2ILXXBMG.js β chunk-TLVKJBPM.js} +12 -6
- package/dist/chunk-TLVKJBPM.js.map +1 -0
- package/dist/{chunk-BGTG7G54.js β chunk-TLZR6UPJ.js} +6 -3
- package/dist/chunk-TLZR6UPJ.js.map +1 -0
- package/dist/{chunk-MHLYX6QW.js β chunk-TRAMTVIO.js} +5 -5
- package/dist/{chunk-QO7UJXXO.js β chunk-TVMSXL3R.js} +2 -2
- package/dist/{chunk-XLCVMRSO.js β chunk-U67CX4FL.js} +12 -4
- package/dist/chunk-U67CX4FL.js.map +1 -0
- package/dist/{chunk-DXFKPY2K.js β chunk-UCQRJTCI.js} +4 -4
- package/dist/{chunk-CW6Y32N2.js β chunk-UF4JFRLE.js} +6 -6
- package/dist/{chunk-HHPJXK4Z.js β chunk-UHQZ5XPW.js} +2 -2
- package/dist/{chunk-FTDGFWB5.js β chunk-UK3DSFMK.js} +5 -5
- package/dist/{chunk-EERUSI52.js β chunk-URAX2JPM.js} +6 -3
- package/dist/chunk-URAX2JPM.js.map +1 -0
- package/dist/{chunk-GBKIGUNP.js β chunk-UYNJ3FYE.js} +3 -3
- package/dist/{chunk-UZOG6HNN.js β chunk-V65YK5DC.js} +5 -4
- package/dist/chunk-V65YK5DC.js.map +1 -0
- package/dist/{chunk-4HUSG5MR.js β chunk-V6DMNSW6.js} +4 -4
- package/dist/chunk-V6DMNSW6.js.map +1 -0
- package/dist/{chunk-MSC43MCJ.js β chunk-VAGGIRLA.js} +10 -7
- package/dist/chunk-VAGGIRLA.js.map +1 -0
- package/dist/{chunk-2MYSXWZQ.js β chunk-VKTF3GAP.js} +9 -9
- package/dist/chunk-VRKNVZZQ.js +145 -0
- package/dist/chunk-VRKNVZZQ.js.map +1 -0
- package/dist/{chunk-LTTYUSJ2.js β chunk-VTDZUO2J.js} +4 -2
- package/dist/chunk-VTDZUO2J.js.map +1 -0
- package/dist/{chunk-4XBAEKQQ.js β chunk-W2RXXF7K.js} +4 -4
- package/dist/{chunk-3Z3WIQ5M.js β chunk-W3EVATBS.js} +5 -5
- package/dist/{chunk-A2YLFKQU.js β chunk-W5WYTVLS.js} +2 -2
- package/dist/{chunk-64AOS2WA.js β chunk-WWIYYXY3.js} +17 -10
- package/dist/chunk-WWIYYXY3.js.map +1 -0
- package/dist/{chunk-EBCEDBHX.js β chunk-XDDKRACZ.js} +3 -3
- package/dist/{chunk-WOXWLJYR.js β chunk-XF47LPCF.js} +5 -2
- package/dist/chunk-XF47LPCF.js.map +1 -0
- package/dist/{chunk-SLSED46V.js β chunk-Y3DV7LGC.js} +2 -1
- package/dist/{chunk-SLSED46V.js.map β chunk-Y3DV7LGC.js.map} +1 -1
- package/dist/{chunk-ASZGMKB4.js β chunk-Y3TD7HOY.js} +2 -2
- package/dist/{chunk-3YLRR4JM.js β chunk-Y3YZBB74.js} +2 -2
- package/dist/{chunk-HBHBRRSW.js β chunk-YBAK2WN5.js} +7 -7
- package/dist/{chunk-LOLYI6PS.js β chunk-YCZGYYUX.js} +11 -8
- package/dist/chunk-YCZGYYUX.js.map +1 -0
- package/dist/{chunk-XODBYGTH.js β chunk-YMKSPW4T.js} +2 -2
- package/dist/{chunk-YOKUDQIJ.js β chunk-YOQAK2RN.js} +7 -3
- package/dist/chunk-YOQAK2RN.js.map +1 -0
- package/dist/{chunk-6RTE4UNO.js β chunk-YV4O7KDR.js} +1 -1
- package/dist/{chunk-MM7BPTVV.js β chunk-Z52W7FEU.js} +2 -2
- package/dist/{chunk-7P5PNRBT.js β chunk-ZDBG7QG2.js} +6 -6
- package/dist/{chunk-Z5V5E3JW.js β chunk-ZIHSCBMN.js} +10 -10
- package/dist/{chunk-S4JXSC4D.js β chunk-ZT73ACK3.js} +6 -6
- package/dist/{chunk-TJO4CBYT.js β chunk-ZX3QMCYO.js} +6 -3
- package/dist/chunk-ZX3QMCYO.js.map +1 -0
- package/dist/data-display/Alert.js +3 -3
- package/dist/data-display/AlertDialog.js +3 -2
- package/dist/data-display/AsyncStateContainer.js +7 -5
- package/dist/data-display/Avatar.js +5 -4
- package/dist/data-display/CardKit.js +19 -18
- package/dist/data-display/Carousel.js +7 -4
- package/dist/data-display/Chart.js +11 -11
- package/dist/data-display/DataGrid.js +2 -2
- package/dist/data-display/DataViews.js +94 -92
- package/dist/data-display/EmptyState.js +3 -2
- package/dist/data-display/ErrorState.js +2 -1
- package/dist/data-display/FleetMap.js +16 -12
- package/dist/data-display/HoverCard.js +2 -2
- package/dist/data-display/InteractiveTooltip.js +2 -2
- package/dist/data-display/LazyImage.js +3 -2
- package/dist/data-display/Lightbox.js +6 -6
- package/dist/data-display/LoadingState.js +3 -1
- package/dist/data-display/MapPreview.js +9 -6
- package/dist/data-display/Progress.js +2 -2
- package/dist/data-display/SectionOnboarding.js +6 -4
- package/dist/data-display/Sheet.js +6 -5
- package/dist/data-display/Stepper.js +3 -1
- package/dist/data-display/Table.js +6 -4
- package/dist/data-display/Timeline.js +4 -2
- package/dist/en-US.js +17 -13
- package/dist/feedback/ConfirmAction.js +10 -9
- package/dist/feedback/Dialog.js +3 -2
- package/dist/feedback/NotificationStatusNotice.js +4 -4
- package/dist/feedback/SequenceResolver.js +12 -11
- package/dist/feedback/Sonner.js +3 -2
- package/dist/feedback/StackedModal.js +7 -6
- package/dist/feedback/Toast.js +2 -1
- package/dist/feedback/TutorialOverlay.js +3 -2
- package/dist/form/AddressAutocomplete.js +12 -10
- package/dist/form/Autocomplete.js +2 -2
- package/dist/form/Calendar.js +6 -6
- package/dist/form/CategorySelect.js +9 -9
- package/dist/form/Checkbox.js +2 -2
- package/dist/form/CodeEditor.js +3 -3
- package/dist/form/Command.js +4 -3
- package/dist/form/DateRangePicker.js +12 -11
- package/dist/form/InputOTP.js +2 -2
- package/dist/form/Menubar.js +2 -2
- package/dist/form/PhoneInput.js +4 -3
- package/dist/form/PickerSheet.js +4 -4
- package/dist/form/RichTextEditor.js +7 -5
- package/dist/form/Switch.js +4 -4
- package/dist/form/Textarea.js +1 -1
- package/dist/form/UploadButton.js +3 -2
- package/dist/form/total-form.js +18 -17
- package/dist/layout/Card.js +2 -2
- package/dist/layout/ContentToolbar.js +13 -11
- package/dist/layout/Dashboard.js +2 -1
- package/dist/layout/Drawer.js +2 -1
- package/dist/layout/ScrollArea.js +3 -3
- package/dist/layout/SettingCard.js +17 -17
- package/dist/layout/SettingsLayout.js +7 -6
- package/dist/layout/TableFilter.js +2 -1
- package/dist/locales.js +37 -29
- package/dist/locales.js.map +1 -1
- package/dist/native/chunks/{chunk-BXNZHDXK.js β chunk-67CYDCHZ.js} +12 -5
- package/dist/native/chunks/chunk-67CYDCHZ.js.map +1 -0
- package/dist/native/chunks/{chunk-AVHGS66L.js β chunk-7AVFQB6A.js} +7 -4
- package/dist/native/chunks/chunk-7AVFQB6A.js.map +1 -0
- package/dist/native/chunks/chunk-DUELD4HY.js +145 -0
- package/dist/native/chunks/chunk-DUELD4HY.js.map +1 -0
- package/dist/native/data-display/Avatar.js +4 -1
- package/dist/native/data-display/Avatar.js.map +1 -1
- package/dist/native/data-display/Badge.js +9 -3
- package/dist/native/data-display/Badge.js.map +1 -1
- package/dist/native/data-display/Chip.js +9 -1
- package/dist/native/data-display/Chip.js.map +1 -1
- package/dist/native/data-display/EmptyState.js +3 -2
- package/dist/native/data-display/ErrorState.js +5 -2
- package/dist/native/data-display/ErrorState.js.map +1 -1
- package/dist/native/data-display/FleetMap.js +3 -2
- package/dist/native/data-display/FleetMap.js.map +1 -1
- package/dist/native/data-display/LoadingState.js +16 -5
- package/dist/native/data-display/LoadingState.js.map +1 -1
- package/dist/native/feedback/Dialog.js +20 -3
- package/dist/native/feedback/Dialog.js.map +1 -1
- package/dist/native/form/Button.js +2 -1
- package/dist/native/form/Checkbox.js +6 -1
- package/dist/native/form/Checkbox.js.map +1 -1
- package/dist/native/form/Input.js +11 -3
- package/dist/native/form/Input.js.map +1 -1
- package/dist/native/form/Switch.js +5 -1
- package/dist/native/form/Switch.js.map +1 -1
- package/dist/navigation/AppHeader.js +13 -11
- package/dist/navigation/Breadcrumbs.js +2 -1
- package/dist/navigation/CommandPalette.js +6 -4
- package/dist/navigation/NavigationMenu.js +7 -6
- package/dist/navigation/Pagination.js +2 -2
- package/dist/navigation/SectionNav.js +7 -6
- package/dist/pt-BR.js +10 -6
- package/dist/social-login-button.js +5 -4
- package/dist/types/components/data-display/AlertDialog/AlertDialog.d.ts.map +1 -1
- package/dist/types/components/data-display/AlertDialog/AlertDialog.parts.d.ts.map +1 -1
- package/dist/types/components/data-display/AlertDialog/AlertDialog.types.d.ts +5 -0
- package/dist/types/components/data-display/AlertDialog/AlertDialog.types.d.ts.map +1 -1
- package/dist/types/components/data-display/Avatar/Avatar.d.ts.map +1 -1
- package/dist/types/components/data-display/Carousel/Carousel.chrome.d.ts.map +1 -1
- package/dist/types/components/data-display/Carousel/Carousel.parts.d.ts.map +1 -1
- package/dist/types/components/data-display/Carousel/Carousel.types.d.ts +2 -0
- package/dist/types/components/data-display/Carousel/Carousel.types.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/DeleteViewDialog.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-copy.d.ts +11 -0
- package/dist/types/components/data-display/DataViews/data-views-copy.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-grid-helpers.d.ts +6 -2
- package/dist/types/components/data-display/DataViews/data-views-grid-helpers.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/use-data-views-state.d.ts.map +1 -1
- package/dist/types/components/data-display/EmptyState/EmptyState.d.ts.map +1 -1
- package/dist/types/components/data-display/ErrorState/ErrorState.d.ts.map +1 -1
- package/dist/types/components/data-display/LazyImage/LazyImage.d.ts.map +1 -1
- package/dist/types/components/data-display/LazyImage/LazyImage.types.d.ts +10 -0
- package/dist/types/components/data-display/LazyImage/LazyImage.types.d.ts.map +1 -1
- package/dist/types/components/data-display/LoadingState/LoadingState.base.d.ts +7 -0
- package/dist/types/components/data-display/LoadingState/LoadingState.base.d.ts.map +1 -1
- package/dist/types/components/data-display/LoadingState/LoadingState.d.ts.map +1 -1
- package/dist/types/components/data-display/MapPreview/MapControlBar.d.ts.map +1 -1
- package/dist/types/components/data-display/MapPreview/MapLayers.d.ts +1 -1
- package/dist/types/components/data-display/MapPreview/MapLayers.d.ts.map +1 -1
- package/dist/types/components/data-display/MapPreview/MapMarkers.d.ts +2 -0
- package/dist/types/components/data-display/MapPreview/MapMarkers.d.ts.map +1 -1
- package/dist/types/components/data-display/MapPreview/MapPreview.d.ts.map +1 -1
- package/dist/types/components/data-display/MapPreview/MapPreview.helpers.d.ts +7 -1
- package/dist/types/components/data-display/MapPreview/MapPreview.helpers.d.ts.map +1 -1
- package/dist/types/components/data-display/Sheet/Sheet.body.d.ts +1 -1
- package/dist/types/components/data-display/Sheet/Sheet.body.d.ts.map +1 -1
- package/dist/types/components/data-display/Sheet/Sheet.parts.d.ts.map +1 -1
- package/dist/types/components/data-display/Sheet/Sheet.types.d.ts +10 -0
- package/dist/types/components/data-display/Sheet/Sheet.types.d.ts.map +1 -1
- package/dist/types/components/data-display/Stepper/Stepper.d.ts.map +1 -1
- package/dist/types/components/data-display/Stepper/Stepper.types.d.ts +4 -0
- package/dist/types/components/data-display/Stepper/Stepper.types.d.ts.map +1 -1
- package/dist/types/components/data-display/Table/Table.d.ts.map +1 -1
- package/dist/types/components/data-display/Table/Table.helpers.d.ts.map +1 -1
- package/dist/types/components/data-display/Table/Table.types.d.ts +11 -0
- package/dist/types/components/data-display/Table/Table.types.d.ts.map +1 -1
- package/dist/types/components/data-display/Table/TableParts.d.ts +2 -1
- package/dist/types/components/data-display/Table/TableParts.d.ts.map +1 -1
- package/dist/types/components/data-display/Table/TableParts.hooks.d.ts +2 -2
- package/dist/types/components/data-display/Table/TableParts.hooks.d.ts.map +1 -1
- package/dist/types/components/data-display/Timeline/Timeline.d.ts.map +1 -1
- package/dist/types/components/data-display/Timeline/Timeline.types.d.ts +3 -0
- package/dist/types/components/data-display/Timeline/Timeline.types.d.ts.map +1 -1
- package/dist/types/components/data-display/Timeline/TimelineRow.d.ts +2 -0
- package/dist/types/components/data-display/Timeline/TimelineRow.d.ts.map +1 -1
- package/dist/types/components/feedback/Dialog/Dialog.base.d.ts +10 -0
- package/dist/types/components/feedback/Dialog/Dialog.base.d.ts.map +1 -1
- package/dist/types/components/feedback/Dialog/Dialog.d.ts.map +1 -1
- package/dist/types/components/feedback/Sonner/Sonner.d.ts +6 -0
- package/dist/types/components/feedback/Sonner/Sonner.d.ts.map +1 -1
- package/dist/types/components/feedback/Sonner/SonnerToast.d.ts.map +1 -1
- package/dist/types/components/feedback/StackedModal/StackedModal.d.ts.map +1 -1
- package/dist/types/components/feedback/StackedModal/StackedModal.parts.d.ts +2 -0
- package/dist/types/components/feedback/StackedModal/StackedModal.parts.d.ts.map +1 -1
- package/dist/types/components/feedback/StackedModal/StackedModal.types.d.ts +5 -0
- package/dist/types/components/feedback/StackedModal/StackedModal.types.d.ts.map +1 -1
- package/dist/types/components/feedback/Toast/Toast.d.ts.map +1 -1
- package/dist/types/components/feedback/Toast/Toast.types.d.ts +5 -0
- package/dist/types/components/feedback/Toast/Toast.types.d.ts.map +1 -1
- package/dist/types/components/feedback/TutorialOverlay/TutorialOverlay.d.ts.map +1 -1
- package/dist/types/components/feedback/TutorialOverlay/TutorialStepBody.d.ts.map +1 -1
- package/dist/types/components/form/AddressAutocomplete/AddressAutocomplete.d.ts.map +1 -1
- package/dist/types/components/form/AddressAutocomplete/AddressAutocomplete.helpers.d.ts +1 -1
- package/dist/types/components/form/AddressAutocomplete/AddressAutocomplete.helpers.d.ts.map +1 -1
- package/dist/types/components/form/AddressAutocomplete/AddressAutocomplete.hooks.d.ts +3 -1
- package/dist/types/components/form/AddressAutocomplete/AddressAutocomplete.hooks.d.ts.map +1 -1
- package/dist/types/components/form/AddressAutocomplete/AddressAutocompleteField.d.ts.map +1 -1
- package/dist/types/components/form/AddressAutocomplete/useAddressPredictions.d.ts +2 -1
- package/dist/types/components/form/AddressAutocomplete/useAddressPredictions.d.ts.map +1 -1
- package/dist/types/components/form/AddressAutocomplete/useAddressSelection.d.ts +3 -1
- package/dist/types/components/form/AddressAutocomplete/useAddressSelection.d.ts.map +1 -1
- package/dist/types/components/form/AddressAutocomplete/useCurrentLocation.d.ts +3 -1
- package/dist/types/components/form/AddressAutocomplete/useCurrentLocation.d.ts.map +1 -1
- package/dist/types/components/form/AddressAutocomplete/useGoogleMapsAPI.d.ts +4 -1
- package/dist/types/components/form/AddressAutocomplete/useGoogleMapsAPI.d.ts.map +1 -1
- package/dist/types/components/form/Button/Button.native.loading.d.ts +2 -1
- package/dist/types/components/form/Button/Button.native.loading.d.ts.map +1 -1
- package/dist/types/components/form/Command/Command.hooks.d.ts.map +1 -1
- package/dist/types/components/form/Command/Command.parts.d.ts.map +1 -1
- package/dist/types/components/form/DateRangePicker/DateRangePicker.range.d.ts.map +1 -1
- package/dist/types/components/form/PhoneInput/PhoneInput.d.ts.map +1 -1
- package/dist/types/components/form/PhoneInput/PhoneInput.types.d.ts +1 -0
- package/dist/types/components/form/PhoneInput/PhoneInput.types.d.ts.map +1 -1
- package/dist/types/components/form/PhoneInput/countries.d.ts +6 -0
- package/dist/types/components/form/PhoneInput/countries.d.ts.map +1 -1
- package/dist/types/components/form/RichTextEditor/RichTextEditor.d.ts.map +1 -1
- package/dist/types/components/form/RichTextEditor/RichTextEditor.dom.d.ts +1 -1
- package/dist/types/components/form/RichTextEditor/RichTextEditor.dom.d.ts.map +1 -1
- package/dist/types/components/form/RichTextEditor/RichTextEditor.format.d.ts +2 -1
- package/dist/types/components/form/RichTextEditor/RichTextEditor.format.d.ts.map +1 -1
- package/dist/types/components/form/RichTextEditor/RichTextEditor.hooks.d.ts +2 -1
- package/dist/types/components/form/RichTextEditor/RichTextEditor.hooks.d.ts.map +1 -1
- package/dist/types/components/form/RichTextEditor/RichTextEditor.types.d.ts +7 -1
- package/dist/types/components/form/RichTextEditor/RichTextEditor.types.d.ts.map +1 -1
- package/dist/types/components/form/RichTextEditor/RichTextEditorToolbar.d.ts +2 -0
- package/dist/types/components/form/RichTextEditor/RichTextEditorToolbar.d.ts.map +1 -1
- package/dist/types/components/form/Textarea/TextareaRichEditor.d.ts.map +1 -1
- package/dist/types/components/form/UploadButton/UploadButton.hooks.d.ts.map +1 -1
- package/dist/types/components/form/total-form/FormErrorSnackbar.d.ts.map +1 -1
- package/dist/types/components/layout/ContentToolbar/ColumnsMenu.d.ts.map +1 -1
- package/dist/types/components/layout/ContentToolbar/ContentToolbar.types.d.ts +14 -0
- package/dist/types/components/layout/ContentToolbar/ContentToolbar.types.d.ts.map +1 -1
- package/dist/types/components/layout/ContentToolbar/FilterTrigger.d.ts +1 -1
- package/dist/types/components/layout/ContentToolbar/FilterTrigger.d.ts.map +1 -1
- package/dist/types/components/layout/ContentToolbar/MultiSelectDropdown.d.ts.map +1 -1
- package/dist/types/components/layout/ContentToolbar/ViewSelector.d.ts +1 -1
- package/dist/types/components/layout/ContentToolbar/ViewSelector.d.ts.map +1 -1
- package/dist/types/components/layout/Dashboard/Dashboard.d.ts +2 -2
- package/dist/types/components/layout/Dashboard/Dashboard.d.ts.map +1 -1
- package/dist/types/components/layout/Dashboard/Dashboard.types.d.ts +5 -0
- package/dist/types/components/layout/Dashboard/Dashboard.types.d.ts.map +1 -1
- package/dist/types/components/layout/Drawer/Drawer.d.ts.map +1 -1
- package/dist/types/components/layout/SettingsLayout/SettingsLayout.d.ts.map +1 -1
- package/dist/types/components/layout/SettingsLayout/SettingsLayout.rail.d.ts +3 -1
- package/dist/types/components/layout/SettingsLayout/SettingsLayout.rail.d.ts.map +1 -1
- package/dist/types/components/layout/SettingsLayout/SettingsLayout.types.d.ts +6 -0
- package/dist/types/components/layout/SettingsLayout/SettingsLayout.types.d.ts.map +1 -1
- package/dist/types/components/layout/TableFilter/TableFilter.d.ts.map +1 -1
- package/dist/types/components/navigation/AppHeader/AppHeader.identity.d.ts.map +1 -1
- package/dist/types/components/navigation/AppHeader/AppHeader.types.d.ts +5 -1
- package/dist/types/components/navigation/AppHeader/AppHeader.types.d.ts.map +1 -1
- package/dist/types/components/navigation/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/dist/types/components/navigation/CommandPalette/CommandPalette.d.ts.map +1 -1
- package/dist/types/components/navigation/CommandPalette/CommandPalette.helpers.d.ts +1 -1
- package/dist/types/components/navigation/CommandPalette/CommandPalette.helpers.d.ts.map +1 -1
- package/dist/types/components/navigation/CommandPalette/CommandPalette.hooks.d.ts +2 -1
- package/dist/types/components/navigation/CommandPalette/CommandPalette.hooks.d.ts.map +1 -1
- package/dist/types/components/navigation/CommandPalette/CommandPaletteResults.d.ts.map +1 -1
- package/dist/types/components/navigation/NavigationMenu/NavigationMenu.d.ts.map +1 -1
- package/dist/types/components/navigation/NavigationMenu/NavigationMenu.shell.d.ts +1 -0
- package/dist/types/components/navigation/NavigationMenu/NavigationMenu.shell.d.ts.map +1 -1
- package/dist/types/components/navigation/NavigationMenu/NavigationMenu.types.d.ts +11 -0
- package/dist/types/components/navigation/NavigationMenu/NavigationMenu.types.d.ts.map +1 -1
- package/dist/types/components/navigation/NavigationMenu/NavigationMenuItem.d.ts.map +1 -1
- package/dist/types/components/navigation/NavigationMenu/NavigationStandardBody.d.ts +4 -0
- package/dist/types/components/navigation/NavigationMenu/NavigationStandardBody.d.ts.map +1 -1
- package/dist/types/components/typography/Code/Code.d.ts.map +1 -1
- package/dist/types/components/typography/Code/Code.types.d.ts +4 -0
- package/dist/types/components/typography/Code/Code.types.d.ts.map +1 -1
- package/dist/types/components/utility/AnimatedIcon/AnimatedIcon.d.ts.map +1 -1
- package/dist/types/components/utility/InfiniteScroll/InfiniteScroll.d.ts.map +1 -1
- package/dist/types/components/utility/InfiniteScroll/InfiniteScroll.parts.d.ts +1 -0
- package/dist/types/components/utility/InfiniteScroll/InfiniteScroll.parts.d.ts.map +1 -1
- package/dist/types/components/utility/InfiniteScroll/InfiniteScroll.types.d.ts +6 -0
- package/dist/types/components/utility/InfiniteScroll/InfiniteScroll.types.d.ts.map +1 -1
- package/dist/types/components/utility/WorkflowStep/WorkflowStep.d.ts.map +1 -1
- package/dist/types/components/utility/WorkflowStep/WorkflowStep.helpers.d.ts +4 -1
- package/dist/types/components/utility/WorkflowStep/WorkflowStep.helpers.d.ts.map +1 -1
- package/dist/types/components/utility/WorkflowStep/WorkflowStep.parts.d.ts.map +1 -1
- package/dist/types/components/utility/WorkflowStep/WorkflowStep.types.d.ts +9 -0
- package/dist/types/components/utility/WorkflowStep/WorkflowStep.types.d.ts.map +1 -1
- package/dist/types/components/utility/WorkflowStep/WorkflowStepRow.d.ts +1 -0
- package/dist/types/components/utility/WorkflowStep/WorkflowStepRow.d.ts.map +1 -1
- package/dist/types/copy/data-display.d.ts +24 -0
- package/dist/types/copy/data-display.d.ts.map +1 -1
- package/dist/types/copy/feedback.d.ts +4 -0
- package/dist/types/copy/feedback.d.ts.map +1 -1
- package/dist/types/copy/form.d.ts +58 -0
- package/dist/types/copy/form.d.ts.map +1 -1
- package/dist/types/copy/labels.d.ts +219 -0
- package/dist/types/copy/labels.d.ts.map +1 -0
- package/dist/types/copy/navigation.d.ts +12 -0
- package/dist/types/copy/navigation.d.ts.map +1 -1
- package/dist/types/copy/utility.d.ts +8 -1
- package/dist/types/copy/utility.d.ts.map +1 -1
- package/dist/types/copy.d.ts +1 -0
- package/dist/types/copy.d.ts.map +1 -1
- package/dist/types/en-US.d.ts +1 -0
- package/dist/types/en-US.d.ts.map +1 -1
- package/dist/types/en-US.data-display.d.ts +2 -2
- package/dist/types/en-US.data-display.d.ts.map +1 -1
- package/dist/types/en-US.feedback.d.ts +1 -1
- package/dist/types/en-US.feedback.d.ts.map +1 -1
- package/dist/types/en-US.form.d.ts +4 -4
- package/dist/types/en-US.form.d.ts.map +1 -1
- package/dist/types/en-US.labels.d.ts +9 -0
- package/dist/types/en-US.labels.d.ts.map +1 -0
- package/dist/types/en-US.navigation.d.ts +1 -1
- package/dist/types/en-US.navigation.d.ts.map +1 -1
- package/dist/types/en-US.utility.d.ts +1 -1
- package/dist/types/en-US.utility.d.ts.map +1 -1
- package/dist/types/locales.d.ts +2 -1
- package/dist/types/locales.d.ts.map +1 -1
- package/dist/types/pt-BR.d.ts +1 -0
- package/dist/types/pt-BR.d.ts.map +1 -1
- package/dist/types/pt-BR.data-display.d.ts +2 -2
- package/dist/types/pt-BR.data-display.d.ts.map +1 -1
- package/dist/types/pt-BR.feedback.d.ts +1 -1
- package/dist/types/pt-BR.feedback.d.ts.map +1 -1
- package/dist/types/pt-BR.form.d.ts +4 -4
- package/dist/types/pt-BR.form.d.ts.map +1 -1
- package/dist/types/pt-BR.labels.d.ts +8 -0
- package/dist/types/pt-BR.labels.d.ts.map +1 -0
- package/dist/types/pt-BR.navigation.d.ts +1 -1
- package/dist/types/pt-BR.navigation.d.ts.map +1 -1
- package/dist/types/pt-BR.utility.d.ts +1 -1
- package/dist/types/pt-BR.utility.d.ts.map +1 -1
- package/dist/types/social-login-button/social-login-button.d.ts.map +1 -1
- package/dist/types/user-avatar/user-avatar.d.ts +6 -1
- package/dist/types/user-avatar/user-avatar.d.ts.map +1 -1
- package/dist/types/utils/resolve-labels.d.ts +9 -0
- package/dist/types/utils/resolve-labels.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Avatar/Avatar.native.d.ts.map +1 -1
- package/dist/types-native/components/data-display/Badge/Badge.native.d.ts +1 -0
- package/dist/types-native/components/data-display/Badge/Badge.native.d.ts.map +1 -1
- package/dist/types-native/components/data-display/Badge/Badge.types.native.d.ts +2 -0
- package/dist/types-native/components/data-display/Badge/Badge.types.native.d.ts.map +1 -1
- package/dist/types-native/components/data-display/Badge/BadgeContent.native.d.ts +2 -1
- package/dist/types-native/components/data-display/Badge/BadgeContent.native.d.ts.map +1 -1
- package/dist/types-native/components/data-display/Chip/Chip.native.d.ts +1 -0
- package/dist/types-native/components/data-display/Chip/Chip.native.d.ts.map +1 -1
- package/dist/types-native/components/data-display/Chip/Chip.types.native.d.ts +2 -0
- package/dist/types-native/components/data-display/Chip/Chip.types.native.d.ts.map +1 -1
- package/dist/types-native/components/data-display/EmptyState/EmptyState.native.d.ts.map +1 -1
- package/dist/types-native/components/data-display/ErrorState/ErrorState.native.d.ts.map +1 -1
- package/dist/types-native/components/data-display/LoadingState/LoadingState.base.d.ts +7 -0
- package/dist/types-native/components/data-display/LoadingState/LoadingState.base.d.ts.map +1 -1
- package/dist/types-native/components/data-display/LoadingState/LoadingState.native.d.ts.map +1 -1
- package/dist/types-native/components/feedback/Dialog/Dialog.base.d.ts +10 -0
- package/dist/types-native/components/feedback/Dialog/Dialog.base.d.ts.map +1 -1
- package/dist/types-native/components/feedback/Dialog/Dialog.native.d.ts.map +1 -1
- package/dist/types-native/components/feedback/Dialog/DialogParts.native.d.ts +1 -1
- package/dist/types-native/components/feedback/Dialog/DialogParts.native.d.ts.map +1 -1
- package/dist/types-native/components/form/Button/Button.native.d.ts +1 -0
- package/dist/types-native/components/form/Button/Button.native.d.ts.map +1 -1
- package/dist/types-native/components/form/Button/Button.native.loading.d.ts +2 -1
- package/dist/types-native/components/form/Button/Button.native.loading.d.ts.map +1 -1
- package/dist/types-native/components/form/Button/Button.types.native.d.ts +2 -0
- package/dist/types-native/components/form/Button/Button.types.native.d.ts.map +1 -1
- package/dist/types-native/components/form/Checkbox/Checkbox.native.d.ts +1 -0
- package/dist/types-native/components/form/Checkbox/Checkbox.native.d.ts.map +1 -1
- package/dist/types-native/components/form/Checkbox/Checkbox.types.native.d.ts +2 -0
- package/dist/types-native/components/form/Checkbox/Checkbox.types.native.d.ts.map +1 -1
- package/dist/types-native/components/form/Input/Input.native.d.ts +1 -0
- package/dist/types-native/components/form/Input/Input.native.d.ts.map +1 -1
- package/dist/types-native/components/form/Input/Input.types.native.d.ts +2 -0
- package/dist/types-native/components/form/Input/Input.types.native.d.ts.map +1 -1
- package/dist/types-native/components/form/Switch/Switch.native.d.ts +1 -0
- package/dist/types-native/components/form/Switch/Switch.native.d.ts.map +1 -1
- package/dist/types-native/components/form/Switch/Switch.types.native.d.ts +2 -0
- package/dist/types-native/components/form/Switch/Switch.types.native.d.ts.map +1 -1
- package/dist/types-native/copy/data-display.d.ts +119 -0
- package/dist/types-native/copy/data-display.d.ts.map +1 -0
- package/dist/types-native/copy/labels.d.ts +219 -0
- package/dist/types-native/copy/labels.d.ts.map +1 -0
- package/dist/types-native/en-US.labels.d.ts +9 -0
- package/dist/types-native/en-US.labels.d.ts.map +1 -0
- package/dist/types-native/utils/resolve-labels.d.ts +9 -0
- package/dist/types-native/utils/resolve-labels.d.ts.map +1 -0
- package/dist/typography/Code.js +2 -1
- package/dist/user-avatar.js +9 -7
- package/dist/utility/AnimatedIcon.js +2 -1
- package/dist/utility/InfiniteScroll.js +3 -2
- package/dist/utility/InstallPrompt.js +2 -2
- package/dist/utility/WorkflowStep.js +6 -4
- package/package.json +2 -2
- package/src/components/data-display/AlertDialog/AlertDialog.parts.tsx +3 -2
- package/src/components/data-display/AlertDialog/AlertDialog.tsx +3 -1
- package/src/components/data-display/AlertDialog/AlertDialog.types.ts +6 -0
- package/src/components/data-display/Avatar/Avatar.native.tsx +2 -1
- package/src/components/data-display/Avatar/Avatar.tsx +2 -1
- package/src/components/data-display/Badge/Badge.native.tsx +2 -0
- package/src/components/data-display/Badge/Badge.types.native.ts +2 -0
- package/src/components/data-display/Badge/BadgeContent.native.tsx +4 -1
- package/src/components/data-display/Carousel/Carousel.chrome.tsx +1 -0
- package/src/components/data-display/Carousel/Carousel.parts.tsx +13 -9
- package/src/components/data-display/Carousel/Carousel.types.ts +2 -0
- package/src/components/data-display/Chip/Chip.native.tsx +9 -1
- package/src/components/data-display/Chip/Chip.types.native.ts +2 -0
- package/src/components/data-display/DataViews/DeleteViewDialog.tsx +2 -2
- package/src/components/data-display/DataViews/data-views-copy.ts +11 -0
- package/src/components/data-display/DataViews/data-views-grid-helpers.tsx +8 -3
- package/src/components/data-display/DataViews/data-views-view-nav.tsx +2 -2
- package/src/components/data-display/DataViews/use-data-views-state.ts +3 -1
- package/src/components/data-display/EmptyState/EmptyState.native.tsx +3 -2
- package/src/components/data-display/EmptyState/EmptyState.tsx +3 -2
- package/src/components/data-display/ErrorState/ErrorState.native.tsx +2 -1
- package/src/components/data-display/ErrorState/ErrorState.tsx +2 -1
- package/src/components/data-display/LazyImage/LazyImage.hooks.ts +1 -1
- package/src/components/data-display/LazyImage/LazyImage.tsx +4 -4
- package/src/components/data-display/LazyImage/LazyImage.types.ts +12 -0
- package/src/components/data-display/LoadingState/LoadingState.base.ts +8 -0
- package/src/components/data-display/LoadingState/LoadingState.native.tsx +10 -5
- package/src/components/data-display/LoadingState/LoadingState.tsx +9 -3
- package/src/components/data-display/MapPreview/MapControlBar.tsx +7 -3
- package/src/components/data-display/MapPreview/MapLayers.tsx +2 -2
- package/src/components/data-display/MapPreview/MapMarkers.tsx +13 -4
- package/src/components/data-display/MapPreview/MapPreview.helpers.ts +13 -2
- package/src/components/data-display/MapPreview/MapPreview.tsx +7 -3
- package/src/components/data-display/Sheet/Sheet.body.tsx +3 -0
- package/src/components/data-display/Sheet/Sheet.md +1 -0
- package/src/components/data-display/Sheet/Sheet.parts.tsx +4 -0
- package/src/components/data-display/Sheet/Sheet.types.ts +10 -0
- package/src/components/data-display/Stepper/Stepper.tsx +41 -7
- package/src/components/data-display/Stepper/Stepper.types.ts +4 -0
- package/src/components/data-display/Table/Table.helpers.ts +1 -0
- package/src/components/data-display/Table/Table.tsx +4 -5
- package/src/components/data-display/Table/Table.types.ts +12 -0
- package/src/components/data-display/Table/TableParts.hooks.tsx +8 -1
- package/src/components/data-display/Table/TableParts.tsx +19 -5
- package/src/components/data-display/Timeline/Timeline.tsx +6 -1
- package/src/components/data-display/Timeline/Timeline.types.ts +3 -0
- package/src/components/data-display/Timeline/TimelineRow.tsx +11 -4
- package/src/components/feedback/Dialog/Dialog.base.ts +10 -0
- package/src/components/feedback/Dialog/Dialog.native.tsx +2 -0
- package/src/components/feedback/Dialog/Dialog.tsx +5 -1
- package/src/components/feedback/Dialog/DialogParts.native.tsx +17 -3
- package/src/components/feedback/Sonner/Sonner.tsx +16 -6
- package/src/components/feedback/Sonner/SonnerToast.tsx +4 -2
- package/src/components/feedback/StackedModal/StackedModal.parts.tsx +24 -3
- package/src/components/feedback/StackedModal/StackedModal.tsx +4 -2
- package/src/components/feedback/StackedModal/StackedModal.types.ts +5 -0
- package/src/components/feedback/Toast/Toast.tsx +5 -2
- package/src/components/feedback/Toast/Toast.types.ts +5 -0
- package/src/components/feedback/TutorialOverlay/TutorialOverlay.tsx +3 -1
- package/src/components/feedback/TutorialOverlay/TutorialStepBody.tsx +12 -3
- package/src/components/form/AddressAutocomplete/AddressAutocomplete.helpers.ts +12 -6
- package/src/components/form/AddressAutocomplete/AddressAutocomplete.hooks.ts +15 -2
- package/src/components/form/AddressAutocomplete/AddressAutocomplete.tsx +1 -0
- package/src/components/form/AddressAutocomplete/AddressAutocompleteField.tsx +9 -3
- package/src/components/form/AddressAutocomplete/useAddressPredictions.ts +6 -3
- package/src/components/form/AddressAutocomplete/useAddressSelection.ts +8 -4
- package/src/components/form/AddressAutocomplete/useCurrentLocation.ts +12 -8
- package/src/components/form/AddressAutocomplete/useGoogleMapsAPI.ts +8 -4
- package/src/components/form/Button/Button.native.loading.tsx +11 -2
- package/src/components/form/Button/Button.native.tsx +2 -2
- package/src/components/form/Button/Button.types.native.ts +2 -0
- package/src/components/form/Checkbox/Checkbox.native.tsx +5 -2
- package/src/components/form/Checkbox/Checkbox.types.native.ts +2 -0
- package/src/components/form/Command/Command.hooks.ts +3 -2
- package/src/components/form/Command/Command.parts.tsx +3 -2
- package/src/components/form/DateRangePicker/DateRangePicker.range.ts +2 -1
- package/src/components/form/Input/Input.native.tsx +13 -4
- package/src/components/form/Input/Input.types.native.ts +2 -0
- package/src/components/form/PhoneInput/PhoneInput.md +2 -2
- package/src/components/form/PhoneInput/PhoneInput.tsx +22 -10
- package/src/components/form/PhoneInput/PhoneInput.types.ts +1 -0
- package/src/components/form/PhoneInput/countries.ts +18 -1
- package/src/components/form/RichTextEditor/RichTextEditor.dom.ts +5 -3
- package/src/components/form/RichTextEditor/RichTextEditor.format.ts +3 -1
- package/src/components/form/RichTextEditor/RichTextEditor.hooks.ts +4 -1
- package/src/components/form/RichTextEditor/RichTextEditor.tsx +10 -4
- package/src/components/form/RichTextEditor/RichTextEditor.types.ts +7 -1
- package/src/components/form/RichTextEditor/RichTextEditorToolbar.tsx +29 -19
- package/src/components/form/Switch/Switch.native.tsx +4 -3
- package/src/components/form/Switch/Switch.types.native.ts +2 -0
- package/src/components/form/Textarea/TextareaRichEditor.tsx +2 -1
- package/src/components/form/UploadButton/UploadButton.hooks.ts +16 -6
- package/src/components/form/total-form/FormErrorSnackbar.tsx +2 -1
- package/src/components/layout/ContentToolbar/ColumnsMenu.tsx +3 -2
- package/src/components/layout/ContentToolbar/ContentToolbar.types.ts +14 -0
- package/src/components/layout/ContentToolbar/FilterTrigger.tsx +14 -2
- package/src/components/layout/ContentToolbar/MultiSelectDropdown.tsx +4 -3
- package/src/components/layout/ContentToolbar/ViewSelector.tsx +15 -5
- package/src/components/layout/Dashboard/Dashboard.tsx +7 -2
- package/src/components/layout/Dashboard/Dashboard.types.ts +5 -0
- package/src/components/layout/Drawer/Drawer.tsx +2 -1
- package/src/components/layout/SettingsLayout/SettingsLayout.md +1 -0
- package/src/components/layout/SettingsLayout/SettingsLayout.rail.tsx +9 -2
- package/src/components/layout/SettingsLayout/SettingsLayout.tsx +16 -5
- package/src/components/layout/SettingsLayout/SettingsLayout.types.ts +6 -0
- package/src/components/layout/TableFilter/TableFilter.tsx +4 -3
- package/src/components/navigation/AppHeader/AppHeader.identity.tsx +2 -1
- package/src/components/navigation/AppHeader/AppHeader.types.ts +5 -1
- package/src/components/navigation/Breadcrumbs/Breadcrumbs.tsx +2 -1
- package/src/components/navigation/CommandPalette/CommandPalette.helpers.ts +6 -2
- package/src/components/navigation/CommandPalette/CommandPalette.hooks.ts +9 -1
- package/src/components/navigation/CommandPalette/CommandPalette.tsx +16 -6
- package/src/components/navigation/CommandPalette/CommandPaletteResults.tsx +3 -1
- package/src/components/navigation/NavigationMenu/NavigationMenu.shell.tsx +7 -4
- package/src/components/navigation/NavigationMenu/NavigationMenu.tsx +4 -0
- package/src/components/navigation/NavigationMenu/NavigationMenu.types.ts +13 -0
- package/src/components/navigation/NavigationMenu/NavigationMenuItem.tsx +2 -0
- package/src/components/navigation/NavigationMenu/NavigationStandardBody.tsx +24 -4
- package/src/components/typography/Code/Code.tsx +28 -6
- package/src/components/typography/Code/Code.types.ts +4 -0
- package/src/components/utility/AnimatedIcon/AnimatedIcon.tsx +2 -1
- package/src/components/utility/InfiniteScroll/InfiniteScroll.parts.tsx +6 -2
- package/src/components/utility/InfiniteScroll/InfiniteScroll.tsx +2 -1
- package/src/components/utility/InfiniteScroll/InfiniteScroll.types.ts +6 -0
- package/src/components/utility/WorkflowStep/WorkflowStep.helpers.ts +9 -1
- package/src/components/utility/WorkflowStep/WorkflowStep.parts.tsx +3 -2
- package/src/components/utility/WorkflowStep/WorkflowStep.tsx +3 -1
- package/src/components/utility/WorkflowStep/WorkflowStep.types.ts +10 -0
- package/src/components/utility/WorkflowStep/WorkflowStepRow.tsx +3 -0
- package/src/copy/data-display.ts +19 -0
- package/src/copy/feedback.ts +4 -0
- package/src/copy/form.ts +58 -0
- package/src/copy/labels.ts +249 -0
- package/src/copy/navigation.ts +12 -0
- package/src/copy/utility.ts +8 -1
- package/src/copy.ts +1 -0
- package/src/en-US.data-display.ts +14 -2
- package/src/en-US.feedback.ts +3 -1
- package/src/en-US.form.ts +27 -4
- package/src/en-US.labels.ts +147 -0
- package/src/en-US.navigation.ts +5 -1
- package/src/en-US.ts +1 -0
- package/src/en-US.utility.ts +3 -1
- package/src/locales.ts +4 -0
- package/src/pt-BR.data-display.ts +14 -2
- package/src/pt-BR.feedback.ts +3 -1
- package/src/pt-BR.form.ts +40 -4
- package/src/pt-BR.labels.ts +146 -0
- package/src/pt-BR.navigation.ts +5 -1
- package/src/pt-BR.ts +1 -0
- package/src/pt-BR.utility.ts +3 -1
- package/src/social-login-button/social-login-button.tsx +3 -2
- package/src/user-avatar/user-avatar.tsx +11 -2
- package/src/utils/resolve-labels.ts +12 -0
- package/dist/chunk-2ARVNCVU.js.map +0 -1
- package/dist/chunk-2ILXXBMG.js.map +0 -1
- package/dist/chunk-2TSGRQ2J.js.map +0 -1
- package/dist/chunk-33LAPBYB.js.map +0 -1
- package/dist/chunk-3JDP5OUR.js.map +0 -1
- package/dist/chunk-3VXS7O3X.js.map +0 -1
- package/dist/chunk-3ZWCKCZC.js.map +0 -1
- package/dist/chunk-47VRDPR2.js.map +0 -1
- package/dist/chunk-4HUSG5MR.js.map +0 -1
- package/dist/chunk-4MQ6XTIJ.js.map +0 -1
- package/dist/chunk-4NQXHPQR.js.map +0 -1
- package/dist/chunk-4VRDFZ4G.js.map +0 -1
- package/dist/chunk-5J7SA4CZ.js.map +0 -1
- package/dist/chunk-5KNDAC24.js.map +0 -1
- package/dist/chunk-5MMAV7XK.js.map +0 -1
- package/dist/chunk-64AOS2WA.js.map +0 -1
- package/dist/chunk-7QXEEZFO.js +0 -92
- package/dist/chunk-7QXEEZFO.js.map +0 -1
- package/dist/chunk-7SYYGXC7.js.map +0 -1
- package/dist/chunk-7VRCGWQL.js.map +0 -1
- package/dist/chunk-AYJ44VTJ.js.map +0 -1
- package/dist/chunk-AYP6ICAY.js.map +0 -1
- package/dist/chunk-B2JYQBO4.js.map +0 -1
- package/dist/chunk-BGTG7G54.js.map +0 -1
- package/dist/chunk-BWZKLKDT.js +0 -1
- package/dist/chunk-C5JCARNE.js.map +0 -1
- package/dist/chunk-CZV6NVCA.js.map +0 -1
- package/dist/chunk-EERUSI52.js.map +0 -1
- package/dist/chunk-EUACQR6N.js.map +0 -1
- package/dist/chunk-F742IMLQ.js.map +0 -1
- package/dist/chunk-FIOBPQL2.js.map +0 -1
- package/dist/chunk-FRGNTTPA.js.map +0 -1
- package/dist/chunk-FT6HBP5E.js.map +0 -1
- package/dist/chunk-GHXW6O5T.js.map +0 -1
- package/dist/chunk-HBP2OU4Q.js.map +0 -1
- package/dist/chunk-HEBZ7Q7O.js.map +0 -1
- package/dist/chunk-HN3PZTUK.js.map +0 -1
- package/dist/chunk-HZK4DRGF.js.map +0 -1
- package/dist/chunk-ICRVLGWD.js.map +0 -1
- package/dist/chunk-INGPH3YQ.js.map +0 -1
- package/dist/chunk-JJVIZR6C.js.map +0 -1
- package/dist/chunk-JKNKGGOG.js.map +0 -1
- package/dist/chunk-KARMRTTM.js.map +0 -1
- package/dist/chunk-KIL3OVLI.js.map +0 -1
- package/dist/chunk-KT3TF2LT.js.map +0 -1
- package/dist/chunk-KZXOIRUP.js.map +0 -1
- package/dist/chunk-LH4VKUZC.js.map +0 -1
- package/dist/chunk-LOLYI6PS.js.map +0 -1
- package/dist/chunk-LTTYUSJ2.js.map +0 -1
- package/dist/chunk-MA6SUE7F.js.map +0 -1
- package/dist/chunk-MSC43MCJ.js.map +0 -1
- package/dist/chunk-MTGEJRE4.js.map +0 -1
- package/dist/chunk-NTO5DALI.js.map +0 -1
- package/dist/chunk-OE3SQOZV.js.map +0 -1
- package/dist/chunk-PBMCRDZI.js.map +0 -1
- package/dist/chunk-PU3HEWSG.js.map +0 -1
- package/dist/chunk-PY3RW5LC.js.map +0 -1
- package/dist/chunk-QWVETTIY.js.map +0 -1
- package/dist/chunk-RA6W37NZ.js.map +0 -1
- package/dist/chunk-RKVS5AA6.js.map +0 -1
- package/dist/chunk-RZCXYKY4.js.map +0 -1
- package/dist/chunk-SUZXPDUQ.js.map +0 -1
- package/dist/chunk-SV6IQ2YO.js.map +0 -1
- package/dist/chunk-T743IIER.js.map +0 -1
- package/dist/chunk-TJO4CBYT.js.map +0 -1
- package/dist/chunk-TTCVYY2B.js.map +0 -1
- package/dist/chunk-U4G3KY6L.js.map +0 -1
- package/dist/chunk-UGH2DDST.js.map +0 -1
- package/dist/chunk-UZOG6HNN.js.map +0 -1
- package/dist/chunk-VMN6KG2U.js.map +0 -1
- package/dist/chunk-VNOFFVRQ.js +0 -113
- package/dist/chunk-VNOFFVRQ.js.map +0 -1
- package/dist/chunk-VNVV6Y2X.js.map +0 -1
- package/dist/chunk-VQYR64QB.js.map +0 -1
- package/dist/chunk-VRPCZ3IE.js.map +0 -1
- package/dist/chunk-WC3W36AM.js.map +0 -1
- package/dist/chunk-WOXWLJYR.js.map +0 -1
- package/dist/chunk-WVZBYTIK.js.map +0 -1
- package/dist/chunk-XICRCPEQ.js.map +0 -1
- package/dist/chunk-XKSA4L2X.js.map +0 -1
- package/dist/chunk-XLCVMRSO.js.map +0 -1
- package/dist/chunk-XLTHZI5W.js.map +0 -1
- package/dist/chunk-XQWUVQ2F.js.map +0 -1
- package/dist/chunk-XYFBJH6F.js.map +0 -1
- package/dist/chunk-Y7YJYUNV.js.map +0 -1
- package/dist/chunk-YICNA5LG.js +0 -1
- package/dist/chunk-YLSDFW5O.js.map +0 -1
- package/dist/chunk-YOKUDQIJ.js.map +0 -1
- package/dist/chunk-YZX4DVRS.js.map +0 -1
- package/dist/chunk-ZFBFQK2Y.js.map +0 -1
- package/dist/chunk-ZPACE34U.js.map +0 -1
- package/dist/chunk-ZYKDUKAH.js.map +0 -1
- package/dist/native/chunks/chunk-AVHGS66L.js.map +0 -1
- package/dist/native/chunks/chunk-BXNZHDXK.js.map +0 -1
- /package/dist/{chunk-BWZKLKDT.js.map β _internal/copy/labels.js.map} +0 -0
- /package/dist/{chunk-YICNA5LG.js.map β _internal/en-US.labels.js.map} +0 -0
- /package/dist/{chunk-OPP6USJC.js.map β chunk-2FQF4CNE.js.map} +0 -0
- /package/dist/{chunk-BWFQEASG.js.map β chunk-2P5ZBBTL.js.map} +0 -0
- /package/dist/{chunk-QVO4SIS7.js.map β chunk-3W2B7IZG.js.map} +0 -0
- /package/dist/{chunk-Q6PRGXR2.js.map β chunk-4HBCWKIX.js.map} +0 -0
- /package/dist/{chunk-2QO3BKUQ.js.map β chunk-4NVEUJXK.js.map} +0 -0
- /package/dist/{chunk-O6SAU5JA.js.map β chunk-4OTJ66ID.js.map} +0 -0
- /package/dist/{chunk-PIP7XII2.js.map β chunk-5JDY5W7O.js.map} +0 -0
- /package/dist/{chunk-JE6RZ5L6.js.map β chunk-5ZOJLYD2.js.map} +0 -0
- /package/dist/{chunk-LG52LMAM.js.map β chunk-6B7VZFAO.js.map} +0 -0
- /package/dist/{chunk-ALREWFRX.js.map β chunk-6DGNMASB.js.map} +0 -0
- /package/dist/{chunk-555TUQ7E.js.map β chunk-6IVR5HFI.js.map} +0 -0
- /package/dist/{chunk-J26ZWYQI.js.map β chunk-6KCJNERH.js.map} +0 -0
- /package/dist/{chunk-5752357K.js.map β chunk-6N2U67KF.js.map} +0 -0
- /package/dist/{chunk-AXZCCX7O.js.map β chunk-6S7CFH6V.js.map} +0 -0
- /package/dist/{chunk-PMRLFNBT.js.map β chunk-763AHWKU.js.map} +0 -0
- /package/dist/{chunk-6DAIC2MG.js.map β chunk-775LIZXS.js.map} +0 -0
- /package/dist/{chunk-7HA7UH7O.js.map β chunk-7H5BIZ33.js.map} +0 -0
- /package/dist/{chunk-VEBNL5MG.js.map β chunk-7HYLXERK.js.map} +0 -0
- /package/dist/{chunk-M3DSPEZ3.js.map β chunk-7S3NG2AO.js.map} +0 -0
- /package/dist/{chunk-CSD6SWBZ.js.map β chunk-A3Z7ZXLM.js.map} +0 -0
- /package/dist/{chunk-LBZEPWYK.js.map β chunk-ABJOW7EK.js.map} +0 -0
- /package/dist/{chunk-44PBCQ7E.js.map β chunk-ABQZFK7M.js.map} +0 -0
- /package/dist/{chunk-EIMFA7KP.js.map β chunk-ANUO67JQ.js.map} +0 -0
- /package/dist/{chunk-PTQRJEPN.js.map β chunk-AOBQ3KYY.js.map} +0 -0
- /package/dist/{chunk-LODYTVOO.js.map β chunk-B25SHVWP.js.map} +0 -0
- /package/dist/{chunk-HPEBSLYP.js.map β chunk-B67KUCWU.js.map} +0 -0
- /package/dist/{chunk-GTT5UKKO.js.map β chunk-BDJIP4HG.js.map} +0 -0
- /package/dist/{chunk-RS576GOH.js.map β chunk-BIUT3K6A.js.map} +0 -0
- /package/dist/{chunk-A5NXBOWS.js.map β chunk-BLHSLB5D.js.map} +0 -0
- /package/dist/{chunk-RHKQ2RSY.js.map β chunk-BLVFHVDM.js.map} +0 -0
- /package/dist/{chunk-DYHOBKPU.js.map β chunk-BLZDSCIZ.js.map} +0 -0
- /package/dist/{chunk-E53MMMDA.js.map β chunk-BX6CF2UG.js.map} +0 -0
- /package/dist/{chunk-7K23NEZO.js.map β chunk-CFDYQSN6.js.map} +0 -0
- /package/dist/{chunk-O36MIQIO.js.map β chunk-DB7OJM6X.js.map} +0 -0
- /package/dist/{chunk-GSXYXMCV.js.map β chunk-DD3VFDB2.js.map} +0 -0
- /package/dist/{chunk-IQ2U5MVO.js.map β chunk-DT22MDC3.js.map} +0 -0
- /package/dist/{chunk-7XSCEHGA.js.map β chunk-EOQ6EKTS.js.map} +0 -0
- /package/dist/{chunk-VEKTKCSB.js.map β chunk-FLJ3RIRP.js.map} +0 -0
- /package/dist/{chunk-Z5WUSI47.js.map β chunk-G3JFESKD.js.map} +0 -0
- /package/dist/{chunk-XRDH24J7.js.map β chunk-G6ET2DRL.js.map} +0 -0
- /package/dist/{chunk-7JOLSD2W.js.map β chunk-GHTVBYFA.js.map} +0 -0
- /package/dist/{chunk-AMLHEKSV.js.map β chunk-HI7JPDD6.js.map} +0 -0
- /package/dist/{chunk-N34AOGK3.js.map β chunk-I3OKAQ5L.js.map} +0 -0
- /package/dist/{chunk-AEYLFBZT.js.map β chunk-I4NDZFTB.js.map} +0 -0
- /package/dist/{chunk-2ZRZTGWP.js.map β chunk-ISW5K72V.js.map} +0 -0
- /package/dist/{chunk-4M5GEKPM.js.map β chunk-JL4I7OQE.js.map} +0 -0
- /package/dist/{chunk-EF4DVYD2.js.map β chunk-JMUZ5JZA.js.map} +0 -0
- /package/dist/{chunk-HQCZT6TO.js.map β chunk-JVOEVTCZ.js.map} +0 -0
- /package/dist/{chunk-MBMZNSBP.js.map β chunk-JW7MN4DG.js.map} +0 -0
- /package/dist/{chunk-FCVPVEAS.js.map β chunk-KSOIFQJ6.js.map} +0 -0
- /package/dist/{chunk-GBVNY2LG.js.map β chunk-KTXJQ4YJ.js.map} +0 -0
- /package/dist/{chunk-NBXG3SQ3.js.map β chunk-KW2KCPZF.js.map} +0 -0
- /package/dist/{chunk-3V3Z4EML.js.map β chunk-L4FWEI2P.js.map} +0 -0
- /package/dist/{chunk-56JF5PZK.js.map β chunk-LYVTJLCF.js.map} +0 -0
- /package/dist/{chunk-MNZ6MCOK.js.map β chunk-MKRJUT5O.js.map} +0 -0
- /package/dist/{chunk-BGYLL467.js.map β chunk-N3W6FZOC.js.map} +0 -0
- /package/dist/{chunk-BWFUZ4N2.js.map β chunk-NGXDOWUP.js.map} +0 -0
- /package/dist/{chunk-NYWAAXDX.js.map β chunk-OT4HIG7S.js.map} +0 -0
- /package/dist/{chunk-GRMBCJS6.js.map β chunk-PAKLYZ6G.js.map} +0 -0
- /package/dist/{chunk-5M2NWXN4.js.map β chunk-PGBIUO2A.js.map} +0 -0
- /package/dist/{chunk-RCTHCXS6.js.map β chunk-PJNIJIE6.js.map} +0 -0
- /package/dist/{chunk-6ATXOJVQ.js.map β chunk-QADTI63U.js.map} +0 -0
- /package/dist/{chunk-7ZROYGUG.js.map β chunk-QOTMQLMW.js.map} +0 -0
- /package/dist/{chunk-NQCTANF3.js.map β chunk-QVDEGBME.js.map} +0 -0
- /package/dist/{chunk-LI6XSM5D.js.map β chunk-QVEJGFRP.js.map} +0 -0
- /package/dist/{chunk-VD72JGHA.js.map β chunk-RMZQHJEP.js.map} +0 -0
- /package/dist/{chunk-VBGC7G4F.js.map β chunk-RQ3IS5NQ.js.map} +0 -0
- /package/dist/{chunk-YNDTLBOH.js.map β chunk-SM2O6D5F.js.map} +0 -0
- /package/dist/{chunk-WA6F4NOO.js.map β chunk-SMANO5OD.js.map} +0 -0
- /package/dist/{chunk-YJBWDDW7.js.map β chunk-SXNGH56D.js.map} +0 -0
- /package/dist/{chunk-NDGA7ZE6.js.map β chunk-TGMMUKOF.js.map} +0 -0
- /package/dist/{chunk-SB2SEGR6.js.map β chunk-TIM4PXWN.js.map} +0 -0
- /package/dist/{chunk-MHLYX6QW.js.map β chunk-TRAMTVIO.js.map} +0 -0
- /package/dist/{chunk-QO7UJXXO.js.map β chunk-TVMSXL3R.js.map} +0 -0
- /package/dist/{chunk-DXFKPY2K.js.map β chunk-UCQRJTCI.js.map} +0 -0
- /package/dist/{chunk-CW6Y32N2.js.map β chunk-UF4JFRLE.js.map} +0 -0
- /package/dist/{chunk-HHPJXK4Z.js.map β chunk-UHQZ5XPW.js.map} +0 -0
- /package/dist/{chunk-FTDGFWB5.js.map β chunk-UK3DSFMK.js.map} +0 -0
- /package/dist/{chunk-GBKIGUNP.js.map β chunk-UYNJ3FYE.js.map} +0 -0
- /package/dist/{chunk-2MYSXWZQ.js.map β chunk-VKTF3GAP.js.map} +0 -0
- /package/dist/{chunk-4XBAEKQQ.js.map β chunk-W2RXXF7K.js.map} +0 -0
- /package/dist/{chunk-3Z3WIQ5M.js.map β chunk-W3EVATBS.js.map} +0 -0
- /package/dist/{chunk-A2YLFKQU.js.map β chunk-W5WYTVLS.js.map} +0 -0
- /package/dist/{chunk-EBCEDBHX.js.map β chunk-XDDKRACZ.js.map} +0 -0
- /package/dist/{chunk-ASZGMKB4.js.map β chunk-Y3TD7HOY.js.map} +0 -0
- /package/dist/{chunk-3YLRR4JM.js.map β chunk-Y3YZBB74.js.map} +0 -0
- /package/dist/{chunk-HBHBRRSW.js.map β chunk-YBAK2WN5.js.map} +0 -0
- /package/dist/{chunk-XODBYGTH.js.map β chunk-YMKSPW4T.js.map} +0 -0
- /package/dist/{chunk-6RTE4UNO.js.map β chunk-YV4O7KDR.js.map} +0 -0
- /package/dist/{chunk-MM7BPTVV.js.map β chunk-Z52W7FEU.js.map} +0 -0
- /package/dist/{chunk-7P5PNRBT.js.map β chunk-ZDBG7QG2.js.map} +0 -0
- /package/dist/{chunk-Z5V5E3JW.js.map β chunk-ZIHSCBMN.js.map} +0 -0
- /package/dist/{chunk-S4JXSC4D.js.map β chunk-ZT73ACK3.js.map} +0 -0
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { EN_US_ADDRESS_AUTOCOMPLETE_COPY } from '../../../en-US.form';
|
|
2
|
+
import { resolveLabels } from '../../../utils/resolve-labels';
|
|
1
3
|
import Alert from '@mui/material/Alert/index.js';
|
|
2
4
|
import Autocomplete from '@mui/material/Autocomplete/index.js';
|
|
3
5
|
import Box from '@mui/material/Box/index.js';
|
|
@@ -38,7 +40,9 @@ export const AddressAutocompleteField: FC<AddressAutocompleteFieldProps> = ({
|
|
|
38
40
|
handleInputChange,
|
|
39
41
|
handleSelect,
|
|
40
42
|
handleGetCurrentLocation,
|
|
41
|
-
}) =>
|
|
43
|
+
}) => {
|
|
44
|
+
const text = resolveLabels(EN_US_ADDRESS_AUTOCOMPLETE_COPY, copy);
|
|
45
|
+
return (
|
|
42
46
|
<Box data-testid="address-autocomplete-container">
|
|
43
47
|
<Autocomplete
|
|
44
48
|
freeSolo
|
|
@@ -47,13 +51,14 @@ export const AddressAutocompleteField: FC<AddressAutocompleteFieldProps> = ({
|
|
|
47
51
|
onInputChange={handleInputChange}
|
|
48
52
|
onChange={handleSelect}
|
|
49
53
|
loading={loading}
|
|
54
|
+
loadingText={text.loadingSuggestions}
|
|
50
55
|
disabled={disabled}
|
|
51
56
|
fullWidth={fullWidth}
|
|
52
57
|
getOptionLabel={addressOptionLabel}
|
|
53
58
|
isOptionEqualToValue={isSameAddressOption}
|
|
54
59
|
PaperComponent={AddressSuggestionsPaper}
|
|
55
60
|
noOptionsText={
|
|
56
|
-
inputValue.length <= MIN_QUERY_LENGTH ?
|
|
61
|
+
inputValue.length <= MIN_QUERY_LENGTH ? text.typeToSearch : text.noAddressesFound
|
|
57
62
|
}
|
|
58
63
|
renderOption={({ key, ...optionProps }, option, state) => (
|
|
59
64
|
<AddressOption
|
|
@@ -87,4 +92,5 @@ export const AddressAutocompleteField: FC<AddressAutocompleteFieldProps> = ({
|
|
|
87
92
|
</Alert>
|
|
88
93
|
)}
|
|
89
94
|
</Box>
|
|
90
|
-
);
|
|
95
|
+
);
|
|
96
|
+
};
|
|
@@ -16,6 +16,7 @@ interface PredictionSink {
|
|
|
16
16
|
setOptions: (options: AddressOptionValue[]) => void;
|
|
17
17
|
setLoading: (loading: boolean) => void;
|
|
18
18
|
setApiError: (message: string | null) => void;
|
|
19
|
+
fetchFailed: string;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
const predictionRequest = (
|
|
@@ -55,7 +56,7 @@ const fetchLivePredictions = (
|
|
|
55
56
|
sink.setApiError(
|
|
56
57
|
status === google.maps.places.PlacesServiceStatus.ZERO_RESULTS
|
|
57
58
|
? null
|
|
58
|
-
:
|
|
59
|
+
: sink.fetchFailed,
|
|
59
60
|
);
|
|
60
61
|
});
|
|
61
62
|
};
|
|
@@ -68,7 +69,9 @@ export const useAddressPredictions = ({
|
|
|
68
69
|
setInputValue,
|
|
69
70
|
setLoading,
|
|
70
71
|
setApiError,
|
|
72
|
+
fetchFailed,
|
|
71
73
|
}: {
|
|
74
|
+
fetchFailed: string;
|
|
72
75
|
isLoaded: boolean;
|
|
73
76
|
services: GoogleMapsService;
|
|
74
77
|
restrictions: Restrictions;
|
|
@@ -81,8 +84,8 @@ export const useAddressPredictions = ({
|
|
|
81
84
|
const debounceTimeoutRef = useRef<number | undefined>(undefined);
|
|
82
85
|
|
|
83
86
|
const sink = useMemo<PredictionSink>(
|
|
84
|
-
() => ({ setOptions, setLoading, setApiError }),
|
|
85
|
-
[setLoading, setApiError],
|
|
87
|
+
() => ({ setOptions, setLoading, setApiError, fetchFailed }),
|
|
88
|
+
[setLoading, setApiError, fetchFailed],
|
|
86
89
|
);
|
|
87
90
|
|
|
88
91
|
const debouncedAutocomplete = useCallback(
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AddressAutocompleteCopy } from '../../../copy/form';
|
|
1
2
|
import type React from 'react';
|
|
2
3
|
import { useCallback } from 'react';
|
|
3
4
|
|
|
@@ -15,6 +16,7 @@ const MOCK_DETAILS_DELAY_MS = 50;
|
|
|
15
16
|
const PLACE_DETAIL_FIELDS = ['formatted_address', 'address_components', 'geometry'];
|
|
16
17
|
|
|
17
18
|
interface SelectionSink {
|
|
19
|
+
messages: Required<AddressAutocompleteCopy>;
|
|
18
20
|
setLoading: (loading: boolean) => void;
|
|
19
21
|
setApiError: (message: string | null) => void;
|
|
20
22
|
applyAddress: (address: AddressDetails) => void;
|
|
@@ -26,7 +28,7 @@ const resolveMockPlace = (value: AddressPrediction, sink: SelectionSink) => {
|
|
|
26
28
|
|
|
27
29
|
const place = MOCK_PLACE_DETAILS[value.place_id];
|
|
28
30
|
if (!place) {
|
|
29
|
-
sink.setApiError(
|
|
31
|
+
sink.setApiError(sink.messages.addressDetailsNotFound);
|
|
30
32
|
return;
|
|
31
33
|
}
|
|
32
34
|
|
|
@@ -54,7 +56,7 @@ const resolveLivePlace = (
|
|
|
54
56
|
sink.setLoading(false);
|
|
55
57
|
|
|
56
58
|
if (status !== google.maps.places.PlacesServiceStatus.OK || !place) {
|
|
57
|
-
sink.setApiError(
|
|
59
|
+
sink.setApiError(sink.messages.addressDetailsFailed);
|
|
58
60
|
return;
|
|
59
61
|
}
|
|
60
62
|
|
|
@@ -75,7 +77,9 @@ export const useAddressSelection = ({
|
|
|
75
77
|
setApiError,
|
|
76
78
|
onSelect,
|
|
77
79
|
applyAddress,
|
|
80
|
+
messages,
|
|
78
81
|
}: {
|
|
82
|
+
messages: Required<AddressAutocompleteCopy>;
|
|
79
83
|
services: GoogleMapsService;
|
|
80
84
|
useMockData: boolean;
|
|
81
85
|
setLoading: (loading: boolean) => void;
|
|
@@ -95,7 +99,7 @@ export const useAddressSelection = ({
|
|
|
95
99
|
if (!value) return;
|
|
96
100
|
|
|
97
101
|
setLoading(true);
|
|
98
|
-
const sink: SelectionSink = { setLoading, setApiError, applyAddress };
|
|
102
|
+
const sink: SelectionSink = { setLoading, setApiError, applyAddress, messages };
|
|
99
103
|
|
|
100
104
|
if (useMockData && 'place_id' in value) {
|
|
101
105
|
resolveMockPlace(value, sink);
|
|
@@ -109,5 +113,5 @@ export const useAddressSelection = ({
|
|
|
109
113
|
|
|
110
114
|
resolveLivePlace(services.placesService, value, sink);
|
|
111
115
|
},
|
|
112
|
-
[services, useMockData, setLoading, setApiError, onSelect, applyAddress],
|
|
116
|
+
[services, useMockData, setLoading, setApiError, onSelect, applyAddress, messages],
|
|
113
117
|
);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AddressAutocompleteCopy } from '../../../copy/form';
|
|
1
2
|
import { useCallback } from 'react';
|
|
2
3
|
|
|
3
4
|
import { coordinatesOf, toAddressDetails } from './AddressAutocomplete.mapper';
|
|
@@ -14,6 +15,7 @@ const GEOLOCATION_OPTIONS: PositionOptions = {
|
|
|
14
15
|
};
|
|
15
16
|
|
|
16
17
|
interface LocationSink {
|
|
18
|
+
messages: Required<AddressAutocompleteCopy>;
|
|
17
19
|
setLoading: (loading: boolean) => void;
|
|
18
20
|
setApiError: (message: string | null) => void;
|
|
19
21
|
applyAddress: (address: AddressDetails) => void;
|
|
@@ -27,13 +29,13 @@ const resolveMockLocation = (sink: LocationSink) => {
|
|
|
27
29
|
|
|
28
30
|
const mockLocation = MOCK_ADDRESSES[0];
|
|
29
31
|
if (!mockLocation) {
|
|
30
|
-
sink.setApiError(
|
|
32
|
+
sink.setApiError(sink.messages.noMockLocation);
|
|
31
33
|
return;
|
|
32
34
|
}
|
|
33
35
|
|
|
34
36
|
const mockDetails = MOCK_PLACE_DETAILS[mockLocation.place_id];
|
|
35
37
|
if (!mockDetails) {
|
|
36
|
-
sink.setApiError(
|
|
38
|
+
sink.setApiError(sink.messages.mockLocationNotFound);
|
|
37
39
|
return;
|
|
38
40
|
}
|
|
39
41
|
|
|
@@ -57,7 +59,7 @@ const geocodePosition =
|
|
|
57
59
|
|
|
58
60
|
const place = status === 'OK' ? results?.[0] : undefined;
|
|
59
61
|
if (!place) {
|
|
60
|
-
sink.setApiError(
|
|
62
|
+
sink.setApiError(sink.messages.locationAddressFailed);
|
|
61
63
|
return;
|
|
62
64
|
}
|
|
63
65
|
|
|
@@ -78,7 +80,9 @@ export const useCurrentLocation = ({
|
|
|
78
80
|
setLoading,
|
|
79
81
|
setApiError,
|
|
80
82
|
applyAddress,
|
|
83
|
+
messages,
|
|
81
84
|
}: {
|
|
85
|
+
messages: Required<AddressAutocompleteCopy>;
|
|
82
86
|
services: GoogleMapsService;
|
|
83
87
|
useMockData: boolean;
|
|
84
88
|
setLoading: (loading: boolean) => void;
|
|
@@ -87,11 +91,11 @@ export const useCurrentLocation = ({
|
|
|
87
91
|
}) =>
|
|
88
92
|
useCallback(() => {
|
|
89
93
|
if (!navigator.geolocation) {
|
|
90
|
-
setApiError(
|
|
94
|
+
setApiError(messages.geolocationUnsupported);
|
|
91
95
|
return;
|
|
92
96
|
}
|
|
93
97
|
|
|
94
|
-
const sink: LocationSink = { setLoading, setApiError, applyAddress };
|
|
98
|
+
const sink: LocationSink = { setLoading, setApiError, applyAddress, messages };
|
|
95
99
|
|
|
96
100
|
if (useMockData) {
|
|
97
101
|
setLoading(true);
|
|
@@ -100,7 +104,7 @@ export const useCurrentLocation = ({
|
|
|
100
104
|
}
|
|
101
105
|
|
|
102
106
|
if (!services.geocoder) {
|
|
103
|
-
setApiError(
|
|
107
|
+
setApiError(messages.geocoderUnavailable);
|
|
104
108
|
return;
|
|
105
109
|
}
|
|
106
110
|
|
|
@@ -109,8 +113,8 @@ export const useCurrentLocation = ({
|
|
|
109
113
|
geocodePosition(services.geocoder, sink),
|
|
110
114
|
() => {
|
|
111
115
|
setLoading(false);
|
|
112
|
-
setApiError(
|
|
116
|
+
setApiError(messages.locationFailed);
|
|
113
117
|
},
|
|
114
118
|
GEOLOCATION_OPTIONS,
|
|
115
119
|
);
|
|
116
|
-
}, [services, useMockData, setLoading, setApiError, applyAddress]);
|
|
120
|
+
}, [services, useMockData, setLoading, setApiError, applyAddress, messages]);
|
|
@@ -6,7 +6,11 @@ export interface GoogleMapsService {
|
|
|
6
6
|
geocoder: google.maps.Geocoder | null;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export const useGoogleMapsAPI = (
|
|
9
|
+
export const useGoogleMapsAPI = (
|
|
10
|
+
apiKey: string,
|
|
11
|
+
messages: { loadFailed: string; initFailed: string },
|
|
12
|
+
) => {
|
|
13
|
+
const { loadFailed, initFailed } = messages;
|
|
10
14
|
const [isLoaded, setIsLoaded] = useState(false);
|
|
11
15
|
const [error, setError] = useState<string | null>(null);
|
|
12
16
|
const [useMockData, setUseMockData] = useState(false);
|
|
@@ -42,7 +46,7 @@ export const useGoogleMapsAPI = (apiKey: string) => {
|
|
|
42
46
|
};
|
|
43
47
|
|
|
44
48
|
script.onerror = () => {
|
|
45
|
-
setError(
|
|
49
|
+
setError(loadFailed);
|
|
46
50
|
};
|
|
47
51
|
|
|
48
52
|
document.head.appendChild(script);
|
|
@@ -53,7 +57,7 @@ export const useGoogleMapsAPI = (apiKey: string) => {
|
|
|
53
57
|
document.head.removeChild(script);
|
|
54
58
|
}
|
|
55
59
|
};
|
|
56
|
-
}, [apiKey]);
|
|
60
|
+
}, [apiKey, loadFailed, initFailed]);
|
|
57
61
|
|
|
58
62
|
const initializeServices = () => {
|
|
59
63
|
try {
|
|
@@ -67,7 +71,7 @@ export const useGoogleMapsAPI = (apiKey: string) => {
|
|
|
67
71
|
setError(null);
|
|
68
72
|
}
|
|
69
73
|
} catch {
|
|
70
|
-
setError(
|
|
74
|
+
setError(initFailed);
|
|
71
75
|
}
|
|
72
76
|
};
|
|
73
77
|
|
|
@@ -3,6 +3,7 @@ import { ActivityIndicator, Platform, StyleSheet, View } from 'react-native';
|
|
|
3
3
|
import type { TextStyle } from 'react-native';
|
|
4
4
|
|
|
5
5
|
import { BUTTON_SPINNER_SIZE } from './Button.metrics';
|
|
6
|
+
import { EN_US_UI_LABELS } from '../../../en-US.labels';
|
|
6
7
|
import { renderTextChildren } from '../../../platform/text-children';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -17,14 +18,22 @@ import { renderTextChildren } from '../../../platform/text-children';
|
|
|
17
18
|
* comes from react-native's ActivityIndicator. It used to REPLACE the label, so
|
|
18
19
|
* a loading button had no accessible name (FUT-3646).
|
|
19
20
|
*/
|
|
20
|
-
export function Spinner({
|
|
21
|
+
export function Spinner({
|
|
22
|
+
color,
|
|
23
|
+
testID,
|
|
24
|
+
label = EN_US_UI_LABELS.common.loading,
|
|
25
|
+
}: {
|
|
26
|
+
color: string;
|
|
27
|
+
testID: string;
|
|
28
|
+
label?: string;
|
|
29
|
+
}): React.JSX.Element {
|
|
21
30
|
return (
|
|
22
31
|
<View style={styles.spinner}>
|
|
23
32
|
<ActivityIndicator
|
|
24
33
|
size={Platform.OS === 'ios' ? 'small' : BUTTON_SPINNER_SIZE}
|
|
25
34
|
color={color}
|
|
26
35
|
testID={testID}
|
|
27
|
-
accessibilityLabel=
|
|
36
|
+
accessibilityLabel={label}
|
|
28
37
|
/>
|
|
29
38
|
</View>
|
|
30
39
|
);
|
|
@@ -294,7 +294,7 @@ function buttonLook(theme: UiTheme, props: ResolvedProps): ButtonLook {
|
|
|
294
294
|
export const Button = React.forwardRef<View, ButtonProps>((rawProps, ref) => {
|
|
295
295
|
const resolved = resolveButtonProps(rawProps);
|
|
296
296
|
// `ripple` is web-only: kept out of `others` so it never reaches the Pressable (see overflowOf).
|
|
297
|
-
const { loading, icon, iconPosition, pulse, ripple: _ripple, children, onClick, onPress, ...others } = resolved;
|
|
297
|
+
const { loading, loadingLabel, icon, iconPosition, pulse, ripple: _ripple, children, onClick, onPress, ...others } = resolved;
|
|
298
298
|
const theme = useUiTheme();
|
|
299
299
|
const look = buttonLook(theme, resolved);
|
|
300
300
|
|
|
@@ -336,7 +336,7 @@ export const Button = React.forwardRef<View, ButtonProps>((rawProps, ref) => {
|
|
|
336
336
|
{children}
|
|
337
337
|
</Label>
|
|
338
338
|
{iconPosition === 'right' ? iconNode : null}
|
|
339
|
-
{loading ? <Spinner color={look.label.color as string} testID={idFor('loading')} /> : null}
|
|
339
|
+
{loading ? <Spinner color={look.label.color as string} testID={idFor('loading')} label={loadingLabel} /> : null}
|
|
340
340
|
</Pressable>
|
|
341
341
|
);
|
|
342
342
|
});
|
|
@@ -23,5 +23,7 @@ export type ButtonProps = ButtonBaseProps &
|
|
|
23
23
|
onPress?: (event: GestureResponderEvent) => void;
|
|
24
24
|
onFocus?: (event: NativeSyntheticEvent<TargetedEvent>) => void;
|
|
25
25
|
onBlur?: (event: NativeSyntheticEvent<TargetedEvent>) => void;
|
|
26
|
+
/** The busy spinner's accessible name; defaults to the labels pack's `loading`. */
|
|
27
|
+
loadingLabel?: string;
|
|
26
28
|
style?: StyleProp<ViewStyle>;
|
|
27
29
|
};
|
|
@@ -25,6 +25,7 @@ import {
|
|
|
25
25
|
resolveCheckboxSize,
|
|
26
26
|
} from './Checkbox.metrics';
|
|
27
27
|
import type { CheckboxProps } from './Checkbox.types.native';
|
|
28
|
+
import { EN_US_UI_LABELS } from '../../../en-US.labels';
|
|
28
29
|
import { Icon } from '../../../icons/Icon.native';
|
|
29
30
|
import type { IconName } from '../../../icons/Icon.types';
|
|
30
31
|
import { webKeyDown } from '../../../platform/aria';
|
|
@@ -83,6 +84,7 @@ interface BoxProps {
|
|
|
83
84
|
indeterminate: boolean;
|
|
84
85
|
inactive: boolean;
|
|
85
86
|
loading: boolean;
|
|
87
|
+
loadingLabel: string;
|
|
86
88
|
glow: boolean;
|
|
87
89
|
ripple: boolean;
|
|
88
90
|
variant: keyof typeof CHECKBOX_VARIANT;
|
|
@@ -127,7 +129,7 @@ function CheckboxBox(props: BoxProps): React.JSX.Element {
|
|
|
127
129
|
style={styles.spinner}
|
|
128
130
|
size={CHECKBOX_SPINNER.size}
|
|
129
131
|
color={theme.palette.primary.main}
|
|
130
|
-
accessibilityLabel=
|
|
132
|
+
accessibilityLabel={props.loadingLabel}
|
|
131
133
|
/>
|
|
132
134
|
) : null}
|
|
133
135
|
</Pressable>
|
|
@@ -167,7 +169,7 @@ function helperStyle(theme: UiTheme, error: boolean): TextStyle {
|
|
|
167
169
|
*/
|
|
168
170
|
export const Checkbox = React.forwardRef<View, CheckboxProps>((rawProps, ref) => {
|
|
169
171
|
const {
|
|
170
|
-
variant, label, error, helperText, loading, ripple, glow, pulse: _pulse,
|
|
172
|
+
variant, label, error, helperText, loading, loadingLabel = EN_US_UI_LABELS.common.loading, ripple, glow, pulse: _pulse,
|
|
171
173
|
indeterminate, disabled, size, checked, defaultChecked,
|
|
172
174
|
onChange, onClick, onPress, style, ...others
|
|
173
175
|
} = resolveCheckboxProps(rawProps);
|
|
@@ -197,6 +199,7 @@ export const Checkbox = React.forwardRef<View, CheckboxProps>((rawProps, ref) =>
|
|
|
197
199
|
indeterminate={Boolean(indeterminate)}
|
|
198
200
|
inactive={inactive}
|
|
199
201
|
loading={Boolean(loading)}
|
|
202
|
+
loadingLabel={loadingLabel}
|
|
200
203
|
glow={glow}
|
|
201
204
|
ripple={ripple}
|
|
202
205
|
variant={variant}
|
|
@@ -21,5 +21,7 @@ export type CheckboxProps = CheckboxBaseProps &
|
|
|
21
21
|
/** Both spellings fire, as `Button`'s do. */
|
|
22
22
|
onClick?: (event: GestureResponderEvent) => void;
|
|
23
23
|
onPress?: (event: GestureResponderEvent) => void;
|
|
24
|
+
/** The busy spinner's accessible name; defaults to the labels pack's `loading`. */
|
|
25
|
+
loadingLabel?: string;
|
|
24
26
|
style?: StyleProp<ViewStyle>;
|
|
25
27
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
2
2
|
|
|
3
3
|
import type { CommandItem, CommandProps } from './Command.types';
|
|
4
|
+
import { EN_US_UI_LABELS } from '../../../en-US.labels';
|
|
4
5
|
|
|
5
6
|
type CommandDefaultedKeys =
|
|
6
7
|
| 'open'
|
|
@@ -27,7 +28,7 @@ type ResolvedCommandProps = CommandProps &
|
|
|
27
28
|
const COMMAND_DEFAULTS: Pick<CommandProps, CommandDefaultedKeys> = {
|
|
28
29
|
open: false,
|
|
29
30
|
items: [],
|
|
30
|
-
placeholder:
|
|
31
|
+
placeholder: EN_US_UI_LABELS.command.placeholder,
|
|
31
32
|
value: '',
|
|
32
33
|
variant: 'default',
|
|
33
34
|
size: 'md',
|
|
@@ -36,7 +37,7 @@ const COMMAND_DEFAULTS: Pick<CommandProps, CommandDefaultedKeys> = {
|
|
|
36
37
|
pulse: false,
|
|
37
38
|
loading: false,
|
|
38
39
|
disabled: false,
|
|
39
|
-
emptyMessage:
|
|
40
|
+
emptyMessage: EN_US_UI_LABELS.command.empty,
|
|
40
41
|
showCategories: true,
|
|
41
42
|
showShortcuts: true,
|
|
42
43
|
showDescriptions: true,
|
|
@@ -11,9 +11,10 @@ import type {
|
|
|
11
11
|
CommandSeparatorProps,
|
|
12
12
|
} from './Command.types';
|
|
13
13
|
import { rem } from '../../../tokens/relative';
|
|
14
|
+
import { EN_US_UI_LABELS } from '../../../en-US.labels';
|
|
14
15
|
|
|
15
16
|
export const CommandEmpty: React.FC<CommandEmptyProps> = ({
|
|
16
|
-
message =
|
|
17
|
+
message = EN_US_UI_LABELS.command.empty,
|
|
17
18
|
className,
|
|
18
19
|
style,
|
|
19
20
|
dataTestId,
|
|
@@ -33,7 +34,7 @@ export const CommandEmpty: React.FC<CommandEmptyProps> = ({
|
|
|
33
34
|
);
|
|
34
35
|
|
|
35
36
|
export const CommandLoading: React.FC<CommandLoadingProps> = ({
|
|
36
|
-
message =
|
|
37
|
+
message = EN_US_UI_LABELS.command.loading,
|
|
37
38
|
className,
|
|
38
39
|
style,
|
|
39
40
|
dataTestId,
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* {@link DateRangeStatus} and keeps its own confirm button shut.
|
|
9
9
|
*/
|
|
10
10
|
import { isoToMasked } from '../../data-display/DataViews/data-views-day-input';
|
|
11
|
+
import { EN_US_UI_LABELS } from '../../../en-US.labels';
|
|
11
12
|
|
|
12
13
|
import { dayCount, isAfterDay } from './DateRangePicker.dates';
|
|
13
14
|
import type {
|
|
@@ -66,7 +67,7 @@ export function defaultMessages(): DateRangePickerMessages {
|
|
|
66
67
|
reversed: 'The end date must be on or after the start date.',
|
|
67
68
|
overMax: ({ maxRangeDays }) => `Choose a range of at most ${maxRangeDays} days.`,
|
|
68
69
|
summary: ({ from, to }) => `${isoToMasked(from, dayMask)} β ${isoToMasked(to, dayMask)}`,
|
|
69
|
-
calendarLabel:
|
|
70
|
+
calendarLabel: EN_US_UI_LABELS.dateRangePicker.calendar,
|
|
70
71
|
dayMask,
|
|
71
72
|
};
|
|
72
73
|
}
|
|
@@ -20,6 +20,7 @@ import { fieldLook, helperStyle, labelStyle, type FieldState } from './Input.loo
|
|
|
20
20
|
import { ADORNMENT_GAP, INPUT_GLOW, INPUT_LOADING } from './Input.metrics';
|
|
21
21
|
import type { InputProps } from './Input.types.native';
|
|
22
22
|
import { webAria, webClick, webDisabled } from '../../../platform/aria';
|
|
23
|
+
import { EN_US_UI_LABELS } from '../../../en-US.labels';
|
|
23
24
|
import { childTestId, resolveTestId, withoutTestIdProps } from '../../../platform/test-id';
|
|
24
25
|
import { fieldHeightPx } from '../../../tokens/field-height.core';
|
|
25
26
|
import { useUiTheme } from '../../../provider/use-ui-theme.native';
|
|
@@ -101,13 +102,21 @@ function Line({
|
|
|
101
102
|
}
|
|
102
103
|
|
|
103
104
|
/** MUI's 20px `CircularProgress` in the end slot; the platform's own arc on a device. */
|
|
104
|
-
function Spinner({
|
|
105
|
+
function Spinner({
|
|
106
|
+
color,
|
|
107
|
+
testID,
|
|
108
|
+
label,
|
|
109
|
+
}: {
|
|
110
|
+
color: string;
|
|
111
|
+
testID: string;
|
|
112
|
+
label: string;
|
|
113
|
+
}): React.JSX.Element {
|
|
105
114
|
return (
|
|
106
115
|
<ActivityIndicator
|
|
107
116
|
testID={testID}
|
|
108
117
|
size={Platform.OS === 'ios' ? 'small' : INPUT_LOADING.spinnerSize}
|
|
109
118
|
color={color}
|
|
110
|
-
accessibilityLabel=
|
|
119
|
+
accessibilityLabel={label}
|
|
111
120
|
/>
|
|
112
121
|
);
|
|
113
122
|
}
|
|
@@ -153,7 +162,7 @@ function useFocusState(
|
|
|
153
162
|
export const Input = React.forwardRef<RNTextInput, InputProps>((rawProps, ref) => {
|
|
154
163
|
const {
|
|
155
164
|
variant, size, type, label, error, helperText, startAdornment, endAdornment,
|
|
156
|
-
fullWidth, floating: _floating, glow, pulse, loading, disabled, required,
|
|
165
|
+
fullWidth, floating: _floating, glow, pulse, loading, loadingLabel = EN_US_UI_LABELS.common.loading, disabled, required,
|
|
157
166
|
style, inputStyle, onClick, onPress, onFocus, onBlur, ...others
|
|
158
167
|
} = resolveInputProps(rawProps);
|
|
159
168
|
|
|
@@ -211,7 +220,7 @@ export const Input = React.forwardRef<RNTextInput, InputProps>((rawProps, ref) =
|
|
|
211
220
|
{...withoutTestIdProps(others)}
|
|
212
221
|
/>
|
|
213
222
|
<Slot side="end">
|
|
214
|
-
{loading ? <Spinner color={theme.palette.primary.main} testID={idFor('loading')} /> : endAdornment}
|
|
223
|
+
{loading ? <Spinner color={theme.palette.primary.main} testID={idFor('loading')} label={loadingLabel} /> : endAdornment}
|
|
215
224
|
</Slot>
|
|
216
225
|
</View>
|
|
217
226
|
<Line text={helperText} style={helperStyle(theme, variant, size, state)} />
|
|
@@ -25,5 +25,7 @@ export type InputProps = InputBaseProps &
|
|
|
25
25
|
onClick?: (event: GestureResponderEvent) => void;
|
|
26
26
|
onPress?: (event: GestureResponderEvent) => void;
|
|
27
27
|
style?: StyleProp<ViewStyle>;
|
|
28
|
+
/** The busy spinner's accessible name; defaults to the labels pack's `loading`. */
|
|
29
|
+
loadingLabel?: string;
|
|
28
30
|
inputStyle?: StyleProp<TextStyle>;
|
|
29
31
|
};
|
|
@@ -13,7 +13,7 @@ An international phone number input component with country selection, automatic
|
|
|
13
13
|
| placeholder | string | 'Enter phone number' | Placeholder text |
|
|
14
14
|
| icon | React.ReactNode | PhoneIcon | Custom end adornment icon |
|
|
15
15
|
| defaultValue | string | '' | Initial phone number value |
|
|
16
|
-
| countryCode | CountryCode | '
|
|
16
|
+
| countryCode | CountryCode | 'BR' | Default selected country |
|
|
17
17
|
| floating | boolean | false | Floating label style |
|
|
18
18
|
| onChange | function | undefined | Callback with value, validity, and country code |
|
|
19
19
|
| helper | string | undefined | Helper text below input |
|
|
@@ -349,7 +349,7 @@ play: async ({ canvasElement }) => {
|
|
|
349
349
|
|
|
350
350
|
#### `countryCode`
|
|
351
351
|
- **Type:** `CountryCode` (e.g., `'US'`, `'GB'`)
|
|
352
|
-
- **Default:** `'
|
|
352
|
+
- **Default:** `'BR'`
|
|
353
353
|
- **Impact:** Initial country selection
|
|
354
354
|
|
|
355
355
|
#### `defaultValue`
|
|
@@ -10,12 +10,13 @@ import TextField from '@mui/material/TextField/index.js';
|
|
|
10
10
|
import Typography from '@mui/material/Typography/index.js';
|
|
11
11
|
import { alpha, styled, useTheme } from '@mui/material/styles/index.js';
|
|
12
12
|
import type { FC} from 'react';
|
|
13
|
-
import React, {
|
|
13
|
+
import React, { useMemo } from 'react';
|
|
14
14
|
|
|
15
|
-
import {
|
|
15
|
+
import { countriesByDisplayName, countryDisplayName } from './countries';
|
|
16
16
|
import { usePhoneInput } from './PhoneInput.hooks';
|
|
17
17
|
import type { CountryData,PhoneInputProps } from './PhoneInput.types';
|
|
18
18
|
import type { PhoneInputCopy } from '../../../copy';
|
|
19
|
+
import { EN_US_PHONE_INPUT_COPY } from '../../../en-US.form';
|
|
19
20
|
|
|
20
21
|
import { fieldEdge } from '../../../tokens/field-edge';
|
|
21
22
|
import { fieldRadius } from '../../../tokens/field-radius';
|
|
@@ -144,11 +145,10 @@ const PhoneField: React.FC<{
|
|
|
144
145
|
|
|
145
146
|
const PHONE_INPUT_DEFAULTS = {
|
|
146
147
|
variant: 'outlined',
|
|
147
|
-
label: 'Phone Number',
|
|
148
|
-
placeholder: 'Enter phone number',
|
|
149
148
|
icon: <PhoneIcon />,
|
|
150
149
|
defaultValue: '',
|
|
151
|
-
|
|
150
|
+
// The owner's market: a host that names no country starts at Brazil.
|
|
151
|
+
countryCode: 'BR',
|
|
152
152
|
floating: false,
|
|
153
153
|
error: false,
|
|
154
154
|
disabled: false,
|
|
@@ -163,6 +163,12 @@ const definedProps = (props: PhoneInputProps): Partial<PhoneInputProps> =>
|
|
|
163
163
|
Object.entries(props).filter(([, value]) => value !== undefined),
|
|
164
164
|
) as Partial<PhoneInputProps>;
|
|
165
165
|
|
|
166
|
+
// The label and placeholder a host passes as props win; then the copy pack's;
|
|
167
|
+
// then the English the field has always shown.
|
|
168
|
+
const copyDefaults = (copy: PhoneInputCopy): Pick<PhoneInputProps, 'label' | 'placeholder'> => ({
|
|
169
|
+
label: copy.label ?? EN_US_PHONE_INPUT_COPY.label,
|
|
170
|
+
placeholder: copy.placeholder ?? EN_US_PHONE_INPUT_COPY.placeholder });
|
|
171
|
+
|
|
166
172
|
const CountryAdornment: React.FC<{
|
|
167
173
|
country?: CountryData;
|
|
168
174
|
menuOpen: boolean;
|
|
@@ -227,8 +233,10 @@ const CountryPicker: React.FC<{
|
|
|
227
233
|
selectedCode?: CountryData['code'];
|
|
228
234
|
onClose: () => void;
|
|
229
235
|
onSelect: (country: CountryData) => void;
|
|
230
|
-
|
|
236
|
+
countryName?: PhoneInputCopy['countryName'];
|
|
237
|
+
}> = ({ anchorEl, selectedCode, onClose, onSelect, countryName }) => {
|
|
231
238
|
const theme = useTheme();
|
|
239
|
+
const listed = useMemo(() => countriesByDisplayName(countryName), [countryName]);
|
|
232
240
|
|
|
233
241
|
return (
|
|
234
242
|
<CountryMenu
|
|
@@ -243,7 +251,7 @@ const CountryPicker: React.FC<{
|
|
|
243
251
|
horizontal: 'left' }}
|
|
244
252
|
data-testid="country-menu"
|
|
245
253
|
>
|
|
246
|
-
{
|
|
254
|
+
{listed.map((country) => (
|
|
247
255
|
<MenuItem
|
|
248
256
|
key={country.code}
|
|
249
257
|
onClick={() => onSelect(country)}
|
|
@@ -259,7 +267,7 @@ const CountryPicker: React.FC<{
|
|
|
259
267
|
</Typography>
|
|
260
268
|
</ListItemIcon>
|
|
261
269
|
<ListItemText
|
|
262
|
-
primary={country.
|
|
270
|
+
primary={country.displayName}
|
|
263
271
|
secondary={country.dial}
|
|
264
272
|
primaryTypographyProps={{ fontSize: rem(theme, 14.4) }}
|
|
265
273
|
secondaryTypographyProps={{ fontSize: rem(theme, 12.8) }}
|
|
@@ -315,7 +323,10 @@ export const PhoneInput: FC<PhoneInputProps> = (props) => {
|
|
|
315
323
|
errorMessage,
|
|
316
324
|
disabled,
|
|
317
325
|
required,
|
|
318
|
-
fullWidth } = {
|
|
326
|
+
fullWidth } = {
|
|
327
|
+
...PHONE_INPUT_DEFAULTS,
|
|
328
|
+
...copyDefaults(copy),
|
|
329
|
+
...definedProps(props) };
|
|
319
330
|
const {
|
|
320
331
|
value,
|
|
321
332
|
selectedCountry,
|
|
@@ -337,7 +348,7 @@ export const PhoneInput: FC<PhoneInputProps> = (props) => {
|
|
|
337
348
|
value,
|
|
338
349
|
isFocused,
|
|
339
350
|
helper,
|
|
340
|
-
countryName: selectedCountry
|
|
351
|
+
countryName: selectedCountry && countryDisplayName(selectedCountry, copy.countryName),
|
|
341
352
|
copy });
|
|
342
353
|
|
|
343
354
|
const TextFieldComponent = variant === 'glass' ? GlassTextField : FieldTextField;
|
|
@@ -371,6 +382,7 @@ export const PhoneInput: FC<PhoneInputProps> = (props) => {
|
|
|
371
382
|
selectedCode={selectedCountry?.code}
|
|
372
383
|
onClose={handleCountryClose}
|
|
373
384
|
onSelect={handleCountrySelect}
|
|
385
|
+
countryName={copy.countryName}
|
|
374
386
|
/>
|
|
375
387
|
</Box>
|
|
376
388
|
);
|
|
@@ -13,6 +13,7 @@ export interface PhoneInputProps {
|
|
|
13
13
|
placeholder?: string;
|
|
14
14
|
icon?: React.ReactNode;
|
|
15
15
|
defaultValue?: string;
|
|
16
|
+
/** The country the picker starts on. @default 'BR' */
|
|
16
17
|
countryCode?: CountryCode;
|
|
17
18
|
floating?: boolean;
|
|
18
19
|
onChange?: (value: string, isValid: boolean, countryCode?: CountryCode) => void;
|
|
@@ -2,7 +2,8 @@ import type { CountryCode } from 'libphonenumber-js';
|
|
|
2
2
|
|
|
3
3
|
import type { CountryData } from './PhoneInput.types';
|
|
4
4
|
|
|
5
|
-
// Dial codes and flags for the countries the input offers, sorted by name.
|
|
5
|
+
// Dial codes and flags for the countries the input offers, sorted by name. The
|
|
6
|
+
// `name` is the English one; the picker shows `copy.countryName` when a pack has it.
|
|
6
7
|
export const countries: CountryData[] = [
|
|
7
8
|
{ code: 'US' as CountryCode, name: 'United States', dial: '+1', flag: 'πΊπΈ' },
|
|
8
9
|
{ code: 'GB' as CountryCode, name: 'United Kingdom', dial: '+44', flag: 'π¬π§' },
|
|
@@ -52,3 +53,19 @@ export const countries: CountryData[] = [
|
|
|
52
53
|
{ code: 'AE' as CountryCode, name: 'United Arab Emirates', dial: '+971', flag: 'π¦πͺ' },
|
|
53
54
|
{ code: 'SA' as CountryCode, name: 'Saudi Arabia', dial: '+966', flag: 'πΈπ¦' },
|
|
54
55
|
].sort((a, b) => a.name.localeCompare(b.name));
|
|
56
|
+
|
|
57
|
+
/** A country's name as the host's pack spells it, else the English one above. */
|
|
58
|
+
export const countryDisplayName = (
|
|
59
|
+
country: CountryData,
|
|
60
|
+
countryName?: (code: string, englishName: string) => string,
|
|
61
|
+
): string => (countryName ? countryName(country.code, country.name) : country.name);
|
|
62
|
+
|
|
63
|
+
/** The picker's list, sorted by the names it actually shows. */
|
|
64
|
+
export const countriesByDisplayName = (
|
|
65
|
+
countryName?: (code: string, englishName: string) => string,
|
|
66
|
+
): Array<CountryData & { displayName: string }> =>
|
|
67
|
+
countryName
|
|
68
|
+
? countries
|
|
69
|
+
.map((country) => ({ ...country, displayName: countryDisplayName(country, countryName) }))
|
|
70
|
+
.sort((a, b) => a.displayName.localeCompare(b.displayName))
|
|
71
|
+
: countries.map((country) => ({ ...country, displayName: country.name }));
|