@uniformdev/design-system 19.1.1-alpha.1 → 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/esm/index.js CHANGED
@@ -37,10 +37,21 @@ var Theme = ({ disableReset = false }) => {
37
37
  /* secondary colours */
38
38
  --brand-secondary-1: #1f2b34; /* carbon */
39
39
  --brand-secondary-2: #ecf1f1; /* silver */
40
- --brand-secondary-3: #2ecdb4; /* teal */
41
- --brand-secondary-4: #f6f1c3; /* yellow */
40
+ --brand-secondary-3: #2ECDB4; /* maroon */
42
41
  --brand-secondary-5: #d9534f; /* brick red */
43
- --brand-secondary-6: #dbf6f2; /* mint */
42
+
43
+
44
+ /* action colours */
45
+ --primary-action-default: #0052ed; /* new blue */
46
+ --primary-action-hover: #1264ff;
47
+ --primary-action-active: #0043c2;
48
+
49
+
50
+ /* accent primary */
51
+ --accent-primary: #2ECDB4;
52
+ --accent-primary-surface: #f7d4e4;
53
+ --accent-primary-hover: #eb4793;
54
+ --accent-primary-active: #e51a78;
44
55
 
45
56
  /* off brand */
46
57
  --input-border: rgba(31, 43, 52, 0.5);
@@ -220,16 +231,6 @@ var mq = (size) => `@media (min-width: ${breakpoints[size]}px)`;
220
231
  var supports = (cssProp) => `@supports (${cssProp})`;
221
232
  var cq = (size) => `@container (min-width: ${size})`;
222
233
 
223
- // src/utils/formatDate.ts
224
- var formatDate = (date) => {
225
- const normalizeDate = new Date(date).toLocaleDateString(navigator.language, {
226
- year: "numeric",
227
- month: "short",
228
- day: "numeric"
229
- });
230
- return normalizeDate;
231
- };
232
-
233
234
  // src/utils/replaceUnderscoreInString.ts
234
235
  var replaceUnderscoreInString = (title) => (title == null ? void 0 : title.includes("_")) ? title.replaceAll("_", " ") : title;
235
236
 
@@ -258,6 +259,8 @@ var button = css`
258
259
  font-weight: var(--fw-medium);
259
260
  transition: color var(--duration-fast) var(--timing-ease-out),
260
261
  border-color var(--duration-fast) var(--timing-ease-out);
262
+ max-width: max-content;
263
+ gap: var(--spacing-sm);
261
264
 
262
265
  &:focus {
263
266
  outline: none;
@@ -296,7 +299,7 @@ var buttonPrimary = css`
296
299
 
297
300
  ${buttonRippleEffect({ hoverColor: "var(--brand-secondary-1)" })}
298
301
  `;
299
- var buttonSecondary = css`
302
+ var buttonDestructive = css`
300
303
  background: var(--brand-secondary-5);
301
304
  color: var(--white);
302
305
 
@@ -307,12 +310,27 @@ var buttonSecondary = css`
307
310
 
308
311
  ${buttonRippleEffect({ hoverColor: "var(--brand-secondary-5)" })}
309
312
  `;
313
+ var buttonSecondary = css`
314
+ background: var(--primary-action-default);
315
+ color: var(--white);
316
+
317
+ &:disabled {
318
+ background: var(--gray-300);z
319
+ color: var(--white);
320
+ }
321
+
322
+ ${buttonRippleEffect({ hoverColor: "var(--primary-action-hover)" })}
323
+ `;
310
324
  var buttonSecondaryInvert = css`
311
325
  background: var(--white);
312
- color: var(--brand-secondary-5);
313
- box-shadow: 0 0 0 1px var(--brand-secondary-5);
326
+ color: var(--primary-action-default);
327
+ box-shadow: 0 0 0 1px var(--primary-action-default);
314
328
  transition: box-shadow var(--duration-fast) var(--timing-ease-out);
315
329
 
330
+ &:hover {
331
+ color: var(--primary-action-hover);
332
+ }
333
+
316
334
  &:disabled {
317
335
  color: var(--gray-300);
318
336
  box-shadow: 0 0 0 1px var(--gray-300);
@@ -347,30 +365,38 @@ var buttonUnimportant = css`
347
365
  `;
348
366
  var buttonGhost = css`
349
367
  background: transparent;
350
- color: var(--brand-secondary-3);
368
+ color: var(--primary-action-default);
351
369
 
352
370
  &:hover {
353
- border-color: var(--brand-secondary-3);
371
+ color: var(--primary-action-hover);
354
372
  }
355
373
 
356
374
  &:disabled {
357
375
  background: transparent;
358
- border-color: var(--gray-300);
359
- color: var(--gray-300);
376
+ border-color: var(--gray-400);
377
+ color: var(--gray-400);
360
378
  }
361
379
 
362
380
  ${buttonRippleEffect({ hoverColor: "var(--white)", activeColor: "var(--gray-100)" })}
363
381
  `;
364
382
  var buttonGhostDestructive = css`
365
- ${buttonGhost}
383
+ background: transparent;
366
384
  color: var(--brand-secondary-5);
367
385
 
368
386
  &:hover {
369
- border-color: var(--brand-secondary-5);
387
+ color: var(--brand-secondary-5);
388
+ }
389
+
390
+ &:disabled {
391
+ background: transparent;
392
+ border-color: var(--gray-400);
393
+ color: var(--gray-400);
370
394
  }
395
+
396
+ ${buttonRippleEffect({ hoverColor: "var(--white)", activeColor: "var(--gray-100)" })}
371
397
  `;
372
398
  var buttonTertiary = css`
373
- background: var(--brand-secondary-3);
399
+ background: var(--primary-action-default);
374
400
  color: var(--white);
375
401
 
376
402
  &:disabled {
@@ -378,7 +404,23 @@ var buttonTertiary = css`
378
404
  color: var(--white);
379
405
  }
380
406
 
381
- ${buttonRippleEffect({ hoverColor: "var(--brand-secondary-3)" })}
407
+ ${buttonRippleEffect({ hoverColor: " var(--primary-action-default)" })}
408
+ `;
409
+ var buttonGhostUnimportant = css`
410
+ background: transparent;
411
+ color: var(--gray-500);
412
+
413
+ &:hover {
414
+ color: var(--gray-600);
415
+ }
416
+
417
+ &:disabled {
418
+ background: transparent;
419
+ border-color: var(--gray-400);
420
+ color: var(--gray-400);
421
+ }
422
+
423
+ ${buttonRippleEffect({ hoverColor: "var(--white)", activeColor: "var(--gray-500)" })}
382
424
  `;
383
425
 
384
426
  // src/components/Input/styles/Inputs.styles.ts
@@ -413,6 +455,7 @@ var input = (whiteSpaceWrap) => css2`
413
455
  &:focus,
414
456
  &:focus-within {
415
457
  border-color: var(--brand-secondary-1);
458
+ box-shadow: none;
416
459
  outline: none;
417
460
  }
418
461
 
@@ -794,7 +837,7 @@ var addButton = css5`
794
837
  box-shadow: var(--shadow-base);
795
838
  border-radius: var(--rounded-full);
796
839
  border: none;
797
- background: var(--brand-secondary-5);
840
+ background: var(--primary-action-default);
798
841
  background-position: center;
799
842
  cursor: pointer;
800
843
  display: inline-flex;
@@ -807,8 +850,8 @@ var addButton = css5`
807
850
 
808
851
  &:hover,
809
852
  &:focus {
810
- background: var(--brand-secondary-5) radial-gradient(circle, transparent 1%, var(--brand-secondary-5) 1%)
811
- center/15000%;
853
+ background: var(--primary-action-default)
854
+ radial-gradient(circle, transparent 1%, var(--primary-action-default) 1%) center/15000%;
812
855
  transform: scale(1);
813
856
  }
814
857
 
@@ -900,7 +943,7 @@ var IconImg = css7`
900
943
  vertical-align: middle;
901
944
  }
902
945
  `;
903
- var IconColorGreen = css7`
946
+ var IconColorDefault = css7`
904
947
  color: var(--brand-secondary-3);
905
948
  `;
906
949
  var IconColorRed = css7`
@@ -912,6 +955,9 @@ var IconColorGray = css7`
912
955
  var IconColorCurrent = css7`
913
956
  color: currentColor;
914
957
  `;
958
+ var IconColorAction = css7`
959
+ color: var(--primary-action-default);
960
+ `;
915
961
 
916
962
  // src/components/Icons/IconsProvider.tsx
917
963
  import { paramCase } from "param-case";
@@ -953,11 +999,12 @@ function getIconNameFromCssGgComponentName(cssGgComponentName) {
953
999
 
954
1000
  // src/components/Icons/Icon.tsx
955
1001
  import { jsx as jsx6 } from "@emotion/react/jsx-runtime";
956
- var IconInner = ({ icon, iconColor = "green", size = "1.5rem", ...otherProps }) => {
1002
+ var IconInner = ({ icon, iconColor = "default", size = "1.5rem", ...otherProps }) => {
957
1003
  const isIconName = typeof icon === "string";
958
1004
  const { iconsMap, isLoading } = useIconContext();
959
1005
  const customColor = {
960
- green: IconColorGreen,
1006
+ action: IconColorAction,
1007
+ default: IconColorDefault,
961
1008
  gray: IconColorGray,
962
1009
  red: IconColorRed,
963
1010
  currentColor: IconColorCurrent
@@ -1340,7 +1387,7 @@ var AddListButton = ({
1340
1387
  disabled,
1341
1388
  icon = "math-plus",
1342
1389
  variant = "regular",
1343
- theme = "var(--brand-secondary-3)",
1390
+ theme = "var(--primary-action-default)",
1344
1391
  ...buttonProps
1345
1392
  }) => {
1346
1393
  const mapIcon = {
@@ -1549,16 +1596,17 @@ import { CgExternal } from "react-icons/cg";
1549
1596
  import { css as css11 } from "@emotion/react";
1550
1597
  var link = css11`
1551
1598
  display: inline-flex;
1552
- text-decoration: underline;
1599
+ transition: color var(--duration-fast) var(--timing-ease-out);
1600
+ word-break: break-word;
1601
+ `;
1602
+ var linkColorDefault = css11`
1603
+ color: var(--primary-action-default);
1553
1604
 
1554
1605
  &:hover {
1555
- text-decoration: none;
1606
+ color: var(--primary-action-hover);
1556
1607
  }
1557
1608
  `;
1558
- var linkColorGreen = css11`
1559
- color: var(--brand-secondary-3);
1560
- `;
1561
- var linkColorRed = css11`
1609
+ var linkColorDestructive = css11`
1562
1610
  color: var(--brand-secondary-5);
1563
1611
  `;
1564
1612
  var linkColorCurrent = css11`
@@ -1568,11 +1616,11 @@ var linkColorCurrent = css11`
1568
1616
  // src/components/Typography/Link.tsx
1569
1617
  import { jsx as jsx11, jsxs as jsxs4 } from "@emotion/react/jsx-runtime";
1570
1618
  var Link = React4.forwardRef(
1571
- ({ external, text, linkColor = "currentColor", children, ...props }, ref) => {
1619
+ ({ external, text, linkColor = "default", children, ...props }, ref) => {
1572
1620
  const textColor = {
1573
1621
  currentColor: linkColorCurrent,
1574
- red: linkColorRed,
1575
- green: linkColorGreen
1622
+ default: linkColorDefault,
1623
+ destructive: linkColorDestructive
1576
1624
  };
1577
1625
  const externalAttrs = external ? {
1578
1626
  target: "_blanks",
@@ -1739,7 +1787,6 @@ var IntegrationHeaderSection = ({
1739
1787
  href: docsLink,
1740
1788
  external: true,
1741
1789
  text: "Documentation",
1742
- linkColor: "green",
1743
1790
  target: "_blank",
1744
1791
  rel: "noreferrer nofollow",
1745
1792
  css: IntegrationHeaderSectionDocsLink
@@ -1788,18 +1835,23 @@ var PageHeaderSectionDetails = css14`
1788
1835
  `;
1789
1836
  var PageHeaderSectionLinkContainer = css14`
1790
1837
  align-items: center;
1838
+ color: var(--primary-action-default);
1791
1839
  display: flex;
1792
1840
  flex-grow: 1;
1841
+
1842
+ &:hover {
1843
+ color: var(--primary-action-hover);
1844
+ }
1793
1845
  `;
1794
1846
  var PageHeaderSectionLinkIcon = css14`
1795
1847
  margin-left: -0.5rem;
1796
1848
  `;
1797
1849
  var PageHeaderSectionLink = css14`
1798
- color: var(--brand-secondary-3);
1799
- text-decoration: none;
1850
+ color: var(--primary-action-default);
1800
1851
  font-size: var(--fs-sm);
1852
+
1801
1853
  &:hover {
1802
- text-decoration: underline;
1854
+ color: var(--primary-action-hover);
1803
1855
  }
1804
1856
  `;
1805
1857
  var PageHeaderSectionChildContainer = css14`
@@ -1841,7 +1893,7 @@ var PageHeaderSection = ({
1841
1893
  return /* @__PURE__ */ jsxs6("div", { css: PageHeaderSectionContainer, children: [
1842
1894
  /* @__PURE__ */ jsxs6("section", { css: PageHeaderSectionDetails, children: [
1843
1895
  linkText && linkProps && linkManagerComponent ? /* @__PURE__ */ jsxs6("div", { css: PageHeaderSectionLinkContainer, children: [
1844
- /* @__PURE__ */ jsx14(Icon, { icon: CgChevronLeft, size: 18, css: PageHeaderSectionLinkIcon }),
1896
+ /* @__PURE__ */ jsx14(Icon, { icon: CgChevronLeft, size: 18, css: PageHeaderSectionLinkIcon, iconColor: "currentColor" }),
1845
1897
  /* @__PURE__ */ jsx14(
1846
1898
  LinkWithRef,
1847
1899
  {
@@ -10640,15 +10692,18 @@ var Button = React5.forwardRef(
10640
10692
  const buttonTheme = {
10641
10693
  primary: buttonPrimary,
10642
10694
  primaryInvert: buttonPrimaryInvert,
10695
+ destructive: buttonDestructive,
10643
10696
  secondary: buttonSecondary,
10644
10697
  secondaryInvert: buttonSecondaryInvert,
10645
10698
  ghost: buttonGhost,
10646
10699
  ghostDestructive: buttonGhostDestructive,
10647
10700
  unimportant: buttonUnimportant,
10701
+ ghostUnimportant: buttonGhostUnimportant,
10648
10702
  /** @deprecated */
10649
10703
  tertiary: buttonTertiary
10650
10704
  };
10651
10705
  const btnSize = {
10706
+ zero: "padding: 0",
10652
10707
  xs: "padding: 0.375rem 0.625rem; font-size: var(--fs-xs); line-height: 1.5;",
10653
10708
  sm: "padding: var(--spacing-sm) 0.75rem; font-size: var(--fs-sm);",
10654
10709
  md: "padding: var(--spacing-sm) var(--spacing-base); font-size: var(--fs-sm);",
@@ -10900,8 +10955,12 @@ var buttonPrimaryDisabled = css22`
10900
10955
  color: var(--white);
10901
10956
  `;
10902
10957
  var buttonSecondary2 = css22`
10903
- background: var(--brand-secondary-5);
10958
+ background: var(--primary-action-default);
10904
10959
  color: var(--white);
10960
+
10961
+ &:hover {
10962
+ background: var(--primary-action-hover);
10963
+ }
10905
10964
  `;
10906
10965
  var buttonSecondaryDisabled = css22`
10907
10966
  ${buttonPrimaryDisabled}
@@ -11436,12 +11495,31 @@ var Container2 = ({
11436
11495
  );
11437
11496
  };
11438
11497
 
11439
- // src/components/Layout/styles/TwoColumnLayout.styles.ts
11498
+ // src/components/Layout/styles/HorizontalRhythm.styles.ts
11440
11499
  import { css as css28 } from "@emotion/react";
11441
- var TwoColumnLayoutContainer = (bgColor) => css28`
11500
+ var HorizontalRhythmContainer = (size) => css28`
11501
+ display: flex;
11502
+ gap: var(--spacing-${size});
11503
+ `;
11504
+
11505
+ // src/components/Layout/HorizontalRhythm.tsx
11506
+ import { jsx as jsx31 } from "@emotion/react/jsx-runtime";
11507
+ var HorizontalRhythm = ({
11508
+ tag = "div",
11509
+ gap = "base",
11510
+ children,
11511
+ ...props
11512
+ }) => {
11513
+ const Tag = tag;
11514
+ return /* @__PURE__ */ jsx31(Tag, { css: HorizontalRhythmContainer(gap), ...props, children });
11515
+ };
11516
+
11517
+ // src/components/Layout/styles/TwoColumnLayout.styles.ts
11518
+ import { css as css29 } from "@emotion/react";
11519
+ var TwoColumnLayoutContainer = (bgColor) => css29`
11442
11520
  background: ${bgColor};
11443
11521
  `;
11444
- var TwoColumnLayoutInner = (invertLayout) => css28`
11522
+ var TwoColumnLayoutInner = (invertLayout) => css29`
11445
11523
  display: grid;
11446
11524
  max-width: var(--site-width);
11447
11525
  margin-inline: auto;
@@ -11457,45 +11535,45 @@ var TwoColumnLayoutInner = (invertLayout) => css28`
11457
11535
  }`}
11458
11536
  }
11459
11537
  `;
11460
- var TwoColumnLayoutMain = css28``;
11461
- var TwoColumnLayoutSupporting = css28`
11538
+ var TwoColumnLayoutMain = css29``;
11539
+ var TwoColumnLayoutSupporting = css29`
11462
11540
  display: flex;
11463
11541
  flex-direction: column;
11464
- gap: var(--spacing-md);
11542
+ gap: var(--spacing-lg);
11465
11543
  `;
11466
11544
 
11467
11545
  // src/components/Layout/TwoColumnLayout.tsx
11468
- import { jsx as jsx31, jsxs as jsxs17 } from "@emotion/react/jsx-runtime";
11546
+ import { jsx as jsx32, jsxs as jsxs17 } from "@emotion/react/jsx-runtime";
11469
11547
  var TwoColumnLayout = ({
11470
11548
  bgColor = "var(--white)",
11471
11549
  invertLayout = false,
11472
11550
  supportingContent,
11473
11551
  children
11474
11552
  }) => {
11475
- return /* @__PURE__ */ jsx31("div", { css: TwoColumnLayoutContainer(bgColor), children: /* @__PURE__ */ jsxs17("div", { css: TwoColumnLayoutInner(invertLayout), children: [
11476
- /* @__PURE__ */ jsx31("section", { css: TwoColumnLayoutMain, children }),
11477
- /* @__PURE__ */ jsx31("aside", { css: TwoColumnLayoutSupporting, children: supportingContent })
11553
+ return /* @__PURE__ */ jsx32("div", { css: TwoColumnLayoutContainer(bgColor), children: /* @__PURE__ */ jsxs17("div", { css: TwoColumnLayoutInner(invertLayout), children: [
11554
+ /* @__PURE__ */ jsx32("section", { css: TwoColumnLayoutMain, children }),
11555
+ /* @__PURE__ */ jsx32("aside", { css: TwoColumnLayoutSupporting, children: supportingContent })
11478
11556
  ] }) });
11479
11557
  };
11480
11558
 
11481
11559
  // src/components/Layout/styles/VerticalRhythm.styles.ts
11482
- import { css as css29 } from "@emotion/react";
11483
- var VerticalRhythmContainer = (size) => css29`
11560
+ import { css as css30 } from "@emotion/react";
11561
+ var VerticalRhythmContainer = (size) => css30`
11484
11562
  display: flex;
11485
11563
  flex-direction: column;
11486
11564
  gap: var(--spacing-${size});
11487
11565
  `;
11488
11566
 
11489
11567
  // src/components/Layout/VerticalRhythm.tsx
11490
- import { jsx as jsx32 } from "@emotion/react/jsx-runtime";
11568
+ import { jsx as jsx33 } from "@emotion/react/jsx-runtime";
11491
11569
  var VerticalRhythm = ({ tag = "div", gap = "base", children, ...props }) => {
11492
11570
  const Tag = tag;
11493
- return /* @__PURE__ */ jsx32(Tag, { css: VerticalRhythmContainer(gap), ...props, children });
11571
+ return /* @__PURE__ */ jsx33(Tag, { css: VerticalRhythmContainer(gap), ...props, children });
11494
11572
  };
11495
11573
 
11496
11574
  // src/components/Card/LoadingCardSkeleton.styles.ts
11497
- import { css as css30 } from "@emotion/react";
11498
- var LoadingCardSkeleton = css30`
11575
+ import { css as css31 } from "@emotion/react";
11576
+ var LoadingCardSkeleton = css31`
11499
11577
  animation: ${skeletonLoading} 1s linear infinite alternate;
11500
11578
  color: var(--gray-400);
11501
11579
  border-radius: var(--rounded-base);
@@ -11503,21 +11581,21 @@ var LoadingCardSkeleton = css30`
11503
11581
  min-height: 160px;
11504
11582
  position: relative;
11505
11583
  `;
11506
- var LoadingText = css30`
11584
+ var LoadingText = css31`
11507
11585
  animation: ${fadeIn} 1s linear infinite alternate;
11508
11586
  border-radius: var(--rounded-base);
11509
11587
  background: var(--gray-300);
11510
11588
  display: block;
11511
11589
  `;
11512
- var LoadingTitle = css30`
11590
+ var LoadingTitle = css31`
11513
11591
  width: clamp(200px, 100vw, 60%);
11514
11592
  height: var(--spacing-md);
11515
11593
  `;
11516
- var LoadingTimeStamp = css30`
11594
+ var LoadingTimeStamp = css31`
11517
11595
  width: clamp(200px, 100vw, 30%);
11518
11596
  height: var(--spacing-sm);
11519
11597
  `;
11520
- var LoadingMenuIcon = css30`
11598
+ var LoadingMenuIcon = css31`
11521
11599
  animation: ${fadeIn} 1s linear infinite alternate;
11522
11600
  position: absolute;
11523
11601
  top: var(--spacing-md);
@@ -11525,18 +11603,193 @@ var LoadingMenuIcon = css30`
11525
11603
  `;
11526
11604
 
11527
11605
  // src/components/Card/LoadingCardSkeleton.tsx
11528
- import { jsx as jsx33, jsxs as jsxs18 } from "@emotion/react/jsx-runtime";
11606
+ import { jsx as jsx34, jsxs as jsxs18 } from "@emotion/react/jsx-runtime";
11529
11607
  var LoadingCardSkeleton2 = () => {
11530
11608
  return /* @__PURE__ */ jsxs18(VerticalRhythm, { css: LoadingCardSkeleton, children: [
11531
- /* @__PURE__ */ jsx33("span", { css: [LoadingText, LoadingTitle] }),
11532
- /* @__PURE__ */ jsx33("span", { css: [LoadingText, LoadingTimeStamp] }),
11533
- /* @__PURE__ */ jsx33(Icon, { css: LoadingMenuIcon, icon: CgMoreAlt2, iconColor: "currentColor", size: 32 })
11609
+ /* @__PURE__ */ jsx34("span", { css: [LoadingText, LoadingTitle] }),
11610
+ /* @__PURE__ */ jsx34("span", { css: [LoadingText, LoadingTimeStamp] }),
11611
+ /* @__PURE__ */ jsx34(Icon, { css: LoadingMenuIcon, icon: CgMoreAlt2, iconColor: "currentColor", size: 32 })
11612
+ ] });
11613
+ };
11614
+
11615
+ // src/components/Chip/Chip.tsx
11616
+ import { CgClose as CgClose3 } from "react-icons/cg";
11617
+
11618
+ // src/components/Chip/Chip.styles.ts
11619
+ import { css as css32 } from "@emotion/react";
11620
+ var ChipContainer = css32`
11621
+ border-radius: var(--rounded-full);
11622
+ background: lime;
11623
+ cursor: pointer;
11624
+ display: inline-flex;
11625
+ gap: var(--spacing-sm);
11626
+ transition: background var(--duration-fast) var(--timing-ease-out),
11627
+ color var(--duration-fast) var(--timing-ease-out);
11628
+ position: relative;
11629
+
11630
+ &:hover {
11631
+ [role='presentation'],
11632
+ [role='separator'] {
11633
+ transition: opacity var(--duration-fast) var(--timing-ease-out);
11634
+ opacity: 100;
11635
+ }
11636
+ }
11637
+ `;
11638
+ var ChipText = css32`
11639
+ line-height: 1;
11640
+ `;
11641
+ var ChipIcon = css32`
11642
+ align-items: center;
11643
+ display: flex;
11644
+ opacity: var(--opacity-50);
11645
+ `;
11646
+ var ChipSeparator = css32`
11647
+ display: flex;
11648
+ border-right: 1px solid var(--white);
11649
+ opacity: var(--opacity-50);
11650
+ `;
11651
+ var ChipTiny = css32`
11652
+ font-size: var(--fs-xs);
11653
+ padding-inline: var(--spacing-sm);
11654
+
11655
+ > :where(span:last-of-type) {
11656
+ padding-block: var(--spacing-xs);
11657
+ }
11658
+ `;
11659
+ var ChipSmall = css32`
11660
+ font-size: var(--fs-sm);
11661
+ padding-inline: var(--spacing-base);
11662
+
11663
+ > :where(span:last-of-type) {
11664
+ padding-block: var(--spacing-sm);
11665
+ }
11666
+ `;
11667
+ var ChipMedium = css32`
11668
+ font-size: var(--fs-base);
11669
+ padding-inline: var(--spacing-base);
11670
+
11671
+ > :where(span:last-of-type) {
11672
+ padding-block: var(--spacing-sm);
11673
+ }
11674
+ `;
11675
+ var ChipThemeAccentLight = css32`
11676
+ background: var(--accent-primary-surface);
11677
+ color: var(--brand-secondary-1);
11678
+
11679
+ &:hover,
11680
+ &:focus {
11681
+ background: var(--accent-primary-hover);
11682
+ }
11683
+
11684
+ &:active {
11685
+ background: var(--accent-primary-active);
11686
+ }
11687
+
11688
+ &:hover,
11689
+ &:focus,
11690
+ &:active {
11691
+ color: var(--white);
11692
+ }
11693
+
11694
+ [data-icon] {
11695
+ color: var(--accent-primary);
11696
+ }
11697
+ `;
11698
+ var ChipThemeAccentDark = css32`
11699
+ background: var(--accent-primary);
11700
+ color: var(--white);
11701
+
11702
+ &:hover,
11703
+ &:focus {
11704
+ background: var(--accent-primary-hover);
11705
+ }
11706
+
11707
+ &:active {
11708
+ background: var(--accent-primary-active);
11709
+ }
11710
+
11711
+ &:hover,
11712
+ &:focus,
11713
+ &:active {
11714
+ color: var(--white);
11715
+ }
11716
+ `;
11717
+ var ChipThemeNeutralLight = css32`
11718
+ background: var(--gray-100);
11719
+ color: var(--brand-secondary-1);
11720
+
11721
+ &:active,
11722
+ &:focus {
11723
+ background: var(--gray-400);
11724
+ }
11725
+ `;
11726
+ var ChipThemeNeutralDark = css32`
11727
+ background: var(--gray-700);
11728
+ color: var(--white);
11729
+
11730
+ &:hover,
11731
+ &:focus {
11732
+ background: var(--gray-600);
11733
+ }
11734
+
11735
+ &:active {
11736
+ background: var(--gray-900);
11737
+ }
11738
+ `;
11739
+ var ChipActionButton = css32`
11740
+ background: transparent;
11741
+ border: none;
11742
+ border-radius: 0 var(--rounded-full) var(--rounded-full) 0;
11743
+ padding: 0;
11744
+ `;
11745
+
11746
+ // src/components/Chip/Chip.tsx
11747
+ import { Fragment as Fragment4, jsx as jsx35, jsxs as jsxs19 } from "@emotion/react/jsx-runtime";
11748
+ var Chip = ({
11749
+ icon,
11750
+ text,
11751
+ size = "sm",
11752
+ theme = "accent-light",
11753
+ chipAction,
11754
+ ...props
11755
+ }) => {
11756
+ const chipSize = {
11757
+ xs: ChipTiny,
11758
+ sm: ChipSmall,
11759
+ md: ChipMedium
11760
+ };
11761
+ const chipTheme = {
11762
+ "accent-light": ChipThemeAccentLight,
11763
+ "accent-dark": ChipThemeAccentDark,
11764
+ "neutral-light": ChipThemeNeutralLight,
11765
+ "neutral-dark": ChipThemeNeutralDark
11766
+ };
11767
+ return /* @__PURE__ */ jsxs19("span", { css: [ChipContainer, chipSize[size], chipTheme[theme]], ...props, children: [
11768
+ icon ? /* @__PURE__ */ jsxs19(Fragment4, { children: [
11769
+ /* @__PURE__ */ jsx35("span", { role: "presentation", css: ChipIcon, children: /* @__PURE__ */ jsx35(Icon, { icon, iconColor: "currentColor", size: "0.85rem" }) }),
11770
+ /* @__PURE__ */ jsx35("span", { role: "separator", css: ChipSeparator })
11771
+ ] }) : null,
11772
+ /* @__PURE__ */ jsx35("span", { css: ChipText, children: text }),
11773
+ chipAction
11534
11774
  ] });
11535
11775
  };
11776
+ var DismissibleChipAction = ({ onDismiss, ...props }) => {
11777
+ return /* @__PURE__ */ jsx35(
11778
+ "button",
11779
+ {
11780
+ css: ChipActionButton,
11781
+ type: "button",
11782
+ "aria-labelledby": "dismissible-chip",
11783
+ onClick: onDismiss,
11784
+ ...props,
11785
+ children: /* @__PURE__ */ jsx35(Icon, { icon: CgClose3, iconColor: "currentColor", size: "0.85rem" })
11786
+ }
11787
+ );
11788
+ };
11536
11789
 
11537
11790
  // src/components/Counter/Counter.styles.ts
11538
- import { css as css31 } from "@emotion/react";
11539
- var counterContainer = (bgColor) => css31`
11791
+ import { css as css33 } from "@emotion/react";
11792
+ var counterContainer = (bgColor) => css33`
11540
11793
  align-items: center;
11541
11794
  border-radius: var(--rounded-full);
11542
11795
  border: 1px solid var(--gray-300);
@@ -11549,16 +11802,16 @@ var counterContainer = (bgColor) => css31`
11549
11802
  width: var(--spacing-base);
11550
11803
  height: var(--spacing-base);
11551
11804
  `;
11552
- var counterZeroValue = css31`
11805
+ var counterZeroValue = css33`
11553
11806
  background: var(--brand-secondary-1);
11554
11807
  border-radius: var(--rounded-full);
11555
11808
  width: 2px;
11556
11809
  height: 2px;
11557
11810
  `;
11558
- var counterTripleValue = css31`
11811
+ var counterTripleValue = css33`
11559
11812
  position: relative;
11560
11813
  `;
11561
- var counterIcon = css31`
11814
+ var counterIcon = css33`
11562
11815
  border-radius: var(--rounded-full);
11563
11816
  background: var(--white);
11564
11817
  color: var(--brand-secondary-3);
@@ -11569,21 +11822,21 @@ var counterIcon = css31`
11569
11822
  `;
11570
11823
 
11571
11824
  // src/components/Counter/Counter.tsx
11572
- import { jsx as jsx34, jsxs as jsxs19 } from "@emotion/react/jsx-runtime";
11573
- var Counter = ({ count, bgColor = "transparent" }) => {
11825
+ import { jsx as jsx36, jsxs as jsxs20 } from "@emotion/react/jsx-runtime";
11826
+ var Counter = ({ count, bgColor = "transparent", ...props }) => {
11574
11827
  if (typeof count === "undefined") {
11575
11828
  return null;
11576
11829
  }
11577
- const isTripleDigits = count > 99 ? /* @__PURE__ */ jsxs19("span", { css: counterTripleValue, title: `${count}`, children: [
11830
+ const isTripleDigits = count > 99 ? /* @__PURE__ */ jsxs20("span", { css: counterTripleValue, title: `${count}`, children: [
11578
11831
  "99",
11579
- /* @__PURE__ */ jsx34(Icon, { icon: "math-plus", iconColor: "currentColor", size: "0.5rem", css: counterIcon })
11832
+ /* @__PURE__ */ jsx36(Icon, { icon: "math-plus", iconColor: "currentColor", size: "0.5rem", css: counterIcon })
11580
11833
  ] }) : count;
11581
- const formatCount = count === 0 ? /* @__PURE__ */ jsx34("span", { css: counterZeroValue, title: `${count}` }) : isTripleDigits;
11582
- return /* @__PURE__ */ jsx34("div", { css: counterContainer(bgColor), children: formatCount });
11834
+ const formatCount = count === 0 ? /* @__PURE__ */ jsx36("span", { css: counterZeroValue, title: `${count}` }) : isTripleDigits;
11835
+ return /* @__PURE__ */ jsx36("div", { css: counterContainer(bgColor), ...props, children: formatCount });
11583
11836
  };
11584
11837
 
11585
11838
  // src/components/DashedBox/DashedBox.styles.ts
11586
- import { css as css32 } from "@emotion/react";
11839
+ import { css as css34 } from "@emotion/react";
11587
11840
  var minHeight = (prop) => {
11588
11841
  const values = {
11589
11842
  auto: "auto",
@@ -11602,7 +11855,7 @@ var alignItemsConvert = (props) => {
11602
11855
  };
11603
11856
  return alignment[props];
11604
11857
  };
11605
- var DashedBoxContainer = ({ textAlign, boxHeight, bgColor }) => css32`
11858
+ var DashedBoxContainer = ({ textAlign, boxHeight, bgColor }) => css34`
11606
11859
  align-items: ${alignItemsConvert(textAlign)};
11607
11860
  border: 2px dashed var(--gray-300);
11608
11861
  border-radius: var(--rounded-base);
@@ -11617,7 +11870,7 @@ var DashedBoxContainer = ({ textAlign, boxHeight, bgColor }) => css32`
11617
11870
  `;
11618
11871
 
11619
11872
  // src/components/DashedBox/DashedBox.tsx
11620
- import { jsx as jsx35 } from "@emotion/react/jsx-runtime";
11873
+ import { jsx as jsx37 } from "@emotion/react/jsx-runtime";
11621
11874
  var DashedBox = ({
11622
11875
  bgColor = "transparent",
11623
11876
  textAlign = "center",
@@ -11625,15 +11878,15 @@ var DashedBox = ({
11625
11878
  children,
11626
11879
  ...props
11627
11880
  }) => {
11628
- return /* @__PURE__ */ jsx35("div", { css: DashedBoxContainer({ bgColor, boxHeight, textAlign }), ...props, children });
11881
+ return /* @__PURE__ */ jsx37("div", { css: DashedBoxContainer({ bgColor, boxHeight, textAlign }), ...props, children });
11629
11882
  };
11630
11883
 
11631
11884
  // src/components/Details/Details.tsx
11632
11885
  import * as React8 from "react";
11633
11886
 
11634
11887
  // src/components/Details/Details.styles.ts
11635
- import { css as css33 } from "@emotion/react";
11636
- var details = css33`
11888
+ import { css as css35 } from "@emotion/react";
11889
+ var details = css35`
11637
11890
  cursor: pointer;
11638
11891
  &[open] {
11639
11892
  & > summary svg {
@@ -11641,11 +11894,11 @@ var details = css33`
11641
11894
  }
11642
11895
  }
11643
11896
  `;
11644
- var detailsContent = css33`
11897
+ var detailsContent = css35`
11645
11898
  animation: ${fadeInRtl} var(--duration-fast) var(--timing-ease-out) forwards;
11646
11899
  will-change: height;
11647
11900
  `;
11648
- var summary = css33`
11901
+ var summary = css35`
11649
11902
  align-items: center;
11650
11903
  display: grid;
11651
11904
  grid-template-columns: 1.25rem 1fr;
@@ -11658,16 +11911,16 @@ var summary = css33`
11658
11911
  display: none;
11659
11912
  }
11660
11913
  `;
11661
- var summaryIcon = css33`
11914
+ var summaryIcon = css35`
11662
11915
  transition: rotate var(--duration-fast) var(--timing-ease-out);
11663
11916
  rotate: -90deg;
11664
11917
  `;
11665
- var summaryIconVisiblyHidden = css33`
11918
+ var summaryIconVisiblyHidden = css35`
11666
11919
  visibility: hidden;
11667
11920
  `;
11668
11921
 
11669
11922
  // src/components/Details/Details.tsx
11670
- import { jsx as jsx36, jsxs as jsxs20 } from "@emotion/react/jsx-runtime";
11923
+ import { jsx as jsx38, jsxs as jsxs21 } from "@emotion/react/jsx-runtime";
11671
11924
  var Details = ({ summary: summary2, children, isOpenByDefault = false, ...props }) => {
11672
11925
  const detailsRef = React8.useRef(null);
11673
11926
  const [open, setOpen] = React8.useState(isOpenByDefault);
@@ -11687,9 +11940,9 @@ var Details = ({ summary: summary2, children, isOpenByDefault = false, ...props
11687
11940
  return (_a2 = detailsRef.current) == null ? void 0 : _a2.removeEventListener("toggle", toggleEvent);
11688
11941
  };
11689
11942
  }, [detailsRef]);
11690
- return /* @__PURE__ */ jsxs20("details", { "data-testid": "details", css: details, open, ref: detailsRef, ...props, children: [
11691
- /* @__PURE__ */ jsxs20("summary", { "data-testid": "summary", css: summary, children: [
11692
- /* @__PURE__ */ jsx36(
11943
+ return /* @__PURE__ */ jsxs21("details", { "data-testid": "details", css: details, open, ref: detailsRef, ...props, children: [
11944
+ /* @__PURE__ */ jsxs21("summary", { "data-testid": "summary", css: summary, children: [
11945
+ /* @__PURE__ */ jsx38(
11693
11946
  Icon,
11694
11947
  {
11695
11948
  css: [!children ? summaryIconVisiblyHidden : void 0, summaryIcon],
@@ -11700,7 +11953,7 @@ var Details = ({ summary: summary2, children, isOpenByDefault = false, ...props
11700
11953
  ),
11701
11954
  summary2
11702
11955
  ] }),
11703
- open ? /* @__PURE__ */ jsx36("div", { "data-testid": "details-content", css: detailsContent, children }) : null
11956
+ open ? /* @__PURE__ */ jsx38("div", { "data-testid": "details-content", css: detailsContent, children }) : null
11704
11957
  ] });
11705
11958
  };
11706
11959
 
@@ -11709,8 +11962,8 @@ import React11, { useEffect as useEffect6, useMemo, useRef as useRef2 } from "re
11709
11962
  import { CgChevronRight } from "react-icons/cg";
11710
11963
 
11711
11964
  // src/components/Drawer/Drawer.styles.ts
11712
- import { css as css34, keyframes as keyframes2 } from "@emotion/react";
11713
- var drawerStyles = (bgColor = "var(--white)") => css34`
11965
+ import { css as css36, keyframes as keyframes2 } from "@emotion/react";
11966
+ var drawerStyles = (bgColor = "var(--white)") => css36`
11714
11967
  background-color: ${bgColor};
11715
11968
  display: flex;
11716
11969
  gap: var(--spacing-sm);
@@ -11720,7 +11973,7 @@ var drawerStyles = (bgColor = "var(--white)") => css34`
11720
11973
  padding-top: var(--spacing-sm);
11721
11974
  height: 100%;
11722
11975
  `;
11723
- var drawerCloseButtonStyles = css34`
11976
+ var drawerCloseButtonStyles = css36`
11724
11977
  align-self: flex-end;
11725
11978
  background: transparent;
11726
11979
  border: none;
@@ -11728,17 +11981,17 @@ var drawerCloseButtonStyles = css34`
11728
11981
  padding: var(--spacing-xs);
11729
11982
  margin-right: var(--spacing-sm);
11730
11983
  `;
11731
- var drawerHeaderStyles = css34`
11984
+ var drawerHeaderStyles = css36`
11732
11985
  font-size: var(--fs-lg);
11733
11986
  font-weight: var(--fw-bold);
11734
11987
  padding-inline: var(--spacing-base);
11735
11988
  `;
11736
- var drawerRendererStyles = css34`
11989
+ var drawerRendererStyles = css36`
11737
11990
  inset: 0;
11738
11991
  overflow: hidden;
11739
11992
  z-index: 40;
11740
11993
  `;
11741
- var drawerInnerStyles = css34`
11994
+ var drawerInnerStyles = css36`
11742
11995
  height: 100%;
11743
11996
  padding: 0 var(--spacing-base) var(--spacing-base);
11744
11997
  overflow: auto;
@@ -11759,7 +12012,7 @@ var slideDrawerIn = keyframes2`
11759
12012
  transform: translate(0);
11760
12013
  }
11761
12014
  `;
11762
- var drawerWrapperStyles = css34`
12015
+ var drawerWrapperStyles = css36`
11763
12016
  position: absolute;
11764
12017
  inset-block: 0;
11765
12018
  right: 0;
@@ -11770,7 +12023,7 @@ var drawerWrapperStyles = css34`
11770
12023
  transition: width var(--duration-fast) ease-out;
11771
12024
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
11772
12025
  `;
11773
- var drawerWrapperOverlayStyles = css34`
12026
+ var drawerWrapperOverlayStyles = css36`
11774
12027
  position: absolute;
11775
12028
  inset: 0;
11776
12029
  background: rgba(31, 43, 52, 0.4);
@@ -11779,7 +12032,7 @@ var drawerWrapperOverlayStyles = css34`
11779
12032
 
11780
12033
  // src/components/Drawer/DrawerProvider.tsx
11781
12034
  import { createContext as createContext3, useCallback, useContext as useContext4, useState as useState4 } from "react";
11782
- import { jsx as jsx37 } from "@emotion/react/jsx-runtime";
12035
+ import { jsx as jsx39 } from "@emotion/react/jsx-runtime";
11783
12036
  var DrawerContext = createContext3({
11784
12037
  drawersRegistry: [],
11785
12038
  registerDrawer: () => {
@@ -11828,7 +12081,7 @@ var DrawerProvider = ({ children }) => {
11828
12081
  },
11829
12082
  [setDrawersRegistry]
11830
12083
  );
11831
- return /* @__PURE__ */ jsx37(DrawerContext.Provider, { value: { drawersRegistry, registerDrawer, unregisterDrawer }, children });
12084
+ return /* @__PURE__ */ jsx39(DrawerContext.Provider, { value: { drawersRegistry, registerDrawer, unregisterDrawer }, children });
11832
12085
  };
11833
12086
  var useDrawer = () => {
11834
12087
  return useContext4(DrawerContext);
@@ -11849,7 +12102,7 @@ function isEqualDrawerInstance(a, b) {
11849
12102
 
11850
12103
  // src/components/Drawer/DrawerRenderer.tsx
11851
12104
  import { createContext as createContext4, useContext as useContext5 } from "react";
11852
- import { Fragment as Fragment4, jsx as jsx38, jsxs as jsxs21 } from "@emotion/react/jsx-runtime";
12105
+ import { Fragment as Fragment5, jsx as jsx40, jsxs as jsxs22 } from "@emotion/react/jsx-runtime";
11853
12106
  var maxLayeringInPx = 64;
11854
12107
  var idealDistanceBetweenLayersInPx = 16;
11855
12108
  var CurrentDrawerRendererContext = createContext4({});
@@ -11869,7 +12122,7 @@ var DrawerRenderer = ({
11869
12122
  if (drawersToRender.length === 0) {
11870
12123
  return null;
11871
12124
  }
11872
- return /* @__PURE__ */ jsx38(CurrentDrawerRendererContext.Provider, { value: { stackId }, children: /* @__PURE__ */ jsx38(
12125
+ return /* @__PURE__ */ jsx40(CurrentDrawerRendererContext.Provider, { value: { stackId }, children: /* @__PURE__ */ jsx40(
11873
12126
  "div",
11874
12127
  {
11875
12128
  css: [
@@ -11878,7 +12131,7 @@ var DrawerRenderer = ({
11878
12131
  position === "sticky" ? { height: "100%", marginTop: "-100%" } : void 0
11879
12132
  ],
11880
12133
  ...otherProps,
11881
- children: drawersToRender.map(({ component, id, stackId: stackId2, onRequestClose }, index) => /* @__PURE__ */ jsx38(
12134
+ children: drawersToRender.map(({ component, id, stackId: stackId2, onRequestClose }, index) => /* @__PURE__ */ jsx40(
11882
12135
  DrawerWrapper,
11883
12136
  {
11884
12137
  index,
@@ -11909,22 +12162,22 @@ var DrawerWrapper = ({
11909
12162
  offsetInPx = Math.round(maxLayeringInPx * relativeLevel);
11910
12163
  }
11911
12164
  const calculatedWidth = `calc(${width} - ${offsetInPx}px)`;
11912
- return /* @__PURE__ */ jsxs21(Fragment4, { children: [
11913
- /* @__PURE__ */ jsx38("div", { css: drawerWrapperOverlayStyles, onClick: onOverlayClick }),
11914
- /* @__PURE__ */ jsx38("div", { css: [drawerWrapperStyles, { width: calculatedWidth, minWidth, maxWidth }], children })
12165
+ return /* @__PURE__ */ jsxs22(Fragment5, { children: [
12166
+ /* @__PURE__ */ jsx40("div", { css: drawerWrapperOverlayStyles, onClick: onOverlayClick }),
12167
+ /* @__PURE__ */ jsx40("div", { css: [drawerWrapperStyles, { width: calculatedWidth, minWidth, maxWidth }], children })
11915
12168
  ] });
11916
12169
  };
11917
12170
 
11918
12171
  // src/components/Drawer/Drawer.tsx
11919
- import { jsx as jsx39, jsxs as jsxs22 } from "@emotion/react/jsx-runtime";
12172
+ import { jsx as jsx41, jsxs as jsxs23 } from "@emotion/react/jsx-runtime";
11920
12173
  var defaultSackId = "_default";
11921
12174
  var Drawer = React11.forwardRef(
11922
12175
  ({ width, minWidth, maxWidth, position, ...drawerProps }, ref) => {
11923
12176
  const drawerRendererProps = { width, minWidth, maxWidth, position };
11924
12177
  const { stackId: inheritedStackId } = useCurrentDrawerRenderer();
11925
- return inheritedStackId ? /* @__PURE__ */ jsx39(DrawerInner, { ref, ...drawerProps, stackId: inheritedStackId }) : drawerProps.stackId ? /* @__PURE__ */ jsx39(DrawerInner, { ref, ...drawerProps }) : /* @__PURE__ */ jsxs22(DrawerProvider, { children: [
11926
- /* @__PURE__ */ jsx39(DrawerInner, { ref, ...drawerProps }),
11927
- /* @__PURE__ */ jsx39(DrawerRenderer, { stackId: defaultSackId, ...drawerRendererProps })
12178
+ return inheritedStackId ? /* @__PURE__ */ jsx41(DrawerInner, { ref, ...drawerProps, stackId: inheritedStackId }) : drawerProps.stackId ? /* @__PURE__ */ jsx41(DrawerInner, { ref, ...drawerProps }) : /* @__PURE__ */ jsxs23(DrawerProvider, { children: [
12179
+ /* @__PURE__ */ jsx41(DrawerInner, { ref, ...drawerProps }),
12180
+ /* @__PURE__ */ jsx41(DrawerRenderer, { stackId: defaultSackId, ...drawerRendererProps })
11928
12181
  ] });
11929
12182
  }
11930
12183
  );
@@ -11943,7 +12196,7 @@ var DrawerInner = ({
11943
12196
  const closeButtonRef = useRef2(null);
11944
12197
  const component = useMemo(() => {
11945
12198
  const headerId = `dialog-header-${stackId}-${id}`;
11946
- return /* @__PURE__ */ jsxs22(
12199
+ return /* @__PURE__ */ jsxs23(
11947
12200
  "div",
11948
12201
  {
11949
12202
  ref,
@@ -11954,7 +12207,7 @@ var DrawerInner = ({
11954
12207
  css: drawerStyles(bgColor),
11955
12208
  "data-test-id": testId,
11956
12209
  children: [
11957
- /* @__PURE__ */ jsx39(
12210
+ /* @__PURE__ */ jsx41(
11958
12211
  Button,
11959
12212
  {
11960
12213
  ref: closeButtonRef,
@@ -11963,11 +12216,11 @@ var DrawerInner = ({
11963
12216
  css: drawerCloseButtonStyles,
11964
12217
  title: "Close dialog",
11965
12218
  buttonType: "ghost",
11966
- children: /* @__PURE__ */ jsx39(Icon, { icon: CgChevronRight, iconColor: "gray", size: "1.5rem" })
12219
+ children: /* @__PURE__ */ jsx41(Icon, { icon: CgChevronRight, iconColor: "gray", size: "1.5rem" })
11967
12220
  }
11968
12221
  ),
11969
- header ? /* @__PURE__ */ jsx39("div", { id: headerId, css: drawerHeaderStyles, children: header }) : null,
11970
- /* @__PURE__ */ jsx39("div", { css: drawerInnerStyles, children })
12222
+ header ? /* @__PURE__ */ jsx41("div", { id: headerId, css: drawerHeaderStyles, children: header }) : null,
12223
+ /* @__PURE__ */ jsx41("div", { css: drawerInnerStyles, children })
11971
12224
  ]
11972
12225
  }
11973
12226
  );
@@ -11996,8 +12249,8 @@ var DrawerInner = ({
11996
12249
  };
11997
12250
 
11998
12251
  // src/components/Input/styles/CaptionText.styles.ts
11999
- import { css as css35 } from "@emotion/react";
12000
- var CaptionText = (dynamicSize) => css35`
12252
+ import { css as css37 } from "@emotion/react";
12253
+ var CaptionText = (dynamicSize) => css37`
12001
12254
  color: var(--gray-500);
12002
12255
  display: block;
12003
12256
  font-size: ${dynamicSize ? "clamp(var(--fs-xs), 87.5%,var(--fs-sm))" : "var(--fs-sm)"};
@@ -12006,29 +12259,29 @@ var CaptionText = (dynamicSize) => css35`
12006
12259
  `;
12007
12260
 
12008
12261
  // src/components/Input/Caption.tsx
12009
- import { jsx as jsx40 } from "@emotion/react/jsx-runtime";
12262
+ import { jsx as jsx42 } from "@emotion/react/jsx-runtime";
12010
12263
  var Caption = ({ children, testId, dynamicSize = false, ...props }) => {
12011
- return /* @__PURE__ */ jsx40("small", { css: CaptionText(dynamicSize), "data-test-id": testId, ...props, children });
12264
+ return /* @__PURE__ */ jsx42("small", { css: CaptionText(dynamicSize), "data-test-id": testId, ...props, children });
12012
12265
  };
12013
12266
 
12014
12267
  // src/components/Input/CheckboxWithInfo.tsx
12015
12268
  import { forwardRef as forwardRef4 } from "react";
12016
12269
 
12017
12270
  // src/components/Input/styles/CheckboxWithInfo.styles.ts
12018
- import { css as css36 } from "@emotion/react";
12019
- var CheckboxWithInfoContainer = css36`
12271
+ import { css as css38 } from "@emotion/react";
12272
+ var CheckboxWithInfoContainer = css38`
12020
12273
  align-items: center;
12021
12274
  display: flex;
12022
12275
  gap: var(--spacing-sm);
12023
12276
  `;
12024
- var CheckboxWithInfoLabel = css36`
12277
+ var CheckboxWithInfoLabel = css38`
12025
12278
  align-items: center;
12026
12279
  color: var(--gray-500);
12027
12280
  display: flex;
12028
12281
  font-size: var(--fs-xs);
12029
12282
  gap: var(--spacing-sm);
12030
12283
  `;
12031
- var CheckboxWithInfoInput = css36`
12284
+ var CheckboxWithInfoInput = css38`
12032
12285
  appearance: none;
12033
12286
  border: 1px solid var(--gray-300);
12034
12287
  background: var(--white) no-repeat bottom center;
@@ -12061,7 +12314,7 @@ var CheckboxWithInfoInput = css36`
12061
12314
  border-color: var(--gray-200);
12062
12315
  }
12063
12316
  `;
12064
- var InfoDialogContainer = css36`
12317
+ var InfoDialogContainer = css38`
12065
12318
  position: relative;
12066
12319
 
12067
12320
  &:hover {
@@ -12070,7 +12323,7 @@ var InfoDialogContainer = css36`
12070
12323
  }
12071
12324
  }
12072
12325
  `;
12073
- var InfoDialogMessage = css36`
12326
+ var InfoDialogMessage = css38`
12074
12327
  background: var(--white);
12075
12328
  box-shadow: var(--shadow-base);
12076
12329
  border-radius: var(--rounded-md);
@@ -12087,21 +12340,21 @@ var InfoDialogMessage = css36`
12087
12340
  `;
12088
12341
 
12089
12342
  // src/components/Input/CheckboxWithInfo.tsx
12090
- import { jsx as jsx41, jsxs as jsxs23 } from "@emotion/react/jsx-runtime";
12343
+ import { jsx as jsx43, jsxs as jsxs24 } from "@emotion/react/jsx-runtime";
12091
12344
  var InfoDialog = ({ message }) => {
12092
- return /* @__PURE__ */ jsxs23("div", { "data-testid": "info-dialog", css: InfoDialogContainer, children: [
12093
- /* @__PURE__ */ jsx41(Icon, { icon: "info", iconColor: "green", size: "0.9rem" }),
12094
- /* @__PURE__ */ jsx41("div", { role: "paragraph", css: InfoDialogMessage, className: "info-message", children: message })
12345
+ return /* @__PURE__ */ jsxs24("div", { "data-testid": "info-dialog", css: InfoDialogContainer, children: [
12346
+ /* @__PURE__ */ jsx43(Icon, { icon: "info", iconColor: "action", size: "0.9rem" }),
12347
+ /* @__PURE__ */ jsx43("div", { role: "paragraph", css: InfoDialogMessage, className: "info-message", children: message })
12095
12348
  ] });
12096
12349
  };
12097
12350
  var CheckboxWithInfo = forwardRef4(
12098
12351
  ({ label, name, info, ...props }, ref) => {
12099
- return /* @__PURE__ */ jsxs23("div", { css: CheckboxWithInfoContainer, children: [
12100
- /* @__PURE__ */ jsxs23("label", { css: CheckboxWithInfoLabel, children: [
12101
- /* @__PURE__ */ jsx41("input", { type: "checkbox", name, ref, css: CheckboxWithInfoInput, ...props }),
12102
- /* @__PURE__ */ jsx41("span", { children: label })
12352
+ return /* @__PURE__ */ jsxs24("div", { css: CheckboxWithInfoContainer, children: [
12353
+ /* @__PURE__ */ jsxs24("label", { css: CheckboxWithInfoLabel, children: [
12354
+ /* @__PURE__ */ jsx43("input", { type: "checkbox", name, ref, css: CheckboxWithInfoInput, ...props }),
12355
+ /* @__PURE__ */ jsx43("span", { children: label })
12103
12356
  ] }),
12104
- info ? /* @__PURE__ */ jsx41(InfoDialog, { message: info }) : null
12357
+ info ? /* @__PURE__ */ jsx43(InfoDialog, { message: info }) : null
12105
12358
  ] });
12106
12359
  }
12107
12360
  );
@@ -12110,8 +12363,8 @@ var CheckboxWithInfo = forwardRef4(
12110
12363
  import { MdWarning } from "react-icons/md";
12111
12364
 
12112
12365
  // src/components/Input/styles/ErrorMessage.styles.ts
12113
- import { css as css37 } from "@emotion/react";
12114
- var ErrorText = css37`
12366
+ import { css as css39 } from "@emotion/react";
12367
+ var ErrorText = css39`
12115
12368
  align-items: center;
12116
12369
  color: var(--brand-secondary-5);
12117
12370
  display: flex;
@@ -12119,10 +12372,10 @@ var ErrorText = css37`
12119
12372
  `;
12120
12373
 
12121
12374
  // src/components/Input/ErrorMessage.tsx
12122
- import { jsx as jsx42, jsxs as jsxs24 } from "@emotion/react/jsx-runtime";
12375
+ import { jsx as jsx44, jsxs as jsxs25 } from "@emotion/react/jsx-runtime";
12123
12376
  var ErrorMessage = ({ message, testId, ...otherProps }) => {
12124
- return message ? /* @__PURE__ */ jsxs24("span", { role: "alert", css: ErrorText, "data-test-id": testId, ...otherProps, children: [
12125
- /* @__PURE__ */ jsx42(Icon, { icon: MdWarning, size: 16, iconColor: "currentColor" }),
12377
+ return message ? /* @__PURE__ */ jsxs25("span", { role: "alert", css: ErrorText, "data-test-id": testId, ...otherProps, children: [
12378
+ /* @__PURE__ */ jsx44(Icon, { icon: MdWarning, size: 16, iconColor: "currentColor" }),
12126
12379
  message
12127
12380
  ] }) : null;
12128
12381
  };
@@ -12131,9 +12384,9 @@ var ErrorMessage = ({ message, testId, ...otherProps }) => {
12131
12384
  import * as React12 from "react";
12132
12385
 
12133
12386
  // src/components/Input/styles/Fieldset.styles.ts
12134
- import { css as css38 } from "@emotion/react";
12387
+ import { css as css40 } from "@emotion/react";
12135
12388
  function fieldsetContainer(invert) {
12136
- const base = css38`
12389
+ const base = css40`
12137
12390
  border-radius: var(--rounded-base);
12138
12391
  border: 1px solid var(--gray-300);
12139
12392
 
@@ -12145,18 +12398,18 @@ function fieldsetContainer(invert) {
12145
12398
  }
12146
12399
  `;
12147
12400
  return invert ? [
12148
- css38`
12401
+ css40`
12149
12402
  background: white;
12150
12403
  `,
12151
12404
  base
12152
12405
  ] : [
12153
- css38`
12406
+ css40`
12154
12407
  background: var(--gray-50);
12155
12408
  `,
12156
12409
  base
12157
12410
  ];
12158
12411
  }
12159
- var fieldsetLegend = css38`
12412
+ var fieldsetLegend = css40`
12160
12413
  align-items: center;
12161
12414
  color: var(--brand-secondary-1);
12162
12415
  display: flex;
@@ -12166,17 +12419,17 @@ var fieldsetLegend = css38`
12166
12419
  margin-bottom: var(--spacing-base);
12167
12420
  float: left; // allows the legend to be inside the fieldset and not sat on the border line
12168
12421
  `;
12169
- var fieldsetBody = css38`
12422
+ var fieldsetBody = css40`
12170
12423
  clear: left;
12171
12424
  `;
12172
12425
 
12173
12426
  // src/components/Input/Fieldset.tsx
12174
- import { jsx as jsx43, jsxs as jsxs25 } from "@emotion/react/jsx-runtime";
12427
+ import { jsx as jsx45, jsxs as jsxs26 } from "@emotion/react/jsx-runtime";
12175
12428
  var Fieldset = React12.forwardRef(
12176
12429
  ({ legend, disabled, children, invert, ...props }, ref) => {
12177
- return /* @__PURE__ */ jsxs25("fieldset", { css: fieldsetContainer(Boolean(invert)), ref, disabled, ...props, children: [
12430
+ return /* @__PURE__ */ jsxs26("fieldset", { css: fieldsetContainer(Boolean(invert)), ref, disabled, ...props, children: [
12178
12431
  legend,
12179
- /* @__PURE__ */ jsx43("div", { css: fieldsetBody, children })
12432
+ /* @__PURE__ */ jsx45("div", { css: fieldsetBody, children })
12180
12433
  ] });
12181
12434
  }
12182
12435
  );
@@ -12185,8 +12438,8 @@ var Fieldset = React12.forwardRef(
12185
12438
  import { MdInfoOutline } from "react-icons/md";
12186
12439
 
12187
12440
  // src/components/Input/styles/InfoMessage.styles.tsx
12188
- import { css as css39 } from "@emotion/react";
12189
- var InfoText = css39`
12441
+ import { css as css41 } from "@emotion/react";
12442
+ var InfoText = css41`
12190
12443
  --info-desc: rgb(29, 78, 216);
12191
12444
  --info-icon: rgb(96, 165, 250);
12192
12445
 
@@ -12195,15 +12448,15 @@ var InfoText = css39`
12195
12448
  display: flex;
12196
12449
  gap: var(--spacing-sm);
12197
12450
  `;
12198
- var InfoIcon2 = css39`
12451
+ var InfoIcon2 = css41`
12199
12452
  color: var(--info-icon);
12200
12453
  `;
12201
12454
 
12202
12455
  // src/components/Input/InfoMessage.tsx
12203
- import { jsx as jsx44, jsxs as jsxs26 } from "@emotion/react/jsx-runtime";
12456
+ import { jsx as jsx46, jsxs as jsxs27 } from "@emotion/react/jsx-runtime";
12204
12457
  var InfoMessage = ({ message, testId, ...props }) => {
12205
- return message ? /* @__PURE__ */ jsxs26("span", { role: "status", css: InfoText, "data-test-id": testId, ...props, children: [
12206
- /* @__PURE__ */ jsx44(Icon, { css: InfoIcon2, icon: MdInfoOutline, size: "1rem", iconColor: "currentColor" }),
12458
+ return message ? /* @__PURE__ */ jsxs27("span", { role: "status", css: InfoText, "data-test-id": testId, ...props, children: [
12459
+ /* @__PURE__ */ jsx46(Icon, { css: InfoIcon2, icon: MdInfoOutline, size: "1rem", iconColor: "currentColor" }),
12207
12460
  message
12208
12461
  ] }) : null;
12209
12462
  };
@@ -12212,9 +12465,9 @@ var InfoMessage = ({ message, testId, ...props }) => {
12212
12465
  import * as React13 from "react";
12213
12466
 
12214
12467
  // src/components/Input/Label.tsx
12215
- import { jsx as jsx45 } from "@emotion/react/jsx-runtime";
12468
+ import { jsx as jsx47 } from "@emotion/react/jsx-runtime";
12216
12469
  var Label = ({ children, className, testId, ...props }) => {
12217
- return /* @__PURE__ */ jsx45(
12470
+ return /* @__PURE__ */ jsx47(
12218
12471
  "label",
12219
12472
  {
12220
12473
  css: [labelText, typeof className === "object" ? className : void 0],
@@ -12230,28 +12483,28 @@ var Label = ({ children, className, testId, ...props }) => {
12230
12483
  import { MdWarning as MdWarning2 } from "react-icons/md";
12231
12484
 
12232
12485
  // src/components/Input/styles/WarningMessage.styles.tsx
12233
- import { css as css40 } from "@emotion/react";
12234
- var WarningText = css40`
12486
+ import { css as css42 } from "@emotion/react";
12487
+ var WarningText = css42`
12235
12488
  align-items: center;
12236
12489
  color: var(--alert-text);
12237
12490
  display: flex;
12238
12491
  gap: var(--spacing-sm);
12239
12492
  `;
12240
- var WarningIcon = css40`
12493
+ var WarningIcon = css42`
12241
12494
  color: var(--alert);
12242
12495
  `;
12243
12496
 
12244
12497
  // src/components/Input/WarningMessage.tsx
12245
- import { jsx as jsx46, jsxs as jsxs27 } from "@emotion/react/jsx-runtime";
12498
+ import { jsx as jsx48, jsxs as jsxs28 } from "@emotion/react/jsx-runtime";
12246
12499
  var WarningMessage = ({ message, testId, ...props }) => {
12247
- return message ? /* @__PURE__ */ jsxs27("span", { role: "status", css: WarningText, "data-test-id": testId, ...props, children: [
12248
- /* @__PURE__ */ jsx46(Icon, { css: WarningIcon, icon: MdWarning2, size: "1rem", iconColor: "currentColor" }),
12500
+ return message ? /* @__PURE__ */ jsxs28("span", { role: "status", css: WarningText, "data-test-id": testId, ...props, children: [
12501
+ /* @__PURE__ */ jsx48(Icon, { css: WarningIcon, icon: MdWarning2, size: "1rem", iconColor: "currentColor" }),
12249
12502
  message
12250
12503
  ] }) : null;
12251
12504
  };
12252
12505
 
12253
12506
  // src/components/Input/Input.tsx
12254
- import { jsx as jsx47, jsxs as jsxs28 } from "@emotion/react/jsx-runtime";
12507
+ import { jsx as jsx49, jsxs as jsxs29 } from "@emotion/react/jsx-runtime";
12255
12508
  var Input = React13.forwardRef(
12256
12509
  ({
12257
12510
  label,
@@ -12270,8 +12523,8 @@ var Input = React13.forwardRef(
12270
12523
  classNameLabel,
12271
12524
  ...props
12272
12525
  }, ref) => {
12273
- return /* @__PURE__ */ jsxs28("div", { css: inputContainer, "data-test-id": containerTestId ? containerTestId : "container-input-field", children: [
12274
- showLabel ? /* @__PURE__ */ jsx47(
12526
+ return /* @__PURE__ */ jsxs29("div", { css: inputContainer, "data-test-id": containerTestId ? containerTestId : "container-input-field", children: [
12527
+ showLabel ? /* @__PURE__ */ jsx49(
12275
12528
  Label,
12276
12529
  {
12277
12530
  htmlFor: id,
@@ -12281,13 +12534,13 @@ var Input = React13.forwardRef(
12281
12534
  children: label
12282
12535
  }
12283
12536
  ) : null,
12284
- /* @__PURE__ */ jsxs28(
12537
+ /* @__PURE__ */ jsxs29(
12285
12538
  "div",
12286
12539
  {
12287
12540
  css: [inputContainer, typeof classNameContainer === "object" ? classNameContainer : void 0],
12288
12541
  className: typeof classNameContainer === "string" ? classNameContainer : "",
12289
12542
  children: [
12290
- /* @__PURE__ */ jsx47(
12543
+ /* @__PURE__ */ jsx49(
12291
12544
  "input",
12292
12545
  {
12293
12546
  id,
@@ -12303,23 +12556,23 @@ var Input = React13.forwardRef(
12303
12556
  ref
12304
12557
  }
12305
12558
  ),
12306
- icon ? /* @__PURE__ */ jsx47("div", { css: inputIcon, children: icon }) : null
12559
+ icon ? /* @__PURE__ */ jsx49("div", { css: inputIcon, children: icon }) : null
12307
12560
  ]
12308
12561
  }
12309
12562
  ),
12310
- caption ? /* @__PURE__ */ jsx47(Caption, { testId: captionTestId, children: caption }) : null,
12311
- errorMessage ? /* @__PURE__ */ jsx47(ErrorMessage, { message: errorMessage, testId: errorTestId }) : null,
12312
- warningMessage && !errorMessage ? /* @__PURE__ */ jsx47(WarningMessage, { message: warningMessage }) : null
12563
+ caption ? /* @__PURE__ */ jsx49(Caption, { testId: captionTestId, children: caption }) : null,
12564
+ errorMessage ? /* @__PURE__ */ jsx49(ErrorMessage, { message: errorMessage, testId: errorTestId }) : null,
12565
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx49(WarningMessage, { message: warningMessage }) : null
12313
12566
  ] });
12314
12567
  }
12315
12568
  );
12316
12569
 
12317
12570
  // src/components/Input/InputComboBox.tsx
12318
12571
  import Select from "react-select";
12319
- import { jsx as jsx48 } from "@emotion/react/jsx-runtime";
12572
+ import { jsx as jsx50 } from "@emotion/react/jsx-runtime";
12320
12573
  function InputComboBox(props) {
12321
12574
  var _a;
12322
- return /* @__PURE__ */ jsx48(
12575
+ return /* @__PURE__ */ jsx50(
12323
12576
  Select,
12324
12577
  {
12325
12578
  ...props,
@@ -12448,17 +12701,17 @@ function InputComboBox(props) {
12448
12701
  }
12449
12702
 
12450
12703
  // src/components/Input/InputInlineSelect.tsx
12451
- import { css as css42 } from "@emotion/react";
12704
+ import { css as css44 } from "@emotion/react";
12452
12705
  import { useRef as useRef3, useState as useState5 } from "react";
12453
12706
  import { CgChevronDown as CgChevronDown2 } from "react-icons/cg";
12454
12707
 
12455
12708
  // src/components/Input/styles/InputInlineSelect.styles.ts
12456
- import { css as css41 } from "@emotion/react";
12457
- var inlineSelectContainer = css41`
12709
+ import { css as css43 } from "@emotion/react";
12710
+ var inlineSelectContainer = css43`
12458
12711
  margin-inline: auto;
12459
12712
  max-width: fit-content;
12460
12713
  `;
12461
- var inlineSelectBtn = css41`
12714
+ var inlineSelectBtn = css43`
12462
12715
  align-items: center;
12463
12716
  background: var(--brand-secondary-3);
12464
12717
  border: 2px solid var(--brand-secondary-3);
@@ -12482,7 +12735,7 @@ var inlineSelectBtn = css41`
12482
12735
  outline: 2px solid var(--brand-secondary-1);
12483
12736
  }
12484
12737
  `;
12485
- var inlineSelectMenu = css41`
12738
+ var inlineSelectMenu = css43`
12486
12739
  background: var(--white);
12487
12740
  border: 1px solid var(--brand-secondary-3);
12488
12741
  border-top: none;
@@ -12493,7 +12746,7 @@ var inlineSelectMenu = css41`
12493
12746
  inset: auto 0;
12494
12747
  transform: translateY(-0.2rem);
12495
12748
  `;
12496
- var inlineSelectBtnOptions = css41`
12749
+ var inlineSelectBtnOptions = css43`
12497
12750
  cursor: pointer;
12498
12751
  display: block;
12499
12752
  font-size: var(--fs-sm);
@@ -12509,7 +12762,7 @@ var inlineSelectBtnOptions = css41`
12509
12762
  background: var(--gray-50);
12510
12763
  }
12511
12764
  `;
12512
- var inlineSelectMenuClosed = css41`
12765
+ var inlineSelectMenuClosed = css43`
12513
12766
  position: absolute;
12514
12767
  overflow: hidden;
12515
12768
  height: 1px;
@@ -12519,7 +12772,7 @@ var inlineSelectMenuClosed = css41`
12519
12772
  `;
12520
12773
 
12521
12774
  // src/components/Input/InputInlineSelect.tsx
12522
- import { jsx as jsx49, jsxs as jsxs29 } from "@emotion/react/jsx-runtime";
12775
+ import { jsx as jsx51, jsxs as jsxs30 } from "@emotion/react/jsx-runtime";
12523
12776
  var InputInlineSelect = ({
12524
12777
  classNameContainer,
12525
12778
  options,
@@ -12533,17 +12786,17 @@ var InputInlineSelect = ({
12533
12786
  const divRef = useRef3(null);
12534
12787
  useOutsideClick(divRef, () => setMenuVisible(false));
12535
12788
  const selected = options.find((option) => option.value === value);
12536
- return /* @__PURE__ */ jsxs29(
12789
+ return /* @__PURE__ */ jsxs30(
12537
12790
  "div",
12538
12791
  {
12539
12792
  ref: divRef,
12540
- css: !classNameContainer ? inlineSelectContainer : css42`
12793
+ css: !classNameContainer ? inlineSelectContainer : css44`
12541
12794
  max-width: fit-content;
12542
12795
  ${typeof classNameContainer === "object" ? classNameContainer : void 0}
12543
12796
  `,
12544
12797
  className: typeof classNameContainer === "string" ? classNameContainer : "",
12545
12798
  children: [
12546
- /* @__PURE__ */ jsxs29(
12799
+ /* @__PURE__ */ jsxs30(
12547
12800
  "button",
12548
12801
  {
12549
12802
  type: "button",
@@ -12557,18 +12810,18 @@ var InputInlineSelect = ({
12557
12810
  disabled,
12558
12811
  ...props,
12559
12812
  children: [
12560
- /* @__PURE__ */ jsx49("span", { children: (_a = selected == null ? void 0 : selected.label) != null ? _a : value }),
12561
- disabled ? null : /* @__PURE__ */ jsx49(Icon, { icon: CgChevronDown2, iconColor: "currentColor", size: 24 })
12813
+ /* @__PURE__ */ jsx51("span", { children: (_a = selected == null ? void 0 : selected.label) != null ? _a : value }),
12814
+ disabled ? null : /* @__PURE__ */ jsx51(Icon, { icon: CgChevronDown2, iconColor: "currentColor", size: 24 })
12562
12815
  ]
12563
12816
  }
12564
12817
  ),
12565
- /* @__PURE__ */ jsx49(
12818
+ /* @__PURE__ */ jsx51(
12566
12819
  "div",
12567
12820
  {
12568
12821
  id: `and-or-${props.id}`,
12569
12822
  css: [inlineSelectMenu, menuVisible ? void 0 : inlineSelectMenuClosed],
12570
12823
  "aria-hidden": !menuVisible,
12571
- children: options.map((opt) => /* @__PURE__ */ jsx49(
12824
+ children: options.map((opt) => /* @__PURE__ */ jsx51(
12572
12825
  "button",
12573
12826
  {
12574
12827
  type: "button",
@@ -12589,7 +12842,7 @@ var InputInlineSelect = ({
12589
12842
  };
12590
12843
 
12591
12844
  // src/components/Input/InputKeywordSearch.tsx
12592
- import { jsx as jsx50 } from "@emotion/react/jsx-runtime";
12845
+ import { jsx as jsx52 } from "@emotion/react/jsx-runtime";
12593
12846
  var InputKeywordSearch = ({
12594
12847
  onSearchTextChanged,
12595
12848
  disabled = false,
@@ -12608,7 +12861,7 @@ var InputKeywordSearch = ({
12608
12861
  e.preventDefault();
12609
12862
  }
12610
12863
  };
12611
- return /* @__PURE__ */ jsx50(
12864
+ return /* @__PURE__ */ jsx52(
12612
12865
  Input,
12613
12866
  {
12614
12867
  type: "text",
@@ -12616,7 +12869,7 @@ var InputKeywordSearch = ({
12616
12869
  placeholder,
12617
12870
  showLabel: false,
12618
12871
  value,
12619
- icon: value ? /* @__PURE__ */ jsx50("button", { css: inputSearchCloseBtn, onClick: onClear, type: "button", children: /* @__PURE__ */ jsx50(Icon, { icon: "close", iconColor: "red", size: "1rem" }) }) : /* @__PURE__ */ jsx50(Icon, { icon: "search", iconColor: "gray", size: "1rem" }),
12872
+ icon: value ? /* @__PURE__ */ jsx52("button", { css: inputSearchCloseBtn, onClick: onClear, type: "button", children: /* @__PURE__ */ jsx52(Icon, { icon: "close", iconColor: "red", size: "1rem" }) }) : /* @__PURE__ */ jsx52(Icon, { icon: "search", iconColor: "gray", size: "1rem" }),
12620
12873
  onChange: handleSearchTextChanged,
12621
12874
  onKeyPress: preventSubmitOnField,
12622
12875
  disabled,
@@ -12627,7 +12880,7 @@ var InputKeywordSearch = ({
12627
12880
  };
12628
12881
 
12629
12882
  // src/components/Input/InputSelect.tsx
12630
- import { Fragment as Fragment5, jsx as jsx51, jsxs as jsxs30 } from "@emotion/react/jsx-runtime";
12883
+ import { Fragment as Fragment6, jsx as jsx53, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
12631
12884
  var InputSelect = ({
12632
12885
  label,
12633
12886
  defaultOption,
@@ -12643,13 +12896,13 @@ var InputSelect = ({
12643
12896
  classNameLabel,
12644
12897
  ...props
12645
12898
  }) => {
12646
- return /* @__PURE__ */ jsxs30(
12899
+ return /* @__PURE__ */ jsxs31(
12647
12900
  "div",
12648
12901
  {
12649
12902
  css: [inputContainer, typeof classNameContainer === "object" ? classNameContainer : void 0],
12650
12903
  className: typeof classNameContainer === "string" ? classNameContainer : "",
12651
12904
  children: [
12652
- showLabel ? /* @__PURE__ */ jsx51(Fragment5, { children: /* @__PURE__ */ jsxs30(
12905
+ showLabel ? /* @__PURE__ */ jsx53(Fragment6, { children: /* @__PURE__ */ jsxs31(
12653
12906
  Label,
12654
12907
  {
12655
12908
  htmlFor: props.id,
@@ -12661,7 +12914,7 @@ var InputSelect = ({
12661
12914
  ]
12662
12915
  }
12663
12916
  ) }) : null,
12664
- /* @__PURE__ */ jsxs30(
12917
+ /* @__PURE__ */ jsxs31(
12665
12918
  "select",
12666
12919
  {
12667
12920
  title: label,
@@ -12676,14 +12929,14 @@ var InputSelect = ({
12676
12929
  className: typeof classNameControl === "string" ? classNameControl : "",
12677
12930
  ...props,
12678
12931
  children: [
12679
- defaultOption ? /* @__PURE__ */ jsx51("option", { value: "", children: defaultOption }) : null,
12680
- options.map((opt, index) => /* @__PURE__ */ jsx51("option", { value: opt.label, ...opt }, index))
12932
+ defaultOption ? /* @__PURE__ */ jsx53("option", { value: "", children: defaultOption }) : null,
12933
+ options.map((opt, index) => /* @__PURE__ */ jsx53("option", { value: opt.label, ...opt }, index))
12681
12934
  ]
12682
12935
  }
12683
12936
  ),
12684
- caption ? /* @__PURE__ */ jsx51(Caption, { children: caption }) : null,
12685
- errorMessage ? /* @__PURE__ */ jsx51(ErrorMessage, { message: errorMessage }) : null,
12686
- warningMessage && !errorMessage ? /* @__PURE__ */ jsx51(WarningMessage, { message: warningMessage }) : null
12937
+ caption ? /* @__PURE__ */ jsx53(Caption, { children: caption }) : null,
12938
+ errorMessage ? /* @__PURE__ */ jsx53(ErrorMessage, { message: errorMessage }) : null,
12939
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx53(WarningMessage, { message: warningMessage }) : null
12687
12940
  ]
12688
12941
  }
12689
12942
  );
@@ -12691,7 +12944,7 @@ var InputSelect = ({
12691
12944
 
12692
12945
  // src/components/Input/InputToggle.tsx
12693
12946
  import * as React14 from "react";
12694
- import { jsx as jsx52, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
12947
+ import { jsx as jsx54, jsxs as jsxs32 } from "@emotion/react/jsx-runtime";
12695
12948
  var InputToggle = React14.forwardRef(
12696
12949
  ({
12697
12950
  label,
@@ -12706,8 +12959,8 @@ var InputToggle = React14.forwardRef(
12706
12959
  fontWeight = "medium",
12707
12960
  ...props
12708
12961
  }, ref) => {
12709
- return /* @__PURE__ */ jsxs31(Label, { css: [inputToggleLabel, disabled ? inputDisabled : void 0], "data-test-id": testId, children: [
12710
- /* @__PURE__ */ jsx52(
12962
+ return /* @__PURE__ */ jsxs32(Label, { css: [inputToggleLabel, disabled ? inputDisabled : void 0], "data-test-id": testId, children: [
12963
+ /* @__PURE__ */ jsx54(
12711
12964
  "input",
12712
12965
  {
12713
12966
  ref,
@@ -12719,24 +12972,24 @@ var InputToggle = React14.forwardRef(
12719
12972
  ...props
12720
12973
  }
12721
12974
  ),
12722
- /* @__PURE__ */ jsx52("span", { css: inlineLabel(fontWeight), dangerouslySetInnerHTML: { __html: label } }),
12723
- caption || errorMessage ? /* @__PURE__ */ jsxs31("span", { css: inputToggleMessageContainer, children: [
12724
- caption ? /* @__PURE__ */ jsx52(Caption, { children: caption }) : null,
12725
- errorMessage ? /* @__PURE__ */ jsx52(ErrorMessage, { message: errorMessage }) : null,
12726
- warningMessage && !errorMessage ? /* @__PURE__ */ jsx52(WarningMessage, { message: warningMessage }) : null
12975
+ /* @__PURE__ */ jsx54("span", { css: inlineLabel(fontWeight), dangerouslySetInnerHTML: { __html: label } }),
12976
+ caption || errorMessage ? /* @__PURE__ */ jsxs32("span", { css: inputToggleMessageContainer, children: [
12977
+ caption ? /* @__PURE__ */ jsx54(Caption, { children: caption }) : null,
12978
+ errorMessage ? /* @__PURE__ */ jsx54(ErrorMessage, { message: errorMessage }) : null,
12979
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx54(WarningMessage, { message: warningMessage }) : null
12727
12980
  ] }) : null
12728
12981
  ] });
12729
12982
  }
12730
12983
  );
12731
12984
 
12732
12985
  // src/components/Input/Legend.tsx
12733
- import { jsx as jsx53 } from "@emotion/react/jsx-runtime";
12986
+ import { jsx as jsx55 } from "@emotion/react/jsx-runtime";
12734
12987
  var Legend = ({ children }) => {
12735
- return /* @__PURE__ */ jsx53("legend", { css: fieldsetLegend, children });
12988
+ return /* @__PURE__ */ jsx55("legend", { css: fieldsetLegend, children });
12736
12989
  };
12737
12990
 
12738
12991
  // src/components/Input/Textarea.tsx
12739
- import { Fragment as Fragment6, jsx as jsx54, jsxs as jsxs32 } from "@emotion/react/jsx-runtime";
12992
+ import { Fragment as Fragment7, jsx as jsx56, jsxs as jsxs33 } from "@emotion/react/jsx-runtime";
12740
12993
  var Textarea = ({
12741
12994
  label,
12742
12995
  icon,
@@ -12747,10 +13000,10 @@ var Textarea = ({
12747
13000
  warningMessage,
12748
13001
  ...props
12749
13002
  }) => {
12750
- return /* @__PURE__ */ jsxs32(Fragment6, { children: [
12751
- showLabel ? /* @__PURE__ */ jsx54("label", { htmlFor: id, css: [labelText], children: label }) : null,
12752
- /* @__PURE__ */ jsxs32("div", { css: [inputContainer], children: [
12753
- /* @__PURE__ */ jsx54(
13003
+ return /* @__PURE__ */ jsxs33(Fragment7, { children: [
13004
+ showLabel ? /* @__PURE__ */ jsx56("label", { htmlFor: id, css: [labelText], children: label }) : null,
13005
+ /* @__PURE__ */ jsxs33("div", { css: [inputContainer], children: [
13006
+ /* @__PURE__ */ jsx56(
12754
13007
  "textarea",
12755
13008
  {
12756
13009
  id,
@@ -12759,17 +13012,17 @@ var Textarea = ({
12759
13012
  ...props
12760
13013
  }
12761
13014
  ),
12762
- icon ? /* @__PURE__ */ jsx54("div", { css: inputIcon, children: icon }) : null
13015
+ icon ? /* @__PURE__ */ jsx56("div", { css: inputIcon, children: icon }) : null
12763
13016
  ] }),
12764
- caption ? /* @__PURE__ */ jsx54(Caption, { children: caption }) : null,
12765
- errorMessage ? /* @__PURE__ */ jsx54(ErrorMessage, { message: errorMessage }) : null,
12766
- warningMessage && !errorMessage ? /* @__PURE__ */ jsx54(WarningMessage, { message: warningMessage }) : null
13017
+ caption ? /* @__PURE__ */ jsx56(Caption, { children: caption }) : null,
13018
+ errorMessage ? /* @__PURE__ */ jsx56(ErrorMessage, { message: errorMessage }) : null,
13019
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx56(WarningMessage, { message: warningMessage }) : null
12767
13020
  ] });
12768
13021
  };
12769
13022
 
12770
13023
  // src/components/JsonEditor/JsonEditor.tsx
12771
13024
  import MonacoEditor from "@monaco-editor/react";
12772
- import { jsx as jsx55 } from "@emotion/react/jsx-runtime";
13025
+ import { jsx as jsx57 } from "@emotion/react/jsx-runtime";
12773
13026
  var minEditorHeightPx = 150;
12774
13027
  var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
12775
13028
  let effectiveHeight = height;
@@ -12779,7 +13032,7 @@ var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
12779
13032
  if (typeof effectiveHeight === "number" && effectiveHeight < minEditorHeightPx) {
12780
13033
  effectiveHeight = minEditorHeightPx;
12781
13034
  }
12782
- return /* @__PURE__ */ jsx55(
13035
+ return /* @__PURE__ */ jsx57(
12783
13036
  MonacoEditor,
12784
13037
  {
12785
13038
  height: effectiveHeight,
@@ -12816,39 +13069,39 @@ var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
12816
13069
  };
12817
13070
 
12818
13071
  // src/components/LimitsBar/LimitsBar.styles.ts
12819
- import { css as css43 } from "@emotion/react";
12820
- var LimitsBarContainer = css43`
13072
+ import { css as css45 } from "@emotion/react";
13073
+ var LimitsBarContainer = css45`
12821
13074
  margin-block: var(--spacing-sm);
12822
13075
  `;
12823
- var LimitsBarProgressBar = css43`
13076
+ var LimitsBarProgressBar = css45`
12824
13077
  background: var(--gray-100);
12825
13078
  margin-top: var(--spacing-sm);
12826
13079
  position: relative;
12827
13080
  overflow: hidden;
12828
13081
  height: 0.25rem;
12829
13082
  `;
12830
- var LimitsBarProgressBarLine = css43`
13083
+ var LimitsBarProgressBarLine = css45`
12831
13084
  position: absolute;
12832
13085
  inset: 0;
12833
13086
  transition: transform var(--duration-fast) var(--timing-ease-out);
12834
13087
  `;
12835
- var LimitsBarLabelContainer = css43`
13088
+ var LimitsBarLabelContainer = css45`
12836
13089
  display: flex;
12837
13090
  justify-content: space-between;
12838
13091
  font-weight: var(--fw-bold);
12839
13092
  `;
12840
- var LimitsBarLabel = css43`
13093
+ var LimitsBarLabel = css45`
12841
13094
  font-size: var(--fs-baase);
12842
13095
  `;
12843
- var LimitsBarBgColor = (statusColor) => css43`
13096
+ var LimitsBarBgColor = (statusColor) => css45`
12844
13097
  background: ${statusColor};
12845
13098
  `;
12846
- var LimitsBarTextColor = (statusColor) => css43`
13099
+ var LimitsBarTextColor = (statusColor) => css45`
12847
13100
  color: ${statusColor};
12848
13101
  `;
12849
13102
 
12850
13103
  // src/components/LimitsBar/LimitsBar.tsx
12851
- import { jsx as jsx56, jsxs as jsxs33 } from "@emotion/react/jsx-runtime";
13104
+ import { jsx as jsx58, jsxs as jsxs34 } from "@emotion/react/jsx-runtime";
12852
13105
  var LimitsBar = ({ current, max, label }) => {
12853
13106
  const maxPercentage = 100;
12854
13107
  const progressBarValue = Math.ceil(current / max * maxPercentage);
@@ -12859,16 +13112,16 @@ var LimitsBar = ({ current, max, label }) => {
12859
13112
  danger: "var(--brand-secondary-5)"
12860
13113
  };
12861
13114
  const statusColor = progressBarValue === 100 ? colorMap.danger : progressBarValue >= 75 ? colorMap.warn : colorMap.base;
12862
- return /* @__PURE__ */ jsxs33("div", { css: LimitsBarContainer, children: [
12863
- /* @__PURE__ */ jsxs33("div", { css: LimitsBarLabelContainer, children: [
12864
- /* @__PURE__ */ jsx56("span", { css: LimitsBarLabel, children: label }),
12865
- /* @__PURE__ */ jsxs33("span", { css: [LimitsBarLabel, LimitsBarTextColor(statusColor)], children: [
13115
+ return /* @__PURE__ */ jsxs34("div", { css: LimitsBarContainer, children: [
13116
+ /* @__PURE__ */ jsxs34("div", { css: LimitsBarLabelContainer, children: [
13117
+ /* @__PURE__ */ jsx58("span", { css: LimitsBarLabel, children: label }),
13118
+ /* @__PURE__ */ jsxs34("span", { css: [LimitsBarLabel, LimitsBarTextColor(statusColor)], children: [
12866
13119
  current,
12867
13120
  " of ",
12868
13121
  max
12869
13122
  ] })
12870
13123
  ] }),
12871
- /* @__PURE__ */ jsx56(
13124
+ /* @__PURE__ */ jsx58(
12872
13125
  "div",
12873
13126
  {
12874
13127
  role: "progressbar",
@@ -12877,7 +13130,7 @@ var LimitsBar = ({ current, max, label }) => {
12877
13130
  "aria-valuemax": max,
12878
13131
  "aria-valuetext": `${current} of ${max}`,
12879
13132
  css: LimitsBarProgressBar,
12880
- children: /* @__PURE__ */ jsx56(
13133
+ children: /* @__PURE__ */ jsx58(
12881
13134
  "span",
12882
13135
  {
12883
13136
  role: "presentation",
@@ -12893,8 +13146,8 @@ var LimitsBar = ({ current, max, label }) => {
12893
13146
  };
12894
13147
 
12895
13148
  // src/components/LinkList/LinkList.styles.ts
12896
- import { css as css44 } from "@emotion/react";
12897
- var LinkListContainer = (padding) => css44`
13149
+ import { css as css46 } from "@emotion/react";
13150
+ var LinkListContainer = (padding) => css46`
12898
13151
  padding: ${padding};
12899
13152
 
12900
13153
  ${mq("sm")} {
@@ -12904,23 +13157,23 @@ var LinkListContainer = (padding) => css44`
12904
13157
  `;
12905
13158
 
12906
13159
  // src/components/LinkList/LinkList.tsx
12907
- import { jsx as jsx57, jsxs as jsxs34 } from "@emotion/react/jsx-runtime";
13160
+ import { jsx as jsx59, jsxs as jsxs35 } from "@emotion/react/jsx-runtime";
12908
13161
  var LinkList = ({ title, padding = "var(--spacing-md)", children, ...props }) => {
12909
- return /* @__PURE__ */ jsxs34("div", { css: LinkListContainer(padding), ...props, children: [
12910
- /* @__PURE__ */ jsx57(Heading, { level: 3, children: title }),
13162
+ return /* @__PURE__ */ jsxs35("div", { css: LinkListContainer(padding), ...props, children: [
13163
+ /* @__PURE__ */ jsx59(Heading, { level: 3, children: title }),
12911
13164
  children
12912
13165
  ] });
12913
13166
  };
12914
13167
 
12915
13168
  // src/components/List/ScrollableList.tsx
12916
- import { css as css46 } from "@emotion/react";
13169
+ import { css as css48 } from "@emotion/react";
12917
13170
 
12918
13171
  // src/components/List/styles/ScrollableList.styles.ts
12919
- import { css as css45 } from "@emotion/react";
12920
- var ScrollableListContainer = css45`
13172
+ import { css as css47 } from "@emotion/react";
13173
+ var ScrollableListContainer = css47`
12921
13174
  position: relative;
12922
13175
  `;
12923
- var ScrollableListInner = css45`
13176
+ var ScrollableListInner = css47`
12924
13177
  background: var(--gray-50);
12925
13178
  border-top: 1px solid var(--gray-200);
12926
13179
  border-bottom: 1px solid var(--gray-200);
@@ -12938,19 +13191,19 @@ var ScrollableListInner = css45`
12938
13191
  `;
12939
13192
 
12940
13193
  // src/components/List/ScrollableList.tsx
12941
- import { jsx as jsx58, jsxs as jsxs35 } from "@emotion/react/jsx-runtime";
13194
+ import { jsx as jsx60, jsxs as jsxs36 } from "@emotion/react/jsx-runtime";
12942
13195
  var ScrollableList = ({ label, children, ...props }) => {
12943
- return /* @__PURE__ */ jsxs35("div", { css: [ScrollableListContainer, scrollbarStyles], ...props, children: [
12944
- label ? /* @__PURE__ */ jsx58(
13196
+ return /* @__PURE__ */ jsxs36("div", { css: [ScrollableListContainer, scrollbarStyles], ...props, children: [
13197
+ label ? /* @__PURE__ */ jsx60(
12945
13198
  "span",
12946
13199
  {
12947
- css: css46`
13200
+ css: css48`
12948
13201
  ${labelText}
12949
13202
  `,
12950
13203
  children: label
12951
13204
  }
12952
13205
  ) : null,
12953
- /* @__PURE__ */ jsx58("div", { css: [ScrollableListInner, scrollbarStyles], children })
13206
+ /* @__PURE__ */ jsx60("div", { css: [ScrollableListInner, scrollbarStyles], children })
12954
13207
  ] });
12955
13208
  };
12956
13209
 
@@ -12958,21 +13211,23 @@ var ScrollableList = ({ label, children, ...props }) => {
12958
13211
  import { CgCheck } from "react-icons/cg";
12959
13212
 
12960
13213
  // src/components/List/styles/ScrollableListItem.styles.ts
12961
- import { css as css47 } from "@emotion/react";
12962
- var ScrollableListItemContainer = css47`
13214
+ import { css as css49 } from "@emotion/react";
13215
+ var ScrollableListItemContainer = css49`
12963
13216
  align-items: center;
12964
13217
  background: var(--white);
12965
13218
  border-radius: var(--rounded-base);
12966
- box-shadow: var(--shadow-base);
12967
13219
  border: 2px solid var(--gray-200);
12968
13220
  display: flex;
12969
13221
  min-height: 52px;
12970
13222
  transition: border-color var(--duration-fast) var(--timing-ease-out);
12971
13223
  `;
12972
- var ScrollableListItemActive = css47`
13224
+ var ScrollableListItemShadow = css49`
13225
+ box-shadow: var(--shadow-base);
13226
+ `;
13227
+ var ScrollableListItemActive = css49`
12973
13228
  border-color: var(--brand-secondary-3);
12974
13229
  `;
12975
- var ScrollableListItemBtn = css47`
13230
+ var ScrollableListItemBtn = css49`
12976
13231
  align-items: center;
12977
13232
  border: none;
12978
13233
  background: transparent;
@@ -12987,89 +13242,115 @@ var ScrollableListItemBtn = css47`
12987
13242
  outline: none;
12988
13243
  }
12989
13244
  `;
12990
- var ScrollableListInputLabel = css47`
13245
+ var ScrollableListInputLabel = css49`
12991
13246
  align-items: center;
13247
+ cursor: pointer;
12992
13248
  display: flex;
12993
13249
  padding: var(--spacing-xs) var(--spacing-base) var(--spacing-xs);
12994
13250
  flex-grow: 1;
12995
13251
  `;
12996
- var ScrollableListInputText = css47`
13252
+ var ScrollableListInputText = css49`
12997
13253
  align-items: center;
12998
13254
  display: flex;
12999
13255
  gap: var(--spacing-sm);
13000
- font-weight: var(--fw-bold);
13001
13256
  flex-grow: 1;
13257
+ flex-wrap: wrap;
13002
13258
  `;
13003
- var ScrollableListHiddenInput = css47`
13259
+ var ScrollableListHiddenInput = css49`
13004
13260
  position: absolute;
13005
13261
  height: 0;
13006
13262
  width: 0;
13007
13263
  opacity: 0;
13008
13264
  `;
13009
- var ScrollableListIcon = css47`
13265
+ var ScrollableListIcon = css49`
13010
13266
  border-radius: var(--rounded-full);
13011
13267
  background: var(--brand-secondary-3);
13012
13268
  color: var(--white);
13013
13269
  transition: opacity var(--duration-fast) var(--timing-ease-out);
13270
+ min-width: 24px;
13271
+ opacity: 0;
13272
+ `;
13273
+ var ScrollableListIconVisible = css49`
13014
13274
  animation: ${fadeInBottom} var(--duration-fast) var(--timing-ease-out) forwards;
13015
13275
  `;
13016
13276
 
13017
13277
  // src/components/List/ScrollableListInputItem.tsx
13018
- import { jsx as jsx59, jsxs as jsxs36 } from "@emotion/react/jsx-runtime";
13278
+ import { jsx as jsx61, jsxs as jsxs37 } from "@emotion/react/jsx-runtime";
13019
13279
  var ScrollableListInputItem = ({
13020
13280
  label,
13021
13281
  icon,
13022
13282
  active,
13283
+ disableShadow = false,
13023
13284
  children,
13024
- labelTestId
13285
+ labelTestId,
13286
+ ...props
13025
13287
  }) => {
13026
- return /* @__PURE__ */ jsx59("div", { css: [ScrollableListItemContainer, active ? ScrollableListItemActive : void 0], children: /* @__PURE__ */ jsxs36("label", { "data-test-id": labelTestId, css: ScrollableListInputLabel, children: [
13027
- /* @__PURE__ */ jsxs36("span", { css: ScrollableListInputText, children: [
13028
- icon,
13029
- label
13030
- ] }),
13031
- /* @__PURE__ */ jsx59("div", { css: ScrollableListHiddenInput, children }),
13032
- active ? /* @__PURE__ */ jsx59(Icon, { icon: CgCheck, iconColor: "currentColor", css: ScrollableListIcon, size: 24 }) : null
13033
- ] }) });
13288
+ return /* @__PURE__ */ jsx61(
13289
+ "div",
13290
+ {
13291
+ css: [
13292
+ ScrollableListItemContainer,
13293
+ disableShadow ? void 0 : ScrollableListItemShadow,
13294
+ active ? ScrollableListItemActive : void 0
13295
+ ],
13296
+ ...props,
13297
+ children: /* @__PURE__ */ jsxs37("label", { "data-test-id": labelTestId, css: ScrollableListInputLabel, children: [
13298
+ /* @__PURE__ */ jsxs37("span", { css: ScrollableListInputText, children: [
13299
+ icon,
13300
+ label
13301
+ ] }),
13302
+ /* @__PURE__ */ jsx61("div", { css: ScrollableListHiddenInput, children }),
13303
+ /* @__PURE__ */ jsx61(
13304
+ Icon,
13305
+ {
13306
+ icon: CgCheck,
13307
+ iconColor: "currentColor",
13308
+ css: [ScrollableListIcon, active ? ScrollableListIconVisible : void 0],
13309
+ size: 24,
13310
+ "data-test-id": "check-mark",
13311
+ "data-test-active": active
13312
+ }
13313
+ )
13314
+ ] })
13315
+ }
13316
+ );
13034
13317
  };
13035
13318
 
13036
13319
  // src/components/List/ScrollableListItem.tsx
13037
- import { css as css48 } from "@emotion/react";
13038
- import { jsx as jsx60, jsxs as jsxs37 } from "@emotion/react/jsx-runtime";
13039
- var ScrollableListItem = ({ buttonText, active, ...props }) => {
13040
- return /* @__PURE__ */ jsx60("div", { css: [ScrollableListItemContainer, active ? ScrollableListItemActive : void 0], children: /* @__PURE__ */ jsxs37("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
13041
- /* @__PURE__ */ jsx60("span", { children: buttonText }),
13042
- /* @__PURE__ */ jsx60(
13043
- "svg",
13044
- {
13045
- width: "24",
13046
- height: "24",
13047
- viewBox: "0 0 40 40",
13048
- fill: "currentColor",
13049
- xmlns: "http://www.w3.org/2000/svg",
13050
- "aria-hidden": !active,
13051
- css: css48`
13052
- color: var(--brand-secondary-3);
13053
- transition: opacity var(--duration-fast) var(--timing-ease-out);
13054
- ${active ? css48`
13055
- animation: ${fadeInBottom} var(--duration-fast) var(--timing-ease-out) forwards;
13056
- ` : "opacity: 0;"}
13057
- `,
13058
- children: /* @__PURE__ */ jsx60(
13059
- "path",
13320
+ import { CgCheck as CgCheck2 } from "react-icons/cg";
13321
+ import { jsx as jsx62, jsxs as jsxs38 } from "@emotion/react/jsx-runtime";
13322
+ var ScrollableListItem = ({
13323
+ buttonText,
13324
+ active,
13325
+ disableShadow,
13326
+ ...props
13327
+ }) => {
13328
+ return /* @__PURE__ */ jsx62(
13329
+ "div",
13330
+ {
13331
+ css: [
13332
+ ScrollableListItemContainer,
13333
+ disableShadow ? void 0 : ScrollableListItemShadow,
13334
+ active ? ScrollableListItemActive : void 0
13335
+ ],
13336
+ children: /* @__PURE__ */ jsxs38("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
13337
+ /* @__PURE__ */ jsx62("span", { children: buttonText }),
13338
+ /* @__PURE__ */ jsx62(
13339
+ Icon,
13060
13340
  {
13061
- fillRule: "evenodd",
13062
- clipRule: "evenodd",
13063
- 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"
13341
+ icon: CgCheck2,
13342
+ iconColor: "currentColor",
13343
+ css: [ScrollableListIcon, active ? ScrollableListIconVisible : void 0],
13344
+ size: 24
13064
13345
  }
13065
13346
  )
13066
- }
13067
- )
13068
- ] }) });
13347
+ ] })
13348
+ }
13349
+ );
13069
13350
  };
13070
13351
 
13071
13352
  // src/components/LoadingIndicator/LoadingIndicator.styles.ts
13072
- import { css as css49, keyframes as keyframes3 } from "@emotion/react";
13353
+ import { css as css50, keyframes as keyframes3 } from "@emotion/react";
13073
13354
  var bounceFade = keyframes3`
13074
13355
  0%, 100% {
13075
13356
  opacity: 1.0;
@@ -13087,11 +13368,11 @@ var bounceFade = keyframes3`
13087
13368
  transform: translateY(-5px);
13088
13369
  }
13089
13370
  `;
13090
- var loader = css49`
13371
+ var loader = css50`
13091
13372
  display: inline-flex;
13092
13373
  justify-content: center;
13093
13374
  `;
13094
- var loadingDot = css49`
13375
+ var loadingDot = css50`
13095
13376
  background-color: var(--gray-700);
13096
13377
  display: block;
13097
13378
  border-radius: var(--rounded-full);
@@ -13115,12 +13396,12 @@ var loadingDot = css49`
13115
13396
  `;
13116
13397
 
13117
13398
  // src/components/LoadingIndicator/LoadingIndicator.tsx
13118
- import { jsx as jsx61, jsxs as jsxs38 } from "@emotion/react/jsx-runtime";
13399
+ import { jsx as jsx63, jsxs as jsxs39 } from "@emotion/react/jsx-runtime";
13119
13400
  var LoadingIndicator = ({ ...props }) => {
13120
- return /* @__PURE__ */ jsxs38("div", { role: "alert", css: loader, "data-test-id": "loading-indicator", ...props, children: [
13121
- /* @__PURE__ */ jsx61("span", { css: loadingDot }),
13122
- /* @__PURE__ */ jsx61("span", { css: loadingDot }),
13123
- /* @__PURE__ */ jsx61("span", { css: loadingDot })
13401
+ return /* @__PURE__ */ jsxs39("div", { role: "alert", css: loader, "data-test-id": "loading-indicator", ...props, children: [
13402
+ /* @__PURE__ */ jsx63("span", { css: loadingDot }),
13403
+ /* @__PURE__ */ jsx63("span", { css: loadingDot }),
13404
+ /* @__PURE__ */ jsx63("span", { css: loadingDot })
13124
13405
  ] });
13125
13406
  };
13126
13407
 
@@ -13128,8 +13409,8 @@ var LoadingIndicator = ({ ...props }) => {
13128
13409
  import { useCallback as useCallback2, useEffect as useEffect7, useRef as useRef4 } from "react";
13129
13410
 
13130
13411
  // src/components/LoadingOverlay/LoadingOverlay.styles.ts
13131
- import { css as css50 } from "@emotion/react";
13132
- var loadingOverlayContainer = css50`
13412
+ import { css as css51 } from "@emotion/react";
13413
+ var loadingOverlayContainer = css51`
13133
13414
  position: absolute;
13134
13415
  inset: 0;
13135
13416
  overflow: hidden;
@@ -13137,30 +13418,30 @@ var loadingOverlayContainer = css50`
13137
13418
  padding: var(--spacing-xl);
13138
13419
  overflow-y: auto;
13139
13420
  `;
13140
- var loadingOverlayVisible = css50`
13421
+ var loadingOverlayVisible = css51`
13141
13422
  display: flex;
13142
13423
  `;
13143
- var loadingOverlayHidden = css50`
13424
+ var loadingOverlayHidden = css51`
13144
13425
  display: none;
13145
13426
  `;
13146
- var loadingOverlayBackground = (bgColor) => css50`
13427
+ var loadingOverlayBackground = (bgColor) => css51`
13147
13428
  background: ${bgColor};
13148
13429
  opacity: 0.92;
13149
13430
  position: absolute;
13150
13431
  inset: 0 0;
13151
13432
  `;
13152
- var loadingOverlayBody = css50`
13433
+ var loadingOverlayBody = css51`
13153
13434
  align-items: center;
13154
13435
  display: flex;
13155
13436
  flex-direction: column;
13156
13437
  `;
13157
- var loadingOverlayMessage = css50`
13438
+ var loadingOverlayMessage = css51`
13158
13439
  color: var(--gray-600);
13159
13440
  margin: var(--spacing-base) 0 0;
13160
13441
  `;
13161
13442
 
13162
13443
  // src/components/LoadingOverlay/LoadingOverlay.tsx
13163
- import { jsx as jsx62, jsxs as jsxs39 } from "@emotion/react/jsx-runtime";
13444
+ import { jsx as jsx64, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
13164
13445
  var LoadingOverlay = ({
13165
13446
  isActive,
13166
13447
  statusMessage,
@@ -13186,7 +13467,7 @@ var LoadingOverlay = ({
13186
13467
  (_f = lottieRef.current) == null ? void 0 : _f.stop();
13187
13468
  }
13188
13469
  }, [isPaused]);
13189
- return /* @__PURE__ */ jsxs39(
13470
+ return /* @__PURE__ */ jsxs40(
13190
13471
  "div",
13191
13472
  {
13192
13473
  role: "alert",
@@ -13194,9 +13475,9 @@ var LoadingOverlay = ({
13194
13475
  "aria-hidden": !isActive,
13195
13476
  "aria-busy": isActive && !isPaused,
13196
13477
  children: [
13197
- /* @__PURE__ */ jsx62("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
13198
- /* @__PURE__ */ jsx62("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */ jsxs39("div", { css: loadingOverlayBody, children: [
13199
- /* @__PURE__ */ jsx62(
13478
+ /* @__PURE__ */ jsx64("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
13479
+ /* @__PURE__ */ jsx64("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */ jsxs40("div", { css: loadingOverlayBody, children: [
13480
+ /* @__PURE__ */ jsx64(
13200
13481
  AnimationFile,
13201
13482
  {
13202
13483
  lottieRef,
@@ -13211,15 +13492,15 @@ var LoadingOverlay = ({
13211
13492
  }
13212
13493
  }
13213
13494
  ),
13214
- statusMessage ? /* @__PURE__ */ jsx62("div", { css: loadingOverlayMessage, children: statusMessage }) : null,
13215
- /* @__PURE__ */ jsx62("div", { css: { width: "100%", marginTop: "var(--spacing-md)" }, children })
13495
+ statusMessage ? /* @__PURE__ */ jsx64("div", { css: loadingOverlayMessage, children: statusMessage }) : null,
13496
+ /* @__PURE__ */ jsx64("div", { css: { width: "100%", marginTop: "var(--spacing-md)" }, children })
13216
13497
  ] }) })
13217
13498
  ]
13218
13499
  }
13219
13500
  );
13220
13501
  };
13221
13502
  var LoadingIcon = ({ height, width, ...props }) => {
13222
- return /* @__PURE__ */ jsx62(
13503
+ return /* @__PURE__ */ jsx64(
13223
13504
  "svg",
13224
13505
  {
13225
13506
  "data-testid": "svg",
@@ -13230,9 +13511,9 @@ var LoadingIcon = ({ height, width, ...props }) => {
13230
13511
  stroke: "currentColor",
13231
13512
  ...props,
13232
13513
  "data-test-id": "loading-icon",
13233
- children: /* @__PURE__ */ jsx62("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxs39("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
13234
- /* @__PURE__ */ jsx62("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
13235
- /* @__PURE__ */ jsx62("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ jsx62(
13514
+ children: /* @__PURE__ */ jsx64("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxs40("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
13515
+ /* @__PURE__ */ jsx64("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
13516
+ /* @__PURE__ */ jsx64("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ jsx64(
13236
13517
  "animateTransform",
13237
13518
  {
13238
13519
  attributeName: "transform",
@@ -13249,12 +13530,12 @@ var LoadingIcon = ({ height, width, ...props }) => {
13249
13530
  };
13250
13531
 
13251
13532
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
13252
- import { css as css52 } from "@emotion/react";
13533
+ import { css as css53 } from "@emotion/react";
13253
13534
  import { CgAdd as CgAdd2, CgChevronRight as CgChevronRight2 } from "react-icons/cg";
13254
13535
 
13255
13536
  // src/components/Tiles/styles/IntegrationTile.styles.ts
13256
- import { css as css51 } from "@emotion/react";
13257
- var IntegrationTileContainer = css51`
13537
+ import { css as css52 } from "@emotion/react";
13538
+ var IntegrationTileContainer = css52`
13258
13539
  align-items: center;
13259
13540
  box-sizing: border-box;
13260
13541
  border-radius: var(--rounded-base);
@@ -13285,22 +13566,22 @@ var IntegrationTileContainer = css51`
13285
13566
  }
13286
13567
  }
13287
13568
  `;
13288
- var IntegrationTileBtnDashedBorder = css51`
13569
+ var IntegrationTileBtnDashedBorder = css52`
13289
13570
  border: 1px dashed var(--brand-secondary-1);
13290
13571
  `;
13291
- var IntegrationTileTitle = css51`
13572
+ var IntegrationTileTitle = css52`
13292
13573
  display: block;
13293
13574
  font-weight: var(--fw-bold);
13294
13575
  margin: 0 0 var(--spacing-base);
13295
13576
  max-width: 13rem;
13296
13577
  `;
13297
- var IntegrationTitleLogo = css51`
13578
+ var IntegrationTitleLogo = css52`
13298
13579
  display: block;
13299
13580
  max-width: 10rem;
13300
13581
  max-height: 4rem;
13301
13582
  margin: 0 auto;
13302
13583
  `;
13303
- var IntegrationTileName = css51`
13584
+ var IntegrationTileName = css52`
13304
13585
  color: var(--gray-500);
13305
13586
  display: -webkit-box;
13306
13587
  -webkit-line-clamp: 1;
@@ -13313,7 +13594,7 @@ var IntegrationTileName = css51`
13313
13594
  position: absolute;
13314
13595
  bottom: calc(var(--spacing-base) * 3.8);
13315
13596
  `;
13316
- var IntegrationAddedText = css51`
13597
+ var IntegrationAddedText = css52`
13317
13598
  align-items: center;
13318
13599
  background: var(--brand-secondary-3);
13319
13600
  border-radius: 0 var(--rounded-md) 0 var(--rounded-md);
@@ -13328,7 +13609,7 @@ var IntegrationAddedText = css51`
13328
13609
  top: 0;
13329
13610
  right: 0;
13330
13611
  `;
13331
- var IntegrationCustomBadgeText = (theme) => css51`
13612
+ var IntegrationCustomBadgeText = (theme) => css52`
13332
13613
  align-items: center;
13333
13614
  border-radius: var(--rounded-sm) 0 var(--rounded-sm) 0;
13334
13615
  background: ${theme === "gray" ? "var(--brand-secondary-2)" : "var(--brand-secondary-1)"};
@@ -13342,26 +13623,26 @@ var IntegrationCustomBadgeText = (theme) => css51`
13342
13623
  top: 0;
13343
13624
  left: 0;
13344
13625
  `;
13345
- var IntegrationAuthorBadgeIcon = css51`
13626
+ var IntegrationAuthorBadgeIcon = css52`
13346
13627
  position: absolute;
13347
13628
  bottom: var(--spacing-sm);
13348
13629
  right: var(--spacing-xs);
13349
13630
  max-height: 1rem;
13350
13631
  `;
13351
- var IntegrationTitleFakeButton = css51`
13632
+ var IntegrationTitleFakeButton = css52`
13352
13633
  font-size: var(--fs-xs);
13353
13634
  gap: var(--spacing-sm);
13354
13635
  padding: var(--spacing-sm) var(--spacing-base);
13355
13636
  text-transform: uppercase;
13356
13637
  `;
13357
- var IntegrationTileFloatingButton = css51`
13638
+ var IntegrationTileFloatingButton = css52`
13358
13639
  position: absolute;
13359
13640
  bottom: var(--spacing-base);
13360
13641
  gap: var(--spacing-sm);
13361
13642
  font-size: var(--fs-xs);
13362
13643
  overflow: hidden;
13363
13644
  `;
13364
- var IntegrationTileFloatingButtonMessage = (clicked) => css51`
13645
+ var IntegrationTileFloatingButtonMessage = (clicked) => css52`
13365
13646
  strong,
13366
13647
  span:first-of-type {
13367
13648
  transition: opacity var(--duration-fast) var(--timing-ease-out);
@@ -13382,7 +13663,7 @@ var IntegrationTileFloatingButtonMessage = (clicked) => css51`
13382
13663
  `;
13383
13664
 
13384
13665
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
13385
- import { jsx as jsx63, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
13666
+ import { jsx as jsx65, jsxs as jsxs41 } from "@emotion/react/jsx-runtime";
13386
13667
  var CreateTeamIntegrationTile = ({
13387
13668
  title = "Create a custom integration for your team",
13388
13669
  buttonText = "Add Integration",
@@ -13390,9 +13671,9 @@ var CreateTeamIntegrationTile = ({
13390
13671
  asDeepLink = false,
13391
13672
  ...props
13392
13673
  }) => {
13393
- return /* @__PURE__ */ jsxs40("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
13394
- /* @__PURE__ */ jsx63("span", { css: IntegrationTileTitle, title, children: title }),
13395
- /* @__PURE__ */ jsxs40(
13674
+ return /* @__PURE__ */ jsxs41("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
13675
+ /* @__PURE__ */ jsx65("span", { css: IntegrationTileTitle, title, children: title }),
13676
+ /* @__PURE__ */ jsxs41(
13396
13677
  Button,
13397
13678
  {
13398
13679
  buttonType: "tertiary",
@@ -13402,23 +13683,23 @@ var CreateTeamIntegrationTile = ({
13402
13683
  css: IntegrationTitleFakeButton,
13403
13684
  children: [
13404
13685
  buttonText,
13405
- asDeepLink ? /* @__PURE__ */ jsx63(
13686
+ asDeepLink ? /* @__PURE__ */ jsx65(
13406
13687
  Icon,
13407
13688
  {
13408
13689
  icon: CgChevronRight2,
13409
13690
  iconColor: "currentColor",
13410
13691
  size: 20,
13411
- css: css52`
13692
+ css: css53`
13412
13693
  order: 1;
13413
13694
  `
13414
13695
  }
13415
- ) : /* @__PURE__ */ jsx63(
13696
+ ) : /* @__PURE__ */ jsx65(
13416
13697
  Icon,
13417
13698
  {
13418
13699
  icon: CgAdd2,
13419
13700
  iconColor: "currentColor",
13420
13701
  size: 16,
13421
- css: css52`
13702
+ css: css53`
13422
13703
  order: -1;
13423
13704
  `
13424
13705
  }
@@ -13430,32 +13711,32 @@ var CreateTeamIntegrationTile = ({
13430
13711
  };
13431
13712
 
13432
13713
  // src/components/Tiles/IntegrationBadges.tsx
13433
- import { CgCheck as CgCheck2, CgLock, CgSandClock } from "react-icons/cg";
13434
- import { jsx as jsx64, jsxs as jsxs41 } from "@emotion/react/jsx-runtime";
13714
+ import { CgCheck as CgCheck3, CgLock, CgSandClock } from "react-icons/cg";
13715
+ import { jsx as jsx66, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
13435
13716
  var IntegrationedAddedBadge = ({ text = "Added" }) => {
13436
- return /* @__PURE__ */ jsxs41("span", { "data-testid": "integration-icon-installed", css: IntegrationAddedText, children: [
13437
- /* @__PURE__ */ jsx64(Icon, { icon: CgCheck2, iconColor: "currentColor" }),
13717
+ return /* @__PURE__ */ jsxs42("span", { "data-testid": "integration-icon-installed", css: IntegrationAddedText, children: [
13718
+ /* @__PURE__ */ jsx66(Icon, { icon: CgCheck3, iconColor: "currentColor" }),
13438
13719
  text
13439
13720
  ] });
13440
13721
  };
13441
13722
  var IntegrationCustomBadge = ({ text = "Custom" }) => {
13442
- return /* @__PURE__ */ jsx64("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
13723
+ return /* @__PURE__ */ jsx66("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
13443
13724
  };
13444
13725
  var IntegrationPremiumBadge = ({ text = "Premium" }) => {
13445
- return /* @__PURE__ */ jsxs41("span", { css: IntegrationCustomBadgeText("blue"), children: [
13446
- /* @__PURE__ */ jsx64(Icon, { icon: CgLock, iconColor: "currentColor", size: 12 }),
13726
+ return /* @__PURE__ */ jsxs42("span", { css: IntegrationCustomBadgeText("blue"), children: [
13727
+ /* @__PURE__ */ jsx66(Icon, { icon: CgLock, iconColor: "currentColor", size: 12 }),
13447
13728
  text
13448
13729
  ] });
13449
13730
  };
13450
13731
  var IntegrationComingSoonBadge = ({ text = "Coming soon" }) => {
13451
- return /* @__PURE__ */ jsxs41("span", { css: IntegrationCustomBadgeText("blue"), children: [
13452
- /* @__PURE__ */ jsx64(Icon, { icon: CgSandClock, iconColor: "currentColor", size: 12 }),
13732
+ return /* @__PURE__ */ jsxs42("span", { css: IntegrationCustomBadgeText("blue"), children: [
13733
+ /* @__PURE__ */ jsx66(Icon, { icon: CgSandClock, iconColor: "currentColor", size: 12 }),
13453
13734
  text
13454
13735
  ] });
13455
13736
  };
13456
13737
 
13457
13738
  // src/components/Tiles/ResolveIcon.tsx
13458
- import { jsx as jsx65 } from "@emotion/react/jsx-runtime";
13739
+ import { jsx as jsx67 } from "@emotion/react/jsx-runtime";
13459
13740
  var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
13460
13741
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
13461
13742
  const mapClassName = {
@@ -13463,13 +13744,13 @@ var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
13463
13744
  logo: IntegrationTitleLogo
13464
13745
  };
13465
13746
  if (icon) {
13466
- return CompIcon ? /* @__PURE__ */ jsx65(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ jsx65("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
13747
+ return CompIcon ? /* @__PURE__ */ jsx67(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ jsx67("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
13467
13748
  }
13468
13749
  return null;
13469
13750
  };
13470
13751
 
13471
13752
  // src/components/Tiles/EditTeamIntegrationTile.tsx
13472
- import { jsx as jsx66, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
13753
+ import { jsx as jsx68, jsxs as jsxs43 } from "@emotion/react/jsx-runtime";
13473
13754
  var EditTeamIntegrationTile = ({
13474
13755
  id,
13475
13756
  icon,
@@ -13478,17 +13759,17 @@ var EditTeamIntegrationTile = ({
13478
13759
  isPublic,
13479
13760
  canEdit = false
13480
13761
  }) => {
13481
- return /* @__PURE__ */ jsxs42(
13762
+ return /* @__PURE__ */ jsxs43(
13482
13763
  "div",
13483
13764
  {
13484
13765
  css: IntegrationTileContainer,
13485
13766
  "data-testid": "configure-integration-container",
13486
13767
  "integration-id": `${id.toLocaleLowerCase()}`,
13487
13768
  children: [
13488
- /* @__PURE__ */ jsx66(ResolveIcon, { icon, name, "data-test-id": "integration-logo" }),
13489
- /* @__PURE__ */ jsx66("span", { css: IntegrationTileName, "data-test-id": "integration-card-name", children: name }),
13490
- !isPublic ? /* @__PURE__ */ jsx66(IntegrationCustomBadge, {}) : null,
13491
- canEdit ? /* @__PURE__ */ jsx66(
13769
+ /* @__PURE__ */ jsx68(ResolveIcon, { icon, name, "data-test-id": "integration-logo" }),
13770
+ /* @__PURE__ */ jsx68("span", { css: IntegrationTileName, "data-test-id": "integration-card-name", children: name }),
13771
+ !isPublic ? /* @__PURE__ */ jsx68(IntegrationCustomBadge, {}) : null,
13772
+ canEdit ? /* @__PURE__ */ jsx68(
13492
13773
  Button,
13493
13774
  {
13494
13775
  buttonType: "unimportant",
@@ -13506,10 +13787,10 @@ var EditTeamIntegrationTile = ({
13506
13787
  };
13507
13788
 
13508
13789
  // src/components/Tiles/IntegrationComingSoon.tsx
13509
- import { css as css53 } from "@emotion/react";
13790
+ import { css as css54 } from "@emotion/react";
13510
13791
  import { useEffect as useEffect8, useState as useState6 } from "react";
13511
13792
  import { CgHeart } from "react-icons/cg";
13512
- import { jsx as jsx67, jsxs as jsxs43 } from "@emotion/react/jsx-runtime";
13793
+ import { jsx as jsx69, jsxs as jsxs44 } from "@emotion/react/jsx-runtime";
13513
13794
  var IntegrationComingSoon = ({
13514
13795
  name,
13515
13796
  icon,
@@ -13531,17 +13812,17 @@ var IntegrationComingSoon = ({
13531
13812
  };
13532
13813
  }
13533
13814
  }, [upVote, setUpVote, timing]);
13534
- return /* @__PURE__ */ jsxs43(
13815
+ return /* @__PURE__ */ jsxs44(
13535
13816
  "div",
13536
13817
  {
13537
13818
  css: IntegrationTileContainer,
13538
13819
  "data-testid": `coming-soon-${id.toLowerCase()}-integration`,
13539
13820
  ...props,
13540
13821
  children: [
13541
- /* @__PURE__ */ jsx67(IntegrationComingSoonBadge, {}),
13542
- /* @__PURE__ */ jsx67(ResolveIcon, { icon, name }),
13543
- /* @__PURE__ */ jsx67("span", { css: IntegrationTileName, title: name, children: name }),
13544
- /* @__PURE__ */ jsxs43(
13822
+ /* @__PURE__ */ jsx69(IntegrationComingSoonBadge, {}),
13823
+ /* @__PURE__ */ jsx69(ResolveIcon, { icon, name }),
13824
+ /* @__PURE__ */ jsx69("span", { css: IntegrationTileName, title: name, children: name }),
13825
+ /* @__PURE__ */ jsxs44(
13545
13826
  Button,
13546
13827
  {
13547
13828
  buttonType: "unimportant",
@@ -13551,19 +13832,19 @@ var IntegrationComingSoon = ({
13551
13832
  role: "link",
13552
13833
  css: [IntegrationTileFloatingButton, IntegrationTileFloatingButtonMessage(upVote)],
13553
13834
  children: [
13554
- /* @__PURE__ */ jsx67("strong", { children: "+1" }),
13555
- /* @__PURE__ */ jsx67(
13835
+ /* @__PURE__ */ jsx69("strong", { children: "+1" }),
13836
+ /* @__PURE__ */ jsx69(
13556
13837
  "span",
13557
13838
  {
13558
- css: css53`
13839
+ css: css54`
13559
13840
  text-transform: uppercase;
13560
13841
  color: var(--gray-500);
13561
13842
  `,
13562
13843
  children: "(I want this)"
13563
13844
  }
13564
13845
  ),
13565
- /* @__PURE__ */ jsxs43("span", { "aria-hidden": !upVote, children: [
13566
- /* @__PURE__ */ jsx67(Icon, { icon: CgHeart, iconColor: "currentColor", size: 18 }),
13846
+ /* @__PURE__ */ jsxs44("span", { "aria-hidden": !upVote, children: [
13847
+ /* @__PURE__ */ jsx69(Icon, { icon: CgHeart, iconColor: "currentColor", size: 18 }),
13567
13848
  "Thanks!"
13568
13849
  ] })
13569
13850
  ]
@@ -13575,8 +13856,8 @@ var IntegrationComingSoon = ({
13575
13856
  };
13576
13857
 
13577
13858
  // src/components/Tiles/styles/IntegrationLoadingTile.styles.ts
13578
- import { css as css54 } from "@emotion/react";
13579
- var IntegrationLoadingTileContainer = css54`
13859
+ import { css as css55 } from "@emotion/react";
13860
+ var IntegrationLoadingTileContainer = css55`
13580
13861
  align-items: center;
13581
13862
  box-sizing: border-box;
13582
13863
  border-radius: var(--rounded-base);
@@ -13603,39 +13884,39 @@ var IntegrationLoadingTileContainer = css54`
13603
13884
  }
13604
13885
  }
13605
13886
  `;
13606
- var IntegrationLoadingTileImg = css54`
13887
+ var IntegrationLoadingTileImg = css55`
13607
13888
  width: 10rem;
13608
13889
  height: 4rem;
13609
13890
  margin: 0 auto;
13610
13891
  `;
13611
- var IntegrationLoadingTileText = css54`
13892
+ var IntegrationLoadingTileText = css55`
13612
13893
  width: 5rem;
13613
13894
  height: var(--spacing-sm);
13614
13895
  margin: var(--spacing-sm) 0;
13615
13896
  `;
13616
- var IntegrationLoadingFrame = css54`
13897
+ var IntegrationLoadingFrame = css55`
13617
13898
  animation: ${skeletonLoading} 1s linear infinite alternate;
13618
13899
  border-radius: var(--rounded-base);
13619
13900
  `;
13620
13901
 
13621
13902
  // src/components/Tiles/IntegrationLoadingTile.tsx
13622
- import { Fragment as Fragment7, jsx as jsx68, jsxs as jsxs44 } from "@emotion/react/jsx-runtime";
13903
+ import { Fragment as Fragment8, jsx as jsx70, jsxs as jsxs45 } from "@emotion/react/jsx-runtime";
13623
13904
  var IntegrationLoadingTile = ({ count = 1 }) => {
13624
13905
  const componentCount = Array.from(Array(count).keys());
13625
- return /* @__PURE__ */ jsx68(Fragment7, { children: componentCount.map((i) => /* @__PURE__ */ jsxs44("div", { css: IntegrationLoadingTileContainer, children: [
13626
- /* @__PURE__ */ jsx68("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
13627
- /* @__PURE__ */ jsx68("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
13906
+ return /* @__PURE__ */ jsx70(Fragment8, { children: componentCount.map((i) => /* @__PURE__ */ jsxs45("div", { css: IntegrationLoadingTileContainer, children: [
13907
+ /* @__PURE__ */ jsx70("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
13908
+ /* @__PURE__ */ jsx70("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
13628
13909
  ] }, i)) });
13629
13910
  };
13630
13911
 
13631
13912
  // src/components/Tiles/styles/IntegrationModalIcon.styles.ts
13632
- import { css as css55 } from "@emotion/react";
13633
- var IntegrationModalIconContainer = css55`
13913
+ import { css as css56 } from "@emotion/react";
13914
+ var IntegrationModalIconContainer = css56`
13634
13915
  position: relative;
13635
13916
  width: 50px;
13636
13917
  margin-bottom: var(--spacing-base);
13637
13918
  `;
13638
- var IntegrationModalImage = css55`
13919
+ var IntegrationModalImage = css56`
13639
13920
  position: absolute;
13640
13921
  inset: 0;
13641
13922
  margin: auto;
@@ -13644,7 +13925,7 @@ var IntegrationModalImage = css55`
13644
13925
  `;
13645
13926
 
13646
13927
  // src/components/Tiles/IntegrationModalIcon.tsx
13647
- import { jsx as jsx69, jsxs as jsxs45 } from "@emotion/react/jsx-runtime";
13928
+ import { jsx as jsx71, jsxs as jsxs46 } from "@emotion/react/jsx-runtime";
13648
13929
  var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
13649
13930
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
13650
13931
  let iconSrc = void 0;
@@ -13657,9 +13938,9 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
13657
13938
  } catch (e) {
13658
13939
  }
13659
13940
  }
13660
- return /* @__PURE__ */ jsxs45("div", { css: IntegrationModalIconContainer, children: [
13661
- /* @__PURE__ */ jsxs45("svg", { width: "49", height: "57", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
13662
- /* @__PURE__ */ jsx69(
13941
+ return /* @__PURE__ */ jsxs46("div", { css: IntegrationModalIconContainer, children: [
13942
+ /* @__PURE__ */ jsxs46("svg", { width: "49", height: "57", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
13943
+ /* @__PURE__ */ jsx71(
13663
13944
  "path",
13664
13945
  {
13665
13946
  d: "m24.367 1.813 22.786 13.322V41.78L24.367 55.102 1.581 41.78V15.135L24.367 1.814Z",
@@ -13668,12 +13949,12 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
13668
13949
  strokeWidth: "2"
13669
13950
  }
13670
13951
  ),
13671
- /* @__PURE__ */ jsx69("defs", { children: /* @__PURE__ */ jsxs45("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
13672
- /* @__PURE__ */ jsx69("stop", { stopColor: "#1768B2" }),
13673
- /* @__PURE__ */ jsx69("stop", { offset: "1", stopColor: "#B3EFE4" })
13952
+ /* @__PURE__ */ jsx71("defs", { children: /* @__PURE__ */ jsxs46("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
13953
+ /* @__PURE__ */ jsx71("stop", { stopColor: "#1768B2" }),
13954
+ /* @__PURE__ */ jsx71("stop", { offset: "1", stopColor: "#B3EFE4" })
13674
13955
  ] }) })
13675
13956
  ] }),
13676
- CompIcon ? /* @__PURE__ */ jsx69(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : /* @__PURE__ */ jsx69(
13957
+ CompIcon ? /* @__PURE__ */ jsx71(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : /* @__PURE__ */ jsx71(
13677
13958
  "img",
13678
13959
  {
13679
13960
  src: iconSrc,
@@ -13687,7 +13968,7 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
13687
13968
  };
13688
13969
 
13689
13970
  // src/components/Tiles/IntegrationTile.tsx
13690
- import { jsx as jsx70, jsxs as jsxs46 } from "@emotion/react/jsx-runtime";
13971
+ import { jsx as jsx72, jsxs as jsxs47 } from "@emotion/react/jsx-runtime";
13691
13972
  var IntegrationTile = ({
13692
13973
  id,
13693
13974
  icon,
@@ -13699,7 +13980,7 @@ var IntegrationTile = ({
13699
13980
  authorIcon,
13700
13981
  ...btnProps
13701
13982
  }) => {
13702
- return /* @__PURE__ */ jsxs46(
13983
+ return /* @__PURE__ */ jsxs47(
13703
13984
  "button",
13704
13985
  {
13705
13986
  type: "button",
@@ -13709,70 +13990,70 @@ var IntegrationTile = ({
13709
13990
  "aria-label": name,
13710
13991
  ...btnProps,
13711
13992
  children: [
13712
- /* @__PURE__ */ jsx70(ResolveIcon, { icon, name }),
13713
- /* @__PURE__ */ jsx70("span", { css: IntegrationTileName, title: name, children: name }),
13714
- isInstalled ? /* @__PURE__ */ jsx70(IntegrationedAddedBadge, {}) : null,
13715
- requiedEntitlement && isPublic ? /* @__PURE__ */ jsx70(IntegrationPremiumBadge, {}) : null,
13716
- !isPublic ? /* @__PURE__ */ jsx70(IntegrationCustomBadge, {}) : null,
13717
- authorIcon ? /* @__PURE__ */ jsx70(ResolveIcon, { icon: authorIcon, name }) : null
13993
+ /* @__PURE__ */ jsx72(ResolveIcon, { icon, name }),
13994
+ /* @__PURE__ */ jsx72("span", { css: IntegrationTileName, title: name, children: name }),
13995
+ isInstalled ? /* @__PURE__ */ jsx72(IntegrationedAddedBadge, {}) : null,
13996
+ requiedEntitlement && isPublic ? /* @__PURE__ */ jsx72(IntegrationPremiumBadge, {}) : null,
13997
+ !isPublic ? /* @__PURE__ */ jsx72(IntegrationCustomBadge, {}) : null,
13998
+ authorIcon ? /* @__PURE__ */ jsx72(ResolveIcon, { icon: authorIcon, name }) : null
13718
13999
  ]
13719
14000
  }
13720
14001
  );
13721
14002
  };
13722
14003
 
13723
14004
  // src/components/Tiles/styles/TileContainer.styles.ts
13724
- import { css as css56 } from "@emotion/react";
13725
- var TileContainerWrapper = css56`
14005
+ import { css as css57 } from "@emotion/react";
14006
+ var TileContainerWrapper = css57`
13726
14007
  background: var(--brand-secondary-2);
13727
14008
  padding: var(--spacing-base);
13728
14009
  margin-bottom: var(--spacing-lg);
13729
14010
  `;
13730
- var TileContainerInner = css56`
14011
+ var TileContainerInner = css57`
13731
14012
  display: grid;
13732
14013
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
13733
14014
  gap: var(--spacing-base);
13734
14015
  `;
13735
14016
 
13736
14017
  // src/components/Tiles/TileContainer.tsx
13737
- import { jsx as jsx71 } from "@emotion/react/jsx-runtime";
14018
+ import { jsx as jsx73 } from "@emotion/react/jsx-runtime";
13738
14019
  var TileContainer = ({ children, ...props }) => {
13739
- return /* @__PURE__ */ jsx71("div", { css: TileContainerWrapper, ...props, children: /* @__PURE__ */ jsx71("div", { css: TileContainerInner, children }) });
14020
+ return /* @__PURE__ */ jsx73("div", { css: TileContainerWrapper, ...props, children: /* @__PURE__ */ jsx73("div", { css: TileContainerInner, children }) });
13740
14021
  };
13741
14022
 
13742
14023
  // src/components/Modal/IntegrationModalHeader.styles.ts
13743
- import { css as css57 } from "@emotion/react";
13744
- var IntegrationModalHeaderSVGBackground = css57`
14024
+ import { css as css58 } from "@emotion/react";
14025
+ var IntegrationModalHeaderSVGBackground = css58`
13745
14026
  position: absolute;
13746
14027
  top: 0;
13747
14028
  left: 0;
13748
14029
  `;
13749
- var IntegrationModalHeaderGroup = css57`
14030
+ var IntegrationModalHeaderGroup = css58`
13750
14031
  align-items: center;
13751
14032
  display: flex;
13752
14033
  gap: var(--spacing-sm);
13753
14034
  margin: 0 0 var(--spacing-md);
13754
14035
  position: relative;
13755
14036
  `;
13756
- var IntegrationModalHeaderTitleGroup = css57`
14037
+ var IntegrationModalHeaderTitleGroup = css58`
13757
14038
  align-items: center;
13758
14039
  display: flex;
13759
14040
  gap: var(--spacing-base);
13760
14041
  `;
13761
- var IntegrationModalHeaderTitle = css57`
14042
+ var IntegrationModalHeaderTitle = css58`
13762
14043
  margin-top: 0;
13763
14044
  `;
13764
- var IntegrationModalHeaderMenuPlacement = css57`
14045
+ var IntegrationModalHeaderMenuPlacement = css58`
13765
14046
  margin-bottom: var(--spacing-base);
13766
14047
  `;
13767
- var IntegrationModalHeaderContentWrapper = css57`
14048
+ var IntegrationModalHeaderContentWrapper = css58`
13768
14049
  position: relative;
13769
14050
  z-index: var(--z-10);
13770
14051
  `;
13771
14052
 
13772
14053
  // src/components/Modal/IntegrationModalHeader.tsx
13773
- import { Fragment as Fragment8, jsx as jsx72, jsxs as jsxs47 } from "@emotion/react/jsx-runtime";
14054
+ import { Fragment as Fragment9, jsx as jsx74, jsxs as jsxs48 } from "@emotion/react/jsx-runtime";
13774
14055
  var HexModalBackground = ({ ...props }) => {
13775
- return /* @__PURE__ */ jsxs47(
14056
+ return /* @__PURE__ */ jsxs48(
13776
14057
  "svg",
13777
14058
  {
13778
14059
  width: "236",
@@ -13782,7 +14063,7 @@ var HexModalBackground = ({ ...props }) => {
13782
14063
  xmlns: "http://www.w3.org/2000/svg",
13783
14064
  ...props,
13784
14065
  children: [
13785
- /* @__PURE__ */ jsx72(
14066
+ /* @__PURE__ */ jsx74(
13786
14067
  "path",
13787
14068
  {
13788
14069
  fillRule: "evenodd",
@@ -13791,7 +14072,7 @@ var HexModalBackground = ({ ...props }) => {
13791
14072
  fill: "url(#paint0_linear_196_2737)"
13792
14073
  }
13793
14074
  ),
13794
- /* @__PURE__ */ jsx72("defs", { children: /* @__PURE__ */ jsxs47(
14075
+ /* @__PURE__ */ jsx74("defs", { children: /* @__PURE__ */ jsxs48(
13795
14076
  "linearGradient",
13796
14077
  {
13797
14078
  id: "paint0_linear_196_2737",
@@ -13801,8 +14082,8 @@ var HexModalBackground = ({ ...props }) => {
13801
14082
  y2: "-95.2742",
13802
14083
  gradientUnits: "userSpaceOnUse",
13803
14084
  children: [
13804
- /* @__PURE__ */ jsx72("stop", { stopColor: "#81DCDE" }),
13805
- /* @__PURE__ */ jsx72("stop", { offset: "1", stopColor: "#428ED4" })
14085
+ /* @__PURE__ */ jsx74("stop", { stopColor: "#81DCDE" }),
14086
+ /* @__PURE__ */ jsx74("stop", { offset: "1", stopColor: "#428ED4" })
13806
14087
  ]
13807
14088
  }
13808
14089
  ) })
@@ -13811,223 +14092,20 @@ var HexModalBackground = ({ ...props }) => {
13811
14092
  );
13812
14093
  };
13813
14094
  var IntegrationModalHeader = ({ icon, name, menu: menu2, children }) => {
13814
- return /* @__PURE__ */ jsxs47(Fragment8, { children: [
13815
- /* @__PURE__ */ jsx72(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
13816
- /* @__PURE__ */ jsx72("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ jsxs47("div", { css: IntegrationModalHeaderTitleGroup, children: [
13817
- icon ? /* @__PURE__ */ jsx72(IntegrationModalIcon, { icon, name: name || "" }) : null,
13818
- /* @__PURE__ */ jsx72(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-test-id": "integration-modal-title", children: name || "Create Team Integration" }),
13819
- menu2 ? /* @__PURE__ */ jsxs47("div", { css: IntegrationModalHeaderMenuPlacement, children: [
14095
+ return /* @__PURE__ */ jsxs48(Fragment9, { children: [
14096
+ /* @__PURE__ */ jsx74(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
14097
+ /* @__PURE__ */ jsx74("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ jsxs48("div", { css: IntegrationModalHeaderTitleGroup, children: [
14098
+ icon ? /* @__PURE__ */ jsx74(IntegrationModalIcon, { icon, name: name || "" }) : null,
14099
+ /* @__PURE__ */ jsx74(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-test-id": "integration-modal-title", children: name || "Create Team Integration" }),
14100
+ menu2 ? /* @__PURE__ */ jsxs48("div", { css: IntegrationModalHeaderMenuPlacement, children: [
13820
14101
  menu2,
13821
14102
  " "
13822
14103
  ] }) : null
13823
14104
  ] }) }),
13824
- /* @__PURE__ */ jsx72("div", { css: IntegrationModalHeaderContentWrapper, children })
14105
+ /* @__PURE__ */ jsx74("div", { css: IntegrationModalHeaderContentWrapper, children })
13825
14106
  ] });
13826
14107
  };
13827
14108
 
13828
- // src/components/ObjectList/ObjectCompositionListItem.tsx
13829
- import { forwardRef as forwardRef8 } from "react";
13830
-
13831
- // src/components/Validation/StatusBullet.styles.ts
13832
- import { css as css58 } from "@emotion/react";
13833
- var StatusBulletContainer = css58`
13834
- align-items: center;
13835
- align-self: center;
13836
- color: var(--gray-500);
13837
- display: inline-flex;
13838
- font-weight: var(--fw-regular);
13839
- gap: var(--spacing-xs);
13840
- line-height: 1;
13841
- position: relative;
13842
- text-transform: lowercase;
13843
-
13844
- &:before {
13845
- border-radius: var(--rounded-full);
13846
- content: '';
13847
- display: block;
13848
- }
13849
- `;
13850
- var StatusBulletBase = css58`
13851
- font-size: var(--fs-sm);
13852
- &:before {
13853
- width: var(--fs-xs);
13854
- height: var(--fs-xs);
13855
- }
13856
- `;
13857
- var StatusBulletSmall = css58`
13858
- font-size: var(--fs-xs);
13859
- &:before {
13860
- width: var(--fs-xxs);
13861
- height: var(--fs-xxs);
13862
- }
13863
- `;
13864
- var StatusDraft = css58`
13865
- &:before {
13866
- background: var(--white);
13867
- box-shadow: inset 0 0 0 0.125rem var(--brand-primary-1);
13868
- }
13869
- `;
13870
- var StatusModified = css58`
13871
- &:before {
13872
- background: linear-gradient(to right, var(--white) 50%, var(--brand-primary-1) 50% 100%);
13873
- box-shadow: inset 0 0 0 0.125rem var(--brand-primary-1);
13874
- }
13875
- `;
13876
- var StatusError = css58`
13877
- color: var(--error);
13878
- &:before {
13879
- background: linear-gradient(120deg, var(--error) 40%, var(--white) 50%, var(--error) 60%);
13880
- }
13881
- `;
13882
- var StatusPublished = css58`
13883
- &:before {
13884
- background: var(--brand-secondary-3);
13885
- }
13886
- `;
13887
- var StatusOrphan = css58`
13888
- &:before {
13889
- background: var(--brand-secondary-5);
13890
- }
13891
- `;
13892
-
13893
- // src/components/Validation/StatusBullet.tsx
13894
- import { jsx as jsx73 } from "@emotion/react/jsx-runtime";
13895
- var StatusBullet = ({
13896
- status,
13897
- hideText = false,
13898
- size = "base",
13899
- message,
13900
- ...props
13901
- }) => {
13902
- const currentStateStyles = {
13903
- Error: StatusError,
13904
- Modified: StatusModified,
13905
- Unsaved: StatusDraft,
13906
- Orphan: StatusOrphan,
13907
- Published: StatusPublished,
13908
- Draft: StatusDraft
13909
- };
13910
- const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
13911
- return /* @__PURE__ */ jsx73(
13912
- "span",
13913
- {
13914
- role: "status",
13915
- css: [StatusBulletContainer, currentStateStyles[status], statusSize],
13916
- title: message != null ? message : status,
13917
- ...props,
13918
- children: hideText ? null : message ? message : status
13919
- }
13920
- );
13921
- };
13922
-
13923
- // src/components/ObjectList/styles/ObjectListItem.styles.ts
13924
- import { css as css59 } from "@emotion/react";
13925
- var ObjectListItemContainer = css59`
13926
- border-top: 1px solid var(--gray-300);
13927
- border-bottom: 1px solid var(--gray-300);
13928
- display: block;
13929
- padding: var(--spacing-base) var(--spacing-sm);
13930
- font-size: var(--fs-sm);
13931
- margin-bottom: -1px;
13932
- transition: background-color var(--duration-fast) var(--timing-ease-out);
13933
- text-decoration: none;
13934
-
13935
- &:hover {
13936
- background: var(--gray-50);
13937
-
13938
- & [role='heading'] {
13939
- text-decoration: underline;
13940
- }
13941
- }
13942
- `;
13943
- var ObjectListItemLoading = css59`
13944
- animation: ${skeletonLoading} 1s linear infinite alternate;
13945
- border-color: var(--white);
13946
- display: flex;
13947
- flex-direction: column;
13948
- padding: var(--spacing-base) var(--spacing-sm);
13949
- gap: var(--spacing-sm);
13950
- `;
13951
- var ObjectListItemLoadingText = (textLength) => css59`
13952
- animation: ${fadeIn} 1s linear infinite alternate;
13953
- border-radius: var(--rounded-base);
13954
- background: var(--gray-300);
13955
- display: block;
13956
- width: ${textLength};
13957
- height: var(--fs-base);
13958
- `;
13959
- var ObjectListItemInlineGroup = css59`
13960
- align-items: center;
13961
- color: var(--gray-500);
13962
- display: flex;
13963
- gap: var(--spacing-base);
13964
- `;
13965
- var ObjectListItemIconTextGroup = css59`
13966
- align-items: center;
13967
- display: flex;
13968
- gap: var(--spacing-xs);
13969
- `;
13970
- var ObjectListItemInlineHeadingGroup = css59`
13971
- justify-content: space-between;
13972
- `;
13973
- var ObjectListItemTitle = css59`
13974
- color: var(--brand-secondary-1);
13975
- font-size: var(--fs-base);
13976
- line-height: 1;
13977
- `;
13978
- var ObjectListItemSmallText = css59`
13979
- font-size: var(--fs-sm);
13980
- min-width: max-content;
13981
- `;
13982
- var ObjectListKeyText = css59`
13983
- color: var(--gray-400);
13984
- font-size: var(--fs-sm);
13985
- text-transform: capitalize;
13986
- `;
13987
- var ObjectListValueText = css59`
13988
- color: var(--gray-500);
13989
- font-size: var(--fs-sm);
13990
- text-transform: none;
13991
- `;
13992
-
13993
- // src/components/ObjectList/ObjectCompositionListItem.tsx
13994
- import { jsx as jsx74, jsxs as jsxs48 } from "@emotion/react/jsx-runtime";
13995
- var ObjectCompositionListItem = forwardRef8(
13996
- ({
13997
- title,
13998
- date,
13999
- componentName,
14000
- icon,
14001
- publishStatus,
14002
- href,
14003
- as,
14004
- linkManagerComponent: LinkManager,
14005
- ...props
14006
- }, ref) => {
14007
- return /* @__PURE__ */ jsx74(LinkManager, { ...props, as, href, ref, passHref: true, legacyBehavior: true, role: "listitem", children: /* @__PURE__ */ jsxs48("a", { css: ObjectListItemContainer, children: [
14008
- /* @__PURE__ */ jsxs48("div", { css: [ObjectListItemInlineGroup, ObjectListItemInlineHeadingGroup], children: [
14009
- /* @__PURE__ */ jsx74("span", { role: "heading", css: ObjectListItemTitle, children: title }),
14010
- /* @__PURE__ */ jsx74("time", { role: "time", dateTime: `${date}`, css: ObjectListItemSmallText, children: formatDate(date) })
14011
- ] }),
14012
- /* @__PURE__ */ jsxs48("div", { css: ObjectListItemInlineGroup, children: [
14013
- !icon && !componentName ? null : /* @__PURE__ */ jsxs48("div", { css: [ObjectListItemIconTextGroup, ObjectListItemSmallText], children: [
14014
- !icon ? null : /* @__PURE__ */ jsx74(Icon, { icon, size: "1rem" }),
14015
- !componentName ? null : /* @__PURE__ */ jsx74("span", { children: componentName })
14016
- ] }),
14017
- !publishStatus ? null : /* @__PURE__ */ jsx74(StatusBullet, { status: publishStatus })
14018
- ] })
14019
- ] }) });
14020
- }
14021
- );
14022
-
14023
- // src/components/ObjectList/ObjectListContainer.tsx
14024
- import * as React18 from "react";
14025
-
14026
- // src/components/SegmentedControl/SegmentedControl.tsx
14027
- import { css as css62 } from "@emotion/react";
14028
- import { useCallback as useCallback3, useMemo as useMemo2 } from "react";
14029
- import { CgCheck as CgCheck3 } from "react-icons/cg";
14030
-
14031
14109
  // src/components/Tooltip/Tooltip.tsx
14032
14110
  import React16 from "react";
14033
14111
  import {
@@ -14038,8 +14116,8 @@ import {
14038
14116
  } from "reakit/Tooltip";
14039
14117
 
14040
14118
  // src/components/Tooltip/Tooltip.styles.ts
14041
- import { css as css60 } from "@emotion/react";
14042
- var TooltipContainer = css60`
14119
+ import { css as css59 } from "@emotion/react";
14120
+ var TooltipContainer = css59`
14043
14121
  border: 2px solid var(--gray-300);
14044
14122
  border-radius: var(--rounded-base);
14045
14123
  padding: var(--spacing-xs) var(--spacing-sm);
@@ -14047,17 +14125,17 @@ var TooltipContainer = css60`
14047
14125
  font-size: var(--fs-xs);
14048
14126
  background: var(--white);
14049
14127
  `;
14050
- var TooltipArrowStyles = css60`
14128
+ var TooltipArrowStyles = css59`
14051
14129
  svg {
14052
14130
  fill: var(--gray-300);
14053
14131
  }
14054
14132
  `;
14055
14133
 
14056
14134
  // src/components/Tooltip/Tooltip.tsx
14057
- import { Fragment as Fragment9, jsx as jsx75, jsxs as jsxs49 } from "@emotion/react/jsx-runtime";
14135
+ import { Fragment as Fragment10, jsx as jsx75, jsxs as jsxs49 } from "@emotion/react/jsx-runtime";
14058
14136
  function Tooltip({ children, title, placement = "bottom", visible, ...props }) {
14059
14137
  const tooltip = useTooltipState({ placement });
14060
- return !title ? children : /* @__PURE__ */ jsxs49(Fragment9, { children: [
14138
+ return !title ? children : /* @__PURE__ */ jsxs49(Fragment10, { children: [
14061
14139
  /* @__PURE__ */ jsx75(TooltipReference, { ...tooltip, ...children.props, children: (referenceProps) => React16.cloneElement(children, referenceProps) }),
14062
14140
  /* @__PURE__ */ jsxs49(ReakitTooltip, { ...tooltip, ...props, css: TooltipContainer, visible: visible != null ? visible : tooltip.visible, children: [
14063
14141
  /* @__PURE__ */ jsx75(TooltipArrow, { ...tooltip, css: TooltipArrowStyles }),
@@ -14066,314 +14144,22 @@ function Tooltip({ children, title, placement = "bottom", visible, ...props }) {
14066
14144
  ] });
14067
14145
  }
14068
14146
 
14069
- // src/components/SegmentedControl/SegmentedControl.styles.ts
14070
- import { css as css61 } from "@emotion/react";
14071
- var segmentedControlStyles = css61`
14072
- --segmented-control-rounded-value: var(--rounded-base);
14073
- --segmented-control-border-width: 1px;
14074
- --segmented-control-selected-color: var(--brand-secondary-3);
14075
- --segmented-control-first-border-radius: var(--segmented-control-rounded-value) 0 0
14076
- var(--segmented-control-rounded-value);
14077
- --segmented-control-last-border-radius: 0 var(--segmented-control-rounded-value)
14078
- var(--segmented-control-rounded-value) 0;
14079
-
14080
- position: relative;
14147
+ // src/components/ParameterInputs/styles/ParameterBindingButton.styles.ts
14148
+ import { css as css60 } from "@emotion/react";
14149
+ var inputIconBtn = css60`
14150
+ align-items: center;
14151
+ border: none;
14152
+ border-radius: var(--rounded-base);
14153
+ background: none;
14081
14154
  display: flex;
14082
- justify-content: flex-start;
14083
- width: fit-content;
14084
- background-color: var(--gray-300);
14085
- padding: var(--segmented-control-border-width);
14086
- gap: var(--segmented-control-border-width);
14087
- border-radius: calc(var(--segmented-control-rounded-value) + var(--segmented-control-border-width));
14088
- font-size: var(--fs-xs);
14089
- `;
14090
- var segmentedControlVerticalStyles = css61`
14091
- flex-direction: column;
14092
- --segmented-control-first-border-radius: var(--segmented-control-rounded-value)
14093
- var(--segmented-control-rounded-value) 0 0;
14094
- --segmented-control-last-border-radius: 0 0 var(--segmented-control-rounded-value)
14095
- var(--segmented-control-rounded-value);
14096
- `;
14097
- var segmentedControlItemStyles = css61`
14098
- &:first-of-type label {
14099
- border-radius: var(--segmented-control-first-border-radius);
14100
- }
14101
- &:last-of-type label {
14102
- border-radius: var(--segmented-control-last-border-radius);
14103
- }
14104
- `;
14105
- var segmentedControlInputStyles = css61`
14106
- clip: rect(0, 0, 0, 0);
14107
- position: absolute;
14108
- width: 1px;
14109
- height: 1px;
14110
- overflow: hidden;
14111
- `;
14112
- var segmentedControlLabelStyles = css61`
14113
- position: relative;
14114
- display: flex;
14115
- align-items: center;
14116
- justify-content: center;
14117
- height: 2rem;
14118
- padding-inline: var(--spacing-base);
14119
- background-color: white;
14120
- transition-property: background-color, color, box-shadow;
14121
- transition-duration: var(--duration-xfast);
14122
- transition-timing-function: ease-in-out;
14123
- z-index: 1;
14124
- cursor: pointer;
14125
-
14126
- &:has(:checked:not(:disabled)) {
14127
- background-color: var(--segmented-control-selected-color);
14128
- outline: var(--segmented-control-border-width) solid var(--segmented-control-selected-color);
14129
- box-shadow: 0 0.43em 1.7em 0 rgba(0, 0, 0, 0.15);
14130
- color: white;
14131
- -webkit-text-stroke-width: thin;
14132
- z-index: 0;
14133
- }
14134
-
14135
- &:hover:not(:has(:disabled, :checked)) {
14136
- background-color: var(--gray-100);
14137
- }
14138
-
14139
- &:has(:disabled) {
14140
- color: var(--gray-400);
14141
- cursor: default;
14142
- }
14143
-
14144
- &:has(:checked:disabled) {
14145
- color: var(--gray-50);
14146
- background-color: var(--gray-400);
14147
- }
14148
- `;
14149
- var segmentedControlLabelIconOnlyStyles = css61`
14150
- padding-inline: 0.5em;
14151
- `;
14152
- var segmentedControlLabelCheckStyles = css61`
14153
- opacity: 0.5;
14154
- `;
14155
- var segmentedControlLabelContentStyles = css61`
14156
- display: flex;
14157
- align-items: center;
14158
- justify-content: center;
14159
- gap: var(--spacing-sm);
14160
- height: 100%;
14161
- `;
14162
- var segmentedControlLabelTextStyles = css61``;
14163
-
14164
- // src/components/SegmentedControl/SegmentedControl.tsx
14165
- import { jsx as jsx76, jsxs as jsxs50 } from "@emotion/react/jsx-runtime";
14166
- var SegmentedControl = ({
14167
- name,
14168
- options,
14169
- value,
14170
- onChange,
14171
- noCheckmark = false,
14172
- disabled = false,
14173
- orientation = "horizontal",
14174
- size = "md",
14175
- ...props
14176
- }) => {
14177
- const onOptionChange = useCallback3(
14178
- (event) => {
14179
- if (event.target.checked) {
14180
- onChange == null ? void 0 : onChange(options[parseInt(event.target.value)].value);
14181
- }
14182
- },
14183
- [options, onChange]
14184
- );
14185
- const sizeStyles = useMemo2(() => {
14186
- const map = {
14187
- sm: css62({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
14188
- md: css62({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
14189
- lg: css62({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
14190
- };
14191
- return map[size];
14192
- }, [size]);
14193
- const isIconOnly = useMemo2(() => {
14194
- return options.every((option) => option.icon && !option.label);
14195
- }, [options]);
14196
- return /* @__PURE__ */ jsx76(
14197
- "div",
14198
- {
14199
- css: [segmentedControlStyles, orientation === "vertical" ? segmentedControlVerticalStyles : void 0],
14200
- ...props,
14201
- children: options.map((option, index) => {
14202
- const text = option.label ? option.label : option.icon ? null : String(option.value);
14203
- const isDisabled = disabled || option.disabled;
14204
- return /* @__PURE__ */ jsx76(
14205
- Tooltip,
14206
- {
14207
- title: isDisabled || !option.tooltip ? "" : option.tooltip,
14208
- children: /* @__PURE__ */ jsx76("div", { css: segmentedControlItemStyles, "data-test-id": "container-segmented-control", children: /* @__PURE__ */ jsxs50(
14209
- "label",
14210
- {
14211
- css: [
14212
- segmentedControlLabelStyles,
14213
- sizeStyles,
14214
- isIconOnly ? segmentedControlLabelIconOnlyStyles : void 0
14215
- ],
14216
- children: [
14217
- /* @__PURE__ */ jsx76(
14218
- "input",
14219
- {
14220
- css: segmentedControlInputStyles,
14221
- type: "radio",
14222
- name,
14223
- value: index,
14224
- checked: option.value === value,
14225
- onChange: onOptionChange,
14226
- disabled: isDisabled
14227
- }
14228
- ),
14229
- option.value !== value || noCheckmark ? null : /* @__PURE__ */ jsx76(CgCheck3, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
14230
- /* @__PURE__ */ jsxs50("span", { css: segmentedControlLabelContentStyles, children: [
14231
- !option.icon ? null : /* @__PURE__ */ jsx76(option.icon, { size: "1.5em" }),
14232
- !text ? null : /* @__PURE__ */ jsx76("span", { css: segmentedControlLabelTextStyles, children: text })
14233
- ] })
14234
- ]
14235
- }
14236
- ) })
14237
- },
14238
- JSON.stringify(option.value)
14239
- );
14240
- })
14241
- }
14242
- );
14243
- };
14244
-
14245
- // src/components/ObjectList/ObjectListItemLoadingSkeleton.tsx
14246
- import { jsx as jsx77, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
14247
- var ObjectListItemLoadingSkeleton = () => {
14248
- return /* @__PURE__ */ jsxs51("div", { css: [ObjectListItemContainer, ObjectListItemLoading], children: [
14249
- /* @__PURE__ */ jsxs51("div", { css: [ObjectListItemInlineGroup, ObjectListItemInlineHeadingGroup], children: [
14250
- /* @__PURE__ */ jsx77("span", { css: ObjectListItemLoadingText("30ch") }),
14251
- /* @__PURE__ */ jsx77("span", { css: ObjectListItemLoadingText("5ch") })
14252
- ] }),
14253
- /* @__PURE__ */ jsxs51("div", { css: ObjectListItemInlineGroup, children: [
14254
- /* @__PURE__ */ jsx77("span", { css: ObjectListItemLoadingText("10ch") }),
14255
- /* @__PURE__ */ jsx77("span", { css: ObjectListItemLoadingText("10ch") })
14256
- ] })
14257
- ] });
14258
- };
14259
-
14260
- // src/components/ObjectList/styles/ObjectListContainer.styles.ts
14261
- import { css as css63 } from "@emotion/react";
14262
- var InlineGroup = css63`
14263
- align-items: center;
14264
- display: flex;
14265
- gap: var(--spacing-base);
14266
- `;
14267
- var FilterGroup = css63`
14268
- ${InlineGroup}
14269
- justify-content: space-between
14270
- `;
14271
- var FilterGroupTitle = css63`
14272
- font-weight: var(--fw-bold);
14273
- font-size: var(--fs-sm);
14274
- text-transform: uppercase;
14275
- `;
14276
- var GroupLabel = css63`
14277
- font-size: var(--fs-sm);
14278
- `;
14279
-
14280
- // src/components/ObjectList/ObjectListContainer.tsx
14281
- import { jsx as jsx78, jsxs as jsxs52 } from "@emotion/react/jsx-runtime";
14282
- var ObjectListContainer = ({
14283
- title = "Recent Compositions",
14284
- list,
14285
- filterOptions,
14286
- filterValue,
14287
- isLoading,
14288
- isDisabled,
14289
- hideControls,
14290
- onSetFilterOption,
14291
- resolveDefaultComponent = (value) => /* @__PURE__ */ jsx78(ObjectCompositionListItem, { ...value }),
14292
- children,
14293
- ...props
14294
- }) => {
14295
- const [loadingList, setLoadingList] = React18.useState(5);
14296
- React18.useEffect(() => {
14297
- if (list.length) {
14298
- setLoadingList(list.length);
14299
- }
14300
- }, [list]);
14301
- return /* @__PURE__ */ jsxs52(VerticalRhythm, { ...props, children: [
14302
- /* @__PURE__ */ jsxs52("div", { css: FilterGroup, children: [
14303
- /* @__PURE__ */ jsx78("span", { css: FilterGroupTitle, role: "headin", children: title }),
14304
- hideControls ? null : /* @__PURE__ */ jsxs52("div", { css: InlineGroup, children: [
14305
- /* @__PURE__ */ jsx78("span", { css: GroupLabel, children: "Show" }),
14306
- /* @__PURE__ */ jsx78(
14307
- SegmentedControl,
14308
- {
14309
- name: "recent-filter-options",
14310
- options: filterOptions,
14311
- value: filterValue,
14312
- onChange: (e) => onSetFilterOption(e),
14313
- noCheckmark: true,
14314
- disabled: isDisabled
14315
- }
14316
- )
14317
- ] })
14318
- ] }),
14319
- isLoading ? /* @__PURE__ */ jsx78("div", { children: Array.from(Array(loadingList).keys()).map((item) => /* @__PURE__ */ jsx78(ObjectListItemLoadingSkeleton, {}, item)) }) : null,
14320
- list.length && !isLoading ? /* @__PURE__ */ jsx78("div", { role: "list", children: list == null ? void 0 : list.map((item) => resolveDefaultComponent(item)) }) : null,
14321
- children
14322
- ] });
14323
- };
14324
-
14325
- // src/components/ObjectList/ObjectPersonalizationListItem.tsx
14326
- import { forwardRef as forwardRef9 } from "react";
14327
- import { jsx as jsx79, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
14328
- var ObjectPersonalizationListItem = forwardRef9(({ title, date, id, data, linkManagerComponent: LinkManager, as, ...props }, ref) => {
14329
- return /* @__PURE__ */ jsxs53(
14330
- LinkManager,
14331
- {
14332
- ...props,
14333
- as,
14334
- href: props.href,
14335
- ref,
14336
- passHref: true,
14337
- legacyBehavior: true,
14338
- css: ObjectListItemContainer,
14339
- role: "listitem",
14340
- children: [
14341
- /* @__PURE__ */ jsxs53("div", { css: [ObjectListItemInlineGroup, ObjectListItemInlineHeadingGroup], children: [
14342
- /* @__PURE__ */ jsx79("span", { role: "heading", css: ObjectListItemTitle, children: title }),
14343
- /* @__PURE__ */ jsx79("time", { role: "time", dateTime: `${date}`, css: ObjectListItemSmallText, children: formatDate(date) })
14344
- ] }),
14345
- /* @__PURE__ */ jsxs53("div", { css: ObjectListItemInlineGroup, children: [
14346
- /* @__PURE__ */ jsxs53("span", { css: ObjectListKeyText, children: [
14347
- "ID: ",
14348
- /* @__PURE__ */ jsx79("span", { css: ObjectListValueText, children: id })
14349
- ] }),
14350
- Object.entries(data).map(([key, value], i) => /* @__PURE__ */ jsxs53("span", { css: ObjectListKeyText, children: [
14351
- key,
14352
- ": ",
14353
- /* @__PURE__ */ jsx79("span", { css: ObjectListValueText, children: value })
14354
- ] }, i))
14355
- ] })
14356
- ]
14357
- }
14358
- );
14359
- });
14360
-
14361
- // src/components/ParameterInputs/styles/ParameterBindingButton.styles.ts
14362
- import { css as css64 } from "@emotion/react";
14363
- var inputIconBtn = css64`
14364
- align-items: center;
14365
- border: none;
14366
- border-radius: var(--rounded-base);
14367
- background: none;
14368
- display: flex;
14369
- padding: var(--spacing-2xs);
14370
- transition: background var(--duration-fast) var(--timing-ease-out),
14371
- color var(--duration-fast) var(--timing-ease-out);
14372
-
14373
- &:hover,
14374
- &[aria-pressed='true']:not(:disabled) {
14375
- background: var(--brand-secondary-3);
14376
- color: var(--white);
14155
+ padding: var(--spacing-2xs);
14156
+ transition: background var(--duration-fast) var(--timing-ease-out),
14157
+ color var(--duration-fast) var(--timing-ease-out);
14158
+
14159
+ &:hover,
14160
+ &[aria-pressed='true']:not(:disabled) {
14161
+ background: var(--brand-secondary-3);
14162
+ color: var(--white);
14377
14163
  }
14378
14164
 
14379
14165
  &[aria-disabled='true'] {
@@ -14383,7 +14169,7 @@ var inputIconBtn = css64`
14383
14169
  `;
14384
14170
 
14385
14171
  // src/components/ParameterInputs/ConnectToDataElementButton.tsx
14386
- import { jsx as jsx80, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
14172
+ import { jsx as jsx76, jsxs as jsxs50 } from "@emotion/react/jsx-runtime";
14387
14173
  var ConnectToDataElementButton = ({
14388
14174
  icon,
14389
14175
  iconColor,
@@ -14393,7 +14179,7 @@ var ConnectToDataElementButton = ({
14393
14179
  ...props
14394
14180
  }) => {
14395
14181
  const title = isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
14396
- return /* @__PURE__ */ jsx80(Tooltip, { title, children: /* @__PURE__ */ jsxs54(
14182
+ return /* @__PURE__ */ jsx76(Tooltip, { title, children: /* @__PURE__ */ jsxs50(
14397
14183
  "button",
14398
14184
  {
14399
14185
  css: inputIconBtn,
@@ -14402,7 +14188,7 @@ var ConnectToDataElementButton = ({
14402
14188
  "aria-disabled": isLocked,
14403
14189
  ...props,
14404
14190
  children: [
14405
- /* @__PURE__ */ jsx80(
14191
+ /* @__PURE__ */ jsx76(
14406
14192
  Icon,
14407
14193
  {
14408
14194
  icon: isLocked ? "lock" : icon ? icon : "arrows-expand-down-right",
@@ -14438,8 +14224,8 @@ var useParameterShell = () => {
14438
14224
  };
14439
14225
 
14440
14226
  // src/components/ParameterInputs/styles/ParameterInput.styles.ts
14441
- import { css as css65 } from "@emotion/react";
14442
- var inputContainer2 = css65`
14227
+ import { css as css61 } from "@emotion/react";
14228
+ var inputContainer2 = css61`
14443
14229
  position: relative;
14444
14230
 
14445
14231
  &:hover,
@@ -14451,14 +14237,14 @@ var inputContainer2 = css65`
14451
14237
  }
14452
14238
  }
14453
14239
  `;
14454
- var labelText2 = css65`
14240
+ var labelText2 = css61`
14455
14241
  align-items: center;
14456
14242
  display: flex;
14457
14243
  gap: var(--spacing-xs);
14458
14244
  font-weight: var(--fw-regular);
14459
14245
  margin: 0 0 var(--spacing-xs);
14460
14246
  `;
14461
- var input2 = css65`
14247
+ var input2 = css61`
14462
14248
  display: block;
14463
14249
  appearance: none;
14464
14250
  box-sizing: border-box;
@@ -14502,18 +14288,18 @@ var input2 = css65`
14502
14288
  color: var(--gray-400);
14503
14289
  }
14504
14290
  `;
14505
- var selectInput = css65`
14291
+ var selectInput = css61`
14506
14292
  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");
14507
14293
  background-position: right var(--spacing-sm) center;
14508
14294
  background-repeat: no-repeat;
14509
14295
  background-size: 1rem;
14510
14296
  padding-right: var(--spacing-xl);
14511
14297
  `;
14512
- var inputWrapper = css65`
14298
+ var inputWrapper = css61`
14513
14299
  display: flex; // used to correct overflow with chrome textarea
14514
14300
  position: relative;
14515
14301
  `;
14516
- var inputIcon2 = css65`
14302
+ var inputIcon2 = css61`
14517
14303
  align-items: center;
14518
14304
  background: var(--white);
14519
14305
  border-radius: var(--rounded-md) 0 0 var(--rounded-md);
@@ -14529,7 +14315,7 @@ var inputIcon2 = css65`
14529
14315
  width: var(--spacing-lg);
14530
14316
  z-index: var(--z-10);
14531
14317
  `;
14532
- var inputToggleLabel2 = css65`
14318
+ var inputToggleLabel2 = css61`
14533
14319
  align-items: center;
14534
14320
  background: var(--white);
14535
14321
  cursor: pointer;
@@ -14540,7 +14326,7 @@ var inputToggleLabel2 = css65`
14540
14326
  min-height: var(--spacing-md);
14541
14327
  position: relative;
14542
14328
  `;
14543
- var toggleInput2 = css65`
14329
+ var toggleInput2 = css61`
14544
14330
  appearance: none;
14545
14331
  border: 1px solid var(--gray-300);
14546
14332
  background: var(--white);
@@ -14579,7 +14365,7 @@ var toggleInput2 = css65`
14579
14365
  border-color: var(--gray-300);
14580
14366
  }
14581
14367
  `;
14582
- var inlineLabel2 = css65`
14368
+ var inlineLabel2 = css61`
14583
14369
  padding-left: var(--spacing-lg);
14584
14370
  font-size: var(--fs-sm);
14585
14371
  font-weight: var(--fw-regular);
@@ -14595,7 +14381,7 @@ var inlineLabel2 = css65`
14595
14381
  }
14596
14382
  }
14597
14383
  `;
14598
- var inputMenu = css65`
14384
+ var inputMenu = css61`
14599
14385
  background: none;
14600
14386
  border: none;
14601
14387
  padding: var(--spacing-2xs);
@@ -14611,14 +14397,14 @@ var inputMenu = css65`
14611
14397
  background-color: var(--gray-200);
14612
14398
  }
14613
14399
  `;
14614
- var textarea2 = css65`
14400
+ var textarea2 = css61`
14615
14401
  resize: vertical;
14616
14402
  min-height: 2rem;
14617
14403
  `;
14618
- var imageWrapper = css65`
14404
+ var imageWrapper = css61`
14619
14405
  background: var(--white);
14620
14406
  `;
14621
- var img = css65`
14407
+ var img = css61`
14622
14408
  animation: ${fadeIn} var(--duration-fast) var(--timing-ease-out) forwards;
14623
14409
  object-fit: contain;
14624
14410
  max-width: 100%;
@@ -14626,7 +14412,7 @@ var img = css65`
14626
14412
  opacity: var(--opacity-0);
14627
14413
  margin: var(--spacing-sm) auto 0;
14628
14414
  `;
14629
- var dataConnectButton = css65`
14415
+ var dataConnectButton = css61`
14630
14416
  align-items: center;
14631
14417
  appearance: none;
14632
14418
  box-sizing: border-box;
@@ -14661,7 +14447,7 @@ var dataConnectButton = css65`
14661
14447
  pointer-events: none;
14662
14448
  }
14663
14449
  `;
14664
- var linkParameterBtn = css65`
14450
+ var linkParameterBtn = css61`
14665
14451
  border-radius: var(--rounded-base);
14666
14452
  background: var(--white);
14667
14453
  border: none;
@@ -14670,7 +14456,7 @@ var linkParameterBtn = css65`
14670
14456
  font-size: var(--fs-sm);
14671
14457
  line-height: 1;
14672
14458
  `;
14673
- var linkParameterControls = css65`
14459
+ var linkParameterControls = css61`
14674
14460
  position: absolute;
14675
14461
  inset: 0 0 0 auto;
14676
14462
  padding: 0 var(--spacing-base);
@@ -14679,12 +14465,12 @@ var linkParameterControls = css65`
14679
14465
  justify-content: center;
14680
14466
  gap: var(--spacing-base);
14681
14467
  `;
14682
- var linkParameterInput = (withExternalLinkIcon) => css65`
14468
+ var linkParameterInput = (withExternalLinkIcon) => css61`
14683
14469
  padding-right: calc(
14684
14470
  ${withExternalLinkIcon ? "var(--spacing-2xl)" : "var(--spacing-xl)"} + var(--spacing-base)
14685
14471
  );
14686
14472
  `;
14687
- var linkParameterIcon = css65`
14473
+ var linkParameterIcon = css61`
14688
14474
  align-items: center;
14689
14475
  color: var(--brand-secondary-3);
14690
14476
  display: flex;
@@ -14699,7 +14485,7 @@ var linkParameterIcon = css65`
14699
14485
  `;
14700
14486
 
14701
14487
  // src/components/ParameterInputs/ParameterDataResource.tsx
14702
- import { jsx as jsx81, jsxs as jsxs55 } from "@emotion/react/jsx-runtime";
14488
+ import { jsx as jsx77, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
14703
14489
  function ParameterDataResource({
14704
14490
  label,
14705
14491
  labelLeadingIcon,
@@ -14709,12 +14495,12 @@ function ParameterDataResource({
14709
14495
  disabled,
14710
14496
  children
14711
14497
  }) {
14712
- return /* @__PURE__ */ jsxs55("div", { "data-testid": "parameter-data-connect-button", children: [
14713
- /* @__PURE__ */ jsxs55("span", { css: labelText2, children: [
14498
+ return /* @__PURE__ */ jsxs51("div", { "data-testid": "parameter-data-connect-button", children: [
14499
+ /* @__PURE__ */ jsxs51("span", { css: labelText2, children: [
14714
14500
  labelLeadingIcon ? labelLeadingIcon : null,
14715
14501
  label
14716
14502
  ] }),
14717
- /* @__PURE__ */ jsxs55(
14503
+ /* @__PURE__ */ jsxs51(
14718
14504
  "button",
14719
14505
  {
14720
14506
  type: "button",
@@ -14723,30 +14509,30 @@ function ParameterDataResource({
14723
14509
  disabled,
14724
14510
  onClick: onConnectDatasource,
14725
14511
  children: [
14726
- /* @__PURE__ */ jsx81("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ jsx81(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
14512
+ /* @__PURE__ */ jsx77("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ jsx77(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
14727
14513
  children
14728
14514
  ]
14729
14515
  }
14730
14516
  ),
14731
- caption ? /* @__PURE__ */ jsx81(Caption, { children: caption }) : null
14517
+ caption ? /* @__PURE__ */ jsx77(Caption, { children: caption }) : null
14732
14518
  ] });
14733
14519
  }
14734
14520
 
14735
14521
  // src/components/ParameterInputs/styles/ParameterDrawerHeader.styles.ts
14736
- import { css as css66 } from "@emotion/react";
14737
- var ParameterDrawerHeaderContainer = css66`
14522
+ import { css as css62 } from "@emotion/react";
14523
+ var ParameterDrawerHeaderContainer = css62`
14738
14524
  align-items: center;
14739
14525
  display: flex;
14740
14526
  gap: var(--spacing-base);
14741
14527
  justify-content: space-between;
14742
14528
  margin-bottom: var(--spacing-sm);
14743
14529
  `;
14744
- var ParameterDrawerHeaderTitleGroup = css66`
14530
+ var ParameterDrawerHeaderTitleGroup = css62`
14745
14531
  align-items: center;
14746
14532
  display: flex;
14747
14533
  gap: var(--spacing-sm);
14748
14534
  `;
14749
- var ParameterDrawerHeaderTitle = css66`
14535
+ var ParameterDrawerHeaderTitle = css62`
14750
14536
  text-overflow: ellipsis;
14751
14537
  white-space: nowrap;
14752
14538
  overflow: hidden;
@@ -14754,23 +14540,23 @@ var ParameterDrawerHeaderTitle = css66`
14754
14540
  `;
14755
14541
 
14756
14542
  // src/components/ParameterInputs/ParameterDrawerHeader.tsx
14757
- import { jsx as jsx82, jsxs as jsxs56 } from "@emotion/react/jsx-runtime";
14543
+ import { jsx as jsx78, jsxs as jsxs52 } from "@emotion/react/jsx-runtime";
14758
14544
  var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
14759
- return /* @__PURE__ */ jsxs56("div", { css: ParameterDrawerHeaderContainer, children: [
14760
- /* @__PURE__ */ jsxs56("header", { css: ParameterDrawerHeaderTitleGroup, children: [
14545
+ return /* @__PURE__ */ jsxs52("div", { css: ParameterDrawerHeaderContainer, children: [
14546
+ /* @__PURE__ */ jsxs52("header", { css: ParameterDrawerHeaderTitleGroup, children: [
14761
14547
  iconBeforeTitle,
14762
- /* @__PURE__ */ jsx82(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
14548
+ /* @__PURE__ */ jsx78(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
14763
14549
  ] }),
14764
14550
  children
14765
14551
  ] });
14766
14552
  };
14767
14553
 
14768
14554
  // src/components/ParameterInputs/ParameterGroup.tsx
14769
- import { forwardRef as forwardRef10 } from "react";
14555
+ import { forwardRef as forwardRef8 } from "react";
14770
14556
 
14771
14557
  // src/components/ParameterInputs/styles/ParameterGroup.styles.ts
14772
- import { css as css67 } from "@emotion/react";
14773
- var fieldsetStyles = css67`
14558
+ import { css as css63 } from "@emotion/react";
14559
+ var fieldsetStyles = css63`
14774
14560
  &:disabled,
14775
14561
  [readonly] {
14776
14562
  pointer-events: none;
@@ -14781,7 +14567,7 @@ var fieldsetStyles = css67`
14781
14567
  }
14782
14568
  }
14783
14569
  `;
14784
- var fieldsetLegend2 = css67`
14570
+ var fieldsetLegend2 = css63`
14785
14571
  display: block;
14786
14572
  font-weight: var(--fw-medium);
14787
14573
  margin-bottom: var(--spacing-sm);
@@ -14789,38 +14575,38 @@ var fieldsetLegend2 = css67`
14789
14575
  `;
14790
14576
 
14791
14577
  // src/components/ParameterInputs/ParameterGroup.tsx
14792
- import { jsx as jsx83, jsxs as jsxs57 } from "@emotion/react/jsx-runtime";
14793
- var ParameterGroup = forwardRef10(
14578
+ import { jsx as jsx79, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
14579
+ var ParameterGroup = forwardRef8(
14794
14580
  ({ legend, isDisabled, children, ...props }, ref) => {
14795
- return /* @__PURE__ */ jsxs57("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
14796
- /* @__PURE__ */ jsx83("legend", { css: fieldsetLegend2, children: legend }),
14581
+ return /* @__PURE__ */ jsxs53("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
14582
+ /* @__PURE__ */ jsx79("legend", { css: fieldsetLegend2, children: legend }),
14797
14583
  children
14798
14584
  ] });
14799
14585
  }
14800
14586
  );
14801
14587
 
14802
14588
  // src/components/ParameterInputs/ParameterImage.tsx
14803
- import { forwardRef as forwardRef12, useCallback as useCallback4, useDeferredValue, useEffect as useEffect10, useState as useState9 } from "react";
14589
+ import { forwardRef as forwardRef10, useCallback as useCallback3, useDeferredValue, useEffect as useEffect9, useState as useState8 } from "react";
14804
14590
 
14805
14591
  // src/components/ParameterInputs/ParameterShell.tsx
14806
- import { useState as useState8 } from "react";
14592
+ import { useState as useState7 } from "react";
14807
14593
 
14808
14594
  // src/components/ParameterInputs/ParameterLabel.tsx
14809
- import { jsx as jsx84 } from "@emotion/react/jsx-runtime";
14595
+ import { jsx as jsx80 } from "@emotion/react/jsx-runtime";
14810
14596
  var ParameterLabel = ({ id, asSpan, children, ...props }) => {
14811
- return !asSpan ? /* @__PURE__ */ jsx84("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ jsx84("span", { "aria-labelledby": id, css: labelText2, children });
14597
+ return !asSpan ? /* @__PURE__ */ jsx80("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ jsx80("span", { "aria-labelledby": id, css: labelText2, children });
14812
14598
  };
14813
14599
 
14814
14600
  // src/components/ParameterInputs/ParameterMenuButton.tsx
14815
- import { forwardRef as forwardRef11 } from "react";
14816
- import { jsx as jsx85 } from "@emotion/react/jsx-runtime";
14817
- var ParameterMenuButton = forwardRef11(
14601
+ import { forwardRef as forwardRef9 } from "react";
14602
+ import { jsx as jsx81 } from "@emotion/react/jsx-runtime";
14603
+ var ParameterMenuButton = forwardRef9(
14818
14604
  ({ label, children }, ref) => {
14819
- return /* @__PURE__ */ jsx85(
14605
+ return /* @__PURE__ */ jsx81(
14820
14606
  Menu,
14821
14607
  {
14822
14608
  menuLabel: `${label} menu`,
14823
- menuTrigger: /* @__PURE__ */ jsx85(
14609
+ menuTrigger: /* @__PURE__ */ jsx81(
14824
14610
  "button",
14825
14611
  {
14826
14612
  className: "parameter-menu",
@@ -14828,7 +14614,7 @@ var ParameterMenuButton = forwardRef11(
14828
14614
  type: "button",
14829
14615
  "aria-label": `${label} options`,
14830
14616
  ref,
14831
- children: /* @__PURE__ */ jsx85(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
14617
+ children: /* @__PURE__ */ jsx81(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
14832
14618
  }
14833
14619
  ),
14834
14620
  children
@@ -14838,15 +14624,15 @@ var ParameterMenuButton = forwardRef11(
14838
14624
  );
14839
14625
 
14840
14626
  // src/components/ParameterInputs/styles/ParameterShell.styles.ts
14841
- import { css as css68 } from "@emotion/react";
14842
- var emptyParameterShell = css68`
14627
+ import { css as css64 } from "@emotion/react";
14628
+ var emptyParameterShell = css64`
14843
14629
  border-radius: var(--rounded-sm);
14844
14630
  background: var(--white);
14845
14631
  flex-grow: 1;
14846
14632
  padding: var(--spacing-xs);
14847
14633
  position: relative;
14848
14634
  `;
14849
- var emptyParameterShellText = css68`
14635
+ var emptyParameterShellText = css64`
14850
14636
  background: var(--brand-secondary-6);
14851
14637
  border-radius: var(--rounded-sm);
14852
14638
  padding: var(--spacing-sm);
@@ -14854,7 +14640,7 @@ var emptyParameterShellText = css68`
14854
14640
  font-size: var(--fs-sm);
14855
14641
  margin: 0;
14856
14642
  `;
14857
- var overrideMarker = css68`
14643
+ var overrideMarker = css64`
14858
14644
  border-radius: var(--rounded-sm);
14859
14645
  border: 10px solid var(--gray-300);
14860
14646
  border-left-color: transparent;
@@ -14865,7 +14651,7 @@ var overrideMarker = css68`
14865
14651
  `;
14866
14652
 
14867
14653
  // src/components/ParameterInputs/ParameterShell.tsx
14868
- import { jsx as jsx86, jsxs as jsxs58 } from "@emotion/react/jsx-runtime";
14654
+ import { jsx as jsx82, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
14869
14655
  var extractParameterProps = (props) => {
14870
14656
  const {
14871
14657
  id,
@@ -14924,21 +14710,21 @@ var ParameterShell = ({
14924
14710
  children,
14925
14711
  ...props
14926
14712
  }) => {
14927
- const [manualErrorMessage, setManualErrorMessage] = useState8(void 0);
14713
+ const [manualErrorMessage, setManualErrorMessage] = useState7(void 0);
14928
14714
  const setErrorMessage = (message) => setManualErrorMessage(message);
14929
14715
  const errorMessaging = errorMessage || manualErrorMessage;
14930
- return /* @__PURE__ */ jsxs58("div", { css: inputContainer2, ...props, children: [
14931
- hiddenLabel || title ? null : /* @__PURE__ */ jsxs58(ParameterLabel, { id, css: labelText2, children: [
14716
+ return /* @__PURE__ */ jsxs54("div", { css: inputContainer2, ...props, children: [
14717
+ hiddenLabel || title ? null : /* @__PURE__ */ jsxs54(ParameterLabel, { id, css: labelText2, children: [
14932
14718
  labelLeadingIcon ? labelLeadingIcon : null,
14933
14719
  label
14934
14720
  ] }),
14935
- !title ? null : /* @__PURE__ */ jsxs58(ParameterLabel, { id, asSpan: true, children: [
14721
+ !title ? null : /* @__PURE__ */ jsxs54(ParameterLabel, { id, asSpan: true, children: [
14936
14722
  labelLeadingIcon ? labelLeadingIcon : null,
14937
14723
  title
14938
14724
  ] }),
14939
- /* @__PURE__ */ jsxs58("div", { css: inputWrapper, children: [
14940
- menuItems ? /* @__PURE__ */ jsx86(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
14941
- /* @__PURE__ */ jsx86(
14725
+ /* @__PURE__ */ jsxs54("div", { css: inputWrapper, children: [
14726
+ menuItems ? /* @__PURE__ */ jsx82(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
14727
+ /* @__PURE__ */ jsx82(
14942
14728
  ParameterShellContext.Provider,
14943
14729
  {
14944
14730
  value: {
@@ -14948,32 +14734,32 @@ var ParameterShell = ({
14948
14734
  errorMessage: errorMessaging,
14949
14735
  onManuallySetErrorMessage: (message) => setErrorMessage(message)
14950
14736
  },
14951
- children: /* @__PURE__ */ jsxs58(ParameterShellPlaceholder, { children: [
14737
+ children: /* @__PURE__ */ jsxs54(ParameterShellPlaceholder, { children: [
14952
14738
  children,
14953
- hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx86(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
14739
+ hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx82(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
14954
14740
  ] })
14955
14741
  }
14956
14742
  )
14957
14743
  ] }),
14958
- caption ? /* @__PURE__ */ jsx86(Caption, { testId: captionTestId, children: caption }) : null,
14959
- errorMessaging ? /* @__PURE__ */ jsx86(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null,
14960
- warningMessage ? /* @__PURE__ */ jsx86(WarningMessage, { message: warningMessage }) : null,
14961
- infoMessage ? /* @__PURE__ */ jsx86(InfoMessage, { message: infoMessage }) : null
14744
+ caption ? /* @__PURE__ */ jsx82(Caption, { testId: captionTestId, children: caption }) : null,
14745
+ errorMessaging ? /* @__PURE__ */ jsx82(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null,
14746
+ warningMessage ? /* @__PURE__ */ jsx82(WarningMessage, { message: warningMessage }) : null,
14747
+ infoMessage ? /* @__PURE__ */ jsx82(InfoMessage, { message: infoMessage }) : null
14962
14748
  ] });
14963
14749
  };
14964
14750
  var ParameterShellPlaceholder = ({ children }) => {
14965
- return /* @__PURE__ */ jsx86("div", { css: emptyParameterShell, children });
14751
+ return /* @__PURE__ */ jsx82("div", { css: emptyParameterShell, children });
14966
14752
  };
14967
- var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx86(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx86("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx86("span", { hidden: true, children: "reset overridden value to default" }) }) });
14753
+ var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx82(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx82("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx82("span", { hidden: true, children: "reset overridden value to default" }) }) });
14968
14754
 
14969
14755
  // src/components/ParameterInputs/ParameterImage.tsx
14970
- import { Fragment as Fragment10, jsx as jsx87, jsxs as jsxs59 } from "@emotion/react/jsx-runtime";
14971
- var ParameterImage = forwardRef12((props, ref) => {
14756
+ import { Fragment as Fragment11, jsx as jsx83, jsxs as jsxs55 } from "@emotion/react/jsx-runtime";
14757
+ var ParameterImage = forwardRef10((props, ref) => {
14972
14758
  const { shellProps, innerProps } = extractParameterProps(props);
14973
- return /* @__PURE__ */ jsx87(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: /* @__PURE__ */ jsx87(ParameterImageInner, { ref, ...innerProps }) });
14759
+ return /* @__PURE__ */ jsx83(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: /* @__PURE__ */ jsx83(ParameterImageInner, { ref, ...innerProps }) });
14974
14760
  });
14975
14761
  var BrokenImage = ({ ...props }) => {
14976
- return /* @__PURE__ */ jsxs59(
14762
+ return /* @__PURE__ */ jsxs55(
14977
14763
  "svg",
14978
14764
  {
14979
14765
  width: "214",
@@ -14984,11 +14770,11 @@ var BrokenImage = ({ ...props }) => {
14984
14770
  xmlnsXlink: "http://www.w3.org/1999/xlink",
14985
14771
  ...props,
14986
14772
  children: [
14987
- /* @__PURE__ */ jsx87("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
14988
- /* @__PURE__ */ jsx87("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
14989
- /* @__PURE__ */ jsxs59("defs", { children: [
14990
- /* @__PURE__ */ jsx87("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ jsx87("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
14991
- /* @__PURE__ */ jsx87(
14773
+ /* @__PURE__ */ jsx83("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
14774
+ /* @__PURE__ */ jsx83("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
14775
+ /* @__PURE__ */ jsxs55("defs", { children: [
14776
+ /* @__PURE__ */ jsx83("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ jsx83("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
14777
+ /* @__PURE__ */ jsx83(
14992
14778
  "image",
14993
14779
  {
14994
14780
  id: "image0_761_4353",
@@ -15002,14 +14788,14 @@ var BrokenImage = ({ ...props }) => {
15002
14788
  }
15003
14789
  );
15004
14790
  };
15005
- var ParameterImageInner = forwardRef12(
14791
+ var ParameterImageInner = forwardRef10(
15006
14792
  ({ ...props }, ref) => {
15007
14793
  const { value } = props;
15008
14794
  const { id, label, hiddenLabel, errorMessage, onManuallySetErrorMessage } = useParameterShell();
15009
- const [loading, setLoading] = useState9(false);
14795
+ const [loading, setLoading] = useState8(false);
15010
14796
  const deferredValue = useDeferredValue(value);
15011
14797
  const errorText = "The text you provided is not a valid URL";
15012
- const updateImageSrc = useCallback4(() => {
14798
+ const updateImageSrc = useCallback3(() => {
15013
14799
  let message = void 0;
15014
14800
  try {
15015
14801
  if (value !== "") {
@@ -15037,11 +14823,11 @@ var ParameterImageInner = forwardRef12(
15037
14823
  onManuallySetErrorMessage(errorText);
15038
14824
  }
15039
14825
  };
15040
- useEffect10(() => {
14826
+ useEffect9(() => {
15041
14827
  updateImageSrc();
15042
14828
  }, [value]);
15043
- return /* @__PURE__ */ jsxs59(Fragment10, { children: [
15044
- /* @__PURE__ */ jsx87(
14829
+ return /* @__PURE__ */ jsxs55(Fragment11, { children: [
14830
+ /* @__PURE__ */ jsx83(
15045
14831
  "input",
15046
14832
  {
15047
14833
  css: input2,
@@ -15053,8 +14839,8 @@ var ParameterImageInner = forwardRef12(
15053
14839
  ...props
15054
14840
  }
15055
14841
  ),
15056
- /* @__PURE__ */ jsxs59("div", { css: imageWrapper, children: [
15057
- deferredValue && !errorMessage ? /* @__PURE__ */ jsx87(
14842
+ /* @__PURE__ */ jsxs55("div", { css: imageWrapper, children: [
14843
+ deferredValue && !errorMessage ? /* @__PURE__ */ jsx83(
15058
14844
  "img",
15059
14845
  {
15060
14846
  src: deferredValue,
@@ -15064,24 +14850,24 @@ var ParameterImageInner = forwardRef12(
15064
14850
  loading: "lazy"
15065
14851
  }
15066
14852
  ) : null,
15067
- deferredValue && errorMessage ? /* @__PURE__ */ jsx87(BrokenImage, { css: img }) : null
14853
+ deferredValue && errorMessage ? /* @__PURE__ */ jsx83(BrokenImage, { css: img }) : null
15068
14854
  ] }),
15069
- loading ? /* @__PURE__ */ jsx87(LoadingIcon, {}) : null
14855
+ loading ? /* @__PURE__ */ jsx83(LoadingIcon, {}) : null
15070
14856
  ] });
15071
14857
  }
15072
14858
  );
15073
14859
 
15074
14860
  // src/components/ParameterInputs/ParameterInput.tsx
15075
- import { forwardRef as forwardRef13 } from "react";
15076
- import { jsx as jsx88 } from "@emotion/react/jsx-runtime";
15077
- var ParameterInput = forwardRef13((props, ref) => {
14861
+ import { forwardRef as forwardRef11 } from "react";
14862
+ import { jsx as jsx84 } from "@emotion/react/jsx-runtime";
14863
+ var ParameterInput = forwardRef11((props, ref) => {
15078
14864
  const { shellProps, innerProps } = extractParameterProps(props);
15079
- return /* @__PURE__ */ jsx88(ParameterShell, { "data-test-id": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx88(ParameterInputInner, { ref, ...innerProps }) });
14865
+ return /* @__PURE__ */ jsx84(ParameterShell, { "data-test-id": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx84(ParameterInputInner, { ref, ...innerProps }) });
15080
14866
  });
15081
- var ParameterInputInner = forwardRef13(
14867
+ var ParameterInputInner = forwardRef11(
15082
14868
  ({ ...props }, ref) => {
15083
14869
  const { id, label, hiddenLabel } = useParameterShell();
15084
- return /* @__PURE__ */ jsx88(
14870
+ return /* @__PURE__ */ jsx84(
15085
14871
  "input",
15086
14872
  {
15087
14873
  css: input2,
@@ -15097,19 +14883,19 @@ var ParameterInputInner = forwardRef13(
15097
14883
  );
15098
14884
 
15099
14885
  // src/components/ParameterInputs/ParameterLink.tsx
15100
- import { forwardRef as forwardRef14 } from "react";
15101
- import { jsx as jsx89, jsxs as jsxs60 } from "@emotion/react/jsx-runtime";
15102
- var ParameterLink = forwardRef14(
14886
+ import { forwardRef as forwardRef12 } from "react";
14887
+ import { jsx as jsx85, jsxs as jsxs56 } from "@emotion/react/jsx-runtime";
14888
+ var ParameterLink = forwardRef12(
15103
14889
  ({ buttonText = "Select link", disabled, onConnectLink, externalLink, ...props }, ref) => {
15104
14890
  const { shellProps, innerProps } = extractParameterProps(props);
15105
- return /* @__PURE__ */ jsx89(
14891
+ return /* @__PURE__ */ jsx85(
15106
14892
  ParameterShell,
15107
14893
  {
15108
14894
  "data-test-id": "link-parameter-editor",
15109
14895
  ...shellProps,
15110
14896
  label: innerProps.value ? shellProps.label : "",
15111
14897
  title: !innerProps.value ? shellProps.label : void 0,
15112
- children: !innerProps.value ? /* @__PURE__ */ jsx89("button", { type: "button", css: dataConnectButton, disabled, onClick: onConnectLink, children: buttonText }) : /* @__PURE__ */ jsx89(
14898
+ children: !innerProps.value ? /* @__PURE__ */ jsx85("button", { type: "button", css: dataConnectButton, disabled, onClick: onConnectLink, children: buttonText }) : /* @__PURE__ */ jsx85(
15113
14899
  ParameterLinkInner,
15114
14900
  {
15115
14901
  onConnectLink,
@@ -15122,11 +14908,11 @@ var ParameterLink = forwardRef14(
15122
14908
  );
15123
14909
  }
15124
14910
  );
15125
- var ParameterLinkInner = forwardRef14(
14911
+ var ParameterLinkInner = forwardRef12(
15126
14912
  ({ externalLink, onConnectLink, disabled, ...props }, ref) => {
15127
14913
  const { id, label, hiddenLabel } = useParameterShell();
15128
- return /* @__PURE__ */ jsxs60("div", { css: inputWrapper, children: [
15129
- /* @__PURE__ */ jsx89(
14914
+ return /* @__PURE__ */ jsxs56("div", { css: inputWrapper, children: [
14915
+ /* @__PURE__ */ jsx85(
15130
14916
  "input",
15131
14917
  {
15132
14918
  type: "text",
@@ -15138,8 +14924,8 @@ var ParameterLinkInner = forwardRef14(
15138
14924
  ...props
15139
14925
  }
15140
14926
  ),
15141
- /* @__PURE__ */ jsxs60("div", { css: linkParameterControls, children: [
15142
- /* @__PURE__ */ jsx89(
14927
+ /* @__PURE__ */ jsxs56("div", { css: linkParameterControls, children: [
14928
+ /* @__PURE__ */ jsx85(
15143
14929
  "button",
15144
14930
  {
15145
14931
  type: "button",
@@ -15150,7 +14936,7 @@ var ParameterLinkInner = forwardRef14(
15150
14936
  children: "edit"
15151
14937
  }
15152
14938
  ),
15153
- externalLink ? /* @__PURE__ */ jsx89(
14939
+ externalLink ? /* @__PURE__ */ jsx85(
15154
14940
  "a",
15155
14941
  {
15156
14942
  href: externalLink,
@@ -15158,7 +14944,7 @@ var ParameterLinkInner = forwardRef14(
15158
14944
  title: "Open link in new tab",
15159
14945
  target: "_blank",
15160
14946
  rel: "noopener noreferrer",
15161
- children: /* @__PURE__ */ jsx89(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
14947
+ children: /* @__PURE__ */ jsx85(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
15162
14948
  }
15163
14949
  ) : null
15164
14950
  ] })
@@ -15167,7 +14953,7 @@ var ParameterLinkInner = forwardRef14(
15167
14953
  );
15168
14954
 
15169
14955
  // src/components/ParameterInputs/ParameterNameAndPublicIdInput.tsx
15170
- import { Fragment as Fragment11, jsx as jsx90, jsxs as jsxs61 } from "@emotion/react/jsx-runtime";
14956
+ import { Fragment as Fragment12, jsx as jsx86, jsxs as jsxs57 } from "@emotion/react/jsx-runtime";
15171
14957
  var ParameterNameAndPublicIdInput = ({
15172
14958
  id,
15173
14959
  onBlur,
@@ -15193,8 +14979,8 @@ var ParameterNameAndPublicIdInput = ({
15193
14979
  navigator.clipboard.writeText(values[publicIdFieldName]);
15194
14980
  };
15195
14981
  autoFocus == null ? void 0 : autoFocus();
15196
- return /* @__PURE__ */ jsxs61(Fragment11, { children: [
15197
- /* @__PURE__ */ jsx90(
14982
+ return /* @__PURE__ */ jsxs57(Fragment12, { children: [
14983
+ /* @__PURE__ */ jsx86(
15198
14984
  ParameterInput,
15199
14985
  {
15200
14986
  id: nameIdField,
@@ -15213,7 +14999,7 @@ var ParameterNameAndPublicIdInput = ({
15213
14999
  value: values[nameIdField]
15214
15000
  }
15215
15001
  ),
15216
- /* @__PURE__ */ jsx90(
15002
+ /* @__PURE__ */ jsx86(
15217
15003
  ParameterInput,
15218
15004
  {
15219
15005
  id: publicIdFieldName,
@@ -15227,11 +15013,11 @@ var ParameterNameAndPublicIdInput = ({
15227
15013
  caption: publicIdCaption,
15228
15014
  placeholder: publicIdPlaceholderText,
15229
15015
  errorMessage: publicIdError,
15230
- menuItems: /* @__PURE__ */ jsx90(
15016
+ menuItems: /* @__PURE__ */ jsx86(
15231
15017
  MenuItem,
15232
15018
  {
15233
15019
  disabled: !values[publicIdFieldName],
15234
- icon: /* @__PURE__ */ jsx90(Icon, { icon: "path-trim", iconColor: "currentColor" }),
15020
+ icon: /* @__PURE__ */ jsx86(Icon, { icon: "path-trim", iconColor: "currentColor" }),
15235
15021
  onClick: handleCopyPidFieldValue,
15236
15022
  children: "Copy"
15237
15023
  }
@@ -15239,14 +15025,14 @@ var ParameterNameAndPublicIdInput = ({
15239
15025
  value: values[publicIdFieldName]
15240
15026
  }
15241
15027
  ),
15242
- (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx90(Callout, { type: "caution", children: warnOverLength.message }) : null
15028
+ (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx86(Callout, { type: "caution", children: warnOverLength.message }) : null
15243
15029
  ] });
15244
15030
  };
15245
15031
 
15246
15032
  // src/components/ParameterInputs/ParameterRichText.tsx
15247
- import { forwardRef as forwardRef15 } from "react";
15248
- import { Fragment as Fragment12, jsx as jsx91, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
15249
- var ParameterRichText = forwardRef15(
15033
+ import { forwardRef as forwardRef13 } from "react";
15034
+ import { Fragment as Fragment13, jsx as jsx87, jsxs as jsxs58 } from "@emotion/react/jsx-runtime";
15035
+ var ParameterRichText = forwardRef13(
15250
15036
  ({
15251
15037
  label,
15252
15038
  labelLeadingIcon,
@@ -15259,7 +15045,7 @@ var ParameterRichText = forwardRef15(
15259
15045
  menuItems,
15260
15046
  ...props
15261
15047
  }, ref) => {
15262
- return /* @__PURE__ */ jsxs62(
15048
+ return /* @__PURE__ */ jsxs58(
15263
15049
  ParameterShell,
15264
15050
  {
15265
15051
  "data-test-id": "parameter-input",
@@ -15272,16 +15058,16 @@ var ParameterRichText = forwardRef15(
15272
15058
  captionTestId,
15273
15059
  menuItems,
15274
15060
  children: [
15275
- /* @__PURE__ */ jsx91(ParameterRichTextInner, { ref, ...props }),
15276
- menuItems ? /* @__PURE__ */ jsx91(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx91(Fragment12, { children: menuItems }) }) : null
15061
+ /* @__PURE__ */ jsx87(ParameterRichTextInner, { ref, ...props }),
15062
+ menuItems ? /* @__PURE__ */ jsx87(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx87(Fragment13, { children: menuItems }) }) : null
15277
15063
  ]
15278
15064
  }
15279
15065
  );
15280
15066
  }
15281
15067
  );
15282
- var ParameterRichTextInner = forwardRef15(({ ...props }, ref) => {
15068
+ var ParameterRichTextInner = forwardRef13(({ ...props }, ref) => {
15283
15069
  const { id, label, hiddenLabel } = useParameterShell();
15284
- return /* @__PURE__ */ jsx91(
15070
+ return /* @__PURE__ */ jsx87(
15285
15071
  "textarea",
15286
15072
  {
15287
15073
  css: [input2, textarea2],
@@ -15294,18 +15080,18 @@ var ParameterRichTextInner = forwardRef15(({ ...props }, ref) => {
15294
15080
  });
15295
15081
 
15296
15082
  // src/components/ParameterInputs/ParameterSelect.tsx
15297
- import { forwardRef as forwardRef16 } from "react";
15298
- import { jsx as jsx92, jsxs as jsxs63 } from "@emotion/react/jsx-runtime";
15299
- var ParameterSelect = forwardRef16(
15083
+ import { forwardRef as forwardRef14 } from "react";
15084
+ import { jsx as jsx88, jsxs as jsxs59 } from "@emotion/react/jsx-runtime";
15085
+ var ParameterSelect = forwardRef14(
15300
15086
  ({ defaultOption, options, ...props }, ref) => {
15301
15087
  const { shellProps, innerProps } = extractParameterProps(props);
15302
- return /* @__PURE__ */ jsx92(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx92(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
15088
+ return /* @__PURE__ */ jsx88(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx88(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
15303
15089
  }
15304
15090
  );
15305
- var ParameterSelectInner = forwardRef16(
15091
+ var ParameterSelectInner = forwardRef14(
15306
15092
  ({ defaultOption, options, ...props }, ref) => {
15307
15093
  const { id, label, hiddenLabel } = useParameterShell();
15308
- return /* @__PURE__ */ jsxs63(
15094
+ return /* @__PURE__ */ jsxs59(
15309
15095
  "select",
15310
15096
  {
15311
15097
  css: [input2, selectInput],
@@ -15314,10 +15100,10 @@ var ParameterSelectInner = forwardRef16(
15314
15100
  ref,
15315
15101
  ...props,
15316
15102
  children: [
15317
- defaultOption ? /* @__PURE__ */ jsx92("option", { value: "", children: defaultOption }) : null,
15103
+ defaultOption ? /* @__PURE__ */ jsx88("option", { value: "", children: defaultOption }) : null,
15318
15104
  options.map((option) => {
15319
15105
  var _a;
15320
- return /* @__PURE__ */ jsx92("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
15106
+ return /* @__PURE__ */ jsx88("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
15321
15107
  })
15322
15108
  ]
15323
15109
  }
@@ -15326,15 +15112,15 @@ var ParameterSelectInner = forwardRef16(
15326
15112
  );
15327
15113
 
15328
15114
  // src/components/ParameterInputs/ParameterTextarea.tsx
15329
- import { forwardRef as forwardRef17 } from "react";
15330
- import { jsx as jsx93 } from "@emotion/react/jsx-runtime";
15331
- var ParameterTextarea = forwardRef17((props, ref) => {
15115
+ import { forwardRef as forwardRef15 } from "react";
15116
+ import { jsx as jsx89 } from "@emotion/react/jsx-runtime";
15117
+ var ParameterTextarea = forwardRef15((props, ref) => {
15332
15118
  const { shellProps, innerProps } = extractParameterProps(props);
15333
- return /* @__PURE__ */ jsx93(ParameterShell, { "data-test-id": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx93(ParameterTextareaInner, { ref, ...innerProps }) });
15119
+ return /* @__PURE__ */ jsx89(ParameterShell, { "data-test-id": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx89(ParameterTextareaInner, { ref, ...innerProps }) });
15334
15120
  });
15335
- var ParameterTextareaInner = forwardRef17(({ ...props }, ref) => {
15121
+ var ParameterTextareaInner = forwardRef15(({ ...props }, ref) => {
15336
15122
  const { id, label, hiddenLabel } = useParameterShell();
15337
- return /* @__PURE__ */ jsx93(
15123
+ return /* @__PURE__ */ jsx89(
15338
15124
  "textarea",
15339
15125
  {
15340
15126
  css: [input2, textarea2],
@@ -15347,18 +15133,18 @@ var ParameterTextareaInner = forwardRef17(({ ...props }, ref) => {
15347
15133
  });
15348
15134
 
15349
15135
  // src/components/ParameterInputs/ParameterToggle.tsx
15350
- import { forwardRef as forwardRef18 } from "react";
15351
- import { jsx as jsx94, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
15352
- var ParameterToggle = forwardRef18((props, ref) => {
15136
+ import { forwardRef as forwardRef16 } from "react";
15137
+ import { jsx as jsx90, jsxs as jsxs60 } from "@emotion/react/jsx-runtime";
15138
+ var ParameterToggle = forwardRef16((props, ref) => {
15353
15139
  const { shellProps, innerProps } = extractParameterProps(props);
15354
- return /* @__PURE__ */ jsx94(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx94(ParameterToggleInner, { ref, ...innerProps }) });
15140
+ return /* @__PURE__ */ jsx90(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx90(ParameterToggleInner, { ref, ...innerProps }) });
15355
15141
  });
15356
- var ParameterToggleInner = forwardRef18(
15142
+ var ParameterToggleInner = forwardRef16(
15357
15143
  ({ ...props }, ref) => {
15358
15144
  const { id, label } = useParameterShell();
15359
- return /* @__PURE__ */ jsxs64("label", { css: inputToggleLabel2, children: [
15360
- /* @__PURE__ */ jsx94("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
15361
- /* @__PURE__ */ jsx94("span", { css: inlineLabel2, children: label })
15145
+ return /* @__PURE__ */ jsxs60("label", { css: inputToggleLabel2, children: [
15146
+ /* @__PURE__ */ jsx90("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
15147
+ /* @__PURE__ */ jsx90("span", { css: inlineLabel2, children: label })
15362
15148
  ] });
15363
15149
  }
15364
15150
  );
@@ -15372,13 +15158,13 @@ import {
15372
15158
  import { Portal as Portal2 } from "reakit/Portal";
15373
15159
 
15374
15160
  // src/components/Popover/Popover.styles.ts
15375
- import { css as css69 } from "@emotion/react";
15376
- var PopoverBtn = css69`
15161
+ import { css as css65 } from "@emotion/react";
15162
+ var PopoverBtn = css65`
15377
15163
  border: none;
15378
15164
  background: none;
15379
15165
  padding: 0;
15380
15166
  `;
15381
- var Popover = css69`
15167
+ var Popover = css65`
15382
15168
  border-left: var(--spacing-xs) solid var(--brand-secondary-3);
15383
15169
  border-radius: var(--rounded-base);
15384
15170
  box-shadow: var(--shadow-base);
@@ -15391,49 +15177,50 @@ var Popover = css69`
15391
15177
  `;
15392
15178
 
15393
15179
  // src/components/Popover/Popover.tsx
15394
- import { Fragment as Fragment13, jsx as jsx95, jsxs as jsxs65 } from "@emotion/react/jsx-runtime";
15180
+ import { Fragment as Fragment14, jsx as jsx91, jsxs as jsxs61 } from "@emotion/react/jsx-runtime";
15395
15181
  var Popover2 = ({
15396
- iconColor = "green",
15182
+ iconColor = "action",
15397
15183
  icon = "info",
15398
15184
  iconSize = "1rem",
15399
15185
  buttonText,
15400
15186
  ariaLabel,
15401
15187
  placement = "bottom",
15188
+ testId,
15402
15189
  children
15403
15190
  }) => {
15404
15191
  const popover = usePopoverState({ placement });
15405
- return /* @__PURE__ */ jsxs65(Fragment13, { children: [
15406
- /* @__PURE__ */ jsxs65(PopoverDisclosure, { ...popover, css: PopoverBtn, title: buttonText, children: [
15407
- /* @__PURE__ */ jsx95(Icon, { icon, iconColor, size: iconSize }),
15408
- /* @__PURE__ */ jsx95("span", { hidden: true, children: buttonText })
15192
+ return /* @__PURE__ */ jsxs61(Fragment14, { children: [
15193
+ /* @__PURE__ */ jsxs61(PopoverDisclosure, { ...popover, css: PopoverBtn, title: buttonText, "data-test-id": testId, children: [
15194
+ /* @__PURE__ */ jsx91(Icon, { icon, iconColor, size: iconSize }),
15195
+ /* @__PURE__ */ jsx91("span", { hidden: true, children: buttonText })
15409
15196
  ] }),
15410
- /* @__PURE__ */ jsx95(Portal2, { children: /* @__PURE__ */ jsx95(ReakitPopover, { css: Popover, ...popover, "aria-label": ariaLabel, children }) })
15197
+ /* @__PURE__ */ jsx91(Portal2, { children: /* @__PURE__ */ jsx91(ReakitPopover, { css: Popover, ...popover, "aria-label": ariaLabel, children }) })
15411
15198
  ] });
15412
15199
  };
15413
15200
 
15414
15201
  // src/components/ProgressList/ProgressList.tsx
15415
- import { css as css71 } from "@emotion/react";
15416
- import { useMemo as useMemo3 } from "react";
15202
+ import { css as css67 } from "@emotion/react";
15203
+ import { useMemo as useMemo2 } from "react";
15417
15204
  import { CgCheckO, CgRadioCheck, CgRecord } from "react-icons/cg";
15418
15205
 
15419
15206
  // src/components/ProgressList/styles/ProgressList.styles.ts
15420
- import { css as css70 } from "@emotion/react";
15421
- var progressListStyles = css70`
15207
+ import { css as css66 } from "@emotion/react";
15208
+ var progressListStyles = css66`
15422
15209
  display: flex;
15423
15210
  flex-direction: column;
15424
15211
  gap: var(--spacing-sm);
15425
15212
  list-style-type: none;
15426
15213
  `;
15427
- var progressListItemStyles = css70`
15214
+ var progressListItemStyles = css66`
15428
15215
  display: flex;
15429
15216
  gap: var(--spacing-base);
15430
15217
  align-items: center;
15431
15218
  `;
15432
15219
 
15433
15220
  // src/components/ProgressList/ProgressList.tsx
15434
- import { jsx as jsx96, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
15221
+ import { jsx as jsx92, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
15435
15222
  var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
15436
- const itemsWithStatus = useMemo3(() => {
15223
+ const itemsWithStatus = useMemo2(() => {
15437
15224
  const indexOfInProgressItem = items.findIndex(({ id }) => id === inProgressId);
15438
15225
  return items.map((item, index) => {
15439
15226
  let status = "queued";
@@ -15445,8 +15232,8 @@ var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
15445
15232
  return { ...item, status };
15446
15233
  });
15447
15234
  }, [items, inProgressId]);
15448
- return /* @__PURE__ */ jsx96("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
15449
- return /* @__PURE__ */ jsx96(
15235
+ return /* @__PURE__ */ jsx92("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
15236
+ return /* @__PURE__ */ jsx92(
15450
15237
  ProgressListItem,
15451
15238
  {
15452
15239
  status,
@@ -15466,7 +15253,7 @@ var ProgressListItem = ({
15466
15253
  errorLevel = "danger",
15467
15254
  autoEllipsis = false
15468
15255
  }) => {
15469
- const Icon2 = useMemo3(() => {
15256
+ const Icon2 = useMemo2(() => {
15470
15257
  if (error) {
15471
15258
  return warningIcon;
15472
15259
  }
@@ -15477,14 +15264,14 @@ var ProgressListItem = ({
15477
15264
  };
15478
15265
  return iconPerStatus[status];
15479
15266
  }, [status, error]);
15480
- const statusStyles = useMemo3(() => {
15267
+ const statusStyles = useMemo2(() => {
15481
15268
  if (error) {
15482
- return errorLevel === "caution" ? css71`
15269
+ return errorLevel === "caution" ? css67`
15483
15270
  color: rgb(161, 98, 7);
15484
15271
  & svg {
15485
15272
  color: rgb(250, 204, 21);
15486
15273
  }
15487
- ` : css71`
15274
+ ` : css67`
15488
15275
  color: rgb(185, 28, 28);
15489
15276
  & svg {
15490
15277
  color: var(--brand-primary-2);
@@ -15492,40 +15279,221 @@ var ProgressListItem = ({
15492
15279
  `;
15493
15280
  }
15494
15281
  const colorPerStatus = {
15495
- completed: css71`
15282
+ completed: css67`
15496
15283
  opacity: 0.75;
15497
15284
  `,
15498
- inProgress: css71`
15285
+ inProgress: css67`
15499
15286
  -webkit-text-stroke-width: thin;
15500
15287
  `,
15501
- queued: css71`
15288
+ queued: css67`
15502
15289
  opacity: 0.5;
15503
15290
  `
15504
15291
  };
15505
15292
  return colorPerStatus[status];
15506
15293
  }, [status, error, errorLevel]);
15507
- return /* @__PURE__ */ jsxs66("li", { css: [progressListItemStyles, statusStyles], children: [
15508
- /* @__PURE__ */ jsx96(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ jsx96("div", { children: /* @__PURE__ */ jsx96(Icon2, { size: 20 }) }) }),
15509
- /* @__PURE__ */ jsxs66("div", { children: [
15294
+ return /* @__PURE__ */ jsxs62("li", { css: [progressListItemStyles, statusStyles], children: [
15295
+ /* @__PURE__ */ jsx92(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ jsx92("div", { children: /* @__PURE__ */ jsx92(Icon2, { size: 20 }) }) }),
15296
+ /* @__PURE__ */ jsxs62("div", { children: [
15510
15297
  children,
15511
- /* @__PURE__ */ jsx96("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
15298
+ /* @__PURE__ */ jsx92("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
15512
15299
  ] })
15513
15300
  ] });
15514
15301
  };
15515
15302
 
15303
+ // src/components/SegmentedControl/SegmentedControl.tsx
15304
+ import { css as css69 } from "@emotion/react";
15305
+ import { useCallback as useCallback4, useMemo as useMemo3 } from "react";
15306
+ import { CgCheck as CgCheck4 } from "react-icons/cg";
15307
+
15308
+ // src/components/SegmentedControl/SegmentedControl.styles.ts
15309
+ import { css as css68 } from "@emotion/react";
15310
+ var segmentedControlStyles = css68`
15311
+ --segmented-control-rounded-value: var(--rounded-base);
15312
+ --segmented-control-border-width: 1px;
15313
+ --segmented-control-selected-color: var(--brand-secondary-3);
15314
+ --segmented-control-first-border-radius: var(--segmented-control-rounded-value) 0 0
15315
+ var(--segmented-control-rounded-value);
15316
+ --segmented-control-last-border-radius: 0 var(--segmented-control-rounded-value)
15317
+ var(--segmented-control-rounded-value) 0;
15318
+
15319
+ position: relative;
15320
+ display: flex;
15321
+ justify-content: flex-start;
15322
+ width: fit-content;
15323
+ background-color: var(--gray-300);
15324
+ padding: var(--segmented-control-border-width);
15325
+ gap: var(--segmented-control-border-width);
15326
+ border-radius: calc(var(--segmented-control-rounded-value) + var(--segmented-control-border-width));
15327
+ font-size: var(--fs-xs);
15328
+ `;
15329
+ var segmentedControlVerticalStyles = css68`
15330
+ flex-direction: column;
15331
+ --segmented-control-first-border-radius: var(--segmented-control-rounded-value)
15332
+ var(--segmented-control-rounded-value) 0 0;
15333
+ --segmented-control-last-border-radius: 0 0 var(--segmented-control-rounded-value)
15334
+ var(--segmented-control-rounded-value);
15335
+ `;
15336
+ var segmentedControlItemStyles = css68`
15337
+ &:first-of-type label {
15338
+ border-radius: var(--segmented-control-first-border-radius);
15339
+ }
15340
+ &:last-of-type label {
15341
+ border-radius: var(--segmented-control-last-border-radius);
15342
+ }
15343
+ `;
15344
+ var segmentedControlInputStyles = css68`
15345
+ clip: rect(0, 0, 0, 0);
15346
+ position: absolute;
15347
+ width: 1px;
15348
+ height: 1px;
15349
+ overflow: hidden;
15350
+ `;
15351
+ var segmentedControlLabelStyles = css68`
15352
+ position: relative;
15353
+ display: flex;
15354
+ align-items: center;
15355
+ justify-content: center;
15356
+ height: 2rem;
15357
+ padding-inline: var(--spacing-base);
15358
+ background-color: white;
15359
+ transition-property: background-color, color, box-shadow;
15360
+ transition-duration: var(--duration-xfast);
15361
+ transition-timing-function: ease-in-out;
15362
+ z-index: 1;
15363
+ cursor: pointer;
15364
+
15365
+ &:has(:checked:not(:disabled)) {
15366
+ background-color: var(--segmented-control-selected-color);
15367
+ outline: var(--segmented-control-border-width) solid var(--segmented-control-selected-color);
15368
+ box-shadow: 0 0.43em 1.7em 0 rgba(0, 0, 0, 0.15);
15369
+ color: white;
15370
+ -webkit-text-stroke-width: thin;
15371
+ z-index: 0;
15372
+ }
15373
+
15374
+ &:hover:not(:has(:disabled, :checked)) {
15375
+ background-color: var(--gray-100);
15376
+ }
15377
+
15378
+ &:has(:disabled) {
15379
+ color: var(--gray-400);
15380
+ cursor: default;
15381
+ }
15382
+
15383
+ &:has(:checked:disabled) {
15384
+ color: var(--gray-50);
15385
+ background-color: var(--gray-400);
15386
+ }
15387
+ `;
15388
+ var segmentedControlLabelIconOnlyStyles = css68`
15389
+ padding-inline: 0.5em;
15390
+ `;
15391
+ var segmentedControlLabelCheckStyles = css68`
15392
+ opacity: 0.5;
15393
+ `;
15394
+ var segmentedControlLabelContentStyles = css68`
15395
+ display: flex;
15396
+ align-items: center;
15397
+ justify-content: center;
15398
+ gap: var(--spacing-sm);
15399
+ height: 100%;
15400
+ `;
15401
+ var segmentedControlLabelTextStyles = css68``;
15402
+
15403
+ // src/components/SegmentedControl/SegmentedControl.tsx
15404
+ import { jsx as jsx93, jsxs as jsxs63 } from "@emotion/react/jsx-runtime";
15405
+ var SegmentedControl = ({
15406
+ name,
15407
+ options,
15408
+ value,
15409
+ onChange,
15410
+ noCheckmark = false,
15411
+ disabled = false,
15412
+ orientation = "horizontal",
15413
+ size = "md",
15414
+ ...props
15415
+ }) => {
15416
+ const onOptionChange = useCallback4(
15417
+ (event) => {
15418
+ if (event.target.checked) {
15419
+ onChange == null ? void 0 : onChange(options[parseInt(event.target.value)].value);
15420
+ }
15421
+ },
15422
+ [options, onChange]
15423
+ );
15424
+ const sizeStyles = useMemo3(() => {
15425
+ const map = {
15426
+ sm: css69({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
15427
+ md: css69({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
15428
+ lg: css69({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
15429
+ };
15430
+ return map[size];
15431
+ }, [size]);
15432
+ const isIconOnly = useMemo3(() => {
15433
+ return options.every((option) => option.icon && !option.label);
15434
+ }, [options]);
15435
+ return /* @__PURE__ */ jsx93(
15436
+ "div",
15437
+ {
15438
+ css: [segmentedControlStyles, orientation === "vertical" ? segmentedControlVerticalStyles : void 0],
15439
+ ...props,
15440
+ children: options.map((option, index) => {
15441
+ const text = option.label ? option.label : option.icon ? null : String(option.value);
15442
+ const isDisabled = disabled || option.disabled;
15443
+ return /* @__PURE__ */ jsx93(
15444
+ Tooltip,
15445
+ {
15446
+ title: isDisabled || !option.tooltip ? "" : option.tooltip,
15447
+ children: /* @__PURE__ */ jsx93("div", { css: segmentedControlItemStyles, "data-test-id": "container-segmented-control", children: /* @__PURE__ */ jsxs63(
15448
+ "label",
15449
+ {
15450
+ css: [
15451
+ segmentedControlLabelStyles,
15452
+ sizeStyles,
15453
+ isIconOnly ? segmentedControlLabelIconOnlyStyles : void 0
15454
+ ],
15455
+ children: [
15456
+ /* @__PURE__ */ jsx93(
15457
+ "input",
15458
+ {
15459
+ css: segmentedControlInputStyles,
15460
+ type: "radio",
15461
+ name,
15462
+ value: index,
15463
+ checked: option.value === value,
15464
+ onChange: onOptionChange,
15465
+ disabled: isDisabled
15466
+ }
15467
+ ),
15468
+ option.value !== value || noCheckmark ? null : /* @__PURE__ */ jsx93(CgCheck4, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
15469
+ /* @__PURE__ */ jsxs63("span", { css: segmentedControlLabelContentStyles, children: [
15470
+ !option.icon ? null : /* @__PURE__ */ jsx93(option.icon, { size: "1.5em" }),
15471
+ !text ? null : /* @__PURE__ */ jsx93("span", { css: segmentedControlLabelTextStyles, children: text })
15472
+ ] })
15473
+ ]
15474
+ }
15475
+ ) })
15476
+ },
15477
+ JSON.stringify(option.value)
15478
+ );
15479
+ })
15480
+ }
15481
+ );
15482
+ };
15483
+
15516
15484
  // src/components/Skeleton/Skeleton.styles.ts
15517
- import { css as css72, keyframes as keyframes4 } from "@emotion/react";
15485
+ import { css as css70, keyframes as keyframes4 } from "@emotion/react";
15518
15486
  var lightFadingOut = keyframes4`
15519
15487
  from { opacity: 0.1; }
15520
15488
  to { opacity: 0.025; }
15521
15489
  `;
15522
- var skeletonStyles = css72`
15490
+ var skeletonStyles = css70`
15523
15491
  animation: ${lightFadingOut} 1s ease-out infinite alternate;
15524
15492
  background-color: var(--gray-900);
15525
15493
  `;
15526
15494
 
15527
15495
  // src/components/Skeleton/Skeleton.tsx
15528
- import { jsx as jsx97 } from "@emotion/react/jsx-runtime";
15496
+ import { jsx as jsx94 } from "@emotion/react/jsx-runtime";
15529
15497
  var Skeleton = ({
15530
15498
  width = "100%",
15531
15499
  height = "1.25rem",
@@ -15533,7 +15501,7 @@ var Skeleton = ({
15533
15501
  circle = false,
15534
15502
  children,
15535
15503
  ...otherProps
15536
- }) => /* @__PURE__ */ jsx97(
15504
+ }) => /* @__PURE__ */ jsx94(
15537
15505
  "div",
15538
15506
  {
15539
15507
  css: [
@@ -15553,11 +15521,11 @@ var Skeleton = ({
15553
15521
  );
15554
15522
 
15555
15523
  // src/components/Switch/Switch.tsx
15556
- import * as React20 from "react";
15524
+ import * as React19 from "react";
15557
15525
 
15558
15526
  // src/components/Switch/Switch.styles.ts
15559
- import { css as css73 } from "@emotion/react";
15560
- var SwitchInputContainer = css73`
15527
+ import { css as css71 } from "@emotion/react";
15528
+ var SwitchInputContainer = css71`
15561
15529
  cursor: pointer;
15562
15530
  display: inline-block;
15563
15531
  position: relative;
@@ -15566,7 +15534,7 @@ var SwitchInputContainer = css73`
15566
15534
  vertical-align: middle;
15567
15535
  user-select: none;
15568
15536
  `;
15569
- var SwitchInput = css73`
15537
+ var SwitchInput = css71`
15570
15538
  appearance: none;
15571
15539
  border-radius: var(--rounded-full);
15572
15540
  background-color: var(--white);
@@ -15604,7 +15572,7 @@ var SwitchInput = css73`
15604
15572
  cursor: not-allowed;
15605
15573
  }
15606
15574
  `;
15607
- var SwitchInputDisabled = css73`
15575
+ var SwitchInputDisabled = css71`
15608
15576
  opacity: var(--opacity-50);
15609
15577
  cursor: not-allowed;
15610
15578
 
@@ -15612,7 +15580,7 @@ var SwitchInputDisabled = css73`
15612
15580
  cursor: not-allowed;
15613
15581
  }
15614
15582
  `;
15615
- var SwitchInputLabel = css73`
15583
+ var SwitchInputLabel = css71`
15616
15584
  align-items: center;
15617
15585
  color: var(--brand-secondary-1);
15618
15586
  display: inline-flex;
@@ -15634,98 +15602,98 @@ var SwitchInputLabel = css73`
15634
15602
  top: 0;
15635
15603
  }
15636
15604
  `;
15637
- var SwitchText = css73`
15605
+ var SwitchText = css71`
15638
15606
  color: var(--gray-500);
15639
15607
  font-size: var(--fs-sm);
15640
15608
  padding-inline: var(--spacing-2xl) 0;
15641
15609
  `;
15642
15610
 
15643
15611
  // src/components/Switch/Switch.tsx
15644
- import { Fragment as Fragment14, jsx as jsx98, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
15645
- var Switch = React20.forwardRef(
15612
+ import { Fragment as Fragment15, jsx as jsx95, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
15613
+ var Switch = React19.forwardRef(
15646
15614
  ({ label, infoText, toggleText, children, ...inputProps }, ref) => {
15647
15615
  let additionalText = infoText;
15648
15616
  if (infoText && toggleText) {
15649
15617
  additionalText = inputProps.checked ? toggleText : infoText;
15650
15618
  }
15651
- return /* @__PURE__ */ jsxs67(Fragment14, { children: [
15652
- /* @__PURE__ */ jsxs67("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
15653
- /* @__PURE__ */ jsx98("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
15654
- /* @__PURE__ */ jsx98("span", { css: SwitchInputLabel, children: label })
15619
+ return /* @__PURE__ */ jsxs64(Fragment15, { children: [
15620
+ /* @__PURE__ */ jsxs64("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
15621
+ /* @__PURE__ */ jsx95("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
15622
+ /* @__PURE__ */ jsx95("span", { css: SwitchInputLabel, children: label })
15655
15623
  ] }),
15656
- additionalText ? /* @__PURE__ */ jsx98("p", { css: SwitchText, children: additionalText }) : null,
15624
+ additionalText ? /* @__PURE__ */ jsx95("p", { css: SwitchText, children: additionalText }) : null,
15657
15625
  children
15658
15626
  ] });
15659
15627
  }
15660
15628
  );
15661
15629
 
15662
15630
  // src/components/Table/Table.tsx
15663
- import * as React21 from "react";
15631
+ import * as React20 from "react";
15664
15632
 
15665
15633
  // src/components/Table/Table.styles.ts
15666
- import { css as css74 } from "@emotion/react";
15667
- var table = css74`
15634
+ import { css as css72 } from "@emotion/react";
15635
+ var table = css72`
15668
15636
  border-bottom: 1px solid var(--gray-400);
15669
15637
  border-collapse: collapse;
15670
15638
  min-width: 100%;
15671
15639
  table-layout: auto;
15672
15640
  `;
15673
- var tableHead = css74`
15641
+ var tableHead = css72`
15674
15642
  background: var(--gray-100);
15675
15643
  color: var(--brand-secondary-1);
15676
15644
  text-align: left;
15677
15645
  `;
15678
- var tableRow = css74`
15646
+ var tableRow = css72`
15679
15647
  border-bottom: 1px solid var(--gray-200);
15680
15648
  `;
15681
- var tableCellHead = css74`
15649
+ var tableCellHead = css72`
15682
15650
  font-size: var(--fs-sm);
15683
15651
  padding: var(--spacing-base) var(--spacing-md);
15684
15652
  text-transform: uppercase;
15685
15653
  font-weight: var(--fw-bold);
15686
15654
  `;
15687
- var tableCellData = css74`
15655
+ var tableCellData = css72`
15688
15656
  padding: var(--spacing-base) var(--spacing-md);
15689
15657
  `;
15690
15658
 
15691
15659
  // src/components/Table/Table.tsx
15692
- import { jsx as jsx99 } from "@emotion/react/jsx-runtime";
15693
- var Table = React21.forwardRef(({ children, ...otherProps }, ref) => {
15694
- return /* @__PURE__ */ jsx99("table", { ref, css: table, ...otherProps, children });
15660
+ import { jsx as jsx96 } from "@emotion/react/jsx-runtime";
15661
+ var Table = React20.forwardRef(({ children, ...otherProps }, ref) => {
15662
+ return /* @__PURE__ */ jsx96("table", { ref, css: table, ...otherProps, children });
15695
15663
  });
15696
- var TableHead = React21.forwardRef(
15664
+ var TableHead = React20.forwardRef(
15697
15665
  ({ children, ...otherProps }, ref) => {
15698
- return /* @__PURE__ */ jsx99("thead", { ref, css: tableHead, ...otherProps, children });
15666
+ return /* @__PURE__ */ jsx96("thead", { ref, css: tableHead, ...otherProps, children });
15699
15667
  }
15700
15668
  );
15701
- var TableBody = React21.forwardRef(
15669
+ var TableBody = React20.forwardRef(
15702
15670
  ({ children, ...otherProps }, ref) => {
15703
- return /* @__PURE__ */ jsx99("tbody", { ref, ...otherProps, children });
15671
+ return /* @__PURE__ */ jsx96("tbody", { ref, ...otherProps, children });
15704
15672
  }
15705
15673
  );
15706
- var TableFoot = React21.forwardRef(
15674
+ var TableFoot = React20.forwardRef(
15707
15675
  ({ children, ...otherProps }, ref) => {
15708
- return /* @__PURE__ */ jsx99("tfoot", { ref, ...otherProps, children });
15676
+ return /* @__PURE__ */ jsx96("tfoot", { ref, ...otherProps, children });
15709
15677
  }
15710
15678
  );
15711
- var TableRow = React21.forwardRef(
15679
+ var TableRow = React20.forwardRef(
15712
15680
  ({ children, ...otherProps }, ref) => {
15713
- return /* @__PURE__ */ jsx99("tr", { ref, css: tableRow, ...otherProps, children });
15681
+ return /* @__PURE__ */ jsx96("tr", { ref, css: tableRow, ...otherProps, children });
15714
15682
  }
15715
15683
  );
15716
- var TableCellHead = React21.forwardRef(
15684
+ var TableCellHead = React20.forwardRef(
15717
15685
  ({ children, ...otherProps }, ref) => {
15718
- return /* @__PURE__ */ jsx99("th", { ref, css: tableCellHead, ...otherProps, children });
15686
+ return /* @__PURE__ */ jsx96("th", { ref, css: tableCellHead, ...otherProps, children });
15719
15687
  }
15720
15688
  );
15721
- var TableCellData = React21.forwardRef(
15689
+ var TableCellData = React20.forwardRef(
15722
15690
  ({ children, ...otherProps }, ref) => {
15723
- return /* @__PURE__ */ jsx99("td", { ref, css: tableCellData, ...otherProps, children });
15691
+ return /* @__PURE__ */ jsx96("td", { ref, css: tableCellData, ...otherProps, children });
15724
15692
  }
15725
15693
  );
15726
15694
 
15727
15695
  // src/components/Tabs/Tabs.tsx
15728
- import { createContext as createContext6, useContext as useContext7, useEffect as useEffect11, useMemo as useMemo4 } from "react";
15696
+ import { createContext as createContext6, useContext as useContext7, useEffect as useEffect10, useMemo as useMemo4 } from "react";
15729
15697
  import {
15730
15698
  Tab as ReakitTab,
15731
15699
  TabList as ReakitTabList,
@@ -15734,32 +15702,32 @@ import {
15734
15702
  } from "reakit/Tab";
15735
15703
 
15736
15704
  // src/components/Tabs/Tabs.styles.ts
15737
- import { css as css75 } from "@emotion/react";
15738
- var tabButtonStyles = css75`
15705
+ import { css as css73 } from "@emotion/react";
15706
+ var tabButtonStyles = css73`
15739
15707
  align-items: center;
15740
15708
  border: 0;
15741
15709
  height: 2.5rem;
15742
15710
  background: transparent;
15711
+ color: var(--gray-600);
15743
15712
  display: inline-flex;
15744
15713
  gap: var(--spacing-sm);
15745
15714
  font-size: var(--fs-sm);
15746
15715
  padding: var(--spacing-sm);
15747
15716
  transition: border-bottom-color var(--duration-fast);
15717
+ font-weight: var(--fw-medium);
15748
15718
 
15749
15719
  &[aria-selected='true'] {
15750
15720
  box-shadow: inset 0 -2px 0 var(--brand-secondary-3);
15751
- color: var(--brand-secondary-3);
15752
- -webkit-text-stroke-width: thin;
15753
15721
  }
15754
15722
  `;
15755
- var tabButtonGroupStyles = css75`
15723
+ var tabButtonGroupStyles = css73`
15756
15724
  display: flex;
15757
15725
  gap: var(--spacing-base);
15758
15726
  border-bottom: 1px solid var(--gray-300);
15759
15727
  `;
15760
15728
 
15761
15729
  // src/components/Tabs/Tabs.tsx
15762
- import { jsx as jsx100 } from "@emotion/react/jsx-runtime";
15730
+ import { jsx as jsx97 } from "@emotion/react/jsx-runtime";
15763
15731
  var CurrentTabContext = createContext6(null);
15764
15732
  var useCurrentTab = () => {
15765
15733
  const context = useContext7(CurrentTabContext);
@@ -15775,7 +15743,7 @@ var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...prop
15775
15743
  return useHashForState && typeof window !== "undefined" && window.location.hash ? window.location.hash.substring(1) : void 0;
15776
15744
  }, [selectedId, useHashForState]);
15777
15745
  const tab = useTabState({ ...props, selectedId: selected });
15778
- useEffect11(() => {
15746
+ useEffect10(() => {
15779
15747
  var _a;
15780
15748
  const selectedValueWithoutNull = (_a = tab.selectedId) != null ? _a : void 0;
15781
15749
  onSelectedIdChange == null ? void 0 : onSelectedIdChange(selectedValueWithoutNull);
@@ -15783,24 +15751,116 @@ var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...prop
15783
15751
  window.location.hash = selectedValueWithoutNull != null ? selectedValueWithoutNull : "";
15784
15752
  }
15785
15753
  }, [tab.selectedId, onSelectedIdChange, useHashForState]);
15786
- useEffect11(() => {
15754
+ useEffect10(() => {
15787
15755
  if (selected && selected !== tab.selectedId) {
15788
15756
  tab.setSelectedId(selected);
15789
15757
  }
15790
15758
  }, [selected]);
15791
- return /* @__PURE__ */ jsx100(CurrentTabContext.Provider, { value: tab, children });
15759
+ return /* @__PURE__ */ jsx97(CurrentTabContext.Provider, { value: tab, children });
15792
15760
  };
15793
15761
  var TabButtonGroup = ({ children, ...props }) => {
15794
15762
  const currentTab = useCurrentTab();
15795
- return /* @__PURE__ */ jsx100(ReakitTabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
15763
+ return /* @__PURE__ */ jsx97(ReakitTabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
15796
15764
  };
15797
15765
  var TabButton = ({ children, id, ...props }) => {
15798
15766
  const currentTab = useCurrentTab();
15799
- return /* @__PURE__ */ jsx100(ReakitTab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
15767
+ return /* @__PURE__ */ jsx97(ReakitTab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
15800
15768
  };
15801
15769
  var TabContent = ({ children, ...props }) => {
15802
15770
  const currentTab = useCurrentTab();
15803
- return /* @__PURE__ */ jsx100(ReakitTabPanel, { ...props, ...currentTab, children });
15771
+ return /* @__PURE__ */ jsx97(ReakitTabPanel, { ...props, ...currentTab, children });
15772
+ };
15773
+
15774
+ // src/components/Validation/StatusBullet.styles.ts
15775
+ import { css as css74 } from "@emotion/react";
15776
+ var StatusBulletContainer = css74`
15777
+ align-items: center;
15778
+ align-self: center;
15779
+ color: var(--gray-500);
15780
+ display: inline-flex;
15781
+ font-weight: var(--fw-regular);
15782
+ gap: var(--spacing-xs);
15783
+ line-height: 1;
15784
+ position: relative;
15785
+ text-transform: lowercase;
15786
+
15787
+ &:before {
15788
+ border-radius: var(--rounded-full);
15789
+ content: '';
15790
+ display: block;
15791
+ }
15792
+ `;
15793
+ var StatusBulletBase = css74`
15794
+ font-size: var(--fs-sm);
15795
+ &:before {
15796
+ width: var(--fs-xs);
15797
+ height: var(--fs-xs);
15798
+ }
15799
+ `;
15800
+ var StatusBulletSmall = css74`
15801
+ font-size: var(--fs-xs);
15802
+ &:before {
15803
+ width: var(--fs-xxs);
15804
+ height: var(--fs-xxs);
15805
+ }
15806
+ `;
15807
+ var StatusDraft = css74`
15808
+ &:before {
15809
+ background: var(--white);
15810
+ box-shadow: inset 0 0 0 0.125rem var(--brand-primary-1);
15811
+ }
15812
+ `;
15813
+ var StatusModified = css74`
15814
+ &:before {
15815
+ background: linear-gradient(to right, var(--white) 50%, var(--brand-primary-1) 50% 100%);
15816
+ box-shadow: inset 0 0 0 0.125rem var(--brand-primary-1);
15817
+ }
15818
+ `;
15819
+ var StatusError = css74`
15820
+ color: var(--error);
15821
+ &:before {
15822
+ background: linear-gradient(120deg, var(--error) 40%, var(--white) 50%, var(--error) 60%);
15823
+ }
15824
+ `;
15825
+ var StatusPublished = css74`
15826
+ &:before {
15827
+ background: var(--brand-secondary-3);
15828
+ }
15829
+ `;
15830
+ var StatusOrphan = css74`
15831
+ &:before {
15832
+ background: var(--brand-secondary-5);
15833
+ }
15834
+ `;
15835
+
15836
+ // src/components/Validation/StatusBullet.tsx
15837
+ import { jsx as jsx98 } from "@emotion/react/jsx-runtime";
15838
+ var StatusBullet = ({
15839
+ status,
15840
+ hideText = false,
15841
+ size = "base",
15842
+ message,
15843
+ ...props
15844
+ }) => {
15845
+ const currentStateStyles = {
15846
+ Error: StatusError,
15847
+ Modified: StatusModified,
15848
+ Unsaved: StatusDraft,
15849
+ Orphan: StatusOrphan,
15850
+ Published: StatusPublished,
15851
+ Draft: StatusDraft
15852
+ };
15853
+ const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
15854
+ return /* @__PURE__ */ jsx98(
15855
+ "span",
15856
+ {
15857
+ role: "status",
15858
+ css: [StatusBulletContainer, currentStateStyles[status], statusSize],
15859
+ title: message != null ? message : status,
15860
+ ...props,
15861
+ children: hideText ? null : message ? message : status
15862
+ }
15863
+ );
15804
15864
  };
15805
15865
  export {
15806
15866
  AddButton,
@@ -15816,12 +15876,14 @@ export {
15816
15876
  CardContainer2 as CardContainer,
15817
15877
  CardTitle2 as CardTitle,
15818
15878
  CheckboxWithInfo,
15879
+ Chip,
15819
15880
  ConnectToDataElementButton,
15820
15881
  Container2 as Container,
15821
15882
  Counter,
15822
15883
  CreateTeamIntegrationTile,
15823
15884
  DashedBox,
15824
15885
  Details,
15886
+ DismissibleChipAction,
15825
15887
  Drawer,
15826
15888
  DrawerProvider,
15827
15889
  DrawerRenderer,
@@ -15830,6 +15892,7 @@ export {
15830
15892
  Fieldset,
15831
15893
  Heading,
15832
15894
  HexModalBackground,
15895
+ HorizontalRhythm,
15833
15896
  Icon,
15834
15897
  IconsProvider,
15835
15898
  InfoMessage,
@@ -15862,10 +15925,6 @@ export {
15862
15925
  MenuGroup,
15863
15926
  MenuItem,
15864
15927
  MenuItemSeparator,
15865
- ObjectCompositionListItem,
15866
- ObjectListContainer,
15867
- ObjectListItemLoadingSkeleton,
15868
- ObjectPersonalizationListItem,
15869
15928
  PageHeaderSection,
15870
15929
  Paragraph,
15871
15930
  ParameterDataResource,
@@ -15928,8 +15987,10 @@ export {
15928
15987
  borderTopIcon,
15929
15988
  breakpoints,
15930
15989
  button,
15990
+ buttonDestructive,
15931
15991
  buttonGhost,
15932
15992
  buttonGhostDestructive,
15993
+ buttonGhostUnimportant,
15933
15994
  buttonPrimary,
15934
15995
  buttonPrimaryInvert,
15935
15996
  buttonRippleEffect,