@12-apps/ui 6.44.3 → 6.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NATIVE.md +1 -1
- package/components-catalog.md +13 -4
- package/dist/_internal/components/data-display/AsyncStateContainer/AsyncStateContainer.js +4 -4
- package/dist/_internal/components/data-display/Avatar/Avatar.js +2 -2
- package/dist/_internal/components/data-display/Badge/Badge.js +2 -2
- package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +1 -1
- package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +1 -1
- package/dist/_internal/components/data-display/Carousel/Carousel.js +2 -2
- package/dist/_internal/components/data-display/Chart/Chart.js +4 -4
- package/dist/_internal/components/data-display/Chart/SpecChart.js +6 -6
- package/dist/_internal/components/data-display/Chart/chart-context.js +2 -2
- package/dist/_internal/components/data-display/Chart/chart-renderers.js +3 -3
- package/dist/_internal/components/data-display/DataGrid/DataGrid.js +2 -2
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +37 -37
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +53 -53
- package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +4 -4
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +5 -5
- package/dist/_internal/components/data-display/DataViews/SaveViewModal.js +11 -11
- package/dist/_internal/components/data-display/DataViews/base-card.js +5 -5
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +1 -1
- package/dist/_internal/components/data-display/DataViews/base-list-card-gutters.js +3 -3
- package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +1 -1
- package/dist/_internal/components/data-display/DataViews/base-list-card.js +7 -7
- package/dist/_internal/components/data-display/DataViews/data-views-category-pill.js +8 -8
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +15 -15
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +33 -33
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +14 -14
- package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +12 -12
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +13 -13
- package/dist/_internal/components/data-display/DataViews/data-views-pagination.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-range-pill.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +16 -16
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +5 -5
- package/dist/_internal/components/data-display/DataViews/list-card-rails.js +1 -1
- package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +3 -3
- package/dist/_internal/components/data-display/FleetMap/FleetBody.js +10 -10
- package/dist/_internal/components/data-display/FleetMap/FleetCanvas.js +6 -6
- package/dist/_internal/components/data-display/FleetMap/FleetMap.js +11 -11
- package/dist/_internal/components/data-display/FleetMap/FleetRoster.js +3 -3
- package/dist/_internal/components/data-display/HoverCard/HoverCard.js +3 -3
- package/dist/_internal/components/data-display/LazyImage/LazyImage.js +3 -3
- package/dist/_internal/components/data-display/Lightbox/Lightbox.js +3 -3
- package/dist/_internal/components/data-display/LoadingState/LoadingState.js +3 -3
- package/dist/_internal/components/data-display/MapPreview/MapLayers.js +2 -2
- package/dist/_internal/components/data-display/MapPreview/MapPreview.js +5 -5
- package/dist/_internal/components/data-display/StatCard/StatCard.js +3 -3
- package/dist/_internal/components/data-display/index.js +35 -35
- package/dist/_internal/components/feedback/Dialog/Dialog.js +3 -3
- package/dist/_internal/components/feedback/StackedModal/StackedModal.js +6 -6
- package/dist/_internal/components/feedback/TutorialOverlay/TutorialOverlay.js +2 -2
- package/dist/_internal/components/feedback/index.js +14 -14
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.hooks.js +3 -3
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.js +5 -5
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocompleteField.js +2 -2
- package/dist/_internal/components/form/Calendar/Calendar.js +4 -4
- 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 +2 -2
- package/dist/_internal/components/form/CategorySelect/CategorySelect.js +5 -5
- package/dist/_internal/components/form/CepField/CepField.js +3 -3
- package/dist/_internal/components/form/Checkbox/Checkbox.js +2 -2
- package/dist/_internal/components/form/CodeEditor/CodeEditor.js +2 -2
- package/dist/_internal/components/form/Command/Command.js +2 -2
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.js +7 -7
- package/dist/_internal/components/form/Input/Input.js +2 -2
- package/dist/_internal/components/form/Menubar/Menubar.js +2 -2
- package/dist/_internal/components/form/NumberField/NumberField.js +3 -3
- package/dist/_internal/components/form/RichTextEditor/RichTextEditor.js +2 -2
- package/dist/_internal/components/form/Switch/Switch.js +5 -5
- 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/UploadButton/UploadButton.js +2 -2
- package/dist/_internal/components/form/index.js +35 -35
- package/dist/_internal/components/form/total-form/Fields/CategoryField.js +6 -6
- package/dist/_internal/components/form/total-form/Fields/CepField.js +4 -4
- package/dist/_internal/components/form/total-form/Fields/TextField.js +3 -3
- package/dist/_internal/components/form/total-form/Fields/index.js +12 -12
- package/dist/_internal/components/index.js +130 -112
- package/dist/_internal/components/layout/Card/Card.js +2 -2
- package/dist/_internal/components/layout/SettingCard/SettingGroup.js +7 -7
- package/dist/_internal/components/layout/SettingCard/SettingSwitch.js +6 -6
- package/dist/_internal/components/layout/SettingCard/SettingToggle.js +7 -7
- package/dist/_internal/components/layout/SettingsLayout/SettingsLayout.js +4 -4
- 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/Skeleton/Skeleton.js +2 -2
- package/dist/_internal/components/layout/index.js +19 -19
- package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +4 -4
- package/dist/_internal/components/navigation/CommandPalette/CommandPalette.js +2 -2
- package/dist/_internal/components/navigation/Pagination/Pagination.js +2 -2
- package/dist/_internal/components/navigation/SectionNav/SectionNav.bar.js +45 -0
- package/dist/_internal/components/navigation/SectionNav/SectionNav.helpers.js +14 -0
- package/dist/_internal/components/navigation/SectionNav/SectionNav.helpers.js.map +1 -0
- package/dist/_internal/components/navigation/SectionNav/SectionNav.js +45 -0
- package/dist/_internal/components/navigation/SectionNav/SectionNav.js.map +1 -0
- package/dist/_internal/components/navigation/SectionNav/SectionNav.parts.js +46 -0
- package/dist/_internal/components/navigation/SectionNav/SectionNav.parts.js.map +1 -0
- package/dist/_internal/components/navigation/SectionNav/SectionNav.primary.js +39 -0
- package/dist/_internal/components/navigation/SectionNav/SectionNav.primary.js.map +1 -0
- package/dist/_internal/components/navigation/SectionNav/SectionNav.rail.js +39 -0
- package/dist/_internal/components/navigation/SectionNav/SectionNav.rail.js.map +1 -0
- package/dist/_internal/components/navigation/SectionNav/SectionNav.sheet.js +41 -0
- package/dist/_internal/components/navigation/SectionNav/SectionNav.sheet.js.map +1 -0
- package/dist/_internal/components/navigation/SectionNav/SectionNav.types.js +1 -0
- package/dist/_internal/components/navigation/SectionNav/SectionNav.types.js.map +1 -0
- package/dist/_internal/components/navigation/SectionNav/__stories__/fixtures.js +127 -0
- package/dist/_internal/components/navigation/SectionNav/__stories__/fixtures.js.map +1 -0
- package/dist/_internal/components/navigation/index.js +39 -12
- package/dist/_internal/components/utility/InfiniteScroll/InfiniteScroll.js +2 -2
- package/dist/_internal/components/utility/InstallPrompt/InstallPrompt.js +2 -2
- package/dist/_internal/components/utility/index.js +8 -8
- package/dist/_internal/en-US.navigation.js +5 -3
- package/dist/_internal/pt-BR.navigation.js +5 -3
- package/dist/_internal/social-login-button/social-login-button.js +3 -3
- package/dist/_internal/user-avatar/user-avatar.js +5 -5
- package/dist/charts.js +6 -6
- package/dist/{chunk-J6TIK47Z.js → chunk-2HPNN5XA.js} +2 -2
- package/dist/{chunk-BEGTLELZ.js → chunk-2K2B5QM2.js} +5 -5
- package/dist/chunk-2OP2FYB3.js +174 -0
- package/dist/chunk-2OP2FYB3.js.map +1 -0
- package/dist/chunk-3WCUGTRH.js +240 -0
- package/dist/chunk-3WCUGTRH.js.map +1 -0
- package/dist/{chunk-3I77A65F.js → chunk-442FSG7G.js} +4 -4
- package/dist/{chunk-ZOUWHGV3.js → chunk-4MGFUPQT.js} +4 -4
- package/dist/{chunk-26QYVCDK.js → chunk-525AOF6I.js} +2 -2
- package/dist/chunk-5AK2EZG5.js +1 -0
- package/dist/chunk-5AK2EZG5.js.map +1 -0
- package/dist/{chunk-5752357K.js → chunk-5KGABAQB.js} +4 -4
- package/dist/{chunk-SDKOOVEX.js → chunk-6GAZAJXB.js} +4 -4
- package/dist/{chunk-EO6LCGGQ.js → chunk-6J32H2RN.js} +2 -2
- package/dist/chunk-6OLJ2RAT.js +62 -0
- package/dist/chunk-6OLJ2RAT.js.map +1 -0
- package/dist/{chunk-7XDET7PL.js → chunk-6OQHZVK6.js} +4 -4
- package/dist/{chunk-F3AYISXT.js → chunk-6PU3JYVY.js} +4 -4
- package/dist/{chunk-RRAWJQIO.js → chunk-A64MQ7GW.js} +2 -2
- package/dist/{chunk-ADSA76T7.js → chunk-AG3DY5TH.js} +2 -2
- package/dist/{chunk-CIBTYBBN.js → chunk-AJ4MRDKM.js} +3 -3
- package/dist/{chunk-RJ35IXFD.js → chunk-B7HYM3QB.js} +2 -2
- package/dist/{chunk-X3C3VTYS.js → chunk-BEX3FLHB.js} +2 -2
- package/dist/{chunk-C5RTSOXD.js → chunk-BUAFRLSB.js} +2 -2
- package/dist/{chunk-DH6SL3SY.js → chunk-DSDNGTH6.js} +6 -6
- package/dist/{chunk-AUQRGZE7.js → chunk-EDZYPHZT.js} +7 -2
- package/dist/chunk-EDZYPHZT.js.map +1 -0
- package/dist/{chunk-JZ7ZRZTF.js → chunk-EJMSSDLM.js} +2 -2
- package/dist/{chunk-62OGPVCL.js → chunk-EPZ7B35I.js} +7 -2
- package/dist/chunk-EPZ7B35I.js.map +1 -0
- package/dist/{chunk-GP4BJI3F.js → chunk-ETCS6OBJ.js} +4 -4
- package/dist/{chunk-MVR4GURP.js → chunk-EU76OQGR.js} +2 -2
- package/dist/{chunk-DHW5UMUG.js → chunk-FNLD2KCQ.js} +4 -4
- package/dist/{chunk-XRUW7DMH.js → chunk-FPKVHR5L.js} +2 -2
- package/dist/{chunk-HKBJZX3C.js → chunk-FQ637IDM.js} +7 -7
- package/dist/{chunk-DDL6W7JS.js → chunk-FRD7U6QO.js} +5 -5
- package/dist/{chunk-YCHOWWRE.js → chunk-G6T7KRQ3.js} +2 -2
- package/dist/{chunk-EKBUM7HK.js → chunk-GYZUJ7HH.js} +4 -4
- package/dist/{chunk-ZQ7IESR7.js → chunk-H7HEB4UC.js} +5 -5
- package/dist/{chunk-JYLBVHG2.js → chunk-HAPELHNW.js} +7 -7
- package/dist/{chunk-HNFZLXZI.js → chunk-HBP2OU4Q.js} +5 -5
- package/dist/{chunk-K7FSTB2K.js → chunk-HSNOWYEE.js} +2 -2
- package/dist/chunk-HYEOKBFV.js +73 -0
- package/dist/chunk-HYEOKBFV.js.map +1 -0
- package/dist/{chunk-GI63FQEJ.js → chunk-HYNDC3FP.js} +4 -4
- package/dist/{chunk-ZBVU2YWV.js → chunk-IITZA6U2.js} +9 -9
- package/dist/{chunk-BZFRBG2H.js → chunk-IIXMTC65.js} +4 -4
- package/dist/{chunk-JFLFZLOA.js → chunk-IJAUHR3M.js} +4 -4
- package/dist/{chunk-K5CCQBNN.js → chunk-ILKNYENU.js} +4 -4
- package/dist/{chunk-DJIFXJ4C.js → chunk-IPI3OU2P.js} +4 -4
- package/dist/{chunk-6JGATEOF.js → chunk-IWYTOCCV.js} +3 -3
- package/dist/{chunk-5ZOJLYD2.js → chunk-JE6RZ5L6.js} +4 -4
- package/dist/{chunk-DE6A46AE.js → chunk-JFL5WT3S.js} +5 -5
- package/dist/{chunk-CYPBF3BI.js → chunk-JO4UMHWR.js} +3 -3
- package/dist/{chunk-LRFXCZB4.js → chunk-JWNOM5QT.js} +4 -4
- package/dist/{chunk-NU55QUMO.js → chunk-K45ML7M7.js} +2 -2
- package/dist/{chunk-OAVRXSAS.js → chunk-K7PWC44N.js} +2 -2
- package/dist/{chunk-ZGCPDA3F.js → chunk-KQS4ZJGS.js} +5 -5
- package/dist/{chunk-PAICZOL5.js → chunk-KTX7XME6.js} +4 -4
- package/dist/{chunk-KPZ53JY6.js → chunk-L3APNYI5.js} +3 -3
- package/dist/{chunk-GKNMKPR6.js → chunk-L6Q2A32O.js} +5 -5
- package/dist/{chunk-IG26N6J2.js → chunk-MD3ND6DT.js} +3 -3
- package/dist/{chunk-DTLKF4AX.js → chunk-MQ277OLB.js} +9 -9
- package/dist/{chunk-BA6Z52QN.js → chunk-NF4GHTZ4.js} +2 -2
- package/dist/{chunk-MSAAOQAD.js → chunk-NFA7STJA.js} +4 -4
- package/dist/{chunk-7HZTYK7U.js → chunk-NLYNRE7L.js} +4 -4
- package/dist/{chunk-HOIHO2YQ.js → chunk-NRI2TZDS.js} +2 -2
- package/dist/{chunk-VQUPB7F7.js → chunk-O25RFGPX.js} +4 -4
- package/dist/{chunk-Z3HSRNJT.js → chunk-OARM5RX4.js} +5 -5
- package/dist/{chunk-JDEKR77O.js → chunk-OERKNBKK.js} +2 -2
- package/dist/{chunk-WN5PNP6F.js → chunk-OP5JR5Q5.js} +4 -4
- package/dist/{chunk-XP522FFM.js → chunk-PARTZ7XI.js} +2 -2
- package/dist/{chunk-BHE44AQE.js → chunk-PCHUIDMT.js} +2 -2
- package/dist/{chunk-NYFGFELX.js → chunk-PGPPN63I.js} +6 -6
- package/dist/{chunk-Y2CMWGIU.js → chunk-PKXCQKPB.js} +2 -2
- package/dist/{chunk-6B3QXFF5.js → chunk-PNWGQAXQ.js} +2 -2
- package/dist/{chunk-IO2X6DVH.js → chunk-PSX7DAMV.js} +4 -4
- package/dist/{chunk-OL2BEJZR.js → chunk-Q2LQVYXY.js} +2 -2
- package/dist/{chunk-CMV6BRQ3.js → chunk-Q534UJ34.js} +4 -4
- package/dist/chunk-R26KYJHK.js +1 -0
- package/dist/chunk-R26KYJHK.js.map +1 -0
- package/dist/chunk-R73CRAAI.js +1 -0
- package/dist/chunk-R73CRAAI.js.map +1 -0
- package/dist/{chunk-VKFZQSQC.js → chunk-RPFQQP5S.js} +6 -6
- package/dist/chunk-SENCNTMV.js +55 -0
- package/dist/chunk-SENCNTMV.js.map +1 -0
- package/dist/{chunk-X4VWYWFK.js → chunk-SJY4DDG7.js} +4 -4
- package/dist/{chunk-DYCTIOER.js → chunk-SRZY6QG3.js} +5 -5
- package/dist/chunk-TCFBCTZD.js +168 -0
- package/dist/chunk-TCFBCTZD.js.map +1 -0
- package/dist/{chunk-44USLRMT.js → chunk-TPPFWETI.js} +6 -6
- package/dist/{chunk-XXL4PM4M.js → chunk-TWVRPT7J.js} +2 -2
- package/dist/{chunk-SM4MT4YC.js → chunk-U2UT2NDH.js} +3 -3
- package/dist/{chunk-5MW7OYBM.js → chunk-UJOFRJLX.js} +2 -2
- package/dist/{chunk-O6IF4BZT.js → chunk-UUJ7J7NE.js} +3 -3
- package/dist/{chunk-5JCGBCFJ.js → chunk-V2GHNHP6.js} +2 -2
- package/dist/{chunk-WQ3KTELX.js → chunk-V4R6Q5ED.js} +8 -8
- package/dist/{chunk-B3QWQG62.js → chunk-V54LG3QG.js} +2 -2
- package/dist/{chunk-6B4UTB4O.js → chunk-VDSQ5H4Y.js} +3 -3
- package/dist/chunk-VHVI3D4R.js +26 -0
- package/dist/chunk-VHVI3D4R.js.map +1 -0
- package/dist/{chunk-AEKHSORY.js → chunk-VOBVYVPN.js} +5 -5
- package/dist/{chunk-B2WBDMHE.js → chunk-VPH47OIV.js} +4 -4
- package/dist/{chunk-JSOJKHEI.js → chunk-WHYVVKRS.js} +2 -2
- package/dist/{chunk-KUKY5GEX.js → chunk-WU2KXA6I.js} +2 -2
- package/dist/{chunk-VNOXUWK7.js → chunk-X5F4FRH7.js} +4 -4
- package/dist/{chunk-EOEYOPOS.js → chunk-YKALXHCS.js} +11 -11
- package/dist/{chunk-BKBELIUR.js → chunk-YWQ7QCWR.js} +6 -6
- package/dist/data-display/AsyncStateContainer.js +4 -4
- package/dist/data-display/Avatar.js +2 -2
- package/dist/data-display/Badge.js +3 -2
- package/dist/data-display/CardKit.js +11 -11
- package/dist/data-display/Carousel.js +2 -2
- package/dist/data-display/Chart.js +6 -6
- package/dist/data-display/DataGrid.js +2 -2
- package/dist/data-display/DataViews.js +65 -65
- package/dist/data-display/FleetMap.js +11 -11
- package/dist/data-display/HoverCard.js +3 -3
- package/dist/data-display/LazyImage.js +3 -3
- package/dist/data-display/Lightbox.js +3 -3
- package/dist/data-display/LoadingState.js +3 -3
- package/dist/data-display/MapPreview.js +5 -5
- package/dist/data-display/StatCard.js +3 -3
- package/dist/en-US.js +8 -6
- package/dist/feedback/ConfirmAction.js +3 -3
- package/dist/feedback/Dialog.js +3 -3
- package/dist/feedback/StackedModal.js +6 -6
- package/dist/feedback/TutorialOverlay.js +2 -2
- package/dist/form/AddressAutocomplete.js +5 -5
- package/dist/form/Calendar.js +4 -4
- package/dist/form/CategorySelect.js +5 -5
- package/dist/form/CepField.js +3 -3
- package/dist/form/Checkbox.js +2 -2
- package/dist/form/CodeEditor.js +2 -2
- package/dist/form/Command.js +2 -2
- package/dist/form/DateRangePicker.js +9 -9
- package/dist/form/Input.js +2 -2
- package/dist/form/Menubar.js +2 -2
- package/dist/form/NumberField.js +3 -3
- package/dist/form/RichTextEditor.js +2 -2
- package/dist/form/Switch.js +5 -5
- package/dist/form/UploadButton.js +2 -2
- package/dist/form/total-form.js +18 -18
- package/dist/layout/Card.js +2 -2
- package/dist/layout/ContentToolbar.js +4 -4
- package/dist/layout/SettingCard.js +11 -11
- package/dist/layout/SettingsLayout.js +4 -4
- package/dist/layout/Skeleton.js +2 -2
- package/dist/locales.js +15 -8
- package/dist/locales.js.map +1 -1
- package/dist/navigation/AppHeader.js +6 -6
- package/dist/navigation/CommandPalette.js +2 -2
- package/dist/navigation/Pagination.js +2 -2
- package/dist/navigation/SectionNav.js +52 -0
- package/dist/navigation/SectionNav.js.map +1 -0
- package/dist/pt-BR.js +4 -2
- package/dist/social-login-button.js +3 -3
- package/dist/types/components/navigation/SectionNav/SectionNav.bar.d.ts +14 -0
- package/dist/types/components/navigation/SectionNav/SectionNav.bar.d.ts.map +1 -0
- package/dist/types/components/navigation/SectionNav/SectionNav.d.ts +16 -0
- package/dist/types/components/navigation/SectionNav/SectionNav.d.ts.map +1 -0
- package/dist/types/components/navigation/SectionNav/SectionNav.helpers.d.ts +32 -0
- package/dist/types/components/navigation/SectionNav/SectionNav.helpers.d.ts.map +1 -0
- package/dist/types/components/navigation/SectionNav/SectionNav.parts.d.ts +42 -0
- package/dist/types/components/navigation/SectionNav/SectionNav.parts.d.ts.map +1 -0
- package/dist/types/components/navigation/SectionNav/SectionNav.primary.d.ts +29 -0
- package/dist/types/components/navigation/SectionNav/SectionNav.primary.d.ts.map +1 -0
- package/dist/types/components/navigation/SectionNav/SectionNav.rail.d.ts +13 -0
- package/dist/types/components/navigation/SectionNav/SectionNav.rail.d.ts.map +1 -0
- package/dist/types/components/navigation/SectionNav/SectionNav.sheet.d.ts +20 -0
- package/dist/types/components/navigation/SectionNav/SectionNav.sheet.d.ts.map +1 -0
- package/dist/types/components/navigation/SectionNav/SectionNav.types.d.ts +102 -0
- package/dist/types/components/navigation/SectionNav/SectionNav.types.d.ts.map +1 -0
- package/dist/types/components/navigation/SectionNav/__stories__/fixtures.d.ts +20 -0
- package/dist/types/components/navigation/SectionNav/__stories__/fixtures.d.ts.map +1 -0
- package/dist/types/components/navigation/SectionNav/index.d.ts +7 -0
- package/dist/types/components/navigation/SectionNav/index.d.ts.map +1 -0
- package/dist/types/components/navigation/index.d.ts +1 -0
- package/dist/types/components/navigation/index.d.ts.map +1 -1
- package/dist/types/copy/navigation.d.ts +10 -0
- package/dist/types/copy/navigation.d.ts.map +1 -1
- package/dist/types/en-US.navigation.d.ts +2 -1
- package/dist/types/en-US.navigation.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.navigation.d.ts +2 -1
- package/dist/types/pt-BR.navigation.d.ts.map +1 -1
- package/dist/user-avatar.js +5 -5
- package/dist/utility/InfiniteScroll.js +2 -2
- package/dist/utility/InstallPrompt.js +2 -2
- package/package.json +5 -1
- package/src/components/navigation/SectionNav/SectionNav.bar.tsx +258 -0
- package/src/components/navigation/SectionNav/SectionNav.helpers.ts +51 -0
- package/src/components/navigation/SectionNav/SectionNav.md +91 -0
- package/src/components/navigation/SectionNav/SectionNav.parts.tsx +88 -0
- package/src/components/navigation/SectionNav/SectionNav.primary.tsx +81 -0
- package/src/components/navigation/SectionNav/SectionNav.rail.tsx +208 -0
- package/src/components/navigation/SectionNav/SectionNav.sheet.tsx +206 -0
- package/src/components/navigation/SectionNav/SectionNav.tsx +56 -0
- package/src/components/navigation/SectionNav/SectionNav.types.ts +108 -0
- package/src/components/navigation/SectionNav/__stories__/fixtures.tsx +111 -0
- package/src/components/navigation/SectionNav/index.ts +13 -0
- package/src/components/navigation/index.ts +1 -0
- package/src/copy/navigation.ts +11 -0
- package/src/en-US.navigation.ts +6 -0
- package/src/locales.ts +5 -0
- package/src/pt-BR.navigation.ts +6 -0
- package/dist/chunk-62OGPVCL.js.map +0 -1
- package/dist/chunk-AUQRGZE7.js.map +0 -1
- package/dist/chunk-OJSVHBQO.js +0 -1
- /package/dist/{chunk-OJSVHBQO.js.map → _internal/components/navigation/SectionNav/SectionNav.bar.js.map} +0 -0
- /package/dist/{chunk-J6TIK47Z.js.map → chunk-2HPNN5XA.js.map} +0 -0
- /package/dist/{chunk-BEGTLELZ.js.map → chunk-2K2B5QM2.js.map} +0 -0
- /package/dist/{chunk-3I77A65F.js.map → chunk-442FSG7G.js.map} +0 -0
- /package/dist/{chunk-ZOUWHGV3.js.map → chunk-4MGFUPQT.js.map} +0 -0
- /package/dist/{chunk-26QYVCDK.js.map → chunk-525AOF6I.js.map} +0 -0
- /package/dist/{chunk-5752357K.js.map → chunk-5KGABAQB.js.map} +0 -0
- /package/dist/{chunk-SDKOOVEX.js.map → chunk-6GAZAJXB.js.map} +0 -0
- /package/dist/{chunk-EO6LCGGQ.js.map → chunk-6J32H2RN.js.map} +0 -0
- /package/dist/{chunk-7XDET7PL.js.map → chunk-6OQHZVK6.js.map} +0 -0
- /package/dist/{chunk-F3AYISXT.js.map → chunk-6PU3JYVY.js.map} +0 -0
- /package/dist/{chunk-RRAWJQIO.js.map → chunk-A64MQ7GW.js.map} +0 -0
- /package/dist/{chunk-ADSA76T7.js.map → chunk-AG3DY5TH.js.map} +0 -0
- /package/dist/{chunk-CIBTYBBN.js.map → chunk-AJ4MRDKM.js.map} +0 -0
- /package/dist/{chunk-RJ35IXFD.js.map → chunk-B7HYM3QB.js.map} +0 -0
- /package/dist/{chunk-X3C3VTYS.js.map → chunk-BEX3FLHB.js.map} +0 -0
- /package/dist/{chunk-C5RTSOXD.js.map → chunk-BUAFRLSB.js.map} +0 -0
- /package/dist/{chunk-DH6SL3SY.js.map → chunk-DSDNGTH6.js.map} +0 -0
- /package/dist/{chunk-JZ7ZRZTF.js.map → chunk-EJMSSDLM.js.map} +0 -0
- /package/dist/{chunk-GP4BJI3F.js.map → chunk-ETCS6OBJ.js.map} +0 -0
- /package/dist/{chunk-MVR4GURP.js.map → chunk-EU76OQGR.js.map} +0 -0
- /package/dist/{chunk-DHW5UMUG.js.map → chunk-FNLD2KCQ.js.map} +0 -0
- /package/dist/{chunk-XRUW7DMH.js.map → chunk-FPKVHR5L.js.map} +0 -0
- /package/dist/{chunk-HKBJZX3C.js.map → chunk-FQ637IDM.js.map} +0 -0
- /package/dist/{chunk-DDL6W7JS.js.map → chunk-FRD7U6QO.js.map} +0 -0
- /package/dist/{chunk-YCHOWWRE.js.map → chunk-G6T7KRQ3.js.map} +0 -0
- /package/dist/{chunk-EKBUM7HK.js.map → chunk-GYZUJ7HH.js.map} +0 -0
- /package/dist/{chunk-ZQ7IESR7.js.map → chunk-H7HEB4UC.js.map} +0 -0
- /package/dist/{chunk-JYLBVHG2.js.map → chunk-HAPELHNW.js.map} +0 -0
- /package/dist/{chunk-HNFZLXZI.js.map → chunk-HBP2OU4Q.js.map} +0 -0
- /package/dist/{chunk-K7FSTB2K.js.map → chunk-HSNOWYEE.js.map} +0 -0
- /package/dist/{chunk-GI63FQEJ.js.map → chunk-HYNDC3FP.js.map} +0 -0
- /package/dist/{chunk-ZBVU2YWV.js.map → chunk-IITZA6U2.js.map} +0 -0
- /package/dist/{chunk-BZFRBG2H.js.map → chunk-IIXMTC65.js.map} +0 -0
- /package/dist/{chunk-JFLFZLOA.js.map → chunk-IJAUHR3M.js.map} +0 -0
- /package/dist/{chunk-K5CCQBNN.js.map → chunk-ILKNYENU.js.map} +0 -0
- /package/dist/{chunk-DJIFXJ4C.js.map → chunk-IPI3OU2P.js.map} +0 -0
- /package/dist/{chunk-6JGATEOF.js.map → chunk-IWYTOCCV.js.map} +0 -0
- /package/dist/{chunk-5ZOJLYD2.js.map → chunk-JE6RZ5L6.js.map} +0 -0
- /package/dist/{chunk-DE6A46AE.js.map → chunk-JFL5WT3S.js.map} +0 -0
- /package/dist/{chunk-CYPBF3BI.js.map → chunk-JO4UMHWR.js.map} +0 -0
- /package/dist/{chunk-LRFXCZB4.js.map → chunk-JWNOM5QT.js.map} +0 -0
- /package/dist/{chunk-NU55QUMO.js.map → chunk-K45ML7M7.js.map} +0 -0
- /package/dist/{chunk-OAVRXSAS.js.map → chunk-K7PWC44N.js.map} +0 -0
- /package/dist/{chunk-ZGCPDA3F.js.map → chunk-KQS4ZJGS.js.map} +0 -0
- /package/dist/{chunk-PAICZOL5.js.map → chunk-KTX7XME6.js.map} +0 -0
- /package/dist/{chunk-KPZ53JY6.js.map → chunk-L3APNYI5.js.map} +0 -0
- /package/dist/{chunk-GKNMKPR6.js.map → chunk-L6Q2A32O.js.map} +0 -0
- /package/dist/{chunk-IG26N6J2.js.map → chunk-MD3ND6DT.js.map} +0 -0
- /package/dist/{chunk-DTLKF4AX.js.map → chunk-MQ277OLB.js.map} +0 -0
- /package/dist/{chunk-BA6Z52QN.js.map → chunk-NF4GHTZ4.js.map} +0 -0
- /package/dist/{chunk-MSAAOQAD.js.map → chunk-NFA7STJA.js.map} +0 -0
- /package/dist/{chunk-7HZTYK7U.js.map → chunk-NLYNRE7L.js.map} +0 -0
- /package/dist/{chunk-HOIHO2YQ.js.map → chunk-NRI2TZDS.js.map} +0 -0
- /package/dist/{chunk-VQUPB7F7.js.map → chunk-O25RFGPX.js.map} +0 -0
- /package/dist/{chunk-Z3HSRNJT.js.map → chunk-OARM5RX4.js.map} +0 -0
- /package/dist/{chunk-JDEKR77O.js.map → chunk-OERKNBKK.js.map} +0 -0
- /package/dist/{chunk-WN5PNP6F.js.map → chunk-OP5JR5Q5.js.map} +0 -0
- /package/dist/{chunk-XP522FFM.js.map → chunk-PARTZ7XI.js.map} +0 -0
- /package/dist/{chunk-BHE44AQE.js.map → chunk-PCHUIDMT.js.map} +0 -0
- /package/dist/{chunk-NYFGFELX.js.map → chunk-PGPPN63I.js.map} +0 -0
- /package/dist/{chunk-Y2CMWGIU.js.map → chunk-PKXCQKPB.js.map} +0 -0
- /package/dist/{chunk-6B3QXFF5.js.map → chunk-PNWGQAXQ.js.map} +0 -0
- /package/dist/{chunk-IO2X6DVH.js.map → chunk-PSX7DAMV.js.map} +0 -0
- /package/dist/{chunk-OL2BEJZR.js.map → chunk-Q2LQVYXY.js.map} +0 -0
- /package/dist/{chunk-CMV6BRQ3.js.map → chunk-Q534UJ34.js.map} +0 -0
- /package/dist/{chunk-VKFZQSQC.js.map → chunk-RPFQQP5S.js.map} +0 -0
- /package/dist/{chunk-X4VWYWFK.js.map → chunk-SJY4DDG7.js.map} +0 -0
- /package/dist/{chunk-DYCTIOER.js.map → chunk-SRZY6QG3.js.map} +0 -0
- /package/dist/{chunk-44USLRMT.js.map → chunk-TPPFWETI.js.map} +0 -0
- /package/dist/{chunk-XXL4PM4M.js.map → chunk-TWVRPT7J.js.map} +0 -0
- /package/dist/{chunk-SM4MT4YC.js.map → chunk-U2UT2NDH.js.map} +0 -0
- /package/dist/{chunk-5MW7OYBM.js.map → chunk-UJOFRJLX.js.map} +0 -0
- /package/dist/{chunk-O6IF4BZT.js.map → chunk-UUJ7J7NE.js.map} +0 -0
- /package/dist/{chunk-5JCGBCFJ.js.map → chunk-V2GHNHP6.js.map} +0 -0
- /package/dist/{chunk-WQ3KTELX.js.map → chunk-V4R6Q5ED.js.map} +0 -0
- /package/dist/{chunk-B3QWQG62.js.map → chunk-V54LG3QG.js.map} +0 -0
- /package/dist/{chunk-6B4UTB4O.js.map → chunk-VDSQ5H4Y.js.map} +0 -0
- /package/dist/{chunk-AEKHSORY.js.map → chunk-VOBVYVPN.js.map} +0 -0
- /package/dist/{chunk-B2WBDMHE.js.map → chunk-VPH47OIV.js.map} +0 -0
- /package/dist/{chunk-JSOJKHEI.js.map → chunk-WHYVVKRS.js.map} +0 -0
- /package/dist/{chunk-KUKY5GEX.js.map → chunk-WU2KXA6I.js.map} +0 -0
- /package/dist/{chunk-VNOXUWK7.js.map → chunk-X5F4FRH7.js.map} +0 -0
- /package/dist/{chunk-EOEYOPOS.js.map → chunk-YKALXHCS.js.map} +0 -0
- /package/dist/{chunk-BKBELIUR.js.map → chunk-YWQ7QCWR.js.map} +0 -0
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import "../../../../../chunk-FHWXRHMA.js";
|
|
2
|
+
import "../../../../../chunk-7ZPUN7TV.js";
|
|
3
|
+
import "../../../../../chunk-2GG5W6LR.js";
|
|
4
|
+
import "../../../../../chunk-532XOWZ5.js";
|
|
5
|
+
import "../../../../../chunk-PT6TCWIW.js";
|
|
6
|
+
import "../../../../../chunk-M47ZOUGF.js";
|
|
7
|
+
import "../../../../../chunk-7FDU3FIN.js";
|
|
8
|
+
import "../../../../../chunk-EPEJMTCQ.js";
|
|
9
|
+
import "../../../../../chunk-GDN2LUTZ.js";
|
|
10
|
+
import "../../../../../chunk-6WZUZHJM.js";
|
|
11
|
+
import "../../../../../chunk-2BYKTBDL.js";
|
|
12
|
+
import "../../../../../chunk-AG66JBNH.js";
|
|
13
|
+
import "../../../../../chunk-FZXKH2ZT.js";
|
|
14
|
+
import "../../../../../chunk-VBP46YP4.js";
|
|
15
|
+
import "../../../../../chunk-O6MJWHU5.js";
|
|
16
|
+
import "../../../../../chunk-26X4CZVR.js";
|
|
17
|
+
import "../../../../../chunk-FQ6UW7IY.js";
|
|
18
|
+
import "../../../../../chunk-6JAIFIPW.js";
|
|
19
|
+
import "../../../../../chunk-N3GAFIXG.js";
|
|
20
|
+
import {
|
|
21
|
+
sxRem
|
|
22
|
+
} from "../../../../../chunk-YKCAJ2TN.js";
|
|
23
|
+
import "../../../../../chunk-PZ5AY32C.js";
|
|
24
|
+
|
|
25
|
+
// src/components/navigation/SectionNav/__stories__/fixtures.tsx
|
|
26
|
+
import AddIcon from "@mui/icons-material/Add";
|
|
27
|
+
import AppsIcon from "@mui/icons-material/Apps";
|
|
28
|
+
import CalendarMonthOutlinedIcon from "@mui/icons-material/CalendarMonthOutlined";
|
|
29
|
+
import DashboardOutlinedIcon from "@mui/icons-material/DashboardOutlined";
|
|
30
|
+
import DeliveryDiningOutlinedIcon from "@mui/icons-material/DeliveryDiningOutlined";
|
|
31
|
+
import GridViewOutlinedIcon from "@mui/icons-material/GridViewOutlined";
|
|
32
|
+
import GroupsOutlinedIcon from "@mui/icons-material/GroupsOutlined";
|
|
33
|
+
import PauseCircleOutlineIcon from "@mui/icons-material/PauseCircleOutline";
|
|
34
|
+
import ReceiptLongOutlinedIcon from "@mui/icons-material/ReceiptLongOutlined";
|
|
35
|
+
import RoomServiceOutlinedIcon from "@mui/icons-material/RoomServiceOutlined";
|
|
36
|
+
import ShoppingBagOutlinedIcon from "@mui/icons-material/ShoppingBagOutlined";
|
|
37
|
+
import StorefrontOutlinedIcon from "@mui/icons-material/StorefrontOutlined";
|
|
38
|
+
import TableRestaurantOutlinedIcon from "@mui/icons-material/TableRestaurantOutlined";
|
|
39
|
+
import Box from "@mui/material/Box/index.js";
|
|
40
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
41
|
+
var DESTINATIONS = [
|
|
42
|
+
{ id: "floor", label: "Floor", icon: /* @__PURE__ */ jsx(GridViewOutlinedIcon, {}), href: "#floor" },
|
|
43
|
+
{ id: "board", label: "Board", icon: /* @__PURE__ */ jsx(DashboardOutlinedIcon, {}), href: "#board", badge: 3, active: true },
|
|
44
|
+
{ id: "serve", label: "Serve", icon: /* @__PURE__ */ jsx(TableRestaurantOutlinedIcon, {}), href: "#serve", badge: 2 }
|
|
45
|
+
];
|
|
46
|
+
var PRIMARY = {
|
|
47
|
+
label: "Create",
|
|
48
|
+
icon: /* @__PURE__ */ jsx(AddIcon, {}),
|
|
49
|
+
title: "Create now",
|
|
50
|
+
groups: [
|
|
51
|
+
{
|
|
52
|
+
id: "order",
|
|
53
|
+
title: "New order",
|
|
54
|
+
layout: "grid",
|
|
55
|
+
entries: [
|
|
56
|
+
{ id: "delivery", label: "Delivery", icon: /* @__PURE__ */ jsx(DeliveryDiningOutlinedIcon, {}), onSelect: () => void 0 },
|
|
57
|
+
{ id: "pickup", label: "Pickup", icon: /* @__PURE__ */ jsx(ShoppingBagOutlinedIcon, {}), onSelect: () => void 0 },
|
|
58
|
+
{ id: "counter", label: "Counter", icon: /* @__PURE__ */ jsx(StorefrontOutlinedIcon, {}), onSelect: () => void 0 }
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
id: "menu",
|
|
63
|
+
title: "Menu",
|
|
64
|
+
entries: [
|
|
65
|
+
{
|
|
66
|
+
id: "pause",
|
|
67
|
+
label: "Pause an item",
|
|
68
|
+
description: "Take it off sale until it is back",
|
|
69
|
+
icon: /* @__PURE__ */ jsx(PauseCircleOutlineIcon, {}),
|
|
70
|
+
onSelect: () => void 0
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
};
|
|
76
|
+
var MORE = {
|
|
77
|
+
label: "More",
|
|
78
|
+
icon: /* @__PURE__ */ jsx(AppsIcon, {}),
|
|
79
|
+
title: "More",
|
|
80
|
+
groups: [
|
|
81
|
+
{
|
|
82
|
+
id: "rest",
|
|
83
|
+
layout: "grid",
|
|
84
|
+
entries: [
|
|
85
|
+
{ id: "queue", label: "Queue", icon: /* @__PURE__ */ jsx(GroupsOutlinedIcon, {}), href: "#queue", badge: 1 },
|
|
86
|
+
{ id: "pass", label: "Pass", icon: /* @__PURE__ */ jsx(RoomServiceOutlinedIcon, {}), href: "#pass" },
|
|
87
|
+
{ id: "runs", label: "Deliveries", icon: /* @__PURE__ */ jsx(DeliveryDiningOutlinedIcon, {}), href: "#runs" },
|
|
88
|
+
{ id: "booked", label: "Bookings", icon: /* @__PURE__ */ jsx(CalendarMonthOutlinedIcon, {}), href: "#booked" },
|
|
89
|
+
{ id: "orders", label: "Orders", icon: /* @__PURE__ */ jsx(ReceiptLongOutlinedIcon, {}), href: "#orders" }
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
};
|
|
94
|
+
function PhoneFrame({ children }) {
|
|
95
|
+
return /* @__PURE__ */ jsxs(
|
|
96
|
+
Box,
|
|
97
|
+
{
|
|
98
|
+
sx: {
|
|
99
|
+
width: sxRem(360),
|
|
100
|
+
maxWidth: "100%",
|
|
101
|
+
height: sxRem(640),
|
|
102
|
+
display: "flex",
|
|
103
|
+
flexDirection: "column",
|
|
104
|
+
border: 1,
|
|
105
|
+
borderColor: "divider",
|
|
106
|
+
borderRadius: 3,
|
|
107
|
+
overflow: "hidden",
|
|
108
|
+
bgcolor: "background.default"
|
|
109
|
+
},
|
|
110
|
+
children: [
|
|
111
|
+
/* @__PURE__ */ jsx(Box, { sx: { flex: 1, p: 2 } }),
|
|
112
|
+
children
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
function RailFrame({ children }) {
|
|
118
|
+
return /* @__PURE__ */ jsx(Box, { sx: { width: sxRem(240), height: sxRem(560), border: 1, borderColor: "divider" }, children });
|
|
119
|
+
}
|
|
120
|
+
export {
|
|
121
|
+
DESTINATIONS,
|
|
122
|
+
MORE,
|
|
123
|
+
PRIMARY,
|
|
124
|
+
PhoneFrame,
|
|
125
|
+
RailFrame
|
|
126
|
+
};
|
|
127
|
+
//# sourceMappingURL=fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../src/components/navigation/SectionNav/__stories__/fixtures.tsx"],"sourcesContent":["import AddIcon from '@mui/icons-material/Add';\nimport AppsIcon from '@mui/icons-material/Apps';\nimport CalendarMonthOutlinedIcon from '@mui/icons-material/CalendarMonthOutlined';\nimport DashboardOutlinedIcon from '@mui/icons-material/DashboardOutlined';\nimport DeliveryDiningOutlinedIcon from '@mui/icons-material/DeliveryDiningOutlined';\nimport GridViewOutlinedIcon from '@mui/icons-material/GridViewOutlined';\nimport GroupsOutlinedIcon from '@mui/icons-material/GroupsOutlined';\nimport PauseCircleOutlineIcon from '@mui/icons-material/PauseCircleOutline';\nimport ReceiptLongOutlinedIcon from '@mui/icons-material/ReceiptLongOutlined';\nimport RoomServiceOutlinedIcon from '@mui/icons-material/RoomServiceOutlined';\nimport ShoppingBagOutlinedIcon from '@mui/icons-material/ShoppingBagOutlined';\nimport StorefrontOutlinedIcon from '@mui/icons-material/StorefrontOutlined';\nimport TableRestaurantOutlinedIcon from '@mui/icons-material/TableRestaurantOutlined';\nimport Box from '@mui/material/Box/index.js';\nimport React from 'react';\n\nimport { sxRem } from '../../../../tokens/scales';\n\nimport type { SectionNavDestination, SectionNavMenu } from '../SectionNav.types';\n\n/**\n * The stories' example section, shared by the showcase and the interaction\n * tests. Kept out of the `*.stories.tsx` files because Storybook reads every\n * named export there as a story.\n */\n\n/** A restaurant's shift, as the example section: the floor, the board, the waiter's round. */\nexport const DESTINATIONS: SectionNavDestination[] = [\n { id: 'floor', label: 'Floor', icon: <GridViewOutlinedIcon />, href: '#floor' },\n { id: 'board', label: 'Board', icon: <DashboardOutlinedIcon />, href: '#board', badge: 3, active: true },\n { id: 'serve', label: 'Serve', icon: <TableRestaurantOutlinedIcon />, href: '#serve', badge: 2 },\n];\n\nexport const PRIMARY: SectionNavMenu = {\n label: 'Create',\n icon: <AddIcon />,\n title: 'Create now',\n groups: [\n {\n id: 'order',\n title: 'New order',\n layout: 'grid',\n entries: [\n { id: 'delivery', label: 'Delivery', icon: <DeliveryDiningOutlinedIcon />, onSelect: () => undefined },\n { id: 'pickup', label: 'Pickup', icon: <ShoppingBagOutlinedIcon />, onSelect: () => undefined },\n { id: 'counter', label: 'Counter', icon: <StorefrontOutlinedIcon />, onSelect: () => undefined },\n ],\n },\n {\n id: 'menu',\n title: 'Menu',\n entries: [\n {\n id: 'pause',\n label: 'Pause an item',\n description: 'Take it off sale until it is back',\n icon: <PauseCircleOutlineIcon />,\n onSelect: () => undefined,\n },\n ],\n },\n ],\n};\n\nexport const MORE: SectionNavMenu = {\n label: 'More',\n icon: <AppsIcon />,\n title: 'More',\n groups: [\n {\n id: 'rest',\n layout: 'grid',\n entries: [\n { id: 'queue', label: 'Queue', icon: <GroupsOutlinedIcon />, href: '#queue', badge: 1 },\n { id: 'pass', label: 'Pass', icon: <RoomServiceOutlinedIcon />, href: '#pass' },\n { id: 'runs', label: 'Deliveries', icon: <DeliveryDiningOutlinedIcon />, href: '#runs' },\n { id: 'booked', label: 'Bookings', icon: <CalendarMonthOutlinedIcon />, href: '#booked' },\n { id: 'orders', label: 'Orders', icon: <ReceiptLongOutlinedIcon />, href: '#orders' },\n ],\n },\n ],\n};\n\n/** A phone-sized frame with the bar at its foot, the way a host docks it. */\nexport function PhoneFrame({ children }: { children: React.ReactNode }): React.ReactElement {\n return (\n <Box\n sx={{\n width: sxRem(360),\n maxWidth: '100%',\n height: sxRem(640),\n display: 'flex',\n flexDirection: 'column',\n border: 1,\n borderColor: 'divider',\n borderRadius: 3,\n overflow: 'hidden',\n bgcolor: 'background.default',\n }}\n >\n <Box sx={{ flex: 1, p: 2 }} />\n {children}\n </Box>\n );\n}\n\n\n/** A desktop-column-sized frame for the rail. */\nexport function RailFrame({ children }: { children: React.ReactNode }): React.ReactElement {\n return <Box sx={{ width: sxRem(240), height: sxRem(560), border: 1, borderColor: 'divider' }}>{children}</Box>;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,aAAa;AACpB,OAAO,cAAc;AACrB,OAAO,+BAA+B;AACtC,OAAO,2BAA2B;AAClC,OAAO,gCAAgC;AACvC,OAAO,0BAA0B;AACjC,OAAO,wBAAwB;AAC/B,OAAO,4BAA4B;AACnC,OAAO,6BAA6B;AACpC,OAAO,6BAA6B;AACpC,OAAO,6BAA6B;AACpC,OAAO,4BAA4B;AACnC,OAAO,iCAAiC;AACxC,OAAO,SAAS;AAeuB,cA0DnC,YA1DmC;AADhC,IAAM,eAAwC;AAAA,EACnD,EAAE,IAAI,SAAS,OAAO,SAAS,MAAM,oBAAC,wBAAqB,GAAI,MAAM,SAAS;AAAA,EAC9E,EAAE,IAAI,SAAS,OAAO,SAAS,MAAM,oBAAC,yBAAsB,GAAI,MAAM,UAAU,OAAO,GAAG,QAAQ,KAAK;AAAA,EACvG,EAAE,IAAI,SAAS,OAAO,SAAS,MAAM,oBAAC,+BAA4B,GAAI,MAAM,UAAU,OAAO,EAAE;AACjG;AAEO,IAAM,UAA0B;AAAA,EACrC,OAAO;AAAA,EACP,MAAM,oBAAC,WAAQ;AAAA,EACf,OAAO;AAAA,EACP,QAAQ;AAAA,IACN;AAAA,MACE,IAAI;AAAA,MACJ,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,SAAS;AAAA,QACP,EAAE,IAAI,YAAY,OAAO,YAAY,MAAM,oBAAC,8BAA2B,GAAI,UAAU,MAAM,OAAU;AAAA,QACrG,EAAE,IAAI,UAAU,OAAO,UAAU,MAAM,oBAAC,2BAAwB,GAAI,UAAU,MAAM,OAAU;AAAA,QAC9F,EAAE,IAAI,WAAW,OAAO,WAAW,MAAM,oBAAC,0BAAuB,GAAI,UAAU,MAAM,OAAU;AAAA,MACjG;AAAA,IACF;AAAA,IACA;AAAA,MACE,IAAI;AAAA,MACJ,OAAO;AAAA,MACP,SAAS;AAAA,QACP;AAAA,UACE,IAAI;AAAA,UACJ,OAAO;AAAA,UACP,aAAa;AAAA,UACb,MAAM,oBAAC,0BAAuB;AAAA,UAC9B,UAAU,MAAM;AAAA,QAClB;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;AAEO,IAAM,OAAuB;AAAA,EAClC,OAAO;AAAA,EACP,MAAM,oBAAC,YAAS;AAAA,EAChB,OAAO;AAAA,EACP,QAAQ;AAAA,IACN;AAAA,MACE,IAAI;AAAA,MACJ,QAAQ;AAAA,MACR,SAAS;AAAA,QACP,EAAE,IAAI,SAAS,OAAO,SAAS,MAAM,oBAAC,sBAAmB,GAAI,MAAM,UAAU,OAAO,EAAE;AAAA,QACtF,EAAE,IAAI,QAAQ,OAAO,QAAQ,MAAM,oBAAC,2BAAwB,GAAI,MAAM,QAAQ;AAAA,QAC9E,EAAE,IAAI,QAAQ,OAAO,cAAc,MAAM,oBAAC,8BAA2B,GAAI,MAAM,QAAQ;AAAA,QACvF,EAAE,IAAI,UAAU,OAAO,YAAY,MAAM,oBAAC,6BAA0B,GAAI,MAAM,UAAU;AAAA,QACxF,EAAE,IAAI,UAAU,OAAO,UAAU,MAAM,oBAAC,2BAAwB,GAAI,MAAM,UAAU;AAAA,MACtF;AAAA,IACF;AAAA,EACF;AACF;AAGO,SAAS,WAAW,EAAE,SAAS,GAAsD;AAC1F,SACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAI;AAAA,QACF,OAAO,MAAM,GAAG;AAAA,QAChB,UAAU;AAAA,QACV,QAAQ,MAAM,GAAG;AAAA,QACjB,SAAS;AAAA,QACT,eAAe;AAAA,QACf,QAAQ;AAAA,QACR,aAAa;AAAA,QACb,cAAc;AAAA,QACd,UAAU;AAAA,QACV,SAAS;AAAA,MACX;AAAA,MAEA;AAAA,4BAAC,OAAI,IAAI,EAAE,MAAM,GAAG,GAAG,EAAE,GAAG;AAAA,QAC3B;AAAA;AAAA;AAAA,EACH;AAEJ;AAIO,SAAS,UAAU,EAAE,SAAS,GAAsD;AACzF,SAAO,oBAAC,OAAI,IAAI,EAAE,OAAO,MAAM,GAAG,GAAG,QAAQ,MAAM,GAAG,GAAG,QAAQ,GAAG,aAAa,UAAU,GAAI,UAAS;AAC1G;","names":[]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../chunk-
|
|
1
|
+
import "../../../chunk-R73CRAAI.js";
|
|
2
2
|
import "../../../chunk-WZ4RBOFD.js";
|
|
3
3
|
import {
|
|
4
4
|
ContextMenu
|
|
@@ -13,6 +13,20 @@ import "../../../chunk-L5RQIQIP.js";
|
|
|
13
13
|
import "../../../chunk-CKAVTWXP.js";
|
|
14
14
|
import "../../../chunk-3AIRFAI3.js";
|
|
15
15
|
import "../../../chunk-3L5OZCGA.js";
|
|
16
|
+
import "../../../chunk-R26KYJHK.js";
|
|
17
|
+
import {
|
|
18
|
+
SectionNav
|
|
19
|
+
} from "../../../chunk-SENCNTMV.js";
|
|
20
|
+
import "../../../chunk-TCFBCTZD.js";
|
|
21
|
+
import {
|
|
22
|
+
sectionNavBarInset
|
|
23
|
+
} from "../../../chunk-3WCUGTRH.js";
|
|
24
|
+
import "../../../chunk-2OP2FYB3.js";
|
|
25
|
+
import {
|
|
26
|
+
RaisedActionButton
|
|
27
|
+
} from "../../../chunk-6OLJ2RAT.js";
|
|
28
|
+
import "../../../chunk-HYEOKBFV.js";
|
|
29
|
+
import "../../../chunk-VHVI3D4R.js";
|
|
16
30
|
import "../../../chunk-R445KMGG.js";
|
|
17
31
|
import {
|
|
18
32
|
Tabs
|
|
@@ -27,12 +41,12 @@ import {
|
|
|
27
41
|
AppHeaderIdentity,
|
|
28
42
|
AppHeaderStatus
|
|
29
43
|
} from "../../../chunk-RNVR3RGV.js";
|
|
30
|
-
import {
|
|
31
|
-
AppHeaderDetails
|
|
32
|
-
} from "../../../chunk-JZ7ZRZTF.js";
|
|
33
44
|
import {
|
|
34
45
|
AppHeaderBrand
|
|
35
46
|
} from "../../../chunk-GWFAINQ7.js";
|
|
47
|
+
import {
|
|
48
|
+
AppHeaderDetails
|
|
49
|
+
} from "../../../chunk-EJMSSDLM.js";
|
|
36
50
|
import {
|
|
37
51
|
brandGradient,
|
|
38
52
|
highlightOf,
|
|
@@ -46,11 +60,13 @@ import "../../../chunk-52G2KRL4.js";
|
|
|
46
60
|
import "../../../chunk-P5WJUR7X.js";
|
|
47
61
|
import {
|
|
48
62
|
CommandPalette
|
|
49
|
-
} from "../../../chunk-
|
|
63
|
+
} from "../../../chunk-NLYNRE7L.js";
|
|
50
64
|
import "../../../chunk-2ARVNCVU.js";
|
|
65
|
+
import "../../../chunk-Z6MCTGIK.js";
|
|
51
66
|
import "../../../chunk-SUZXPDUQ.js";
|
|
52
67
|
import "../../../chunk-4VRDFZ4G.js";
|
|
53
|
-
import "../../../chunk-
|
|
68
|
+
import "../../../chunk-TMSWLFL4.js";
|
|
69
|
+
import "../../../chunk-KIHGTL2D.js";
|
|
54
70
|
import "../../../chunk-PUYJVQ7X.js";
|
|
55
71
|
import "../../../chunk-MW7S7WZM.js";
|
|
56
72
|
import "../../../chunk-LYVTJLCF.js";
|
|
@@ -65,16 +81,24 @@ import {
|
|
|
65
81
|
import "../../../chunk-MQJDMQJZ.js";
|
|
66
82
|
import {
|
|
67
83
|
Pagination
|
|
68
|
-
} from "../../../chunk-
|
|
69
|
-
import "../../../chunk-BWMHGENX.js";
|
|
84
|
+
} from "../../../chunk-IJAUHR3M.js";
|
|
70
85
|
import "../../../chunk-PTONBPZL.js";
|
|
86
|
+
import "../../../chunk-BWMHGENX.js";
|
|
71
87
|
import "../../../chunk-Z6TIAVEG.js";
|
|
72
|
-
import "../../../chunk-
|
|
73
|
-
import "../../../chunk-GYXUCS37.js";
|
|
88
|
+
import "../../../chunk-MQ277OLB.js";
|
|
74
89
|
import "../../../chunk-ST7B54JN.js";
|
|
75
|
-
import "../../../chunk-GVGJMH77.js";
|
|
76
90
|
import "../../../chunk-Z2JH5KW5.js";
|
|
91
|
+
import "../../../chunk-GVGJMH77.js";
|
|
92
|
+
import "../../../chunk-GYXUCS37.js";
|
|
77
93
|
import "../../../chunk-LV7LSPBF.js";
|
|
94
|
+
import "../../../chunk-5AK2EZG5.js";
|
|
95
|
+
import "../../../chunk-HAPELHNW.js";
|
|
96
|
+
import "../../../chunk-YDIRPKYI.js";
|
|
97
|
+
import "../../../chunk-EOKPFMJD.js";
|
|
98
|
+
import "../../../chunk-M5ZXL52T.js";
|
|
99
|
+
import "../../../chunk-6C5D6O3D.js";
|
|
100
|
+
import "../../../chunk-3UIDKLML.js";
|
|
101
|
+
import "../../../chunk-PYC4CWCQ.js";
|
|
78
102
|
import "../../../chunk-K6LNHHSH.js";
|
|
79
103
|
import "../../../chunk-ZKWVCSAB.js";
|
|
80
104
|
import "../../../chunk-LN46DSMF.js";
|
|
@@ -115,9 +139,12 @@ export {
|
|
|
115
139
|
DropdownMenu,
|
|
116
140
|
NavigationMenu,
|
|
117
141
|
Pagination,
|
|
142
|
+
RaisedActionButton,
|
|
143
|
+
SectionNav,
|
|
118
144
|
Tabs,
|
|
119
145
|
brandGradient,
|
|
120
146
|
highlightOf,
|
|
121
|
-
initialsOf
|
|
147
|
+
initialsOf,
|
|
148
|
+
sectionNavBarInset
|
|
122
149
|
};
|
|
123
150
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InfiniteScroll
|
|
3
|
-
} from "../../../../chunk-
|
|
4
|
-
import "../../../../chunk-Y2X7LYIN.js";
|
|
3
|
+
} from "../../../../chunk-HBP2OU4Q.js";
|
|
5
4
|
import "../../../../chunk-5KNDAC24.js";
|
|
5
|
+
import "../../../../chunk-Y2X7LYIN.js";
|
|
6
6
|
import "../../../../chunk-YKCAJ2TN.js";
|
|
7
7
|
import "../../../../chunk-PZ5AY32C.js";
|
|
8
8
|
export {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InstallPrompt
|
|
3
|
-
} from "../../../../chunk-
|
|
4
|
-
import "../../../../chunk-GY62N32G.js";
|
|
3
|
+
} from "../../../../chunk-JE6RZ5L6.js";
|
|
5
4
|
import "../../../../chunk-5GMHJ7Y5.js";
|
|
5
|
+
import "../../../../chunk-GY62N32G.js";
|
|
6
6
|
import "../../../../chunk-WXYLH3QZ.js";
|
|
7
7
|
import "../../../../chunk-UUL44SUX.js";
|
|
8
8
|
import "../../../../chunk-PZ5AY32C.js";
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import "../../../chunk-SS4MHTGU.js";
|
|
2
|
+
import "../../../chunk-JE4CLMYD.js";
|
|
3
|
+
import {
|
|
4
|
+
Portal
|
|
5
|
+
} from "../../../chunk-DG4LXIPT.js";
|
|
2
6
|
import "../../../chunk-ZSMKFQVQ.js";
|
|
3
7
|
import {
|
|
4
8
|
Transition
|
|
@@ -30,17 +34,17 @@ import {
|
|
|
30
34
|
import "../../../chunk-H7NA4TXY.js";
|
|
31
35
|
import {
|
|
32
36
|
InfiniteScroll
|
|
33
|
-
} from "../../../chunk-
|
|
34
|
-
import "../../../chunk-Y2X7LYIN.js";
|
|
37
|
+
} from "../../../chunk-HBP2OU4Q.js";
|
|
35
38
|
import "../../../chunk-5KNDAC24.js";
|
|
39
|
+
import "../../../chunk-Y2X7LYIN.js";
|
|
36
40
|
import "../../../chunk-3QQVEYOR.js";
|
|
37
41
|
import {
|
|
38
42
|
InstallPrompt
|
|
39
|
-
} from "../../../chunk-
|
|
40
|
-
import "../../../chunk-GY62N32G.js";
|
|
43
|
+
} from "../../../chunk-JE6RZ5L6.js";
|
|
41
44
|
import {
|
|
42
45
|
usePwaInstall
|
|
43
46
|
} from "../../../chunk-5GMHJ7Y5.js";
|
|
47
|
+
import "../../../chunk-GY62N32G.js";
|
|
44
48
|
import "../../../chunk-WXYLH3QZ.js";
|
|
45
49
|
import {
|
|
46
50
|
PWA_INSTALL_AVAILABLE_EVENT,
|
|
@@ -49,10 +53,6 @@ import {
|
|
|
49
53
|
readPwaInstallStash,
|
|
50
54
|
resetPwaInstallStash
|
|
51
55
|
} from "../../../chunk-UUL44SUX.js";
|
|
52
|
-
import "../../../chunk-JE4CLMYD.js";
|
|
53
|
-
import {
|
|
54
|
-
Portal
|
|
55
|
-
} from "../../../chunk-DG4LXIPT.js";
|
|
56
56
|
import "../../../chunk-NCS2TBIP.js";
|
|
57
57
|
import {
|
|
58
58
|
splitToFit,
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EN_US_BREADCRUMB_COPY,
|
|
3
|
-
EN_US_COMMAND_PALETTE_COPY
|
|
4
|
-
|
|
3
|
+
EN_US_COMMAND_PALETTE_COPY,
|
|
4
|
+
EN_US_SECTION_NAV_COPY
|
|
5
|
+
} from "../chunk-EDZYPHZT.js";
|
|
5
6
|
import "../chunk-PZ5AY32C.js";
|
|
6
7
|
export {
|
|
7
8
|
EN_US_BREADCRUMB_COPY,
|
|
8
|
-
EN_US_COMMAND_PALETTE_COPY
|
|
9
|
+
EN_US_COMMAND_PALETTE_COPY,
|
|
10
|
+
EN_US_SECTION_NAV_COPY
|
|
9
11
|
};
|
|
10
12
|
//# sourceMappingURL=en-US.navigation.js.map
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PT_BR_BREADCRUMB_COPY,
|
|
3
|
-
PT_BR_COMMAND_PALETTE_COPY
|
|
4
|
-
|
|
3
|
+
PT_BR_COMMAND_PALETTE_COPY,
|
|
4
|
+
PT_BR_SECTION_NAV_COPY
|
|
5
|
+
} from "../chunk-EPZ7B35I.js";
|
|
5
6
|
import "../chunk-PZ5AY32C.js";
|
|
6
7
|
export {
|
|
7
8
|
PT_BR_BREADCRUMB_COPY,
|
|
8
|
-
PT_BR_COMMAND_PALETTE_COPY
|
|
9
|
+
PT_BR_COMMAND_PALETTE_COPY,
|
|
10
|
+
PT_BR_SECTION_NAV_COPY
|
|
9
11
|
};
|
|
10
12
|
//# sourceMappingURL=pt-BR.navigation.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
GoogleIcon,
|
|
6
6
|
SocialLoginButton,
|
|
7
7
|
SocialLoginContainer
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-WHYVVKRS.js";
|
|
9
9
|
import "../../chunk-INGPH3YQ.js";
|
|
10
10
|
import "../../chunk-6GP2DOOO.js";
|
|
11
11
|
import "../../chunk-C4QKXFZN.js";
|
|
@@ -16,9 +16,9 @@ import "../../chunk-RWXYND4H.js";
|
|
|
16
16
|
import "../../chunk-JIRZ27RI.js";
|
|
17
17
|
import "../../chunk-VUHLNYAE.js";
|
|
18
18
|
import "../../chunk-2GSIEDGN.js";
|
|
19
|
-
import "../../chunk-
|
|
20
|
-
import "../../chunk-FKUYRQSP.js";
|
|
19
|
+
import "../../chunk-OP5JR5Q5.js";
|
|
21
20
|
import "../../chunk-76X6JRVI.js";
|
|
21
|
+
import "../../chunk-FKUYRQSP.js";
|
|
22
22
|
import "../../chunk-JH7EEJEQ.js";
|
|
23
23
|
import "../../chunk-BA4RHQ3B.js";
|
|
24
24
|
import "../../chunk-K6LNHHSH.js";
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import {
|
|
3
3
|
UserAvatar,
|
|
4
4
|
UserMenu
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-UUJ7J7NE.js";
|
|
6
6
|
import "../../chunk-UDQSIRAP.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-3ZVUNSFF.js";
|
|
7
|
+
import "../../chunk-PGPPN63I.js";
|
|
9
8
|
import "../../chunk-TNQDSTIA.js";
|
|
10
9
|
import "../../chunk-6ZZGK5DT.js";
|
|
10
|
+
import "../../chunk-3ZVUNSFF.js";
|
|
11
11
|
import "../../chunk-MTEQEPNY.js";
|
|
12
12
|
import "../../chunk-VUHLNYAE.js";
|
|
13
13
|
import "../../chunk-2GSIEDGN.js";
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-FKUYRQSP.js";
|
|
14
|
+
import "../../chunk-OP5JR5Q5.js";
|
|
16
15
|
import "../../chunk-76X6JRVI.js";
|
|
16
|
+
import "../../chunk-FKUYRQSP.js";
|
|
17
17
|
import "../../chunk-JH7EEJEQ.js";
|
|
18
18
|
import "../../chunk-BA4RHQ3B.js";
|
|
19
19
|
import "../../chunk-K6LNHHSH.js";
|
package/dist/charts.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./chunk-5KLSLD72.js";
|
|
2
2
|
import {
|
|
3
3
|
SpecChart
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-G6T7KRQ3.js";
|
|
5
5
|
import {
|
|
6
6
|
Chart
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BUAFRLSB.js";
|
|
8
8
|
import {
|
|
9
9
|
CHART_SEMANTIC_COLORS,
|
|
10
10
|
ChartSpecError,
|
|
@@ -16,7 +16,9 @@ import {
|
|
|
16
16
|
getRegisteredChartSpecTypes,
|
|
17
17
|
registerChartSpecRenderer
|
|
18
18
|
} from "./chunk-WKUA6P3W.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-SJY4DDG7.js";
|
|
20
|
+
import "./chunk-L6Q2A32O.js";
|
|
21
|
+
import "./chunk-SOHQPPYJ.js";
|
|
20
22
|
import {
|
|
21
23
|
ChartContainer,
|
|
22
24
|
ChartLegend,
|
|
@@ -24,13 +26,11 @@ import {
|
|
|
24
26
|
ChartTooltip,
|
|
25
27
|
ChartTooltipContent
|
|
26
28
|
} from "./chunk-RIRTW5EU.js";
|
|
29
|
+
import "./chunk-VVFV4MXS.js";
|
|
27
30
|
import {
|
|
28
31
|
chartValueFormatter,
|
|
29
32
|
formatChartValue
|
|
30
33
|
} from "./chunk-QVWNK4JO.js";
|
|
31
|
-
import "./chunk-GKNMKPR6.js";
|
|
32
|
-
import "./chunk-VVFV4MXS.js";
|
|
33
|
-
import "./chunk-SOHQPPYJ.js";
|
|
34
34
|
import "./chunk-FHWXRHMA.js";
|
|
35
35
|
import "./chunk-7ZPUN7TV.js";
|
|
36
36
|
import "./chunk-2GG5W6LR.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MoreGroup,
|
|
3
3
|
fieldClearing
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MD3ND6DT.js";
|
|
5
5
|
import {
|
|
6
6
|
useDataViewsCopy
|
|
7
7
|
} from "./chunk-KHG57NAE.js";
|
|
@@ -184,4 +184,4 @@ function MoreFilters({
|
|
|
184
184
|
export {
|
|
185
185
|
MoreFilters
|
|
186
186
|
};
|
|
187
|
-
//# sourceMappingURL=chunk-
|
|
187
|
+
//# sourceMappingURL=chunk-2HPNN5XA.js.map
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
resolveSkeletonProps,
|
|
3
|
+
skeletonInstanceTestId
|
|
4
|
+
} from "./chunk-7WDPC46N.js";
|
|
1
5
|
import {
|
|
2
6
|
defaultDimensions,
|
|
3
7
|
muiAnimationFor,
|
|
@@ -5,10 +9,6 @@ import {
|
|
|
5
9
|
skeletonLength,
|
|
6
10
|
skeletonSx
|
|
7
11
|
} from "./chunk-E2QIKJX2.js";
|
|
8
|
-
import {
|
|
9
|
-
resolveSkeletonProps,
|
|
10
|
-
skeletonInstanceTestId
|
|
11
|
-
} from "./chunk-7WDPC46N.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveTestId,
|
|
14
14
|
withoutTestIdProps
|
|
@@ -78,4 +78,4 @@ Skeleton.displayName = "Skeleton";
|
|
|
78
78
|
export {
|
|
79
79
|
Skeleton
|
|
80
80
|
};
|
|
81
|
-
//# sourceMappingURL=chunk-
|
|
81
|
+
//# sourceMappingURL=chunk-2K2B5QM2.js.map
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Box,
|
|
3
|
+
CONTROL_RESET,
|
|
4
|
+
CountedIcon,
|
|
5
|
+
controlProps,
|
|
6
|
+
focusRing
|
|
7
|
+
} from "./chunk-HYEOKBFV.js";
|
|
8
|
+
import {
|
|
9
|
+
Drawer,
|
|
10
|
+
DrawerContent,
|
|
11
|
+
DrawerHeader
|
|
12
|
+
} from "./chunk-KIHGTL2D.js";
|
|
13
|
+
import {
|
|
14
|
+
rem
|
|
15
|
+
} from "./chunk-YKCAJ2TN.js";
|
|
16
|
+
|
|
17
|
+
// src/components/navigation/SectionNav/SectionNav.sheet.tsx
|
|
18
|
+
import Typography from "@mui/material/Typography/index.js";
|
|
19
|
+
import { useTheme } from "@mui/material/styles/index.js";
|
|
20
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
21
|
+
function GridEntry({ entry, linkComponent, copy, testId, onDone }) {
|
|
22
|
+
const theme = useTheme();
|
|
23
|
+
return /* @__PURE__ */ jsxs(
|
|
24
|
+
Box,
|
|
25
|
+
{
|
|
26
|
+
...controlProps({
|
|
27
|
+
href: entry.href,
|
|
28
|
+
linkComponent,
|
|
29
|
+
onClick: () => {
|
|
30
|
+
entry.onSelect?.();
|
|
31
|
+
onDone();
|
|
32
|
+
}
|
|
33
|
+
}),
|
|
34
|
+
"aria-current": entry.active ? "page" : void 0,
|
|
35
|
+
"data-testid": `${testId}-entry-${entry.id}`,
|
|
36
|
+
sx: {
|
|
37
|
+
...CONTROL_RESET,
|
|
38
|
+
...focusRing(theme),
|
|
39
|
+
display: "flex",
|
|
40
|
+
flexDirection: "column",
|
|
41
|
+
alignItems: "center",
|
|
42
|
+
justifyContent: "center",
|
|
43
|
+
gap: 0.75,
|
|
44
|
+
minHeight: rem(theme, 76),
|
|
45
|
+
px: 0.5,
|
|
46
|
+
py: 1,
|
|
47
|
+
borderRadius: 1.5,
|
|
48
|
+
textAlign: "center",
|
|
49
|
+
bgcolor: entry.active ? "action.selected" : "action.hover",
|
|
50
|
+
color: entry.active ? "primary.main" : "text.primary",
|
|
51
|
+
"& svg": { color: "primary.main" }
|
|
52
|
+
},
|
|
53
|
+
children: [
|
|
54
|
+
/* @__PURE__ */ jsx(CountedIcon, { icon: entry.icon, count: entry.badge, label: copy.badge, testId: `${testId}-badge-${entry.id}` }),
|
|
55
|
+
/* @__PURE__ */ jsx(Typography, { component: "span", variant: "caption", sx: { lineHeight: 1.2, fontWeight: entry.active ? 700 : 500 }, children: entry.label })
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
function ListEntry({ entry, linkComponent, copy, testId, onDone }) {
|
|
61
|
+
const theme = useTheme();
|
|
62
|
+
return /* @__PURE__ */ jsxs(
|
|
63
|
+
Box,
|
|
64
|
+
{
|
|
65
|
+
...controlProps({
|
|
66
|
+
href: entry.href,
|
|
67
|
+
linkComponent,
|
|
68
|
+
onClick: () => {
|
|
69
|
+
entry.onSelect?.();
|
|
70
|
+
onDone();
|
|
71
|
+
}
|
|
72
|
+
}),
|
|
73
|
+
"aria-current": entry.active ? "page" : void 0,
|
|
74
|
+
"data-testid": `${testId}-entry-${entry.id}`,
|
|
75
|
+
sx: {
|
|
76
|
+
...CONTROL_RESET,
|
|
77
|
+
...focusRing(theme),
|
|
78
|
+
display: "flex",
|
|
79
|
+
alignItems: "center",
|
|
80
|
+
gap: 1.5,
|
|
81
|
+
width: "100%",
|
|
82
|
+
minHeight: rem(theme, 52),
|
|
83
|
+
px: 1.5,
|
|
84
|
+
py: 1,
|
|
85
|
+
borderRadius: 1.5,
|
|
86
|
+
textAlign: "start",
|
|
87
|
+
bgcolor: entry.active ? "action.selected" : "action.hover",
|
|
88
|
+
"& svg": { color: "primary.main" }
|
|
89
|
+
},
|
|
90
|
+
children: [
|
|
91
|
+
/* @__PURE__ */ jsx(CountedIcon, { icon: entry.icon, count: entry.badge, label: copy.badge, testId: `${testId}-badge-${entry.id}` }),
|
|
92
|
+
/* @__PURE__ */ jsxs(Box, { component: "span", sx: { display: "flex", flexDirection: "column", minWidth: 0 }, children: [
|
|
93
|
+
/* @__PURE__ */ jsx(Typography, { component: "span", variant: "body2", sx: { fontWeight: 600 }, children: entry.label }),
|
|
94
|
+
entry.description ? /* @__PURE__ */ jsx(Typography, { component: "span", variant: "caption", color: "text.secondary", children: entry.description }) : null
|
|
95
|
+
] })
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
function SheetGroup({
|
|
101
|
+
group,
|
|
102
|
+
linkComponent,
|
|
103
|
+
copy,
|
|
104
|
+
testId,
|
|
105
|
+
onDone
|
|
106
|
+
}) {
|
|
107
|
+
const grid = group.layout === "grid";
|
|
108
|
+
const Entry = grid ? GridEntry : ListEntry;
|
|
109
|
+
return /* @__PURE__ */ jsxs(Box, { component: "section", "data-testid": `${testId}-group-${group.id}`, sx: { display: "flex", flexDirection: "column", gap: 1 }, children: [
|
|
110
|
+
group.title ? /* @__PURE__ */ jsx(Typography, { variant: "overline", color: "text.secondary", sx: { lineHeight: 1.6 }, children: group.title }) : null,
|
|
111
|
+
/* @__PURE__ */ jsx(
|
|
112
|
+
Box,
|
|
113
|
+
{
|
|
114
|
+
sx: grid ? { display: "grid", gridTemplateColumns: "repeat(3, minmax(0, 1fr))", gap: 1 } : { display: "flex", flexDirection: "column", gap: 0.75 },
|
|
115
|
+
children: group.entries.map((entry) => /* @__PURE__ */ jsx(Entry, { entry, linkComponent, copy, testId, onDone }, entry.id))
|
|
116
|
+
}
|
|
117
|
+
)
|
|
118
|
+
] });
|
|
119
|
+
}
|
|
120
|
+
function SectionNavSheet({
|
|
121
|
+
menu,
|
|
122
|
+
open,
|
|
123
|
+
onClose,
|
|
124
|
+
linkComponent,
|
|
125
|
+
copy,
|
|
126
|
+
testId,
|
|
127
|
+
bottomOffset
|
|
128
|
+
}) {
|
|
129
|
+
const theme = useTheme();
|
|
130
|
+
return /* @__PURE__ */ jsx(
|
|
131
|
+
Drawer,
|
|
132
|
+
{
|
|
133
|
+
open,
|
|
134
|
+
onClose,
|
|
135
|
+
anchor: "bottom",
|
|
136
|
+
height: "auto",
|
|
137
|
+
dataTestId: testId,
|
|
138
|
+
paperSx: {
|
|
139
|
+
borderTopLeftRadius: rem(theme, Number(theme.shape.borderRadius) * 3),
|
|
140
|
+
borderTopRightRadius: rem(theme, Number(theme.shape.borderRadius) * 3),
|
|
141
|
+
maxHeight: `calc(85dvh - ${bottomOffset})`,
|
|
142
|
+
bottom: bottomOffset
|
|
143
|
+
},
|
|
144
|
+
children: /* @__PURE__ */ jsxs(
|
|
145
|
+
Box,
|
|
146
|
+
{
|
|
147
|
+
role: "dialog",
|
|
148
|
+
"aria-modal": "true",
|
|
149
|
+
"aria-label": menu.title,
|
|
150
|
+
sx: { display: "flex", flexDirection: "column", flex: 1, minHeight: 0 },
|
|
151
|
+
children: [
|
|
152
|
+
/* @__PURE__ */ jsx(DrawerHeader, { onClose, closeLabel: copy.close, dataTestId: `${testId}-header`, children: menu.title }),
|
|
153
|
+
/* @__PURE__ */ jsx(DrawerContent, { children: /* @__PURE__ */ jsx(Box, { sx: { display: "flex", flexDirection: "column", gap: 2 }, children: menu.groups.map((group) => /* @__PURE__ */ jsx(
|
|
154
|
+
SheetGroup,
|
|
155
|
+
{
|
|
156
|
+
group,
|
|
157
|
+
linkComponent,
|
|
158
|
+
copy,
|
|
159
|
+
testId,
|
|
160
|
+
onDone: onClose
|
|
161
|
+
},
|
|
162
|
+
group.id
|
|
163
|
+
)) }) })
|
|
164
|
+
]
|
|
165
|
+
}
|
|
166
|
+
)
|
|
167
|
+
}
|
|
168
|
+
);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export {
|
|
172
|
+
SectionNavSheet
|
|
173
|
+
};
|
|
174
|
+
//# sourceMappingURL=chunk-2OP2FYB3.js.map
|