@wso2/oxygen-ui 0.21.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -265,6 +265,26 @@ var init_OxygenThemeBase = __esm({
265
265
  clearIcon: React.createElement(X)
266
266
  }
267
267
  },
268
+ MuiFormLabel: {
269
+ styleOverrides: {
270
+ // Required marker. Red signals "required" faster than grey, but the "*" glyph
271
+ // carries the meaning, so color is not the only cue (WCAG 1.4.1). Dark mode
272
+ // uses error.light because error.main often drops below 4.5:1 on dark surfaces.
273
+ // `&.Mui-error` matches MUI's error rule so the dark color also holds in error state;
274
+ // the disabled rule comes last so a disabled field's marker is muted like its label.
275
+ asterisk: ({ theme }) => __spreadProps(__spreadValues({
276
+ color: (theme.vars || theme).palette.error.main
277
+ }, theme.applyStyles("dark", {
278
+ "&, &.Mui-error": {
279
+ color: (theme.vars || theme).palette.error.light
280
+ }
281
+ })), {
282
+ ".Mui-disabled > &": {
283
+ color: (theme.vars || theme).palette.text.disabled
284
+ }
285
+ })
286
+ }
287
+ },
268
288
  MuiInputLabel: {
269
289
  styleOverrides: {
270
290
  root: {
@@ -585,7 +605,7 @@ var init_createOxygenTheme = __esm({
585
605
  // package.json
586
606
  var package_default = {
587
607
  name: "@wso2/oxygen-ui",
588
- version: "0.21.0",
608
+ version: "0.22.0",
589
609
  description: "WSO2 Oxygen UI | Design System - Powered with Material-UI component library with TypeScript support",
590
610
  type: "module",
591
611
  main: "./dist/index.js",
@@ -1131,6 +1151,18 @@ var AcrylicPurpleTheme_default = AcrylicPurpleTheme;
1131
1151
  init_OxygenThemeBase();
1132
1152
  init_createOxygenTheme();
1133
1153
  import { extendTheme as extendTheme3 } from "@mui/material/styles";
1154
+ var tagColors = ["primary", "secondary", "success", "error", "warning", "info"];
1155
+ var tagStyle = (backgroundColor, color) => ({
1156
+ backgroundColor,
1157
+ color,
1158
+ "&.MuiChip-clickable:hover, &.MuiChip-clickable.Mui-focusVisible, &.MuiChip-deletable.Mui-focusVisible": {
1159
+ backgroundColor,
1160
+ opacity: 0.85
1161
+ },
1162
+ "& .MuiChip-deleteIcon, & .MuiChip-deleteIcon:hover": {
1163
+ color
1164
+ }
1165
+ });
1134
1166
  var ChoreoLabsColors = {
1135
1167
  signal: "#FF4600",
1136
1168
  flare: "#FF6E33",
@@ -1163,6 +1195,12 @@ var ChoreoLabsStatusColors = {
1163
1195
  }
1164
1196
  };
1165
1197
  var fontFamily = "'Sora Variable', sans-serif";
1198
+ var fieldHeight = { small: 40, medium: 48 };
1199
+ var fieldPadding = (height, inner = "0px") => `calc((${height}px - 1.4375em - ${inner}) / 2)`;
1200
+ var lightAvatar = ({ theme }) => ({
1201
+ backgroundColor: `color-mix(in srgb, ${theme.vars.palette.primary.main} 12%, transparent)`,
1202
+ color: theme.vars.palette.primary.main
1203
+ });
1166
1204
  var typographyVariants = [
1167
1205
  "h1",
1168
1206
  "h2",
@@ -1187,7 +1225,14 @@ var ChoreoLabsColorSchemes = {
1187
1225
  contrastText: ChoreoLabsColors.midnightInk
1188
1226
  },
1189
1227
  secondary: {
1190
- main: ChoreoLabsColors.fog
1228
+ main: ChoreoLabsColors.midnightInk,
1229
+ contrastText: ChoreoLabsColors.white
1230
+ },
1231
+ accent: {
1232
+ main: ChoreoLabsColors.burn,
1233
+ light: ChoreoLabsColors.signal,
1234
+ dark: ChoreoLabsColors.ember,
1235
+ contrastText: ChoreoLabsColors.white
1191
1236
  },
1192
1237
  background: {
1193
1238
  default: ChoreoLabsColors.paper,
@@ -1200,6 +1245,9 @@ var ChoreoLabsColorSchemes = {
1200
1245
  },
1201
1246
  divider: ChoreoLabsColors.fog
1202
1247
  }, ChoreoLabsStatusColors.light), {
1248
+ Avatar: {
1249
+ defaultBg: ChoreoLabsColors.fog
1250
+ },
1203
1251
  Alert: {
1204
1252
  infoColor: ChoreoLabsColors.midnightInk,
1205
1253
  infoIconColor: ChoreoLabsColors.midnightInk,
@@ -1221,8 +1269,16 @@ var ChoreoLabsColorSchemes = {
1221
1269
  dark: ChoreoLabsColors.burn,
1222
1270
  contrastText: ChoreoLabsColors.midnightInk
1223
1271
  },
1272
+ // Midnight Ink disappears on the dark ground, so dark mode inverts the secondary colour
1224
1273
  secondary: {
1225
- main: ChoreoLabsColors.graphite
1274
+ main: ChoreoLabsColors.white,
1275
+ contrastText: ChoreoLabsColors.midnightInk
1276
+ },
1277
+ accent: {
1278
+ main: ChoreoLabsColors.burn,
1279
+ light: ChoreoLabsColors.signal,
1280
+ dark: ChoreoLabsColors.ember,
1281
+ contrastText: ChoreoLabsColors.white
1226
1282
  },
1227
1283
  background: {
1228
1284
  default: ChoreoLabsColors.blackout,
@@ -1235,6 +1291,9 @@ var ChoreoLabsColorSchemes = {
1235
1291
  },
1236
1292
  divider: "#ffffff16"
1237
1293
  }, ChoreoLabsStatusColors.dark), {
1294
+ Avatar: {
1295
+ defaultBg: ChoreoLabsColors.graphite
1296
+ },
1238
1297
  Alert: {
1239
1298
  infoColor: ChoreoLabsColors.white,
1240
1299
  infoIconColor: ChoreoLabsColors.white,
@@ -1281,11 +1340,17 @@ var ChoreoLabsThemeConfig = {
1281
1340
  MuiAvatar: {
1282
1341
  styleOverrides: {
1283
1342
  root: ({ theme }) => ({
1284
- backgroundColor: theme.vars.palette.secondary.main,
1343
+ backgroundColor: theme.vars.palette.Avatar.defaultBg,
1285
1344
  color: theme.vars.palette.text.primary
1286
1345
  })
1287
1346
  }
1288
1347
  },
1348
+ MuiUserMenu: {
1349
+ styleOverrides: {
1350
+ avatar: lightAvatar,
1351
+ headerAvatar: lightAvatar
1352
+ }
1353
+ },
1289
1354
  MuiButtonBase: {
1290
1355
  styleOverrides: {
1291
1356
  root: {
@@ -1301,8 +1366,11 @@ var ChoreoLabsThemeConfig = {
1301
1366
  root: {
1302
1367
  borderRadius: 20,
1303
1368
  textTransform: "none",
1304
- fontWeight: 400
1369
+ fontWeight: 500
1305
1370
  },
1371
+ sizeSmall: { minHeight: 32 },
1372
+ sizeMedium: { minHeight: 40 },
1373
+ sizeLarge: { minHeight: 48 },
1306
1374
  containedPrimary: ({ theme }) => ({
1307
1375
  "&:not(:disabled)": {
1308
1376
  background: `${theme.vars.palette.primary.main} !important`,
@@ -1332,21 +1400,37 @@ var ChoreoLabsThemeConfig = {
1332
1400
  }),
1333
1401
  containedSecondary: ({ theme }) => ({
1334
1402
  backgroundColor: theme.vars.palette.secondary.main,
1335
- color: theme.vars.palette.text.primary,
1403
+ color: theme.vars.palette.secondary.contrastText,
1336
1404
  "&:hover": {
1337
1405
  backgroundColor: theme.vars.palette.secondary.main,
1338
1406
  opacity: 0.8
1339
1407
  }
1340
1408
  }),
1341
1409
  outlinedSecondary: ({ theme }) => ({
1342
- borderColor: theme.vars.palette.divider,
1343
- color: theme.vars.palette.text.primary,
1410
+ borderColor: theme.vars.palette.secondary.main,
1411
+ color: theme.vars.palette.secondary.main,
1344
1412
  "&:hover": {
1345
- borderColor: theme.vars.palette.text.secondary,
1413
+ borderColor: theme.vars.palette.secondary.main,
1346
1414
  backgroundColor: theme.vars.palette.action.hover
1347
1415
  }
1348
1416
  })
1349
- }
1417
+ },
1418
+ variants: [
1419
+ {
1420
+ props: { variant: "subtle" },
1421
+ style: ({ theme }) => ({
1422
+ backgroundColor: theme.vars.palette.accent.main,
1423
+ color: theme.vars.palette.accent.contrastText,
1424
+ "&:hover": {
1425
+ backgroundColor: theme.vars.palette.accent.dark
1426
+ },
1427
+ "&.Mui-disabled": {
1428
+ backgroundColor: theme.vars.palette.action.disabledBackground,
1429
+ color: theme.vars.palette.action.disabled
1430
+ }
1431
+ })
1432
+ }
1433
+ ]
1350
1434
  },
1351
1435
  MuiFab: {
1352
1436
  styleOverrides: {
@@ -1381,6 +1465,7 @@ var ChoreoLabsThemeConfig = {
1381
1465
  },
1382
1466
  MuiSidebar: {
1383
1467
  styleOverrides: {
1468
+ userAvatar: lightAvatar,
1384
1469
  root: ({ theme }) => __spreadValues({
1385
1470
  backgroundColor: theme.vars.palette.background.acrylic,
1386
1471
  WebkitBackdropFilter: theme.blur.light,
@@ -1439,6 +1524,17 @@ var ChoreoLabsThemeConfig = {
1439
1524
  },
1440
1525
  MuiAutocomplete: {
1441
1526
  styleOverrides: {
1527
+ // The Autocomplete input keeps MUI's own vertical padding (7.5px, or 2.5px when small)
1528
+ root: {
1529
+ "& .MuiOutlinedInput-root:not(.MuiInputBase-sizeSmall)": {
1530
+ paddingTop: fieldPadding(fieldHeight.medium, "15px"),
1531
+ paddingBottom: fieldPadding(fieldHeight.medium, "15px")
1532
+ },
1533
+ "& .MuiOutlinedInput-root.MuiInputBase-sizeSmall": {
1534
+ paddingTop: fieldPadding(fieldHeight.small, "5px"),
1535
+ paddingBottom: fieldPadding(fieldHeight.small, "5px")
1536
+ }
1537
+ },
1442
1538
  paper: ({ theme }) => ({
1443
1539
  backgroundColor: theme.vars.palette.background.paper,
1444
1540
  WebkitBackdropFilter: theme.blur.medium,
@@ -1447,6 +1543,24 @@ var ChoreoLabsThemeConfig = {
1447
1543
  })
1448
1544
  }
1449
1545
  },
1546
+ MuiChip: {
1547
+ variants: [
1548
+ // `tag`: a filled, square-cornered uppercase label. Dark blue unless a colour is set.
1549
+ {
1550
+ props: { variant: "tag" },
1551
+ style: ({ theme }) => __spreadValues({
1552
+ borderRadius: 4,
1553
+ fontWeight: 700,
1554
+ textTransform: "uppercase",
1555
+ letterSpacing: "0.04em"
1556
+ }, tagStyle(theme.vars.palette.secondary.main, theme.vars.palette.secondary.contrastText))
1557
+ },
1558
+ ...tagColors.map((color) => ({
1559
+ props: { variant: "tag", color },
1560
+ style: ({ theme }) => tagStyle(theme.vars.palette[color].main, theme.vars.palette[color].contrastText)
1561
+ }))
1562
+ ]
1563
+ },
1450
1564
  MuiCard: {
1451
1565
  styleOverrides: {
1452
1566
  root: ({ theme }) => ({
@@ -1466,10 +1580,55 @@ var ChoreoLabsThemeConfig = {
1466
1580
  MuiTextField: {
1467
1581
  defaultProps: { size: "small" }
1468
1582
  },
1583
+ MuiSelect: {
1584
+ styleOverrides: {
1585
+ select: {
1586
+ "&.MuiOutlinedInput-input": {
1587
+ paddingTop: fieldPadding(fieldHeight.medium),
1588
+ paddingBottom: fieldPadding(fieldHeight.medium)
1589
+ },
1590
+ "&.MuiOutlinedInput-input.MuiInputBase-inputSizeSmall": {
1591
+ paddingTop: fieldPadding(fieldHeight.small),
1592
+ paddingBottom: fieldPadding(fieldHeight.small)
1593
+ }
1594
+ }
1595
+ }
1596
+ },
1597
+ MuiInputLabel: {
1598
+ styleOverrides: {
1599
+ root: {
1600
+ // Replaces the base theme's offset for select labels, which was tuned to the old field heights
1601
+ ".MuiFormControl-root:has(.MuiSelect-select) &:not(.MuiInputLabel-shrink)": {
1602
+ top: 0
1603
+ }
1604
+ },
1605
+ outlined: {
1606
+ "&:not(.MuiInputLabel-shrink)": {
1607
+ transform: `translate(14px, ${fieldPadding(fieldHeight.medium)}) scale(1)`
1608
+ },
1609
+ // A label outside a sized FormControl stays medium, so follow the field's size instead
1610
+ "&.MuiInputLabel-sizeSmall:not(.MuiInputLabel-shrink), .MuiFormControl-root:has(.MuiInputBase-sizeSmall) &:not(.MuiInputLabel-shrink)": {
1611
+ transform: `translate(14px, ${fieldPadding(fieldHeight.small)}) scale(1)`
1612
+ }
1613
+ }
1614
+ }
1615
+ },
1469
1616
  MuiOutlinedInput: {
1470
1617
  styleOverrides: {
1618
+ // Multiline fields pad the root instead
1619
+ input: ({ ownerState }) => {
1620
+ if (ownerState.multiline) {
1621
+ return {};
1622
+ }
1623
+ const padding = fieldPadding(ownerState.size === "small" ? fieldHeight.small : fieldHeight.medium);
1624
+ return { paddingTop: padding, paddingBottom: padding };
1625
+ },
1626
+ multiline: ({ ownerState }) => {
1627
+ const padding = fieldPadding(ownerState.size === "small" ? fieldHeight.small : fieldHeight.medium);
1628
+ return { paddingTop: padding, paddingBottom: padding };
1629
+ },
1471
1630
  root: ({ theme }) => ({
1472
- fontSize: theme.typography.body2.fontSize,
1631
+ fontSize: theme.typography.pxToRem(14),
1473
1632
  borderRadius: 8,
1474
1633
  backgroundColor: theme.vars.palette.background.acrylic,
1475
1634
  "&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline": {
@@ -2506,6 +2665,26 @@ var WSO2ThemeConfig = {
2506
2665
  }))
2507
2666
  }
2508
2667
  },
2668
+ MuiFormLabel: {
2669
+ styleOverrides: {
2670
+ // error.main (#E60000) is 3.56:1 on the washed light page and 3.35:1 on navy, so the
2671
+ // marker uses brand reds that pass: orange 700 in light (5.45:1), orange 400 in dark (5.82:1).
2672
+ // `&.Mui-error` overrides MUI's error rule; the disabled rule mutes the marker with its label.
2673
+ asterisk: ({ theme }) => __spreadProps(__spreadValues({
2674
+ "&, &.Mui-error": {
2675
+ color: orange[700]
2676
+ }
2677
+ }, theme.applyStyles("dark", {
2678
+ "&, &.Mui-error": {
2679
+ color: orange[400]
2680
+ }
2681
+ })), {
2682
+ ".Mui-disabled > &": {
2683
+ color: theme.vars.palette.text.disabled
2684
+ }
2685
+ })
2686
+ }
2687
+ },
2509
2688
  MuiPaper: {
2510
2689
  styleOverrides: {
2511
2690
  root: ({ theme }) => ({
@@ -3949,14 +4128,18 @@ var SearchBarBase = React6.forwardRef(function SearchBarBase2(_a, ref) {
3949
4128
  endAdornment
3950
4129
  })
3951
4130
  }),
3952
- sx: __spreadValues({
3953
- "& .MuiOutlinedInput-root": {
3954
- height: 40
4131
+ sx: [
4132
+ {
4133
+ "& .MuiOutlinedInput-root": {
4134
+ height: 40
4135
+ },
4136
+ "& .MuiInputBase-input": {
4137
+ padding: "8.5px 14px"
4138
+ }
3955
4139
  },
3956
- "& .MuiInputBase-input": {
3957
- padding: "8.5px 14px"
3958
- }
3959
- }, sx)
4140
+ // Spreading `sx` would turn an array of styles into numbered keys and lose them all.
4141
+ ...Array.isArray(sx) ? sx : [sx]
4142
+ ]
3960
4143
  })
3961
4144
  );
3962
4145
  });
@@ -5418,7 +5601,12 @@ var LogRow = ({
5418
5601
  const { columns, timeZone, onCopy, levelLabels, getEntryLink, onCopyLink } = useLogViewerRequired();
5419
5602
  const time = formatDisplay(entry.timestamp, timeZone);
5420
5603
  const expandable = Boolean(entry.details || renderDetails);
5421
- const copyText = open ? entryText(entry, columns, timeZone, levelLabels) : void 0;
5604
+ const [detailsMounted, setDetailsMounted] = React13.useState(open);
5605
+ React13.useEffect(() => {
5606
+ if (open) setDetailsMounted(true);
5607
+ }, [open]);
5608
+ const showingDetails = open || detailsMounted;
5609
+ const copyText = showingDetails ? entryText(entry, columns, timeZone, levelLabels) : void 0;
5422
5610
  const [copied, setCopied] = React13.useState(null);
5423
5611
  const copiedTimer = React13.useRef(void 0);
5424
5612
  React13.useEffect(() => () => clearTimeout(copiedTimer.current), []);
@@ -5436,6 +5624,12 @@ var LogRow = ({
5436
5624
  onCopy == null ? void 0 : onCopy(entry, false);
5437
5625
  }
5438
5626
  };
5627
+ const detailsRef = React13.useRef(null);
5628
+ const toggleRef = React13.useRef(null);
5629
+ React13.useLayoutEffect(() => {
5630
+ var _a, _b;
5631
+ if (!open && ((_a = detailsRef.current) == null ? void 0 : _a.contains(document.activeElement))) (_b = toggleRef.current) == null ? void 0 : _b.focus();
5632
+ }, [open]);
5439
5633
  const link = getEntryLink == null ? void 0 : getEntryLink(entry);
5440
5634
  const copyLink = async () => {
5441
5635
  try {
@@ -5523,6 +5717,7 @@ var LogRow = ({
5523
5717
  index === 0 && expandable && /* @__PURE__ */ jsx32(
5524
5718
  ButtonBase,
5525
5719
  {
5720
+ ref: toggleRef,
5526
5721
  onClick: (event) => {
5527
5722
  event.stopPropagation();
5528
5723
  onToggle();
@@ -5560,12 +5755,14 @@ var LogRow = ({
5560
5755
  })
5561
5756
  }
5562
5757
  ),
5563
- expandable && open && /* @__PURE__ */ jsx32(FullRow, { columnCount: columns.length, children: /* @__PURE__ */ jsx32(Collapse, { in: true, appear: true, timeout: "auto", children: /* @__PURE__ */ jsx32(
5758
+ expandable && showingDetails && /* @__PURE__ */ jsx32(FullRow, { columnCount: columns.length, children: /* @__PURE__ */ jsx32(Collapse, { in: open, appear: true, timeout: "auto", onExited: () => setDetailsMounted(false), children: /* @__PURE__ */ jsx32(
5564
5759
  Box11,
5565
5760
  {
5761
+ ref: detailsRef,
5566
5762
  id: detailsId,
5567
5763
  role: "region",
5568
5764
  "aria-label": detailsLabel(entry),
5765
+ inert: !open,
5569
5766
  sx: { bgcolor: "action.hover" },
5570
5767
  children: /* @__PURE__ */ jsxs12(
5571
5768
  Box11,
@@ -6098,7 +6295,7 @@ var LogFilterChip_default = LogFilterChip;
6098
6295
  // src/components/LogViewer/LogViewerToolbar.tsx
6099
6296
  import { jsx as jsx34, jsxs as jsxs14 } from "react/jsx-runtime";
6100
6297
  var FILTER_BUTTON_SX = {
6101
- height: 40,
6298
+ height: 32,
6102
6299
  // A border that can be seen (3:1 against the page), as the edge of a control must be.
6103
6300
  borderColor: "text.secondary",
6104
6301
  "&:hover, &:focus-visible": { borderColor: "text.primary" },
@@ -7169,16 +7366,15 @@ var TextField3 = React19.forwardRef(function TextField4(_a, ref) {
7169
7366
  labelProp,
7170
7367
  " (Optional)"
7171
7368
  ] }) : labelProp;
7172
- const _a2 = fieldProps, { id: idProp, sx, className, style, fullWidth, margin, required, error, disabled, color, focused: focusedProp, slotProps, onFocus, onBlur, helperText: helperProp } = _a2, rest = __objRest(_a2, ["id", "sx", "className", "style", "fullWidth", "margin", "required", "error", "disabled", "color", "focused", "slotProps", "onFocus", "onBlur", "helperText"]);
7369
+ const _a2 = fieldProps, { id: idProp, sx, className, style, fullWidth, margin, required, error, disabled, color, focused, slotProps, helperText: helperProp } = _a2, rest = __objRest(_a2, ["id", "sx", "className", "style", "fullWidth", "margin", "required", "error", "disabled", "color", "focused", "slotProps", "helperText"]);
7173
7370
  const generatedId = React19.useId();
7174
- const [hasFocus, setHasFocus] = React19.useState(false);
7175
7371
  if (labelPlacement !== "top" || !hasLabel) return /* @__PURE__ */ jsx46(MuiTextField, __spreadProps(__spreadValues({ ref }, fieldProps), { label }));
7176
7372
  const helperText = error !== void 0 && (helperProp == null || helperProp === "" || typeof helperProp === "boolean") ? " " : helperProp;
7177
7373
  const id = idProp != null ? idProp : generatedId;
7178
7374
  const labelId = `${id}-label`;
7179
7375
  const selectProps = slotProps == null ? void 0 : slotProps.select;
7180
7376
  const selectSlot = rest.select ? { select: typeof selectProps === "function" ? (ownerState) => __spreadProps(__spreadValues({}, selectProps(ownerState)), { labelId }) : __spreadProps(__spreadValues({}, selectProps), { labelId }) } : {};
7181
- return /* @__PURE__ */ jsxs20(FormControl, { ref, sx, className, style, fullWidth, margin, required, error, disabled, color, focused: focusedProp != null ? focusedProp : hasFocus, children: [
7377
+ return /* @__PURE__ */ jsxs20(FormControl, { ref, sx, className, style, fullWidth, margin, required, error, disabled, color, children: [
7182
7378
  /* @__PURE__ */ jsx46(FormLabel, { id: labelId, htmlFor: id, children: label }),
7183
7379
  /* @__PURE__ */ jsx46(
7184
7380
  MuiTextField,
@@ -7190,17 +7386,9 @@ var TextField3 = React19.forwardRef(function TextField4(_a, ref) {
7190
7386
  error,
7191
7387
  disabled,
7192
7388
  color,
7193
- focused: focusedProp,
7389
+ focused,
7194
7390
  helperText,
7195
- slotProps: __spreadValues(__spreadValues({}, slotProps), selectSlot),
7196
- onFocus: (e) => {
7197
- setHasFocus(true);
7198
- onFocus == null ? void 0 : onFocus(e);
7199
- },
7200
- onBlur: (e) => {
7201
- setHasFocus(false);
7202
- onBlur == null ? void 0 : onBlur(e);
7203
- }
7391
+ slotProps: __spreadValues(__spreadValues({}, slotProps), selectSlot)
7204
7392
  })
7205
7393
  )
7206
7394
  ] });
@@ -9191,6 +9379,7 @@ var AppSwitcherSection = ({
9191
9379
  children,
9192
9380
  apps,
9193
9381
  label,
9382
+ "aria-label": ariaLabel,
9194
9383
  columns = 3,
9195
9384
  loading = false,
9196
9385
  loadingCount
@@ -9268,6 +9457,7 @@ var AppSwitcherSection = ({
9268
9457
  ownerState: { columns },
9269
9458
  role: "list",
9270
9459
  "aria-labelledby": label ? labelId : void 0,
9460
+ "aria-label": label ? void 0 : ariaLabel,
9271
9461
  "aria-busy": loading ? "true" : void 0,
9272
9462
  onKeyDown: handleKeyDown,
9273
9463
  children: React36.Children.map(
@@ -9298,7 +9488,8 @@ var AppSwitcherFooterRoot = styled32(Box30, {
9298
9488
  var AppSwitcherFooter = ({
9299
9489
  children,
9300
9490
  links,
9301
- label = "Manage",
9491
+ label,
9492
+ "aria-label": ariaLabel = "Manage",
9302
9493
  columns = 3,
9303
9494
  loading = false,
9304
9495
  loadingCount
@@ -9311,6 +9502,7 @@ var AppSwitcherFooter = ({
9311
9502
  AppSwitcherSection,
9312
9503
  {
9313
9504
  label,
9505
+ "aria-label": ariaLabel,
9314
9506
  columns,
9315
9507
  loading,
9316
9508
  loadingCount,