@uniformdev/design-system 19.2.0 → 19.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/dist/esm/index.js +1245 -1184
  2. package/dist/index.d.ts +257 -298
  3. package/dist/index.js +1340 -1278
  4. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -43,12 +43,14 @@ __export(src_exports, {
43
43
  CardContainer: () => CardContainer2,
44
44
  CardTitle: () => CardTitle2,
45
45
  CheckboxWithInfo: () => CheckboxWithInfo,
46
+ Chip: () => Chip,
46
47
  ConnectToDataElementButton: () => ConnectToDataElementButton,
47
48
  Container: () => Container2,
48
49
  Counter: () => Counter,
49
50
  CreateTeamIntegrationTile: () => CreateTeamIntegrationTile,
50
51
  DashedBox: () => DashedBox,
51
52
  Details: () => Details,
53
+ DismissibleChipAction: () => DismissibleChipAction,
52
54
  Drawer: () => Drawer,
53
55
  DrawerProvider: () => DrawerProvider,
54
56
  DrawerRenderer: () => DrawerRenderer,
@@ -57,6 +59,7 @@ __export(src_exports, {
57
59
  Fieldset: () => Fieldset,
58
60
  Heading: () => Heading,
59
61
  HexModalBackground: () => HexModalBackground,
62
+ HorizontalRhythm: () => HorizontalRhythm,
60
63
  Icon: () => Icon,
61
64
  IconsProvider: () => IconsProvider,
62
65
  InfoMessage: () => InfoMessage,
@@ -89,10 +92,6 @@ __export(src_exports, {
89
92
  MenuGroup: () => MenuGroup,
90
93
  MenuItem: () => MenuItem,
91
94
  MenuItemSeparator: () => MenuItemSeparator,
92
- ObjectCompositionListItem: () => ObjectCompositionListItem,
93
- ObjectListContainer: () => ObjectListContainer,
94
- ObjectListItemLoadingSkeleton: () => ObjectListItemLoadingSkeleton,
95
- ObjectPersonalizationListItem: () => ObjectPersonalizationListItem,
96
95
  PageHeaderSection: () => PageHeaderSection,
97
96
  Paragraph: () => Paragraph,
98
97
  ParameterDataResource: () => ParameterDataResource,
@@ -155,8 +154,10 @@ __export(src_exports, {
155
154
  borderTopIcon: () => borderTopIcon,
156
155
  breakpoints: () => breakpoints,
157
156
  button: () => button,
157
+ buttonDestructive: () => buttonDestructive,
158
158
  buttonGhost: () => buttonGhost,
159
159
  buttonGhostDestructive: () => buttonGhostDestructive,
160
+ buttonGhostUnimportant: () => buttonGhostUnimportant,
160
161
  buttonPrimary: () => buttonPrimary,
161
162
  buttonPrimaryInvert: () => buttonPrimaryInvert,
162
163
  buttonRippleEffect: () => buttonRippleEffect,
@@ -251,10 +252,21 @@ var Theme = ({ disableReset = false }) => {
251
252
  /* secondary colours */
252
253
  --brand-secondary-1: #1f2b34; /* carbon */
253
254
  --brand-secondary-2: #ecf1f1; /* silver */
254
- --brand-secondary-3: #2ecdb4; /* teal */
255
- --brand-secondary-4: #f6f1c3; /* yellow */
255
+ --brand-secondary-3: #2ECDB4; /* maroon */
256
256
  --brand-secondary-5: #d9534f; /* brick red */
257
- --brand-secondary-6: #dbf6f2; /* mint */
257
+
258
+
259
+ /* action colours */
260
+ --primary-action-default: #0052ed; /* new blue */
261
+ --primary-action-hover: #1264ff;
262
+ --primary-action-active: #0043c2;
263
+
264
+
265
+ /* accent primary */
266
+ --accent-primary: #2ECDB4;
267
+ --accent-primary-surface: #f7d4e4;
268
+ --accent-primary-hover: #eb4793;
269
+ --accent-primary-active: #e51a78;
258
270
 
259
271
  /* off brand */
260
272
  --input-border: rgba(31, 43, 52, 0.5);
@@ -434,16 +446,6 @@ var mq = (size) => `@media (min-width: ${breakpoints[size]}px)`;
434
446
  var supports = (cssProp) => `@supports (${cssProp})`;
435
447
  var cq = (size) => `@container (min-width: ${size})`;
436
448
 
437
- // src/utils/formatDate.ts
438
- var formatDate = (date) => {
439
- const normalizeDate = new Date(date).toLocaleDateString(navigator.language, {
440
- year: "numeric",
441
- month: "short",
442
- day: "numeric"
443
- });
444
- return normalizeDate;
445
- };
446
-
447
449
  // src/utils/replaceUnderscoreInString.ts
448
450
  var replaceUnderscoreInString = (title) => (title == null ? void 0 : title.includes("_")) ? title.replaceAll("_", " ") : title;
449
451
 
@@ -472,6 +474,8 @@ var button = import_react3.css`
472
474
  font-weight: var(--fw-medium);
473
475
  transition: color var(--duration-fast) var(--timing-ease-out),
474
476
  border-color var(--duration-fast) var(--timing-ease-out);
477
+ max-width: max-content;
478
+ gap: var(--spacing-sm);
475
479
 
476
480
  &:focus {
477
481
  outline: none;
@@ -510,7 +514,7 @@ var buttonPrimary = import_react3.css`
510
514
 
511
515
  ${buttonRippleEffect({ hoverColor: "var(--brand-secondary-1)" })}
512
516
  `;
513
- var buttonSecondary = import_react3.css`
517
+ var buttonDestructive = import_react3.css`
514
518
  background: var(--brand-secondary-5);
515
519
  color: var(--white);
516
520
 
@@ -521,12 +525,27 @@ var buttonSecondary = import_react3.css`
521
525
 
522
526
  ${buttonRippleEffect({ hoverColor: "var(--brand-secondary-5)" })}
523
527
  `;
528
+ var buttonSecondary = import_react3.css`
529
+ background: var(--primary-action-default);
530
+ color: var(--white);
531
+
532
+ &:disabled {
533
+ background: var(--gray-300);z
534
+ color: var(--white);
535
+ }
536
+
537
+ ${buttonRippleEffect({ hoverColor: "var(--primary-action-hover)" })}
538
+ `;
524
539
  var buttonSecondaryInvert = import_react3.css`
525
540
  background: var(--white);
526
- color: var(--brand-secondary-5);
527
- box-shadow: 0 0 0 1px var(--brand-secondary-5);
541
+ color: var(--primary-action-default);
542
+ box-shadow: 0 0 0 1px var(--primary-action-default);
528
543
  transition: box-shadow var(--duration-fast) var(--timing-ease-out);
529
544
 
545
+ &:hover {
546
+ color: var(--primary-action-hover);
547
+ }
548
+
530
549
  &:disabled {
531
550
  color: var(--gray-300);
532
551
  box-shadow: 0 0 0 1px var(--gray-300);
@@ -561,30 +580,38 @@ var buttonUnimportant = import_react3.css`
561
580
  `;
562
581
  var buttonGhost = import_react3.css`
563
582
  background: transparent;
564
- color: var(--brand-secondary-3);
583
+ color: var(--primary-action-default);
565
584
 
566
585
  &:hover {
567
- border-color: var(--brand-secondary-3);
586
+ color: var(--primary-action-hover);
568
587
  }
569
588
 
570
589
  &:disabled {
571
590
  background: transparent;
572
- border-color: var(--gray-300);
573
- color: var(--gray-300);
591
+ border-color: var(--gray-400);
592
+ color: var(--gray-400);
574
593
  }
575
594
 
576
595
  ${buttonRippleEffect({ hoverColor: "var(--white)", activeColor: "var(--gray-100)" })}
577
596
  `;
578
597
  var buttonGhostDestructive = import_react3.css`
579
- ${buttonGhost}
598
+ background: transparent;
580
599
  color: var(--brand-secondary-5);
581
600
 
582
601
  &:hover {
583
- border-color: var(--brand-secondary-5);
602
+ color: var(--brand-secondary-5);
603
+ }
604
+
605
+ &:disabled {
606
+ background: transparent;
607
+ border-color: var(--gray-400);
608
+ color: var(--gray-400);
584
609
  }
610
+
611
+ ${buttonRippleEffect({ hoverColor: "var(--white)", activeColor: "var(--gray-100)" })}
585
612
  `;
586
613
  var buttonTertiary = import_react3.css`
587
- background: var(--brand-secondary-3);
614
+ background: var(--primary-action-default);
588
615
  color: var(--white);
589
616
 
590
617
  &:disabled {
@@ -592,7 +619,23 @@ var buttonTertiary = import_react3.css`
592
619
  color: var(--white);
593
620
  }
594
621
 
595
- ${buttonRippleEffect({ hoverColor: "var(--brand-secondary-3)" })}
622
+ ${buttonRippleEffect({ hoverColor: " var(--primary-action-default)" })}
623
+ `;
624
+ var buttonGhostUnimportant = import_react3.css`
625
+ background: transparent;
626
+ color: var(--gray-500);
627
+
628
+ &:hover {
629
+ color: var(--gray-600);
630
+ }
631
+
632
+ &:disabled {
633
+ background: transparent;
634
+ border-color: var(--gray-400);
635
+ color: var(--gray-400);
636
+ }
637
+
638
+ ${buttonRippleEffect({ hoverColor: "var(--white)", activeColor: "var(--gray-500)" })}
596
639
  `;
597
640
 
598
641
  // src/components/Input/styles/Inputs.styles.ts
@@ -627,6 +670,7 @@ var input = (whiteSpaceWrap) => import_react4.css`
627
670
  &:focus,
628
671
  &:focus-within {
629
672
  border-color: var(--brand-secondary-1);
673
+ box-shadow: none;
630
674
  outline: none;
631
675
  }
632
676
 
@@ -1008,7 +1052,7 @@ var addButton = import_react9.css`
1008
1052
  box-shadow: var(--shadow-base);
1009
1053
  border-radius: var(--rounded-full);
1010
1054
  border: none;
1011
- background: var(--brand-secondary-5);
1055
+ background: var(--primary-action-default);
1012
1056
  background-position: center;
1013
1057
  cursor: pointer;
1014
1058
  display: inline-flex;
@@ -1021,8 +1065,8 @@ var addButton = import_react9.css`
1021
1065
 
1022
1066
  &:hover,
1023
1067
  &:focus {
1024
- background: var(--brand-secondary-5) radial-gradient(circle, transparent 1%, var(--brand-secondary-5) 1%)
1025
- center/15000%;
1068
+ background: var(--primary-action-default)
1069
+ radial-gradient(circle, transparent 1%, var(--primary-action-default) 1%) center/15000%;
1026
1070
  transform: scale(1);
1027
1071
  }
1028
1072
 
@@ -1114,7 +1158,7 @@ var IconImg = import_react11.css`
1114
1158
  vertical-align: middle;
1115
1159
  }
1116
1160
  `;
1117
- var IconColorGreen = import_react11.css`
1161
+ var IconColorDefault = import_react11.css`
1118
1162
  color: var(--brand-secondary-3);
1119
1163
  `;
1120
1164
  var IconColorRed = import_react11.css`
@@ -1126,6 +1170,9 @@ var IconColorGray = import_react11.css`
1126
1170
  var IconColorCurrent = import_react11.css`
1127
1171
  color: currentColor;
1128
1172
  `;
1173
+ var IconColorAction = import_react11.css`
1174
+ color: var(--primary-action-default);
1175
+ `;
1129
1176
 
1130
1177
  // src/components/Icons/IconsProvider.tsx
1131
1178
  var import_param_case = require("param-case");
@@ -1167,11 +1214,12 @@ function getIconNameFromCssGgComponentName(cssGgComponentName) {
1167
1214
 
1168
1215
  // src/components/Icons/Icon.tsx
1169
1216
  var import_jsx_runtime5 = require("@emotion/react/jsx-runtime");
1170
- var IconInner = ({ icon, iconColor = "green", size = "1.5rem", ...otherProps }) => {
1217
+ var IconInner = ({ icon, iconColor = "default", size = "1.5rem", ...otherProps }) => {
1171
1218
  const isIconName = typeof icon === "string";
1172
1219
  const { iconsMap, isLoading } = useIconContext();
1173
1220
  const customColor = {
1174
- green: IconColorGreen,
1221
+ action: IconColorAction,
1222
+ default: IconColorDefault,
1175
1223
  gray: IconColorGray,
1176
1224
  red: IconColorRed,
1177
1225
  currentColor: IconColorCurrent
@@ -1554,7 +1602,7 @@ var AddListButton = ({
1554
1602
  disabled,
1555
1603
  icon = "math-plus",
1556
1604
  variant = "regular",
1557
- theme = "var(--brand-secondary-3)",
1605
+ theme = "var(--primary-action-default)",
1558
1606
  ...buttonProps
1559
1607
  }) => {
1560
1608
  const mapIcon = {
@@ -1763,16 +1811,17 @@ var import_cg2 = require("react-icons/cg");
1763
1811
  var import_react17 = require("@emotion/react");
1764
1812
  var link = import_react17.css`
1765
1813
  display: inline-flex;
1766
- text-decoration: underline;
1814
+ transition: color var(--duration-fast) var(--timing-ease-out);
1815
+ word-break: break-word;
1816
+ `;
1817
+ var linkColorDefault = import_react17.css`
1818
+ color: var(--primary-action-default);
1767
1819
 
1768
1820
  &:hover {
1769
- text-decoration: none;
1821
+ color: var(--primary-action-hover);
1770
1822
  }
1771
1823
  `;
1772
- var linkColorGreen = import_react17.css`
1773
- color: var(--brand-secondary-3);
1774
- `;
1775
- var linkColorRed = import_react17.css`
1824
+ var linkColorDestructive = import_react17.css`
1776
1825
  color: var(--brand-secondary-5);
1777
1826
  `;
1778
1827
  var linkColorCurrent = import_react17.css`
@@ -1782,11 +1831,11 @@ var linkColorCurrent = import_react17.css`
1782
1831
  // src/components/Typography/Link.tsx
1783
1832
  var import_jsx_runtime10 = require("@emotion/react/jsx-runtime");
1784
1833
  var Link = React4.forwardRef(
1785
- ({ external, text, linkColor = "currentColor", children, ...props }, ref) => {
1834
+ ({ external, text, linkColor = "default", children, ...props }, ref) => {
1786
1835
  const textColor = {
1787
1836
  currentColor: linkColorCurrent,
1788
- red: linkColorRed,
1789
- green: linkColorGreen
1837
+ default: linkColorDefault,
1838
+ destructive: linkColorDestructive
1790
1839
  };
1791
1840
  const externalAttrs = external ? {
1792
1841
  target: "_blanks",
@@ -1953,7 +2002,6 @@ var IntegrationHeaderSection = ({
1953
2002
  href: docsLink,
1954
2003
  external: true,
1955
2004
  text: "Documentation",
1956
- linkColor: "green",
1957
2005
  target: "_blank",
1958
2006
  rel: "noreferrer nofollow",
1959
2007
  css: IntegrationHeaderSectionDocsLink
@@ -2002,18 +2050,23 @@ var PageHeaderSectionDetails = import_react21.css`
2002
2050
  `;
2003
2051
  var PageHeaderSectionLinkContainer = import_react21.css`
2004
2052
  align-items: center;
2053
+ color: var(--primary-action-default);
2005
2054
  display: flex;
2006
2055
  flex-grow: 1;
2056
+
2057
+ &:hover {
2058
+ color: var(--primary-action-hover);
2059
+ }
2007
2060
  `;
2008
2061
  var PageHeaderSectionLinkIcon = import_react21.css`
2009
2062
  margin-left: -0.5rem;
2010
2063
  `;
2011
2064
  var PageHeaderSectionLink = import_react21.css`
2012
- color: var(--brand-secondary-3);
2013
- text-decoration: none;
2065
+ color: var(--primary-action-default);
2014
2066
  font-size: var(--fs-sm);
2067
+
2015
2068
  &:hover {
2016
- text-decoration: underline;
2069
+ color: var(--primary-action-hover);
2017
2070
  }
2018
2071
  `;
2019
2072
  var PageHeaderSectionChildContainer = import_react21.css`
@@ -2055,7 +2108,7 @@ var PageHeaderSection = ({
2055
2108
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { css: PageHeaderSectionContainer, children: [
2056
2109
  /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("section", { css: PageHeaderSectionDetails, children: [
2057
2110
  linkText && linkProps && linkManagerComponent ? /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { css: PageHeaderSectionLinkContainer, children: [
2058
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { icon: import_cg3.CgChevronLeft, size: 18, css: PageHeaderSectionLinkIcon }),
2111
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { icon: import_cg3.CgChevronLeft, size: 18, css: PageHeaderSectionLinkIcon, iconColor: "currentColor" }),
2059
2112
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2060
2113
  LinkWithRef,
2061
2114
  {
@@ -10854,15 +10907,18 @@ var Button = React5.forwardRef(
10854
10907
  const buttonTheme = {
10855
10908
  primary: buttonPrimary,
10856
10909
  primaryInvert: buttonPrimaryInvert,
10910
+ destructive: buttonDestructive,
10857
10911
  secondary: buttonSecondary,
10858
10912
  secondaryInvert: buttonSecondaryInvert,
10859
10913
  ghost: buttonGhost,
10860
10914
  ghostDestructive: buttonGhostDestructive,
10861
10915
  unimportant: buttonUnimportant,
10916
+ ghostUnimportant: buttonGhostUnimportant,
10862
10917
  /** @deprecated */
10863
10918
  tertiary: buttonTertiary
10864
10919
  };
10865
10920
  const btnSize = {
10921
+ zero: "padding: 0",
10866
10922
  xs: "padding: 0.375rem 0.625rem; font-size: var(--fs-xs); line-height: 1.5;",
10867
10923
  sm: "padding: var(--spacing-sm) 0.75rem; font-size: var(--fs-sm);",
10868
10924
  md: "padding: var(--spacing-sm) var(--spacing-base); font-size: var(--fs-sm);",
@@ -11110,8 +11166,12 @@ var buttonPrimaryDisabled = import_react29.css`
11110
11166
  color: var(--white);
11111
11167
  `;
11112
11168
  var buttonSecondary2 = import_react29.css`
11113
- background: var(--brand-secondary-5);
11169
+ background: var(--primary-action-default);
11114
11170
  color: var(--white);
11171
+
11172
+ &:hover {
11173
+ background: var(--primary-action-hover);
11174
+ }
11115
11175
  `;
11116
11176
  var buttonSecondaryDisabled = import_react29.css`
11117
11177
  ${buttonPrimaryDisabled}
@@ -11646,12 +11706,31 @@ var Container2 = ({
11646
11706
  );
11647
11707
  };
11648
11708
 
11649
- // src/components/Layout/styles/TwoColumnLayout.styles.ts
11709
+ // src/components/Layout/styles/HorizontalRhythm.styles.ts
11650
11710
  var import_react35 = require("@emotion/react");
11651
- var TwoColumnLayoutContainer = (bgColor) => import_react35.css`
11711
+ var HorizontalRhythmContainer = (size) => import_react35.css`
11712
+ display: flex;
11713
+ gap: var(--spacing-${size});
11714
+ `;
11715
+
11716
+ // src/components/Layout/HorizontalRhythm.tsx
11717
+ var import_jsx_runtime30 = require("@emotion/react/jsx-runtime");
11718
+ var HorizontalRhythm = ({
11719
+ tag = "div",
11720
+ gap = "base",
11721
+ children,
11722
+ ...props
11723
+ }) => {
11724
+ const Tag = tag;
11725
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Tag, { css: HorizontalRhythmContainer(gap), ...props, children });
11726
+ };
11727
+
11728
+ // src/components/Layout/styles/TwoColumnLayout.styles.ts
11729
+ var import_react36 = require("@emotion/react");
11730
+ var TwoColumnLayoutContainer = (bgColor) => import_react36.css`
11652
11731
  background: ${bgColor};
11653
11732
  `;
11654
- var TwoColumnLayoutInner = (invertLayout) => import_react35.css`
11733
+ var TwoColumnLayoutInner = (invertLayout) => import_react36.css`
11655
11734
  display: grid;
11656
11735
  max-width: var(--site-width);
11657
11736
  margin-inline: auto;
@@ -11667,45 +11746,45 @@ var TwoColumnLayoutInner = (invertLayout) => import_react35.css`
11667
11746
  }`}
11668
11747
  }
11669
11748
  `;
11670
- var TwoColumnLayoutMain = import_react35.css``;
11671
- var TwoColumnLayoutSupporting = import_react35.css`
11749
+ var TwoColumnLayoutMain = import_react36.css``;
11750
+ var TwoColumnLayoutSupporting = import_react36.css`
11672
11751
  display: flex;
11673
11752
  flex-direction: column;
11674
- gap: var(--spacing-md);
11753
+ gap: var(--spacing-lg);
11675
11754
  `;
11676
11755
 
11677
11756
  // src/components/Layout/TwoColumnLayout.tsx
11678
- var import_jsx_runtime30 = require("@emotion/react/jsx-runtime");
11757
+ var import_jsx_runtime31 = require("@emotion/react/jsx-runtime");
11679
11758
  var TwoColumnLayout = ({
11680
11759
  bgColor = "var(--white)",
11681
11760
  invertLayout = false,
11682
11761
  supportingContent,
11683
11762
  children
11684
11763
  }) => {
11685
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { css: TwoColumnLayoutContainer(bgColor), children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { css: TwoColumnLayoutInner(invertLayout), children: [
11686
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("section", { css: TwoColumnLayoutMain, children }),
11687
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("aside", { css: TwoColumnLayoutSupporting, children: supportingContent })
11764
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { css: TwoColumnLayoutContainer(bgColor), children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { css: TwoColumnLayoutInner(invertLayout), children: [
11765
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("section", { css: TwoColumnLayoutMain, children }),
11766
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("aside", { css: TwoColumnLayoutSupporting, children: supportingContent })
11688
11767
  ] }) });
11689
11768
  };
11690
11769
 
11691
11770
  // src/components/Layout/styles/VerticalRhythm.styles.ts
11692
- var import_react36 = require("@emotion/react");
11693
- var VerticalRhythmContainer = (size) => import_react36.css`
11771
+ var import_react37 = require("@emotion/react");
11772
+ var VerticalRhythmContainer = (size) => import_react37.css`
11694
11773
  display: flex;
11695
11774
  flex-direction: column;
11696
11775
  gap: var(--spacing-${size});
11697
11776
  `;
11698
11777
 
11699
11778
  // src/components/Layout/VerticalRhythm.tsx
11700
- var import_jsx_runtime31 = require("@emotion/react/jsx-runtime");
11779
+ var import_jsx_runtime32 = require("@emotion/react/jsx-runtime");
11701
11780
  var VerticalRhythm = ({ tag = "div", gap = "base", children, ...props }) => {
11702
11781
  const Tag = tag;
11703
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Tag, { css: VerticalRhythmContainer(gap), ...props, children });
11782
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Tag, { css: VerticalRhythmContainer(gap), ...props, children });
11704
11783
  };
11705
11784
 
11706
11785
  // src/components/Card/LoadingCardSkeleton.styles.ts
11707
- var import_react37 = require("@emotion/react");
11708
- var LoadingCardSkeleton = import_react37.css`
11786
+ var import_react38 = require("@emotion/react");
11787
+ var LoadingCardSkeleton = import_react38.css`
11709
11788
  animation: ${skeletonLoading} 1s linear infinite alternate;
11710
11789
  color: var(--gray-400);
11711
11790
  border-radius: var(--rounded-base);
@@ -11713,21 +11792,21 @@ var LoadingCardSkeleton = import_react37.css`
11713
11792
  min-height: 160px;
11714
11793
  position: relative;
11715
11794
  `;
11716
- var LoadingText = import_react37.css`
11795
+ var LoadingText = import_react38.css`
11717
11796
  animation: ${fadeIn} 1s linear infinite alternate;
11718
11797
  border-radius: var(--rounded-base);
11719
11798
  background: var(--gray-300);
11720
11799
  display: block;
11721
11800
  `;
11722
- var LoadingTitle = import_react37.css`
11801
+ var LoadingTitle = import_react38.css`
11723
11802
  width: clamp(200px, 100vw, 60%);
11724
11803
  height: var(--spacing-md);
11725
11804
  `;
11726
- var LoadingTimeStamp = import_react37.css`
11805
+ var LoadingTimeStamp = import_react38.css`
11727
11806
  width: clamp(200px, 100vw, 30%);
11728
11807
  height: var(--spacing-sm);
11729
11808
  `;
11730
- var LoadingMenuIcon = import_react37.css`
11809
+ var LoadingMenuIcon = import_react38.css`
11731
11810
  animation: ${fadeIn} 1s linear infinite alternate;
11732
11811
  position: absolute;
11733
11812
  top: var(--spacing-md);
@@ -11735,18 +11814,193 @@ var LoadingMenuIcon = import_react37.css`
11735
11814
  `;
11736
11815
 
11737
11816
  // src/components/Card/LoadingCardSkeleton.tsx
11738
- var import_jsx_runtime32 = require("@emotion/react/jsx-runtime");
11817
+ var import_jsx_runtime33 = require("@emotion/react/jsx-runtime");
11739
11818
  var LoadingCardSkeleton2 = () => {
11740
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(VerticalRhythm, { css: LoadingCardSkeleton, children: [
11741
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { css: [LoadingText, LoadingTitle] }),
11742
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { css: [LoadingText, LoadingTimeStamp] }),
11743
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Icon, { css: LoadingMenuIcon, icon: import_cg8.CgMoreAlt, iconColor: "currentColor", size: 32 })
11819
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(VerticalRhythm, { css: LoadingCardSkeleton, children: [
11820
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { css: [LoadingText, LoadingTitle] }),
11821
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { css: [LoadingText, LoadingTimeStamp] }),
11822
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Icon, { css: LoadingMenuIcon, icon: import_cg8.CgMoreAlt, iconColor: "currentColor", size: 32 })
11823
+ ] });
11824
+ };
11825
+
11826
+ // src/components/Chip/Chip.tsx
11827
+ var import_cg9 = require("react-icons/cg");
11828
+
11829
+ // src/components/Chip/Chip.styles.ts
11830
+ var import_react39 = require("@emotion/react");
11831
+ var ChipContainer = import_react39.css`
11832
+ border-radius: var(--rounded-full);
11833
+ background: lime;
11834
+ cursor: pointer;
11835
+ display: inline-flex;
11836
+ gap: var(--spacing-sm);
11837
+ transition: background var(--duration-fast) var(--timing-ease-out),
11838
+ color var(--duration-fast) var(--timing-ease-out);
11839
+ position: relative;
11840
+
11841
+ &:hover {
11842
+ [role='presentation'],
11843
+ [role='separator'] {
11844
+ transition: opacity var(--duration-fast) var(--timing-ease-out);
11845
+ opacity: 100;
11846
+ }
11847
+ }
11848
+ `;
11849
+ var ChipText = import_react39.css`
11850
+ line-height: 1;
11851
+ `;
11852
+ var ChipIcon = import_react39.css`
11853
+ align-items: center;
11854
+ display: flex;
11855
+ opacity: var(--opacity-50);
11856
+ `;
11857
+ var ChipSeparator = import_react39.css`
11858
+ display: flex;
11859
+ border-right: 1px solid var(--white);
11860
+ opacity: var(--opacity-50);
11861
+ `;
11862
+ var ChipTiny = import_react39.css`
11863
+ font-size: var(--fs-xs);
11864
+ padding-inline: var(--spacing-sm);
11865
+
11866
+ > :where(span:last-of-type) {
11867
+ padding-block: var(--spacing-xs);
11868
+ }
11869
+ `;
11870
+ var ChipSmall = import_react39.css`
11871
+ font-size: var(--fs-sm);
11872
+ padding-inline: var(--spacing-base);
11873
+
11874
+ > :where(span:last-of-type) {
11875
+ padding-block: var(--spacing-sm);
11876
+ }
11877
+ `;
11878
+ var ChipMedium = import_react39.css`
11879
+ font-size: var(--fs-base);
11880
+ padding-inline: var(--spacing-base);
11881
+
11882
+ > :where(span:last-of-type) {
11883
+ padding-block: var(--spacing-sm);
11884
+ }
11885
+ `;
11886
+ var ChipThemeAccentLight = import_react39.css`
11887
+ background: var(--accent-primary-surface);
11888
+ color: var(--brand-secondary-1);
11889
+
11890
+ &:hover,
11891
+ &:focus {
11892
+ background: var(--accent-primary-hover);
11893
+ }
11894
+
11895
+ &:active {
11896
+ background: var(--accent-primary-active);
11897
+ }
11898
+
11899
+ &:hover,
11900
+ &:focus,
11901
+ &:active {
11902
+ color: var(--white);
11903
+ }
11904
+
11905
+ [data-icon] {
11906
+ color: var(--accent-primary);
11907
+ }
11908
+ `;
11909
+ var ChipThemeAccentDark = import_react39.css`
11910
+ background: var(--accent-primary);
11911
+ color: var(--white);
11912
+
11913
+ &:hover,
11914
+ &:focus {
11915
+ background: var(--accent-primary-hover);
11916
+ }
11917
+
11918
+ &:active {
11919
+ background: var(--accent-primary-active);
11920
+ }
11921
+
11922
+ &:hover,
11923
+ &:focus,
11924
+ &:active {
11925
+ color: var(--white);
11926
+ }
11927
+ `;
11928
+ var ChipThemeNeutralLight = import_react39.css`
11929
+ background: var(--gray-100);
11930
+ color: var(--brand-secondary-1);
11931
+
11932
+ &:active,
11933
+ &:focus {
11934
+ background: var(--gray-400);
11935
+ }
11936
+ `;
11937
+ var ChipThemeNeutralDark = import_react39.css`
11938
+ background: var(--gray-700);
11939
+ color: var(--white);
11940
+
11941
+ &:hover,
11942
+ &:focus {
11943
+ background: var(--gray-600);
11944
+ }
11945
+
11946
+ &:active {
11947
+ background: var(--gray-900);
11948
+ }
11949
+ `;
11950
+ var ChipActionButton = import_react39.css`
11951
+ background: transparent;
11952
+ border: none;
11953
+ border-radius: 0 var(--rounded-full) var(--rounded-full) 0;
11954
+ padding: 0;
11955
+ `;
11956
+
11957
+ // src/components/Chip/Chip.tsx
11958
+ var import_jsx_runtime34 = require("@emotion/react/jsx-runtime");
11959
+ var Chip = ({
11960
+ icon,
11961
+ text,
11962
+ size = "sm",
11963
+ theme = "accent-light",
11964
+ chipAction,
11965
+ ...props
11966
+ }) => {
11967
+ const chipSize = {
11968
+ xs: ChipTiny,
11969
+ sm: ChipSmall,
11970
+ md: ChipMedium
11971
+ };
11972
+ const chipTheme = {
11973
+ "accent-light": ChipThemeAccentLight,
11974
+ "accent-dark": ChipThemeAccentDark,
11975
+ "neutral-light": ChipThemeNeutralLight,
11976
+ "neutral-dark": ChipThemeNeutralDark
11977
+ };
11978
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("span", { css: [ChipContainer, chipSize[size], chipTheme[theme]], ...props, children: [
11979
+ icon ? /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
11980
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { role: "presentation", css: ChipIcon, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Icon, { icon, iconColor: "currentColor", size: "0.85rem" }) }),
11981
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { role: "separator", css: ChipSeparator })
11982
+ ] }) : null,
11983
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { css: ChipText, children: text }),
11984
+ chipAction
11744
11985
  ] });
11745
11986
  };
11987
+ var DismissibleChipAction = ({ onDismiss, ...props }) => {
11988
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
11989
+ "button",
11990
+ {
11991
+ css: ChipActionButton,
11992
+ type: "button",
11993
+ "aria-labelledby": "dismissible-chip",
11994
+ onClick: onDismiss,
11995
+ ...props,
11996
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Icon, { icon: import_cg9.CgClose, iconColor: "currentColor", size: "0.85rem" })
11997
+ }
11998
+ );
11999
+ };
11746
12000
 
11747
12001
  // src/components/Counter/Counter.styles.ts
11748
- var import_react38 = require("@emotion/react");
11749
- var counterContainer = (bgColor) => import_react38.css`
12002
+ var import_react40 = require("@emotion/react");
12003
+ var counterContainer = (bgColor) => import_react40.css`
11750
12004
  align-items: center;
11751
12005
  border-radius: var(--rounded-full);
11752
12006
  border: 1px solid var(--gray-300);
@@ -11759,16 +12013,16 @@ var counterContainer = (bgColor) => import_react38.css`
11759
12013
  width: var(--spacing-base);
11760
12014
  height: var(--spacing-base);
11761
12015
  `;
11762
- var counterZeroValue = import_react38.css`
12016
+ var counterZeroValue = import_react40.css`
11763
12017
  background: var(--brand-secondary-1);
11764
12018
  border-radius: var(--rounded-full);
11765
12019
  width: 2px;
11766
12020
  height: 2px;
11767
12021
  `;
11768
- var counterTripleValue = import_react38.css`
12022
+ var counterTripleValue = import_react40.css`
11769
12023
  position: relative;
11770
12024
  `;
11771
- var counterIcon = import_react38.css`
12025
+ var counterIcon = import_react40.css`
11772
12026
  border-radius: var(--rounded-full);
11773
12027
  background: var(--white);
11774
12028
  color: var(--brand-secondary-3);
@@ -11779,21 +12033,21 @@ var counterIcon = import_react38.css`
11779
12033
  `;
11780
12034
 
11781
12035
  // src/components/Counter/Counter.tsx
11782
- var import_jsx_runtime33 = require("@emotion/react/jsx-runtime");
11783
- var Counter = ({ count, bgColor = "transparent" }) => {
12036
+ var import_jsx_runtime35 = require("@emotion/react/jsx-runtime");
12037
+ var Counter = ({ count, bgColor = "transparent", ...props }) => {
11784
12038
  if (typeof count === "undefined") {
11785
12039
  return null;
11786
12040
  }
11787
- const isTripleDigits = count > 99 ? /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("span", { css: counterTripleValue, title: `${count}`, children: [
12041
+ const isTripleDigits = count > 99 ? /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("span", { css: counterTripleValue, title: `${count}`, children: [
11788
12042
  "99",
11789
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Icon, { icon: "math-plus", iconColor: "currentColor", size: "0.5rem", css: counterIcon })
12043
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Icon, { icon: "math-plus", iconColor: "currentColor", size: "0.5rem", css: counterIcon })
11790
12044
  ] }) : count;
11791
- const formatCount = count === 0 ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { css: counterZeroValue, title: `${count}` }) : isTripleDigits;
11792
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { css: counterContainer(bgColor), children: formatCount });
12045
+ const formatCount = count === 0 ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { css: counterZeroValue, title: `${count}` }) : isTripleDigits;
12046
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { css: counterContainer(bgColor), ...props, children: formatCount });
11793
12047
  };
11794
12048
 
11795
12049
  // src/components/DashedBox/DashedBox.styles.ts
11796
- var import_react39 = require("@emotion/react");
12050
+ var import_react41 = require("@emotion/react");
11797
12051
  var minHeight = (prop) => {
11798
12052
  const values = {
11799
12053
  auto: "auto",
@@ -11812,7 +12066,7 @@ var alignItemsConvert = (props) => {
11812
12066
  };
11813
12067
  return alignment[props];
11814
12068
  };
11815
- var DashedBoxContainer = ({ textAlign, boxHeight, bgColor }) => import_react39.css`
12069
+ var DashedBoxContainer = ({ textAlign, boxHeight, bgColor }) => import_react41.css`
11816
12070
  align-items: ${alignItemsConvert(textAlign)};
11817
12071
  border: 2px dashed var(--gray-300);
11818
12072
  border-radius: var(--rounded-base);
@@ -11827,7 +12081,7 @@ var DashedBoxContainer = ({ textAlign, boxHeight, bgColor }) => import_react39.c
11827
12081
  `;
11828
12082
 
11829
12083
  // src/components/DashedBox/DashedBox.tsx
11830
- var import_jsx_runtime34 = require("@emotion/react/jsx-runtime");
12084
+ var import_jsx_runtime36 = require("@emotion/react/jsx-runtime");
11831
12085
  var DashedBox = ({
11832
12086
  bgColor = "transparent",
11833
12087
  textAlign = "center",
@@ -11835,15 +12089,15 @@ var DashedBox = ({
11835
12089
  children,
11836
12090
  ...props
11837
12091
  }) => {
11838
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { css: DashedBoxContainer({ bgColor, boxHeight, textAlign }), ...props, children });
12092
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { css: DashedBoxContainer({ bgColor, boxHeight, textAlign }), ...props, children });
11839
12093
  };
11840
12094
 
11841
12095
  // src/components/Details/Details.tsx
11842
12096
  var React8 = __toESM(require("react"));
11843
12097
 
11844
12098
  // src/components/Details/Details.styles.ts
11845
- var import_react40 = require("@emotion/react");
11846
- var details = import_react40.css`
12099
+ var import_react42 = require("@emotion/react");
12100
+ var details = import_react42.css`
11847
12101
  cursor: pointer;
11848
12102
  &[open] {
11849
12103
  & > summary svg {
@@ -11851,11 +12105,11 @@ var details = import_react40.css`
11851
12105
  }
11852
12106
  }
11853
12107
  `;
11854
- var detailsContent = import_react40.css`
12108
+ var detailsContent = import_react42.css`
11855
12109
  animation: ${fadeInRtl} var(--duration-fast) var(--timing-ease-out) forwards;
11856
12110
  will-change: height;
11857
12111
  `;
11858
- var summary = import_react40.css`
12112
+ var summary = import_react42.css`
11859
12113
  align-items: center;
11860
12114
  display: grid;
11861
12115
  grid-template-columns: 1.25rem 1fr;
@@ -11868,16 +12122,16 @@ var summary = import_react40.css`
11868
12122
  display: none;
11869
12123
  }
11870
12124
  `;
11871
- var summaryIcon = import_react40.css`
12125
+ var summaryIcon = import_react42.css`
11872
12126
  transition: rotate var(--duration-fast) var(--timing-ease-out);
11873
12127
  rotate: -90deg;
11874
12128
  `;
11875
- var summaryIconVisiblyHidden = import_react40.css`
12129
+ var summaryIconVisiblyHidden = import_react42.css`
11876
12130
  visibility: hidden;
11877
12131
  `;
11878
12132
 
11879
12133
  // src/components/Details/Details.tsx
11880
- var import_jsx_runtime35 = require("@emotion/react/jsx-runtime");
12134
+ var import_jsx_runtime37 = require("@emotion/react/jsx-runtime");
11881
12135
  var Details = ({ summary: summary2, children, isOpenByDefault = false, ...props }) => {
11882
12136
  const detailsRef = React8.useRef(null);
11883
12137
  const [open, setOpen] = React8.useState(isOpenByDefault);
@@ -11897,9 +12151,9 @@ var Details = ({ summary: summary2, children, isOpenByDefault = false, ...props
11897
12151
  return (_a2 = detailsRef.current) == null ? void 0 : _a2.removeEventListener("toggle", toggleEvent);
11898
12152
  };
11899
12153
  }, [detailsRef]);
11900
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("details", { "data-testid": "details", css: details, open, ref: detailsRef, ...props, children: [
11901
- /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("summary", { "data-testid": "summary", css: summary, children: [
11902
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
12154
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("details", { "data-testid": "details", css: details, open, ref: detailsRef, ...props, children: [
12155
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("summary", { "data-testid": "summary", css: summary, children: [
12156
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
11903
12157
  Icon,
11904
12158
  {
11905
12159
  css: [!children ? summaryIconVisiblyHidden : void 0, summaryIcon],
@@ -11910,17 +12164,17 @@ var Details = ({ summary: summary2, children, isOpenByDefault = false, ...props
11910
12164
  ),
11911
12165
  summary2
11912
12166
  ] }),
11913
- open ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { "data-testid": "details-content", css: detailsContent, children }) : null
12167
+ open ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { "data-testid": "details-content", css: detailsContent, children }) : null
11914
12168
  ] });
11915
12169
  };
11916
12170
 
11917
12171
  // src/components/Drawer/Drawer.tsx
11918
- var import_react44 = __toESM(require("react"));
11919
- var import_cg9 = require("react-icons/cg");
12172
+ var import_react46 = __toESM(require("react"));
12173
+ var import_cg10 = require("react-icons/cg");
11920
12174
 
11921
12175
  // src/components/Drawer/Drawer.styles.ts
11922
- var import_react41 = require("@emotion/react");
11923
- var drawerStyles = (bgColor = "var(--white)") => import_react41.css`
12176
+ var import_react43 = require("@emotion/react");
12177
+ var drawerStyles = (bgColor = "var(--white)") => import_react43.css`
11924
12178
  background-color: ${bgColor};
11925
12179
  display: flex;
11926
12180
  gap: var(--spacing-sm);
@@ -11930,7 +12184,7 @@ var drawerStyles = (bgColor = "var(--white)") => import_react41.css`
11930
12184
  padding-top: var(--spacing-sm);
11931
12185
  height: 100%;
11932
12186
  `;
11933
- var drawerCloseButtonStyles = import_react41.css`
12187
+ var drawerCloseButtonStyles = import_react43.css`
11934
12188
  align-self: flex-end;
11935
12189
  background: transparent;
11936
12190
  border: none;
@@ -11938,23 +12192,23 @@ var drawerCloseButtonStyles = import_react41.css`
11938
12192
  padding: var(--spacing-xs);
11939
12193
  margin-right: var(--spacing-sm);
11940
12194
  `;
11941
- var drawerHeaderStyles = import_react41.css`
12195
+ var drawerHeaderStyles = import_react43.css`
11942
12196
  font-size: var(--fs-lg);
11943
12197
  font-weight: var(--fw-bold);
11944
12198
  padding-inline: var(--spacing-base);
11945
12199
  `;
11946
- var drawerRendererStyles = import_react41.css`
12200
+ var drawerRendererStyles = import_react43.css`
11947
12201
  inset: 0;
11948
12202
  overflow: hidden;
11949
12203
  z-index: 40;
11950
12204
  `;
11951
- var drawerInnerStyles = import_react41.css`
12205
+ var drawerInnerStyles = import_react43.css`
11952
12206
  height: 100%;
11953
12207
  padding: 0 var(--spacing-base) var(--spacing-base);
11954
12208
  overflow: auto;
11955
12209
  ${scrollbarStyles}
11956
12210
  `;
11957
- var slideDrawerIn = import_react41.keyframes`
12211
+ var slideDrawerIn = import_react43.keyframes`
11958
12212
  0% {
11959
12213
  transform: translate(0);
11960
12214
  opacity: 0;
@@ -11969,7 +12223,7 @@ var slideDrawerIn = import_react41.keyframes`
11969
12223
  transform: translate(0);
11970
12224
  }
11971
12225
  `;
11972
- var drawerWrapperStyles = import_react41.css`
12226
+ var drawerWrapperStyles = import_react43.css`
11973
12227
  position: absolute;
11974
12228
  inset-block: 0;
11975
12229
  right: 0;
@@ -11980,7 +12234,7 @@ var drawerWrapperStyles = import_react41.css`
11980
12234
  transition: width var(--duration-fast) ease-out;
11981
12235
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
11982
12236
  `;
11983
- var drawerWrapperOverlayStyles = import_react41.css`
12237
+ var drawerWrapperOverlayStyles = import_react43.css`
11984
12238
  position: absolute;
11985
12239
  inset: 0;
11986
12240
  background: rgba(31, 43, 52, 0.4);
@@ -11988,9 +12242,9 @@ var drawerWrapperOverlayStyles = import_react41.css`
11988
12242
  `;
11989
12243
 
11990
12244
  // src/components/Drawer/DrawerProvider.tsx
11991
- var import_react42 = require("react");
11992
- var import_jsx_runtime36 = require("@emotion/react/jsx-runtime");
11993
- var DrawerContext = (0, import_react42.createContext)({
12245
+ var import_react44 = require("react");
12246
+ var import_jsx_runtime38 = require("@emotion/react/jsx-runtime");
12247
+ var DrawerContext = (0, import_react44.createContext)({
11994
12248
  drawersRegistry: [],
11995
12249
  registerDrawer: () => {
11996
12250
  },
@@ -11998,7 +12252,7 @@ var DrawerContext = (0, import_react42.createContext)({
11998
12252
  }
11999
12253
  });
12000
12254
  var DrawerProvider = ({ children }) => {
12001
- const [drawersRegistry, setDrawersRegistry] = (0, import_react42.useState)([]);
12255
+ const [drawersRegistry, setDrawersRegistry] = (0, import_react44.useState)([]);
12002
12256
  useShortcut({
12003
12257
  handler: () => {
12004
12258
  var _a, _b;
@@ -12006,7 +12260,7 @@ var DrawerProvider = ({ children }) => {
12006
12260
  },
12007
12261
  shortcut: "escape"
12008
12262
  });
12009
- const registerDrawer = (0, import_react42.useCallback)(
12263
+ const registerDrawer = (0, import_react44.useCallback)(
12010
12264
  ({ drawer, onFirstRender }) => {
12011
12265
  setDrawersRegistry((currentValue) => {
12012
12266
  var _a;
@@ -12028,7 +12282,7 @@ var DrawerProvider = ({ children }) => {
12028
12282
  },
12029
12283
  [setDrawersRegistry]
12030
12284
  );
12031
- const unregisterDrawer = (0, import_react42.useCallback)(
12285
+ const unregisterDrawer = (0, import_react44.useCallback)(
12032
12286
  (drawer) => {
12033
12287
  setDrawersRegistry((currentValue) => {
12034
12288
  return currentValue.filter((d) => {
@@ -12038,10 +12292,10 @@ var DrawerProvider = ({ children }) => {
12038
12292
  },
12039
12293
  [setDrawersRegistry]
12040
12294
  );
12041
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(DrawerContext.Provider, { value: { drawersRegistry, registerDrawer, unregisterDrawer }, children });
12295
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(DrawerContext.Provider, { value: { drawersRegistry, registerDrawer, unregisterDrawer }, children });
12042
12296
  };
12043
12297
  var useDrawer = () => {
12044
- return (0, import_react42.useContext)(DrawerContext);
12298
+ return (0, import_react44.useContext)(DrawerContext);
12045
12299
  };
12046
12300
  var useCloseCurrentDrawer = () => {
12047
12301
  const context = useDrawer();
@@ -12058,13 +12312,13 @@ function isEqualDrawerInstance(a, b) {
12058
12312
  }
12059
12313
 
12060
12314
  // src/components/Drawer/DrawerRenderer.tsx
12061
- var import_react43 = require("react");
12062
- var import_jsx_runtime37 = require("@emotion/react/jsx-runtime");
12315
+ var import_react45 = require("react");
12316
+ var import_jsx_runtime39 = require("@emotion/react/jsx-runtime");
12063
12317
  var maxLayeringInPx = 64;
12064
12318
  var idealDistanceBetweenLayersInPx = 16;
12065
- var CurrentDrawerRendererContext = (0, import_react43.createContext)({});
12319
+ var CurrentDrawerRendererContext = (0, import_react45.createContext)({});
12066
12320
  var useCurrentDrawerRenderer = () => {
12067
- return (0, import_react43.useContext)(CurrentDrawerRendererContext);
12321
+ return (0, import_react45.useContext)(CurrentDrawerRendererContext);
12068
12322
  };
12069
12323
  var DrawerRenderer = ({
12070
12324
  stackId,
@@ -12079,7 +12333,7 @@ var DrawerRenderer = ({
12079
12333
  if (drawersToRender.length === 0) {
12080
12334
  return null;
12081
12335
  }
12082
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CurrentDrawerRendererContext.Provider, { value: { stackId }, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
12336
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(CurrentDrawerRendererContext.Provider, { value: { stackId }, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
12083
12337
  "div",
12084
12338
  {
12085
12339
  css: [
@@ -12088,7 +12342,7 @@ var DrawerRenderer = ({
12088
12342
  position === "sticky" ? { height: "100%", marginTop: "-100%" } : void 0
12089
12343
  ],
12090
12344
  ...otherProps,
12091
- children: drawersToRender.map(({ component, id, stackId: stackId2, onRequestClose }, index) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
12345
+ children: drawersToRender.map(({ component, id, stackId: stackId2, onRequestClose }, index) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
12092
12346
  DrawerWrapper,
12093
12347
  {
12094
12348
  index,
@@ -12119,22 +12373,22 @@ var DrawerWrapper = ({
12119
12373
  offsetInPx = Math.round(maxLayeringInPx * relativeLevel);
12120
12374
  }
12121
12375
  const calculatedWidth = `calc(${width} - ${offsetInPx}px)`;
12122
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
12123
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { css: drawerWrapperOverlayStyles, onClick: onOverlayClick }),
12124
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { css: [drawerWrapperStyles, { width: calculatedWidth, minWidth, maxWidth }], children })
12376
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_jsx_runtime39.Fragment, { children: [
12377
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { css: drawerWrapperOverlayStyles, onClick: onOverlayClick }),
12378
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { css: [drawerWrapperStyles, { width: calculatedWidth, minWidth, maxWidth }], children })
12125
12379
  ] });
12126
12380
  };
12127
12381
 
12128
12382
  // src/components/Drawer/Drawer.tsx
12129
- var import_jsx_runtime38 = require("@emotion/react/jsx-runtime");
12383
+ var import_jsx_runtime40 = require("@emotion/react/jsx-runtime");
12130
12384
  var defaultSackId = "_default";
12131
- var Drawer = import_react44.default.forwardRef(
12385
+ var Drawer = import_react46.default.forwardRef(
12132
12386
  ({ width, minWidth, maxWidth, position, ...drawerProps }, ref) => {
12133
12387
  const drawerRendererProps = { width, minWidth, maxWidth, position };
12134
12388
  const { stackId: inheritedStackId } = useCurrentDrawerRenderer();
12135
- return inheritedStackId ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(DrawerInner, { ref, ...drawerProps, stackId: inheritedStackId }) : drawerProps.stackId ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(DrawerInner, { ref, ...drawerProps }) : /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(DrawerProvider, { children: [
12136
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(DrawerInner, { ref, ...drawerProps }),
12137
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(DrawerRenderer, { stackId: defaultSackId, ...drawerRendererProps })
12389
+ return inheritedStackId ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(DrawerInner, { ref, ...drawerProps, stackId: inheritedStackId }) : drawerProps.stackId ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(DrawerInner, { ref, ...drawerProps }) : /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(DrawerProvider, { children: [
12390
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(DrawerInner, { ref, ...drawerProps }),
12391
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(DrawerRenderer, { stackId: defaultSackId, ...drawerRendererProps })
12138
12392
  ] });
12139
12393
  }
12140
12394
  );
@@ -12150,10 +12404,10 @@ var DrawerInner = ({
12150
12404
  testId = "side-dialog"
12151
12405
  }) => {
12152
12406
  const { registerDrawer, unregisterDrawer } = useDrawer();
12153
- const closeButtonRef = (0, import_react44.useRef)(null);
12154
- const component = (0, import_react44.useMemo)(() => {
12407
+ const closeButtonRef = (0, import_react46.useRef)(null);
12408
+ const component = (0, import_react46.useMemo)(() => {
12155
12409
  const headerId = `dialog-header-${stackId}-${id}`;
12156
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
12410
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
12157
12411
  "div",
12158
12412
  {
12159
12413
  ref,
@@ -12164,7 +12418,7 @@ var DrawerInner = ({
12164
12418
  css: drawerStyles(bgColor),
12165
12419
  "data-test-id": testId,
12166
12420
  children: [
12167
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
12421
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
12168
12422
  Button,
12169
12423
  {
12170
12424
  ref: closeButtonRef,
@@ -12173,16 +12427,16 @@ var DrawerInner = ({
12173
12427
  css: drawerCloseButtonStyles,
12174
12428
  title: "Close dialog",
12175
12429
  buttonType: "ghost",
12176
- children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Icon, { icon: import_cg9.CgChevronRight, iconColor: "gray", size: "1.5rem" })
12430
+ children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Icon, { icon: import_cg10.CgChevronRight, iconColor: "gray", size: "1.5rem" })
12177
12431
  }
12178
12432
  ),
12179
- header ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { id: headerId, css: drawerHeaderStyles, children: header }) : null,
12180
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { css: drawerInnerStyles, children })
12433
+ header ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { id: headerId, css: drawerHeaderStyles, children: header }) : null,
12434
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { css: drawerInnerStyles, children })
12181
12435
  ]
12182
12436
  }
12183
12437
  );
12184
12438
  }, [children, header, id, stackId, bgColor, onRequestClose, ref, testId]);
12185
- (0, import_react44.useEffect)(() => {
12439
+ (0, import_react46.useEffect)(() => {
12186
12440
  registerDrawer({
12187
12441
  drawer: {
12188
12442
  id,
@@ -12199,15 +12453,15 @@ var DrawerInner = ({
12199
12453
  }
12200
12454
  });
12201
12455
  }, [component, instanceKey, registerDrawer]);
12202
- (0, import_react44.useEffect)(() => {
12456
+ (0, import_react46.useEffect)(() => {
12203
12457
  return () => unregisterDrawer({ id, stackId, instanceKey });
12204
12458
  }, [id, stackId, instanceKey, unregisterDrawer]);
12205
12459
  return null;
12206
12460
  };
12207
12461
 
12208
12462
  // src/components/Input/styles/CaptionText.styles.ts
12209
- var import_react45 = require("@emotion/react");
12210
- var CaptionText = (dynamicSize) => import_react45.css`
12463
+ var import_react47 = require("@emotion/react");
12464
+ var CaptionText = (dynamicSize) => import_react47.css`
12211
12465
  color: var(--gray-500);
12212
12466
  display: block;
12213
12467
  font-size: ${dynamicSize ? "clamp(var(--fs-xs), 87.5%,var(--fs-sm))" : "var(--fs-sm)"};
@@ -12216,29 +12470,29 @@ var CaptionText = (dynamicSize) => import_react45.css`
12216
12470
  `;
12217
12471
 
12218
12472
  // src/components/Input/Caption.tsx
12219
- var import_jsx_runtime39 = require("@emotion/react/jsx-runtime");
12473
+ var import_jsx_runtime41 = require("@emotion/react/jsx-runtime");
12220
12474
  var Caption = ({ children, testId, dynamicSize = false, ...props }) => {
12221
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("small", { css: CaptionText(dynamicSize), "data-test-id": testId, ...props, children });
12475
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("small", { css: CaptionText(dynamicSize), "data-test-id": testId, ...props, children });
12222
12476
  };
12223
12477
 
12224
12478
  // src/components/Input/CheckboxWithInfo.tsx
12225
- var import_react47 = require("react");
12479
+ var import_react49 = require("react");
12226
12480
 
12227
12481
  // src/components/Input/styles/CheckboxWithInfo.styles.ts
12228
- var import_react46 = require("@emotion/react");
12229
- var CheckboxWithInfoContainer = import_react46.css`
12482
+ var import_react48 = require("@emotion/react");
12483
+ var CheckboxWithInfoContainer = import_react48.css`
12230
12484
  align-items: center;
12231
12485
  display: flex;
12232
12486
  gap: var(--spacing-sm);
12233
12487
  `;
12234
- var CheckboxWithInfoLabel = import_react46.css`
12488
+ var CheckboxWithInfoLabel = import_react48.css`
12235
12489
  align-items: center;
12236
12490
  color: var(--gray-500);
12237
12491
  display: flex;
12238
12492
  font-size: var(--fs-xs);
12239
12493
  gap: var(--spacing-sm);
12240
12494
  `;
12241
- var CheckboxWithInfoInput = import_react46.css`
12495
+ var CheckboxWithInfoInput = import_react48.css`
12242
12496
  appearance: none;
12243
12497
  border: 1px solid var(--gray-300);
12244
12498
  background: var(--white) no-repeat bottom center;
@@ -12271,7 +12525,7 @@ var CheckboxWithInfoInput = import_react46.css`
12271
12525
  border-color: var(--gray-200);
12272
12526
  }
12273
12527
  `;
12274
- var InfoDialogContainer = import_react46.css`
12528
+ var InfoDialogContainer = import_react48.css`
12275
12529
  position: relative;
12276
12530
 
12277
12531
  &:hover {
@@ -12280,7 +12534,7 @@ var InfoDialogContainer = import_react46.css`
12280
12534
  }
12281
12535
  }
12282
12536
  `;
12283
- var InfoDialogMessage = import_react46.css`
12537
+ var InfoDialogMessage = import_react48.css`
12284
12538
  background: var(--white);
12285
12539
  box-shadow: var(--shadow-base);
12286
12540
  border-radius: var(--rounded-md);
@@ -12297,21 +12551,21 @@ var InfoDialogMessage = import_react46.css`
12297
12551
  `;
12298
12552
 
12299
12553
  // src/components/Input/CheckboxWithInfo.tsx
12300
- var import_jsx_runtime40 = require("@emotion/react/jsx-runtime");
12554
+ var import_jsx_runtime42 = require("@emotion/react/jsx-runtime");
12301
12555
  var InfoDialog = ({ message }) => {
12302
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { "data-testid": "info-dialog", css: InfoDialogContainer, children: [
12303
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Icon, { icon: "info", iconColor: "green", size: "0.9rem" }),
12304
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { role: "paragraph", css: InfoDialogMessage, className: "info-message", children: message })
12556
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { "data-testid": "info-dialog", css: InfoDialogContainer, children: [
12557
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Icon, { icon: "info", iconColor: "action", size: "0.9rem" }),
12558
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { role: "paragraph", css: InfoDialogMessage, className: "info-message", children: message })
12305
12559
  ] });
12306
12560
  };
12307
- var CheckboxWithInfo = (0, import_react47.forwardRef)(
12561
+ var CheckboxWithInfo = (0, import_react49.forwardRef)(
12308
12562
  ({ label, name, info, ...props }, ref) => {
12309
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { css: CheckboxWithInfoContainer, children: [
12310
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("label", { css: CheckboxWithInfoLabel, children: [
12311
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("input", { type: "checkbox", name, ref, css: CheckboxWithInfoInput, ...props }),
12312
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { children: label })
12563
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { css: CheckboxWithInfoContainer, children: [
12564
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("label", { css: CheckboxWithInfoLabel, children: [
12565
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("input", { type: "checkbox", name, ref, css: CheckboxWithInfoInput, ...props }),
12566
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { children: label })
12313
12567
  ] }),
12314
- info ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(InfoDialog, { message: info }) : null
12568
+ info ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(InfoDialog, { message: info }) : null
12315
12569
  ] });
12316
12570
  }
12317
12571
  );
@@ -12320,8 +12574,8 @@ var CheckboxWithInfo = (0, import_react47.forwardRef)(
12320
12574
  var import_md2 = require("react-icons/md");
12321
12575
 
12322
12576
  // src/components/Input/styles/ErrorMessage.styles.ts
12323
- var import_react48 = require("@emotion/react");
12324
- var ErrorText = import_react48.css`
12577
+ var import_react50 = require("@emotion/react");
12578
+ var ErrorText = import_react50.css`
12325
12579
  align-items: center;
12326
12580
  color: var(--brand-secondary-5);
12327
12581
  display: flex;
@@ -12329,10 +12583,10 @@ var ErrorText = import_react48.css`
12329
12583
  `;
12330
12584
 
12331
12585
  // src/components/Input/ErrorMessage.tsx
12332
- var import_jsx_runtime41 = require("@emotion/react/jsx-runtime");
12586
+ var import_jsx_runtime43 = require("@emotion/react/jsx-runtime");
12333
12587
  var ErrorMessage = ({ message, testId, ...otherProps }) => {
12334
- return message ? /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("span", { role: "alert", css: ErrorText, "data-test-id": testId, ...otherProps, children: [
12335
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Icon, { icon: import_md2.MdWarning, size: 16, iconColor: "currentColor" }),
12588
+ return message ? /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("span", { role: "alert", css: ErrorText, "data-test-id": testId, ...otherProps, children: [
12589
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Icon, { icon: import_md2.MdWarning, size: 16, iconColor: "currentColor" }),
12336
12590
  message
12337
12591
  ] }) : null;
12338
12592
  };
@@ -12341,9 +12595,9 @@ var ErrorMessage = ({ message, testId, ...otherProps }) => {
12341
12595
  var React12 = __toESM(require("react"));
12342
12596
 
12343
12597
  // src/components/Input/styles/Fieldset.styles.ts
12344
- var import_react49 = require("@emotion/react");
12598
+ var import_react51 = require("@emotion/react");
12345
12599
  function fieldsetContainer(invert) {
12346
- const base = import_react49.css`
12600
+ const base = import_react51.css`
12347
12601
  border-radius: var(--rounded-base);
12348
12602
  border: 1px solid var(--gray-300);
12349
12603
 
@@ -12355,18 +12609,18 @@ function fieldsetContainer(invert) {
12355
12609
  }
12356
12610
  `;
12357
12611
  return invert ? [
12358
- import_react49.css`
12612
+ import_react51.css`
12359
12613
  background: white;
12360
12614
  `,
12361
12615
  base
12362
12616
  ] : [
12363
- import_react49.css`
12617
+ import_react51.css`
12364
12618
  background: var(--gray-50);
12365
12619
  `,
12366
12620
  base
12367
12621
  ];
12368
12622
  }
12369
- var fieldsetLegend = import_react49.css`
12623
+ var fieldsetLegend = import_react51.css`
12370
12624
  align-items: center;
12371
12625
  color: var(--brand-secondary-1);
12372
12626
  display: flex;
@@ -12376,17 +12630,17 @@ var fieldsetLegend = import_react49.css`
12376
12630
  margin-bottom: var(--spacing-base);
12377
12631
  float: left; // allows the legend to be inside the fieldset and not sat on the border line
12378
12632
  `;
12379
- var fieldsetBody = import_react49.css`
12633
+ var fieldsetBody = import_react51.css`
12380
12634
  clear: left;
12381
12635
  `;
12382
12636
 
12383
12637
  // src/components/Input/Fieldset.tsx
12384
- var import_jsx_runtime42 = require("@emotion/react/jsx-runtime");
12638
+ var import_jsx_runtime44 = require("@emotion/react/jsx-runtime");
12385
12639
  var Fieldset = React12.forwardRef(
12386
12640
  ({ legend, disabled, children, invert, ...props }, ref) => {
12387
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("fieldset", { css: fieldsetContainer(Boolean(invert)), ref, disabled, ...props, children: [
12641
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("fieldset", { css: fieldsetContainer(Boolean(invert)), ref, disabled, ...props, children: [
12388
12642
  legend,
12389
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { css: fieldsetBody, children })
12643
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { css: fieldsetBody, children })
12390
12644
  ] });
12391
12645
  }
12392
12646
  );
@@ -12395,8 +12649,8 @@ var Fieldset = React12.forwardRef(
12395
12649
  var import_md3 = require("react-icons/md");
12396
12650
 
12397
12651
  // src/components/Input/styles/InfoMessage.styles.tsx
12398
- var import_react50 = require("@emotion/react");
12399
- var InfoText = import_react50.css`
12652
+ var import_react52 = require("@emotion/react");
12653
+ var InfoText = import_react52.css`
12400
12654
  --info-desc: rgb(29, 78, 216);
12401
12655
  --info-icon: rgb(96, 165, 250);
12402
12656
 
@@ -12405,15 +12659,15 @@ var InfoText = import_react50.css`
12405
12659
  display: flex;
12406
12660
  gap: var(--spacing-sm);
12407
12661
  `;
12408
- var InfoIcon2 = import_react50.css`
12662
+ var InfoIcon2 = import_react52.css`
12409
12663
  color: var(--info-icon);
12410
12664
  `;
12411
12665
 
12412
12666
  // src/components/Input/InfoMessage.tsx
12413
- var import_jsx_runtime43 = require("@emotion/react/jsx-runtime");
12667
+ var import_jsx_runtime45 = require("@emotion/react/jsx-runtime");
12414
12668
  var InfoMessage = ({ message, testId, ...props }) => {
12415
- return message ? /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("span", { role: "status", css: InfoText, "data-test-id": testId, ...props, children: [
12416
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Icon, { css: InfoIcon2, icon: import_md3.MdInfoOutline, size: "1rem", iconColor: "currentColor" }),
12669
+ return message ? /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("span", { role: "status", css: InfoText, "data-test-id": testId, ...props, children: [
12670
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Icon, { css: InfoIcon2, icon: import_md3.MdInfoOutline, size: "1rem", iconColor: "currentColor" }),
12417
12671
  message
12418
12672
  ] }) : null;
12419
12673
  };
@@ -12422,9 +12676,9 @@ var InfoMessage = ({ message, testId, ...props }) => {
12422
12676
  var React13 = __toESM(require("react"));
12423
12677
 
12424
12678
  // src/components/Input/Label.tsx
12425
- var import_jsx_runtime44 = require("@emotion/react/jsx-runtime");
12679
+ var import_jsx_runtime46 = require("@emotion/react/jsx-runtime");
12426
12680
  var Label = ({ children, className, testId, ...props }) => {
12427
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
12681
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
12428
12682
  "label",
12429
12683
  {
12430
12684
  css: [labelText, typeof className === "object" ? className : void 0],
@@ -12440,28 +12694,28 @@ var Label = ({ children, className, testId, ...props }) => {
12440
12694
  var import_md4 = require("react-icons/md");
12441
12695
 
12442
12696
  // src/components/Input/styles/WarningMessage.styles.tsx
12443
- var import_react51 = require("@emotion/react");
12444
- var WarningText = import_react51.css`
12697
+ var import_react53 = require("@emotion/react");
12698
+ var WarningText = import_react53.css`
12445
12699
  align-items: center;
12446
12700
  color: var(--alert-text);
12447
12701
  display: flex;
12448
12702
  gap: var(--spacing-sm);
12449
12703
  `;
12450
- var WarningIcon = import_react51.css`
12704
+ var WarningIcon = import_react53.css`
12451
12705
  color: var(--alert);
12452
12706
  `;
12453
12707
 
12454
12708
  // src/components/Input/WarningMessage.tsx
12455
- var import_jsx_runtime45 = require("@emotion/react/jsx-runtime");
12709
+ var import_jsx_runtime47 = require("@emotion/react/jsx-runtime");
12456
12710
  var WarningMessage = ({ message, testId, ...props }) => {
12457
- return message ? /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("span", { role: "status", css: WarningText, "data-test-id": testId, ...props, children: [
12458
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Icon, { css: WarningIcon, icon: import_md4.MdWarning, size: "1rem", iconColor: "currentColor" }),
12711
+ return message ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("span", { role: "status", css: WarningText, "data-test-id": testId, ...props, children: [
12712
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Icon, { css: WarningIcon, icon: import_md4.MdWarning, size: "1rem", iconColor: "currentColor" }),
12459
12713
  message
12460
12714
  ] }) : null;
12461
12715
  };
12462
12716
 
12463
12717
  // src/components/Input/Input.tsx
12464
- var import_jsx_runtime46 = require("@emotion/react/jsx-runtime");
12718
+ var import_jsx_runtime48 = require("@emotion/react/jsx-runtime");
12465
12719
  var Input = React13.forwardRef(
12466
12720
  ({
12467
12721
  label,
@@ -12480,8 +12734,8 @@ var Input = React13.forwardRef(
12480
12734
  classNameLabel,
12481
12735
  ...props
12482
12736
  }, ref) => {
12483
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { css: inputContainer, "data-test-id": containerTestId ? containerTestId : "container-input-field", children: [
12484
- showLabel ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
12737
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { css: inputContainer, "data-test-id": containerTestId ? containerTestId : "container-input-field", children: [
12738
+ showLabel ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
12485
12739
  Label,
12486
12740
  {
12487
12741
  htmlFor: id,
@@ -12491,13 +12745,13 @@ var Input = React13.forwardRef(
12491
12745
  children: label
12492
12746
  }
12493
12747
  ) : null,
12494
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
12748
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
12495
12749
  "div",
12496
12750
  {
12497
12751
  css: [inputContainer, typeof classNameContainer === "object" ? classNameContainer : void 0],
12498
12752
  className: typeof classNameContainer === "string" ? classNameContainer : "",
12499
12753
  children: [
12500
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
12754
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
12501
12755
  "input",
12502
12756
  {
12503
12757
  id,
@@ -12513,23 +12767,23 @@ var Input = React13.forwardRef(
12513
12767
  ref
12514
12768
  }
12515
12769
  ),
12516
- icon ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { css: inputIcon, children: icon }) : null
12770
+ icon ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { css: inputIcon, children: icon }) : null
12517
12771
  ]
12518
12772
  }
12519
12773
  ),
12520
- caption ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Caption, { testId: captionTestId, children: caption }) : null,
12521
- errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ErrorMessage, { message: errorMessage, testId: errorTestId }) : null,
12522
- warningMessage && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(WarningMessage, { message: warningMessage }) : null
12774
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Caption, { testId: captionTestId, children: caption }) : null,
12775
+ errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ErrorMessage, { message: errorMessage, testId: errorTestId }) : null,
12776
+ warningMessage && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(WarningMessage, { message: warningMessage }) : null
12523
12777
  ] });
12524
12778
  }
12525
12779
  );
12526
12780
 
12527
12781
  // src/components/Input/InputComboBox.tsx
12528
12782
  var import_react_select = __toESM(require("react-select"));
12529
- var import_jsx_runtime47 = require("@emotion/react/jsx-runtime");
12783
+ var import_jsx_runtime49 = require("@emotion/react/jsx-runtime");
12530
12784
  function InputComboBox(props) {
12531
12785
  var _a;
12532
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
12786
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
12533
12787
  import_react_select.default,
12534
12788
  {
12535
12789
  ...props,
@@ -12658,17 +12912,17 @@ function InputComboBox(props) {
12658
12912
  }
12659
12913
 
12660
12914
  // src/components/Input/InputInlineSelect.tsx
12661
- var import_react53 = require("@emotion/react");
12662
- var import_react54 = require("react");
12663
- var import_cg10 = require("react-icons/cg");
12915
+ var import_react55 = require("@emotion/react");
12916
+ var import_react56 = require("react");
12917
+ var import_cg11 = require("react-icons/cg");
12664
12918
 
12665
12919
  // src/components/Input/styles/InputInlineSelect.styles.ts
12666
- var import_react52 = require("@emotion/react");
12667
- var inlineSelectContainer = import_react52.css`
12920
+ var import_react54 = require("@emotion/react");
12921
+ var inlineSelectContainer = import_react54.css`
12668
12922
  margin-inline: auto;
12669
12923
  max-width: fit-content;
12670
12924
  `;
12671
- var inlineSelectBtn = import_react52.css`
12925
+ var inlineSelectBtn = import_react54.css`
12672
12926
  align-items: center;
12673
12927
  background: var(--brand-secondary-3);
12674
12928
  border: 2px solid var(--brand-secondary-3);
@@ -12692,7 +12946,7 @@ var inlineSelectBtn = import_react52.css`
12692
12946
  outline: 2px solid var(--brand-secondary-1);
12693
12947
  }
12694
12948
  `;
12695
- var inlineSelectMenu = import_react52.css`
12949
+ var inlineSelectMenu = import_react54.css`
12696
12950
  background: var(--white);
12697
12951
  border: 1px solid var(--brand-secondary-3);
12698
12952
  border-top: none;
@@ -12703,7 +12957,7 @@ var inlineSelectMenu = import_react52.css`
12703
12957
  inset: auto 0;
12704
12958
  transform: translateY(-0.2rem);
12705
12959
  `;
12706
- var inlineSelectBtnOptions = import_react52.css`
12960
+ var inlineSelectBtnOptions = import_react54.css`
12707
12961
  cursor: pointer;
12708
12962
  display: block;
12709
12963
  font-size: var(--fs-sm);
@@ -12719,7 +12973,7 @@ var inlineSelectBtnOptions = import_react52.css`
12719
12973
  background: var(--gray-50);
12720
12974
  }
12721
12975
  `;
12722
- var inlineSelectMenuClosed = import_react52.css`
12976
+ var inlineSelectMenuClosed = import_react54.css`
12723
12977
  position: absolute;
12724
12978
  overflow: hidden;
12725
12979
  height: 1px;
@@ -12729,7 +12983,7 @@ var inlineSelectMenuClosed = import_react52.css`
12729
12983
  `;
12730
12984
 
12731
12985
  // src/components/Input/InputInlineSelect.tsx
12732
- var import_jsx_runtime48 = require("@emotion/react/jsx-runtime");
12986
+ var import_jsx_runtime50 = require("@emotion/react/jsx-runtime");
12733
12987
  var InputInlineSelect = ({
12734
12988
  classNameContainer,
12735
12989
  options,
@@ -12739,21 +12993,21 @@ var InputInlineSelect = ({
12739
12993
  ...props
12740
12994
  }) => {
12741
12995
  var _a;
12742
- const [menuVisible, setMenuVisible] = (0, import_react54.useState)(false);
12743
- const divRef = (0, import_react54.useRef)(null);
12996
+ const [menuVisible, setMenuVisible] = (0, import_react56.useState)(false);
12997
+ const divRef = (0, import_react56.useRef)(null);
12744
12998
  useOutsideClick(divRef, () => setMenuVisible(false));
12745
12999
  const selected = options.find((option) => option.value === value);
12746
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
13000
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
12747
13001
  "div",
12748
13002
  {
12749
13003
  ref: divRef,
12750
- css: !classNameContainer ? inlineSelectContainer : import_react53.css`
13004
+ css: !classNameContainer ? inlineSelectContainer : import_react55.css`
12751
13005
  max-width: fit-content;
12752
13006
  ${typeof classNameContainer === "object" ? classNameContainer : void 0}
12753
13007
  `,
12754
13008
  className: typeof classNameContainer === "string" ? classNameContainer : "",
12755
13009
  children: [
12756
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
13010
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
12757
13011
  "button",
12758
13012
  {
12759
13013
  type: "button",
@@ -12767,18 +13021,18 @@ var InputInlineSelect = ({
12767
13021
  disabled,
12768
13022
  ...props,
12769
13023
  children: [
12770
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { children: (_a = selected == null ? void 0 : selected.label) != null ? _a : value }),
12771
- disabled ? null : /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Icon, { icon: import_cg10.CgChevronDown, iconColor: "currentColor", size: 24 })
13024
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { children: (_a = selected == null ? void 0 : selected.label) != null ? _a : value }),
13025
+ disabled ? null : /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Icon, { icon: import_cg11.CgChevronDown, iconColor: "currentColor", size: 24 })
12772
13026
  ]
12773
13027
  }
12774
13028
  ),
12775
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
13029
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
12776
13030
  "div",
12777
13031
  {
12778
13032
  id: `and-or-${props.id}`,
12779
13033
  css: [inlineSelectMenu, menuVisible ? void 0 : inlineSelectMenuClosed],
12780
13034
  "aria-hidden": !menuVisible,
12781
- children: options.map((opt) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
13035
+ children: options.map((opt) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
12782
13036
  "button",
12783
13037
  {
12784
13038
  type: "button",
@@ -12799,7 +13053,7 @@ var InputInlineSelect = ({
12799
13053
  };
12800
13054
 
12801
13055
  // src/components/Input/InputKeywordSearch.tsx
12802
- var import_jsx_runtime49 = require("@emotion/react/jsx-runtime");
13056
+ var import_jsx_runtime51 = require("@emotion/react/jsx-runtime");
12803
13057
  var InputKeywordSearch = ({
12804
13058
  onSearchTextChanged,
12805
13059
  disabled = false,
@@ -12818,7 +13072,7 @@ var InputKeywordSearch = ({
12818
13072
  e.preventDefault();
12819
13073
  }
12820
13074
  };
12821
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
13075
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
12822
13076
  Input,
12823
13077
  {
12824
13078
  type: "text",
@@ -12826,7 +13080,7 @@ var InputKeywordSearch = ({
12826
13080
  placeholder,
12827
13081
  showLabel: false,
12828
13082
  value,
12829
- icon: value ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("button", { css: inputSearchCloseBtn, onClick: onClear, type: "button", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Icon, { icon: "close", iconColor: "red", size: "1rem" }) }) : /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Icon, { icon: "search", iconColor: "gray", size: "1rem" }),
13083
+ icon: value ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("button", { css: inputSearchCloseBtn, onClick: onClear, type: "button", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon, { icon: "close", iconColor: "red", size: "1rem" }) }) : /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon, { icon: "search", iconColor: "gray", size: "1rem" }),
12830
13084
  onChange: handleSearchTextChanged,
12831
13085
  onKeyPress: preventSubmitOnField,
12832
13086
  disabled,
@@ -12837,7 +13091,7 @@ var InputKeywordSearch = ({
12837
13091
  };
12838
13092
 
12839
13093
  // src/components/Input/InputSelect.tsx
12840
- var import_jsx_runtime50 = require("@emotion/react/jsx-runtime");
13094
+ var import_jsx_runtime52 = require("@emotion/react/jsx-runtime");
12841
13095
  var InputSelect = ({
12842
13096
  label,
12843
13097
  defaultOption,
@@ -12853,13 +13107,13 @@ var InputSelect = ({
12853
13107
  classNameLabel,
12854
13108
  ...props
12855
13109
  }) => {
12856
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
13110
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
12857
13111
  "div",
12858
13112
  {
12859
13113
  css: [inputContainer, typeof classNameContainer === "object" ? classNameContainer : void 0],
12860
13114
  className: typeof classNameContainer === "string" ? classNameContainer : "",
12861
13115
  children: [
12862
- showLabel ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_jsx_runtime50.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
13116
+ showLabel ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_jsx_runtime52.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
12863
13117
  Label,
12864
13118
  {
12865
13119
  htmlFor: props.id,
@@ -12871,7 +13125,7 @@ var InputSelect = ({
12871
13125
  ]
12872
13126
  }
12873
13127
  ) }) : null,
12874
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
13128
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
12875
13129
  "select",
12876
13130
  {
12877
13131
  title: label,
@@ -12886,14 +13140,14 @@ var InputSelect = ({
12886
13140
  className: typeof classNameControl === "string" ? classNameControl : "",
12887
13141
  ...props,
12888
13142
  children: [
12889
- defaultOption ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("option", { value: "", children: defaultOption }) : null,
12890
- options.map((opt, index) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("option", { value: opt.label, ...opt }, index))
13143
+ defaultOption ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("option", { value: "", children: defaultOption }) : null,
13144
+ options.map((opt, index) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("option", { value: opt.label, ...opt }, index))
12891
13145
  ]
12892
13146
  }
12893
13147
  ),
12894
- caption ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Caption, { children: caption }) : null,
12895
- errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ErrorMessage, { message: errorMessage }) : null,
12896
- warningMessage && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(WarningMessage, { message: warningMessage }) : null
13148
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Caption, { children: caption }) : null,
13149
+ errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ErrorMessage, { message: errorMessage }) : null,
13150
+ warningMessage && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(WarningMessage, { message: warningMessage }) : null
12897
13151
  ]
12898
13152
  }
12899
13153
  );
@@ -12901,7 +13155,7 @@ var InputSelect = ({
12901
13155
 
12902
13156
  // src/components/Input/InputToggle.tsx
12903
13157
  var React14 = __toESM(require("react"));
12904
- var import_jsx_runtime51 = require("@emotion/react/jsx-runtime");
13158
+ var import_jsx_runtime53 = require("@emotion/react/jsx-runtime");
12905
13159
  var InputToggle = React14.forwardRef(
12906
13160
  ({
12907
13161
  label,
@@ -12916,8 +13170,8 @@ var InputToggle = React14.forwardRef(
12916
13170
  fontWeight = "medium",
12917
13171
  ...props
12918
13172
  }, ref) => {
12919
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(Label, { css: [inputToggleLabel, disabled ? inputDisabled : void 0], "data-test-id": testId, children: [
12920
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
13173
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(Label, { css: [inputToggleLabel, disabled ? inputDisabled : void 0], "data-test-id": testId, children: [
13174
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
12921
13175
  "input",
12922
13176
  {
12923
13177
  ref,
@@ -12929,24 +13183,24 @@ var InputToggle = React14.forwardRef(
12929
13183
  ...props
12930
13184
  }
12931
13185
  ),
12932
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { css: inlineLabel(fontWeight), dangerouslySetInnerHTML: { __html: label } }),
12933
- caption || errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("span", { css: inputToggleMessageContainer, children: [
12934
- caption ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Caption, { children: caption }) : null,
12935
- errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ErrorMessage, { message: errorMessage }) : null,
12936
- warningMessage && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(WarningMessage, { message: warningMessage }) : null
13186
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { css: inlineLabel(fontWeight), dangerouslySetInnerHTML: { __html: label } }),
13187
+ caption || errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("span", { css: inputToggleMessageContainer, children: [
13188
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Caption, { children: caption }) : null,
13189
+ errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ErrorMessage, { message: errorMessage }) : null,
13190
+ warningMessage && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(WarningMessage, { message: warningMessage }) : null
12937
13191
  ] }) : null
12938
13192
  ] });
12939
13193
  }
12940
13194
  );
12941
13195
 
12942
13196
  // src/components/Input/Legend.tsx
12943
- var import_jsx_runtime52 = require("@emotion/react/jsx-runtime");
13197
+ var import_jsx_runtime54 = require("@emotion/react/jsx-runtime");
12944
13198
  var Legend = ({ children }) => {
12945
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("legend", { css: fieldsetLegend, children });
13199
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("legend", { css: fieldsetLegend, children });
12946
13200
  };
12947
13201
 
12948
13202
  // src/components/Input/Textarea.tsx
12949
- var import_jsx_runtime53 = require("@emotion/react/jsx-runtime");
13203
+ var import_jsx_runtime55 = require("@emotion/react/jsx-runtime");
12950
13204
  var Textarea = ({
12951
13205
  label,
12952
13206
  icon,
@@ -12957,10 +13211,10 @@ var Textarea = ({
12957
13211
  warningMessage,
12958
13212
  ...props
12959
13213
  }) => {
12960
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
12961
- showLabel ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("label", { htmlFor: id, css: [labelText], children: label }) : null,
12962
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { css: [inputContainer], children: [
12963
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
13214
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx_runtime55.Fragment, { children: [
13215
+ showLabel ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("label", { htmlFor: id, css: [labelText], children: label }) : null,
13216
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { css: [inputContainer], children: [
13217
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
12964
13218
  "textarea",
12965
13219
  {
12966
13220
  id,
@@ -12969,17 +13223,17 @@ var Textarea = ({
12969
13223
  ...props
12970
13224
  }
12971
13225
  ),
12972
- icon ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { css: inputIcon, children: icon }) : null
13226
+ icon ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { css: inputIcon, children: icon }) : null
12973
13227
  ] }),
12974
- caption ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Caption, { children: caption }) : null,
12975
- errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ErrorMessage, { message: errorMessage }) : null,
12976
- warningMessage && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(WarningMessage, { message: warningMessage }) : null
13228
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Caption, { children: caption }) : null,
13229
+ errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ErrorMessage, { message: errorMessage }) : null,
13230
+ warningMessage && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(WarningMessage, { message: warningMessage }) : null
12977
13231
  ] });
12978
13232
  };
12979
13233
 
12980
13234
  // src/components/JsonEditor/JsonEditor.tsx
12981
- var import_react55 = __toESM(require("@monaco-editor/react"));
12982
- var import_jsx_runtime54 = require("@emotion/react/jsx-runtime");
13235
+ var import_react57 = __toESM(require("@monaco-editor/react"));
13236
+ var import_jsx_runtime56 = require("@emotion/react/jsx-runtime");
12983
13237
  var minEditorHeightPx = 150;
12984
13238
  var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
12985
13239
  let effectiveHeight = height;
@@ -12989,8 +13243,8 @@ var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
12989
13243
  if (typeof effectiveHeight === "number" && effectiveHeight < minEditorHeightPx) {
12990
13244
  effectiveHeight = minEditorHeightPx;
12991
13245
  }
12992
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
12993
- import_react55.default,
13246
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
13247
+ import_react57.default,
12994
13248
  {
12995
13249
  height: effectiveHeight,
12996
13250
  className: "uniform-json-editor",
@@ -13026,39 +13280,39 @@ var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
13026
13280
  };
13027
13281
 
13028
13282
  // src/components/LimitsBar/LimitsBar.styles.ts
13029
- var import_react56 = require("@emotion/react");
13030
- var LimitsBarContainer = import_react56.css`
13283
+ var import_react58 = require("@emotion/react");
13284
+ var LimitsBarContainer = import_react58.css`
13031
13285
  margin-block: var(--spacing-sm);
13032
13286
  `;
13033
- var LimitsBarProgressBar = import_react56.css`
13287
+ var LimitsBarProgressBar = import_react58.css`
13034
13288
  background: var(--gray-100);
13035
13289
  margin-top: var(--spacing-sm);
13036
13290
  position: relative;
13037
13291
  overflow: hidden;
13038
13292
  height: 0.25rem;
13039
13293
  `;
13040
- var LimitsBarProgressBarLine = import_react56.css`
13294
+ var LimitsBarProgressBarLine = import_react58.css`
13041
13295
  position: absolute;
13042
13296
  inset: 0;
13043
13297
  transition: transform var(--duration-fast) var(--timing-ease-out);
13044
13298
  `;
13045
- var LimitsBarLabelContainer = import_react56.css`
13299
+ var LimitsBarLabelContainer = import_react58.css`
13046
13300
  display: flex;
13047
13301
  justify-content: space-between;
13048
13302
  font-weight: var(--fw-bold);
13049
13303
  `;
13050
- var LimitsBarLabel = import_react56.css`
13304
+ var LimitsBarLabel = import_react58.css`
13051
13305
  font-size: var(--fs-baase);
13052
13306
  `;
13053
- var LimitsBarBgColor = (statusColor) => import_react56.css`
13307
+ var LimitsBarBgColor = (statusColor) => import_react58.css`
13054
13308
  background: ${statusColor};
13055
13309
  `;
13056
- var LimitsBarTextColor = (statusColor) => import_react56.css`
13310
+ var LimitsBarTextColor = (statusColor) => import_react58.css`
13057
13311
  color: ${statusColor};
13058
13312
  `;
13059
13313
 
13060
13314
  // src/components/LimitsBar/LimitsBar.tsx
13061
- var import_jsx_runtime55 = require("@emotion/react/jsx-runtime");
13315
+ var import_jsx_runtime57 = require("@emotion/react/jsx-runtime");
13062
13316
  var LimitsBar = ({ current, max, label }) => {
13063
13317
  const maxPercentage = 100;
13064
13318
  const progressBarValue = Math.ceil(current / max * maxPercentage);
@@ -13069,16 +13323,16 @@ var LimitsBar = ({ current, max, label }) => {
13069
13323
  danger: "var(--brand-secondary-5)"
13070
13324
  };
13071
13325
  const statusColor = progressBarValue === 100 ? colorMap.danger : progressBarValue >= 75 ? colorMap.warn : colorMap.base;
13072
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { css: LimitsBarContainer, children: [
13073
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { css: LimitsBarLabelContainer, children: [
13074
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { css: LimitsBarLabel, children: label }),
13075
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("span", { css: [LimitsBarLabel, LimitsBarTextColor(statusColor)], children: [
13326
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { css: LimitsBarContainer, children: [
13327
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { css: LimitsBarLabelContainer, children: [
13328
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { css: LimitsBarLabel, children: label }),
13329
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("span", { css: [LimitsBarLabel, LimitsBarTextColor(statusColor)], children: [
13076
13330
  current,
13077
13331
  " of ",
13078
13332
  max
13079
13333
  ] })
13080
13334
  ] }),
13081
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
13335
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
13082
13336
  "div",
13083
13337
  {
13084
13338
  role: "progressbar",
@@ -13087,7 +13341,7 @@ var LimitsBar = ({ current, max, label }) => {
13087
13341
  "aria-valuemax": max,
13088
13342
  "aria-valuetext": `${current} of ${max}`,
13089
13343
  css: LimitsBarProgressBar,
13090
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
13344
+ children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
13091
13345
  "span",
13092
13346
  {
13093
13347
  role: "presentation",
@@ -13103,8 +13357,8 @@ var LimitsBar = ({ current, max, label }) => {
13103
13357
  };
13104
13358
 
13105
13359
  // src/components/LinkList/LinkList.styles.ts
13106
- var import_react57 = require("@emotion/react");
13107
- var LinkListContainer = (padding) => import_react57.css`
13360
+ var import_react59 = require("@emotion/react");
13361
+ var LinkListContainer = (padding) => import_react59.css`
13108
13362
  padding: ${padding};
13109
13363
 
13110
13364
  ${mq("sm")} {
@@ -13114,23 +13368,23 @@ var LinkListContainer = (padding) => import_react57.css`
13114
13368
  `;
13115
13369
 
13116
13370
  // src/components/LinkList/LinkList.tsx
13117
- var import_jsx_runtime56 = require("@emotion/react/jsx-runtime");
13371
+ var import_jsx_runtime58 = require("@emotion/react/jsx-runtime");
13118
13372
  var LinkList = ({ title, padding = "var(--spacing-md)", children, ...props }) => {
13119
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { css: LinkListContainer(padding), ...props, children: [
13120
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Heading, { level: 3, children: title }),
13373
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { css: LinkListContainer(padding), ...props, children: [
13374
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Heading, { level: 3, children: title }),
13121
13375
  children
13122
13376
  ] });
13123
13377
  };
13124
13378
 
13125
13379
  // src/components/List/ScrollableList.tsx
13126
- var import_react59 = require("@emotion/react");
13380
+ var import_react61 = require("@emotion/react");
13127
13381
 
13128
13382
  // src/components/List/styles/ScrollableList.styles.ts
13129
- var import_react58 = require("@emotion/react");
13130
- var ScrollableListContainer = import_react58.css`
13383
+ var import_react60 = require("@emotion/react");
13384
+ var ScrollableListContainer = import_react60.css`
13131
13385
  position: relative;
13132
13386
  `;
13133
- var ScrollableListInner = import_react58.css`
13387
+ var ScrollableListInner = import_react60.css`
13134
13388
  background: var(--gray-50);
13135
13389
  border-top: 1px solid var(--gray-200);
13136
13390
  border-bottom: 1px solid var(--gray-200);
@@ -13148,41 +13402,43 @@ var ScrollableListInner = import_react58.css`
13148
13402
  `;
13149
13403
 
13150
13404
  // src/components/List/ScrollableList.tsx
13151
- var import_jsx_runtime57 = require("@emotion/react/jsx-runtime");
13405
+ var import_jsx_runtime59 = require("@emotion/react/jsx-runtime");
13152
13406
  var ScrollableList = ({ label, children, ...props }) => {
13153
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { css: [ScrollableListContainer, scrollbarStyles], ...props, children: [
13154
- label ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
13407
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { css: [ScrollableListContainer, scrollbarStyles], ...props, children: [
13408
+ label ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
13155
13409
  "span",
13156
13410
  {
13157
- css: import_react59.css`
13411
+ css: import_react61.css`
13158
13412
  ${labelText}
13159
13413
  `,
13160
13414
  children: label
13161
13415
  }
13162
13416
  ) : null,
13163
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { css: [ScrollableListInner, scrollbarStyles], children })
13417
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { css: [ScrollableListInner, scrollbarStyles], children })
13164
13418
  ] });
13165
13419
  };
13166
13420
 
13167
13421
  // src/components/List/ScrollableListInputItem.tsx
13168
- var import_cg11 = require("react-icons/cg");
13422
+ var import_cg12 = require("react-icons/cg");
13169
13423
 
13170
13424
  // src/components/List/styles/ScrollableListItem.styles.ts
13171
- var import_react60 = require("@emotion/react");
13172
- var ScrollableListItemContainer = import_react60.css`
13425
+ var import_react62 = require("@emotion/react");
13426
+ var ScrollableListItemContainer = import_react62.css`
13173
13427
  align-items: center;
13174
13428
  background: var(--white);
13175
13429
  border-radius: var(--rounded-base);
13176
- box-shadow: var(--shadow-base);
13177
13430
  border: 2px solid var(--gray-200);
13178
13431
  display: flex;
13179
13432
  min-height: 52px;
13180
13433
  transition: border-color var(--duration-fast) var(--timing-ease-out);
13181
13434
  `;
13182
- var ScrollableListItemActive = import_react60.css`
13435
+ var ScrollableListItemShadow = import_react62.css`
13436
+ box-shadow: var(--shadow-base);
13437
+ `;
13438
+ var ScrollableListItemActive = import_react62.css`
13183
13439
  border-color: var(--brand-secondary-3);
13184
13440
  `;
13185
- var ScrollableListItemBtn = import_react60.css`
13441
+ var ScrollableListItemBtn = import_react62.css`
13186
13442
  align-items: center;
13187
13443
  border: none;
13188
13444
  background: transparent;
@@ -13197,90 +13453,116 @@ var ScrollableListItemBtn = import_react60.css`
13197
13453
  outline: none;
13198
13454
  }
13199
13455
  `;
13200
- var ScrollableListInputLabel = import_react60.css`
13456
+ var ScrollableListInputLabel = import_react62.css`
13201
13457
  align-items: center;
13458
+ cursor: pointer;
13202
13459
  display: flex;
13203
13460
  padding: var(--spacing-xs) var(--spacing-base) var(--spacing-xs);
13204
13461
  flex-grow: 1;
13205
13462
  `;
13206
- var ScrollableListInputText = import_react60.css`
13463
+ var ScrollableListInputText = import_react62.css`
13207
13464
  align-items: center;
13208
13465
  display: flex;
13209
13466
  gap: var(--spacing-sm);
13210
- font-weight: var(--fw-bold);
13211
13467
  flex-grow: 1;
13468
+ flex-wrap: wrap;
13212
13469
  `;
13213
- var ScrollableListHiddenInput = import_react60.css`
13470
+ var ScrollableListHiddenInput = import_react62.css`
13214
13471
  position: absolute;
13215
13472
  height: 0;
13216
13473
  width: 0;
13217
13474
  opacity: 0;
13218
13475
  `;
13219
- var ScrollableListIcon = import_react60.css`
13476
+ var ScrollableListIcon = import_react62.css`
13220
13477
  border-radius: var(--rounded-full);
13221
13478
  background: var(--brand-secondary-3);
13222
13479
  color: var(--white);
13223
13480
  transition: opacity var(--duration-fast) var(--timing-ease-out);
13481
+ min-width: 24px;
13482
+ opacity: 0;
13483
+ `;
13484
+ var ScrollableListIconVisible = import_react62.css`
13224
13485
  animation: ${fadeInBottom} var(--duration-fast) var(--timing-ease-out) forwards;
13225
13486
  `;
13226
13487
 
13227
13488
  // src/components/List/ScrollableListInputItem.tsx
13228
- var import_jsx_runtime58 = require("@emotion/react/jsx-runtime");
13489
+ var import_jsx_runtime60 = require("@emotion/react/jsx-runtime");
13229
13490
  var ScrollableListInputItem = ({
13230
13491
  label,
13231
13492
  icon,
13232
13493
  active,
13494
+ disableShadow = false,
13233
13495
  children,
13234
- labelTestId
13496
+ labelTestId,
13497
+ ...props
13235
13498
  }) => {
13236
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { css: [ScrollableListItemContainer, active ? ScrollableListItemActive : void 0], children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("label", { "data-test-id": labelTestId, css: ScrollableListInputLabel, children: [
13237
- /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("span", { css: ScrollableListInputText, children: [
13238
- icon,
13239
- label
13240
- ] }),
13241
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { css: ScrollableListHiddenInput, children }),
13242
- active ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { icon: import_cg11.CgCheck, iconColor: "currentColor", css: ScrollableListIcon, size: 24 }) : null
13243
- ] }) });
13499
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
13500
+ "div",
13501
+ {
13502
+ css: [
13503
+ ScrollableListItemContainer,
13504
+ disableShadow ? void 0 : ScrollableListItemShadow,
13505
+ active ? ScrollableListItemActive : void 0
13506
+ ],
13507
+ ...props,
13508
+ children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("label", { "data-test-id": labelTestId, css: ScrollableListInputLabel, children: [
13509
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("span", { css: ScrollableListInputText, children: [
13510
+ icon,
13511
+ label
13512
+ ] }),
13513
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { css: ScrollableListHiddenInput, children }),
13514
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
13515
+ Icon,
13516
+ {
13517
+ icon: import_cg12.CgCheck,
13518
+ iconColor: "currentColor",
13519
+ css: [ScrollableListIcon, active ? ScrollableListIconVisible : void 0],
13520
+ size: 24,
13521
+ "data-test-id": "check-mark",
13522
+ "data-test-active": active
13523
+ }
13524
+ )
13525
+ ] })
13526
+ }
13527
+ );
13244
13528
  };
13245
13529
 
13246
13530
  // src/components/List/ScrollableListItem.tsx
13247
- var import_react61 = require("@emotion/react");
13248
- var import_jsx_runtime59 = require("@emotion/react/jsx-runtime");
13249
- var ScrollableListItem = ({ buttonText, active, ...props }) => {
13250
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { css: [ScrollableListItemContainer, active ? ScrollableListItemActive : void 0], children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
13251
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { children: buttonText }),
13252
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
13253
- "svg",
13254
- {
13255
- width: "24",
13256
- height: "24",
13257
- viewBox: "0 0 40 40",
13258
- fill: "currentColor",
13259
- xmlns: "http://www.w3.org/2000/svg",
13260
- "aria-hidden": !active,
13261
- css: import_react61.css`
13262
- color: var(--brand-secondary-3);
13263
- transition: opacity var(--duration-fast) var(--timing-ease-out);
13264
- ${active ? import_react61.css`
13265
- animation: ${fadeInBottom} var(--duration-fast) var(--timing-ease-out) forwards;
13266
- ` : "opacity: 0;"}
13267
- `,
13268
- children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
13269
- "path",
13531
+ var import_cg13 = require("react-icons/cg");
13532
+ var import_jsx_runtime61 = require("@emotion/react/jsx-runtime");
13533
+ var ScrollableListItem = ({
13534
+ buttonText,
13535
+ active,
13536
+ disableShadow,
13537
+ ...props
13538
+ }) => {
13539
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
13540
+ "div",
13541
+ {
13542
+ css: [
13543
+ ScrollableListItemContainer,
13544
+ disableShadow ? void 0 : ScrollableListItemShadow,
13545
+ active ? ScrollableListItemActive : void 0
13546
+ ],
13547
+ children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
13548
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { children: buttonText }),
13549
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
13550
+ Icon,
13270
13551
  {
13271
- fillRule: "evenodd",
13272
- clipRule: "evenodd",
13273
- d: "M20 39.2A19.2 19.2 0 1 0 20 .8a19.2 19.2 0 0 0 0 38.4Zm8.897-22.303a2.4 2.4 0 0 0-3.394-3.394L17.6 21.407l-3.103-3.104a2.4 2.4 0 0 0-3.394 3.394l4.8 4.8a2.4 2.4 0 0 0 3.394 0l9.6-9.6Z"
13552
+ icon: import_cg13.CgCheck,
13553
+ iconColor: "currentColor",
13554
+ css: [ScrollableListIcon, active ? ScrollableListIconVisible : void 0],
13555
+ size: 24
13274
13556
  }
13275
13557
  )
13276
- }
13277
- )
13278
- ] }) });
13558
+ ] })
13559
+ }
13560
+ );
13279
13561
  };
13280
13562
 
13281
13563
  // src/components/LoadingIndicator/LoadingIndicator.styles.ts
13282
- var import_react62 = require("@emotion/react");
13283
- var bounceFade = import_react62.keyframes`
13564
+ var import_react63 = require("@emotion/react");
13565
+ var bounceFade = import_react63.keyframes`
13284
13566
  0%, 100% {
13285
13567
  opacity: 1.0;
13286
13568
  transform: translateY(0);
@@ -13297,11 +13579,11 @@ var bounceFade = import_react62.keyframes`
13297
13579
  transform: translateY(-5px);
13298
13580
  }
13299
13581
  `;
13300
- var loader = import_react62.css`
13582
+ var loader = import_react63.css`
13301
13583
  display: inline-flex;
13302
13584
  justify-content: center;
13303
13585
  `;
13304
- var loadingDot = import_react62.css`
13586
+ var loadingDot = import_react63.css`
13305
13587
  background-color: var(--gray-700);
13306
13588
  display: block;
13307
13589
  border-radius: var(--rounded-full);
@@ -13325,21 +13607,21 @@ var loadingDot = import_react62.css`
13325
13607
  `;
13326
13608
 
13327
13609
  // src/components/LoadingIndicator/LoadingIndicator.tsx
13328
- var import_jsx_runtime60 = require("@emotion/react/jsx-runtime");
13610
+ var import_jsx_runtime62 = require("@emotion/react/jsx-runtime");
13329
13611
  var LoadingIndicator = ({ ...props }) => {
13330
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { role: "alert", css: loader, "data-test-id": "loading-indicator", ...props, children: [
13331
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { css: loadingDot }),
13332
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { css: loadingDot }),
13333
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { css: loadingDot })
13612
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { role: "alert", css: loader, "data-test-id": "loading-indicator", ...props, children: [
13613
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { css: loadingDot }),
13614
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { css: loadingDot }),
13615
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { css: loadingDot })
13334
13616
  ] });
13335
13617
  };
13336
13618
 
13337
13619
  // src/components/LoadingOverlay/LoadingOverlay.tsx
13338
- var import_react64 = require("react");
13620
+ var import_react65 = require("react");
13339
13621
 
13340
13622
  // src/components/LoadingOverlay/LoadingOverlay.styles.ts
13341
- var import_react63 = require("@emotion/react");
13342
- var loadingOverlayContainer = import_react63.css`
13623
+ var import_react64 = require("@emotion/react");
13624
+ var loadingOverlayContainer = import_react64.css`
13343
13625
  position: absolute;
13344
13626
  inset: 0;
13345
13627
  overflow: hidden;
@@ -13347,30 +13629,30 @@ var loadingOverlayContainer = import_react63.css`
13347
13629
  padding: var(--spacing-xl);
13348
13630
  overflow-y: auto;
13349
13631
  `;
13350
- var loadingOverlayVisible = import_react63.css`
13632
+ var loadingOverlayVisible = import_react64.css`
13351
13633
  display: flex;
13352
13634
  `;
13353
- var loadingOverlayHidden = import_react63.css`
13635
+ var loadingOverlayHidden = import_react64.css`
13354
13636
  display: none;
13355
13637
  `;
13356
- var loadingOverlayBackground = (bgColor) => import_react63.css`
13638
+ var loadingOverlayBackground = (bgColor) => import_react64.css`
13357
13639
  background: ${bgColor};
13358
13640
  opacity: 0.92;
13359
13641
  position: absolute;
13360
13642
  inset: 0 0;
13361
13643
  `;
13362
- var loadingOverlayBody = import_react63.css`
13644
+ var loadingOverlayBody = import_react64.css`
13363
13645
  align-items: center;
13364
13646
  display: flex;
13365
13647
  flex-direction: column;
13366
13648
  `;
13367
- var loadingOverlayMessage = import_react63.css`
13649
+ var loadingOverlayMessage = import_react64.css`
13368
13650
  color: var(--gray-600);
13369
13651
  margin: var(--spacing-base) 0 0;
13370
13652
  `;
13371
13653
 
13372
13654
  // src/components/LoadingOverlay/LoadingOverlay.tsx
13373
- var import_jsx_runtime61 = require("@emotion/react/jsx-runtime");
13655
+ var import_jsx_runtime63 = require("@emotion/react/jsx-runtime");
13374
13656
  var LoadingOverlay = ({
13375
13657
  isActive,
13376
13658
  statusMessage,
@@ -13381,14 +13663,14 @@ var LoadingOverlay = ({
13381
13663
  isPaused = false,
13382
13664
  children
13383
13665
  }) => {
13384
- const lottieRef = (0, import_react64.useRef)(null);
13385
- const onLoopComplete = (0, import_react64.useCallback)(() => {
13666
+ const lottieRef = (0, import_react65.useRef)(null);
13667
+ const onLoopComplete = (0, import_react65.useCallback)(() => {
13386
13668
  var _a, _b, _c;
13387
13669
  if (isPaused && !((_b = (_a = lottieRef.current) == null ? void 0 : _a.animationItem) == null ? void 0 : _b.isPaused)) {
13388
13670
  (_c = lottieRef.current) == null ? void 0 : _c.stop();
13389
13671
  }
13390
13672
  }, [isPaused]);
13391
- (0, import_react64.useEffect)(() => {
13673
+ (0, import_react65.useEffect)(() => {
13392
13674
  var _a, _b, _c, _d, _e, _f;
13393
13675
  if (!isPaused && ((_b = (_a = lottieRef.current) == null ? void 0 : _a.animationItem) == null ? void 0 : _b.isPaused)) {
13394
13676
  (_c = lottieRef.current) == null ? void 0 : _c.play();
@@ -13396,7 +13678,7 @@ var LoadingOverlay = ({
13396
13678
  (_f = lottieRef.current) == null ? void 0 : _f.stop();
13397
13679
  }
13398
13680
  }, [isPaused]);
13399
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
13681
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
13400
13682
  "div",
13401
13683
  {
13402
13684
  role: "alert",
@@ -13404,9 +13686,9 @@ var LoadingOverlay = ({
13404
13686
  "aria-hidden": !isActive,
13405
13687
  "aria-busy": isActive && !isPaused,
13406
13688
  children: [
13407
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
13408
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { css: loadingOverlayBody, children: [
13409
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
13689
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
13690
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { css: loadingOverlayBody, children: [
13691
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
13410
13692
  AnimationFile,
13411
13693
  {
13412
13694
  lottieRef,
@@ -13421,15 +13703,15 @@ var LoadingOverlay = ({
13421
13703
  }
13422
13704
  }
13423
13705
  ),
13424
- statusMessage ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { css: loadingOverlayMessage, children: statusMessage }) : null,
13425
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { css: { width: "100%", marginTop: "var(--spacing-md)" }, children })
13706
+ statusMessage ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { css: loadingOverlayMessage, children: statusMessage }) : null,
13707
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { css: { width: "100%", marginTop: "var(--spacing-md)" }, children })
13426
13708
  ] }) })
13427
13709
  ]
13428
13710
  }
13429
13711
  );
13430
13712
  };
13431
13713
  var LoadingIcon = ({ height, width, ...props }) => {
13432
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
13714
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
13433
13715
  "svg",
13434
13716
  {
13435
13717
  "data-testid": "svg",
@@ -13440,9 +13722,9 @@ var LoadingIcon = ({ height, width, ...props }) => {
13440
13722
  stroke: "currentColor",
13441
13723
  ...props,
13442
13724
  "data-test-id": "loading-icon",
13443
- children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
13444
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
13445
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
13725
+ children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
13726
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
13727
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
13446
13728
  "animateTransform",
13447
13729
  {
13448
13730
  attributeName: "transform",
@@ -13459,12 +13741,12 @@ var LoadingIcon = ({ height, width, ...props }) => {
13459
13741
  };
13460
13742
 
13461
13743
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
13462
- var import_react66 = require("@emotion/react");
13463
- var import_cg12 = require("react-icons/cg");
13744
+ var import_react67 = require("@emotion/react");
13745
+ var import_cg14 = require("react-icons/cg");
13464
13746
 
13465
13747
  // src/components/Tiles/styles/IntegrationTile.styles.ts
13466
- var import_react65 = require("@emotion/react");
13467
- var IntegrationTileContainer = import_react65.css`
13748
+ var import_react66 = require("@emotion/react");
13749
+ var IntegrationTileContainer = import_react66.css`
13468
13750
  align-items: center;
13469
13751
  box-sizing: border-box;
13470
13752
  border-radius: var(--rounded-base);
@@ -13495,22 +13777,22 @@ var IntegrationTileContainer = import_react65.css`
13495
13777
  }
13496
13778
  }
13497
13779
  `;
13498
- var IntegrationTileBtnDashedBorder = import_react65.css`
13780
+ var IntegrationTileBtnDashedBorder = import_react66.css`
13499
13781
  border: 1px dashed var(--brand-secondary-1);
13500
13782
  `;
13501
- var IntegrationTileTitle = import_react65.css`
13783
+ var IntegrationTileTitle = import_react66.css`
13502
13784
  display: block;
13503
13785
  font-weight: var(--fw-bold);
13504
13786
  margin: 0 0 var(--spacing-base);
13505
13787
  max-width: 13rem;
13506
13788
  `;
13507
- var IntegrationTitleLogo = import_react65.css`
13789
+ var IntegrationTitleLogo = import_react66.css`
13508
13790
  display: block;
13509
13791
  max-width: 10rem;
13510
13792
  max-height: 4rem;
13511
13793
  margin: 0 auto;
13512
13794
  `;
13513
- var IntegrationTileName = import_react65.css`
13795
+ var IntegrationTileName = import_react66.css`
13514
13796
  color: var(--gray-500);
13515
13797
  display: -webkit-box;
13516
13798
  -webkit-line-clamp: 1;
@@ -13523,7 +13805,7 @@ var IntegrationTileName = import_react65.css`
13523
13805
  position: absolute;
13524
13806
  bottom: calc(var(--spacing-base) * 3.8);
13525
13807
  `;
13526
- var IntegrationAddedText = import_react65.css`
13808
+ var IntegrationAddedText = import_react66.css`
13527
13809
  align-items: center;
13528
13810
  background: var(--brand-secondary-3);
13529
13811
  border-radius: 0 var(--rounded-md) 0 var(--rounded-md);
@@ -13538,7 +13820,7 @@ var IntegrationAddedText = import_react65.css`
13538
13820
  top: 0;
13539
13821
  right: 0;
13540
13822
  `;
13541
- var IntegrationCustomBadgeText = (theme) => import_react65.css`
13823
+ var IntegrationCustomBadgeText = (theme) => import_react66.css`
13542
13824
  align-items: center;
13543
13825
  border-radius: var(--rounded-sm) 0 var(--rounded-sm) 0;
13544
13826
  background: ${theme === "gray" ? "var(--brand-secondary-2)" : "var(--brand-secondary-1)"};
@@ -13552,26 +13834,26 @@ var IntegrationCustomBadgeText = (theme) => import_react65.css`
13552
13834
  top: 0;
13553
13835
  left: 0;
13554
13836
  `;
13555
- var IntegrationAuthorBadgeIcon = import_react65.css`
13837
+ var IntegrationAuthorBadgeIcon = import_react66.css`
13556
13838
  position: absolute;
13557
13839
  bottom: var(--spacing-sm);
13558
13840
  right: var(--spacing-xs);
13559
13841
  max-height: 1rem;
13560
13842
  `;
13561
- var IntegrationTitleFakeButton = import_react65.css`
13843
+ var IntegrationTitleFakeButton = import_react66.css`
13562
13844
  font-size: var(--fs-xs);
13563
13845
  gap: var(--spacing-sm);
13564
13846
  padding: var(--spacing-sm) var(--spacing-base);
13565
13847
  text-transform: uppercase;
13566
13848
  `;
13567
- var IntegrationTileFloatingButton = import_react65.css`
13849
+ var IntegrationTileFloatingButton = import_react66.css`
13568
13850
  position: absolute;
13569
13851
  bottom: var(--spacing-base);
13570
13852
  gap: var(--spacing-sm);
13571
13853
  font-size: var(--fs-xs);
13572
13854
  overflow: hidden;
13573
13855
  `;
13574
- var IntegrationTileFloatingButtonMessage = (clicked) => import_react65.css`
13856
+ var IntegrationTileFloatingButtonMessage = (clicked) => import_react66.css`
13575
13857
  strong,
13576
13858
  span:first-of-type {
13577
13859
  transition: opacity var(--duration-fast) var(--timing-ease-out);
@@ -13592,7 +13874,7 @@ var IntegrationTileFloatingButtonMessage = (clicked) => import_react65.css`
13592
13874
  `;
13593
13875
 
13594
13876
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
13595
- var import_jsx_runtime62 = require("@emotion/react/jsx-runtime");
13877
+ var import_jsx_runtime64 = require("@emotion/react/jsx-runtime");
13596
13878
  var CreateTeamIntegrationTile = ({
13597
13879
  title = "Create a custom integration for your team",
13598
13880
  buttonText = "Add Integration",
@@ -13600,9 +13882,9 @@ var CreateTeamIntegrationTile = ({
13600
13882
  asDeepLink = false,
13601
13883
  ...props
13602
13884
  }) => {
13603
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
13604
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { css: IntegrationTileTitle, title, children: title }),
13605
- /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
13885
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
13886
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { css: IntegrationTileTitle, title, children: title }),
13887
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
13606
13888
  Button,
13607
13889
  {
13608
13890
  buttonType: "tertiary",
@@ -13612,23 +13894,23 @@ var CreateTeamIntegrationTile = ({
13612
13894
  css: IntegrationTitleFakeButton,
13613
13895
  children: [
13614
13896
  buttonText,
13615
- asDeepLink ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
13897
+ asDeepLink ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
13616
13898
  Icon,
13617
13899
  {
13618
- icon: import_cg12.CgChevronRight,
13900
+ icon: import_cg14.CgChevronRight,
13619
13901
  iconColor: "currentColor",
13620
13902
  size: 20,
13621
- css: import_react66.css`
13903
+ css: import_react67.css`
13622
13904
  order: 1;
13623
13905
  `
13624
13906
  }
13625
- ) : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
13907
+ ) : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
13626
13908
  Icon,
13627
13909
  {
13628
- icon: import_cg12.CgAdd,
13910
+ icon: import_cg14.CgAdd,
13629
13911
  iconColor: "currentColor",
13630
13912
  size: 16,
13631
- css: import_react66.css`
13913
+ css: import_react67.css`
13632
13914
  order: -1;
13633
13915
  `
13634
13916
  }
@@ -13640,32 +13922,32 @@ var CreateTeamIntegrationTile = ({
13640
13922
  };
13641
13923
 
13642
13924
  // src/components/Tiles/IntegrationBadges.tsx
13643
- var import_cg13 = require("react-icons/cg");
13644
- var import_jsx_runtime63 = require("@emotion/react/jsx-runtime");
13925
+ var import_cg15 = require("react-icons/cg");
13926
+ var import_jsx_runtime65 = require("@emotion/react/jsx-runtime");
13645
13927
  var IntegrationedAddedBadge = ({ text = "Added" }) => {
13646
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("span", { "data-testid": "integration-icon-installed", css: IntegrationAddedText, children: [
13647
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Icon, { icon: import_cg13.CgCheck, iconColor: "currentColor" }),
13928
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("span", { "data-testid": "integration-icon-installed", css: IntegrationAddedText, children: [
13929
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Icon, { icon: import_cg15.CgCheck, iconColor: "currentColor" }),
13648
13930
  text
13649
13931
  ] });
13650
13932
  };
13651
13933
  var IntegrationCustomBadge = ({ text = "Custom" }) => {
13652
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
13934
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
13653
13935
  };
13654
13936
  var IntegrationPremiumBadge = ({ text = "Premium" }) => {
13655
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("span", { css: IntegrationCustomBadgeText("blue"), children: [
13656
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Icon, { icon: import_cg13.CgLock, iconColor: "currentColor", size: 12 }),
13937
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("span", { css: IntegrationCustomBadgeText("blue"), children: [
13938
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Icon, { icon: import_cg15.CgLock, iconColor: "currentColor", size: 12 }),
13657
13939
  text
13658
13940
  ] });
13659
13941
  };
13660
13942
  var IntegrationComingSoonBadge = ({ text = "Coming soon" }) => {
13661
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("span", { css: IntegrationCustomBadgeText("blue"), children: [
13662
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Icon, { icon: import_cg13.CgSandClock, iconColor: "currentColor", size: 12 }),
13943
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("span", { css: IntegrationCustomBadgeText("blue"), children: [
13944
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Icon, { icon: import_cg15.CgSandClock, iconColor: "currentColor", size: 12 }),
13663
13945
  text
13664
13946
  ] });
13665
13947
  };
13666
13948
 
13667
13949
  // src/components/Tiles/ResolveIcon.tsx
13668
- var import_jsx_runtime64 = require("@emotion/react/jsx-runtime");
13950
+ var import_jsx_runtime66 = require("@emotion/react/jsx-runtime");
13669
13951
  var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
13670
13952
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
13671
13953
  const mapClassName = {
@@ -13673,13 +13955,13 @@ var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
13673
13955
  logo: IntegrationTitleLogo
13674
13956
  };
13675
13957
  if (icon) {
13676
- return CompIcon ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
13958
+ return CompIcon ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
13677
13959
  }
13678
13960
  return null;
13679
13961
  };
13680
13962
 
13681
13963
  // src/components/Tiles/EditTeamIntegrationTile.tsx
13682
- var import_jsx_runtime65 = require("@emotion/react/jsx-runtime");
13964
+ var import_jsx_runtime67 = require("@emotion/react/jsx-runtime");
13683
13965
  var EditTeamIntegrationTile = ({
13684
13966
  id,
13685
13967
  icon,
@@ -13688,17 +13970,17 @@ var EditTeamIntegrationTile = ({
13688
13970
  isPublic,
13689
13971
  canEdit = false
13690
13972
  }) => {
13691
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
13973
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
13692
13974
  "div",
13693
13975
  {
13694
13976
  css: IntegrationTileContainer,
13695
13977
  "data-testid": "configure-integration-container",
13696
13978
  "integration-id": `${id.toLocaleLowerCase()}`,
13697
13979
  children: [
13698
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ResolveIcon, { icon, name, "data-test-id": "integration-logo" }),
13699
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { css: IntegrationTileName, "data-test-id": "integration-card-name", children: name }),
13700
- !isPublic ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(IntegrationCustomBadge, {}) : null,
13701
- canEdit ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
13980
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(ResolveIcon, { icon, name, "data-test-id": "integration-logo" }),
13981
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { css: IntegrationTileName, "data-test-id": "integration-card-name", children: name }),
13982
+ !isPublic ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(IntegrationCustomBadge, {}) : null,
13983
+ canEdit ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
13702
13984
  Button,
13703
13985
  {
13704
13986
  buttonType: "unimportant",
@@ -13716,10 +13998,10 @@ var EditTeamIntegrationTile = ({
13716
13998
  };
13717
13999
 
13718
14000
  // src/components/Tiles/IntegrationComingSoon.tsx
13719
- var import_react67 = require("@emotion/react");
13720
- var import_react68 = require("react");
13721
- var import_cg14 = require("react-icons/cg");
13722
- var import_jsx_runtime66 = require("@emotion/react/jsx-runtime");
14001
+ var import_react68 = require("@emotion/react");
14002
+ var import_react69 = require("react");
14003
+ var import_cg16 = require("react-icons/cg");
14004
+ var import_jsx_runtime68 = require("@emotion/react/jsx-runtime");
13723
14005
  var IntegrationComingSoon = ({
13724
14006
  name,
13725
14007
  icon,
@@ -13728,12 +14010,12 @@ var IntegrationComingSoon = ({
13728
14010
  timing = 1e3,
13729
14011
  ...props
13730
14012
  }) => {
13731
- const [upVote, setUpVote] = (0, import_react68.useState)(false);
14013
+ const [upVote, setUpVote] = (0, import_react69.useState)(false);
13732
14014
  const handleUpVoteInteraction = () => {
13733
14015
  setUpVote((prev) => !prev);
13734
14016
  onUpVoteClick();
13735
14017
  };
13736
- (0, import_react68.useEffect)(() => {
14018
+ (0, import_react69.useEffect)(() => {
13737
14019
  if (upVote) {
13738
14020
  const timer = setTimeout(() => setUpVote(false), timing);
13739
14021
  return () => {
@@ -13741,17 +14023,17 @@ var IntegrationComingSoon = ({
13741
14023
  };
13742
14024
  }
13743
14025
  }, [upVote, setUpVote, timing]);
13744
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
14026
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
13745
14027
  "div",
13746
14028
  {
13747
14029
  css: IntegrationTileContainer,
13748
14030
  "data-testid": `coming-soon-${id.toLowerCase()}-integration`,
13749
14031
  ...props,
13750
14032
  children: [
13751
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(IntegrationComingSoonBadge, {}),
13752
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(ResolveIcon, { icon, name }),
13753
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { css: IntegrationTileName, title: name, children: name }),
13754
- /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
14033
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(IntegrationComingSoonBadge, {}),
14034
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(ResolveIcon, { icon, name }),
14035
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { css: IntegrationTileName, title: name, children: name }),
14036
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
13755
14037
  Button,
13756
14038
  {
13757
14039
  buttonType: "unimportant",
@@ -13761,19 +14043,19 @@ var IntegrationComingSoon = ({
13761
14043
  role: "link",
13762
14044
  css: [IntegrationTileFloatingButton, IntegrationTileFloatingButtonMessage(upVote)],
13763
14045
  children: [
13764
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("strong", { children: "+1" }),
13765
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
14046
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("strong", { children: "+1" }),
14047
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
13766
14048
  "span",
13767
14049
  {
13768
- css: import_react67.css`
14050
+ css: import_react68.css`
13769
14051
  text-transform: uppercase;
13770
14052
  color: var(--gray-500);
13771
14053
  `,
13772
14054
  children: "(I want this)"
13773
14055
  }
13774
14056
  ),
13775
- /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("span", { "aria-hidden": !upVote, children: [
13776
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Icon, { icon: import_cg14.CgHeart, iconColor: "currentColor", size: 18 }),
14057
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("span", { "aria-hidden": !upVote, children: [
14058
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Icon, { icon: import_cg16.CgHeart, iconColor: "currentColor", size: 18 }),
13777
14059
  "Thanks!"
13778
14060
  ] })
13779
14061
  ]
@@ -13785,8 +14067,8 @@ var IntegrationComingSoon = ({
13785
14067
  };
13786
14068
 
13787
14069
  // src/components/Tiles/styles/IntegrationLoadingTile.styles.ts
13788
- var import_react69 = require("@emotion/react");
13789
- var IntegrationLoadingTileContainer = import_react69.css`
14070
+ var import_react70 = require("@emotion/react");
14071
+ var IntegrationLoadingTileContainer = import_react70.css`
13790
14072
  align-items: center;
13791
14073
  box-sizing: border-box;
13792
14074
  border-radius: var(--rounded-base);
@@ -13813,39 +14095,39 @@ var IntegrationLoadingTileContainer = import_react69.css`
13813
14095
  }
13814
14096
  }
13815
14097
  `;
13816
- var IntegrationLoadingTileImg = import_react69.css`
14098
+ var IntegrationLoadingTileImg = import_react70.css`
13817
14099
  width: 10rem;
13818
14100
  height: 4rem;
13819
14101
  margin: 0 auto;
13820
14102
  `;
13821
- var IntegrationLoadingTileText = import_react69.css`
14103
+ var IntegrationLoadingTileText = import_react70.css`
13822
14104
  width: 5rem;
13823
14105
  height: var(--spacing-sm);
13824
14106
  margin: var(--spacing-sm) 0;
13825
14107
  `;
13826
- var IntegrationLoadingFrame = import_react69.css`
14108
+ var IntegrationLoadingFrame = import_react70.css`
13827
14109
  animation: ${skeletonLoading} 1s linear infinite alternate;
13828
14110
  border-radius: var(--rounded-base);
13829
14111
  `;
13830
14112
 
13831
14113
  // src/components/Tiles/IntegrationLoadingTile.tsx
13832
- var import_jsx_runtime67 = require("@emotion/react/jsx-runtime");
14114
+ var import_jsx_runtime69 = require("@emotion/react/jsx-runtime");
13833
14115
  var IntegrationLoadingTile = ({ count = 1 }) => {
13834
14116
  const componentCount = Array.from(Array(count).keys());
13835
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_jsx_runtime67.Fragment, { children: componentCount.map((i) => /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { css: IntegrationLoadingTileContainer, children: [
13836
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
13837
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
14117
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_jsx_runtime69.Fragment, { children: componentCount.map((i) => /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { css: IntegrationLoadingTileContainer, children: [
14118
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
14119
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
13838
14120
  ] }, i)) });
13839
14121
  };
13840
14122
 
13841
14123
  // src/components/Tiles/styles/IntegrationModalIcon.styles.ts
13842
- var import_react70 = require("@emotion/react");
13843
- var IntegrationModalIconContainer = import_react70.css`
14124
+ var import_react71 = require("@emotion/react");
14125
+ var IntegrationModalIconContainer = import_react71.css`
13844
14126
  position: relative;
13845
14127
  width: 50px;
13846
14128
  margin-bottom: var(--spacing-base);
13847
14129
  `;
13848
- var IntegrationModalImage = import_react70.css`
14130
+ var IntegrationModalImage = import_react71.css`
13849
14131
  position: absolute;
13850
14132
  inset: 0;
13851
14133
  margin: auto;
@@ -13854,7 +14136,7 @@ var IntegrationModalImage = import_react70.css`
13854
14136
  `;
13855
14137
 
13856
14138
  // src/components/Tiles/IntegrationModalIcon.tsx
13857
- var import_jsx_runtime68 = require("@emotion/react/jsx-runtime");
14139
+ var import_jsx_runtime70 = require("@emotion/react/jsx-runtime");
13858
14140
  var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
13859
14141
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
13860
14142
  let iconSrc = void 0;
@@ -13867,9 +14149,9 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
13867
14149
  } catch (e) {
13868
14150
  }
13869
14151
  }
13870
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { css: IntegrationModalIconContainer, children: [
13871
- /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("svg", { width: "49", height: "57", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
13872
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
14152
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { css: IntegrationModalIconContainer, children: [
14153
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("svg", { width: "49", height: "57", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
14154
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
13873
14155
  "path",
13874
14156
  {
13875
14157
  d: "m24.367 1.813 22.786 13.322V41.78L24.367 55.102 1.581 41.78V15.135L24.367 1.814Z",
@@ -13878,12 +14160,12 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
13878
14160
  strokeWidth: "2"
13879
14161
  }
13880
14162
  ),
13881
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
13882
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("stop", { stopColor: "#1768B2" }),
13883
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("stop", { offset: "1", stopColor: "#B3EFE4" })
14163
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
14164
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("stop", { stopColor: "#1768B2" }),
14165
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("stop", { offset: "1", stopColor: "#B3EFE4" })
13884
14166
  ] }) })
13885
14167
  ] }),
13886
- CompIcon ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
14168
+ CompIcon ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
13887
14169
  "img",
13888
14170
  {
13889
14171
  src: iconSrc,
@@ -13897,7 +14179,7 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
13897
14179
  };
13898
14180
 
13899
14181
  // src/components/Tiles/IntegrationTile.tsx
13900
- var import_jsx_runtime69 = require("@emotion/react/jsx-runtime");
14182
+ var import_jsx_runtime71 = require("@emotion/react/jsx-runtime");
13901
14183
  var IntegrationTile = ({
13902
14184
  id,
13903
14185
  icon,
@@ -13909,7 +14191,7 @@ var IntegrationTile = ({
13909
14191
  authorIcon,
13910
14192
  ...btnProps
13911
14193
  }) => {
13912
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
14194
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
13913
14195
  "button",
13914
14196
  {
13915
14197
  type: "button",
@@ -13919,70 +14201,70 @@ var IntegrationTile = ({
13919
14201
  "aria-label": name,
13920
14202
  ...btnProps,
13921
14203
  children: [
13922
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ResolveIcon, { icon, name }),
13923
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { css: IntegrationTileName, title: name, children: name }),
13924
- isInstalled ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(IntegrationedAddedBadge, {}) : null,
13925
- requiedEntitlement && isPublic ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(IntegrationPremiumBadge, {}) : null,
13926
- !isPublic ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(IntegrationCustomBadge, {}) : null,
13927
- authorIcon ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ResolveIcon, { icon: authorIcon, name }) : null
14204
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ResolveIcon, { icon, name }),
14205
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { css: IntegrationTileName, title: name, children: name }),
14206
+ isInstalled ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(IntegrationedAddedBadge, {}) : null,
14207
+ requiedEntitlement && isPublic ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(IntegrationPremiumBadge, {}) : null,
14208
+ !isPublic ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(IntegrationCustomBadge, {}) : null,
14209
+ authorIcon ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ResolveIcon, { icon: authorIcon, name }) : null
13928
14210
  ]
13929
14211
  }
13930
14212
  );
13931
14213
  };
13932
14214
 
13933
14215
  // src/components/Tiles/styles/TileContainer.styles.ts
13934
- var import_react71 = require("@emotion/react");
13935
- var TileContainerWrapper = import_react71.css`
14216
+ var import_react72 = require("@emotion/react");
14217
+ var TileContainerWrapper = import_react72.css`
13936
14218
  background: var(--brand-secondary-2);
13937
14219
  padding: var(--spacing-base);
13938
14220
  margin-bottom: var(--spacing-lg);
13939
14221
  `;
13940
- var TileContainerInner = import_react71.css`
14222
+ var TileContainerInner = import_react72.css`
13941
14223
  display: grid;
13942
14224
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
13943
14225
  gap: var(--spacing-base);
13944
14226
  `;
13945
14227
 
13946
14228
  // src/components/Tiles/TileContainer.tsx
13947
- var import_jsx_runtime70 = require("@emotion/react/jsx-runtime");
14229
+ var import_jsx_runtime72 = require("@emotion/react/jsx-runtime");
13948
14230
  var TileContainer = ({ children, ...props }) => {
13949
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { css: TileContainerWrapper, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { css: TileContainerInner, children }) });
14231
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { css: TileContainerWrapper, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { css: TileContainerInner, children }) });
13950
14232
  };
13951
14233
 
13952
14234
  // src/components/Modal/IntegrationModalHeader.styles.ts
13953
- var import_react72 = require("@emotion/react");
13954
- var IntegrationModalHeaderSVGBackground = import_react72.css`
14235
+ var import_react73 = require("@emotion/react");
14236
+ var IntegrationModalHeaderSVGBackground = import_react73.css`
13955
14237
  position: absolute;
13956
14238
  top: 0;
13957
14239
  left: 0;
13958
14240
  `;
13959
- var IntegrationModalHeaderGroup = import_react72.css`
14241
+ var IntegrationModalHeaderGroup = import_react73.css`
13960
14242
  align-items: center;
13961
14243
  display: flex;
13962
14244
  gap: var(--spacing-sm);
13963
14245
  margin: 0 0 var(--spacing-md);
13964
14246
  position: relative;
13965
14247
  `;
13966
- var IntegrationModalHeaderTitleGroup = import_react72.css`
14248
+ var IntegrationModalHeaderTitleGroup = import_react73.css`
13967
14249
  align-items: center;
13968
14250
  display: flex;
13969
14251
  gap: var(--spacing-base);
13970
14252
  `;
13971
- var IntegrationModalHeaderTitle = import_react72.css`
14253
+ var IntegrationModalHeaderTitle = import_react73.css`
13972
14254
  margin-top: 0;
13973
14255
  `;
13974
- var IntegrationModalHeaderMenuPlacement = import_react72.css`
14256
+ var IntegrationModalHeaderMenuPlacement = import_react73.css`
13975
14257
  margin-bottom: var(--spacing-base);
13976
14258
  `;
13977
- var IntegrationModalHeaderContentWrapper = import_react72.css`
14259
+ var IntegrationModalHeaderContentWrapper = import_react73.css`
13978
14260
  position: relative;
13979
14261
  z-index: var(--z-10);
13980
14262
  `;
13981
14263
 
13982
14264
  // src/components/Modal/IntegrationModalHeader.tsx
13983
- var import_jsx_runtime71 = require("@emotion/react/jsx-runtime");
14265
+ var import_jsx_runtime73 = require("@emotion/react/jsx-runtime");
13984
14266
  var HexModalBackground = ({ ...props }) => {
13985
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
14267
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
13986
14268
  "svg",
13987
14269
  {
13988
14270
  width: "236",
@@ -13992,7 +14274,7 @@ var HexModalBackground = ({ ...props }) => {
13992
14274
  xmlns: "http://www.w3.org/2000/svg",
13993
14275
  ...props,
13994
14276
  children: [
13995
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
14277
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
13996
14278
  "path",
13997
14279
  {
13998
14280
  fillRule: "evenodd",
@@ -14001,7 +14283,7 @@ var HexModalBackground = ({ ...props }) => {
14001
14283
  fill: "url(#paint0_linear_196_2737)"
14002
14284
  }
14003
14285
  ),
14004
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
14286
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
14005
14287
  "linearGradient",
14006
14288
  {
14007
14289
  id: "paint0_linear_196_2737",
@@ -14011,8 +14293,8 @@ var HexModalBackground = ({ ...props }) => {
14011
14293
  y2: "-95.2742",
14012
14294
  gradientUnits: "userSpaceOnUse",
14013
14295
  children: [
14014
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("stop", { stopColor: "#81DCDE" }),
14015
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("stop", { offset: "1", stopColor: "#428ED4" })
14296
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("stop", { stopColor: "#81DCDE" }),
14297
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("stop", { offset: "1", stopColor: "#428ED4" })
14016
14298
  ]
14017
14299
  }
14018
14300
  ) })
@@ -14021,593 +14303,98 @@ var HexModalBackground = ({ ...props }) => {
14021
14303
  );
14022
14304
  };
14023
14305
  var IntegrationModalHeader = ({ icon, name, menu: menu2, children }) => {
14024
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
14025
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
14026
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { css: IntegrationModalHeaderTitleGroup, children: [
14027
- icon ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(IntegrationModalIcon, { icon, name: name || "" }) : null,
14028
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-test-id": "integration-modal-title", children: name || "Create Team Integration" }),
14029
- menu2 ? /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { css: IntegrationModalHeaderMenuPlacement, children: [
14306
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(import_jsx_runtime73.Fragment, { children: [
14307
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
14308
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { css: IntegrationModalHeaderTitleGroup, children: [
14309
+ icon ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(IntegrationModalIcon, { icon, name: name || "" }) : null,
14310
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-test-id": "integration-modal-title", children: name || "Create Team Integration" }),
14311
+ menu2 ? /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { css: IntegrationModalHeaderMenuPlacement, children: [
14030
14312
  menu2,
14031
14313
  " "
14032
14314
  ] }) : null
14033
14315
  ] }) }),
14034
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { css: IntegrationModalHeaderContentWrapper, children })
14316
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { css: IntegrationModalHeaderContentWrapper, children })
14035
14317
  ] });
14036
14318
  };
14037
14319
 
14038
- // src/components/ObjectList/ObjectCompositionListItem.tsx
14039
- var import_react75 = require("react");
14320
+ // src/components/Tooltip/Tooltip.tsx
14321
+ var import_react75 = __toESM(require("react"));
14322
+ var import_Tooltip = require("reakit/Tooltip");
14040
14323
 
14041
- // src/components/Validation/StatusBullet.styles.ts
14042
- var import_react73 = require("@emotion/react");
14043
- var StatusBulletContainer = import_react73.css`
14044
- align-items: center;
14045
- align-self: center;
14324
+ // src/components/Tooltip/Tooltip.styles.ts
14325
+ var import_react74 = require("@emotion/react");
14326
+ var TooltipContainer = import_react74.css`
14327
+ border: 2px solid var(--gray-300);
14328
+ border-radius: var(--rounded-base);
14329
+ padding: var(--spacing-xs) var(--spacing-sm);
14046
14330
  color: var(--gray-500);
14047
- display: inline-flex;
14048
- font-weight: var(--fw-regular);
14049
- gap: var(--spacing-xs);
14050
- line-height: 1;
14051
- position: relative;
14052
- text-transform: lowercase;
14053
-
14054
- &:before {
14055
- border-radius: var(--rounded-full);
14056
- content: '';
14057
- display: block;
14058
- }
14059
- `;
14060
- var StatusBulletBase = import_react73.css`
14061
- font-size: var(--fs-sm);
14062
- &:before {
14063
- width: var(--fs-xs);
14064
- height: var(--fs-xs);
14065
- }
14066
- `;
14067
- var StatusBulletSmall = import_react73.css`
14068
14331
  font-size: var(--fs-xs);
14069
- &:before {
14070
- width: var(--fs-xxs);
14071
- height: var(--fs-xxs);
14072
- }
14073
- `;
14074
- var StatusDraft = import_react73.css`
14075
- &:before {
14076
- background: var(--white);
14077
- box-shadow: inset 0 0 0 0.125rem var(--brand-primary-1);
14078
- }
14079
- `;
14080
- var StatusModified = import_react73.css`
14081
- &:before {
14082
- background: linear-gradient(to right, var(--white) 50%, var(--brand-primary-1) 50% 100%);
14083
- box-shadow: inset 0 0 0 0.125rem var(--brand-primary-1);
14084
- }
14332
+ background: var(--white);
14085
14333
  `;
14086
- var StatusError = import_react73.css`
14087
- color: var(--error);
14088
- &:before {
14089
- background: linear-gradient(120deg, var(--error) 40%, var(--white) 50%, var(--error) 60%);
14334
+ var TooltipArrowStyles = import_react74.css`
14335
+ svg {
14336
+ fill: var(--gray-300);
14090
14337
  }
14091
14338
  `;
14092
- var StatusPublished = import_react73.css`
14093
- &:before {
14339
+
14340
+ // src/components/Tooltip/Tooltip.tsx
14341
+ var import_jsx_runtime74 = require("@emotion/react/jsx-runtime");
14342
+ function Tooltip({ children, title, placement = "bottom", visible, ...props }) {
14343
+ const tooltip = (0, import_Tooltip.useTooltipState)({ placement });
14344
+ return !title ? children : /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_jsx_runtime74.Fragment, { children: [
14345
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_Tooltip.TooltipReference, { ...tooltip, ...children.props, children: (referenceProps) => import_react75.default.cloneElement(children, referenceProps) }),
14346
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_Tooltip.Tooltip, { ...tooltip, ...props, css: TooltipContainer, visible: visible != null ? visible : tooltip.visible, children: [
14347
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_Tooltip.TooltipArrow, { ...tooltip, css: TooltipArrowStyles }),
14348
+ title
14349
+ ] })
14350
+ ] });
14351
+ }
14352
+
14353
+ // src/components/ParameterInputs/styles/ParameterBindingButton.styles.ts
14354
+ var import_react76 = require("@emotion/react");
14355
+ var inputIconBtn = import_react76.css`
14356
+ align-items: center;
14357
+ border: none;
14358
+ border-radius: var(--rounded-base);
14359
+ background: none;
14360
+ display: flex;
14361
+ padding: var(--spacing-2xs);
14362
+ transition: background var(--duration-fast) var(--timing-ease-out),
14363
+ color var(--duration-fast) var(--timing-ease-out);
14364
+
14365
+ &:hover,
14366
+ &[aria-pressed='true']:not(:disabled) {
14094
14367
  background: var(--brand-secondary-3);
14368
+ color: var(--white);
14095
14369
  }
14096
- `;
14097
- var StatusOrphan = import_react73.css`
14098
- &:before {
14099
- background: var(--brand-secondary-5);
14370
+
14371
+ &[aria-disabled='true'] {
14372
+ background: none;
14373
+ color: currentColor;
14100
14374
  }
14101
14375
  `;
14102
14376
 
14103
- // src/components/Validation/StatusBullet.tsx
14104
- var import_jsx_runtime72 = require("@emotion/react/jsx-runtime");
14105
- var StatusBullet = ({
14106
- status,
14107
- hideText = false,
14108
- size = "base",
14109
- message,
14377
+ // src/components/ParameterInputs/ConnectToDataElementButton.tsx
14378
+ var import_jsx_runtime75 = require("@emotion/react/jsx-runtime");
14379
+ var ConnectToDataElementButton = ({
14380
+ icon,
14381
+ iconColor,
14382
+ children,
14383
+ isBound,
14384
+ isLocked,
14110
14385
  ...props
14111
14386
  }) => {
14112
- const currentStateStyles = {
14113
- Error: StatusError,
14114
- Modified: StatusModified,
14115
- Unsaved: StatusDraft,
14116
- Orphan: StatusOrphan,
14117
- Published: StatusPublished,
14118
- Draft: StatusDraft
14119
- };
14120
- const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
14121
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
14122
- "span",
14387
+ const title = isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
14388
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Tooltip, { title, children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
14389
+ "button",
14123
14390
  {
14124
- role: "status",
14125
- css: [StatusBulletContainer, currentStateStyles[status], statusSize],
14126
- title: message != null ? message : status,
14391
+ css: inputIconBtn,
14392
+ type: "button",
14393
+ "aria-pressed": isBound,
14394
+ "aria-disabled": isLocked,
14127
14395
  ...props,
14128
- children: hideText ? null : message ? message : status
14129
- }
14130
- );
14131
- };
14132
-
14133
- // src/components/ObjectList/styles/ObjectListItem.styles.ts
14134
- var import_react74 = require("@emotion/react");
14135
- var ObjectListItemContainer = import_react74.css`
14136
- border-top: 1px solid var(--gray-300);
14137
- border-bottom: 1px solid var(--gray-300);
14138
- display: block;
14139
- padding: var(--spacing-base) var(--spacing-sm);
14140
- font-size: var(--fs-sm);
14141
- margin-bottom: -1px;
14142
- transition: background-color var(--duration-fast) var(--timing-ease-out);
14143
- text-decoration: none;
14144
-
14145
- &:hover {
14146
- background: var(--gray-50);
14147
-
14148
- & [role='heading'] {
14149
- text-decoration: underline;
14150
- }
14151
- }
14152
- `;
14153
- var ObjectListItemLoading = import_react74.css`
14154
- animation: ${skeletonLoading} 1s linear infinite alternate;
14155
- border-color: var(--white);
14156
- display: flex;
14157
- flex-direction: column;
14158
- padding: var(--spacing-base) var(--spacing-sm);
14159
- gap: var(--spacing-sm);
14160
- `;
14161
- var ObjectListItemLoadingText = (textLength) => import_react74.css`
14162
- animation: ${fadeIn} 1s linear infinite alternate;
14163
- border-radius: var(--rounded-base);
14164
- background: var(--gray-300);
14165
- display: block;
14166
- width: ${textLength};
14167
- height: var(--fs-base);
14168
- `;
14169
- var ObjectListItemInlineGroup = import_react74.css`
14170
- align-items: center;
14171
- color: var(--gray-500);
14172
- display: flex;
14173
- gap: var(--spacing-base);
14174
- `;
14175
- var ObjectListItemIconTextGroup = import_react74.css`
14176
- align-items: center;
14177
- display: flex;
14178
- gap: var(--spacing-xs);
14179
- `;
14180
- var ObjectListItemInlineHeadingGroup = import_react74.css`
14181
- justify-content: space-between;
14182
- `;
14183
- var ObjectListItemTitle = import_react74.css`
14184
- color: var(--brand-secondary-1);
14185
- font-size: var(--fs-base);
14186
- line-height: 1;
14187
- `;
14188
- var ObjectListItemSmallText = import_react74.css`
14189
- font-size: var(--fs-sm);
14190
- min-width: max-content;
14191
- `;
14192
- var ObjectListKeyText = import_react74.css`
14193
- color: var(--gray-400);
14194
- font-size: var(--fs-sm);
14195
- text-transform: capitalize;
14196
- `;
14197
- var ObjectListValueText = import_react74.css`
14198
- color: var(--gray-500);
14199
- font-size: var(--fs-sm);
14200
- text-transform: none;
14201
- `;
14202
-
14203
- // src/components/ObjectList/ObjectCompositionListItem.tsx
14204
- var import_jsx_runtime73 = require("@emotion/react/jsx-runtime");
14205
- var ObjectCompositionListItem = (0, import_react75.forwardRef)(
14206
- ({
14207
- title,
14208
- date,
14209
- componentName,
14210
- icon,
14211
- publishStatus,
14212
- href,
14213
- as,
14214
- linkManagerComponent: LinkManager,
14215
- ...props
14216
- }, ref) => {
14217
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(LinkManager, { ...props, as, href, ref, passHref: true, legacyBehavior: true, role: "listitem", children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("a", { css: ObjectListItemContainer, children: [
14218
- /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { css: [ObjectListItemInlineGroup, ObjectListItemInlineHeadingGroup], children: [
14219
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { role: "heading", css: ObjectListItemTitle, children: title }),
14220
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("time", { role: "time", dateTime: `${date}`, css: ObjectListItemSmallText, children: formatDate(date) })
14221
- ] }),
14222
- /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { css: ObjectListItemInlineGroup, children: [
14223
- !icon && !componentName ? null : /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { css: [ObjectListItemIconTextGroup, ObjectListItemSmallText], children: [
14224
- !icon ? null : /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Icon, { icon, size: "1rem" }),
14225
- !componentName ? null : /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { children: componentName })
14226
- ] }),
14227
- !publishStatus ? null : /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(StatusBullet, { status: publishStatus })
14228
- ] })
14229
- ] }) });
14230
- }
14231
- );
14232
-
14233
- // src/components/ObjectList/ObjectListContainer.tsx
14234
- var React18 = __toESM(require("react"));
14235
-
14236
- // src/components/SegmentedControl/SegmentedControl.tsx
14237
- var import_react79 = require("@emotion/react");
14238
- var import_react80 = require("react");
14239
- var import_cg15 = require("react-icons/cg");
14240
-
14241
- // src/components/Tooltip/Tooltip.tsx
14242
- var import_react77 = __toESM(require("react"));
14243
- var import_Tooltip = require("reakit/Tooltip");
14244
-
14245
- // src/components/Tooltip/Tooltip.styles.ts
14246
- var import_react76 = require("@emotion/react");
14247
- var TooltipContainer = import_react76.css`
14248
- border: 2px solid var(--gray-300);
14249
- border-radius: var(--rounded-base);
14250
- padding: var(--spacing-xs) var(--spacing-sm);
14251
- color: var(--gray-500);
14252
- font-size: var(--fs-xs);
14253
- background: var(--white);
14254
- `;
14255
- var TooltipArrowStyles = import_react76.css`
14256
- svg {
14257
- fill: var(--gray-300);
14258
- }
14259
- `;
14260
-
14261
- // src/components/Tooltip/Tooltip.tsx
14262
- var import_jsx_runtime74 = require("@emotion/react/jsx-runtime");
14263
- function Tooltip({ children, title, placement = "bottom", visible, ...props }) {
14264
- const tooltip = (0, import_Tooltip.useTooltipState)({ placement });
14265
- return !title ? children : /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_jsx_runtime74.Fragment, { children: [
14266
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_Tooltip.TooltipReference, { ...tooltip, ...children.props, children: (referenceProps) => import_react77.default.cloneElement(children, referenceProps) }),
14267
- /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_Tooltip.Tooltip, { ...tooltip, ...props, css: TooltipContainer, visible: visible != null ? visible : tooltip.visible, children: [
14268
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_Tooltip.TooltipArrow, { ...tooltip, css: TooltipArrowStyles }),
14269
- title
14270
- ] })
14271
- ] });
14272
- }
14273
-
14274
- // src/components/SegmentedControl/SegmentedControl.styles.ts
14275
- var import_react78 = require("@emotion/react");
14276
- var segmentedControlStyles = import_react78.css`
14277
- --segmented-control-rounded-value: var(--rounded-base);
14278
- --segmented-control-border-width: 1px;
14279
- --segmented-control-selected-color: var(--brand-secondary-3);
14280
- --segmented-control-first-border-radius: var(--segmented-control-rounded-value) 0 0
14281
- var(--segmented-control-rounded-value);
14282
- --segmented-control-last-border-radius: 0 var(--segmented-control-rounded-value)
14283
- var(--segmented-control-rounded-value) 0;
14284
-
14285
- position: relative;
14286
- display: flex;
14287
- justify-content: flex-start;
14288
- width: fit-content;
14289
- background-color: var(--gray-300);
14290
- padding: var(--segmented-control-border-width);
14291
- gap: var(--segmented-control-border-width);
14292
- border-radius: calc(var(--segmented-control-rounded-value) + var(--segmented-control-border-width));
14293
- font-size: var(--fs-xs);
14294
- `;
14295
- var segmentedControlVerticalStyles = import_react78.css`
14296
- flex-direction: column;
14297
- --segmented-control-first-border-radius: var(--segmented-control-rounded-value)
14298
- var(--segmented-control-rounded-value) 0 0;
14299
- --segmented-control-last-border-radius: 0 0 var(--segmented-control-rounded-value)
14300
- var(--segmented-control-rounded-value);
14301
- `;
14302
- var segmentedControlItemStyles = import_react78.css`
14303
- &:first-of-type label {
14304
- border-radius: var(--segmented-control-first-border-radius);
14305
- }
14306
- &:last-of-type label {
14307
- border-radius: var(--segmented-control-last-border-radius);
14308
- }
14309
- `;
14310
- var segmentedControlInputStyles = import_react78.css`
14311
- clip: rect(0, 0, 0, 0);
14312
- position: absolute;
14313
- width: 1px;
14314
- height: 1px;
14315
- overflow: hidden;
14316
- `;
14317
- var segmentedControlLabelStyles = import_react78.css`
14318
- position: relative;
14319
- display: flex;
14320
- align-items: center;
14321
- justify-content: center;
14322
- height: 2rem;
14323
- padding-inline: var(--spacing-base);
14324
- background-color: white;
14325
- transition-property: background-color, color, box-shadow;
14326
- transition-duration: var(--duration-xfast);
14327
- transition-timing-function: ease-in-out;
14328
- z-index: 1;
14329
- cursor: pointer;
14330
-
14331
- &:has(:checked:not(:disabled)) {
14332
- background-color: var(--segmented-control-selected-color);
14333
- outline: var(--segmented-control-border-width) solid var(--segmented-control-selected-color);
14334
- box-shadow: 0 0.43em 1.7em 0 rgba(0, 0, 0, 0.15);
14335
- color: white;
14336
- -webkit-text-stroke-width: thin;
14337
- z-index: 0;
14338
- }
14339
-
14340
- &:hover:not(:has(:disabled, :checked)) {
14341
- background-color: var(--gray-100);
14342
- }
14343
-
14344
- &:has(:disabled) {
14345
- color: var(--gray-400);
14346
- cursor: default;
14347
- }
14348
-
14349
- &:has(:checked:disabled) {
14350
- color: var(--gray-50);
14351
- background-color: var(--gray-400);
14352
- }
14353
- `;
14354
- var segmentedControlLabelIconOnlyStyles = import_react78.css`
14355
- padding-inline: 0.5em;
14356
- `;
14357
- var segmentedControlLabelCheckStyles = import_react78.css`
14358
- opacity: 0.5;
14359
- `;
14360
- var segmentedControlLabelContentStyles = import_react78.css`
14361
- display: flex;
14362
- align-items: center;
14363
- justify-content: center;
14364
- gap: var(--spacing-sm);
14365
- height: 100%;
14366
- `;
14367
- var segmentedControlLabelTextStyles = import_react78.css``;
14368
-
14369
- // src/components/SegmentedControl/SegmentedControl.tsx
14370
- var import_jsx_runtime75 = require("@emotion/react/jsx-runtime");
14371
- var SegmentedControl = ({
14372
- name,
14373
- options,
14374
- value,
14375
- onChange,
14376
- noCheckmark = false,
14377
- disabled = false,
14378
- orientation = "horizontal",
14379
- size = "md",
14380
- ...props
14381
- }) => {
14382
- const onOptionChange = (0, import_react80.useCallback)(
14383
- (event) => {
14384
- if (event.target.checked) {
14385
- onChange == null ? void 0 : onChange(options[parseInt(event.target.value)].value);
14386
- }
14387
- },
14388
- [options, onChange]
14389
- );
14390
- const sizeStyles = (0, import_react80.useMemo)(() => {
14391
- const map = {
14392
- sm: (0, import_react79.css)({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
14393
- md: (0, import_react79.css)({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
14394
- lg: (0, import_react79.css)({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
14395
- };
14396
- return map[size];
14397
- }, [size]);
14398
- const isIconOnly = (0, import_react80.useMemo)(() => {
14399
- return options.every((option) => option.icon && !option.label);
14400
- }, [options]);
14401
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
14402
- "div",
14403
- {
14404
- css: [segmentedControlStyles, orientation === "vertical" ? segmentedControlVerticalStyles : void 0],
14405
- ...props,
14406
- children: options.map((option, index) => {
14407
- const text = option.label ? option.label : option.icon ? null : String(option.value);
14408
- const isDisabled = disabled || option.disabled;
14409
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
14410
- Tooltip,
14411
- {
14412
- title: isDisabled || !option.tooltip ? "" : option.tooltip,
14413
- children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { css: segmentedControlItemStyles, "data-test-id": "container-segmented-control", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
14414
- "label",
14415
- {
14416
- css: [
14417
- segmentedControlLabelStyles,
14418
- sizeStyles,
14419
- isIconOnly ? segmentedControlLabelIconOnlyStyles : void 0
14420
- ],
14421
- children: [
14422
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
14423
- "input",
14424
- {
14425
- css: segmentedControlInputStyles,
14426
- type: "radio",
14427
- name,
14428
- value: index,
14429
- checked: option.value === value,
14430
- onChange: onOptionChange,
14431
- disabled: isDisabled
14432
- }
14433
- ),
14434
- option.value !== value || noCheckmark ? null : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_cg15.CgCheck, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
14435
- /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("span", { css: segmentedControlLabelContentStyles, children: [
14436
- !option.icon ? null : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(option.icon, { size: "1.5em" }),
14437
- !text ? null : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { css: segmentedControlLabelTextStyles, children: text })
14438
- ] })
14439
- ]
14440
- }
14441
- ) })
14442
- },
14443
- JSON.stringify(option.value)
14444
- );
14445
- })
14446
- }
14447
- );
14448
- };
14449
-
14450
- // src/components/ObjectList/ObjectListItemLoadingSkeleton.tsx
14451
- var import_jsx_runtime76 = require("@emotion/react/jsx-runtime");
14452
- var ObjectListItemLoadingSkeleton = () => {
14453
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { css: [ObjectListItemContainer, ObjectListItemLoading], children: [
14454
- /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { css: [ObjectListItemInlineGroup, ObjectListItemInlineHeadingGroup], children: [
14455
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { css: ObjectListItemLoadingText("30ch") }),
14456
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { css: ObjectListItemLoadingText("5ch") })
14457
- ] }),
14458
- /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { css: ObjectListItemInlineGroup, children: [
14459
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { css: ObjectListItemLoadingText("10ch") }),
14460
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { css: ObjectListItemLoadingText("10ch") })
14461
- ] })
14462
- ] });
14463
- };
14464
-
14465
- // src/components/ObjectList/styles/ObjectListContainer.styles.ts
14466
- var import_react81 = require("@emotion/react");
14467
- var InlineGroup = import_react81.css`
14468
- align-items: center;
14469
- display: flex;
14470
- gap: var(--spacing-base);
14471
- `;
14472
- var FilterGroup = import_react81.css`
14473
- ${InlineGroup}
14474
- justify-content: space-between
14475
- `;
14476
- var FilterGroupTitle = import_react81.css`
14477
- font-weight: var(--fw-bold);
14478
- font-size: var(--fs-sm);
14479
- text-transform: uppercase;
14480
- `;
14481
- var GroupLabel = import_react81.css`
14482
- font-size: var(--fs-sm);
14483
- `;
14484
-
14485
- // src/components/ObjectList/ObjectListContainer.tsx
14486
- var import_jsx_runtime77 = require("@emotion/react/jsx-runtime");
14487
- var ObjectListContainer = ({
14488
- title = "Recent Compositions",
14489
- list,
14490
- filterOptions,
14491
- filterValue,
14492
- isLoading,
14493
- isDisabled,
14494
- hideControls,
14495
- onSetFilterOption,
14496
- resolveDefaultComponent = (value) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(ObjectCompositionListItem, { ...value }),
14497
- children,
14498
- ...props
14499
- }) => {
14500
- const [loadingList, setLoadingList] = React18.useState(5);
14501
- React18.useEffect(() => {
14502
- if (list.length) {
14503
- setLoadingList(list.length);
14504
- }
14505
- }, [list]);
14506
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(VerticalRhythm, { ...props, children: [
14507
- /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { css: FilterGroup, children: [
14508
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { css: FilterGroupTitle, role: "headin", children: title }),
14509
- hideControls ? null : /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { css: InlineGroup, children: [
14510
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { css: GroupLabel, children: "Show" }),
14511
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
14512
- SegmentedControl,
14513
- {
14514
- name: "recent-filter-options",
14515
- options: filterOptions,
14516
- value: filterValue,
14517
- onChange: (e) => onSetFilterOption(e),
14518
- noCheckmark: true,
14519
- disabled: isDisabled
14520
- }
14521
- )
14522
- ] })
14523
- ] }),
14524
- isLoading ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { children: Array.from(Array(loadingList).keys()).map((item) => /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(ObjectListItemLoadingSkeleton, {}, item)) }) : null,
14525
- list.length && !isLoading ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { role: "list", children: list == null ? void 0 : list.map((item) => resolveDefaultComponent(item)) }) : null,
14526
- children
14527
- ] });
14528
- };
14529
-
14530
- // src/components/ObjectList/ObjectPersonalizationListItem.tsx
14531
- var import_react82 = require("react");
14532
- var import_jsx_runtime78 = require("@emotion/react/jsx-runtime");
14533
- var ObjectPersonalizationListItem = (0, import_react82.forwardRef)(({ title, date, id, data, linkManagerComponent: LinkManager, as, ...props }, ref) => {
14534
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
14535
- LinkManager,
14536
- {
14537
- ...props,
14538
- as,
14539
- href: props.href,
14540
- ref,
14541
- passHref: true,
14542
- legacyBehavior: true,
14543
- css: ObjectListItemContainer,
14544
- role: "listitem",
14545
14396
  children: [
14546
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { css: [ObjectListItemInlineGroup, ObjectListItemInlineHeadingGroup], children: [
14547
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { role: "heading", css: ObjectListItemTitle, children: title }),
14548
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("time", { role: "time", dateTime: `${date}`, css: ObjectListItemSmallText, children: formatDate(date) })
14549
- ] }),
14550
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { css: ObjectListItemInlineGroup, children: [
14551
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("span", { css: ObjectListKeyText, children: [
14552
- "ID: ",
14553
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { css: ObjectListValueText, children: id })
14554
- ] }),
14555
- Object.entries(data).map(([key, value], i) => /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("span", { css: ObjectListKeyText, children: [
14556
- key,
14557
- ": ",
14558
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { css: ObjectListValueText, children: value })
14559
- ] }, i))
14560
- ] })
14561
- ]
14562
- }
14563
- );
14564
- });
14565
-
14566
- // src/components/ParameterInputs/styles/ParameterBindingButton.styles.ts
14567
- var import_react83 = require("@emotion/react");
14568
- var inputIconBtn = import_react83.css`
14569
- align-items: center;
14570
- border: none;
14571
- border-radius: var(--rounded-base);
14572
- background: none;
14573
- display: flex;
14574
- padding: var(--spacing-2xs);
14575
- transition: background var(--duration-fast) var(--timing-ease-out),
14576
- color var(--duration-fast) var(--timing-ease-out);
14577
-
14578
- &:hover,
14579
- &[aria-pressed='true']:not(:disabled) {
14580
- background: var(--brand-secondary-3);
14581
- color: var(--white);
14582
- }
14583
-
14584
- &[aria-disabled='true'] {
14585
- background: none;
14586
- color: currentColor;
14587
- }
14588
- `;
14589
-
14590
- // src/components/ParameterInputs/ConnectToDataElementButton.tsx
14591
- var import_jsx_runtime79 = require("@emotion/react/jsx-runtime");
14592
- var ConnectToDataElementButton = ({
14593
- icon,
14594
- iconColor,
14595
- children,
14596
- isBound,
14597
- isLocked,
14598
- ...props
14599
- }) => {
14600
- const title = isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
14601
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Tooltip, { title, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
14602
- "button",
14603
- {
14604
- css: inputIconBtn,
14605
- type: "button",
14606
- "aria-pressed": isBound,
14607
- "aria-disabled": isLocked,
14608
- ...props,
14609
- children: [
14610
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
14397
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
14611
14398
  Icon,
14612
14399
  {
14613
14400
  icon: isLocked ? "lock" : icon ? icon : "arrows-expand-down-right",
@@ -14622,8 +14409,8 @@ var ConnectToDataElementButton = ({
14622
14409
  };
14623
14410
 
14624
14411
  // src/components/ParameterInputs/hooks/ParameterShellContext.tsx
14625
- var import_react84 = require("react");
14626
- var ParameterShellContext = (0, import_react84.createContext)({
14412
+ var import_react77 = require("react");
14413
+ var ParameterShellContext = (0, import_react77.createContext)({
14627
14414
  id: "",
14628
14415
  label: "",
14629
14416
  hiddenLabel: void 0,
@@ -14632,7 +14419,7 @@ var ParameterShellContext = (0, import_react84.createContext)({
14632
14419
  }
14633
14420
  });
14634
14421
  var useParameterShell = () => {
14635
- const { id, label, hiddenLabel, errorMessage, onManuallySetErrorMessage } = (0, import_react84.useContext)(ParameterShellContext);
14422
+ const { id, label, hiddenLabel, errorMessage, onManuallySetErrorMessage } = (0, import_react77.useContext)(ParameterShellContext);
14636
14423
  return {
14637
14424
  id,
14638
14425
  label,
@@ -14643,8 +14430,8 @@ var useParameterShell = () => {
14643
14430
  };
14644
14431
 
14645
14432
  // src/components/ParameterInputs/styles/ParameterInput.styles.ts
14646
- var import_react85 = require("@emotion/react");
14647
- var inputContainer2 = import_react85.css`
14433
+ var import_react78 = require("@emotion/react");
14434
+ var inputContainer2 = import_react78.css`
14648
14435
  position: relative;
14649
14436
 
14650
14437
  &:hover,
@@ -14656,14 +14443,14 @@ var inputContainer2 = import_react85.css`
14656
14443
  }
14657
14444
  }
14658
14445
  `;
14659
- var labelText2 = import_react85.css`
14446
+ var labelText2 = import_react78.css`
14660
14447
  align-items: center;
14661
14448
  display: flex;
14662
14449
  gap: var(--spacing-xs);
14663
14450
  font-weight: var(--fw-regular);
14664
14451
  margin: 0 0 var(--spacing-xs);
14665
14452
  `;
14666
- var input2 = import_react85.css`
14453
+ var input2 = import_react78.css`
14667
14454
  display: block;
14668
14455
  appearance: none;
14669
14456
  box-sizing: border-box;
@@ -14707,18 +14494,18 @@ var input2 = import_react85.css`
14707
14494
  color: var(--gray-400);
14708
14495
  }
14709
14496
  `;
14710
- var selectInput = import_react85.css`
14497
+ var selectInput = import_react78.css`
14711
14498
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%0A%3E%3Cpath d='M6.34317 7.75732L4.92896 9.17154L12 16.2426L19.0711 9.17157L17.6569 7.75735L12 13.4142L6.34317 7.75732Z' fill='currentColor' /%3E%3C/svg%3E");
14712
14499
  background-position: right var(--spacing-sm) center;
14713
14500
  background-repeat: no-repeat;
14714
14501
  background-size: 1rem;
14715
14502
  padding-right: var(--spacing-xl);
14716
14503
  `;
14717
- var inputWrapper = import_react85.css`
14504
+ var inputWrapper = import_react78.css`
14718
14505
  display: flex; // used to correct overflow with chrome textarea
14719
14506
  position: relative;
14720
14507
  `;
14721
- var inputIcon2 = import_react85.css`
14508
+ var inputIcon2 = import_react78.css`
14722
14509
  align-items: center;
14723
14510
  background: var(--white);
14724
14511
  border-radius: var(--rounded-md) 0 0 var(--rounded-md);
@@ -14734,7 +14521,7 @@ var inputIcon2 = import_react85.css`
14734
14521
  width: var(--spacing-lg);
14735
14522
  z-index: var(--z-10);
14736
14523
  `;
14737
- var inputToggleLabel2 = import_react85.css`
14524
+ var inputToggleLabel2 = import_react78.css`
14738
14525
  align-items: center;
14739
14526
  background: var(--white);
14740
14527
  cursor: pointer;
@@ -14745,7 +14532,7 @@ var inputToggleLabel2 = import_react85.css`
14745
14532
  min-height: var(--spacing-md);
14746
14533
  position: relative;
14747
14534
  `;
14748
- var toggleInput2 = import_react85.css`
14535
+ var toggleInput2 = import_react78.css`
14749
14536
  appearance: none;
14750
14537
  border: 1px solid var(--gray-300);
14751
14538
  background: var(--white);
@@ -14784,7 +14571,7 @@ var toggleInput2 = import_react85.css`
14784
14571
  border-color: var(--gray-300);
14785
14572
  }
14786
14573
  `;
14787
- var inlineLabel2 = import_react85.css`
14574
+ var inlineLabel2 = import_react78.css`
14788
14575
  padding-left: var(--spacing-lg);
14789
14576
  font-size: var(--fs-sm);
14790
14577
  font-weight: var(--fw-regular);
@@ -14800,7 +14587,7 @@ var inlineLabel2 = import_react85.css`
14800
14587
  }
14801
14588
  }
14802
14589
  `;
14803
- var inputMenu = import_react85.css`
14590
+ var inputMenu = import_react78.css`
14804
14591
  background: none;
14805
14592
  border: none;
14806
14593
  padding: var(--spacing-2xs);
@@ -14816,14 +14603,14 @@ var inputMenu = import_react85.css`
14816
14603
  background-color: var(--gray-200);
14817
14604
  }
14818
14605
  `;
14819
- var textarea2 = import_react85.css`
14606
+ var textarea2 = import_react78.css`
14820
14607
  resize: vertical;
14821
14608
  min-height: 2rem;
14822
14609
  `;
14823
- var imageWrapper = import_react85.css`
14610
+ var imageWrapper = import_react78.css`
14824
14611
  background: var(--white);
14825
14612
  `;
14826
- var img = import_react85.css`
14613
+ var img = import_react78.css`
14827
14614
  animation: ${fadeIn} var(--duration-fast) var(--timing-ease-out) forwards;
14828
14615
  object-fit: contain;
14829
14616
  max-width: 100%;
@@ -14831,7 +14618,7 @@ var img = import_react85.css`
14831
14618
  opacity: var(--opacity-0);
14832
14619
  margin: var(--spacing-sm) auto 0;
14833
14620
  `;
14834
- var dataConnectButton = import_react85.css`
14621
+ var dataConnectButton = import_react78.css`
14835
14622
  align-items: center;
14836
14623
  appearance: none;
14837
14624
  box-sizing: border-box;
@@ -14866,7 +14653,7 @@ var dataConnectButton = import_react85.css`
14866
14653
  pointer-events: none;
14867
14654
  }
14868
14655
  `;
14869
- var linkParameterBtn = import_react85.css`
14656
+ var linkParameterBtn = import_react78.css`
14870
14657
  border-radius: var(--rounded-base);
14871
14658
  background: var(--white);
14872
14659
  border: none;
@@ -14875,7 +14662,7 @@ var linkParameterBtn = import_react85.css`
14875
14662
  font-size: var(--fs-sm);
14876
14663
  line-height: 1;
14877
14664
  `;
14878
- var linkParameterControls = import_react85.css`
14665
+ var linkParameterControls = import_react78.css`
14879
14666
  position: absolute;
14880
14667
  inset: 0 0 0 auto;
14881
14668
  padding: 0 var(--spacing-base);
@@ -14884,12 +14671,12 @@ var linkParameterControls = import_react85.css`
14884
14671
  justify-content: center;
14885
14672
  gap: var(--spacing-base);
14886
14673
  `;
14887
- var linkParameterInput = (withExternalLinkIcon) => import_react85.css`
14674
+ var linkParameterInput = (withExternalLinkIcon) => import_react78.css`
14888
14675
  padding-right: calc(
14889
14676
  ${withExternalLinkIcon ? "var(--spacing-2xl)" : "var(--spacing-xl)"} + var(--spacing-base)
14890
14677
  );
14891
14678
  `;
14892
- var linkParameterIcon = import_react85.css`
14679
+ var linkParameterIcon = import_react78.css`
14893
14680
  align-items: center;
14894
14681
  color: var(--brand-secondary-3);
14895
14682
  display: flex;
@@ -14904,7 +14691,7 @@ var linkParameterIcon = import_react85.css`
14904
14691
  `;
14905
14692
 
14906
14693
  // src/components/ParameterInputs/ParameterDataResource.tsx
14907
- var import_jsx_runtime80 = require("@emotion/react/jsx-runtime");
14694
+ var import_jsx_runtime76 = require("@emotion/react/jsx-runtime");
14908
14695
  function ParameterDataResource({
14909
14696
  label,
14910
14697
  labelLeadingIcon,
@@ -14914,12 +14701,12 @@ function ParameterDataResource({
14914
14701
  disabled,
14915
14702
  children
14916
14703
  }) {
14917
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { "data-testid": "parameter-data-connect-button", children: [
14918
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("span", { css: labelText2, children: [
14704
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { "data-testid": "parameter-data-connect-button", children: [
14705
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("span", { css: labelText2, children: [
14919
14706
  labelLeadingIcon ? labelLeadingIcon : null,
14920
14707
  label
14921
14708
  ] }),
14922
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
14709
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
14923
14710
  "button",
14924
14711
  {
14925
14712
  type: "button",
@@ -14928,30 +14715,30 @@ function ParameterDataResource({
14928
14715
  disabled,
14929
14716
  onClick: onConnectDatasource,
14930
14717
  children: [
14931
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
14718
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
14932
14719
  children
14933
14720
  ]
14934
14721
  }
14935
14722
  ),
14936
- caption ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Caption, { children: caption }) : null
14723
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Caption, { children: caption }) : null
14937
14724
  ] });
14938
14725
  }
14939
14726
 
14940
14727
  // src/components/ParameterInputs/styles/ParameterDrawerHeader.styles.ts
14941
- var import_react86 = require("@emotion/react");
14942
- var ParameterDrawerHeaderContainer = import_react86.css`
14728
+ var import_react79 = require("@emotion/react");
14729
+ var ParameterDrawerHeaderContainer = import_react79.css`
14943
14730
  align-items: center;
14944
14731
  display: flex;
14945
14732
  gap: var(--spacing-base);
14946
14733
  justify-content: space-between;
14947
14734
  margin-bottom: var(--spacing-sm);
14948
14735
  `;
14949
- var ParameterDrawerHeaderTitleGroup = import_react86.css`
14736
+ var ParameterDrawerHeaderTitleGroup = import_react79.css`
14950
14737
  align-items: center;
14951
14738
  display: flex;
14952
14739
  gap: var(--spacing-sm);
14953
14740
  `;
14954
- var ParameterDrawerHeaderTitle = import_react86.css`
14741
+ var ParameterDrawerHeaderTitle = import_react79.css`
14955
14742
  text-overflow: ellipsis;
14956
14743
  white-space: nowrap;
14957
14744
  overflow: hidden;
@@ -14959,23 +14746,23 @@ var ParameterDrawerHeaderTitle = import_react86.css`
14959
14746
  `;
14960
14747
 
14961
14748
  // src/components/ParameterInputs/ParameterDrawerHeader.tsx
14962
- var import_jsx_runtime81 = require("@emotion/react/jsx-runtime");
14749
+ var import_jsx_runtime77 = require("@emotion/react/jsx-runtime");
14963
14750
  var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
14964
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { css: ParameterDrawerHeaderContainer, children: [
14965
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("header", { css: ParameterDrawerHeaderTitleGroup, children: [
14751
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { css: ParameterDrawerHeaderContainer, children: [
14752
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("header", { css: ParameterDrawerHeaderTitleGroup, children: [
14966
14753
  iconBeforeTitle,
14967
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
14754
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
14968
14755
  ] }),
14969
14756
  children
14970
14757
  ] });
14971
14758
  };
14972
14759
 
14973
14760
  // src/components/ParameterInputs/ParameterGroup.tsx
14974
- var import_react88 = require("react");
14761
+ var import_react81 = require("react");
14975
14762
 
14976
14763
  // src/components/ParameterInputs/styles/ParameterGroup.styles.ts
14977
- var import_react87 = require("@emotion/react");
14978
- var fieldsetStyles = import_react87.css`
14764
+ var import_react80 = require("@emotion/react");
14765
+ var fieldsetStyles = import_react80.css`
14979
14766
  &:disabled,
14980
14767
  [readonly] {
14981
14768
  pointer-events: none;
@@ -14986,7 +14773,7 @@ var fieldsetStyles = import_react87.css`
14986
14773
  }
14987
14774
  }
14988
14775
  `;
14989
- var fieldsetLegend2 = import_react87.css`
14776
+ var fieldsetLegend2 = import_react80.css`
14990
14777
  display: block;
14991
14778
  font-weight: var(--fw-medium);
14992
14779
  margin-bottom: var(--spacing-sm);
@@ -14994,38 +14781,38 @@ var fieldsetLegend2 = import_react87.css`
14994
14781
  `;
14995
14782
 
14996
14783
  // src/components/ParameterInputs/ParameterGroup.tsx
14997
- var import_jsx_runtime82 = require("@emotion/react/jsx-runtime");
14998
- var ParameterGroup = (0, import_react88.forwardRef)(
14784
+ var import_jsx_runtime78 = require("@emotion/react/jsx-runtime");
14785
+ var ParameterGroup = (0, import_react81.forwardRef)(
14999
14786
  ({ legend, isDisabled, children, ...props }, ref) => {
15000
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
15001
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("legend", { css: fieldsetLegend2, children: legend }),
14787
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
14788
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("legend", { css: fieldsetLegend2, children: legend }),
15002
14789
  children
15003
14790
  ] });
15004
14791
  }
15005
14792
  );
15006
14793
 
15007
14794
  // src/components/ParameterInputs/ParameterImage.tsx
15008
- var import_react92 = require("react");
14795
+ var import_react85 = require("react");
15009
14796
 
15010
14797
  // src/components/ParameterInputs/ParameterShell.tsx
15011
- var import_react91 = require("react");
14798
+ var import_react84 = require("react");
15012
14799
 
15013
14800
  // src/components/ParameterInputs/ParameterLabel.tsx
15014
- var import_jsx_runtime83 = require("@emotion/react/jsx-runtime");
14801
+ var import_jsx_runtime79 = require("@emotion/react/jsx-runtime");
15015
14802
  var ParameterLabel = ({ id, asSpan, children, ...props }) => {
15016
- return !asSpan ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { "aria-labelledby": id, css: labelText2, children });
14803
+ return !asSpan ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { "aria-labelledby": id, css: labelText2, children });
15017
14804
  };
15018
14805
 
15019
14806
  // src/components/ParameterInputs/ParameterMenuButton.tsx
15020
- var import_react89 = require("react");
15021
- var import_jsx_runtime84 = require("@emotion/react/jsx-runtime");
15022
- var ParameterMenuButton = (0, import_react89.forwardRef)(
14807
+ var import_react82 = require("react");
14808
+ var import_jsx_runtime80 = require("@emotion/react/jsx-runtime");
14809
+ var ParameterMenuButton = (0, import_react82.forwardRef)(
15023
14810
  ({ label, children }, ref) => {
15024
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
14811
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
15025
14812
  Menu,
15026
14813
  {
15027
14814
  menuLabel: `${label} menu`,
15028
- menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
14815
+ menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
15029
14816
  "button",
15030
14817
  {
15031
14818
  className: "parameter-menu",
@@ -15033,7 +14820,7 @@ var ParameterMenuButton = (0, import_react89.forwardRef)(
15033
14820
  type: "button",
15034
14821
  "aria-label": `${label} options`,
15035
14822
  ref,
15036
- children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
14823
+ children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
15037
14824
  }
15038
14825
  ),
15039
14826
  children
@@ -15043,15 +14830,15 @@ var ParameterMenuButton = (0, import_react89.forwardRef)(
15043
14830
  );
15044
14831
 
15045
14832
  // src/components/ParameterInputs/styles/ParameterShell.styles.ts
15046
- var import_react90 = require("@emotion/react");
15047
- var emptyParameterShell = import_react90.css`
14833
+ var import_react83 = require("@emotion/react");
14834
+ var emptyParameterShell = import_react83.css`
15048
14835
  border-radius: var(--rounded-sm);
15049
14836
  background: var(--white);
15050
14837
  flex-grow: 1;
15051
14838
  padding: var(--spacing-xs);
15052
14839
  position: relative;
15053
14840
  `;
15054
- var emptyParameterShellText = import_react90.css`
14841
+ var emptyParameterShellText = import_react83.css`
15055
14842
  background: var(--brand-secondary-6);
15056
14843
  border-radius: var(--rounded-sm);
15057
14844
  padding: var(--spacing-sm);
@@ -15059,7 +14846,7 @@ var emptyParameterShellText = import_react90.css`
15059
14846
  font-size: var(--fs-sm);
15060
14847
  margin: 0;
15061
14848
  `;
15062
- var overrideMarker = import_react90.css`
14849
+ var overrideMarker = import_react83.css`
15063
14850
  border-radius: var(--rounded-sm);
15064
14851
  border: 10px solid var(--gray-300);
15065
14852
  border-left-color: transparent;
@@ -15070,7 +14857,7 @@ var overrideMarker = import_react90.css`
15070
14857
  `;
15071
14858
 
15072
14859
  // src/components/ParameterInputs/ParameterShell.tsx
15073
- var import_jsx_runtime85 = require("@emotion/react/jsx-runtime");
14860
+ var import_jsx_runtime81 = require("@emotion/react/jsx-runtime");
15074
14861
  var extractParameterProps = (props) => {
15075
14862
  const {
15076
14863
  id,
@@ -15129,21 +14916,21 @@ var ParameterShell = ({
15129
14916
  children,
15130
14917
  ...props
15131
14918
  }) => {
15132
- const [manualErrorMessage, setManualErrorMessage] = (0, import_react91.useState)(void 0);
14919
+ const [manualErrorMessage, setManualErrorMessage] = (0, import_react84.useState)(void 0);
15133
14920
  const setErrorMessage = (message) => setManualErrorMessage(message);
15134
14921
  const errorMessaging = errorMessage || manualErrorMessage;
15135
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { css: inputContainer2, ...props, children: [
15136
- hiddenLabel || title ? null : /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(ParameterLabel, { id, css: labelText2, children: [
14922
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { css: inputContainer2, ...props, children: [
14923
+ hiddenLabel || title ? null : /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(ParameterLabel, { id, css: labelText2, children: [
15137
14924
  labelLeadingIcon ? labelLeadingIcon : null,
15138
14925
  label
15139
14926
  ] }),
15140
- !title ? null : /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(ParameterLabel, { id, asSpan: true, children: [
14927
+ !title ? null : /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(ParameterLabel, { id, asSpan: true, children: [
15141
14928
  labelLeadingIcon ? labelLeadingIcon : null,
15142
14929
  title
15143
14930
  ] }),
15144
- /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { css: inputWrapper, children: [
15145
- menuItems ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
15146
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
14931
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { css: inputWrapper, children: [
14932
+ menuItems ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
14933
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
15147
14934
  ParameterShellContext.Provider,
15148
14935
  {
15149
14936
  value: {
@@ -15153,32 +14940,32 @@ var ParameterShell = ({
15153
14940
  errorMessage: errorMessaging,
15154
14941
  onManuallySetErrorMessage: (message) => setErrorMessage(message)
15155
14942
  },
15156
- children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(ParameterShellPlaceholder, { children: [
14943
+ children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(ParameterShellPlaceholder, { children: [
15157
14944
  children,
15158
- hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
14945
+ hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
15159
14946
  ] })
15160
14947
  }
15161
14948
  )
15162
14949
  ] }),
15163
- caption ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Caption, { testId: captionTestId, children: caption }) : null,
15164
- errorMessaging ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null,
15165
- warningMessage ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(WarningMessage, { message: warningMessage }) : null,
15166
- infoMessage ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(InfoMessage, { message: infoMessage }) : null
14950
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Caption, { testId: captionTestId, children: caption }) : null,
14951
+ errorMessaging ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null,
14952
+ warningMessage ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(WarningMessage, { message: warningMessage }) : null,
14953
+ infoMessage ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(InfoMessage, { message: infoMessage }) : null
15167
14954
  ] });
15168
14955
  };
15169
14956
  var ParameterShellPlaceholder = ({ children }) => {
15170
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { css: emptyParameterShell, children });
14957
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { css: emptyParameterShell, children });
15171
14958
  };
15172
- var ParameterOverrideMarker = (props) => /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { hidden: true, children: "reset overridden value to default" }) }) });
14959
+ var ParameterOverrideMarker = (props) => /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { hidden: true, children: "reset overridden value to default" }) }) });
15173
14960
 
15174
14961
  // src/components/ParameterInputs/ParameterImage.tsx
15175
- var import_jsx_runtime86 = require("@emotion/react/jsx-runtime");
15176
- var ParameterImage = (0, import_react92.forwardRef)((props, ref) => {
14962
+ var import_jsx_runtime82 = require("@emotion/react/jsx-runtime");
14963
+ var ParameterImage = (0, import_react85.forwardRef)((props, ref) => {
15177
14964
  const { shellProps, innerProps } = extractParameterProps(props);
15178
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(ParameterImageInner, { ref, ...innerProps }) });
14965
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(ParameterImageInner, { ref, ...innerProps }) });
15179
14966
  });
15180
14967
  var BrokenImage = ({ ...props }) => {
15181
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
14968
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
15182
14969
  "svg",
15183
14970
  {
15184
14971
  width: "214",
@@ -15189,11 +14976,11 @@ var BrokenImage = ({ ...props }) => {
15189
14976
  xmlnsXlink: "http://www.w3.org/1999/xlink",
15190
14977
  ...props,
15191
14978
  children: [
15192
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
15193
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
15194
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("defs", { children: [
15195
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
15196
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
14979
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
14980
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
14981
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("defs", { children: [
14982
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
14983
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
15197
14984
  "image",
15198
14985
  {
15199
14986
  id: "image0_761_4353",
@@ -15207,14 +14994,14 @@ var BrokenImage = ({ ...props }) => {
15207
14994
  }
15208
14995
  );
15209
14996
  };
15210
- var ParameterImageInner = (0, import_react92.forwardRef)(
14997
+ var ParameterImageInner = (0, import_react85.forwardRef)(
15211
14998
  ({ ...props }, ref) => {
15212
14999
  const { value } = props;
15213
15000
  const { id, label, hiddenLabel, errorMessage, onManuallySetErrorMessage } = useParameterShell();
15214
- const [loading, setLoading] = (0, import_react92.useState)(false);
15215
- const deferredValue = (0, import_react92.useDeferredValue)(value);
15001
+ const [loading, setLoading] = (0, import_react85.useState)(false);
15002
+ const deferredValue = (0, import_react85.useDeferredValue)(value);
15216
15003
  const errorText = "The text you provided is not a valid URL";
15217
- const updateImageSrc = (0, import_react92.useCallback)(() => {
15004
+ const updateImageSrc = (0, import_react85.useCallback)(() => {
15218
15005
  let message = void 0;
15219
15006
  try {
15220
15007
  if (value !== "") {
@@ -15242,11 +15029,11 @@ var ParameterImageInner = (0, import_react92.forwardRef)(
15242
15029
  onManuallySetErrorMessage(errorText);
15243
15030
  }
15244
15031
  };
15245
- (0, import_react92.useEffect)(() => {
15032
+ (0, import_react85.useEffect)(() => {
15246
15033
  updateImageSrc();
15247
15034
  }, [value]);
15248
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_jsx_runtime86.Fragment, { children: [
15249
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
15035
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(import_jsx_runtime82.Fragment, { children: [
15036
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
15250
15037
  "input",
15251
15038
  {
15252
15039
  css: input2,
@@ -15258,8 +15045,8 @@ var ParameterImageInner = (0, import_react92.forwardRef)(
15258
15045
  ...props
15259
15046
  }
15260
15047
  ),
15261
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { css: imageWrapper, children: [
15262
- deferredValue && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
15048
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { css: imageWrapper, children: [
15049
+ deferredValue && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
15263
15050
  "img",
15264
15051
  {
15265
15052
  src: deferredValue,
@@ -15269,24 +15056,24 @@ var ParameterImageInner = (0, import_react92.forwardRef)(
15269
15056
  loading: "lazy"
15270
15057
  }
15271
15058
  ) : null,
15272
- deferredValue && errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(BrokenImage, { css: img }) : null
15059
+ deferredValue && errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(BrokenImage, { css: img }) : null
15273
15060
  ] }),
15274
- loading ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(LoadingIcon, {}) : null
15061
+ loading ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(LoadingIcon, {}) : null
15275
15062
  ] });
15276
15063
  }
15277
15064
  );
15278
15065
 
15279
15066
  // src/components/ParameterInputs/ParameterInput.tsx
15280
- var import_react93 = require("react");
15281
- var import_jsx_runtime87 = require("@emotion/react/jsx-runtime");
15282
- var ParameterInput = (0, import_react93.forwardRef)((props, ref) => {
15067
+ var import_react86 = require("react");
15068
+ var import_jsx_runtime83 = require("@emotion/react/jsx-runtime");
15069
+ var ParameterInput = (0, import_react86.forwardRef)((props, ref) => {
15283
15070
  const { shellProps, innerProps } = extractParameterProps(props);
15284
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ParameterShell, { "data-test-id": "parameter-input", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ParameterInputInner, { ref, ...innerProps }) });
15071
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(ParameterShell, { "data-test-id": "parameter-input", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(ParameterInputInner, { ref, ...innerProps }) });
15285
15072
  });
15286
- var ParameterInputInner = (0, import_react93.forwardRef)(
15073
+ var ParameterInputInner = (0, import_react86.forwardRef)(
15287
15074
  ({ ...props }, ref) => {
15288
15075
  const { id, label, hiddenLabel } = useParameterShell();
15289
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
15076
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
15290
15077
  "input",
15291
15078
  {
15292
15079
  css: input2,
@@ -15302,19 +15089,19 @@ var ParameterInputInner = (0, import_react93.forwardRef)(
15302
15089
  );
15303
15090
 
15304
15091
  // src/components/ParameterInputs/ParameterLink.tsx
15305
- var import_react94 = require("react");
15306
- var import_jsx_runtime88 = require("@emotion/react/jsx-runtime");
15307
- var ParameterLink = (0, import_react94.forwardRef)(
15092
+ var import_react87 = require("react");
15093
+ var import_jsx_runtime84 = require("@emotion/react/jsx-runtime");
15094
+ var ParameterLink = (0, import_react87.forwardRef)(
15308
15095
  ({ buttonText = "Select link", disabled, onConnectLink, externalLink, ...props }, ref) => {
15309
15096
  const { shellProps, innerProps } = extractParameterProps(props);
15310
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
15097
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
15311
15098
  ParameterShell,
15312
15099
  {
15313
15100
  "data-test-id": "link-parameter-editor",
15314
15101
  ...shellProps,
15315
15102
  label: innerProps.value ? shellProps.label : "",
15316
15103
  title: !innerProps.value ? shellProps.label : void 0,
15317
- children: !innerProps.value ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("button", { type: "button", css: dataConnectButton, disabled, onClick: onConnectLink, children: buttonText }) : /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
15104
+ children: !innerProps.value ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("button", { type: "button", css: dataConnectButton, disabled, onClick: onConnectLink, children: buttonText }) : /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
15318
15105
  ParameterLinkInner,
15319
15106
  {
15320
15107
  onConnectLink,
@@ -15327,11 +15114,11 @@ var ParameterLink = (0, import_react94.forwardRef)(
15327
15114
  );
15328
15115
  }
15329
15116
  );
15330
- var ParameterLinkInner = (0, import_react94.forwardRef)(
15117
+ var ParameterLinkInner = (0, import_react87.forwardRef)(
15331
15118
  ({ externalLink, onConnectLink, disabled, ...props }, ref) => {
15332
15119
  const { id, label, hiddenLabel } = useParameterShell();
15333
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { css: inputWrapper, children: [
15334
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
15120
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { css: inputWrapper, children: [
15121
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
15335
15122
  "input",
15336
15123
  {
15337
15124
  type: "text",
@@ -15343,8 +15130,8 @@ var ParameterLinkInner = (0, import_react94.forwardRef)(
15343
15130
  ...props
15344
15131
  }
15345
15132
  ),
15346
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { css: linkParameterControls, children: [
15347
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
15133
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { css: linkParameterControls, children: [
15134
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
15348
15135
  "button",
15349
15136
  {
15350
15137
  type: "button",
@@ -15355,7 +15142,7 @@ var ParameterLinkInner = (0, import_react94.forwardRef)(
15355
15142
  children: "edit"
15356
15143
  }
15357
15144
  ),
15358
- externalLink ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
15145
+ externalLink ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
15359
15146
  "a",
15360
15147
  {
15361
15148
  href: externalLink,
@@ -15363,7 +15150,7 @@ var ParameterLinkInner = (0, import_react94.forwardRef)(
15363
15150
  title: "Open link in new tab",
15364
15151
  target: "_blank",
15365
15152
  rel: "noopener noreferrer",
15366
- children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
15153
+ children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
15367
15154
  }
15368
15155
  ) : null
15369
15156
  ] })
@@ -15372,7 +15159,7 @@ var ParameterLinkInner = (0, import_react94.forwardRef)(
15372
15159
  );
15373
15160
 
15374
15161
  // src/components/ParameterInputs/ParameterNameAndPublicIdInput.tsx
15375
- var import_jsx_runtime89 = require("@emotion/react/jsx-runtime");
15162
+ var import_jsx_runtime85 = require("@emotion/react/jsx-runtime");
15376
15163
  var ParameterNameAndPublicIdInput = ({
15377
15164
  id,
15378
15165
  onBlur,
@@ -15398,8 +15185,8 @@ var ParameterNameAndPublicIdInput = ({
15398
15185
  navigator.clipboard.writeText(values[publicIdFieldName]);
15399
15186
  };
15400
15187
  autoFocus == null ? void 0 : autoFocus();
15401
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(import_jsx_runtime89.Fragment, { children: [
15402
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
15188
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_jsx_runtime85.Fragment, { children: [
15189
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
15403
15190
  ParameterInput,
15404
15191
  {
15405
15192
  id: nameIdField,
@@ -15418,7 +15205,7 @@ var ParameterNameAndPublicIdInput = ({
15418
15205
  value: values[nameIdField]
15419
15206
  }
15420
15207
  ),
15421
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
15208
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
15422
15209
  ParameterInput,
15423
15210
  {
15424
15211
  id: publicIdFieldName,
@@ -15432,11 +15219,11 @@ var ParameterNameAndPublicIdInput = ({
15432
15219
  caption: publicIdCaption,
15433
15220
  placeholder: publicIdPlaceholderText,
15434
15221
  errorMessage: publicIdError,
15435
- menuItems: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
15222
+ menuItems: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
15436
15223
  MenuItem,
15437
15224
  {
15438
15225
  disabled: !values[publicIdFieldName],
15439
- icon: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Icon, { icon: "path-trim", iconColor: "currentColor" }),
15226
+ icon: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Icon, { icon: "path-trim", iconColor: "currentColor" }),
15440
15227
  onClick: handleCopyPidFieldValue,
15441
15228
  children: "Copy"
15442
15229
  }
@@ -15444,14 +15231,14 @@ var ParameterNameAndPublicIdInput = ({
15444
15231
  value: values[publicIdFieldName]
15445
15232
  }
15446
15233
  ),
15447
- (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Callout, { type: "caution", children: warnOverLength.message }) : null
15234
+ (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Callout, { type: "caution", children: warnOverLength.message }) : null
15448
15235
  ] });
15449
15236
  };
15450
15237
 
15451
15238
  // src/components/ParameterInputs/ParameterRichText.tsx
15452
- var import_react95 = require("react");
15453
- var import_jsx_runtime90 = require("@emotion/react/jsx-runtime");
15454
- var ParameterRichText = (0, import_react95.forwardRef)(
15239
+ var import_react88 = require("react");
15240
+ var import_jsx_runtime86 = require("@emotion/react/jsx-runtime");
15241
+ var ParameterRichText = (0, import_react88.forwardRef)(
15455
15242
  ({
15456
15243
  label,
15457
15244
  labelLeadingIcon,
@@ -15464,7 +15251,7 @@ var ParameterRichText = (0, import_react95.forwardRef)(
15464
15251
  menuItems,
15465
15252
  ...props
15466
15253
  }, ref) => {
15467
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
15254
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
15468
15255
  ParameterShell,
15469
15256
  {
15470
15257
  "data-test-id": "parameter-input",
@@ -15477,16 +15264,16 @@ var ParameterRichText = (0, import_react95.forwardRef)(
15477
15264
  captionTestId,
15478
15265
  menuItems,
15479
15266
  children: [
15480
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(ParameterRichTextInner, { ref, ...props }),
15481
- menuItems ? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_jsx_runtime90.Fragment, { children: menuItems }) }) : null
15267
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(ParameterRichTextInner, { ref, ...props }),
15268
+ menuItems ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_jsx_runtime86.Fragment, { children: menuItems }) }) : null
15482
15269
  ]
15483
15270
  }
15484
15271
  );
15485
15272
  }
15486
15273
  );
15487
- var ParameterRichTextInner = (0, import_react95.forwardRef)(({ ...props }, ref) => {
15274
+ var ParameterRichTextInner = (0, import_react88.forwardRef)(({ ...props }, ref) => {
15488
15275
  const { id, label, hiddenLabel } = useParameterShell();
15489
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
15276
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
15490
15277
  "textarea",
15491
15278
  {
15492
15279
  css: [input2, textarea2],
@@ -15499,18 +15286,18 @@ var ParameterRichTextInner = (0, import_react95.forwardRef)(({ ...props }, ref)
15499
15286
  });
15500
15287
 
15501
15288
  // src/components/ParameterInputs/ParameterSelect.tsx
15502
- var import_react96 = require("react");
15503
- var import_jsx_runtime91 = require("@emotion/react/jsx-runtime");
15504
- var ParameterSelect = (0, import_react96.forwardRef)(
15289
+ var import_react89 = require("react");
15290
+ var import_jsx_runtime87 = require("@emotion/react/jsx-runtime");
15291
+ var ParameterSelect = (0, import_react89.forwardRef)(
15505
15292
  ({ defaultOption, options, ...props }, ref) => {
15506
15293
  const { shellProps, innerProps } = extractParameterProps(props);
15507
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
15294
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
15508
15295
  }
15509
15296
  );
15510
- var ParameterSelectInner = (0, import_react96.forwardRef)(
15297
+ var ParameterSelectInner = (0, import_react89.forwardRef)(
15511
15298
  ({ defaultOption, options, ...props }, ref) => {
15512
15299
  const { id, label, hiddenLabel } = useParameterShell();
15513
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
15300
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
15514
15301
  "select",
15515
15302
  {
15516
15303
  css: [input2, selectInput],
@@ -15519,10 +15306,10 @@ var ParameterSelectInner = (0, import_react96.forwardRef)(
15519
15306
  ref,
15520
15307
  ...props,
15521
15308
  children: [
15522
- defaultOption ? /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("option", { value: "", children: defaultOption }) : null,
15309
+ defaultOption ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("option", { value: "", children: defaultOption }) : null,
15523
15310
  options.map((option) => {
15524
15311
  var _a;
15525
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
15312
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
15526
15313
  })
15527
15314
  ]
15528
15315
  }
@@ -15531,15 +15318,15 @@ var ParameterSelectInner = (0, import_react96.forwardRef)(
15531
15318
  );
15532
15319
 
15533
15320
  // src/components/ParameterInputs/ParameterTextarea.tsx
15534
- var import_react97 = require("react");
15535
- var import_jsx_runtime92 = require("@emotion/react/jsx-runtime");
15536
- var ParameterTextarea = (0, import_react97.forwardRef)((props, ref) => {
15321
+ var import_react90 = require("react");
15322
+ var import_jsx_runtime88 = require("@emotion/react/jsx-runtime");
15323
+ var ParameterTextarea = (0, import_react90.forwardRef)((props, ref) => {
15537
15324
  const { shellProps, innerProps } = extractParameterProps(props);
15538
- return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(ParameterShell, { "data-test-id": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(ParameterTextareaInner, { ref, ...innerProps }) });
15325
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(ParameterShell, { "data-test-id": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(ParameterTextareaInner, { ref, ...innerProps }) });
15539
15326
  });
15540
- var ParameterTextareaInner = (0, import_react97.forwardRef)(({ ...props }, ref) => {
15327
+ var ParameterTextareaInner = (0, import_react90.forwardRef)(({ ...props }, ref) => {
15541
15328
  const { id, label, hiddenLabel } = useParameterShell();
15542
- return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
15329
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
15543
15330
  "textarea",
15544
15331
  {
15545
15332
  css: [input2, textarea2],
@@ -15552,18 +15339,18 @@ var ParameterTextareaInner = (0, import_react97.forwardRef)(({ ...props }, ref)
15552
15339
  });
15553
15340
 
15554
15341
  // src/components/ParameterInputs/ParameterToggle.tsx
15555
- var import_react98 = require("react");
15556
- var import_jsx_runtime93 = require("@emotion/react/jsx-runtime");
15557
- var ParameterToggle = (0, import_react98.forwardRef)((props, ref) => {
15342
+ var import_react91 = require("react");
15343
+ var import_jsx_runtime89 = require("@emotion/react/jsx-runtime");
15344
+ var ParameterToggle = (0, import_react91.forwardRef)((props, ref) => {
15558
15345
  const { shellProps, innerProps } = extractParameterProps(props);
15559
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(ParameterToggleInner, { ref, ...innerProps }) });
15346
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(ParameterToggleInner, { ref, ...innerProps }) });
15560
15347
  });
15561
- var ParameterToggleInner = (0, import_react98.forwardRef)(
15348
+ var ParameterToggleInner = (0, import_react91.forwardRef)(
15562
15349
  ({ ...props }, ref) => {
15563
15350
  const { id, label } = useParameterShell();
15564
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("label", { css: inputToggleLabel2, children: [
15565
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
15566
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { css: inlineLabel2, children: label })
15351
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("label", { css: inputToggleLabel2, children: [
15352
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
15353
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { css: inlineLabel2, children: label })
15567
15354
  ] });
15568
15355
  }
15569
15356
  );
@@ -15573,13 +15360,13 @@ var import_Popover = require("reakit/Popover");
15573
15360
  var import_Portal2 = require("reakit/Portal");
15574
15361
 
15575
15362
  // src/components/Popover/Popover.styles.ts
15576
- var import_react99 = require("@emotion/react");
15577
- var PopoverBtn = import_react99.css`
15363
+ var import_react92 = require("@emotion/react");
15364
+ var PopoverBtn = import_react92.css`
15578
15365
  border: none;
15579
15366
  background: none;
15580
15367
  padding: 0;
15581
15368
  `;
15582
- var Popover = import_react99.css`
15369
+ var Popover = import_react92.css`
15583
15370
  border-left: var(--spacing-xs) solid var(--brand-secondary-3);
15584
15371
  border-radius: var(--rounded-base);
15585
15372
  box-shadow: var(--shadow-base);
@@ -15592,49 +15379,50 @@ var Popover = import_react99.css`
15592
15379
  `;
15593
15380
 
15594
15381
  // src/components/Popover/Popover.tsx
15595
- var import_jsx_runtime94 = require("@emotion/react/jsx-runtime");
15382
+ var import_jsx_runtime90 = require("@emotion/react/jsx-runtime");
15596
15383
  var Popover2 = ({
15597
- iconColor = "green",
15384
+ iconColor = "action",
15598
15385
  icon = "info",
15599
15386
  iconSize = "1rem",
15600
15387
  buttonText,
15601
15388
  ariaLabel,
15602
15389
  placement = "bottom",
15390
+ testId,
15603
15391
  children
15604
15392
  }) => {
15605
15393
  const popover = (0, import_Popover.usePopoverState)({ placement });
15606
- return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_jsx_runtime94.Fragment, { children: [
15607
- /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_Popover.PopoverDisclosure, { ...popover, css: PopoverBtn, title: buttonText, children: [
15608
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Icon, { icon, iconColor, size: iconSize }),
15609
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { hidden: true, children: buttonText })
15394
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_jsx_runtime90.Fragment, { children: [
15395
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_Popover.PopoverDisclosure, { ...popover, css: PopoverBtn, title: buttonText, "data-test-id": testId, children: [
15396
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Icon, { icon, iconColor, size: iconSize }),
15397
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("span", { hidden: true, children: buttonText })
15610
15398
  ] }),
15611
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_Portal2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(import_Popover.Popover, { css: Popover, ...popover, "aria-label": ariaLabel, children }) })
15399
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_Portal2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_Popover.Popover, { css: Popover, ...popover, "aria-label": ariaLabel, children }) })
15612
15400
  ] });
15613
15401
  };
15614
15402
 
15615
15403
  // src/components/ProgressList/ProgressList.tsx
15616
- var import_react101 = require("@emotion/react");
15617
- var import_react102 = require("react");
15618
- var import_cg16 = require("react-icons/cg");
15404
+ var import_react94 = require("@emotion/react");
15405
+ var import_react95 = require("react");
15406
+ var import_cg17 = require("react-icons/cg");
15619
15407
 
15620
15408
  // src/components/ProgressList/styles/ProgressList.styles.ts
15621
- var import_react100 = require("@emotion/react");
15622
- var progressListStyles = import_react100.css`
15409
+ var import_react93 = require("@emotion/react");
15410
+ var progressListStyles = import_react93.css`
15623
15411
  display: flex;
15624
15412
  flex-direction: column;
15625
15413
  gap: var(--spacing-sm);
15626
15414
  list-style-type: none;
15627
15415
  `;
15628
- var progressListItemStyles = import_react100.css`
15416
+ var progressListItemStyles = import_react93.css`
15629
15417
  display: flex;
15630
15418
  gap: var(--spacing-base);
15631
15419
  align-items: center;
15632
15420
  `;
15633
15421
 
15634
15422
  // src/components/ProgressList/ProgressList.tsx
15635
- var import_jsx_runtime95 = require("@emotion/react/jsx-runtime");
15423
+ var import_jsx_runtime91 = require("@emotion/react/jsx-runtime");
15636
15424
  var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
15637
- const itemsWithStatus = (0, import_react102.useMemo)(() => {
15425
+ const itemsWithStatus = (0, import_react95.useMemo)(() => {
15638
15426
  const indexOfInProgressItem = items.findIndex(({ id }) => id === inProgressId);
15639
15427
  return items.map((item, index) => {
15640
15428
  let status = "queued";
@@ -15646,8 +15434,8 @@ var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
15646
15434
  return { ...item, status };
15647
15435
  });
15648
15436
  }, [items, inProgressId]);
15649
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
15650
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
15437
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
15438
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
15651
15439
  ProgressListItem,
15652
15440
  {
15653
15441
  status,
@@ -15667,25 +15455,25 @@ var ProgressListItem = ({
15667
15455
  errorLevel = "danger",
15668
15456
  autoEllipsis = false
15669
15457
  }) => {
15670
- const Icon2 = (0, import_react102.useMemo)(() => {
15458
+ const Icon2 = (0, import_react95.useMemo)(() => {
15671
15459
  if (error) {
15672
15460
  return warningIcon;
15673
15461
  }
15674
15462
  const iconPerStatus = {
15675
- completed: import_cg16.CgCheckO,
15676
- inProgress: import_cg16.CgRecord,
15677
- queued: import_cg16.CgRadioCheck
15463
+ completed: import_cg17.CgCheckO,
15464
+ inProgress: import_cg17.CgRecord,
15465
+ queued: import_cg17.CgRadioCheck
15678
15466
  };
15679
15467
  return iconPerStatus[status];
15680
15468
  }, [status, error]);
15681
- const statusStyles = (0, import_react102.useMemo)(() => {
15469
+ const statusStyles = (0, import_react95.useMemo)(() => {
15682
15470
  if (error) {
15683
- return errorLevel === "caution" ? import_react101.css`
15471
+ return errorLevel === "caution" ? import_react94.css`
15684
15472
  color: rgb(161, 98, 7);
15685
15473
  & svg {
15686
15474
  color: rgb(250, 204, 21);
15687
15475
  }
15688
- ` : import_react101.css`
15476
+ ` : import_react94.css`
15689
15477
  color: rgb(185, 28, 28);
15690
15478
  & svg {
15691
15479
  color: var(--brand-primary-2);
@@ -15693,40 +15481,221 @@ var ProgressListItem = ({
15693
15481
  `;
15694
15482
  }
15695
15483
  const colorPerStatus = {
15696
- completed: import_react101.css`
15484
+ completed: import_react94.css`
15697
15485
  opacity: 0.75;
15698
15486
  `,
15699
- inProgress: import_react101.css`
15487
+ inProgress: import_react94.css`
15700
15488
  -webkit-text-stroke-width: thin;
15701
15489
  `,
15702
- queued: import_react101.css`
15490
+ queued: import_react94.css`
15703
15491
  opacity: 0.5;
15704
15492
  `
15705
15493
  };
15706
15494
  return colorPerStatus[status];
15707
15495
  }, [status, error, errorLevel]);
15708
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("li", { css: [progressListItemStyles, statusStyles], children: [
15709
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Icon2, { size: 20 }) }) }),
15710
- /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { children: [
15496
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("li", { css: [progressListItemStyles, statusStyles], children: [
15497
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Icon2, { size: 20 }) }) }),
15498
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { children: [
15711
15499
  children,
15712
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
15500
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
15713
15501
  ] })
15714
15502
  ] });
15715
15503
  };
15716
15504
 
15505
+ // src/components/SegmentedControl/SegmentedControl.tsx
15506
+ var import_react97 = require("@emotion/react");
15507
+ var import_react98 = require("react");
15508
+ var import_cg18 = require("react-icons/cg");
15509
+
15510
+ // src/components/SegmentedControl/SegmentedControl.styles.ts
15511
+ var import_react96 = require("@emotion/react");
15512
+ var segmentedControlStyles = import_react96.css`
15513
+ --segmented-control-rounded-value: var(--rounded-base);
15514
+ --segmented-control-border-width: 1px;
15515
+ --segmented-control-selected-color: var(--brand-secondary-3);
15516
+ --segmented-control-first-border-radius: var(--segmented-control-rounded-value) 0 0
15517
+ var(--segmented-control-rounded-value);
15518
+ --segmented-control-last-border-radius: 0 var(--segmented-control-rounded-value)
15519
+ var(--segmented-control-rounded-value) 0;
15520
+
15521
+ position: relative;
15522
+ display: flex;
15523
+ justify-content: flex-start;
15524
+ width: fit-content;
15525
+ background-color: var(--gray-300);
15526
+ padding: var(--segmented-control-border-width);
15527
+ gap: var(--segmented-control-border-width);
15528
+ border-radius: calc(var(--segmented-control-rounded-value) + var(--segmented-control-border-width));
15529
+ font-size: var(--fs-xs);
15530
+ `;
15531
+ var segmentedControlVerticalStyles = import_react96.css`
15532
+ flex-direction: column;
15533
+ --segmented-control-first-border-radius: var(--segmented-control-rounded-value)
15534
+ var(--segmented-control-rounded-value) 0 0;
15535
+ --segmented-control-last-border-radius: 0 0 var(--segmented-control-rounded-value)
15536
+ var(--segmented-control-rounded-value);
15537
+ `;
15538
+ var segmentedControlItemStyles = import_react96.css`
15539
+ &:first-of-type label {
15540
+ border-radius: var(--segmented-control-first-border-radius);
15541
+ }
15542
+ &:last-of-type label {
15543
+ border-radius: var(--segmented-control-last-border-radius);
15544
+ }
15545
+ `;
15546
+ var segmentedControlInputStyles = import_react96.css`
15547
+ clip: rect(0, 0, 0, 0);
15548
+ position: absolute;
15549
+ width: 1px;
15550
+ height: 1px;
15551
+ overflow: hidden;
15552
+ `;
15553
+ var segmentedControlLabelStyles = import_react96.css`
15554
+ position: relative;
15555
+ display: flex;
15556
+ align-items: center;
15557
+ justify-content: center;
15558
+ height: 2rem;
15559
+ padding-inline: var(--spacing-base);
15560
+ background-color: white;
15561
+ transition-property: background-color, color, box-shadow;
15562
+ transition-duration: var(--duration-xfast);
15563
+ transition-timing-function: ease-in-out;
15564
+ z-index: 1;
15565
+ cursor: pointer;
15566
+
15567
+ &:has(:checked:not(:disabled)) {
15568
+ background-color: var(--segmented-control-selected-color);
15569
+ outline: var(--segmented-control-border-width) solid var(--segmented-control-selected-color);
15570
+ box-shadow: 0 0.43em 1.7em 0 rgba(0, 0, 0, 0.15);
15571
+ color: white;
15572
+ -webkit-text-stroke-width: thin;
15573
+ z-index: 0;
15574
+ }
15575
+
15576
+ &:hover:not(:has(:disabled, :checked)) {
15577
+ background-color: var(--gray-100);
15578
+ }
15579
+
15580
+ &:has(:disabled) {
15581
+ color: var(--gray-400);
15582
+ cursor: default;
15583
+ }
15584
+
15585
+ &:has(:checked:disabled) {
15586
+ color: var(--gray-50);
15587
+ background-color: var(--gray-400);
15588
+ }
15589
+ `;
15590
+ var segmentedControlLabelIconOnlyStyles = import_react96.css`
15591
+ padding-inline: 0.5em;
15592
+ `;
15593
+ var segmentedControlLabelCheckStyles = import_react96.css`
15594
+ opacity: 0.5;
15595
+ `;
15596
+ var segmentedControlLabelContentStyles = import_react96.css`
15597
+ display: flex;
15598
+ align-items: center;
15599
+ justify-content: center;
15600
+ gap: var(--spacing-sm);
15601
+ height: 100%;
15602
+ `;
15603
+ var segmentedControlLabelTextStyles = import_react96.css``;
15604
+
15605
+ // src/components/SegmentedControl/SegmentedControl.tsx
15606
+ var import_jsx_runtime92 = require("@emotion/react/jsx-runtime");
15607
+ var SegmentedControl = ({
15608
+ name,
15609
+ options,
15610
+ value,
15611
+ onChange,
15612
+ noCheckmark = false,
15613
+ disabled = false,
15614
+ orientation = "horizontal",
15615
+ size = "md",
15616
+ ...props
15617
+ }) => {
15618
+ const onOptionChange = (0, import_react98.useCallback)(
15619
+ (event) => {
15620
+ if (event.target.checked) {
15621
+ onChange == null ? void 0 : onChange(options[parseInt(event.target.value)].value);
15622
+ }
15623
+ },
15624
+ [options, onChange]
15625
+ );
15626
+ const sizeStyles = (0, import_react98.useMemo)(() => {
15627
+ const map = {
15628
+ sm: (0, import_react97.css)({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
15629
+ md: (0, import_react97.css)({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
15630
+ lg: (0, import_react97.css)({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
15631
+ };
15632
+ return map[size];
15633
+ }, [size]);
15634
+ const isIconOnly = (0, import_react98.useMemo)(() => {
15635
+ return options.every((option) => option.icon && !option.label);
15636
+ }, [options]);
15637
+ return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
15638
+ "div",
15639
+ {
15640
+ css: [segmentedControlStyles, orientation === "vertical" ? segmentedControlVerticalStyles : void 0],
15641
+ ...props,
15642
+ children: options.map((option, index) => {
15643
+ const text = option.label ? option.label : option.icon ? null : String(option.value);
15644
+ const isDisabled = disabled || option.disabled;
15645
+ return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
15646
+ Tooltip,
15647
+ {
15648
+ title: isDisabled || !option.tooltip ? "" : option.tooltip,
15649
+ children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { css: segmentedControlItemStyles, "data-test-id": "container-segmented-control", children: /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
15650
+ "label",
15651
+ {
15652
+ css: [
15653
+ segmentedControlLabelStyles,
15654
+ sizeStyles,
15655
+ isIconOnly ? segmentedControlLabelIconOnlyStyles : void 0
15656
+ ],
15657
+ children: [
15658
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
15659
+ "input",
15660
+ {
15661
+ css: segmentedControlInputStyles,
15662
+ type: "radio",
15663
+ name,
15664
+ value: index,
15665
+ checked: option.value === value,
15666
+ onChange: onOptionChange,
15667
+ disabled: isDisabled
15668
+ }
15669
+ ),
15670
+ option.value !== value || noCheckmark ? null : /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_cg18.CgCheck, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
15671
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("span", { css: segmentedControlLabelContentStyles, children: [
15672
+ !option.icon ? null : /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(option.icon, { size: "1.5em" }),
15673
+ !text ? null : /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { css: segmentedControlLabelTextStyles, children: text })
15674
+ ] })
15675
+ ]
15676
+ }
15677
+ ) })
15678
+ },
15679
+ JSON.stringify(option.value)
15680
+ );
15681
+ })
15682
+ }
15683
+ );
15684
+ };
15685
+
15717
15686
  // src/components/Skeleton/Skeleton.styles.ts
15718
- var import_react103 = require("@emotion/react");
15719
- var lightFadingOut = import_react103.keyframes`
15687
+ var import_react99 = require("@emotion/react");
15688
+ var lightFadingOut = import_react99.keyframes`
15720
15689
  from { opacity: 0.1; }
15721
15690
  to { opacity: 0.025; }
15722
15691
  `;
15723
- var skeletonStyles = import_react103.css`
15692
+ var skeletonStyles = import_react99.css`
15724
15693
  animation: ${lightFadingOut} 1s ease-out infinite alternate;
15725
15694
  background-color: var(--gray-900);
15726
15695
  `;
15727
15696
 
15728
15697
  // src/components/Skeleton/Skeleton.tsx
15729
- var import_jsx_runtime96 = require("@emotion/react/jsx-runtime");
15698
+ var import_jsx_runtime93 = require("@emotion/react/jsx-runtime");
15730
15699
  var Skeleton = ({
15731
15700
  width = "100%",
15732
15701
  height = "1.25rem",
@@ -15734,7 +15703,7 @@ var Skeleton = ({
15734
15703
  circle = false,
15735
15704
  children,
15736
15705
  ...otherProps
15737
- }) => /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
15706
+ }) => /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
15738
15707
  "div",
15739
15708
  {
15740
15709
  css: [
@@ -15754,11 +15723,11 @@ var Skeleton = ({
15754
15723
  );
15755
15724
 
15756
15725
  // src/components/Switch/Switch.tsx
15757
- var React20 = __toESM(require("react"));
15726
+ var React19 = __toESM(require("react"));
15758
15727
 
15759
15728
  // src/components/Switch/Switch.styles.ts
15760
- var import_react104 = require("@emotion/react");
15761
- var SwitchInputContainer = import_react104.css`
15729
+ var import_react100 = require("@emotion/react");
15730
+ var SwitchInputContainer = import_react100.css`
15762
15731
  cursor: pointer;
15763
15732
  display: inline-block;
15764
15733
  position: relative;
@@ -15767,7 +15736,7 @@ var SwitchInputContainer = import_react104.css`
15767
15736
  vertical-align: middle;
15768
15737
  user-select: none;
15769
15738
  `;
15770
- var SwitchInput = import_react104.css`
15739
+ var SwitchInput = import_react100.css`
15771
15740
  appearance: none;
15772
15741
  border-radius: var(--rounded-full);
15773
15742
  background-color: var(--white);
@@ -15805,7 +15774,7 @@ var SwitchInput = import_react104.css`
15805
15774
  cursor: not-allowed;
15806
15775
  }
15807
15776
  `;
15808
- var SwitchInputDisabled = import_react104.css`
15777
+ var SwitchInputDisabled = import_react100.css`
15809
15778
  opacity: var(--opacity-50);
15810
15779
  cursor: not-allowed;
15811
15780
 
@@ -15813,7 +15782,7 @@ var SwitchInputDisabled = import_react104.css`
15813
15782
  cursor: not-allowed;
15814
15783
  }
15815
15784
  `;
15816
- var SwitchInputLabel = import_react104.css`
15785
+ var SwitchInputLabel = import_react100.css`
15817
15786
  align-items: center;
15818
15787
  color: var(--brand-secondary-1);
15819
15788
  display: inline-flex;
@@ -15835,143 +15804,143 @@ var SwitchInputLabel = import_react104.css`
15835
15804
  top: 0;
15836
15805
  }
15837
15806
  `;
15838
- var SwitchText = import_react104.css`
15807
+ var SwitchText = import_react100.css`
15839
15808
  color: var(--gray-500);
15840
15809
  font-size: var(--fs-sm);
15841
15810
  padding-inline: var(--spacing-2xl) 0;
15842
15811
  `;
15843
15812
 
15844
15813
  // src/components/Switch/Switch.tsx
15845
- var import_jsx_runtime97 = require("@emotion/react/jsx-runtime");
15846
- var Switch = React20.forwardRef(
15814
+ var import_jsx_runtime94 = require("@emotion/react/jsx-runtime");
15815
+ var Switch = React19.forwardRef(
15847
15816
  ({ label, infoText, toggleText, children, ...inputProps }, ref) => {
15848
15817
  let additionalText = infoText;
15849
15818
  if (infoText && toggleText) {
15850
15819
  additionalText = inputProps.checked ? toggleText : infoText;
15851
15820
  }
15852
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_jsx_runtime97.Fragment, { children: [
15853
- /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
15854
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
15855
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("span", { css: SwitchInputLabel, children: label })
15821
+ return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_jsx_runtime94.Fragment, { children: [
15822
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
15823
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
15824
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { css: SwitchInputLabel, children: label })
15856
15825
  ] }),
15857
- additionalText ? /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("p", { css: SwitchText, children: additionalText }) : null,
15826
+ additionalText ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("p", { css: SwitchText, children: additionalText }) : null,
15858
15827
  children
15859
15828
  ] });
15860
15829
  }
15861
15830
  );
15862
15831
 
15863
15832
  // src/components/Table/Table.tsx
15864
- var React21 = __toESM(require("react"));
15833
+ var React20 = __toESM(require("react"));
15865
15834
 
15866
15835
  // src/components/Table/Table.styles.ts
15867
- var import_react105 = require("@emotion/react");
15868
- var table = import_react105.css`
15836
+ var import_react101 = require("@emotion/react");
15837
+ var table = import_react101.css`
15869
15838
  border-bottom: 1px solid var(--gray-400);
15870
15839
  border-collapse: collapse;
15871
15840
  min-width: 100%;
15872
15841
  table-layout: auto;
15873
15842
  `;
15874
- var tableHead = import_react105.css`
15843
+ var tableHead = import_react101.css`
15875
15844
  background: var(--gray-100);
15876
15845
  color: var(--brand-secondary-1);
15877
15846
  text-align: left;
15878
15847
  `;
15879
- var tableRow = import_react105.css`
15848
+ var tableRow = import_react101.css`
15880
15849
  border-bottom: 1px solid var(--gray-200);
15881
15850
  `;
15882
- var tableCellHead = import_react105.css`
15851
+ var tableCellHead = import_react101.css`
15883
15852
  font-size: var(--fs-sm);
15884
15853
  padding: var(--spacing-base) var(--spacing-md);
15885
15854
  text-transform: uppercase;
15886
15855
  font-weight: var(--fw-bold);
15887
15856
  `;
15888
- var tableCellData = import_react105.css`
15857
+ var tableCellData = import_react101.css`
15889
15858
  padding: var(--spacing-base) var(--spacing-md);
15890
15859
  `;
15891
15860
 
15892
15861
  // src/components/Table/Table.tsx
15893
- var import_jsx_runtime98 = require("@emotion/react/jsx-runtime");
15894
- var Table = React21.forwardRef(({ children, ...otherProps }, ref) => {
15895
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("table", { ref, css: table, ...otherProps, children });
15862
+ var import_jsx_runtime95 = require("@emotion/react/jsx-runtime");
15863
+ var Table = React20.forwardRef(({ children, ...otherProps }, ref) => {
15864
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("table", { ref, css: table, ...otherProps, children });
15896
15865
  });
15897
- var TableHead = React21.forwardRef(
15866
+ var TableHead = React20.forwardRef(
15898
15867
  ({ children, ...otherProps }, ref) => {
15899
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("thead", { ref, css: tableHead, ...otherProps, children });
15868
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("thead", { ref, css: tableHead, ...otherProps, children });
15900
15869
  }
15901
15870
  );
15902
- var TableBody = React21.forwardRef(
15871
+ var TableBody = React20.forwardRef(
15903
15872
  ({ children, ...otherProps }, ref) => {
15904
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("tbody", { ref, ...otherProps, children });
15873
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("tbody", { ref, ...otherProps, children });
15905
15874
  }
15906
15875
  );
15907
- var TableFoot = React21.forwardRef(
15876
+ var TableFoot = React20.forwardRef(
15908
15877
  ({ children, ...otherProps }, ref) => {
15909
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("tfoot", { ref, ...otherProps, children });
15878
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("tfoot", { ref, ...otherProps, children });
15910
15879
  }
15911
15880
  );
15912
- var TableRow = React21.forwardRef(
15881
+ var TableRow = React20.forwardRef(
15913
15882
  ({ children, ...otherProps }, ref) => {
15914
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("tr", { ref, css: tableRow, ...otherProps, children });
15883
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("tr", { ref, css: tableRow, ...otherProps, children });
15915
15884
  }
15916
15885
  );
15917
- var TableCellHead = React21.forwardRef(
15886
+ var TableCellHead = React20.forwardRef(
15918
15887
  ({ children, ...otherProps }, ref) => {
15919
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("th", { ref, css: tableCellHead, ...otherProps, children });
15888
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("th", { ref, css: tableCellHead, ...otherProps, children });
15920
15889
  }
15921
15890
  );
15922
- var TableCellData = React21.forwardRef(
15891
+ var TableCellData = React20.forwardRef(
15923
15892
  ({ children, ...otherProps }, ref) => {
15924
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("td", { ref, css: tableCellData, ...otherProps, children });
15893
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("td", { ref, css: tableCellData, ...otherProps, children });
15925
15894
  }
15926
15895
  );
15927
15896
 
15928
15897
  // src/components/Tabs/Tabs.tsx
15929
- var import_react107 = require("react");
15898
+ var import_react103 = require("react");
15930
15899
  var import_Tab = require("reakit/Tab");
15931
15900
 
15932
15901
  // src/components/Tabs/Tabs.styles.ts
15933
- var import_react106 = require("@emotion/react");
15934
- var tabButtonStyles = import_react106.css`
15902
+ var import_react102 = require("@emotion/react");
15903
+ var tabButtonStyles = import_react102.css`
15935
15904
  align-items: center;
15936
15905
  border: 0;
15937
15906
  height: 2.5rem;
15938
15907
  background: transparent;
15908
+ color: var(--gray-600);
15939
15909
  display: inline-flex;
15940
15910
  gap: var(--spacing-sm);
15941
15911
  font-size: var(--fs-sm);
15942
15912
  padding: var(--spacing-sm);
15943
15913
  transition: border-bottom-color var(--duration-fast);
15914
+ font-weight: var(--fw-medium);
15944
15915
 
15945
15916
  &[aria-selected='true'] {
15946
15917
  box-shadow: inset 0 -2px 0 var(--brand-secondary-3);
15947
- color: var(--brand-secondary-3);
15948
- -webkit-text-stroke-width: thin;
15949
15918
  }
15950
15919
  `;
15951
- var tabButtonGroupStyles = import_react106.css`
15920
+ var tabButtonGroupStyles = import_react102.css`
15952
15921
  display: flex;
15953
15922
  gap: var(--spacing-base);
15954
15923
  border-bottom: 1px solid var(--gray-300);
15955
15924
  `;
15956
15925
 
15957
15926
  // src/components/Tabs/Tabs.tsx
15958
- var import_jsx_runtime99 = require("@emotion/react/jsx-runtime");
15959
- var CurrentTabContext = (0, import_react107.createContext)(null);
15927
+ var import_jsx_runtime96 = require("@emotion/react/jsx-runtime");
15928
+ var CurrentTabContext = (0, import_react103.createContext)(null);
15960
15929
  var useCurrentTab = () => {
15961
- const context = (0, import_react107.useContext)(CurrentTabContext);
15930
+ const context = (0, import_react103.useContext)(CurrentTabContext);
15962
15931
  if (!context) {
15963
15932
  throw new Error("This component can only be used inside <Tabs>");
15964
15933
  }
15965
15934
  return context;
15966
15935
  };
15967
15936
  var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...props }) => {
15968
- const selected = (0, import_react107.useMemo)(() => {
15937
+ const selected = (0, import_react103.useMemo)(() => {
15969
15938
  if (selectedId)
15970
15939
  return selectedId;
15971
15940
  return useHashForState && typeof window !== "undefined" && window.location.hash ? window.location.hash.substring(1) : void 0;
15972
15941
  }, [selectedId, useHashForState]);
15973
15942
  const tab = (0, import_Tab.useTabState)({ ...props, selectedId: selected });
15974
- (0, import_react107.useEffect)(() => {
15943
+ (0, import_react103.useEffect)(() => {
15975
15944
  var _a;
15976
15945
  const selectedValueWithoutNull = (_a = tab.selectedId) != null ? _a : void 0;
15977
15946
  onSelectedIdChange == null ? void 0 : onSelectedIdChange(selectedValueWithoutNull);
@@ -15979,24 +15948,116 @@ var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...prop
15979
15948
  window.location.hash = selectedValueWithoutNull != null ? selectedValueWithoutNull : "";
15980
15949
  }
15981
15950
  }, [tab.selectedId, onSelectedIdChange, useHashForState]);
15982
- (0, import_react107.useEffect)(() => {
15951
+ (0, import_react103.useEffect)(() => {
15983
15952
  if (selected && selected !== tab.selectedId) {
15984
15953
  tab.setSelectedId(selected);
15985
15954
  }
15986
15955
  }, [selected]);
15987
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(CurrentTabContext.Provider, { value: tab, children });
15956
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(CurrentTabContext.Provider, { value: tab, children });
15988
15957
  };
15989
15958
  var TabButtonGroup = ({ children, ...props }) => {
15990
15959
  const currentTab = useCurrentTab();
15991
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_Tab.TabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
15960
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_Tab.TabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
15992
15961
  };
15993
15962
  var TabButton = ({ children, id, ...props }) => {
15994
15963
  const currentTab = useCurrentTab();
15995
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_Tab.Tab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
15964
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_Tab.Tab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
15996
15965
  };
15997
15966
  var TabContent = ({ children, ...props }) => {
15998
15967
  const currentTab = useCurrentTab();
15999
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_Tab.TabPanel, { ...props, ...currentTab, children });
15968
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_Tab.TabPanel, { ...props, ...currentTab, children });
15969
+ };
15970
+
15971
+ // src/components/Validation/StatusBullet.styles.ts
15972
+ var import_react104 = require("@emotion/react");
15973
+ var StatusBulletContainer = import_react104.css`
15974
+ align-items: center;
15975
+ align-self: center;
15976
+ color: var(--gray-500);
15977
+ display: inline-flex;
15978
+ font-weight: var(--fw-regular);
15979
+ gap: var(--spacing-xs);
15980
+ line-height: 1;
15981
+ position: relative;
15982
+ text-transform: lowercase;
15983
+
15984
+ &:before {
15985
+ border-radius: var(--rounded-full);
15986
+ content: '';
15987
+ display: block;
15988
+ }
15989
+ `;
15990
+ var StatusBulletBase = import_react104.css`
15991
+ font-size: var(--fs-sm);
15992
+ &:before {
15993
+ width: var(--fs-xs);
15994
+ height: var(--fs-xs);
15995
+ }
15996
+ `;
15997
+ var StatusBulletSmall = import_react104.css`
15998
+ font-size: var(--fs-xs);
15999
+ &:before {
16000
+ width: var(--fs-xxs);
16001
+ height: var(--fs-xxs);
16002
+ }
16003
+ `;
16004
+ var StatusDraft = import_react104.css`
16005
+ &:before {
16006
+ background: var(--white);
16007
+ box-shadow: inset 0 0 0 0.125rem var(--brand-primary-1);
16008
+ }
16009
+ `;
16010
+ var StatusModified = import_react104.css`
16011
+ &:before {
16012
+ background: linear-gradient(to right, var(--white) 50%, var(--brand-primary-1) 50% 100%);
16013
+ box-shadow: inset 0 0 0 0.125rem var(--brand-primary-1);
16014
+ }
16015
+ `;
16016
+ var StatusError = import_react104.css`
16017
+ color: var(--error);
16018
+ &:before {
16019
+ background: linear-gradient(120deg, var(--error) 40%, var(--white) 50%, var(--error) 60%);
16020
+ }
16021
+ `;
16022
+ var StatusPublished = import_react104.css`
16023
+ &:before {
16024
+ background: var(--brand-secondary-3);
16025
+ }
16026
+ `;
16027
+ var StatusOrphan = import_react104.css`
16028
+ &:before {
16029
+ background: var(--brand-secondary-5);
16030
+ }
16031
+ `;
16032
+
16033
+ // src/components/Validation/StatusBullet.tsx
16034
+ var import_jsx_runtime97 = require("@emotion/react/jsx-runtime");
16035
+ var StatusBullet = ({
16036
+ status,
16037
+ hideText = false,
16038
+ size = "base",
16039
+ message,
16040
+ ...props
16041
+ }) => {
16042
+ const currentStateStyles = {
16043
+ Error: StatusError,
16044
+ Modified: StatusModified,
16045
+ Unsaved: StatusDraft,
16046
+ Orphan: StatusOrphan,
16047
+ Published: StatusPublished,
16048
+ Draft: StatusDraft
16049
+ };
16050
+ const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
16051
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
16052
+ "span",
16053
+ {
16054
+ role: "status",
16055
+ css: [StatusBulletContainer, currentStateStyles[status], statusSize],
16056
+ title: message != null ? message : status,
16057
+ ...props,
16058
+ children: hideText ? null : message ? message : status
16059
+ }
16060
+ );
16000
16061
  };
16001
16062
  // Annotate the CommonJS export names for ESM import in node:
16002
16063
  0 && (module.exports = {
@@ -16013,12 +16074,14 @@ var TabContent = ({ children, ...props }) => {
16013
16074
  CardContainer,
16014
16075
  CardTitle,
16015
16076
  CheckboxWithInfo,
16077
+ Chip,
16016
16078
  ConnectToDataElementButton,
16017
16079
  Container,
16018
16080
  Counter,
16019
16081
  CreateTeamIntegrationTile,
16020
16082
  DashedBox,
16021
16083
  Details,
16084
+ DismissibleChipAction,
16022
16085
  Drawer,
16023
16086
  DrawerProvider,
16024
16087
  DrawerRenderer,
@@ -16027,6 +16090,7 @@ var TabContent = ({ children, ...props }) => {
16027
16090
  Fieldset,
16028
16091
  Heading,
16029
16092
  HexModalBackground,
16093
+ HorizontalRhythm,
16030
16094
  Icon,
16031
16095
  IconsProvider,
16032
16096
  InfoMessage,
@@ -16059,10 +16123,6 @@ var TabContent = ({ children, ...props }) => {
16059
16123
  MenuGroup,
16060
16124
  MenuItem,
16061
16125
  MenuItemSeparator,
16062
- ObjectCompositionListItem,
16063
- ObjectListContainer,
16064
- ObjectListItemLoadingSkeleton,
16065
- ObjectPersonalizationListItem,
16066
16126
  PageHeaderSection,
16067
16127
  Paragraph,
16068
16128
  ParameterDataResource,
@@ -16125,8 +16185,10 @@ var TabContent = ({ children, ...props }) => {
16125
16185
  borderTopIcon,
16126
16186
  breakpoints,
16127
16187
  button,
16188
+ buttonDestructive,
16128
16189
  buttonGhost,
16129
16190
  buttonGhostDestructive,
16191
+ buttonGhostUnimportant,
16130
16192
  buttonPrimary,
16131
16193
  buttonPrimaryInvert,
16132
16194
  buttonRippleEffect,