@uniformdev/design-system 19.36.1-alpha.4 → 19.36.1-alpha.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -357,7 +357,7 @@ var buttonSecondary = css`
357
357
  color: var(--white);
358
358
 
359
359
  &:disabled {
360
- background: var(--gray-300);z
360
+ background: var(--gray-300);
361
361
  color: var(--white);
362
362
  }
363
363
 
@@ -1043,6 +1043,9 @@ var IconColorAction = css8`
1043
1043
  var IconColorAccent = css8`
1044
1044
  color: var(--accent-alt-dark);
1045
1045
  `;
1046
+ var IconColorAccentLight = css8`
1047
+ color: var(--accent-light);
1048
+ `;
1046
1049
 
1047
1050
  // src/components/Icons/IconsProvider.tsx
1048
1051
  import { paramCase } from "param-case";
@@ -1093,7 +1096,8 @@ var IconInner = ({ icon, iconColor = "default", size = "1.5rem", ...otherProps }
1093
1096
  gray: IconColorGray,
1094
1097
  red: IconColorRed,
1095
1098
  accent: IconColorAccent,
1096
- currentColor: IconColorCurrent
1099
+ currentColor: IconColorCurrent,
1100
+ "accent-light": IconColorAccentLight
1097
1101
  };
1098
1102
  if (isIconName && isLoading) {
1099
1103
  return null;
@@ -1658,6 +1662,44 @@ var yesNoIcon = GenIcon({
1658
1662
  }
1659
1663
  ]
1660
1664
  });
1665
+ var diamondOutline = GenIcon({
1666
+ tag: "svg",
1667
+ attr: {
1668
+ role: "img",
1669
+ viewBox: "0 0 16 16"
1670
+ },
1671
+ child: [
1672
+ {
1673
+ tag: "path",
1674
+ attr: {
1675
+ fill: "currentColor",
1676
+ fillRule: "evenodd",
1677
+ clipRule: "evenodd",
1678
+ d: "M7.99979 5.64298L5.64277 8L7.99979 10.357L10.3568 8L7.99979 5.64298ZM3.875 8L7.99979 12.1248L12.1246 8L7.99979 3.87521L3.875 8Z"
1679
+ },
1680
+ child: []
1681
+ }
1682
+ ]
1683
+ });
1684
+ var diamondFill = GenIcon({
1685
+ tag: "svg",
1686
+ attr: {
1687
+ role: "img",
1688
+ viewBox: "0 0 16 16"
1689
+ },
1690
+ child: [
1691
+ {
1692
+ tag: "path",
1693
+ attr: {
1694
+ fill: "currentColor",
1695
+ fillRule: "evenodd",
1696
+ clipRule: "evenodd",
1697
+ d: "M3.875 8L7.99979 12.1248L12.1246 8L7.99979 3.87521L3.875 8Z"
1698
+ },
1699
+ child: []
1700
+ }
1701
+ ]
1702
+ });
1661
1703
  var customIcons = {
1662
1704
  "rectangle-rounded": rectangleRoundedIcon,
1663
1705
  card: cardIcon,
@@ -1679,7 +1721,9 @@ var customIcons = {
1679
1721
  "format-subscript": formatSubscript,
1680
1722
  "layout-list-numbered": layoutListNumberedIcon,
1681
1723
  "clear-formatting": clearFormatting,
1682
- "yes-no": yesNoIcon
1724
+ "yes-no": yesNoIcon,
1725
+ "diamond-outline": diamondOutline,
1726
+ "diamond-fill": diamondFill
1683
1727
  };
1684
1728
 
1685
1729
  // src/components/AddListButton/AddListButton.styles.ts
@@ -11306,10 +11350,10 @@ import React7, { isValidElement } from "react";
11306
11350
 
11307
11351
  // src/components/Menu/MenuGroup.styles.ts
11308
11352
  import { css as css23 } from "@emotion/react";
11309
- var MenuGroupContainer = css23`
11353
+ var MenuGroupContainer = (hasTitle) => css23`
11310
11354
  display: flex;
11311
11355
  flex-direction: column;
11312
- margin-top: var(--spacing-sm);
11356
+ ${hasTitle ? "margin-top: var(--spacing-sm);" : ""}
11313
11357
  `;
11314
11358
  var MenuTitle = css23`
11315
11359
  color: var(--gray-400);
@@ -11322,8 +11366,8 @@ var MenuTitle = css23`
11322
11366
  // src/components/Menu/MenuGroup.tsx
11323
11367
  import { jsx as jsx23, jsxs as jsxs14 } from "@emotion/react/jsx-runtime";
11324
11368
  var MenuGroup = ({ title, children }) => {
11325
- return /* @__PURE__ */ jsxs14("div", { css: MenuGroupContainer, "data-test-id": "menu-group", children: [
11326
- /* @__PURE__ */ jsx23("span", { css: MenuTitle, children: title }),
11369
+ return /* @__PURE__ */ jsxs14("div", { css: MenuGroupContainer(!!title), "data-test-id": "menu-group", children: [
11370
+ title ? /* @__PURE__ */ jsx23("span", { css: MenuTitle, children: title }) : null,
11327
11371
  children
11328
11372
  ] });
11329
11373
  };
@@ -11440,6 +11484,10 @@ var menu = css25`
11440
11484
  overflow: hidden;
11441
11485
  position: relative;
11442
11486
  z-index: var(--z-50);
11487
+
11488
+ &:focus {
11489
+ outline: none;
11490
+ }
11443
11491
  `;
11444
11492
 
11445
11493
  // src/components/Menu/Menu.tsx
@@ -12292,7 +12340,6 @@ import { CgClose as CgClose3 } from "react-icons/cg";
12292
12340
  import { css as css36 } from "@emotion/react";
12293
12341
  var ChipContainer = css36`
12294
12342
  border-radius: var(--rounded-full);
12295
- background: lime;
12296
12343
  display: inline-flex;
12297
12344
  transition: background var(--duration-fast) var(--timing-ease-out),
12298
12345
  color var(--duration-fast) var(--timing-ease-out);
@@ -12354,6 +12401,9 @@ var ChipMedium = css36`
12354
12401
  padding: var(--spacing-sm) var(--spacing-xs);
12355
12402
  }
12356
12403
  `;
12404
+ var ChipMultiline = css36`
12405
+ padding-inline: var(--spacing-sm);
12406
+ `;
12357
12407
  var ChipThemeAccentLight = css36`
12358
12408
  background: var(--accent-light);
12359
12409
  color: var(--brand-secondary-1);
@@ -12479,6 +12529,14 @@ var ChipActionButton = css36`
12479
12529
 
12480
12530
  // src/components/Chip/Chip.tsx
12481
12531
  import { Fragment as Fragment5, jsx as jsx37, jsxs as jsxs22 } from "@emotion/react/jsx-runtime";
12532
+ var chipTheme = {
12533
+ "accent-light": ChipThemeAccentLight,
12534
+ "accent-dark": ChipThemeAccentDark,
12535
+ "accent-alt-light": ChipAltThemeAccentLight,
12536
+ "accent-alt-dark": ChipAltThemeAccentDark,
12537
+ "neutral-light": ChipThemeNeutralLight,
12538
+ "neutral-dark": ChipThemeNeutralDark
12539
+ };
12482
12540
  var Chip = ({
12483
12541
  icon,
12484
12542
  text,
@@ -12492,14 +12550,6 @@ var Chip = ({
12492
12550
  sm: ChipSmall,
12493
12551
  md: ChipMedium
12494
12552
  };
12495
- const chipTheme = {
12496
- "accent-light": ChipThemeAccentLight,
12497
- "accent-dark": ChipThemeAccentDark,
12498
- "accent-alt-light": ChipAltThemeAccentLight,
12499
- "accent-alt-dark": ChipAltThemeAccentDark,
12500
- "neutral-light": ChipThemeNeutralLight,
12501
- "neutral-dark": ChipThemeNeutralDark
12502
- };
12503
12553
  return /* @__PURE__ */ jsxs22("span", { css: [ChipContainer, chipSize[size], chipTheme[theme]], ...props, children: [
12504
12554
  icon ? /* @__PURE__ */ jsxs22(Fragment5, { children: [
12505
12555
  /* @__PURE__ */ jsx37("span", { role: "presentation", css: [ChipIcon], children: /* @__PURE__ */ jsx37(Icon, { icon, iconColor: "currentColor", size: "1rem" }) }),
@@ -12523,9 +12573,96 @@ var DismissibleChipAction = ({ onDismiss, ...props }) => {
12523
12573
  );
12524
12574
  };
12525
12575
 
12526
- // src/components/Counter/Counter.styles.ts
12576
+ // src/components/Chip/MultilineChip.styles.ts
12527
12577
  import { css as css37 } from "@emotion/react";
12528
- var counterContainer = (bgColor) => css37`
12578
+ var MultilineChipContainer = css37`
12579
+ --accent-primary-dark-rgb: 121, 83, 198; /* #7953C6 --purple-rain-400 */
12580
+ --accent-primary-dark-hover-rgb: 144, 104, 227; /* #9068E3 --purple-rain-400 */
12581
+ --gradient-rgb: var(--accent-primary-dark-rgb);
12582
+ --gradient-rgb-hover: var(--accent-primary-dark-hover-rgb);
12583
+ border-radius: var(--rounded-full);
12584
+ background: radial-gradient(
12585
+ farthest-side at 100%,
12586
+ rgba(var(--gradient-rgb), 0) 0%,
12587
+ rgba(var(--gradient-rgb), 0.2) 80%,
12588
+ rgba(var(--gradient-rgb), 0.4) 100%
12589
+ )
12590
+ no-repeat center left,
12591
+ linear-gradient(
12592
+ 180deg,
12593
+ rgba(var(--gradient-rgb), 0.4) 0%,
12594
+ rgba(var(--gradient-rgb), 0.2) 10%,
12595
+ rgba(var(--gradient-rgb), 0) 50%,
12596
+ rgba(var(--gradient-rgb), 0.2) 90%,
12597
+ rgba(var(--gradient-rgb), 0.4) 100%
12598
+ )
12599
+ no-repeat var(--spacing-sm),
12600
+ radial-gradient(
12601
+ farthest-side at 0%,
12602
+ rgba(var(--gradient-rgb), 0) 0%,
12603
+ rgba(var(--gradient-rgb), 0.2) 80%,
12604
+ rgba(var(--gradient-rgb), 0.4) 100%
12605
+ )
12606
+ no-repeat center right;
12607
+ background-size: var(--spacing-sm), calc(100% - var(--spacing-base)), var(--spacing-sm);
12608
+ color: var(--purple-rain-600);
12609
+ padding-inline: calc(var(--spacing-sm) * 1.4);
12610
+ transition: background 200ms ease-out;
12611
+
12612
+ &[role='button'] {
12613
+ border: none;
12614
+ &:hover,
12615
+ &:focus {
12616
+ background: radial-gradient(
12617
+ farthest-side at 100%,
12618
+ rgba(var(--gradient-rgb-hover), 0) 0%,
12619
+ rgba(var(--gradient-rgb-hover), 0.2) 80%,
12620
+ rgba(var(--gradient-rgb-hover), 0.4) 100%
12621
+ )
12622
+ no-repeat center left,
12623
+ linear-gradient(
12624
+ 180deg,
12625
+ rgba(var(--gradient-rgb-hover), 0.4) 0%,
12626
+ rgba(var(--gradient-rgb-hover), 0.2) 20%,
12627
+ rgba(var(--gradient-rgb-hover), 0) 50%,
12628
+ rgba(var(--gradient-rgb-hover), 0.2) 80%,
12629
+ rgba(var(--gradient-rgb-hover), 0.4) 100%
12630
+ )
12631
+ no-repeat var(--spacing-sm),
12632
+ radial-gradient(
12633
+ farthest-side at 0%,
12634
+ rgba(var(--gradient-rgb-hover), 0) 0%,
12635
+ rgba(var(--gradient-rgb-hover), 0.2) 80%,
12636
+ rgba(var(--gradient-rgb-hover), 0.4) 100%
12637
+ )
12638
+ no-repeat center right;
12639
+ background-size: var(--spacing-sm), calc(100% - var(--spacing-base)), var(--spacing-sm);
12640
+ color: var(--purple-rain-400);
12641
+ }
12642
+ }
12643
+ `;
12644
+
12645
+ // src/components/Chip/MultilineChip.tsx
12646
+ import { jsx as jsx38 } from "@emotion/react/jsx-runtime";
12647
+ var MultilineChip = ({ children, onClick, ...props }) => {
12648
+ const handleKeyboardEvent = (e) => {
12649
+ if (e.key === "Enter" || e.key === " ") {
12650
+ return onClick == null ? void 0 : onClick();
12651
+ }
12652
+ return;
12653
+ };
12654
+ const buttonProps = onClick ? {
12655
+ role: "button",
12656
+ onClick,
12657
+ onKeyDown: handleKeyboardEvent,
12658
+ tabIndex: 0
12659
+ } : {};
12660
+ return /* @__PURE__ */ jsx38("span", { css: MultilineChipContainer, "data-test-id": "chip-value", ...props, ...buttonProps, children });
12661
+ };
12662
+
12663
+ // src/components/Counter/Counter.styles.ts
12664
+ import { css as css38 } from "@emotion/react";
12665
+ var counterContainer = (bgColor) => css38`
12529
12666
  align-items: center;
12530
12667
  border-radius: var(--rounded-full);
12531
12668
  border: 1px solid var(--gray-300);
@@ -12538,16 +12675,16 @@ var counterContainer = (bgColor) => css37`
12538
12675
  width: var(--spacing-base);
12539
12676
  height: var(--spacing-base);
12540
12677
  `;
12541
- var counterZeroValue = css37`
12678
+ var counterZeroValue = css38`
12542
12679
  background: var(--brand-secondary-1);
12543
12680
  border-radius: var(--rounded-full);
12544
12681
  width: 2px;
12545
12682
  height: 2px;
12546
12683
  `;
12547
- var counterTripleValue = css37`
12684
+ var counterTripleValue = css38`
12548
12685
  position: relative;
12549
12686
  `;
12550
- var counterIcon = css37`
12687
+ var counterIcon = css38`
12551
12688
  border-radius: var(--rounded-full);
12552
12689
  background: var(--white);
12553
12690
  color: var(--brand-secondary-3);
@@ -12558,21 +12695,21 @@ var counterIcon = css37`
12558
12695
  `;
12559
12696
 
12560
12697
  // src/components/Counter/Counter.tsx
12561
- import { jsx as jsx38, jsxs as jsxs23 } from "@emotion/react/jsx-runtime";
12698
+ import { jsx as jsx39, jsxs as jsxs23 } from "@emotion/react/jsx-runtime";
12562
12699
  var Counter = ({ count, bgColor = "transparent", ...props }) => {
12563
12700
  if (typeof count === "undefined") {
12564
12701
  return null;
12565
12702
  }
12566
12703
  const isTripleDigits = count > 99 ? /* @__PURE__ */ jsxs23("span", { css: counterTripleValue, title: `${count}`, children: [
12567
12704
  "99",
12568
- /* @__PURE__ */ jsx38(Icon, { icon: "math-plus", iconColor: "currentColor", size: "0.5rem", css: counterIcon })
12705
+ /* @__PURE__ */ jsx39(Icon, { icon: "math-plus", iconColor: "currentColor", size: "0.5rem", css: counterIcon })
12569
12706
  ] }) : count;
12570
- const formatCount = count === 0 ? /* @__PURE__ */ jsx38("span", { css: counterZeroValue, title: `${count}` }) : isTripleDigits;
12571
- return /* @__PURE__ */ jsx38("div", { css: counterContainer(bgColor), ...props, children: formatCount });
12707
+ const formatCount = count === 0 ? /* @__PURE__ */ jsx39("span", { css: counterZeroValue, title: `${count}` }) : isTripleDigits;
12708
+ return /* @__PURE__ */ jsx39("div", { css: counterContainer(bgColor), ...props, children: formatCount });
12572
12709
  };
12573
12710
 
12574
12711
  // src/components/DashedBox/DashedBox.styles.ts
12575
- import { css as css38 } from "@emotion/react";
12712
+ import { css as css39 } from "@emotion/react";
12576
12713
  var minHeight = (prop) => {
12577
12714
  const values = {
12578
12715
  auto: "auto",
@@ -12591,7 +12728,7 @@ var alignItemsConvert = (props) => {
12591
12728
  };
12592
12729
  return alignment[props];
12593
12730
  };
12594
- var DashedBoxContainer = ({ textAlign, boxHeight, bgColor }) => css38`
12731
+ var DashedBoxContainer = ({ textAlign, boxHeight, bgColor }) => css39`
12595
12732
  align-items: ${alignItemsConvert(textAlign)};
12596
12733
  border: 2px dashed var(--gray-300);
12597
12734
  border-radius: var(--rounded-base);
@@ -12606,7 +12743,7 @@ var DashedBoxContainer = ({ textAlign, boxHeight, bgColor }) => css38`
12606
12743
  `;
12607
12744
 
12608
12745
  // src/components/DashedBox/DashedBox.tsx
12609
- import { jsx as jsx39 } from "@emotion/react/jsx-runtime";
12746
+ import { jsx as jsx40 } from "@emotion/react/jsx-runtime";
12610
12747
  var DashedBox = ({
12611
12748
  bgColor = "transparent",
12612
12749
  textAlign = "center",
@@ -12614,7 +12751,7 @@ var DashedBox = ({
12614
12751
  children,
12615
12752
  ...props
12616
12753
  }) => {
12617
- return /* @__PURE__ */ jsx39("div", { css: DashedBoxContainer({ bgColor, boxHeight, textAlign }), ...props, children });
12754
+ return /* @__PURE__ */ jsx40("div", { css: DashedBoxContainer({ bgColor, boxHeight, textAlign }), ...props, children });
12618
12755
  };
12619
12756
 
12620
12757
  // src/components/DescriptionList/DescriptionList.tsx
@@ -12622,33 +12759,33 @@ import React10 from "react";
12622
12759
  import { TbCheck, TbMinus } from "react-icons/tb";
12623
12760
 
12624
12761
  // src/components/DescriptionList/DescriptionList.styles.ts
12625
- import { css as css39 } from "@emotion/react";
12626
- var descriptionListStyles = css39`
12762
+ import { css as css40 } from "@emotion/react";
12763
+ var descriptionListStyles = css40`
12627
12764
  display: grid;
12628
12765
  grid-template-columns: max-content auto;
12629
12766
  gap: var(--spacing-xs) var(--spacing-md);
12630
12767
  `;
12631
- var descriptionListLabelStyles = css39`
12768
+ var descriptionListLabelStyles = css40`
12632
12769
  display: flex;
12633
12770
  align-items: center;
12634
12771
  color: var(--gray-500);
12635
12772
  `;
12636
- var descriptionListValueStyles = css39`
12773
+ var descriptionListValueStyles = css40`
12637
12774
  display: flex;
12638
12775
  align-items: center;
12639
12776
  margin: 0;
12640
12777
  `;
12641
12778
 
12642
12779
  // src/components/DescriptionList/DescriptionList.tsx
12643
- import { jsx as jsx40, jsxs as jsxs24 } from "@emotion/react/jsx-runtime";
12780
+ import { jsx as jsx41, jsxs as jsxs24 } from "@emotion/react/jsx-runtime";
12644
12781
  var DescriptionList = React10.forwardRef(
12645
12782
  ({ items, ...listProps }, ref) => {
12646
12783
  if (!(items == null ? void 0 : items.length)) {
12647
12784
  return null;
12648
12785
  }
12649
- return /* @__PURE__ */ jsx40("dl", { ref, css: descriptionListStyles, ...listProps, children: items == null ? void 0 : items.map(({ label, value }) => /* @__PURE__ */ jsxs24(React10.Fragment, { children: [
12650
- /* @__PURE__ */ jsx40("dt", { css: descriptionListLabelStyles, children: label }),
12651
- /* @__PURE__ */ jsx40("dd", { css: descriptionListValueStyles, children: typeof value === "boolean" ? /* @__PURE__ */ jsx40(DescriptionListValueBoolean, { value }) : value })
12786
+ return /* @__PURE__ */ jsx41("dl", { ref, css: descriptionListStyles, ...listProps, children: items == null ? void 0 : items.map(({ label, value }) => /* @__PURE__ */ jsxs24(React10.Fragment, { children: [
12787
+ /* @__PURE__ */ jsx41("dt", { css: descriptionListLabelStyles, children: label }),
12788
+ /* @__PURE__ */ jsx41("dd", { css: descriptionListValueStyles, children: typeof value === "boolean" ? /* @__PURE__ */ jsx41(DescriptionListValueBoolean, { value }) : value })
12652
12789
  ] }, label)) });
12653
12790
  }
12654
12791
  );
@@ -12656,15 +12793,15 @@ DescriptionList.displayName = "DescriptionList";
12656
12793
  var DescriptionListValueBoolean = ({ value }) => {
12657
12794
  const Icon2 = value ? TbCheck : TbMinus;
12658
12795
  const color = value ? "var(--accent-dark)" : "var(--gray-500)";
12659
- return /* @__PURE__ */ jsx40(Icon2, { style: { color }, strokeWidth: 3 });
12796
+ return /* @__PURE__ */ jsx41(Icon2, { style: { color }, strokeWidth: 3 });
12660
12797
  };
12661
12798
 
12662
12799
  // src/components/Details/Details.tsx
12663
12800
  import * as React11 from "react";
12664
12801
 
12665
12802
  // src/components/Details/Details.styles.ts
12666
- import { css as css40 } from "@emotion/react";
12667
- var details = css40`
12803
+ import { css as css41 } from "@emotion/react";
12804
+ var details = css41`
12668
12805
  cursor: pointer;
12669
12806
  &[open] {
12670
12807
  & > summary svg {
@@ -12672,11 +12809,11 @@ var details = css40`
12672
12809
  }
12673
12810
  }
12674
12811
  `;
12675
- var detailsContent = css40`
12812
+ var detailsContent = css41`
12676
12813
  animation: ${fadeInRtl} var(--duration-fast) var(--timing-ease-out) forwards;
12677
12814
  will-change: height;
12678
12815
  `;
12679
- var summary = css40`
12816
+ var summary = css41`
12680
12817
  align-items: center;
12681
12818
  display: grid;
12682
12819
  grid-template-columns: 1.25rem 1fr;
@@ -12689,16 +12826,16 @@ var summary = css40`
12689
12826
  display: none;
12690
12827
  }
12691
12828
  `;
12692
- var summaryIcon = css40`
12829
+ var summaryIcon = css41`
12693
12830
  transition: rotate var(--duration-fast) var(--timing-ease-out);
12694
12831
  rotate: -90deg;
12695
12832
  `;
12696
- var summaryIconVisiblyHidden = css40`
12833
+ var summaryIconVisiblyHidden = css41`
12697
12834
  visibility: hidden;
12698
12835
  `;
12699
12836
 
12700
12837
  // src/components/Details/Details.tsx
12701
- import { jsx as jsx41, jsxs as jsxs25 } from "@emotion/react/jsx-runtime";
12838
+ import { jsx as jsx42, jsxs as jsxs25 } from "@emotion/react/jsx-runtime";
12702
12839
  var Details = ({
12703
12840
  summary: summary2,
12704
12841
  children,
@@ -12726,7 +12863,7 @@ var Details = ({
12726
12863
  ...props,
12727
12864
  children: [
12728
12865
  /* @__PURE__ */ jsxs25("summary", { "data-testid": "summary", css: summary, children: [
12729
- /* @__PURE__ */ jsx41(
12866
+ /* @__PURE__ */ jsx42(
12730
12867
  Icon,
12731
12868
  {
12732
12869
  css: [!children ? summaryIconVisiblyHidden : void 0, summaryIcon],
@@ -12737,7 +12874,7 @@ var Details = ({
12737
12874
  ),
12738
12875
  summary2
12739
12876
  ] }),
12740
- memoizedIsOpen ? /* @__PURE__ */ jsx41("div", { "data-testid": "details-content", css: detailsContent, children }) : null
12877
+ memoizedIsOpen ? /* @__PURE__ */ jsx42("div", { "data-testid": "details-content", css: detailsContent, children }) : null
12741
12878
  ]
12742
12879
  }
12743
12880
  );
@@ -12749,8 +12886,8 @@ import { createPortal } from "react-dom";
12749
12886
  import { CgChevronRight } from "react-icons/cg";
12750
12887
 
12751
12888
  // src/components/Drawer/Drawer.styles.ts
12752
- import { css as css41, keyframes as keyframes2 } from "@emotion/react";
12753
- var drawerStyles = (bgColor = "var(--white)") => css41`
12889
+ import { css as css42, keyframes as keyframes2 } from "@emotion/react";
12890
+ var drawerStyles = (bgColor = "var(--white)") => css42`
12754
12891
  background-color: ${bgColor};
12755
12892
  display: flex;
12756
12893
  gap: var(--spacing-sm);
@@ -12760,20 +12897,20 @@ var drawerStyles = (bgColor = "var(--white)") => css41`
12760
12897
  padding-top: var(--spacing-sm);
12761
12898
  height: 100%;
12762
12899
  `;
12763
- var drawerCloseButtonStyles = css41`
12900
+ var drawerCloseButtonStyles = css42`
12764
12901
  display: block;
12765
12902
  padding: 0;
12766
12903
  background: transparent;
12767
12904
  border: none;
12768
12905
  `;
12769
- var headerWrapperStyles = css41`
12906
+ var headerWrapperStyles = css42`
12770
12907
  display: flex;
12771
12908
  justify-content: flex-end;
12772
12909
  align-items: center;
12773
12910
  flex: 1;
12774
12911
  margin-right: var(--spacing-sm);
12775
12912
  `;
12776
- var drawerHeaderStyles = css41`
12913
+ var drawerHeaderStyles = css42`
12777
12914
  align-items: center;
12778
12915
  display: flex;
12779
12916
  gap: var(--spacing-sm);
@@ -12781,18 +12918,18 @@ var drawerHeaderStyles = css41`
12781
12918
  padding-inline: var(--spacing-base);
12782
12919
  flex: 1;
12783
12920
  `;
12784
- var drawerRendererStyles = css41`
12921
+ var drawerRendererStyles = css42`
12785
12922
  inset: 0;
12786
12923
  overflow: hidden;
12787
12924
  z-index: var(--z-drawer);
12788
12925
  `;
12789
- var drawerInnerStyles = css41`
12926
+ var drawerInnerStyles = css42`
12790
12927
  height: 100%;
12791
12928
  overflow: auto;
12792
12929
  padding: 0 var(--spacing-md) var(--spacing-base) var(--spacing-sm);
12793
12930
  ${scrollbarStyles}
12794
12931
  `;
12795
- var drawerHeading = css41`
12932
+ var drawerHeading = css42`
12796
12933
  font-size: var(--fs-base);
12797
12934
  `;
12798
12935
  var slideDrawerIn = keyframes2`
@@ -12825,7 +12962,7 @@ var slideDrawerInLeftAligned = keyframes2`
12825
12962
  transform: translate(0);
12826
12963
  }
12827
12964
  `;
12828
- var drawerWrapperStyles = css41`
12965
+ var drawerWrapperStyles = css42`
12829
12966
  position: absolute;
12830
12967
  inset-block: 0;
12831
12968
  right: 0;
@@ -12838,14 +12975,14 @@ var drawerWrapperStyles = css41`
12838
12975
 
12839
12976
  --drawer-close-icon-rotation: 0deg;
12840
12977
  `;
12841
- var drawerWrapperLeftAlignedStyles = css41`
12978
+ var drawerWrapperLeftAlignedStyles = css42`
12842
12979
  animation-name: ${slideDrawerInLeftAligned};
12843
12980
  left: 0;
12844
12981
  right: auto;
12845
12982
 
12846
12983
  --drawer-close-icon-rotation: 180deg;
12847
12984
  `;
12848
- var drawerWrapperOverlayStyles = css41`
12985
+ var drawerWrapperOverlayStyles = css42`
12849
12986
  position: absolute;
12850
12987
  inset: 0;
12851
12988
  animation: ${fadeIn} var(--duration-fast) ease-out;
@@ -12857,7 +12994,7 @@ var drawerWrapperOverlayStyles = css41`
12857
12994
 
12858
12995
  // src/components/Drawer/DrawerProvider.tsx
12859
12996
  import { createContext as createContext3, useCallback, useContext as useContext4, useRef as useRef2, useState as useState4 } from "react";
12860
- import { jsx as jsx42 } from "@emotion/react/jsx-runtime";
12997
+ import { jsx as jsx43 } from "@emotion/react/jsx-runtime";
12861
12998
  var DrawerContext = createContext3({
12862
12999
  providerId: "",
12863
13000
  drawersRegistry: [],
@@ -12919,7 +13056,7 @@ var DrawerProvider = ({ children }) => {
12919
13056
  },
12920
13057
  [setDrawersRegistry]
12921
13058
  );
12922
- return /* @__PURE__ */ jsx42(
13059
+ return /* @__PURE__ */ jsx43(
12923
13060
  DrawerContext.Provider,
12924
13061
  {
12925
13062
  value: {
@@ -12950,7 +13087,7 @@ function isEqualDrawerInstance(a, b) {
12950
13087
  }
12951
13088
 
12952
13089
  // src/components/Drawer/Drawer.tsx
12953
- import { jsx as jsx43, jsxs as jsxs26 } from "@emotion/react/jsx-runtime";
13090
+ import { jsx as jsx44, jsxs as jsxs26 } from "@emotion/react/jsx-runtime";
12954
13091
  var defaultSackId = "_default";
12955
13092
  var CurrentDrawerContext = createContext4({});
12956
13093
  var useCurrentDrawer = () => {
@@ -12960,9 +13097,9 @@ var Drawer = React13.forwardRef(
12960
13097
  ({ width, minWidth, maxWidth, position, leftAligned, ...drawerProps }, ref) => {
12961
13098
  const { stackId: inheritedStackId } = useCurrentDrawer();
12962
13099
  const drawerRendererProps = { width, minWidth, maxWidth, position, leftAligned };
12963
- return drawerProps.stackId ? /* @__PURE__ */ jsx43(DrawerInner, { ref, ...drawerProps }) : inheritedStackId ? /* @__PURE__ */ jsx43(DrawerInner, { ref, ...drawerProps, stackId: inheritedStackId }) : /* @__PURE__ */ jsxs26(DrawerProvider, { children: [
12964
- /* @__PURE__ */ jsx43(DrawerInner, { ref, ...drawerProps }),
12965
- /* @__PURE__ */ jsx43(DrawerRenderer, { stackId: defaultSackId, ...drawerRendererProps })
13100
+ return drawerProps.stackId ? /* @__PURE__ */ jsx44(DrawerInner, { ref, ...drawerProps }) : inheritedStackId ? /* @__PURE__ */ jsx44(DrawerInner, { ref, ...drawerProps, stackId: inheritedStackId }) : /* @__PURE__ */ jsxs26(DrawerProvider, { children: [
13101
+ /* @__PURE__ */ jsx44(DrawerInner, { ref, ...drawerProps }),
13102
+ /* @__PURE__ */ jsx44(DrawerRenderer, { stackId: defaultSackId, ...drawerRendererProps })
12966
13103
  ] });
12967
13104
  }
12968
13105
  );
@@ -13005,7 +13142,7 @@ var DrawerInner = ({
13005
13142
  return null;
13006
13143
  }
13007
13144
  const headerId = `dialog-header-${providerId}-${stackId}-${id}`;
13008
- return /* @__PURE__ */ jsx43(CurrentDrawerContext.Provider, { value: { id, stackId, leftAligned }, children: createPortal(
13145
+ return /* @__PURE__ */ jsx44(CurrentDrawerContext.Provider, { value: { id, stackId, leftAligned }, children: createPortal(
13009
13146
  /* @__PURE__ */ jsxs26(
13010
13147
  "div",
13011
13148
  {
@@ -13018,8 +13155,8 @@ var DrawerInner = ({
13018
13155
  "data-test-id": testId,
13019
13156
  children: [
13020
13157
  /* @__PURE__ */ jsxs26("div", { css: headerWrapperStyles, children: [
13021
- header ? /* @__PURE__ */ jsx43("div", { id: headerId, css: drawerHeaderStyles, children: header }) : null,
13022
- /* @__PURE__ */ jsx43(
13158
+ header ? /* @__PURE__ */ jsx44("div", { id: headerId, css: drawerHeaderStyles, children: header }) : null,
13159
+ /* @__PURE__ */ jsx44(
13023
13160
  Button,
13024
13161
  {
13025
13162
  ref: closeButtonRef,
@@ -13028,7 +13165,7 @@ var DrawerInner = ({
13028
13165
  css: drawerCloseButtonStyles,
13029
13166
  title: "Close dialog",
13030
13167
  buttonType: "ghost",
13031
- children: /* @__PURE__ */ jsx43(
13168
+ children: /* @__PURE__ */ jsx44(
13032
13169
  Icon,
13033
13170
  {
13034
13171
  icon: CgChevronRight,
@@ -13040,7 +13177,7 @@ var DrawerInner = ({
13040
13177
  }
13041
13178
  )
13042
13179
  ] }),
13043
- /* @__PURE__ */ jsx43("div", { css: drawerInnerStyles, children })
13180
+ /* @__PURE__ */ jsx44("div", { css: drawerInnerStyles, children })
13044
13181
  ]
13045
13182
  }
13046
13183
  ),
@@ -13054,15 +13191,15 @@ var findDrawerRenderer = (params) => {
13054
13191
  };
13055
13192
 
13056
13193
  // src/components/Drawer/DrawerContent.styles.ts
13057
- import { css as css42 } from "@emotion/react";
13058
- var DrawerContent = css42`
13194
+ import { css as css43 } from "@emotion/react";
13195
+ var DrawerContent = css43`
13059
13196
  background: var(--gray-50);
13060
13197
  display: flex;
13061
13198
  flex-direction: column;
13062
13199
  gap: var(--spacing-base);
13063
13200
  height: 100%;
13064
13201
  `;
13065
- var DrawerContentInner = css42`
13202
+ var DrawerContentInner = css43`
13066
13203
  background: var(--white);
13067
13204
  padding: var(--spacing-base);
13068
13205
  flex: 1;
@@ -13070,24 +13207,24 @@ var DrawerContentInner = css42`
13070
13207
  overflow-y: auto;
13071
13208
  ${scrollbarStyles}
13072
13209
  `;
13073
- var DrawerContentBtnGroup = css42`
13210
+ var DrawerContentBtnGroup = css43`
13074
13211
  display: flex;
13075
13212
  gap: var(--spacing-sm);
13076
13213
  padding: 0 var(--spacing-base) var(--spacing-base);
13077
13214
  `;
13078
13215
 
13079
13216
  // src/components/Drawer/DrawerContent.tsx
13080
- import { jsx as jsx44, jsxs as jsxs27 } from "@emotion/react/jsx-runtime";
13217
+ import { jsx as jsx45, jsxs as jsxs27 } from "@emotion/react/jsx-runtime";
13081
13218
  var DrawerContent2 = ({ children, buttonGroup, noPadding = false, ...props }) => {
13082
13219
  return /* @__PURE__ */ jsxs27("div", { css: DrawerContent, ...props, children: [
13083
- /* @__PURE__ */ jsx44("div", { css: [DrawerContentInner, noPadding ? { padding: 0 } : null], children }),
13084
- buttonGroup ? /* @__PURE__ */ jsx44("div", { css: DrawerContentBtnGroup, children: buttonGroup }) : null
13220
+ /* @__PURE__ */ jsx45("div", { css: [DrawerContentInner, noPadding ? { padding: 0 } : null], children }),
13221
+ buttonGroup ? /* @__PURE__ */ jsx45("div", { css: DrawerContentBtnGroup, children: buttonGroup }) : null
13085
13222
  ] });
13086
13223
  };
13087
13224
 
13088
13225
  // src/components/Drawer/DrawerRenderer.tsx
13089
13226
  import { useEffect as useEffect6 } from "react";
13090
- import { Fragment as Fragment6, jsx as jsx45, jsxs as jsxs28 } from "@emotion/react/jsx-runtime";
13227
+ import { Fragment as Fragment6, jsx as jsx46, jsxs as jsxs28 } from "@emotion/react/jsx-runtime";
13091
13228
  var maxLayeringInPx = 64;
13092
13229
  var idealDistanceBetweenLayersInPx = 16;
13093
13230
  var DrawerRenderer = ({
@@ -13116,7 +13253,7 @@ var DrawerRenderer = ({
13116
13253
  if (drawersToRender.length === 0) {
13117
13254
  return null;
13118
13255
  }
13119
- return /* @__PURE__ */ jsx45(
13256
+ return /* @__PURE__ */ jsx46(
13120
13257
  "div",
13121
13258
  {
13122
13259
  css: [
@@ -13127,7 +13264,7 @@ var DrawerRenderer = ({
13127
13264
  ...otherProps,
13128
13265
  children: drawersToRender.map(({ id, stackId: stackId2, onRequestClose }, index) => {
13129
13266
  var _a;
13130
- return /* @__PURE__ */ jsx45(
13267
+ return /* @__PURE__ */ jsx46(
13131
13268
  DrawerWrapper,
13132
13269
  {
13133
13270
  index,
@@ -13137,7 +13274,7 @@ var DrawerRenderer = ({
13137
13274
  maxWidth,
13138
13275
  onOverlayClick: onRequestClose,
13139
13276
  leftAligned,
13140
- children: /* @__PURE__ */ jsx45(
13277
+ children: /* @__PURE__ */ jsx46(
13141
13278
  "div",
13142
13279
  {
13143
13280
  ...getDrawerAttributes({ providerId, stackId: stackId2, id }),
@@ -13168,8 +13305,8 @@ var DrawerWrapper = ({
13168
13305
  }
13169
13306
  const calculatedWidth = `calc(${width} - ${offsetInPx}px)`;
13170
13307
  return /* @__PURE__ */ jsxs28(Fragment6, { children: [
13171
- /* @__PURE__ */ jsx45("div", { css: drawerWrapperOverlayStyles, onClick: onOverlayClick }),
13172
- /* @__PURE__ */ jsx45(
13308
+ /* @__PURE__ */ jsx46("div", { css: drawerWrapperOverlayStyles, onClick: onOverlayClick }),
13309
+ /* @__PURE__ */ jsx46(
13173
13310
  "div",
13174
13311
  {
13175
13312
  css: [drawerWrapperStyles, leftAligned ? drawerWrapperLeftAlignedStyles : null],
@@ -13184,12 +13321,12 @@ var getDrawerAttributes = ({
13184
13321
  stackId,
13185
13322
  id
13186
13323
  }) => {
13187
- return { "data-drawer-id": `${providerId}-${stackId}-${id}` };
13324
+ return { "data-drawer-id": `${providerId}-${stackId}-${id}`, "data-test-id": "container-drawer" };
13188
13325
  };
13189
13326
 
13190
13327
  // src/components/Input/styles/CaptionText.styles.ts
13191
- import { css as css43 } from "@emotion/react";
13192
- var CaptionText = (dynamicSize) => css43`
13328
+ import { css as css44 } from "@emotion/react";
13329
+ var CaptionText = (dynamicSize) => css44`
13193
13330
  color: var(--gray-500);
13194
13331
  display: block;
13195
13332
  font-size: ${dynamicSize ? "clamp(var(--fs-xs), 87.5%,var(--fs-sm))" : "var(--fs-sm)"};
@@ -13198,29 +13335,29 @@ var CaptionText = (dynamicSize) => css43`
13198
13335
  `;
13199
13336
 
13200
13337
  // src/components/Input/Caption.tsx
13201
- import { jsx as jsx46 } from "@emotion/react/jsx-runtime";
13338
+ import { jsx as jsx47 } from "@emotion/react/jsx-runtime";
13202
13339
  var Caption = ({ children, testId, dynamicSize = false, ...props }) => {
13203
- return /* @__PURE__ */ jsx46("small", { css: CaptionText(dynamicSize), "data-test-id": testId, ...props, children });
13340
+ return /* @__PURE__ */ jsx47("small", { css: CaptionText(dynamicSize), "data-test-id": testId, ...props, children });
13204
13341
  };
13205
13342
 
13206
13343
  // src/components/Input/CheckboxWithInfo.tsx
13207
13344
  import { forwardRef as forwardRef4 } from "react";
13208
13345
 
13209
13346
  // src/components/Input/styles/CheckboxWithInfo.styles.ts
13210
- import { css as css44 } from "@emotion/react";
13211
- var CheckboxWithInfoContainer = css44`
13347
+ import { css as css45 } from "@emotion/react";
13348
+ var CheckboxWithInfoContainer = css45`
13212
13349
  align-items: center;
13213
13350
  display: flex;
13214
13351
  gap: var(--spacing-sm);
13215
13352
  `;
13216
- var CheckboxWithInfoLabel = css44`
13353
+ var CheckboxWithInfoLabel = css45`
13217
13354
  align-items: center;
13218
13355
  color: var(--gray-500);
13219
13356
  display: flex;
13220
13357
  font-size: var(--fs-xs);
13221
13358
  gap: var(--spacing-sm);
13222
13359
  `;
13223
- var CheckboxWithInfoInput = css44`
13360
+ var CheckboxWithInfoInput = css45`
13224
13361
  appearance: none;
13225
13362
  border: 1px solid var(--gray-300);
13226
13363
  background: var(--white) no-repeat bottom center;
@@ -13253,7 +13390,7 @@ var CheckboxWithInfoInput = css44`
13253
13390
  border-color: var(--gray-200);
13254
13391
  }
13255
13392
  `;
13256
- var InfoDialogContainer = css44`
13393
+ var InfoDialogContainer = css45`
13257
13394
  position: relative;
13258
13395
 
13259
13396
  &:hover {
@@ -13262,7 +13399,7 @@ var InfoDialogContainer = css44`
13262
13399
  }
13263
13400
  }
13264
13401
  `;
13265
- var InfoDialogMessage = css44`
13402
+ var InfoDialogMessage = css45`
13266
13403
  background: var(--white);
13267
13404
  box-shadow: var(--shadow-base);
13268
13405
  border-radius: var(--rounded-md);
@@ -13279,21 +13416,21 @@ var InfoDialogMessage = css44`
13279
13416
  `;
13280
13417
 
13281
13418
  // src/components/Input/CheckboxWithInfo.tsx
13282
- import { jsx as jsx47, jsxs as jsxs29 } from "@emotion/react/jsx-runtime";
13419
+ import { jsx as jsx48, jsxs as jsxs29 } from "@emotion/react/jsx-runtime";
13283
13420
  var InfoDialog = ({ message }) => {
13284
13421
  return /* @__PURE__ */ jsxs29("div", { "data-testid": "info-dialog", css: InfoDialogContainer, children: [
13285
- /* @__PURE__ */ jsx47(Icon, { icon: "info", iconColor: "action", size: "0.9rem" }),
13286
- /* @__PURE__ */ jsx47("div", { role: "paragraph", css: InfoDialogMessage, className: "info-message", children: message })
13422
+ /* @__PURE__ */ jsx48(Icon, { icon: "info", iconColor: "action", size: "0.9rem" }),
13423
+ /* @__PURE__ */ jsx48("div", { role: "paragraph", css: InfoDialogMessage, className: "info-message", children: message })
13287
13424
  ] });
13288
13425
  };
13289
13426
  var CheckboxWithInfo = forwardRef4(
13290
13427
  ({ label, name, info, ...props }, ref) => {
13291
13428
  return /* @__PURE__ */ jsxs29("div", { css: CheckboxWithInfoContainer, children: [
13292
13429
  /* @__PURE__ */ jsxs29("label", { css: CheckboxWithInfoLabel, children: [
13293
- /* @__PURE__ */ jsx47("input", { type: "checkbox", name, ref, css: CheckboxWithInfoInput, ...props }),
13294
- /* @__PURE__ */ jsx47("span", { children: label })
13430
+ /* @__PURE__ */ jsx48("input", { type: "checkbox", name, ref, css: CheckboxWithInfoInput, ...props }),
13431
+ /* @__PURE__ */ jsx48("span", { children: label })
13295
13432
  ] }),
13296
- info ? /* @__PURE__ */ jsx47(InfoDialog, { message: info }) : null
13433
+ info ? /* @__PURE__ */ jsx48(InfoDialog, { message: info }) : null
13297
13434
  ] });
13298
13435
  }
13299
13436
  );
@@ -13302,8 +13439,8 @@ var CheckboxWithInfo = forwardRef4(
13302
13439
  import { MdWarning } from "react-icons/md";
13303
13440
 
13304
13441
  // src/components/Input/styles/ErrorMessage.styles.ts
13305
- import { css as css45 } from "@emotion/react";
13306
- var ErrorText = css45`
13442
+ import { css as css46 } from "@emotion/react";
13443
+ var ErrorText = css46`
13307
13444
  align-items: center;
13308
13445
  color: var(--brand-secondary-5);
13309
13446
  display: flex;
@@ -13311,10 +13448,10 @@ var ErrorText = css45`
13311
13448
  `;
13312
13449
 
13313
13450
  // src/components/Input/ErrorMessage.tsx
13314
- import { jsx as jsx48, jsxs as jsxs30 } from "@emotion/react/jsx-runtime";
13451
+ import { jsx as jsx49, jsxs as jsxs30 } from "@emotion/react/jsx-runtime";
13315
13452
  var ErrorMessage = ({ message, testId, ...otherProps }) => {
13316
13453
  return message ? /* @__PURE__ */ jsxs30("span", { role: "alert", css: ErrorText, "data-test-id": testId, ...otherProps, children: [
13317
- /* @__PURE__ */ jsx48("span", { children: /* @__PURE__ */ jsx48(Icon, { icon: MdWarning, size: "1rem", iconColor: "currentColor" }) }),
13454
+ /* @__PURE__ */ jsx49("span", { children: /* @__PURE__ */ jsx49(Icon, { icon: MdWarning, size: "1rem", iconColor: "currentColor" }) }),
13318
13455
  message
13319
13456
  ] }) : null;
13320
13457
  };
@@ -13323,9 +13460,9 @@ var ErrorMessage = ({ message, testId, ...otherProps }) => {
13323
13460
  import * as React15 from "react";
13324
13461
 
13325
13462
  // src/components/Input/styles/Fieldset.styles.ts
13326
- import { css as css46 } from "@emotion/react";
13463
+ import { css as css47 } from "@emotion/react";
13327
13464
  function fieldsetContainer(invert) {
13328
- const base = css46`
13465
+ const base = css47`
13329
13466
  border-radius: var(--rounded-base);
13330
13467
  border: 1px solid var(--gray-300);
13331
13468
 
@@ -13337,18 +13474,18 @@ function fieldsetContainer(invert) {
13337
13474
  }
13338
13475
  `;
13339
13476
  return invert ? [
13340
- css46`
13477
+ css47`
13341
13478
  background: white;
13342
13479
  `,
13343
13480
  base
13344
13481
  ] : [
13345
- css46`
13482
+ css47`
13346
13483
  background: var(--gray-50);
13347
13484
  `,
13348
13485
  base
13349
13486
  ];
13350
13487
  }
13351
- var fieldsetLegend = css46`
13488
+ var fieldsetLegend = css47`
13352
13489
  align-items: center;
13353
13490
  color: var(--brand-secondary-1);
13354
13491
  display: flex;
@@ -13358,17 +13495,17 @@ var fieldsetLegend = css46`
13358
13495
  margin-bottom: var(--spacing-base);
13359
13496
  float: left; // allows the legend to be inside the fieldset and not sat on the border line
13360
13497
  `;
13361
- var fieldsetBody = css46`
13498
+ var fieldsetBody = css47`
13362
13499
  clear: left;
13363
13500
  `;
13364
13501
 
13365
13502
  // src/components/Input/Fieldset.tsx
13366
- import { jsx as jsx49, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
13503
+ import { jsx as jsx50, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
13367
13504
  var Fieldset = React15.forwardRef(
13368
13505
  ({ legend, disabled, children, invert, ...props }, ref) => {
13369
13506
  return /* @__PURE__ */ jsxs31("fieldset", { css: fieldsetContainer(Boolean(invert)), ref, disabled, ...props, children: [
13370
13507
  legend,
13371
- /* @__PURE__ */ jsx49("div", { css: fieldsetBody, children })
13508
+ /* @__PURE__ */ jsx50("div", { css: fieldsetBody, children })
13372
13509
  ] });
13373
13510
  }
13374
13511
  );
@@ -13377,8 +13514,8 @@ var Fieldset = React15.forwardRef(
13377
13514
  import { MdInfoOutline } from "react-icons/md";
13378
13515
 
13379
13516
  // src/components/Input/styles/InfoMessage.styles.tsx
13380
- import { css as css47 } from "@emotion/react";
13381
- var InfoText = css47`
13517
+ import { css as css48 } from "@emotion/react";
13518
+ var InfoText = css48`
13382
13519
  --info-desc: rgb(29, 78, 216);
13383
13520
  --info-icon: rgb(96, 165, 250);
13384
13521
 
@@ -13387,15 +13524,15 @@ var InfoText = css47`
13387
13524
  display: flex;
13388
13525
  gap: var(--spacing-sm);
13389
13526
  `;
13390
- var InfoIcon2 = css47`
13527
+ var InfoIcon2 = css48`
13391
13528
  color: var(--info-icon);
13392
13529
  `;
13393
13530
 
13394
13531
  // src/components/Input/InfoMessage.tsx
13395
- import { jsx as jsx50, jsxs as jsxs32 } from "@emotion/react/jsx-runtime";
13532
+ import { jsx as jsx51, jsxs as jsxs32 } from "@emotion/react/jsx-runtime";
13396
13533
  var InfoMessage = ({ message, testId, ...props }) => {
13397
13534
  return message ? /* @__PURE__ */ jsxs32("span", { role: "status", css: InfoText, "data-test-id": testId, ...props, children: [
13398
- /* @__PURE__ */ jsx50("span", { children: /* @__PURE__ */ jsx50(Icon, { css: InfoIcon2, icon: MdInfoOutline, size: "1rem", iconColor: "currentColor" }) }),
13535
+ /* @__PURE__ */ jsx51("span", { children: /* @__PURE__ */ jsx51(Icon, { css: InfoIcon2, icon: MdInfoOutline, size: "1rem", iconColor: "currentColor" }) }),
13399
13536
  message
13400
13537
  ] }) : null;
13401
13538
  };
@@ -13404,9 +13541,9 @@ var InfoMessage = ({ message, testId, ...props }) => {
13404
13541
  import * as React16 from "react";
13405
13542
 
13406
13543
  // src/components/Input/Label.tsx
13407
- import { jsx as jsx51 } from "@emotion/react/jsx-runtime";
13544
+ import { jsx as jsx52 } from "@emotion/react/jsx-runtime";
13408
13545
  var Label = ({ children, className, testId, ...props }) => {
13409
- return /* @__PURE__ */ jsx51(
13546
+ return /* @__PURE__ */ jsx52(
13410
13547
  "label",
13411
13548
  {
13412
13549
  css: [labelText, typeof className === "object" ? className : void 0],
@@ -13422,28 +13559,28 @@ var Label = ({ children, className, testId, ...props }) => {
13422
13559
  import { MdWarning as MdWarning2 } from "react-icons/md";
13423
13560
 
13424
13561
  // src/components/Input/styles/WarningMessage.styles.tsx
13425
- import { css as css48 } from "@emotion/react";
13426
- var WarningText = css48`
13562
+ import { css as css49 } from "@emotion/react";
13563
+ var WarningText = css49`
13427
13564
  align-items: center;
13428
13565
  color: var(--alert-text);
13429
13566
  display: flex;
13430
13567
  gap: var(--spacing-sm);
13431
13568
  `;
13432
- var WarningIcon = css48`
13569
+ var WarningIcon = css49`
13433
13570
  color: var(--alert);
13434
13571
  `;
13435
13572
 
13436
13573
  // src/components/Input/WarningMessage.tsx
13437
- import { jsx as jsx52, jsxs as jsxs33 } from "@emotion/react/jsx-runtime";
13574
+ import { jsx as jsx53, jsxs as jsxs33 } from "@emotion/react/jsx-runtime";
13438
13575
  var WarningMessage = ({ message, testId, ...props }) => {
13439
13576
  return message ? /* @__PURE__ */ jsxs33("span", { role: "status", css: WarningText, "data-test-id": testId, ...props, children: [
13440
- /* @__PURE__ */ jsx52("span", { children: /* @__PURE__ */ jsx52(Icon, { css: WarningIcon, icon: MdWarning2, size: "1rem", iconColor: "currentColor" }) }),
13577
+ /* @__PURE__ */ jsx53("span", { children: /* @__PURE__ */ jsx53(Icon, { css: WarningIcon, icon: MdWarning2, size: "1rem", iconColor: "currentColor" }) }),
13441
13578
  message
13442
13579
  ] }) : null;
13443
13580
  };
13444
13581
 
13445
13582
  // src/components/Input/Input.tsx
13446
- import { jsx as jsx53, jsxs as jsxs34 } from "@emotion/react/jsx-runtime";
13583
+ import { jsx as jsx54, jsxs as jsxs34 } from "@emotion/react/jsx-runtime";
13447
13584
  var Input = React16.forwardRef(
13448
13585
  ({
13449
13586
  label,
@@ -13463,7 +13600,7 @@ var Input = React16.forwardRef(
13463
13600
  ...props
13464
13601
  }, ref) => {
13465
13602
  return /* @__PURE__ */ jsxs34("div", { css: inputContainer, "data-test-id": containerTestId ? containerTestId : "container-input-field", children: [
13466
- showLabel ? /* @__PURE__ */ jsx53(
13603
+ showLabel ? /* @__PURE__ */ jsx54(
13467
13604
  Label,
13468
13605
  {
13469
13606
  htmlFor: id,
@@ -13479,7 +13616,7 @@ var Input = React16.forwardRef(
13479
13616
  css: [inputContainer, typeof classNameContainer === "object" ? classNameContainer : void 0],
13480
13617
  className: typeof classNameContainer === "string" ? classNameContainer : "",
13481
13618
  children: [
13482
- /* @__PURE__ */ jsx53(
13619
+ /* @__PURE__ */ jsx54(
13483
13620
  "input",
13484
13621
  {
13485
13622
  id,
@@ -13495,23 +13632,23 @@ var Input = React16.forwardRef(
13495
13632
  ref
13496
13633
  }
13497
13634
  ),
13498
- icon ? /* @__PURE__ */ jsx53("div", { css: inputIcon, children: icon }) : null
13635
+ icon ? /* @__PURE__ */ jsx54("div", { css: inputIcon, children: icon }) : null
13499
13636
  ]
13500
13637
  }
13501
13638
  ),
13502
- caption ? /* @__PURE__ */ jsx53(Caption, { testId: captionTestId, children: caption }) : null,
13503
- errorMessage ? /* @__PURE__ */ jsx53(ErrorMessage, { message: errorMessage, testId: errorTestId }) : null,
13504
- warningMessage && !errorMessage ? /* @__PURE__ */ jsx53(WarningMessage, { message: warningMessage }) : null
13639
+ caption ? /* @__PURE__ */ jsx54(Caption, { testId: captionTestId, children: caption }) : null,
13640
+ errorMessage ? /* @__PURE__ */ jsx54(ErrorMessage, { message: errorMessage, testId: errorTestId }) : null,
13641
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx54(WarningMessage, { message: warningMessage }) : null
13505
13642
  ] });
13506
13643
  }
13507
13644
  );
13508
13645
 
13509
13646
  // src/components/Input/InputComboBox.tsx
13510
13647
  import Select from "react-select";
13511
- import { jsx as jsx54 } from "@emotion/react/jsx-runtime";
13648
+ import { jsx as jsx55 } from "@emotion/react/jsx-runtime";
13512
13649
  function InputComboBox(props) {
13513
13650
  var _a;
13514
- return /* @__PURE__ */ jsx54(
13651
+ return /* @__PURE__ */ jsx55(
13515
13652
  Select,
13516
13653
  {
13517
13654
  ...props,
@@ -13640,17 +13777,17 @@ function InputComboBox(props) {
13640
13777
  }
13641
13778
 
13642
13779
  // src/components/Input/InputInlineSelect.tsx
13643
- import { css as css50 } from "@emotion/react";
13780
+ import { css as css51 } from "@emotion/react";
13644
13781
  import { useRef as useRef4, useState as useState6 } from "react";
13645
13782
  import { CgChevronDown as CgChevronDown2 } from "react-icons/cg";
13646
13783
 
13647
13784
  // src/components/Input/styles/InputInlineSelect.styles.ts
13648
- import { css as css49 } from "@emotion/react";
13649
- var inlineSelectContainer = css49`
13785
+ import { css as css50 } from "@emotion/react";
13786
+ var inlineSelectContainer = css50`
13650
13787
  margin-inline: auto;
13651
13788
  max-width: fit-content;
13652
13789
  `;
13653
- var inlineSelectBtn = css49`
13790
+ var inlineSelectBtn = css50`
13654
13791
  align-items: center;
13655
13792
  background: var(--brand-secondary-3);
13656
13793
  border: 2px solid var(--brand-secondary-3);
@@ -13674,7 +13811,7 @@ var inlineSelectBtn = css49`
13674
13811
  outline: 2px solid var(--brand-secondary-1);
13675
13812
  }
13676
13813
  `;
13677
- var inlineSelectMenu = css49`
13814
+ var inlineSelectMenu = css50`
13678
13815
  background: var(--white);
13679
13816
  border: 1px solid var(--brand-secondary-3);
13680
13817
  border-top: none;
@@ -13685,7 +13822,7 @@ var inlineSelectMenu = css49`
13685
13822
  inset: auto 0;
13686
13823
  transform: translateY(-0.2rem);
13687
13824
  `;
13688
- var inlineSelectBtnOptions = css49`
13825
+ var inlineSelectBtnOptions = css50`
13689
13826
  cursor: pointer;
13690
13827
  display: block;
13691
13828
  font-size: var(--fs-sm);
@@ -13701,7 +13838,7 @@ var inlineSelectBtnOptions = css49`
13701
13838
  background: var(--gray-50);
13702
13839
  }
13703
13840
  `;
13704
- var inlineSelectMenuClosed = css49`
13841
+ var inlineSelectMenuClosed = css50`
13705
13842
  position: absolute;
13706
13843
  overflow: hidden;
13707
13844
  height: 1px;
@@ -13711,7 +13848,7 @@ var inlineSelectMenuClosed = css49`
13711
13848
  `;
13712
13849
 
13713
13850
  // src/components/Input/InputInlineSelect.tsx
13714
- import { jsx as jsx55, jsxs as jsxs35 } from "@emotion/react/jsx-runtime";
13851
+ import { jsx as jsx56, jsxs as jsxs35 } from "@emotion/react/jsx-runtime";
13715
13852
  var InputInlineSelect = ({
13716
13853
  classNameContainer,
13717
13854
  options,
@@ -13729,7 +13866,7 @@ var InputInlineSelect = ({
13729
13866
  "div",
13730
13867
  {
13731
13868
  ref: divRef,
13732
- css: !classNameContainer ? inlineSelectContainer : css50`
13869
+ css: !classNameContainer ? inlineSelectContainer : css51`
13733
13870
  max-width: fit-content;
13734
13871
  ${typeof classNameContainer === "object" ? classNameContainer : void 0}
13735
13872
  `,
@@ -13749,18 +13886,18 @@ var InputInlineSelect = ({
13749
13886
  disabled,
13750
13887
  ...props,
13751
13888
  children: [
13752
- /* @__PURE__ */ jsx55("span", { children: (_a = selected == null ? void 0 : selected.label) != null ? _a : value }),
13753
- disabled ? null : /* @__PURE__ */ jsx55(Icon, { icon: CgChevronDown2, iconColor: "currentColor", size: 24 })
13889
+ /* @__PURE__ */ jsx56("span", { children: (_a = selected == null ? void 0 : selected.label) != null ? _a : value }),
13890
+ disabled ? null : /* @__PURE__ */ jsx56(Icon, { icon: CgChevronDown2, iconColor: "currentColor", size: 24 })
13754
13891
  ]
13755
13892
  }
13756
13893
  ),
13757
- /* @__PURE__ */ jsx55(
13894
+ /* @__PURE__ */ jsx56(
13758
13895
  "div",
13759
13896
  {
13760
13897
  id: `and-or-${props.id}`,
13761
13898
  css: [inlineSelectMenu, menuVisible ? void 0 : inlineSelectMenuClosed],
13762
13899
  "aria-hidden": !menuVisible,
13763
- children: options.map((opt) => /* @__PURE__ */ jsx55(
13900
+ children: options.map((opt) => /* @__PURE__ */ jsx56(
13764
13901
  "button",
13765
13902
  {
13766
13903
  type: "button",
@@ -13782,7 +13919,7 @@ var InputInlineSelect = ({
13782
13919
 
13783
13920
  // src/components/Input/InputKeywordSearch.tsx
13784
13921
  import { CgClose as CgClose4, CgSearch } from "react-icons/cg";
13785
- import { jsx as jsx56 } from "@emotion/react/jsx-runtime";
13922
+ import { jsx as jsx57 } from "@emotion/react/jsx-runtime";
13786
13923
  var InputKeywordSearch = ({
13787
13924
  onSearchTextChanged,
13788
13925
  disabled = false,
@@ -13803,7 +13940,7 @@ var InputKeywordSearch = ({
13803
13940
  e.preventDefault();
13804
13941
  }
13805
13942
  };
13806
- return /* @__PURE__ */ jsx56(
13943
+ return /* @__PURE__ */ jsx57(
13807
13944
  Input,
13808
13945
  {
13809
13946
  type: "text",
@@ -13811,7 +13948,7 @@ var InputKeywordSearch = ({
13811
13948
  placeholder,
13812
13949
  showLabel: false,
13813
13950
  value,
13814
- icon: value ? /* @__PURE__ */ jsx56("button", { css: inputSearchCloseBtn, onClick: onClear, type: "button", children: /* @__PURE__ */ jsx56(Icon, { icon: CgClose4, iconColor: "red", size: "1rem" }) }) : /* @__PURE__ */ jsx56(Icon, { icon: CgSearch, iconColor: "gray", size: "1rem" }),
13951
+ icon: value ? /* @__PURE__ */ jsx57("button", { css: inputSearchCloseBtn, onClick: onClear, type: "button", children: /* @__PURE__ */ jsx57(Icon, { icon: CgClose4, iconColor: "red", size: "1rem" }) }) : /* @__PURE__ */ jsx57(Icon, { icon: CgSearch, iconColor: "gray", size: "1rem" }),
13815
13952
  onChange: handleSearchTextChanged,
13816
13953
  onKeyPress: preventSubmitOnField,
13817
13954
  disabled,
@@ -13829,7 +13966,7 @@ var InputKeywordSearch = ({
13829
13966
  };
13830
13967
 
13831
13968
  // src/components/Input/InputSelect.tsx
13832
- import { Fragment as Fragment7, jsx as jsx57, jsxs as jsxs36 } from "@emotion/react/jsx-runtime";
13969
+ import { Fragment as Fragment7, jsx as jsx58, jsxs as jsxs36 } from "@emotion/react/jsx-runtime";
13833
13970
  var InputSelect = ({
13834
13971
  label,
13835
13972
  defaultOption,
@@ -13851,7 +13988,7 @@ var InputSelect = ({
13851
13988
  css: [inputContainer, typeof classNameContainer === "object" ? classNameContainer : void 0],
13852
13989
  className: typeof classNameContainer === "string" ? classNameContainer : "",
13853
13990
  children: [
13854
- showLabel ? /* @__PURE__ */ jsx57(Fragment7, { children: /* @__PURE__ */ jsxs36(
13991
+ showLabel ? /* @__PURE__ */ jsx58(Fragment7, { children: /* @__PURE__ */ jsxs36(
13855
13992
  Label,
13856
13993
  {
13857
13994
  htmlFor: props.id,
@@ -13878,14 +14015,14 @@ var InputSelect = ({
13878
14015
  className: typeof classNameControl === "string" ? classNameControl : "",
13879
14016
  ...props,
13880
14017
  children: [
13881
- defaultOption ? /* @__PURE__ */ jsx57("option", { value: "", children: defaultOption }) : null,
13882
- options.map((opt, index) => /* @__PURE__ */ jsx57("option", { value: opt.label, ...opt }, index))
14018
+ defaultOption ? /* @__PURE__ */ jsx58("option", { value: "", children: defaultOption }) : null,
14019
+ options.map((opt, index) => /* @__PURE__ */ jsx58("option", { value: opt.label, ...opt }, index))
13883
14020
  ]
13884
14021
  }
13885
14022
  ),
13886
- caption ? /* @__PURE__ */ jsx57(Caption, { children: caption }) : null,
13887
- errorMessage ? /* @__PURE__ */ jsx57(ErrorMessage, { message: errorMessage }) : null,
13888
- warningMessage && !errorMessage ? /* @__PURE__ */ jsx57(WarningMessage, { message: warningMessage }) : null
14023
+ caption ? /* @__PURE__ */ jsx58(Caption, { children: caption }) : null,
14024
+ errorMessage ? /* @__PURE__ */ jsx58(ErrorMessage, { message: errorMessage }) : null,
14025
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx58(WarningMessage, { message: warningMessage }) : null
13889
14026
  ]
13890
14027
  }
13891
14028
  );
@@ -13893,7 +14030,7 @@ var InputSelect = ({
13893
14030
 
13894
14031
  // src/components/Input/InputToggle.tsx
13895
14032
  import * as React17 from "react";
13896
- import { jsx as jsx58, jsxs as jsxs37 } from "@emotion/react/jsx-runtime";
14033
+ import { jsx as jsx59, jsxs as jsxs37 } from "@emotion/react/jsx-runtime";
13897
14034
  var InputToggle = React17.forwardRef(
13898
14035
  ({
13899
14036
  label,
@@ -13914,7 +14051,7 @@ var InputToggle = React17.forwardRef(
13914
14051
  css: [inputToggleLabel, disabled ? inputDisabled : void 0],
13915
14052
  "data-test-id": testId ? testId : "input-toggle",
13916
14053
  children: [
13917
- /* @__PURE__ */ jsx58(
14054
+ /* @__PURE__ */ jsx59(
13918
14055
  "input",
13919
14056
  {
13920
14057
  ref,
@@ -13926,11 +14063,11 @@ var InputToggle = React17.forwardRef(
13926
14063
  ...props
13927
14064
  }
13928
14065
  ),
13929
- /* @__PURE__ */ jsx58("span", { css: inlineLabel(fontWeight), children: label }),
14066
+ /* @__PURE__ */ jsx59("span", { css: inlineLabel(fontWeight), children: label }),
13930
14067
  caption || errorMessage ? /* @__PURE__ */ jsxs37("span", { css: inputToggleMessageContainer, children: [
13931
- caption ? /* @__PURE__ */ jsx58(Caption, { children: caption }) : null,
13932
- errorMessage ? /* @__PURE__ */ jsx58(ErrorMessage, { message: errorMessage }) : null,
13933
- warningMessage && !errorMessage ? /* @__PURE__ */ jsx58(WarningMessage, { message: warningMessage }) : null
14068
+ caption ? /* @__PURE__ */ jsx59(Caption, { children: caption }) : null,
14069
+ errorMessage ? /* @__PURE__ */ jsx59(ErrorMessage, { message: errorMessage }) : null,
14070
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx59(WarningMessage, { message: warningMessage }) : null
13934
14071
  ] }) : null
13935
14072
  ]
13936
14073
  }
@@ -13939,17 +14076,17 @@ var InputToggle = React17.forwardRef(
13939
14076
  );
13940
14077
 
13941
14078
  // src/components/Input/Legend.tsx
13942
- import { jsx as jsx59 } from "@emotion/react/jsx-runtime";
14079
+ import { jsx as jsx60 } from "@emotion/react/jsx-runtime";
13943
14080
  var Legend = ({ children }) => {
13944
- return /* @__PURE__ */ jsx59("legend", { css: fieldsetLegend, children });
14081
+ return /* @__PURE__ */ jsx60("legend", { css: fieldsetLegend, children });
13945
14082
  };
13946
14083
 
13947
14084
  // src/components/Input/SuccessMessage.tsx
13948
14085
  import { CgCheckO } from "react-icons/cg";
13949
14086
 
13950
14087
  // src/components/Input/styles/SuccessMessage.styles.ts
13951
- import { css as css51 } from "@emotion/react";
13952
- var SuccessText = css51`
14088
+ import { css as css52 } from "@emotion/react";
14089
+ var SuccessText = css52`
13953
14090
  --info-desc: var(--brand-secondary-3);
13954
14091
  --info-icon: var(--brand-secondary-3);
13955
14092
 
@@ -13958,28 +14095,28 @@ var SuccessText = css51`
13958
14095
  display: flex;
13959
14096
  gap: var(--spacing-sm);
13960
14097
  `;
13961
- var SuccessIcon2 = css51`
14098
+ var SuccessIcon2 = css52`
13962
14099
  color: var(--info-icon);
13963
14100
  `;
13964
14101
 
13965
14102
  // src/components/Input/SuccessMessage.tsx
13966
- import { jsx as jsx60, jsxs as jsxs38 } from "@emotion/react/jsx-runtime";
14103
+ import { jsx as jsx61, jsxs as jsxs38 } from "@emotion/react/jsx-runtime";
13967
14104
  var SuccessMessage = ({ message, testId, ...props }) => {
13968
14105
  return message ? /* @__PURE__ */ jsxs38("span", { role: "status", css: SuccessText, "data-test-id": testId, ...props, children: [
13969
- /* @__PURE__ */ jsx60("span", { children: /* @__PURE__ */ jsx60(Icon, { css: SuccessIcon2, icon: CgCheckO, size: "1rem", iconColor: "currentColor" }) }),
14106
+ /* @__PURE__ */ jsx61("span", { children: /* @__PURE__ */ jsx61(Icon, { css: SuccessIcon2, icon: CgCheckO, size: "1rem", iconColor: "currentColor" }) }),
13970
14107
  message
13971
14108
  ] }) : null;
13972
14109
  };
13973
14110
 
13974
14111
  // src/components/Input/Textarea.tsx
13975
14112
  import { forwardRef as forwardRef8 } from "react";
13976
- import { Fragment as Fragment8, jsx as jsx61, jsxs as jsxs39 } from "@emotion/react/jsx-runtime";
14113
+ import { Fragment as Fragment8, jsx as jsx62, jsxs as jsxs39 } from "@emotion/react/jsx-runtime";
13977
14114
  var Textarea = forwardRef8(
13978
14115
  ({ label, icon, id, caption, showLabel = true, errorMessage, warningMessage, ...props }, ref) => {
13979
14116
  return /* @__PURE__ */ jsxs39(Fragment8, { children: [
13980
- showLabel ? /* @__PURE__ */ jsx61("label", { htmlFor: id, css: [labelText], children: label }) : null,
14117
+ showLabel ? /* @__PURE__ */ jsx62("label", { htmlFor: id, css: [labelText], children: label }) : null,
13981
14118
  /* @__PURE__ */ jsxs39("div", { css: [inputContainer], children: [
13982
- /* @__PURE__ */ jsx61(
14119
+ /* @__PURE__ */ jsx62(
13983
14120
  "textarea",
13984
14121
  {
13985
14122
  ref,
@@ -13994,22 +14131,22 @@ var Textarea = forwardRef8(
13994
14131
  ...props
13995
14132
  }
13996
14133
  ),
13997
- icon ? /* @__PURE__ */ jsx61("div", { css: inputIcon, children: icon }) : null
14134
+ icon ? /* @__PURE__ */ jsx62("div", { css: inputIcon, children: icon }) : null
13998
14135
  ] }),
13999
- caption ? /* @__PURE__ */ jsx61(Caption, { children: caption }) : null,
14000
- errorMessage ? /* @__PURE__ */ jsx61(ErrorMessage, { message: errorMessage }) : null,
14001
- warningMessage && !errorMessage ? /* @__PURE__ */ jsx61(WarningMessage, { message: warningMessage }) : null
14136
+ caption ? /* @__PURE__ */ jsx62(Caption, { children: caption }) : null,
14137
+ errorMessage ? /* @__PURE__ */ jsx62(ErrorMessage, { message: errorMessage }) : null,
14138
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx62(WarningMessage, { message: warningMessage }) : null
14002
14139
  ] });
14003
14140
  }
14004
14141
  );
14005
14142
 
14006
14143
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
14007
- import { css as css53 } from "@emotion/react";
14144
+ import { css as css54 } from "@emotion/react";
14008
14145
  import { CgAdd as CgAdd2, CgChevronRight as CgChevronRight2 } from "react-icons/cg";
14009
14146
 
14010
14147
  // src/components/Tiles/styles/IntegrationTile.styles.ts
14011
- import { css as css52 } from "@emotion/react";
14012
- var IntegrationTileContainer = css52`
14148
+ import { css as css53 } from "@emotion/react";
14149
+ var IntegrationTileContainer = css53`
14013
14150
  align-items: center;
14014
14151
  box-sizing: border-box;
14015
14152
  border-radius: var(--rounded-base);
@@ -14040,22 +14177,22 @@ var IntegrationTileContainer = css52`
14040
14177
  }
14041
14178
  }
14042
14179
  `;
14043
- var IntegrationTileBtnDashedBorder = css52`
14180
+ var IntegrationTileBtnDashedBorder = css53`
14044
14181
  border: 1px dashed var(--brand-secondary-1);
14045
14182
  `;
14046
- var IntegrationTileTitle = css52`
14183
+ var IntegrationTileTitle = css53`
14047
14184
  display: block;
14048
14185
  font-weight: var(--fw-bold);
14049
14186
  margin: 0 0 var(--spacing-base);
14050
14187
  max-width: 13rem;
14051
14188
  `;
14052
- var IntegrationTitleLogo = css52`
14189
+ var IntegrationTitleLogo = css53`
14053
14190
  display: block;
14054
14191
  max-width: 10rem;
14055
14192
  max-height: 4rem;
14056
14193
  margin: 0 auto;
14057
14194
  `;
14058
- var IntegrationTileName = css52`
14195
+ var IntegrationTileName = css53`
14059
14196
  color: var(--gray-500);
14060
14197
  display: -webkit-box;
14061
14198
  -webkit-line-clamp: 1;
@@ -14068,7 +14205,7 @@ var IntegrationTileName = css52`
14068
14205
  position: absolute;
14069
14206
  bottom: calc(var(--spacing-base) * 3.8);
14070
14207
  `;
14071
- var IntegrationAddedText = css52`
14208
+ var IntegrationAddedText = css53`
14072
14209
  align-items: center;
14073
14210
  background: var(--brand-secondary-3);
14074
14211
  border-radius: 0 var(--rounded-md) 0 var(--rounded-md);
@@ -14083,7 +14220,7 @@ var IntegrationAddedText = css52`
14083
14220
  top: 0;
14084
14221
  right: 0;
14085
14222
  `;
14086
- var IntegrationCustomBadgeText = (theme) => css52`
14223
+ var IntegrationCustomBadgeText = (theme) => css53`
14087
14224
  align-items: center;
14088
14225
  border-radius: var(--rounded-sm) 0 var(--rounded-sm) 0;
14089
14226
  background: ${theme === "gray" ? "var(--brand-secondary-2)" : "var(--brand-secondary-1)"};
@@ -14097,26 +14234,26 @@ var IntegrationCustomBadgeText = (theme) => css52`
14097
14234
  top: 0;
14098
14235
  left: 0;
14099
14236
  `;
14100
- var IntegrationAuthorBadgeIcon = css52`
14237
+ var IntegrationAuthorBadgeIcon = css53`
14101
14238
  position: absolute;
14102
14239
  bottom: var(--spacing-sm);
14103
14240
  right: var(--spacing-xs);
14104
14241
  max-height: 1rem;
14105
14242
  `;
14106
- var IntegrationTitleFakeButton = css52`
14243
+ var IntegrationTitleFakeButton = css53`
14107
14244
  font-size: var(--fs-xs);
14108
14245
  gap: var(--spacing-sm);
14109
14246
  padding: var(--spacing-sm) var(--spacing-base);
14110
14247
  text-transform: uppercase;
14111
14248
  `;
14112
- var IntegrationTileFloatingButton = css52`
14249
+ var IntegrationTileFloatingButton = css53`
14113
14250
  position: absolute;
14114
14251
  bottom: var(--spacing-base);
14115
14252
  gap: var(--spacing-sm);
14116
14253
  font-size: var(--fs-xs);
14117
14254
  overflow: hidden;
14118
14255
  `;
14119
- var IntegrationTileFloatingButtonMessage = (clicked) => css52`
14256
+ var IntegrationTileFloatingButtonMessage = (clicked) => css53`
14120
14257
  strong,
14121
14258
  span:first-of-type {
14122
14259
  transition: opacity var(--duration-fast) var(--timing-ease-out);
@@ -14137,7 +14274,7 @@ var IntegrationTileFloatingButtonMessage = (clicked) => css52`
14137
14274
  `;
14138
14275
 
14139
14276
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
14140
- import { jsx as jsx62, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
14277
+ import { jsx as jsx63, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
14141
14278
  var CreateTeamIntegrationTile = ({
14142
14279
  title = "Create a custom integration for your team",
14143
14280
  buttonText = "Add Integration",
@@ -14146,7 +14283,7 @@ var CreateTeamIntegrationTile = ({
14146
14283
  ...props
14147
14284
  }) => {
14148
14285
  return /* @__PURE__ */ jsxs40("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
14149
- /* @__PURE__ */ jsx62("span", { css: IntegrationTileTitle, title, children: title }),
14286
+ /* @__PURE__ */ jsx63("span", { css: IntegrationTileTitle, title, children: title }),
14150
14287
  /* @__PURE__ */ jsxs40(
14151
14288
  Button,
14152
14289
  {
@@ -14157,23 +14294,23 @@ var CreateTeamIntegrationTile = ({
14157
14294
  css: IntegrationTitleFakeButton,
14158
14295
  children: [
14159
14296
  buttonText,
14160
- asDeepLink ? /* @__PURE__ */ jsx62(
14297
+ asDeepLink ? /* @__PURE__ */ jsx63(
14161
14298
  Icon,
14162
14299
  {
14163
14300
  icon: CgChevronRight2,
14164
14301
  iconColor: "currentColor",
14165
14302
  size: 20,
14166
- css: css53`
14303
+ css: css54`
14167
14304
  order: 1;
14168
14305
  `
14169
14306
  }
14170
- ) : /* @__PURE__ */ jsx62(
14307
+ ) : /* @__PURE__ */ jsx63(
14171
14308
  Icon,
14172
14309
  {
14173
14310
  icon: CgAdd2,
14174
14311
  iconColor: "currentColor",
14175
14312
  size: 16,
14176
- css: css53`
14313
+ css: css54`
14177
14314
  order: -1;
14178
14315
  `
14179
14316
  }
@@ -14186,31 +14323,31 @@ var CreateTeamIntegrationTile = ({
14186
14323
 
14187
14324
  // src/components/Tiles/IntegrationBadges.tsx
14188
14325
  import { CgCheck, CgLock, CgSandClock } from "react-icons/cg";
14189
- import { jsx as jsx63, jsxs as jsxs41 } from "@emotion/react/jsx-runtime";
14326
+ import { jsx as jsx64, jsxs as jsxs41 } from "@emotion/react/jsx-runtime";
14190
14327
  var IntegrationedAddedBadge = ({ text = "Added" }) => {
14191
14328
  return /* @__PURE__ */ jsxs41("span", { "data-testid": "integration-icon-installed", css: IntegrationAddedText, children: [
14192
- /* @__PURE__ */ jsx63(Icon, { icon: CgCheck, iconColor: "currentColor" }),
14329
+ /* @__PURE__ */ jsx64(Icon, { icon: CgCheck, iconColor: "currentColor" }),
14193
14330
  text
14194
14331
  ] });
14195
14332
  };
14196
14333
  var IntegrationCustomBadge = ({ text = "Custom" }) => {
14197
- return /* @__PURE__ */ jsx63("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
14334
+ return /* @__PURE__ */ jsx64("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
14198
14335
  };
14199
14336
  var IntegrationPremiumBadge = ({ text = "Premium" }) => {
14200
14337
  return /* @__PURE__ */ jsxs41("span", { css: IntegrationCustomBadgeText("blue"), children: [
14201
- /* @__PURE__ */ jsx63(Icon, { icon: CgLock, iconColor: "currentColor", size: 12 }),
14338
+ /* @__PURE__ */ jsx64(Icon, { icon: CgLock, iconColor: "currentColor", size: 12 }),
14202
14339
  text
14203
14340
  ] });
14204
14341
  };
14205
14342
  var IntegrationComingSoonBadge = ({ text = "Coming soon" }) => {
14206
14343
  return /* @__PURE__ */ jsxs41("span", { css: IntegrationCustomBadgeText("blue"), children: [
14207
- /* @__PURE__ */ jsx63(Icon, { icon: CgSandClock, iconColor: "currentColor", size: 12 }),
14344
+ /* @__PURE__ */ jsx64(Icon, { icon: CgSandClock, iconColor: "currentColor", size: 12 }),
14208
14345
  text
14209
14346
  ] });
14210
14347
  };
14211
14348
 
14212
14349
  // src/components/Tiles/ResolveIcon.tsx
14213
- import { jsx as jsx64 } from "@emotion/react/jsx-runtime";
14350
+ import { jsx as jsx65 } from "@emotion/react/jsx-runtime";
14214
14351
  var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
14215
14352
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
14216
14353
  const mapClassName = {
@@ -14218,13 +14355,13 @@ var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
14218
14355
  logo: IntegrationTitleLogo
14219
14356
  };
14220
14357
  if (icon) {
14221
- return CompIcon ? /* @__PURE__ */ jsx64(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ jsx64("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
14358
+ return CompIcon ? /* @__PURE__ */ jsx65(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ jsx65("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
14222
14359
  }
14223
14360
  return null;
14224
14361
  };
14225
14362
 
14226
14363
  // src/components/Tiles/EditTeamIntegrationTile.tsx
14227
- import { jsx as jsx65, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
14364
+ import { jsx as jsx66, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
14228
14365
  var EditTeamIntegrationTile = ({
14229
14366
  id,
14230
14367
  icon,
@@ -14240,10 +14377,10 @@ var EditTeamIntegrationTile = ({
14240
14377
  "data-testid": "configure-integration-container",
14241
14378
  "integration-id": `${id.toLocaleLowerCase()}`,
14242
14379
  children: [
14243
- /* @__PURE__ */ jsx65(ResolveIcon, { icon, name, "data-test-id": "integration-logo" }),
14244
- /* @__PURE__ */ jsx65("span", { css: IntegrationTileName, "data-test-id": "integration-card-name", children: name }),
14245
- !isPublic ? /* @__PURE__ */ jsx65(IntegrationCustomBadge, {}) : null,
14246
- canEdit ? /* @__PURE__ */ jsx65(
14380
+ /* @__PURE__ */ jsx66(ResolveIcon, { icon, name, "data-test-id": "integration-logo" }),
14381
+ /* @__PURE__ */ jsx66("span", { css: IntegrationTileName, "data-test-id": "integration-card-name", children: name }),
14382
+ !isPublic ? /* @__PURE__ */ jsx66(IntegrationCustomBadge, {}) : null,
14383
+ canEdit ? /* @__PURE__ */ jsx66(
14247
14384
  Button,
14248
14385
  {
14249
14386
  buttonType: "unimportant",
@@ -14261,10 +14398,10 @@ var EditTeamIntegrationTile = ({
14261
14398
  };
14262
14399
 
14263
14400
  // src/components/Tiles/IntegrationComingSoon.tsx
14264
- import { css as css54 } from "@emotion/react";
14401
+ import { css as css55 } from "@emotion/react";
14265
14402
  import { useEffect as useEffect7, useState as useState7 } from "react";
14266
14403
  import { CgHeart } from "react-icons/cg";
14267
- import { jsx as jsx66, jsxs as jsxs43 } from "@emotion/react/jsx-runtime";
14404
+ import { jsx as jsx67, jsxs as jsxs43 } from "@emotion/react/jsx-runtime";
14268
14405
  var IntegrationComingSoon = ({
14269
14406
  name,
14270
14407
  icon,
@@ -14293,9 +14430,9 @@ var IntegrationComingSoon = ({
14293
14430
  "data-testid": `coming-soon-${id.toLowerCase()}-integration`,
14294
14431
  ...props,
14295
14432
  children: [
14296
- /* @__PURE__ */ jsx66(IntegrationComingSoonBadge, {}),
14297
- /* @__PURE__ */ jsx66(ResolveIcon, { icon, name }),
14298
- /* @__PURE__ */ jsx66("span", { css: IntegrationTileName, title: name, children: name }),
14433
+ /* @__PURE__ */ jsx67(IntegrationComingSoonBadge, {}),
14434
+ /* @__PURE__ */ jsx67(ResolveIcon, { icon, name }),
14435
+ /* @__PURE__ */ jsx67("span", { css: IntegrationTileName, title: name, children: name }),
14299
14436
  /* @__PURE__ */ jsxs43(
14300
14437
  Button,
14301
14438
  {
@@ -14306,11 +14443,11 @@ var IntegrationComingSoon = ({
14306
14443
  role: "link",
14307
14444
  css: [IntegrationTileFloatingButton, IntegrationTileFloatingButtonMessage(upVote)],
14308
14445
  children: [
14309
- /* @__PURE__ */ jsx66("strong", { children: "+1" }),
14310
- /* @__PURE__ */ jsx66(
14446
+ /* @__PURE__ */ jsx67("strong", { children: "+1" }),
14447
+ /* @__PURE__ */ jsx67(
14311
14448
  "span",
14312
14449
  {
14313
- css: css54`
14450
+ css: css55`
14314
14451
  text-transform: uppercase;
14315
14452
  color: var(--gray-500);
14316
14453
  `,
@@ -14318,7 +14455,7 @@ var IntegrationComingSoon = ({
14318
14455
  }
14319
14456
  ),
14320
14457
  /* @__PURE__ */ jsxs43("span", { "aria-hidden": !upVote, children: [
14321
- /* @__PURE__ */ jsx66(Icon, { icon: CgHeart, iconColor: "currentColor", size: 18 }),
14458
+ /* @__PURE__ */ jsx67(Icon, { icon: CgHeart, iconColor: "currentColor", size: 18 }),
14322
14459
  "Thanks!"
14323
14460
  ] })
14324
14461
  ]
@@ -14330,8 +14467,8 @@ var IntegrationComingSoon = ({
14330
14467
  };
14331
14468
 
14332
14469
  // src/components/Tiles/styles/IntegrationLoadingTile.styles.ts
14333
- import { css as css55 } from "@emotion/react";
14334
- var IntegrationLoadingTileContainer = css55`
14470
+ import { css as css56 } from "@emotion/react";
14471
+ var IntegrationLoadingTileContainer = css56`
14335
14472
  align-items: center;
14336
14473
  box-sizing: border-box;
14337
14474
  border-radius: var(--rounded-base);
@@ -14358,39 +14495,39 @@ var IntegrationLoadingTileContainer = css55`
14358
14495
  }
14359
14496
  }
14360
14497
  `;
14361
- var IntegrationLoadingTileImg = css55`
14498
+ var IntegrationLoadingTileImg = css56`
14362
14499
  width: 10rem;
14363
14500
  height: 4rem;
14364
14501
  margin: 0 auto;
14365
14502
  `;
14366
- var IntegrationLoadingTileText = css55`
14503
+ var IntegrationLoadingTileText = css56`
14367
14504
  width: 5rem;
14368
14505
  height: var(--spacing-sm);
14369
14506
  margin: var(--spacing-sm) 0;
14370
14507
  `;
14371
- var IntegrationLoadingFrame = css55`
14508
+ var IntegrationLoadingFrame = css56`
14372
14509
  animation: ${skeletonLoading} 1s linear infinite alternate;
14373
14510
  border-radius: var(--rounded-base);
14374
14511
  `;
14375
14512
 
14376
14513
  // src/components/Tiles/IntegrationLoadingTile.tsx
14377
- import { Fragment as Fragment9, jsx as jsx67, jsxs as jsxs44 } from "@emotion/react/jsx-runtime";
14514
+ import { Fragment as Fragment9, jsx as jsx68, jsxs as jsxs44 } from "@emotion/react/jsx-runtime";
14378
14515
  var IntegrationLoadingTile = ({ count = 1 }) => {
14379
14516
  const componentCount = Array.from(Array(count).keys());
14380
- return /* @__PURE__ */ jsx67(Fragment9, { children: componentCount.map((i) => /* @__PURE__ */ jsxs44("div", { css: IntegrationLoadingTileContainer, children: [
14381
- /* @__PURE__ */ jsx67("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
14382
- /* @__PURE__ */ jsx67("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
14517
+ return /* @__PURE__ */ jsx68(Fragment9, { children: componentCount.map((i) => /* @__PURE__ */ jsxs44("div", { css: IntegrationLoadingTileContainer, children: [
14518
+ /* @__PURE__ */ jsx68("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
14519
+ /* @__PURE__ */ jsx68("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
14383
14520
  ] }, i)) });
14384
14521
  };
14385
14522
 
14386
14523
  // src/components/Tiles/styles/IntegrationModalIcon.styles.ts
14387
- import { css as css56 } from "@emotion/react";
14388
- var IntegrationModalIconContainer = css56`
14524
+ import { css as css57 } from "@emotion/react";
14525
+ var IntegrationModalIconContainer = css57`
14389
14526
  position: relative;
14390
14527
  width: 50px;
14391
14528
  margin-bottom: var(--spacing-base);
14392
14529
  `;
14393
- var IntegrationModalImage = css56`
14530
+ var IntegrationModalImage = css57`
14394
14531
  position: absolute;
14395
14532
  inset: 0;
14396
14533
  margin: auto;
@@ -14399,7 +14536,7 @@ var IntegrationModalImage = css56`
14399
14536
  `;
14400
14537
 
14401
14538
  // src/components/Tiles/IntegrationModalIcon.tsx
14402
- import { jsx as jsx68, jsxs as jsxs45 } from "@emotion/react/jsx-runtime";
14539
+ import { jsx as jsx69, jsxs as jsxs45 } from "@emotion/react/jsx-runtime";
14403
14540
  var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
14404
14541
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
14405
14542
  let iconSrc = void 0;
@@ -14417,7 +14554,7 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
14417
14554
  }
14418
14555
  return /* @__PURE__ */ jsxs45("div", { css: IntegrationModalIconContainer, children: [
14419
14556
  /* @__PURE__ */ jsxs45("svg", { width: "49", height: "57", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
14420
- /* @__PURE__ */ jsx68(
14557
+ /* @__PURE__ */ jsx69(
14421
14558
  "path",
14422
14559
  {
14423
14560
  d: "m24.367 1.813 22.786 13.322V41.78L24.367 55.102 1.581 41.78V15.135L24.367 1.814Z",
@@ -14426,12 +14563,12 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
14426
14563
  strokeWidth: "2"
14427
14564
  }
14428
14565
  ),
14429
- /* @__PURE__ */ jsx68("defs", { children: /* @__PURE__ */ jsxs45("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
14430
- /* @__PURE__ */ jsx68("stop", { stopColor: "#1768B2" }),
14431
- /* @__PURE__ */ jsx68("stop", { offset: "1", stopColor: "#B3EFE4" })
14566
+ /* @__PURE__ */ jsx69("defs", { children: /* @__PURE__ */ jsxs45("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
14567
+ /* @__PURE__ */ jsx69("stop", { stopColor: "#1768B2" }),
14568
+ /* @__PURE__ */ jsx69("stop", { offset: "1", stopColor: "#B3EFE4" })
14432
14569
  ] }) })
14433
14570
  ] }),
14434
- CompIcon ? /* @__PURE__ */ jsx68(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : iconSrc ? /* @__PURE__ */ jsx68(
14571
+ CompIcon ? /* @__PURE__ */ jsx69(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : iconSrc ? /* @__PURE__ */ jsx69(
14435
14572
  "img",
14436
14573
  {
14437
14574
  src: iconSrc,
@@ -14445,7 +14582,7 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
14445
14582
  };
14446
14583
 
14447
14584
  // src/components/Tiles/IntegrationTile.tsx
14448
- import { jsx as jsx69, jsxs as jsxs46 } from "@emotion/react/jsx-runtime";
14585
+ import { jsx as jsx70, jsxs as jsxs46 } from "@emotion/react/jsx-runtime";
14449
14586
  var IntegrationTile = ({
14450
14587
  id,
14451
14588
  icon,
@@ -14467,21 +14604,21 @@ var IntegrationTile = ({
14467
14604
  "aria-label": name,
14468
14605
  ...btnProps,
14469
14606
  children: [
14470
- /* @__PURE__ */ jsx69(ResolveIcon, { icon, name }),
14471
- /* @__PURE__ */ jsx69("span", { css: IntegrationTileName, title: name, children: name }),
14472
- isInstalled ? /* @__PURE__ */ jsx69(IntegrationedAddedBadge, {}) : null,
14473
- requiedEntitlement && isPublic ? /* @__PURE__ */ jsx69(IntegrationPremiumBadge, {}) : null,
14474
- !isPublic ? /* @__PURE__ */ jsx69(IntegrationCustomBadge, {}) : null,
14475
- authorIcon ? /* @__PURE__ */ jsx69(ResolveIcon, { icon: authorIcon, name }) : null
14607
+ /* @__PURE__ */ jsx70(ResolveIcon, { icon, name }),
14608
+ /* @__PURE__ */ jsx70("span", { css: IntegrationTileName, title: name, children: name }),
14609
+ isInstalled ? /* @__PURE__ */ jsx70(IntegrationedAddedBadge, {}) : null,
14610
+ requiedEntitlement && isPublic ? /* @__PURE__ */ jsx70(IntegrationPremiumBadge, {}) : null,
14611
+ !isPublic ? /* @__PURE__ */ jsx70(IntegrationCustomBadge, {}) : null,
14612
+ authorIcon ? /* @__PURE__ */ jsx70(ResolveIcon, { icon: authorIcon, name }) : null
14476
14613
  ]
14477
14614
  }
14478
14615
  );
14479
14616
  };
14480
14617
 
14481
14618
  // src/components/Tiles/styles/Tile.styles.ts
14482
- import { css as css57 } from "@emotion/react";
14619
+ import { css as css58 } from "@emotion/react";
14483
14620
  var tileBorderSize = "1px";
14484
- var Tile = css57`
14621
+ var Tile = css58`
14485
14622
  background: var(--white);
14486
14623
  cursor: pointer;
14487
14624
  border: ${tileBorderSize} solid var(--gray-300);
@@ -14505,18 +14642,18 @@ var Tile = css57`
14505
14642
  `;
14506
14643
 
14507
14644
  // src/components/Tiles/Tile.tsx
14508
- import { jsx as jsx70 } from "@emotion/react/jsx-runtime";
14645
+ import { jsx as jsx71 } from "@emotion/react/jsx-runtime";
14509
14646
  var Tile2 = ({ children, disabled, ...props }) => {
14510
- return /* @__PURE__ */ jsx70("button", { type: "button", css: Tile, disabled, ...props, children });
14647
+ return /* @__PURE__ */ jsx71("button", { type: "button", css: Tile, disabled, ...props, children });
14511
14648
  };
14512
14649
 
14513
14650
  // src/components/Tiles/styles/TileContainer.styles.ts
14514
- import { css as css58 } from "@emotion/react";
14515
- var TileContainerWrapper = (theme, padding) => css58`
14651
+ import { css as css59 } from "@emotion/react";
14652
+ var TileContainerWrapper = (theme, padding) => css59`
14516
14653
  background: ${theme};
14517
14654
  padding: ${padding != "none" ? `var(--spacing-${padding})` : "0"};
14518
14655
  `;
14519
- var TileContainerInner = (gap, templateColumns) => css58`
14656
+ var TileContainerInner = (gap, templateColumns) => css59`
14520
14657
  display: grid;
14521
14658
  grid-template-columns: ${templateColumns};
14522
14659
  gap: var(--spacing-${gap});
@@ -14530,7 +14667,7 @@ var TileContainerInner = (gap, templateColumns) => css58`
14530
14667
  `;
14531
14668
 
14532
14669
  // src/components/Tiles/TileContainer.tsx
14533
- import { jsx as jsx71 } from "@emotion/react/jsx-runtime";
14670
+ import { jsx as jsx72 } from "@emotion/react/jsx-runtime";
14534
14671
  var TileContainer = ({
14535
14672
  bgColor = "var(--brand-secondary-2)",
14536
14673
  containerPadding = "base",
@@ -14539,25 +14676,25 @@ var TileContainer = ({
14539
14676
  children,
14540
14677
  ...props
14541
14678
  }) => {
14542
- return /* @__PURE__ */ jsx71("div", { css: TileContainerWrapper(bgColor, containerPadding), ...props, children: /* @__PURE__ */ jsx71("div", { css: TileContainerInner(gap, gridTemplateColumns), children }) });
14679
+ return /* @__PURE__ */ jsx72("div", { css: TileContainerWrapper(bgColor, containerPadding), ...props, children: /* @__PURE__ */ jsx72("div", { css: TileContainerInner(gap, gridTemplateColumns), children }) });
14543
14680
  };
14544
14681
 
14545
14682
  // src/components/Tiles/styles/TileText.styles.ts
14546
- import { css as css59 } from "@emotion/react";
14547
- var TileHeading = css59`
14683
+ import { css as css60 } from "@emotion/react";
14684
+ var TileHeading = css60`
14548
14685
  font-size: var(--fs-base);
14549
14686
  `;
14550
- var TileText = css59`
14687
+ var TileText = css60`
14551
14688
  color: var(--gray-500);
14552
14689
  font-size: var(--fs-sm);
14553
14690
  line-height: 1.2;
14554
14691
  `;
14555
14692
 
14556
14693
  // src/components/Tiles/TileText.tsx
14557
- import { jsx as jsx72 } from "@emotion/react/jsx-runtime";
14694
+ import { jsx as jsx73 } from "@emotion/react/jsx-runtime";
14558
14695
  var TileText2 = ({ as = "heading", children, ...props }) => {
14559
14696
  const isHeading = as === "heading";
14560
- return /* @__PURE__ */ jsx72(
14697
+ return /* @__PURE__ */ jsx73(
14561
14698
  "span",
14562
14699
  {
14563
14700
  role: isHeading ? "heading" : void 0,
@@ -14569,37 +14706,37 @@ var TileText2 = ({ as = "heading", children, ...props }) => {
14569
14706
  };
14570
14707
 
14571
14708
  // src/components/IntegrationModalHeader/IntegrationModalHeader.styles.ts
14572
- import { css as css60 } from "@emotion/react";
14573
- var IntegrationModalHeaderSVGBackground = css60`
14709
+ import { css as css61 } from "@emotion/react";
14710
+ var IntegrationModalHeaderSVGBackground = css61`
14574
14711
  position: absolute;
14575
14712
  top: 0;
14576
14713
  left: 0;
14577
14714
  `;
14578
- var IntegrationModalHeaderGroup = css60`
14715
+ var IntegrationModalHeaderGroup = css61`
14579
14716
  align-items: center;
14580
14717
  display: flex;
14581
14718
  gap: var(--spacing-sm);
14582
14719
  margin: 0 0 var(--spacing-md);
14583
14720
  position: relative;
14584
14721
  `;
14585
- var IntegrationModalHeaderTitleGroup = css60`
14722
+ var IntegrationModalHeaderTitleGroup = css61`
14586
14723
  align-items: center;
14587
14724
  display: flex;
14588
14725
  gap: var(--spacing-base);
14589
14726
  `;
14590
- var IntegrationModalHeaderTitle = css60`
14727
+ var IntegrationModalHeaderTitle = css61`
14591
14728
  margin-top: 0;
14592
14729
  `;
14593
- var IntegrationModalHeaderMenuPlacement = css60`
14730
+ var IntegrationModalHeaderMenuPlacement = css61`
14594
14731
  margin-bottom: var(--spacing-base);
14595
14732
  `;
14596
- var IntegrationModalHeaderContentWrapper = css60`
14733
+ var IntegrationModalHeaderContentWrapper = css61`
14597
14734
  position: relative;
14598
14735
  z-index: var(--z-10);
14599
14736
  `;
14600
14737
 
14601
14738
  // src/components/IntegrationModalHeader/IntegrationModalHeader.tsx
14602
- import { Fragment as Fragment10, jsx as jsx73, jsxs as jsxs47 } from "@emotion/react/jsx-runtime";
14739
+ import { Fragment as Fragment10, jsx as jsx74, jsxs as jsxs47 } from "@emotion/react/jsx-runtime";
14603
14740
  var HexModalBackground = ({ ...props }) => {
14604
14741
  return /* @__PURE__ */ jsxs47(
14605
14742
  "svg",
@@ -14611,7 +14748,7 @@ var HexModalBackground = ({ ...props }) => {
14611
14748
  xmlns: "http://www.w3.org/2000/svg",
14612
14749
  ...props,
14613
14750
  children: [
14614
- /* @__PURE__ */ jsx73(
14751
+ /* @__PURE__ */ jsx74(
14615
14752
  "path",
14616
14753
  {
14617
14754
  fillRule: "evenodd",
@@ -14620,7 +14757,7 @@ var HexModalBackground = ({ ...props }) => {
14620
14757
  fill: "url(#paint0_linear_196_2737)"
14621
14758
  }
14622
14759
  ),
14623
- /* @__PURE__ */ jsx73("defs", { children: /* @__PURE__ */ jsxs47(
14760
+ /* @__PURE__ */ jsx74("defs", { children: /* @__PURE__ */ jsxs47(
14624
14761
  "linearGradient",
14625
14762
  {
14626
14763
  id: "paint0_linear_196_2737",
@@ -14630,8 +14767,8 @@ var HexModalBackground = ({ ...props }) => {
14630
14767
  y2: "-95.2742",
14631
14768
  gradientUnits: "userSpaceOnUse",
14632
14769
  children: [
14633
- /* @__PURE__ */ jsx73("stop", { stopColor: "#81DCDE" }),
14634
- /* @__PURE__ */ jsx73("stop", { offset: "1", stopColor: "#428ED4" })
14770
+ /* @__PURE__ */ jsx74("stop", { stopColor: "#81DCDE" }),
14771
+ /* @__PURE__ */ jsx74("stop", { offset: "1", stopColor: "#428ED4" })
14635
14772
  ]
14636
14773
  }
14637
14774
  ) })
@@ -14641,22 +14778,22 @@ var HexModalBackground = ({ ...props }) => {
14641
14778
  };
14642
14779
  var IntegrationModalHeader = ({ icon, name, menu: menu2, children }) => {
14643
14780
  return /* @__PURE__ */ jsxs47(Fragment10, { children: [
14644
- /* @__PURE__ */ jsx73(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
14645
- /* @__PURE__ */ jsx73("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ jsxs47("div", { css: IntegrationModalHeaderTitleGroup, children: [
14646
- icon ? /* @__PURE__ */ jsx73(IntegrationModalIcon, { icon, name: name || "" }) : null,
14647
- /* @__PURE__ */ jsx73(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-test-id": "integration-modal-title", children: name || "Create Team Integration" }),
14781
+ /* @__PURE__ */ jsx74(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
14782
+ /* @__PURE__ */ jsx74("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ jsxs47("div", { css: IntegrationModalHeaderTitleGroup, children: [
14783
+ icon ? /* @__PURE__ */ jsx74(IntegrationModalIcon, { icon, name: name || "" }) : null,
14784
+ /* @__PURE__ */ jsx74(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-test-id": "integration-modal-title", children: name || "Create Team Integration" }),
14648
14785
  menu2 ? /* @__PURE__ */ jsxs47("div", { css: IntegrationModalHeaderMenuPlacement, children: [
14649
14786
  menu2,
14650
14787
  " "
14651
14788
  ] }) : null
14652
14789
  ] }) }),
14653
- /* @__PURE__ */ jsx73("div", { css: IntegrationModalHeaderContentWrapper, children })
14790
+ /* @__PURE__ */ jsx74("div", { css: IntegrationModalHeaderContentWrapper, children })
14654
14791
  ] });
14655
14792
  };
14656
14793
 
14657
14794
  // src/components/JsonEditor/JsonEditor.tsx
14658
14795
  import MonacoEditor from "@monaco-editor/react";
14659
- import { jsx as jsx74 } from "@emotion/react/jsx-runtime";
14796
+ import { jsx as jsx75 } from "@emotion/react/jsx-runtime";
14660
14797
  var minEditorHeightPx = 150;
14661
14798
  var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
14662
14799
  let effectiveHeight = height;
@@ -14666,7 +14803,7 @@ var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
14666
14803
  if (typeof effectiveHeight === "number" && effectiveHeight < minEditorHeightPx) {
14667
14804
  effectiveHeight = minEditorHeightPx;
14668
14805
  }
14669
- return /* @__PURE__ */ jsx74(
14806
+ return /* @__PURE__ */ jsx75(
14670
14807
  MonacoEditor,
14671
14808
  {
14672
14809
  height: effectiveHeight,
@@ -14703,39 +14840,39 @@ var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
14703
14840
  };
14704
14841
 
14705
14842
  // src/components/LimitsBar/LimitsBar.styles.ts
14706
- import { css as css61 } from "@emotion/react";
14707
- var LimitsBarContainer = css61`
14843
+ import { css as css62 } from "@emotion/react";
14844
+ var LimitsBarContainer = css62`
14708
14845
  margin-block: var(--spacing-sm);
14709
14846
  `;
14710
- var LimitsBarProgressBar = css61`
14847
+ var LimitsBarProgressBar = css62`
14711
14848
  background: var(--gray-100);
14712
14849
  margin-top: var(--spacing-sm);
14713
14850
  position: relative;
14714
14851
  overflow: hidden;
14715
14852
  height: 0.25rem;
14716
14853
  `;
14717
- var LimitsBarProgressBarLine = css61`
14854
+ var LimitsBarProgressBarLine = css62`
14718
14855
  position: absolute;
14719
14856
  inset: 0;
14720
14857
  transition: transform var(--duration-fast) var(--timing-ease-out);
14721
14858
  `;
14722
- var LimitsBarLabelContainer = css61`
14859
+ var LimitsBarLabelContainer = css62`
14723
14860
  display: flex;
14724
14861
  justify-content: space-between;
14725
14862
  font-weight: var(--fw-bold);
14726
14863
  `;
14727
- var LimitsBarLabel = css61`
14864
+ var LimitsBarLabel = css62`
14728
14865
  font-size: var(--fs-baase);
14729
14866
  `;
14730
- var LimitsBarBgColor = (statusColor) => css61`
14867
+ var LimitsBarBgColor = (statusColor) => css62`
14731
14868
  background: ${statusColor};
14732
14869
  `;
14733
- var LimitsBarTextColor = (statusColor) => css61`
14870
+ var LimitsBarTextColor = (statusColor) => css62`
14734
14871
  color: ${statusColor};
14735
14872
  `;
14736
14873
 
14737
14874
  // src/components/LimitsBar/LimitsBar.tsx
14738
- import { jsx as jsx75, jsxs as jsxs48 } from "@emotion/react/jsx-runtime";
14875
+ import { jsx as jsx76, jsxs as jsxs48 } from "@emotion/react/jsx-runtime";
14739
14876
  var LimitsBar = ({ current, max, label }) => {
14740
14877
  const maxPercentage = 100;
14741
14878
  const progressBarValue = Math.ceil(current / max * maxPercentage);
@@ -14748,14 +14885,14 @@ var LimitsBar = ({ current, max, label }) => {
14748
14885
  const statusColor = progressBarValue === 100 ? colorMap.danger : progressBarValue >= 75 ? colorMap.warn : colorMap.base;
14749
14886
  return /* @__PURE__ */ jsxs48("div", { css: LimitsBarContainer, children: [
14750
14887
  /* @__PURE__ */ jsxs48("div", { css: LimitsBarLabelContainer, children: [
14751
- /* @__PURE__ */ jsx75("span", { css: LimitsBarLabel, children: label }),
14888
+ /* @__PURE__ */ jsx76("span", { css: LimitsBarLabel, children: label }),
14752
14889
  /* @__PURE__ */ jsxs48("span", { css: [LimitsBarLabel, LimitsBarTextColor(statusColor)], children: [
14753
14890
  current,
14754
14891
  " of ",
14755
14892
  max
14756
14893
  ] })
14757
14894
  ] }),
14758
- /* @__PURE__ */ jsx75(
14895
+ /* @__PURE__ */ jsx76(
14759
14896
  "div",
14760
14897
  {
14761
14898
  role: "progressbar",
@@ -14764,7 +14901,7 @@ var LimitsBar = ({ current, max, label }) => {
14764
14901
  "aria-valuemax": max,
14765
14902
  "aria-valuetext": `${current} of ${max}`,
14766
14903
  css: LimitsBarProgressBar,
14767
- children: /* @__PURE__ */ jsx75(
14904
+ children: /* @__PURE__ */ jsx76(
14768
14905
  "span",
14769
14906
  {
14770
14907
  role: "presentation",
@@ -14780,8 +14917,8 @@ var LimitsBar = ({ current, max, label }) => {
14780
14917
  };
14781
14918
 
14782
14919
  // src/components/LinkList/LinkList.styles.ts
14783
- import { css as css62 } from "@emotion/react";
14784
- var LinkListContainer = (padding) => css62`
14920
+ import { css as css63 } from "@emotion/react";
14921
+ var LinkListContainer = (padding) => css63`
14785
14922
  padding: ${padding};
14786
14923
 
14787
14924
  ${mq("sm")} {
@@ -14789,30 +14926,30 @@ var LinkListContainer = (padding) => css62`
14789
14926
  grid-row: 1 / last-line;
14790
14927
  }
14791
14928
  `;
14792
- var LinkListTitle = css62`
14929
+ var LinkListTitle = css63`
14793
14930
  font-weight: var(--fw-bold);
14794
14931
  font-size: var(--fs-sm);
14795
14932
  text-transform: uppercase;
14796
14933
  `;
14797
14934
 
14798
14935
  // src/components/LinkList/LinkList.tsx
14799
- import { jsx as jsx76, jsxs as jsxs49 } from "@emotion/react/jsx-runtime";
14936
+ import { jsx as jsx77, jsxs as jsxs49 } from "@emotion/react/jsx-runtime";
14800
14937
  var LinkList = ({ title, padding = "var(--spacing-md)", children, ...props }) => {
14801
14938
  return /* @__PURE__ */ jsxs49("div", { css: LinkListContainer(padding), ...props, children: [
14802
- /* @__PURE__ */ jsx76(Heading, { level: 3, css: LinkListTitle, children: title }),
14939
+ /* @__PURE__ */ jsx77(Heading, { level: 3, css: LinkListTitle, children: title }),
14803
14940
  children
14804
14941
  ] });
14805
14942
  };
14806
14943
 
14807
14944
  // src/components/List/ScrollableList.tsx
14808
- import { css as css64 } from "@emotion/react";
14945
+ import { css as css65 } from "@emotion/react";
14809
14946
 
14810
14947
  // src/components/List/styles/ScrollableList.styles.ts
14811
- import { css as css63 } from "@emotion/react";
14812
- var ScrollableListContainer = css63`
14948
+ import { css as css64 } from "@emotion/react";
14949
+ var ScrollableListContainer = css64`
14813
14950
  position: relative;
14814
14951
  `;
14815
- var ScrollableListInner = css63`
14952
+ var ScrollableListInner = css64`
14816
14953
  background: var(--gray-50);
14817
14954
  border-top: 1px solid var(--gray-200);
14818
14955
  border-bottom: 1px solid var(--gray-200);
@@ -14835,19 +14972,19 @@ var ScrollableListInner = css63`
14835
14972
  `;
14836
14973
 
14837
14974
  // src/components/List/ScrollableList.tsx
14838
- import { jsx as jsx77, jsxs as jsxs50 } from "@emotion/react/jsx-runtime";
14975
+ import { jsx as jsx78, jsxs as jsxs50 } from "@emotion/react/jsx-runtime";
14839
14976
  var ScrollableList = ({ label, children, ...props }) => {
14840
14977
  return /* @__PURE__ */ jsxs50("div", { css: [ScrollableListContainer, scrollbarStyles], ...props, children: [
14841
- label ? /* @__PURE__ */ jsx77(
14978
+ label ? /* @__PURE__ */ jsx78(
14842
14979
  "span",
14843
14980
  {
14844
- css: css64`
14981
+ css: css65`
14845
14982
  ${labelText}
14846
14983
  `,
14847
14984
  children: label
14848
14985
  }
14849
14986
  ) : null,
14850
- /* @__PURE__ */ jsx77("div", { css: [ScrollableListInner, scrollbarStyles], children })
14987
+ /* @__PURE__ */ jsx78("div", { css: [ScrollableListInner, scrollbarStyles], children })
14851
14988
  ] });
14852
14989
  };
14853
14990
 
@@ -14855,8 +14992,8 @@ var ScrollableList = ({ label, children, ...props }) => {
14855
14992
  import { CgCheck as CgCheck2 } from "react-icons/cg";
14856
14993
 
14857
14994
  // src/components/List/styles/ScrollableListItem.styles.ts
14858
- import { css as css65 } from "@emotion/react";
14859
- var ScrollableListItemContainer = css65`
14995
+ import { css as css66 } from "@emotion/react";
14996
+ var ScrollableListItemContainer = css66`
14860
14997
  align-items: center;
14861
14998
  background: var(--white);
14862
14999
  border-radius: var(--rounded-base);
@@ -14865,13 +15002,13 @@ var ScrollableListItemContainer = css65`
14865
15002
  min-height: 52px;
14866
15003
  transition: border-color var(--duration-fast) var(--timing-ease-out);
14867
15004
  `;
14868
- var ScrollableListItemShadow = css65`
15005
+ var ScrollableListItemShadow = css66`
14869
15006
  box-shadow: var(--shadow-base);
14870
15007
  `;
14871
- var ScrollableListItemActive = css65`
15008
+ var ScrollableListItemActive = css66`
14872
15009
  border-color: var(--brand-secondary-3);
14873
15010
  `;
14874
- var ScrollableListItemBtn = css65`
15011
+ var ScrollableListItemBtn = css66`
14875
15012
  align-items: center;
14876
15013
  border: none;
14877
15014
  background: transparent;
@@ -14886,27 +15023,27 @@ var ScrollableListItemBtn = css65`
14886
15023
  outline: none;
14887
15024
  }
14888
15025
  `;
14889
- var ScrollableListInputLabel = css65`
15026
+ var ScrollableListInputLabel = css66`
14890
15027
  align-items: center;
14891
15028
  cursor: pointer;
14892
15029
  display: flex;
14893
15030
  padding: var(--spacing-xs) var(--spacing-base) var(--spacing-xs);
14894
15031
  flex-grow: 1;
14895
15032
  `;
14896
- var ScrollableListInputText = css65`
15033
+ var ScrollableListInputText = css66`
14897
15034
  align-items: center;
14898
15035
  display: flex;
14899
15036
  gap: var(--spacing-sm);
14900
15037
  flex-grow: 1;
14901
15038
  flex-wrap: wrap;
14902
15039
  `;
14903
- var ScrollableListHiddenInput = css65`
15040
+ var ScrollableListHiddenInput = css66`
14904
15041
  position: absolute;
14905
15042
  height: 0;
14906
15043
  width: 0;
14907
15044
  opacity: 0;
14908
15045
  `;
14909
- var ScrollableListIcon = css65`
15046
+ var ScrollableListIcon = css66`
14910
15047
  border-radius: var(--rounded-full);
14911
15048
  background: var(--brand-secondary-3);
14912
15049
  color: var(--white);
@@ -14914,12 +15051,12 @@ var ScrollableListIcon = css65`
14914
15051
  min-width: 24px;
14915
15052
  opacity: 0;
14916
15053
  `;
14917
- var ScrollableListIconVisible = css65`
15054
+ var ScrollableListIconVisible = css66`
14918
15055
  animation: ${fadeInBottom} var(--duration-fast) var(--timing-ease-out) forwards;
14919
15056
  `;
14920
15057
 
14921
15058
  // src/components/List/ScrollableListInputItem.tsx
14922
- import { jsx as jsx78, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
15059
+ import { jsx as jsx79, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
14923
15060
  var ScrollableListInputItem = ({
14924
15061
  label,
14925
15062
  icon,
@@ -14929,7 +15066,7 @@ var ScrollableListInputItem = ({
14929
15066
  labelTestId,
14930
15067
  ...props
14931
15068
  }) => {
14932
- return /* @__PURE__ */ jsx78(
15069
+ return /* @__PURE__ */ jsx79(
14933
15070
  "div",
14934
15071
  {
14935
15072
  css: [
@@ -14943,8 +15080,8 @@ var ScrollableListInputItem = ({
14943
15080
  icon,
14944
15081
  label
14945
15082
  ] }),
14946
- /* @__PURE__ */ jsx78("div", { css: ScrollableListHiddenInput, children }),
14947
- /* @__PURE__ */ jsx78(
15083
+ /* @__PURE__ */ jsx79("div", { css: ScrollableListHiddenInput, children }),
15084
+ /* @__PURE__ */ jsx79(
14948
15085
  Icon,
14949
15086
  {
14950
15087
  icon: CgCheck2,
@@ -14962,14 +15099,14 @@ var ScrollableListInputItem = ({
14962
15099
 
14963
15100
  // src/components/List/ScrollableListItem.tsx
14964
15101
  import { CgCheck as CgCheck3 } from "react-icons/cg";
14965
- import { jsx as jsx79, jsxs as jsxs52 } from "@emotion/react/jsx-runtime";
15102
+ import { jsx as jsx80, jsxs as jsxs52 } from "@emotion/react/jsx-runtime";
14966
15103
  var ScrollableListItem = ({
14967
15104
  buttonText,
14968
15105
  active,
14969
15106
  disableShadow,
14970
15107
  ...props
14971
15108
  }) => {
14972
- return /* @__PURE__ */ jsx79(
15109
+ return /* @__PURE__ */ jsx80(
14973
15110
  "div",
14974
15111
  {
14975
15112
  css: [
@@ -14978,8 +15115,8 @@ var ScrollableListItem = ({
14978
15115
  active ? ScrollableListItemActive : void 0
14979
15116
  ],
14980
15117
  children: /* @__PURE__ */ jsxs52("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
14981
- /* @__PURE__ */ jsx79("span", { children: buttonText }),
14982
- /* @__PURE__ */ jsx79(
15118
+ /* @__PURE__ */ jsx80("span", { children: buttonText }),
15119
+ /* @__PURE__ */ jsx80(
14983
15120
  Icon,
14984
15121
  {
14985
15122
  icon: CgCheck3,
@@ -14994,7 +15131,7 @@ var ScrollableListItem = ({
14994
15131
  };
14995
15132
 
14996
15133
  // src/components/LoadingIndicator/LoadingIndicator.styles.ts
14997
- import { css as css66, keyframes as keyframes3 } from "@emotion/react";
15134
+ import { css as css67, keyframes as keyframes3 } from "@emotion/react";
14998
15135
  var bounceFade = keyframes3`
14999
15136
  0%, 100% {
15000
15137
  opacity: 1.0;
@@ -15012,11 +15149,11 @@ var bounceFade = keyframes3`
15012
15149
  transform: translateY(-5px);
15013
15150
  }
15014
15151
  `;
15015
- var loader = css66`
15152
+ var loader = css67`
15016
15153
  display: inline-flex;
15017
15154
  justify-content: center;
15018
15155
  `;
15019
- var loadingDot = css66`
15156
+ var loadingDot = css67`
15020
15157
  background-color: var(--gray-700);
15021
15158
  display: block;
15022
15159
  border-radius: var(--rounded-full);
@@ -15040,12 +15177,12 @@ var loadingDot = css66`
15040
15177
  `;
15041
15178
 
15042
15179
  // src/components/LoadingIndicator/LoadingIndicator.tsx
15043
- import { jsx as jsx80, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
15180
+ import { jsx as jsx81, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
15044
15181
  var LoadingIndicator = ({ ...props }) => {
15045
15182
  return /* @__PURE__ */ jsxs53("div", { role: "alert", css: loader, "data-test-id": "loading-indicator", ...props, children: [
15046
- /* @__PURE__ */ jsx80("span", { css: loadingDot }),
15047
- /* @__PURE__ */ jsx80("span", { css: loadingDot }),
15048
- /* @__PURE__ */ jsx80("span", { css: loadingDot })
15183
+ /* @__PURE__ */ jsx81("span", { css: loadingDot }),
15184
+ /* @__PURE__ */ jsx81("span", { css: loadingDot }),
15185
+ /* @__PURE__ */ jsx81("span", { css: loadingDot })
15049
15186
  ] });
15050
15187
  };
15051
15188
 
@@ -15053,8 +15190,8 @@ var LoadingIndicator = ({ ...props }) => {
15053
15190
  import { useCallback as useCallback2, useEffect as useEffect8, useRef as useRef5 } from "react";
15054
15191
 
15055
15192
  // src/components/LoadingOverlay/LoadingOverlay.styles.ts
15056
- import { css as css67 } from "@emotion/react";
15057
- var loadingOverlayContainer = css67`
15193
+ import { css as css68 } from "@emotion/react";
15194
+ var loadingOverlayContainer = css68`
15058
15195
  position: absolute;
15059
15196
  inset: 0;
15060
15197
  overflow: hidden;
@@ -15062,30 +15199,30 @@ var loadingOverlayContainer = css67`
15062
15199
  padding: var(--spacing-xl);
15063
15200
  overflow-y: auto;
15064
15201
  `;
15065
- var loadingOverlayVisible = css67`
15202
+ var loadingOverlayVisible = css68`
15066
15203
  display: flex;
15067
15204
  `;
15068
- var loadingOverlayHidden = css67`
15205
+ var loadingOverlayHidden = css68`
15069
15206
  display: none;
15070
15207
  `;
15071
- var loadingOverlayBackground = (bgColor) => css67`
15208
+ var loadingOverlayBackground = (bgColor) => css68`
15072
15209
  background: ${bgColor};
15073
15210
  opacity: 0.92;
15074
15211
  position: absolute;
15075
15212
  inset: 0 0;
15076
15213
  `;
15077
- var loadingOverlayBody = css67`
15214
+ var loadingOverlayBody = css68`
15078
15215
  align-items: center;
15079
15216
  display: flex;
15080
15217
  flex-direction: column;
15081
15218
  `;
15082
- var loadingOverlayMessage = css67`
15219
+ var loadingOverlayMessage = css68`
15083
15220
  color: var(--gray-600);
15084
15221
  margin: var(--spacing-base) 0 0;
15085
15222
  `;
15086
15223
 
15087
15224
  // src/components/LoadingOverlay/LoadingOverlay.tsx
15088
- import { jsx as jsx81, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
15225
+ import { jsx as jsx82, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
15089
15226
  var LoadingOverlay = ({
15090
15227
  isActive,
15091
15228
  statusMessage,
@@ -15119,9 +15256,9 @@ var LoadingOverlay = ({
15119
15256
  "aria-hidden": !isActive,
15120
15257
  "aria-busy": isActive && !isPaused,
15121
15258
  children: [
15122
- /* @__PURE__ */ jsx81("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
15123
- /* @__PURE__ */ jsx81("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */ jsxs54("div", { css: loadingOverlayBody, children: [
15124
- /* @__PURE__ */ jsx81(
15259
+ /* @__PURE__ */ jsx82("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
15260
+ /* @__PURE__ */ jsx82("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */ jsxs54("div", { css: loadingOverlayBody, children: [
15261
+ /* @__PURE__ */ jsx82(
15125
15262
  AnimationFile,
15126
15263
  {
15127
15264
  lottieRef,
@@ -15136,15 +15273,15 @@ var LoadingOverlay = ({
15136
15273
  }
15137
15274
  }
15138
15275
  ),
15139
- statusMessage ? /* @__PURE__ */ jsx81("div", { css: loadingOverlayMessage, children: statusMessage }) : null,
15140
- /* @__PURE__ */ jsx81("div", { css: { width: "100%", marginTop: "var(--spacing-md)" }, children })
15276
+ statusMessage ? /* @__PURE__ */ jsx82("div", { css: loadingOverlayMessage, children: statusMessage }) : null,
15277
+ /* @__PURE__ */ jsx82("div", { css: { width: "100%", marginTop: "var(--spacing-md)" }, children })
15141
15278
  ] }) })
15142
15279
  ]
15143
15280
  }
15144
15281
  );
15145
15282
  };
15146
15283
  var LoadingIcon = ({ height, width, ...props }) => {
15147
- return /* @__PURE__ */ jsx81(
15284
+ return /* @__PURE__ */ jsx82(
15148
15285
  "svg",
15149
15286
  {
15150
15287
  "data-testid": "svg",
@@ -15155,9 +15292,9 @@ var LoadingIcon = ({ height, width, ...props }) => {
15155
15292
  stroke: "currentColor",
15156
15293
  ...props,
15157
15294
  "data-test-id": "loading-icon",
15158
- children: /* @__PURE__ */ jsx81("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxs54("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
15159
- /* @__PURE__ */ jsx81("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
15160
- /* @__PURE__ */ jsx81("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ jsx81(
15295
+ children: /* @__PURE__ */ jsx82("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxs54("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
15296
+ /* @__PURE__ */ jsx82("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
15297
+ /* @__PURE__ */ jsx82("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ jsx82(
15161
15298
  "animateTransform",
15162
15299
  {
15163
15300
  attributeName: "transform",
@@ -15178,8 +15315,8 @@ import React19 from "react";
15178
15315
  import { CgClose as CgClose5 } from "react-icons/cg";
15179
15316
 
15180
15317
  // src/components/Modal/Modal.styles.ts
15181
- import { css as css68 } from "@emotion/react";
15182
- var modalWrapperStyles = css68`
15318
+ import { css as css69 } from "@emotion/react";
15319
+ var modalWrapperStyles = css69`
15183
15320
  position: fixed;
15184
15321
  inset: 0;
15185
15322
  display: flex;
@@ -15187,13 +15324,13 @@ var modalWrapperStyles = css68`
15187
15324
  justify-content: center;
15188
15325
  z-index: var(--z-drawer);
15189
15326
  `;
15190
- var modalBackdropStyles = css68`
15327
+ var modalBackdropStyles = css69`
15191
15328
  position: absolute;
15192
15329
  inset: 0;
15193
15330
  background-color: var(--brand-secondary-1);
15194
15331
  opacity: 0.4;
15195
15332
  `;
15196
- var modalStyles = css68`
15333
+ var modalStyles = css69`
15197
15334
  position: relative;
15198
15335
  display: flex;
15199
15336
  flex-direction: column;
@@ -15208,21 +15345,21 @@ var modalStyles = css68`
15208
15345
  color: unset;
15209
15346
  z-index: 1;
15210
15347
  `;
15211
- var modalHeaderStyles = css68`
15348
+ var modalHeaderStyles = css69`
15212
15349
  display: flex;
15213
15350
  align-items: flex-start;
15214
15351
  gap: var(--spacing-base);
15215
15352
  font-size: var(--fs-md);
15216
15353
  line-height: 1.2;
15217
15354
  `;
15218
- var modalCloseButtonStyles = css68`
15355
+ var modalCloseButtonStyles = css69`
15219
15356
  display: block;
15220
15357
  padding: 0;
15221
15358
  background: transparent;
15222
15359
  border: none;
15223
15360
  margin-left: auto;
15224
15361
  `;
15225
- var modalContentStyles = css68`
15362
+ var modalContentStyles = css69`
15226
15363
  flex: 1;
15227
15364
  background-color: white;
15228
15365
  padding: var(--spacing-md);
@@ -15231,7 +15368,7 @@ var modalContentStyles = css68`
15231
15368
  `;
15232
15369
 
15233
15370
  // src/components/Modal/Modal.tsx
15234
- import { jsx as jsx82, jsxs as jsxs55 } from "@emotion/react/jsx-runtime";
15371
+ import { jsx as jsx83, jsxs as jsxs55 } from "@emotion/react/jsx-runtime";
15235
15372
  var defaultModalWidth = "75rem";
15236
15373
  var defaultModalHeight = "51rem";
15237
15374
  var Modal = React19.forwardRef(
@@ -15251,11 +15388,11 @@ var Modal = React19.forwardRef(
15251
15388
  shortcut: "escape"
15252
15389
  });
15253
15390
  return /* @__PURE__ */ jsxs55("div", { css: [modalWrapperStyles, wrapperClassName], children: [
15254
- /* @__PURE__ */ jsx82("div", { onClick: onRequestClose, css: modalBackdropStyles }),
15391
+ /* @__PURE__ */ jsx83("div", { onClick: onRequestClose, css: modalBackdropStyles }),
15255
15392
  /* @__PURE__ */ jsxs55("dialog", { ref, css: modalStyles, style: { width, height }, ...modalProps, children: [
15256
15393
  /* @__PURE__ */ jsxs55("div", { css: modalHeaderStyles, children: [
15257
- /* @__PURE__ */ jsx82("div", { children: header }),
15258
- /* @__PURE__ */ jsx82(
15394
+ /* @__PURE__ */ jsx83("div", { children: header }),
15395
+ /* @__PURE__ */ jsx83(
15259
15396
  Button,
15260
15397
  {
15261
15398
  type: "button",
@@ -15263,64 +15400,89 @@ var Modal = React19.forwardRef(
15263
15400
  css: modalCloseButtonStyles,
15264
15401
  title: "Close dialog",
15265
15402
  buttonType: "ghost",
15266
- children: /* @__PURE__ */ jsx82(Icon, { icon: CgClose5, iconColor: "gray", size: 24 })
15403
+ children: /* @__PURE__ */ jsx83(Icon, { icon: CgClose5, iconColor: "gray", size: 24 })
15267
15404
  }
15268
15405
  )
15269
15406
  ] }),
15270
- /* @__PURE__ */ jsx82("div", { css: [modalContentStyles, !withoutContentPadding ? null : { padding: 0 }], children }),
15271
- buttonGroup ? /* @__PURE__ */ jsx82(HorizontalRhythm, { children: buttonGroup }) : null
15407
+ /* @__PURE__ */ jsx83("div", { css: [modalContentStyles, !withoutContentPadding ? null : { padding: 0 }], children }),
15408
+ buttonGroup ? /* @__PURE__ */ jsx83(HorizontalRhythm, { children: buttonGroup }) : null
15272
15409
  ] })
15273
15410
  ] });
15274
15411
  }
15275
15412
  );
15276
15413
  Modal.displayName = "Modal";
15277
15414
 
15278
- // src/components/ParameterInputs/styles/ParameterBindingButton.styles.ts
15279
- import { css as css69 } from "@emotion/react";
15280
- var inputIconBtn = css69`
15415
+ // src/components/ParameterInputs/hooks/ParameterShellContext.tsx
15416
+ import { createContext as createContext5, useContext as useContext6 } from "react";
15417
+ var ParameterShellContext = createContext5({
15418
+ id: "",
15419
+ label: "",
15420
+ hiddenLabel: void 0,
15421
+ errorMessage: void 0,
15422
+ handleManuallySetErrorMessage: () => {
15423
+ }
15424
+ });
15425
+ var useParameterShell = () => {
15426
+ const { id, label, hiddenLabel, errorMessage, handleManuallySetErrorMessage } = useContext6(ParameterShellContext);
15427
+ return {
15428
+ id,
15429
+ label,
15430
+ hiddenLabel,
15431
+ errorMessage,
15432
+ handleManuallySetErrorMessage
15433
+ };
15434
+ };
15435
+
15436
+ // src/components/ParameterInputs/styles/LabelLeadingIcon.styles.ts
15437
+ import { css as css70 } from "@emotion/react";
15438
+ var inputIconBtn = css70`
15281
15439
  align-items: center;
15282
15440
  border: none;
15283
15441
  border-radius: var(--rounded-base);
15284
15442
  color: var(--gray-500);
15285
15443
  background: none;
15286
15444
  display: flex;
15287
- padding: var(--spacing-2xs);
15288
15445
  transition: background var(--duration-fast) var(--timing-ease-out),
15289
15446
  color var(--duration-fast) var(--timing-ease-out);
15290
15447
 
15291
15448
  &:hover,
15292
15449
  &[aria-pressed='true']:not(:disabled) {
15293
- background: var(--brand-secondary-3);
15294
- color: var(--white);
15450
+ color: var(--accent-light-active);
15295
15451
  }
15296
15452
 
15297
15453
  &[aria-disabled='true'] {
15298
15454
  background: none;
15299
15455
  color: currentColor;
15300
15456
  }
15457
+
15458
+ &:focus {
15459
+ outline: none;
15460
+ }
15301
15461
  `;
15302
15462
 
15303
- // src/components/ParameterInputs/ConnectToDataElementButton.tsx
15304
- import { jsx as jsx83, jsxs as jsxs56 } from "@emotion/react/jsx-runtime";
15305
- var ConnectToDataElementButton = ({
15463
+ // src/components/ParameterInputs/LabelLeadingIcon.tsx
15464
+ import { jsx as jsx84, jsxs as jsxs56 } from "@emotion/react/jsx-runtime";
15465
+ var LabelLeadingIcon = ({
15306
15466
  icon,
15307
15467
  iconColor,
15308
15468
  children,
15309
15469
  isBound,
15470
+ isActive,
15310
15471
  isLocked,
15472
+ title,
15311
15473
  ...props
15312
15474
  }) => {
15313
- const title = isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
15314
- return /* @__PURE__ */ jsx83(Tooltip, { title, children: /* @__PURE__ */ jsxs56(
15475
+ const titleFr = title != null ? title : isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
15476
+ return /* @__PURE__ */ jsx84(Tooltip, { title: titleFr, children: /* @__PURE__ */ jsxs56(
15315
15477
  "button",
15316
15478
  {
15317
15479
  css: inputIconBtn,
15318
15480
  type: "button",
15319
- "aria-pressed": isBound,
15481
+ "aria-pressed": isActive || isBound,
15320
15482
  "aria-disabled": isLocked,
15321
15483
  ...props,
15322
15484
  children: [
15323
- /* @__PURE__ */ jsx83(
15485
+ /* @__PURE__ */ jsx84(
15324
15486
  Icon,
15325
15487
  {
15326
15488
  icon: isLocked ? "lock" : icon ? icon : "arrows-expand-down-right",
@@ -15333,31 +15495,11 @@ var ConnectToDataElementButton = ({
15333
15495
  }
15334
15496
  ) });
15335
15497
  };
15336
-
15337
- // src/components/ParameterInputs/hooks/ParameterShellContext.tsx
15338
- import { createContext as createContext5, useContext as useContext6 } from "react";
15339
- var ParameterShellContext = createContext5({
15340
- id: "",
15341
- label: "",
15342
- hiddenLabel: void 0,
15343
- errorMessage: void 0,
15344
- handleManuallySetErrorMessage: () => {
15345
- }
15346
- });
15347
- var useParameterShell = () => {
15348
- const { id, label, hiddenLabel, errorMessage, handleManuallySetErrorMessage } = useContext6(ParameterShellContext);
15349
- return {
15350
- id,
15351
- label,
15352
- hiddenLabel,
15353
- errorMessage,
15354
- handleManuallySetErrorMessage
15355
- };
15356
- };
15498
+ var ConnectToDataElementButton = LabelLeadingIcon;
15357
15499
 
15358
15500
  // src/components/ParameterInputs/styles/ParameterInput.styles.ts
15359
- import { css as css70 } from "@emotion/react";
15360
- var inputContainer2 = css70`
15501
+ import { css as css71 } from "@emotion/react";
15502
+ var inputContainer2 = css71`
15361
15503
  position: relative;
15362
15504
 
15363
15505
  &:hover,
@@ -15369,14 +15511,14 @@ var inputContainer2 = css70`
15369
15511
  }
15370
15512
  }
15371
15513
  `;
15372
- var labelText2 = css70`
15514
+ var labelText2 = css71`
15373
15515
  align-items: center;
15374
15516
  display: flex;
15375
15517
  gap: var(--spacing-xs);
15376
15518
  font-weight: var(--fw-regular);
15377
15519
  margin: 0 0 var(--spacing-xs);
15378
15520
  `;
15379
- var input2 = css70`
15521
+ var input2 = css71`
15380
15522
  display: block;
15381
15523
  appearance: none;
15382
15524
  box-sizing: border-box;
@@ -15420,18 +15562,18 @@ var input2 = css70`
15420
15562
  color: var(--gray-400);
15421
15563
  }
15422
15564
  `;
15423
- var selectInput = css70`
15565
+ var selectInput = css71`
15424
15566
  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");
15425
15567
  background-position: right var(--spacing-sm) center;
15426
15568
  background-repeat: no-repeat;
15427
15569
  background-size: 1rem;
15428
15570
  padding-right: var(--spacing-xl);
15429
15571
  `;
15430
- var inputWrapper = css70`
15572
+ var inputWrapper = css71`
15431
15573
  display: flex; // used to correct overflow with chrome textarea
15432
15574
  position: relative;
15433
15575
  `;
15434
- var inputIcon2 = css70`
15576
+ var inputIcon2 = css71`
15435
15577
  align-items: center;
15436
15578
  background: var(--white);
15437
15579
  border-radius: var(--rounded-md) 0 0 var(--rounded-md);
@@ -15447,7 +15589,7 @@ var inputIcon2 = css70`
15447
15589
  width: var(--spacing-lg);
15448
15590
  z-index: var(--z-10);
15449
15591
  `;
15450
- var inputToggleLabel2 = css70`
15592
+ var inputToggleLabel2 = css71`
15451
15593
  align-items: center;
15452
15594
  background: var(--white);
15453
15595
  cursor: pointer;
@@ -15458,7 +15600,7 @@ var inputToggleLabel2 = css70`
15458
15600
  min-height: var(--spacing-md);
15459
15601
  position: relative;
15460
15602
  `;
15461
- var toggleInput2 = css70`
15603
+ var toggleInput2 = css71`
15462
15604
  appearance: none;
15463
15605
  border: 1px solid var(--gray-300);
15464
15606
  background: var(--white);
@@ -15497,7 +15639,7 @@ var toggleInput2 = css70`
15497
15639
  border-color: var(--gray-300);
15498
15640
  }
15499
15641
  `;
15500
- var inlineLabel2 = css70`
15642
+ var inlineLabel2 = css71`
15501
15643
  padding-left: var(--spacing-lg);
15502
15644
  font-size: var(--fs-sm);
15503
15645
  font-weight: var(--fw-regular);
@@ -15513,7 +15655,7 @@ var inlineLabel2 = css70`
15513
15655
  }
15514
15656
  }
15515
15657
  `;
15516
- var inputMenu = css70`
15658
+ var inputMenu = css71`
15517
15659
  background: none;
15518
15660
  border: none;
15519
15661
  padding: var(--spacing-2xs);
@@ -15529,14 +15671,14 @@ var inputMenu = css70`
15529
15671
  background-color: var(--gray-200);
15530
15672
  }
15531
15673
  `;
15532
- var textarea2 = css70`
15674
+ var textarea2 = css71`
15533
15675
  resize: vertical;
15534
15676
  min-height: 2rem;
15535
15677
  `;
15536
- var imageWrapper = css70`
15678
+ var imageWrapper = css71`
15537
15679
  background: var(--white);
15538
15680
  `;
15539
- var img = css70`
15681
+ var img = css71`
15540
15682
  animation: ${fadeIn} var(--duration-fast) var(--timing-ease-out) forwards;
15541
15683
  object-fit: contain;
15542
15684
  max-width: 100%;
@@ -15544,7 +15686,7 @@ var img = css70`
15544
15686
  opacity: var(--opacity-0);
15545
15687
  margin: var(--spacing-sm) auto 0;
15546
15688
  `;
15547
- var dataConnectButton = css70`
15689
+ var dataConnectButton = css71`
15548
15690
  align-items: center;
15549
15691
  appearance: none;
15550
15692
  box-sizing: border-box;
@@ -15579,7 +15721,7 @@ var dataConnectButton = css70`
15579
15721
  pointer-events: none;
15580
15722
  }
15581
15723
  `;
15582
- var linkParameterBtn = css70`
15724
+ var linkParameterBtn = css71`
15583
15725
  border-radius: var(--rounded-base);
15584
15726
  background: var(--white);
15585
15727
  border: none;
@@ -15588,7 +15730,7 @@ var linkParameterBtn = css70`
15588
15730
  font-size: var(--fs-sm);
15589
15731
  line-height: 1;
15590
15732
  `;
15591
- var linkParameterControls = css70`
15733
+ var linkParameterControls = css71`
15592
15734
  position: absolute;
15593
15735
  inset: 0 0 0 auto;
15594
15736
  padding: 0 var(--spacing-base);
@@ -15597,7 +15739,7 @@ var linkParameterControls = css70`
15597
15739
  justify-content: center;
15598
15740
  gap: var(--spacing-base);
15599
15741
  `;
15600
- var linkParameterInput = (withExternalLinkIcon) => css70`
15742
+ var linkParameterInput = (withExternalLinkIcon) => css71`
15601
15743
  padding-right: calc(
15602
15744
  ${withExternalLinkIcon ? "calc(var(--spacing-lg) * 2 + var(--spacing-xs))" : "var(--spacing-xl)"} +
15603
15745
  var(--spacing-base)
@@ -15610,7 +15752,7 @@ var linkParameterInput = (withExternalLinkIcon) => css70`
15610
15752
  }
15611
15753
  }
15612
15754
  `;
15613
- var linkParameterIcon = css70`
15755
+ var linkParameterIcon = css71`
15614
15756
  align-items: center;
15615
15757
  color: var(--brand-secondary-3);
15616
15758
  display: flex;
@@ -15625,7 +15767,7 @@ var linkParameterIcon = css70`
15625
15767
  `;
15626
15768
 
15627
15769
  // src/components/ParameterInputs/ParameterDataResource.tsx
15628
- import { jsx as jsx84, jsxs as jsxs57 } from "@emotion/react/jsx-runtime";
15770
+ import { jsx as jsx85, jsxs as jsxs57 } from "@emotion/react/jsx-runtime";
15629
15771
  function ParameterDataResource({
15630
15772
  label,
15631
15773
  labelLeadingIcon,
@@ -15649,30 +15791,30 @@ function ParameterDataResource({
15649
15791
  disabled,
15650
15792
  onClick: onConnectDatasource,
15651
15793
  children: [
15652
- /* @__PURE__ */ jsx84("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ jsx84(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
15794
+ /* @__PURE__ */ jsx85("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ jsx85(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
15653
15795
  children
15654
15796
  ]
15655
15797
  }
15656
15798
  ),
15657
- caption ? /* @__PURE__ */ jsx84(Caption, { children: caption }) : null
15799
+ caption ? /* @__PURE__ */ jsx85(Caption, { children: caption }) : null
15658
15800
  ] });
15659
15801
  }
15660
15802
 
15661
15803
  // src/components/ParameterInputs/styles/ParameterDrawerHeader.styles.ts
15662
- import { css as css71 } from "@emotion/react";
15663
- var ParameterDrawerHeaderContainer = css71`
15804
+ import { css as css72 } from "@emotion/react";
15805
+ var ParameterDrawerHeaderContainer = css72`
15664
15806
  align-items: center;
15665
15807
  display: flex;
15666
15808
  gap: var(--spacing-base);
15667
15809
  justify-content: space-between;
15668
15810
  margin-bottom: var(--spacing-sm);
15669
15811
  `;
15670
- var ParameterDrawerHeaderTitleGroup = css71`
15812
+ var ParameterDrawerHeaderTitleGroup = css72`
15671
15813
  align-items: center;
15672
15814
  display: flex;
15673
15815
  gap: var(--spacing-sm);
15674
15816
  `;
15675
- var ParameterDrawerHeaderTitle = css71`
15817
+ var ParameterDrawerHeaderTitle = css72`
15676
15818
  text-overflow: ellipsis;
15677
15819
  white-space: nowrap;
15678
15820
  overflow: hidden;
@@ -15680,12 +15822,12 @@ var ParameterDrawerHeaderTitle = css71`
15680
15822
  `;
15681
15823
 
15682
15824
  // src/components/ParameterInputs/ParameterDrawerHeader.tsx
15683
- import { jsx as jsx85, jsxs as jsxs58 } from "@emotion/react/jsx-runtime";
15825
+ import { jsx as jsx86, jsxs as jsxs58 } from "@emotion/react/jsx-runtime";
15684
15826
  var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
15685
15827
  return /* @__PURE__ */ jsxs58("div", { css: ParameterDrawerHeaderContainer, children: [
15686
15828
  /* @__PURE__ */ jsxs58("header", { css: ParameterDrawerHeaderTitleGroup, children: [
15687
15829
  iconBeforeTitle,
15688
- /* @__PURE__ */ jsx85(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
15830
+ /* @__PURE__ */ jsx86(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
15689
15831
  ] }),
15690
15832
  children
15691
15833
  ] });
@@ -15695,8 +15837,8 @@ var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
15695
15837
  import { forwardRef as forwardRef9 } from "react";
15696
15838
 
15697
15839
  // src/components/ParameterInputs/styles/ParameterGroup.styles.ts
15698
- import { css as css72 } from "@emotion/react";
15699
- var fieldsetStyles = css72`
15840
+ import { css as css73 } from "@emotion/react";
15841
+ var fieldsetStyles = css73`
15700
15842
  &:disabled,
15701
15843
  [readonly] {
15702
15844
  pointer-events: none;
@@ -15707,7 +15849,7 @@ var fieldsetStyles = css72`
15707
15849
  }
15708
15850
  }
15709
15851
  `;
15710
- var fieldsetLegend2 = css72`
15852
+ var fieldsetLegend2 = css73`
15711
15853
  display: block;
15712
15854
  font-weight: var(--fw-medium);
15713
15855
  margin-bottom: var(--spacing-sm);
@@ -15715,18 +15857,21 @@ var fieldsetLegend2 = css72`
15715
15857
  `;
15716
15858
 
15717
15859
  // src/components/ParameterInputs/ParameterGroup.tsx
15718
- import { jsx as jsx86, jsxs as jsxs59 } from "@emotion/react/jsx-runtime";
15860
+ import { jsx as jsx87, jsxs as jsxs59 } from "@emotion/react/jsx-runtime";
15719
15861
  var ParameterGroup = forwardRef9(
15720
15862
  ({ legend, isDisabled, children, ...props }, ref) => {
15721
15863
  return /* @__PURE__ */ jsxs59("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
15722
- /* @__PURE__ */ jsx86("legend", { css: fieldsetLegend2, children: legend }),
15864
+ /* @__PURE__ */ jsx87("legend", { css: fieldsetLegend2, children: legend }),
15723
15865
  children
15724
15866
  ] });
15725
15867
  }
15726
15868
  );
15727
15869
 
15728
15870
  // src/components/ParameterInputs/ParameterImage.tsx
15729
- import { forwardRef as forwardRef11, useCallback as useCallback3, useDeferredValue, useEffect as useEffect9, useState as useState9 } from "react";
15871
+ import { forwardRef as forwardRef11, useDeferredValue } from "react";
15872
+
15873
+ // src/components/ParameterInputs/ParameterImagePreview.tsx
15874
+ import { useCallback as useCallback3, useEffect as useEffect9, useState as useState8 } from "react";
15730
15875
 
15731
15876
  // src/utils/url.ts
15732
15877
  var isValidUrl = (url, options = {}) => {
@@ -15738,25 +15883,115 @@ var isValidUrl = (url, options = {}) => {
15738
15883
  }
15739
15884
  };
15740
15885
 
15886
+ // src/components/ParameterInputs/ParameterImagePreview.tsx
15887
+ import { Fragment as Fragment11, jsx as jsx88, jsxs as jsxs60 } from "@emotion/react/jsx-runtime";
15888
+ function ParameterImagePreview({ imageSrc }) {
15889
+ const [loading, setLoading] = useState8(false);
15890
+ const [loadErrorText, setLoadErrorText] = useState8("");
15891
+ const errorText = "The text you provided is not a valid URL";
15892
+ const updateImageSrc = useCallback3(() => {
15893
+ let message = "";
15894
+ try {
15895
+ if (imageSrc !== "") {
15896
+ const url = String(imageSrc).startsWith("//") ? `${location.protocol}${imageSrc}` : String(imageSrc);
15897
+ if (!isValidUrl(url) || !url.startsWith("https")) {
15898
+ throw Error(errorText);
15899
+ }
15900
+ }
15901
+ message = "";
15902
+ } catch (e) {
15903
+ message = errorText;
15904
+ }
15905
+ setLoadErrorText(message);
15906
+ }, [setLoadErrorText, imageSrc]);
15907
+ useEffect9(() => {
15908
+ updateImageSrc();
15909
+ }, [imageSrc]);
15910
+ const handleLoadEvent = () => {
15911
+ setLoadErrorText("");
15912
+ if (imageSrc) {
15913
+ setLoading(true);
15914
+ }
15915
+ const timer = setTimeout(() => {
15916
+ setLoading(false);
15917
+ }, 200);
15918
+ return () => clearTimeout(timer);
15919
+ };
15920
+ const handleErrorEvent = () => {
15921
+ setLoadErrorText("The value you provided is not a valid image URL");
15922
+ };
15923
+ return /* @__PURE__ */ jsxs60("div", { css: imageWrapper, children: [
15924
+ imageSrc && !loadErrorText ? /* @__PURE__ */ jsx88(
15925
+ "img",
15926
+ {
15927
+ src: imageSrc,
15928
+ css: img,
15929
+ alt: "image preview",
15930
+ onLoad: handleLoadEvent,
15931
+ onError: handleErrorEvent,
15932
+ loading: "lazy",
15933
+ "data-testid": "parameter-image-preview"
15934
+ }
15935
+ ) : null,
15936
+ imageSrc && loadErrorText ? /* @__PURE__ */ jsxs60(Fragment11, { children: [
15937
+ /* @__PURE__ */ jsx88(BrokenImage, { css: img }),
15938
+ /* @__PURE__ */ jsx88(ErrorMessage, { message: loadErrorText })
15939
+ ] }) : null,
15940
+ loading && /* @__PURE__ */ jsx88(LoadingIcon, {})
15941
+ ] });
15942
+ }
15943
+ var BrokenImage = ({ ...props }) => {
15944
+ return /* @__PURE__ */ jsxs60(
15945
+ "svg",
15946
+ {
15947
+ role: "img",
15948
+ width: "214",
15949
+ height: "214",
15950
+ viewBox: "0 0 214 214",
15951
+ fill: "none",
15952
+ xmlns: "http://www.w3.org/2000/svg",
15953
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
15954
+ "data-testid": "broken-image",
15955
+ ...props,
15956
+ children: [
15957
+ /* @__PURE__ */ jsx88("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
15958
+ /* @__PURE__ */ jsx88("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
15959
+ /* @__PURE__ */ jsxs60("defs", { children: [
15960
+ /* @__PURE__ */ jsx88("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ jsx88("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
15961
+ /* @__PURE__ */ jsx88(
15962
+ "image",
15963
+ {
15964
+ id: "image0_761_4353",
15965
+ width: "400",
15966
+ height: "400",
15967
+ xlinkHref: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAB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NUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBuB/we75KcVO2CRagAAAABJRU5ErkJggg=="
15968
+ }
15969
+ )
15970
+ ] })
15971
+ ]
15972
+ }
15973
+ );
15974
+ };
15975
+
15741
15976
  // src/components/ParameterInputs/ParameterShell.tsx
15742
- import { useState as useState8 } from "react";
15977
+ import { useState as useState9 } from "react";
15743
15978
 
15744
15979
  // src/components/ParameterInputs/ParameterLabel.tsx
15745
- import { jsx as jsx87 } from "@emotion/react/jsx-runtime";
15980
+ import { jsx as jsx89 } from "@emotion/react/jsx-runtime";
15746
15981
  var ParameterLabel = ({ id, asSpan, children, ...props }) => {
15747
- return !asSpan ? /* @__PURE__ */ jsx87("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ jsx87("span", { "aria-labelledby": id, css: labelText2, children });
15982
+ return !asSpan ? /* @__PURE__ */ jsx89("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ jsx89("span", { "aria-labelledby": id, css: labelText2, children });
15748
15983
  };
15749
15984
 
15750
15985
  // src/components/ParameterInputs/ParameterMenuButton.tsx
15751
15986
  import { forwardRef as forwardRef10 } from "react";
15752
- import { jsx as jsx88 } from "@emotion/react/jsx-runtime";
15987
+ import { jsx as jsx90 } from "@emotion/react/jsx-runtime";
15753
15988
  var ParameterMenuButton = forwardRef10(
15754
15989
  ({ label, children }, ref) => {
15755
- return /* @__PURE__ */ jsx88(
15990
+ return /* @__PURE__ */ jsx90(
15756
15991
  Menu,
15757
15992
  {
15758
15993
  menuLabel: `${label} menu`,
15759
- menuTrigger: /* @__PURE__ */ jsx88(
15994
+ menuTrigger: /* @__PURE__ */ jsx90(
15760
15995
  "button",
15761
15996
  {
15762
15997
  className: "parameter-menu",
@@ -15764,7 +15999,7 @@ var ParameterMenuButton = forwardRef10(
15764
15999
  type: "button",
15765
16000
  "aria-label": `${label} options`,
15766
16001
  ref,
15767
- children: /* @__PURE__ */ jsx88(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
16002
+ children: /* @__PURE__ */ jsx90(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
15768
16003
  }
15769
16004
  ),
15770
16005
  children
@@ -15774,15 +16009,15 @@ var ParameterMenuButton = forwardRef10(
15774
16009
  );
15775
16010
 
15776
16011
  // src/components/ParameterInputs/styles/ParameterShell.styles.ts
15777
- import { css as css73 } from "@emotion/react";
15778
- var emptyParameterShell = css73`
16012
+ import { css as css74 } from "@emotion/react";
16013
+ var emptyParameterShell = css74`
15779
16014
  border-radius: var(--rounded-sm);
15780
16015
  background: var(--white);
15781
16016
  flex-grow: 1;
15782
16017
  padding: var(--spacing-xs);
15783
16018
  position: relative;
15784
16019
  `;
15785
- var emptyParameterShellText = css73`
16020
+ var emptyParameterShellText = css74`
15786
16021
  background: var(--brand-secondary-6);
15787
16022
  border-radius: var(--rounded-sm);
15788
16023
  padding: var(--spacing-sm);
@@ -15790,7 +16025,7 @@ var emptyParameterShellText = css73`
15790
16025
  font-size: var(--fs-sm);
15791
16026
  margin: 0;
15792
16027
  `;
15793
- var overrideMarker = css73`
16028
+ var overrideMarker = css74`
15794
16029
  border-radius: var(--rounded-sm);
15795
16030
  border: 10px solid var(--gray-300);
15796
16031
  border-left-color: transparent;
@@ -15801,7 +16036,7 @@ var overrideMarker = css73`
15801
16036
  `;
15802
16037
 
15803
16038
  // src/components/ParameterInputs/ParameterShell.tsx
15804
- import { jsx as jsx89, jsxs as jsxs60 } from "@emotion/react/jsx-runtime";
16039
+ import { jsx as jsx91, jsxs as jsxs61 } from "@emotion/react/jsx-runtime";
15805
16040
  var extractParameterProps = (props) => {
15806
16041
  const {
15807
16042
  id,
@@ -15858,21 +16093,21 @@ var ParameterShell = ({
15858
16093
  children,
15859
16094
  ...props
15860
16095
  }) => {
15861
- const [manualErrorMessage, setManualErrorMessage] = useState8(void 0);
16096
+ const [manualErrorMessage, setManualErrorMessage] = useState9(void 0);
15862
16097
  const setErrorMessage = (message) => setManualErrorMessage(message);
15863
16098
  const errorMessaging = errorMessage || manualErrorMessage;
15864
- return /* @__PURE__ */ jsxs60("div", { css: inputContainer2, ...props, children: [
15865
- hiddenLabel || title ? null : /* @__PURE__ */ jsxs60(ParameterLabel, { id, css: labelText2, children: [
16099
+ return /* @__PURE__ */ jsxs61("div", { css: inputContainer2, ...props, children: [
16100
+ hiddenLabel || title ? null : /* @__PURE__ */ jsxs61(ParameterLabel, { id, css: labelText2, children: [
15866
16101
  labelLeadingIcon ? labelLeadingIcon : null,
15867
16102
  label
15868
16103
  ] }),
15869
- !title ? null : /* @__PURE__ */ jsxs60(ParameterLabel, { id, asSpan: true, children: [
16104
+ !title ? null : /* @__PURE__ */ jsxs61(ParameterLabel, { id, asSpan: true, children: [
15870
16105
  labelLeadingIcon ? labelLeadingIcon : null,
15871
16106
  title
15872
16107
  ] }),
15873
- /* @__PURE__ */ jsxs60("div", { css: inputWrapper, children: [
15874
- menuItems ? /* @__PURE__ */ jsx89(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
15875
- /* @__PURE__ */ jsx89(
16108
+ /* @__PURE__ */ jsxs61("div", { css: inputWrapper, children: [
16109
+ menuItems ? /* @__PURE__ */ jsx91(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
16110
+ /* @__PURE__ */ jsx91(
15876
16111
  ParameterShellContext.Provider,
15877
16112
  {
15878
16113
  value: {
@@ -15882,151 +16117,62 @@ var ParameterShell = ({
15882
16117
  errorMessage: errorMessaging,
15883
16118
  handleManuallySetErrorMessage: (message) => setErrorMessage(message)
15884
16119
  },
15885
- children: /* @__PURE__ */ jsxs60(ParameterShellPlaceholder, { children: [
16120
+ children: /* @__PURE__ */ jsxs61(ParameterShellPlaceholder, { children: [
15886
16121
  children,
15887
- hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx89(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
16122
+ hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx91(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
15888
16123
  ] })
15889
16124
  }
15890
16125
  )
15891
16126
  ] }),
15892
- caption ? /* @__PURE__ */ jsx89(Caption, { testId: captionTestId, children: caption }) : null,
15893
- errorMessaging ? /* @__PURE__ */ jsx89(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null,
15894
- warningMessage ? /* @__PURE__ */ jsx89(WarningMessage, { message: warningMessage }) : null,
15895
- infoMessage ? /* @__PURE__ */ jsx89(InfoMessage, { message: infoMessage }) : null
16127
+ caption ? /* @__PURE__ */ jsx91(Caption, { testId: captionTestId, children: caption }) : null,
16128
+ errorMessaging ? /* @__PURE__ */ jsx91(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null,
16129
+ warningMessage ? /* @__PURE__ */ jsx91(WarningMessage, { message: warningMessage }) : null,
16130
+ infoMessage ? /* @__PURE__ */ jsx91(InfoMessage, { message: infoMessage }) : null
15896
16131
  ] });
15897
16132
  };
15898
16133
  var ParameterShellPlaceholder = ({ children }) => {
15899
- return /* @__PURE__ */ jsx89("div", { css: emptyParameterShell, children });
16134
+ return /* @__PURE__ */ jsx91("div", { css: emptyParameterShell, children });
15900
16135
  };
15901
- var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx89(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx89("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx89("span", { hidden: true, children: "reset overridden value to default" }) }) });
16136
+ var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx91(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx91("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx91("span", { hidden: true, children: "reset overridden value to default" }) }) });
15902
16137
 
15903
16138
  // src/components/ParameterInputs/ParameterImage.tsx
15904
- import { Fragment as Fragment11, jsx as jsx90, jsxs as jsxs61 } from "@emotion/react/jsx-runtime";
16139
+ import { Fragment as Fragment12, jsx as jsx92, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
15905
16140
  var ParameterImage = forwardRef11((props, ref) => {
15906
16141
  const { shellProps, innerProps } = extractParameterProps(props);
15907
- return /* @__PURE__ */ jsx90(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: /* @__PURE__ */ jsx90(ParameterImageInner, { ref, ...innerProps }) });
16142
+ return /* @__PURE__ */ jsx92(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: /* @__PURE__ */ jsx92(ParameterImageInner, { ref, ...innerProps, disablePreview: props.disablePreview }) });
15908
16143
  });
15909
- var BrokenImage = ({ ...props }) => {
15910
- return /* @__PURE__ */ jsxs61(
15911
- "svg",
15912
- {
15913
- "data-testid": "broken-image",
15914
- role: "img",
15915
- width: "214",
15916
- height: "214",
15917
- viewBox: "0 0 214 214",
15918
- fill: "none",
15919
- xmlns: "http://www.w3.org/2000/svg",
15920
- xmlnsXlink: "http://www.w3.org/1999/xlink",
15921
- ...props,
15922
- children: [
15923
- /* @__PURE__ */ jsx90("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
15924
- /* @__PURE__ */ jsx90("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
15925
- /* @__PURE__ */ jsxs61("defs", { children: [
15926
- /* @__PURE__ */ jsx90("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ jsx90("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
15927
- /* @__PURE__ */ jsx90(
15928
- "image",
15929
- {
15930
- id: "image0_761_4353",
15931
- width: "400",
15932
- height: "400",
15933
- xlinkHref: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAABX2lDQ1BJQ0MgUHJvZmlsZQAAKJFtkMFLAlEQxj/NEFIyQaJDhz1EEFiYdupmRhp5WCyxhA7rc3ODdXvsrkSn+ge6RATRPTpGBF46CP0DQVDQqVu3LoGXkm2eW61W8xjmx8fMvOED/GGFcz0AoG7YZiG7IK1vlKXgC/wYQ4ReVGEWT8tynlrwXfuj/QCfqPfTYlertBTZv3o9W8mdhmcblxN/+/tiqKpajOoHZZJx0wZ8CWJ51+aCD4hjJh1FfCy45vKF4IrLN92etUKG+I54hGlKlfiZOF7p0Ws9XNcb7OsGcX1YNYqrVEcpx5FHFhKK0GHDhEKcwyJ59P/MXHcmgx1w7FH/NmrQaFJCmhROW1TiZRhgmEGcOIkEZUp4/dtDT7PIh/lD+op72mYMuNaAYeZpk0dANATclrliKj/O+toBayuVdDnUBAZPHOetBASngM6j47w3HadzDgw8Aa32JyLnYb5bLiabAAAAOGVYSWZNTQAqAAAACAABh2kABAAAAAEAAAAaAAAAAAACoAIABAAAAAEAAAGQoAMABAAAAAEAAAGQAAAAADj5TfYAABuPSURBVHgB7Z0Ld9RG1kX94GmMAYcECJAwyZq1vv//czKLDEMghkB4GIPf9ne6FRq5W60qt9Vq3aPNypoR3erSvftUTuqWSqXl/YPDJf5AAAIQiEBgJUKQxAgBCEBgQADDoh9AAAJhCGBYYaQiUAhAAMOiD0AAAmEIYFhhpCJQCEAAw6IPQAACYQhgWGGkIlAIQADDog9AAAJhCGBYYaQiUAhAAMOiD0AAAmEIYFhhpCJQCEAAw6IPQAACYQhgWGGkIlAIQADDog9AAAJhCGBYYaQiUAhAAMOiD0AAAmEIYFhhpCJQCEAAw6IPQAACYQhgWGGkIlAIQADDog9AAAJhCGBYYaQiUAhAAMOiD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BgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBuB/we75KcVO2CRagAAAABJRU5ErkJggg=="
15934
- }
15935
- )
15936
- ] })
15937
- ]
15938
- }
15939
- );
15940
- };
15941
- var ParameterImageInner = forwardRef11(
15942
- ({ ...props }, ref) => {
15943
- const { value } = props;
15944
- const { id, label, hiddenLabel, errorMessage } = useParameterShell();
15945
- const deferredValue = useDeferredValue(value);
15946
- return /* @__PURE__ */ jsxs61(Fragment11, { children: [
15947
- /* @__PURE__ */ jsx90(
15948
- "input",
15949
- {
15950
- css: input2,
15951
- type: "text",
15952
- id,
15953
- ref,
15954
- "aria-label": hiddenLabel ? label : void 0,
15955
- autoComplete: "off",
15956
- ...props
15957
- }
15958
- ),
15959
- errorMessage ? null : /* @__PURE__ */ jsx90(ParameterImagePreview, { imageSrc: deferredValue })
15960
- ] });
15961
- }
15962
- );
15963
- var ParameterImagePreview = ({ imageSrc }) => {
15964
- const [loading, setLoading] = useState9(false);
15965
- const [loadErrorText, setLoadErrorText] = useState9("");
15966
- const errorText = "The text you provided is not a valid URL";
15967
- const updateImageSrc = useCallback3(() => {
15968
- let message = "";
15969
- try {
15970
- if (imageSrc !== "") {
15971
- const url = String(imageSrc).startsWith("//") ? `${location.protocol}${imageSrc}` : String(imageSrc);
15972
- if (!isValidUrl(url) || !url.startsWith("https")) {
15973
- throw Error(errorText);
15974
- }
15975
- }
15976
- message = "";
15977
- } catch (e) {
15978
- message = errorText;
15979
- }
15980
- setLoadErrorText(message);
15981
- }, [setLoadErrorText, imageSrc]);
15982
- useEffect9(() => {
15983
- updateImageSrc();
15984
- }, [imageSrc]);
15985
- const handleLoadEvent = () => {
15986
- setLoadErrorText("");
15987
- if (imageSrc) {
15988
- setLoading(true);
15989
- }
15990
- const timer = setTimeout(() => {
15991
- setLoading(false);
15992
- }, 200);
15993
- return () => clearTimeout(timer);
15994
- };
15995
- const handleErrorEvent = () => {
15996
- setLoadErrorText("The value you provided is not a valid image URL");
15997
- };
15998
- return /* @__PURE__ */ jsxs61("div", { css: imageWrapper, children: [
15999
- imageSrc && !loadErrorText ? /* @__PURE__ */ jsx90(
16000
- "img",
16144
+ var ParameterImageInner = forwardRef11((props, ref) => {
16145
+ const { value } = props;
16146
+ const { id, label, hiddenLabel, errorMessage } = useParameterShell();
16147
+ const deferredValue = useDeferredValue(value);
16148
+ return /* @__PURE__ */ jsxs62(Fragment12, { children: [
16149
+ /* @__PURE__ */ jsx92(
16150
+ "input",
16001
16151
  {
16002
- src: imageSrc,
16003
- css: img,
16004
- alt: "image preview",
16005
- onLoad: handleLoadEvent,
16006
- onError: handleErrorEvent,
16007
- loading: "lazy",
16008
- "data-testid": "parameter-image-preview"
16152
+ css: input2,
16153
+ type: "text",
16154
+ id,
16155
+ ref,
16156
+ "aria-label": hiddenLabel ? label : void 0,
16157
+ autoComplete: "off",
16158
+ ...props
16009
16159
  }
16010
- ) : null,
16011
- imageSrc && loadErrorText ? /* @__PURE__ */ jsxs61(Fragment11, { children: [
16012
- /* @__PURE__ */ jsx90(BrokenImage, { css: img }),
16013
- /* @__PURE__ */ jsx90(ErrorMessage, { message: loadErrorText })
16014
- ] }) : null,
16015
- loading && /* @__PURE__ */ jsx90(LoadingIcon, {})
16160
+ ),
16161
+ errorMessage || props.disablePreview ? null : /* @__PURE__ */ jsx92(ParameterImagePreview, { imageSrc: deferredValue })
16016
16162
  ] });
16017
- };
16163
+ });
16018
16164
 
16019
16165
  // src/components/ParameterInputs/ParameterInput.tsx
16020
16166
  import { forwardRef as forwardRef12 } from "react";
16021
- import { jsx as jsx91 } from "@emotion/react/jsx-runtime";
16167
+ import { jsx as jsx93 } from "@emotion/react/jsx-runtime";
16022
16168
  var ParameterInput = forwardRef12((props, ref) => {
16023
16169
  const { shellProps, innerProps } = extractParameterProps(props);
16024
- return /* @__PURE__ */ jsx91(ParameterShell, { "data-test-id": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx91(ParameterInputInner, { ref, ...innerProps }) });
16170
+ return /* @__PURE__ */ jsx93(ParameterShell, { "data-test-id": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx93(ParameterInputInner, { ref, ...innerProps }) });
16025
16171
  });
16026
16172
  var ParameterInputInner = forwardRef12(
16027
16173
  ({ ...props }, ref) => {
16028
16174
  const { id, label, hiddenLabel } = useParameterShell();
16029
- return /* @__PURE__ */ jsx91(
16175
+ return /* @__PURE__ */ jsx93(
16030
16176
  "input",
16031
16177
  {
16032
16178
  css: input2,
@@ -16043,18 +16189,18 @@ var ParameterInputInner = forwardRef12(
16043
16189
 
16044
16190
  // src/components/ParameterInputs/ParameterLink.tsx
16045
16191
  import { forwardRef as forwardRef13 } from "react";
16046
- import { jsx as jsx92, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
16192
+ import { jsx as jsx94, jsxs as jsxs63 } from "@emotion/react/jsx-runtime";
16047
16193
  var ParameterLink = forwardRef13(
16048
- ({ buttonText = "Select link", disabled, onConnectLink, externalLink, ...props }, ref) => {
16194
+ ({ disabled, onConnectLink, externalLink, ...props }, ref) => {
16049
16195
  const { shellProps, innerProps } = extractParameterProps(props);
16050
- return /* @__PURE__ */ jsx92(
16196
+ return /* @__PURE__ */ jsx94(
16051
16197
  ParameterShell,
16052
16198
  {
16053
16199
  "data-test-id": "link-parameter-editor",
16054
16200
  ...shellProps,
16055
16201
  label: innerProps.value ? shellProps.label : "",
16056
16202
  title: !innerProps.value ? shellProps.label : void 0,
16057
- children: !innerProps.value ? /* @__PURE__ */ jsx92("button", { type: "button", css: dataConnectButton, disabled, onClick: onConnectLink, children: buttonText }) : /* @__PURE__ */ jsx92(
16203
+ children: /* @__PURE__ */ jsx94(
16058
16204
  ParameterLinkInner,
16059
16205
  {
16060
16206
  onConnectLink,
@@ -16068,10 +16214,12 @@ var ParameterLink = forwardRef13(
16068
16214
  }
16069
16215
  );
16070
16216
  var ParameterLinkInner = forwardRef13(
16071
- ({ externalLink, onConnectLink, disabled, ...props }, ref) => {
16217
+ ({ externalLink, onConnectLink, disabled, buttonText = "Select link", ...props }, ref) => {
16072
16218
  const { id, label, hiddenLabel } = useParameterShell();
16073
- return /* @__PURE__ */ jsxs62("div", { css: inputWrapper, children: [
16074
- /* @__PURE__ */ jsx92(
16219
+ if (!props.value)
16220
+ return /* @__PURE__ */ jsx94("button", { type: "button", css: dataConnectButton, disabled, onClick: onConnectLink, children: buttonText });
16221
+ return /* @__PURE__ */ jsxs63("div", { css: inputWrapper, children: [
16222
+ /* @__PURE__ */ jsx94(
16075
16223
  "input",
16076
16224
  {
16077
16225
  type: "text",
@@ -16083,8 +16231,8 @@ var ParameterLinkInner = forwardRef13(
16083
16231
  ...props
16084
16232
  }
16085
16233
  ),
16086
- /* @__PURE__ */ jsxs62("div", { css: linkParameterControls, children: [
16087
- /* @__PURE__ */ jsx92(
16234
+ /* @__PURE__ */ jsxs63("div", { css: linkParameterControls, children: [
16235
+ /* @__PURE__ */ jsx94(
16088
16236
  "button",
16089
16237
  {
16090
16238
  type: "button",
@@ -16095,7 +16243,7 @@ var ParameterLinkInner = forwardRef13(
16095
16243
  children: "edit"
16096
16244
  }
16097
16245
  ),
16098
- externalLink ? /* @__PURE__ */ jsx92(
16246
+ externalLink ? /* @__PURE__ */ jsx94(
16099
16247
  "a",
16100
16248
  {
16101
16249
  href: externalLink,
@@ -16103,7 +16251,7 @@ var ParameterLinkInner = forwardRef13(
16103
16251
  title: "Open link in new tab",
16104
16252
  target: "_blank",
16105
16253
  rel: "noopener noreferrer",
16106
- children: /* @__PURE__ */ jsx92(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
16254
+ children: /* @__PURE__ */ jsx94(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
16107
16255
  }
16108
16256
  ) : null
16109
16257
  ] })
@@ -16112,7 +16260,7 @@ var ParameterLinkInner = forwardRef13(
16112
16260
  );
16113
16261
 
16114
16262
  // src/components/ParameterInputs/ParameterNameAndPublicIdInput.tsx
16115
- import { Fragment as Fragment12, jsx as jsx93, jsxs as jsxs63 } from "@emotion/react/jsx-runtime";
16263
+ import { Fragment as Fragment13, jsx as jsx95, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
16116
16264
  var ParameterNameAndPublicIdInput = ({
16117
16265
  id,
16118
16266
  onBlur,
@@ -16138,8 +16286,8 @@ var ParameterNameAndPublicIdInput = ({
16138
16286
  navigator.clipboard.writeText(values[publicIdFieldName]);
16139
16287
  };
16140
16288
  autoFocus == null ? void 0 : autoFocus();
16141
- return /* @__PURE__ */ jsxs63(Fragment12, { children: [
16142
- /* @__PURE__ */ jsx93(
16289
+ return /* @__PURE__ */ jsxs64(Fragment13, { children: [
16290
+ /* @__PURE__ */ jsx95(
16143
16291
  ParameterInput,
16144
16292
  {
16145
16293
  id: nameIdField,
@@ -16158,7 +16306,7 @@ var ParameterNameAndPublicIdInput = ({
16158
16306
  value: values[nameIdField]
16159
16307
  }
16160
16308
  ),
16161
- /* @__PURE__ */ jsx93(
16309
+ /* @__PURE__ */ jsx95(
16162
16310
  ParameterInput,
16163
16311
  {
16164
16312
  id: publicIdFieldName,
@@ -16172,11 +16320,11 @@ var ParameterNameAndPublicIdInput = ({
16172
16320
  caption: publicIdCaption,
16173
16321
  placeholder: publicIdPlaceholderText,
16174
16322
  errorMessage: publicIdError,
16175
- menuItems: /* @__PURE__ */ jsx93(
16323
+ menuItems: /* @__PURE__ */ jsx95(
16176
16324
  MenuItem,
16177
16325
  {
16178
16326
  disabled: !values[publicIdFieldName],
16179
- icon: /* @__PURE__ */ jsx93(Icon, { icon: "path-trim", iconColor: "currentColor" }),
16327
+ icon: /* @__PURE__ */ jsx95(Icon, { icon: "path-trim", iconColor: "currentColor" }),
16180
16328
  onClick: handleCopyPidFieldValue,
16181
16329
  children: "Copy"
16182
16330
  }
@@ -16184,12 +16332,12 @@ var ParameterNameAndPublicIdInput = ({
16184
16332
  value: values[publicIdFieldName]
16185
16333
  }
16186
16334
  ),
16187
- (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx93(Callout, { type: "caution", children: warnOverLength.message }) : null
16335
+ (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx95(Callout, { type: "caution", children: warnOverLength.message }) : null
16188
16336
  ] });
16189
16337
  };
16190
16338
 
16191
16339
  // src/components/ParameterInputs/ParameterRichText.tsx
16192
- import { css as css78 } from "@emotion/react";
16340
+ import { css as css79 } from "@emotion/react";
16193
16341
  import { ListItemNode, ListNode as ListNode2 } from "@lexical/list";
16194
16342
  import {
16195
16343
  CODE,
@@ -16255,6 +16403,10 @@ var richTextBuiltInElements = [
16255
16403
  {
16256
16404
  label: "Code Block",
16257
16405
  type: "code"
16406
+ },
16407
+ {
16408
+ label: "Dynamic Token",
16409
+ type: "variable"
16258
16410
  }
16259
16411
  ];
16260
16412
  var richTextBuiltInFormats = [
@@ -16337,23 +16489,23 @@ function DisableStylesPlugin() {
16337
16489
  }
16338
16490
 
16339
16491
  // src/components/ParameterInputs/rich-text/editorStyles.ts
16340
- import { css as css74 } from "@emotion/css";
16341
- var textBold = css74`
16492
+ import { css as css75 } from "@emotion/css";
16493
+ var textBold = css75`
16342
16494
  font-weight: 700;
16343
16495
  `;
16344
- var textItalic = css74`
16496
+ var textItalic = css75`
16345
16497
  font-style: italic;
16346
16498
  `;
16347
- var textUnderline = css74`
16499
+ var textUnderline = css75`
16348
16500
  text-decoration: underline;
16349
16501
  `;
16350
- var textStrikethrough = css74`
16502
+ var textStrikethrough = css75`
16351
16503
  text-decoration: line-through;
16352
16504
  `;
16353
- var textUnderlineStrikethrough = css74`
16505
+ var textUnderlineStrikethrough = css75`
16354
16506
  text-decoration: underline line-through;
16355
16507
  `;
16356
- var textCode = css74`
16508
+ var textCode = css75`
16357
16509
  background-color: var(--gray-100);
16358
16510
  border-radius: var(--rounded-sm);
16359
16511
  display: inline-block;
@@ -16364,68 +16516,68 @@ var textCode = css74`
16364
16516
  padding-left: var(--spacing-xs);
16365
16517
  padding-right: var(--spacing-xs);
16366
16518
  `;
16367
- var textSuperscript = css74`
16519
+ var textSuperscript = css75`
16368
16520
  vertical-align: super;
16369
16521
  font-size: smaller;
16370
16522
  `;
16371
- var textSubscript = css74`
16523
+ var textSubscript = css75`
16372
16524
  vertical-align: sub;
16373
16525
  font-size: smaller;
16374
16526
  `;
16375
- var linkElement = css74`
16527
+ var linkElement = css75`
16376
16528
  ${link}
16377
16529
  ${linkColorDefault}
16378
16530
  text-decoration: underline;
16379
16531
  `;
16380
- var h12 = css74`
16532
+ var h12 = css75`
16381
16533
  font-size: clamp(1.35rem, var(--fluid-font-base), 1.7rem);
16382
16534
  `;
16383
- var h22 = css74`
16535
+ var h22 = css75`
16384
16536
  font-size: clamp(1.35rem, var(--fluid-font-base), 1.6rem);
16385
16537
  `;
16386
- var h32 = css74`
16538
+ var h32 = css75`
16387
16539
  font-size: clamp(1.25rem, var(--fluid-font-base), 1.5rem);
16388
16540
  `;
16389
- var h42 = css74`
16541
+ var h42 = css75`
16390
16542
  font-size: clamp(1.15rem, var(--fluid-font-base), 1.25rem);
16391
16543
  `;
16392
- var h52 = css74`
16544
+ var h52 = css75`
16393
16545
  font-size: clamp(var(--fs-base), var(--fluid-font-base), 1.15rem);
16394
16546
  `;
16395
- var h62 = css74`
16547
+ var h62 = css75`
16396
16548
  font-size: var(--fs-base);
16397
16549
  `;
16398
- var heading1Element = css74`
16550
+ var heading1Element = css75`
16399
16551
  ${h12}
16400
16552
  ${commonHeadingAttr(true)}
16401
16553
  ${commonLineHeight}
16402
16554
  `;
16403
- var heading2Element = css74`
16555
+ var heading2Element = css75`
16404
16556
  ${h22}
16405
16557
  ${commonHeadingAttr(true)}
16406
16558
  ${commonLineHeight}
16407
16559
  `;
16408
- var heading3Element = css74`
16560
+ var heading3Element = css75`
16409
16561
  ${h32}
16410
16562
  ${commonHeadingAttr(true)}
16411
16563
  ${commonLineHeight}
16412
16564
  `;
16413
- var heading4Element = css74`
16565
+ var heading4Element = css75`
16414
16566
  ${h42}
16415
16567
  ${commonHeadingAttr(true)}
16416
16568
  ${commonLineHeight}
16417
16569
  `;
16418
- var heading5Element = css74`
16570
+ var heading5Element = css75`
16419
16571
  ${h52}
16420
16572
  ${commonHeadingAttr(true)}
16421
16573
  ${commonLineHeight}
16422
16574
  `;
16423
- var heading6Element = css74`
16575
+ var heading6Element = css75`
16424
16576
  ${h62}
16425
16577
  ${commonHeadingAttr(true)}
16426
16578
  ${commonLineHeight}
16427
16579
  `;
16428
- var paragraphElement = css74`
16580
+ var paragraphElement = css75`
16429
16581
  line-height: 1.5;
16430
16582
  margin-bottom: var(--spacing-base);
16431
16583
 
@@ -16433,7 +16585,7 @@ var paragraphElement = css74`
16433
16585
  margin-bottom: 0;
16434
16586
  }
16435
16587
  `;
16436
- var orderedListElement = css74`
16588
+ var orderedListElement = css75`
16437
16589
  ${commonLineHeight}
16438
16590
  display: block;
16439
16591
  list-style: decimal;
@@ -16462,7 +16614,7 @@ var orderedListElement = css74`
16462
16614
  }
16463
16615
  }
16464
16616
  `;
16465
- var unorderedListElement = css74`
16617
+ var unorderedListElement = css75`
16466
16618
  ${commonLineHeight}
16467
16619
  display: block;
16468
16620
  list-style: disc;
@@ -16483,13 +16635,13 @@ var unorderedListElement = css74`
16483
16635
  }
16484
16636
  }
16485
16637
  `;
16486
- var listItemElement = css74`
16638
+ var listItemElement = css75`
16487
16639
  margin-left: var(--spacing-md);
16488
16640
  `;
16489
- var nestedListItemElement = css74`
16641
+ var nestedListItemElement = css75`
16490
16642
  list-style-type: none;
16491
16643
  `;
16492
- var blockquoteElement = css74`
16644
+ var blockquoteElement = css75`
16493
16645
  border-left: 0.25rem solid var(--gray-300);
16494
16646
  color: var(--gray-600);
16495
16647
  margin-bottom: var(--spacing-base);
@@ -16499,7 +16651,7 @@ var blockquoteElement = css74`
16499
16651
  margin-bottom: 0;
16500
16652
  }
16501
16653
  `;
16502
- var codeElement = css74`
16654
+ var codeElement = css75`
16503
16655
  background-color: var(--gray-100);
16504
16656
  border-radius: var(--rounded-sm);
16505
16657
  display: block;
@@ -16516,7 +16668,7 @@ var codeElement = css74`
16516
16668
  `;
16517
16669
 
16518
16670
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
16519
- import { css as css76 } from "@emotion/react";
16671
+ import { css as css77 } from "@emotion/react";
16520
16672
  import { useLexicalComposerContext as useLexicalComposerContext2 } from "@lexical/react/LexicalComposerContext";
16521
16673
  import { NodeEventPlugin } from "@lexical/react/LexicalNodeEventPlugin";
16522
16674
  import { addClassNamesToElement, isHTMLAnchorElement, mergeRegister as mergeRegister2 } from "@lexical/utils";
@@ -16535,8 +16687,8 @@ import {
16535
16687
  import { useCallback as useCallback4, useEffect as useEffect11, useRef as useRef6, useState as useState10 } from "react";
16536
16688
 
16537
16689
  // src/components/Popover/Popover.styles.ts
16538
- import { css as css75 } from "@emotion/react";
16539
- var PopoverBtn = css75`
16690
+ import { css as css76 } from "@emotion/react";
16691
+ var PopoverBtn = css76`
16540
16692
  border: none;
16541
16693
  background: none;
16542
16694
  padding: var(--spacing-2xs);
@@ -16546,7 +16698,7 @@ var PopoverBtn = css75`
16546
16698
  background-color: rgba(0, 0, 0, 0.05);
16547
16699
  }
16548
16700
  `;
16549
- var Popover = css75`
16701
+ var Popover = css76`
16550
16702
  border-left: var(--spacing-xs) solid var(--brand-secondary-3);
16551
16703
  border-radius: var(--rounded-base);
16552
16704
  box-shadow: var(--shadow-base);
@@ -16595,7 +16747,7 @@ var getSelectedNode = (selection) => {
16595
16747
  };
16596
16748
 
16597
16749
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
16598
- import { Fragment as Fragment13, jsx as jsx94, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
16750
+ import { Fragment as Fragment14, jsx as jsx96, jsxs as jsxs65 } from "@emotion/react/jsx-runtime";
16599
16751
  var isProjectMapLinkValue = (value) => {
16600
16752
  return (value == null ? void 0 : value.type) === "projectMapNode" && Boolean(
16601
16753
  value.nodeId && value.path && value.projectMapId
@@ -16882,20 +17034,23 @@ var OPEN_LINK_NODE_MODAL_COMMAND = createCommand(
16882
17034
  );
16883
17035
  var LINK_POPOVER_OFFSET_X = 0;
16884
17036
  var LINK_POPOVER_OFFSET_Y = 8;
16885
- var linkPopover = css76`
17037
+ var linkPopover = css77`
16886
17038
  position: absolute;
16887
17039
  z-index: 5;
16888
17040
  `;
16889
- var linkPopoverContainer = css76`
17041
+ var linkPopoverContainer = css77`
16890
17042
  ${Popover};
16891
17043
  align-items: center;
16892
17044
  display: flex;
16893
17045
  `;
16894
- var linkPopoverAnchor = css76`
17046
+ var linkPopoverAnchor = css77`
16895
17047
  ${link}
16896
17048
  ${linkColorDefault}
16897
17049
  `;
16898
- function LinkNodePlugin({ onConnectLink }) {
17050
+ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17051
+ const parsePath = getBoundPath != null ? getBoundPath : function(path) {
17052
+ return path;
17053
+ };
16899
17054
  const [editor] = useLexicalComposerContext2();
16900
17055
  const [linkPopoverState, setLinkPopoverState] = useState10();
16901
17056
  const linkPopoverElRef = useRef6(null);
@@ -17035,8 +17190,8 @@ function LinkNodePlugin({ onConnectLink }) {
17035
17190
  });
17036
17191
  });
17037
17192
  };
17038
- return /* @__PURE__ */ jsxs64(Fragment13, { children: [
17039
- /* @__PURE__ */ jsx94(
17193
+ return /* @__PURE__ */ jsxs65(Fragment14, { children: [
17194
+ /* @__PURE__ */ jsx96(
17040
17195
  NodeEventPlugin,
17041
17196
  {
17042
17197
  nodeType: LinkNode,
@@ -17046,7 +17201,7 @@ function LinkNodePlugin({ onConnectLink }) {
17046
17201
  }
17047
17202
  }
17048
17203
  ),
17049
- linkPopoverState ? /* @__PURE__ */ jsx94(
17204
+ linkPopoverState ? /* @__PURE__ */ jsx96(
17050
17205
  "div",
17051
17206
  {
17052
17207
  css: linkPopover,
@@ -17055,18 +17210,20 @@ function LinkNodePlugin({ onConnectLink }) {
17055
17210
  top: linkPopoverState.position.y
17056
17211
  },
17057
17212
  ref: linkPopoverElRef,
17058
- children: /* @__PURE__ */ jsxs64("div", { css: linkPopoverContainer, children: [
17059
- linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ jsx94(
17213
+ children: /* @__PURE__ */ jsxs65("div", { css: linkPopoverContainer, children: [
17214
+ linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ jsx96(
17060
17215
  "a",
17061
17216
  {
17062
- href: `${linkPopoverState.node.__link.type === "email" ? "mailto:" : linkPopoverState.node.__link.type === "tel" ? "tel:" : ""}${linkPopoverState.node.__link.path}`,
17217
+ href: parsePath(
17218
+ `${linkPopoverState.node.__link.type === "email" ? "mailto:" : linkPopoverState.node.__link.type === "tel" ? "tel:" : ""}${linkPopoverState.node.__link.path}`
17219
+ ),
17063
17220
  css: linkPopoverAnchor,
17064
17221
  target: "_blank",
17065
17222
  rel: "noopener noreferrer",
17066
- children: linkPopoverState.node.__link.path
17223
+ children: parsePath(linkPopoverState.node.__link.path)
17067
17224
  }
17068
17225
  ),
17069
- /* @__PURE__ */ jsx94(
17226
+ /* @__PURE__ */ jsx96(
17070
17227
  Button,
17071
17228
  {
17072
17229
  size: "xs",
@@ -17074,7 +17231,7 @@ function LinkNodePlugin({ onConnectLink }) {
17074
17231
  onEditLinkNode(linkPopoverState.node);
17075
17232
  },
17076
17233
  buttonType: "ghost",
17077
- children: /* @__PURE__ */ jsx94(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
17234
+ children: /* @__PURE__ */ jsx96(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
17078
17235
  }
17079
17236
  )
17080
17237
  ] })
@@ -17099,7 +17256,7 @@ import {
17099
17256
  INDENT_CONTENT_COMMAND
17100
17257
  } from "lexical";
17101
17258
  import { useEffect as useEffect12 } from "react";
17102
- import { jsx as jsx95 } from "@emotion/react/jsx-runtime";
17259
+ import { jsx as jsx97 } from "@emotion/react/jsx-runtime";
17103
17260
  function isIndentPermitted(maxDepth) {
17104
17261
  const selection = $getSelection2();
17105
17262
  if (!$isRangeSelection2(selection)) {
@@ -17129,11 +17286,11 @@ function ListIndentPlugin({ maxDepth }) {
17129
17286
  COMMAND_PRIORITY_CRITICAL
17130
17287
  );
17131
17288
  }, [editor, maxDepth]);
17132
- return /* @__PURE__ */ jsx95(TabIndentationPlugin, {});
17289
+ return /* @__PURE__ */ jsx97(TabIndentationPlugin, {});
17133
17290
  }
17134
17291
 
17135
17292
  // src/components/ParameterInputs/rich-text/RichTextToolbar.tsx
17136
- import { css as css77 } from "@emotion/react";
17293
+ import { css as css78 } from "@emotion/react";
17137
17294
  import { $createCodeNode } from "@lexical/code";
17138
17295
  import {
17139
17296
  $isListNode as $isListNode2,
@@ -17156,20 +17313,20 @@ import {
17156
17313
  SELECTION_CHANGE_COMMAND
17157
17314
  } from "lexical";
17158
17315
  import { useCallback as useCallback5, useEffect as useEffect13, useMemo as useMemo2, useState as useState11 } from "react";
17159
- import { Fragment as Fragment14, jsx as jsx96, jsxs as jsxs65 } from "@emotion/react/jsx-runtime";
17160
- var toolbar = css77`
17316
+ import { Fragment as Fragment15, jsx as jsx98, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
17317
+ var toolbar = css78`
17161
17318
  background: var(--gray-50);
17162
17319
  border-radius: var(--rounded-base);
17163
17320
  display: flex;
17164
17321
  /* We add 1px because we use a 1px wide separator */
17165
17322
  gap: calc(var(--spacing-sm) + 1px);
17166
- margin: calc(var(--spacing-sm) + var(--spacing-xs)) var(--spacing-sm);
17323
+ margin: calc(var(--spacing-sm) + var(--spacing-xs)) 0;
17167
17324
  padding: var(--spacing-sm);
17168
17325
  position: sticky;
17169
- top: 0;
17326
+ top: calc(var(--spacing-sm) * -2);
17170
17327
  z-index: 10;
17171
17328
  `;
17172
- var toolbarGroup = css77`
17329
+ var toolbarGroup = css78`
17173
17330
  display: flex;
17174
17331
  gap: var(--spacing-xs);
17175
17332
  position: relative;
@@ -17185,7 +17342,7 @@ var toolbarGroup = css77`
17185
17342
  width: 1px;
17186
17343
  }
17187
17344
  `;
17188
- var toolbarButton = css77`
17345
+ var richTextToolbarButton = css78`
17189
17346
  align-items: center;
17190
17347
  appearance: none;
17191
17348
  border: 0;
@@ -17198,17 +17355,17 @@ var toolbarButton = css77`
17198
17355
  min-width: 32px;
17199
17356
  padding: 0 var(--spacing-sm);
17200
17357
  `;
17201
- var toolbarButtonActive = css77`
17358
+ var richTextToolbarButtonActive = css78`
17202
17359
  background: var(--gray-200);
17203
17360
  `;
17204
- var toolbarIcon = css77`
17361
+ var toolbarIcon = css78`
17205
17362
  color: inherit;
17206
17363
  `;
17207
- var toolbarChevron = css77`
17364
+ var toolbarChevron = css78`
17208
17365
  margin-left: var(--spacing-xs);
17209
17366
  `;
17210
- var ToolbarIcon = ({ icon }) => {
17211
- return /* @__PURE__ */ jsx96(Icon, { icon, css: toolbarIcon, size: "1rem" });
17367
+ var RichTextToolbarIcon = ({ icon }) => {
17368
+ return /* @__PURE__ */ jsx98(Icon, { icon, css: toolbarIcon, size: "1rem" });
17212
17369
  };
17213
17370
  var FORMATS_WITH_ICON = /* @__PURE__ */ new Map([
17214
17371
  ["bold", "format-bold"],
@@ -17221,7 +17378,7 @@ var FORMATS_WITH_ICON = /* @__PURE__ */ new Map([
17221
17378
  ]);
17222
17379
  var HEADING_ELEMENTS = ["h1", "h2", "h3", "h4", "h5", "h6"];
17223
17380
  var TEXTUAL_ELEMENTS = HEADING_ELEMENTS;
17224
- var RichTextToolbar = ({ config }) => {
17381
+ var RichTextToolbar = ({ config, customControls }) => {
17225
17382
  const [editor] = useLexicalComposerContext4();
17226
17383
  const {
17227
17384
  activeElement,
@@ -17317,15 +17474,15 @@ var RichTextToolbar = ({ config }) => {
17317
17474
  });
17318
17475
  });
17319
17476
  }, [editor, updateToolbar]);
17320
- return /* @__PURE__ */ jsxs65("div", { css: toolbar, children: [
17321
- /* @__PURE__ */ jsxs65(
17477
+ return /* @__PURE__ */ jsxs66("div", { css: toolbar, children: [
17478
+ /* @__PURE__ */ jsxs66(
17322
17479
  Menu,
17323
17480
  {
17324
17481
  menuLabel: "Elements",
17325
- menuTrigger: /* @__PURE__ */ jsxs65("button", { css: toolbarButton, title: "Text styles", children: [
17482
+ menuTrigger: /* @__PURE__ */ jsxs66("button", { css: richTextToolbarButton, title: "Text styles", children: [
17326
17483
  visibleTextualElements.some((element) => element.type === activeElement) ? getLabelForElement(activeElement) : getLabelForElement("paragraph"),
17327
17484
  " ",
17328
- /* @__PURE__ */ jsx96(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
17485
+ /* @__PURE__ */ jsx98(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
17329
17486
  ] }),
17330
17487
  placement: "bottom-start",
17331
17488
  children: [
@@ -17335,7 +17492,7 @@ var RichTextToolbar = ({ config }) => {
17335
17492
  type: "paragraph"
17336
17493
  },
17337
17494
  ...visibleTextualElements
17338
- ].map((element) => /* @__PURE__ */ jsx96(
17495
+ ].map((element) => /* @__PURE__ */ jsx98(
17339
17496
  MenuItem,
17340
17497
  {
17341
17498
  onClick: () => {
@@ -17345,28 +17502,31 @@ var RichTextToolbar = ({ config }) => {
17345
17502
  },
17346
17503
  element.type
17347
17504
  )),
17348
- visibleTextualElements.length === 0 ? /* @__PURE__ */ jsx96(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
17505
+ visibleTextualElements.length === 0 ? /* @__PURE__ */ jsx98(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
17349
17506
  ]
17350
17507
  }
17351
17508
  ),
17352
- visibleFormatsWithIcon.length > 0 || visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsxs65("div", { css: toolbarGroup, children: [
17353
- visibleFormatsWithIcon.map((format) => /* @__PURE__ */ jsx96(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ jsx96(
17509
+ visibleFormatsWithIcon.length > 0 || visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsxs66("div", { css: toolbarGroup, children: [
17510
+ visibleFormatsWithIcon.map((format) => /* @__PURE__ */ jsx98(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ jsx98(
17354
17511
  "button",
17355
17512
  {
17356
17513
  onClick: () => {
17357
17514
  editor.dispatchCommand(FORMAT_TEXT_COMMAND, format.type);
17358
17515
  },
17359
- css: [toolbarButton, activeFormats.includes(format.type) ? toolbarButtonActive : null],
17360
- children: /* @__PURE__ */ jsx96(ToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
17516
+ css: [
17517
+ richTextToolbarButton,
17518
+ activeFormats.includes(format.type) ? richTextToolbarButtonActive : null
17519
+ ],
17520
+ children: /* @__PURE__ */ jsx98(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
17361
17521
  }
17362
17522
  ) }, format.type)),
17363
- visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsx96(
17523
+ visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsx98(
17364
17524
  Menu,
17365
17525
  {
17366
17526
  menuLabel: "Alternative text styles",
17367
- menuTrigger: /* @__PURE__ */ jsx96("button", { css: toolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ jsx96(Icon, { icon: "more-alt", css: toolbarIcon }) }),
17527
+ menuTrigger: /* @__PURE__ */ jsx98("button", { css: richTextToolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ jsx98(Icon, { icon: "more-alt", css: toolbarIcon }) }),
17368
17528
  placement: "bottom-start",
17369
- children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ jsx96(
17529
+ children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ jsx98(
17370
17530
  MenuItem,
17371
17531
  {
17372
17532
  onClick: () => {
@@ -17379,60 +17539,67 @@ var RichTextToolbar = ({ config }) => {
17379
17539
  }
17380
17540
  ) : null
17381
17541
  ] }) : null,
17382
- visibleElementsWithIcons.size > 0 ? /* @__PURE__ */ jsxs65("div", { css: toolbarGroup, children: [
17383
- linkElementVisible ? /* @__PURE__ */ jsx96(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ jsx96(
17542
+ visibleElementsWithIcons.size > 0 ? /* @__PURE__ */ jsxs66("div", { css: toolbarGroup, children: [
17543
+ linkElementVisible ? /* @__PURE__ */ jsx98(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ jsx98(
17384
17544
  "button",
17385
17545
  {
17386
17546
  onClick: () => {
17387
17547
  isLink ? editor.dispatchCommand(REMOVE_LINK_NODE_COMMAND, {}) : editor.dispatchCommand(OPEN_LINK_NODE_MODAL_COMMAND, {});
17388
17548
  },
17389
- css: [toolbarButton, isLink ? toolbarButtonActive : null],
17390
- children: /* @__PURE__ */ jsx96(ToolbarIcon, { icon: "link" })
17549
+ css: [richTextToolbarButton, isLink ? richTextToolbarButtonActive : null],
17550
+ children: /* @__PURE__ */ jsx98(RichTextToolbarIcon, { icon: "link" })
17391
17551
  }
17392
17552
  ) }) : null,
17393
- visibleLists.size > 0 ? /* @__PURE__ */ jsxs65(Fragment14, { children: [
17394
- visibleLists.has("unorderedList") ? /* @__PURE__ */ jsx96(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ jsx96(
17553
+ visibleLists.size > 0 ? /* @__PURE__ */ jsxs66(Fragment15, { children: [
17554
+ visibleLists.has("unorderedList") ? /* @__PURE__ */ jsx98(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ jsx98(
17395
17555
  "button",
17396
17556
  {
17397
17557
  onClick: () => {
17398
17558
  activeElement === "unorderedList" ? editor.dispatchCommand(REMOVE_LIST_COMMAND, void 0) : editor.dispatchCommand(INSERT_UNORDERED_LIST_COMMAND, void 0);
17399
17559
  },
17400
- css: [toolbarButton, activeElement === "unorderedList" ? toolbarButtonActive : null],
17401
- children: /* @__PURE__ */ jsx96(ToolbarIcon, { icon: "layout-list" })
17560
+ css: [
17561
+ richTextToolbarButton,
17562
+ activeElement === "unorderedList" ? richTextToolbarButtonActive : null
17563
+ ],
17564
+ children: /* @__PURE__ */ jsx98(RichTextToolbarIcon, { icon: "layout-list" })
17402
17565
  }
17403
17566
  ) }) : null,
17404
- visibleLists.has("orderedList") ? /* @__PURE__ */ jsx96(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ jsx96(
17567
+ visibleLists.has("orderedList") ? /* @__PURE__ */ jsx98(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ jsx98(
17405
17568
  "button",
17406
17569
  {
17407
17570
  onClick: () => {
17408
17571
  activeElement === "orderedList" ? editor.dispatchCommand(REMOVE_LIST_COMMAND, void 0) : editor.dispatchCommand(INSERT_ORDERED_LIST_COMMAND, void 0);
17409
17572
  },
17410
- css: [toolbarButton, activeElement === "orderedList" ? toolbarButtonActive : null],
17411
- children: /* @__PURE__ */ jsx96(ToolbarIcon, { icon: "layout-list-numbered" })
17573
+ css: [
17574
+ richTextToolbarButton,
17575
+ activeElement === "orderedList" ? richTextToolbarButtonActive : null
17576
+ ],
17577
+ children: /* @__PURE__ */ jsx98(RichTextToolbarIcon, { icon: "layout-list-numbered" })
17412
17578
  }
17413
17579
  ) }) : null
17414
17580
  ] }) : null,
17415
- quoteElementVisible ? /* @__PURE__ */ jsx96(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ jsx96(
17581
+ quoteElementVisible ? /* @__PURE__ */ jsx98(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ jsx98(
17416
17582
  "button",
17417
17583
  {
17418
17584
  onClick: () => {
17419
17585
  activeElement === "quote" ? onSelectElement("paragraph") : onSelectElement("quote");
17420
17586
  },
17421
- css: [toolbarButton, activeElement === "quote" ? toolbarButtonActive : null],
17422
- children: /* @__PURE__ */ jsx96(ToolbarIcon, { icon: "quote" })
17587
+ css: [richTextToolbarButton, activeElement === "quote" ? richTextToolbarButtonActive : null],
17588
+ children: /* @__PURE__ */ jsx98(RichTextToolbarIcon, { icon: "quote" })
17423
17589
  }
17424
17590
  ) }) : null,
17425
- codeElementVisible ? /* @__PURE__ */ jsx96(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ jsx96(
17591
+ codeElementVisible ? /* @__PURE__ */ jsx98(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ jsx98(
17426
17592
  "button",
17427
17593
  {
17428
17594
  onClick: () => {
17429
17595
  activeElement === "code" ? onSelectElement("paragraph") : onSelectElement("code");
17430
17596
  },
17431
- css: [toolbarButton, activeElement === "code" ? toolbarButtonActive : null],
17432
- children: /* @__PURE__ */ jsx96(ToolbarIcon, { icon: "code-slash" })
17597
+ css: [richTextToolbarButton, activeElement === "code" ? richTextToolbarButtonActive : null],
17598
+ children: /* @__PURE__ */ jsx98(RichTextToolbarIcon, { icon: "code-slash" })
17433
17599
  }
17434
17600
  ) }) : null
17435
- ] }) : null
17601
+ ] }) : null,
17602
+ customControls ? /* @__PURE__ */ jsx98("div", { css: toolbarGroup, children: customControls }) : null
17436
17603
  ] });
17437
17604
  };
17438
17605
  var RichTextToolbar_default = RichTextToolbar;
@@ -17546,7 +17713,7 @@ var useRichTextToolbarState = ({ config }) => {
17546
17713
  };
17547
17714
 
17548
17715
  // src/components/ParameterInputs/ParameterRichText.tsx
17549
- import { Fragment as Fragment15, jsx as jsx97, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
17716
+ import { Fragment as Fragment16, jsx as jsx99, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
17550
17717
  var ParameterRichText = ({
17551
17718
  label,
17552
17719
  labelLeadingIcon,
@@ -17565,9 +17732,13 @@ var ParameterRichText = ({
17565
17732
  readOnly,
17566
17733
  editorWrapperClassName,
17567
17734
  editorInputClassName,
17568
- editorFooter
17735
+ editorFooter,
17736
+ customNodes,
17737
+ children,
17738
+ variables,
17739
+ customControls
17569
17740
  }) => {
17570
- return /* @__PURE__ */ jsxs66(
17741
+ return /* @__PURE__ */ jsxs67(
17571
17742
  ParameterShell,
17572
17743
  {
17573
17744
  "data-test-id": "parameter-input",
@@ -17581,7 +17752,7 @@ var ParameterRichText = ({
17581
17752
  captionTestId,
17582
17753
  menuItems,
17583
17754
  children: [
17584
- /* @__PURE__ */ jsx97(
17755
+ /* @__PURE__ */ jsx99(
17585
17756
  ParameterRichTextInner,
17586
17757
  {
17587
17758
  value,
@@ -17592,26 +17763,30 @@ var ParameterRichText = ({
17592
17763
  readOnly,
17593
17764
  editorWrapperClassName,
17594
17765
  editorInputClassName,
17595
- editorFooter
17766
+ editorFooter,
17767
+ customNodes,
17768
+ variables,
17769
+ customControls,
17770
+ children
17596
17771
  }
17597
17772
  ),
17598
- menuItems ? /* @__PURE__ */ jsx97(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx97(Fragment15, { children: menuItems }) }) : null
17773
+ menuItems ? /* @__PURE__ */ jsx99(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx99(Fragment16, { children: menuItems }) }) : null
17599
17774
  ]
17600
17775
  }
17601
17776
  );
17602
17777
  };
17603
- var editorWrapper = css78`
17778
+ var editorWrapper = css79`
17604
17779
  display: flex;
17605
17780
  flex-flow: column;
17606
17781
  flex-grow: 1;
17607
17782
  `;
17608
- var editorContainer = css78`
17783
+ var editorContainer = css79`
17609
17784
  display: flex;
17610
17785
  flex-flow: column;
17611
17786
  flex-grow: 1;
17612
17787
  position: relative;
17613
17788
  `;
17614
- var editorPlaceholder = css78`
17789
+ var editorPlaceholder = css79`
17615
17790
  color: var(--gray-500);
17616
17791
  font-style: italic;
17617
17792
  /* 1px is added to make sure caret is clearly visible when field is focused
@@ -17622,7 +17797,7 @@ var editorPlaceholder = css78`
17622
17797
  top: var(--spacing-xs);
17623
17798
  user-select: none;
17624
17799
  `;
17625
- var editorInput = css78`
17800
+ var editorInput = css79`
17626
17801
  background: var(--white);
17627
17802
  border: 1px solid var(--white);
17628
17803
  border-radius: var(--rounded-sm);
@@ -17650,7 +17825,11 @@ var ParameterRichTextInner = ({
17650
17825
  readOnly,
17651
17826
  editorWrapperClassName,
17652
17827
  editorInputClassName,
17653
- editorFooter
17828
+ editorFooter,
17829
+ children,
17830
+ customNodes,
17831
+ variables,
17832
+ customControls
17654
17833
  }) => {
17655
17834
  const lexicalConfig = {
17656
17835
  namespace: "uniform",
@@ -17658,7 +17837,16 @@ var ParameterRichTextInner = ({
17658
17837
  console.error(error);
17659
17838
  },
17660
17839
  editorState: value ? JSON.stringify(value) : void 0,
17661
- nodes: [ListNode2, ListItemNode, LinkNode, HeadingNode, QuoteNode, ParagraphNode2, CustomCodeNode],
17840
+ nodes: [
17841
+ ListNode2,
17842
+ ListItemNode,
17843
+ LinkNode,
17844
+ HeadingNode,
17845
+ QuoteNode,
17846
+ ParagraphNode2,
17847
+ CustomCodeNode,
17848
+ ...customNodes != null ? customNodes : []
17849
+ ],
17662
17850
  theme: {
17663
17851
  text: {
17664
17852
  bold: textBold,
@@ -17693,8 +17881,8 @@ var ParameterRichTextInner = ({
17693
17881
  },
17694
17882
  editable: !readOnly
17695
17883
  };
17696
- return /* @__PURE__ */ jsxs66(Fragment15, { children: [
17697
- /* @__PURE__ */ jsx97("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ jsx97(LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ jsx97(
17884
+ return /* @__PURE__ */ jsxs67(Fragment16, { children: [
17885
+ /* @__PURE__ */ jsx99("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ jsx99(LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ jsx99(
17698
17886
  RichText,
17699
17887
  {
17700
17888
  onChange,
@@ -17702,7 +17890,10 @@ var ParameterRichTextInner = ({
17702
17890
  config,
17703
17891
  onRichTextInit,
17704
17892
  readOnly,
17705
- editorInputClassName
17893
+ editorInputClassName,
17894
+ variables,
17895
+ customControls,
17896
+ children
17706
17897
  }
17707
17898
  ) }) }),
17708
17899
  editorFooter ? editorFooter : null
@@ -17723,7 +17914,10 @@ var RichText = ({
17723
17914
  config,
17724
17915
  onRichTextInit,
17725
17916
  readOnly,
17726
- editorInputClassName
17917
+ editorInputClassName,
17918
+ children,
17919
+ variables,
17920
+ customControls
17727
17921
  }) => {
17728
17922
  const editorContainerRef = useRef7(null);
17729
17923
  const [editor] = useLexicalComposerContext5();
@@ -17744,40 +17938,50 @@ var RichText = ({
17744
17938
  removeUpdateListener();
17745
17939
  };
17746
17940
  }, []);
17747
- return /* @__PURE__ */ jsxs66(Fragment15, { children: [
17748
- readOnly ? null : /* @__PURE__ */ jsx97(RichTextToolbar_default, { config }),
17749
- /* @__PURE__ */ jsxs66("div", { css: editorContainer, ref: editorContainerRef, children: [
17750
- /* @__PURE__ */ jsx97(
17941
+ return /* @__PURE__ */ jsxs67(Fragment16, { children: [
17942
+ readOnly ? null : /* @__PURE__ */ jsx99(RichTextToolbar_default, { config, customControls }),
17943
+ /* @__PURE__ */ jsxs67("div", { css: editorContainer, ref: editorContainerRef, children: [
17944
+ /* @__PURE__ */ jsx99(
17751
17945
  RichTextPlugin,
17752
17946
  {
17753
- contentEditable: /* @__PURE__ */ jsx97(ContentEditable, { css: editorInput, className: editorInputClassName }),
17754
- placeholder: /* @__PURE__ */ jsx97("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
17947
+ contentEditable: /* @__PURE__ */ jsx99(ContentEditable, { css: editorInput, className: editorInputClassName }),
17948
+ placeholder: /* @__PURE__ */ jsx99("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
17755
17949
  ErrorBoundary: LexicalErrorBoundary
17756
17950
  }
17757
17951
  ),
17758
- /* @__PURE__ */ jsx97(ListPlugin, {}),
17759
- readOnly ? null : /* @__PURE__ */ jsx97(HistoryPlugin, {}),
17760
- /* @__PURE__ */ jsx97(LinkNodePlugin, { onConnectLink: onConnectLink ? onConnectLink : () => Promise.resolve() }),
17761
- /* @__PURE__ */ jsx97(ListIndentPlugin, { maxDepth: 4 }),
17762
- /* @__PURE__ */ jsx97(DisableStylesPlugin, {}),
17763
- /* @__PURE__ */ jsx97(MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS })
17952
+ /* @__PURE__ */ jsx99(ListPlugin, {}),
17953
+ readOnly ? null : /* @__PURE__ */ jsx99(HistoryPlugin, {}),
17954
+ /* @__PURE__ */ jsx99(
17955
+ LinkNodePlugin,
17956
+ {
17957
+ onConnectLink: onConnectLink ? onConnectLink : () => Promise.resolve(),
17958
+ getBoundPath: (variables == null ? void 0 : variables.bindVariables) ? (path) => {
17959
+ var _a, _b;
17960
+ return (_b = (_a = variables.bindVariables) == null ? void 0 : _a.call(variables, path)) != null ? _b : path;
17961
+ } : void 0
17962
+ }
17963
+ ),
17964
+ /* @__PURE__ */ jsx99(ListIndentPlugin, { maxDepth: 4 }),
17965
+ /* @__PURE__ */ jsx99(DisableStylesPlugin, {}),
17966
+ /* @__PURE__ */ jsx99(MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS }),
17967
+ /* @__PURE__ */ jsx99(Fragment16, { children })
17764
17968
  ] })
17765
17969
  ] });
17766
17970
  };
17767
17971
 
17768
17972
  // src/components/ParameterInputs/ParameterSelect.tsx
17769
17973
  import { forwardRef as forwardRef14 } from "react";
17770
- import { jsx as jsx98, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
17974
+ import { jsx as jsx100, jsxs as jsxs68 } from "@emotion/react/jsx-runtime";
17771
17975
  var ParameterSelect = forwardRef14(
17772
17976
  ({ defaultOption, options, ...props }, ref) => {
17773
17977
  const { shellProps, innerProps } = extractParameterProps(props);
17774
- return /* @__PURE__ */ jsx98(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx98(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
17978
+ return /* @__PURE__ */ jsx100(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx100(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
17775
17979
  }
17776
17980
  );
17777
17981
  var ParameterSelectInner = forwardRef14(
17778
17982
  ({ defaultOption, options, ...props }, ref) => {
17779
17983
  const { id, label, hiddenLabel } = useParameterShell();
17780
- return /* @__PURE__ */ jsxs67(
17984
+ return /* @__PURE__ */ jsxs68(
17781
17985
  "select",
17782
17986
  {
17783
17987
  css: [input2, selectInput],
@@ -17786,10 +17990,10 @@ var ParameterSelectInner = forwardRef14(
17786
17990
  ref,
17787
17991
  ...props,
17788
17992
  children: [
17789
- defaultOption ? /* @__PURE__ */ jsx98("option", { value: "", children: defaultOption }) : null,
17993
+ defaultOption ? /* @__PURE__ */ jsx100("option", { value: "", children: defaultOption }) : null,
17790
17994
  options.map((option) => {
17791
17995
  var _a;
17792
- return /* @__PURE__ */ jsx98("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
17996
+ return /* @__PURE__ */ jsx100("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
17793
17997
  })
17794
17998
  ]
17795
17999
  }
@@ -17799,14 +18003,14 @@ var ParameterSelectInner = forwardRef14(
17799
18003
 
17800
18004
  // src/components/ParameterInputs/ParameterTextarea.tsx
17801
18005
  import { forwardRef as forwardRef15 } from "react";
17802
- import { jsx as jsx99 } from "@emotion/react/jsx-runtime";
18006
+ import { jsx as jsx101 } from "@emotion/react/jsx-runtime";
17803
18007
  var ParameterTextarea = forwardRef15((props, ref) => {
17804
18008
  const { shellProps, innerProps } = extractParameterProps(props);
17805
- return /* @__PURE__ */ jsx99(ParameterShell, { "data-test-id": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx99(ParameterTextareaInner, { ref, ...innerProps }) });
18009
+ return /* @__PURE__ */ jsx101(ParameterShell, { "data-test-id": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx101(ParameterTextareaInner, { ref, ...innerProps }) });
17806
18010
  });
17807
18011
  var ParameterTextareaInner = forwardRef15(({ ...props }, ref) => {
17808
18012
  const { id, label, hiddenLabel } = useParameterShell();
17809
- return /* @__PURE__ */ jsx99(
18013
+ return /* @__PURE__ */ jsx101(
17810
18014
  "textarea",
17811
18015
  {
17812
18016
  css: [input2, textarea2],
@@ -17820,17 +18024,17 @@ var ParameterTextareaInner = forwardRef15(({ ...props }, ref) => {
17820
18024
 
17821
18025
  // src/components/ParameterInputs/ParameterToggle.tsx
17822
18026
  import { forwardRef as forwardRef16 } from "react";
17823
- import { jsx as jsx100, jsxs as jsxs68 } from "@emotion/react/jsx-runtime";
18027
+ import { jsx as jsx102, jsxs as jsxs69 } from "@emotion/react/jsx-runtime";
17824
18028
  var ParameterToggle = forwardRef16((props, ref) => {
17825
18029
  const { shellProps, innerProps } = extractParameterProps(props);
17826
- return /* @__PURE__ */ jsx100(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx100(ParameterToggleInner, { ref, ...innerProps }) });
18030
+ return /* @__PURE__ */ jsx102(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx102(ParameterToggleInner, { ref, ...innerProps }) });
17827
18031
  });
17828
18032
  var ParameterToggleInner = forwardRef16(
17829
18033
  ({ ...props }, ref) => {
17830
18034
  const { id, label } = useParameterShell();
17831
- return /* @__PURE__ */ jsxs68("label", { css: inputToggleLabel2, children: [
17832
- /* @__PURE__ */ jsx100("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
17833
- /* @__PURE__ */ jsx100("span", { css: inlineLabel2, children: label })
18035
+ return /* @__PURE__ */ jsxs69("label", { css: inputToggleLabel2, children: [
18036
+ /* @__PURE__ */ jsx102("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
18037
+ /* @__PURE__ */ jsx102("span", { css: inlineLabel2, children: label })
17834
18038
  ] });
17835
18039
  }
17836
18040
  );
@@ -17841,7 +18045,7 @@ import {
17841
18045
  PopoverDisclosure,
17842
18046
  usePopoverState
17843
18047
  } from "reakit/Popover";
17844
- import { Fragment as Fragment16, jsx as jsx101, jsxs as jsxs69 } from "@emotion/react/jsx-runtime";
18048
+ import { Fragment as Fragment17, jsx as jsx103, jsxs as jsxs70 } from "@emotion/react/jsx-runtime";
17845
18049
  var Popover2 = ({
17846
18050
  iconColor = "action",
17847
18051
  icon = "info",
@@ -17854,36 +18058,36 @@ var Popover2 = ({
17854
18058
  ...otherProps
17855
18059
  }) => {
17856
18060
  const popover = usePopoverState({ placement });
17857
- return /* @__PURE__ */ jsxs69(Fragment16, { children: [
17858
- /* @__PURE__ */ jsxs69(PopoverDisclosure, { ...popover, css: PopoverBtn, title: buttonText, "data-test-id": testId, children: [
17859
- /* @__PURE__ */ jsx101(Icon, { icon, iconColor, size: iconSize }),
17860
- /* @__PURE__ */ jsx101("span", { hidden: true, children: buttonText })
18061
+ return /* @__PURE__ */ jsxs70(Fragment17, { children: [
18062
+ /* @__PURE__ */ jsxs70(PopoverDisclosure, { ...popover, css: PopoverBtn, title: buttonText, "data-test-id": testId, children: [
18063
+ /* @__PURE__ */ jsx103(Icon, { icon, iconColor, size: iconSize }),
18064
+ /* @__PURE__ */ jsx103("span", { hidden: true, children: buttonText })
17861
18065
  ] }),
17862
- /* @__PURE__ */ jsx101(ReakitPopover, { css: Popover, ...otherProps, ...popover, role: "tooltip", "aria-label": ariaLabel, children })
18066
+ /* @__PURE__ */ jsx103(ReakitPopover, { css: Popover, ...otherProps, ...popover, role: "tooltip", "aria-label": ariaLabel, children })
17863
18067
  ] });
17864
18068
  };
17865
18069
 
17866
18070
  // src/components/ProgressList/ProgressList.tsx
17867
- import { css as css80 } from "@emotion/react";
18071
+ import { css as css81 } from "@emotion/react";
17868
18072
  import { useMemo as useMemo3 } from "react";
17869
18073
  import { CgCheckO as CgCheckO2, CgRadioCheck, CgRecord } from "react-icons/cg";
17870
18074
 
17871
18075
  // src/components/ProgressList/styles/ProgressList.styles.ts
17872
- import { css as css79 } from "@emotion/react";
17873
- var progressListStyles = css79`
18076
+ import { css as css80 } from "@emotion/react";
18077
+ var progressListStyles = css80`
17874
18078
  display: flex;
17875
18079
  flex-direction: column;
17876
18080
  gap: var(--spacing-sm);
17877
18081
  list-style-type: none;
17878
18082
  `;
17879
- var progressListItemStyles = css79`
18083
+ var progressListItemStyles = css80`
17880
18084
  display: flex;
17881
18085
  gap: var(--spacing-base);
17882
18086
  align-items: center;
17883
18087
  `;
17884
18088
 
17885
18089
  // src/components/ProgressList/ProgressList.tsx
17886
- import { jsx as jsx102, jsxs as jsxs70 } from "@emotion/react/jsx-runtime";
18090
+ import { jsx as jsx104, jsxs as jsxs71 } from "@emotion/react/jsx-runtime";
17887
18091
  var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
17888
18092
  const itemsWithStatus = useMemo3(() => {
17889
18093
  const indexOfInProgressItem = items.findIndex(({ id }) => id === inProgressId);
@@ -17897,8 +18101,8 @@ var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
17897
18101
  return { ...item, status };
17898
18102
  });
17899
18103
  }, [items, inProgressId]);
17900
- return /* @__PURE__ */ jsx102("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
17901
- return /* @__PURE__ */ jsx102(
18104
+ return /* @__PURE__ */ jsx104("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
18105
+ return /* @__PURE__ */ jsx104(
17902
18106
  ProgressListItem,
17903
18107
  {
17904
18108
  status,
@@ -17931,12 +18135,12 @@ var ProgressListItem = ({
17931
18135
  }, [status, error]);
17932
18136
  const statusStyles = useMemo3(() => {
17933
18137
  if (error) {
17934
- return errorLevel === "caution" ? css80`
18138
+ return errorLevel === "caution" ? css81`
17935
18139
  color: rgb(161, 98, 7);
17936
18140
  & svg {
17937
18141
  color: rgb(250, 204, 21);
17938
18142
  }
17939
- ` : css80`
18143
+ ` : css81`
17940
18144
  color: rgb(185, 28, 28);
17941
18145
  & svg {
17942
18146
  color: var(--brand-primary-2);
@@ -17944,35 +18148,35 @@ var ProgressListItem = ({
17944
18148
  `;
17945
18149
  }
17946
18150
  const colorPerStatus = {
17947
- completed: css80`
18151
+ completed: css81`
17948
18152
  opacity: 0.75;
17949
18153
  `,
17950
- inProgress: css80`
18154
+ inProgress: css81`
17951
18155
  -webkit-text-stroke-width: thin;
17952
18156
  `,
17953
- queued: css80`
18157
+ queued: css81`
17954
18158
  opacity: 0.5;
17955
18159
  `
17956
18160
  };
17957
18161
  return colorPerStatus[status];
17958
18162
  }, [status, error, errorLevel]);
17959
- return /* @__PURE__ */ jsxs70("li", { css: [progressListItemStyles, statusStyles], children: [
17960
- /* @__PURE__ */ jsx102(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ jsx102("div", { children: /* @__PURE__ */ jsx102(Icon2, { size: 20 }) }) }),
17961
- /* @__PURE__ */ jsxs70("div", { children: [
18163
+ return /* @__PURE__ */ jsxs71("li", { css: [progressListItemStyles, statusStyles], children: [
18164
+ /* @__PURE__ */ jsx104(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ jsx104("div", { children: /* @__PURE__ */ jsx104(Icon2, { size: 20 }) }) }),
18165
+ /* @__PURE__ */ jsxs71("div", { children: [
17962
18166
  children,
17963
- /* @__PURE__ */ jsx102("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
18167
+ /* @__PURE__ */ jsx104("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
17964
18168
  ] })
17965
18169
  ] });
17966
18170
  };
17967
18171
 
17968
18172
  // src/components/SegmentedControl/SegmentedControl.tsx
17969
- import { css as css82 } from "@emotion/react";
18173
+ import { css as css83 } from "@emotion/react";
17970
18174
  import { useCallback as useCallback6, useMemo as useMemo4 } from "react";
17971
18175
  import { CgCheck as CgCheck4 } from "react-icons/cg";
17972
18176
 
17973
18177
  // src/components/SegmentedControl/SegmentedControl.styles.ts
17974
- import { css as css81 } from "@emotion/react";
17975
- var segmentedControlStyles = css81`
18178
+ import { css as css82 } from "@emotion/react";
18179
+ var segmentedControlStyles = css82`
17976
18180
  --segmented-control-rounded-value: var(--rounded-base);
17977
18181
  --segmented-control-border-width: 1px;
17978
18182
  --segmented-control-selected-color: var(--brand-secondary-3);
@@ -17991,14 +18195,14 @@ var segmentedControlStyles = css81`
17991
18195
  border-radius: calc(var(--segmented-control-rounded-value) + var(--segmented-control-border-width));
17992
18196
  font-size: var(--fs-xs);
17993
18197
  `;
17994
- var segmentedControlVerticalStyles = css81`
18198
+ var segmentedControlVerticalStyles = css82`
17995
18199
  flex-direction: column;
17996
18200
  --segmented-control-first-border-radius: var(--segmented-control-rounded-value)
17997
18201
  var(--segmented-control-rounded-value) 0 0;
17998
18202
  --segmented-control-last-border-radius: 0 0 var(--segmented-control-rounded-value)
17999
18203
  var(--segmented-control-rounded-value);
18000
18204
  `;
18001
- var segmentedControlItemStyles = css81`
18205
+ var segmentedControlItemStyles = css82`
18002
18206
  &:first-of-type label {
18003
18207
  border-radius: var(--segmented-control-first-border-radius);
18004
18208
  }
@@ -18006,10 +18210,10 @@ var segmentedControlItemStyles = css81`
18006
18210
  border-radius: var(--segmented-control-last-border-radius);
18007
18211
  }
18008
18212
  `;
18009
- var segmentedControlInputStyles = css81`
18213
+ var segmentedControlInputStyles = css82`
18010
18214
  ${accessibleHidden}
18011
18215
  `;
18012
- var segmentedControlLabelStyles = (checked, disabled) => css81`
18216
+ var segmentedControlLabelStyles = (checked, disabled) => css82`
18013
18217
  position: relative;
18014
18218
  display: flex;
18015
18219
  align-items: center;
@@ -18076,23 +18280,23 @@ var segmentedControlLabelStyles = (checked, disabled) => css81`
18076
18280
  `}
18077
18281
  }
18078
18282
  `;
18079
- var segmentedControlLabelIconOnlyStyles = css81`
18283
+ var segmentedControlLabelIconOnlyStyles = css82`
18080
18284
  padding-inline: 0.5em;
18081
18285
  `;
18082
- var segmentedControlLabelCheckStyles = css81`
18286
+ var segmentedControlLabelCheckStyles = css82`
18083
18287
  opacity: 0.5;
18084
18288
  `;
18085
- var segmentedControlLabelContentStyles = css81`
18289
+ var segmentedControlLabelContentStyles = css82`
18086
18290
  display: flex;
18087
18291
  align-items: center;
18088
18292
  justify-content: center;
18089
18293
  gap: var(--spacing-sm);
18090
18294
  height: 100%;
18091
18295
  `;
18092
- var segmentedControlLabelTextStyles = css81``;
18296
+ var segmentedControlLabelTextStyles = css82``;
18093
18297
 
18094
18298
  // src/components/SegmentedControl/SegmentedControl.tsx
18095
- import { jsx as jsx103, jsxs as jsxs71 } from "@emotion/react/jsx-runtime";
18299
+ import { jsx as jsx105, jsxs as jsxs72 } from "@emotion/react/jsx-runtime";
18096
18300
  var SegmentedControl = ({
18097
18301
  name,
18098
18302
  options,
@@ -18114,16 +18318,16 @@ var SegmentedControl = ({
18114
18318
  );
18115
18319
  const sizeStyles = useMemo4(() => {
18116
18320
  const map = {
18117
- sm: css82({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
18118
- md: css82({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
18119
- lg: css82({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
18321
+ sm: css83({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
18322
+ md: css83({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
18323
+ lg: css83({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
18120
18324
  };
18121
18325
  return map[size];
18122
18326
  }, [size]);
18123
18327
  const isIconOnly = useMemo4(() => {
18124
18328
  return options.every((option) => option.icon && !option.label);
18125
18329
  }, [options]);
18126
- return /* @__PURE__ */ jsx103(
18330
+ return /* @__PURE__ */ jsx105(
18127
18331
  "div",
18128
18332
  {
18129
18333
  css: [segmentedControlStyles, orientation === "vertical" ? segmentedControlVerticalStyles : void 0],
@@ -18131,11 +18335,11 @@ var SegmentedControl = ({
18131
18335
  children: options.map((option, index) => {
18132
18336
  const text = option.label ? option.label : option.icon ? null : String(option.value);
18133
18337
  const isDisabled = disabled || option.disabled;
18134
- return /* @__PURE__ */ jsx103(
18338
+ return /* @__PURE__ */ jsx105(
18135
18339
  Tooltip,
18136
18340
  {
18137
18341
  title: isDisabled || !option.tooltip ? "" : option.tooltip,
18138
- children: /* @__PURE__ */ jsx103("div", { css: segmentedControlItemStyles, "data-test-id": "container-segmented-control", children: /* @__PURE__ */ jsxs71(
18342
+ children: /* @__PURE__ */ jsx105("div", { css: segmentedControlItemStyles, "data-test-id": "container-segmented-control", children: /* @__PURE__ */ jsxs72(
18139
18343
  "label",
18140
18344
  {
18141
18345
  css: [
@@ -18144,7 +18348,7 @@ var SegmentedControl = ({
18144
18348
  isIconOnly ? segmentedControlLabelIconOnlyStyles : void 0
18145
18349
  ],
18146
18350
  children: [
18147
- /* @__PURE__ */ jsx103(
18351
+ /* @__PURE__ */ jsx105(
18148
18352
  "input",
18149
18353
  {
18150
18354
  css: segmentedControlInputStyles,
@@ -18156,10 +18360,10 @@ var SegmentedControl = ({
18156
18360
  disabled: isDisabled
18157
18361
  }
18158
18362
  ),
18159
- option.value !== value || noCheckmark ? null : /* @__PURE__ */ jsx103(CgCheck4, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
18160
- /* @__PURE__ */ jsxs71("span", { css: segmentedControlLabelContentStyles, children: [
18161
- !option.icon ? null : /* @__PURE__ */ jsx103(option.icon, { size: "1.5em" }),
18162
- !text ? null : /* @__PURE__ */ jsx103("span", { css: segmentedControlLabelTextStyles, children: text })
18363
+ option.value !== value || noCheckmark ? null : /* @__PURE__ */ jsx105(CgCheck4, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
18364
+ /* @__PURE__ */ jsxs72("span", { css: segmentedControlLabelContentStyles, children: [
18365
+ !option.icon ? null : /* @__PURE__ */ jsx105(option.icon, { size: "1.5em" }),
18366
+ !text ? null : /* @__PURE__ */ jsx105("span", { css: segmentedControlLabelTextStyles, children: text })
18163
18367
  ] })
18164
18368
  ]
18165
18369
  }
@@ -18173,18 +18377,18 @@ var SegmentedControl = ({
18173
18377
  };
18174
18378
 
18175
18379
  // src/components/Skeleton/Skeleton.styles.ts
18176
- import { css as css83, keyframes as keyframes4 } from "@emotion/react";
18380
+ import { css as css84, keyframes as keyframes4 } from "@emotion/react";
18177
18381
  var lightFadingOut = keyframes4`
18178
18382
  from { opacity: 0.1; }
18179
18383
  to { opacity: 0.025; }
18180
18384
  `;
18181
- var skeletonStyles = css83`
18385
+ var skeletonStyles = css84`
18182
18386
  animation: ${lightFadingOut} 1s ease-out infinite alternate;
18183
18387
  background-color: var(--gray-900);
18184
18388
  `;
18185
18389
 
18186
18390
  // src/components/Skeleton/Skeleton.tsx
18187
- import { jsx as jsx104 } from "@emotion/react/jsx-runtime";
18391
+ import { jsx as jsx106 } from "@emotion/react/jsx-runtime";
18188
18392
  var Skeleton = ({
18189
18393
  width = "100%",
18190
18394
  height = "1.25rem",
@@ -18192,7 +18396,7 @@ var Skeleton = ({
18192
18396
  circle = false,
18193
18397
  children,
18194
18398
  ...otherProps
18195
- }) => /* @__PURE__ */ jsx104(
18399
+ }) => /* @__PURE__ */ jsx106(
18196
18400
  "div",
18197
18401
  {
18198
18402
  css: [
@@ -18215,8 +18419,8 @@ var Skeleton = ({
18215
18419
  import * as React23 from "react";
18216
18420
 
18217
18421
  // src/components/Switch/Switch.styles.ts
18218
- import { css as css84 } from "@emotion/react";
18219
- var SwitchInputContainer = css84`
18422
+ import { css as css85 } from "@emotion/react";
18423
+ var SwitchInputContainer = css85`
18220
18424
  cursor: pointer;
18221
18425
  display: inline-block;
18222
18426
  position: relative;
@@ -18225,7 +18429,7 @@ var SwitchInputContainer = css84`
18225
18429
  vertical-align: middle;
18226
18430
  user-select: none;
18227
18431
  `;
18228
- var SwitchInput = css84`
18432
+ var SwitchInput = css85`
18229
18433
  appearance: none;
18230
18434
  border-radius: var(--rounded-full);
18231
18435
  background-color: var(--white);
@@ -18263,7 +18467,7 @@ var SwitchInput = css84`
18263
18467
  cursor: not-allowed;
18264
18468
  }
18265
18469
  `;
18266
- var SwitchInputDisabled = css84`
18470
+ var SwitchInputDisabled = css85`
18267
18471
  opacity: var(--opacity-50);
18268
18472
  cursor: not-allowed;
18269
18473
 
@@ -18271,7 +18475,7 @@ var SwitchInputDisabled = css84`
18271
18475
  cursor: not-allowed;
18272
18476
  }
18273
18477
  `;
18274
- var SwitchInputLabel = css84`
18478
+ var SwitchInputLabel = css85`
18275
18479
  align-items: center;
18276
18480
  color: var(--brand-secondary-1);
18277
18481
  display: inline-flex;
@@ -18293,26 +18497,26 @@ var SwitchInputLabel = css84`
18293
18497
  top: 0;
18294
18498
  }
18295
18499
  `;
18296
- var SwitchText = css84`
18500
+ var SwitchText = css85`
18297
18501
  color: var(--gray-500);
18298
18502
  font-size: var(--fs-sm);
18299
18503
  padding-inline: var(--spacing-2xl) 0;
18300
18504
  `;
18301
18505
 
18302
18506
  // src/components/Switch/Switch.tsx
18303
- import { Fragment as Fragment17, jsx as jsx105, jsxs as jsxs72 } from "@emotion/react/jsx-runtime";
18507
+ import { Fragment as Fragment18, jsx as jsx107, jsxs as jsxs73 } from "@emotion/react/jsx-runtime";
18304
18508
  var Switch = React23.forwardRef(
18305
18509
  ({ label, infoText, toggleText, children, ...inputProps }, ref) => {
18306
18510
  let additionalText = infoText;
18307
18511
  if (infoText && toggleText) {
18308
18512
  additionalText = inputProps.checked ? toggleText : infoText;
18309
18513
  }
18310
- return /* @__PURE__ */ jsxs72(Fragment17, { children: [
18311
- /* @__PURE__ */ jsxs72("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
18312
- /* @__PURE__ */ jsx105("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
18313
- /* @__PURE__ */ jsx105("span", { css: SwitchInputLabel, children: label })
18514
+ return /* @__PURE__ */ jsxs73(Fragment18, { children: [
18515
+ /* @__PURE__ */ jsxs73("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
18516
+ /* @__PURE__ */ jsx107("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
18517
+ /* @__PURE__ */ jsx107("span", { css: SwitchInputLabel, children: label })
18314
18518
  ] }),
18315
- additionalText ? /* @__PURE__ */ jsx105("p", { css: SwitchText, children: additionalText }) : null,
18519
+ additionalText ? /* @__PURE__ */ jsx107("p", { css: SwitchText, children: additionalText }) : null,
18316
18520
  children
18317
18521
  ] });
18318
18522
  }
@@ -18322,8 +18526,8 @@ var Switch = React23.forwardRef(
18322
18526
  import * as React24 from "react";
18323
18527
 
18324
18528
  // src/components/Table/Table.styles.ts
18325
- import { css as css85 } from "@emotion/react";
18326
- var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css85`
18529
+ import { css as css86 } from "@emotion/react";
18530
+ var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css86`
18327
18531
  border-bottom: 1px solid var(--gray-400);
18328
18532
  border-collapse: collapse;
18329
18533
  min-width: 100%;
@@ -18334,55 +18538,55 @@ var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css85
18334
18538
  padding: ${cellPadding};
18335
18539
  }
18336
18540
  `;
18337
- var tableHead = css85`
18541
+ var tableHead = css86`
18338
18542
  background: var(--gray-100);
18339
18543
  color: var(--brand-secondary-1);
18340
18544
  text-align: left;
18341
18545
  `;
18342
- var tableRow = css85`
18546
+ var tableRow = css86`
18343
18547
  border-bottom: 1px solid var(--gray-200);
18344
18548
  `;
18345
- var tableCellHead = css85`
18549
+ var tableCellHead = css86`
18346
18550
  font-size: var(--fs-sm);
18347
18551
  text-transform: uppercase;
18348
18552
  font-weight: var(--fw-bold);
18349
18553
  `;
18350
18554
 
18351
18555
  // src/components/Table/Table.tsx
18352
- import { jsx as jsx106 } from "@emotion/react/jsx-runtime";
18556
+ import { jsx as jsx108 } from "@emotion/react/jsx-runtime";
18353
18557
  var Table = React24.forwardRef(
18354
18558
  ({ children, cellPadding, ...otherProps }, ref) => {
18355
- return /* @__PURE__ */ jsx106("table", { ref, css: table({ cellPadding }), ...otherProps, children });
18559
+ return /* @__PURE__ */ jsx108("table", { ref, css: table({ cellPadding }), ...otherProps, children });
18356
18560
  }
18357
18561
  );
18358
18562
  var TableHead = React24.forwardRef(
18359
18563
  ({ children, ...otherProps }, ref) => {
18360
- return /* @__PURE__ */ jsx106("thead", { ref, css: tableHead, ...otherProps, children });
18564
+ return /* @__PURE__ */ jsx108("thead", { ref, css: tableHead, ...otherProps, children });
18361
18565
  }
18362
18566
  );
18363
18567
  var TableBody = React24.forwardRef(
18364
18568
  ({ children, ...otherProps }, ref) => {
18365
- return /* @__PURE__ */ jsx106("tbody", { ref, ...otherProps, children });
18569
+ return /* @__PURE__ */ jsx108("tbody", { ref, ...otherProps, children });
18366
18570
  }
18367
18571
  );
18368
18572
  var TableFoot = React24.forwardRef(
18369
18573
  ({ children, ...otherProps }, ref) => {
18370
- return /* @__PURE__ */ jsx106("tfoot", { ref, ...otherProps, children });
18574
+ return /* @__PURE__ */ jsx108("tfoot", { ref, ...otherProps, children });
18371
18575
  }
18372
18576
  );
18373
18577
  var TableRow = React24.forwardRef(
18374
18578
  ({ children, ...otherProps }, ref) => {
18375
- return /* @__PURE__ */ jsx106("tr", { ref, css: tableRow, ...otherProps, children });
18579
+ return /* @__PURE__ */ jsx108("tr", { ref, css: tableRow, ...otherProps, children });
18376
18580
  }
18377
18581
  );
18378
18582
  var TableCellHead = React24.forwardRef(
18379
18583
  ({ children, ...otherProps }, ref) => {
18380
- return /* @__PURE__ */ jsx106("th", { ref, css: tableCellHead, ...otherProps, children });
18584
+ return /* @__PURE__ */ jsx108("th", { ref, css: tableCellHead, ...otherProps, children });
18381
18585
  }
18382
18586
  );
18383
18587
  var TableCellData = React24.forwardRef(
18384
18588
  ({ children, ...otherProps }, ref) => {
18385
- return /* @__PURE__ */ jsx106("td", { ref, ...otherProps, children });
18589
+ return /* @__PURE__ */ jsx108("td", { ref, ...otherProps, children });
18386
18590
  }
18387
18591
  );
18388
18592
 
@@ -18396,8 +18600,8 @@ import {
18396
18600
  } from "reakit/Tab";
18397
18601
 
18398
18602
  // src/components/Tabs/Tabs.styles.ts
18399
- import { css as css86 } from "@emotion/react";
18400
- var tabButtonStyles = css86`
18603
+ import { css as css87 } from "@emotion/react";
18604
+ var tabButtonStyles = css87`
18401
18605
  align-items: center;
18402
18606
  border: 0;
18403
18607
  height: 2.5rem;
@@ -18414,14 +18618,14 @@ var tabButtonStyles = css86`
18414
18618
  box-shadow: inset 0 -2px 0 var(--brand-secondary-3);
18415
18619
  }
18416
18620
  `;
18417
- var tabButtonGroupStyles = css86`
18621
+ var tabButtonGroupStyles = css87`
18418
18622
  display: flex;
18419
18623
  gap: var(--spacing-base);
18420
18624
  border-bottom: 1px solid var(--gray-300);
18421
18625
  `;
18422
18626
 
18423
18627
  // src/components/Tabs/Tabs.tsx
18424
- import { jsx as jsx107 } from "@emotion/react/jsx-runtime";
18628
+ import { jsx as jsx109 } from "@emotion/react/jsx-runtime";
18425
18629
  var CurrentTabContext = createContext6(null);
18426
18630
  var useCurrentTab = () => {
18427
18631
  const context = useContext7(CurrentTabContext);
@@ -18450,24 +18654,24 @@ var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...prop
18450
18654
  tab.setSelectedId(selected);
18451
18655
  }
18452
18656
  }, [selected]);
18453
- return /* @__PURE__ */ jsx107(CurrentTabContext.Provider, { value: tab, children });
18657
+ return /* @__PURE__ */ jsx109(CurrentTabContext.Provider, { value: tab, children });
18454
18658
  };
18455
18659
  var TabButtonGroup = ({ children, ...props }) => {
18456
18660
  const currentTab = useCurrentTab();
18457
- return /* @__PURE__ */ jsx107(ReakitTabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
18661
+ return /* @__PURE__ */ jsx109(ReakitTabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
18458
18662
  };
18459
18663
  var TabButton = ({ children, id, ...props }) => {
18460
18664
  const currentTab = useCurrentTab();
18461
- return /* @__PURE__ */ jsx107(ReakitTab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
18665
+ return /* @__PURE__ */ jsx109(ReakitTab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
18462
18666
  };
18463
18667
  var TabContent = ({ children, ...props }) => {
18464
18668
  const currentTab = useCurrentTab();
18465
- return /* @__PURE__ */ jsx107(ReakitTabPanel, { ...props, ...currentTab, children });
18669
+ return /* @__PURE__ */ jsx109(ReakitTabPanel, { ...props, ...currentTab, children });
18466
18670
  };
18467
18671
 
18468
18672
  // src/components/Validation/StatusBullet.styles.ts
18469
- import { css as css87 } from "@emotion/react";
18470
- var StatusBulletContainer = css87`
18673
+ import { css as css88 } from "@emotion/react";
18674
+ var StatusBulletContainer = css88`
18471
18675
  align-items: center;
18472
18676
  align-self: center;
18473
18677
  color: var(--gray-500);
@@ -18484,33 +18688,33 @@ var StatusBulletContainer = css87`
18484
18688
  display: block;
18485
18689
  }
18486
18690
  `;
18487
- var StatusBulletBase = css87`
18691
+ var StatusBulletBase = css88`
18488
18692
  font-size: var(--fs-sm);
18489
18693
  &:before {
18490
18694
  width: var(--fs-xs);
18491
18695
  height: var(--fs-xs);
18492
18696
  }
18493
18697
  `;
18494
- var StatusBulletSmall = css87`
18698
+ var StatusBulletSmall = css88`
18495
18699
  font-size: var(--fs-xs);
18496
18700
  &:before {
18497
18701
  width: var(--fs-xxs);
18498
18702
  height: var(--fs-xxs);
18499
18703
  }
18500
18704
  `;
18501
- var StatusDraft = css87`
18705
+ var StatusDraft = css88`
18502
18706
  &:before {
18503
18707
  background: var(--white);
18504
18708
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
18505
18709
  }
18506
18710
  `;
18507
- var StatusModified = css87`
18711
+ var StatusModified = css88`
18508
18712
  &:before {
18509
18713
  background: linear-gradient(to right, var(--white) 50%, var(--primary-action-default) 50% 100%);
18510
18714
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
18511
18715
  }
18512
18716
  `;
18513
- var StatusError = css87`
18717
+ var StatusError = css88`
18514
18718
  color: var(--error);
18515
18719
  &:before {
18516
18720
  /* TODO: replace this with an svg icon */
@@ -18523,19 +18727,19 @@ var StatusError = css87`
18523
18727
  );
18524
18728
  }
18525
18729
  `;
18526
- var StatusPublished = css87`
18730
+ var StatusPublished = css88`
18527
18731
  &:before {
18528
18732
  background: var(--primary-action-default);
18529
18733
  }
18530
18734
  `;
18531
- var StatusOrphan = css87`
18735
+ var StatusOrphan = css88`
18532
18736
  &:before {
18533
18737
  background: var(--brand-secondary-5);
18534
18738
  }
18535
18739
  `;
18536
18740
 
18537
18741
  // src/components/Validation/StatusBullet.tsx
18538
- import { jsx as jsx108 } from "@emotion/react/jsx-runtime";
18742
+ import { jsx as jsx110 } from "@emotion/react/jsx-runtime";
18539
18743
  var StatusBullet = ({
18540
18744
  status,
18541
18745
  hideText = false,
@@ -18553,7 +18757,7 @@ var StatusBullet = ({
18553
18757
  Previous: StatusDraft
18554
18758
  };
18555
18759
  const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
18556
- return /* @__PURE__ */ jsx108(
18760
+ return /* @__PURE__ */ jsx110(
18557
18761
  "span",
18558
18762
  {
18559
18763
  role: "status",
@@ -18572,7 +18776,6 @@ export {
18572
18776
  AvatarGroup,
18573
18777
  Badge,
18574
18778
  Banner,
18575
- BrokenImage,
18576
18779
  Button,
18577
18780
  ButtonWithMenu,
18578
18781
  Callout,
@@ -18619,6 +18822,7 @@ export {
18619
18822
  IntegrationTile,
18620
18823
  JsonEditor,
18621
18824
  Label,
18825
+ LabelLeadingIcon,
18622
18826
  Legend,
18623
18827
  LimitsBar,
18624
18828
  Link,
@@ -18635,6 +18839,7 @@ export {
18635
18839
  MenuItem,
18636
18840
  MenuItemSeparator,
18637
18841
  Modal,
18842
+ MultilineChip,
18638
18843
  PageHeaderSection,
18639
18844
  Paragraph,
18640
18845
  ParameterDataResource,
@@ -18666,6 +18871,7 @@ export {
18666
18871
  ProgressList,
18667
18872
  ProgressListItem,
18668
18873
  ResolveIcon,
18874
+ RichTextToolbarIcon,
18669
18875
  ScrollableList,
18670
18876
  ScrollableListInputItem,
18671
18877
  ScrollableListItem,
@@ -18746,6 +18952,8 @@ export {
18746
18952
  replaceUnderscoreInString,
18747
18953
  richTextBuiltInElements,
18748
18954
  richTextBuiltInFormats,
18955
+ richTextToolbarButton,
18956
+ richTextToolbarButtonActive,
18749
18957
  ripple,
18750
18958
  scrollbarStyles,
18751
18959
  settings,