@12-apps/ui 6.50.0 → 6.51.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 +2 -2
- package/dist/_internal/components/data-display/Badge/Badge.js +4 -4
- package/dist/_internal/components/data-display/Badge/Badge.styles.js +4 -4
- package/dist/_internal/components/data-display/Badge/BadgeContent.js +4 -4
- package/dist/_internal/components/data-display/Carousel/Carousel.chrome.js +4 -4
- package/dist/_internal/components/data-display/Carousel/Carousel.js +4 -4
- package/dist/_internal/components/data-display/Carousel/Carousel.parts.js +4 -4
- package/dist/_internal/components/data-display/Carousel/Carousel.styles.js +4 -4
- package/dist/_internal/components/data-display/Chart/Chart.js +4 -4
- package/dist/_internal/components/data-display/Chart/SpecChart.js +4 -4
- package/dist/_internal/components/data-display/Chart/chart-context.js +4 -4
- package/dist/_internal/components/data-display/Chart/chart-internals.js +4 -4
- package/dist/_internal/components/data-display/Chart/chart-renderers.js +4 -4
- package/dist/_internal/components/data-display/DataGrid/DataGrid.js +6 -6
- package/dist/_internal/components/data-display/DataGrid/DataGrid.model.js +5 -5
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +16 -16
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +17 -17
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +8 -8
- package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +7 -7
- package/dist/_internal/components/data-display/DataViews/base-list-card.js +9 -9
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +7 -7
- package/dist/_internal/components/data-display/DataViews/data-views-display-tabs.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +9 -9
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +15 -15
- package/dist/_internal/components/data-display/DataViews/data-views-layout-context.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-scope-tabs.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +9 -9
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +8 -8
- package/dist/_internal/components/data-display/DataViews/list-card-rails.js +6 -6
- package/dist/_internal/components/data-display/FleetMap/FleetMap.js +4 -4
- package/dist/_internal/components/data-display/Sheet/Sheet.body.js +4 -4
- package/dist/_internal/components/data-display/Sheet/Sheet.js +4 -4
- package/dist/_internal/components/data-display/Sheet/Sheet.styles.js +4 -4
- package/dist/_internal/components/data-display/Table/Table.js +5 -5
- package/dist/_internal/components/data-display/index.js +7 -7
- package/dist/_internal/components/form/Command/Command.js +4 -4
- package/dist/_internal/components/form/Command/Command.styles.js +4 -4
- package/dist/_internal/components/form/Label/Label.js +4 -4
- package/dist/_internal/components/form/Label/Label.styles.js +4 -4
- package/dist/_internal/components/form/Menubar/Menubar.item.js +4 -4
- package/dist/_internal/components/form/Menubar/Menubar.js +4 -4
- package/dist/_internal/components/form/Menubar/Menubar.styles.js +4 -4
- package/dist/_internal/components/form/Menubar/Menubar.toolbar.js +4 -4
- package/dist/_internal/components/form/index.js +4 -4
- package/dist/_internal/components/index.js +23 -23
- package/dist/_internal/components/layout/Box/Box.js +7 -7
- package/dist/_internal/components/layout/SettingCard/SettingCard.js +9 -9
- package/dist/_internal/components/layout/SettingCard/SettingCard.parts.js +8 -8
- package/dist/_internal/components/layout/SettingCard/SettingGrid.js +9 -9
- package/dist/_internal/components/layout/SettingCard/SettingGroup.js +10 -10
- package/dist/_internal/components/layout/SettingCard/SettingSwitch.js +9 -9
- package/dist/_internal/components/layout/SettingCard/SettingToggle.js +10 -10
- package/dist/_internal/components/layout/Stack/Stack.js +8 -8
- package/dist/_internal/components/layout/index.js +13 -13
- package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +4 -4
- package/dist/_internal/components/navigation/AppHeader/AppHeader.identity.js +4 -4
- package/dist/_internal/components/navigation/SectionNav/SectionNav.bar.js +9 -9
- package/dist/_internal/components/navigation/SectionNav/SectionNav.helpers.js +5 -1
- package/dist/_internal/components/navigation/SectionNav/SectionNav.js +11 -11
- package/dist/_internal/components/navigation/SectionNav/SectionNav.parts.js +12 -6
- package/dist/_internal/components/navigation/SectionNav/SectionNav.primary.js +7 -7
- package/dist/_internal/components/navigation/SectionNav/SectionNav.rail.js +7 -7
- package/dist/_internal/components/navigation/SectionNav/SectionNav.sheet.js +7 -7
- package/dist/_internal/components/navigation/SectionNav/__stories__/fixtures.js +16 -4
- package/dist/_internal/components/navigation/SectionNav/__stories__/fixtures.js.map +1 -1
- package/dist/_internal/components/navigation/index.js +11 -11
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.helpers.js +4 -4
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.js +4 -4
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.parts.js +4 -4
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStepRow.js +4 -4
- package/dist/_internal/components/utility/index.js +4 -4
- package/dist/_internal/icons/Icon.js +7 -7
- package/dist/_internal/provider/UiProvider.js +6 -6
- package/dist/_internal/provider/mui-bridge.js +5 -5
- package/dist/_internal/provider/use-ui-theme.js +6 -6
- package/dist/_internal/tokens/density-overrides.js +3 -3
- package/dist/_internal/tokens/density-overrides.navigation.js +1 -1
- package/dist/_internal/tokens/density-overrides.selection.js +1 -1
- package/dist/_internal/tokens/density.js +4 -4
- package/dist/charts.js +4 -4
- package/dist/{chunk-XK77FY42.js → chunk-25MSGLNU.js} +4 -3
- package/dist/chunk-25MSGLNU.js.map +1 -0
- package/dist/{chunk-7VC6YBD3.js → chunk-3U45DRNS.js} +2 -2
- package/dist/{chunk-ZQCZMSLO.js → chunk-4B5WSVS7.js} +2 -2
- package/dist/{chunk-F4FOBTLJ.js → chunk-4BI5PCOM.js} +2 -2
- package/dist/{chunk-HVZ4HF4M.js → chunk-5N2UJOCT.js} +2 -2
- package/dist/{chunk-DFCX3FNB.js → chunk-5ZBFADBL.js} +2 -2
- package/dist/{chunk-GLKQT2DS.js → chunk-A436VORP.js} +33 -4
- package/dist/chunk-A436VORP.js.map +1 -0
- package/dist/{chunk-LWBR5U6V.js → chunk-ABPTS3XK.js} +2 -2
- package/dist/{chunk-43EQITNF.js → chunk-BHPLHGZP.js} +4 -4
- package/dist/{chunk-YMW2VYGU.js → chunk-DLO5V4AV.js} +2 -2
- package/dist/{chunk-7FQF5BC2.js → chunk-ESW4Z5I7.js} +2 -2
- package/dist/{chunk-ZPD6MGAO.js → chunk-FDJLYYDA.js} +4 -4
- package/dist/{chunk-LZL6HDTZ.js → chunk-FM5RBGG7.js} +2 -2
- package/dist/{chunk-V2SAZOT2.js → chunk-FYTC4LOD.js} +2 -2
- package/dist/{chunk-4ELI2MM3.js → chunk-GAXHYRX6.js} +9 -6
- package/dist/chunk-GAXHYRX6.js.map +1 -0
- package/dist/{chunk-CT45KNCT.js → chunk-GPTICJVN.js} +3 -3
- package/dist/{chunk-URGH4673.js → chunk-H556NMKE.js} +4 -4
- package/dist/{chunk-VOF6QVCF.js → chunk-HF7V3RI5.js} +2 -2
- package/dist/{chunk-NKJMOWY3.js → chunk-HJUR6ZY6.js} +2 -2
- package/dist/{chunk-RX7J6VRI.js → chunk-HKEBTPKY.js} +119 -42
- package/dist/chunk-HKEBTPKY.js.map +1 -0
- package/dist/{chunk-ZC3NEUNQ.js → chunk-I2LF53MJ.js} +2 -2
- package/dist/{chunk-ZFQVT6HZ.js → chunk-II7Z5UB6.js} +2 -2
- package/dist/{chunk-K65NSHQI.js → chunk-L3CQTVFU.js} +4 -4
- package/dist/{chunk-EY4GPLMF.js → chunk-MT7XMJUJ.js} +5 -5
- package/dist/{chunk-TELVW2OI.js → chunk-MYCR7FMI.js} +2 -2
- package/dist/{chunk-56TGECKZ.js → chunk-NP6SHLQ3.js} +4 -3
- package/dist/chunk-NP6SHLQ3.js.map +1 -0
- package/dist/{chunk-WB6BTUXQ.js → chunk-OWILUXWM.js} +2 -2
- package/dist/{chunk-VHVI3D4R.js → chunk-P3GBXE73.js} +11 -2
- package/dist/chunk-P3GBXE73.js.map +1 -0
- package/dist/{chunk-WSBTMZJM.js → chunk-P7YUOH2E.js} +2 -2
- package/dist/{chunk-VOP2BXKL.js → chunk-QWTPK3FT.js} +2 -2
- package/dist/{chunk-XQ6Y5Z7R.js → chunk-RCJOTNIW.js} +2 -2
- package/dist/{chunk-32JMSHEA.js → chunk-S4ZUZ6DS.js} +10 -6
- package/dist/chunk-S4ZUZ6DS.js.map +1 -0
- package/dist/{chunk-SWDDXMV7.js → chunk-SJ4IAZ3V.js} +4 -4
- package/dist/{chunk-FHWBOOS3.js → chunk-TH7RBREI.js} +2 -2
- package/dist/{chunk-SA2ERYVV.js → chunk-VAO63IIP.js} +3 -3
- package/dist/{chunk-43Q6CVPB.js → chunk-VELGOFCL.js} +127 -78
- package/dist/chunk-VELGOFCL.js.map +1 -0
- package/dist/{chunk-RCJYLDXV.js → chunk-VJBTFWDK.js} +4 -4
- package/dist/chunk-WNKRFMSI.js +113 -0
- package/dist/chunk-WNKRFMSI.js.map +1 -0
- package/dist/{chunk-LM2YOONY.js → chunk-XYHNXO6Q.js} +2 -2
- package/dist/{chunk-FT7BNFGS.js → chunk-YK4ZG5Y4.js} +2 -2
- package/dist/data-display/Badge.js +4 -4
- package/dist/data-display/Carousel.js +4 -4
- package/dist/data-display/Chart.js +4 -4
- package/dist/data-display/DataGrid.js +6 -6
- package/dist/data-display/DataViews.js +20 -20
- package/dist/data-display/FleetMap.js +4 -4
- package/dist/data-display/Sheet.js +4 -4
- package/dist/data-display/Table.js +5 -5
- package/dist/form/Command.js +4 -4
- package/dist/form/Label.js +4 -4
- package/dist/form/Menubar.js +4 -4
- package/dist/icons.js +7 -7
- package/dist/layout/Box.js +7 -7
- package/dist/layout/SettingCard.js +13 -13
- package/dist/layout/Stack.js +8 -8
- package/dist/navigation/AppHeader.js +4 -4
- package/dist/navigation/SectionNav.js +11 -11
- package/dist/provider.js +7 -7
- package/dist/tokens.js +4 -4
- package/dist/types/components/navigation/SectionNav/SectionNav.bar.d.ts.map +1 -1
- package/dist/types/components/navigation/SectionNav/SectionNav.helpers.d.ts +12 -1
- package/dist/types/components/navigation/SectionNav/SectionNav.helpers.d.ts.map +1 -1
- package/dist/types/components/navigation/SectionNav/SectionNav.parts.d.ts +36 -2
- package/dist/types/components/navigation/SectionNav/SectionNav.parts.d.ts.map +1 -1
- package/dist/types/components/navigation/SectionNav/SectionNav.primary.d.ts +22 -4
- package/dist/types/components/navigation/SectionNav/SectionNav.primary.d.ts.map +1 -1
- package/dist/types/components/navigation/SectionNav/SectionNav.rail.d.ts.map +1 -1
- package/dist/types/components/navigation/SectionNav/SectionNav.sheet.d.ts.map +1 -1
- package/dist/types/components/navigation/SectionNav/SectionNav.types.d.ts +81 -5
- package/dist/types/components/navigation/SectionNav/SectionNav.types.d.ts.map +1 -1
- package/dist/types/components/navigation/SectionNav/__stories__/fixtures.d.ts +11 -1
- package/dist/types/components/navigation/SectionNav/__stories__/fixtures.d.ts.map +1 -1
- package/dist/types/components/navigation/SectionNav/index.d.ts +1 -1
- package/dist/types/components/navigation/SectionNav/index.d.ts.map +1 -1
- package/dist/types/tokens/density-overrides.d.ts.map +1 -1
- package/dist/types/tokens/density-overrides.navigation.d.ts.map +1 -1
- package/dist/types/tokens/density-overrides.selection.d.ts.map +1 -1
- package/dist/utility/WorkflowStep.js +4 -4
- package/package.json +1 -1
- package/src/components/navigation/SectionNav/SectionNav.bar.tsx +161 -88
- package/src/components/navigation/SectionNav/SectionNav.helpers.ts +16 -1
- package/src/components/navigation/SectionNav/SectionNav.md +40 -4
- package/src/components/navigation/SectionNav/SectionNav.parts.tsx +59 -1
- package/src/components/navigation/SectionNav/SectionNav.primary.tsx +107 -30
- package/src/components/navigation/SectionNav/SectionNav.rail.tsx +154 -41
- package/src/components/navigation/SectionNav/SectionNav.sheet.tsx +6 -2
- package/src/components/navigation/SectionNav/SectionNav.types.ts +82 -5
- package/src/components/navigation/SectionNav/__stories__/fixtures.tsx +21 -1
- package/src/components/navigation/SectionNav/index.ts +1 -0
- package/src/tokens/density-overrides.navigation.ts +15 -2
- package/src/tokens/density-overrides.selection.ts +31 -14
- package/src/tokens/density-overrides.ts +27 -11
- package/dist/chunk-32JMSHEA.js.map +0 -1
- package/dist/chunk-43Q6CVPB.js.map +0 -1
- package/dist/chunk-4ELI2MM3.js.map +0 -1
- package/dist/chunk-56TGECKZ.js.map +0 -1
- package/dist/chunk-GLKQT2DS.js.map +0 -1
- package/dist/chunk-RX7J6VRI.js.map +0 -1
- package/dist/chunk-RZ4SBSLP.js +0 -62
- package/dist/chunk-RZ4SBSLP.js.map +0 -1
- package/dist/chunk-VHVI3D4R.js.map +0 -1
- package/dist/chunk-XK77FY42.js.map +0 -1
- /package/dist/{chunk-7VC6YBD3.js.map → chunk-3U45DRNS.js.map} +0 -0
- /package/dist/{chunk-ZQCZMSLO.js.map → chunk-4B5WSVS7.js.map} +0 -0
- /package/dist/{chunk-F4FOBTLJ.js.map → chunk-4BI5PCOM.js.map} +0 -0
- /package/dist/{chunk-HVZ4HF4M.js.map → chunk-5N2UJOCT.js.map} +0 -0
- /package/dist/{chunk-DFCX3FNB.js.map → chunk-5ZBFADBL.js.map} +0 -0
- /package/dist/{chunk-LWBR5U6V.js.map → chunk-ABPTS3XK.js.map} +0 -0
- /package/dist/{chunk-43EQITNF.js.map → chunk-BHPLHGZP.js.map} +0 -0
- /package/dist/{chunk-YMW2VYGU.js.map → chunk-DLO5V4AV.js.map} +0 -0
- /package/dist/{chunk-7FQF5BC2.js.map → chunk-ESW4Z5I7.js.map} +0 -0
- /package/dist/{chunk-ZPD6MGAO.js.map → chunk-FDJLYYDA.js.map} +0 -0
- /package/dist/{chunk-LZL6HDTZ.js.map → chunk-FM5RBGG7.js.map} +0 -0
- /package/dist/{chunk-V2SAZOT2.js.map → chunk-FYTC4LOD.js.map} +0 -0
- /package/dist/{chunk-CT45KNCT.js.map → chunk-GPTICJVN.js.map} +0 -0
- /package/dist/{chunk-URGH4673.js.map → chunk-H556NMKE.js.map} +0 -0
- /package/dist/{chunk-VOF6QVCF.js.map → chunk-HF7V3RI5.js.map} +0 -0
- /package/dist/{chunk-NKJMOWY3.js.map → chunk-HJUR6ZY6.js.map} +0 -0
- /package/dist/{chunk-ZC3NEUNQ.js.map → chunk-I2LF53MJ.js.map} +0 -0
- /package/dist/{chunk-ZFQVT6HZ.js.map → chunk-II7Z5UB6.js.map} +0 -0
- /package/dist/{chunk-K65NSHQI.js.map → chunk-L3CQTVFU.js.map} +0 -0
- /package/dist/{chunk-EY4GPLMF.js.map → chunk-MT7XMJUJ.js.map} +0 -0
- /package/dist/{chunk-TELVW2OI.js.map → chunk-MYCR7FMI.js.map} +0 -0
- /package/dist/{chunk-WB6BTUXQ.js.map → chunk-OWILUXWM.js.map} +0 -0
- /package/dist/{chunk-WSBTMZJM.js.map → chunk-P7YUOH2E.js.map} +0 -0
- /package/dist/{chunk-VOP2BXKL.js.map → chunk-QWTPK3FT.js.map} +0 -0
- /package/dist/{chunk-XQ6Y5Z7R.js.map → chunk-RCJOTNIW.js.map} +0 -0
- /package/dist/{chunk-SWDDXMV7.js.map → chunk-SJ4IAZ3V.js.map} +0 -0
- /package/dist/{chunk-FHWBOOS3.js.map → chunk-TH7RBREI.js.map} +0 -0
- /package/dist/{chunk-SA2ERYVV.js.map → chunk-VAO63IIP.js.map} +0 -0
- /package/dist/{chunk-RCJYLDXV.js.map → chunk-VJBTFWDK.js.map} +0 -0
- /package/dist/{chunk-LM2YOONY.js.map → chunk-XYHNXO6Q.js.map} +0 -0
- /package/dist/{chunk-FT7BNFGS.js.map → chunk-YK4ZG5Y4.js.map} +0 -0
|
@@ -1,21 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SectionNavSheet
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S4ZUZ6DS.js";
|
|
4
4
|
import {
|
|
5
5
|
RaisedActionButton
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WNKRFMSI.js";
|
|
7
7
|
import {
|
|
8
8
|
Box,
|
|
9
9
|
CONTROL_RESET,
|
|
10
10
|
CountedIcon,
|
|
11
|
+
NOT_LIVE,
|
|
12
|
+
SlotIcon,
|
|
11
13
|
controlProps,
|
|
14
|
+
destinationControl,
|
|
12
15
|
focusRing
|
|
13
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-A436VORP.js";
|
|
14
17
|
import {
|
|
15
18
|
barSlots,
|
|
19
|
+
destinationState,
|
|
20
|
+
isMenu,
|
|
16
21
|
menuActive,
|
|
17
22
|
menuCount
|
|
18
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-P3GBXE73.js";
|
|
19
24
|
import {
|
|
20
25
|
rem
|
|
21
26
|
} from "./chunk-YKCAJ2TN.js";
|
|
@@ -38,7 +43,8 @@ function Slot({
|
|
|
38
43
|
copy,
|
|
39
44
|
testId,
|
|
40
45
|
control,
|
|
41
|
-
expanded
|
|
46
|
+
expanded,
|
|
47
|
+
loading = false
|
|
42
48
|
}) {
|
|
43
49
|
const theme = useTheme();
|
|
44
50
|
return /* @__PURE__ */ jsxs(
|
|
@@ -47,36 +53,20 @@ function Slot({
|
|
|
47
53
|
...control,
|
|
48
54
|
"aria-current": current ? "page" : void 0,
|
|
49
55
|
"aria-expanded": expanded,
|
|
56
|
+
"aria-busy": loading || void 0,
|
|
50
57
|
"data-lit": lit ? "true" : void 0,
|
|
51
58
|
"data-testid": testId,
|
|
52
|
-
sx:
|
|
53
|
-
...CONTROL_RESET,
|
|
54
|
-
...focusRing(theme),
|
|
55
|
-
flex: 1,
|
|
56
|
-
minWidth: 0,
|
|
57
|
-
display: "flex",
|
|
58
|
-
flexDirection: "column",
|
|
59
|
-
alignItems: "center",
|
|
60
|
-
justifyContent: "center",
|
|
61
|
-
gap: 0.25,
|
|
62
|
-
position: "relative",
|
|
63
|
-
color: lit ? "primary.main" : "text.secondary",
|
|
64
|
-
// The current slot is marked by more than its colour: a short rule on
|
|
65
|
-
// its top edge, so the state survives a colour-blind reading.
|
|
66
|
-
'&[data-lit="true"]::before': {
|
|
67
|
-
content: '""',
|
|
68
|
-
position: "absolute",
|
|
69
|
-
top: 0,
|
|
70
|
-
insetInline: "22%",
|
|
71
|
-
height: rem(theme, 3),
|
|
72
|
-
borderBottomLeftRadius: rem(theme, 3),
|
|
73
|
-
borderBottomRightRadius: rem(theme, 3),
|
|
74
|
-
bgcolor: "primary.main"
|
|
75
|
-
},
|
|
76
|
-
"& svg": { fontSize: rem(theme, 22) }
|
|
77
|
-
},
|
|
59
|
+
sx: slotSx(theme, lit),
|
|
78
60
|
children: [
|
|
79
|
-
/* @__PURE__ */ jsx(
|
|
61
|
+
/* @__PURE__ */ jsx(
|
|
62
|
+
CountedIcon,
|
|
63
|
+
{
|
|
64
|
+
icon: /* @__PURE__ */ jsx(SlotIcon, { icon, loading }),
|
|
65
|
+
count,
|
|
66
|
+
label: copy.badge,
|
|
67
|
+
testId: `${testId}-badge`
|
|
68
|
+
}
|
|
69
|
+
),
|
|
80
70
|
/* @__PURE__ */ jsx(
|
|
81
71
|
Typography,
|
|
82
72
|
{
|
|
@@ -97,62 +87,125 @@ function Slot({
|
|
|
97
87
|
}
|
|
98
88
|
);
|
|
99
89
|
}
|
|
100
|
-
function
|
|
101
|
-
|
|
90
|
+
function slotSx(theme, lit) {
|
|
91
|
+
return {
|
|
92
|
+
...CONTROL_RESET,
|
|
93
|
+
...focusRing(theme),
|
|
94
|
+
flex: 1,
|
|
95
|
+
minWidth: 0,
|
|
96
|
+
display: "flex",
|
|
97
|
+
flexDirection: "column",
|
|
98
|
+
alignItems: "center",
|
|
99
|
+
justifyContent: "center",
|
|
100
|
+
gap: 0.25,
|
|
101
|
+
position: "relative",
|
|
102
|
+
color: lit ? "primary.main" : "text.secondary",
|
|
103
|
+
// The current slot is marked by more than its colour: a short rule on
|
|
104
|
+
// its top edge, so the state survives a colour-blind reading.
|
|
105
|
+
'&[data-lit="true"]::before': {
|
|
106
|
+
content: '""',
|
|
107
|
+
position: "absolute",
|
|
108
|
+
top: 0,
|
|
109
|
+
insetInline: "22%",
|
|
110
|
+
height: rem(theme, 3),
|
|
111
|
+
borderBottomLeftRadius: rem(theme, 3),
|
|
112
|
+
borderBottomRightRadius: rem(theme, 3),
|
|
113
|
+
bgcolor: "primary.main"
|
|
114
|
+
},
|
|
115
|
+
"& svg": { fontSize: rem(theme, 22) },
|
|
116
|
+
[NOT_LIVE]: { color: "text.disabled" }
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
function PrimarySlot({
|
|
102
120
|
primary,
|
|
103
|
-
|
|
104
|
-
open,
|
|
105
|
-
toggle,
|
|
106
|
-
close,
|
|
107
|
-
linkComponent,
|
|
108
|
-
copy,
|
|
109
|
-
dataTestId
|
|
121
|
+
context
|
|
110
122
|
}) {
|
|
111
|
-
|
|
123
|
+
const testId = primary.dataTestId ?? `${context.dataTestId}-primary`;
|
|
124
|
+
if (!isMenu(primary)) {
|
|
112
125
|
return /* @__PURE__ */ jsx(
|
|
113
126
|
RaisedActionButton,
|
|
114
127
|
{
|
|
115
128
|
label: primary.label,
|
|
116
129
|
icon: primary.icon,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
return /* @__PURE__ */ jsx(
|
|
126
|
-
Slot,
|
|
127
|
-
{
|
|
128
|
-
label: more.label,
|
|
129
|
-
icon: more.icon,
|
|
130
|
-
count: menuCount(more),
|
|
131
|
-
current: false,
|
|
132
|
-
lit: open === "more" || open === null && menuActive(more),
|
|
133
|
-
expanded: open === "more",
|
|
134
|
-
copy,
|
|
135
|
-
testId: `${dataTestId}-more`,
|
|
136
|
-
control: controlProps({ href: void 0, linkComponent, onClick: () => toggle("more") })
|
|
130
|
+
captioned: true,
|
|
131
|
+
disabled: primary.disabled,
|
|
132
|
+
loading: primary.loading,
|
|
133
|
+
dataTestId: testId,
|
|
134
|
+
onClick: () => {
|
|
135
|
+
context.close();
|
|
136
|
+
primary.onSelect();
|
|
137
|
+
}
|
|
137
138
|
}
|
|
138
139
|
);
|
|
139
140
|
}
|
|
140
|
-
|
|
141
|
-
|
|
141
|
+
return /* @__PURE__ */ jsx(
|
|
142
|
+
RaisedActionButton,
|
|
143
|
+
{
|
|
144
|
+
label: primary.label,
|
|
145
|
+
icon: primary.icon,
|
|
146
|
+
open: context.open === "primary",
|
|
147
|
+
closeLabel: context.copy.close,
|
|
148
|
+
disabled: primary.disabled,
|
|
149
|
+
dataTestId: testId,
|
|
150
|
+
onClick: () => context.toggle("primary")
|
|
151
|
+
}
|
|
152
|
+
);
|
|
153
|
+
}
|
|
154
|
+
function MoreSlot({ more, context }) {
|
|
155
|
+
const { open } = context;
|
|
156
|
+
return /* @__PURE__ */ jsx(
|
|
157
|
+
Slot,
|
|
158
|
+
{
|
|
159
|
+
label: more.label,
|
|
160
|
+
icon: more.icon,
|
|
161
|
+
count: menuCount(more),
|
|
162
|
+
current: false,
|
|
163
|
+
lit: open === "more" || open === null && menuActive(more),
|
|
164
|
+
expanded: open === "more",
|
|
165
|
+
copy: context.copy,
|
|
166
|
+
testId: more.dataTestId ?? `${context.dataTestId}-more`,
|
|
167
|
+
control: controlProps({
|
|
168
|
+
href: void 0,
|
|
169
|
+
linkComponent: context.linkComponent,
|
|
170
|
+
inert: more.disabled === true,
|
|
171
|
+
onClick: () => context.toggle("more")
|
|
172
|
+
})
|
|
173
|
+
}
|
|
174
|
+
);
|
|
175
|
+
}
|
|
176
|
+
function DestinationSlot({
|
|
177
|
+
destination,
|
|
178
|
+
context
|
|
179
|
+
}) {
|
|
180
|
+
const { current, lit } = destinationState(destination);
|
|
142
181
|
return /* @__PURE__ */ jsx(
|
|
143
182
|
Slot,
|
|
144
183
|
{
|
|
145
184
|
label: destination.label,
|
|
146
185
|
icon: destination.icon,
|
|
147
186
|
count: destination.badge,
|
|
148
|
-
current
|
|
149
|
-
lit: open === null &&
|
|
150
|
-
copy,
|
|
151
|
-
testId: `${dataTestId}-dest-${destination.id}`,
|
|
152
|
-
|
|
187
|
+
current,
|
|
188
|
+
lit: context.open === null && lit,
|
|
189
|
+
copy: context.copy,
|
|
190
|
+
testId: destination.dataTestId ?? `${context.dataTestId}-dest-${destination.id}`,
|
|
191
|
+
loading: destination.loading === true,
|
|
192
|
+
control: destinationControl(destination, context.linkComponent, () => {
|
|
193
|
+
context.close();
|
|
194
|
+
destination.onSelect?.();
|
|
195
|
+
})
|
|
153
196
|
}
|
|
154
197
|
);
|
|
155
198
|
}
|
|
199
|
+
function BarSlotView({
|
|
200
|
+
slot,
|
|
201
|
+
primary,
|
|
202
|
+
more,
|
|
203
|
+
context
|
|
204
|
+
}) {
|
|
205
|
+
if (slot.kind === "primary") return primary ? /* @__PURE__ */ jsx(PrimarySlot, { primary, context }) : null;
|
|
206
|
+
if (slot.kind === "more") return more ? /* @__PURE__ */ jsx(MoreSlot, { more, context }) : null;
|
|
207
|
+
return /* @__PURE__ */ jsx(DestinationSlot, { destination: slot.destination, context });
|
|
208
|
+
}
|
|
156
209
|
function SectionNavBar({
|
|
157
210
|
label,
|
|
158
211
|
destinations,
|
|
@@ -162,6 +215,7 @@ function SectionNavBar({
|
|
|
162
215
|
copy,
|
|
163
216
|
dataTestId
|
|
164
217
|
}) {
|
|
218
|
+
const sheetMenu = isMenu(primary) ? primary : void 0;
|
|
165
219
|
const theme = useTheme();
|
|
166
220
|
const [open, setOpen] = useState(null);
|
|
167
221
|
const toggle = (menu) => setOpen((current) => current === menu ? null : menu);
|
|
@@ -195,21 +249,16 @@ function SectionNavBar({
|
|
|
195
249
|
slot,
|
|
196
250
|
primary,
|
|
197
251
|
more,
|
|
198
|
-
open,
|
|
199
|
-
toggle,
|
|
200
|
-
close,
|
|
201
|
-
linkComponent,
|
|
202
|
-
copy,
|
|
203
|
-
dataTestId
|
|
252
|
+
context: { open, toggle, close, linkComponent, copy, dataTestId }
|
|
204
253
|
},
|
|
205
254
|
slot.kind === "destination" ? `dest-${slot.destination.id}` : `menu-${slot.kind}`
|
|
206
255
|
))
|
|
207
256
|
}
|
|
208
257
|
),
|
|
209
|
-
|
|
258
|
+
sheetMenu ? /* @__PURE__ */ jsx(
|
|
210
259
|
SectionNavSheet,
|
|
211
260
|
{
|
|
212
|
-
menu:
|
|
261
|
+
menu: sheetMenu,
|
|
213
262
|
open: open === "primary",
|
|
214
263
|
onClose: close,
|
|
215
264
|
linkComponent,
|
|
@@ -237,4 +286,4 @@ export {
|
|
|
237
286
|
sectionNavBarInset,
|
|
238
287
|
SectionNavBar
|
|
239
288
|
};
|
|
240
|
-
//# sourceMappingURL=chunk-
|
|
289
|
+
//# sourceMappingURL=chunk-VELGOFCL.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/navigation/SectionNav/SectionNav.bar.tsx"],"sourcesContent":["import Typography from '@mui/material/Typography/index.js';\nimport { useTheme, type SxProps, type Theme } from '@mui/material/styles/index.js';\nimport { useState, type ElementType, type ReactNode } from 'react';\n\nimport type { SectionNavCopy } from '../../../copy';\nimport { rem } from '../../../tokens/scales';\n\nimport { barSlots, destinationState, isMenu, menuActive, menuCount, type BarSlot } from './SectionNav.helpers';\nimport {\n Box,\n CONTROL_RESET,\n CountedIcon,\n NOT_LIVE,\n SlotIcon,\n controlProps,\n destinationControl,\n focusRing,\n} from './SectionNav.parts';\nimport { RaisedActionButton } from './SectionNav.primary';\nimport { SectionNavSheet } from './SectionNav.sheet';\nimport type { SectionNavAction, SectionNavDestination, SectionNavMenu, SectionNavProps } from './SectionNav.types';\n\n/** Which of the bar's two menus is open, if any. */\ntype OpenMenu = 'primary' | 'more' | null;\n\n/** The bar's height above the safe area — tall enough for an icon over a label. */\nconst barHeight = (theme: Parameters<typeof rem>[0]): string => rem(theme, 60);\n\n/**\n * The bar's full height on screen, the safe area included — where its sheets\n * stop, and what a host reserves at the foot of its content so nothing it\n * floats (a toast, a receipt) lands under the bar.\n */\nexport function sectionNavBarInset(theme: Parameters<typeof rem>[0]): string {\n return `calc(${barHeight(theme)} + env(safe-area-inset-bottom))`;\n}\n\n/**\n * One slot: icon over label, a count on the icon.\n *\n * `current` is the page the viewer is on and is what `aria-current` reports —\n * a link's claim only; an action slot that is ON says so with `aria-pressed`,\n * which arrives in `control`. `lit` is only how the slot looks, and goes out\n * while a sheet is open so the bar shows where the thumb is. Opening a sheet\n * is `aria-expanded`'s to say.\n *\n * A destination is a link or an action; the \"more\" slot is a button that\n * opens its sheet. Either way the whole slot is the target, so a thumb landing\n * on the label lands on the control. A `disabled` slot is a disabled button,\n * dimmed — the act is still where the hand expects it. A `loading` or\n * `dimmed` slot is drawn the same and stays focusable (`aria-disabled`).\n */\nfunction Slot({\n label,\n icon,\n count,\n current,\n lit,\n copy,\n testId,\n control,\n expanded,\n loading = false,\n}: {\n label: string;\n icon: ReactNode;\n count: number | undefined;\n current: boolean;\n lit: boolean;\n copy: SectionNavCopy;\n testId: string;\n control: Record<string, unknown>;\n expanded?: boolean;\n loading?: boolean;\n}): React.JSX.Element {\n const theme = useTheme();\n return (\n <Box\n {...control}\n aria-current={current ? 'page' : undefined}\n aria-expanded={expanded}\n aria-busy={loading || undefined}\n data-lit={lit ? 'true' : undefined}\n data-testid={testId}\n sx={slotSx(theme, lit)}\n >\n <CountedIcon\n icon={<SlotIcon icon={icon} loading={loading} />}\n count={count}\n label={copy.badge}\n testId={`${testId}-badge`}\n />\n <Typography\n component=\"span\"\n variant=\"caption\"\n sx={{\n maxWidth: '100%',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n lineHeight: 1.3,\n fontWeight: lit ? 700 : 400,\n }}\n >\n {label}\n </Typography>\n </Box>\n );\n}\n\n/** A slot's look: icon over label, the lit rule on its top edge, dimmed when disabled. */\nfunction slotSx(theme: Theme, lit: boolean): SxProps<Theme> {\n return {\n ...CONTROL_RESET,\n ...focusRing(theme),\n flex: 1,\n minWidth: 0,\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center',\n gap: 0.25,\n position: 'relative',\n color: lit ? 'primary.main' : 'text.secondary',\n // The current slot is marked by more than its colour: a short rule on\n // its top edge, so the state survives a colour-blind reading.\n '&[data-lit=\"true\"]::before': {\n content: '\"\"',\n position: 'absolute',\n top: 0,\n insetInline: '22%',\n height: rem(theme, 3),\n borderBottomLeftRadius: rem(theme, 3),\n borderBottomRightRadius: rem(theme, 3),\n bgcolor: 'primary.main',\n },\n '& svg': { fontSize: rem(theme, 22) },\n [NOT_LIVE]: { color: 'text.disabled' },\n } as SxProps<Theme>;\n}\n\n/** What every slot kind is handed: the bar's open state and how to change it. */\ninterface SlotContext {\n open: OpenMenu;\n toggle: (menu: Exclude<OpenMenu, null>) => void;\n close: () => void;\n linkComponent: ElementType | undefined;\n copy: SectionNavCopy;\n dataTestId: string;\n}\n\n/** The raised button: an action runs on tap; a menu opens its sheet. */\nfunction PrimarySlot({\n primary,\n context,\n}: {\n primary: SectionNavMenu | SectionNavAction;\n context: SlotContext;\n}): React.JSX.Element {\n const testId = primary.dataTestId ?? `${context.dataTestId}-primary`;\n if (!isMenu(primary)) {\n return (\n <RaisedActionButton\n label={primary.label}\n icon={primary.icon}\n captioned\n disabled={primary.disabled}\n loading={primary.loading}\n dataTestId={testId}\n onClick={() => {\n context.close();\n primary.onSelect();\n }}\n />\n );\n }\n return (\n <RaisedActionButton\n label={primary.label}\n icon={primary.icon}\n open={context.open === 'primary'}\n closeLabel={context.copy.close}\n disabled={primary.disabled}\n dataTestId={testId}\n onClick={() => context.toggle('primary')}\n />\n );\n}\n\n/** The \"more\" slot: a button that opens its sheet, carrying its entries' counts. */\nfunction MoreSlot({ more, context }: { more: SectionNavMenu; context: SlotContext }): React.JSX.Element {\n const { open } = context;\n return (\n <Slot\n label={more.label}\n icon={more.icon}\n count={menuCount(more)}\n current={false}\n lit={open === 'more' || (open === null && menuActive(more))}\n expanded={open === 'more'}\n copy={context.copy}\n testId={more.dataTestId ?? `${context.dataTestId}-more`}\n control={controlProps({\n href: undefined,\n linkComponent: context.linkComponent,\n inert: more.disabled === true,\n onClick: () => context.toggle('more'),\n })}\n />\n );\n}\n\n/** A destination: a link, or an action slot (a toggle when it carries `active`). */\nfunction DestinationSlot({\n destination,\n context,\n}: {\n destination: SectionNavDestination;\n context: SlotContext;\n}): React.JSX.Element {\n const { current, lit } = destinationState(destination);\n return (\n <Slot\n label={destination.label}\n icon={destination.icon}\n count={destination.badge}\n current={current}\n lit={context.open === null && lit}\n copy={context.copy}\n testId={destination.dataTestId ?? `${context.dataTestId}-dest-${destination.id}`}\n loading={destination.loading === true}\n control={destinationControl(destination, context.linkComponent, () => {\n context.close();\n destination.onSelect?.();\n })}\n />\n );\n}\n\n/** One slot of the bar, whichever kind it is. */\nfunction BarSlotView({\n slot,\n primary,\n more,\n context,\n}: {\n slot: BarSlot;\n primary: SectionNavMenu | SectionNavAction | undefined;\n more: SectionNavMenu | undefined;\n context: SlotContext;\n}): React.JSX.Element | null {\n if (slot.kind === 'primary') return primary ? <PrimarySlot primary={primary} context={context} /> : null;\n if (slot.kind === 'more') return more ? <MoreSlot more={more} context={context} /> : null;\n return <DestinationSlot destination={slot.destination} context={context} />;\n}\n\n/** The phone layout: a bottom bar, with its menus as bottom sheets. */\nexport function SectionNavBar({\n label,\n destinations,\n primary,\n more,\n linkComponent,\n copy,\n dataTestId,\n}: Required<Pick<SectionNavProps, 'label' | 'destinations' | 'copy' | 'dataTestId'>> &\n Pick<SectionNavProps, 'primary' | 'more'> & { linkComponent: ElementType | undefined }): React.JSX.Element {\n const sheetMenu = isMenu(primary) ? primary : undefined;\n const theme = useTheme();\n const [open, setOpen] = useState<OpenMenu>(null);\n const toggle = (menu: Exclude<OpenMenu, null>): void => setOpen((current) => (current === menu ? null : menu));\n const close = (): void => setOpen(null);\n\n return (\n <>\n <Box\n component=\"nav\"\n aria-label={label}\n data-testid={dataTestId}\n sx={{\n flex: 'none',\n display: 'flex',\n alignItems: 'stretch',\n boxSizing: 'border-box',\n height: sectionNavBarInset(theme),\n paddingBottom: 'env(safe-area-inset-bottom)',\n borderTop: `1px solid ${theme.palette.divider}`,\n bgcolor: 'background.paper',\n // Above the backdrop ONLY while one of its own sheets is open, so the\n // primary button can close what it opened. Raised all the time it\n // would sit over every dialog the page opens, and on a small phone a\n // dialog's own footer is exactly where the bar is.\n position: 'relative',\n zIndex: open === null ? 'auto' : theme.zIndex.modal + 1,\n }}\n >\n {barSlots(destinations, more !== undefined, primary !== undefined).map((slot) => (\n <BarSlotView\n key={slot.kind === 'destination' ? `dest-${slot.destination.id}` : `menu-${slot.kind}`}\n slot={slot}\n primary={primary}\n more={more}\n context={{ open, toggle, close, linkComponent, copy, dataTestId }}\n />\n ))}\n </Box>\n {sheetMenu ? (\n <SectionNavSheet\n menu={sheetMenu}\n open={open === 'primary'}\n onClose={close}\n linkComponent={linkComponent}\n copy={copy}\n testId={`${dataTestId}-primary-sheet`}\n bottomOffset={sectionNavBarInset(theme)}\n />\n ) : null}\n {more ? (\n <SectionNavSheet\n menu={more}\n open={open === 'more'}\n onClose={close}\n linkComponent={linkComponent}\n copy={copy}\n testId={`${dataTestId}-more-sheet`}\n bottomOffset={sectionNavBarInset(theme)}\n />\n ) : null}\n </>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,gBAAgB;AACvB,SAAS,gBAA0C;AACnD,SAAS,gBAAkD;AA2EvD,SAqMA,UA3LU,KAVV;AAnDJ,IAAM,YAAY,CAAC,UAA6C,IAAI,OAAO,EAAE;AAOtE,SAAS,mBAAmB,OAA0C;AAC3E,SAAO,QAAQ,UAAU,KAAK,CAAC;AACjC;AAiBA,SAAS,KAAK;AAAA,EACZ;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,UAAU;AACZ,GAWsB;AACpB,QAAM,QAAQ,SAAS;AACvB,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;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AA,UACT,YAAY;AAAA,UACZ,WAAW;AAAA,UACX,QAAQ,mBAAmB,KAAK;AAAA,UAChC,eAAe;AAAA,UACf,WAAW,aAAa,MAAM,QAAQ,OAAO;AAAA,UAC7C,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA,UAKT,UAAU;AAAA,UACV,QAAQ,SAAS,OAAO,SAAS,MAAM,OAAO,QAAQ;AAAA,QACxD;AAAA,QAEC,mBAAS,cAAc,SAAS,QAAW,YAAY,MAAS,EAAE,IAAI,CAAC,SACtE;AAAA,UAAC;AAAA;AAAA,YAEC;AAAA,YACA;AAAA,YACA;AAAA,YACA,SAAS,EAAE,MAAM,QAAQ,OAAO,eAAe,MAAM,WAAW;AAAA;AAAA,UAJ3D,KAAK,SAAS,gBAAgB,QAAQ,KAAK,YAAY,EAAE,KAAK,QAAQ,KAAK,IAAI;AAAA,QAKtF,CACD;AAAA;AAAA,IACH;AAAA,IACC,YACC;AAAA,MAAC;AAAA;AAAA,QACC,MAAM;AAAA,QACN,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,QACT;AAAA,QACA;AAAA,QACA,QAAQ,GAAG,UAAU;AAAA,QACrB,cAAc,mBAAmB,KAAK;AAAA;AAAA,IACxC,IACE;AAAA,IACH,OACC;AAAA,MAAC;AAAA;AAAA,QACC,MAAM;AAAA,QACN,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,QACT;AAAA,QACA;AAAA,QACA,QAAQ,GAAG,UAAU;AAAA,QACrB,cAAc,mBAAmB,KAAK;AAAA;AAAA,IACxC,IACE;AAAA,KACN;AAEJ;","names":[]}
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
SettingSwitchBlock,
|
|
6
6
|
useSettingSwitchIds
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3U45DRNS.js";
|
|
8
8
|
import {
|
|
9
9
|
partTestId
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5N2UJOCT.js";
|
|
11
11
|
import {
|
|
12
12
|
dependentsStyles,
|
|
13
13
|
hintStyles,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-XJQNSMGA.js";
|
|
20
20
|
import {
|
|
21
21
|
Icon
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FYTC4LOD.js";
|
|
23
23
|
|
|
24
24
|
// src/components/layout/SettingCard/SettingGroup.tsx
|
|
25
25
|
import Box from "@mui/material/Box/index.js";
|
|
@@ -84,4 +84,4 @@ SettingGroup.displayName = "SettingGroup";
|
|
|
84
84
|
export {
|
|
85
85
|
SettingGroup
|
|
86
86
|
};
|
|
87
|
-
//# sourceMappingURL=chunk-
|
|
87
|
+
//# sourceMappingURL=chunk-VJBTFWDK.js.map
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Box,
|
|
3
|
+
CONTROL_RESET,
|
|
4
|
+
NOT_LIVE,
|
|
5
|
+
SlotIcon,
|
|
6
|
+
focusRing
|
|
7
|
+
} from "./chunk-A436VORP.js";
|
|
8
|
+
import {
|
|
9
|
+
rem
|
|
10
|
+
} from "./chunk-YKCAJ2TN.js";
|
|
11
|
+
|
|
12
|
+
// src/components/navigation/SectionNav/SectionNav.primary.tsx
|
|
13
|
+
import Typography from "@mui/material/Typography/index.js";
|
|
14
|
+
import { useTheme } from "@mui/material/styles/index.js";
|
|
15
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
|
+
function RaisedActionButton({
|
|
17
|
+
label,
|
|
18
|
+
icon,
|
|
19
|
+
onClick,
|
|
20
|
+
open,
|
|
21
|
+
closeLabel,
|
|
22
|
+
captioned = false,
|
|
23
|
+
disabled = false,
|
|
24
|
+
loading = false,
|
|
25
|
+
dataTestId = "raised-action"
|
|
26
|
+
}) {
|
|
27
|
+
const theme = useTheme();
|
|
28
|
+
const expanded = open === true;
|
|
29
|
+
return /* @__PURE__ */ jsxs(
|
|
30
|
+
Box,
|
|
31
|
+
{
|
|
32
|
+
sx: {
|
|
33
|
+
flex: "none",
|
|
34
|
+
display: "flex",
|
|
35
|
+
flexDirection: "column",
|
|
36
|
+
alignItems: "center",
|
|
37
|
+
justifyContent: "flex-start",
|
|
38
|
+
px: 0.5
|
|
39
|
+
},
|
|
40
|
+
children: [
|
|
41
|
+
/* @__PURE__ */ jsx(
|
|
42
|
+
Box,
|
|
43
|
+
{
|
|
44
|
+
component: "button",
|
|
45
|
+
type: "button",
|
|
46
|
+
...raisedState({ onClick, disabled, loading }),
|
|
47
|
+
"aria-label": expanded && closeLabel ? closeLabel : label,
|
|
48
|
+
"aria-expanded": open,
|
|
49
|
+
"data-testid": dataTestId,
|
|
50
|
+
sx: raisedSx(theme, expanded),
|
|
51
|
+
children: /* @__PURE__ */ jsx(SlotIcon, { icon, loading })
|
|
52
|
+
}
|
|
53
|
+
),
|
|
54
|
+
captioned ? /* @__PURE__ */ jsx(RaisedCaption, { label, inert: disabled || loading }) : null
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
function raisedState({
|
|
60
|
+
onClick,
|
|
61
|
+
disabled,
|
|
62
|
+
loading
|
|
63
|
+
}) {
|
|
64
|
+
const busy = loading && !disabled;
|
|
65
|
+
return {
|
|
66
|
+
onClick: busy ? void 0 : onClick,
|
|
67
|
+
disabled,
|
|
68
|
+
"aria-disabled": busy ? "true" : void 0,
|
|
69
|
+
"aria-busy": loading || void 0
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
function RaisedCaption({ label, inert }) {
|
|
73
|
+
return /* @__PURE__ */ jsx(
|
|
74
|
+
Typography,
|
|
75
|
+
{
|
|
76
|
+
component: "span",
|
|
77
|
+
variant: "caption",
|
|
78
|
+
"aria-hidden": true,
|
|
79
|
+
sx: { lineHeight: 1.3, mt: 0.25, whiteSpace: "nowrap", color: inert ? "text.disabled" : "text.primary" },
|
|
80
|
+
children: label
|
|
81
|
+
}
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
function raisedSx(theme, expanded) {
|
|
85
|
+
const size = rem(theme, 52);
|
|
86
|
+
return {
|
|
87
|
+
...CONTROL_RESET,
|
|
88
|
+
...focusRing(theme),
|
|
89
|
+
width: size,
|
|
90
|
+
height: size,
|
|
91
|
+
// Lifted half out of the bar: the one control that is not a place.
|
|
92
|
+
marginTop: rem(theme, -18),
|
|
93
|
+
borderRadius: "50%",
|
|
94
|
+
display: "flex",
|
|
95
|
+
alignItems: "center",
|
|
96
|
+
justifyContent: "center",
|
|
97
|
+
bgcolor: "primary.main",
|
|
98
|
+
color: "primary.contrastText",
|
|
99
|
+
boxShadow: theme.shadows[6],
|
|
100
|
+
[NOT_LIVE]: { cursor: "default", bgcolor: "action.disabledBackground", color: "text.disabled", boxShadow: "none" },
|
|
101
|
+
"& svg": {
|
|
102
|
+
fontSize: rem(theme, 26),
|
|
103
|
+
transition: theme.transitions.create("transform", { duration: theme.transitions.duration.shorter }),
|
|
104
|
+
transform: expanded ? "rotate(45deg)" : "none"
|
|
105
|
+
},
|
|
106
|
+
"@media (prefers-reduced-motion: reduce)": { "& svg": { transition: "none" } }
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export {
|
|
111
|
+
RaisedActionButton
|
|
112
|
+
};
|
|
113
|
+
//# sourceMappingURL=chunk-WNKRFMSI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/navigation/SectionNav/SectionNav.primary.tsx"],"sourcesContent":["import Typography from '@mui/material/Typography/index.js';\nimport { useTheme, type SxProps, type Theme } from '@mui/material/styles/index.js';\nimport type { ReactNode } from 'react';\n\nimport { rem } from '../../../tokens/scales';\n\nimport { Box, CONTROL_RESET, NOT_LIVE, SlotIcon, focusRing } from './SectionNav.parts';\n\nexport interface RaisedActionButtonProps {\n /**\n * The button's accessible name. Drawn under the button only when\n * `captioned`; the caption is hidden from assistive tech, so the name is\n * read once either way.\n */\n label: string;\n icon: ReactNode;\n onClick: () => void;\n /**\n * Whether what the button opens is open. Omit for a button that opens\n * nothing (a plain action): it then carries no `aria-expanded` and its icon\n * never turns.\n */\n open?: boolean;\n /** The name it takes while `open` — the same control closes what it opened. REQUIRED with `open`. */\n closeLabel?: string;\n /**\n * Draw `label` under the button. A bar of VERBS names the act it is for; a\n * bar of places can leave its one action to the icon.\n */\n captioned?: boolean;\n /** Dimmed and not operable: a native `disabled` button. */\n disabled?: boolean;\n /**\n * A write it started is in flight: a spinner replaces the icon, it reports\n * `aria-busy` and `aria-disabled`, and a tap is ignored. It stays focusable,\n * so the keyboard does not lose its place while the write answers.\n */\n loading?: boolean;\n dataTestId?: string;\n}\n\n/**\n * The raised round button in the middle of a bottom bar — the one control in\n * the row that is an ACTION rather than a place.\n *\n * Lifted half out of the bar so it reads as different in kind from the tabs\n * beside it. Uncaptioned it costs the row less width than a tab: that width is\n * what lets a bar keep four labelled tabs AND this button at 320px. A bar of\n * verbs captions it, naming the act under the button.\n *\n * `SectionNav` draws it for its `primary` menu. It is exported on its own for\n * a bar the host already draws — drop it between two tabs, in a flex row.\n */\nexport function RaisedActionButton({\n label,\n icon,\n onClick,\n open,\n closeLabel,\n captioned = false,\n disabled = false,\n loading = false,\n dataTestId = 'raised-action',\n}: RaisedActionButtonProps): React.JSX.Element {\n const theme = useTheme();\n const expanded = open === true;\n return (\n <Box\n sx={{\n flex: 'none',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'flex-start',\n px: 0.5,\n }}\n >\n <Box\n component=\"button\"\n type=\"button\"\n {...raisedState({ onClick, disabled, loading })}\n aria-label={expanded && closeLabel ? closeLabel : label}\n aria-expanded={open}\n data-testid={dataTestId}\n sx={raisedSx(theme, expanded)}\n >\n <SlotIcon icon={icon} loading={loading} />\n </Box>\n {captioned ? <RaisedCaption label={label} inert={disabled || loading} /> : null}\n </Box>\n );\n}\n\n/**\n * The button's operability. Only `disabled` is native: an in-flight button\n * keeps its focus, reports `aria-busy` and `aria-disabled`, and drops the click.\n */\nfunction raisedState({\n onClick,\n disabled,\n loading,\n}: {\n onClick: () => void;\n disabled: boolean;\n loading: boolean;\n}): Record<string, unknown> {\n const busy = loading && !disabled;\n return {\n onClick: busy ? undefined : onClick,\n disabled,\n 'aria-disabled': busy ? 'true' : undefined,\n 'aria-busy': loading || undefined,\n };\n}\n\n/**\n * The label under a captioned button. Hidden from assistive tech: the button\n * already carries the same words as its name, and reading them twice is noise.\n */\nfunction RaisedCaption({ label, inert }: { label: string; inert: boolean }): React.JSX.Element {\n return (\n <Typography\n component=\"span\"\n variant=\"caption\"\n aria-hidden\n sx={{ lineHeight: 1.3, mt: 0.25, whiteSpace: 'nowrap', color: inert ? 'text.disabled' : 'text.primary' }}\n >\n {label}\n </Typography>\n );\n}\n\n/** The round button: lifted half out of the bar, its icon turning while what it opened is open. */\nfunction raisedSx(theme: Theme, expanded: boolean): SxProps<Theme> {\n const size = rem(theme, 52);\n return {\n ...CONTROL_RESET,\n ...focusRing(theme),\n width: size,\n height: size,\n // Lifted half out of the bar: the one control that is not a place.\n marginTop: rem(theme, -18),\n borderRadius: '50%',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n bgcolor: 'primary.main',\n color: 'primary.contrastText',\n boxShadow: theme.shadows[6],\n [NOT_LIVE]: { cursor: 'default', bgcolor: 'action.disabledBackground', color: 'text.disabled', boxShadow: 'none' },\n '& svg': {\n fontSize: rem(theme, 26),\n transition: theme.transitions.create('transform', { duration: theme.transitions.duration.shorter }),\n transform: expanded ? 'rotate(45deg)' : 'none',\n },\n '@media (prefers-reduced-motion: reduce)': { '& svg': { transition: 'none' } },\n } as SxProps<Theme>;\n}\n"],"mappings":";;;;;;;;;;;;AAAA,OAAO,gBAAgB;AACvB,SAAS,gBAA0C;AAkE/C,SAmBI,KAnBJ;AAdG,SAAS,mBAAmB;AAAA,EACjC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,YAAY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AG;AAAA,IACH,GAAG,UAAU,KAAK;AAAA,IAClB,OAAO;AAAA,IACP,QAAQ;AAAA;AAAA,IAER,WAAW,IAAI,OAAO,GAAG;AAAA,IACzB,cAAc;AAAA,IACd,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,gBAAgB;AAAA,IAChB,SAAS;AAAA,IACT,OAAO;AAAA,IACP,WAAW,MAAM,QAAQ,CAAC;AAAA,IAC1B,CAAC,QAAQ,GAAG,EAAE,QAAQ,WAAW,SAAS,6BAA6B,OAAO,iBAAiB,WAAW,OAAO;AAAA,IACjH,SAAS;AAAA,MACP,UAAU,IAAI,OAAO,EAAE;AAAA,MACvB,YAAY,MAAM,YAAY,OAAO,aAAa,EAAE,UAAU,MAAM,YAAY,SAAS,QAAQ,CAAC;AAAA,MAClG,WAAW,WAAW,kBAAkB;AAAA,IAC1C;AAAA,IACA,2CAA2C,EAAE,SAAS,EAAE,YAAY,OAAO,EAAE;AAAA,EAC/E;AACF;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
partTestId
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5N2UJOCT.js";
|
|
4
4
|
import {
|
|
5
5
|
SETTING_CARD_OPEN_ATTR,
|
|
6
6
|
withCallerSx
|
|
@@ -79,4 +79,4 @@ export {
|
|
|
79
79
|
settingGridStyles,
|
|
80
80
|
SettingGrid
|
|
81
81
|
};
|
|
82
|
-
//# sourceMappingURL=chunk-
|
|
82
|
+
//# sourceMappingURL=chunk-XYHNXO6Q.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GridToolbar
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MYCR7FMI.js";
|
|
4
4
|
|
|
5
5
|
// src/components/data-display/DataViews/data-views-shell-toolbar.tsx
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -64,4 +64,4 @@ function ShellToolbar({
|
|
|
64
64
|
export {
|
|
65
65
|
ShellToolbar
|
|
66
66
|
};
|
|
67
|
-
//# sourceMappingURL=chunk-
|
|
67
|
+
//# sourceMappingURL=chunk-YK4ZG5Y4.js.map
|
|
@@ -11,10 +11,10 @@ import "../chunk-PYC4CWCQ.js";
|
|
|
11
11
|
import "../chunk-TYJR4GOF.js";
|
|
12
12
|
import "../chunk-3IPPMWUA.js";
|
|
13
13
|
import "../chunk-7ZPUN7TV.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-SJ4IAZ3V.js";
|
|
15
|
+
import "../chunk-25MSGLNU.js";
|
|
16
|
+
import "../chunk-GAXHYRX6.js";
|
|
17
|
+
import "../chunk-NP6SHLQ3.js";
|
|
18
18
|
import "../chunk-PT6TCWIW.js";
|
|
19
19
|
import "../chunk-2TZ6X265.js";
|
|
20
20
|
import "../chunk-7FDU3FIN.js";
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
import "../chunk-HPK33ACY.js";
|
|
15
15
|
import "../chunk-3IPPMWUA.js";
|
|
16
16
|
import "../chunk-7ZPUN7TV.js";
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-SJ4IAZ3V.js";
|
|
18
|
+
import "../chunk-25MSGLNU.js";
|
|
19
|
+
import "../chunk-GAXHYRX6.js";
|
|
20
|
+
import "../chunk-NP6SHLQ3.js";
|
|
21
21
|
import "../chunk-PT6TCWIW.js";
|
|
22
22
|
import "../chunk-2TZ6X265.js";
|
|
23
23
|
import "../chunk-7FDU3FIN.js";
|
|
@@ -33,10 +33,10 @@ import "../chunk-SOHQPPYJ.js";
|
|
|
33
33
|
import "../chunk-XRGJVS4P.js";
|
|
34
34
|
import "../chunk-3IPPMWUA.js";
|
|
35
35
|
import "../chunk-7ZPUN7TV.js";
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
36
|
+
import "../chunk-SJ4IAZ3V.js";
|
|
37
|
+
import "../chunk-25MSGLNU.js";
|
|
38
|
+
import "../chunk-GAXHYRX6.js";
|
|
39
|
+
import "../chunk-NP6SHLQ3.js";
|
|
40
40
|
import "../chunk-PT6TCWIW.js";
|
|
41
41
|
import "../chunk-2TZ6X265.js";
|
|
42
42
|
import "../chunk-7FDU3FIN.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "../chunk-L5CPOEDP.js";
|
|
2
2
|
import {
|
|
3
3
|
DataGrid
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-4B5WSVS7.js";
|
|
5
|
+
import "../chunk-OWILUXWM.js";
|
|
6
6
|
import "../chunk-ZFXTRPQO.js";
|
|
7
7
|
import "../chunk-ICDAYOJ6.js";
|
|
8
8
|
import "../chunk-G3E66C6J.js";
|
|
9
9
|
import "../chunk-EARWC6PD.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-SJ4IAZ3V.js";
|
|
11
|
+
import "../chunk-25MSGLNU.js";
|
|
12
|
+
import "../chunk-GAXHYRX6.js";
|
|
13
|
+
import "../chunk-NP6SHLQ3.js";
|
|
14
14
|
import "../chunk-2TZ6X265.js";
|
|
15
15
|
import "../chunk-7FDU3FIN.js";
|
|
16
16
|
import "../chunk-EPEJMTCQ.js";
|