@12-apps/ui 6.52.1 → 6.54.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/components-catalog.md +1 -1
- package/dist/_internal/components/data-display/AlertDialog/AlertDialog.js +2 -1
- package/dist/_internal/components/data-display/AlertDialog/AlertDialog.parts.js +9 -0
- package/dist/_internal/components/data-display/AlertDialog/AlertDialog.parts.js.map +1 -0
- package/dist/_internal/components/data-display/Avatar/Avatar.js +3 -3
- package/dist/_internal/components/data-display/Avatar/Avatar.view.js +2 -2
- package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +7 -6
- package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +7 -6
- package/dist/_internal/components/data-display/Chart/SpecChart.js +3 -3
- package/dist/_internal/components/data-display/Chart/chart-spec.js +2 -2
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +24 -24
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +33 -32
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +7 -6
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +4 -4
- package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +3 -3
- package/dist/_internal/components/data-display/DataViews/base-list-card.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-category-pill.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +9 -9
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +21 -21
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +11 -11
- package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +9 -9
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +10 -10
- 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 +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +9 -8
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +5 -5
- 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 +2 -2
- package/dist/_internal/components/data-display/FleetMap/FleetBody.js +4 -4
- package/dist/_internal/components/data-display/FleetMap/FleetCanvas.js +3 -3
- package/dist/_internal/components/data-display/FleetMap/FleetMap.fixtures.js +2 -2
- package/dist/_internal/components/data-display/FleetMap/FleetMap.js +5 -5
- package/dist/_internal/components/data-display/HoverCard/HoverCard.js +2 -2
- package/dist/_internal/components/data-display/InteractiveTooltip/InteractiveTooltip.hooks.js +3 -1
- package/dist/_internal/components/data-display/InteractiveTooltip/InteractiveTooltip.js +2 -2
- package/dist/_internal/components/data-display/Lightbox/Lightbox.js +3 -3
- package/dist/_internal/components/data-display/MapPreview/MapPreview.js +2 -2
- package/dist/_internal/components/data-display/Progress/Progress.js +2 -2
- 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/index.js +29 -28
- 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/index.js +8 -7
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.hooks.js +2 -2
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.js +5 -5
- 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 +3 -3
- package/dist/_internal/components/form/CategorySelect/CategoryPanel.js +1 -1
- package/dist/_internal/components/form/CategorySelect/CategorySelect.js +4 -4
- package/dist/_internal/components/form/Command/Command.js +3 -3
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.js +5 -5
- package/dist/_internal/components/form/UploadButton/UploadButton.js +2 -2
- package/dist/_internal/components/form/index.js +22 -22
- package/dist/_internal/components/form/total-form/Fields/CategoryField.js +5 -5
- package/dist/_internal/components/form/total-form/Fields/index.js +9 -9
- package/dist/_internal/components/index.js +72 -70
- package/dist/_internal/components/layout/ScrollArea/ScrollArea.js +2 -2
- package/dist/_internal/components/layout/SettingCard/SettingCard.js +9 -4
- package/dist/_internal/components/layout/SettingCard/SettingCard.metrics.js +1 -1
- package/dist/_internal/components/layout/SettingCard/SettingCard.parts.js +3 -3
- package/dist/_internal/components/layout/SettingCard/SettingCard.styles.js +6 -2
- package/dist/_internal/components/layout/SettingCard/SettingCard.summary.js +63 -0
- package/dist/_internal/components/layout/SettingCard/SettingCard.summary.js.map +1 -0
- package/dist/_internal/components/layout/SettingCard/SettingGrid.js +4 -4
- package/dist/_internal/components/layout/SettingCard/SettingGroup.js +10 -5
- package/dist/_internal/components/layout/SettingCard/SettingSwitch.js +9 -4
- package/dist/_internal/components/layout/SettingCard/SettingToggle.js +10 -5
- package/dist/_internal/components/layout/index.js +18 -13
- package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +5 -5
- package/dist/_internal/components/navigation/index.js +5 -5
- package/dist/_internal/en-US.data-display.js +2 -2
- package/dist/_internal/en-US.layout.js +1 -1
- package/dist/_internal/pt-BR.data-display.js +2 -2
- package/dist/_internal/pt-BR.layout.js +1 -1
- package/dist/_internal/user-avatar/user-avatar.js +4 -4
- package/dist/charts.js +6 -6
- package/dist/{chunk-GXQDWHPN.js → chunk-2CJZLL5Y.js} +2 -2
- package/dist/{chunk-57VL5UX7.js → chunk-2JTZWQ25.js} +6 -4
- package/dist/chunk-2JTZWQ25.js.map +1 -0
- package/dist/{chunk-STTULW2K.js → chunk-2KVWOTEQ.js} +5 -5
- package/dist/{chunk-ISW5K72V.js → chunk-2ZRZTGWP.js} +5 -5
- package/dist/{chunk-QOLIBVGS.js → chunk-3CIIB74Y.js} +2 -2
- package/dist/{chunk-33L26P4J.js → chunk-3ZKGNEP2.js} +5 -3
- package/dist/{chunk-33L26P4J.js.map → chunk-3ZKGNEP2.js.map} +1 -1
- package/dist/{chunk-2OTBMU5Z.js → chunk-44LYXLW7.js} +7 -7
- package/dist/{chunk-OG6LYQ7C.js → chunk-4PFKMNLP.js} +8 -68
- package/dist/chunk-4PFKMNLP.js.map +1 -0
- package/dist/{chunk-LYVTJLCF.js → chunk-56JF5PZK.js} +4 -4
- package/dist/{chunk-5KGABAQB.js → chunk-5752357K.js} +4 -4
- package/dist/{chunk-SPZAEMGW.js → chunk-5WX6U34F.js} +4 -4
- package/dist/{chunk-QHXMNSOZ.js → chunk-6L6VXRLJ.js} +2 -2
- package/dist/{chunk-VVFASSFY.js → chunk-6VGB4OX2.js} +3 -3
- package/dist/{chunk-FRP7NM6X.js → chunk-6WZUKV55.js} +2 -2
- package/dist/{chunk-QEINKMMX.js → chunk-7C763T3K.js} +2 -2
- package/dist/{chunk-PARTZ7XI.js → chunk-7JKDB5J5.js} +4 -4
- package/dist/{chunk-G5XHAN56.js → chunk-7WWPKA7Y.js} +3 -3
- package/dist/{chunk-3U7WKBMH.js → chunk-AA2X5GOT.js} +5 -3
- package/dist/{chunk-3U7WKBMH.js.map → chunk-AA2X5GOT.js.map} +1 -1
- package/dist/{chunk-QYV7KLEN.js → chunk-ASGSC5UA.js} +5 -5
- package/dist/{chunk-7GQ2ZZBQ.js → chunk-BCTRC6AR.js} +2 -2
- package/dist/{chunk-XSHWEUDB.js → chunk-BE5Z36XZ.js} +4 -4
- package/dist/{chunk-IC7GHPMK.js → chunk-BFRVMCQM.js} +7 -2
- package/dist/chunk-BFRVMCQM.js.map +1 -0
- package/dist/{chunk-PM7SI4YT.js → chunk-BJOKL5PQ.js} +5 -5
- package/dist/{chunk-PGPPN63I.js → chunk-EMEXXAQI.js} +2 -2
- package/dist/{chunk-JUHNEYCH.js → chunk-GCH7CLM4.js} +2 -2
- package/dist/{chunk-R6SBP5M5.js → chunk-GOWBYHYW.js} +4 -4
- package/dist/{chunk-LZQQ4JXY.js → chunk-HGVPPJKE.js} +8 -8
- package/dist/{chunk-HCEJT65A.js → chunk-HKD4TDZP.js} +2 -2
- package/dist/{chunk-XNBX3M35.js → chunk-HLCEKWFS.js} +4 -4
- package/dist/{chunk-4MGFUPQT.js → chunk-HOJL2GKW.js} +4 -4
- package/dist/{chunk-V5ZLUJV7.js → chunk-HRMB72E4.js} +2 -2
- package/dist/{chunk-3GVMUASU.js → chunk-HV7HIMMY.js} +2 -2
- package/dist/{chunk-CSDVRHUX.js → chunk-HWBKMUMV.js} +4 -4
- package/dist/{chunk-KN3WYEH2.js → chunk-IA6F7DU6.js} +4 -4
- package/dist/{chunk-BE5FGUJS.js → chunk-IM5SR7G2.js} +2 -2
- package/dist/chunk-IQQX3NDO.js +96 -0
- package/dist/chunk-IQQX3NDO.js.map +1 -0
- package/dist/{chunk-PJVDIUT2.js → chunk-IRNKHHQM.js} +3 -3
- package/dist/{chunk-4XET5MWR.js → chunk-KKE4SHRS.js} +2 -2
- package/dist/{chunk-ZTTFLIPH.js → chunk-L624DFJV.js} +2 -2
- package/dist/{chunk-OYT7YXQL.js → chunk-MGPN5TZE.js} +5 -5
- package/dist/{chunk-ERY6D2OV.js → chunk-MWPXKZ7O.js} +4 -4
- package/dist/{chunk-SCCE6VWY.js → chunk-N2Z7NHD5.js} +2 -2
- package/dist/chunk-N4R6T5K7.js +95 -0
- package/dist/chunk-N4R6T5K7.js.map +1 -0
- package/dist/{chunk-GNHXFJRR.js → chunk-N6EEY7V3.js} +2 -2
- package/dist/{chunk-OEBHWQSX.js → chunk-OESAYTNG.js} +9 -4
- package/dist/chunk-OESAYTNG.js.map +1 -0
- package/dist/{chunk-4WCDMCIS.js → chunk-PI3GPLE2.js} +2 -2
- package/dist/{chunk-XAUKQZJK.js → chunk-QX4LMVL2.js} +2 -2
- package/dist/{chunk-S5UY5U73.js → chunk-QYJ25FWM.js} +20 -2
- package/dist/{chunk-S5UY5U73.js.map → chunk-QYJ25FWM.js.map} +1 -1
- package/dist/{chunk-6PYX6V3R.js → chunk-RJXVVLBO.js} +4 -4
- package/dist/{chunk-FRCBJLV5.js → chunk-RKKYSSAV.js} +5 -5
- package/dist/{chunk-WF7BZT6V.js → chunk-RR6BIHFX.js} +2 -2
- package/dist/{chunk-NGAU6PNB.js → chunk-RRVQVQF7.js} +5 -5
- package/dist/{chunk-FWPFCK4D.js → chunk-S6G3CJFP.js} +2 -2
- package/dist/{chunk-F33YKDO2.js → chunk-TEST2NBS.js} +5 -5
- package/dist/{chunk-BJZOBG24.js → chunk-UJHXEOU3.js} +2 -2
- package/dist/{chunk-NKJSYZEU.js → chunk-V32626FV.js} +4 -4
- package/dist/{chunk-MLDA44NW.js → chunk-VGXSPUTD.js} +3 -3
- package/dist/{chunk-U4QUDFPJ.js → chunk-VKVOP4OK.js} +2 -2
- package/dist/{chunk-CTXF22BU.js → chunk-VODKYDC4.js} +5 -5
- package/dist/{chunk-DWJH3KXN.js → chunk-WAKGVAOB.js} +4 -4
- package/dist/{chunk-3DO5AJCG.js → chunk-WE2LNTR6.js} +12 -5
- package/dist/chunk-WE2LNTR6.js.map +1 -0
- package/dist/{chunk-SZA44EFA.js → chunk-WOEVBEGJ.js} +4 -4
- package/dist/{chunk-EOTV5BLM.js → chunk-WOP2DRMC.js} +2 -2
- package/dist/{chunk-E6JRPGMN.js → chunk-X3DVZNZH.js} +2 -2
- package/dist/{chunk-MLQYIJTO.js → chunk-XM7QCNZQ.js} +9 -3
- package/dist/chunk-XM7QCNZQ.js.map +1 -0
- package/dist/{chunk-P35CTP6L.js → chunk-Y3WB66XT.js} +7 -7
- package/dist/{chunk-DI46ZEWP.js → chunk-Y5QDXG5N.js} +20 -4
- package/dist/chunk-Y5QDXG5N.js.map +1 -0
- package/dist/{chunk-TNQDSTIA.js → chunk-Y6C4MYZE.js} +7 -7
- package/dist/{chunk-TBZKUZNW.js → chunk-ZPWU7Z6O.js} +3 -3
- package/dist/{chunk-QQSRZUT4.js → chunk-ZXEDKRRT.js} +4 -4
- package/dist/data-display/AlertDialog.js +2 -1
- package/dist/data-display/Avatar.js +3 -3
- package/dist/data-display/CardKit.js +14 -13
- package/dist/data-display/Chart.js +6 -6
- package/dist/data-display/DataViews.js +42 -41
- package/dist/data-display/FleetMap.js +5 -5
- package/dist/data-display/HoverCard.js +2 -2
- package/dist/data-display/InteractiveTooltip.js +2 -2
- package/dist/data-display/Lightbox.js +3 -3
- package/dist/data-display/MapPreview.js +2 -2
- package/dist/data-display/Progress.js +2 -2
- package/dist/data-display/Sheet.js +4 -4
- package/dist/en-US.js +2 -2
- package/dist/feedback/ConfirmAction.js +8 -7
- package/dist/form/AddressAutocomplete.js +5 -5
- package/dist/form/Autocomplete.js +2 -2
- package/dist/form/Calendar.js +3 -3
- package/dist/form/CategorySelect.js +4 -4
- package/dist/form/Command.js +3 -3
- package/dist/form/DateRangePicker.js +10 -10
- package/dist/form/UploadButton.js +2 -2
- package/dist/form/total-form.js +7 -7
- package/dist/layout/ContentToolbar.js +3 -3
- package/dist/layout/ScrollArea.js +2 -2
- package/dist/layout/SettingCard.js +13 -8
- package/dist/locales.js +4 -4
- package/dist/navigation/AppHeader.js +5 -5
- package/dist/pt-BR.js +2 -2
- package/dist/types/components/data-display/AlertDialog/AlertDialog.d.ts.map +1 -1
- package/dist/types/components/data-display/AlertDialog/AlertDialog.parts.d.ts +13 -0
- package/dist/types/components/data-display/AlertDialog/AlertDialog.parts.d.ts.map +1 -0
- package/dist/types/components/data-display/AlertDialog/AlertDialog.types.d.ts +16 -3
- package/dist/types/components/data-display/AlertDialog/AlertDialog.types.d.ts.map +1 -1
- package/dist/types/components/data-display/InteractiveTooltip/InteractiveTooltip.d.ts.map +1 -1
- package/dist/types/components/data-display/InteractiveTooltip/InteractiveTooltip.hooks.d.ts +18 -0
- package/dist/types/components/data-display/InteractiveTooltip/InteractiveTooltip.hooks.d.ts.map +1 -1
- package/dist/types/components/layout/SettingCard/SettingCard.d.ts.map +1 -1
- package/dist/types/components/layout/SettingCard/SettingCard.metrics.d.ts +5 -0
- package/dist/types/components/layout/SettingCard/SettingCard.metrics.d.ts.map +1 -1
- package/dist/types/components/layout/SettingCard/SettingCard.parts.d.ts +2 -0
- package/dist/types/components/layout/SettingCard/SettingCard.parts.d.ts.map +1 -1
- package/dist/types/components/layout/SettingCard/SettingCard.styles.d.ts +9 -2
- package/dist/types/components/layout/SettingCard/SettingCard.styles.d.ts.map +1 -1
- package/dist/types/components/layout/SettingCard/SettingCard.summary.d.ts +33 -0
- package/dist/types/components/layout/SettingCard/SettingCard.summary.d.ts.map +1 -0
- package/dist/types/components/layout/SettingCard/SettingSwitch.d.ts.map +1 -1
- package/dist/types/copy/layout.d.ts +8 -0
- package/dist/types/copy/layout.d.ts.map +1 -1
- package/dist/types/en-US.layout.d.ts.map +1 -1
- package/dist/types/pt-BR.layout.d.ts.map +1 -1
- package/dist/user-avatar.js +4 -4
- package/package.json +1 -1
- package/src/components/data-display/AlertDialog/AlertDialog.md +30 -0
- package/src/components/data-display/AlertDialog/AlertDialog.parts.tsx +180 -0
- package/src/components/data-display/AlertDialog/AlertDialog.tsx +5 -85
- package/src/components/data-display/AlertDialog/AlertDialog.types.ts +17 -3
- package/src/components/data-display/InteractiveTooltip/InteractiveTooltip.hooks.ts +36 -0
- package/src/components/data-display/InteractiveTooltip/InteractiveTooltip.tsx +7 -2
- package/src/components/layout/SettingCard/SettingCard.md +1 -1
- package/src/components/layout/SettingCard/SettingCard.metrics.ts +5 -0
- package/src/components/layout/SettingCard/SettingCard.parts.tsx +4 -0
- package/src/components/layout/SettingCard/SettingCard.styles.ts +17 -5
- package/src/components/layout/SettingCard/SettingCard.summary.tsx +100 -0
- package/src/components/layout/SettingCard/SettingCard.tsx +6 -2
- package/src/components/layout/SettingCard/SettingSwitch.tsx +11 -2
- package/src/components/layout/SettingCard/SettingToggle.md +1 -1
- package/src/copy/layout.ts +8 -0
- package/src/en-US.layout.ts +2 -0
- package/src/pt-BR.layout.ts +2 -0
- package/dist/chunk-3DO5AJCG.js.map +0 -1
- package/dist/chunk-57VL5UX7.js.map +0 -1
- package/dist/chunk-DI46ZEWP.js.map +0 -1
- package/dist/chunk-IC7GHPMK.js.map +0 -1
- package/dist/chunk-MLQYIJTO.js.map +0 -1
- package/dist/chunk-OEBHWQSX.js.map +0 -1
- package/dist/chunk-OG6LYQ7C.js.map +0 -1
- /package/dist/{chunk-GXQDWHPN.js.map → chunk-2CJZLL5Y.js.map} +0 -0
- /package/dist/{chunk-STTULW2K.js.map → chunk-2KVWOTEQ.js.map} +0 -0
- /package/dist/{chunk-ISW5K72V.js.map → chunk-2ZRZTGWP.js.map} +0 -0
- /package/dist/{chunk-QOLIBVGS.js.map → chunk-3CIIB74Y.js.map} +0 -0
- /package/dist/{chunk-2OTBMU5Z.js.map → chunk-44LYXLW7.js.map} +0 -0
- /package/dist/{chunk-LYVTJLCF.js.map → chunk-56JF5PZK.js.map} +0 -0
- /package/dist/{chunk-5KGABAQB.js.map → chunk-5752357K.js.map} +0 -0
- /package/dist/{chunk-SPZAEMGW.js.map → chunk-5WX6U34F.js.map} +0 -0
- /package/dist/{chunk-QHXMNSOZ.js.map → chunk-6L6VXRLJ.js.map} +0 -0
- /package/dist/{chunk-VVFASSFY.js.map → chunk-6VGB4OX2.js.map} +0 -0
- /package/dist/{chunk-FRP7NM6X.js.map → chunk-6WZUKV55.js.map} +0 -0
- /package/dist/{chunk-QEINKMMX.js.map → chunk-7C763T3K.js.map} +0 -0
- /package/dist/{chunk-PARTZ7XI.js.map → chunk-7JKDB5J5.js.map} +0 -0
- /package/dist/{chunk-G5XHAN56.js.map → chunk-7WWPKA7Y.js.map} +0 -0
- /package/dist/{chunk-QYV7KLEN.js.map → chunk-ASGSC5UA.js.map} +0 -0
- /package/dist/{chunk-7GQ2ZZBQ.js.map → chunk-BCTRC6AR.js.map} +0 -0
- /package/dist/{chunk-XSHWEUDB.js.map → chunk-BE5Z36XZ.js.map} +0 -0
- /package/dist/{chunk-PM7SI4YT.js.map → chunk-BJOKL5PQ.js.map} +0 -0
- /package/dist/{chunk-PGPPN63I.js.map → chunk-EMEXXAQI.js.map} +0 -0
- /package/dist/{chunk-JUHNEYCH.js.map → chunk-GCH7CLM4.js.map} +0 -0
- /package/dist/{chunk-R6SBP5M5.js.map → chunk-GOWBYHYW.js.map} +0 -0
- /package/dist/{chunk-LZQQ4JXY.js.map → chunk-HGVPPJKE.js.map} +0 -0
- /package/dist/{chunk-HCEJT65A.js.map → chunk-HKD4TDZP.js.map} +0 -0
- /package/dist/{chunk-XNBX3M35.js.map → chunk-HLCEKWFS.js.map} +0 -0
- /package/dist/{chunk-4MGFUPQT.js.map → chunk-HOJL2GKW.js.map} +0 -0
- /package/dist/{chunk-V5ZLUJV7.js.map → chunk-HRMB72E4.js.map} +0 -0
- /package/dist/{chunk-3GVMUASU.js.map → chunk-HV7HIMMY.js.map} +0 -0
- /package/dist/{chunk-CSDVRHUX.js.map → chunk-HWBKMUMV.js.map} +0 -0
- /package/dist/{chunk-KN3WYEH2.js.map → chunk-IA6F7DU6.js.map} +0 -0
- /package/dist/{chunk-BE5FGUJS.js.map → chunk-IM5SR7G2.js.map} +0 -0
- /package/dist/{chunk-PJVDIUT2.js.map → chunk-IRNKHHQM.js.map} +0 -0
- /package/dist/{chunk-4XET5MWR.js.map → chunk-KKE4SHRS.js.map} +0 -0
- /package/dist/{chunk-ZTTFLIPH.js.map → chunk-L624DFJV.js.map} +0 -0
- /package/dist/{chunk-OYT7YXQL.js.map → chunk-MGPN5TZE.js.map} +0 -0
- /package/dist/{chunk-ERY6D2OV.js.map → chunk-MWPXKZ7O.js.map} +0 -0
- /package/dist/{chunk-SCCE6VWY.js.map → chunk-N2Z7NHD5.js.map} +0 -0
- /package/dist/{chunk-GNHXFJRR.js.map → chunk-N6EEY7V3.js.map} +0 -0
- /package/dist/{chunk-4WCDMCIS.js.map → chunk-PI3GPLE2.js.map} +0 -0
- /package/dist/{chunk-XAUKQZJK.js.map → chunk-QX4LMVL2.js.map} +0 -0
- /package/dist/{chunk-6PYX6V3R.js.map → chunk-RJXVVLBO.js.map} +0 -0
- /package/dist/{chunk-FRCBJLV5.js.map → chunk-RKKYSSAV.js.map} +0 -0
- /package/dist/{chunk-WF7BZT6V.js.map → chunk-RR6BIHFX.js.map} +0 -0
- /package/dist/{chunk-NGAU6PNB.js.map → chunk-RRVQVQF7.js.map} +0 -0
- /package/dist/{chunk-FWPFCK4D.js.map → chunk-S6G3CJFP.js.map} +0 -0
- /package/dist/{chunk-F33YKDO2.js.map → chunk-TEST2NBS.js.map} +0 -0
- /package/dist/{chunk-BJZOBG24.js.map → chunk-UJHXEOU3.js.map} +0 -0
- /package/dist/{chunk-NKJSYZEU.js.map → chunk-V32626FV.js.map} +0 -0
- /package/dist/{chunk-MLDA44NW.js.map → chunk-VGXSPUTD.js.map} +0 -0
- /package/dist/{chunk-U4QUDFPJ.js.map → chunk-VKVOP4OK.js.map} +0 -0
- /package/dist/{chunk-CTXF22BU.js.map → chunk-VODKYDC4.js.map} +0 -0
- /package/dist/{chunk-DWJH3KXN.js.map → chunk-WAKGVAOB.js.map} +0 -0
- /package/dist/{chunk-SZA44EFA.js.map → chunk-WOEVBEGJ.js.map} +0 -0
- /package/dist/{chunk-EOTV5BLM.js.map → chunk-WOP2DRMC.js.map} +0 -0
- /package/dist/{chunk-E6JRPGMN.js.map → chunk-X3DVZNZH.js.map} +0 -0
- /package/dist/{chunk-P35CTP6L.js.map → chunk-Y3WB66XT.js.map} +0 -0
- /package/dist/{chunk-TNQDSTIA.js.map → chunk-Y6C4MYZE.js.map} +0 -0
- /package/dist/{chunk-TBZKUZNW.js.map → chunk-ZPWU7Z6O.js.map} +0 -0
- /package/dist/{chunk-QQSRZUT4.js.map → chunk-ZXEDKRRT.js.map} +0 -0
|
@@ -40,31 +40,32 @@ import "../../../chunk-QBTBRJ2Q.js";
|
|
|
40
40
|
import "../../../chunk-KAK5SAEA.js";
|
|
41
41
|
import {
|
|
42
42
|
ScrollArea
|
|
43
|
-
} from "../../../chunk-
|
|
43
|
+
} from "../../../chunk-MWPXKZ7O.js";
|
|
44
44
|
import "../../../chunk-QUWK7SYN.js";
|
|
45
45
|
import "../../../chunk-BAZXVFLR.js";
|
|
46
|
-
import "../../../chunk-4VMFS3VJ.js";
|
|
47
46
|
import "../../../chunk-I7GSRTGQ.js";
|
|
47
|
+
import "../../../chunk-4VMFS3VJ.js";
|
|
48
48
|
import "../../../chunk-QGUNUXTT.js";
|
|
49
49
|
import {
|
|
50
50
|
SETTING_GRID_CONTAINER,
|
|
51
51
|
SettingGrid
|
|
52
|
-
} from "../../../chunk-
|
|
52
|
+
} from "../../../chunk-WAKGVAOB.js";
|
|
53
53
|
import {
|
|
54
54
|
SettingCard
|
|
55
|
-
} from "../../../chunk-
|
|
55
|
+
} from "../../../chunk-OESAYTNG.js";
|
|
56
56
|
import {
|
|
57
57
|
SettingToggle
|
|
58
|
-
} from "../../../chunk-
|
|
58
|
+
} from "../../../chunk-IRNKHHQM.js";
|
|
59
59
|
import {
|
|
60
60
|
SettingGroup
|
|
61
|
-
} from "../../../chunk-
|
|
61
|
+
} from "../../../chunk-ZXEDKRRT.js";
|
|
62
62
|
import "../../../chunk-XJQNSMGA.js";
|
|
63
63
|
import "../../../chunk-SALQ65SM.js";
|
|
64
|
-
import "../../../chunk-
|
|
65
|
-
import "../../../chunk-
|
|
66
|
-
import "../../../chunk-
|
|
67
|
-
import "../../../chunk-
|
|
64
|
+
import "../../../chunk-Y5QDXG5N.js";
|
|
65
|
+
import "../../../chunk-N4R6T5K7.js";
|
|
66
|
+
import "../../../chunk-2JTZWQ25.js";
|
|
67
|
+
import "../../../chunk-WE2LNTR6.js";
|
|
68
|
+
import "../../../chunk-BFRVMCQM.js";
|
|
68
69
|
import "../../../chunk-QS5OHHBY.js";
|
|
69
70
|
import {
|
|
70
71
|
Accordion,
|
|
@@ -84,6 +85,10 @@ import "../../../chunk-SIZOJNB2.js";
|
|
|
84
85
|
import "../../../chunk-NIF4IXQU.js";
|
|
85
86
|
import "../../../chunk-URB3VVMR.js";
|
|
86
87
|
import "../../../chunk-BBXJQI4S.js";
|
|
88
|
+
import "../../../chunk-TAF3YYMK.js";
|
|
89
|
+
import "../../../chunk-XM7QCNZQ.js";
|
|
90
|
+
import "../../../chunk-TQCQCW2P.js";
|
|
91
|
+
import "../../../chunk-QYJ25FWM.js";
|
|
87
92
|
import "../../../chunk-2GTORM5E.js";
|
|
88
93
|
import "../../../chunk-OZPLAOI4.js";
|
|
89
94
|
import "../../../chunk-GJRKWDRR.js";
|
|
@@ -98,6 +103,9 @@ import {
|
|
|
98
103
|
useTableFilterContext
|
|
99
104
|
} from "../../../chunk-7AIL2F5E.js";
|
|
100
105
|
import "../../../chunk-MOLQGQEQ.js";
|
|
106
|
+
import {
|
|
107
|
+
MultiSelectDropdown
|
|
108
|
+
} from "../../../chunk-2QUUCEDC.js";
|
|
101
109
|
import {
|
|
102
110
|
FilterTrigger
|
|
103
111
|
} from "../../../chunk-YALCWIMX.js";
|
|
@@ -116,9 +124,6 @@ import {
|
|
|
116
124
|
import {
|
|
117
125
|
SavedViewsMenu
|
|
118
126
|
} from "../../../chunk-6H73SHHN.js";
|
|
119
|
-
import {
|
|
120
|
-
MultiSelectDropdown
|
|
121
|
-
} from "../../../chunk-2QUUCEDC.js";
|
|
122
127
|
import "../../../chunk-VQ5GKEGO.js";
|
|
123
128
|
import "../../../chunk-4PJ52YBO.js";
|
|
124
129
|
import "../../../chunk-ZGCPDA3F.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
AppHeaderDetails
|
|
4
|
-
} from "../../../../chunk-
|
|
5
|
-
import "../../../../chunk-
|
|
6
|
-
import "../../../../chunk-TBDAH7WC.js";
|
|
7
|
-
import "../../../../chunk-LYVTJLCF.js";
|
|
8
|
-
import "../../../../chunk-CRN4KKNI.js";
|
|
4
|
+
} from "../../../../chunk-6WZUKV55.js";
|
|
5
|
+
import "../../../../chunk-HGVPPJKE.js";
|
|
9
6
|
import "../../../../chunk-3U3H3BZM.js";
|
|
7
|
+
import "../../../../chunk-TBDAH7WC.js";
|
|
10
8
|
import "../../../../chunk-FPVYD7BO.js";
|
|
9
|
+
import "../../../../chunk-56JF5PZK.js";
|
|
11
10
|
import "../../../../chunk-IM4DMKH4.js";
|
|
11
|
+
import "../../../../chunk-CRN4KKNI.js";
|
|
12
12
|
import "../../../../chunk-MQ277OLB.js";
|
|
13
13
|
import "../../../../chunk-ST7B54JN.js";
|
|
14
14
|
import "../../../../chunk-Z2JH5KW5.js";
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
} from "../../../chunk-AH4XGLE2.js";
|
|
53
53
|
import {
|
|
54
54
|
AppHeaderDetails
|
|
55
|
-
} from "../../../chunk-
|
|
55
|
+
} from "../../../chunk-6WZUKV55.js";
|
|
56
56
|
import {
|
|
57
57
|
AppHeaderBrand
|
|
58
58
|
} from "../../../chunk-GWFAINQ7.js";
|
|
@@ -68,13 +68,13 @@ import "../../../chunk-IWFENXST.js";
|
|
|
68
68
|
import "../../../chunk-52G2KRL4.js";
|
|
69
69
|
import "../../../chunk-TMSWLFL4.js";
|
|
70
70
|
import "../../../chunk-KIHGTL2D.js";
|
|
71
|
-
import "../../../chunk-
|
|
72
|
-
import "../../../chunk-TBDAH7WC.js";
|
|
73
|
-
import "../../../chunk-LYVTJLCF.js";
|
|
74
|
-
import "../../../chunk-CRN4KKNI.js";
|
|
71
|
+
import "../../../chunk-HGVPPJKE.js";
|
|
75
72
|
import "../../../chunk-3U3H3BZM.js";
|
|
73
|
+
import "../../../chunk-TBDAH7WC.js";
|
|
76
74
|
import "../../../chunk-FPVYD7BO.js";
|
|
75
|
+
import "../../../chunk-56JF5PZK.js";
|
|
77
76
|
import "../../../chunk-IM4DMKH4.js";
|
|
77
|
+
import "../../../chunk-CRN4KKNI.js";
|
|
78
78
|
import "../../../chunk-WVML3ENZ.js";
|
|
79
79
|
import {
|
|
80
80
|
DropdownMenu
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
EN_US_LIGHTBOX_COPY,
|
|
7
7
|
EN_US_MAP_PREVIEW_COPY,
|
|
8
8
|
EN_US_TIMING_DIAGRAM_COPY
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-2CJZLL5Y.js";
|
|
10
10
|
import "../chunk-PZS7N74L.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-AA2X5GOT.js";
|
|
12
12
|
import "../chunk-PZ5AY32C.js";
|
|
13
13
|
export {
|
|
14
14
|
EN_US_CAROUSEL_COPY,
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
PT_BR_LIGHTBOX_COPY,
|
|
7
7
|
PT_BR_MAP_PREVIEW_COPY,
|
|
8
8
|
PT_BR_TIMING_DIAGRAM_COPY
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-HRMB72E4.js";
|
|
10
10
|
import "../chunk-WUE5EK42.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-3ZKGNEP2.js";
|
|
12
12
|
import "../chunk-PZ5AY32C.js";
|
|
13
13
|
export {
|
|
14
14
|
PT_BR_CAROUSEL_COPY,
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
UserAvatar,
|
|
4
4
|
UserMenu
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-WOP2DRMC.js";
|
|
6
6
|
import "../../chunk-UDQSIRAP.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-EMEXXAQI.js";
|
|
8
|
+
import "../../chunk-Y6C4MYZE.js";
|
|
9
|
+
import "../../chunk-MTEQEPNY.js";
|
|
9
10
|
import "../../chunk-6ZZGK5DT.js";
|
|
10
11
|
import "../../chunk-3ZVUNSFF.js";
|
|
11
|
-
import "../../chunk-MTEQEPNY.js";
|
|
12
12
|
import "../../chunk-VUHLNYAE.js";
|
|
13
13
|
import "../../chunk-2GSIEDGN.js";
|
|
14
14
|
import "../../chunk-WN5PNP6F.js";
|
package/dist/charts.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./chunk-5KLSLD72.js";
|
|
2
2
|
import {
|
|
3
3
|
SpecChart
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7C763T3K.js";
|
|
5
5
|
import {
|
|
6
6
|
Chart
|
|
7
7
|
} from "./chunk-UFCULHHH.js";
|
|
@@ -10,7 +10,11 @@ import {
|
|
|
10
10
|
ChartSpecError,
|
|
11
11
|
parseChartSpec,
|
|
12
12
|
specToChartProps
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-GOWBYHYW.js";
|
|
14
|
+
import {
|
|
15
|
+
chartValueFormatter,
|
|
16
|
+
formatChartValue
|
|
17
|
+
} from "./chunk-QVWNK4JO.js";
|
|
14
18
|
import {
|
|
15
19
|
getChartSpecRenderer,
|
|
16
20
|
getRegisteredChartSpecTypes,
|
|
@@ -27,10 +31,6 @@ import {
|
|
|
27
31
|
ChartTooltipContent
|
|
28
32
|
} from "./chunk-RIRTW5EU.js";
|
|
29
33
|
import "./chunk-XRGJVS4P.js";
|
|
30
|
-
import {
|
|
31
|
-
chartValueFormatter,
|
|
32
|
-
formatChartValue
|
|
33
|
-
} from "./chunk-QVWNK4JO.js";
|
|
34
34
|
import "./chunk-3IPPMWUA.js";
|
|
35
35
|
import "./chunk-DH6J64PS.js";
|
|
36
36
|
import "./chunk-25MSGLNU.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-PZS7N74L.js";
|
|
6
6
|
import {
|
|
7
7
|
EN_US_TABLE_FILTER_COPY
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AA2X5GOT.js";
|
|
9
9
|
|
|
10
10
|
// src/en-US.data-display.ts
|
|
11
11
|
var EN_US_LIGHTBOX_COPY = {
|
|
@@ -256,4 +256,4 @@ export {
|
|
|
256
256
|
EN_US_DATA_STATE_COPY,
|
|
257
257
|
EN_US_DATA_VIEWS_COPY
|
|
258
258
|
};
|
|
259
|
-
//# sourceMappingURL=chunk-
|
|
259
|
+
//# sourceMappingURL=chunk-2CJZLL5Y.js.map
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
headerStyles,
|
|
4
4
|
iconStyles,
|
|
5
5
|
titleStyles
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WE2LNTR6.js";
|
|
7
7
|
import {
|
|
8
8
|
SETTING_CARD
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BFRVMCQM.js";
|
|
10
10
|
import {
|
|
11
11
|
Collapsible
|
|
12
12
|
} from "./chunk-JYWF76Z5.js";
|
|
@@ -41,6 +41,7 @@ var SettingHeader = ({
|
|
|
41
41
|
status,
|
|
42
42
|
trailing,
|
|
43
43
|
labelFor,
|
|
44
|
+
info,
|
|
44
45
|
dataTestId
|
|
45
46
|
}) => {
|
|
46
47
|
const theme = useTheme();
|
|
@@ -67,7 +68,8 @@ var SettingHeader = ({
|
|
|
67
68
|
variant: "outlined",
|
|
68
69
|
dataTestId: partTestId(dataTestId, "status")
|
|
69
70
|
}
|
|
70
|
-
)
|
|
71
|
+
),
|
|
72
|
+
info
|
|
71
73
|
] }),
|
|
72
74
|
trailing
|
|
73
75
|
] });
|
|
@@ -137,4 +139,4 @@ export {
|
|
|
137
139
|
PendingSpinner,
|
|
138
140
|
LearnMore
|
|
139
141
|
};
|
|
140
|
-
//# sourceMappingURL=chunk-
|
|
142
|
+
//# sourceMappingURL=chunk-2JTZWQ25.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/layout/SettingCard/SettingCard.parts.tsx"],"sourcesContent":["import Box from '@mui/material/Box/index.js';\nimport CircularProgress from '@mui/material/CircularProgress/index.js';\nimport { useTheme } from '@mui/material/styles/index.js';\nimport React, { useId, useState } from 'react';\n\nimport { Icon } from '../../../icons';\nimport { rem } from '../../../tokens/relative';\nimport { Chip } from '../../data-display/Chip';\nimport { Button } from '../../form/Button';\nimport { BUTTON_SIZES } from '../../form/Button/Button.metrics';\nimport { Collapsible } from '../Collapsible';\n\nimport { SETTING_CARD } from './SettingCard.metrics';\nimport { errorStyles, headerStyles, iconStyles, titleStyles } from './SettingCard.styles';\nimport type { SettingHeadingLevel, SettingStatus } from './SettingCard.types';\n\n/** `<root>-<part>` when the host gave a root test id, else nothing. */\nexport const partTestId = (root: string | undefined, part: string): string | undefined =>\n root ? `${root}-${part}` : undefined;\n\ninterface HeaderProps {\n titleId: string;\n title: string;\n headingLevel: SettingHeadingLevel;\n icon?: React.ReactNode;\n status?: SettingStatus;\n /** Rendered at the row's far end — the Edit trigger, or a switch. */\n trailing?: React.ReactNode;\n /** Renders the title as a `<label>` for this control instead of a heading. */\n labelFor?: string;\n /** Beside the title, after the status pill — the [i] while the summary is cut. */\n info?: React.ReactNode;\n dataTestId?: string;\n}\n\n/**\n * Icon, title, status pill, and whatever the row ends with.\n *\n * A switch card's title is the switch's `<label>`, so the words are both its\n * accessible name and a tap target far larger than the track. An editable\n * card's title is a heading, so the page outline lists every setting.\n */\nexport const SettingHeader: React.FC<HeaderProps> = ({\n titleId,\n title,\n headingLevel,\n icon,\n status,\n trailing,\n labelFor,\n info,\n dataTestId,\n}) => {\n const theme = useTheme();\n return (\n <Box sx={headerStyles(theme)}>\n {icon && (\n <Box component=\"span\" aria-hidden sx={iconStyles(theme)}>\n {icon}\n </Box>\n )}\n <Box sx={{ display: 'flex', alignItems: 'center', flexWrap: 'wrap', gap: 1, minWidth: 0, flex: 1 }}>\n <Box\n component={labelFor ? 'label' : headingLevel}\n id={titleId}\n htmlFor={labelFor}\n sx={{ ...titleStyles(theme), ...(labelFor ? { cursor: 'pointer' } : {}) }}\n data-testid={partTestId(dataTestId, 'title')}\n >\n {title}\n </Box>\n {status && (\n <Chip\n label={status.label}\n color={status.color ?? 'neutral'}\n size=\"sm\"\n variant=\"outlined\"\n dataTestId={partTestId(dataTestId, 'status')}\n />\n )}\n {info}\n </Box>\n {trailing}\n </Box>\n );\n};\n\n/**\n * The failure line. `role=\"alert\"` so it is announced the moment it appears,\n * without anyone having to move focus to find it.\n */\nexport const SaveError: React.FC<{ id: string; message: string | null; dataTestId?: string }> = ({\n id,\n message,\n dataTestId,\n}) => {\n const theme = useTheme();\n if (!message) return null;\n return (\n <Box component=\"p\" id={id} role=\"alert\" sx={errorStyles(theme)} data-testid={partTestId(dataTestId, 'error')}>\n {message}\n </Box>\n );\n};\n\n/** The spinner that rides beside a pending control; decorative — the words are announced separately. */\nexport const PendingSpinner: React.FC<{ dataTestId?: string }> = ({ dataTestId }) => {\n const theme = useTheme();\n return (\n <CircularProgress\n size={rem(theme, SETTING_CARD.spinnerSize)}\n color=\"inherit\"\n aria-hidden\n data-testid={partTestId(dataTestId, 'saving')}\n />\n );\n};\n\n/**\n * The \"learn more\" disclosure: a text button that owns `aria-expanded`, and\n * the collapsible region it controls. Closed by default — it is the longer\n * explanation, and the form is what the reader came for.\n */\nexport const LearnMore: React.FC<{\n label: string;\n children: React.ReactNode;\n dataTestId?: string;\n}> = ({ label, children, dataTestId }) => {\n const [expanded, setExpanded] = useState(false);\n const regionId = useId();\n const theme = useTheme();\n return (\n // Pulled out by the button's own padding, so the words line up with the form above.\n <Box sx={{ marginLeft: `-${rem(theme, BUTTON_SIZES.sm.paddingHorizontal)}` }}>\n <Button\n variant=\"text\"\n size=\"sm\"\n aria-expanded={expanded}\n aria-controls={regionId}\n onClick={() => setExpanded((was) => !was)}\n icon={\n <Box\n component=\"span\"\n sx={{\n display: 'inline-flex',\n transform: expanded ? 'rotate(180deg)' : 'none',\n transition: theme.transitions.create('transform'),\n }}\n >\n <Icon name=\"ExpandMore\" size=\"xs\" />\n </Box>\n }\n iconPosition=\"right\"\n dataTestId={partTestId(dataTestId, 'learn-more')}\n >\n {label}\n </Button>\n {/* Kept mounted so `aria-controls` always names an element that exists. */}\n <Collapsible open={expanded} keepMounted sx={{ marginLeft: rem(theme, BUTTON_SIZES.sm.paddingHorizontal) }} dataTestId={partTestId(dataTestId, 'learn-more-content')}>\n <Box id={regionId} sx={{ ...theme.typography.body2, color: 'text.secondary', pt: 1 }}>\n {children}\n </Box>\n </Collapsible>\n </Box>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,SAAS;AAChB,OAAO,sBAAsB;AAC7B,SAAS,gBAAgB;AACzB,SAAgB,OAAO,gBAAgB;AAsD/B,cAIF,YAJE;AAxCD,IAAM,aAAa,CAAC,MAA0B,SACnD,OAAO,GAAG,IAAI,IAAI,IAAI,KAAK;AAwBtB,IAAM,gBAAuC,CAAC;AAAA,EACnD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,QAAQ,SAAS;AACvB,SACE,qBAAC,OAAI,IAAI,aAAa,KAAK,GACxB;AAAA,YACC,oBAAC,OAAI,WAAU,QAAO,eAAW,MAAC,IAAI,WAAW,KAAK,GACnD,gBACH;AAAA,IAEF,qBAAC,OAAI,IAAI,EAAE,SAAS,QAAQ,YAAY,UAAU,UAAU,QAAQ,KAAK,GAAG,UAAU,GAAG,MAAM,EAAE,GAC/F;AAAA;AAAA,QAAC;AAAA;AAAA,UACC,WAAW,WAAW,UAAU;AAAA,UAChC,IAAI;AAAA,UACJ,SAAS;AAAA,UACT,IAAI,EAAE,GAAG,YAAY,KAAK,GAAG,GAAI,WAAW,EAAE,QAAQ,UAAU,IAAI,CAAC,EAAG;AAAA,UACxE,eAAa,WAAW,YAAY,OAA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AA,gBACF,SAAS;AAAA,gBACT,WAAW,WAAW,mBAAmB;AAAA,gBACzC,YAAY,MAAM,YAAY,OAAO,WAAW;AAAA,cAClD;AAAA,cAEA,8BAAC,QAAK,MAAK,cAAa,MAAK,MAAK;AAAA;AAAA,UACpC;AAAA,UAEF,cAAa;AAAA,UACb,YAAY,WAAW,YAAY,YAAY;AAAA,UAE9C;AAAA;AAAA,MACH;AAAA,MAEA,oBAAC,eAAY,MAAM,UAAU,aAAW,MAAC,IAAI,EAAE,YAAY,IAAI,OAAO,aAAa,GAAG,iBAAiB,EAAE,GAAG,YAAY,WAAW,YAAY,oBAAoB,GACjK,8BAAC,OAAI,IAAI,UAAU,IAAI,EAAE,GAAG,MAAM,WAAW,OAAO,OAAO,kBAAkB,IAAI,EAAE,GAChF,UACH,GACF;AAAA,OACF;AAAA;AAEJ;","names":[]}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
progressLabelText,
|
|
3
|
+
resolveProgressProps
|
|
4
|
+
} from "./chunk-5JEOLUWJ.js";
|
|
1
5
|
import {
|
|
2
6
|
barEmphasisStyles,
|
|
3
7
|
barVariantStyles,
|
|
@@ -6,10 +10,6 @@ import {
|
|
|
6
10
|
getSizeStyles,
|
|
7
11
|
pulseAnimation
|
|
8
12
|
} from "./chunk-6REPQ352.js";
|
|
9
|
-
import {
|
|
10
|
-
progressLabelText,
|
|
11
|
-
resolveProgressProps
|
|
12
|
-
} from "./chunk-5JEOLUWJ.js";
|
|
13
13
|
import {
|
|
14
14
|
rem,
|
|
15
15
|
rems
|
|
@@ -243,4 +243,4 @@ Progress.displayName = "Progress";
|
|
|
243
243
|
export {
|
|
244
244
|
Progress
|
|
245
245
|
};
|
|
246
|
-
//# sourceMappingURL=chunk-
|
|
246
|
+
//# sourceMappingURL=chunk-2KVWOTEQ.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ACTIVATION_KEYS,
|
|
3
|
-
navigateFocus
|
|
4
|
-
} from "./chunk-FFQ4NOJT.js";
|
|
5
1
|
import {
|
|
6
2
|
isDateDisabledBy,
|
|
7
3
|
nextRangeStep
|
|
8
4
|
} from "./chunk-E2Y7G4MP.js";
|
|
5
|
+
import {
|
|
6
|
+
ACTIVATION_KEYS,
|
|
7
|
+
navigateFocus
|
|
8
|
+
} from "./chunk-FFQ4NOJT.js";
|
|
9
9
|
import {
|
|
10
10
|
addMonths,
|
|
11
11
|
generateMonthMatrix,
|
|
@@ -227,4 +227,4 @@ var useCalendar = (props) => {
|
|
|
227
227
|
export {
|
|
228
228
|
useCalendar
|
|
229
229
|
};
|
|
230
|
-
//# sourceMappingURL=chunk-
|
|
230
|
+
//# sourceMappingURL=chunk-2ZRZTGWP.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-NSKQANRY.js";
|
|
4
4
|
import {
|
|
5
5
|
ConfirmActionDialog
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UJHXEOU3.js";
|
|
7
7
|
import {
|
|
8
8
|
useConfirmAction
|
|
9
9
|
} from "./chunk-EMYESBIT.js";
|
|
@@ -50,4 +50,4 @@ function useRemoveConfirm({
|
|
|
50
50
|
export {
|
|
51
51
|
useRemoveConfirm
|
|
52
52
|
};
|
|
53
|
-
//# sourceMappingURL=chunk-
|
|
53
|
+
//# sourceMappingURL=chunk-3CIIB74Y.js.map
|
|
@@ -12,11 +12,13 @@ var PT_BR_SETTING_CARD_COPY = {
|
|
|
12
12
|
save: "Salvar",
|
|
13
13
|
saving: "Salvando\u2026",
|
|
14
14
|
learnMore: "Saiba mais",
|
|
15
|
-
saveFailed: "N\xE3o foi poss\xEDvel salvar. Tente novamente."
|
|
15
|
+
saveFailed: "N\xE3o foi poss\xEDvel salvar. Tente novamente.",
|
|
16
|
+
moreInfo: "Ver o texto inteiro"
|
|
16
17
|
};
|
|
17
18
|
var PT_BR_SETTING_SWITCH_COPY = {
|
|
18
19
|
saving: "Salvando\u2026",
|
|
19
|
-
saveFailed: "N\xE3o foi poss\xEDvel salvar. Tente novamente."
|
|
20
|
+
saveFailed: "N\xE3o foi poss\xEDvel salvar. Tente novamente.",
|
|
21
|
+
moreInfo: "Ver o texto inteiro"
|
|
20
22
|
};
|
|
21
23
|
|
|
22
24
|
export {
|
|
@@ -24,4 +26,4 @@ export {
|
|
|
24
26
|
PT_BR_SETTING_CARD_COPY,
|
|
25
27
|
PT_BR_SETTING_SWITCH_COPY
|
|
26
28
|
};
|
|
27
|
-
//# sourceMappingURL=chunk-
|
|
29
|
+
//# sourceMappingURL=chunk-3ZKGNEP2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/pt-BR.layout.ts"],"sourcesContent":["/**\n * The pt-BR pack for the layout family. Split out of `pt-BR.ts`, which is a\n * barrel over this folder — see that file for why.\n */\nimport type {\n SettingCardCopy,\n SettingSwitchCopy,\n TableFilterCopy,\n} from './copy';\n\nexport const PT_BR_TABLE_FILTER_COPY: TableFilterCopy = {\n clearAllFilters: \"Limpar todos os filtros\",\n clearKeyword: \"Limpar a busca\",\n invalidRange: \"O máximo deve ser maior ou igual ao mínimo.\",\n rangeMin: \"Mínimo\",\n rangeMax: \"Máximo\",\n};\n\nexport const PT_BR_SETTING_CARD_COPY: SettingCardCopy = {\n edit: \"Editar\",\n cancel: \"Cancelar\",\n save: \"Salvar\",\n saving: \"Salvando…\",\n learnMore: \"Saiba mais\",\n saveFailed: \"Não foi possível salvar. Tente novamente.\",\n};\n\nexport const PT_BR_SETTING_SWITCH_COPY: SettingSwitchCopy = {\n saving: \"Salvando…\",\n saveFailed: \"Não foi possível salvar. Tente novamente.\",\n};\n"],"mappings":";AAUO,IAAM,0BAA2C;AAAA,EACtD,iBAAiB;AAAA,EACjB,cAAc;AAAA,EACd,cAAc;AAAA,EACd,UAAU;AAAA,EACV,UAAU;AACZ;AAEO,IAAM,0BAA2C;AAAA,EACtD,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,YAAY;
|
|
1
|
+
{"version":3,"sources":["../src/pt-BR.layout.ts"],"sourcesContent":["/**\n * The pt-BR pack for the layout family. Split out of `pt-BR.ts`, which is a\n * barrel over this folder — see that file for why.\n */\nimport type {\n SettingCardCopy,\n SettingSwitchCopy,\n TableFilterCopy,\n} from './copy';\n\nexport const PT_BR_TABLE_FILTER_COPY: TableFilterCopy = {\n clearAllFilters: \"Limpar todos os filtros\",\n clearKeyword: \"Limpar a busca\",\n invalidRange: \"O máximo deve ser maior ou igual ao mínimo.\",\n rangeMin: \"Mínimo\",\n rangeMax: \"Máximo\",\n};\n\nexport const PT_BR_SETTING_CARD_COPY: SettingCardCopy = {\n edit: \"Editar\",\n cancel: \"Cancelar\",\n save: \"Salvar\",\n saving: \"Salvando…\",\n learnMore: \"Saiba mais\",\n saveFailed: \"Não foi possível salvar. Tente novamente.\",\n moreInfo: \"Ver o texto inteiro\",\n};\n\nexport const PT_BR_SETTING_SWITCH_COPY: SettingSwitchCopy = {\n saving: \"Salvando…\",\n saveFailed: \"Não foi possível salvar. Tente novamente.\",\n moreInfo: \"Ver o texto inteiro\",\n};\n"],"mappings":";AAUO,IAAM,0BAA2C;AAAA,EACtD,iBAAiB;AAAA,EACjB,cAAc;AAAA,EACd,cAAc;AAAA,EACd,UAAU;AAAA,EACV,UAAU;AACZ;AAEO,IAAM,0BAA2C;AAAA,EACtD,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,UAAU;AACZ;AAEO,IAAM,4BAA+C;AAAA,EAC1D,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,UAAU;AACZ;","names":[]}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NumberBoundInput
|
|
3
3
|
} from "./chunk-CMVEXPUV.js";
|
|
4
|
-
import {
|
|
5
|
-
RangePresets
|
|
6
|
-
} from "./chunk-7D7CJRL7.js";
|
|
7
|
-
import {
|
|
8
|
-
presetsFor
|
|
9
|
-
} from "./chunk-CBOB5AV6.js";
|
|
10
4
|
import {
|
|
11
5
|
isRangeInverted,
|
|
12
6
|
isRangeSet,
|
|
13
7
|
numericRange,
|
|
14
8
|
rangeChipLabel
|
|
15
9
|
} from "./chunk-GCZJH4XL.js";
|
|
10
|
+
import {
|
|
11
|
+
RangePresets
|
|
12
|
+
} from "./chunk-7D7CJRL7.js";
|
|
13
|
+
import {
|
|
14
|
+
presetsFor
|
|
15
|
+
} from "./chunk-CBOB5AV6.js";
|
|
16
16
|
import {
|
|
17
17
|
useDataViewsCopy
|
|
18
18
|
} from "./chunk-KHG57NAE.js";
|
|
@@ -291,4 +291,4 @@ export {
|
|
|
291
291
|
RangePill,
|
|
292
292
|
PanelRangeField
|
|
293
293
|
};
|
|
294
|
-
//# sourceMappingURL=chunk-
|
|
294
|
+
//# sourceMappingURL=chunk-44LYXLW7.js.map
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AlertDialogFooter
|
|
3
|
+
} from "./chunk-IQQX3NDO.js";
|
|
1
4
|
import {
|
|
2
5
|
neutralTones
|
|
3
6
|
} from "./chunk-FQ6UW7IY.js";
|
|
@@ -10,16 +13,13 @@ import {
|
|
|
10
13
|
import Close from "@mui/icons-material/Close";
|
|
11
14
|
import Error from "@mui/icons-material/Error";
|
|
12
15
|
import Info from "@mui/icons-material/Info";
|
|
13
|
-
import Button from "@mui/material/Button/index.js";
|
|
14
|
-
import CircularProgress from "@mui/material/CircularProgress/index.js";
|
|
15
16
|
import Dialog from "@mui/material/Dialog/index.js";
|
|
16
|
-
import DialogActions from "@mui/material/DialogActions/index.js";
|
|
17
17
|
import DialogContent from "@mui/material/DialogContent/index.js";
|
|
18
18
|
import DialogContentText from "@mui/material/DialogContentText/index.js";
|
|
19
19
|
import DialogTitle from "@mui/material/DialogTitle/index.js";
|
|
20
20
|
import IconButton from "@mui/material/IconButton/index.js";
|
|
21
21
|
import Typography from "@mui/material/Typography/index.js";
|
|
22
|
-
import { alpha, keyframes, styled
|
|
22
|
+
import { alpha, keyframes, styled } from "@mui/material/styles/index.js";
|
|
23
23
|
import React from "react";
|
|
24
24
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
25
25
|
var pulseAnimation = (theme) => keyframes`
|
|
@@ -127,10 +127,6 @@ var StyledDialogContent = styled(DialogContent)(({ theme }) => ({
|
|
|
127
127
|
paddingTop: theme.spacing(1),
|
|
128
128
|
paddingBottom: theme.spacing(2)
|
|
129
129
|
}));
|
|
130
|
-
var StyledDialogActions = styled(DialogActions)(({ theme }) => ({
|
|
131
|
-
padding: theme.spacing(2, 3, 3, 3),
|
|
132
|
-
gap: theme.spacing(1)
|
|
133
|
-
}));
|
|
134
130
|
var CloseButton = styled(IconButton)(({ theme }) => ({
|
|
135
131
|
position: "absolute",
|
|
136
132
|
right: theme.spacing(1),
|
|
@@ -153,8 +149,6 @@ function ariaSlotProps(dataTestId, title, description) {
|
|
|
153
149
|
}
|
|
154
150
|
};
|
|
155
151
|
}
|
|
156
|
-
var CONFIRM_BUTTON_VARIANT = "contained";
|
|
157
|
-
var confirmButtonColor = (variant) => variant === "destructive" ? "error" : "primary";
|
|
158
152
|
function AlertDialogHeader({
|
|
159
153
|
title,
|
|
160
154
|
icon,
|
|
@@ -167,54 +161,6 @@ function AlertDialogHeader({
|
|
|
167
161
|
/* @__PURE__ */ jsx(Typography, { variant: "h6", component: "span", children: title })
|
|
168
162
|
] });
|
|
169
163
|
}
|
|
170
|
-
function AlertDialogFooter({
|
|
171
|
-
variant,
|
|
172
|
-
cancelText = "Cancel",
|
|
173
|
-
confirmText = "Confirm",
|
|
174
|
-
showCancel = true,
|
|
175
|
-
loading = false,
|
|
176
|
-
confirmDisabled = false,
|
|
177
|
-
initialFocus = "confirm",
|
|
178
|
-
onCancel,
|
|
179
|
-
onConfirm,
|
|
180
|
-
dataTestId
|
|
181
|
-
}) {
|
|
182
|
-
const theme = useTheme();
|
|
183
|
-
return /* @__PURE__ */ jsxs(StyledDialogActions, { "data-testid": `${dataTestId}-actions`, children: [
|
|
184
|
-
showCancel && /* @__PURE__ */ jsx(
|
|
185
|
-
Button,
|
|
186
|
-
{
|
|
187
|
-
onClick: onCancel,
|
|
188
|
-
variant: "outlined",
|
|
189
|
-
color: "inherit",
|
|
190
|
-
disabled: loading,
|
|
191
|
-
autoFocus: initialFocus === "cancel",
|
|
192
|
-
"data-testid": `${dataTestId}-cancel-button`,
|
|
193
|
-
children: cancelText
|
|
194
|
-
}
|
|
195
|
-
),
|
|
196
|
-
/* @__PURE__ */ jsx(
|
|
197
|
-
Button,
|
|
198
|
-
{
|
|
199
|
-
onClick: onConfirm,
|
|
200
|
-
variant: CONFIRM_BUTTON_VARIANT,
|
|
201
|
-
color: confirmButtonColor(variant),
|
|
202
|
-
disabled: confirmDisabled || loading,
|
|
203
|
-
startIcon: loading ? /* @__PURE__ */ jsx(
|
|
204
|
-
CircularProgress,
|
|
205
|
-
{
|
|
206
|
-
size: rem(theme, 16),
|
|
207
|
-
color: "inherit",
|
|
208
|
-
"data-testid": `${dataTestId}-loading-spinner`
|
|
209
|
-
}
|
|
210
|
-
) : void 0,
|
|
211
|
-
autoFocus: initialFocus !== "cancel",
|
|
212
|
-
"data-testid": `${dataTestId}-confirm-button`,
|
|
213
|
-
children: confirmText
|
|
214
|
-
}
|
|
215
|
-
)
|
|
216
|
-
] });
|
|
217
|
-
}
|
|
218
164
|
var AlertDialog = React.forwardRef(
|
|
219
165
|
({
|
|
220
166
|
variant = "default",
|
|
@@ -231,6 +177,7 @@ var AlertDialog = React.forwardRef(
|
|
|
231
177
|
loading,
|
|
232
178
|
confirmDisabled,
|
|
233
179
|
initialFocus,
|
|
180
|
+
emphasis,
|
|
234
181
|
children,
|
|
235
182
|
onClose,
|
|
236
183
|
"data-testid": dataTestId = "alert-dialog",
|
|
@@ -262,15 +209,7 @@ var AlertDialog = React.forwardRef(
|
|
|
262
209
|
children: /* @__PURE__ */ jsx(Close, {})
|
|
263
210
|
}
|
|
264
211
|
),
|
|
265
|
-
/* @__PURE__ */ jsx(
|
|
266
|
-
AlertDialogHeader,
|
|
267
|
-
{
|
|
268
|
-
title,
|
|
269
|
-
icon,
|
|
270
|
-
variant,
|
|
271
|
-
dataTestId
|
|
272
|
-
}
|
|
273
|
-
),
|
|
212
|
+
/* @__PURE__ */ jsx(AlertDialogHeader, { title, icon, variant, dataTestId }),
|
|
274
213
|
/* @__PURE__ */ jsxs(StyledDialogContent, { "data-testid": `${dataTestId}-content`, children: [
|
|
275
214
|
description && /* @__PURE__ */ jsx(
|
|
276
215
|
DialogContentText,
|
|
@@ -292,6 +231,7 @@ var AlertDialog = React.forwardRef(
|
|
|
292
231
|
loading,
|
|
293
232
|
confirmDisabled,
|
|
294
233
|
initialFocus,
|
|
234
|
+
emphasis,
|
|
295
235
|
onCancel: handleCancel,
|
|
296
236
|
onConfirm: () => onConfirm?.(),
|
|
297
237
|
dataTestId
|
|
@@ -307,4 +247,4 @@ AlertDialog.displayName = "AlertDialog";
|
|
|
307
247
|
export {
|
|
308
248
|
AlertDialog
|
|
309
249
|
};
|
|
310
|
-
//# sourceMappingURL=chunk-
|
|
250
|
+
//# sourceMappingURL=chunk-4PFKMNLP.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/data-display/AlertDialog/AlertDialog.tsx"],"sourcesContent":["import Close from '@mui/icons-material/Close';\nimport Error from '@mui/icons-material/Error';\nimport Info from '@mui/icons-material/Info';\nimport Dialog from '@mui/material/Dialog/index.js';\nimport DialogContent from '@mui/material/DialogContent/index.js';\nimport DialogContentText from '@mui/material/DialogContentText/index.js';\nimport DialogTitle from '@mui/material/DialogTitle/index.js';\nimport IconButton from '@mui/material/IconButton/index.js';\nimport Typography from '@mui/material/Typography/index.js';\nimport { alpha, keyframes, styled } from '@mui/material/styles/index.js';\nimport type { Theme } from '@mui/material/styles/index.js';\nimport React from 'react';\n\nimport { neutralTones } from '../../../tokens/ink';\n\nimport { AlertDialogFooter } from './AlertDialog.parts';\nimport type { AlertDialogProps } from './AlertDialog.types';\nimport { rem, rems } from '../../../tokens/relative';\n\n// Define pulse animation\nconst pulseAnimation = (theme: Theme) => keyframes`\n 0% {\n box-shadow: 0 0 0 0 currentColor;\n opacity: 1;\n }\n 70% {\n box-shadow: 0 0 0 ${rem(theme, 15)} currentColor;\n opacity: 0;\n }\n 100% {\n box-shadow: 0 0 0 0 currentColor;\n opacity: 0;\n }\n`;\n\nconst StyledDialog = styled(Dialog, {\n shouldForwardProp: (prop) => \n !['customVariant', 'glow', 'pulse'].includes(prop as string),\n})<{ \n customVariant?: string; \n glow?: boolean; \n pulse?: boolean; \n}>(({ theme, customVariant, glow, pulse }) => ({\n '& .MuiDialog-paper': {\n borderRadius: theme.spacing(2),\n transition: 'all 0.3s ease',\n position: 'relative',\n overflow: 'hidden',\n\n // Variant styles\n ...(customVariant === 'default' && {\n backgroundColor: theme.palette.background.paper,\n border: `1px solid ${alpha(theme.palette.divider, 0.2)}`,\n }),\n\n // The error tint is LAYERED over the paper, not used as the background\n // itself: `alpha(error, 0.05)` alone leaves the panel 95% transparent, so\n // the page behind it showed straight through the question and its buttons.\n // A confirm nobody can read is the one dialog that must never be hard to\n // read. Same tint, opaque base.\n ...(customVariant === 'destructive' && {\n backgroundColor: theme.palette.background.paper,\n backgroundImage: `linear-gradient(${alpha(theme.palette.error.main, 0.05)}, ${alpha(\n theme.palette.error.main,\n 0.05,\n )})`,\n border: `1px solid ${alpha(theme.palette.error.main, 0.2)}`,\n }),\n\n ...(customVariant === 'glass' && {\n backgroundColor: alpha(theme.palette.background.paper, 0.1),\n backdropFilter: `blur(${rem(theme, 20)})`,\n border: `1px solid ${alpha(theme.palette.divider, 0.2)}`,\n }),\n\n // Glow effect\n ...(glow && !pulse && {\n boxShadow: `0 0 ${rems(theme, 30, 10)} ${alpha(theme.palette.primary.main, 0.3)} !important`,\n filter: 'brightness(1.05)',\n }),\n\n // Pulse animation\n ...(pulse && !glow && {\n position: 'relative',\n '&::after': {\n content: '\"\"',\n position: 'absolute',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n borderRadius: 'inherit',\n backgroundColor: theme.palette.primary.main,\n opacity: 0.1,\n animation: `${pulseAnimation(theme)} 2s infinite`,\n pointerEvents: 'none',\n zIndex: -1,\n },\n }),\n\n // Both glow and pulse\n ...(glow && pulse && {\n position: 'relative',\n boxShadow: `0 0 ${rems(theme, 30, 10)} ${alpha(theme.palette.primary.main, 0.3)} !important`,\n filter: 'brightness(1.05)',\n '&::after': {\n content: '\"\"',\n position: 'absolute',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n borderRadius: 'inherit',\n backgroundColor: theme.palette.primary.main,\n opacity: 0.1,\n animation: `${pulseAnimation(theme)} 2s infinite`,\n pointerEvents: 'none',\n zIndex: -1,\n },\n }),\n },\n}));\n\nconst StyledDialogTitle = styled(DialogTitle)(({ theme }) => ({\n display: 'flex',\n alignItems: 'center',\n gap: theme.spacing(1.5),\n paddingRight: theme.spacing(6), // Space for close button\n '& .MuiTypography-root': {\n fontWeight: 600,\n fontSize: rem(theme, 20),\n },\n}));\n\nconst StyledDialogContent = styled(DialogContent)(({ theme }) => ({\n paddingTop: theme.spacing(1),\n paddingBottom: theme.spacing(2),\n}));\n\nconst CloseButton = styled(IconButton)(({ theme }) => ({\n position: 'absolute',\n right: theme.spacing(1),\n top: theme.spacing(1),\n color: neutralTones(theme).muted,\n}));\n\n/**\n * Per-variant lookups, hoisted out of the render function. They depend on\n * nothing but their arguments, so keeping them at module scope means they are\n * not rebuilt on every render — and it keeps the component's own branch count\n * inside the repo's complexity budget.\n */\nconst variantIcon = (\n variant: AlertDialogProps['variant'],\n icon: AlertDialogProps['icon'],\n): React.ReactNode => {\n if (icon) return icon;\n return variant === 'destructive' ? <Error color=\"error\" /> : <Info color=\"primary\" />;\n};\n\n/**\n * Ids for the two elements that give the dialog its accessible name and\n * description. Derived from the test id so they are stable and unique per\n * dialog without a generated id that would change on every render.\n */\nconst titleId = (dataTestId: string): string => `${dataTestId}-title`;\nconst descriptionId = (dataTestId: string): string => `${dataTestId}-description`;\n\n/**\n * `alertdialog`, not `dialog`.\n *\n * This component interrupts what the operator was doing and will not go away\n * until they answer — which is exactly the distinction the two roles draw, and\n * it is what makes a screen reader announce the message itself on open rather\n * than just the dialog's name. MUI hardcodes `role=\"dialog\"` on the paper, so\n * it has to be overridden through the paper slot.\n */\nconst ALERT_ROLE = 'alertdialog';\n\n/**\n * The paper slot's a11y props: the role, plus the name and description wired to\n * the elements that actually carry them, so the announcement is the QUESTION\n * rather than the word \"dialog\".\n *\n * Both references are conditional — pointing `aria-labelledby` at an element\n * that was never rendered leaves a dangling id, which screen readers treat as\n * no name at all, i.e. worse than omitting it.\n */\nfunction ariaSlotProps(\n dataTestId: string,\n title: AlertDialogProps['title'],\n description: AlertDialogProps['description'],\n): { paper: Record<string, string> } {\n return {\n paper: {\n role: ALERT_ROLE,\n ...(title ? { 'aria-labelledby': titleId(dataTestId) } : {}),\n ...(description ? { 'aria-describedby': descriptionId(dataTestId) } : {}),\n },\n };\n}\n\n/** Title row: the variant icon (unless explicitly suppressed with `null`) + the title. */\nfunction AlertDialogHeader({\n title,\n icon,\n variant,\n dataTestId,\n}: {\n title: AlertDialogProps['title'];\n icon: AlertDialogProps['icon'];\n variant: AlertDialogProps['variant'];\n dataTestId: string;\n}): React.ReactElement | null {\n if (!title) return null;\n return (\n <StyledDialogTitle id={titleId(dataTestId)} data-testid={`${dataTestId}-title`}>\n {icon !== null && (\n <span data-testid={`${dataTestId}-icon`}>{variantIcon(variant, icon)}</span>\n )}\n <Typography variant=\"h6\" component=\"span\">\n {title}\n </Typography>\n </StyledDialogTitle>\n );\n}\n\nexport const AlertDialog = React.forwardRef<HTMLDivElement, AlertDialogProps>(\n ({\n variant = 'default',\n glow = false,\n pulse = false,\n title,\n description,\n icon,\n cancelText,\n confirmText,\n onCancel,\n onConfirm,\n showCancel,\n loading,\n confirmDisabled,\n initialFocus,\n emphasis,\n children,\n onClose,\n 'data-testid': dataTestId = 'alert-dialog',\n ...props\n }, ref) => {\n const handleCancel = () => {\n onCancel?.();\n onClose?.({}, 'backdropClick');\n };\n\n return (\n <StyledDialog\n ref={ref}\n customVariant={variant}\n glow={glow}\n pulse={pulse}\n onClose={onClose}\n data-testid={dataTestId}\n slotProps={ariaSlotProps(dataTestId, title, description)}\n {...props}\n >\n <CloseButton\n aria-label=\"close\"\n onClick={handleCancel}\n size=\"small\"\n data-testid={`${dataTestId}-close-button`}\n >\n <Close />\n </CloseButton>\n\n <AlertDialogHeader title={title} icon={icon} variant={variant} dataTestId={dataTestId} />\n\n <StyledDialogContent data-testid={`${dataTestId}-content`}>\n {description && (\n <DialogContentText\n id={descriptionId(dataTestId)}\n data-testid={`${dataTestId}-description`}\n >\n {description}\n </DialogContentText>\n )}\n {children}\n </StyledDialogContent>\n\n <AlertDialogFooter\n variant={variant}\n cancelText={cancelText}\n confirmText={confirmText}\n showCancel={showCancel}\n loading={loading}\n confirmDisabled={confirmDisabled}\n initialFocus={initialFocus}\n emphasis={emphasis}\n onCancel={handleCancel}\n onConfirm={() => onConfirm?.()}\n dataTestId={dataTestId}\n />\n </StyledDialog>\n );\n }\n);\n\nAlertDialog.displayName = 'AlertDialog';"],"mappings":";;;;;;;;;;;;AAAA,OAAO,WAAW;AAClB,OAAO,WAAW;AAClB,OAAO,UAAU;AACjB,OAAO,YAAY;AACnB,OAAO,mBAAmB;AAC1B,OAAO,uBAAuB;AAC9B,OAAO,iBAAiB;AACxB,OAAO,gBAAgB;AACvB,OAAO,gBAAgB;AACvB,SAAS,OAAO,WAAW,cAAc;AAEzC,OAAO,WAAW;AAkJmB,cA2DjC,YA3DiC;AAzIrC,IAAM,iBAAiB,CAAC,UAAiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAM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
|
|
6
3
|
} from "./chunk-IM4DMKH4.js";
|
|
4
|
+
import {
|
|
5
|
+
useDragGestures
|
|
6
|
+
} from "./chunk-CRN4KKNI.js";
|
|
7
7
|
|
|
8
8
|
// src/components/data-display/Sheet/Sheet.hooks.ts
|
|
9
9
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
@@ -213,4 +213,4 @@ export {
|
|
|
213
213
|
useSheetDrag,
|
|
214
214
|
useSheetOpen
|
|
215
215
|
};
|
|
216
|
-
//# sourceMappingURL=chunk-
|
|
216
|
+
//# sourceMappingURL=chunk-56JF5PZK.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useUploadButton
|
|
3
|
+
} from "./chunk-QWVETTIY.js";
|
|
1
4
|
import {
|
|
2
5
|
UploadDropzone,
|
|
3
6
|
UploadFeedback,
|
|
4
7
|
UploadTrigger
|
|
5
8
|
} from "./chunk-A5UYPUS2.js";
|
|
6
|
-
import {
|
|
7
|
-
useUploadButton
|
|
8
|
-
} from "./chunk-QWVETTIY.js";
|
|
9
9
|
|
|
10
10
|
// src/components/form/UploadButton/UploadButton.tsx
|
|
11
11
|
import Box from "@mui/material/Box/index.js";
|
|
@@ -73,4 +73,4 @@ UploadButton.displayName = "UploadButton";
|
|
|
73
73
|
export {
|
|
74
74
|
UploadButton
|
|
75
75
|
};
|
|
76
|
-
//# sourceMappingURL=chunk-
|
|
76
|
+
//# sourceMappingURL=chunk-5752357K.js.map
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
LightboxOverlay
|
|
15
15
|
} from "./chunk-VZ4VAQX3.js";
|
|
16
|
-
import {
|
|
17
|
-
LightboxCurrentMedia
|
|
18
|
-
} from "./chunk-RBGUS7WO.js";
|
|
19
16
|
import {
|
|
20
17
|
makeTestId
|
|
21
18
|
} from "./chunk-3KA6MYIR.js";
|
|
19
|
+
import {
|
|
20
|
+
LightboxCurrentMedia
|
|
21
|
+
} from "./chunk-RBGUS7WO.js";
|
|
22
22
|
import {
|
|
23
23
|
LightboxCopyProvider
|
|
24
24
|
} from "./chunk-TEQYTEM2.js";
|
|
@@ -148,4 +148,4 @@ export {
|
|
|
148
148
|
Lightbox,
|
|
149
149
|
Lightbox_default
|
|
150
150
|
};
|
|
151
|
-
//# sourceMappingURL=chunk-
|
|
151
|
+
//# sourceMappingURL=chunk-5WX6U34F.js.map
|