@czi-sds/components 24.0.0 → 24.2.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.cjs.js CHANGED
@@ -670,7 +670,7 @@ const SDSDarkThemeColors = {
670
670
  "500": "#aaaaaa",
671
671
  "600": "#cdcdcd",
672
672
  "700": "#ededed",
673
- "75": "#101010",
673
+ "75": "#1b1b1b",
674
674
  "800": "#fafafa",
675
675
  "900": "#ffffff"
676
676
  },
@@ -927,7 +927,8 @@ const SDSPaletteLight = (appTheme) => {
927
927
  borderPrimaryOnDark: appTheme.colors.gray[300],
928
928
  borderPrimaryInverse: appTheme.colors.gray[300],
929
929
  borderPrimaryPressedInverse: appTheme.colors.gray[50],
930
- borderSecondary: appTheme.colors.gray[300],
930
+ borderSecondary: addOpacityToHex(appTheme.colors.gray[300], 70),
931
+ borderHighlight: addOpacityToHex(appTheme.colors.gray[900], 10),
931
932
  borderSecondaryOnDark: appTheme.colors.gray[600],
932
933
  divider: appTheme.colors.gray[200],
933
934
  dividerOnDark: appTheme.colors.gray[700],
@@ -957,6 +958,7 @@ const SDSPaletteLight = (appTheme) => {
957
958
  ornamentPrimaryOnDark: appTheme.colors.gray[50],
958
959
  ornamentPrimaryInverse: appTheme.colors.gray[50],
959
960
  ornamentSecondary: appTheme.colors.gray[600],
961
+ ornamentTertiary: appTheme.colors.gray[300],
960
962
  ornamentSecondaryInteraction: appTheme.colors.gray[900],
961
963
  ornamentSecondaryInteractionOnDark: appTheme.colors.gray[50],
962
964
  ornamentSecondaryHoverInverse: appTheme.colors.gray[50],
@@ -965,6 +967,7 @@ const SDSPaletteLight = (appTheme) => {
965
967
  ornamentSecondaryPressedInverse: appTheme.colors.gray[50],
966
968
  surfacePrimary: appTheme.colors.gray[50],
967
969
  surfaceSecondary: addOpacityToHex(appTheme.colors.gray[300], 20),
970
+ surfaceTertiary: appTheme.colors.gray[200],
968
971
  surfacePrimaryDark: appTheme.colors.gray[900],
969
972
  surfaceInverse: appTheme.colors.gray[900],
970
973
  textDisabled: appTheme.colors.gray[300],
@@ -1125,8 +1128,8 @@ const SDSPaletteDark = (appTheme) => {
1125
1128
  textActionPressed: appTheme.colors.indigo[800]
1126
1129
  },
1127
1130
  base: {
1128
- backgroundPrimary: appTheme.colors.gray[75],
1129
- backgroundPrimaryDark: appTheme.colors.gray[75],
1131
+ backgroundPrimary: appTheme.colors.gray[50],
1132
+ backgroundPrimaryDark: appTheme.colors.gray[50],
1130
1133
  backgroundPrimaryInverse: appTheme.colors.gray[75],
1131
1134
  backgroundSecondary: addOpacityToHex(appTheme.colors.gray[100], 60),
1132
1135
  backgroundSecondaryDark: addOpacityToHex(appTheme.colors.gray[100], 60),
@@ -1143,20 +1146,21 @@ const SDSPaletteDark = (appTheme) => {
1143
1146
  borderPrimaryOnDark: appTheme.colors.gray[600],
1144
1147
  borderPrimaryInverse: appTheme.colors.gray[600],
1145
1148
  borderPrimaryPressedInverse: appTheme.colors.gray[900],
1146
- borderSecondary: appTheme.colors.gray[300],
1149
+ borderSecondary: addOpacityToHex(appTheme.colors.gray[300], 70),
1150
+ borderHighlight: addOpacityToHex(appTheme.colors.gray[900], 10),
1147
1151
  borderSecondaryOnDark: appTheme.colors.gray[300],
1148
1152
  divider: appTheme.colors.gray[200],
1149
1153
  dividerOnDark: appTheme.colors.gray[200],
1150
1154
  dividerInverse: appTheme.colors.gray[200],
1151
- fillDisabled: appTheme.colors.gray[100],
1155
+ fillDisabled: appTheme.colors.gray[75],
1152
1156
  fillPrimaryInteraction: addOpacityToHex(appTheme.colors.gray[300], 32),
1153
- fillPrimaryInteractionOnDark: addOpacityToHex(appTheme.colors.gray[300], 32),
1157
+ fillPrimaryInteractionOnDark: addOpacityToHex(appTheme.colors.gray[300], 24),
1154
1158
  fillHoverInverse: addOpacityToHex(appTheme.colors.gray[300], 32),
1155
1159
  fillOpenInverse: addOpacityToHex(appTheme.colors.gray[300], 32),
1156
- fillPrimaryPressed: addOpacityToHex(appTheme.colors.gray[300], 40),
1160
+ fillPrimaryPressed: addOpacityToHex(appTheme.colors.gray[300], 34),
1157
1161
  fillPrimaryPressedOnDark: addOpacityToHex(appTheme.colors.gray[300], 40),
1158
1162
  fillPressedInverse: addOpacityToHex(appTheme.colors.gray[300], 32),
1159
- fillPrimary: appTheme.colors.gray[100],
1163
+ fillPrimary: appTheme.colors.gray[75],
1160
1164
  fillSelected: appTheme.colors.gray[900],
1161
1165
  fillSecondary: appTheme.colors.gray[200],
1162
1166
  fillSecondaryInteraction: addOpacityToHex(appTheme.colors.gray[400], 26),
@@ -1164,7 +1168,7 @@ const SDSPaletteDark = (appTheme) => {
1164
1168
  fillSecondaryOnDark: appTheme.colors.gray[200],
1165
1169
  fillSecondaryInteractionOnDark: addOpacityToHex(appTheme.colors.gray[400], 34),
1166
1170
  fillSecondaryPressedOnDark: addOpacityToHex(appTheme.colors.gray[400], 46),
1167
- fillDisabledOnDark: appTheme.colors.gray[100],
1171
+ fillDisabledOnDark: appTheme.colors.gray[75],
1168
1172
  ornamentDisabled: appTheme.colors.gray[300],
1169
1173
  ornamentDisabledOnDark: appTheme.colors.gray[300],
1170
1174
  ornamentDisabledInverse: appTheme.colors.gray[300],
@@ -1179,9 +1183,11 @@ const SDSPaletteDark = (appTheme) => {
1179
1183
  ornamentSecondaryOnDark: appTheme.colors.gray[600],
1180
1184
  ornamentSecondaryInverse: appTheme.colors.gray[600],
1181
1185
  ornamentSecondaryPressedInverse: appTheme.colors.gray[900],
1182
- surfacePrimary: appTheme.colors.gray[100],
1183
- surfaceSecondary: addOpacityToHex(appTheme.colors.gray[300], 32),
1184
- surfacePrimaryDark: appTheme.colors.gray[100],
1186
+ ornamentTertiary: appTheme.colors.gray[300],
1187
+ surfacePrimary: appTheme.colors.gray[75],
1188
+ surfaceSecondary: addOpacityToHex(appTheme.colors.gray[100], 64),
1189
+ surfaceTertiary: appTheme.colors.gray[100],
1190
+ surfacePrimaryDark: appTheme.colors.gray[75],
1185
1191
  surfaceInverse: appTheme.colors.gray[100],
1186
1192
  textDisabled: appTheme.colors.gray[300],
1187
1193
  textDisabledOnDark: appTheme.colors.gray[300],
@@ -1311,6 +1317,7 @@ const SDSPaletteDark = (appTheme) => {
1311
1317
  * This function creates the theme options for the MUI theme provider
1312
1318
  */
1313
1319
  function makeThemeOptions(appTheme, mode) {
1320
+ const semanticColors = mode === "dark" ? SDSPaletteDark(appTheme) : SDSPaletteLight(appTheme);
1314
1321
  return {
1315
1322
  app: appTheme,
1316
1323
  breakpoints: { values: Breakpoints },
@@ -1351,7 +1358,14 @@ function makeThemeOptions(appTheme, mode) {
1351
1358
  disabled: appTheme.colors.gray[400],
1352
1359
  disabledBackground: appTheme.colors.gray[300]
1353
1360
  },
1354
- background: { default: mode === "dark" ? appTheme.colors.gray[75] : appTheme.colors.gray[50] },
1361
+ /**
1362
+ * What `CssBaseline` paints the page with, so it has to be the same token
1363
+ * a component fills its own background with — otherwise a component sits
1364
+ * on a page a shade off from itself. The two are only one token in dark
1365
+ * mode, where the background and the surfaces above it are deliberately
1366
+ * different shades of near-black.
1367
+ */
1368
+ background: { default: semanticColors.base.backgroundPrimary },
1355
1369
  divider: appTheme.colors.gray[200],
1356
1370
  error: {
1357
1371
  "100": appTheme.colors.red[100],
@@ -1398,7 +1412,7 @@ function makeThemeOptions(appTheme, mode) {
1398
1412
  light: appTheme.colors.blue[200],
1399
1413
  main: appTheme.colors.blue[400]
1400
1414
  },
1401
- sds: mode === "dark" ? SDSPaletteDark(appTheme) : SDSPaletteLight(appTheme),
1415
+ sds: semanticColors,
1402
1416
  secondary: {
1403
1417
  "100": appTheme.colors.green[100],
1404
1418
  "200": appTheme.colors.green[200],
@@ -6316,6 +6330,19 @@ const StyledIcon$2 = /*#__PURE__*/ (0, _emotion_styled_base.default)("div", { ta
6316
6330
  //#region src/core/Icon/index.tsx
6317
6331
  /**
6318
6332
  * @see https://mui.com/material-ui/icons/#icons
6333
+ *
6334
+ * @deprecated
6335
+ * This component is deprecated and will be removed in a future major version.
6336
+ * SDS icons come from Phosphor now: import the icon you need from
6337
+ * `@phosphor-icons/react`, or from `@czi-sds/icons` for the icons SDS draws
6338
+ * itself. Both take the same props, so the only difference is the import.
6339
+ *
6340
+ * ```tsx
6341
+ * // Before
6342
+ * <Icon sdsIcon="InfoCircle" sdsSize="l" />
6343
+ * // After
6344
+ * <InfoIcon size={24} />
6345
+ * ```
6319
6346
  */
6320
6347
  const Icon = (0, react.forwardRef)(function Icon({ className, color, shade, sdsIcon, sdsSize }, ref) {
6321
6348
  var _iconMap$sdsIcon;
@@ -8240,17 +8267,9 @@ const SDS_WARNINGS = {
8240
8267
  hasWarned: false,
8241
8268
  message: "Warning: MenuSelect will be deprecated and replaced with <DropdownMenu />"
8242
8269
  },
8243
- ["tooltipSubtitle"]: {
8244
- hasWarned: false,
8245
- message: "Warning: The 'subtitle' text is only available for dark tooltips!"
8246
- },
8247
- ["tooltipWidth"]: {
8248
- hasWarned: false,
8249
- message: "Warning: The 'wide' width is only available for light tooltips!"
8250
- },
8251
8270
  ["tooltipInvertStyle"]: {
8252
8271
  hasWarned: false,
8253
- message: "Warning: Tooltips using the inverted or sdsStyle prop will be deprecated. Please use hasInvertedStyle instead!"
8272
+ message: "Warning: The 'hasInvertedStyle', 'inverted' and 'sdsStyle' props are deprecated and no longer change how a Tooltip looks. Tooltips now follow the theme mode, and these props will be removed in a future release."
8254
8273
  },
8255
8274
  ["contentCardActionsOnlyButtons"]: {
8256
8275
  hasWarned: false,
@@ -8465,8 +8484,71 @@ const StyledButtonGroup = /*#__PURE__*/ (0, _emotion_styled_base.default)(_mui_m
8465
8484
  return /*#__PURE__*/ (0, _emotion_react.css)(GeneralButtonGroupStyles(props), " ", sdsType === "primary" && PrimaryButtonGroupStyles(props), " ", sdsType === "secondary" && SecondaryButtonGroupStyles(props), " ", size === "large" && LargeButtonGroupStyles(props), " ", size === "medium" && MediumButtonGroupStyles(props), " ", size === "small" && SmallButtonGroupStyles(props), ";");
8466
8485
  }, ";");
8467
8486
  //#endregion
8487
+ //#region src/core/ButtonToggle/style.ts
8488
+ /**
8489
+ * (masoudmanson): Since StyledButtonToggle is built on top of Button,
8490
+ * we only need to exclude the `sdsStage` prop from being forwarded,
8491
+ * as it is not a valid prop for Button.
8492
+ * All other props should be passed down to Button; otherwise,
8493
+ * the component won’t function as expected.
8494
+ */
8495
+ const doNotForwardProps$39 = ["sdsStage"];
8496
+ /**
8497
+ * Utility to select the appropriate color based on background appearance.
8498
+ * Returns the dark variant when backgroundAppearance is "dark", otherwise returns the light variant.
8499
+ */
8500
+ const getAppearanceColor = (lightColor, darkColor, backgroundAppearance) => {
8501
+ return backgroundAppearance === "dark" ? darkColor : lightColor;
8502
+ };
8503
+ const StageOnStyles = (props) => {
8504
+ var _semanticColors$accen, _semanticColors$accen2, _semanticColors$base, _semanticColors$base2, _semanticColors$accen3, _semanticColors$accen4, _semanticColors$base3, _semanticColors$base4, _semanticColors$accen5, _semanticColors$accen6, _semanticColors$base5, _semanticColors$base6, _semanticColors$accen7, _semanticColors$accen8, _semanticColors$base7, _semanticColors$base8;
8505
+ const { sdsType, sdsStyle, backgroundOnHover, backgroundAppearance = "matchBackground" } = props;
8506
+ const semanticColors = getSemanticColors(props);
8507
+ const contentColor = sdsType === "primary" ? getAppearanceColor(semanticColors === null || semanticColors === void 0 || (_semanticColors$accen = semanticColors.accent) === null || _semanticColors$accen === void 0 ? void 0 : _semanticColors$accen.foreground, semanticColors === null || semanticColors === void 0 || (_semanticColors$accen2 = semanticColors.accent) === null || _semanticColors$accen2 === void 0 ? void 0 : _semanticColors$accen2.foregroundOnDark, backgroundAppearance) : getAppearanceColor(semanticColors === null || semanticColors === void 0 || (_semanticColors$base = semanticColors.base) === null || _semanticColors$base === void 0 ? void 0 : _semanticColors$base.textPrimary, semanticColors === null || semanticColors === void 0 || (_semanticColors$base2 = semanticColors.base) === null || _semanticColors$base2 === void 0 ? void 0 : _semanticColors$base2.textPrimaryOnDark, backgroundAppearance);
8508
+ const backgroundColor = sdsStyle === "outline" && sdsType === "primary" ? getAppearanceColor(semanticColors === null || semanticColors === void 0 || (_semanticColors$accen3 = semanticColors.accent) === null || _semanticColors$accen3 === void 0 ? void 0 : _semanticColors$accen3.surfaceSecondary, semanticColors === null || semanticColors === void 0 || (_semanticColors$accen4 = semanticColors.accent) === null || _semanticColors$accen4 === void 0 ? void 0 : _semanticColors$accen4.surfaceSecondaryOnDark, backgroundAppearance) : getAppearanceColor(semanticColors === null || semanticColors === void 0 || (_semanticColors$base3 = semanticColors.base) === null || _semanticColors$base3 === void 0 ? void 0 : _semanticColors$base3.fillPrimaryInteraction, semanticColors === null || semanticColors === void 0 || (_semanticColors$base4 = semanticColors.base) === null || _semanticColors$base4 === void 0 ? void 0 : _semanticColors$base4.fillPrimaryInteractionOnDark, backgroundAppearance);
8509
+ const ornamentColor = sdsStyle === "outline" ? sdsType === "primary" ? getAppearanceColor(semanticColors === null || semanticColors === void 0 || (_semanticColors$accen5 = semanticColors.accent) === null || _semanticColors$accen5 === void 0 ? void 0 : _semanticColors$accen5.foreground, semanticColors === null || semanticColors === void 0 || (_semanticColors$accen6 = semanticColors.accent) === null || _semanticColors$accen6 === void 0 ? void 0 : _semanticColors$accen6.foregroundOnDark, backgroundAppearance) : getAppearanceColor(semanticColors === null || semanticColors === void 0 || (_semanticColors$base5 = semanticColors.base) === null || _semanticColors$base5 === void 0 ? void 0 : _semanticColors$base5.ornamentPrimary, semanticColors === null || semanticColors === void 0 || (_semanticColors$base6 = semanticColors.base) === null || _semanticColors$base6 === void 0 ? void 0 : _semanticColors$base6.ornamentPrimaryOnDark, backgroundAppearance) : sdsType === "primary" ? getAppearanceColor(semanticColors === null || semanticColors === void 0 || (_semanticColors$accen7 = semanticColors.accent) === null || _semanticColors$accen7 === void 0 ? void 0 : _semanticColors$accen7.foreground, semanticColors === null || semanticColors === void 0 || (_semanticColors$accen8 = semanticColors.accent) === null || _semanticColors$accen8 === void 0 ? void 0 : _semanticColors$accen8.foregroundOnDark, backgroundAppearance) : getAppearanceColor(semanticColors === null || semanticColors === void 0 || (_semanticColors$base7 = semanticColors.base) === null || _semanticColors$base7 === void 0 ? void 0 : _semanticColors$base7.ornamentSecondaryInteraction, semanticColors === null || semanticColors === void 0 || (_semanticColors$base8 = semanticColors.base) === null || _semanticColors$base8 === void 0 ? void 0 : _semanticColors$base8.ornamentSecondaryInteractionOnDark, backgroundAppearance);
8510
+ if (sdsType === "secondary")
8511
+ /**
8512
+ * Specificity boost via Emotion's `&&&&` technique.
8513
+ *
8514
+ * Each `&` repeats the component's generated class, producing a selector
8515
+ * like `.css-abc123.css-abc123.css-abc123.css-abc123`, which has
8516
+ * specificity (0,4,0).
8517
+ *
8518
+ * This is needed because ButtonGroup styles its children with
8519
+ * `&& .MuiButtonGroup-grouped` which has specificity (0,3,0).
8520
+ * Without the boost, the sdsStage="on" styles would always lose
8521
+ * the cascade to the ButtonGroup's parent-level overrides.
8522
+ */
8523
+ return /*#__PURE__*/ (0, _emotion_react.css)("&&&&{color:", contentColor, ";svg{color:", ornamentColor, ";}&::before{background-color:", sdsStyle === "minimal" && !backgroundOnHover ? "transparent" : backgroundColor, ";}}");
8524
+ return /*#__PURE__*/ (0, _emotion_react.css)("&&&&{background-color:", sdsStyle === "minimal" && !backgroundOnHover ? "transparent" : backgroundColor, ";color:", contentColor, ";svg{color:", ornamentColor, ";}}");
8525
+ };
8526
+ const StyledButtonToggle = /*#__PURE__*/ (0, _emotion_styled_base.default)(Button, {
8527
+ shouldForwardProp: (prop) => !doNotForwardProps$39.includes(prop),
8528
+ target: "euuolxv0"
8529
+ })((props) => {
8530
+ const { sdsStage } = props;
8531
+ if (sdsStage === "on") return StageOnStyles(props);
8532
+ return null;
8533
+ }, ";");
8534
+ //#endregion
8535
+ //#region src/core/ButtonToggle/index.tsx
8536
+ const _excluded$38 = ["startIcon"];
8537
+ /**
8538
+ * @see https://mui.com/material-ui/react-button/
8539
+ */
8540
+ const ButtonToggle = react.default.forwardRef((props, ref) => {
8541
+ const { startIcon } = props;
8542
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledButtonToggle, _objectSpread2(_objectSpread2({}, _objectWithoutProperties(props, _excluded$38)), {}, {
8543
+ startIcon,
8544
+ endIcon: null,
8545
+ backgroundOnHover: true,
8546
+ ref
8547
+ }));
8548
+ });
8549
+ //#endregion
8468
8550
  //#region src/core/ButtonGroup/index.tsx
8469
- const _excluded$38 = [
8551
+ const _excluded$37 = [
8470
8552
  "sdsType",
8471
8553
  "size",
8472
8554
  "orientation",
@@ -8495,17 +8577,20 @@ const areAllButtonsIconOnly = (children) => {
8495
8577
  return childArray.every((child) => isIconOnlyButton(child));
8496
8578
  };
8497
8579
  /**
8498
- * Check if a React element is a Button component.
8580
+ * The components a group is made of, and so the ones its size applies to. A
8581
+ * ButtonToggle passes `size` on to the Button underneath it, which is what
8582
+ * keeps a mixed group at one height.
8499
8583
  */
8500
- const isButton = (element) => {
8501
- return element.type === Button;
8584
+ const GROUPED_COMPONENTS = [Button, ButtonToggle];
8585
+ const takesGroupSize = (element) => {
8586
+ return GROUPED_COMPONENTS.includes(element.type);
8502
8587
  };
8503
8588
  /**
8504
- * Clone children and inject the size prop to Button components.
8589
+ * Clone children and inject the size prop to the buttons in the group.
8505
8590
  */
8506
8591
  const cloneChildrenWithSize = (children, size) => {
8507
8592
  return react.Children.map(children, (child) => {
8508
- if ((0, react.isValidElement)(child) && isButton(child)) return (0, react.cloneElement)(child, { size });
8593
+ if ((0, react.isValidElement)(child) && takesGroupSize(child)) return (0, react.cloneElement)(child, { size });
8509
8594
  return child;
8510
8595
  });
8511
8596
  };
@@ -8518,7 +8603,7 @@ const cloneChildrenWithSize = (children, size) => {
8518
8603
  * Note: Vertical orientation is only available when all buttons are icon-only.
8519
8604
  */
8520
8605
  const ButtonGroup = react.default.forwardRef((props, ref) => {
8521
- const { sdsType = "primary", size = "large", orientation = "horizontal", children } = props, rest = _objectWithoutProperties(props, _excluded$38);
8606
+ const { sdsType = "primary", size = "large", orientation = "horizontal", children } = props, rest = _objectWithoutProperties(props, _excluded$37);
8522
8607
  const allIconOnly = areAllButtonsIconOnly(children);
8523
8608
  const effectiveOrientation = allIconOnly ? orientation : "horizontal";
8524
8609
  if (orientation === "vertical" && !allIconOnly) showWarningIfFirstOccurence("ButtonGroupVerticalOrientation");
@@ -8571,7 +8656,7 @@ const large = (props) => {
8571
8656
  const spaces = getSpaces(props);
8572
8657
  return /*#__PURE__*/ (0, _emotion_react.css)(sdsType !== "tertiary" ? `margin: 0 ${spaces === null || spaces === void 0 ? void 0 : spaces.s}px ${spaces === null || spaces === void 0 ? void 0 : spaces.s}px 0;` : "", " .MuiSvgIcon-root{height:", iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.xl.height, "px;width:", iconSizes === null || iconSizes === void 0 ? void 0 : iconSizes.xl.height, "px;", sdsType !== "tertiary" ? `margin: ${spaces === null || spaces === void 0 ? void 0 : spaces.xxs}px;` : "", ";}");
8573
8658
  };
8574
- const doNotForwardProps$39 = [
8659
+ const doNotForwardProps$38 = [
8575
8660
  "on",
8576
8661
  "sdsSize",
8577
8662
  "sdsType",
@@ -8581,7 +8666,7 @@ const doNotForwardProps$39 = [
8581
8666
  "customTheme"
8582
8667
  ];
8583
8668
  const StyledButtonIcon = /*#__PURE__*/ (0, _emotion_styled_base.default)(_mui_material.IconButton, {
8584
- shouldForwardProp: (prop) => !doNotForwardProps$39.includes(prop),
8669
+ shouldForwardProp: (prop) => !doNotForwardProps$38.includes(prop),
8585
8670
  target: "e164i6480"
8586
8671
  })("padding:0;", focusVisibleA11yStyle, " ", (props) => {
8587
8672
  const { disabled, sdsSize = "medium", sdsType = "primary" } = props;
@@ -8627,68 +8712,6 @@ const ButtonIcon = (0, react.forwardRef)(function ButtonIcon(props, ref) {
8627
8712
  }));
8628
8713
  });
8629
8714
  //#endregion
8630
- //#region src/core/ButtonToggle/style.ts
8631
- /**
8632
- * (masoudmanson): Since StyledButtonToggle is built on top of Button,
8633
- * we only need to exclude the `sdsStage` prop from being forwarded,
8634
- * as it is not a valid prop for Button.
8635
- * All other props should be passed down to Button; otherwise,
8636
- * the component won’t function as expected.
8637
- */
8638
- const doNotForwardProps$38 = ["sdsStage"];
8639
- /**
8640
- * Utility to select the appropriate color based on background appearance.
8641
- * Returns the dark variant when backgroundAppearance is "dark", otherwise returns the light variant.
8642
- */
8643
- const getAppearanceColor = (lightColor, darkColor, backgroundAppearance) => {
8644
- return backgroundAppearance === "dark" ? darkColor : lightColor;
8645
- };
8646
- const StageOnStyles = (props) => {
8647
- var _semanticColors$accen, _semanticColors$accen2, _semanticColors$base, _semanticColors$base2, _semanticColors$accen3, _semanticColors$accen4, _semanticColors$base3, _semanticColors$base4, _semanticColors$accen5, _semanticColors$accen6, _semanticColors$base5, _semanticColors$base6, _semanticColors$accen7, _semanticColors$accen8, _semanticColors$base7, _semanticColors$base8;
8648
- const { sdsType, sdsStyle, backgroundOnHover, backgroundAppearance = "matchBackground" } = props;
8649
- const semanticColors = getSemanticColors(props);
8650
- const contentColor = sdsType === "primary" ? getAppearanceColor(semanticColors === null || semanticColors === void 0 || (_semanticColors$accen = semanticColors.accent) === null || _semanticColors$accen === void 0 ? void 0 : _semanticColors$accen.foreground, semanticColors === null || semanticColors === void 0 || (_semanticColors$accen2 = semanticColors.accent) === null || _semanticColors$accen2 === void 0 ? void 0 : _semanticColors$accen2.foregroundOnDark, backgroundAppearance) : getAppearanceColor(semanticColors === null || semanticColors === void 0 || (_semanticColors$base = semanticColors.base) === null || _semanticColors$base === void 0 ? void 0 : _semanticColors$base.textPrimary, semanticColors === null || semanticColors === void 0 || (_semanticColors$base2 = semanticColors.base) === null || _semanticColors$base2 === void 0 ? void 0 : _semanticColors$base2.textPrimaryOnDark, backgroundAppearance);
8651
- const backgroundColor = sdsStyle === "outline" && sdsType === "primary" ? getAppearanceColor(semanticColors === null || semanticColors === void 0 || (_semanticColors$accen3 = semanticColors.accent) === null || _semanticColors$accen3 === void 0 ? void 0 : _semanticColors$accen3.surfaceSecondary, semanticColors === null || semanticColors === void 0 || (_semanticColors$accen4 = semanticColors.accent) === null || _semanticColors$accen4 === void 0 ? void 0 : _semanticColors$accen4.surfaceSecondaryOnDark, backgroundAppearance) : getAppearanceColor(semanticColors === null || semanticColors === void 0 || (_semanticColors$base3 = semanticColors.base) === null || _semanticColors$base3 === void 0 ? void 0 : _semanticColors$base3.fillPrimaryInteraction, semanticColors === null || semanticColors === void 0 || (_semanticColors$base4 = semanticColors.base) === null || _semanticColors$base4 === void 0 ? void 0 : _semanticColors$base4.fillPrimaryInteractionOnDark, backgroundAppearance);
8652
- const ornamentColor = sdsStyle === "outline" ? sdsType === "primary" ? getAppearanceColor(semanticColors === null || semanticColors === void 0 || (_semanticColors$accen5 = semanticColors.accent) === null || _semanticColors$accen5 === void 0 ? void 0 : _semanticColors$accen5.foreground, semanticColors === null || semanticColors === void 0 || (_semanticColors$accen6 = semanticColors.accent) === null || _semanticColors$accen6 === void 0 ? void 0 : _semanticColors$accen6.foregroundOnDark, backgroundAppearance) : getAppearanceColor(semanticColors === null || semanticColors === void 0 || (_semanticColors$base5 = semanticColors.base) === null || _semanticColors$base5 === void 0 ? void 0 : _semanticColors$base5.ornamentPrimary, semanticColors === null || semanticColors === void 0 || (_semanticColors$base6 = semanticColors.base) === null || _semanticColors$base6 === void 0 ? void 0 : _semanticColors$base6.ornamentPrimaryOnDark, backgroundAppearance) : sdsType === "primary" ? getAppearanceColor(semanticColors === null || semanticColors === void 0 || (_semanticColors$accen7 = semanticColors.accent) === null || _semanticColors$accen7 === void 0 ? void 0 : _semanticColors$accen7.foreground, semanticColors === null || semanticColors === void 0 || (_semanticColors$accen8 = semanticColors.accent) === null || _semanticColors$accen8 === void 0 ? void 0 : _semanticColors$accen8.foregroundOnDark, backgroundAppearance) : getAppearanceColor(semanticColors === null || semanticColors === void 0 || (_semanticColors$base7 = semanticColors.base) === null || _semanticColors$base7 === void 0 ? void 0 : _semanticColors$base7.ornamentSecondaryInteraction, semanticColors === null || semanticColors === void 0 || (_semanticColors$base8 = semanticColors.base) === null || _semanticColors$base8 === void 0 ? void 0 : _semanticColors$base8.ornamentSecondaryInteractionOnDark, backgroundAppearance);
8653
- if (sdsType === "secondary")
8654
- /**
8655
- * Specificity boost via Emotion's `&&&&` technique.
8656
- *
8657
- * Each `&` repeats the component's generated class, producing a selector
8658
- * like `.css-abc123.css-abc123.css-abc123.css-abc123` — specificity (0,4,0).
8659
- *
8660
- * This is needed because ButtonGroup styles its children with
8661
- * `&& .MuiButtonGroup-grouped` which has specificity (0,3,0).
8662
- * Without the boost, the sdsStage="on" styles would always lose
8663
- * the cascade to the ButtonGroup's parent-level overrides.
8664
- */
8665
- return /*#__PURE__*/ (0, _emotion_react.css)("&&&&{color:", contentColor, ";svg{color:", ornamentColor, ";}&::before{background-color:", sdsStyle === "minimal" && !backgroundOnHover ? "transparent" : backgroundColor, ";}}");
8666
- return /*#__PURE__*/ (0, _emotion_react.css)("&&&&{background-color:", sdsStyle === "minimal" && !backgroundOnHover ? "transparent" : backgroundColor, ";color:", contentColor, ";svg{color:", ornamentColor, ";}}");
8667
- };
8668
- const StyledButtonToggle = /*#__PURE__*/ (0, _emotion_styled_base.default)(Button, {
8669
- shouldForwardProp: (prop) => !doNotForwardProps$38.includes(prop),
8670
- target: "euuolxv0"
8671
- })((props) => {
8672
- const { sdsStage } = props;
8673
- if (sdsStage === "on") return StageOnStyles(props);
8674
- return null;
8675
- }, ";");
8676
- //#endregion
8677
- //#region src/core/ButtonToggle/index.tsx
8678
- const _excluded$37 = ["startIcon"];
8679
- /**
8680
- * @see https://mui.com/material-ui/react-button/
8681
- */
8682
- const ButtonToggle = react.default.forwardRef((props, ref) => {
8683
- const { startIcon } = props;
8684
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledButtonToggle, _objectSpread2(_objectSpread2({}, _objectWithoutProperties(props, _excluded$37)), {}, {
8685
- startIcon,
8686
- endIcon: null,
8687
- backgroundOnHover: true,
8688
- ref
8689
- }));
8690
- });
8691
- //#endregion
8692
8715
  //#region src/core/ButtonLegacy/style.ts
8693
8716
  const doNotForwardProps$37 = [
8694
8717
  "isAllCaps",
@@ -9035,7 +9058,8 @@ const _excluded$35 = [
9035
9058
  "hideTitle",
9036
9059
  "hideBody",
9037
9060
  "sdsStyle",
9038
- "children"
9061
+ "children",
9062
+ "extraContent"
9039
9063
  ];
9040
9064
  const SDS_STAGE_OPEN = "open";
9041
9065
  const SDS_STAGE_CLOSED = "closed";
@@ -9043,7 +9067,7 @@ const SDS_STAGE_CLOSED = "closed";
9043
9067
  * @see https://mui.com/material-ui/react-alert/
9044
9068
  */
9045
9069
  const Callout = (props) => {
9046
- const { autoDismiss, dismissed, icon, sdsIconProps, intent, sdsStage = SDS_STAGE_OPEN, title, body, hideTitle = false, hideBody = false, sdsStyle = "persistent", children } = props, rest = _objectWithoutProperties(props, _excluded$35);
9070
+ const { autoDismiss, dismissed, icon, sdsIconProps, intent, sdsStage = SDS_STAGE_OPEN, title, body, hideTitle = false, hideBody = false, sdsStyle = "persistent", children, extraContent } = props, rest = _objectWithoutProperties(props, _excluded$35);
9047
9071
  const [hide, setHide] = (0, react.useState)(dismissed);
9048
9072
  const [stage, setStage] = (0, react.useState)(sdsStage);
9049
9073
  (0, react.useEffect)(() => {
@@ -9123,70 +9147,62 @@ const Callout = (props) => {
9123
9147
  hideTitle,
9124
9148
  children: body
9125
9149
  }),
9126
- sdsStyle === "expandable" && !collapsed && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CalloutExtraContent, {
9150
+ sdsStyle === "expandable" && !collapsed && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(CalloutExtraContent, {
9127
9151
  hideTitle,
9128
9152
  hideBody,
9129
- children
9153
+ children: [children, extraContent]
9130
9154
  })
9131
9155
  ] }))
9132
9156
  });
9133
9157
  };
9134
9158
  //#endregion
9135
9159
  //#region src/core/Tooltip/style.ts
9136
- const dark = (props) => {
9160
+ const surface = (props) => {
9137
9161
  var _semanticColors$base, _semanticColors$base2;
9138
9162
  const spaces = getSpaces(props);
9139
9163
  const semanticColors = getSemanticColors(props);
9140
- return /*#__PURE__*/ (0, _emotion_css.css)(fontHeaderXs(props), " background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base = semanticColors.base) === null || _semanticColors$base === void 0 ? void 0 : _semanticColors$base.surfacePrimaryDark, ";color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base2 = semanticColors.base) === null || _semanticColors$base2 === void 0 ? void 0 : _semanticColors$base2.textPrimaryOnDark, ";padding:", spaces === null || spaces === void 0 ? void 0 : spaces.s, "px ", spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;");
9141
- };
9142
- const light = (props) => {
9143
- var _semanticColors$base3, _semanticColors$base4;
9144
- const spaces = getSpaces(props);
9145
- const semanticColors = getSemanticColors(props);
9146
- return /*#__PURE__*/ (0, _emotion_css.css)(fontBodyXs(props), " background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base3 = semanticColors.base) === null || _semanticColors$base3 === void 0 ? void 0 : _semanticColors$base3.surfacePrimary, ";color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base4 = semanticColors.base) === null || _semanticColors$base4 === void 0 ? void 0 : _semanticColors$base4.textPrimary, ";padding:", spaces === null || spaces === void 0 ? void 0 : spaces.s, "px ", spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;");
9164
+ return /*#__PURE__*/ (0, _emotion_css.css)(fontBodyXs(props), " background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base = semanticColors.base) === null || _semanticColors$base === void 0 ? void 0 : _semanticColors$base.surfacePrimary, ";color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base2 = semanticColors.base) === null || _semanticColors$base2 === void 0 ? void 0 : _semanticColors$base2.textPrimary, ";padding:", spaces === null || spaces === void 0 ? void 0 : spaces.s, "px ", spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;");
9147
9165
  };
9148
9166
  const tableStyles = (props) => {
9149
9167
  const spaces = getSpaces(props);
9150
9168
  return /*#__PURE__*/ (0, _emotion_css.css)("padding:", spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;");
9151
9169
  };
9152
- const doNotForwardProps$34 = ["hasInvertedStyle", "textAlign"];
9170
+ const doNotForwardProps$34 = ["textAlign"];
9153
9171
  const StyledTitle = /*#__PURE__*/ (0, _emotion_styled_base.default)("p", {
9154
9172
  shouldForwardProp: (prop) => !doNotForwardProps$34.includes(prop),
9155
9173
  target: "e1j7jeiz3"
9156
9174
  })(fontBodyMediumXs, " ", (props) => {
9157
- var _semanticColors$base5, _semanticColors$base6;
9158
- const { hasInvertedStyle } = props;
9175
+ var _semanticColors$base3;
9159
9176
  const semanticColors = getSemanticColors(props);
9160
9177
  return `
9161
9178
  margin: 0;
9162
- color: ${hasInvertedStyle ? semanticColors === null || semanticColors === void 0 || (_semanticColors$base5 = semanticColors.base) === null || _semanticColors$base5 === void 0 ? void 0 : _semanticColors$base5.textPrimaryOnDark : semanticColors === null || semanticColors === void 0 || (_semanticColors$base6 = semanticColors.base) === null || _semanticColors$base6 === void 0 ? void 0 : _semanticColors$base6.textPrimary};
9179
+ color: ${semanticColors === null || semanticColors === void 0 || (_semanticColors$base3 = semanticColors.base) === null || _semanticColors$base3 === void 0 ? void 0 : _semanticColors$base3.textPrimary};
9163
9180
  `;
9164
9181
  }, ";");
9165
9182
  const StyledSubtitle = /*#__PURE__*/ (0, _emotion_styled_base.default)("p", {
9166
9183
  shouldForwardProp: (prop) => !doNotForwardProps$34.includes(prop),
9167
9184
  target: "e1j7jeiz2"
9168
9185
  })(fontBodyXxs, " ", (props) => {
9169
- var _semanticColors$base7, _semanticColors$base8;
9170
- const { hasInvertedStyle } = props;
9186
+ var _semanticColors$base4;
9171
9187
  const semanticColors = getSemanticColors(props);
9172
9188
  return `
9173
9189
  margin: 0;
9174
- color: ${hasInvertedStyle ? semanticColors === null || semanticColors === void 0 || (_semanticColors$base7 = semanticColors.base) === null || _semanticColors$base7 === void 0 ? void 0 : _semanticColors$base7.textSecondaryOnDark : semanticColors === null || semanticColors === void 0 || (_semanticColors$base8 = semanticColors.base) === null || _semanticColors$base8 === void 0 ? void 0 : _semanticColors$base8.textSecondary};
9190
+ color: ${semanticColors === null || semanticColors === void 0 || (_semanticColors$base4 = semanticColors.base) === null || _semanticColors$base4 === void 0 ? void 0 : _semanticColors$base4.textSecondary};
9175
9191
  `;
9176
9192
  }, ";");
9177
9193
  const tooltipCss = (props) => {
9178
- var _semanticColors$base9;
9179
- const { hasInvertedStyle = true, inverted, sdsStyle, width, followCursor, textAlign } = props;
9194
+ var _semanticColors$base5;
9195
+ const { width, followCursor, textAlign } = props;
9180
9196
  const shadows = getShadows(props);
9181
9197
  const corners = getCorners(props);
9182
9198
  const semanticColors = getSemanticColors(props);
9183
- return /*#__PURE__*/ (0, _emotion_css.css)("&.MuiTooltip-tooltip{border-radius:", corners === null || corners === void 0 ? void 0 : corners.l, "px;box-shadow:", shadows === null || shadows === void 0 ? void 0 : shadows.m, ";max-width:", width === "wide" ? "550px" : "250px", "!important;text-align:", textAlign ? textAlign : width === "wide" ? "left" : "center", "!important;", !hasInvertedStyle && `outline: 1px solid ${addOpacityToHex((semanticColors === null || semanticColors === void 0 || (_semanticColors$base9 = semanticColors.base) === null || _semanticColors$base9 === void 0 ? void 0 : _semanticColors$base9.borderSecondary) || "#000000", 15)};`, " ", sdsStyle === "dark" || inverted || hasInvertedStyle ? dark(props) : light(props), " ", followCursor === true && tableStyles(props), ";}");
9199
+ return /*#__PURE__*/ (0, _emotion_css.css)("&.MuiTooltip-tooltip{border-radius:", corners === null || corners === void 0 ? void 0 : corners.l, "px;box-shadow:", shadows === null || shadows === void 0 ? void 0 : shadows.m, ";max-width:", width === "wide" ? "550px" : "250px", "!important;outline:1px solid ", addOpacityToHex((semanticColors === null || semanticColors === void 0 || (_semanticColors$base5 = semanticColors.base) === null || _semanticColors$base5 === void 0 ? void 0 : _semanticColors$base5.borderSecondary) || "#000000", 15), ";text-align:", textAlign ? textAlign : width === "wide" ? "left" : "center", "!important;", surface(props), " ", followCursor === true && tableStyles(props), ";}");
9184
9200
  };
9185
9201
  const arrowCss = (props) => {
9186
- var _semanticColors$base10, _semanticColors$base11;
9187
- const { hasInvertedStyle, inverted, sdsStyle, arrowOffset } = props;
9202
+ var _semanticColors$base6;
9203
+ const { arrowOffset } = props;
9188
9204
  const semanticColors = getSemanticColors(props);
9189
- return /*#__PURE__*/ (0, _emotion_css.css)("&.MuiTooltip-arrow{", arrowOffset !== void 0 ? `left: ${arrowOffset}px !important;` : "", " color:", hasInvertedStyle || inverted || sdsStyle === "dark" ? semanticColors === null || semanticColors === void 0 || (_semanticColors$base10 = semanticColors.base) === null || _semanticColors$base10 === void 0 ? void 0 : _semanticColors$base10.surfacePrimaryDark : semanticColors === null || semanticColors === void 0 || (_semanticColors$base11 = semanticColors.base) === null || _semanticColors$base11 === void 0 ? void 0 : _semanticColors$base11.surfacePrimary, ";&:before{box-sizing:border-box;width:12px;height:12px;}}");
9205
+ return /*#__PURE__*/ (0, _emotion_css.css)("&.MuiTooltip-arrow{", arrowOffset !== void 0 ? `left: ${arrowOffset}px !important;` : "", " color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base6 = semanticColors.base) === null || _semanticColors$base6 === void 0 ? void 0 : _semanticColors$base6.surfacePrimary, ";&:before{box-sizing:border-box;width:12px;height:12px;}}");
9190
9206
  };
9191
9207
  const StyledPopper$2 = /*#__PURE__*/ (0, _emotion_styled_base.default)(_mui_material.Popper, { target: "e1j7jeiz1" })("z-index:", (props) => {
9192
9208
  var _props$theme$zIndex$t, _props$theme;
@@ -9222,17 +9238,14 @@ const _excluded$34 = [
9222
9238
  * https://mui.com/components/tooltips/#disabled-elements
9223
9239
  */
9224
9240
  const Tooltip = (0, react.forwardRef)(function Tooltip(props, ref) {
9225
- const { arrowOffset, classes, hasInvertedStyle = true, inverted, sdsStyle = "dark", subtitle, title, width = "default", PopperComponent = StyledPopper$2, textAlign, componentSlot } = props, rest = _objectWithoutProperties(props, _excluded$34);
9241
+ const { arrowOffset, classes, hasInvertedStyle, inverted, sdsStyle, subtitle, title, width = "default", PopperComponent = StyledPopper$2, textAlign, componentSlot } = props, rest = _objectWithoutProperties(props, _excluded$34);
9226
9242
  const { children } = rest;
9227
- if (inverted || sdsStyle) showWarningIfFirstOccurence("tooltipInvertStyle");
9228
- if (width === "wide" && (sdsStyle === "dark" || hasInvertedStyle)) showWarningIfFirstOccurence("tooltipWidth");
9229
- const theme = (0, _mui_material.useTheme)();
9243
+ if (hasInvertedStyle !== void 0 || inverted !== void 0 || sdsStyle !== void 0) showWarningIfFirstOccurence("tooltipInvertStyle");
9230
9244
  const extraProps = {
9231
9245
  arrowOffset,
9232
9246
  classes,
9233
- hasInvertedStyle: invertStyleValue(inverted, sdsStyle, hasInvertedStyle),
9234
9247
  textAlign,
9235
- theme,
9248
+ theme: (0, _mui_material.useTheme)(),
9236
9249
  width
9237
9250
  };
9238
9251
  const tooltip = mergeClass$1({
@@ -9251,16 +9264,9 @@ const Tooltip = (0, react.forwardRef)(function Tooltip(props, ref) {
9251
9264
  arrow,
9252
9265
  tooltip
9253
9266
  },
9254
- leaveDelay: hasInvertedStyle || inverted || sdsStyle === "dark" ? 0 : 500,
9255
9267
  title: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", { children: [
9256
- title && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledTitle, {
9257
- hasInvertedStyle,
9258
- children: title
9259
- }),
9260
- subtitle && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledSubtitle, {
9261
- hasInvertedStyle,
9262
- children: subtitle
9263
- }),
9268
+ title && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledTitle, { children: title }),
9269
+ subtitle && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledSubtitle, { children: subtitle }),
9264
9270
  componentSlot && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledComponentSlotWrapper, {
9265
9271
  shouldAddMargin: !!title || !!subtitle,
9266
9272
  children: componentSlot
@@ -9271,15 +9277,6 @@ const Tooltip = (0, react.forwardRef)(function Tooltip(props, ref) {
9271
9277
  arrow: true
9272
9278
  }, rest), {}, { slots: { popper: PopperComponent } }));
9273
9279
  });
9274
- /**
9275
- * (masoudmanson): Temporary function to handle the inversion of the tooltip
9276
- * based on the sdsStyle, invert and hasInvertedStyle props.
9277
- * Once the sdsStyle and invert props are completely removed,
9278
- * this function will be removed as well.
9279
- */
9280
- function invertStyleValue(inverted, sdsStyle, hasInvertedStyle) {
9281
- return hasInvertedStyle !== void 0 ? hasInvertedStyle : sdsStyle === "dark" ? true : sdsStyle === "light" ? false : inverted;
9282
- }
9283
9280
  function mergeClass$1({ props, className, key }) {
9284
9281
  const { classes } = props;
9285
9282
  if (!classes) return className;
@@ -9510,8 +9507,7 @@ const CellBasic = (0, react.forwardRef)((props, ref) => {
9510
9507
  subtitle: secondaryText,
9511
9508
  arrow: true,
9512
9509
  leaveDelay: 0,
9513
- leaveTouchDelay: 0,
9514
- sdsStyle: "dark"
9510
+ leaveTouchDelay: 0
9515
9511
  }, tooltipProps), {}, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledTableData, _objectSpread2(_objectSpread2({
9516
9512
  ref,
9517
9513
  as
@@ -9682,7 +9678,6 @@ const CellHeader = (0, react.forwardRef)((props, ref) => {
9682
9678
  if (shouldShowTooltipOnHover && hover) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Tooltip, _objectSpread2(_objectSpread2({
9683
9679
  arrow: true,
9684
9680
  placement: "top-start",
9685
- sdsStyle: "dark",
9686
9681
  subtitle: tooltipSubtitle,
9687
9682
  title: tooltipText
9688
9683
  }, tooltipProps), {}, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledTableHeader$1, _objectSpread2(_objectSpread2({
@@ -10073,10 +10068,10 @@ const labelFontBodyS = fontBody("s", "regular");
10073
10068
  const labelFontBodyXs = fontBody("xs", "regular");
10074
10069
  const inputDropdownStyles = (props) => {
10075
10070
  var _semanticColors$base, _semanticColors$base2, _semanticColors$base3, _semanticColors$base4, _semanticColors$base5, _semanticColors$base6, _semanticColors$base7, _semanticColors$base8, _semanticColors$base9, _semanticColors$accen, _semanticColors$base10, _semanticColors$base11;
10076
- const { width = "auto" } = props;
10071
+ const { width } = props;
10077
10072
  const spaces = getSpaces(props);
10078
10073
  const semanticColors = getSemanticColors(props);
10079
- return /*#__PURE__*/ (0, _emotion_react.css)(labelStyle(props), " background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base = semanticColors.base) === null || _semanticColors$base === void 0 ? void 0 : _semanticColors$base.backgroundPrimary, "!important;border:none;box-shadow:inset 0 0 0 1px ", semanticColors === null || semanticColors === void 0 || (_semanticColors$base2 = semanticColors.base) === null || _semanticColors$base2 === void 0 ? void 0 : _semanticColors$base2.borderPrimary, ";cursor:pointer;padding:", spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px ", spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;justify-content:start;width:", /^\d+$/.test(width) ? `${width}px` : width, ";min-width:90px!important;&.MuiButton-text{&:hover{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base3 = semanticColors.base) === null || _semanticColors$base3 === void 0 ? void 0 : _semanticColors$base3.textPrimary, ";}.styled-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}", IconWrapper, "{margin-left:", spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;}}path{fill:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base4 = semanticColors.base) === null || _semanticColors$base4 === void 0 ? void 0 : _semanticColors$base4.ornamentSecondary, ";}&:hover{background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base5 = semanticColors.base) === null || _semanticColors$base5 === void 0 ? void 0 : _semanticColors$base5.fillPrimaryInteraction, ";box-shadow:inset 0 0 0 1px ", semanticColors === null || semanticColors === void 0 || (_semanticColors$base6 = semanticColors.base) === null || _semanticColors$base6 === void 0 ? void 0 : _semanticColors$base6.borderPrimaryInteraction, ";color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base7 = semanticColors.base) === null || _semanticColors$base7 === void 0 ? void 0 : _semanticColors$base7.textPrimary, ";path{fill:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base8 = semanticColors.base) === null || _semanticColors$base8 === void 0 ? void 0 : _semanticColors$base8.ornamentSecondaryInteraction, ";}.styled-label{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base9 = semanticColors.base) === null || _semanticColors$base9 === void 0 ? void 0 : _semanticColors$base9.textPrimary, ";}}&:active{background-color:transparent;box-shadow:inset 0 0 0 1px ", semanticColors === null || semanticColors === void 0 || (_semanticColors$accen = semanticColors.accent) === null || _semanticColors$accen === void 0 ? void 0 : _semanticColors$accen.foreground, ";color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base10 = semanticColors.base) === null || _semanticColors$base10 === void 0 ? void 0 : _semanticColors$base10.textPrimary, ";path{fill:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base11 = semanticColors.base) === null || _semanticColors$base11 === void 0 ? void 0 : _semanticColors$base11.ornamentSecondaryInteraction, ";}}&:focus{background-color:transparent;outline-offset:-1px;}");
10074
+ return /*#__PURE__*/ (0, _emotion_react.css)(labelStyle(props), " background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base = semanticColors.base) === null || _semanticColors$base === void 0 ? void 0 : _semanticColors$base.backgroundPrimary, "!important;border:none;box-shadow:inset 0 0 0 1px ", semanticColors === null || semanticColors === void 0 || (_semanticColors$base2 = semanticColors.base) === null || _semanticColors$base2 === void 0 ? void 0 : _semanticColors$base2.borderPrimary, ";cursor:pointer;padding:", spaces === null || spaces === void 0 ? void 0 : spaces.xs, "px ", spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;justify-content:start;", width ? `width: ${/^\d+$/.test(width) ? `${width}px` : width};` : "", " min-width:90px!important;&.MuiButton-text{&:hover{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base3 = semanticColors.base) === null || _semanticColors$base3 === void 0 ? void 0 : _semanticColors$base3.textPrimary, ";}.styled-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}", IconWrapper, "{margin-left:", spaces === null || spaces === void 0 ? void 0 : spaces.m, "px;}}path{fill:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base4 = semanticColors.base) === null || _semanticColors$base4 === void 0 ? void 0 : _semanticColors$base4.ornamentSecondary, ";}&:hover{background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base5 = semanticColors.base) === null || _semanticColors$base5 === void 0 ? void 0 : _semanticColors$base5.fillPrimaryInteraction, ";box-shadow:inset 0 0 0 1px ", semanticColors === null || semanticColors === void 0 || (_semanticColors$base6 = semanticColors.base) === null || _semanticColors$base6 === void 0 ? void 0 : _semanticColors$base6.borderPrimaryInteraction, ";color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base7 = semanticColors.base) === null || _semanticColors$base7 === void 0 ? void 0 : _semanticColors$base7.textPrimary, ";path{fill:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base8 = semanticColors.base) === null || _semanticColors$base8 === void 0 ? void 0 : _semanticColors$base8.ornamentSecondaryInteraction, ";}.styled-label{color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base9 = semanticColors.base) === null || _semanticColors$base9 === void 0 ? void 0 : _semanticColors$base9.textPrimary, ";}}&:active{background-color:transparent;box-shadow:inset 0 0 0 1px ", semanticColors === null || semanticColors === void 0 || (_semanticColors$accen = semanticColors.accent) === null || _semanticColors$accen === void 0 ? void 0 : _semanticColors$accen.foreground, ";color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base10 = semanticColors.base) === null || _semanticColors$base10 === void 0 ? void 0 : _semanticColors$base10.textPrimary, ";path{fill:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base11 = semanticColors.base) === null || _semanticColors$base11 === void 0 ? void 0 : _semanticColors$base11.ornamentSecondaryInteraction, ";}}&:focus{background-color:transparent;outline-offset:-1px;}");
10080
10075
  };
10081
10076
  const minimal$1 = (props) => {
10082
10077
  var _semanticColors$base12, _semanticColors$base13, _semanticColors$base14, _semanticColors$base15, _semanticColors$base16, _semanticColors$base17, _semanticColors$base18;
@@ -10250,7 +10245,7 @@ const validateSdsStyle = (sdsStyle) => {
10250
10245
  /**
10251
10246
  * @see https://mui.com/material-ui/react-button/
10252
10247
  */
10253
- const InputDropdown = (props) => {
10248
+ const InputDropdown = (0, react.forwardRef)(function InputDropdown(props, ref) {
10254
10249
  const { label, multiple = false, sdsStyle: rawSdsStyle = "square", sdsType = "label", details, counter, shouldTruncateMinimalDetails, shouldPutAColonAfterLabel = true, value, classes = EMPTY_OBJECT, className } = props;
10255
10250
  const sdsStyle = validateSdsStyle(rawSdsStyle);
10256
10251
  const isMinimal = sdsStyle === "minimal";
@@ -10260,6 +10255,7 @@ const InputDropdown = (props) => {
10260
10255
  const shouldRenderCounter = multiple && counter !== void 0 && counter !== "0" && !isMinimal;
10261
10256
  const { root: rootClassName, label: labelClassName, contentWrapper: contentWrapperClassName, labelDetailsWrapper: labelDetailsWrapperClassName, details: detailsClassName, counter: counterClassName, iconWrapper: iconWrapperClassName, chevronIcon: chevronIconClassName, minimalDetails: minimalDetailsClassName } = classes;
10262
10257
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(StyledInputDropdown, _objectSpread2(_objectSpread2({}, props), {}, {
10258
+ ref,
10263
10259
  className: cn(rootClassName, className),
10264
10260
  sdsStyle,
10265
10261
  "aria-label": "Dropdown input",
@@ -10324,7 +10320,7 @@ const InputDropdown = (props) => {
10324
10320
  })
10325
10321
  })]
10326
10322
  }));
10327
- };
10323
+ });
10328
10324
  function renderLabelText(props) {
10329
10325
  const { sdsType } = props;
10330
10326
  if (sdsType === "label") return renderLabelTypeLabelText(props);
@@ -10397,7 +10393,7 @@ const _excluded$30 = [
10397
10393
  "disabled",
10398
10394
  "value",
10399
10395
  "onClick"
10400
- ];
10396
+ ], _excluded2$4 = ["ref"];
10401
10397
  function useDropdownState(propValue, multiple, options) {
10402
10398
  const getInitialValue = (0, react.useCallback)(() => {
10403
10399
  return multiple ? [] : null;
@@ -10631,6 +10627,7 @@ const Dropdown = (props) => {
10631
10627
  countMultiColumnSelections,
10632
10628
  getSingleSelectionProps
10633
10629
  ]);
10630
+ const { ref } = rest, inputRest = _objectWithoutProperties(rest, _excluded2$4);
10634
10631
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(InputDropdownComponent, _objectSpread2(_objectSpread2(_objectSpread2({
10635
10632
  disabled,
10636
10633
  label,
@@ -10638,7 +10635,7 @@ const Dropdown = (props) => {
10638
10635
  "aria-expanded": open,
10639
10636
  "aria-haspopup": "listbox",
10640
10637
  multiple: multiple || isMultiColumn
10641
- }, getInputDropdownProps), InputDropdownProps), rest)), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DropdownMenu, _objectSpread2(_objectSpread2({
10638
+ }, getInputDropdownProps), InputDropdownProps), inputRest)), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DropdownMenu, _objectSpread2(_objectSpread2({
10642
10639
  anchorEl,
10643
10640
  open,
10644
10641
  search,
@@ -11811,6 +11808,21 @@ const doNotForwardProps$18 = [
11811
11808
  "backgroundFillColor",
11812
11809
  "overlayContentPosition"
11813
11810
  ];
11811
+ /**
11812
+ * The color the header and the caption are set in.
11813
+ *
11814
+ * `hasInvertTextColor` is for text over a dark backdrop: imagery, or a darkening
11815
+ * mask over it. That backdrop is dark whatever the theme, so the text has to
11816
+ * stay light in both — which is what `textPrimaryOnDark` is for. The theme's
11817
+ * inverse text would follow the theme instead and come out near-black in the
11818
+ * dark theme, over an image that had not changed.
11819
+ */
11820
+ const getTextColor = (props) => {
11821
+ var _semanticColors$base, _semanticColors$base2;
11822
+ const { hasInvertTextColor } = props;
11823
+ const semanticColors = getSemanticColors(props);
11824
+ return hasInvertTextColor ? semanticColors === null || semanticColors === void 0 || (_semanticColors$base = semanticColors.base) === null || _semanticColors$base === void 0 ? void 0 : _semanticColors$base.textPrimaryOnDark : semanticColors === null || semanticColors === void 0 || (_semanticColors$base2 = semanticColors.base) === null || _semanticColors$base2 === void 0 ? void 0 : _semanticColors$base2.textPrimary;
11825
+ };
11814
11826
  const getResponsivePadding = (props) => {
11815
11827
  const { overlayContainerMinMargin } = props;
11816
11828
  const spaces = getSpaces(props);
@@ -11842,18 +11854,10 @@ const HeroTitle = /*#__PURE__*/ (0, _emotion_styled_base.default)("h1", { target
11842
11854
  if (headerFontSize === "s") return fontHeaderS(props);
11843
11855
  else if (headerFontSize === "m") return fontHeaderM(props);
11844
11856
  else if (headerFontSize === "l") return fontHeaderL(props);
11845
- }, " ", (props) => {
11846
- var _semanticColors$base, _semanticColors$base2;
11847
- const { hasInvertTextColor } = props;
11848
- const semanticColors = getSemanticColors(props);
11849
- return /*#__PURE__*/ (0, _emotion_react.css)("color:", hasInvertTextColor ? semanticColors === null || semanticColors === void 0 || (_semanticColors$base = semanticColors.base) === null || _semanticColors$base === void 0 ? void 0 : _semanticColors$base.textPrimaryInverse : semanticColors === null || semanticColors === void 0 || (_semanticColors$base2 = semanticColors.base) === null || _semanticColors$base2 === void 0 ? void 0 : _semanticColors$base2.textPrimary, ";");
11850
- }, " margin:0;padding:0;");
11857
+ }, " ", (props) => /*#__PURE__*/ (0, _emotion_react.css)("color:", getTextColor(props), ";"), " margin:0;padding:0;");
11851
11858
  const HeroCaption = /*#__PURE__*/ (0, _emotion_styled_base.default)("p", { target: "e1wdq27g6" })(fontBodyXxxs, " ", (props) => {
11852
- var _semanticColors$base3, _semanticColors$base4;
11853
- const { hasInvertTextColor } = props;
11854
- const semanticColors = getSemanticColors(props);
11855
11859
  const spaces = getSpaces(props);
11856
- return /*#__PURE__*/ (0, _emotion_react.css)("color:", hasInvertTextColor ? semanticColors === null || semanticColors === void 0 || (_semanticColors$base3 = semanticColors.base) === null || _semanticColors$base3 === void 0 ? void 0 : _semanticColors$base3.textPrimaryInverse : semanticColors === null || semanticColors === void 0 || (_semanticColors$base4 = semanticColors.base) === null || _semanticColors$base4 === void 0 ? void 0 : _semanticColors$base4.textPrimary, ";margin:", spaces === null || spaces === void 0 ? void 0 : spaces.m, "px 0 0;");
11860
+ return /*#__PURE__*/ (0, _emotion_react.css)("color:", getTextColor(props), ";margin:", spaces === null || spaces === void 0 ? void 0 : spaces.m, "px 0 0;");
11857
11861
  }, " padding:0;");
11858
11862
  const ContentSlot = /*#__PURE__*/ (0, _emotion_styled_base.default)("div", { target: "e1wdq27g5" })((props) => {
11859
11863
  const spaces = getSpaces(props);
@@ -16632,27 +16636,47 @@ const NavigationJumpTo = (0, react.forwardRef)((props, ref) => {
16632
16636
  });
16633
16637
  return map;
16634
16638
  }, [items, flattenedItems]);
16635
- const a11yProps = (title, elementId) => {
16639
+ const tabIds = (0, react.useMemo)(() => {
16640
+ const seen = /* @__PURE__ */ new Map();
16641
+ return flattenedItems.map(({ title }) => {
16642
+ var _seen$get;
16643
+ const base = toKebabCase(title);
16644
+ const count = ((_seen$get = seen.get(base)) !== null && _seen$get !== void 0 ? _seen$get : 0) + 1;
16645
+ seen.set(base, count);
16646
+ return count === 1 ? base : `${base}-${count}`;
16647
+ });
16648
+ }, [flattenedItems]);
16649
+ const itemOffsets = (0, react.useMemo)(() => {
16650
+ let offset = 0;
16651
+ return items.map((item) => {
16652
+ var _item$subItems$length, _item$subItems;
16653
+ const start = offset;
16654
+ offset += 1 + ((_item$subItems$length = (_item$subItems = item.subItems) === null || _item$subItems === void 0 ? void 0 : _item$subItems.length) !== null && _item$subItems$length !== void 0 ? _item$subItems$length : 0);
16655
+ return start;
16656
+ });
16657
+ }, [items]);
16658
+ const a11yProps = (tabId, elementId) => {
16636
16659
  return {
16637
16660
  "aria-controls": elementId,
16638
- id: `navigation-tab-${title}`
16661
+ id: `navigation-tab-${tabId}`
16639
16662
  };
16640
16663
  };
16641
- const createTabsForItem = (item, itemIndex) => {
16664
+ const createTabsForItem = (item, itemIndex, flatIndex) => {
16642
16665
  var _item$elementRef$curr;
16643
16666
  const tabs = [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledTab$1, _objectSpread2({
16644
16667
  label: item.title,
16645
16668
  tabIndex: 0,
16646
16669
  width
16647
- }, a11yProps(toKebabCase(item.title), ((_item$elementRef$curr = item.elementRef.current) === null || _item$elementRef$curr === void 0 ? void 0 : _item$elementRef$curr.getAttribute("id")) || `navigation-panel-${itemIndex + 1}`)), toKebabCase(item.title))];
16670
+ }, a11yProps(tabIds[flatIndex], ((_item$elementRef$curr = item.elementRef.current) === null || _item$elementRef$curr === void 0 ? void 0 : _item$elementRef$curr.getAttribute("id")) || `navigation-panel-${itemIndex + 1}`)), tabIds[flatIndex])];
16648
16671
  if (item.subItems) item.subItems.forEach((subItem, subIndex) => {
16649
16672
  var _subItem$elementRef$c;
16673
+ const subTabId = tabIds[flatIndex + subIndex + 1];
16650
16674
  tabs.push(/* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledTab$1, _objectSpread2({
16651
16675
  label: subItem.title,
16652
16676
  tabIndex: 0,
16653
16677
  width,
16654
16678
  isSubItem: true
16655
- }, a11yProps(toKebabCase(subItem.title), ((_subItem$elementRef$c = subItem.elementRef.current) === null || _subItem$elementRef$c === void 0 ? void 0 : _subItem$elementRef$c.getAttribute("id")) || `navigation-panel-${itemIndex + 1}-${subIndex + 1}`)), `${toKebabCase(item.title)}-${toKebabCase(subItem.title)}`));
16679
+ }, a11yProps(subTabId, ((_subItem$elementRef$c = subItem.elementRef.current) === null || _subItem$elementRef$c === void 0 ? void 0 : _subItem$elementRef$c.getAttribute("id")) || `navigation-panel-${itemIndex + 1}-${subIndex + 1}`)), subTabId));
16656
16680
  });
16657
16681
  return tabs;
16658
16682
  };
@@ -16705,7 +16729,7 @@ const NavigationJumpTo = (0, react.forwardRef)((props, ref) => {
16705
16729
  onChange: handleChange,
16706
16730
  "aria-label": "navigation-jump-to",
16707
16731
  width
16708
- }, rest), {}, { children: items.map((item, itemIndex) => createTabsForItem(item, itemIndex)) }));
16732
+ }, rest), {}, { children: items.map((item, itemIndex) => createTabsForItem(item, itemIndex, itemOffsets[itemIndex])) }));
16709
16733
  });
16710
16734
  //#endregion
16711
16735
  //#region src/core/Notification/style.ts
@@ -17192,6 +17216,20 @@ const Pagination = (0, react.forwardRef)((props, ref) => {
17192
17216
  }
17193
17217
  });
17194
17218
  //#endregion
17219
+ //#region src/core/Panel/Panel.types.ts
17220
+ /**
17221
+ * (masoudmanson): The SDS theme shortens MUI's global transition durations to
17222
+ * 20ms in and 10ms out, which suits small elements but is too brief for a surface
17223
+ * as large as a Panel: it arrives before the eye can follow it in, so it reads as
17224
+ * a jump rather than a slide. The Panel therefore keeps MUI's own drawer timings
17225
+ * instead of the SDS ones. Pass `transitionDuration` to change or remove the
17226
+ * animation, e.g. `transitionDuration={0}` or `{ enter: 300, exit: 200 }`.
17227
+ */
17228
+ const PANEL_TRANSITION_DURATION_MS = {
17229
+ enter: 225,
17230
+ exit: 195
17231
+ };
17232
+ //#endregion
17195
17233
  //#region src/core/Panel/style.ts
17196
17234
  const doNotForwardProps$2 = [
17197
17235
  "sdsType",
@@ -17215,7 +17253,7 @@ const overlayPanelStyles = (props) => {
17215
17253
  const semanticColors = getSemanticColors(props);
17216
17254
  const spaces = getSpaces(props);
17217
17255
  const shadows = getShadows(props);
17218
- return /*#__PURE__*/ (0, _emotion_react.css)("width:fit-content;height:fit-content;div[data-testid=\"sentinelStart\"],div[data-testid=\"sentinelEnd\"]{width:fit-content;}.", _mui_material.drawerClasses.paper, "{background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base2 = semanticColors.base) === null || _semanticColors$base2 === void 0 ? void 0 : _semanticColors$base2.backgroundPrimary, ";padding:0 ", spaces === null || spaces === void 0 ? void 0 : spaces.xl, "px ", spaces === null || spaces === void 0 ? void 0 : spaces.xl, "px;min-width:", 320, "px;min-height:", 320, "px;box-shadow:", shadows === null || shadows === void 0 ? void 0 : shadows.l, ";background-image:none;}");
17256
+ return /*#__PURE__*/ (0, _emotion_react.css)("pointer-events:none;.", _mui_material.drawerClasses.paper, ",.", _mui_material.backdropClasses.root, "{pointer-events:auto;}.", _mui_material.drawerClasses.paper, "{background-color:", semanticColors === null || semanticColors === void 0 || (_semanticColors$base2 = semanticColors.base) === null || _semanticColors$base2 === void 0 ? void 0 : _semanticColors$base2.backgroundPrimary, ";padding:0 ", spaces === null || spaces === void 0 ? void 0 : spaces.xl, "px ", spaces === null || spaces === void 0 ? void 0 : spaces.xl, "px;min-width:", 320, "px;min-height:", 320, "px;box-shadow:", shadows === null || shadows === void 0 ? void 0 : shadows.l, ";background-image:none;}");
17219
17257
  };
17220
17258
  const StyledDrawer = /*#__PURE__*/ (0, _emotion_styled_base.default)(_mui_material.Drawer, {
17221
17259
  shouldForwardProp: (prop) => !doNotForwardProps$2.includes(prop),
@@ -17297,7 +17335,8 @@ const _excluded$5 = [
17297
17335
  "width",
17298
17336
  "ModalProps",
17299
17337
  "isBackdropClickEnabled",
17300
- "slotProps"
17338
+ "slotProps",
17339
+ "transitionDuration"
17301
17340
  ];
17302
17341
  function isOverlayPanelProps(props) {
17303
17342
  return props.sdsType === "overlay";
@@ -17310,7 +17349,7 @@ const SLOT_PROPS = {
17310
17349
  * @see https://mui.com/material-ui/react-drawer/
17311
17350
  */
17312
17351
  const Panel = react.default.forwardRef((props, ref) => {
17313
- const { children, sdsType = "basic", position = "left", width, ModalProps, isBackdropClickEnabled = false, slotProps: userSlotProps } = props, rest = _objectWithoutProperties(props, _excluded$5);
17352
+ const { children, sdsType = "basic", position = "left", width, ModalProps, isBackdropClickEnabled = false, slotProps: userSlotProps, transitionDuration = PANEL_TRANSITION_DURATION_MS } = props, rest = _objectWithoutProperties(props, _excluded$5);
17314
17353
  const mergedSlotProps = _objectSpread2(_objectSpread2(_objectSpread2({}, SLOT_PROPS), userSlotProps), {}, {
17315
17354
  backdrop: _objectSpread2(_objectSpread2({}, SLOT_PROPS.backdrop), typeof (userSlotProps === null || userSlotProps === void 0 ? void 0 : userSlotProps.backdrop) === "object" ? userSlotProps.backdrop : {}),
17316
17355
  paper: _objectSpread2(_objectSpread2({}, SLOT_PROPS.paper), typeof (userSlotProps === null || userSlotProps === void 0 ? void 0 : userSlotProps.paper) === "object" ? userSlotProps.paper : {})
@@ -17335,6 +17374,7 @@ const Panel = react.default.forwardRef((props, ref) => {
17335
17374
  anchor: drawerAnchor,
17336
17375
  variant: drawerVariant,
17337
17376
  width: drawerWidth,
17377
+ transitionDuration,
17338
17378
  ModalProps: _objectSpread2(_objectSpread2({}, ModalProps), {}, {
17339
17379
  disableEnforceFocus: true,
17340
17380
  disableScrollLock: true
@@ -17549,7 +17589,6 @@ const TableRow = (0, react.forwardRef)((props, ref) => {
17549
17589
  const { children, shouldShowTooltipOnHover = true, tooltipProps, tooltipText = false, tooltipSubtitle, hover = true } = props;
17550
17590
  if (shouldShowTooltipOnHover && hover) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Tooltip, _objectSpread2(_objectSpread2({
17551
17591
  arrow: true,
17552
- sdsStyle: "dark",
17553
17592
  subtitle: tooltipSubtitle,
17554
17593
  title: tooltipText
17555
17594
  }, tooltipProps), {}, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledTableRow, _objectSpread2(_objectSpread2({ ref }, props), {}, { children })) }));
@@ -18472,7 +18511,8 @@ const Tabs = (0, react.forwardRef)(function Tabs(props, ref) {
18472
18511
  value: contextValue,
18473
18512
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledTabs, _objectSpread2({
18474
18513
  slotProps: { indicator: indicatorProps },
18475
- ref
18514
+ ref,
18515
+ sdsSize
18476
18516
  }, rest))
18477
18517
  });
18478
18518
  });