@12-apps/ui 6.78.3 → 6.79.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 +2 -1
- package/dist/_internal/components/data-display/AsyncStateContainer/AsyncStateContainer.js +3 -3
- package/dist/_internal/components/data-display/Avatar/Avatar.js +4 -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 +11 -10
- package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +7 -6
- 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 +50 -49
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +70 -69
- package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +4 -3
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +9 -8
- 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-category-pill.js +15 -14
- package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +21 -20
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +45 -44
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +22 -21
- package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +19 -18
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +20 -19
- 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 +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +9 -8
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +22 -21
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +8 -7
- 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 +4 -4
- package/dist/_internal/components/data-display/EmptyState/EmptyState.js +2 -2
- 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 +15 -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/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.hooks.js +2 -2
- package/dist/_internal/components/data-display/Sheet/Sheet.js +4 -4
- 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 +69 -64
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmAction.js +4 -3
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmAction.parts.js +3 -2
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmButton.js +5 -4
- package/dist/_internal/components/feedback/ConfirmAction/with-confirmation.js +4 -3
- 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 +33 -31
- 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/CalendarDay.js +1 -1
- 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/DateRangePicker/DateRangePicker.js +9 -9
- 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 +3 -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 +48 -45
- 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 +196 -188
- package/dist/_internal/components/layout/Card/Card.js +2 -2
- package/dist/_internal/components/layout/ContentToolbar/FilterTrigger.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/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 +6 -6
- 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/index.js +34 -33
- package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +8 -7
- 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 +2 -2
- package/dist/_internal/components/navigation/SectionNav/SectionNav.js +4 -4
- package/dist/_internal/components/navigation/index.js +29 -26
- package/dist/_internal/components/typography/Code/Code.js +2 -1
- package/dist/_internal/components/typography/index.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 +8 -6
- 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 +4 -4
- package/dist/_internal/user-avatar/user-avatar.js +8 -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-2ILXXBMG.js → chunk-25HBYY4O.js} +12 -6
- package/dist/chunk-25HBYY4O.js.map +1 -0
- package/dist/{chunk-OPP6USJC.js → chunk-2FQF4CNE.js} +2 -2
- package/dist/{chunk-BWFQEASG.js → chunk-2P5ZBBTL.js} +5 -5
- package/dist/{chunk-QVO4SIS7.js → chunk-3W2B7IZG.js} +2 -2
- package/dist/{chunk-PMRLFNBT.js → chunk-3XLSA3YB.js} +4 -4
- package/dist/{chunk-7P5PNRBT.js → chunk-3YCV4EP7.js} +6 -6
- package/dist/{chunk-AYP6ICAY.js → chunk-44FY2YZL.js} +11 -10
- package/dist/chunk-44FY2YZL.js.map +1 -0
- package/dist/chunk-47IAX6PI.js +119 -0
- package/dist/chunk-47IAX6PI.js.map +1 -0
- package/dist/{chunk-Q6PRGXR2.js → chunk-4HBCWKIX.js} +4 -4
- package/dist/{chunk-HN3PZTUK.js → chunk-4MKVGSHX.js} +5 -5
- package/dist/{chunk-EERUSI52.js → chunk-4N3I7ZHQ.js} +2 -2
- package/dist/{chunk-O6SAU5JA.js → chunk-4OTJ66ID.js} +4 -4
- package/dist/{chunk-LG52LMAM.js → chunk-556LO6KA.js} +3 -3
- package/dist/{chunk-LBZEPWYK.js → chunk-5GLOEGOM.js} +4 -4
- package/dist/{chunk-KZXOIRUP.js → chunk-5MAD6ZEI.js} +43 -12
- package/dist/chunk-5MAD6ZEI.js.map +1 -0
- 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-GSXYXMCV.js → chunk-66BRUS2M.js} +2 -2
- package/dist/{chunk-ALREWFRX.js → chunk-6DGNMASB.js} +4 -4
- package/dist/{chunk-MA6SUE7F.js → chunk-6EZQLNPK.js} +5 -3
- package/dist/chunk-6EZQLNPK.js.map +1 -0
- package/dist/{chunk-VRPCZ3IE.js → chunk-6JKECOZ2.js} +7 -6
- package/dist/chunk-6JKECOZ2.js.map +1 -0
- package/dist/{chunk-XKSA4L2X.js → chunk-6MGYPTAL.js} +11 -3
- package/dist/chunk-6MGYPTAL.js.map +1 -0
- package/dist/{chunk-5752357K.js → chunk-6N2U67KF.js} +4 -4
- package/dist/{chunk-UZOG6HNN.js → chunk-6SFJIW54.js} +5 -4
- package/dist/chunk-6SFJIW54.js.map +1 -0
- package/dist/{chunk-VD72JGHA.js → chunk-73OYC22L.js} +2 -2
- package/dist/{chunk-6PU3JYVY.js → chunk-775LIZXS.js} +4 -4
- package/dist/{chunk-C5JCARNE.js → chunk-7HKXTRTK.js} +7 -4
- package/dist/chunk-7HKXTRTK.js.map +1 -0
- package/dist/{chunk-S4JXSC4D.js → chunk-7HZ6TJRH.js} +6 -6
- package/dist/{chunk-33LAPBYB.js → chunk-7S25RDE4.js} +9 -5
- package/dist/chunk-7S25RDE4.js.map +1 -0
- package/dist/{chunk-CSD6SWBZ.js → chunk-A3Z7ZXLM.js} +6 -6
- package/dist/{chunk-LI6XSM5D.js → chunk-A6V7KE45.js} +3 -3
- package/dist/{chunk-YJBWDDW7.js → chunk-AAWVAQI2.js} +12 -12
- package/dist/{chunk-44PBCQ7E.js → chunk-ABQZFK7M.js} +6 -6
- 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-GTT5UKKO.js → chunk-BDJIP4HG.js} +4 -4
- package/dist/{chunk-RS576GOH.js → chunk-BIUT3K6A.js} +4 -4
- package/dist/{chunk-4NQXHPQR.js → chunk-BJ7NWZWO.js} +11 -2
- package/dist/chunk-BJ7NWZWO.js.map +1 -0
- package/dist/{chunk-A5NXBOWS.js → chunk-BLHSLB5D.js} +5 -5
- package/dist/{chunk-DYHOBKPU.js → chunk-BLZDSCIZ.js} +6 -6
- package/dist/{chunk-E53MMMDA.js → chunk-BX6CF2UG.js} +3 -3
- package/dist/{chunk-WVZBYTIK.js → chunk-C465AAD5.js} +29 -19
- package/dist/chunk-C465AAD5.js.map +1 -0
- package/dist/{chunk-7HA7UH7O.js → chunk-C4OETF7K.js} +4 -4
- package/dist/{chunk-64AOS2WA.js → chunk-CAHN7AMY.js} +5 -5
- 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-YLSDFW5O.js → chunk-CN4JS57H.js} +35 -5
- package/dist/chunk-CN4JS57H.js.map +1 -0
- package/dist/{chunk-MSC43MCJ.js → chunk-CRFOAKQL.js} +5 -5
- package/dist/{chunk-IQ2U5MVO.js → chunk-CSQWPDQV.js} +9 -9
- package/dist/{chunk-B2JYQBO4.js → chunk-CXTRDTNM.js} +11 -6
- package/dist/chunk-CXTRDTNM.js.map +1 -0
- package/dist/{chunk-TTCVYY2B.js → chunk-CYKINZKO.js} +22 -7
- package/dist/chunk-CYKINZKO.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-3HLKTBEO.js → chunk-DQ22UKMZ.js} +4 -2
- package/dist/{chunk-3HLKTBEO.js.map → chunk-DQ22UKMZ.js.map} +1 -1
- package/dist/{chunk-INGPH3YQ.js → chunk-DVRNW33K.js} +28 -5
- package/dist/chunk-DVRNW33K.js.map +1 -0
- package/dist/{chunk-VQYR64QB.js → chunk-DX5PLJKN.js} +8 -3
- package/dist/chunk-DX5PLJKN.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-3VXS7O3X.js → chunk-EVYLJ5JB.js} +17 -3
- package/dist/chunk-EVYLJ5JB.js.map +1 -0
- package/dist/chunk-FB4GLQQO.js +102 -0
- package/dist/chunk-FB4GLQQO.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-LH4VKUZC.js → chunk-FLTXJWOC.js} +13 -7
- package/dist/chunk-FLTXJWOC.js.map +1 -0
- package/dist/{chunk-2ARVNCVU.js → chunk-FZUAB2KS.js} +8 -6
- package/dist/chunk-FZUAB2KS.js.map +1 -0
- package/dist/{chunk-PY3RW5LC.js → chunk-G2IVONJD.js} +24 -10
- package/dist/chunk-G2IVONJD.js.map +1 -0
- package/dist/{chunk-Z5WUSI47.js → chunk-G3JFESKD.js} +6 -6
- 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-XQWUVQ2F.js → chunk-GHGZI7PK.js} +6 -2
- package/dist/chunk-GHGZI7PK.js.map +1 -0
- package/dist/{chunk-4MQ6XTIJ.js → chunk-GJMWQUAD.js} +24 -13
- package/dist/chunk-GJMWQUAD.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-ZFBFQK2Y.js → chunk-GPPUKDA6.js} +11 -12
- package/dist/chunk-GPPUKDA6.js.map +1 -0
- package/dist/{chunk-O36MIQIO.js → chunk-GPQ22MPR.js} +2 -2
- package/dist/{chunk-GRMBCJS6.js → chunk-H6R2L7VI.js} +4 -4
- package/dist/{chunk-AMLHEKSV.js → chunk-HI7JPDD6.js} +5 -5
- package/dist/{chunk-H3AQQOTI.js → chunk-HKGKQKQT.js} +9 -2
- package/dist/chunk-HKGKQKQT.js.map +1 -0
- package/dist/{chunk-CW6Y32N2.js → chunk-I2CT4XIP.js} +6 -6
- package/dist/{chunk-N34AOGK3.js → chunk-I3OKAQ5L.js} +7 -7
- package/dist/{chunk-AEYLFBZT.js → chunk-I4NDZFTB.js} +2 -2
- package/dist/{chunk-5J7SA4CZ.js → chunk-IASPZGYB.js} +28 -10
- package/dist/chunk-IASPZGYB.js.map +1 -0
- package/dist/{chunk-2ZRZTGWP.js → chunk-ISW5K72V.js} +5 -5
- package/dist/{chunk-KARMRTTM.js → chunk-J2RUDZVJ.js} +7 -7
- 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-4M5GEKPM.js → chunk-JL4I7OQE.js} +4 -4
- package/dist/chunk-JQLQOIB3.js +1 -0
- package/dist/chunk-JQLQOIB3.js.map +1 -0
- package/dist/{chunk-NBXG3SQ3.js → chunk-JSY234NY.js} +5 -5
- package/dist/{chunk-HQCZT6TO.js → chunk-JVOEVTCZ.js} +5 -5
- package/dist/{chunk-MBMZNSBP.js → chunk-JW7MN4DG.js} +3 -3
- package/dist/{chunk-ZPACE34U.js → chunk-K53XSVQO.js} +10 -10
- package/dist/{chunk-RUF7TOAZ.js → chunk-KE74C2SM.js} +3 -2
- package/dist/{chunk-RUF7TOAZ.js.map → chunk-KE74C2SM.js.map} +1 -1
- package/dist/{chunk-GBVNY2LG.js → chunk-KTXJQ4YJ.js} +6 -6
- package/dist/{chunk-FCVPVEAS.js → chunk-KYE7I6NT.js} +7 -7
- package/dist/{chunk-MM7BPTVV.js → chunk-KYT5G4K7.js} +2 -2
- package/dist/{chunk-4VRDFZ4G.js → chunk-KYTFGW4R.js} +7 -3
- package/dist/chunk-KYTFGW4R.js.map +1 -0
- package/dist/chunk-L35TCXFA.js +74 -0
- package/dist/chunk-L35TCXFA.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-2TSGRQ2J.js → chunk-LHJJZ462.js} +4 -2
- package/dist/chunk-LHJJZ462.js.map +1 -0
- package/dist/{chunk-SV6IQ2YO.js → chunk-LIWONEAU.js} +6 -4
- package/dist/chunk-LIWONEAU.js.map +1 -0
- package/dist/chunk-LL2BWQPM.js +11 -0
- package/dist/chunk-LL2BWQPM.js.map +1 -0
- package/dist/{chunk-XYFBJH6F.js → chunk-LR473BUT.js} +19 -9
- package/dist/chunk-LR473BUT.js.map +1 -0
- package/dist/{chunk-56JF5PZK.js → chunk-LYVTJLCF.js} +4 -4
- package/dist/{chunk-M3DSPEZ3.js → chunk-M3ZNQTS5.js} +5 -5
- package/dist/{chunk-AYJ44VTJ.js → chunk-MBY7DWGT.js} +15 -13
- package/dist/chunk-MBY7DWGT.js.map +1 -0
- package/dist/{chunk-GBKIGUNP.js → chunk-MGDCGNLC.js} +3 -3
- package/dist/{chunk-BGYLL467.js → chunk-N3W6FZOC.js} +4 -4
- package/dist/{chunk-BWFUZ4N2.js → chunk-NA3M7KDE.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-FIOBPQL2.js → chunk-NUUX4BBR.js} +10 -3
- package/dist/chunk-NUUX4BBR.js.map +1 -0
- package/dist/{chunk-7JOLSD2W.js → chunk-P3QFJJJY.js} +3 -3
- package/dist/{chunk-RCTHCXS6.js → chunk-PJNIJIE6.js} +2 -2
- package/dist/{chunk-DXFKPY2K.js → chunk-PU3FQG7T.js} +4 -4
- package/dist/{chunk-6ATXOJVQ.js → chunk-QADTI63U.js} +4 -4
- package/dist/{chunk-FRGNTTPA.js → chunk-QDRHIK2R.js} +15 -10
- package/dist/chunk-QDRHIK2R.js.map +1 -0
- package/dist/{chunk-SUZXPDUQ.js → chunk-QJLOWBFW.js} +12 -6
- package/dist/chunk-QJLOWBFW.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-HEBZ7Q7O.js → chunk-QVYBRD6U.js} +7 -6
- package/dist/chunk-QVYBRD6U.js.map +1 -0
- package/dist/{chunk-VNVV6Y2X.js → chunk-RECD3XOL.js} +4 -2
- package/dist/chunk-RECD3XOL.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-T743IIER.js → chunk-RNQA7MDM.js} +8 -4
- package/dist/chunk-RNQA7MDM.js.map +1 -0
- package/dist/{chunk-YNDTLBOH.js → chunk-RQMYEPRR.js} +2 -2
- package/dist/{chunk-3JDP5OUR.js → chunk-RQY5ONSF.js} +6 -2
- package/dist/chunk-RQY5ONSF.js.map +1 -0
- package/dist/{chunk-Y7YJYUNV.js → chunk-RRSLH2FV.js} +10 -3
- package/dist/chunk-RRSLH2FV.js.map +1 -0
- package/dist/{chunk-3Z3WIQ5M.js → chunk-RZ3QMKM7.js} +5 -5
- package/dist/{chunk-WA6F4NOO.js → chunk-SMANO5OD.js} +4 -4
- package/dist/{chunk-5M2NWXN4.js → chunk-SRNBD6EV.js} +2 -2
- package/dist/{chunk-7SYYGXC7.js → chunk-SSCEX5NY.js} +6 -2
- package/dist/chunk-SSCEX5NY.js.map +1 -0
- package/dist/{chunk-PU3HEWSG.js → chunk-SYSR2K2M.js} +13 -4
- package/dist/chunk-SYSR2K2M.js.map +1 -0
- package/dist/{chunk-R53ZOW4B.js → chunk-TGMMUKOF.js} +3 -3
- package/dist/{chunk-SB2SEGR6.js → chunk-TIM4PXWN.js} +3 -3
- package/dist/{chunk-555TUQ7E.js → chunk-TPGFR24B.js} +5 -5
- package/dist/{chunk-MHLYX6QW.js → chunk-TRAMTVIO.js} +5 -5
- package/dist/{chunk-QO7UJXXO.js → chunk-TVMSXL3R.js} +2 -2
- package/dist/{chunk-OE3SQOZV.js → chunk-U6XXAVBO.js} +13 -7
- package/dist/chunk-U6XXAVBO.js.map +1 -0
- package/dist/{chunk-CZV6NVCA.js → chunk-UG4EMHMW.js} +10 -7
- package/dist/chunk-UG4EMHMW.js.map +1 -0
- package/dist/{chunk-VEBNL5MG.js → chunk-UGYBN6OO.js} +2 -2
- package/dist/{chunk-AG3DY5TH.js → chunk-UHQZ5XPW.js} +5 -4
- package/dist/chunk-UHQZ5XPW.js.map +1 -0
- package/dist/{chunk-2QO3BKUQ.js → chunk-UJT6AQHL.js} +4 -4
- package/dist/{chunk-FTDGFWB5.js → chunk-UK3DSFMK.js} +5 -5
- package/dist/{chunk-NYWAAXDX.js → chunk-URAXAKUI.js} +3 -3
- package/dist/{chunk-XODBYGTH.js → chunk-V37QIB7B.js} +2 -2
- package/dist/{chunk-7K23NEZO.js → chunk-V45JGJ3W.js} +8 -8
- package/dist/{chunk-RA6W37NZ.js → chunk-V64USPG3.js} +11 -8
- package/dist/chunk-V64USPG3.js.map +1 -0
- package/dist/{chunk-HZK4DRGF.js → chunk-V7INHV5V.js} +6 -4
- package/dist/chunk-V7INHV5V.js.map +1 -0
- package/dist/{chunk-RZCXYKY4.js → chunk-VFVATUC6.js} +6 -2
- package/dist/chunk-VFVATUC6.js.map +1 -0
- package/dist/{chunk-2MYSXWZQ.js → chunk-VKTF3GAP.js} +9 -9
- package/dist/{chunk-ICRVLGWD.js → chunk-VMU52I5D.js} +8 -2
- package/dist/chunk-VMU52I5D.js.map +1 -0
- package/dist/{chunk-KHIUYLKY.js → chunk-VQ6UB4MN.js} +8 -8
- package/dist/{chunk-LTTYUSJ2.js → chunk-VTDZUO2J.js} +4 -2
- package/dist/chunk-VTDZUO2J.js.map +1 -0
- package/dist/{chunk-4HUSG5MR.js → chunk-VZVAP2ZR.js} +2 -2
- package/dist/{chunk-4XBAEKQQ.js → chunk-W2RXXF7K.js} +4 -4
- package/dist/chunk-W5PRZHLU.js +74 -0
- package/dist/chunk-W5PRZHLU.js.map +1 -0
- package/dist/{chunk-A2YLFKQU.js → chunk-W5WYTVLS.js} +2 -2
- package/dist/{chunk-EUACQR6N.js → chunk-WE43PZ4P.js} +7 -5
- package/dist/chunk-WE43PZ4P.js.map +1 -0
- package/dist/{chunk-RHKQ2RSY.js → chunk-WUW6NDXC.js} +15 -15
- package/dist/{chunk-EBCEDBHX.js → chunk-XDDKRACZ.js} +3 -3
- 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-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-KT3TF2LT.js → chunk-YJ6UQDA6.js} +7 -5
- package/dist/chunk-YJ6UQDA6.js.map +1 -0
- package/dist/{chunk-6RTE4UNO.js → chunk-YV4O7KDR.js} +1 -1
- package/dist/{chunk-Z5V5E3JW.js → chunk-ZIHSCBMN.js} +10 -10
- package/dist/data-display/Alert.js +3 -3
- package/dist/data-display/AlertDialog.js +2 -1
- package/dist/data-display/AsyncStateContainer.js +3 -3
- package/dist/data-display/Avatar.js +4 -4
- package/dist/data-display/CardKit.js +18 -17
- 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 +86 -85
- package/dist/data-display/EmptyState.js +2 -2
- package/dist/data-display/FleetMap.js +15 -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/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 +4 -4
- 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 +16 -12
- package/dist/feedback/ConfirmAction.js +9 -8
- 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/DateRangePicker.js +9 -9
- package/dist/form/InputOTP.js +2 -2
- package/dist/form/Menubar.js +2 -2
- package/dist/form/PhoneInput.js +3 -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 +11 -10
- package/dist/layout/Dashboard.js +2 -1
- package/dist/layout/ScrollArea.js +3 -3
- package/dist/layout/SettingCard.js +17 -17
- package/dist/layout/SettingsLayout.js +6 -6
- package/dist/locales.js +36 -28
- package/dist/locales.js.map +1 -1
- package/dist/native/chunks/{chunk-BXNZHDXK.js → chunk-4SP3BDPZ.js} +12 -5
- package/dist/native/chunks/chunk-4SP3BDPZ.js.map +1 -0
- package/dist/native/chunks/{chunk-AVHGS66L.js → chunk-FGAX5BRS.js} +2 -2
- package/dist/native/chunks/chunk-SPK34J7Y.js +74 -0
- package/dist/native/chunks/chunk-SPK34J7Y.js.map +1 -0
- 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 +2 -1
- 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/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 +10 -9
- 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 +5 -5
- package/dist/pt-BR.js +10 -6
- package/dist/social-login-button.js +4 -4
- package/dist/types/components/data-display/AlertDialog/AlertDialog.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/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/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/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/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/Calendar/CalendarDay.d.ts.map +1 -1
- package/dist/types/components/form/Calendar/CalendarMonth.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/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/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 +1 -1
- 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/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/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 +108 -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/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/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/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 +108 -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/typography/Code.js +2 -1
- package/dist/user-avatar.js +8 -7
- 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.tsx +3 -1
- package/src/components/data-display/AlertDialog/AlertDialog.types.ts +6 -0
- 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/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/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/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 +2 -1
- 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/Calendar/Calendar.md +7 -0
- package/src/components/form/Calendar/CalendarDay.tsx +13 -2
- package/src/components/form/Calendar/CalendarMonth.tsx +11 -2
- 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/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 +21 -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/layout/ContentToolbar/ContentToolbar.types.ts +14 -0
- package/src/components/layout/ContentToolbar/FilterTrigger.tsx +10 -1
- package/src/components/layout/ContentToolbar/ViewSelector.tsx +15 -5
- package/src/components/layout/Dashboard/Dashboard.tsx +3 -1
- package/src/components/layout/Dashboard/Dashboard.types.ts +5 -0
- 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/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 +120 -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 +9 -2
- package/src/en-US.feedback.ts +3 -1
- package/src/en-US.form.ts +27 -4
- package/src/en-US.labels.ts +76 -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 +9 -2
- package/src/pt-BR.feedback.ts +3 -1
- package/src/pt-BR.form.ts +40 -4
- package/src/pt-BR.labels.ts +75 -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/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-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-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-AG3DY5TH.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-BWZKLKDT.js +0 -1
- package/dist/chunk-C5JCARNE.js.map +0 -1
- package/dist/chunk-CZV6NVCA.js.map +0 -1
- package/dist/chunk-EUACQR6N.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-H3AQQOTI.js.map +0 -1
- package/dist/chunk-HEBZ7Q7O.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-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-MTGEJRE4.js.map +0 -1
- package/dist/chunk-OE3SQOZV.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-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-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-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-WVZBYTIK.js.map +0 -1
- package/dist/chunk-XICRCPEQ.js.map +0 -1
- package/dist/chunk-XKSA4L2X.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-ZFBFQK2Y.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-PMRLFNBT.js.map → chunk-3XLSA3YB.js.map} +0 -0
- /package/dist/{chunk-7P5PNRBT.js.map → chunk-3YCV4EP7.js.map} +0 -0
- /package/dist/{chunk-Q6PRGXR2.js.map → chunk-4HBCWKIX.js.map} +0 -0
- /package/dist/{chunk-HN3PZTUK.js.map → chunk-4MKVGSHX.js.map} +0 -0
- /package/dist/{chunk-EERUSI52.js.map → chunk-4N3I7ZHQ.js.map} +0 -0
- /package/dist/{chunk-O6SAU5JA.js.map → chunk-4OTJ66ID.js.map} +0 -0
- /package/dist/{chunk-LG52LMAM.js.map → chunk-556LO6KA.js.map} +0 -0
- /package/dist/{chunk-LBZEPWYK.js.map → chunk-5GLOEGOM.js.map} +0 -0
- /package/dist/{chunk-JE6RZ5L6.js.map → chunk-5ZOJLYD2.js.map} +0 -0
- /package/dist/{chunk-GSXYXMCV.js.map → chunk-66BRUS2M.js.map} +0 -0
- /package/dist/{chunk-ALREWFRX.js.map → chunk-6DGNMASB.js.map} +0 -0
- /package/dist/{chunk-5752357K.js.map → chunk-6N2U67KF.js.map} +0 -0
- /package/dist/{chunk-VD72JGHA.js.map → chunk-73OYC22L.js.map} +0 -0
- /package/dist/{chunk-6PU3JYVY.js.map → chunk-775LIZXS.js.map} +0 -0
- /package/dist/{chunk-S4JXSC4D.js.map → chunk-7HZ6TJRH.js.map} +0 -0
- /package/dist/{chunk-CSD6SWBZ.js.map → chunk-A3Z7ZXLM.js.map} +0 -0
- /package/dist/{chunk-LI6XSM5D.js.map → chunk-A6V7KE45.js.map} +0 -0
- /package/dist/{chunk-YJBWDDW7.js.map → chunk-AAWVAQI2.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-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-DYHOBKPU.js.map → chunk-BLZDSCIZ.js.map} +0 -0
- /package/dist/{chunk-E53MMMDA.js.map → chunk-BX6CF2UG.js.map} +0 -0
- /package/dist/{chunk-7HA7UH7O.js.map → chunk-C4OETF7K.js.map} +0 -0
- /package/dist/{chunk-64AOS2WA.js.map → chunk-CAHN7AMY.js.map} +0 -0
- /package/dist/{chunk-MSC43MCJ.js.map → chunk-CRFOAKQL.js.map} +0 -0
- /package/dist/{chunk-IQ2U5MVO.js.map → chunk-CSQWPDQV.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-O36MIQIO.js.map → chunk-GPQ22MPR.js.map} +0 -0
- /package/dist/{chunk-GRMBCJS6.js.map → chunk-H6R2L7VI.js.map} +0 -0
- /package/dist/{chunk-AMLHEKSV.js.map → chunk-HI7JPDD6.js.map} +0 -0
- /package/dist/{chunk-CW6Y32N2.js.map → chunk-I2CT4XIP.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-KARMRTTM.js.map → chunk-J2RUDZVJ.js.map} +0 -0
- /package/dist/{chunk-4M5GEKPM.js.map → chunk-JL4I7OQE.js.map} +0 -0
- /package/dist/{chunk-NBXG3SQ3.js.map → chunk-JSY234NY.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-ZPACE34U.js.map → chunk-K53XSVQO.js.map} +0 -0
- /package/dist/{chunk-GBVNY2LG.js.map → chunk-KTXJQ4YJ.js.map} +0 -0
- /package/dist/{chunk-FCVPVEAS.js.map → chunk-KYE7I6NT.js.map} +0 -0
- /package/dist/{chunk-MM7BPTVV.js.map → chunk-KYT5G4K7.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-M3DSPEZ3.js.map → chunk-M3ZNQTS5.js.map} +0 -0
- /package/dist/{chunk-GBKIGUNP.js.map → chunk-MGDCGNLC.js.map} +0 -0
- /package/dist/{chunk-BGYLL467.js.map → chunk-N3W6FZOC.js.map} +0 -0
- /package/dist/{chunk-BWFUZ4N2.js.map → chunk-NA3M7KDE.js.map} +0 -0
- /package/dist/{chunk-7JOLSD2W.js.map → chunk-P3QFJJJY.js.map} +0 -0
- /package/dist/{chunk-RCTHCXS6.js.map → chunk-PJNIJIE6.js.map} +0 -0
- /package/dist/{chunk-DXFKPY2K.js.map → chunk-PU3FQG7T.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-YNDTLBOH.js.map → chunk-RQMYEPRR.js.map} +0 -0
- /package/dist/{chunk-3Z3WIQ5M.js.map → chunk-RZ3QMKM7.js.map} +0 -0
- /package/dist/{chunk-WA6F4NOO.js.map → chunk-SMANO5OD.js.map} +0 -0
- /package/dist/{chunk-5M2NWXN4.js.map → chunk-SRNBD6EV.js.map} +0 -0
- /package/dist/{chunk-R53ZOW4B.js.map → chunk-TGMMUKOF.js.map} +0 -0
- /package/dist/{chunk-SB2SEGR6.js.map → chunk-TIM4PXWN.js.map} +0 -0
- /package/dist/{chunk-555TUQ7E.js.map → chunk-TPGFR24B.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-VEBNL5MG.js.map → chunk-UGYBN6OO.js.map} +0 -0
- /package/dist/{chunk-2QO3BKUQ.js.map → chunk-UJT6AQHL.js.map} +0 -0
- /package/dist/{chunk-FTDGFWB5.js.map → chunk-UK3DSFMK.js.map} +0 -0
- /package/dist/{chunk-NYWAAXDX.js.map → chunk-URAXAKUI.js.map} +0 -0
- /package/dist/{chunk-XODBYGTH.js.map → chunk-V37QIB7B.js.map} +0 -0
- /package/dist/{chunk-7K23NEZO.js.map → chunk-V45JGJ3W.js.map} +0 -0
- /package/dist/{chunk-2MYSXWZQ.js.map → chunk-VKTF3GAP.js.map} +0 -0
- /package/dist/{chunk-KHIUYLKY.js.map → chunk-VQ6UB4MN.js.map} +0 -0
- /package/dist/{chunk-4HUSG5MR.js.map → chunk-VZVAP2ZR.js.map} +0 -0
- /package/dist/{chunk-4XBAEKQQ.js.map → chunk-W2RXXF7K.js.map} +0 -0
- /package/dist/{chunk-A2YLFKQU.js.map → chunk-W5WYTVLS.js.map} +0 -0
- /package/dist/{chunk-RHKQ2RSY.js.map → chunk-WUW6NDXC.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-HBHBRRSW.js.map → chunk-YBAK2WN5.js.map} +0 -0
- /package/dist/{chunk-6RTE4UNO.js.map → chunk-YV4O7KDR.js.map} +0 -0
- /package/dist/{chunk-Z5V5E3JW.js.map → chunk-ZIHSCBMN.js.map} +0 -0
- /package/dist/native/chunks/{chunk-AVHGS66L.js.map → chunk-FGAX5BRS.js.map} +0 -0
|
@@ -18,13 +18,20 @@ import type SvgIcon from '@mui/material/SvgIcon/index.js';
|
|
|
18
18
|
import React, { useState } from 'react';
|
|
19
19
|
|
|
20
20
|
import type { ViewMode, ViewSelectorProps } from './ContentToolbar.types';
|
|
21
|
+
import { EN_US_UI_LABELS } from '../../../en-US.labels';
|
|
21
22
|
import { fieldRadiusPx } from '../../../tokens/field-radius';
|
|
22
23
|
import { fieldHeight } from '../../../tokens/field-height';
|
|
23
24
|
import { sxRem } from '../../../tokens/relative';
|
|
24
25
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
interface ViewOption {
|
|
27
|
+
value: ViewMode;
|
|
28
|
+
label: string;
|
|
29
|
+
icon: typeof SvgIcon;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
const viewOptions = (gridViewLabel: string, listViewLabel: string): ViewOption[] => [
|
|
33
|
+
{ value: 'grid', label: gridViewLabel, icon: GridIcon },
|
|
34
|
+
{ value: 'list', label: listViewLabel, icon: ListIcon },
|
|
28
35
|
];
|
|
29
36
|
|
|
30
37
|
/**
|
|
@@ -37,10 +44,13 @@ export function ViewSelector({
|
|
|
37
44
|
zoom,
|
|
38
45
|
onZoomChange,
|
|
39
46
|
cardSizeLabel,
|
|
47
|
+
gridViewLabel = EN_US_UI_LABELS.contentToolbar.gridView,
|
|
48
|
+
listViewLabel = EN_US_UI_LABELS.contentToolbar.listView,
|
|
40
49
|
}: ViewSelectorProps): React.JSX.Element {
|
|
41
50
|
const [anchorEl, setAnchorEl] = useState<HTMLElement | null>(null);
|
|
42
51
|
const open = Boolean(anchorEl);
|
|
43
|
-
const
|
|
52
|
+
const options = viewOptions(gridViewLabel, listViewLabel);
|
|
53
|
+
const activeOption = options.find((option) => option.value === viewMode) ?? options[0]!;
|
|
44
54
|
const ActiveIcon = activeOption.icon;
|
|
45
55
|
|
|
46
56
|
return (
|
|
@@ -82,7 +92,7 @@ export function ViewSelector({
|
|
|
82
92
|
transformOrigin={{ vertical: 'top', horizontal: 'right' }}
|
|
83
93
|
slotProps={{ paper: { sx: { minWidth: sxRem(180) } } }}
|
|
84
94
|
>
|
|
85
|
-
{
|
|
95
|
+
{options.map((option) => {
|
|
86
96
|
const OptionIcon = option.icon;
|
|
87
97
|
const selected = viewMode === option.value;
|
|
88
98
|
return (
|
|
@@ -31,6 +31,7 @@ import type {
|
|
|
31
31
|
DashboardMoreFiltersProps,
|
|
32
32
|
DashboardProps,
|
|
33
33
|
} from './Dashboard.types';
|
|
34
|
+
import { EN_US_UI_LABELS } from '../../../en-US.labels';
|
|
34
35
|
import { sxRem } from '../../../tokens/relative';
|
|
35
36
|
|
|
36
37
|
/**
|
|
@@ -160,6 +161,7 @@ Dashboard.displayName = 'Dashboard';
|
|
|
160
161
|
const DashboardBreadcrumb = ({
|
|
161
162
|
items,
|
|
162
163
|
renderLink,
|
|
164
|
+
ariaLabel = EN_US_UI_LABELS.dashboard.breadcrumb,
|
|
163
165
|
className,
|
|
164
166
|
}: DashboardBreadcrumbProps): React.JSX.Element => {
|
|
165
167
|
const { testIdPrefix } = useDashboardContext();
|
|
@@ -167,7 +169,7 @@ const DashboardBreadcrumb = ({
|
|
|
167
169
|
<MuiBreadcrumbs
|
|
168
170
|
separator={<NavigateNextIcon fontSize="small" />}
|
|
169
171
|
className={className}
|
|
170
|
-
aria-label=
|
|
172
|
+
aria-label={ariaLabel}
|
|
171
173
|
data-testid={`${testIdPrefix}-breadcrumb`}
|
|
172
174
|
sx={{ fontSize: sxRem(14), color: 'text.secondary' }}
|
|
173
175
|
>
|
|
@@ -33,6 +33,11 @@ export interface DashboardBreadcrumbProps {
|
|
|
33
33
|
items: DashboardBreadcrumbItem[];
|
|
34
34
|
/** Render function for links, e.g. a Next.js `<Link>`. Defaults to `<a>`. */
|
|
35
35
|
renderLink?: (item: DashboardBreadcrumbItem, children: ReactNode) => ReactNode;
|
|
36
|
+
/**
|
|
37
|
+
* The trail's landmark name. @default "breadcrumb" — a host passes
|
|
38
|
+
* `UI_LABELS[locale].dashboard.breadcrumb`.
|
|
39
|
+
*/
|
|
40
|
+
ariaLabel?: string;
|
|
36
41
|
className?: string;
|
|
37
42
|
}
|
|
38
43
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EN_US_COMMAND_PALETTE_COPY } from '../../../en-US.navigation';
|
|
1
2
|
import type Fuse from 'fuse.js';
|
|
2
3
|
import type React from 'react';
|
|
3
4
|
|
|
@@ -33,11 +34,14 @@ export const filterCommands = ({
|
|
|
33
34
|
return [...recent, ...commands.filter((command) => !recentCommandIds.includes(command.id))];
|
|
34
35
|
};
|
|
35
36
|
|
|
36
|
-
export const groupByCategory = (
|
|
37
|
+
export const groupByCategory = (
|
|
38
|
+
commands: PaletteCommand[],
|
|
39
|
+
generalLabel: string = EN_US_COMMAND_PALETTE_COPY.general,
|
|
40
|
+
): Record<string, PaletteCommand[]> => {
|
|
37
41
|
const groups: Record<string, PaletteCommand[]> = {};
|
|
38
42
|
|
|
39
43
|
for (const command of commands) {
|
|
40
|
-
const category = command.category ||
|
|
44
|
+
const category = command.category || generalLabel;
|
|
41
45
|
groups[category] = groups[category] ?? [];
|
|
42
46
|
groups[category].push(command);
|
|
43
47
|
}
|
|
@@ -17,11 +17,13 @@ const useCommandSearch = ({
|
|
|
17
17
|
searchQuery,
|
|
18
18
|
showRecent,
|
|
19
19
|
recentCommandIds,
|
|
20
|
+
generalLabel,
|
|
20
21
|
}: {
|
|
21
22
|
commands: PaletteCommand[];
|
|
22
23
|
searchQuery: string;
|
|
23
24
|
showRecent?: boolean;
|
|
24
25
|
recentCommandIds: string[];
|
|
26
|
+
generalLabel?: string;
|
|
25
27
|
}) => {
|
|
26
28
|
const fuse = useMemo(
|
|
27
29
|
() =>
|
|
@@ -38,7 +40,10 @@ const useCommandSearch = ({
|
|
|
38
40
|
[searchQuery, commands, fuse, showRecent, recentCommandIds],
|
|
39
41
|
);
|
|
40
42
|
|
|
41
|
-
const groupedCommands = useMemo(
|
|
43
|
+
const groupedCommands = useMemo(
|
|
44
|
+
() => groupByCategory(filteredCommands, generalLabel),
|
|
45
|
+
[filteredCommands, generalLabel],
|
|
46
|
+
);
|
|
42
47
|
|
|
43
48
|
return { filteredCommands, groupedCommands };
|
|
44
49
|
};
|
|
@@ -152,8 +157,10 @@ export const useCommandPalette = ({
|
|
|
152
157
|
recentCommands,
|
|
153
158
|
onCommandExecute,
|
|
154
159
|
onClose,
|
|
160
|
+
generalLabel,
|
|
155
161
|
}: {
|
|
156
162
|
open: boolean;
|
|
163
|
+
generalLabel?: string;
|
|
157
164
|
commands: PaletteCommand[];
|
|
158
165
|
showRecent?: boolean;
|
|
159
166
|
recentCommands: string[];
|
|
@@ -171,6 +178,7 @@ export const useCommandPalette = ({
|
|
|
171
178
|
searchQuery,
|
|
172
179
|
showRecent,
|
|
173
180
|
recentCommandIds,
|
|
181
|
+
generalLabel,
|
|
174
182
|
});
|
|
175
183
|
|
|
176
184
|
const executeCommand = useExecuteCommand({ setRecentCommandIds, onCommandExecute, onClose });
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { EN_US_COMMAND_PALETTE_COPY } from '../../../en-US.navigation';
|
|
2
|
+
import { resolveLabels } from '../../../utils/resolve-labels';
|
|
1
3
|
import CloseIcon from '@mui/icons-material/Close';
|
|
2
4
|
import EnterIcon from '@mui/icons-material/KeyboardReturn';
|
|
3
5
|
import SearchIcon from '@mui/icons-material/Search';
|
|
@@ -38,7 +40,9 @@ const StyledDialog = styled(Dialog)(({ theme }) => ({
|
|
|
38
40
|
|
|
39
41
|
const PaletteContainer = styled(Paper)(({ theme }) => ({
|
|
40
42
|
width: '100%',
|
|
41
|
-
|
|
43
|
+
// 640 is the desktop width (FUT-3347); below it the palette takes the dialog's
|
|
44
|
+
// own width, which already keeps MUI's 32px gutters, so a phone sees it whole.
|
|
45
|
+
maxWidth: `min(${rem(theme, 640)}, 100%)`,
|
|
42
46
|
background: `linear-gradient(135deg, ${alpha(theme.palette.background.paper, 0.98)} 0%, ${alpha(theme.palette.background.paper, 0.95)} 100%)`,
|
|
43
47
|
backdropFilter: `blur(${rem(theme, 20)})`,
|
|
44
48
|
WebkitBackdropFilter: `blur(${rem(theme, 20)})`,
|
|
@@ -103,18 +107,22 @@ const PaletteFooter: React.FC<{ commandCount: number; copy: CommandPaletteCopy }
|
|
|
103
107
|
copy,
|
|
104
108
|
}) => {
|
|
105
109
|
const theme = useTheme();
|
|
110
|
+
const text = resolveLabels(EN_US_COMMAND_PALETTE_COPY, copy);
|
|
106
111
|
|
|
107
112
|
return (
|
|
108
113
|
<Box
|
|
109
114
|
sx={{
|
|
110
115
|
display: 'flex',
|
|
116
|
+
// Wraps the count under the hints on a phone; one row on desktop.
|
|
117
|
+
flexWrap: 'wrap',
|
|
118
|
+
gap: 1,
|
|
111
119
|
justifyContent: 'space-between',
|
|
112
120
|
alignItems: 'center',
|
|
113
121
|
padding: 1,
|
|
114
122
|
borderTop: `1px solid ${alpha(theme.palette.divider, 0.12)}`,
|
|
115
123
|
background: alpha(theme.palette.background.default, 0.4) }}
|
|
116
124
|
>
|
|
117
|
-
<Box sx={{ display: 'flex', gap: 1 }}>
|
|
125
|
+
<Box sx={{ display: 'flex', flexWrap: 'wrap', gap: 1 }}>
|
|
118
126
|
<ShortcutChip
|
|
119
127
|
icon={<EnterIcon sx={{ fontSize: sxRem(12) }} />}
|
|
120
128
|
label={copy.execute}
|
|
@@ -124,7 +132,7 @@ const PaletteFooter: React.FC<{ commandCount: number; copy: CommandPaletteCopy }
|
|
|
124
132
|
<ShortcutChip label={copy.close} size="small" />
|
|
125
133
|
</Box>
|
|
126
134
|
<Typography variant="caption" color="text.secondary">
|
|
127
|
-
{commandCount}
|
|
135
|
+
{text.commandCount(commandCount)}
|
|
128
136
|
</Typography>
|
|
129
137
|
</Box>
|
|
130
138
|
);
|
|
@@ -135,13 +143,14 @@ export const CommandPalette: FC<CommandPaletteProps> = ({
|
|
|
135
143
|
open,
|
|
136
144
|
onClose,
|
|
137
145
|
commands,
|
|
138
|
-
placeholder
|
|
146
|
+
placeholder,
|
|
139
147
|
width,
|
|
140
148
|
maxHeight,
|
|
141
149
|
showRecent = true,
|
|
142
150
|
recentCommands = [],
|
|
143
151
|
onCommandExecute,
|
|
144
152
|
dataTestId = 'command-palette' }) => {
|
|
153
|
+
const text = resolveLabels(EN_US_COMMAND_PALETTE_COPY, copy);
|
|
145
154
|
const {
|
|
146
155
|
searchQuery,
|
|
147
156
|
setSearchQuery,
|
|
@@ -158,7 +167,8 @@ export const CommandPalette: FC<CommandPaletteProps> = ({
|
|
|
158
167
|
showRecent,
|
|
159
168
|
recentCommands,
|
|
160
169
|
onCommandExecute,
|
|
161
|
-
onClose
|
|
170
|
+
onClose,
|
|
171
|
+
generalLabel: text.general });
|
|
162
172
|
|
|
163
173
|
const handleSearchChange = (event: React.ChangeEvent<HTMLInputElement>) => {
|
|
164
174
|
setSearchQuery(event.target.value);
|
|
@@ -177,7 +187,7 @@ export const CommandPalette: FC<CommandPaletteProps> = ({
|
|
|
177
187
|
<PaletteContainer elevation={24} sx={{ width: width ?? sxRem(640), maxHeight: maxHeight ?? sxRem(400) }}>
|
|
178
188
|
<PaletteSearch
|
|
179
189
|
inputRef={searchInputRef}
|
|
180
|
-
placeholder={placeholder}
|
|
190
|
+
placeholder={placeholder ?? text.placeholder}
|
|
181
191
|
value={searchQuery}
|
|
182
192
|
dataTestId={dataTestId}
|
|
183
193
|
onChange={handleSearchChange}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { EN_US_COMMAND_PALETTE_COPY } from '../../../en-US.navigation';
|
|
2
|
+
import { resolveLabels } from '../../../utils/resolve-labels';
|
|
1
3
|
import RecentIcon from '@mui/icons-material/History';
|
|
2
4
|
import Box from '@mui/material/Box/index.js';
|
|
3
5
|
import Divider from '@mui/material/Divider/index.js';
|
|
@@ -128,7 +130,7 @@ export const PaletteResults: React.FC<{
|
|
|
128
130
|
return (
|
|
129
131
|
<NoResults data-testid={`${dataTestId}-no-results`}>
|
|
130
132
|
<Typography variant="body2" color="text.secondary">
|
|
131
|
-
|
|
133
|
+
{resolveLabels(EN_US_COMMAND_PALETTE_COPY, copy).noCommandsFound(searchQuery)}
|
|
132
134
|
</Typography>
|
|
133
135
|
<Typography variant="caption" color="text.disabled" sx={{ mt: 1 }}>
|
|
134
136
|
{copy.tryAnotherTerm}
|
|
@@ -213,10 +213,13 @@ export const MenuList: React.FC<PropsWithChildren<{ variant?: string; size?: str
|
|
|
213
213
|
...props
|
|
214
214
|
}) => <StyledList {...props}>{children}</StyledList>;
|
|
215
215
|
|
|
216
|
-
export const CollapseToggle: React.FC<
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
216
|
+
export const CollapseToggle: React.FC<
|
|
217
|
+
PropsWithChildren<{ onClick: () => void; ariaLabel?: string }>
|
|
218
|
+
> = ({ children, onClick, ariaLabel }) => (
|
|
219
|
+
<CollapseButton onClick={onClick} aria-label={ariaLabel}>
|
|
220
|
+
{children}
|
|
221
|
+
</CollapseButton>
|
|
222
|
+
);
|
|
220
223
|
|
|
221
224
|
export const MegaSection: React.FC<{ children: ReactNode }> = ({ children }) => (
|
|
222
225
|
<MegaMenuSection>{children}</MegaMenuSection>
|
|
@@ -121,6 +121,8 @@ export const NavigationMenu = React.forwardRef<HTMLDivElement, NavigationMenuPro
|
|
|
121
121
|
collapsible,
|
|
122
122
|
collapsed: controlledCollapsed,
|
|
123
123
|
onCollapseChange,
|
|
124
|
+
collapseLabel,
|
|
125
|
+
expandLabel,
|
|
124
126
|
logo,
|
|
125
127
|
endContent,
|
|
126
128
|
maxWidth,
|
|
@@ -179,6 +181,8 @@ export const NavigationMenu = React.forwardRef<HTMLDivElement, NavigationMenuPro
|
|
|
179
181
|
items={items}
|
|
180
182
|
logo={logo}
|
|
181
183
|
endContent={endContent}
|
|
184
|
+
collapseLabel={collapseLabel}
|
|
185
|
+
expandLabel={expandLabel}
|
|
182
186
|
onCollapseToggle={handleCollapseToggle}
|
|
183
187
|
/>
|
|
184
188
|
</NavigationShell>
|
|
@@ -107,6 +107,19 @@ export interface NavigationMenuProps {
|
|
|
107
107
|
* Callback when collapse state changes
|
|
108
108
|
*/
|
|
109
109
|
onCollapseChange?: (collapsed: boolean) => void;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* The collapse control's text (vertical, `collapsible` only).
|
|
113
|
+
* @default "Collapse" — a host passes `UI_LABELS[locale].navigationMenu.collapse`.
|
|
114
|
+
*/
|
|
115
|
+
collapseLabel?: string;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* The collapse control's accessible name while the menu is collapsed, when it
|
|
119
|
+
* shows only its icon (vertical, `collapsible` only).
|
|
120
|
+
* @default "Expand" — a host passes `UI_LABELS[locale].navigationMenu.expand`.
|
|
121
|
+
*/
|
|
122
|
+
expandLabel?: string;
|
|
110
123
|
|
|
111
124
|
/**
|
|
112
125
|
* Custom logo/brand element
|
|
@@ -225,6 +225,8 @@ const MenuItemContent: React.FC<{
|
|
|
225
225
|
collapsed={collapsed}
|
|
226
226
|
minimal={minimal}
|
|
227
227
|
disabled={item.disabled}
|
|
228
|
+
// Collapsed, the row is its icon alone; the item's own label names it.
|
|
229
|
+
aria-label={collapsed ? item.label : undefined}
|
|
228
230
|
onClick={onClick}
|
|
229
231
|
onMouseEnter={onMouseEnter}
|
|
230
232
|
onMouseLeave={onMouseLeave}
|
|
@@ -13,6 +13,7 @@ import { CollapseToggle, LogoBar, MenuList } from './NavigationMenu.shell';
|
|
|
13
13
|
import { slideIn } from './NavigationMenu.styles';
|
|
14
14
|
import type { NavigationMenuItem } from './NavigationMenu.types';
|
|
15
15
|
import { renderMenuItem } from './NavigationMenuItem';
|
|
16
|
+
import { EN_US_UI_LABELS } from '../../../en-US.labels';
|
|
16
17
|
import { sxRem } from '../../../tokens/relative';
|
|
17
18
|
|
|
18
19
|
const DividerRule: FC = () => (
|
|
@@ -38,15 +39,23 @@ const VerticalLogo: FC<{ logo: ReactNode; collapsed: boolean }> = ({ logo, colla
|
|
|
38
39
|
</LogoBar>
|
|
39
40
|
);
|
|
40
41
|
|
|
41
|
-
const CollapseControl: FC<{
|
|
42
|
+
const CollapseControl: FC<{
|
|
43
|
+
collapsed: boolean;
|
|
44
|
+
label?: string;
|
|
45
|
+
expandLabel?: string;
|
|
46
|
+
onToggle: () => void;
|
|
47
|
+
}> = ({
|
|
42
48
|
collapsed,
|
|
49
|
+
label = EN_US_UI_LABELS.navigationMenu.collapse,
|
|
50
|
+
expandLabel = EN_US_UI_LABELS.navigationMenu.expand ?? 'Expand',
|
|
43
51
|
onToggle,
|
|
44
52
|
}) => (
|
|
45
|
-
|
|
53
|
+
// Collapsed, the control is its icon alone, so the name has to be given.
|
|
54
|
+
<CollapseToggle onClick={onToggle} ariaLabel={collapsed ? expandLabel : undefined}>
|
|
46
55
|
<ListItemIcon sx={{ minWidth: collapsed ? 0 : sxRem(40), justifyContent: 'center' }}>
|
|
47
56
|
<MenuIcon />
|
|
48
57
|
</ListItemIcon>
|
|
49
|
-
{!collapsed && <ListItemText primary=
|
|
58
|
+
{!collapsed && <ListItemText primary={label} />}
|
|
50
59
|
</CollapseToggle>
|
|
51
60
|
);
|
|
52
61
|
|
|
@@ -103,6 +112,10 @@ export interface NavigationStandardBodyProps {
|
|
|
103
112
|
items: NavigationMenuItem[];
|
|
104
113
|
logo?: ReactNode;
|
|
105
114
|
endContent?: ReactNode;
|
|
115
|
+
/** The collapse control's text; English when the host names none. */
|
|
116
|
+
collapseLabel?: string;
|
|
117
|
+
/** Its accessible name while collapsed; English when the host names none. */
|
|
118
|
+
expandLabel?: string;
|
|
106
119
|
onCollapseToggle: () => void;
|
|
107
120
|
}
|
|
108
121
|
|
|
@@ -118,6 +131,8 @@ export const NavigationStandardBody: FC<NavigationStandardBodyProps> = ({
|
|
|
118
131
|
items,
|
|
119
132
|
logo,
|
|
120
133
|
endContent,
|
|
134
|
+
collapseLabel,
|
|
135
|
+
expandLabel,
|
|
121
136
|
onCollapseToggle,
|
|
122
137
|
}) => {
|
|
123
138
|
const isVertical = variant === 'vertical';
|
|
@@ -137,7 +152,12 @@ export const NavigationStandardBody: FC<NavigationStandardBodyProps> = ({
|
|
|
137
152
|
{logo && isVertical && <VerticalLogo logo={logo} collapsed={collapsed} />}
|
|
138
153
|
|
|
139
154
|
{collapsible && isVertical && (
|
|
140
|
-
<CollapseControl
|
|
155
|
+
<CollapseControl
|
|
156
|
+
collapsed={collapsed}
|
|
157
|
+
label={collapseLabel}
|
|
158
|
+
expandLabel={expandLabel}
|
|
159
|
+
onToggle={onCollapseToggle}
|
|
160
|
+
/>
|
|
141
161
|
)}
|
|
142
162
|
|
|
143
163
|
<MenuItems
|
|
@@ -4,21 +4,32 @@ import Box from '@mui/material/Box/index.js';
|
|
|
4
4
|
import IconButton from '@mui/material/IconButton/index.js';
|
|
5
5
|
import Tooltip from '@mui/material/Tooltip/index.js';
|
|
6
6
|
import { alpha, styled } from '@mui/material/styles/index.js';
|
|
7
|
+
import type { Theme } from '@mui/material/styles/index.js';
|
|
8
|
+
import { EN_US_UI_LABELS } from '../../../en-US.labels';
|
|
7
9
|
import React, { useState } from 'react';
|
|
8
10
|
|
|
9
11
|
import type { CodeProps } from './Code.types';
|
|
10
12
|
import { modeInk, neutralTones } from '../../../tokens/ink';
|
|
11
13
|
import { rem, rems } from '../../../tokens/relative';
|
|
12
14
|
|
|
15
|
+
/**
|
|
16
|
+
* The badge's inset, its own height (12px type at the block's 1.5 line height,
|
|
17
|
+
* 2px padding and a 1px border, each twice) and a gap of the same inset again.
|
|
18
|
+
*/
|
|
19
|
+
const languageClearance = (theme: Theme): string =>
|
|
20
|
+
`calc(${theme.spacing(2)} + ${rem(theme, 12 * 1.5 + 4 + 2)})`;
|
|
21
|
+
|
|
13
22
|
const StyledCodeContainer = styled(Box, {
|
|
14
23
|
shouldForwardProp: (prop) =>
|
|
15
|
-
!['customVariant', 'customSize', 'copyable'].includes(prop as string),
|
|
24
|
+
!['customVariant', 'customSize', 'copyable', 'labelled'].includes(prop as string),
|
|
16
25
|
})<{
|
|
17
26
|
customVariant?: string;
|
|
18
27
|
customSize?: string;
|
|
19
28
|
copyable?: boolean;
|
|
29
|
+
/** A language badge sits in the top-left corner. */
|
|
30
|
+
labelled?: boolean;
|
|
20
31
|
component?: React.ElementType;
|
|
21
|
-
}>(({ theme, customVariant = 'inline', customSize = 'md', copyable }) => {
|
|
32
|
+
}>(({ theme, customVariant = 'inline', customSize = 'md', copyable, labelled }) => {
|
|
22
33
|
// Size mapping
|
|
23
34
|
const sizeMap = {
|
|
24
35
|
xs: { fontSize: rem(theme, 12), padding: rems(theme, 2, 4) },
|
|
@@ -87,7 +98,11 @@ const StyledCodeContainer = styled(Box, {
|
|
|
87
98
|
},
|
|
88
99
|
};
|
|
89
100
|
|
|
90
|
-
return
|
|
101
|
+
return {
|
|
102
|
+
...(variantStyles[customVariant as keyof typeof variantStyles] || variantStyles.inline),
|
|
103
|
+
// The first line starts below the language badge rather than under it.
|
|
104
|
+
...(labelled && { paddingTop: languageClearance(theme) }),
|
|
105
|
+
};
|
|
91
106
|
});
|
|
92
107
|
|
|
93
108
|
const StyledCode = styled('code')({
|
|
@@ -188,7 +203,11 @@ const resolveCodeFlags = (
|
|
|
188
203
|
// means the copied/not-copied branches do not count against the main render, and
|
|
189
204
|
// the flash re-renders only the button. Non-string children are still a no-op on
|
|
190
205
|
// click, exactly as before.
|
|
191
|
-
const CodeCopyButton: React.FC<{ source: React.ReactNode
|
|
206
|
+
const CodeCopyButton: React.FC<{ source: React.ReactNode; copyLabel: string; copiedLabel: string }> = ({
|
|
207
|
+
source,
|
|
208
|
+
copyLabel,
|
|
209
|
+
copiedLabel,
|
|
210
|
+
}) => {
|
|
192
211
|
const [copied, setCopied] = useState(false);
|
|
193
212
|
|
|
194
213
|
const handleCopy = async () => {
|
|
@@ -203,7 +222,7 @@ const CodeCopyButton: React.FC<{ source: React.ReactNode }> = ({ source }) => {
|
|
|
203
222
|
};
|
|
204
223
|
|
|
205
224
|
return (
|
|
206
|
-
<Tooltip title={copied ?
|
|
225
|
+
<Tooltip title={copied ? copiedLabel : copyLabel}>
|
|
207
226
|
<CopyButton onClick={handleCopy} size="small" color={copied ? 'success' : 'default'}>
|
|
208
227
|
{copied ? <Check /> : <ContentCopy />}
|
|
209
228
|
</CopyButton>
|
|
@@ -217,6 +236,8 @@ export const Code = React.forwardRef<HTMLElement, CodeProps>(
|
|
|
217
236
|
variant = 'inline',
|
|
218
237
|
language,
|
|
219
238
|
copyable = false,
|
|
239
|
+
copyLabel = EN_US_UI_LABELS.code.copy,
|
|
240
|
+
copiedLabel = EN_US_UI_LABELS.code.copied,
|
|
220
241
|
lineNumbers = false,
|
|
221
242
|
size = 'md',
|
|
222
243
|
children,
|
|
@@ -242,13 +263,14 @@ export const Code = React.forwardRef<HTMLElement, CodeProps>(
|
|
|
242
263
|
customVariant={variant}
|
|
243
264
|
customSize={size}
|
|
244
265
|
copyable={showCopy}
|
|
266
|
+
labelled={showLanguage}
|
|
245
267
|
{...props}
|
|
246
268
|
>
|
|
247
269
|
{showLanguage && <LanguageLabel>{language}</LanguageLabel>}
|
|
248
270
|
|
|
249
271
|
<StyledCode>{processedChildren}</StyledCode>
|
|
250
272
|
|
|
251
|
-
{showCopy && <CodeCopyButton source={children} />}
|
|
273
|
+
{showCopy && <CodeCopyButton source={children} copyLabel={copyLabel} copiedLabel={copiedLabel} />}
|
|
252
274
|
</StyledCodeContainer>
|
|
253
275
|
);
|
|
254
276
|
},
|
|
@@ -7,6 +7,10 @@ export interface CodeProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
7
7
|
variant?: CodeVariant;
|
|
8
8
|
language?: string;
|
|
9
9
|
copyable?: boolean;
|
|
10
|
+
/** The copy button's tooltip and name; defaults to `UI_LABELS['en-US'].code.copy`. */
|
|
11
|
+
copyLabel?: string;
|
|
12
|
+
/** The same button right after a copy; defaults to `UI_LABELS['en-US'].code.copied`. */
|
|
13
|
+
copiedLabel?: string;
|
|
10
14
|
lineNumbers?: boolean;
|
|
11
15
|
size?: SizeValue;
|
|
12
16
|
children: React.ReactNode;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { Theme } from '@mui/material/styles/index.js';
|
|
2
2
|
|
|
3
3
|
import type { WorkflowStepItem, WorkflowStepProps } from './WorkflowStep.types';
|
|
4
|
+
import type { WorkflowStepLabels } from '../../../copy/labels';
|
|
5
|
+
import { EN_US_UI_LABELS } from '../../../en-US.labels';
|
|
6
|
+
import { resolveLabels } from '../../../utils/resolve-labels';
|
|
4
7
|
import { neutralTones } from '../../../tokens/ink';
|
|
5
8
|
import { paletteKey } from '../../../tokens/scales';
|
|
6
9
|
|
|
@@ -158,6 +161,10 @@ export const resolveWorkflowStepProps = (
|
|
|
158
161
|
): ResolvedWorkflowStepProps =>
|
|
159
162
|
({ ...WORKFLOW_DEFAULTS, ...definedProps(props) }) as ResolvedWorkflowStepProps;
|
|
160
163
|
|
|
164
|
+
/** The caller's labels over the English ones, key by key. */
|
|
165
|
+
export const workflowLabels = (labels?: Partial<WorkflowStepLabels>): WorkflowStepLabels =>
|
|
166
|
+
resolveLabels(EN_US_UI_LABELS.workflowStep, labels);
|
|
167
|
+
|
|
161
168
|
/**
|
|
162
169
|
* The progressbar's `aria-valuetext`: `Step N of M: <title>` while `currentStep`
|
|
163
170
|
* names a step, and `Step N of M` when it does not (past the end, below zero, or
|
|
@@ -167,8 +174,9 @@ export const resolveWorkflowStepProps = (
|
|
|
167
174
|
export const progressValueText = (
|
|
168
175
|
steps: readonly WorkflowStepItem[],
|
|
169
176
|
currentStep: number,
|
|
177
|
+
labels?: Partial<WorkflowStepLabels>,
|
|
170
178
|
): string => {
|
|
171
|
-
const position =
|
|
179
|
+
const position = workflowLabels(labels).progress(currentStep + 1, steps.length);
|
|
172
180
|
const step = steps[currentStep];
|
|
173
181
|
return step === undefined ? position : `${position}: ${step.title}`;
|
|
174
182
|
};
|
|
@@ -4,7 +4,7 @@ import { styled } from '@mui/material/styles/index.js';
|
|
|
4
4
|
import React, { forwardRef, useCallback } from 'react';
|
|
5
5
|
|
|
6
6
|
import type { StepColors } from './WorkflowStep.helpers';
|
|
7
|
-
import { indicatorSizeFor, stepColors, stepPalette } from './WorkflowStep.helpers';
|
|
7
|
+
import { indicatorSizeFor, stepColors, stepPalette, workflowLabels } from './WorkflowStep.helpers';
|
|
8
8
|
import type {
|
|
9
9
|
StepConnectorProps,
|
|
10
10
|
StepContentProps,
|
|
@@ -227,6 +227,7 @@ const StepIndicatorComponent = forwardRef<HTMLDivElement, StepIndicatorProps>(({
|
|
|
227
227
|
animated,
|
|
228
228
|
disabled,
|
|
229
229
|
onClick,
|
|
230
|
+
labels,
|
|
230
231
|
'data-testid': dataTestId,
|
|
231
232
|
}, ref) => {
|
|
232
233
|
const isDisabled = Boolean(disabled || step.disabled);
|
|
@@ -278,7 +279,7 @@ const StepIndicatorComponent = forwardRef<HTMLDivElement, StepIndicatorProps>(({
|
|
|
278
279
|
onKeyDown={handleKeyDown}
|
|
279
280
|
role={interactive ? 'button' : undefined}
|
|
280
281
|
tabIndex={!interactive ? undefined : isDisabled ? -1 : 0}
|
|
281
|
-
aria-label={
|
|
282
|
+
aria-label={workflowLabels(labels).step(index + 1, step.title)}
|
|
282
283
|
aria-current={isActive ? 'step' : undefined}
|
|
283
284
|
aria-disabled={interactive && isDisabled ? true : undefined}
|
|
284
285
|
data-testid={dataTestId}
|
|
@@ -46,6 +46,7 @@ export const WorkflowStep = forwardRef<HTMLDivElement, WorkflowStepProps>((rawPr
|
|
|
46
46
|
errorIcon,
|
|
47
47
|
onStepClick,
|
|
48
48
|
disabled,
|
|
49
|
+
labels,
|
|
49
50
|
className,
|
|
50
51
|
style,
|
|
51
52
|
'data-testid': dataTestId,
|
|
@@ -75,7 +76,7 @@ export const WorkflowStep = forwardRef<HTMLDivElement, WorkflowStepProps>((rawPr
|
|
|
75
76
|
aria-valuemin={0}
|
|
76
77
|
aria-valuemax={valueMax}
|
|
77
78
|
aria-valuenow={valueNow}
|
|
78
|
-
aria-valuetext={progressValueText(steps, currentStep)}
|
|
79
|
+
aria-valuetext={progressValueText(steps, currentStep, labels)}
|
|
79
80
|
data-testid={dataTestId}
|
|
80
81
|
{...other}
|
|
81
82
|
>
|
|
@@ -98,6 +99,7 @@ export const WorkflowStep = forwardRef<HTMLDivElement, WorkflowStepProps>((rawPr
|
|
|
98
99
|
animated={animated}
|
|
99
100
|
disabled={disabled}
|
|
100
101
|
onClick={handleStepClick}
|
|
102
|
+
labels={labels}
|
|
101
103
|
dataTestId={dataTestId}
|
|
102
104
|
/>
|
|
103
105
|
))}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { ColorValue, SizeValue } from '../../../tokens/scales';
|
|
2
2
|
import type { ComponentProps } from 'react';
|
|
3
3
|
|
|
4
|
+
import type { WorkflowStepLabels } from '../../../copy/labels';
|
|
5
|
+
|
|
4
6
|
/**
|
|
5
7
|
* Status of an individual workflow step
|
|
6
8
|
*/
|
|
@@ -78,6 +80,12 @@ export interface WorkflowStepProps extends Omit<ComponentProps<'div'>, 'onError'
|
|
|
78
80
|
onStepClick?: (stepIndex: number, step: WorkflowStepItem) => void;
|
|
79
81
|
/** Disable all interactions */
|
|
80
82
|
disabled?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* The indicators' accessible names and the progressbar's value text. Any key
|
|
85
|
+
* left out keeps its English wording; a host passes
|
|
86
|
+
* `UI_LABELS[locale].workflowStep`.
|
|
87
|
+
*/
|
|
88
|
+
labels?: Partial<WorkflowStepLabels>;
|
|
81
89
|
/** Additional CSS class names */
|
|
82
90
|
className?: string;
|
|
83
91
|
/** Inline styles */
|
|
@@ -106,6 +114,8 @@ export interface StepIndicatorProps {
|
|
|
106
114
|
animated: boolean;
|
|
107
115
|
disabled: boolean;
|
|
108
116
|
onClick?: (index: number, step: WorkflowStepItem) => void;
|
|
117
|
+
/** Names the indicator; English when omitted. */
|
|
118
|
+
labels?: Partial<WorkflowStepLabels>;
|
|
109
119
|
'data-testid'?: string;
|
|
110
120
|
}
|
|
111
121
|
|
|
@@ -25,6 +25,7 @@ interface StepRowProps {
|
|
|
25
25
|
animated: boolean;
|
|
26
26
|
disabled: boolean;
|
|
27
27
|
onClick: (index: number, step: WorkflowStepItem) => void;
|
|
28
|
+
labels?: WorkflowStepProps['labels'];
|
|
28
29
|
dataTestId?: string;
|
|
29
30
|
}
|
|
30
31
|
|
|
@@ -46,6 +47,7 @@ export const StepRow: React.FC<StepRowProps> = ({
|
|
|
46
47
|
animated,
|
|
47
48
|
disabled,
|
|
48
49
|
onClick,
|
|
50
|
+
labels,
|
|
49
51
|
dataTestId,
|
|
50
52
|
}) => {
|
|
51
53
|
const isCompleted = step.status === 'completed';
|
|
@@ -69,6 +71,7 @@ export const StepRow: React.FC<StepRowProps> = ({
|
|
|
69
71
|
animated={animated}
|
|
70
72
|
disabled={disabled}
|
|
71
73
|
onClick={onClick}
|
|
74
|
+
labels={labels}
|
|
72
75
|
data-testid={`${dataTestId}-indicator-${index}`}
|
|
73
76
|
/>
|
|
74
77
|
|
package/src/copy/data-display.ts
CHANGED
|
@@ -44,12 +44,31 @@ export interface MapPreviewCopy {
|
|
|
44
44
|
mapType: string;
|
|
45
45
|
fullscreen: string;
|
|
46
46
|
search: string;
|
|
47
|
+
/**
|
|
48
|
+
* Everything below is optional so a host's existing pack keeps compiling; the
|
|
49
|
+
* shipped packs always carry it and the component falls back to the English one.
|
|
50
|
+
*/
|
|
51
|
+
/** The search field's placeholder, unless the `searchPlaceholder` prop wins. */
|
|
52
|
+
searchPlaceholder?: string;
|
|
53
|
+
/** The map's accessible name, read again whenever the view moves. */
|
|
54
|
+
viewDescription?: (lat: string, lng: string, zoom: number) => string;
|
|
55
|
+
/** The map-type button's tooltip, given the type's name from `mapTypeNames`. */
|
|
56
|
+
mapTypeTitle?: (name: string) => string;
|
|
57
|
+
mapTypeNames?: { roadmap: string; satellite: string; hybrid: string; terrain: string };
|
|
58
|
+
/** The marker caption under the map: coordinates, then the zoom level. */
|
|
59
|
+
coordinates?: (lat: string, lng: string) => string;
|
|
60
|
+
zoomLevel?: (zoom: number) => string;
|
|
47
61
|
}
|
|
48
62
|
|
|
49
63
|
/** The carousel's two arrows, which carry a glyph and nothing else. */
|
|
50
64
|
export interface CarouselCopy {
|
|
51
65
|
previous: string;
|
|
52
66
|
next: string;
|
|
67
|
+
/**
|
|
68
|
+
* Each indicator's accessible name, from its 1-based position. Optional so a
|
|
69
|
+
* host's existing pack keeps compiling; the shipped packs always carry it.
|
|
70
|
+
*/
|
|
71
|
+
goToSlide?: (position: number) => string;
|
|
53
72
|
}
|
|
54
73
|
|
|
55
74
|
/** The request-timing diagram's own words: its region, its phases, its totals. */
|