@strapi/design-system 2.0.0-rc.24 → 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,7 +2909,7 @@ const CarouselImage = (props) => {
2907
2909
  }
2908
2910
  return /* @__PURE__ */ jsxRuntime.jsx(StyledImage, { tag: "img", height: "100%", maxWidth: "100%", ...props, onError: handleImageError });
2909
2911
  };
2910
- const CarouselSlideFlex = styledComponents.styled(Flex)`
2912
+ const CarouselSlideFlex = styled.styled(Flex)`
2911
2913
  display: ${({ $selected }) => $selected ? "flex" : "none"};
2912
2914
  `;
2913
2915
  const CarouselSlide = ({ label, children, selected = false, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
@@ -2934,16 +2936,16 @@ const ScrollAreaImpl$1 = React__namespace.forwardRef(
2934
2936
  ] });
2935
2937
  }
2936
2938
  );
2937
- const ScrollAreaRoot = styledComponents.styled(ScrollArea__namespace.Root)`
2939
+ const ScrollAreaRoot = styled.styled(ScrollArea__namespace.Root)`
2938
2940
  width: 100%;
2939
2941
  height: 100%;
2940
2942
  overflow: hidden;
2941
2943
  display: flex;
2942
2944
  `;
2943
- const ScrollAreaViewport = styledComponents.styled(ScrollArea__namespace.Viewport)`
2945
+ const ScrollAreaViewport = styled.styled(ScrollArea__namespace.Viewport)`
2944
2946
  min-width: 100%;
2945
2947
  `;
2946
- const Scrollbar = styledComponents.styled(ScrollArea__namespace.Scrollbar)`
2948
+ const Scrollbar = styled.styled(ScrollArea__namespace.Scrollbar)`
2947
2949
  display: flex;
2948
2950
  /* ensures no selection */
2949
2951
  user-select: none;
@@ -2961,7 +2963,7 @@ const Scrollbar = styledComponents.styled(ScrollArea__namespace.Scrollbar)`
2961
2963
  margin: 0.4rem;
2962
2964
  }
2963
2965
  `;
2964
- const Thumb = styledComponents.styled(ScrollArea__namespace.Thumb)`
2966
+ const Thumb = styled.styled(ScrollArea__namespace.Thumb)`
2965
2967
  position: relative;
2966
2968
  flex: 1;
2967
2969
  background-color: ${(props) => props.theme.colors.neutral150};
@@ -2987,7 +2989,7 @@ const Loader = React__namespace.forwardRef(({ children, small = false, ...props
2987
2989
  /* @__PURE__ */ jsxRuntime.jsx(LoaderImg, { src: loaderSvg, "aria-hidden": true, $small: small })
2988
2990
  ] });
2989
2991
  });
2990
- const rotation$1 = styledComponents.keyframes`
2992
+ const rotation$1 = styled.keyframes`
2991
2993
  from {
2992
2994
  transform: rotate(0deg);
2993
2995
  }
@@ -2995,7 +2997,7 @@ const rotation$1 = styledComponents.keyframes`
2995
2997
  transform: rotate(359deg);
2996
2998
  }
2997
2999
  `;
2998
- const LoaderImg = styledComponents.styled.img`
3000
+ const LoaderImg = styled.styled.img`
2999
3001
  animation: ${rotation$1} 1s infinite linear;
3000
3002
  will-change: transform;
3001
3003
  ${({ $small, theme }) => $small && `width: ${theme.spaces[6]}; height: ${theme.spaces[6]};`}
@@ -3199,7 +3201,7 @@ const Combobox = React__namespace.forwardRef(
3199
3201
  );
3200
3202
  }
3201
3203
  );
3202
- const Trigger$5 = styledComponents.styled(uiPrimitives.Combobox.Trigger)`
3204
+ const Trigger$5 = styled.styled(uiPrimitives.Combobox.Trigger)`
3203
3205
  position: relative;
3204
3206
  border: 1px solid ${({ theme, $hasError }) => $hasError ? theme.colors.danger600 : theme.colors.neutral200};
3205
3207
  border-radius: ${({ theme }) => theme.borderRadius};
@@ -3213,13 +3215,13 @@ const Trigger$5 = styledComponents.styled(uiPrimitives.Combobox.Trigger)`
3213
3215
  ${(props) => {
3214
3216
  switch (props.$size) {
3215
3217
  case "S":
3216
- return styledComponents.css`
3218
+ return styled.css`
3217
3219
  padding-inline-start: ${({ theme }) => theme.spaces[4]};
3218
3220
  padding-inline-end: ${({ theme }) => theme.spaces[3]};
3219
3221
  padding-block: ${({ theme }) => theme.spaces[1]};
3220
3222
  `;
3221
3223
  default:
3222
- return styledComponents.css`
3224
+ return styled.css`
3223
3225
  padding-inline-start: ${({ theme }) => theme.spaces[4]};
3224
3226
  padding-inline-end: ${({ theme }) => theme.spaces[3]};
3225
3227
  padding-block: ${({ theme }) => theme.spaces[2]};
@@ -3240,7 +3242,7 @@ const Trigger$5 = styledComponents.styled(uiPrimitives.Combobox.Trigger)`
3240
3242
 
3241
3243
  ${({ theme, $hasError }) => inputFocusStyle()({ theme, $hasError })};
3242
3244
  `;
3243
- const TextInput$1 = styledComponents.styled(uiPrimitives.Combobox.TextInput)`
3245
+ const TextInput$1 = styled.styled(uiPrimitives.Combobox.TextInput)`
3244
3246
  width: 100%;
3245
3247
  font-size: 1.4rem;
3246
3248
  line-height: 2.2rem;
@@ -3253,11 +3255,16 @@ const TextInput$1 = styledComponents.styled(uiPrimitives.Combobox.TextInput)`
3253
3255
  outline: none;
3254
3256
  }
3255
3257
 
3258
+ &::placeholder {
3259
+ color: ${({ theme }) => theme.colors.neutral600};
3260
+ opacity: 1;
3261
+ }
3262
+
3256
3263
  &[aria-disabled='true'] {
3257
3264
  cursor: inherit;
3258
3265
  }
3259
3266
  `;
3260
- const DownIcon$1 = styledComponents.styled(uiPrimitives.Combobox.Icon)`
3267
+ const DownIcon$1 = styled.styled(uiPrimitives.Combobox.Icon)`
3261
3268
  border: none;
3262
3269
  background: transparent;
3263
3270
  padding: 0;
@@ -3268,7 +3275,7 @@ const DownIcon$1 = styledComponents.styled(uiPrimitives.Combobox.Icon)`
3268
3275
  cursor: inherit;
3269
3276
  }
3270
3277
  `;
3271
- const Content$5 = styledComponents.styled(uiPrimitives.Combobox.Content)`
3278
+ const Content$5 = styled.styled(uiPrimitives.Combobox.Content)`
3272
3279
  background: ${({ theme }) => theme.colors.neutral0};
3273
3280
  box-shadow: ${({ theme }) => theme.shadows.filterShadow};
3274
3281
  border: 1px solid ${({ theme }) => theme.colors.neutral150};
@@ -3300,7 +3307,7 @@ const Content$5 = styledComponents.styled(uiPrimitives.Combobox.Content)`
3300
3307
  }
3301
3308
  }
3302
3309
  `;
3303
- const ComboboxCreateItem = styledComponents.styled(uiPrimitives.Combobox.CreateItem)`
3310
+ const ComboboxCreateItem = styled.styled(uiPrimitives.Combobox.CreateItem)`
3304
3311
  && {
3305
3312
  border-top: 1px solid ${({ theme }) => theme.colors.neutral150};
3306
3313
  background: ${({ theme }) => theme.colors.neutral0};
@@ -3336,7 +3343,7 @@ const ComboboxCreateItem = styledComponents.styled(uiPrimitives.Combobox.CreateI
3336
3343
  background: ${({ theme }) => theme.colors.neutral150};
3337
3344
  }
3338
3345
  `;
3339
- const ScrollAreaCombobox = styledComponents.styled(ScrollAreaImpl$1)`
3346
+ const ScrollAreaCombobox = styled.styled(ScrollAreaImpl$1)`
3340
3347
  padding: ${({ theme }) => theme.spaces[1]};
3341
3348
  `;
3342
3349
  const Option = React__namespace.forwardRef(
@@ -3344,7 +3351,7 @@ const Option = React__namespace.forwardRef(
3344
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 }) }) }) });
3345
3352
  }
3346
3353
  );
3347
- const OptionBox = styledComponents.styled.div`
3354
+ const OptionBox = styled.styled.div`
3348
3355
  width: 100%;
3349
3356
  border: none;
3350
3357
  text-align: left;
@@ -3381,7 +3388,7 @@ const Content$4 = React__namespace.forwardRef((props, forwardedRef) => {
3381
3388
  /* @__PURE__ */ jsxRuntime.jsx(ContentImpl$1, { ref: forwardedRef, ...props })
3382
3389
  ] });
3383
3390
  });
3384
- const Overlay$1 = styledComponents.styled(AlertDialog__namespace.Overlay)`
3391
+ const Overlay$1 = styled.styled(AlertDialog__namespace.Overlay)`
3385
3392
  background-color: ${(props) => props.theme.colors.neutral800};
3386
3393
  position: fixed;
3387
3394
  inset: 0;
@@ -3393,7 +3400,7 @@ const Overlay$1 = styledComponents.styled(AlertDialog__namespace.Overlay)`
3393
3400
  ${(props) => props.theme.motion.easings.authenticMotion};
3394
3401
  }
3395
3402
  `;
3396
- const ContentImpl$1 = styledComponents.styled(AlertDialog__namespace.Content)`
3403
+ const ContentImpl$1 = styled.styled(AlertDialog__namespace.Content)`
3397
3404
  max-width: 42rem;
3398
3405
  height: min-content;
3399
3406
  width: 100%;
@@ -3429,7 +3436,7 @@ const ContentImpl$1 = styledComponents.styled(AlertDialog__namespace.Content)`
3429
3436
  const Header$1 = React__namespace.forwardRef(({ children, ...restProps }, forwardedRef) => {
3430
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 }) });
3431
3438
  });
3432
- const Title$1 = styledComponents.styled(Typography)`
3439
+ const Title$1 = styled.styled(Typography)`
3433
3440
  display: flex;
3434
3441
  justify-content: center;
3435
3442
  border-bottom: solid 1px ${(props) => props.theme.colors.neutral150};
@@ -3462,7 +3469,7 @@ const Description = React__namespace.forwardRef((props, forwardedRef) => {
3462
3469
  const Footer$1 = React__namespace.forwardRef((props, forwardedRef) => {
3463
3470
  return /* @__PURE__ */ jsxRuntime.jsx(Foot$1, { ref: forwardedRef, gap: 2, padding: 4, justifyContent: "space-between", ...props, tag: "footer" });
3464
3471
  });
3465
- const Foot$1 = styledComponents.styled(Flex)`
3472
+ const Foot$1 = styled.styled(Flex)`
3466
3473
  border-top: solid 1px ${(props) => props.theme.colors.neutral150};
3467
3474
  flex: 1;
3468
3475
  `;
@@ -3548,8 +3555,8 @@ const LiveRegions = () => {
3548
3555
  /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", "aria-live": "assertive", id: LiveRegionIds.Alert, "aria-relevant": "all" })
3549
3556
  ] });
3550
3557
  };
3551
- const GlobalStyle = styledComponents.createGlobalStyle`
3552
- ${styledComponents.css`
3558
+ const GlobalStyle = styled.createGlobalStyle`
3559
+ ${styled.css`
3553
3560
  *,
3554
3561
  *::before,
3555
3562
  *::after {
@@ -3686,7 +3693,7 @@ const DesignSystemProvider = ({
3686
3693
  window.getComputedStyle(css).opacity;
3687
3694
  document.head.removeChild(css);
3688
3695
  }, [theme]);
3689
- 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: [
3690
3697
  /* @__PURE__ */ jsxRuntime.jsx(Tooltip.Provider, { ...tooltipConfig, children }),
3691
3698
  /* @__PURE__ */ jsxRuntime.jsx(LiveRegions, {}),
3692
3699
  /* @__PURE__ */ jsxRuntime.jsx(GlobalStyle, {})
@@ -3757,7 +3764,7 @@ const SelectTrigger = React__namespace.forwardRef(
3757
3764
  ) });
3758
3765
  }
3759
3766
  );
3760
- const IconBox$1 = styledComponents.styled(Box)`
3767
+ const IconBox$1 = styled.styled(Box)`
3761
3768
  border: none;
3762
3769
  display: flex;
3763
3770
 
@@ -3770,18 +3777,18 @@ const IconBox$1 = styledComponents.styled(Box)`
3770
3777
  fill: ${({ theme }) => theme.colors.neutral500};
3771
3778
  }
3772
3779
  `;
3773
- const StyledTrigger = styledComponents.styled(Flex)`
3780
+ const StyledTrigger = styled.styled(Flex)`
3774
3781
  border: 1px solid ${({ theme, $hasError }) => $hasError ? theme.colors.danger600 : theme.colors.neutral200};
3775
3782
  ${(props) => {
3776
3783
  switch (props.$size) {
3777
3784
  case "S":
3778
- return styledComponents.css`
3785
+ return styled.css`
3779
3786
  padding-block: ${props.theme.spaces[1]};
3780
3787
  padding-inline-start: ${props.$withTags ? props.theme.spaces[1] : props.theme.spaces[4]};
3781
3788
  padding-inline-end: ${props.theme.spaces[3]};
3782
3789
  `;
3783
3790
  default:
3784
- return styledComponents.css`
3791
+ return styled.css`
3785
3792
  padding-block: ${props.$withTags ? "0.3rem" : props.theme.spaces[2]};
3786
3793
  padding-inline-start: ${props.$withTags ? props.theme.spaces[1] : props.theme.spaces[4]};
3787
3794
  padding-inline-end: ${props.theme.spaces[3]};
@@ -3801,19 +3808,19 @@ const StyledTrigger = styledComponents.styled(Flex)`
3801
3808
 
3802
3809
  ${({ theme, $hasError }) => inputFocusStyle()({ theme, $hasError })};
3803
3810
  `;
3804
- const DownIcon = styledComponents.styled(uiPrimitives.Select.Icon)`
3811
+ const DownIcon = styled.styled(uiPrimitives.Select.Icon)`
3805
3812
  display: flex;
3806
3813
  & > svg {
3807
3814
  fill: ${({ theme }) => theme.colors.neutral500};
3808
3815
  }
3809
3816
  `;
3810
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 }) }));
3811
- const ValueType = styledComponents.styled(Typography)`
3818
+ const ValueType = styled.styled(Typography)`
3812
3819
  flex: 1;
3813
3820
  font-size: 1.4rem;
3814
3821
  line-height: 2.2rem;
3815
3822
  `;
3816
- const StyledValue = styledComponents.styled(uiPrimitives.Select.Value)`
3823
+ const StyledValue = styled.styled(uiPrimitives.Select.Value)`
3817
3824
  display: flex;
3818
3825
  gap: ${({ theme }) => theme.spaces[1]};
3819
3826
  flex-wrap: wrap;
@@ -3821,7 +3828,7 @@ const StyledValue = styledComponents.styled(uiPrimitives.Select.Value)`
3821
3828
  const SelectContent = React__namespace.forwardRef((props, ref) => {
3822
3829
  return /* @__PURE__ */ jsxRuntime.jsx(StyledContent, { ref, ...props, children: /* @__PURE__ */ jsxRuntime.jsx(ScrollAreaImpl$1, { children: props.children }) });
3823
3830
  });
3824
- const StyledContent = styledComponents.styled(uiPrimitives.Select.Content)`
3831
+ const StyledContent = styled.styled(uiPrimitives.Select.Content)`
3825
3832
  background: ${({ theme }) => theme.colors.neutral0};
3826
3833
  box-shadow: ${({ theme }) => theme.shadows.filterShadow};
3827
3834
  border: 1px solid ${({ theme }) => theme.colors.neutral150};
@@ -3847,11 +3854,11 @@ const StyledContent = styledComponents.styled(uiPrimitives.Select.Content)`
3847
3854
  }
3848
3855
  }
3849
3856
  `;
3850
- const SelectViewport = styledComponents.styled(uiPrimitives.Select.Viewport)`
3857
+ const SelectViewport = styled.styled(uiPrimitives.Select.Viewport)`
3851
3858
  padding: ${({ theme }) => theme.spaces[1]};
3852
3859
  `;
3853
3860
  const SelectItem = React__namespace.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledSelectItem, { ref, ...props }));
3854
- const itemStyles = styledComponents.css`
3861
+ const itemStyles = styled.css`
3855
3862
  width: 100%;
3856
3863
  border: none;
3857
3864
  text-align: left;
@@ -3873,7 +3880,7 @@ const itemStyles = styledComponents.css`
3873
3880
  cursor: pointer;
3874
3881
  }
3875
3882
  `;
3876
- const StyledSelectItem = styledComponents.styled(uiPrimitives.Select.Item)`
3883
+ const StyledSelectItem = styled.styled(uiPrimitives.Select.Item)`
3877
3884
  ${itemStyles}
3878
3885
 
3879
3886
  &:hover {
@@ -4012,7 +4019,7 @@ const SingleSelectOption = React__namespace.forwardRef(
4012
4019
  const DEFAULT_PAST_RANGE = 200;
4013
4020
  const DEFAULT_FUTURE_RANGE = 15;
4014
4021
  const [DatePickerProvider, useDatePickerContext] = createContext("DatePicker");
4015
- const DatePicker$1 = React__namespace.forwardRef(
4022
+ const DatePicker = React__namespace.forwardRef(
4016
4023
  ({
4017
4024
  /**
4018
4025
  * DatePickerCalendar props
@@ -4141,6 +4148,7 @@ const DatePicker$1 = React__namespace.forwardRef(
4141
4148
  onTextValueChange: setTextValue,
4142
4149
  onTriggerChange: setTrigger,
4143
4150
  onValueChange: setValue,
4151
+ onClear,
4144
4152
  required,
4145
4153
  textInput,
4146
4154
  textValue,
@@ -4218,6 +4226,7 @@ const DatePickerTrigger = React__namespace.forwardRef(
4218
4226
  ref: composedRefs,
4219
4227
  $hasError: hasError,
4220
4228
  $size: size,
4229
+ $hasOnClear: Boolean(context.onClear),
4221
4230
  ...restProps,
4222
4231
  hasRadius: true,
4223
4232
  gap: 3,
@@ -4246,17 +4255,18 @@ const DatePickerTrigger = React__namespace.forwardRef(
4246
4255
  );
4247
4256
  }
4248
4257
  );
4249
- const TriggerElement = styledComponents.styled(Flex)`
4258
+ const TriggerElement = styled.styled(Flex)`
4259
+ min-width: ${({ $hasOnClear }) => $hasOnClear ? "160px" : "130px"};
4250
4260
  border: 1px solid ${({ theme, $hasError }) => $hasError ? theme.colors.danger600 : theme.colors.neutral200};
4251
4261
  ${(props) => {
4252
4262
  switch (props.$size) {
4253
4263
  case "S":
4254
- return styledComponents.css`
4264
+ return styled.css`
4255
4265
  padding-block: ${props.theme.spaces[1]};
4256
4266
  padding-inline: ${props.theme.spaces[3]};
4257
4267
  `;
4258
4268
  default:
4259
- return styledComponents.css`
4269
+ return styled.css`
4260
4270
  padding-block: ${props.theme.spaces[2]};
4261
4271
  padding-inline: ${props.theme.spaces[3]};
4262
4272
  `;
@@ -4459,7 +4469,7 @@ function constrainValue(date$1, minValue, maxValue) {
4459
4469
  }
4460
4470
  return date$1;
4461
4471
  }
4462
- const Input$1 = styledComponents.styled.input`
4472
+ const Input$1 = styled.styled.input`
4463
4473
  width: 100%;
4464
4474
  font-size: 1.4rem;
4465
4475
  line-height: 2.2rem;
@@ -4471,6 +4481,11 @@ const Input$1 = styledComponents.styled.input`
4471
4481
  outline: none;
4472
4482
  }
4473
4483
 
4484
+ &::placeholder {
4485
+ color: ${({ theme }) => theme.colors.neutral600};
4486
+ opacity: 1;
4487
+ }
4488
+
4474
4489
  &[aria-disabled='true'] {
4475
4490
  cursor: inherit;
4476
4491
  }
@@ -4561,7 +4576,7 @@ const DatePickerContentImpl = React__namespace.forwardRef(
4561
4576
  ) });
4562
4577
  }
4563
4578
  );
4564
- const ContentElement = styledComponents.styled(Box)`
4579
+ const ContentElement = styled.styled(Box)`
4565
4580
  box-shadow: ${({ theme }) => theme.shadows.filterShadow};
4566
4581
  z-index: ${({ theme }) => theme.zIndices.popover};
4567
4582
  border: 1px solid ${({ theme }) => theme.colors.neutral150};
@@ -4675,7 +4690,7 @@ const makeGetDatesInWeek = (from, locale) => (weekIndex) => {
4675
4690
  }
4676
4691
  return dates;
4677
4692
  };
4678
- const ToolbarFlex = styledComponents.styled(Flex)`
4693
+ const ToolbarFlex = styled.styled(Flex)`
4679
4694
  div[role='combobox'] {
4680
4695
  border: 1px solid transparent;
4681
4696
  background: transparent;
@@ -4695,7 +4710,7 @@ const DatePickerHeaderCell = React__namespace.forwardRef(
4695
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) }) });
4696
4711
  }
4697
4712
  );
4698
- const Th$1 = styledComponents.styled(Box)`
4713
+ const Th$1 = styled.styled(Box)`
4699
4714
  border-radius: ${({ theme }) => theme.borderRadius};
4700
4715
  text-transform: capitalize;
4701
4716
  `;
@@ -4758,7 +4773,7 @@ const DatePickerCalendarCell = React__namespace.forwardRef(
4758
4773
  );
4759
4774
  }
4760
4775
  );
4761
- const Cell = styledComponents.styled(Box)`
4776
+ const Cell = styled.styled(Box)`
4762
4777
  text-align: center;
4763
4778
  padding: 0.7rem;
4764
4779
  // Trick to prevent the outline from overflowing because of the general outline-offset
@@ -4786,7 +4801,10 @@ const isNotAlphabeticalCharacter = (str) => {
4786
4801
  function escapeForRegex(str = "") {
4787
4802
  return str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
4788
4803
  }
4789
- 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(
4790
4808
  ({ step = 15, value: valueProp, defaultValue, onChange, ...restProps }, forwardedRef) => {
4791
4809
  const context = useDesignSystem("TimePicker");
4792
4810
  const [textValue, setTextValue] = React__namespace.useState("");
@@ -4852,7 +4870,7 @@ const TimePicker$1 = React__namespace.forwardRef(
4852
4870
  const escapedSeparator = escapeForRegex(separator);
4853
4871
  const pattern = `\\d{2}${escapedSeparator}\\d{2}`;
4854
4872
  return /* @__PURE__ */ jsxRuntime.jsx(
4855
- Combobox,
4873
+ TimePickerCombobox,
4856
4874
  {
4857
4875
  ...restProps,
4858
4876
  ref: forwardedRef,
@@ -4873,14 +4891,6 @@ const TimePicker$1 = React__namespace.forwardRef(
4873
4891
  );
4874
4892
  }
4875
4893
  );
4876
- const DatePicker = styledComponents.styled(DatePicker$1)`
4877
- flex: 1 1 70%;
4878
- min-width: 120px;
4879
- `;
4880
- const TimePicker = styledComponents.styled(TimePicker$1)`
4881
- flex: 1 1 30%;
4882
- min-width: 140px;
4883
- `;
4884
4894
  const DateTimePicker = React__namespace.forwardRef(
4885
4895
  ({
4886
4896
  clearLabel = "clear",
@@ -4949,8 +4959,8 @@ const DateTimePicker = React__namespace.forwardRef(
4949
4959
  const composedRefs = useComposedRefs(DatePickerElement2, forwardedRef);
4950
4960
  const { error, id, labelNode } = useField("DateTimePicker");
4951
4961
  const hasError = Boolean(error) || hasErrorProp;
4952
- return /* @__PURE__ */ jsxRuntime.jsxs(Flex, { "aria-labelledby": labelNode ? `${id}-label` : void 0, role: "group", flex: "1", gap: 1, children: [
4953
- /* @__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(
4954
4964
  DatePicker,
4955
4965
  {
4956
4966
  ...props,
@@ -4965,7 +4975,7 @@ const DateTimePicker = React__namespace.forwardRef(
4965
4975
  "aria-label": dateLabel
4966
4976
  }
4967
4977
  ) }),
4968
- /* @__PURE__ */ jsxRuntime.jsx(Root$6, { children: /* @__PURE__ */ jsxRuntime.jsx(
4978
+ /* @__PURE__ */ jsxRuntime.jsx(Root$6, { flex: "1", children: /* @__PURE__ */ jsxRuntime.jsx(
4969
4979
  TimePicker,
4970
4980
  {
4971
4981
  size,
@@ -5004,13 +5014,13 @@ const Divider = React__namespace.forwardRef((props, forwardedRef) => {
5004
5014
  }
5005
5015
  );
5006
5016
  });
5007
- const DividerImpl = styledComponents.styled(Box)`
5017
+ const DividerImpl = styled.styled(Box)`
5008
5018
  height: 1px;
5009
5019
  border: none;
5010
5020
  /* If contained in a Flex parent we want to prevent the Divider to shink */
5011
5021
  flex-shrink: 0;
5012
5022
  `;
5013
- const EmptyStateIconWrapper = styledComponents.styled(Box)`
5023
+ const EmptyStateIconWrapper = styled.styled(Box)`
5014
5024
  svg {
5015
5025
  height: 8.8rem;
5016
5026
  }
@@ -5180,7 +5190,7 @@ const JSONInput = React__namespace.forwardRef(
5180
5190
  );
5181
5191
  }
5182
5192
  );
5183
- const JSONInputContainer = styledComponents.styled(Flex)`
5193
+ const JSONInputContainer = styled.styled(Flex)`
5184
5194
  line-height: ${({ theme }) => theme.lineHeights[2]};
5185
5195
 
5186
5196
  .cm-editor {
@@ -5228,7 +5238,7 @@ const LinkButton = forwardRef(
5228
5238
  );
5229
5239
  }
5230
5240
  );
5231
- const MainWrapper = styledComponents.styled(Box)`
5241
+ const MainWrapper = styled.styled(Box)`
5232
5242
  // To prevent global outline on focus visible to force an outline when Main is focused
5233
5243
  &:focus-visible {
5234
5244
  outline: none;
@@ -5237,7 +5247,7 @@ const MainWrapper = styledComponents.styled(Box)`
5237
5247
  const Main = ({ labelledBy = "main-content-title", ...props }) => {
5238
5248
  return /* @__PURE__ */ jsxRuntime.jsx(MainWrapper, { "aria-labelledby": labelledBy, tag: "main", id: "main-content", tabIndex: -1, ...props });
5239
5249
  };
5240
- const AnchorBox = styledComponents.styled(Box)`
5250
+ const AnchorBox = styled.styled(Box)`
5241
5251
  text-decoration: none;
5242
5252
 
5243
5253
  &:focus {
@@ -5263,22 +5273,19 @@ const SkipToContent = ({ children }) => {
5263
5273
  }
5264
5274
  );
5265
5275
  };
5276
+ const setOpacity = (hex, alpha) => `${hex}${Math.floor(alpha * 255).toString(16).padStart(2, "0")}`;
5266
5277
  const Root$3 = Dialog__namespace.Root;
5267
5278
  const Trigger$2 = React__namespace.forwardRef((props, forwardedRef) => {
5268
5279
  return /* @__PURE__ */ jsxRuntime.jsx(Dialog__namespace.Trigger, { ...props, asChild: true, ref: forwardedRef });
5269
5280
  });
5270
5281
  const Content$2 = React__namespace.forwardRef((props, forwardedRef) => {
5271
- return /* @__PURE__ */ jsxRuntime.jsxs(Dialog__namespace.Portal, { children: [
5272
- /* @__PURE__ */ jsxRuntime.jsx(Overlay, {}),
5273
- /* @__PURE__ */ jsxRuntime.jsx(ContentImpl, { ref: forwardedRef, ...props })
5274
- ] });
5282
+ return /* @__PURE__ */ jsxRuntime.jsx(Dialog__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(Overlay, { children: /* @__PURE__ */ jsxRuntime.jsx(ContentImpl, { ref: forwardedRef, ...props }) }) });
5275
5283
  });
5276
- const Overlay = styledComponents.styled(Dialog__namespace.Overlay)`
5277
- 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)};
5278
5286
  position: fixed;
5279
5287
  inset: 0;
5280
5288
  z-index: ${(props) => props.theme.zIndices.overlay};
5281
- opacity: 0.2;
5282
5289
  will-change: opacity;
5283
5290
 
5284
5291
  @media (prefers-reduced-motion: no-preference) {
@@ -5286,7 +5293,7 @@ const Overlay = styledComponents.styled(Dialog__namespace.Overlay)`
5286
5293
  ${(props) => props.theme.motion.easings.authenticMotion};
5287
5294
  }
5288
5295
  `;
5289
- const ContentImpl = styledComponents.styled(Dialog__namespace.Content)`
5296
+ const ContentImpl = styled.styled(Dialog__namespace.Content)`
5290
5297
  max-width: 83rem;
5291
5298
  max-height: 90vh;
5292
5299
  height: auto;
@@ -5306,6 +5313,11 @@ const ContentImpl = styledComponents.styled(Dialog__namespace.Content)`
5306
5313
  box-shadow: ${(props) => props.theme.shadows.popupShadow};
5307
5314
  z-index: ${(props) => props.theme.zIndices.modal};
5308
5315
 
5316
+ > form {
5317
+ display: flex;
5318
+ flex-direction: column;
5319
+ overflow: hidden;
5320
+ }
5309
5321
  @media (prefers-reduced-motion: no-preference) {
5310
5322
  &[data-state='open'] {
5311
5323
  animation-duration: ${(props) => props.theme.motion.timings["200"]};
@@ -5344,7 +5356,7 @@ const Header = React__namespace.forwardRef(
5344
5356
  );
5345
5357
  }
5346
5358
  );
5347
- const Head = styledComponents.styled(Flex)`
5359
+ const Head = styled.styled(Flex)`
5348
5360
  border-bottom: solid 1px ${(props) => props.theme.colors.neutral150};
5349
5361
  `;
5350
5362
  const Title = React__namespace.forwardRef((props, forwardedRef) => {
@@ -5353,8 +5365,8 @@ const Title = React__namespace.forwardRef((props, forwardedRef) => {
5353
5365
  const Body = React__namespace.forwardRef(({ children, ...restProps }, forwardedRef) => {
5354
5366
  return /* @__PURE__ */ jsxRuntime.jsx(BodyScroll, { ref: forwardedRef, ...restProps, children });
5355
5367
  });
5356
- const BodyScroll = styledComponents.styled(ScrollAreaImpl$1)`
5357
- padding-inline: ${(props) => props.theme.spaces[8]};
5368
+ const BodyScroll = styled.styled(ScrollAreaImpl$1)`
5369
+ padding-inline: ${(props) => props.theme.spaces[7]};
5358
5370
 
5359
5371
  & > div {
5360
5372
  padding-block: ${(props) => props.theme.spaces[8]};
@@ -5384,7 +5396,7 @@ const Footer = React__namespace.forwardRef((props, forwardedRef) => {
5384
5396
  }
5385
5397
  );
5386
5398
  });
5387
- const Foot = styledComponents.styled(Flex)`
5399
+ const Foot = styled.styled(Flex)`
5388
5400
  border-top: solid 1px ${(props) => props.theme.colors.neutral150};
5389
5401
  flex: 1;
5390
5402
  `;
@@ -5519,7 +5531,7 @@ const NumberInput = React__namespace.forwardRef(
5519
5531
  );
5520
5532
  }
5521
5533
  );
5522
- const ArrowButton = styledComponents.styled.button`
5534
+ const ArrowButton = styled.styled.button`
5523
5535
  display: flex;
5524
5536
  justify-content: center;
5525
5537
  align-items: center;
@@ -5591,7 +5603,7 @@ const NextLink = forwardRef(
5591
5603
  ] });
5592
5604
  }
5593
5605
  );
5594
- const LinkWrapper = styledComponents.styled(BaseLinkImpl)`
5606
+ const LinkWrapper = styled.styled(BaseLinkImpl)`
5595
5607
  padding: ${({ theme }) => theme.spaces[3]};
5596
5608
  border-radius: ${({ theme }) => theme.borderRadius};
5597
5609
  box-shadow: ${({ $active, theme }) => $active ? theme.shadows.filterShadow : void 0};
@@ -5600,7 +5612,7 @@ const LinkWrapper = styledComponents.styled(BaseLinkImpl)`
5600
5612
 
5601
5613
  ${focus}
5602
5614
  `;
5603
- const ActionLinkWrapper = styledComponents.styled(LinkWrapper)`
5615
+ const ActionLinkWrapper = styled.styled(LinkWrapper)`
5604
5616
  font-size: 1.1rem;
5605
5617
 
5606
5618
  svg path {
@@ -5628,7 +5640,7 @@ const PageLink = forwardRef(
5628
5640
  ] });
5629
5641
  }
5630
5642
  );
5631
- const PageLinkWrapper = styledComponents.styled(LinkWrapper)`
5643
+ const PageLinkWrapper = styled.styled(LinkWrapper)`
5632
5644
  color: ${({ theme, $active }) => $active ? theme.colors.primary700 : theme.colors.neutral800};
5633
5645
  background: ${({ theme, $active }) => $active ? theme.colors.neutral0 : void 0};
5634
5646
 
@@ -5647,7 +5659,7 @@ const Trigger$1 = React__namespace.forwardRef((props, forwardedRef) => {
5647
5659
  const Content$1 = React__namespace.forwardRef((props, forwardedRef) => {
5648
5660
  return /* @__PURE__ */ jsxRuntime.jsx(Popover__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(PopoverContent, { sideOffset: 4, side: "bottom", align: "start", ...props, ref: forwardedRef }) });
5649
5661
  });
5650
- const PopoverContent = styledComponents.styled(Popover__namespace.Content)`
5662
+ const PopoverContent = styled.styled(Popover__namespace.Content)`
5651
5663
  box-shadow: ${({ theme }) => theme.shadows.filterShadow};
5652
5664
  z-index: ${({ theme }) => theme.zIndices.popover};
5653
5665
  background-color: ${(props) => props.theme.colors.neutral0};
@@ -5698,7 +5710,7 @@ const ScrollAreaImpl = React__namespace.forwardRef(
5698
5710
  ] });
5699
5711
  }
5700
5712
  );
5701
- const PopoverScrollArea = styledComponents.styled(ScrollAreaImpl$1)`
5713
+ const PopoverScrollArea = styled.styled(ScrollAreaImpl$1)`
5702
5714
  height: 20rem;
5703
5715
  `;
5704
5716
  const Popover = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -5713,7 +5725,7 @@ const ProgressBar = React__namespace.forwardRef(
5713
5725
  return /* @__PURE__ */ jsxRuntime.jsx(ProgressRoot, { ref: forwardedRef, $size: size, ...restProps, children: /* @__PURE__ */ jsxRuntime.jsx(ProgressIndicator, { style: { transform: `translate3D(-${100 - (value ?? 0)}%, 0, 0)` } }) });
5714
5726
  }
5715
5727
  );
5716
- const ProgressRoot = styledComponents.styled(Progress__namespace.Root)`
5728
+ const ProgressRoot = styled.styled(Progress__namespace.Root)`
5717
5729
  position: relative;
5718
5730
  overflow: hidden;
5719
5731
  width: ${(props) => props.$size === "S" ? "7.8rem" : "10.2rem"};
@@ -5725,7 +5737,7 @@ const ProgressRoot = styledComponents.styled(Progress__namespace.Root)`
5725
5737
  /* https://gist.github.com/domske/b66047671c780a238b51c51ffde8d3a0 */
5726
5738
  transform: translateZ(0);
5727
5739
  `;
5728
- const ProgressIndicator = styledComponents.styled(Progress__namespace.Indicator)`
5740
+ const ProgressIndicator = styled.styled(Progress__namespace.Indicator)`
5729
5741
  background-color: ${({ theme }) => theme.colors.neutral0};
5730
5742
  border-radius: ${({ theme }) => theme.borderRadius};
5731
5743
  width: 100%;
@@ -5739,7 +5751,7 @@ const ProgressIndicator = styledComponents.styled(Progress__namespace.Indicator)
5739
5751
  const Group = React__namespace.forwardRef((props, forwardedRef) => {
5740
5752
  return /* @__PURE__ */ jsxRuntime.jsx(RadioGroupRoot, { ref: forwardedRef, ...props });
5741
5753
  });
5742
- const RadioGroupRoot = styledComponents.styled(RadioGroup__namespace.Root)`
5754
+ const RadioGroupRoot = styled.styled(RadioGroup__namespace.Root)`
5743
5755
  display: flex;
5744
5756
  flex-direction: column;
5745
5757
  gap: ${(props) => props.theme.spaces[3]};
@@ -5751,7 +5763,7 @@ const Item$1 = React__namespace.forwardRef(({ children, id: idProp, ...restProps
5751
5763
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { tag: "label", htmlFor: id, children })
5752
5764
  ] });
5753
5765
  });
5754
- const RadioGroupItem = styledComponents.styled(RadioGroup__namespace.Item)`
5766
+ const RadioGroupItem = styled.styled(RadioGroup__namespace.Item)`
5755
5767
  background: ${(props) => props.theme.colors.neutral0};
5756
5768
  width: 2rem;
5757
5769
  height: 2rem;
@@ -5789,7 +5801,7 @@ const RadioGroupItem = styledComponents.styled(RadioGroup__namespace.Item)`
5789
5801
  min-height: 44px;
5790
5802
  }
5791
5803
  `;
5792
- const RadioGroupIndicator = styledComponents.styled(RadioGroup__namespace.Indicator)`
5804
+ const RadioGroupIndicator = styled.styled(RadioGroup__namespace.Indicator)`
5793
5805
  display: flex;
5794
5806
  align-items: center;
5795
5807
  justify-content: center;
@@ -6050,19 +6062,19 @@ const RawTr = ({ children, ...props }) => {
6050
6062
  });
6051
6063
  return /* @__PURE__ */ jsxRuntime.jsx(Box, { tag: "tr", ...props, children: childrenClone });
6052
6064
  };
6053
- const CloseIcon = styledComponents.styled(icons.Cross)`
6065
+ const CloseIcon = styled.styled(icons.Cross)`
6054
6066
  font-size: 0.5rem;
6055
6067
  path {
6056
6068
  fill: ${({ theme }) => theme.colors.neutral500};
6057
6069
  }
6058
6070
  `;
6059
- const SearchIcon = styledComponents.styled(icons.Search)`
6071
+ const SearchIcon = styled.styled(icons.Search)`
6060
6072
  font-size: 1rem;
6061
6073
  path {
6062
6074
  fill: ${({ theme }) => theme.colors.neutral500};
6063
6075
  }
6064
6076
  `;
6065
- const SearchbarWrapper = styledComponents.styled.div`
6077
+ const SearchbarWrapper = styled.styled.div`
6066
6078
  border-radius: ${({ theme }) => theme.borderRadius};
6067
6079
  border: 1px solid ${({ theme }) => theme.colors.neutral150}
6068
6080
 
@@ -6072,16 +6084,12 @@ const SearchbarWrapper = styledComponents.styled.div`
6072
6084
  }
6073
6085
  }
6074
6086
  `;
6075
- const SearchbarInput = styledComponents.styled(Input$2)`
6087
+ const SearchbarInput = styled.styled(Input$2)`
6076
6088
  border: 1px solid ${({ theme }) => theme.colors.neutral150}
6077
6089
  height: 16px;
6078
6090
  padding: 0 0 0 8px;
6079
6091
  color: ${({ theme }) => theme.colors.neutral800};
6080
-
6081
- &::placeholder {
6082
- color: ${({ theme }) => theme.colors.neutral500};
6083
- }
6084
-
6092
+
6085
6093
  &:hover {
6086
6094
  button {
6087
6095
  cursor: pointer;
@@ -6129,7 +6137,7 @@ const Searchbar = React__namespace.forwardRef(
6129
6137
  }
6130
6138
  );
6131
6139
  const SearchForm = (props) => /* @__PURE__ */ jsxRuntime.jsx("form", { ...props, role: "search" });
6132
- const ButtonBox$1 = styledComponents.styled(Box)`
6140
+ const ButtonBox$1 = styled.styled(Box)`
6133
6141
  display: inline-flex;
6134
6142
  border: none;
6135
6143
 
@@ -6183,7 +6191,7 @@ const Tag = ({ children, icon, label, disabled = false, onClick, ...props }) =>
6183
6191
  }
6184
6192
  );
6185
6193
  };
6186
- const TagText = styledComponents.styled(Typography)`
6194
+ const TagText = styled.styled(Typography)`
6187
6195
  color: inherit;
6188
6196
  border-right: 1px solid ${({ theme, $disabled }) => $disabled ? theme.colors.neutral300 : theme.colors.primary200};
6189
6197
  padding-right: ${({ theme }) => theme.spaces[2]};
@@ -6348,7 +6356,7 @@ const MultiSelectNested = ({ options, ...props }) => {
6348
6356
  return /* @__PURE__ */ jsxRuntime.jsx(MultiSelectOption, { value: opt.value, children: opt.label }, opt.value);
6349
6357
  }) });
6350
6358
  };
6351
- const NestedOption = styledComponents.styled(MultiSelectOption)`
6359
+ const NestedOption = styled.styled(MultiSelectOption)`
6352
6360
  padding-left: ${({ theme }) => theme.spaces[7]};
6353
6361
  `;
6354
6362
  const getPadding = (size) => {
@@ -6385,7 +6393,7 @@ const SUBNAV_WIDTH = `23.2rem`;
6385
6393
  const SubNav = React__namespace.forwardRef(({ ...props }, ref) => {
6386
6394
  return /* @__PURE__ */ jsxRuntime.jsx(SubNavWrapper, { ref, ...props, tag: "nav" });
6387
6395
  });
6388
- const SubNavWrapper = styledComponents.styled(Box)`
6396
+ const SubNavWrapper = styled.styled(Box)`
6389
6397
  width: ${SUBNAV_WIDTH};
6390
6398
  background: ${({ theme }) => theme.colors.neutral100};
6391
6399
  position: sticky;
@@ -6395,7 +6403,7 @@ const SubNavWrapper = styledComponents.styled(Box)`
6395
6403
  border-right: 1px solid ${({ theme }) => theme.colors.neutral200};
6396
6404
  z-index: 1;
6397
6405
  `;
6398
- const CustomDivider = styledComponents.styled(Divider)`
6406
+ const CustomDivider = styled.styled(Divider)`
6399
6407
  width: 2.4rem;
6400
6408
  background-color: ${({ theme }) => theme.colors.neutral200};
6401
6409
  `;
@@ -6495,13 +6503,13 @@ const SubNavLink = forwardRef(
6495
6503
  );
6496
6504
  }
6497
6505
  );
6498
- const CustomBullet = styledComponents.styled.span`
6506
+ const CustomBullet = styled.styled.span`
6499
6507
  width: 0.4rem;
6500
6508
  height: 0.4rem;
6501
6509
  background-color: ${({ theme, $active }) => $active ? theme.colors.primary600 : theme.colors.neutral600};
6502
6510
  border-radius: 50%;
6503
6511
  `;
6504
- const SubNavLinkWrapper = styledComponents.styled(BaseLinkImpl)`
6512
+ const SubNavLinkWrapper = styled.styled(BaseLinkImpl)`
6505
6513
  display: flex;
6506
6514
  align-items: center;
6507
6515
  justify-content: space-between;
@@ -6513,7 +6521,7 @@ const SubNavLinkWrapper = styledComponents.styled(BaseLinkImpl)`
6513
6521
 
6514
6522
  &.active {
6515
6523
  ${({ theme }) => {
6516
- return styledComponents.css`
6524
+ return styled.css`
6517
6525
  background-color: ${theme.colors.primary100};
6518
6526
  border-right: 2px solid ${theme.colors.primary600};
6519
6527
  color: ${theme.colors.primary700};
@@ -6530,13 +6538,13 @@ const SubNavLinkWrapper = styledComponents.styled(BaseLinkImpl)`
6530
6538
  outline-offset: -2px;
6531
6539
  }
6532
6540
  `;
6533
- const IconWrapper = styledComponents.styled.div`
6541
+ const IconWrapper = styled.styled.div`
6534
6542
  svg {
6535
6543
  height: 1.6rem;
6536
6544
  width: 1.6rem;
6537
6545
  }
6538
6546
  `;
6539
- const SubNavLinkSectionButton = styledComponents.styled.button`
6547
+ const SubNavLinkSectionButton = styled.styled.button`
6540
6548
  border: none;
6541
6549
  padding: 0;
6542
6550
  background: transparent;
@@ -6603,7 +6611,7 @@ const SubNavSectionLabel = ({
6603
6611
  }
6604
6612
  return /* @__PURE__ */ jsxRuntime.jsx(Flex, { children: /* @__PURE__ */ jsxRuntime.jsx(Box, { paddingRight: 1, children: /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "sigma", textColor: "neutral600", children: label }) }) });
6605
6613
  };
6606
- const SubNavSectionWrapper = styledComponents.styled(Box)`
6614
+ const SubNavSectionWrapper = styled.styled(Box)`
6607
6615
  & > svg {
6608
6616
  height: 0.4rem;
6609
6617
  fill: ${({ theme }) => theme.colors.neutral500};
@@ -6694,7 +6702,7 @@ const SwitchImpl = React__namespace.forwardRef(
6694
6702
  ] });
6695
6703
  }
6696
6704
  );
6697
- const SwitchRoot = styledComponents.styled(Switch__namespace.Root)`
6705
+ const SwitchRoot = styled.styled(Switch__namespace.Root)`
6698
6706
  width: 4rem;
6699
6707
  height: 2.4rem;
6700
6708
  border-radius: 1.2rem;
@@ -6712,7 +6720,7 @@ const SwitchRoot = styledComponents.styled(Switch__namespace.Root)`
6712
6720
  transition: ${(props) => props.theme.transitions.backgroundColor};
6713
6721
  }
6714
6722
  `;
6715
- const SwitchThumb = styledComponents.styled(Switch__namespace.Thumb)`
6723
+ const SwitchThumb = styled.styled(Switch__namespace.Thumb)`
6716
6724
  display: block;
6717
6725
  height: 1.6rem;
6718
6726
  width: 1.6rem;
@@ -6729,7 +6737,7 @@ const SwitchThumb = styledComponents.styled(Switch__namespace.Thumb)`
6729
6737
  ${(props) => props.theme.motion.easings.authenticMotion};
6730
6738
  }
6731
6739
  `;
6732
- const LabelTypography = styledComponents.styled(Typography)`
6740
+ const LabelTypography = styled.styled(Typography)`
6733
6741
  color: ${(props) => props.theme.colors.danger600};
6734
6742
 
6735
6743
  &[data-state='checked'] {
@@ -6746,7 +6754,7 @@ const Root$1 = React__namespace.forwardRef(
6746
6754
  return /* @__PURE__ */ jsxRuntime.jsx(TabsProvider, { disabled, hasError, variant: variant2, children: /* @__PURE__ */ jsxRuntime.jsx(TabsRoot, { ref: forwardedRef, ...props }) });
6747
6755
  }
6748
6756
  );
6749
- const TabsRoot = styledComponents.styled(Tabs__namespace.Root)`
6757
+ const TabsRoot = styled.styled(Tabs__namespace.Root)`
6750
6758
  width: 100%;
6751
6759
  position: relative;
6752
6760
  `;
@@ -6754,7 +6762,7 @@ const List = React__namespace.forwardRef((props, forwardedRef) => {
6754
6762
  const { variant: variant2 } = useTabs("List");
6755
6763
  return /* @__PURE__ */ jsxRuntime.jsx(TabsList, { ref: forwardedRef, ...props, $variant: variant2 });
6756
6764
  });
6757
- const TabsList = styledComponents.styled(Tabs__namespace.List)`
6765
+ const TabsList = styled.styled(Tabs__namespace.List)`
6758
6766
  display: flex;
6759
6767
  align-items: ${(props) => props.$variant === "regular" ? "flex-end" : "unset"};
6760
6768
  position: relative;
@@ -6771,7 +6779,7 @@ const Trigger = React__namespace.forwardRef(
6771
6779
  ] });
6772
6780
  }
6773
6781
  );
6774
- const TabBar = styledComponents.styled.span`
6782
+ const TabBar = styled.styled.span`
6775
6783
  display: block;
6776
6784
  width: 100%;
6777
6785
  background-color: currentColor;
@@ -6781,8 +6789,8 @@ const TabBar = styledComponents.styled.span`
6781
6789
  opacity: 0;
6782
6790
  height: 0.2rem;
6783
6791
  `;
6784
- const TriggerTypography = styledComponents.styled(Typography)``;
6785
- const TabsTrigger = styledComponents.styled(Tabs__namespace.Trigger)`
6792
+ const TriggerTypography = styled.styled(Typography)``;
6793
+ const TabsTrigger = styled.styled(Tabs__namespace.Trigger)`
6786
6794
  position: relative;
6787
6795
  color: ${(props) => props.$hasError ? props.theme.colors.danger600 : props.theme.colors.neutral600};
6788
6796
  cursor: pointer;
@@ -6790,7 +6798,7 @@ const TabsTrigger = styledComponents.styled(Tabs__namespace.Trigger)`
6790
6798
 
6791
6799
  ${(props) => {
6792
6800
  if (props.$variant === "simple") {
6793
- return styledComponents.css`
6801
+ return styled.css`
6794
6802
  padding-block: ${(props2) => props2.theme.spaces[4]};
6795
6803
  padding-inline: ${(props2) => props2.theme.spaces[4]};
6796
6804
 
@@ -6807,7 +6815,7 @@ const TabsTrigger = styledComponents.styled(Tabs__namespace.Trigger)`
6807
6815
  }
6808
6816
  `;
6809
6817
  } else {
6810
- return styledComponents.css`
6818
+ return styled.css`
6811
6819
  padding-block: ${(props2) => props2.theme.spaces[3]};
6812
6820
  padding-inline: ${(props2) => props2.theme.spaces[3]};
6813
6821
  flex: 1;
@@ -6842,12 +6850,12 @@ const Content = React__namespace.forwardRef((props, forwardedRef) => {
6842
6850
  const { variant: variant2 } = useTabs("Content");
6843
6851
  return /* @__PURE__ */ jsxRuntime.jsx(TabsContent, { $variant: variant2, ref: forwardedRef, ...props });
6844
6852
  });
6845
- const TabsContent = styledComponents.styled(Tabs__namespace.Content)`
6853
+ const TabsContent = styled.styled(Tabs__namespace.Content)`
6846
6854
  ${(props) => {
6847
6855
  if (props.$variant === "simple") {
6848
- return styledComponents.css``;
6856
+ return styled.css``;
6849
6857
  } else {
6850
- return styledComponents.css`
6858
+ return styled.css`
6851
6859
  position: relative;
6852
6860
  z-index: 1;
6853
6861
  background-color: ${(props2) => props2.theme.colors.neutral0};
@@ -6862,15 +6870,15 @@ const Tabs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
6862
6870
  Root: Root$1,
6863
6871
  Trigger
6864
6872
  }, Symbol.toStringTag, { value: "Module" }));
6865
- const TableContainer = styledComponents.styled(Box)`
6873
+ const TableContainer = styled.styled(Box)`
6866
6874
  overflow: hidden;
6867
6875
  border: 1px solid ${({ theme }) => theme.colors.neutral150};
6868
6876
  `;
6869
- const TableWrapper = styledComponents.styled(RawTable)`
6877
+ const TableWrapper = styled.styled(RawTable)`
6870
6878
  width: 100%;
6871
6879
  white-space: nowrap;
6872
6880
  `;
6873
- const TableBox = styledComponents.styled(Box)`
6881
+ const TableBox = styled.styled(Box)`
6874
6882
  &:before {
6875
6883
  // TODO: make sure to add a token for this weird stuff
6876
6884
  background: linear-gradient(90deg, #c0c0cf 0%, rgba(0, 0, 0, 0) 100%);
@@ -6896,7 +6904,7 @@ const TableBox = styledComponents.styled(Box)`
6896
6904
  top: 0;
6897
6905
  }
6898
6906
  `;
6899
- const ScrollContainer = styledComponents.styled(Box)`
6907
+ const ScrollContainer = styled.styled(Box)`
6900
6908
  overflow-x: auto;
6901
6909
  `;
6902
6910
  const Table = React__namespace.forwardRef(({ footer, ...props }, forwardedRef) => {
@@ -6926,7 +6934,7 @@ const Table = React__namespace.forwardRef(({ footer, ...props }, forwardedRef) =
6926
6934
  footer
6927
6935
  ] });
6928
6936
  });
6929
- const TbodyWrapper = styledComponents.styled(RawTbody)`
6937
+ const TbodyWrapper = styled.styled(RawTbody)`
6930
6938
  & tr:last-of-type {
6931
6939
  border-bottom: none;
6932
6940
  }
@@ -6934,13 +6942,13 @@ const TbodyWrapper = styledComponents.styled(RawTbody)`
6934
6942
  const Tbody = ({ children, ...props }) => {
6935
6943
  return /* @__PURE__ */ jsxRuntime.jsx(TbodyWrapper, { ...props, children });
6936
6944
  };
6937
- const TheadWrapper = styledComponents.styled(RawThead)`
6945
+ const TheadWrapper = styled.styled(RawThead)`
6938
6946
  border-bottom: 1px solid ${({ theme }) => theme.colors.neutral150};
6939
6947
  `;
6940
6948
  const Thead = ({ children, ...props }) => {
6941
6949
  return /* @__PURE__ */ jsxRuntime.jsx(TheadWrapper, { ...props, children });
6942
6950
  };
6943
- const TrWrapper = styledComponents.styled(RawTr)`
6951
+ const TrWrapper = styled.styled(RawTr)`
6944
6952
  border-bottom: 1px solid ${({ theme }) => theme.colors.neutral150};
6945
6953
 
6946
6954
  & td,
@@ -6963,7 +6971,7 @@ const TrWrapper = styledComponents.styled(RawTr)`
6963
6971
  const Tr = (props) => {
6964
6972
  return /* @__PURE__ */ jsxRuntime.jsx(TrWrapper, { ...props });
6965
6973
  };
6966
- const CellWrapper = styledComponents.styled(RawTd)`
6974
+ const CellWrapper = styled.styled(RawTd)`
6967
6975
  vertical-align: middle;
6968
6976
  text-align: left;
6969
6977
  outline-offset: -4px;
@@ -6984,7 +6992,7 @@ const Th = React__namespace.forwardRef(({ children, action, ...props }, forwarde
6984
6992
  const Td = React__namespace.forwardRef(({ children, ...props }, forwardedRef) => {
6985
6993
  return /* @__PURE__ */ jsxRuntime.jsx(CellWrapper, { color: "neutral800", ref: forwardedRef, ...props, children });
6986
6994
  });
6987
- const IconBox = styledComponents.styled(Box)`
6995
+ const IconBox = styled.styled(Box)`
6988
6996
  height: 2.4rem;
6989
6997
  width: 2.4rem;
6990
6998
  border-radius: 50%;
@@ -7001,7 +7009,7 @@ const IconBox = styledComponents.styled(Box)`
7001
7009
  fill: ${({ theme }) => theme.colors.primary600};
7002
7010
  }
7003
7011
  `;
7004
- const ButtonBox = styledComponents.styled(Box)`
7012
+ const ButtonBox = styled.styled(Box)`
7005
7013
  border-radius: 0 0 ${({ theme }) => theme.borderRadius} ${({ theme }) => theme.borderRadius};
7006
7014
  display: block;
7007
7015
  width: 100%;
@@ -7038,7 +7046,7 @@ const TextButton = forwardRef(
7038
7046
  );
7039
7047
  }
7040
7048
  );
7041
- const rotation = styledComponents.keyframes`
7049
+ const rotation = styled.keyframes`
7042
7050
  from {
7043
7051
  transform: rotate(0deg);
7044
7052
  }
@@ -7046,12 +7054,12 @@ const rotation = styledComponents.keyframes`
7046
7054
  transform: rotate(359deg);
7047
7055
  }
7048
7056
  `;
7049
- const LoadingWrapper = styledComponents.styled.span`
7057
+ const LoadingWrapper = styled.styled.span`
7050
7058
  display: flex;
7051
7059
  animation: ${rotation} 2s infinite linear;
7052
7060
  will-change: transform;
7053
7061
  `;
7054
- const TextButtonWrapper = styledComponents.styled(Flex)`
7062
+ const TextButtonWrapper = styled.styled(Flex)`
7055
7063
  border: none;
7056
7064
  background-color: transparent;
7057
7065
  color: ${(props) => props.theme.colors.primary600};
@@ -7105,18 +7113,17 @@ const Textarea = React__namespace.forwardRef(
7105
7113
  ) });
7106
7114
  }
7107
7115
  );
7108
- const Wrapper$1 = styledComponents.styled(Box)`
7116
+ const Wrapper$1 = styled.styled(Box)`
7109
7117
  height: 10.5rem;
7110
7118
  ${inputFocusStyle()}
7111
7119
  `;
7112
- const TextareaElement = styledComponents.styled(Box)`
7120
+ const TextareaElement = styled.styled(Box)`
7113
7121
  border: none;
7114
7122
  resize: none;
7115
7123
 
7116
- ::placeholder {
7117
- color: ${({ theme }) => theme.colors.neutral500};
7124
+ &::placeholder {
7125
+ color: ${({ theme }) => theme.colors.neutral600};
7118
7126
  font-size: ${({ theme }) => theme.fontSizes[2]};
7119
- color: ${({ theme }) => theme.colors.neutral500};
7120
7127
  opacity: 1;
7121
7128
  }
7122
7129
 
@@ -7240,13 +7247,13 @@ const Toggle = React__namespace.forwardRef(
7240
7247
  );
7241
7248
  }
7242
7249
  );
7243
- const ToggleWrapper = styledComponents.styled(Flex)`
7250
+ const ToggleWrapper = styled.styled(Flex)`
7244
7251
  ${inputFocusStyle()}
7245
7252
  `;
7246
- const ToggleOption = styledComponents.styled(Flex)`
7253
+ const ToggleOption = styled.styled(Flex)`
7247
7254
  padding-block: 0.6rem;
7248
7255
  `;
7249
- const Input = styledComponents.styled.input`
7256
+ const Input = styled.styled.input`
7250
7257
  height: 100%;
7251
7258
  left: 0;
7252
7259
  opacity: 0;
@@ -7259,7 +7266,7 @@ const Root = forwardRef((props, forwardedRef) => {
7259
7266
  const { gap = 0, gridCols = 12, ...rest } = props;
7260
7267
  return /* @__PURE__ */ jsxRuntime.jsx(Wrapper, { ref: forwardedRef, $gap: gap, $gridCols: gridCols, ...rest });
7261
7268
  });
7262
- const Wrapper = styledComponents.styled(Box)`
7269
+ const Wrapper = styled.styled(Box)`
7263
7270
  display: grid;
7264
7271
  grid-template-columns: repeat(${({ $gridCols }) => $gridCols}, 1fr);
7265
7272
  ${({ theme, $gap }) => handleResponsiveValues({ gap: $gap }, theme)}
@@ -7267,7 +7274,7 @@ const Wrapper = styledComponents.styled(Box)`
7267
7274
  const ItemImpl = forwardRef(
7268
7275
  ({ col, s, xs, m, ...props }, forwardedRef) => /* @__PURE__ */ jsxRuntime.jsx(Item, { ref: forwardedRef, $col: col, $s: s, $xs: xs, $m: m, ...props })
7269
7276
  );
7270
- const Item = styledComponents.styled(Flex)`
7277
+ const Item = styled.styled(Flex)`
7271
7278
  grid-column: span ${({ $xs }) => $xs ?? 12};
7272
7279
  max-width: 100%;
7273
7280
 
@@ -7482,7 +7489,7 @@ exports.ComboboxOption = Option;
7482
7489
  exports.Crumb = Crumb;
7483
7490
  exports.CrumbLink = CrumbLink;
7484
7491
  exports.CrumbSimpleMenu = CrumbSimpleMenu;
7485
- exports.DatePicker = DatePicker$1;
7492
+ exports.DatePicker = DatePicker;
7486
7493
  exports.DateTimePicker = DateTimePicker;
7487
7494
  exports.DesignSystemProvider = DesignSystemProvider;
7488
7495
  exports.Dialog = Dialog;
@@ -7551,7 +7558,7 @@ exports.TextInput = TextInput;
7551
7558
  exports.Textarea = Textarea;
7552
7559
  exports.Th = Th;
7553
7560
  exports.Thead = Thead;
7554
- exports.TimePicker = TimePicker$1;
7561
+ exports.TimePicker = TimePicker;
7555
7562
  exports.Toggle = Toggle;
7556
7563
  exports.Tooltip = TooltipImpl;
7557
7564
  exports.Tr = Tr;