@strapi/design-system 2.0.0-rc.23 → 2.0.0-rc.25

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
@@ -5,7 +5,7 @@ const reactUseCallbackRef = require("@radix-ui/react-use-callback-ref");
5
5
  const date = require("@internationalized/date");
6
6
  const jsxRuntime = require("react/jsx-runtime");
7
7
  const Tooltip = require("@radix-ui/react-tooltip");
8
- const styledComponents = require("styled-components");
8
+ const styled = require("styled-components");
9
9
  const DismissibleLayerPrimitive = require("@radix-ui/react-dismissable-layer");
10
10
  const uiPrimitives = require("@strapi/ui-primitives");
11
11
  const RadixAccordion = require("@radix-ui/react-accordion");
@@ -32,6 +32,7 @@ const RadioGroup = require("@radix-ui/react-radio-group");
32
32
  const Switch = require("@radix-ui/react-switch");
33
33
  const Tabs$1 = require("@radix-ui/react-tabs");
34
34
  const lodash = require("lodash");
35
+ const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
35
36
  function _interopNamespace(e) {
36
37
  if (e && e.__esModule)
37
38
  return e;
@@ -52,6 +53,7 @@ function _interopNamespace(e) {
52
53
  }
53
54
  const React__namespace = /* @__PURE__ */ _interopNamespace(React);
54
55
  const Tooltip__namespace = /* @__PURE__ */ _interopNamespace(Tooltip);
56
+ const styled__default = /* @__PURE__ */ _interopDefault(styled);
55
57
  const DismissibleLayerPrimitive__namespace = /* @__PURE__ */ _interopNamespace(DismissibleLayerPrimitive);
56
58
  const RadixAccordion__namespace = /* @__PURE__ */ _interopNamespace(RadixAccordion);
57
59
  const Avatar__namespace = /* @__PURE__ */ _interopNamespace(Avatar$1);
@@ -356,7 +358,7 @@ const Box = forwardRef((props, ref) => {
356
358
  };
357
359
  return /* @__PURE__ */ jsxRuntime.jsx(StyledBox, { as: AsComponent, ref, ...mappedProps, ...rest });
358
360
  });
359
- const StyledBox = styledComponents.styled.div`
361
+ const StyledBox = styled.styled.div`
360
362
  ${({ theme, ...props }) => {
361
363
  return handleResponsiveValues(
362
364
  {
@@ -422,7 +424,7 @@ const Flex = forwardRef((props, ref) => {
422
424
  };
423
425
  return /* @__PURE__ */ jsxRuntime.jsx(StyledFlex, { className, ref, ...mappedProps, ...rest });
424
426
  });
425
- const StyledFlex = styledComponents.styled(Box)`
427
+ const StyledFlex = styled.styled(Box)`
426
428
  ${({ theme, $display = "flex", $alignItems = "center", $direction = "row", ...props }) => handleResponsiveValues(
427
429
  {
428
430
  gap: props.$gap,
@@ -442,7 +444,7 @@ const EPSILON = "epsilon";
442
444
  const OMEGA = "omega";
443
445
  const PI = "pi";
444
446
  const SIGMA = "sigma";
445
- const ellipsis = styledComponents.css`
447
+ const ellipsis = styled.css`
446
448
  display: block;
447
449
  white-space: nowrap;
448
450
  overflow: hidden;
@@ -530,7 +532,7 @@ const Typography = forwardRef(
530
532
  return /* @__PURE__ */ jsxRuntime.jsx(StyledTypography, { ref, tag: "span", ...mappedProps, ...rest });
531
533
  }
532
534
  );
533
- const StyledTypography = styledComponents.styled(Box)`
535
+ const StyledTypography = styled.styled(Box)`
534
536
  ${variant}
535
537
  ${({ $ellipsis }) => $ellipsis ? ellipsis : ""}
536
538
 
@@ -552,17 +554,17 @@ const [AccordionProvider, useAccordion] = createContext("Accordion");
552
554
  const Root$8 = React__namespace.forwardRef(({ children, size = "S", ...props }, forwardedRef) => {
553
555
  return /* @__PURE__ */ jsxRuntime.jsx(AccordionRoot, { ref: forwardedRef, $size: size, collapsible: true, ...props, type: "single", children: /* @__PURE__ */ jsxRuntime.jsx(AccordionProvider, { size, children }) });
554
556
  });
555
- const AccordionRoot = styledComponents.styled(RadixAccordion__namespace.Root)`
557
+ const AccordionRoot = styled.styled(RadixAccordion__namespace.Root)`
556
558
  background-color: ${(props) => props.theme.colors.neutral0};
557
559
 
558
560
  ${(props) => {
559
561
  if (props.$size === "S") {
560
- return styledComponents.css`
562
+ return styled.css`
561
563
  border-radius: ${(props2) => props2.theme.borderRadius};
562
564
  border: solid 1px ${(props2) => props2.theme.colors.neutral200};
563
565
  `;
564
566
  } else {
565
- return styledComponents.css``;
567
+ return styled.css``;
566
568
  }
567
569
  }}
568
570
  `;
@@ -570,7 +572,7 @@ const Item$5 = React__namespace.forwardRef((props, forwardedRef) => {
570
572
  const { size } = useAccordion("Item");
571
573
  return /* @__PURE__ */ jsxRuntime.jsx(AccordionItem, { $size: size, "data-size": size, ref: forwardedRef, ...props });
572
574
  });
573
- const AccordionItem = styledComponents.styled(RadixAccordion__namespace.Item)`
575
+ const AccordionItem = styled.styled(RadixAccordion__namespace.Item)`
574
576
  overflow: hidden;
575
577
  margin: 1px 0;
576
578
 
@@ -638,7 +640,7 @@ const Trigger$7 = React__namespace.forwardRef(
638
640
  ] });
639
641
  }
640
642
  );
641
- const IconBox$2 = styledComponents.styled(Box)`
643
+ const IconBox$2 = styled.styled(Box)`
642
644
  color: ${(props) => props.theme.colors.neutral500};
643
645
  display: flex;
644
646
 
@@ -646,7 +648,7 @@ const IconBox$2 = styledComponents.styled(Box)`
646
648
  transition: ${(props) => props.theme.transitions.color};
647
649
  }
648
650
  `;
649
- const TriggerIcon = styledComponents.styled(Flex).attrs((props) => ({
651
+ const TriggerIcon = styled.styled(Flex).attrs((props) => ({
650
652
  ...props,
651
653
  tag: "span"
652
654
  }))`
@@ -663,7 +665,7 @@ const TriggerIcon = styledComponents.styled(Flex).attrs((props) => ({
663
665
  ${(props) => props.theme.transitions.backgroundColor};
664
666
  }
665
667
  `;
666
- const AccordionTrigger = styledComponents.styled(RadixAccordion__namespace.Trigger)`
668
+ const AccordionTrigger = styled.styled(RadixAccordion__namespace.Trigger)`
667
669
  display: flex;
668
670
  align-items: center;
669
671
  justify-content: ${(props) => props.$caretPosition === "left" ? "flex-start" : "space-between"};
@@ -697,7 +699,7 @@ const Actions = React__namespace.forwardRef((props, forwardedRef) => {
697
699
  const { size } = useAccordion("Trigger");
698
700
  return /* @__PURE__ */ jsxRuntime.jsx(ActionWrapper, { $size: size, ...props, ref: forwardedRef });
699
701
  });
700
- const ActionWrapper = styledComponents.styled(Flex).attrs((props) => ({
702
+ const ActionWrapper = styled.styled(Flex).attrs((props) => ({
701
703
  ...props,
702
704
  tag: "span"
703
705
  }))`
@@ -718,7 +720,7 @@ const ActionWrapper = styledComponents.styled(Flex).attrs((props) => ({
718
720
  const Header$2 = React__namespace.forwardRef(({ variant: variant2 = "primary", ...props }, forwardedRef) => {
719
721
  return /* @__PURE__ */ jsxRuntime.jsx(AccordionHeader, { $variant: variant2, ref: forwardedRef, ...props });
720
722
  });
721
- const AccordionHeader = styledComponents.styled(RadixAccordion__namespace.Header)`
723
+ const AccordionHeader = styled.styled(RadixAccordion__namespace.Header)`
722
724
  display: flex;
723
725
  align-items: center;
724
726
  background-color: ${(props) => props.$variant === "primary" ? props.theme.colors.neutral0 : props.theme.colors.neutral100};
@@ -757,7 +759,7 @@ const AccordionHeader = styledComponents.styled(RadixAccordion__namespace.Header
757
759
  const Content$7 = React__namespace.forwardRef((props, forwardedRef) => {
758
760
  return /* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { ref: forwardedRef, ...props });
759
761
  });
760
- const slideDown = styledComponents.keyframes`
762
+ const slideDown = styled.keyframes`
761
763
  from {
762
764
  height: 0;
763
765
  }
@@ -765,7 +767,7 @@ const slideDown = styledComponents.keyframes`
765
767
  height: var(--radix-accordion-content-height);
766
768
  }
767
769
  `;
768
- const slideUp = styledComponents.keyframes`
770
+ const slideUp = styled.keyframes`
769
771
  from {
770
772
  height: var(--radix-accordion-content-height);
771
773
  }
@@ -773,7 +775,7 @@ const slideUp = styledComponents.keyframes`
773
775
  height: 0;
774
776
  }
775
777
  `;
776
- const AccordionContent = styledComponents.styled(RadixAccordion__namespace.Content)`
778
+ const AccordionContent = styled.styled(RadixAccordion__namespace.Content)`
777
779
  overflow: hidden;
778
780
 
779
781
  @media (prefers-reduced-motion: no-preference) {
@@ -797,7 +799,7 @@ const Accordion = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePro
797
799
  Root: Root$8,
798
800
  Trigger: Trigger$7
799
801
  }, Symbol.toStringTag, { value: "Module" }));
800
- const focus = styledComponents.css`
802
+ const focus = styled.css`
801
803
  position: relative;
802
804
  outline: none;
803
805
 
@@ -833,7 +835,7 @@ const VisuallyHidden = ({ tag, ...props }) => {
833
835
  const AsComponent = tag || "span";
834
836
  return /* @__PURE__ */ jsxRuntime.jsx(Span, { ...props, as: AsComponent });
835
837
  };
836
- const Span = styledComponents.styled.span`
838
+ const Span = styled.styled.span`
837
839
  border: 0;
838
840
  clip: rect(0 0 0 0);
839
841
  height: 1px;
@@ -883,10 +885,10 @@ const handleIconColor = ({ theme, $variant }) => {
883
885
  }
884
886
  return theme.colors.primary700;
885
887
  };
886
- const CloseButton = styledComponents.styled(Box)`
888
+ const CloseButton = styled.styled(Box)`
887
889
  ${focus};
888
890
  `;
889
- const AlertIconWrapper = styledComponents.styled(Flex)`
891
+ const AlertIconWrapper = styled.styled(Flex)`
890
892
  svg {
891
893
  height: 100%;
892
894
  width: 100%;
@@ -905,7 +907,7 @@ const AlertIcon = ({ variant: variant2, ...props }) => {
905
907
  }
906
908
  return /* @__PURE__ */ jsxRuntime.jsx(icons.Information, { ...props });
907
909
  };
908
- const ActionBox = styledComponents.styled(Box)`
910
+ const ActionBox = styled.styled(Box)`
909
911
  & a > span {
910
912
  color: ${handleIconColor};
911
913
  }
@@ -1043,7 +1045,7 @@ const TRANSITIONS = {
1043
1045
  backgroundColor: `background-color ${TIMINGS["120"]} ${EASINGS.easeOutQuad}`
1044
1046
  };
1045
1047
  const ANIMATIONS = {
1046
- overlayFadeIn: styledComponents.keyframes`
1048
+ overlayFadeIn: styled.keyframes`
1047
1049
  from {
1048
1050
  opacity: 0;
1049
1051
  }
@@ -1051,7 +1053,7 @@ const ANIMATIONS = {
1051
1053
  opacity: 0.2;
1052
1054
  }
1053
1055
  `,
1054
- modalPopIn: styledComponents.keyframes`
1056
+ modalPopIn: styled.keyframes`
1055
1057
  from {
1056
1058
  transform:translate(-50%, -50%) scale(0.8);
1057
1059
  opacity: 0;
@@ -1061,7 +1063,7 @@ const ANIMATIONS = {
1061
1063
  opacity: 1;
1062
1064
  }
1063
1065
  `,
1064
- modalPopOut: styledComponents.keyframes`
1066
+ modalPopOut: styled.keyframes`
1065
1067
  from {
1066
1068
  transform: translate(-50%, -50%) scale(1);
1067
1069
  opacity: 1;
@@ -1071,7 +1073,7 @@ const ANIMATIONS = {
1071
1073
  opacity: 0;
1072
1074
  }
1073
1075
  `,
1074
- popIn: styledComponents.keyframes`
1076
+ popIn: styled.keyframes`
1075
1077
  from {
1076
1078
  transform: scale(0.8);
1077
1079
  opacity: 0;
@@ -1081,7 +1083,7 @@ const ANIMATIONS = {
1081
1083
  opacity: 1;
1082
1084
  }
1083
1085
  `,
1084
- popOut: styledComponents.keyframes`
1086
+ popOut: styled.keyframes`
1085
1087
  from {
1086
1088
  transform: scale(1);
1087
1089
  opacity: 1;
@@ -1091,7 +1093,7 @@ const ANIMATIONS = {
1091
1093
  opacity: 0;
1092
1094
  }
1093
1095
  `,
1094
- slideDownIn: styledComponents.keyframes`
1096
+ slideDownIn: styled.keyframes`
1095
1097
  from {
1096
1098
  opacity: 0;
1097
1099
  transform: translateY(-10px);
@@ -1101,7 +1103,7 @@ const ANIMATIONS = {
1101
1103
  transform: translateY(0);
1102
1104
  }
1103
1105
  `,
1104
- slideDownOut: styledComponents.keyframes`
1106
+ slideDownOut: styled.keyframes`
1105
1107
  from {
1106
1108
  opacity: 1;
1107
1109
  transform: translateY(0);
@@ -1111,7 +1113,7 @@ const ANIMATIONS = {
1111
1113
  transform: translateY(-10px);
1112
1114
  }
1113
1115
  `,
1114
- slideUpIn: styledComponents.keyframes`
1116
+ slideUpIn: styled.keyframes`
1115
1117
  from {
1116
1118
  opacity: 0;
1117
1119
  transform: translateY(10px);
@@ -1121,7 +1123,7 @@ const ANIMATIONS = {
1121
1123
  transform: translateY(0);
1122
1124
  }
1123
1125
  `,
1124
- slideUpOut: styledComponents.keyframes`
1126
+ slideUpOut: styled.keyframes`
1125
1127
  from {
1126
1128
  opacity: 1;
1127
1129
  transform: translateY(0);
@@ -1131,7 +1133,7 @@ const ANIMATIONS = {
1131
1133
  transform: translateY(10px);
1132
1134
  }
1133
1135
  `,
1134
- fadeIn: styledComponents.keyframes`
1136
+ fadeIn: styled.keyframes`
1135
1137
  from {
1136
1138
  opacity: 0;
1137
1139
  }
@@ -1139,7 +1141,7 @@ const ANIMATIONS = {
1139
1141
  opacity: 1;
1140
1142
  }
1141
1143
  `,
1142
- fadeOut: styledComponents.keyframes`
1144
+ fadeOut: styled.keyframes`
1143
1145
  from {
1144
1146
  opacity: 1;
1145
1147
  }
@@ -1182,7 +1184,7 @@ const Item$4 = React__namespace.forwardRef(
1182
1184
  ] });
1183
1185
  }
1184
1186
  );
1185
- const avatarStyles = styledComponents.css`
1187
+ const avatarStyles = styled.css`
1186
1188
  display: inline-flex;
1187
1189
  align-items: center;
1188
1190
  justify-content: center;
@@ -1192,13 +1194,13 @@ const avatarStyles = styledComponents.css`
1192
1194
  overflow: hidden;
1193
1195
  border-radius: 50%;
1194
1196
  `;
1195
- const imgStyles = styledComponents.css`
1197
+ const imgStyles = styled.css`
1196
1198
  width: 100%;
1197
1199
  height: 100%;
1198
1200
  object-fit: cover;
1199
1201
  border-radius: inherit;
1200
1202
  `;
1201
- const AvatarRoot = styledComponents.styled(Avatar__namespace.Root)`
1203
+ const AvatarRoot = styled.styled(Avatar__namespace.Root)`
1202
1204
  position: relative;
1203
1205
  z-index: 0;
1204
1206
  ${avatarStyles}
@@ -1208,16 +1210,16 @@ const AvatarRoot = styledComponents.styled(Avatar__namespace.Root)`
1208
1210
  background-color: ${(p) => p.theme.colors.primary600};
1209
1211
  color: ${(p) => p.theme.colors.neutral0};
1210
1212
  `;
1211
- const AvatarOverlay = styledComponents.styled(Box)`
1213
+ const AvatarOverlay = styled.styled(Box)`
1212
1214
  @media (prefers-reduced-motion: no-preference) {
1213
1215
  transition: opacity ${(props) => props.theme.motion.timings["200"]}
1214
1216
  ${(props) => props.theme.motion.easings.authenticMotion};
1215
1217
  }
1216
1218
  `;
1217
- const AvatarImage = styledComponents.styled(Avatar__namespace.Image)`
1219
+ const AvatarImage = styled.styled(Avatar__namespace.Image)`
1218
1220
  ${imgStyles}
1219
1221
  `;
1220
- const PreviewContent = styledComponents.styled(Tooltip__namespace.Content)`
1222
+ const PreviewContent = styled.styled(Tooltip__namespace.Content)`
1221
1223
  ${avatarStyles}
1222
1224
  width: ${SIZE * PREVIEW_SCALE / 10}rem;
1223
1225
  height: ${SIZE * PREVIEW_SCALE / 10}rem;
@@ -1227,13 +1229,13 @@ const PreviewContent = styledComponents.styled(Tooltip__namespace.Content)`
1227
1229
  ${(props) => props.theme.motion.easings.authenticMotion};
1228
1230
  }
1229
1231
  `;
1230
- const PreviewImg = styledComponents.styled.img`
1232
+ const PreviewImg = styled.styled.img`
1231
1233
  ${imgStyles}
1232
1234
  `;
1233
1235
  const Group$2 = React__namespace.forwardRef((props, forwarededRef) => {
1234
1236
  return /* @__PURE__ */ jsxRuntime.jsx(GroupFlex, { ...props, ref: forwarededRef, tag: "div" });
1235
1237
  });
1236
- const GroupFlex = styledComponents.styled(Flex)`
1238
+ const GroupFlex = styled.styled(Flex)`
1237
1239
  & > ${AvatarRoot} + ${AvatarRoot} {
1238
1240
  margin-left: -${SIZE / 10 / 2}rem;
1239
1241
  }
@@ -1269,16 +1271,16 @@ const Badge = ({
1269
1271
  }
1270
1272
  );
1271
1273
  };
1272
- const Base = styledComponents.styled(Flex)`
1274
+ const Base = styled.styled(Flex)`
1273
1275
  border-radius: ${({ theme, $size }) => $size === "S" ? "2px" : theme.borderRadius};
1274
1276
  ${({ $size, theme }) => {
1275
1277
  if ($size === "S") {
1276
- return styledComponents.css`
1278
+ return styled.css`
1277
1279
  padding-block: 0.3rem;
1278
1280
  padding-inline ${theme.spaces[1]}
1279
1281
  `;
1280
1282
  }
1281
- return styledComponents.css`
1283
+ return styled.css`
1282
1284
  padding-block: 0.7rem;
1283
1285
  padding-inline ${theme.spaces[2]}
1284
1286
  `;
@@ -1303,7 +1305,7 @@ const BaseLinkImpl = forwardRef(
1303
1305
  );
1304
1306
  }
1305
1307
  );
1306
- const BaseLink = styledComponents.styled(Box)`
1308
+ const BaseLink = styled.styled(Box)`
1307
1309
  text-decoration: none;
1308
1310
 
1309
1311
  &:visited {
@@ -1314,7 +1316,7 @@ const Divider$1 = () => {
1314
1316
  return /* @__PURE__ */ jsxRuntime.jsx(Box, { "aria-hidden": true, paddingLeft: 1, paddingRight: 1, children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "pi", textColor: "neutral500", children: "/" }) });
1315
1317
  };
1316
1318
  Divider$1.displayName = "Divider";
1317
- const AlignedList = styledComponents.styled(Flex)`
1319
+ const AlignedList = styled.styled(Flex)`
1318
1320
  // CrumbLinks do have padding-x, because they need to have a
1319
1321
  // interaction effect, which mis-aligns the breadcrumbs on the left.
1320
1322
  // This normalizes the behavior by moving the first item to left by
@@ -1350,7 +1352,7 @@ const Crumb = React__namespace.forwardRef(
1350
1352
  ) })
1351
1353
  );
1352
1354
  Crumb.displayName = "Crumb";
1353
- const StyledLink = styledComponents.styled(BaseLinkImpl)`
1355
+ const StyledLink = styled.styled(BaseLinkImpl)`
1354
1356
  border-radius: ${({ theme }) => theme.borderRadius};
1355
1357
  color: ${({ theme }) => theme.colors.neutral600};
1356
1358
  font-size: ${({ theme }) => theme.fontSizes[1]};
@@ -1444,7 +1446,7 @@ const getVariantColorName = (variant2) => {
1444
1446
  return `${variant2}`;
1445
1447
  };
1446
1448
  const getDisabledStyle = ({ theme }) => {
1447
- return styledComponents.css`
1449
+ return styled.css`
1448
1450
  border: 1px solid ${theme.colors.neutral200};
1449
1451
  background: ${theme.colors.neutral150};
1450
1452
  color: ${theme.colors.neutral600};
@@ -1453,45 +1455,45 @@ const getDisabledStyle = ({ theme }) => {
1453
1455
  };
1454
1456
  const getHoverStyle = ({ theme, $variant }) => {
1455
1457
  if ([...LIGHT_VARIANTS, SECONDARY].includes($variant)) {
1456
- return styledComponents.css`
1458
+ return styled.css`
1457
1459
  background-color: ${theme.colors.neutral0};
1458
1460
  `;
1459
1461
  }
1460
1462
  if ($variant === TERTIARY) {
1461
- return styledComponents.css`
1463
+ return styled.css`
1462
1464
  background-color: ${theme.colors.neutral100};
1463
1465
  `;
1464
1466
  }
1465
1467
  if ($variant === GHOST) {
1466
- return styledComponents.css`
1468
+ return styled.css`
1467
1469
  background-color: ${theme.colors.neutral100};
1468
1470
  `;
1469
1471
  }
1470
1472
  if ($variant === DEFAULT) {
1471
- return styledComponents.css`
1473
+ return styled.css`
1472
1474
  border: 1px solid ${theme.colors.buttonPrimary500};
1473
1475
  background: ${theme.colors.buttonPrimary500};
1474
1476
  `;
1475
1477
  }
1476
- return styledComponents.css`
1478
+ return styled.css`
1477
1479
  border: 1px solid ${theme.colors[`${getVariantColorName($variant)}500`]};
1478
1480
  background: ${theme.colors[`${getVariantColorName($variant)}500`]};
1479
1481
  `;
1480
1482
  };
1481
1483
  const getActiveStyle = ({ theme, $variant }) => {
1482
1484
  if ([...LIGHT_VARIANTS, SECONDARY].includes($variant)) {
1483
- return styledComponents.css`
1485
+ return styled.css`
1484
1486
  background-color: ${theme.colors.neutral0};
1485
1487
  border: 1px solid ${theme.colors[`${getVariantColorName($variant)}600`]};
1486
1488
  color: ${theme.colors[`${getVariantColorName($variant)}600`]};
1487
1489
  `;
1488
1490
  }
1489
1491
  if ($variant === TERTIARY || $variant === GHOST) {
1490
- return styledComponents.css`
1492
+ return styled.css`
1491
1493
  background-color: ${theme.colors.neutral150};
1492
1494
  `;
1493
1495
  }
1494
- return styledComponents.css`
1496
+ return styled.css`
1495
1497
  border: 1px solid ${theme.colors[`${getVariantColorName($variant)}600`]};
1496
1498
  background: ${theme.colors[`${getVariantColorName($variant)}600`]};
1497
1499
  `;
@@ -1501,21 +1503,21 @@ const getVariantStyle = ({ theme, $variant }) => {
1501
1503
  case DANGER_LIGHT:
1502
1504
  case SUCCESS_LIGHT:
1503
1505
  case SECONDARY: {
1504
- return styledComponents.css`
1506
+ return styled.css`
1505
1507
  border: 1px solid ${theme.colors[`${getVariantColorName($variant)}200`]};
1506
1508
  background: ${theme.colors[`${getVariantColorName($variant)}100`]};
1507
1509
  color: ${theme.colors[`${getVariantColorName($variant)}700`]};
1508
1510
  `;
1509
1511
  }
1510
1512
  case TERTIARY: {
1511
- return styledComponents.css`
1513
+ return styled.css`
1512
1514
  border: 1px solid ${theme.colors.neutral200};
1513
1515
  background: ${theme.colors.neutral0};
1514
1516
  color: ${theme.colors.neutral800};
1515
1517
  `;
1516
1518
  }
1517
1519
  case GHOST: {
1518
- return styledComponents.css`
1520
+ return styled.css`
1519
1521
  border: 1px solid transparent;
1520
1522
  background: transparent;
1521
1523
  color: ${theme.colors.neutral800};
@@ -1527,14 +1529,14 @@ const getVariantStyle = ({ theme, $variant }) => {
1527
1529
  }
1528
1530
  case SUCCESS:
1529
1531
  case DANGER: {
1530
- return styledComponents.css`
1532
+ return styled.css`
1531
1533
  border: 1px solid ${theme.colors[`${getVariantColorName($variant)}600`]};
1532
1534
  background: ${theme.colors[`${getVariantColorName($variant)}600`]};
1533
1535
  color: ${theme.colors.neutral0};
1534
1536
  `;
1535
1537
  }
1536
1538
  default: {
1537
- return styledComponents.css`
1539
+ return styled.css`
1538
1540
  border: 1px solid ${theme.colors.buttonPrimary600};
1539
1541
  background: ${theme.colors.buttonPrimary600};
1540
1542
  color: ${theme.colors.buttonNeutral0};
@@ -1590,7 +1592,7 @@ const Button = forwardRef(
1590
1592
  );
1591
1593
  }
1592
1594
  );
1593
- const rotation$2 = styledComponents.keyframes`
1595
+ const rotation$2 = styled.keyframes`
1594
1596
  from {
1595
1597
  transform: rotate(0deg);
1596
1598
  }
@@ -1598,11 +1600,11 @@ const rotation$2 = styledComponents.keyframes`
1598
1600
  transform: rotate(359deg);
1599
1601
  }
1600
1602
  `;
1601
- const LoaderAnimated = styledComponents.styled(icons.Loader)`
1603
+ const LoaderAnimated = styled.styled(icons.Loader)`
1602
1604
  animation: ${rotation$2} 2s infinite linear;
1603
1605
  will-change: transform;
1604
1606
  `;
1605
- const ButtonWrapper = styledComponents.styled(Flex)`
1607
+ const ButtonWrapper = styled.styled(Flex)`
1606
1608
  height: ${({ theme, $size }) => theme.sizes.button[$size]};
1607
1609
  text-decoration: none;
1608
1610
  ${getVariantStyle}
@@ -1656,7 +1658,7 @@ const TooltipImpl = React__namespace.forwardRef(
1656
1658
  );
1657
1659
  }
1658
1660
  );
1659
- const TooltipContent = styledComponents.styled(Tooltip__namespace.Content)`
1661
+ const TooltipContent = styled.styled(Tooltip__namespace.Content)`
1660
1662
  background-color: ${(props) => props.theme.colors.neutral900};
1661
1663
  color: ${(props) => props.theme.colors.neutral0};
1662
1664
  padding-inline: ${(props) => props.theme.spaces[2]};
@@ -1709,31 +1711,31 @@ const IconButton = forwardRef(
1709
1711
  return withTooltip ? /* @__PURE__ */ jsxRuntime.jsx(TooltipImpl, { label, children: component }) : component;
1710
1712
  }
1711
1713
  );
1712
- const IconButtonWrapper = styledComponents.styled(Flex)`
1714
+ const IconButtonWrapper = styled.styled(Flex)`
1713
1715
  text-decoration: none;
1714
1716
 
1715
1717
  ${(props) => {
1716
1718
  switch (props.$size) {
1717
1719
  case "XS": {
1718
- return styledComponents.css`
1720
+ return styled.css`
1719
1721
  padding-block: 0.25rem;
1720
1722
  padding-inline: 0.25rem;
1721
1723
  `;
1722
1724
  }
1723
1725
  case "S": {
1724
- return styledComponents.css`
1726
+ return styled.css`
1725
1727
  padding-block: 0.7rem;
1726
1728
  padding-inline: 0.7rem;
1727
1729
  `;
1728
1730
  }
1729
1731
  case "M": {
1730
- return styledComponents.css`
1732
+ return styled.css`
1731
1733
  padding-block: 0.9rem;
1732
1734
  padding-inline: 0.9rem;
1733
1735
  `;
1734
1736
  }
1735
1737
  case "L": {
1736
- return styledComponents.css`
1738
+ return styled.css`
1737
1739
  padding-block: 1.1rem;
1738
1740
  padding-inline: 1.1rem;
1739
1741
  `;
@@ -1741,13 +1743,13 @@ const IconButtonWrapper = styledComponents.styled(Flex)`
1741
1743
  }
1742
1744
  }}
1743
1745
  ${getVariantStyle}
1744
- ${(props) => props.$variant === "tertiary" ? styledComponents.css`
1746
+ ${(props) => props.$variant === "tertiary" ? styled.css`
1745
1747
  color: ${props.theme.colors.neutral500};
1746
1748
  ` : ""}
1747
1749
 
1748
1750
  &:hover {
1749
1751
  ${getHoverStyle}
1750
- ${(props) => props.$variant === "tertiary" ? styledComponents.css`
1752
+ ${(props) => props.$variant === "tertiary" ? styled.css`
1751
1753
  color: ${props.theme.colors.neutral600};
1752
1754
  ` : ""}
1753
1755
  }
@@ -1767,7 +1769,7 @@ const IconButtonWrapper = styledComponents.styled(Flex)`
1767
1769
  border-color ${(props) => props.theme.motion.timings["200"]} ${(props) => props.theme.motion.easings.easeOutQuad};
1768
1770
  }
1769
1771
  `;
1770
- const IconButtonGroup = styledComponents.styled(Flex)`
1772
+ const IconButtonGroup = styled.styled(Flex)`
1771
1773
  & ${IconButtonWrapper}:first-child {
1772
1774
  border-radius: ${({ theme }) => `${theme.borderRadius} 0 0 ${theme.borderRadius}`};
1773
1775
  }
@@ -1794,7 +1796,7 @@ const Link = forwardRef(
1794
1796
  ] });
1795
1797
  }
1796
1798
  );
1797
- const LinkWrapper$1 = styledComponents.styled(BaseLinkImpl)`
1799
+ const LinkWrapper$1 = styled.styled(BaseLinkImpl)`
1798
1800
  display: inline-flex;
1799
1801
  align-items: center;
1800
1802
  text-decoration: none;
@@ -1864,7 +1866,7 @@ const MenuContent = React__namespace.forwardRef(
1864
1866
  ) }) });
1865
1867
  }
1866
1868
  );
1867
- const Viewport$1 = styledComponents.styled(Flex)`
1869
+ const Viewport$1 = styled.styled(Flex)`
1868
1870
  scrollbar-width: none;
1869
1871
  -ms-overflow-style: none;
1870
1872
  -webkit-overflow-scrolling: touch;
@@ -1874,7 +1876,7 @@ const Viewport$1 = styledComponents.styled(Flex)`
1874
1876
  display: none;
1875
1877
  }
1876
1878
  `;
1877
- const DropdownMenuContent = styledComponents.styled(DropdownMenu__namespace.Content)`
1879
+ const DropdownMenuContent = styled.styled(DropdownMenu__namespace.Content)`
1878
1880
  @media (prefers-reduced-motion: no-preference) {
1879
1881
  animation-duration: ${(props) => props.theme.motion.timings["200"]};
1880
1882
 
@@ -1919,7 +1921,7 @@ const MenuItem$1 = ({ onSelect, disabled = false, isLink, startIcon, endIcon, is
1919
1921
  }
1920
1922
  ) });
1921
1923
  };
1922
- const getOptionStyle = ({ theme }) => styledComponents.css`
1924
+ const getOptionStyle = ({ theme }) => styled.css`
1923
1925
  text-align: left;
1924
1926
  width: 100%;
1925
1927
  border-radius: ${theme.borderRadius};
@@ -1942,10 +1944,10 @@ const getOptionStyle = ({ theme }) => styledComponents.css`
1942
1944
  }
1943
1945
  }
1944
1946
  `;
1945
- const OptionButton = styledComponents.styled(Flex)`
1947
+ const OptionButton = styled.styled(Flex)`
1946
1948
  ${getOptionStyle}
1947
1949
  `;
1948
- const OptionLink = styledComponents.styled(Link)`
1950
+ const OptionLink = styled.styled(Link)`
1949
1951
  /* We include this here again because typically when people use OptionLink they provide an as prop which cancels the Box props */
1950
1952
  color: ${({ theme, color }) => extractStyleFromTheme(theme.colors, color, void 0)};
1951
1953
  text-decoration: none;
@@ -1962,7 +1964,7 @@ const OptionLink = styledComponents.styled(Link)`
1962
1964
 
1963
1965
  ${getOptionStyle}
1964
1966
  `;
1965
- const StyledSeparator = styledComponents.styled(Box)`
1967
+ const StyledSeparator = styled.styled(Box)`
1966
1968
  /* Negative horizontal margin to compensate Menu.Content's padding */
1967
1969
  margin: ${({ theme }) => theme.spaces[1]} -${({ theme }) => theme.spaces[1]};
1968
1970
  width: calc(100% + ${({ theme }) => theme.spaces[2]});
@@ -1973,7 +1975,7 @@ const StyledSeparator = styledComponents.styled(Box)`
1973
1975
  `;
1974
1976
  const MenuSeparator = React__namespace.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(DropdownMenu__namespace.Separator, { ...props, asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(StyledSeparator, { height: "1px", shrink: 0, background: "neutral150", ref }) }));
1975
1977
  const MenuLabel = React__namespace.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(DropdownMenu__namespace.Label, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(StyledLabel, { ref, variant: "sigma", textColor: "neutral600", ...props }) }));
1976
- const StyledLabel = styledComponents.styled(Typography)`
1978
+ const StyledLabel = styled.styled(Typography)`
1977
1979
  padding: ${({ theme }) => theme.spaces[2]} ${({ theme }) => theme.spaces[4]};
1978
1980
  `;
1979
1981
  const MenuSubRoot = DropdownMenu__namespace.Sub;
@@ -1996,7 +1998,7 @@ const MenuSubTrigger = React__namespace.forwardRef(({ disabled = false, ...props
1996
1998
  }
1997
1999
  ) });
1998
2000
  });
1999
- const SubmenuTrigger = styledComponents.styled(OptionButton)`
2001
+ const SubmenuTrigger = styled.styled(OptionButton)`
2000
2002
  &[data-state='open'] {
2001
2003
  background-color: ${({ theme }) => theme.colors.primary100};
2002
2004
  }
@@ -2078,7 +2080,7 @@ const SimpleMenu = React__namespace.forwardRef(
2078
2080
  }
2079
2081
  );
2080
2082
  const MenuItem = Item$3;
2081
- const StyledButton = styledComponents.styled(SimpleMenu)`
2083
+ const StyledButton = styled.styled(SimpleMenu)`
2082
2084
  padding: ${({ theme }) => `${theme.spaces[1]} ${theme.spaces[2]}`};
2083
2085
  height: unset;
2084
2086
 
@@ -2117,7 +2119,7 @@ const Card = React__namespace.forwardRef(({ id, ...props }, forwardedRef) => {
2117
2119
  const CardActionImpl = React__namespace.forwardRef(({ position, ...restProps }, forwardedRef) => {
2118
2120
  return /* @__PURE__ */ jsxRuntime.jsx(CardAction, { ref: forwardedRef, $position: position, ...restProps, direction: "row", gap: 2 });
2119
2121
  });
2120
- const CardAction = styledComponents.styled(Flex)`
2122
+ const CardAction = styled.styled(Flex)`
2121
2123
  position: absolute;
2122
2124
  top: ${({ theme }) => theme.spaces[3]};
2123
2125
  right: ${({ $position, theme }) => {
@@ -2136,7 +2138,7 @@ const CardAction = styledComponents.styled(Flex)`
2136
2138
  const CardAsset = ({ size = "M", children, ...props }) => {
2137
2139
  return /* @__PURE__ */ jsxRuntime.jsx(CardAssetWrapper, { $size: size, children: children ? children : /* @__PURE__ */ jsxRuntime.jsx(CardAssetImg, { ...props, "aria-hidden": true }) });
2138
2140
  };
2139
- const CardAssetImg = styledComponents.styled.img`
2141
+ const CardAssetImg = styled.styled.img`
2140
2142
  // inline flows is based on typography and displays an extra white space below the image
2141
2143
  // switch to block is required in order to make the img stick the bottom of the container
2142
2144
  // addition infos: https://stackoverflow.com/questions/5804256/image-inside-div-has-extra-space-below-the-image
@@ -2146,7 +2148,7 @@ const CardAssetImg = styledComponents.styled.img`
2146
2148
  max-width: 100%;
2147
2149
  object-fit: contain;
2148
2150
  `;
2149
- const CardAssetWrapper = styledComponents.styled.div`
2151
+ const CardAssetWrapper = styled.styled.div`
2150
2152
  display: flex;
2151
2153
  justify-content: center;
2152
2154
  height: ${({ $size }) => $size === "S" ? "8.8rem" : "16.4rem"};
@@ -2156,11 +2158,11 @@ const CardAssetWrapper = styledComponents.styled.div`
2156
2158
  border-top-left-radius: ${({ theme }) => theme.borderRadius};
2157
2159
  border-top-right-radius: ${({ theme }) => theme.borderRadius};
2158
2160
  `;
2159
- const CardBadgeWrapper = styledComponents.styled.div`
2161
+ const CardBadgeWrapper = styled.styled.div`
2160
2162
  margin-left: auto;
2161
2163
  flex-shrink: 0;
2162
2164
  `;
2163
- const BadgePosition = styledComponents.styled(Badge)`
2165
+ const BadgePosition = styled.styled(Badge)`
2164
2166
  margin-left: ${({ theme }) => theme.spaces[1]};
2165
2167
  `;
2166
2168
  const CardBadge = (props) => /* @__PURE__ */ jsxRuntime.jsx(CardBadgeWrapper, { children: /* @__PURE__ */ jsxRuntime.jsx(BadgePosition, { ...props }) });
@@ -2168,7 +2170,7 @@ const CardBody = (props) => {
2168
2170
  return /* @__PURE__ */ jsxRuntime.jsx(Box, { paddingLeft: 3, paddingRight: 3, paddingTop: 2, paddingBottom: 2, children: /* @__PURE__ */ jsxRuntime.jsx(Flex, { ...props, alignItems: "flex-start" }) });
2169
2171
  };
2170
2172
  const CheckIcon = ({ fill, ...props }) => {
2171
- const { colors } = styledComponents.useTheme();
2173
+ const { colors } = styled.useTheme();
2172
2174
  return /* @__PURE__ */ jsxRuntime.jsx(
2173
2175
  Box,
2174
2176
  {
@@ -2196,7 +2198,7 @@ const CheckboxEl = React__namespace.forwardRef(
2196
2198
  ] }) });
2197
2199
  }
2198
2200
  );
2199
- const CheckboxRoot = styledComponents.styled(Checkbox__namespace.Root)`
2201
+ const CheckboxRoot = styled.styled(Checkbox__namespace.Root)`
2200
2202
  background: ${(props) => props.theme.colors.neutral0};
2201
2203
  width: 2rem;
2202
2204
  height: 2rem;
@@ -2234,7 +2236,7 @@ const CheckboxRoot = styledComponents.styled(Checkbox__namespace.Root)`
2234
2236
  min-height: 44px;
2235
2237
  }
2236
2238
  `;
2237
- const CheckboxIndicator = styledComponents.styled(Checkbox__namespace.Indicator)`
2239
+ const CheckboxIndicator = styled.styled(Checkbox__namespace.Indicator)`
2238
2240
  display: inline-flex;
2239
2241
  pointer-events: auto !important;
2240
2242
  width: 100%;
@@ -2261,13 +2263,13 @@ const CardCheckbox = React__namespace.forwardRef((props, forwardedRef) => {
2261
2263
  const { id } = useCard();
2262
2264
  return /* @__PURE__ */ jsxRuntime.jsx(CardActionImpl, { position: "start", children: /* @__PURE__ */ jsxRuntime.jsx(CheckboxImpl, { "aria-labelledby": `${id}-title`, ...props, ref: forwardedRef }) });
2263
2265
  });
2264
- const BreakBox = styledComponents.styled(Box)`
2266
+ const BreakBox = styled.styled(Box)`
2265
2267
  word-break: break-all;
2266
2268
  `;
2267
2269
  const CardContent = ({ children, ...props }) => {
2268
2270
  return /* @__PURE__ */ jsxRuntime.jsx(BreakBox, { ...props, children });
2269
2271
  };
2270
- const CardHeaderWrapper = styledComponents.styled(Flex)`
2272
+ const CardHeaderWrapper = styled.styled(Flex)`
2271
2273
  border-bottom: 1px solid ${({ theme }) => theme.colors.neutral150};
2272
2274
  `;
2273
2275
  const CardHeader = (props) => {
@@ -2312,14 +2314,14 @@ const KeyboardKeys = {
2312
2314
  BACKSPACE: "Backspace",
2313
2315
  CLEAR: "Clear"
2314
2316
  };
2315
- const CarouselGrid = styledComponents.styled(Box)`
2317
+ const CarouselGrid = styled.styled(Box)`
2316
2318
  grid-template-columns: auto 1fr auto;
2317
2319
  grid-template-areas: 'startAction slides endAction';
2318
2320
  `;
2319
- const CarouselSlides = styledComponents.styled(Flex)`
2321
+ const CarouselSlides = styled.styled(Flex)`
2320
2322
  grid-area: slides;
2321
2323
  `;
2322
- const CarouselAction = styledComponents.styled(Box)`
2324
+ const CarouselAction = styled.styled(Box)`
2323
2325
  grid-area: ${({ $area }) => $area};
2324
2326
 
2325
2327
  &:focus svg path,
@@ -2593,7 +2595,7 @@ const extendTheme = (theme, overrides) => {
2593
2595
  const getThemeSize = (type) => {
2594
2596
  return ({ theme, size }) => theme.sizes[type][size];
2595
2597
  };
2596
- const inputFocusStyle = (rootElement = "&") => ({ theme, $hasError = false }) => styledComponents.css`
2598
+ const inputFocusStyle = (rootElement = "&") => ({ theme, $hasError = false }) => styled.css`
2597
2599
  outline: none;
2598
2600
  box-shadow: none;
2599
2601
  transition-property: border-color, box-shadow, fill;
@@ -2650,10 +2652,10 @@ const Label = React__namespace.forwardRef(({ children, action, ...props }, ref)
2650
2652
  }
2651
2653
  );
2652
2654
  });
2653
- const TypographyLabel = styledComponents.styled(Typography)`
2655
+ const TypographyLabel = styled.styled(Typography)`
2654
2656
  display: flex;
2655
2657
  `;
2656
- const LabelAction = styledComponents.styled(Flex)`
2658
+ const LabelAction = styled.styled(Flex)`
2657
2659
  line-height: 0;
2658
2660
  color: ${({ theme }) => theme.colors.neutral500};
2659
2661
  `;
@@ -2733,7 +2735,7 @@ const Input$2 = React__namespace.forwardRef(
2733
2735
  );
2734
2736
  }
2735
2737
  );
2736
- const InputElement = styledComponents.styled.input`
2738
+ const InputElement = styled.styled.input`
2737
2739
  border: none;
2738
2740
  border-radius: ${({ theme }) => theme.borderRadius};
2739
2741
  cursor: ${(props) => props["aria-disabled"] ? "not-allowed" : void 0};
@@ -2746,8 +2748,8 @@ const InputElement = styledComponents.styled.input`
2746
2748
  width: 100%;
2747
2749
  background: inherit;
2748
2750
 
2749
- ::placeholder {
2750
- color: ${({ theme }) => theme.colors.neutral500};
2751
+ &::placeholder {
2752
+ color: ${({ theme }) => theme.colors.neutral600};
2751
2753
  opacity: 1;
2752
2754
  }
2753
2755
 
@@ -2764,13 +2766,13 @@ const InputElement = styledComponents.styled.input`
2764
2766
  ${(props) => {
2765
2767
  switch (props.$size) {
2766
2768
  case "S":
2767
- return styledComponents.css`
2769
+ return styled.css`
2768
2770
  padding-inline-start: ${props.$hasLeftAction ? 0 : props.theme.spaces[4]};
2769
2771
  padding-inline-end: ${props.$hasRightAction ? 0 : props.theme.spaces[4]};
2770
2772
  padding-block: ${props.theme.spaces[1]};
2771
2773
  `;
2772
2774
  default:
2773
- return styledComponents.css`
2775
+ return styled.css`
2774
2776
  padding-inline-start: ${props.$hasLeftAction ? 0 : props.theme.spaces[4]};
2775
2777
  padding-inline-end: ${props.$hasRightAction ? 0 : props.theme.spaces[4]};
2776
2778
  padding-block: ${props.theme.spaces[2]};
@@ -2778,13 +2780,13 @@ const InputElement = styledComponents.styled.input`
2778
2780
  }
2779
2781
  }}
2780
2782
  `;
2781
- const EndAction = styledComponents.styled(Flex)`
2783
+ const EndAction = styled.styled(Flex)`
2782
2784
  position: absolute;
2783
2785
  right: ${({ theme }) => theme.spaces[4]};
2784
2786
  top: 50%;
2785
2787
  transform: translateY(-50%);
2786
2788
  `;
2787
- const InputWrapper = styledComponents.styled(Flex)`
2789
+ const InputWrapper = styled.styled(Flex)`
2788
2790
  border: 1px solid ${({ theme, $hasError }) => $hasError ? theme.colors.danger600 : theme.colors.neutral200};
2789
2791
  border-radius: ${({ theme }) => theme.borderRadius};
2790
2792
  background: ${({ theme }) => theme.colors.neutral0};
@@ -2792,7 +2794,7 @@ const InputWrapper = styledComponents.styled(Flex)`
2792
2794
  position: relative;
2793
2795
 
2794
2796
  ${inputFocusStyle()}
2795
- ${({ theme, $disabled }) => $disabled ? styledComponents.css`
2797
+ ${({ theme, $disabled }) => $disabled ? styled.css`
2796
2798
  color: ${theme.colors.neutral600};
2797
2799
  background: ${theme.colors.neutral150};
2798
2800
  ` : void 0};
@@ -2824,7 +2826,7 @@ const Action$1 = React__namespace.forwardRef(({ label, children, ...props }, ref
2824
2826
  children: /* @__PURE__ */ jsxRuntime.jsx(AccessibleIcon, { label, children })
2825
2827
  }
2826
2828
  ));
2827
- const FieldActionWrapper = styledComponents.styled(Flex)`
2829
+ const FieldActionWrapper = styled.styled(Flex)`
2828
2830
  font-size: 1.6rem;
2829
2831
  padding: 0;
2830
2832
  `;
@@ -2894,7 +2896,7 @@ const CarouselActions = ({ horizontal = true, ...props }) => /* @__PURE__ */ jsx
2894
2896
  ...props
2895
2897
  }
2896
2898
  );
2897
- const StyledImage = styledComponents.styled(Box)`
2899
+ const StyledImage = styled.styled(Box)`
2898
2900
  ${ellipsis}
2899
2901
  `;
2900
2902
  const CarouselImage = (props) => {
@@ -2907,11 +2909,14 @@ const CarouselImage = (props) => {
2907
2909
  }
2908
2910
  return /* @__PURE__ */ jsxRuntime.jsx(StyledImage, { tag: "img", height: "100%", maxWidth: "100%", ...props, onError: handleImageError });
2909
2911
  };
2912
+ const CarouselSlideFlex = styled.styled(Flex)`
2913
+ display: ${({ $selected }) => $selected ? "flex" : "none"};
2914
+ `;
2910
2915
  const CarouselSlide = ({ label, children, selected = false, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
2911
- Flex,
2916
+ CarouselSlideFlex,
2912
2917
  {
2918
+ $selected: selected,
2913
2919
  alignItems: "center",
2914
- display: selected ? "flex" : "none",
2915
2920
  role: "group",
2916
2921
  "aria-roledescription": "slide",
2917
2922
  "aria-label": label,
@@ -2931,16 +2936,16 @@ const ScrollAreaImpl$1 = React__namespace.forwardRef(
2931
2936
  ] });
2932
2937
  }
2933
2938
  );
2934
- const ScrollAreaRoot = styledComponents.styled(ScrollArea__namespace.Root)`
2939
+ const ScrollAreaRoot = styled.styled(ScrollArea__namespace.Root)`
2935
2940
  width: 100%;
2936
2941
  height: 100%;
2937
2942
  overflow: hidden;
2938
2943
  display: flex;
2939
2944
  `;
2940
- const ScrollAreaViewport = styledComponents.styled(ScrollArea__namespace.Viewport)`
2945
+ const ScrollAreaViewport = styled.styled(ScrollArea__namespace.Viewport)`
2941
2946
  min-width: 100%;
2942
2947
  `;
2943
- const Scrollbar = styledComponents.styled(ScrollArea__namespace.Scrollbar)`
2948
+ const Scrollbar = styled.styled(ScrollArea__namespace.Scrollbar)`
2944
2949
  display: flex;
2945
2950
  /* ensures no selection */
2946
2951
  user-select: none;
@@ -2958,7 +2963,7 @@ const Scrollbar = styledComponents.styled(ScrollArea__namespace.Scrollbar)`
2958
2963
  margin: 0.4rem;
2959
2964
  }
2960
2965
  `;
2961
- const Thumb = styledComponents.styled(ScrollArea__namespace.Thumb)`
2966
+ const Thumb = styled.styled(ScrollArea__namespace.Thumb)`
2962
2967
  position: relative;
2963
2968
  flex: 1;
2964
2969
  background-color: ${(props) => props.theme.colors.neutral150};
@@ -2984,7 +2989,7 @@ const Loader = React__namespace.forwardRef(({ children, small = false, ...props
2984
2989
  /* @__PURE__ */ jsxRuntime.jsx(LoaderImg, { src: loaderSvg, "aria-hidden": true, $small: small })
2985
2990
  ] });
2986
2991
  });
2987
- const rotation$1 = styledComponents.keyframes`
2992
+ const rotation$1 = styled.keyframes`
2988
2993
  from {
2989
2994
  transform: rotate(0deg);
2990
2995
  }
@@ -2992,7 +2997,7 @@ const rotation$1 = styledComponents.keyframes`
2992
2997
  transform: rotate(359deg);
2993
2998
  }
2994
2999
  `;
2995
- const LoaderImg = styledComponents.styled.img`
3000
+ const LoaderImg = styled.styled.img`
2996
3001
  animation: ${rotation$1} 1s infinite linear;
2997
3002
  will-change: transform;
2998
3003
  ${({ $small, theme }) => $small && `width: ${theme.spaces[6]}; height: ${theme.spaces[6]};`}
@@ -3005,6 +3010,7 @@ const Combobox = React__namespace.forwardRef(
3005
3010
  className,
3006
3011
  clearLabel = "Clear",
3007
3012
  creatable = false,
3013
+ creatableDisabled = false,
3008
3014
  creatableStartIcon,
3009
3015
  createMessage = (value2) => `Create "${value2}"`,
3010
3016
  defaultFilterValue,
@@ -3176,17 +3182,26 @@ const Combobox = React__namespace.forwardRef(
3176
3182
  loading ? /* @__PURE__ */ jsxRuntime.jsx(Flex, { justifyContent: "center", alignItems: "center", paddingTop: 2, paddingBottom: 2, children: /* @__PURE__ */ jsxRuntime.jsx(Loader, { small: true, children: loadingMessage }) }) : null,
3177
3183
  /* @__PURE__ */ jsxRuntime.jsx(Box, { id: intersectionId, width: "100%", height: "1px" })
3178
3184
  ] }),
3179
- creatable ? /* @__PURE__ */ jsxRuntime.jsx(ComboboxCreateItem, { onPointerUp: handleCreateItemClick, onClick: handleCreateItemClick, asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(OptionBox, { children: /* @__PURE__ */ jsxRuntime.jsxs(Flex, { gap: 2, children: [
3180
- creatableStartIcon && /* @__PURE__ */ jsxRuntime.jsx(Box, { tag: "span", "aria-hidden": true, display: "inline-flex", children: creatableStartIcon }),
3181
- /* @__PURE__ */ jsxRuntime.jsx(Typography, { children: createMessage(internalTextValue ?? "") })
3182
- ] }) }) }) : null
3185
+ creatable ? /* @__PURE__ */ jsxRuntime.jsx(
3186
+ ComboboxCreateItem,
3187
+ {
3188
+ onPointerUp: handleCreateItemClick,
3189
+ onClick: handleCreateItemClick,
3190
+ disabled: creatableDisabled,
3191
+ asChild: true,
3192
+ children: /* @__PURE__ */ jsxRuntime.jsx(OptionBox, { children: /* @__PURE__ */ jsxRuntime.jsxs(Flex, { gap: 2, children: [
3193
+ creatableStartIcon && /* @__PURE__ */ jsxRuntime.jsx(Box, { tag: "span", "aria-hidden": true, display: "inline-flex", children: creatableStartIcon }),
3194
+ /* @__PURE__ */ jsxRuntime.jsx(Typography, { children: createMessage(internalTextValue ?? "") })
3195
+ ] }) })
3196
+ }
3197
+ ) : null
3183
3198
  ] }) }) })
3184
3199
  ]
3185
3200
  }
3186
3201
  );
3187
3202
  }
3188
3203
  );
3189
- const Trigger$5 = styledComponents.styled(uiPrimitives.Combobox.Trigger)`
3204
+ const Trigger$5 = styled.styled(uiPrimitives.Combobox.Trigger)`
3190
3205
  position: relative;
3191
3206
  border: 1px solid ${({ theme, $hasError }) => $hasError ? theme.colors.danger600 : theme.colors.neutral200};
3192
3207
  border-radius: ${({ theme }) => theme.borderRadius};
@@ -3200,13 +3215,13 @@ const Trigger$5 = styledComponents.styled(uiPrimitives.Combobox.Trigger)`
3200
3215
  ${(props) => {
3201
3216
  switch (props.$size) {
3202
3217
  case "S":
3203
- return styledComponents.css`
3218
+ return styled.css`
3204
3219
  padding-inline-start: ${({ theme }) => theme.spaces[4]};
3205
3220
  padding-inline-end: ${({ theme }) => theme.spaces[3]};
3206
3221
  padding-block: ${({ theme }) => theme.spaces[1]};
3207
3222
  `;
3208
3223
  default:
3209
- return styledComponents.css`
3224
+ return styled.css`
3210
3225
  padding-inline-start: ${({ theme }) => theme.spaces[4]};
3211
3226
  padding-inline-end: ${({ theme }) => theme.spaces[3]};
3212
3227
  padding-block: ${({ theme }) => theme.spaces[2]};
@@ -3227,7 +3242,7 @@ const Trigger$5 = styledComponents.styled(uiPrimitives.Combobox.Trigger)`
3227
3242
 
3228
3243
  ${({ theme, $hasError }) => inputFocusStyle()({ theme, $hasError })};
3229
3244
  `;
3230
- const TextInput$1 = styledComponents.styled(uiPrimitives.Combobox.TextInput)`
3245
+ const TextInput$1 = styled.styled(uiPrimitives.Combobox.TextInput)`
3231
3246
  width: 100%;
3232
3247
  font-size: 1.4rem;
3233
3248
  line-height: 2.2rem;
@@ -3240,11 +3255,16 @@ const TextInput$1 = styledComponents.styled(uiPrimitives.Combobox.TextInput)`
3240
3255
  outline: none;
3241
3256
  }
3242
3257
 
3258
+ &::placeholder {
3259
+ color: ${({ theme }) => theme.colors.neutral600};
3260
+ opacity: 1;
3261
+ }
3262
+
3243
3263
  &[aria-disabled='true'] {
3244
3264
  cursor: inherit;
3245
3265
  }
3246
3266
  `;
3247
- const DownIcon$1 = styledComponents.styled(uiPrimitives.Combobox.Icon)`
3267
+ const DownIcon$1 = styled.styled(uiPrimitives.Combobox.Icon)`
3248
3268
  border: none;
3249
3269
  background: transparent;
3250
3270
  padding: 0;
@@ -3255,7 +3275,7 @@ const DownIcon$1 = styledComponents.styled(uiPrimitives.Combobox.Icon)`
3255
3275
  cursor: inherit;
3256
3276
  }
3257
3277
  `;
3258
- const Content$5 = styledComponents.styled(uiPrimitives.Combobox.Content)`
3278
+ const Content$5 = styled.styled(uiPrimitives.Combobox.Content)`
3259
3279
  background: ${({ theme }) => theme.colors.neutral0};
3260
3280
  box-shadow: ${({ theme }) => theme.shadows.filterShadow};
3261
3281
  border: 1px solid ${({ theme }) => theme.colors.neutral150};
@@ -3287,7 +3307,7 @@ const Content$5 = styledComponents.styled(uiPrimitives.Combobox.Content)`
3287
3307
  }
3288
3308
  }
3289
3309
  `;
3290
- const ComboboxCreateItem = styledComponents.styled(uiPrimitives.Combobox.CreateItem)`
3310
+ const ComboboxCreateItem = styled.styled(uiPrimitives.Combobox.CreateItem)`
3291
3311
  && {
3292
3312
  border-top: 1px solid ${({ theme }) => theme.colors.neutral150};
3293
3313
  background: ${({ theme }) => theme.colors.neutral0};
@@ -3299,7 +3319,18 @@ const ComboboxCreateItem = styledComponents.styled(uiPrimitives.Combobox.CreateI
3299
3319
  }
3300
3320
  &&:hover,
3301
3321
  &&[data-highlighted] {
3302
- background-color: transparent;
3322
+ background: ${({ theme }) => theme.colors.neutral0};
3323
+ }
3324
+ &&[data-disabled] {
3325
+ color: ${({ theme }) => theme.colors.neutral600};
3326
+ background: ${({ theme }) => theme.colors.neutral150};
3327
+ cursor: not-allowed;
3328
+ border-bottom-left-radius: 0;
3329
+ border-bottom-right-radius: 0;
3330
+ }
3331
+ &&[data-disabled]:hover {
3332
+ background: ${({ theme }) => theme.colors.neutral150};
3333
+ color: ${({ theme }) => theme.colors.neutral600};
3303
3334
  }
3304
3335
  && > div {
3305
3336
  padding: ${({ theme }) => theme.spaces[2]} ${({ theme }) => theme.spaces[4]};
@@ -3308,8 +3339,11 @@ const ComboboxCreateItem = styledComponents.styled(uiPrimitives.Combobox.CreateI
3308
3339
  &&[data-highlighted] > div {
3309
3340
  background-color: ${({ theme }) => theme.colors.primary100};
3310
3341
  }
3342
+ &&[data-disabled] > div:hover {
3343
+ background: ${({ theme }) => theme.colors.neutral150};
3344
+ }
3311
3345
  `;
3312
- const ScrollAreaCombobox = styledComponents.styled(ScrollAreaImpl$1)`
3346
+ const ScrollAreaCombobox = styled.styled(ScrollAreaImpl$1)`
3313
3347
  padding: ${({ theme }) => theme.spaces[1]};
3314
3348
  `;
3315
3349
  const Option = React__namespace.forwardRef(
@@ -3317,7 +3351,7 @@ const Option = React__namespace.forwardRef(
3317
3351
  return /* @__PURE__ */ jsxRuntime.jsx(uiPrimitives.Combobox.ComboboxItem, { asChild: true, value, disabled, textValue, children: /* @__PURE__ */ jsxRuntime.jsx(OptionBox, { ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(uiPrimitives.Combobox.ItemText, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { children }) }) }) });
3318
3352
  }
3319
3353
  );
3320
- const OptionBox = styledComponents.styled.div`
3354
+ const OptionBox = styled.styled.div`
3321
3355
  width: 100%;
3322
3356
  border: none;
3323
3357
  text-align: left;
@@ -3354,7 +3388,7 @@ const Content$4 = React__namespace.forwardRef((props, forwardedRef) => {
3354
3388
  /* @__PURE__ */ jsxRuntime.jsx(ContentImpl$1, { ref: forwardedRef, ...props })
3355
3389
  ] });
3356
3390
  });
3357
- const Overlay$1 = styledComponents.styled(AlertDialog__namespace.Overlay)`
3391
+ const Overlay$1 = styled.styled(AlertDialog__namespace.Overlay)`
3358
3392
  background-color: ${(props) => props.theme.colors.neutral800};
3359
3393
  position: fixed;
3360
3394
  inset: 0;
@@ -3366,7 +3400,7 @@ const Overlay$1 = styledComponents.styled(AlertDialog__namespace.Overlay)`
3366
3400
  ${(props) => props.theme.motion.easings.authenticMotion};
3367
3401
  }
3368
3402
  `;
3369
- const ContentImpl$1 = styledComponents.styled(AlertDialog__namespace.Content)`
3403
+ const ContentImpl$1 = styled.styled(AlertDialog__namespace.Content)`
3370
3404
  max-width: 42rem;
3371
3405
  height: min-content;
3372
3406
  width: 100%;
@@ -3402,7 +3436,7 @@ const ContentImpl$1 = styledComponents.styled(AlertDialog__namespace.Content)`
3402
3436
  const Header$1 = React__namespace.forwardRef(({ children, ...restProps }, forwardedRef) => {
3403
3437
  return /* @__PURE__ */ jsxRuntime.jsx(AlertDialog__namespace.Title, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(Title$1, { tag: "h2", variant: "beta", ref: forwardedRef, padding: 6, fontWeight: "bold", ...restProps, children }) });
3404
3438
  });
3405
- const Title$1 = styledComponents.styled(Typography)`
3439
+ const Title$1 = styled.styled(Typography)`
3406
3440
  display: flex;
3407
3441
  justify-content: center;
3408
3442
  border-bottom: solid 1px ${(props) => props.theme.colors.neutral150};
@@ -3435,7 +3469,7 @@ const Description = React__namespace.forwardRef((props, forwardedRef) => {
3435
3469
  const Footer$1 = React__namespace.forwardRef((props, forwardedRef) => {
3436
3470
  return /* @__PURE__ */ jsxRuntime.jsx(Foot$1, { ref: forwardedRef, gap: 2, padding: 4, justifyContent: "space-between", ...props, tag: "footer" });
3437
3471
  });
3438
- const Foot$1 = styledComponents.styled(Flex)`
3472
+ const Foot$1 = styled.styled(Flex)`
3439
3473
  border-top: solid 1px ${(props) => props.theme.colors.neutral150};
3440
3474
  flex: 1;
3441
3475
  `;
@@ -3521,8 +3555,8 @@ const LiveRegions = () => {
3521
3555
  /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", "aria-live": "assertive", id: LiveRegionIds.Alert, "aria-relevant": "all" })
3522
3556
  ] });
3523
3557
  };
3524
- const GlobalStyle = styledComponents.createGlobalStyle`
3525
- ${styledComponents.css`
3558
+ const GlobalStyle = styled.createGlobalStyle`
3559
+ ${styled.css`
3526
3560
  *,
3527
3561
  *::before,
3528
3562
  *::after {
@@ -3659,7 +3693,7 @@ const DesignSystemProvider = ({
3659
3693
  window.getComputedStyle(css).opacity;
3660
3694
  document.head.removeChild(css);
3661
3695
  }, [theme]);
3662
- return /* @__PURE__ */ jsxRuntime.jsx(Provider, { locale, children: /* @__PURE__ */ jsxRuntime.jsxs(styledComponents.ThemeProvider, { theme, children: [
3696
+ return /* @__PURE__ */ jsxRuntime.jsx(Provider, { locale, children: /* @__PURE__ */ jsxRuntime.jsxs(styled.ThemeProvider, { theme, children: [
3663
3697
  /* @__PURE__ */ jsxRuntime.jsx(Tooltip.Provider, { ...tooltipConfig, children }),
3664
3698
  /* @__PURE__ */ jsxRuntime.jsx(LiveRegions, {}),
3665
3699
  /* @__PURE__ */ jsxRuntime.jsx(GlobalStyle, {})
@@ -3730,7 +3764,7 @@ const SelectTrigger = React__namespace.forwardRef(
3730
3764
  ) });
3731
3765
  }
3732
3766
  );
3733
- const IconBox$1 = styledComponents.styled(Box)`
3767
+ const IconBox$1 = styled.styled(Box)`
3734
3768
  border: none;
3735
3769
  display: flex;
3736
3770
 
@@ -3743,18 +3777,18 @@ const IconBox$1 = styledComponents.styled(Box)`
3743
3777
  fill: ${({ theme }) => theme.colors.neutral500};
3744
3778
  }
3745
3779
  `;
3746
- const StyledTrigger = styledComponents.styled(Flex)`
3780
+ const StyledTrigger = styled.styled(Flex)`
3747
3781
  border: 1px solid ${({ theme, $hasError }) => $hasError ? theme.colors.danger600 : theme.colors.neutral200};
3748
3782
  ${(props) => {
3749
3783
  switch (props.$size) {
3750
3784
  case "S":
3751
- return styledComponents.css`
3785
+ return styled.css`
3752
3786
  padding-block: ${props.theme.spaces[1]};
3753
3787
  padding-inline-start: ${props.$withTags ? props.theme.spaces[1] : props.theme.spaces[4]};
3754
3788
  padding-inline-end: ${props.theme.spaces[3]};
3755
3789
  `;
3756
3790
  default:
3757
- return styledComponents.css`
3791
+ return styled.css`
3758
3792
  padding-block: ${props.$withTags ? "0.3rem" : props.theme.spaces[2]};
3759
3793
  padding-inline-start: ${props.$withTags ? props.theme.spaces[1] : props.theme.spaces[4]};
3760
3794
  padding-inline-end: ${props.theme.spaces[3]};
@@ -3774,19 +3808,19 @@ const StyledTrigger = styledComponents.styled(Flex)`
3774
3808
 
3775
3809
  ${({ theme, $hasError }) => inputFocusStyle()({ theme, $hasError })};
3776
3810
  `;
3777
- const DownIcon = styledComponents.styled(uiPrimitives.Select.Icon)`
3811
+ const DownIcon = styled.styled(uiPrimitives.Select.Icon)`
3778
3812
  display: flex;
3779
3813
  & > svg {
3780
3814
  fill: ${({ theme }) => theme.colors.neutral500};
3781
3815
  }
3782
3816
  `;
3783
3817
  const SelectValue = React__namespace.forwardRef(({ children, placeholder, ...restProps }, ref) => /* @__PURE__ */ jsxRuntime.jsx(ValueType, { ref, ellipsis: true, ...restProps, children: /* @__PURE__ */ jsxRuntime.jsx(StyledValue, { placeholder, children }) }));
3784
- const ValueType = styledComponents.styled(Typography)`
3818
+ const ValueType = styled.styled(Typography)`
3785
3819
  flex: 1;
3786
3820
  font-size: 1.4rem;
3787
3821
  line-height: 2.2rem;
3788
3822
  `;
3789
- const StyledValue = styledComponents.styled(uiPrimitives.Select.Value)`
3823
+ const StyledValue = styled.styled(uiPrimitives.Select.Value)`
3790
3824
  display: flex;
3791
3825
  gap: ${({ theme }) => theme.spaces[1]};
3792
3826
  flex-wrap: wrap;
@@ -3794,7 +3828,7 @@ const StyledValue = styledComponents.styled(uiPrimitives.Select.Value)`
3794
3828
  const SelectContent = React__namespace.forwardRef((props, ref) => {
3795
3829
  return /* @__PURE__ */ jsxRuntime.jsx(StyledContent, { ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(ScrollAreaImpl$1, { children: props.children }) });
3796
3830
  });
3797
- const StyledContent = styledComponents.styled(uiPrimitives.Select.Content)`
3831
+ const StyledContent = styled.styled(uiPrimitives.Select.Content)`
3798
3832
  background: ${({ theme }) => theme.colors.neutral0};
3799
3833
  box-shadow: ${({ theme }) => theme.shadows.filterShadow};
3800
3834
  border: 1px solid ${({ theme }) => theme.colors.neutral150};
@@ -3820,11 +3854,11 @@ const StyledContent = styledComponents.styled(uiPrimitives.Select.Content)`
3820
3854
  }
3821
3855
  }
3822
3856
  `;
3823
- const SelectViewport = styledComponents.styled(uiPrimitives.Select.Viewport)`
3857
+ const SelectViewport = styled.styled(uiPrimitives.Select.Viewport)`
3824
3858
  padding: ${({ theme }) => theme.spaces[1]};
3825
3859
  `;
3826
3860
  const SelectItem = React__namespace.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledSelectItem, { ref, ...props }));
3827
- const itemStyles = styledComponents.css`
3861
+ const itemStyles = styled.css`
3828
3862
  width: 100%;
3829
3863
  border: none;
3830
3864
  text-align: left;
@@ -3846,7 +3880,7 @@ const itemStyles = styledComponents.css`
3846
3880
  cursor: pointer;
3847
3881
  }
3848
3882
  `;
3849
- const StyledSelectItem = styledComponents.styled(uiPrimitives.Select.Item)`
3883
+ const StyledSelectItem = styled.styled(uiPrimitives.Select.Item)`
3850
3884
  ${itemStyles}
3851
3885
 
3852
3886
  &:hover {
@@ -3985,7 +4019,7 @@ const SingleSelectOption = React__namespace.forwardRef(
3985
4019
  const DEFAULT_PAST_RANGE = 200;
3986
4020
  const DEFAULT_FUTURE_RANGE = 15;
3987
4021
  const [DatePickerProvider, useDatePickerContext] = createContext("DatePicker");
3988
- const DatePicker$1 = React__namespace.forwardRef(
4022
+ const DatePicker = React__namespace.forwardRef(
3989
4023
  ({
3990
4024
  /**
3991
4025
  * DatePickerCalendar props
@@ -4114,6 +4148,7 @@ const DatePicker$1 = React__namespace.forwardRef(
4114
4148
  onTextValueChange: setTextValue,
4115
4149
  onTriggerChange: setTrigger,
4116
4150
  onValueChange: setValue,
4151
+ onClear,
4117
4152
  required,
4118
4153
  textInput,
4119
4154
  textValue,
@@ -4191,6 +4226,7 @@ const DatePickerTrigger = React__namespace.forwardRef(
4191
4226
  ref: composedRefs,
4192
4227
  $hasError: hasError,
4193
4228
  $size: size,
4229
+ $hasOnClear: Boolean(context.onClear),
4194
4230
  ...restProps,
4195
4231
  hasRadius: true,
4196
4232
  gap: 3,
@@ -4219,17 +4255,18 @@ const DatePickerTrigger = React__namespace.forwardRef(
4219
4255
  );
4220
4256
  }
4221
4257
  );
4222
- const TriggerElement = styledComponents.styled(Flex)`
4258
+ const TriggerElement = styled.styled(Flex)`
4259
+ min-width: ${({ $hasOnClear }) => $hasOnClear ? "160px" : "130px"};
4223
4260
  border: 1px solid ${({ theme, $hasError }) => $hasError ? theme.colors.danger600 : theme.colors.neutral200};
4224
4261
  ${(props) => {
4225
4262
  switch (props.$size) {
4226
4263
  case "S":
4227
- return styledComponents.css`
4264
+ return styled.css`
4228
4265
  padding-block: ${props.theme.spaces[1]};
4229
4266
  padding-inline: ${props.theme.spaces[3]};
4230
4267
  `;
4231
4268
  default:
4232
- return styledComponents.css`
4269
+ return styled.css`
4233
4270
  padding-block: ${props.theme.spaces[2]};
4234
4271
  padding-inline: ${props.theme.spaces[3]};
4235
4272
  `;
@@ -4432,7 +4469,7 @@ function constrainValue(date$1, minValue, maxValue) {
4432
4469
  }
4433
4470
  return date$1;
4434
4471
  }
4435
- const Input$1 = styledComponents.styled.input`
4472
+ const Input$1 = styled.styled.input`
4436
4473
  width: 100%;
4437
4474
  font-size: 1.4rem;
4438
4475
  line-height: 2.2rem;
@@ -4444,6 +4481,11 @@ const Input$1 = styledComponents.styled.input`
4444
4481
  outline: none;
4445
4482
  }
4446
4483
 
4484
+ &::placeholder {
4485
+ color: ${({ theme }) => theme.colors.neutral600};
4486
+ opacity: 1;
4487
+ }
4488
+
4447
4489
  &[aria-disabled='true'] {
4448
4490
  cursor: inherit;
4449
4491
  }
@@ -4534,7 +4576,7 @@ const DatePickerContentImpl = React__namespace.forwardRef(
4534
4576
  ) });
4535
4577
  }
4536
4578
  );
4537
- const ContentElement = styledComponents.styled(Box)`
4579
+ const ContentElement = styled.styled(Box)`
4538
4580
  box-shadow: ${({ theme }) => theme.shadows.filterShadow};
4539
4581
  z-index: ${({ theme }) => theme.zIndices.popover};
4540
4582
  border: 1px solid ${({ theme }) => theme.colors.neutral150};
@@ -4648,7 +4690,7 @@ const makeGetDatesInWeek = (from, locale) => (weekIndex) => {
4648
4690
  }
4649
4691
  return dates;
4650
4692
  };
4651
- const ToolbarFlex = styledComponents.styled(Flex)`
4693
+ const ToolbarFlex = styled.styled(Flex)`
4652
4694
  div[role='combobox'] {
4653
4695
  border: 1px solid transparent;
4654
4696
  background: transparent;
@@ -4668,7 +4710,7 @@ const DatePickerHeaderCell = React__namespace.forwardRef(
4668
4710
  return /* @__PURE__ */ jsxRuntime.jsx(Th$1, { tag: "th", role: "gridcell", ref: forwardedRef, ...props, height: "2.4rem", width: "3.2rem", children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "pi", fontWeight: "bold", color: "neutral800", children: children.slice(0, 2) }) });
4669
4711
  }
4670
4712
  );
4671
- const Th$1 = styledComponents.styled(Box)`
4713
+ const Th$1 = styled.styled(Box)`
4672
4714
  border-radius: ${({ theme }) => theme.borderRadius};
4673
4715
  text-transform: capitalize;
4674
4716
  `;
@@ -4731,7 +4773,7 @@ const DatePickerCalendarCell = React__namespace.forwardRef(
4731
4773
  );
4732
4774
  }
4733
4775
  );
4734
- const Cell = styledComponents.styled(Box)`
4776
+ const Cell = styled.styled(Box)`
4735
4777
  text-align: center;
4736
4778
  padding: 0.7rem;
4737
4779
  // Trick to prevent the outline from overflowing because of the general outline-offset
@@ -4759,7 +4801,10 @@ const isNotAlphabeticalCharacter = (str) => {
4759
4801
  function escapeForRegex(str = "") {
4760
4802
  return str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
4761
4803
  }
4762
- const TimePicker$1 = React__namespace.forwardRef(
4804
+ const TimePickerCombobox = styled__default.default(Combobox)`
4805
+ min-width: ${({ onClear }) => onClear ? "160px" : "130px"};
4806
+ `;
4807
+ const TimePicker = React__namespace.forwardRef(
4763
4808
  ({ step = 15, value: valueProp, defaultValue, onChange, ...restProps }, forwardedRef) => {
4764
4809
  const context = useDesignSystem("TimePicker");
4765
4810
  const [textValue, setTextValue] = React__namespace.useState("");
@@ -4825,7 +4870,7 @@ const TimePicker$1 = React__namespace.forwardRef(
4825
4870
  const escapedSeparator = escapeForRegex(separator);
4826
4871
  const pattern = `\\d{2}${escapedSeparator}\\d{2}`;
4827
4872
  return /* @__PURE__ */ jsxRuntime.jsx(
4828
- Combobox,
4873
+ TimePickerCombobox,
4829
4874
  {
4830
4875
  ...restProps,
4831
4876
  ref: forwardedRef,
@@ -4846,14 +4891,6 @@ const TimePicker$1 = React__namespace.forwardRef(
4846
4891
  );
4847
4892
  }
4848
4893
  );
4849
- const DatePicker = styledComponents.styled(DatePicker$1)`
4850
- flex: 1 1 70%;
4851
- min-width: 120px;
4852
- `;
4853
- const TimePicker = styledComponents.styled(TimePicker$1)`
4854
- flex: 1 1 30%;
4855
- min-width: 140px;
4856
- `;
4857
4894
  const DateTimePicker = React__namespace.forwardRef(
4858
4895
  ({
4859
4896
  clearLabel = "clear",
@@ -4922,8 +4959,8 @@ const DateTimePicker = React__namespace.forwardRef(
4922
4959
  const composedRefs = useComposedRefs(DatePickerElement2, forwardedRef);
4923
4960
  const { error, id, labelNode } = useField("DateTimePicker");
4924
4961
  const hasError = Boolean(error) || hasErrorProp;
4925
- return /* @__PURE__ */ jsxRuntime.jsxs(Flex, { "aria-labelledby": labelNode ? `${id}-label` : void 0, role: "group", flex: "1", gap: 1, children: [
4926
- /* @__PURE__ */ jsxRuntime.jsx(Root$6, { children: /* @__PURE__ */ jsxRuntime.jsx(
4962
+ return /* @__PURE__ */ jsxRuntime.jsxs(Flex, { "aria-labelledby": labelNode ? `${id}-label` : void 0, role: "group", flex: "1", gap: 1, wrap: "wrap", children: [
4963
+ /* @__PURE__ */ jsxRuntime.jsx(Root$6, { flex: "1", children: /* @__PURE__ */ jsxRuntime.jsx(
4927
4964
  DatePicker,
4928
4965
  {
4929
4966
  ...props,
@@ -4938,7 +4975,7 @@ const DateTimePicker = React__namespace.forwardRef(
4938
4975
  "aria-label": dateLabel
4939
4976
  }
4940
4977
  ) }),
4941
- /* @__PURE__ */ jsxRuntime.jsx(Root$6, { children: /* @__PURE__ */ jsxRuntime.jsx(
4978
+ /* @__PURE__ */ jsxRuntime.jsx(Root$6, { flex: "1", children: /* @__PURE__ */ jsxRuntime.jsx(
4942
4979
  TimePicker,
4943
4980
  {
4944
4981
  size,
@@ -4977,13 +5014,13 @@ const Divider = React__namespace.forwardRef((props, forwardedRef) => {
4977
5014
  }
4978
5015
  );
4979
5016
  });
4980
- const DividerImpl = styledComponents.styled(Box)`
5017
+ const DividerImpl = styled.styled(Box)`
4981
5018
  height: 1px;
4982
5019
  border: none;
4983
5020
  /* If contained in a Flex parent we want to prevent the Divider to shink */
4984
5021
  flex-shrink: 0;
4985
5022
  `;
4986
- const EmptyStateIconWrapper = styledComponents.styled(Box)`
5023
+ const EmptyStateIconWrapper = styled.styled(Box)`
4987
5024
  svg {
4988
5025
  height: 8.8rem;
4989
5026
  }
@@ -5153,7 +5190,7 @@ const JSONInput = React__namespace.forwardRef(
5153
5190
  );
5154
5191
  }
5155
5192
  );
5156
- const JSONInputContainer = styledComponents.styled(Flex)`
5193
+ const JSONInputContainer = styled.styled(Flex)`
5157
5194
  line-height: ${({ theme }) => theme.lineHeights[2]};
5158
5195
 
5159
5196
  .cm-editor {
@@ -5201,7 +5238,7 @@ const LinkButton = forwardRef(
5201
5238
  );
5202
5239
  }
5203
5240
  );
5204
- const MainWrapper = styledComponents.styled(Box)`
5241
+ const MainWrapper = styled.styled(Box)`
5205
5242
  // To prevent global outline on focus visible to force an outline when Main is focused
5206
5243
  &:focus-visible {
5207
5244
  outline: none;
@@ -5210,7 +5247,7 @@ const MainWrapper = styledComponents.styled(Box)`
5210
5247
  const Main = ({ labelledBy = "main-content-title", ...props }) => {
5211
5248
  return /* @__PURE__ */ jsxRuntime.jsx(MainWrapper, { "aria-labelledby": labelledBy, tag: "main", id: "main-content", tabIndex: -1, ...props });
5212
5249
  };
5213
- const AnchorBox = styledComponents.styled(Box)`
5250
+ const AnchorBox = styled.styled(Box)`
5214
5251
  text-decoration: none;
5215
5252
 
5216
5253
  &:focus {
@@ -5236,22 +5273,19 @@ const SkipToContent = ({ children }) => {
5236
5273
  }
5237
5274
  );
5238
5275
  };
5276
+ const setOpacity = (hex, alpha) => `${hex}${Math.floor(alpha * 255).toString(16).padStart(2, "0")}`;
5239
5277
  const Root$3 = Dialog__namespace.Root;
5240
5278
  const Trigger$2 = React__namespace.forwardRef((props, forwardedRef) => {
5241
5279
  return /* @__PURE__ */ jsxRuntime.jsx(Dialog__namespace.Trigger, { ...props, asChild: true, ref: forwardedRef });
5242
5280
  });
5243
5281
  const Content$2 = React__namespace.forwardRef((props, forwardedRef) => {
5244
- return /* @__PURE__ */ jsxRuntime.jsxs(Dialog__namespace.Portal, { children: [
5245
- /* @__PURE__ */ jsxRuntime.jsx(Overlay, {}),
5246
- /* @__PURE__ */ jsxRuntime.jsx(ContentImpl, { ref: forwardedRef, ...props })
5247
- ] });
5282
+ return /* @__PURE__ */ jsxRuntime.jsx(Dialog__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(Overlay, { children: /* @__PURE__ */ jsxRuntime.jsx(ContentImpl, { ref: forwardedRef, ...props }) }) });
5248
5283
  });
5249
- const Overlay = styledComponents.styled(Dialog__namespace.Overlay)`
5250
- background-color: ${(props) => props.theme.colors.neutral800};
5284
+ const Overlay = styled.styled(Dialog__namespace.Overlay)`
5285
+ background: ${(props) => setOpacity(props.theme.colors.neutral800, 0.2)};
5251
5286
  position: fixed;
5252
5287
  inset: 0;
5253
5288
  z-index: ${(props) => props.theme.zIndices.overlay};
5254
- opacity: 0.2;
5255
5289
  will-change: opacity;
5256
5290
 
5257
5291
  @media (prefers-reduced-motion: no-preference) {
@@ -5259,7 +5293,7 @@ const Overlay = styledComponents.styled(Dialog__namespace.Overlay)`
5259
5293
  ${(props) => props.theme.motion.easings.authenticMotion};
5260
5294
  }
5261
5295
  `;
5262
- const ContentImpl = styledComponents.styled(Dialog__namespace.Content)`
5296
+ const ContentImpl = styled.styled(Dialog__namespace.Content)`
5263
5297
  max-width: 83rem;
5264
5298
  max-height: 90vh;
5265
5299
  height: auto;
@@ -5279,6 +5313,11 @@ const ContentImpl = styledComponents.styled(Dialog__namespace.Content)`
5279
5313
  box-shadow: ${(props) => props.theme.shadows.popupShadow};
5280
5314
  z-index: ${(props) => props.theme.zIndices.modal};
5281
5315
 
5316
+ > form {
5317
+ display: flex;
5318
+ flex-direction: column;
5319
+ overflow: hidden;
5320
+ }
5282
5321
  @media (prefers-reduced-motion: no-preference) {
5283
5322
  &[data-state='open'] {
5284
5323
  animation-duration: ${(props) => props.theme.motion.timings["200"]};
@@ -5317,7 +5356,7 @@ const Header = React__namespace.forwardRef(
5317
5356
  );
5318
5357
  }
5319
5358
  );
5320
- const Head = styledComponents.styled(Flex)`
5359
+ const Head = styled.styled(Flex)`
5321
5360
  border-bottom: solid 1px ${(props) => props.theme.colors.neutral150};
5322
5361
  `;
5323
5362
  const Title = React__namespace.forwardRef((props, forwardedRef) => {
@@ -5326,11 +5365,15 @@ const Title = React__namespace.forwardRef((props, forwardedRef) => {
5326
5365
  const Body = React__namespace.forwardRef(({ children, ...restProps }, forwardedRef) => {
5327
5366
  return /* @__PURE__ */ jsxRuntime.jsx(BodyScroll, { ref: forwardedRef, ...restProps, children });
5328
5367
  });
5329
- const BodyScroll = styledComponents.styled(ScrollAreaImpl$1)`
5330
- padding-inline: ${(props) => props.theme.spaces[8]};
5368
+ const BodyScroll = styled.styled(ScrollAreaImpl$1)`
5369
+ padding-inline: ${(props) => props.theme.spaces[7]};
5331
5370
 
5332
5371
  & > div {
5333
5372
  padding-block: ${(props) => props.theme.spaces[8]};
5373
+ /* Add negative margin and padding to avoid cropping the box shadow when the inputs are focused */
5374
+ margin: 0 -2px 0 -2px;
5375
+ padding-left: 2px;
5376
+ padding-right: 2px;
5334
5377
 
5335
5378
  & > div {
5336
5379
  // the scroll area component applies a display: table to the child, which we don't want.
@@ -5353,7 +5396,7 @@ const Footer = React__namespace.forwardRef((props, forwardedRef) => {
5353
5396
  }
5354
5397
  );
5355
5398
  });
5356
- const Foot = styledComponents.styled(Flex)`
5399
+ const Foot = styled.styled(Flex)`
5357
5400
  border-top: solid 1px ${(props) => props.theme.colors.neutral150};
5358
5401
  flex: 1;
5359
5402
  `;
@@ -5488,7 +5531,7 @@ const NumberInput = React__namespace.forwardRef(
5488
5531
  );
5489
5532
  }
5490
5533
  );
5491
- const ArrowButton = styledComponents.styled.button`
5534
+ const ArrowButton = styled.styled.button`
5492
5535
  display: flex;
5493
5536
  justify-content: center;
5494
5537
  align-items: center;
@@ -5560,7 +5603,7 @@ const NextLink = forwardRef(
5560
5603
  ] });
5561
5604
  }
5562
5605
  );
5563
- const LinkWrapper = styledComponents.styled(BaseLinkImpl)`
5606
+ const LinkWrapper = styled.styled(BaseLinkImpl)`
5564
5607
  padding: ${({ theme }) => theme.spaces[3]};
5565
5608
  border-radius: ${({ theme }) => theme.borderRadius};
5566
5609
  box-shadow: ${({ $active, theme }) => $active ? theme.shadows.filterShadow : void 0};
@@ -5569,7 +5612,7 @@ const LinkWrapper = styledComponents.styled(BaseLinkImpl)`
5569
5612
 
5570
5613
  ${focus}
5571
5614
  `;
5572
- const ActionLinkWrapper = styledComponents.styled(LinkWrapper)`
5615
+ const ActionLinkWrapper = styled.styled(LinkWrapper)`
5573
5616
  font-size: 1.1rem;
5574
5617
 
5575
5618
  svg path {
@@ -5597,7 +5640,7 @@ const PageLink = forwardRef(
5597
5640
  ] });
5598
5641
  }
5599
5642
  );
5600
- const PageLinkWrapper = styledComponents.styled(LinkWrapper)`
5643
+ const PageLinkWrapper = styled.styled(LinkWrapper)`
5601
5644
  color: ${({ theme, $active }) => $active ? theme.colors.primary700 : theme.colors.neutral800};
5602
5645
  background: ${({ theme, $active }) => $active ? theme.colors.neutral0 : void 0};
5603
5646
 
@@ -5616,7 +5659,7 @@ const Trigger$1 = React__namespace.forwardRef((props, forwardedRef) => {
5616
5659
  const Content$1 = React__namespace.forwardRef((props, forwardedRef) => {
5617
5660
  return /* @__PURE__ */ jsxRuntime.jsx(Popover__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(PopoverContent, { sideOffset: 4, side: "bottom", align: "start", ...props, ref: forwardedRef }) });
5618
5661
  });
5619
- const PopoverContent = styledComponents.styled(Popover__namespace.Content)`
5662
+ const PopoverContent = styled.styled(Popover__namespace.Content)`
5620
5663
  box-shadow: ${({ theme }) => theme.shadows.filterShadow};
5621
5664
  z-index: ${({ theme }) => theme.zIndices.popover};
5622
5665
  background-color: ${(props) => props.theme.colors.neutral0};
@@ -5667,7 +5710,7 @@ const ScrollAreaImpl = React__namespace.forwardRef(
5667
5710
  ] });
5668
5711
  }
5669
5712
  );
5670
- const PopoverScrollArea = styledComponents.styled(ScrollAreaImpl$1)`
5713
+ const PopoverScrollArea = styled.styled(ScrollAreaImpl$1)`
5671
5714
  height: 20rem;
5672
5715
  `;
5673
5716
  const Popover = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -5682,7 +5725,7 @@ const ProgressBar = React__namespace.forwardRef(
5682
5725
  return /* @__PURE__ */ jsxRuntime.jsx(ProgressRoot, { ref: forwardedRef, $size: size, ...restProps, children: /* @__PURE__ */ jsxRuntime.jsx(ProgressIndicator, { style: { transform: `translate3D(-${100 - (value ?? 0)}%, 0, 0)` } }) });
5683
5726
  }
5684
5727
  );
5685
- const ProgressRoot = styledComponents.styled(Progress__namespace.Root)`
5728
+ const ProgressRoot = styled.styled(Progress__namespace.Root)`
5686
5729
  position: relative;
5687
5730
  overflow: hidden;
5688
5731
  width: ${(props) => props.$size === "S" ? "7.8rem" : "10.2rem"};
@@ -5694,7 +5737,7 @@ const ProgressRoot = styledComponents.styled(Progress__namespace.Root)`
5694
5737
  /* https://gist.github.com/domske/b66047671c780a238b51c51ffde8d3a0 */
5695
5738
  transform: translateZ(0);
5696
5739
  `;
5697
- const ProgressIndicator = styledComponents.styled(Progress__namespace.Indicator)`
5740
+ const ProgressIndicator = styled.styled(Progress__namespace.Indicator)`
5698
5741
  background-color: ${({ theme }) => theme.colors.neutral0};
5699
5742
  border-radius: ${({ theme }) => theme.borderRadius};
5700
5743
  width: 100%;
@@ -5708,7 +5751,7 @@ const ProgressIndicator = styledComponents.styled(Progress__namespace.Indicator)
5708
5751
  const Group = React__namespace.forwardRef((props, forwardedRef) => {
5709
5752
  return /* @__PURE__ */ jsxRuntime.jsx(RadioGroupRoot, { ref: forwardedRef, ...props });
5710
5753
  });
5711
- const RadioGroupRoot = styledComponents.styled(RadioGroup__namespace.Root)`
5754
+ const RadioGroupRoot = styled.styled(RadioGroup__namespace.Root)`
5712
5755
  display: flex;
5713
5756
  flex-direction: column;
5714
5757
  gap: ${(props) => props.theme.spaces[3]};
@@ -5720,7 +5763,7 @@ const Item$1 = React__namespace.forwardRef(({ children, id: idProp, ...restProps
5720
5763
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { tag: "label", htmlFor: id, children })
5721
5764
  ] });
5722
5765
  });
5723
- const RadioGroupItem = styledComponents.styled(RadioGroup__namespace.Item)`
5766
+ const RadioGroupItem = styled.styled(RadioGroup__namespace.Item)`
5724
5767
  background: ${(props) => props.theme.colors.neutral0};
5725
5768
  width: 2rem;
5726
5769
  height: 2rem;
@@ -5758,7 +5801,7 @@ const RadioGroupItem = styledComponents.styled(RadioGroup__namespace.Item)`
5758
5801
  min-height: 44px;
5759
5802
  }
5760
5803
  `;
5761
- const RadioGroupIndicator = styledComponents.styled(RadioGroup__namespace.Indicator)`
5804
+ const RadioGroupIndicator = styled.styled(RadioGroup__namespace.Indicator)`
5762
5805
  display: flex;
5763
5806
  align-items: center;
5764
5807
  justify-content: center;
@@ -6019,19 +6062,19 @@ const RawTr = ({ children, ...props }) => {
6019
6062
  });
6020
6063
  return /* @__PURE__ */ jsxRuntime.jsx(Box, { tag: "tr", ...props, children: childrenClone });
6021
6064
  };
6022
- const CloseIcon = styledComponents.styled(icons.Cross)`
6065
+ const CloseIcon = styled.styled(icons.Cross)`
6023
6066
  font-size: 0.5rem;
6024
6067
  path {
6025
6068
  fill: ${({ theme }) => theme.colors.neutral500};
6026
6069
  }
6027
6070
  `;
6028
- const SearchIcon = styledComponents.styled(icons.Search)`
6071
+ const SearchIcon = styled.styled(icons.Search)`
6029
6072
  font-size: 1rem;
6030
6073
  path {
6031
6074
  fill: ${({ theme }) => theme.colors.neutral500};
6032
6075
  }
6033
6076
  `;
6034
- const SearchbarWrapper = styledComponents.styled.div`
6077
+ const SearchbarWrapper = styled.styled.div`
6035
6078
  border-radius: ${({ theme }) => theme.borderRadius};
6036
6079
  border: 1px solid ${({ theme }) => theme.colors.neutral150}
6037
6080
 
@@ -6041,16 +6084,12 @@ const SearchbarWrapper = styledComponents.styled.div`
6041
6084
  }
6042
6085
  }
6043
6086
  `;
6044
- const SearchbarInput = styledComponents.styled(Input$2)`
6087
+ const SearchbarInput = styled.styled(Input$2)`
6045
6088
  border: 1px solid ${({ theme }) => theme.colors.neutral150}
6046
6089
  height: 16px;
6047
6090
  padding: 0 0 0 8px;
6048
6091
  color: ${({ theme }) => theme.colors.neutral800};
6049
-
6050
- &::placeholder {
6051
- color: ${({ theme }) => theme.colors.neutral500};
6052
- }
6053
-
6092
+
6054
6093
  &:hover {
6055
6094
  button {
6056
6095
  cursor: pointer;
@@ -6098,7 +6137,7 @@ const Searchbar = React__namespace.forwardRef(
6098
6137
  }
6099
6138
  );
6100
6139
  const SearchForm = (props) => /* @__PURE__ */ jsxRuntime.jsx("form", { ...props, role: "search" });
6101
- const ButtonBox$1 = styledComponents.styled(Box)`
6140
+ const ButtonBox$1 = styled.styled(Box)`
6102
6141
  display: inline-flex;
6103
6142
  border: none;
6104
6143
 
@@ -6152,7 +6191,7 @@ const Tag = ({ children, icon, label, disabled = false, onClick, ...props }) =>
6152
6191
  }
6153
6192
  );
6154
6193
  };
6155
- const TagText = styledComponents.styled(Typography)`
6194
+ const TagText = styled.styled(Typography)`
6156
6195
  color: inherit;
6157
6196
  border-right: 1px solid ${({ theme, $disabled }) => $disabled ? theme.colors.neutral300 : theme.colors.primary200};
6158
6197
  padding-right: ${({ theme }) => theme.spaces[2]};
@@ -6317,7 +6356,7 @@ const MultiSelectNested = ({ options, ...props }) => {
6317
6356
  return /* @__PURE__ */ jsxRuntime.jsx(MultiSelectOption, { value: opt.value, children: opt.label }, opt.value);
6318
6357
  }) });
6319
6358
  };
6320
- const NestedOption = styledComponents.styled(MultiSelectOption)`
6359
+ const NestedOption = styled.styled(MultiSelectOption)`
6321
6360
  padding-left: ${({ theme }) => theme.spaces[7]};
6322
6361
  `;
6323
6362
  const getPadding = (size) => {
@@ -6354,7 +6393,7 @@ const SUBNAV_WIDTH = `23.2rem`;
6354
6393
  const SubNav = React__namespace.forwardRef(({ ...props }, ref) => {
6355
6394
  return /* @__PURE__ */ jsxRuntime.jsx(SubNavWrapper, { ref, ...props, tag: "nav" });
6356
6395
  });
6357
- const SubNavWrapper = styledComponents.styled(Box)`
6396
+ const SubNavWrapper = styled.styled(Box)`
6358
6397
  width: ${SUBNAV_WIDTH};
6359
6398
  background: ${({ theme }) => theme.colors.neutral100};
6360
6399
  position: sticky;
@@ -6364,7 +6403,7 @@ const SubNavWrapper = styledComponents.styled(Box)`
6364
6403
  border-right: 1px solid ${({ theme }) => theme.colors.neutral200};
6365
6404
  z-index: 1;
6366
6405
  `;
6367
- const CustomDivider = styledComponents.styled(Divider)`
6406
+ const CustomDivider = styled.styled(Divider)`
6368
6407
  width: 2.4rem;
6369
6408
  background-color: ${({ theme }) => theme.colors.neutral200};
6370
6409
  `;
@@ -6464,13 +6503,13 @@ const SubNavLink = forwardRef(
6464
6503
  );
6465
6504
  }
6466
6505
  );
6467
- const CustomBullet = styledComponents.styled.span`
6506
+ const CustomBullet = styled.styled.span`
6468
6507
  width: 0.4rem;
6469
6508
  height: 0.4rem;
6470
6509
  background-color: ${({ theme, $active }) => $active ? theme.colors.primary600 : theme.colors.neutral600};
6471
6510
  border-radius: 50%;
6472
6511
  `;
6473
- const SubNavLinkWrapper = styledComponents.styled(BaseLinkImpl)`
6512
+ const SubNavLinkWrapper = styled.styled(BaseLinkImpl)`
6474
6513
  display: flex;
6475
6514
  align-items: center;
6476
6515
  justify-content: space-between;
@@ -6482,7 +6521,7 @@ const SubNavLinkWrapper = styledComponents.styled(BaseLinkImpl)`
6482
6521
 
6483
6522
  &.active {
6484
6523
  ${({ theme }) => {
6485
- return styledComponents.css`
6524
+ return styled.css`
6486
6525
  background-color: ${theme.colors.primary100};
6487
6526
  border-right: 2px solid ${theme.colors.primary600};
6488
6527
  color: ${theme.colors.primary700};
@@ -6499,13 +6538,13 @@ const SubNavLinkWrapper = styledComponents.styled(BaseLinkImpl)`
6499
6538
  outline-offset: -2px;
6500
6539
  }
6501
6540
  `;
6502
- const IconWrapper = styledComponents.styled.div`
6541
+ const IconWrapper = styled.styled.div`
6503
6542
  svg {
6504
6543
  height: 1.6rem;
6505
6544
  width: 1.6rem;
6506
6545
  }
6507
6546
  `;
6508
- const SubNavLinkSectionButton = styledComponents.styled.button`
6547
+ const SubNavLinkSectionButton = styled.styled.button`
6509
6548
  border: none;
6510
6549
  padding: 0;
6511
6550
  background: transparent;
@@ -6572,7 +6611,7 @@ const SubNavSectionLabel = ({
6572
6611
  }
6573
6612
  return /* @__PURE__ */ jsxRuntime.jsx(Flex, { children: /* @__PURE__ */ jsxRuntime.jsx(Box, { paddingRight: 1, children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "sigma", textColor: "neutral600", children: label }) }) });
6574
6613
  };
6575
- const SubNavSectionWrapper = styledComponents.styled(Box)`
6614
+ const SubNavSectionWrapper = styled.styled(Box)`
6576
6615
  & > svg {
6577
6616
  height: 0.4rem;
6578
6617
  fill: ${({ theme }) => theme.colors.neutral500};
@@ -6663,7 +6702,7 @@ const SwitchImpl = React__namespace.forwardRef(
6663
6702
  ] });
6664
6703
  }
6665
6704
  );
6666
- const SwitchRoot = styledComponents.styled(Switch__namespace.Root)`
6705
+ const SwitchRoot = styled.styled(Switch__namespace.Root)`
6667
6706
  width: 4rem;
6668
6707
  height: 2.4rem;
6669
6708
  border-radius: 1.2rem;
@@ -6681,7 +6720,7 @@ const SwitchRoot = styledComponents.styled(Switch__namespace.Root)`
6681
6720
  transition: ${(props) => props.theme.transitions.backgroundColor};
6682
6721
  }
6683
6722
  `;
6684
- const SwitchThumb = styledComponents.styled(Switch__namespace.Thumb)`
6723
+ const SwitchThumb = styled.styled(Switch__namespace.Thumb)`
6685
6724
  display: block;
6686
6725
  height: 1.6rem;
6687
6726
  width: 1.6rem;
@@ -6698,7 +6737,7 @@ const SwitchThumb = styledComponents.styled(Switch__namespace.Thumb)`
6698
6737
  ${(props) => props.theme.motion.easings.authenticMotion};
6699
6738
  }
6700
6739
  `;
6701
- const LabelTypography = styledComponents.styled(Typography)`
6740
+ const LabelTypography = styled.styled(Typography)`
6702
6741
  color: ${(props) => props.theme.colors.danger600};
6703
6742
 
6704
6743
  &[data-state='checked'] {
@@ -6715,7 +6754,7 @@ const Root$1 = React__namespace.forwardRef(
6715
6754
  return /* @__PURE__ */ jsxRuntime.jsx(TabsProvider, { disabled, hasError, variant: variant2, children: /* @__PURE__ */ jsxRuntime.jsx(TabsRoot, { ref: forwardedRef, ...props }) });
6716
6755
  }
6717
6756
  );
6718
- const TabsRoot = styledComponents.styled(Tabs__namespace.Root)`
6757
+ const TabsRoot = styled.styled(Tabs__namespace.Root)`
6719
6758
  width: 100%;
6720
6759
  position: relative;
6721
6760
  `;
@@ -6723,7 +6762,7 @@ const List = React__namespace.forwardRef((props, forwardedRef) => {
6723
6762
  const { variant: variant2 } = useTabs("List");
6724
6763
  return /* @__PURE__ */ jsxRuntime.jsx(TabsList, { ref: forwardedRef, ...props, $variant: variant2 });
6725
6764
  });
6726
- const TabsList = styledComponents.styled(Tabs__namespace.List)`
6765
+ const TabsList = styled.styled(Tabs__namespace.List)`
6727
6766
  display: flex;
6728
6767
  align-items: ${(props) => props.$variant === "regular" ? "flex-end" : "unset"};
6729
6768
  position: relative;
@@ -6740,7 +6779,7 @@ const Trigger = React__namespace.forwardRef(
6740
6779
  ] });
6741
6780
  }
6742
6781
  );
6743
- const TabBar = styledComponents.styled.span`
6782
+ const TabBar = styled.styled.span`
6744
6783
  display: block;
6745
6784
  width: 100%;
6746
6785
  background-color: currentColor;
@@ -6750,8 +6789,8 @@ const TabBar = styledComponents.styled.span`
6750
6789
  opacity: 0;
6751
6790
  height: 0.2rem;
6752
6791
  `;
6753
- const TriggerTypography = styledComponents.styled(Typography)``;
6754
- const TabsTrigger = styledComponents.styled(Tabs__namespace.Trigger)`
6792
+ const TriggerTypography = styled.styled(Typography)``;
6793
+ const TabsTrigger = styled.styled(Tabs__namespace.Trigger)`
6755
6794
  position: relative;
6756
6795
  color: ${(props) => props.$hasError ? props.theme.colors.danger600 : props.theme.colors.neutral600};
6757
6796
  cursor: pointer;
@@ -6759,7 +6798,7 @@ const TabsTrigger = styledComponents.styled(Tabs__namespace.Trigger)`
6759
6798
 
6760
6799
  ${(props) => {
6761
6800
  if (props.$variant === "simple") {
6762
- return styledComponents.css`
6801
+ return styled.css`
6763
6802
  padding-block: ${(props2) => props2.theme.spaces[4]};
6764
6803
  padding-inline: ${(props2) => props2.theme.spaces[4]};
6765
6804
 
@@ -6776,7 +6815,7 @@ const TabsTrigger = styledComponents.styled(Tabs__namespace.Trigger)`
6776
6815
  }
6777
6816
  `;
6778
6817
  } else {
6779
- return styledComponents.css`
6818
+ return styled.css`
6780
6819
  padding-block: ${(props2) => props2.theme.spaces[3]};
6781
6820
  padding-inline: ${(props2) => props2.theme.spaces[3]};
6782
6821
  flex: 1;
@@ -6811,12 +6850,12 @@ const Content = React__namespace.forwardRef((props, forwardedRef) => {
6811
6850
  const { variant: variant2 } = useTabs("Content");
6812
6851
  return /* @__PURE__ */ jsxRuntime.jsx(TabsContent, { $variant: variant2, ref: forwardedRef, ...props });
6813
6852
  });
6814
- const TabsContent = styledComponents.styled(Tabs__namespace.Content)`
6853
+ const TabsContent = styled.styled(Tabs__namespace.Content)`
6815
6854
  ${(props) => {
6816
6855
  if (props.$variant === "simple") {
6817
- return styledComponents.css``;
6856
+ return styled.css``;
6818
6857
  } else {
6819
- return styledComponents.css`
6858
+ return styled.css`
6820
6859
  position: relative;
6821
6860
  z-index: 1;
6822
6861
  background-color: ${(props2) => props2.theme.colors.neutral0};
@@ -6831,15 +6870,15 @@ const Tabs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
6831
6870
  Root: Root$1,
6832
6871
  Trigger
6833
6872
  }, Symbol.toStringTag, { value: "Module" }));
6834
- const TableContainer = styledComponents.styled(Box)`
6873
+ const TableContainer = styled.styled(Box)`
6835
6874
  overflow: hidden;
6836
6875
  border: 1px solid ${({ theme }) => theme.colors.neutral150};
6837
6876
  `;
6838
- const TableWrapper = styledComponents.styled(RawTable)`
6877
+ const TableWrapper = styled.styled(RawTable)`
6839
6878
  width: 100%;
6840
6879
  white-space: nowrap;
6841
6880
  `;
6842
- const TableBox = styledComponents.styled(Box)`
6881
+ const TableBox = styled.styled(Box)`
6843
6882
  &:before {
6844
6883
  // TODO: make sure to add a token for this weird stuff
6845
6884
  background: linear-gradient(90deg, #c0c0cf 0%, rgba(0, 0, 0, 0) 100%);
@@ -6865,7 +6904,7 @@ const TableBox = styledComponents.styled(Box)`
6865
6904
  top: 0;
6866
6905
  }
6867
6906
  `;
6868
- const ScrollContainer = styledComponents.styled(Box)`
6907
+ const ScrollContainer = styled.styled(Box)`
6869
6908
  overflow-x: auto;
6870
6909
  `;
6871
6910
  const Table = React__namespace.forwardRef(({ footer, ...props }, forwardedRef) => {
@@ -6895,7 +6934,7 @@ const Table = React__namespace.forwardRef(({ footer, ...props }, forwardedRef) =
6895
6934
  footer
6896
6935
  ] });
6897
6936
  });
6898
- const TbodyWrapper = styledComponents.styled(RawTbody)`
6937
+ const TbodyWrapper = styled.styled(RawTbody)`
6899
6938
  & tr:last-of-type {
6900
6939
  border-bottom: none;
6901
6940
  }
@@ -6903,13 +6942,13 @@ const TbodyWrapper = styledComponents.styled(RawTbody)`
6903
6942
  const Tbody = ({ children, ...props }) => {
6904
6943
  return /* @__PURE__ */ jsxRuntime.jsx(TbodyWrapper, { ...props, children });
6905
6944
  };
6906
- const TheadWrapper = styledComponents.styled(RawThead)`
6945
+ const TheadWrapper = styled.styled(RawThead)`
6907
6946
  border-bottom: 1px solid ${({ theme }) => theme.colors.neutral150};
6908
6947
  `;
6909
6948
  const Thead = ({ children, ...props }) => {
6910
6949
  return /* @__PURE__ */ jsxRuntime.jsx(TheadWrapper, { ...props, children });
6911
6950
  };
6912
- const TrWrapper = styledComponents.styled(RawTr)`
6951
+ const TrWrapper = styled.styled(RawTr)`
6913
6952
  border-bottom: 1px solid ${({ theme }) => theme.colors.neutral150};
6914
6953
 
6915
6954
  & td,
@@ -6932,7 +6971,7 @@ const TrWrapper = styledComponents.styled(RawTr)`
6932
6971
  const Tr = (props) => {
6933
6972
  return /* @__PURE__ */ jsxRuntime.jsx(TrWrapper, { ...props });
6934
6973
  };
6935
- const CellWrapper = styledComponents.styled(RawTd)`
6974
+ const CellWrapper = styled.styled(RawTd)`
6936
6975
  vertical-align: middle;
6937
6976
  text-align: left;
6938
6977
  outline-offset: -4px;
@@ -6953,7 +6992,7 @@ const Th = React__namespace.forwardRef(({ children, action, ...props }, forwarde
6953
6992
  const Td = React__namespace.forwardRef(({ children, ...props }, forwardedRef) => {
6954
6993
  return /* @__PURE__ */ jsxRuntime.jsx(CellWrapper, { color: "neutral800", ref: forwardedRef, ...props, children });
6955
6994
  });
6956
- const IconBox = styledComponents.styled(Box)`
6995
+ const IconBox = styled.styled(Box)`
6957
6996
  height: 2.4rem;
6958
6997
  width: 2.4rem;
6959
6998
  border-radius: 50%;
@@ -6970,7 +7009,7 @@ const IconBox = styledComponents.styled(Box)`
6970
7009
  fill: ${({ theme }) => theme.colors.primary600};
6971
7010
  }
6972
7011
  `;
6973
- const ButtonBox = styledComponents.styled(Box)`
7012
+ const ButtonBox = styled.styled(Box)`
6974
7013
  border-radius: 0 0 ${({ theme }) => theme.borderRadius} ${({ theme }) => theme.borderRadius};
6975
7014
  display: block;
6976
7015
  width: 100%;
@@ -7007,7 +7046,7 @@ const TextButton = forwardRef(
7007
7046
  );
7008
7047
  }
7009
7048
  );
7010
- const rotation = styledComponents.keyframes`
7049
+ const rotation = styled.keyframes`
7011
7050
  from {
7012
7051
  transform: rotate(0deg);
7013
7052
  }
@@ -7015,12 +7054,12 @@ const rotation = styledComponents.keyframes`
7015
7054
  transform: rotate(359deg);
7016
7055
  }
7017
7056
  `;
7018
- const LoadingWrapper = styledComponents.styled.span`
7057
+ const LoadingWrapper = styled.styled.span`
7019
7058
  display: flex;
7020
7059
  animation: ${rotation} 2s infinite linear;
7021
7060
  will-change: transform;
7022
7061
  `;
7023
- const TextButtonWrapper = styledComponents.styled(Flex)`
7062
+ const TextButtonWrapper = styled.styled(Flex)`
7024
7063
  border: none;
7025
7064
  background-color: transparent;
7026
7065
  color: ${(props) => props.theme.colors.primary600};
@@ -7074,18 +7113,17 @@ const Textarea = React__namespace.forwardRef(
7074
7113
  ) });
7075
7114
  }
7076
7115
  );
7077
- const Wrapper$1 = styledComponents.styled(Box)`
7116
+ const Wrapper$1 = styled.styled(Box)`
7078
7117
  height: 10.5rem;
7079
7118
  ${inputFocusStyle()}
7080
7119
  `;
7081
- const TextareaElement = styledComponents.styled(Box)`
7120
+ const TextareaElement = styled.styled(Box)`
7082
7121
  border: none;
7083
7122
  resize: none;
7084
7123
 
7085
- ::placeholder {
7086
- color: ${({ theme }) => theme.colors.neutral500};
7124
+ &::placeholder {
7125
+ color: ${({ theme }) => theme.colors.neutral600};
7087
7126
  font-size: ${({ theme }) => theme.fontSizes[2]};
7088
- color: ${({ theme }) => theme.colors.neutral500};
7089
7127
  opacity: 1;
7090
7128
  }
7091
7129
 
@@ -7209,13 +7247,13 @@ const Toggle = React__namespace.forwardRef(
7209
7247
  );
7210
7248
  }
7211
7249
  );
7212
- const ToggleWrapper = styledComponents.styled(Flex)`
7250
+ const ToggleWrapper = styled.styled(Flex)`
7213
7251
  ${inputFocusStyle()}
7214
7252
  `;
7215
- const ToggleOption = styledComponents.styled(Flex)`
7253
+ const ToggleOption = styled.styled(Flex)`
7216
7254
  padding-block: 0.6rem;
7217
7255
  `;
7218
- const Input = styledComponents.styled.input`
7256
+ const Input = styled.styled.input`
7219
7257
  height: 100%;
7220
7258
  left: 0;
7221
7259
  opacity: 0;
@@ -7228,7 +7266,7 @@ const Root = forwardRef((props, forwardedRef) => {
7228
7266
  const { gap = 0, gridCols = 12, ...rest } = props;
7229
7267
  return /* @__PURE__ */ jsxRuntime.jsx(Wrapper, { ref: forwardedRef, $gap: gap, $gridCols: gridCols, ...rest });
7230
7268
  });
7231
- const Wrapper = styledComponents.styled(Box)`
7269
+ const Wrapper = styled.styled(Box)`
7232
7270
  display: grid;
7233
7271
  grid-template-columns: repeat(${({ $gridCols }) => $gridCols}, 1fr);
7234
7272
  ${({ theme, $gap }) => handleResponsiveValues({ gap: $gap }, theme)}
@@ -7236,7 +7274,7 @@ const Wrapper = styledComponents.styled(Box)`
7236
7274
  const ItemImpl = forwardRef(
7237
7275
  ({ col, s, xs, m, ...props }, forwardedRef) => /* @__PURE__ */ jsxRuntime.jsx(Item, { ref: forwardedRef, $col: col, $s: s, $xs: xs, $m: m, ...props })
7238
7276
  );
7239
- const Item = styledComponents.styled(Flex)`
7277
+ const Item = styled.styled(Flex)`
7240
7278
  grid-column: span ${({ $xs }) => $xs ?? 12};
7241
7279
  max-width: 100%;
7242
7280
 
@@ -7451,7 +7489,7 @@ exports.ComboboxOption = Option;
7451
7489
  exports.Crumb = Crumb;
7452
7490
  exports.CrumbLink = CrumbLink;
7453
7491
  exports.CrumbSimpleMenu = CrumbSimpleMenu;
7454
- exports.DatePicker = DatePicker$1;
7492
+ exports.DatePicker = DatePicker;
7455
7493
  exports.DateTimePicker = DateTimePicker;
7456
7494
  exports.DesignSystemProvider = DesignSystemProvider;
7457
7495
  exports.Dialog = Dialog;
@@ -7520,7 +7558,7 @@ exports.TextInput = TextInput;
7520
7558
  exports.Textarea = Textarea;
7521
7559
  exports.Th = Th;
7522
7560
  exports.Thead = Thead;
7523
- exports.TimePicker = TimePicker$1;
7561
+ exports.TimePicker = TimePicker;
7524
7562
  exports.Toggle = Toggle;
7525
7563
  exports.Tooltip = TooltipImpl;
7526
7564
  exports.Tr = Tr;