@uniformdev/design-system 19.142.2-alpha.1 → 19.146.1-alpha.1

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
@@ -99,6 +99,16 @@ var Theme = ({ disableReset = false, disableGlobalReset = false }) => {
99
99
  --typography-inactive: var(--gray-300);
100
100
  --typography-inverted: var(--white);
101
101
 
102
+ /* chart colours */
103
+ --charting-chart-1: #ffa600;
104
+ --charting-chart-2: #c444b2;
105
+ --charting-chart-3: #ff5368;
106
+ --charting-chart-4: #f53d90;
107
+ --charting-chart-5: #ff7b3d;
108
+
109
+ /* utility colours */
110
+ --utility-success: #4ade80;
111
+ --utility-danger: #f87171;
102
112
 
103
113
  /* off brand */
104
114
  --input-border: rgba(31, 43, 52, 0.5);
@@ -662,12 +672,14 @@ var HorizontalRhythm = ({
662
672
  tag = "div",
663
673
  gap = "base",
664
674
  children,
675
+ ref,
665
676
  ...props
666
677
  }) => {
667
678
  const Tag = tag;
668
679
  return /* @__PURE__ */ jsx6(
669
680
  Tag,
670
681
  {
682
+ ref,
671
683
  css: [
672
684
  HorizontalRhythmContainer(gap),
673
685
  {
@@ -755,12 +767,14 @@ var VerticalRhythm = ({
755
767
  tag = "div",
756
768
  gap = "base",
757
769
  children,
770
+ ref,
758
771
  ...props
759
772
  }) => {
760
773
  const Tag = tag;
761
774
  return /* @__PURE__ */ jsx8(
762
775
  Tag,
763
776
  {
777
+ ref,
764
778
  css: [
765
779
  VerticalRhythmContainer(gap),
766
780
  {
@@ -2536,6 +2550,31 @@ var filterAdd = GenIcon({
2536
2550
  }
2537
2551
  ]
2538
2552
  });
2553
+ var refreshIcon = GenIcon({
2554
+ tag: "svg",
2555
+ attr: {
2556
+ role: "img",
2557
+ viewBox: "0 0 12 12"
2558
+ },
2559
+ child: [
2560
+ {
2561
+ tag: "path",
2562
+ attr: {
2563
+ d: "M8.27759 6C8.30628 6.15156 8.32129 6.30795 8.32129 6.46785C8.32129 7.84856 7.202 8.96785 5.82129 8.96785C5.27787 8.96785 4.77494 8.79447 4.36482 8.5H5.66057V7.5H2.66057V10.5H3.66057V9.22145C4.25557 9.689 5.00587 9.96785 5.82129 9.96785C7.75429 9.96785 9.32129 8.40085 9.32129 6.46785C9.32129 6.30921 9.31074 6.15304 9.29029 6H8.27759Z",
2564
+ fill: "currentColor"
2565
+ },
2566
+ child: []
2567
+ },
2568
+ {
2569
+ tag: "path",
2570
+ attr: {
2571
+ d: "M8.16064 2H9.16064V5H6.16064V4L7.4564 4C7.04627 3.70553 6.54334 3.53215 5.99992 3.53215C4.61921 3.53215 3.49992 4.65144 3.49992 6.03215C3.49992 6.19205 3.51493 6.34844 3.54363 6.5H2.53092C2.51048 6.34696 2.49992 6.19079 2.49992 6.03215C2.49992 4.09915 4.06693 2.53215 5.99992 2.53215C6.81535 2.53215 7.56564 2.811 8.16064 3.27855V2Z",
2572
+ fill: "currentColor"
2573
+ },
2574
+ child: []
2575
+ }
2576
+ ]
2577
+ });
2539
2578
  var clipboardCopy = GenIcon({
2540
2579
  tag: "svg",
2541
2580
  attr: { viewBox: "0 0 24 24", role: "img" },
@@ -2681,9 +2720,57 @@ var customIcons = {
2681
2720
  "list-view-long": listViewLong,
2682
2721
  "filter-add": filterAdd,
2683
2722
  "clipboard-copy": clipboardCopy,
2684
- "clipboard-paste": clipboardPaste
2723
+ "clipboard-paste": clipboardPaste,
2724
+ refresh: refreshIcon
2685
2725
  };
2686
2726
 
2727
+ // src/components/Icons/systemIcons.tsx
2728
+ import { GenIcon as GenIcon2 } from "@react-icons/all-files";
2729
+ import { CgList } from "@react-icons/all-files/cg/CgList";
2730
+ import { CgPen } from "@react-icons/all-files/cg/CgPen";
2731
+ import { TbBox } from "@react-icons/all-files/tb/TbBox";
2732
+ var uniformComponentIcon = TbBox;
2733
+ var uniformComponentPatternIcon = GenIcon2({
2734
+ tag: "svg",
2735
+ attr: {
2736
+ role: "img",
2737
+ viewBox: "0 0 24 24"
2738
+ },
2739
+ child: [
2740
+ {
2741
+ tag: "path",
2742
+ attr: {
2743
+ fillRule: "evenodd",
2744
+ clipRule: "evenodd",
2745
+ fill: "currentColor",
2746
+ d: "M8.39503 10.7767L7.17163 12.0001L8.5 13.3284V17.4676L11.1491 15.9775L12.2505 17.079L8.1177 19.4037C7.88939 19.5321 7.61061 19.5321 7.3823 19.4037L1.3823 16.0287C1.14615 15.8958 1 15.646 1 15.375V8.625C1 8.35404 1.14615 8.10416 1.3823 7.97132L7.3823 4.59632C7.61061 4.46789 7.88939 4.46789 8.1177 4.59632L12.2506 6.92108L11.1492 8.02254L7.75 6.11051L3.2798 8.625L7.75 11.1395L8.39503 10.7767ZM2.5 9.90739L7 12.4386V17.4676L2.5 14.9364V9.90739ZM12.8284 12.0001L16.5997 8.22883L20.3709 12.0001L16.5997 15.7713L12.8284 12.0001ZM16.5997 18.5997L10 12.0001L16.5997 5.4004L23.1993 12.0001L16.5997 18.5997Z"
2747
+ },
2748
+ child: []
2749
+ }
2750
+ ]
2751
+ });
2752
+ var uniformContentTypeIcon = CgList;
2753
+ var uniformEntryIcon = CgPen;
2754
+ var uniformEntryPatternIcon = GenIcon2({
2755
+ tag: "svg",
2756
+ attr: {
2757
+ role: "img",
2758
+ viewBox: "0 0 24 24"
2759
+ },
2760
+ child: [
2761
+ {
2762
+ tag: "path",
2763
+ attr: {
2764
+ fillRule: "evenodd",
2765
+ clipRule: "evenodd",
2766
+ fill: "currentColor",
2767
+ d: "M9.42163 14.25H8.5C8.08579 14.25 7.75 14.5858 7.75 15C7.75 15.4142 8.08579 15.75 8.5 15.75H10.9216L9.42163 14.25ZM13.1716 18H3.25C2.83579 18 2.5 17.6642 2.5 17.25V6.75C2.5 6.33579 2.83579 6 3.25 6H13.1716L14.6716 4.5H3.25C2.00736 4.5 1 5.50736 1 6.75V17.25C1 18.4926 2.00736 19.5 3.25 19.5H14.6716L13.1716 18ZM17.4427 17.7567L16.5997 18.5997L16.5997 18.5996L16.5997 18.5997L10 12L16.5997 5.40034L16.5997 5.40037L16.5997 5.40034L17.4427 6.24334C17.4427 6.24337 17.4427 6.24339 17.4427 6.24342L23.1993 12L17.4427 17.7566C17.4427 17.7566 17.4427 17.7566 17.4427 17.7567ZM10.9216 8.25H8.5C8.08579 8.25 7.75 8.58579 7.75 9C7.75 9.41421 8.08579 9.75 8.5 9.75H9.42163L10.9216 8.25ZM6.25 8.25H4.75V9.75H6.25V8.25ZM4.75 11.25H6.25V12.75H4.75V11.25ZM4.75 14.25H6.25V15.75H4.75V14.25ZM12.8284 12L16.5997 8.22876L20.3709 12L16.5997 15.7712L12.8284 12Z"
2768
+ },
2769
+ child: []
2770
+ }
2771
+ ]
2772
+ });
2773
+
2687
2774
  // src/components/AddListButton/AddListButton.styles.ts
2688
2775
  import { css as css16 } from "@emotion/react";
2689
2776
  var AddListButtonBtn = css16`
@@ -12527,6 +12614,18 @@ function renderWithIcon(children, icon) {
12527
12614
  ] });
12528
12615
  }
12529
12616
 
12617
+ // src/components/Menu/MenuTrigger.tsx
12618
+ import { forwardRef as forwardRef5 } from "react";
12619
+ import { jsx as jsx34 } from "@emotion/react/jsx-runtime";
12620
+ var MenuButton2 = forwardRef5(({ children, ...props }, ref) => {
12621
+ return /* @__PURE__ */ jsx34("button", { ref, type: "button", ...props, children });
12622
+ });
12623
+ var MenuThreeDots = forwardRef5(
12624
+ ({ buttonTitle = "More options", ...props }, ref) => {
12625
+ return /* @__PURE__ */ jsx34(MenuButton2, { ref, "aria-label": buttonTitle, ...props, children: /* @__PURE__ */ jsx34(Icon, { icon: "more-alt", iconColor: "currentColor" }) });
12626
+ }
12627
+ );
12628
+
12530
12629
  // src/components/ButtonWithMenu/ButtonWithMenu.styles.ts
12531
12630
  import { css as css32 } from "@emotion/react";
12532
12631
  var buttonSizeBase = css32`
@@ -12685,7 +12784,7 @@ var wholeButtonWithMenuIconOffset = css32`
12685
12784
  `;
12686
12785
 
12687
12786
  // src/components/ButtonWithMenu/ButtonWithMenu.tsx
12688
- import { Fragment as Fragment5, jsx as jsx34, jsxs as jsxs20 } from "@emotion/react/jsx-runtime";
12787
+ import { Fragment as Fragment5, jsx as jsx35, jsxs as jsxs20 } from "@emotion/react/jsx-runtime";
12689
12788
  var ButtonWithMenu = ({
12690
12789
  onButtonClick,
12691
12790
  buttonType = "secondary",
@@ -12719,12 +12818,12 @@ var ButtonWithMenu = ({
12719
12818
  sm: buttonSizeSmall,
12720
12819
  lg: buttonSizeLarge
12721
12820
  };
12722
- const clickableButton = /* @__PURE__ */ jsx34("div", { css: ButtonWithMenuIcon, "data-testid": "multioptions-button-call-menu", children: /* @__PURE__ */ jsx34(Icon, { icon: CgChevronDown, iconColor: "currentColor" }) });
12723
- const dropdownButton = /* @__PURE__ */ jsx34("div", { css: ButtonWithMenuIcon, "data-testid": "multioptions-button-call-menu", children: /* @__PURE__ */ jsxs20(HorizontalRhythm, { justify: "center", children: [
12724
- /* @__PURE__ */ jsx34(Icon, { icon: CgMathPlus2, iconColor: "currentColor", css: wholeButtonWithMenuIconOffset }),
12725
- /* @__PURE__ */ jsx34("span", { css: { marginRight: "var(--spacing-xs)", fontSize: "var(--fs-sm)" }, children: buttonText })
12821
+ const clickableButton = /* @__PURE__ */ jsx35("div", { css: ButtonWithMenuIcon, "data-testid": "multioptions-button-call-menu", children: /* @__PURE__ */ jsx35(Icon, { icon: CgChevronDown, iconColor: "currentColor" }) });
12822
+ const dropdownButton = /* @__PURE__ */ jsx35("div", { css: ButtonWithMenuIcon, "data-testid": "multioptions-button-call-menu", children: /* @__PURE__ */ jsxs20(HorizontalRhythm, { justify: "center", children: [
12823
+ /* @__PURE__ */ jsx35(Icon, { icon: CgMathPlus2, iconColor: "currentColor", css: wholeButtonWithMenuIconOffset }),
12824
+ /* @__PURE__ */ jsx35("span", { css: { marginRight: "var(--spacing-xs)", fontSize: "var(--fs-sm)" }, children: buttonText })
12726
12825
  ] }) });
12727
- return /* @__PURE__ */ jsx34(
12826
+ return /* @__PURE__ */ jsx35(
12728
12827
  "div",
12729
12828
  {
12730
12829
  css: [
@@ -12744,12 +12843,12 @@ var ButtonWithMenu = ({
12744
12843
  "data-testid": "multioptions-button-main",
12745
12844
  ...buttonProps,
12746
12845
  children: [
12747
- icon ? /* @__PURE__ */ jsx34(Icon, { icon, iconColor: "currentColor", css: buttonWithMenuIconOffset }) : null,
12846
+ icon ? /* @__PURE__ */ jsx35(Icon, { icon, iconColor: "currentColor", css: buttonWithMenuIconOffset }) : null,
12748
12847
  buttonText
12749
12848
  ]
12750
12849
  }
12751
12850
  ),
12752
- disabled2 ? clickableButton : /* @__PURE__ */ jsx34(
12851
+ disabled2 ? clickableButton : /* @__PURE__ */ jsx35(
12753
12852
  Menu,
12754
12853
  {
12755
12854
  menuLabel: "buttonMenu",
@@ -12760,7 +12859,7 @@ var ButtonWithMenu = ({
12760
12859
  children
12761
12860
  }
12762
12861
  )
12763
- ] }) : /* @__PURE__ */ jsx34(Fragment5, { children: disabled2 ? dropdownButton : /* @__PURE__ */ jsx34(
12862
+ ] }) : /* @__PURE__ */ jsx35(Fragment5, { children: disabled2 ? dropdownButton : /* @__PURE__ */ jsx35(
12764
12863
  Menu,
12765
12864
  {
12766
12865
  menuLabel: "buttonMenu",
@@ -12859,7 +12958,7 @@ var actions = css33`
12859
12958
  `;
12860
12959
 
12861
12960
  // src/components/Calendar/Calendar.tsx
12862
- import { jsx as jsx35, jsxs as jsxs21 } from "@emotion/react/jsx-runtime";
12961
+ import { jsx as jsx36, jsxs as jsxs21 } from "@emotion/react/jsx-runtime";
12863
12962
  function tryParseDate(isoDate) {
12864
12963
  try {
12865
12964
  return isoDate ? parseDate(isoDate) : void 0;
@@ -12911,25 +13010,25 @@ var Calendar = ({
12911
13010
  isInvalid,
12912
13011
  children: [
12913
13012
  /* @__PURE__ */ jsxs21("header", { css: header, children: [
12914
- /* @__PURE__ */ jsx35(Heading2, { css: [h6, headerTitle] }),
12915
- /* @__PURE__ */ jsx35(
13013
+ /* @__PURE__ */ jsx36(Heading2, { css: [h6, headerTitle] }),
13014
+ /* @__PURE__ */ jsx36(
12916
13015
  AriaButton,
12917
13016
  {
12918
13017
  css: [button, buttonTertiaryOutline, headerNavButton],
12919
13018
  slot: "previous",
12920
- children: /* @__PURE__ */ jsx35(Icon, { icon: "arrow-up", size: 16, color: "currentColor" })
13019
+ children: /* @__PURE__ */ jsx36(Icon, { icon: "arrow-up", size: 16, color: "currentColor" })
12921
13020
  }
12922
13021
  ),
12923
- /* @__PURE__ */ jsx35(
13022
+ /* @__PURE__ */ jsx36(
12924
13023
  AriaButton,
12925
13024
  {
12926
13025
  css: [button, buttonTertiaryOutline, headerNavButton],
12927
13026
  slot: "next",
12928
- children: /* @__PURE__ */ jsx35(Icon, { icon: "arrow-down", size: 16, color: "currentColor" })
13027
+ children: /* @__PURE__ */ jsx36(Icon, { icon: "arrow-down", size: 16, color: "currentColor" })
12929
13028
  }
12930
13029
  )
12931
13030
  ] }),
12932
- /* @__PURE__ */ jsx35(CalendarGrid, { children: (date) => /* @__PURE__ */ jsx35(
13031
+ /* @__PURE__ */ jsx36(CalendarGrid, { children: (date) => /* @__PURE__ */ jsx36(
12933
13032
  CalendarCell,
12934
13033
  {
12935
13034
  css: [
@@ -12944,7 +13043,7 @@ var Calendar = ({
12944
13043
  ]
12945
13044
  }
12946
13045
  ),
12947
- /* @__PURE__ */ jsx35("div", { css: actions, children: /* @__PURE__ */ jsx35(Button, { onClick: gotoToday, buttonType: "ghost", children: "Today" }) })
13046
+ /* @__PURE__ */ jsx36("div", { css: actions, children: /* @__PURE__ */ jsx36(Button, { onClick: gotoToday, buttonType: "ghost", children: "Today" }) })
12948
13047
  ] });
12949
13048
  };
12950
13049
 
@@ -12995,7 +13094,7 @@ var CardMenu = css34`
12995
13094
  `;
12996
13095
 
12997
13096
  // src/components/Card/Card.tsx
12998
- import { jsx as jsx36, jsxs as jsxs22 } from "@emotion/react/jsx-runtime";
13097
+ import { jsx as jsx37, jsxs as jsxs22 } from "@emotion/react/jsx-runtime";
12999
13098
  var Card = ({
13000
13099
  title: title2,
13001
13100
  menuItems,
@@ -13007,12 +13106,12 @@ var Card = ({
13007
13106
  ...props
13008
13107
  }) => {
13009
13108
  return /* @__PURE__ */ jsxs22(Tag, { css: CardContainer, ...props, children: [
13010
- title2 ? /* @__PURE__ */ jsx36(CardTitle2, { title: title2, titleWithMarginBottom }) : null,
13011
- menuItems ? /* @__PURE__ */ jsx36(
13109
+ title2 ? /* @__PURE__ */ jsx37(CardTitle2, { title: title2, titleWithMarginBottom }) : null,
13110
+ menuItems ? /* @__PURE__ */ jsx37(
13012
13111
  Menu,
13013
13112
  {
13014
13113
  menuLabel: "More options",
13015
- menuTrigger: /* @__PURE__ */ jsx36(
13114
+ menuTrigger: /* @__PURE__ */ jsx37(
13016
13115
  "button",
13017
13116
  {
13018
13117
  "aria-label": "More options",
@@ -13020,7 +13119,7 @@ var Card = ({
13020
13119
  disabled: disabled2,
13021
13120
  css: CardMenu,
13022
13121
  "data-testid": menuButtonTestId != null ? menuButtonTestId : "button-more",
13023
- children: /* @__PURE__ */ jsx36(Icon, { icon: CgMoreAlt, iconColor: "currentColor", size: 32 })
13122
+ children: /* @__PURE__ */ jsx37(Icon, { icon: CgMoreAlt, iconColor: "currentColor", size: 32 })
13024
13123
  }
13025
13124
  ),
13026
13125
  children: menuItems
@@ -13057,7 +13156,7 @@ var CardContainerInner = ({ padding, withLastColumn }) => css35`
13057
13156
  `;
13058
13157
 
13059
13158
  // src/components/Card/CardContainer.tsx
13060
- import { jsx as jsx37 } from "@emotion/react/jsx-runtime";
13159
+ import { jsx as jsx38 } from "@emotion/react/jsx-runtime";
13061
13160
  var CardContainer2 = ({
13062
13161
  bgColor = "white",
13063
13162
  padding = true,
@@ -13065,7 +13164,7 @@ var CardContainer2 = ({
13065
13164
  children,
13066
13165
  ...props
13067
13166
  }) => {
13068
- return /* @__PURE__ */ jsx37("div", { css: CardContainerWrapper(bgColor), ...props, children: /* @__PURE__ */ jsx37("div", { css: CardContainerInner({ padding, withLastColumn }), children }) });
13167
+ return /* @__PURE__ */ jsx38("div", { css: CardContainerWrapper(bgColor), ...props, children: /* @__PURE__ */ jsx38("div", { css: CardContainerInner({ padding, withLastColumn }), children }) });
13069
13168
  };
13070
13169
 
13071
13170
  // src/components/Card/LoadingCardSkeleton.tsx
@@ -13103,12 +13202,12 @@ var LoadingMenuIcon = css36`
13103
13202
  `;
13104
13203
 
13105
13204
  // src/components/Card/LoadingCardSkeleton.tsx
13106
- import { jsx as jsx38, jsxs as jsxs23 } from "@emotion/react/jsx-runtime";
13205
+ import { jsx as jsx39, jsxs as jsxs23 } from "@emotion/react/jsx-runtime";
13107
13206
  var LoadingCardSkeleton2 = () => {
13108
13207
  return /* @__PURE__ */ jsxs23(VerticalRhythm, { css: LoadingCardSkeleton, children: [
13109
- /* @__PURE__ */ jsx38("span", { css: [LoadingText, LoadingTitle] }),
13110
- /* @__PURE__ */ jsx38("span", { css: [LoadingText, LoadingTimeStamp] }),
13111
- /* @__PURE__ */ jsx38(Icon, { css: LoadingMenuIcon, icon: CgMoreAlt2, iconColor: "currentColor", size: 32 })
13208
+ /* @__PURE__ */ jsx39("span", { css: [LoadingText, LoadingTitle] }),
13209
+ /* @__PURE__ */ jsx39("span", { css: [LoadingText, LoadingTimeStamp] }),
13210
+ /* @__PURE__ */ jsx39(Icon, { css: LoadingMenuIcon, icon: CgMoreAlt2, iconColor: "currentColor", size: 32 })
13112
13211
  ] });
13113
13212
  };
13114
13213
 
@@ -13307,7 +13406,7 @@ var ChipActionButton = css37`
13307
13406
  `;
13308
13407
 
13309
13408
  // src/components/Chip/Chip.tsx
13310
- import { Fragment as Fragment6, jsx as jsx39, jsxs as jsxs24 } from "@emotion/react/jsx-runtime";
13409
+ import { Fragment as Fragment6, jsx as jsx40, jsxs as jsxs24 } from "@emotion/react/jsx-runtime";
13311
13410
  var chipTheme = {
13312
13411
  "accent-light": ChipThemeAccentLight,
13313
13412
  "accent-dark": ChipThemeAccentDark,
@@ -13331,15 +13430,15 @@ var Chip = ({
13331
13430
  };
13332
13431
  return /* @__PURE__ */ jsxs24("span", { css: [ChipContainer, chipSize[size], chipTheme[theme]], ...props, children: [
13333
13432
  icon ? /* @__PURE__ */ jsxs24(Fragment6, { children: [
13334
- /* @__PURE__ */ jsx39("span", { role: "presentation", css: [ChipIcon], children: /* @__PURE__ */ jsx39(Icon, { icon, iconColor: "currentColor", size: "1rem" }) }),
13335
- /* @__PURE__ */ jsx39("span", { role: "separator", css: ChipSeparator })
13433
+ /* @__PURE__ */ jsx40("span", { role: "presentation", css: [ChipIcon], children: /* @__PURE__ */ jsx40(Icon, { icon, iconColor: "currentColor", size: "1rem" }) }),
13434
+ /* @__PURE__ */ jsx40("span", { role: "separator", css: ChipSeparator })
13336
13435
  ] }) : null,
13337
- /* @__PURE__ */ jsx39("span", { css: ChipText, children: text }),
13436
+ /* @__PURE__ */ jsx40("span", { css: ChipText, children: text }),
13338
13437
  chipAction
13339
13438
  ] });
13340
13439
  };
13341
13440
  var DismissibleChipAction = ({ onDismiss, ...props }) => {
13342
- return /* @__PURE__ */ jsx39(
13441
+ return /* @__PURE__ */ jsx40(
13343
13442
  "button",
13344
13443
  {
13345
13444
  css: ChipActionButton,
@@ -13347,7 +13446,7 @@ var DismissibleChipAction = ({ onDismiss, ...props }) => {
13347
13446
  "aria-labelledby": "dismissible-chip",
13348
13447
  onClick: onDismiss,
13349
13448
  ...props,
13350
- children: /* @__PURE__ */ jsx39(Icon, { icon: CgClose3, iconColor: "currentColor", size: "0.85rem" })
13449
+ children: /* @__PURE__ */ jsx40(Icon, { icon: CgClose3, iconColor: "currentColor", size: "0.85rem" })
13351
13450
  }
13352
13451
  );
13353
13452
  };
@@ -13427,7 +13526,7 @@ var MultilineChipContainer = css38`
13427
13526
  `;
13428
13527
 
13429
13528
  // src/components/Chip/MultilineChip.tsx
13430
- import { jsx as jsx40 } from "@emotion/react/jsx-runtime";
13529
+ import { jsx as jsx41 } from "@emotion/react/jsx-runtime";
13431
13530
  var MultilineChip = ({ children, onClick, ...props }) => {
13432
13531
  const handleKeyboardEvent = (e) => {
13433
13532
  if (e.key === "Enter" || e.key === " ") {
@@ -13441,7 +13540,7 @@ var MultilineChip = ({ children, onClick, ...props }) => {
13441
13540
  onKeyDown: handleKeyboardEvent,
13442
13541
  tabIndex: 0
13443
13542
  } : {};
13444
- return /* @__PURE__ */ jsx40("span", { css: MultilineChipContainer, "data-testid": "chip-value", ...props, ...buttonProps, children });
13543
+ return /* @__PURE__ */ jsx41("span", { css: MultilineChipContainer, "data-testid": "chip-value", ...props, ...buttonProps, children });
13445
13544
  };
13446
13545
 
13447
13546
  // src/components/Counter/Counter.styles.ts
@@ -13479,17 +13578,17 @@ var counterIcon = css39`
13479
13578
  `;
13480
13579
 
13481
13580
  // src/components/Counter/Counter.tsx
13482
- import { jsx as jsx41, jsxs as jsxs25 } from "@emotion/react/jsx-runtime";
13581
+ import { jsx as jsx42, jsxs as jsxs25 } from "@emotion/react/jsx-runtime";
13483
13582
  var Counter = ({ count, bgColor = "transparent", ...props }) => {
13484
13583
  if (typeof count === "undefined") {
13485
13584
  return null;
13486
13585
  }
13487
13586
  const isTripleDigits = count > 99 ? /* @__PURE__ */ jsxs25("span", { css: counterTripleValue, title: `${count}`, children: [
13488
13587
  "99",
13489
- /* @__PURE__ */ jsx41(Icon, { icon: "math-plus", iconColor: "currentColor", size: "0.5rem", css: counterIcon })
13588
+ /* @__PURE__ */ jsx42(Icon, { icon: "math-plus", iconColor: "currentColor", size: "0.5rem", css: counterIcon })
13490
13589
  ] }) : count;
13491
- const formatCount = count === 0 ? /* @__PURE__ */ jsx41("span", { css: counterZeroValue, title: `${count}` }) : isTripleDigits;
13492
- return /* @__PURE__ */ jsx41("div", { css: counterContainer(bgColor), ...props, children: formatCount });
13590
+ const formatCount = count === 0 ? /* @__PURE__ */ jsx42("span", { css: counterZeroValue, title: `${count}` }) : isTripleDigits;
13591
+ return /* @__PURE__ */ jsx42("div", { css: counterContainer(bgColor), ...props, children: formatCount });
13493
13592
  };
13494
13593
 
13495
13594
  // src/components/DashedBox/DashedBox.styles.ts
@@ -13527,7 +13626,7 @@ var DashedBoxContainer = ({ textAlign, boxHeight, bgColor }) => css40`
13527
13626
  `;
13528
13627
 
13529
13628
  // src/components/DashedBox/DashedBox.tsx
13530
- import { jsx as jsx42 } from "@emotion/react/jsx-runtime";
13629
+ import { jsx as jsx43 } from "@emotion/react/jsx-runtime";
13531
13630
  var DashedBox = ({
13532
13631
  bgColor = "transparent",
13533
13632
  textAlign = "center",
@@ -13535,7 +13634,7 @@ var DashedBox = ({
13535
13634
  children,
13536
13635
  ...props
13537
13636
  }) => {
13538
- return /* @__PURE__ */ jsx42("div", { css: DashedBoxContainer({ bgColor, boxHeight, textAlign }), ...props, children });
13637
+ return /* @__PURE__ */ jsx43("div", { css: DashedBoxContainer({ bgColor, boxHeight, textAlign }), ...props, children });
13539
13638
  };
13540
13639
 
13541
13640
  // src/components/DateTimePicker/DateTimePicker.tsx
@@ -13554,13 +13653,13 @@ var CaptionText = (dynamicSize) => css41`
13554
13653
  `;
13555
13654
 
13556
13655
  // src/components/Input/Caption.tsx
13557
- import { jsx as jsx43 } from "@emotion/react/jsx-runtime";
13656
+ import { jsx as jsx44 } from "@emotion/react/jsx-runtime";
13558
13657
  var Caption = ({ children, testId, dynamicSize = false, ...props }) => {
13559
- return /* @__PURE__ */ jsx43("small", { css: CaptionText(dynamicSize), "data-testid": testId, ...props, children });
13658
+ return /* @__PURE__ */ jsx44("small", { css: CaptionText(dynamicSize), "data-testid": testId, ...props, children });
13560
13659
  };
13561
13660
 
13562
13661
  // src/components/Input/CheckboxWithInfo.tsx
13563
- import { forwardRef as forwardRef5 } from "react";
13662
+ import { forwardRef as forwardRef6 } from "react";
13564
13663
 
13565
13664
  // src/components/Input/styles/CheckboxWithInfo.styles.ts
13566
13665
  import { css as css42 } from "@emotion/react";
@@ -13635,21 +13734,21 @@ var InfoDialogMessage = css42`
13635
13734
  `;
13636
13735
 
13637
13736
  // src/components/Input/CheckboxWithInfo.tsx
13638
- import { jsx as jsx44, jsxs as jsxs26 } from "@emotion/react/jsx-runtime";
13737
+ import { jsx as jsx45, jsxs as jsxs26 } from "@emotion/react/jsx-runtime";
13639
13738
  var InfoDialog = ({ message }) => {
13640
13739
  return /* @__PURE__ */ jsxs26("div", { "data-testid": "info-dialog", css: InfoDialogContainer, children: [
13641
- /* @__PURE__ */ jsx44(Icon, { icon: "info", iconColor: "action", size: "0.9rem" }),
13642
- /* @__PURE__ */ jsx44("div", { role: "paragraph", css: InfoDialogMessage, className: "info-message", children: message })
13740
+ /* @__PURE__ */ jsx45(Icon, { icon: "info", iconColor: "action", size: "0.9rem" }),
13741
+ /* @__PURE__ */ jsx45("div", { role: "paragraph", css: InfoDialogMessage, className: "info-message", children: message })
13643
13742
  ] });
13644
13743
  };
13645
- var CheckboxWithInfo = forwardRef5(
13744
+ var CheckboxWithInfo = forwardRef6(
13646
13745
  ({ label, name, info, ...props }, ref) => {
13647
13746
  return /* @__PURE__ */ jsxs26("div", { css: CheckboxWithInfoContainer, children: [
13648
13747
  /* @__PURE__ */ jsxs26("label", { css: CheckboxWithInfoLabel, children: [
13649
- /* @__PURE__ */ jsx44("input", { type: "checkbox", name, ref, css: CheckboxWithInfoInput, ...props }),
13650
- /* @__PURE__ */ jsx44("span", { children: label })
13748
+ /* @__PURE__ */ jsx45("input", { type: "checkbox", name, ref, css: CheckboxWithInfoInput, ...props }),
13749
+ /* @__PURE__ */ jsx45("span", { children: label })
13651
13750
  ] }),
13652
- info ? /* @__PURE__ */ jsx44(InfoDialog, { message: info }) : null
13751
+ info ? /* @__PURE__ */ jsx45(InfoDialog, { message: info }) : null
13653
13752
  ] });
13654
13753
  }
13655
13754
  );
@@ -13677,11 +13776,11 @@ var errorMessageTextTruncatedStyles = css43`
13677
13776
  `;
13678
13777
 
13679
13778
  // src/components/Input/ErrorMessage.tsx
13680
- import { jsx as jsx45, jsxs as jsxs27 } from "@emotion/react/jsx-runtime";
13779
+ import { jsx as jsx46, jsxs as jsxs27 } from "@emotion/react/jsx-runtime";
13681
13780
  var ErrorMessage = ({ message, testId, truncated = false, ...otherProps }) => {
13682
13781
  return message ? /* @__PURE__ */ jsxs27("span", { role: "alert", css: errorMessageStyles, "data-testid": testId, ...otherProps, title: message, children: [
13683
- /* @__PURE__ */ jsx45("span", { children: /* @__PURE__ */ jsx45(Icon, { icon: MdWarning, size: "1rem", iconColor: "currentColor" }) }),
13684
- /* @__PURE__ */ jsx45("span", { css: [errorMessageTextStyles, truncated ? errorMessageTextTruncatedStyles : null], children: message })
13782
+ /* @__PURE__ */ jsx46("span", { children: /* @__PURE__ */ jsx46(Icon, { icon: MdWarning, size: "1rem", iconColor: "currentColor" }) }),
13783
+ /* @__PURE__ */ jsx46("span", { css: [errorMessageTextStyles, truncated ? errorMessageTextTruncatedStyles : null], children: message })
13685
13784
  ] }) : null;
13686
13785
  };
13687
13786
 
@@ -13704,10 +13803,10 @@ var InfoIcon2 = css44`
13704
13803
  `;
13705
13804
 
13706
13805
  // src/components/Input/InfoMessage.tsx
13707
- import { jsx as jsx46, jsxs as jsxs28 } from "@emotion/react/jsx-runtime";
13806
+ import { jsx as jsx47, jsxs as jsxs28 } from "@emotion/react/jsx-runtime";
13708
13807
  var InfoMessage = ({ message, testId, ...props }) => {
13709
13808
  return message ? /* @__PURE__ */ jsxs28("span", { role: "status", css: InfoText, "data-testid": testId, ...props, children: [
13710
- /* @__PURE__ */ jsx46("span", { children: /* @__PURE__ */ jsx46(Icon, { css: InfoIcon2, icon: MdInfoOutline, size: "1rem", iconColor: "currentColor" }) }),
13809
+ /* @__PURE__ */ jsx47("span", { children: /* @__PURE__ */ jsx47(Icon, { css: InfoIcon2, icon: MdInfoOutline, size: "1rem", iconColor: "currentColor" }) }),
13711
13810
  message
13712
13811
  ] }) : null;
13713
13812
  };
@@ -13728,16 +13827,16 @@ var WarningIcon = css45`
13728
13827
  `;
13729
13828
 
13730
13829
  // src/components/Input/WarningMessage.tsx
13731
- import { jsx as jsx47, jsxs as jsxs29 } from "@emotion/react/jsx-runtime";
13830
+ import { jsx as jsx48, jsxs as jsxs29 } from "@emotion/react/jsx-runtime";
13732
13831
  var WarningMessage = ({ message, testId, ...props }) => {
13733
13832
  return message ? /* @__PURE__ */ jsxs29("span", { role: "status", css: WarningText, "data-testid": testId != null ? testId : "message-text", ...props, children: [
13734
- /* @__PURE__ */ jsx47("span", { children: /* @__PURE__ */ jsx47(Icon, { css: WarningIcon, icon: MdWarning2, size: "1rem", iconColor: "currentColor" }) }),
13833
+ /* @__PURE__ */ jsx48("span", { children: /* @__PURE__ */ jsx48(Icon, { css: WarningIcon, icon: MdWarning2, size: "1rem", iconColor: "currentColor" }) }),
13735
13834
  message
13736
13835
  ] }) : null;
13737
13836
  };
13738
13837
 
13739
13838
  // src/components/Input/FieldMessage.tsx
13740
- import { jsx as jsx48 } from "@emotion/react/jsx-runtime";
13839
+ import { jsx as jsx49 } from "@emotion/react/jsx-runtime";
13741
13840
  var FieldMessage = ({
13742
13841
  helperMessage,
13743
13842
  warningMessage,
@@ -13747,16 +13846,16 @@ var FieldMessage = ({
13747
13846
  helperMessageTestId
13748
13847
  }) => {
13749
13848
  if (errorMessage) {
13750
- return /* @__PURE__ */ jsx48(ErrorMessage, { message: errorMessage, testId: errorTestId });
13849
+ return /* @__PURE__ */ jsx49(ErrorMessage, { message: errorMessage, testId: errorTestId });
13751
13850
  }
13752
13851
  if (warningMessage) {
13753
- return /* @__PURE__ */ jsx48(WarningMessage, { message: warningMessage });
13852
+ return /* @__PURE__ */ jsx49(WarningMessage, { message: warningMessage });
13754
13853
  }
13755
13854
  if (infoMessage) {
13756
- return /* @__PURE__ */ jsx48(InfoMessage, { message: infoMessage });
13855
+ return /* @__PURE__ */ jsx49(InfoMessage, { message: infoMessage });
13757
13856
  }
13758
13857
  if (helperMessage) {
13759
- return /* @__PURE__ */ jsx48(Caption, { testId: helperMessageTestId, children: helperMessage });
13858
+ return /* @__PURE__ */ jsx49(Caption, { testId: helperMessageTestId, children: helperMessage });
13760
13859
  }
13761
13860
  return null;
13762
13861
  };
@@ -13805,12 +13904,12 @@ var fieldsetBody = css46`
13805
13904
  `;
13806
13905
 
13807
13906
  // src/components/Input/Fieldset.tsx
13808
- import { jsx as jsx49, jsxs as jsxs30 } from "@emotion/react/jsx-runtime";
13907
+ import { jsx as jsx50, jsxs as jsxs30 } from "@emotion/react/jsx-runtime";
13809
13908
  var Fieldset = React10.forwardRef(
13810
13909
  ({ legend, disabled: disabled2, children, invert, ...props }, ref) => {
13811
13910
  return /* @__PURE__ */ jsxs30("fieldset", { css: fieldsetContainer(Boolean(invert)), ref, disabled: disabled2, ...props, children: [
13812
13911
  legend,
13813
- /* @__PURE__ */ jsx49("div", { css: fieldsetBody, children })
13912
+ /* @__PURE__ */ jsx50("div", { css: fieldsetBody, children })
13814
13913
  ] });
13815
13914
  }
13816
13915
  );
@@ -13819,9 +13918,9 @@ var Fieldset = React10.forwardRef(
13819
13918
  import * as React11 from "react";
13820
13919
 
13821
13920
  // src/components/Input/Label.tsx
13822
- import { jsx as jsx50 } from "@emotion/react/jsx-runtime";
13921
+ import { jsx as jsx51 } from "@emotion/react/jsx-runtime";
13823
13922
  var Label = ({ children, className, testId, ...props }) => {
13824
- return /* @__PURE__ */ jsx50(
13923
+ return /* @__PURE__ */ jsx51(
13825
13924
  "label",
13826
13925
  {
13827
13926
  css: [labelText, typeof className === "object" ? className : void 0],
@@ -13834,7 +13933,7 @@ var Label = ({ children, className, testId, ...props }) => {
13834
13933
  };
13835
13934
 
13836
13935
  // src/components/Input/Input.tsx
13837
- import { jsx as jsx51, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
13936
+ import { jsx as jsx52, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
13838
13937
  var Input = React11.forwardRef(
13839
13938
  ({
13840
13939
  label,
@@ -13860,7 +13959,7 @@ var Input = React11.forwardRef(
13860
13959
  css: [inputContainer, typeof classNameRoot === "object" ? classNameRoot : void 0],
13861
13960
  "data-testid": containerTestId ? containerTestId : "input-container",
13862
13961
  children: [
13863
- showLabel ? /* @__PURE__ */ jsx51(
13962
+ showLabel ? /* @__PURE__ */ jsx52(
13864
13963
  Label,
13865
13964
  {
13866
13965
  htmlFor: id,
@@ -13876,7 +13975,7 @@ var Input = React11.forwardRef(
13876
13975
  css: [inputContainer, typeof classNameContainer === "object" ? classNameContainer : void 0],
13877
13976
  className: typeof classNameContainer === "string" ? classNameContainer : "",
13878
13977
  children: [
13879
- /* @__PURE__ */ jsx51(
13978
+ /* @__PURE__ */ jsx52(
13880
13979
  "input",
13881
13980
  {
13882
13981
  id,
@@ -13892,11 +13991,11 @@ var Input = React11.forwardRef(
13892
13991
  ref
13893
13992
  }
13894
13993
  ),
13895
- icon ? /* @__PURE__ */ jsx51("div", { css: inputIcon, children: icon }) : null
13994
+ icon ? /* @__PURE__ */ jsx52("div", { css: inputIcon, children: icon }) : null
13896
13995
  ]
13897
13996
  }
13898
13997
  ),
13899
- /* @__PURE__ */ jsx51(
13998
+ /* @__PURE__ */ jsx52(
13900
13999
  FieldMessage,
13901
14000
  {
13902
14001
  helperMessage: caption,
@@ -13914,10 +14013,10 @@ var Input = React11.forwardRef(
13914
14013
 
13915
14014
  // src/components/Input/InputComboBox.tsx
13916
14015
  import Select from "react-select";
13917
- import { jsx as jsx52 } from "@emotion/react/jsx-runtime";
14016
+ import { jsx as jsx53 } from "@emotion/react/jsx-runtime";
13918
14017
  function InputComboBox(props) {
13919
14018
  var _a;
13920
- return /* @__PURE__ */ jsx52(
14019
+ return /* @__PURE__ */ jsx53(
13921
14020
  Select,
13922
14021
  {
13923
14022
  ...props,
@@ -14131,7 +14230,7 @@ var inlineSelectMenuClosed = css47`
14131
14230
  `;
14132
14231
 
14133
14232
  // src/components/Input/InputInlineSelect.tsx
14134
- import { jsx as jsx53, jsxs as jsxs32 } from "@emotion/react/jsx-runtime";
14233
+ import { jsx as jsx54, jsxs as jsxs32 } from "@emotion/react/jsx-runtime";
14135
14234
  var InputInlineSelect = ({
14136
14235
  classNameContainer,
14137
14236
  options,
@@ -14169,18 +14268,18 @@ var InputInlineSelect = ({
14169
14268
  disabled: disabled2,
14170
14269
  ...props,
14171
14270
  children: [
14172
- /* @__PURE__ */ jsx53("span", { children: (_a = selected == null ? void 0 : selected.label) != null ? _a : value }),
14173
- disabled2 ? null : /* @__PURE__ */ jsx53(Icon, { icon: CgChevronDown2, iconColor: "currentColor", size: 24 })
14271
+ /* @__PURE__ */ jsx54("span", { children: (_a = selected == null ? void 0 : selected.label) != null ? _a : value }),
14272
+ disabled2 ? null : /* @__PURE__ */ jsx54(Icon, { icon: CgChevronDown2, iconColor: "currentColor", size: 24 })
14174
14273
  ]
14175
14274
  }
14176
14275
  ),
14177
- /* @__PURE__ */ jsx53(
14276
+ /* @__PURE__ */ jsx54(
14178
14277
  "div",
14179
14278
  {
14180
14279
  id: `and-or-${props.id}`,
14181
14280
  css: [inlineSelectMenu, menuVisible ? void 0 : inlineSelectMenuClosed],
14182
14281
  "aria-hidden": !menuVisible,
14183
- children: options.map((opt) => /* @__PURE__ */ jsx53(
14282
+ children: options.map((opt) => /* @__PURE__ */ jsx54(
14184
14283
  "button",
14185
14284
  {
14186
14285
  type: "button",
@@ -14203,81 +14302,85 @@ var InputInlineSelect = ({
14203
14302
  // src/components/Input/InputKeywordSearch.tsx
14204
14303
  import { CgClose as CgClose4 } from "@react-icons/all-files/cg/CgClose";
14205
14304
  import { CgSearch } from "@react-icons/all-files/cg/CgSearch";
14206
- import * as React12 from "react";
14305
+ import { forwardRef as forwardRef9, useState as useState5 } from "react";
14207
14306
  import { useDebounce } from "react-use";
14208
- import { jsx as jsx54 } from "@emotion/react/jsx-runtime";
14209
- var InputKeywordSearch = ({
14210
- onSearchTextChanged,
14211
- disabled: disabled2 = false,
14212
- placeholder = "Keyword search",
14213
- inputFieldName = "keywordSearch",
14214
- disabledFieldSubmission = false,
14215
- value,
14216
- onClear,
14217
- compact = false,
14218
- rounded = false,
14219
- ...props
14220
- }) => {
14221
- const handleSearchTextChanged = (e) => {
14222
- onSearchTextChanged(e.currentTarget.value);
14223
- };
14224
- const preventSubmitOnField = (e) => {
14225
- if (e.key === "Enter" && disabledFieldSubmission) {
14226
- e.preventDefault();
14227
- }
14228
- };
14229
- const handleClear = () => {
14230
- onClear ? onClear() : onSearchTextChanged("");
14231
- };
14232
- return /* @__PURE__ */ jsx54(
14233
- Input,
14234
- {
14235
- type: "text",
14236
- name: inputFieldName,
14237
- placeholder,
14238
- showLabel: false,
14239
- value,
14240
- icon: value ? /* @__PURE__ */ jsx54(
14241
- "button",
14242
- {
14243
- css: inputSearchCloseBtn,
14244
- onClick: handleClear,
14245
- type: "button",
14246
- "data-testid": "keyword-search-clear-button",
14247
- children: /* @__PURE__ */ jsx54(Icon, { icon: CgClose4, iconColor: "red", size: "1rem" })
14248
- }
14249
- ) : /* @__PURE__ */ jsx54(Icon, { icon: CgSearch, iconColor: "gray", size: "1rem" }),
14250
- onChange: handleSearchTextChanged,
14251
- onKeyPress: preventSubmitOnField,
14252
- disabled: disabled2,
14253
- "aria-label": placeholder,
14254
- css: [
14255
- compact ? {
14256
- padding: "var(--spacing-sm) var(--spacing-lg) var(--spacing-sm) var(--spacing-base)",
14257
- fontSize: "var(--fs-sm)"
14258
- } : null,
14259
- rounded ? { borderRadius: "var(--rounded-full)" } : null
14260
- ],
14261
- "data-testid": "input-search",
14262
- ...props
14263
- }
14264
- );
14265
- };
14307
+ import { jsx as jsx55 } from "@emotion/react/jsx-runtime";
14308
+ var InputKeywordSearch = forwardRef9(
14309
+ ({
14310
+ onSearchTextChanged,
14311
+ disabled: disabled2 = false,
14312
+ placeholder = "Keyword search",
14313
+ inputFieldName = "keywordSearch",
14314
+ disabledFieldSubmission = false,
14315
+ value,
14316
+ onClear,
14317
+ compact = false,
14318
+ rounded = false,
14319
+ ...props
14320
+ }, ref) => {
14321
+ const handleSearchTextChanged = (e) => {
14322
+ onSearchTextChanged(e.currentTarget.value);
14323
+ };
14324
+ const preventSubmitOnField = (e) => {
14325
+ if (e.key === "Enter" && disabledFieldSubmission) {
14326
+ e.preventDefault();
14327
+ }
14328
+ };
14329
+ const handleClear = () => {
14330
+ onClear ? onClear() : onSearchTextChanged("");
14331
+ };
14332
+ return /* @__PURE__ */ jsx55(
14333
+ Input,
14334
+ {
14335
+ ref,
14336
+ type: "text",
14337
+ name: inputFieldName,
14338
+ placeholder,
14339
+ showLabel: false,
14340
+ value,
14341
+ icon: value ? /* @__PURE__ */ jsx55(
14342
+ "button",
14343
+ {
14344
+ css: inputSearchCloseBtn,
14345
+ onClick: handleClear,
14346
+ type: "button",
14347
+ "data-testid": "keyword-search-clear-button",
14348
+ children: /* @__PURE__ */ jsx55(Icon, { icon: CgClose4, iconColor: "red", size: "1rem" })
14349
+ }
14350
+ ) : /* @__PURE__ */ jsx55(Icon, { icon: CgSearch, iconColor: "gray", size: "1rem" }),
14351
+ onChange: handleSearchTextChanged,
14352
+ onKeyPress: preventSubmitOnField,
14353
+ disabled: disabled2,
14354
+ "aria-label": placeholder,
14355
+ css: [
14356
+ compact ? {
14357
+ padding: "var(--spacing-sm) var(--spacing-lg) var(--spacing-sm) var(--spacing-base)",
14358
+ fontSize: "var(--fs-sm)"
14359
+ } : null,
14360
+ rounded ? { borderRadius: "var(--rounded-full)" } : null
14361
+ ],
14362
+ "data-testid": "input-search",
14363
+ ...props
14364
+ }
14365
+ );
14366
+ }
14367
+ );
14368
+ InputKeywordSearch.displayName = "InputKeywordSearch";
14266
14369
  var DebouncedInputKeywordSearch = ({
14267
14370
  delay = 300,
14268
14371
  onSearchTextChanged,
14269
14372
  defaultValue,
14270
14373
  ...props
14271
14374
  }) => {
14272
- const [searchText, setSearchText] = React12.useState(defaultValue != null ? defaultValue : "");
14375
+ const [searchText, setSearchText] = useState5(defaultValue != null ? defaultValue : "");
14273
14376
  useDebounce(() => onSearchTextChanged(searchText), delay, [searchText]);
14274
- return /* @__PURE__ */ jsx54(InputKeywordSearch, { ...props, value: searchText, onSearchTextChanged: setSearchText });
14377
+ return /* @__PURE__ */ jsx55(InputKeywordSearch, { ...props, value: searchText, onSearchTextChanged: setSearchText });
14275
14378
  };
14276
14379
 
14277
14380
  // src/components/Input/InputSelect.tsx
14278
- import { forwardRef as forwardRef8 } from "react";
14279
- import { Fragment as Fragment7, jsx as jsx55, jsxs as jsxs33 } from "@emotion/react/jsx-runtime";
14280
- var InputSelect = forwardRef8(
14381
+ import { forwardRef as forwardRef10 } from "react";
14382
+ import { Fragment as Fragment7, jsx as jsx56, jsxs as jsxs33 } from "@emotion/react/jsx-runtime";
14383
+ var InputSelect = forwardRef10(
14281
14384
  ({
14282
14385
  label,
14283
14386
  defaultOption,
@@ -14299,7 +14402,7 @@ var InputSelect = forwardRef8(
14299
14402
  css: [inputContainer, typeof classNameContainer === "object" ? classNameContainer : void 0],
14300
14403
  className: typeof classNameContainer === "string" ? classNameContainer : "",
14301
14404
  children: [
14302
- showLabel ? /* @__PURE__ */ jsx55(Fragment7, { children: /* @__PURE__ */ jsxs33(
14405
+ showLabel ? /* @__PURE__ */ jsx56(Fragment7, { children: /* @__PURE__ */ jsxs33(
14303
14406
  Label,
14304
14407
  {
14305
14408
  htmlFor: props.id,
@@ -14327,12 +14430,12 @@ var InputSelect = forwardRef8(
14327
14430
  className: typeof classNameControl === "string" ? classNameControl : "",
14328
14431
  ...props,
14329
14432
  children: [
14330
- defaultOption ? /* @__PURE__ */ jsx55("option", { value: "", children: defaultOption }) : null,
14331
- options.map((opt, index) => /* @__PURE__ */ jsx55("option", { value: opt.label, ...opt }, index))
14433
+ defaultOption ? /* @__PURE__ */ jsx56("option", { value: "", children: defaultOption }) : null,
14434
+ options.map((opt, index) => /* @__PURE__ */ jsx56("option", { value: opt.label, ...opt }, index))
14332
14435
  ]
14333
14436
  }
14334
14437
  ),
14335
- /* @__PURE__ */ jsx55(FieldMessage, { helperMessage: caption, errorMessage, warningMessage })
14438
+ /* @__PURE__ */ jsx56(FieldMessage, { helperMessage: caption, errorMessage, warningMessage })
14336
14439
  ]
14337
14440
  }
14338
14441
  );
@@ -14341,7 +14444,7 @@ var InputSelect = forwardRef8(
14341
14444
 
14342
14445
  // src/components/Input/InputTime.tsx
14343
14446
  import { parseTime } from "@internationalized/date";
14344
- import * as React13 from "react";
14447
+ import * as React12 from "react";
14345
14448
  import { useCallback as useCallback2 } from "react";
14346
14449
  import {
14347
14450
  DateInput,
@@ -14397,7 +14500,7 @@ var dateSegment = css49`
14397
14500
  `;
14398
14501
 
14399
14502
  // src/components/Input/InputTime.tsx
14400
- import { jsx as jsx56, jsxs as jsxs34 } from "@emotion/react/jsx-runtime";
14503
+ import { jsx as jsx57, jsxs as jsxs34 } from "@emotion/react/jsx-runtime";
14401
14504
  function tryParseTime(isoTime) {
14402
14505
  try {
14403
14506
  return isoTime ? parseTime(isoTime) : void 0;
@@ -14405,7 +14508,7 @@ function tryParseTime(isoTime) {
14405
14508
  return void 0;
14406
14509
  }
14407
14510
  }
14408
- var InputTime = React13.forwardRef(
14511
+ var InputTime = React12.forwardRef(
14409
14512
  ({
14410
14513
  id,
14411
14514
  label,
@@ -14426,7 +14529,7 @@ var InputTime = React13.forwardRef(
14426
14529
  onChange,
14427
14530
  ...props
14428
14531
  }, ref) => {
14429
- return /* @__PURE__ */ jsx56(
14532
+ return /* @__PURE__ */ jsx57(
14430
14533
  "div",
14431
14534
  {
14432
14535
  css: [inputContainer],
@@ -14452,8 +14555,8 @@ var InputTime = React13.forwardRef(
14452
14555
  ),
14453
14556
  ...props,
14454
14557
  children: [
14455
- showLabel ? /* @__PURE__ */ jsx56(AriaLabel, { elementType: "label", css: [labelText], "data-testid": labelTestId, children: label }) : null,
14456
- /* @__PURE__ */ jsx56("div", { css: [inputContainer], children: /* @__PURE__ */ jsx56(
14558
+ showLabel ? /* @__PURE__ */ jsx57(AriaLabel, { elementType: "label", css: [labelText], "data-testid": labelTestId, children: label }) : null,
14559
+ /* @__PURE__ */ jsx57("div", { css: [inputContainer], children: /* @__PURE__ */ jsx57(
14457
14560
  DateInput,
14458
14561
  {
14459
14562
  css: [
@@ -14462,12 +14565,12 @@ var InputTime = React13.forwardRef(
14462
14565
  errorMessage ? inputError : void 0
14463
14566
  ],
14464
14567
  children: (segment) => {
14465
- return /* @__PURE__ */ jsx56(DateSegment, { segment, css: dateSegment });
14568
+ return /* @__PURE__ */ jsx57(DateSegment, { segment, css: dateSegment });
14466
14569
  }
14467
14570
  }
14468
14571
  ) }),
14469
14572
  belowInputSlot,
14470
- /* @__PURE__ */ jsx56(
14573
+ /* @__PURE__ */ jsx57(
14471
14574
  FieldMessage,
14472
14575
  {
14473
14576
  helperMessage: caption,
@@ -14487,9 +14590,9 @@ var InputTime = React13.forwardRef(
14487
14590
  InputTime.displayName = "InputTime";
14488
14591
 
14489
14592
  // src/components/Input/InputToggle.tsx
14490
- import * as React14 from "react";
14491
- import { jsx as jsx57, jsxs as jsxs35 } from "@emotion/react/jsx-runtime";
14492
- var InputToggle = React14.forwardRef(
14593
+ import * as React13 from "react";
14594
+ import { jsx as jsx58, jsxs as jsxs35 } from "@emotion/react/jsx-runtime";
14595
+ var InputToggle = React13.forwardRef(
14493
14596
  ({
14494
14597
  label,
14495
14598
  type,
@@ -14514,7 +14617,7 @@ var InputToggle = React14.forwardRef(
14514
14617
  css: [inputToggleLabel, disabled2 ? inputDisabled : void 0],
14515
14618
  "data-testid": testId ? testId : "input-toggle",
14516
14619
  children: [
14517
- /* @__PURE__ */ jsx57(
14620
+ /* @__PURE__ */ jsx58(
14518
14621
  "input",
14519
14622
  {
14520
14623
  ref,
@@ -14526,8 +14629,8 @@ var InputToggle = React14.forwardRef(
14526
14629
  ...props
14527
14630
  }
14528
14631
  ),
14529
- /* @__PURE__ */ jsx57("span", { css: [inlineLabel, fontWeightStyles[fontWeight]], children: label }),
14530
- caption || errorMessage ? /* @__PURE__ */ jsx57("span", { css: inputToggleMessageContainer, children: /* @__PURE__ */ jsx57(
14632
+ /* @__PURE__ */ jsx58("span", { css: [inlineLabel, fontWeightStyles[fontWeight]], children: label }),
14633
+ caption || errorMessage ? /* @__PURE__ */ jsx58("span", { css: inputToggleMessageContainer, children: /* @__PURE__ */ jsx58(
14531
14634
  FieldMessage,
14532
14635
  {
14533
14636
  helperMessage: caption,
@@ -14542,9 +14645,9 @@ var InputToggle = React14.forwardRef(
14542
14645
  );
14543
14646
 
14544
14647
  // src/components/Input/Legend.tsx
14545
- import { jsx as jsx58 } from "@emotion/react/jsx-runtime";
14648
+ import { jsx as jsx59 } from "@emotion/react/jsx-runtime";
14546
14649
  var Legend = ({ children }) => {
14547
- return /* @__PURE__ */ jsx58("legend", { css: fieldsetLegend, children });
14650
+ return /* @__PURE__ */ jsx59("legend", { css: fieldsetLegend, children });
14548
14651
  };
14549
14652
 
14550
14653
  // src/components/Input/SuccessMessage.tsx
@@ -14566,23 +14669,23 @@ var SuccessIcon2 = css50`
14566
14669
  `;
14567
14670
 
14568
14671
  // src/components/Input/SuccessMessage.tsx
14569
- import { jsx as jsx59, jsxs as jsxs36 } from "@emotion/react/jsx-runtime";
14672
+ import { jsx as jsx60, jsxs as jsxs36 } from "@emotion/react/jsx-runtime";
14570
14673
  var SuccessMessage = ({ message, testId, ...props }) => {
14571
14674
  return message ? /* @__PURE__ */ jsxs36("span", { role: "status", css: SuccessText, "data-testid": testId, ...props, children: [
14572
- /* @__PURE__ */ jsx59("span", { children: /* @__PURE__ */ jsx59(Icon, { css: SuccessIcon2, icon: CgCheckO, size: "1rem", iconColor: "currentColor" }) }),
14675
+ /* @__PURE__ */ jsx60("span", { children: /* @__PURE__ */ jsx60(Icon, { css: SuccessIcon2, icon: CgCheckO, size: "1rem", iconColor: "currentColor" }) }),
14573
14676
  message
14574
14677
  ] }) : null;
14575
14678
  };
14576
14679
 
14577
14680
  // src/components/Input/Textarea.tsx
14578
- import { forwardRef as forwardRef11 } from "react";
14579
- import { Fragment as Fragment8, jsx as jsx60, jsxs as jsxs37 } from "@emotion/react/jsx-runtime";
14580
- var Textarea = forwardRef11(
14681
+ import { forwardRef as forwardRef13 } from "react";
14682
+ import { Fragment as Fragment8, jsx as jsx61, jsxs as jsxs37 } from "@emotion/react/jsx-runtime";
14683
+ var Textarea = forwardRef13(
14581
14684
  ({ label, icon, id, caption, showLabel = true, errorMessage, warningMessage, ...props }, ref) => {
14582
14685
  return /* @__PURE__ */ jsxs37(Fragment8, { children: [
14583
- showLabel ? /* @__PURE__ */ jsx60("label", { htmlFor: id, css: [labelText], children: label }) : null,
14686
+ showLabel ? /* @__PURE__ */ jsx61("label", { htmlFor: id, css: [labelText], children: label }) : null,
14584
14687
  /* @__PURE__ */ jsxs37("div", { css: [inputContainer], children: [
14585
- /* @__PURE__ */ jsx60(
14688
+ /* @__PURE__ */ jsx61(
14586
14689
  "textarea",
14587
14690
  {
14588
14691
  ref,
@@ -14597,9 +14700,9 @@ var Textarea = forwardRef11(
14597
14700
  ...props
14598
14701
  }
14599
14702
  ),
14600
- icon ? /* @__PURE__ */ jsx60("div", { css: inputIcon, children: icon }) : null
14703
+ icon ? /* @__PURE__ */ jsx61("div", { css: inputIcon, children: icon }) : null
14601
14704
  ] }),
14602
- /* @__PURE__ */ jsx60(FieldMessage, { helperMessage: caption, errorMessage, warningMessage })
14705
+ /* @__PURE__ */ jsx61(FieldMessage, { helperMessage: caption, errorMessage, warningMessage })
14603
14706
  ] });
14604
14707
  }
14605
14708
  );
@@ -14684,28 +14787,48 @@ var tzSection = css52`
14684
14787
  `;
14685
14788
 
14686
14789
  // src/components/DateTimePicker/DateTimePickerSummary.tsx
14687
- import { jsx as jsx61, jsxs as jsxs38 } from "@emotion/react/jsx-runtime";
14790
+ import { jsx as jsx62, jsxs as jsxs38 } from "@emotion/react/jsx-runtime";
14688
14791
  function DateTimePickerSummary({
14689
14792
  value,
14690
14793
  placeholder
14691
14794
  }) {
14692
- const dateFormat = new Intl.DateTimeFormat(void 0, {
14795
+ let dateFormat = new Intl.DateTimeFormat(void 0, {
14693
14796
  day: "numeric",
14694
14797
  month: "long",
14695
- year: "numeric",
14696
- timeZone: value == null ? void 0 : value.timeZone
14798
+ year: "numeric"
14697
14799
  });
14698
- const timeFormat = new Intl.DateTimeFormat(void 0, {
14699
- timeStyle: "short",
14700
- timeZone: value == null ? void 0 : value.timeZone
14800
+ let timeFormat = new Intl.DateTimeFormat(void 0, {
14801
+ timeStyle: "short"
14701
14802
  });
14803
+ let timeZoneWasValid = false;
14804
+ if (value == null ? void 0 : value.timeZone) {
14805
+ try {
14806
+ dateFormat = new Intl.DateTimeFormat(void 0, {
14807
+ day: "numeric",
14808
+ month: "long",
14809
+ year: "numeric",
14810
+ timeZone: value.timeZone
14811
+ });
14812
+ timeFormat = new Intl.DateTimeFormat(void 0, {
14813
+ timeStyle: "short",
14814
+ timeZone: value.timeZone
14815
+ });
14816
+ timeZoneWasValid = true;
14817
+ } catch (error) {
14818
+ if (error instanceof RangeError) {
14819
+ console.error("Tried to use an unsupported time zone", value == null ? void 0 : value.timeZone);
14820
+ } else {
14821
+ throw error;
14822
+ }
14823
+ }
14824
+ }
14702
14825
  const datePart = (value == null ? void 0 : value.datetime) ? dateFormat.format(new Date(value.datetime)) : null;
14703
14826
  const timePart = (value == null ? void 0 : value.datetime) ? timeFormat.format(new Date(value.datetime)) : null;
14704
14827
  return datePart ? /* @__PURE__ */ jsxs38("span", { children: [
14705
- /* @__PURE__ */ jsx61("em", { css: inputLabelFocal, children: datePart }),
14828
+ /* @__PURE__ */ jsx62("em", { css: inputLabelFocal, children: datePart }),
14706
14829
  !!timePart && `, ${timePart}`,
14707
- !!(value == null ? void 0 : value.timeZone) && ` in ${value == null ? void 0 : value.timeZone}`
14708
- ] }) : /* @__PURE__ */ jsx61("span", { children: placeholder });
14830
+ !!(value == null ? void 0 : value.timeZone) && timeZoneWasValid && ` in ${value == null ? void 0 : value.timeZone}`
14831
+ ] }) : /* @__PURE__ */ jsx62("span", { children: placeholder });
14709
14832
  }
14710
14833
 
14711
14834
  // src/components/DateTimePicker/internalUtils.ts
@@ -14759,7 +14882,7 @@ var DateTimePickerVariant = /* @__PURE__ */ ((DateTimePickerVariant2) => {
14759
14882
  })(DateTimePickerVariant || {});
14760
14883
 
14761
14884
  // src/components/DateTimePicker/DateTimePicker.tsx
14762
- import { jsx as jsx62, jsxs as jsxs39 } from "@emotion/react/jsx-runtime";
14885
+ import { jsx as jsx63, jsxs as jsxs39 } from "@emotion/react/jsx-runtime";
14763
14886
  var timeZoneOptions = typeof Intl !== "undefined" && typeof Intl.supportedValuesOf === "function" ? Intl.supportedValuesOf("timeZone") : ["Etc/UTC"];
14764
14887
  var TIMEZONE_OPTIONS = timeZoneOptions.map((v) => {
14765
14888
  let tz = v;
@@ -14862,8 +14985,8 @@ var DateTimePicker = ({
14862
14985
  }),
14863
14986
  [handleClearClick, handleDateChange, handleTimeChange]
14864
14987
  );
14865
- return /* @__PURE__ */ jsx62(DateTimePickerContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs39("div", { "data-testid": testId, "data-variant": variant, ...props, children: [
14866
- showLabel ? /* @__PURE__ */ jsx62(Label, { css: [labelText], "data-testid": `${testId}-label`, children: label }) : null,
14988
+ return /* @__PURE__ */ jsx63(DateTimePickerContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs39("div", { "data-testid": testId, "data-variant": variant, ...props, children: [
14989
+ showLabel ? /* @__PURE__ */ jsx63(Label, { css: [labelText], "data-testid": `${testId}-label`, children: label }) : null,
14867
14990
  /* @__PURE__ */ jsxs39("div", { css: inputContainer, children: [
14868
14991
  /* @__PURE__ */ jsxs39(
14869
14992
  "div",
@@ -14872,7 +14995,7 @@ var DateTimePicker = ({
14872
14995
  "data-disabled": disabled2,
14873
14996
  "data-focus": popover2.visible,
14874
14997
  children: [
14875
- /* @__PURE__ */ jsx62(
14998
+ /* @__PURE__ */ jsx63(
14876
14999
  PopoverDisclosure,
14877
15000
  {
14878
15001
  ...popover2,
@@ -14881,10 +15004,10 @@ var DateTimePicker = ({
14881
15004
  buttonType: "ghostUnimportant",
14882
15005
  disabled: disabled2,
14883
15006
  "data-testid": `${testId}-trigger`,
14884
- children: /* @__PURE__ */ jsx62(DateTimePickerSummary, { value, placeholder })
15007
+ children: /* @__PURE__ */ jsx63(DateTimePickerSummary, { value, placeholder })
14885
15008
  }
14886
15009
  ),
14887
- !disabled2 && Boolean(value == null ? void 0 : value.datetime) && /* @__PURE__ */ jsx62(
15010
+ !disabled2 && Boolean(value == null ? void 0 : value.datetime) && /* @__PURE__ */ jsx63(
14888
15011
  Button,
14889
15012
  {
14890
15013
  css: trigger,
@@ -14894,12 +15017,12 @@ var DateTimePicker = ({
14894
15017
  children: "clear"
14895
15018
  }
14896
15019
  ),
14897
- /* @__PURE__ */ jsx62(Button, { css: trigger, buttonType: "ghost", disabled: disabled2, onClick: popover2.show, children: /* @__PURE__ */ jsx62(Icon, { icon: "calendar", iconColor: "currentColor" }) })
15020
+ /* @__PURE__ */ jsx63(Button, { css: trigger, buttonType: "ghost", disabled: disabled2, onClick: popover2.show, children: /* @__PURE__ */ jsx63(Icon, { icon: "calendar", iconColor: "currentColor" }) })
14898
15021
  ]
14899
15022
  }
14900
15023
  ),
14901
15024
  /* @__PURE__ */ jsxs39(Popover2, { ...popover2, css: [Popover, popover], "aria-label": "Pick a date", children: [
14902
- /* @__PURE__ */ jsx62("div", { css: calendarSection, children: /* @__PURE__ */ jsx62(
15025
+ /* @__PURE__ */ jsx63("div", { css: calendarSection, children: /* @__PURE__ */ jsx63(
14903
15026
  Calendar,
14904
15027
  {
14905
15028
  value: draftDate == null ? void 0 : draftDate.toString(),
@@ -14910,7 +15033,7 @@ var DateTimePicker = ({
14910
15033
  "data-testid": `${testId}-calendar`
14911
15034
  }
14912
15035
  ) }),
14913
- variant !== "date" /* Date */ && /* @__PURE__ */ jsx62("div", { css: timeSection, children: /* @__PURE__ */ jsx62(
15036
+ variant !== "date" /* Date */ && /* @__PURE__ */ jsx63("div", { css: timeSection, children: /* @__PURE__ */ jsx63(
14914
15037
  InputTime,
14915
15038
  {
14916
15039
  label: "Time",
@@ -14920,8 +15043,8 @@ var DateTimePicker = ({
14920
15043
  }
14921
15044
  ) }),
14922
15045
  /* @__PURE__ */ jsxs39("div", { css: tzSection, children: [
14923
- /* @__PURE__ */ jsx62(Label, { css: labelText, children: "Timezone" }),
14924
- /* @__PURE__ */ jsx62(
15046
+ /* @__PURE__ */ jsx63(Label, { css: labelText, children: "Timezone" }),
15047
+ /* @__PURE__ */ jsx63(
14925
15048
  InputComboBox,
14926
15049
  {
14927
15050
  value: draftTimeZone,
@@ -14931,12 +15054,12 @@ var DateTimePicker = ({
14931
15054
  )
14932
15055
  ] }),
14933
15056
  /* @__PURE__ */ jsxs39(HorizontalRhythm, { gap: "0", children: [
14934
- /* @__PURE__ */ jsx62(Button, { buttonType: "secondary", onClick: handleSelectClick, children: "Select" }),
14935
- /* @__PURE__ */ jsx62(Button, { buttonType: "ghostDestructive", onClick: popover2.hide, children: "cancel" })
15057
+ /* @__PURE__ */ jsx63(Button, { buttonType: "secondary", onClick: handleSelectClick, children: "Select" }),
15058
+ /* @__PURE__ */ jsx63(Button, { buttonType: "ghostDestructive", onClick: popover2.hide, children: "cancel" })
14936
15059
  ] })
14937
15060
  ] })
14938
15061
  ] }),
14939
- /* @__PURE__ */ jsx62(
15062
+ /* @__PURE__ */ jsx63(
14940
15063
  FieldMessage,
14941
15064
  {
14942
15065
  helperMessage: caption,
@@ -14952,7 +15075,7 @@ var DateTimePicker = ({
14952
15075
  // src/components/DescriptionList/DescriptionList.tsx
14953
15076
  import { TbCheck } from "@react-icons/all-files/tb/TbCheck";
14954
15077
  import { TbMinus } from "@react-icons/all-files/tb/TbMinus";
14955
- import React15 from "react";
15078
+ import React14 from "react";
14956
15079
 
14957
15080
  // src/components/DescriptionList/DescriptionList.styles.ts
14958
15081
  import { css as css53 } from "@emotion/react";
@@ -14982,21 +15105,21 @@ var descriptionListValueStyles = css53`
14982
15105
  `;
14983
15106
 
14984
15107
  // src/components/DescriptionList/DescriptionList.tsx
14985
- import { jsx as jsx63, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
14986
- var DescriptionList = React15.forwardRef(
15108
+ import { jsx as jsx64, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
15109
+ var DescriptionList = React14.forwardRef(
14987
15110
  ({ items, variant = "horizontal", ...listProps }, ref) => {
14988
15111
  if (!(items == null ? void 0 : items.length)) {
14989
15112
  return null;
14990
15113
  }
14991
- return /* @__PURE__ */ jsx63(
15114
+ return /* @__PURE__ */ jsx64(
14992
15115
  "dl",
14993
15116
  {
14994
15117
  ref,
14995
15118
  css: variant === "vertical" ? descriptionListVertical : descriptionListHorizontal,
14996
15119
  ...listProps,
14997
- children: items == null ? void 0 : items.map(({ label, value }) => /* @__PURE__ */ jsxs40(React15.Fragment, { children: [
14998
- /* @__PURE__ */ jsx63("dt", { css: descriptionListLabelStyles, children: label }),
14999
- /* @__PURE__ */ jsx63("dd", { css: descriptionListValueStyles, children: typeof value === "boolean" ? /* @__PURE__ */ jsx63(DescriptionListValueBoolean, { value }) : value })
15120
+ children: items == null ? void 0 : items.map(({ label, value }) => /* @__PURE__ */ jsxs40(React14.Fragment, { children: [
15121
+ /* @__PURE__ */ jsx64("dt", { css: descriptionListLabelStyles, children: label }),
15122
+ /* @__PURE__ */ jsx64("dd", { css: descriptionListValueStyles, children: typeof value === "boolean" ? /* @__PURE__ */ jsx64(DescriptionListValueBoolean, { value }) : value })
15000
15123
  ] }, label))
15001
15124
  }
15002
15125
  );
@@ -15006,11 +15129,11 @@ DescriptionList.displayName = "DescriptionList";
15006
15129
  var DescriptionListValueBoolean = ({ value }) => {
15007
15130
  const Icon2 = value ? TbCheck : TbMinus;
15008
15131
  const color = value ? "var(--accent-dark)" : "var(--gray-500)";
15009
- return /* @__PURE__ */ jsx63(Icon2, { style: { color }, strokeWidth: 3 });
15132
+ return /* @__PURE__ */ jsx64(Icon2, { style: { color }, strokeWidth: 3 });
15010
15133
  };
15011
15134
 
15012
15135
  // src/components/Details/Details.tsx
15013
- import * as React16 from "react";
15136
+ import * as React15 from "react";
15014
15137
 
15015
15138
  // src/components/Details/Details.styles.ts
15016
15139
  import { css as css54 } from "@emotion/react";
@@ -15058,7 +15181,7 @@ var summaryIconVisiblyHidden = css54`
15058
15181
  `;
15059
15182
 
15060
15183
  // src/components/Details/Details.tsx
15061
- import { jsx as jsx64, jsxs as jsxs41 } from "@emotion/react/jsx-runtime";
15184
+ import { jsx as jsx65, jsxs as jsxs41 } from "@emotion/react/jsx-runtime";
15062
15185
  var Details = ({
15063
15186
  summary: summary2,
15064
15187
  children,
@@ -15069,9 +15192,9 @@ var Details = ({
15069
15192
  onChange,
15070
15193
  ...props
15071
15194
  }) => {
15072
- const detailsRef = React16.useRef(null);
15073
- const [internalOpen, setInternalOpen] = React16.useState(isOpenByDefault);
15074
- const memoizedIsOpen = React16.useMemo(() => {
15195
+ const detailsRef = React15.useRef(null);
15196
+ const [internalOpen, setInternalOpen] = React15.useState(isOpenByDefault);
15197
+ const memoizedIsOpen = React15.useMemo(() => {
15075
15198
  return isOpen !== void 0 ? isOpen : internalOpen;
15076
15199
  }, [internalOpen, isOpen]);
15077
15200
  return /* @__PURE__ */ jsxs41(
@@ -15088,7 +15211,7 @@ var Details = ({
15088
15211
  ...props,
15089
15212
  children: [
15090
15213
  /* @__PURE__ */ jsxs41("summary", { "data-testid": "summary", css: [summary, isCompact ? summaryCompact : null], children: [
15091
- /* @__PURE__ */ jsx64(
15214
+ /* @__PURE__ */ jsx65(
15092
15215
  Icon,
15093
15216
  {
15094
15217
  css: [!children ? summaryIconVisiblyHidden : void 0, summaryIcon],
@@ -15099,7 +15222,7 @@ var Details = ({
15099
15222
  ),
15100
15223
  summary2
15101
15224
  ] }),
15102
- memoizedIsOpen ? /* @__PURE__ */ jsx64(
15225
+ memoizedIsOpen ? /* @__PURE__ */ jsx65(
15103
15226
  "div",
15104
15227
  {
15105
15228
  "data-testid": "details-content",
@@ -15114,7 +15237,7 @@ var Details = ({
15114
15237
 
15115
15238
  // src/components/Drawer/Drawer.tsx
15116
15239
  import { CgChevronRight } from "@react-icons/all-files/cg/CgChevronRight";
15117
- import React18, { createContext as createContext4, useContext as useContext5, useEffect as useEffect5, useRef as useRef4, useState as useState9 } from "react";
15240
+ import React17, { createContext as createContext4, useContext as useContext5, useEffect as useEffect5, useRef as useRef4, useState as useState9 } from "react";
15118
15241
  import { createPortal } from "react-dom";
15119
15242
 
15120
15243
  // src/components/Drawer/Drawer.styles.ts
@@ -15226,7 +15349,7 @@ var drawerWrapperOverlayStyles = css55`
15226
15349
 
15227
15350
  // src/components/Drawer/DrawerProvider.tsx
15228
15351
  import { createContext as createContext3, useCallback as useCallback4, useContext as useContext4, useRef as useRef3, useState as useState8 } from "react";
15229
- import { jsx as jsx65 } from "@emotion/react/jsx-runtime";
15352
+ import { jsx as jsx66 } from "@emotion/react/jsx-runtime";
15230
15353
  var DrawerContext = createContext3({
15231
15354
  providerId: "",
15232
15355
  drawersRegistry: [],
@@ -15319,7 +15442,7 @@ var DrawerProvider = ({ children }) => {
15319
15442
  },
15320
15443
  [drawerTakeoverStackId]
15321
15444
  );
15322
- return /* @__PURE__ */ jsx65(
15445
+ return /* @__PURE__ */ jsx66(
15323
15446
  DrawerContext.Provider,
15324
15447
  {
15325
15448
  value: {
@@ -15353,22 +15476,22 @@ function isEqualDrawerInstance(a, b) {
15353
15476
  }
15354
15477
 
15355
15478
  // src/components/Drawer/Drawer.tsx
15356
- import { jsx as jsx66, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
15479
+ import { jsx as jsx67, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
15357
15480
  var defaultSackId = "_default";
15358
15481
  var CurrentDrawerContext = createContext4({});
15359
15482
  var useCurrentDrawer = () => {
15360
15483
  return useContext5(CurrentDrawerContext);
15361
15484
  };
15362
- var Drawer = React18.forwardRef(
15485
+ var Drawer = React17.forwardRef(
15363
15486
  ({ minWidth, maxWidth, position, leftAligned, ...drawerProps }, ref) => {
15364
15487
  var _a;
15365
15488
  const { stackId: inheritedStackId } = useCurrentDrawer();
15366
15489
  const { drawerTakeoverStackId } = useDrawer();
15367
15490
  const drawerRendererProps = { width: drawerProps.width, minWidth, maxWidth, position, leftAligned };
15368
15491
  const resolvedStickyStackIdRef = useRef4((_a = drawerTakeoverStackId != null ? drawerTakeoverStackId : drawerProps.stackId) != null ? _a : inheritedStackId);
15369
- return resolvedStickyStackIdRef.current ? /* @__PURE__ */ jsx66(DrawerInner, { ref, ...drawerProps, stackId: resolvedStickyStackIdRef.current }) : /* @__PURE__ */ jsxs42(DrawerProvider, { children: [
15370
- /* @__PURE__ */ jsx66(DrawerInner, { ref, ...drawerProps }),
15371
- /* @__PURE__ */ jsx66(DrawerRenderer, { stackId: defaultSackId, ...drawerRendererProps })
15492
+ return resolvedStickyStackIdRef.current ? /* @__PURE__ */ jsx67(DrawerInner, { ref, ...drawerProps, stackId: resolvedStickyStackIdRef.current }) : /* @__PURE__ */ jsxs42(DrawerProvider, { children: [
15493
+ /* @__PURE__ */ jsx67(DrawerInner, { ref, ...drawerProps }),
15494
+ /* @__PURE__ */ jsx67(DrawerRenderer, { stackId: defaultSackId, ...drawerRendererProps })
15372
15495
  ] });
15373
15496
  }
15374
15497
  );
@@ -15413,7 +15536,7 @@ var DrawerInner = ({
15413
15536
  return null;
15414
15537
  }
15415
15538
  const headerId = `dialog-header-${providerId}-${stackId}-${id}`;
15416
- return /* @__PURE__ */ jsx66(CurrentDrawerContext.Provider, { value: { id, stackId, leftAligned }, children: createPortal(
15539
+ return /* @__PURE__ */ jsx67(CurrentDrawerContext.Provider, { value: { id, stackId, leftAligned }, children: createPortal(
15417
15540
  /* @__PURE__ */ jsxs42(
15418
15541
  "div",
15419
15542
  {
@@ -15426,8 +15549,8 @@ var DrawerInner = ({
15426
15549
  "data-testid": testId,
15427
15550
  children: [
15428
15551
  /* @__PURE__ */ jsxs42("div", { css: headerWrapperStyles, children: [
15429
- header2 ? /* @__PURE__ */ jsx66("div", { id: headerId, css: drawerHeaderStyles, "data-testid": "header", children: header2 }) : null,
15430
- /* @__PURE__ */ jsx66(
15552
+ header2 ? /* @__PURE__ */ jsx67("div", { id: headerId, css: drawerHeaderStyles, "data-testid": "header", children: header2 }) : null,
15553
+ /* @__PURE__ */ jsx67(
15431
15554
  Button,
15432
15555
  {
15433
15556
  ref: closeButtonRef,
@@ -15437,7 +15560,7 @@ var DrawerInner = ({
15437
15560
  title: "Close dialog",
15438
15561
  buttonType: "ghost",
15439
15562
  "data-testid": "close-button",
15440
- children: /* @__PURE__ */ jsx66(
15563
+ children: /* @__PURE__ */ jsx67(
15441
15564
  Icon,
15442
15565
  {
15443
15566
  icon: CgChevronRight,
@@ -15449,7 +15572,7 @@ var DrawerInner = ({
15449
15572
  }
15450
15573
  )
15451
15574
  ] }),
15452
- /* @__PURE__ */ jsx66("div", { css: drawerInnerStyles, children })
15575
+ /* @__PURE__ */ jsx67("div", { css: drawerInnerStyles, children })
15453
15576
  ]
15454
15577
  }
15455
15578
  ),
@@ -15486,17 +15609,17 @@ var DrawerContentBtnGroup = css56`
15486
15609
  `;
15487
15610
 
15488
15611
  // src/components/Drawer/DrawerContent.tsx
15489
- import { jsx as jsx67, jsxs as jsxs43 } from "@emotion/react/jsx-runtime";
15612
+ import { jsx as jsx68, jsxs as jsxs43 } from "@emotion/react/jsx-runtime";
15490
15613
  var DrawerContent2 = ({ children, buttonGroup, noPadding = false, ...props }) => {
15491
15614
  return /* @__PURE__ */ jsxs43("div", { css: DrawerContent, ...props, children: [
15492
- /* @__PURE__ */ jsx67("div", { css: [DrawerContentInner, noPadding ? { padding: 0 } : null], children }),
15493
- buttonGroup ? /* @__PURE__ */ jsx67("div", { css: DrawerContentBtnGroup, children: buttonGroup }) : null
15615
+ /* @__PURE__ */ jsx68("div", { css: [DrawerContentInner, noPadding ? { padding: 0 } : null], children }),
15616
+ buttonGroup ? /* @__PURE__ */ jsx68("div", { css: DrawerContentBtnGroup, children: buttonGroup }) : null
15494
15617
  ] });
15495
15618
  };
15496
15619
 
15497
15620
  // src/components/Drawer/DrawerRenderer.tsx
15498
15621
  import { useEffect as useEffect6, useMemo as useMemo3 } from "react";
15499
- import { Fragment as Fragment9, jsx as jsx68, jsxs as jsxs44 } from "@emotion/react/jsx-runtime";
15622
+ import { Fragment as Fragment9, jsx as jsx69, jsxs as jsxs44 } from "@emotion/react/jsx-runtime";
15500
15623
  var drawerWidth = {
15501
15624
  narrow: "29rem",
15502
15625
  medium: "43rem",
@@ -15537,7 +15660,7 @@ var DrawerRenderer = ({
15537
15660
  if (drawersToRender.length === 0) {
15538
15661
  return null;
15539
15662
  }
15540
- return /* @__PURE__ */ jsx68(
15663
+ return /* @__PURE__ */ jsx69(
15541
15664
  "div",
15542
15665
  {
15543
15666
  css: [
@@ -15546,7 +15669,7 @@ var DrawerRenderer = ({
15546
15669
  position === "sticky" ? { height: "100%", marginTop: "-100%" } : void 0
15547
15670
  ],
15548
15671
  ...otherProps,
15549
- children: drawersToRender.map(({ id, stackId: stackId2, onRequestClose }, index) => /* @__PURE__ */ jsx68(
15672
+ children: drawersToRender.map(({ id, stackId: stackId2, onRequestClose }, index) => /* @__PURE__ */ jsx69(
15550
15673
  DrawerWrapper,
15551
15674
  {
15552
15675
  index,
@@ -15556,7 +15679,7 @@ var DrawerRenderer = ({
15556
15679
  maxWidth,
15557
15680
  onOverlayClick: onRequestClose,
15558
15681
  leftAligned,
15559
- children: /* @__PURE__ */ jsx68(
15682
+ children: /* @__PURE__ */ jsx69(
15560
15683
  "div",
15561
15684
  {
15562
15685
  ...getDrawerAttributes({ providerId, stackId: stackId2, id }),
@@ -15586,8 +15709,8 @@ var DrawerWrapper = ({
15586
15709
  }
15587
15710
  const calculatedWidth = `calc(${width} - ${offsetInPx}px)`;
15588
15711
  return /* @__PURE__ */ jsxs44(Fragment9, { children: [
15589
- /* @__PURE__ */ jsx68("div", { css: drawerWrapperOverlayStyles, onClick: onOverlayClick }),
15590
- /* @__PURE__ */ jsx68(
15712
+ /* @__PURE__ */ jsx69("div", { css: drawerWrapperOverlayStyles, onClick: onOverlayClick }),
15713
+ /* @__PURE__ */ jsx69(
15591
15714
  "div",
15592
15715
  {
15593
15716
  css: [drawerWrapperStyles, leftAligned ? drawerWrapperLeftAlignedStyles : null],
@@ -15607,7 +15730,7 @@ var getDrawerAttributes = ({
15607
15730
 
15608
15731
  // src/components/Drawer/TakeoverDrawerRenderer.tsx
15609
15732
  import { useEffect as useEffect7 } from "react";
15610
- import { jsx as jsx69 } from "@emotion/react/jsx-runtime";
15733
+ import { jsx as jsx70 } from "@emotion/react/jsx-runtime";
15611
15734
  var TAKEOVER_STACK_ID = "takeover-stack";
15612
15735
  var TakeoverDrawerRenderer = (props) => {
15613
15736
  const { registerTakeoverStackId, unregisterTakeoverStackId } = useDrawer();
@@ -15617,11 +15740,11 @@ var TakeoverDrawerRenderer = (props) => {
15617
15740
  unregisterTakeoverStackId(TAKEOVER_STACK_ID);
15618
15741
  };
15619
15742
  }, [registerTakeoverStackId, unregisterTakeoverStackId]);
15620
- return /* @__PURE__ */ jsx69(DrawerRenderer, { ...props, stackId: TAKEOVER_STACK_ID });
15743
+ return /* @__PURE__ */ jsx70(DrawerRenderer, { ...props, stackId: TAKEOVER_STACK_ID });
15621
15744
  };
15622
15745
 
15623
15746
  // src/components/IconButton/IconButton.tsx
15624
- import { forwardRef as forwardRef12 } from "react";
15747
+ import { forwardRef as forwardRef14 } from "react";
15625
15748
 
15626
15749
  // src/components/IconButton/IconButton.styles.ts
15627
15750
  import { css as css57 } from "@emotion/react";
@@ -15651,10 +15774,10 @@ var variants = {
15651
15774
  };
15652
15775
 
15653
15776
  // src/components/IconButton/IconButton.tsx
15654
- import { jsx as jsx70 } from "@emotion/react/jsx-runtime";
15655
- var IconButton = forwardRef12(
15777
+ import { jsx as jsx71 } from "@emotion/react/jsx-runtime";
15778
+ var IconButton = forwardRef14(
15656
15779
  ({ children, size = "md", variant = "square", ...props }, ref) => {
15657
- return /* @__PURE__ */ jsx70(Button, { ref, css: [iconButton, variants[variant], sizes[size]], ...props, children });
15780
+ return /* @__PURE__ */ jsx71(Button, { ref, css: [iconButton, variants[variant], sizes[size]], ...props, children });
15658
15781
  }
15659
15782
  );
15660
15783
  IconButton.displayName = "IconButton";
@@ -15714,7 +15837,7 @@ var variantFillImageImg = css58`
15714
15837
  `;
15715
15838
 
15716
15839
  // src/components/Image/ImageBroken.tsx
15717
- import { jsx as jsx71, jsxs as jsxs45 } from "@emotion/react/jsx-runtime";
15840
+ import { jsx as jsx72, jsxs as jsxs45 } from "@emotion/react/jsx-runtime";
15718
15841
  var ImageBroken = ({ width, height, ...props }) => {
15719
15842
  return /* @__PURE__ */ jsxs45(
15720
15843
  "svg",
@@ -15729,11 +15852,11 @@ var ImageBroken = ({ width, height, ...props }) => {
15729
15852
  "data-testid": "broken-image",
15730
15853
  ...props,
15731
15854
  children: [
15732
- /* @__PURE__ */ jsx71("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
15733
- /* @__PURE__ */ jsx71("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
15855
+ /* @__PURE__ */ jsx72("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
15856
+ /* @__PURE__ */ jsx72("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
15734
15857
  /* @__PURE__ */ jsxs45("defs", { children: [
15735
- /* @__PURE__ */ jsx71("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ jsx71("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
15736
- /* @__PURE__ */ jsx71(
15858
+ /* @__PURE__ */ jsx72("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ jsx72("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
15859
+ /* @__PURE__ */ jsx72(
15737
15860
  "image",
15738
15861
  {
15739
15862
  id: "image0_761_4353",
@@ -15749,7 +15872,7 @@ var ImageBroken = ({ width, height, ...props }) => {
15749
15872
  };
15750
15873
 
15751
15874
  // src/components/Image/Image.tsx
15752
- import { jsx as jsx72, jsxs as jsxs46 } from "@emotion/react/jsx-runtime";
15875
+ import { jsx as jsx73, jsxs as jsxs46 } from "@emotion/react/jsx-runtime";
15753
15876
  var MIN_LOADING_MS = 100;
15754
15877
  function Image({
15755
15878
  alt,
@@ -15809,7 +15932,7 @@ function Image({
15809
15932
  variant === "fill-container" ? variantFillImageWrapper : null
15810
15933
  ],
15811
15934
  children: [
15812
- src && !loadErrorText ? /* @__PURE__ */ jsx72(
15935
+ src && !loadErrorText ? /* @__PURE__ */ jsx73(
15813
15936
  "img",
15814
15937
  {
15815
15938
  ...imgAttribs,
@@ -15837,14 +15960,14 @@ function Image({
15837
15960
  ...variant === "fill-container" ? {} : { width, height }
15838
15961
  },
15839
15962
  children: [
15840
- /* @__PURE__ */ jsx72(
15963
+ /* @__PURE__ */ jsx73(
15841
15964
  ImageBroken,
15842
15965
  {
15843
15966
  css: [brokenImage, img, imgLoaded],
15844
15967
  "data-testid": "broken-image"
15845
15968
  }
15846
15969
  ),
15847
- /* @__PURE__ */ jsx72(ErrorMessage, { message: loadErrorText, css: brokenImageMessage, truncated: true })
15970
+ /* @__PURE__ */ jsx73(ErrorMessage, { message: loadErrorText, css: brokenImageMessage, truncated: true })
15848
15971
  ]
15849
15972
  }
15850
15973
  ) : null
@@ -15988,7 +16111,7 @@ var IntegrationTileFloatingButtonMessage = (clicked) => css59`
15988
16111
  `;
15989
16112
 
15990
16113
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
15991
- import { jsx as jsx73, jsxs as jsxs47 } from "@emotion/react/jsx-runtime";
16114
+ import { jsx as jsx74, jsxs as jsxs47 } from "@emotion/react/jsx-runtime";
15992
16115
  var CreateTeamIntegrationTile = ({
15993
16116
  title: title2 = "Create a custom integration for your team",
15994
16117
  buttonText = "Add Integration",
@@ -15997,7 +16120,7 @@ var CreateTeamIntegrationTile = ({
15997
16120
  ...props
15998
16121
  }) => {
15999
16122
  return /* @__PURE__ */ jsxs47("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
16000
- /* @__PURE__ */ jsx73("span", { css: IntegrationTileTitle, title: title2, children: title2 }),
16123
+ /* @__PURE__ */ jsx74("span", { css: IntegrationTileTitle, title: title2, children: title2 }),
16001
16124
  /* @__PURE__ */ jsxs47(
16002
16125
  Button,
16003
16126
  {
@@ -16008,7 +16131,7 @@ var CreateTeamIntegrationTile = ({
16008
16131
  css: IntegrationTitleFakeButton,
16009
16132
  children: [
16010
16133
  buttonText,
16011
- asDeepLink ? /* @__PURE__ */ jsx73(
16134
+ asDeepLink ? /* @__PURE__ */ jsx74(
16012
16135
  Icon,
16013
16136
  {
16014
16137
  icon: CgChevronRight2,
@@ -16018,7 +16141,7 @@ var CreateTeamIntegrationTile = ({
16018
16141
  order: 1;
16019
16142
  `
16020
16143
  }
16021
- ) : /* @__PURE__ */ jsx73(
16144
+ ) : /* @__PURE__ */ jsx74(
16022
16145
  Icon,
16023
16146
  {
16024
16147
  icon: CgAdd2,
@@ -16039,31 +16162,31 @@ var CreateTeamIntegrationTile = ({
16039
16162
  import { CgCheck } from "@react-icons/all-files/cg/CgCheck";
16040
16163
  import { CgLock } from "@react-icons/all-files/cg/CgLock";
16041
16164
  import { CgSandClock } from "@react-icons/all-files/cg/CgSandClock";
16042
- import { jsx as jsx74, jsxs as jsxs48 } from "@emotion/react/jsx-runtime";
16165
+ import { jsx as jsx75, jsxs as jsxs48 } from "@emotion/react/jsx-runtime";
16043
16166
  var IntegrationedAddedBadge = ({ text = "Added" }) => {
16044
16167
  return /* @__PURE__ */ jsxs48("span", { "data-testid": "integration-icon-installed", css: IntegrationAddedText, children: [
16045
- /* @__PURE__ */ jsx74(Icon, { icon: CgCheck, iconColor: "currentColor" }),
16168
+ /* @__PURE__ */ jsx75(Icon, { icon: CgCheck, iconColor: "currentColor" }),
16046
16169
  text
16047
16170
  ] });
16048
16171
  };
16049
16172
  var IntegrationCustomBadge = ({ text = "Custom" }) => {
16050
- return /* @__PURE__ */ jsx74("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
16173
+ return /* @__PURE__ */ jsx75("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
16051
16174
  };
16052
16175
  var IntegrationPremiumBadge = ({ text = "Premium" }) => {
16053
16176
  return /* @__PURE__ */ jsxs48("span", { css: IntegrationCustomBadgeText("blue"), children: [
16054
- /* @__PURE__ */ jsx74(Icon, { icon: CgLock, iconColor: "currentColor", size: 12 }),
16177
+ /* @__PURE__ */ jsx75(Icon, { icon: CgLock, iconColor: "currentColor", size: 12 }),
16055
16178
  text
16056
16179
  ] });
16057
16180
  };
16058
16181
  var IntegrationComingSoonBadge = ({ text = "Coming soon" }) => {
16059
16182
  return /* @__PURE__ */ jsxs48("span", { css: IntegrationCustomBadgeText("blue"), children: [
16060
- /* @__PURE__ */ jsx74(Icon, { icon: CgSandClock, iconColor: "currentColor", size: 12 }),
16183
+ /* @__PURE__ */ jsx75(Icon, { icon: CgSandClock, iconColor: "currentColor", size: 12 }),
16061
16184
  text
16062
16185
  ] });
16063
16186
  };
16064
16187
 
16065
16188
  // src/components/Tiles/ResolveIcon.tsx
16066
- import { jsx as jsx75 } from "@emotion/react/jsx-runtime";
16189
+ import { jsx as jsx76 } from "@emotion/react/jsx-runtime";
16067
16190
  var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
16068
16191
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
16069
16192
  const mapClassName = {
@@ -16071,13 +16194,13 @@ var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
16071
16194
  logo: IntegrationTitleLogo
16072
16195
  };
16073
16196
  if (icon) {
16074
- return CompIcon ? /* @__PURE__ */ jsx75(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ jsx75("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
16197
+ return CompIcon ? /* @__PURE__ */ jsx76(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ jsx76("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
16075
16198
  }
16076
16199
  return null;
16077
16200
  };
16078
16201
 
16079
16202
  // src/components/Tiles/EditTeamIntegrationTile.tsx
16080
- import { jsx as jsx76, jsxs as jsxs49 } from "@emotion/react/jsx-runtime";
16203
+ import { jsx as jsx77, jsxs as jsxs49 } from "@emotion/react/jsx-runtime";
16081
16204
  var EditTeamIntegrationTile = ({
16082
16205
  id,
16083
16206
  icon,
@@ -16093,10 +16216,10 @@ var EditTeamIntegrationTile = ({
16093
16216
  "data-testid": "configure-integration-container",
16094
16217
  "integration-id": `${id.toLocaleLowerCase()}`,
16095
16218
  children: [
16096
- /* @__PURE__ */ jsx76(ResolveIcon, { icon, name, "data-testid": "integration-logo" }),
16097
- /* @__PURE__ */ jsx76("span", { css: IntegrationTileName, "data-testid": "integration-card-name", children: name }),
16098
- !isPublic ? /* @__PURE__ */ jsx76(IntegrationCustomBadge, {}) : null,
16099
- canEdit ? /* @__PURE__ */ jsx76(
16219
+ /* @__PURE__ */ jsx77(ResolveIcon, { icon, name, "data-testid": "integration-logo" }),
16220
+ /* @__PURE__ */ jsx77("span", { css: IntegrationTileName, "data-testid": "integration-card-name", children: name }),
16221
+ !isPublic ? /* @__PURE__ */ jsx77(IntegrationCustomBadge, {}) : null,
16222
+ canEdit ? /* @__PURE__ */ jsx77(
16100
16223
  Button,
16101
16224
  {
16102
16225
  buttonType: "unimportant",
@@ -16117,7 +16240,7 @@ var EditTeamIntegrationTile = ({
16117
16240
  import { css as css61 } from "@emotion/react";
16118
16241
  import { CgHeart } from "@react-icons/all-files/cg/CgHeart";
16119
16242
  import { useEffect as useEffect9, useState as useState11 } from "react";
16120
- import { jsx as jsx77, jsxs as jsxs50 } from "@emotion/react/jsx-runtime";
16243
+ import { jsx as jsx78, jsxs as jsxs50 } from "@emotion/react/jsx-runtime";
16121
16244
  var IntegrationComingSoon = ({
16122
16245
  name,
16123
16246
  icon,
@@ -16146,9 +16269,9 @@ var IntegrationComingSoon = ({
16146
16269
  "data-testid": `coming-soon-${id.toLowerCase()}-integration`,
16147
16270
  ...props,
16148
16271
  children: [
16149
- /* @__PURE__ */ jsx77(IntegrationComingSoonBadge, {}),
16150
- /* @__PURE__ */ jsx77(ResolveIcon, { icon, name }),
16151
- /* @__PURE__ */ jsx77("span", { css: IntegrationTileName, title: name, children: name }),
16272
+ /* @__PURE__ */ jsx78(IntegrationComingSoonBadge, {}),
16273
+ /* @__PURE__ */ jsx78(ResolveIcon, { icon, name }),
16274
+ /* @__PURE__ */ jsx78("span", { css: IntegrationTileName, title: name, children: name }),
16152
16275
  /* @__PURE__ */ jsxs50(
16153
16276
  Button,
16154
16277
  {
@@ -16159,8 +16282,8 @@ var IntegrationComingSoon = ({
16159
16282
  role: "link",
16160
16283
  css: [IntegrationTileFloatingButton, IntegrationTileFloatingButtonMessage(upVote)],
16161
16284
  children: [
16162
- /* @__PURE__ */ jsx77("strong", { children: "+1" }),
16163
- /* @__PURE__ */ jsx77(
16285
+ /* @__PURE__ */ jsx78("strong", { children: "+1" }),
16286
+ /* @__PURE__ */ jsx78(
16164
16287
  "span",
16165
16288
  {
16166
16289
  css: css61`
@@ -16171,7 +16294,7 @@ var IntegrationComingSoon = ({
16171
16294
  }
16172
16295
  ),
16173
16296
  /* @__PURE__ */ jsxs50("span", { "aria-hidden": !upVote, children: [
16174
- /* @__PURE__ */ jsx77(Icon, { icon: CgHeart, iconColor: "currentColor", size: 18 }),
16297
+ /* @__PURE__ */ jsx78(Icon, { icon: CgHeart, iconColor: "currentColor", size: 18 }),
16175
16298
  "Thanks!"
16176
16299
  ] })
16177
16300
  ]
@@ -16227,12 +16350,12 @@ var IntegrationLoadingFrame = css62`
16227
16350
  `;
16228
16351
 
16229
16352
  // src/components/Tiles/IntegrationLoadingTile.tsx
16230
- import { Fragment as Fragment10, jsx as jsx78, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
16353
+ import { Fragment as Fragment10, jsx as jsx79, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
16231
16354
  var IntegrationLoadingTile = ({ count = 1 }) => {
16232
16355
  const componentCount = Array.from(Array(count).keys());
16233
- return /* @__PURE__ */ jsx78(Fragment10, { children: componentCount.map((i) => /* @__PURE__ */ jsxs51("div", { css: IntegrationLoadingTileContainer, children: [
16234
- /* @__PURE__ */ jsx78("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
16235
- /* @__PURE__ */ jsx78("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
16356
+ return /* @__PURE__ */ jsx79(Fragment10, { children: componentCount.map((i) => /* @__PURE__ */ jsxs51("div", { css: IntegrationLoadingTileContainer, children: [
16357
+ /* @__PURE__ */ jsx79("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
16358
+ /* @__PURE__ */ jsx79("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
16236
16359
  ] }, i)) });
16237
16360
  };
16238
16361
 
@@ -16252,7 +16375,7 @@ var IntegrationModalImage = css63`
16252
16375
  `;
16253
16376
 
16254
16377
  // src/components/Tiles/IntegrationModalIcon.tsx
16255
- import { jsx as jsx79, jsxs as jsxs52 } from "@emotion/react/jsx-runtime";
16378
+ import { jsx as jsx80, jsxs as jsxs52 } from "@emotion/react/jsx-runtime";
16256
16379
  var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
16257
16380
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
16258
16381
  let iconSrc = void 0;
@@ -16270,7 +16393,7 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
16270
16393
  }
16271
16394
  return /* @__PURE__ */ jsxs52("div", { css: IntegrationModalIconContainer, children: [
16272
16395
  /* @__PURE__ */ jsxs52("svg", { width: "49", height: "57", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
16273
- /* @__PURE__ */ jsx79(
16396
+ /* @__PURE__ */ jsx80(
16274
16397
  "path",
16275
16398
  {
16276
16399
  d: "m24.367 1.813 22.786 13.322V41.78L24.367 55.102 1.581 41.78V15.135L24.367 1.814Z",
@@ -16279,12 +16402,12 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
16279
16402
  strokeWidth: "2"
16280
16403
  }
16281
16404
  ),
16282
- /* @__PURE__ */ jsx79("defs", { children: /* @__PURE__ */ jsxs52("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
16283
- /* @__PURE__ */ jsx79("stop", { stopColor: "#1768B2" }),
16284
- /* @__PURE__ */ jsx79("stop", { offset: "1", stopColor: "#B3EFE4" })
16405
+ /* @__PURE__ */ jsx80("defs", { children: /* @__PURE__ */ jsxs52("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
16406
+ /* @__PURE__ */ jsx80("stop", { stopColor: "#1768B2" }),
16407
+ /* @__PURE__ */ jsx80("stop", { offset: "1", stopColor: "#B3EFE4" })
16285
16408
  ] }) })
16286
16409
  ] }),
16287
- CompIcon ? /* @__PURE__ */ jsx79(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : iconSrc ? /* @__PURE__ */ jsx79(
16410
+ CompIcon ? /* @__PURE__ */ jsx80(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : iconSrc ? /* @__PURE__ */ jsx80(
16288
16411
  "img",
16289
16412
  {
16290
16413
  src: iconSrc,
@@ -16298,7 +16421,7 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
16298
16421
  };
16299
16422
 
16300
16423
  // src/components/Tiles/IntegrationTile.tsx
16301
- import { jsx as jsx80, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
16424
+ import { jsx as jsx81, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
16302
16425
  var IntegrationTile = ({
16303
16426
  id,
16304
16427
  icon,
@@ -16320,12 +16443,12 @@ var IntegrationTile = ({
16320
16443
  "aria-label": name,
16321
16444
  ...btnProps,
16322
16445
  children: [
16323
- /* @__PURE__ */ jsx80(ResolveIcon, { icon, name }),
16324
- /* @__PURE__ */ jsx80("span", { css: IntegrationTileName, title: name, children: name }),
16325
- isInstalled ? /* @__PURE__ */ jsx80(IntegrationedAddedBadge, {}) : null,
16326
- requiedEntitlement && isPublic ? /* @__PURE__ */ jsx80(IntegrationPremiumBadge, {}) : null,
16327
- !isPublic ? /* @__PURE__ */ jsx80(IntegrationCustomBadge, {}) : null,
16328
- authorIcon ? /* @__PURE__ */ jsx80(ResolveIcon, { icon: authorIcon, name }) : null
16446
+ /* @__PURE__ */ jsx81(ResolveIcon, { icon, name }),
16447
+ /* @__PURE__ */ jsx81("span", { css: IntegrationTileName, title: name, children: name }),
16448
+ isInstalled ? /* @__PURE__ */ jsx81(IntegrationedAddedBadge, {}) : null,
16449
+ requiedEntitlement && isPublic ? /* @__PURE__ */ jsx81(IntegrationPremiumBadge, {}) : null,
16450
+ !isPublic ? /* @__PURE__ */ jsx81(IntegrationCustomBadge, {}) : null,
16451
+ authorIcon ? /* @__PURE__ */ jsx81(ResolveIcon, { icon: authorIcon, name }) : null
16329
16452
  ]
16330
16453
  }
16331
16454
  );
@@ -16362,9 +16485,9 @@ var TileIsSelected = css64`
16362
16485
  `;
16363
16486
 
16364
16487
  // src/components/Tiles/Tile.tsx
16365
- import { jsx as jsx81 } from "@emotion/react/jsx-runtime";
16488
+ import { jsx as jsx82 } from "@emotion/react/jsx-runtime";
16366
16489
  var Tile2 = ({ children, disabled: disabled2, isSelected, ...props }) => {
16367
- return /* @__PURE__ */ jsx81(
16490
+ return /* @__PURE__ */ jsx82(
16368
16491
  "button",
16369
16492
  {
16370
16493
  type: "button",
@@ -16396,7 +16519,7 @@ var TileContainerInner = (gap, templateColumns) => css65`
16396
16519
  `;
16397
16520
 
16398
16521
  // src/components/Tiles/TileContainer.tsx
16399
- import { jsx as jsx82 } from "@emotion/react/jsx-runtime";
16522
+ import { jsx as jsx83 } from "@emotion/react/jsx-runtime";
16400
16523
  var TileContainer = ({
16401
16524
  bgColor = "var(--brand-secondary-2)",
16402
16525
  containerPadding = "base",
@@ -16405,7 +16528,7 @@ var TileContainer = ({
16405
16528
  children,
16406
16529
  ...props
16407
16530
  }) => {
16408
- return /* @__PURE__ */ jsx82("div", { css: TileContainerWrapper(bgColor, containerPadding), ...props, children: /* @__PURE__ */ jsx82("div", { css: TileContainerInner(gap, gridTemplateColumns), children }) });
16531
+ return /* @__PURE__ */ jsx83("div", { css: TileContainerWrapper(bgColor, containerPadding), ...props, children: /* @__PURE__ */ jsx83("div", { css: TileContainerInner(gap, gridTemplateColumns), children }) });
16409
16532
  };
16410
16533
 
16411
16534
  // src/components/Tiles/styles/TileText.styles.ts
@@ -16420,10 +16543,10 @@ var TileText = css66`
16420
16543
  `;
16421
16544
 
16422
16545
  // src/components/Tiles/TileText.tsx
16423
- import { jsx as jsx83 } from "@emotion/react/jsx-runtime";
16546
+ import { jsx as jsx84 } from "@emotion/react/jsx-runtime";
16424
16547
  var TileText2 = ({ as = "heading", children, ...props }) => {
16425
16548
  const isHeading = as === "heading";
16426
- return /* @__PURE__ */ jsx83(
16549
+ return /* @__PURE__ */ jsx84(
16427
16550
  "span",
16428
16551
  {
16429
16552
  role: isHeading ? "heading" : void 0,
@@ -16472,7 +16595,7 @@ var IntegrationModalHeaderContentWrapper = css67`
16472
16595
  `;
16473
16596
 
16474
16597
  // src/components/IntegrationModalHeader/IntegrationModalHeader.tsx
16475
- import { Fragment as Fragment11, jsx as jsx84, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
16598
+ import { Fragment as Fragment11, jsx as jsx85, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
16476
16599
  var HexModalBackground = ({ ...props }) => {
16477
16600
  return /* @__PURE__ */ jsxs54(
16478
16601
  "svg",
@@ -16484,7 +16607,7 @@ var HexModalBackground = ({ ...props }) => {
16484
16607
  xmlns: "http://www.w3.org/2000/svg",
16485
16608
  ...props,
16486
16609
  children: [
16487
- /* @__PURE__ */ jsx84(
16610
+ /* @__PURE__ */ jsx85(
16488
16611
  "path",
16489
16612
  {
16490
16613
  fillRule: "evenodd",
@@ -16493,7 +16616,7 @@ var HexModalBackground = ({ ...props }) => {
16493
16616
  fill: "url(#paint0_linear_196_2737)"
16494
16617
  }
16495
16618
  ),
16496
- /* @__PURE__ */ jsx84("defs", { children: /* @__PURE__ */ jsxs54(
16619
+ /* @__PURE__ */ jsx85("defs", { children: /* @__PURE__ */ jsxs54(
16497
16620
  "linearGradient",
16498
16621
  {
16499
16622
  id: "paint0_linear_196_2737",
@@ -16503,8 +16626,8 @@ var HexModalBackground = ({ ...props }) => {
16503
16626
  y2: "-95.2742",
16504
16627
  gradientUnits: "userSpaceOnUse",
16505
16628
  children: [
16506
- /* @__PURE__ */ jsx84("stop", { stopColor: "#81DCDE" }),
16507
- /* @__PURE__ */ jsx84("stop", { offset: "1", stopColor: "#428ED4" })
16629
+ /* @__PURE__ */ jsx85("stop", { stopColor: "#81DCDE" }),
16630
+ /* @__PURE__ */ jsx85("stop", { offset: "1", stopColor: "#428ED4" })
16508
16631
  ]
16509
16632
  }
16510
16633
  ) })
@@ -16514,22 +16637,22 @@ var HexModalBackground = ({ ...props }) => {
16514
16637
  };
16515
16638
  var IntegrationModalHeader = ({ icon, name, menu, children }) => {
16516
16639
  return /* @__PURE__ */ jsxs54(Fragment11, { children: [
16517
- /* @__PURE__ */ jsx84(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
16518
- /* @__PURE__ */ jsx84("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ jsxs54("div", { css: IntegrationModalHeaderTitleGroup, children: [
16519
- icon ? /* @__PURE__ */ jsx84(IntegrationModalIcon, { icon, name: name || "" }) : null,
16520
- /* @__PURE__ */ jsx84(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-testid": "integration-modal-title", children: name || "Create Team Integration" }),
16640
+ /* @__PURE__ */ jsx85(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
16641
+ /* @__PURE__ */ jsx85("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ jsxs54("div", { css: IntegrationModalHeaderTitleGroup, children: [
16642
+ icon ? /* @__PURE__ */ jsx85(IntegrationModalIcon, { icon, name: name || "" }) : null,
16643
+ /* @__PURE__ */ jsx85(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-testid": "integration-modal-title", children: name || "Create Team Integration" }),
16521
16644
  menu ? /* @__PURE__ */ jsxs54("div", { css: IntegrationModalHeaderMenuPlacement, children: [
16522
16645
  menu,
16523
16646
  " "
16524
16647
  ] }) : null
16525
16648
  ] }) }),
16526
- /* @__PURE__ */ jsx84("div", { css: IntegrationModalHeaderContentWrapper, children })
16649
+ /* @__PURE__ */ jsx85("div", { css: IntegrationModalHeaderContentWrapper, children })
16527
16650
  ] });
16528
16651
  };
16529
16652
 
16530
16653
  // src/components/JsonEditor/JsonEditor.tsx
16531
16654
  import MonacoEditor from "@monaco-editor/react";
16532
- import { jsx as jsx85 } from "@emotion/react/jsx-runtime";
16655
+ import { jsx as jsx86 } from "@emotion/react/jsx-runtime";
16533
16656
  var minEditorHeightPx = 150;
16534
16657
  var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
16535
16658
  let effectiveHeight = height;
@@ -16539,7 +16662,7 @@ var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
16539
16662
  if (typeof effectiveHeight === "number" && effectiveHeight < minEditorHeightPx) {
16540
16663
  effectiveHeight = minEditorHeightPx;
16541
16664
  }
16542
- return /* @__PURE__ */ jsx85(
16665
+ return /* @__PURE__ */ jsx86(
16543
16666
  MonacoEditor,
16544
16667
  {
16545
16668
  height: effectiveHeight,
@@ -16608,7 +16731,7 @@ var LimitsBarTextColor = (statusColor) => css68`
16608
16731
  `;
16609
16732
 
16610
16733
  // src/components/LimitsBar/LimitsBar.tsx
16611
- import { jsx as jsx86, jsxs as jsxs55 } from "@emotion/react/jsx-runtime";
16734
+ import { jsx as jsx87, jsxs as jsxs55 } from "@emotion/react/jsx-runtime";
16612
16735
  var LimitsBar = ({ current, max, label }) => {
16613
16736
  const maxPercentage = 100;
16614
16737
  const progressBarValue = Math.ceil(current / max * maxPercentage);
@@ -16621,14 +16744,14 @@ var LimitsBar = ({ current, max, label }) => {
16621
16744
  const statusColor = progressBarValue === 100 ? colorMap.danger : progressBarValue >= 75 ? colorMap.warn : colorMap.base;
16622
16745
  return /* @__PURE__ */ jsxs55("div", { css: LimitsBarContainer, children: [
16623
16746
  /* @__PURE__ */ jsxs55("div", { css: LimitsBarLabelContainer, children: [
16624
- /* @__PURE__ */ jsx86("span", { css: LimitsBarLabel, children: label }),
16747
+ /* @__PURE__ */ jsx87("span", { css: LimitsBarLabel, children: label }),
16625
16748
  /* @__PURE__ */ jsxs55("span", { css: [LimitsBarLabel, LimitsBarTextColor(statusColor)], children: [
16626
16749
  current,
16627
16750
  " of ",
16628
16751
  max
16629
16752
  ] })
16630
16753
  ] }),
16631
- /* @__PURE__ */ jsx86(
16754
+ /* @__PURE__ */ jsx87(
16632
16755
  "div",
16633
16756
  {
16634
16757
  role: "progressbar",
@@ -16637,7 +16760,7 @@ var LimitsBar = ({ current, max, label }) => {
16637
16760
  "aria-valuemax": max,
16638
16761
  "aria-valuetext": `${current} of ${max}`,
16639
16762
  css: LimitsBarProgressBar,
16640
- children: /* @__PURE__ */ jsx86(
16763
+ children: /* @__PURE__ */ jsx87(
16641
16764
  "span",
16642
16765
  {
16643
16766
  role: "presentation",
@@ -16669,10 +16792,10 @@ var LinkListTitle = css69`
16669
16792
  `;
16670
16793
 
16671
16794
  // src/components/LinkList/LinkList.tsx
16672
- import { jsx as jsx87, jsxs as jsxs56 } from "@emotion/react/jsx-runtime";
16795
+ import { jsx as jsx88, jsxs as jsxs56 } from "@emotion/react/jsx-runtime";
16673
16796
  var LinkList = ({ title: title2, padding = "var(--spacing-md)", children, ...props }) => {
16674
16797
  return /* @__PURE__ */ jsxs56("div", { css: LinkListContainer(padding), ...props, children: [
16675
- /* @__PURE__ */ jsx87(Heading, { level: 3, css: LinkListTitle, children: title2 }),
16798
+ /* @__PURE__ */ jsx88(Heading, { level: 3, css: LinkListTitle, children: title2 }),
16676
16799
  children
16677
16800
  ] });
16678
16801
  };
@@ -16708,10 +16831,10 @@ var ScrollableListInner = css70`
16708
16831
  `;
16709
16832
 
16710
16833
  // src/components/List/ScrollableList.tsx
16711
- import { jsx as jsx88, jsxs as jsxs57 } from "@emotion/react/jsx-runtime";
16834
+ import { jsx as jsx89, jsxs as jsxs57 } from "@emotion/react/jsx-runtime";
16712
16835
  var ScrollableList = ({ label, children, ...props }) => {
16713
16836
  return /* @__PURE__ */ jsxs57("div", { css: [ScrollableListContainer, scrollbarStyles], ...props, children: [
16714
- label ? /* @__PURE__ */ jsx88(
16837
+ label ? /* @__PURE__ */ jsx89(
16715
16838
  "span",
16716
16839
  {
16717
16840
  css: css71`
@@ -16720,7 +16843,7 @@ var ScrollableList = ({ label, children, ...props }) => {
16720
16843
  children: label
16721
16844
  }
16722
16845
  ) : null,
16723
- /* @__PURE__ */ jsx88("div", { css: [ScrollableListInner, scrollbarStyles], children })
16846
+ /* @__PURE__ */ jsx89("div", { css: [ScrollableListInner, scrollbarStyles], children })
16724
16847
  ] });
16725
16848
  };
16726
16849
 
@@ -16792,7 +16915,7 @@ var ScrollableListIconVisible = css72`
16792
16915
  `;
16793
16916
 
16794
16917
  // src/components/List/ScrollableListInputItem.tsx
16795
- import { jsx as jsx89, jsxs as jsxs58 } from "@emotion/react/jsx-runtime";
16918
+ import { jsx as jsx90, jsxs as jsxs58 } from "@emotion/react/jsx-runtime";
16796
16919
  var ScrollableListInputItem = ({
16797
16920
  label,
16798
16921
  icon,
@@ -16802,7 +16925,7 @@ var ScrollableListInputItem = ({
16802
16925
  labelTestId,
16803
16926
  ...props
16804
16927
  }) => {
16805
- return /* @__PURE__ */ jsx89(
16928
+ return /* @__PURE__ */ jsx90(
16806
16929
  "div",
16807
16930
  {
16808
16931
  css: [
@@ -16816,8 +16939,8 @@ var ScrollableListInputItem = ({
16816
16939
  icon,
16817
16940
  label
16818
16941
  ] }),
16819
- /* @__PURE__ */ jsx89("div", { css: ScrollableListHiddenInput, children }),
16820
- /* @__PURE__ */ jsx89(
16942
+ /* @__PURE__ */ jsx90("div", { css: ScrollableListHiddenInput, children }),
16943
+ /* @__PURE__ */ jsx90(
16821
16944
  Icon,
16822
16945
  {
16823
16946
  icon: CgCheck2,
@@ -16835,7 +16958,7 @@ var ScrollableListInputItem = ({
16835
16958
 
16836
16959
  // src/components/List/ScrollableListItem.tsx
16837
16960
  import { CgCheck as CgCheck3 } from "@react-icons/all-files/cg/CgCheck";
16838
- import { jsx as jsx90, jsxs as jsxs59 } from "@emotion/react/jsx-runtime";
16961
+ import { jsx as jsx91, jsxs as jsxs59 } from "@emotion/react/jsx-runtime";
16839
16962
  var ScrollableListItem = ({
16840
16963
  buttonText,
16841
16964
  icon,
@@ -16843,7 +16966,7 @@ var ScrollableListItem = ({
16843
16966
  disableShadow,
16844
16967
  ...props
16845
16968
  }) => {
16846
- return /* @__PURE__ */ jsx90(
16969
+ return /* @__PURE__ */ jsx91(
16847
16970
  "div",
16848
16971
  {
16849
16972
  css: [
@@ -16854,9 +16977,9 @@ var ScrollableListItem = ({
16854
16977
  children: /* @__PURE__ */ jsxs59("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
16855
16978
  /* @__PURE__ */ jsxs59(HorizontalRhythm, { gap: "xs", align: "center", children: [
16856
16979
  icon,
16857
- /* @__PURE__ */ jsx90("span", { children: buttonText })
16980
+ /* @__PURE__ */ jsx91("span", { children: buttonText })
16858
16981
  ] }),
16859
- /* @__PURE__ */ jsx90(
16982
+ /* @__PURE__ */ jsx91(
16860
16983
  Icon,
16861
16984
  {
16862
16985
  icon: CgCheck3,
@@ -16923,16 +17046,16 @@ function loadingDot(size) {
16923
17046
  }
16924
17047
 
16925
17048
  // src/components/LoadingIndicator/LoadingIndicator.tsx
16926
- import { jsx as jsx91, jsxs as jsxs60 } from "@emotion/react/jsx-runtime";
17049
+ import { jsx as jsx92, jsxs as jsxs60 } from "@emotion/react/jsx-runtime";
16927
17050
  var LoadingIndicator = ({
16928
17051
  size = "lg",
16929
17052
  ...props
16930
17053
  }) => {
16931
17054
  const dotStyle = loadingDot(size);
16932
17055
  return /* @__PURE__ */ jsxs60("div", { role: "alert", css: loader, "data-testid": "loading-indicator", ...props, children: [
16933
- /* @__PURE__ */ jsx91("span", { css: dotStyle }),
16934
- /* @__PURE__ */ jsx91("span", { css: dotStyle }),
16935
- /* @__PURE__ */ jsx91("span", { css: dotStyle })
17056
+ /* @__PURE__ */ jsx92("span", { css: dotStyle }),
17057
+ /* @__PURE__ */ jsx92("span", { css: dotStyle }),
17058
+ /* @__PURE__ */ jsx92("span", { css: dotStyle })
16936
17059
  ] });
16937
17060
  };
16938
17061
 
@@ -16972,7 +17095,7 @@ var loadingOverlayMessage = css74`
16972
17095
  `;
16973
17096
 
16974
17097
  // src/components/LoadingOverlay/LoadingOverlay.tsx
16975
- import { jsx as jsx92, jsxs as jsxs61 } from "@emotion/react/jsx-runtime";
17098
+ import { jsx as jsx93, jsxs as jsxs61 } from "@emotion/react/jsx-runtime";
16976
17099
  var LoadingOverlay = ({
16977
17100
  isActive,
16978
17101
  statusMessage,
@@ -17006,9 +17129,9 @@ var LoadingOverlay = ({
17006
17129
  "aria-hidden": !isActive,
17007
17130
  "aria-busy": isActive && !isPaused,
17008
17131
  children: [
17009
- /* @__PURE__ */ jsx92("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
17010
- /* @__PURE__ */ jsx92("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */ jsxs61("div", { css: loadingOverlayBody, children: [
17011
- /* @__PURE__ */ jsx92(
17132
+ /* @__PURE__ */ jsx93("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
17133
+ /* @__PURE__ */ jsx93("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */ jsxs61("div", { css: loadingOverlayBody, children: [
17134
+ /* @__PURE__ */ jsx93(
17012
17135
  AnimationFile,
17013
17136
  {
17014
17137
  lottieRef,
@@ -17023,15 +17146,15 @@ var LoadingOverlay = ({
17023
17146
  }
17024
17147
  }
17025
17148
  ),
17026
- statusMessage ? /* @__PURE__ */ jsx92("div", { css: loadingOverlayMessage, children: statusMessage }) : null,
17027
- /* @__PURE__ */ jsx92("div", { css: { width: "100%", marginTop: "var(--spacing-md)" }, children })
17149
+ statusMessage ? /* @__PURE__ */ jsx93("div", { css: loadingOverlayMessage, children: statusMessage }) : null,
17150
+ /* @__PURE__ */ jsx93("div", { css: { width: "100%", marginTop: "var(--spacing-md)" }, children })
17028
17151
  ] }) })
17029
17152
  ]
17030
17153
  }
17031
17154
  );
17032
17155
  };
17033
17156
  var LoadingIcon = ({ height, width, ...props }) => {
17034
- return /* @__PURE__ */ jsx92(
17157
+ return /* @__PURE__ */ jsx93(
17035
17158
  "svg",
17036
17159
  {
17037
17160
  viewBox: "0 0 38 38",
@@ -17041,9 +17164,9 @@ var LoadingIcon = ({ height, width, ...props }) => {
17041
17164
  stroke: "currentColor",
17042
17165
  ...props,
17043
17166
  "data-testid": "loading-icon",
17044
- children: /* @__PURE__ */ jsx92("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxs61("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
17045
- /* @__PURE__ */ jsx92("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
17046
- /* @__PURE__ */ jsx92("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ jsx92(
17167
+ children: /* @__PURE__ */ jsx93("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxs61("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
17168
+ /* @__PURE__ */ jsx93("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
17169
+ /* @__PURE__ */ jsx93("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ jsx93(
17047
17170
  "animateTransform",
17048
17171
  {
17049
17172
  attributeName: "transform",
@@ -17068,7 +17191,7 @@ import {
17068
17191
  PopoverDisclosure as PopoverDisclosure2,
17069
17192
  PopoverProvider
17070
17193
  } from "@ariakit/react";
17071
- import { Fragment as Fragment12, jsx as jsx93, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
17194
+ import { Fragment as Fragment12, jsx as jsx94, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
17072
17195
  var Popover3 = ({
17073
17196
  iconColor = "action",
17074
17197
  icon = "info",
@@ -17083,19 +17206,19 @@ var Popover3 = ({
17083
17206
  ...otherProps
17084
17207
  }) => {
17085
17208
  return /* @__PURE__ */ jsxs62(PopoverProvider, { placement, children: [
17086
- /* @__PURE__ */ jsx93(
17209
+ /* @__PURE__ */ jsx94(
17087
17210
  PopoverDisclosure2,
17088
17211
  {
17089
17212
  css: [PopoverBtn, trigger2 ? void 0 : PopoverDefaulterTriggerBtn],
17090
17213
  title: buttonText,
17091
17214
  "data-testid": testId,
17092
17215
  children: trigger2 ? trigger2 : /* @__PURE__ */ jsxs62(Fragment12, { children: [
17093
- /* @__PURE__ */ jsx93(Icon, { icon, iconColor, size: iconSize }),
17094
- /* @__PURE__ */ jsx93("span", { hidden: true, children: buttonText })
17216
+ /* @__PURE__ */ jsx94(Icon, { icon, iconColor, size: iconSize }),
17217
+ /* @__PURE__ */ jsx94("span", { hidden: true, children: buttonText })
17095
17218
  ] })
17096
17219
  }
17097
17220
  ),
17098
- /* @__PURE__ */ jsx93(AriakitPopover, { unmountOnHide: true, css: Popover, ...otherProps, "aria-label": ariaLabel, children })
17221
+ /* @__PURE__ */ jsx94(AriakitPopover, { unmountOnHide: true, css: Popover, ...otherProps, "aria-label": ariaLabel, children })
17099
17222
  ] });
17100
17223
  };
17101
17224
 
@@ -17184,7 +17307,7 @@ var menuButton = css75`
17184
17307
  `;
17185
17308
 
17186
17309
  // src/components/MediaCard/MediaCard.tsx
17187
- import { jsx as jsx94, jsxs as jsxs63 } from "@emotion/react/jsx-runtime";
17310
+ import { jsx as jsx95, jsxs as jsxs63 } from "@emotion/react/jsx-runtime";
17188
17311
  var MediaCard = ({
17189
17312
  title: title2,
17190
17313
  subtitle: subtitle2,
@@ -17201,12 +17324,12 @@ var MediaCard = ({
17201
17324
  }, []);
17202
17325
  const hasMenuItems = Array.isArray(menuItems) ? menuItems.length > 0 : Boolean(menuItems);
17203
17326
  return /* @__PURE__ */ jsxs63(Card, { css: cardBase, ...cardProps, onClick, "data-testid": "card-item", children: [
17204
- /* @__PURE__ */ jsx94("button", { tabIndex: -1, css: coverWrapper, type: buttonType, children: cover }),
17205
- /* @__PURE__ */ jsx94("div", { css: contentWrapper, children: /* @__PURE__ */ jsxs63(HorizontalRhythm, { gap: "sm", justify: "space-between", align: "center", css: { width: "100%" }, children: [
17327
+ /* @__PURE__ */ jsx95("button", { tabIndex: -1, css: coverWrapper, type: buttonType, children: cover }),
17328
+ /* @__PURE__ */ jsx95("div", { css: contentWrapper, children: /* @__PURE__ */ jsxs63(HorizontalRhythm, { gap: "sm", justify: "space-between", align: "center", css: { width: "100%" }, children: [
17206
17329
  /* @__PURE__ */ jsxs63(VerticalRhythm, { gap: "0", align: "flex-start", css: { flex: 1, minWidth: 0 }, children: [
17207
17330
  /* @__PURE__ */ jsxs63(HorizontalRhythm, { gap: "xs", align: "center", css: { maxWidth: "100%" }, children: [
17208
- /* @__PURE__ */ jsx94("button", { css: title, "data-testid": "card-title", children: title2 }),
17209
- !infoPopover ? null : /* @__PURE__ */ jsx94("div", { css: { display: "flex", cursor: "default" }, onClick: onStopPropogation, children: /* @__PURE__ */ jsx94(
17331
+ /* @__PURE__ */ jsx95("button", { css: title, "data-testid": "card-title", children: title2 }),
17332
+ !infoPopover ? null : /* @__PURE__ */ jsx95("div", { css: { display: "flex", cursor: "default" }, onClick: onStopPropogation, children: /* @__PURE__ */ jsx95(
17210
17333
  Popover3,
17211
17334
  {
17212
17335
  baseId: `info-of-${title2}`,
@@ -17215,31 +17338,31 @@ var MediaCard = ({
17215
17338
  iconColor: "default",
17216
17339
  tabIndex: 0,
17217
17340
  css: { display: "block", maxWidth: "20rem" },
17218
- children: /* @__PURE__ */ jsx94("div", { children: infoPopover })
17341
+ children: /* @__PURE__ */ jsx95("div", { children: infoPopover })
17219
17342
  }
17220
17343
  ) })
17221
17344
  ] }),
17222
- subtitle2 ? /* @__PURE__ */ jsx94("button", { tabIndex: -1, css: subtitle, children: subtitle2 }) : null
17345
+ subtitle2 ? /* @__PURE__ */ jsx95("button", { tabIndex: -1, css: subtitle, children: subtitle2 }) : null
17223
17346
  ] }),
17224
- sideSection2 ? /* @__PURE__ */ jsx94("div", { css: sideSection, onClick: onStopPropogation, children: sideSection2 }) : null,
17225
- hasMenuItems ? /* @__PURE__ */ jsx94(
17347
+ sideSection2 ? /* @__PURE__ */ jsx95("div", { css: sideSection, onClick: onStopPropogation, children: sideSection2 }) : null,
17348
+ hasMenuItems ? /* @__PURE__ */ jsx95(
17226
17349
  VerticalRhythm,
17227
17350
  {
17228
17351
  css: menuSection,
17229
17352
  align: "center",
17230
17353
  justify: "center",
17231
17354
  onClick: onStopPropogation,
17232
- children: /* @__PURE__ */ jsx94(
17355
+ children: /* @__PURE__ */ jsx95(
17233
17356
  Menu,
17234
17357
  {
17235
- menuTrigger: /* @__PURE__ */ jsx94(
17358
+ menuTrigger: /* @__PURE__ */ jsx95(
17236
17359
  "button",
17237
17360
  {
17238
17361
  type: "button",
17239
17362
  "aria-label": "More options",
17240
17363
  css: menuButton,
17241
17364
  "data-testid": "button-more",
17242
- children: /* @__PURE__ */ jsx94(Icon, { icon: "more-alt", iconColor: "gray", size: 16 })
17365
+ children: /* @__PURE__ */ jsx95(Icon, { icon: "more-alt", iconColor: "gray", size: 16 })
17243
17366
  }
17244
17367
  ),
17245
17368
  menuLabel: `Menu of ${title2}`,
@@ -17254,7 +17377,7 @@ var MediaCard = ({
17254
17377
 
17255
17378
  // src/components/Modal/Modal.tsx
17256
17379
  import { CgClose as CgClose5 } from "@react-icons/all-files/cg/CgClose";
17257
- import React21, { useEffect as useEffect11, useRef as useRef6 } from "react";
17380
+ import React20, { useEffect as useEffect11, useRef as useRef6 } from "react";
17258
17381
 
17259
17382
  // src/components/Modal/Modal.styles.ts
17260
17383
  import { css as css76 } from "@emotion/react";
@@ -17324,7 +17447,9 @@ var modalContentStyles = css76`
17324
17447
  position: relative;
17325
17448
  flex: 1;
17326
17449
  overflow: auto;
17450
+ background-color: white;
17327
17451
  padding: var(--spacing-md);
17452
+ border-radius: var(--rounded-sm);
17328
17453
  ${scrollbarStyles}
17329
17454
  `;
17330
17455
  var modalDialogWrapper = css76`
@@ -17338,10 +17463,10 @@ var modalDialogInnerStyles = css76`
17338
17463
  `;
17339
17464
 
17340
17465
  // src/components/Modal/Modal.tsx
17341
- import { jsx as jsx95, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
17466
+ import { jsx as jsx96, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
17342
17467
  var defaultModalWidth = "75rem";
17343
17468
  var defaultModalHeight = "51rem";
17344
- var Modal = React21.forwardRef(
17469
+ var Modal = React20.forwardRef(
17345
17470
  ({
17346
17471
  header: header2,
17347
17472
  children,
@@ -17351,6 +17476,7 @@ var Modal = React21.forwardRef(
17351
17476
  buttonGroup,
17352
17477
  modalSize = "lg",
17353
17478
  withoutContentPadding = false,
17479
+ withoutContentBackground = false,
17354
17480
  ...modalProps
17355
17481
  }, ref) => {
17356
17482
  const dialogRef = useRef6(null);
@@ -17379,7 +17505,7 @@ var Modal = React21.forwardRef(
17379
17505
  (_a2 = dialogRef.current) == null ? void 0 : _a2.close();
17380
17506
  };
17381
17507
  }, []);
17382
- return /* @__PURE__ */ jsx95(
17508
+ return /* @__PURE__ */ jsx96(
17383
17509
  "dialog",
17384
17510
  {
17385
17511
  ref: (element) => {
@@ -17408,8 +17534,8 @@ var Modal = React21.forwardRef(
17408
17534
  onClick: (e) => e.stopPropagation(),
17409
17535
  children: [
17410
17536
  /* @__PURE__ */ jsxs64("div", { css: modalHeaderStyles, children: [
17411
- !header2 ? null : /* @__PURE__ */ jsx95("div", { css: modalHeaderHeaderStyles, children: header2 }),
17412
- /* @__PURE__ */ jsx95(
17537
+ !header2 ? null : /* @__PURE__ */ jsx96("div", { css: modalHeaderHeaderStyles, children: header2 }),
17538
+ /* @__PURE__ */ jsx96(
17413
17539
  Button,
17414
17540
  {
17415
17541
  type: "button",
@@ -17418,12 +17544,22 @@ var Modal = React21.forwardRef(
17418
17544
  title: "Close dialog",
17419
17545
  buttonType: "ghost",
17420
17546
  "data-testid": "close-dialog",
17421
- children: /* @__PURE__ */ jsx95(Icon, { icon: CgClose5, iconColor: "currentColor", size: 24 })
17547
+ children: /* @__PURE__ */ jsx96(Icon, { icon: CgClose5, iconColor: "currentColor", size: 24 })
17422
17548
  }
17423
17549
  )
17424
17550
  ] }),
17425
- /* @__PURE__ */ jsx95("div", { css: [modalContentStyles, !withoutContentPadding ? null : { padding: 0 }], children }),
17426
- buttonGroup ? /* @__PURE__ */ jsx95(HorizontalRhythm, { children: buttonGroup }) : null
17551
+ /* @__PURE__ */ jsx96(
17552
+ "div",
17553
+ {
17554
+ css: [
17555
+ modalContentStyles,
17556
+ !withoutContentPadding ? null : { padding: 0 },
17557
+ !withoutContentBackground ? null : { background: "transparent" }
17558
+ ],
17559
+ children
17560
+ }
17561
+ ),
17562
+ buttonGroup ? /* @__PURE__ */ jsx96(HorizontalRhythm, { children: buttonGroup }) : null
17427
17563
  ]
17428
17564
  }
17429
17565
  )
@@ -17434,11 +17570,11 @@ var Modal = React21.forwardRef(
17434
17570
  Modal.displayName = "Modal";
17435
17571
 
17436
17572
  // src/components/Modal/ModalDialog.tsx
17437
- import { forwardRef as forwardRef13 } from "react";
17438
- import { jsx as jsx96, jsxs as jsxs65 } from "@emotion/react/jsx-runtime";
17439
- var ModalDialog = forwardRef13(
17573
+ import { forwardRef as forwardRef15 } from "react";
17574
+ import { jsx as jsx97, jsxs as jsxs65 } from "@emotion/react/jsx-runtime";
17575
+ var ModalDialog = forwardRef15(
17440
17576
  ({ header: header2, buttonGroup, modalSize = "lg", children, height = "auto", onRequestClose, ...props }, ref) => {
17441
- return /* @__PURE__ */ jsx96(
17577
+ return /* @__PURE__ */ jsx97(
17442
17578
  Modal,
17443
17579
  {
17444
17580
  ...props,
@@ -17446,13 +17582,14 @@ var ModalDialog = forwardRef13(
17446
17582
  ref,
17447
17583
  onRequestClose,
17448
17584
  height,
17585
+ withoutContentBackground: true,
17449
17586
  withoutContentPadding: true,
17450
17587
  css: modalDialogInnerStyles,
17451
17588
  width: "",
17452
17589
  children: /* @__PURE__ */ jsxs65(VerticalRhythm, { css: modalDialogWrapper, children: [
17453
- /* @__PURE__ */ jsx96("div", { css: modalHeaderStyles, children: header2 }),
17454
- /* @__PURE__ */ jsx96("div", { children }),
17455
- /* @__PURE__ */ jsx96(HorizontalRhythm, { children: buttonGroup })
17590
+ /* @__PURE__ */ jsx97("div", { css: modalHeaderStyles, children: header2 }),
17591
+ /* @__PURE__ */ jsx97("div", { children }),
17592
+ /* @__PURE__ */ jsx97(HorizontalRhythm, { children: buttonGroup })
17456
17593
  ] })
17457
17594
  }
17458
17595
  );
@@ -17492,7 +17629,7 @@ var page = css77`
17492
17629
  `;
17493
17630
 
17494
17631
  // src/components/Pagination/Pagination.tsx
17495
- import { jsx as jsx97 } from "@emotion/react/jsx-runtime";
17632
+ import { jsx as jsx98 } from "@emotion/react/jsx-runtime";
17496
17633
  function Pagination({
17497
17634
  limit,
17498
17635
  offset,
@@ -17507,12 +17644,12 @@ function Pagination({
17507
17644
  if (pageCount <= 1) {
17508
17645
  return null;
17509
17646
  }
17510
- return /* @__PURE__ */ jsx97(
17647
+ return /* @__PURE__ */ jsx98(
17511
17648
  Paginate,
17512
17649
  {
17513
17650
  forcePage: currentPage,
17514
- previousLabel: /* @__PURE__ */ jsx97("div", { className: prevNextControls, children: "<" }),
17515
- nextLabel: /* @__PURE__ */ jsx97("div", { className: prevNextControls, children: ">" }),
17651
+ previousLabel: /* @__PURE__ */ jsx98("div", { className: prevNextControls, children: "<" }),
17652
+ nextLabel: /* @__PURE__ */ jsx98("div", { className: prevNextControls, children: ">" }),
17516
17653
  breakLabel: "...",
17517
17654
  pageCount,
17518
17655
  marginPagesDisplayed: 2,
@@ -17579,7 +17716,7 @@ var inputIconBtn = css78`
17579
17716
  `;
17580
17717
 
17581
17718
  // src/components/ParameterInputs/LabelLeadingIcon.tsx
17582
- import { jsx as jsx98, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
17719
+ import { jsx as jsx99, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
17583
17720
  var LabelLeadingIcon = ({
17584
17721
  icon,
17585
17722
  iconColor,
@@ -17591,7 +17728,7 @@ var LabelLeadingIcon = ({
17591
17728
  ...props
17592
17729
  }) => {
17593
17730
  const titleFr = title2 != null ? title2 : isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
17594
- return /* @__PURE__ */ jsx98(Tooltip, { title: titleFr, children: /* @__PURE__ */ jsxs66(
17731
+ return /* @__PURE__ */ jsx99(Tooltip, { title: titleFr, children: /* @__PURE__ */ jsxs66(
17595
17732
  "button",
17596
17733
  {
17597
17734
  css: inputIconBtn,
@@ -17601,7 +17738,7 @@ var LabelLeadingIcon = ({
17601
17738
  ...props,
17602
17739
  "data-testid": "lock-button",
17603
17740
  children: [
17604
- /* @__PURE__ */ jsx98(
17741
+ /* @__PURE__ */ jsx99(
17605
17742
  Icon,
17606
17743
  {
17607
17744
  icon: isLocked ? "lock" : icon ? icon : "arrows-expand-down-right",
@@ -17647,7 +17784,7 @@ var input3 = css79`
17647
17784
  border-radius: var(--rounded-sm);
17648
17785
  color: var(--gray-700);
17649
17786
  font-size: var(--fs-sm);
17650
- line-height: 1.2;
17787
+ line-height: 1.5;
17651
17788
  min-height: 2rem;
17652
17789
  padding: var(--spacing-sm);
17653
17790
  width: 100%;
@@ -17904,7 +18041,7 @@ var linkParameterIcon = css79`
17904
18041
  `;
17905
18042
 
17906
18043
  // src/components/ParameterInputs/ParameterDataResource.tsx
17907
- import { jsx as jsx99, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
18044
+ import { jsx as jsx100, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
17908
18045
  function ParameterDataResource({
17909
18046
  label,
17910
18047
  labelLeadingIcon,
@@ -17928,12 +18065,12 @@ function ParameterDataResource({
17928
18065
  disabled: disabled2,
17929
18066
  onClick: onConnectDatasource,
17930
18067
  children: [
17931
- /* @__PURE__ */ jsx99("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ jsx99(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
18068
+ /* @__PURE__ */ jsx100("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ jsx100(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
17932
18069
  children
17933
18070
  ]
17934
18071
  }
17935
18072
  ),
17936
- caption ? /* @__PURE__ */ jsx99(Caption, { children: caption }) : null
18073
+ caption ? /* @__PURE__ */ jsx100(Caption, { children: caption }) : null
17937
18074
  ] });
17938
18075
  }
17939
18076
 
@@ -17959,19 +18096,19 @@ var ParameterDrawerHeaderTitle = css80`
17959
18096
  `;
17960
18097
 
17961
18098
  // src/components/ParameterInputs/ParameterDrawerHeader.tsx
17962
- import { jsx as jsx100, jsxs as jsxs68 } from "@emotion/react/jsx-runtime";
18099
+ import { jsx as jsx101, jsxs as jsxs68 } from "@emotion/react/jsx-runtime";
17963
18100
  var ParameterDrawerHeader = ({ title: title2, iconBeforeTitle, children }) => {
17964
18101
  return /* @__PURE__ */ jsxs68("div", { css: ParameterDrawerHeaderContainer, children: [
17965
18102
  /* @__PURE__ */ jsxs68("header", { css: ParameterDrawerHeaderTitleGroup, children: [
17966
18103
  iconBeforeTitle,
17967
- /* @__PURE__ */ jsx100(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title: title2, children: title2 })
18104
+ /* @__PURE__ */ jsx101(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title: title2, children: title2 })
17968
18105
  ] }),
17969
18106
  children
17970
18107
  ] });
17971
18108
  };
17972
18109
 
17973
18110
  // src/components/ParameterInputs/ParameterGroup.tsx
17974
- import { forwardRef as forwardRef14 } from "react";
18111
+ import { forwardRef as forwardRef16 } from "react";
17975
18112
 
17976
18113
  // src/components/ParameterInputs/styles/ParameterGroup.styles.ts
17977
18114
  import { css as css81 } from "@emotion/react";
@@ -17994,18 +18131,18 @@ var fieldsetLegend2 = css81`
17994
18131
  `;
17995
18132
 
17996
18133
  // src/components/ParameterInputs/ParameterGroup.tsx
17997
- import { jsx as jsx101, jsxs as jsxs69 } from "@emotion/react/jsx-runtime";
17998
- var ParameterGroup = forwardRef14(
18134
+ import { jsx as jsx102, jsxs as jsxs69 } from "@emotion/react/jsx-runtime";
18135
+ var ParameterGroup = forwardRef16(
17999
18136
  ({ legend, isDisabled, children, ...props }, ref) => {
18000
18137
  return /* @__PURE__ */ jsxs69("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
18001
- /* @__PURE__ */ jsx101("legend", { css: fieldsetLegend2, children: legend }),
18138
+ /* @__PURE__ */ jsx102("legend", { css: fieldsetLegend2, children: legend }),
18002
18139
  children
18003
18140
  ] });
18004
18141
  }
18005
18142
  );
18006
18143
 
18007
18144
  // src/components/ParameterInputs/ParameterImage.tsx
18008
- import { forwardRef as forwardRef16, useDeferredValue } from "react";
18145
+ import { forwardRef as forwardRef18, useDeferredValue } from "react";
18009
18146
 
18010
18147
  // src/components/ParameterInputs/ParameterImagePreview.tsx
18011
18148
  import { useState as useState12 } from "react";
@@ -18049,32 +18186,32 @@ var previewModalImage = css82`
18049
18186
  `;
18050
18187
 
18051
18188
  // src/components/ParameterInputs/ParameterImagePreview.tsx
18052
- import { Fragment as Fragment13, jsx as jsx102, jsxs as jsxs70 } from "@emotion/react/jsx-runtime";
18189
+ import { Fragment as Fragment13, jsx as jsx103, jsxs as jsxs70 } from "@emotion/react/jsx-runtime";
18053
18190
  function ParameterImagePreview({ imageSrc }) {
18054
18191
  const [showModal, setShowModal] = useState12(false);
18055
18192
  return imageSrc ? /* @__PURE__ */ jsxs70("div", { css: previewWrapper, children: [
18056
- /* @__PURE__ */ jsx102(PreviewImageModal, { open: showModal, imageSrc, onRequestClose: () => setShowModal(false) }),
18057
- /* @__PURE__ */ jsx102(
18193
+ /* @__PURE__ */ jsx103(PreviewImageModal, { open: showModal, imageSrc, onRequestClose: () => setShowModal(false) }),
18194
+ /* @__PURE__ */ jsx103(
18058
18195
  "button",
18059
18196
  {
18060
18197
  css: previewLink,
18061
18198
  onClick: () => {
18062
18199
  setShowModal(true);
18063
18200
  },
18064
- children: /* @__PURE__ */ jsx102(Image, { src: imageSrc, "data-testid": "parameter-image-preview" })
18201
+ children: /* @__PURE__ */ jsx103(Image, { src: imageSrc, "data-testid": "parameter-image-preview" })
18065
18202
  }
18066
18203
  )
18067
18204
  ] }) : null;
18068
18205
  }
18069
18206
  var PreviewImageModal = ({ open, onRequestClose, imageSrc }) => {
18070
- return open ? /* @__PURE__ */ jsx102(Fragment13, { children: createPortal2(
18071
- /* @__PURE__ */ jsx102(
18207
+ return open ? /* @__PURE__ */ jsx103(Fragment13, { children: createPortal2(
18208
+ /* @__PURE__ */ jsx103(
18072
18209
  Modal,
18073
18210
  {
18074
18211
  header: "Image Preview",
18075
18212
  onRequestClose,
18076
- buttonGroup: /* @__PURE__ */ jsx102(Button, { buttonType: "secondary", onClick: onRequestClose, children: "Ok" }),
18077
- children: /* @__PURE__ */ jsx102("div", { css: previewModalWrapper, children: /* @__PURE__ */ jsx102(Image, { src: imageSrc, css: previewModalImage, "data-testid": "parameter-image-preview" }) })
18213
+ buttonGroup: /* @__PURE__ */ jsx103(Button, { buttonType: "secondary", onClick: onRequestClose, children: "Ok" }),
18214
+ children: /* @__PURE__ */ jsx103("div", { css: previewModalWrapper, children: /* @__PURE__ */ jsx103(Image, { src: imageSrc, css: previewModalImage, "data-testid": "parameter-image-preview" }) })
18078
18215
  }
18079
18216
  ),
18080
18217
  document.body
@@ -18086,21 +18223,21 @@ import { css as css84 } from "@emotion/react";
18086
18223
  import { useState as useState13 } from "react";
18087
18224
 
18088
18225
  // src/components/ParameterInputs/ParameterLabel.tsx
18089
- import { jsx as jsx103 } from "@emotion/react/jsx-runtime";
18226
+ import { jsx as jsx104 } from "@emotion/react/jsx-runtime";
18090
18227
  var ParameterLabel = ({ id, asSpan, children, ...props }) => {
18091
- return !asSpan ? /* @__PURE__ */ jsx103("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ jsx103("span", { "aria-labelledby": id, css: labelText2, children });
18228
+ return !asSpan ? /* @__PURE__ */ jsx104("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ jsx104("span", { "aria-labelledby": id, css: labelText2, children });
18092
18229
  };
18093
18230
 
18094
18231
  // src/components/ParameterInputs/ParameterMenuButton.tsx
18095
- import { forwardRef as forwardRef15 } from "react";
18096
- import { jsx as jsx104 } from "@emotion/react/jsx-runtime";
18097
- var ParameterMenuButton = forwardRef15(
18232
+ import { forwardRef as forwardRef17 } from "react";
18233
+ import { jsx as jsx105 } from "@emotion/react/jsx-runtime";
18234
+ var ParameterMenuButton = forwardRef17(
18098
18235
  ({ label, children }, ref) => {
18099
- return /* @__PURE__ */ jsx104(
18236
+ return /* @__PURE__ */ jsx105(
18100
18237
  Menu,
18101
18238
  {
18102
18239
  menuLabel: `${label} menu`,
18103
- menuTrigger: /* @__PURE__ */ jsx104(
18240
+ menuTrigger: /* @__PURE__ */ jsx105(
18104
18241
  "button",
18105
18242
  {
18106
18243
  className: "parameter-menu",
@@ -18108,7 +18245,7 @@ var ParameterMenuButton = forwardRef15(
18108
18245
  type: "button",
18109
18246
  "aria-label": `${label} options`,
18110
18247
  ref,
18111
- children: /* @__PURE__ */ jsx104(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
18248
+ children: /* @__PURE__ */ jsx105(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
18112
18249
  }
18113
18250
  ),
18114
18251
  children
@@ -18144,7 +18281,7 @@ var overrideMarker = css83`
18144
18281
  `;
18145
18282
 
18146
18283
  // src/components/ParameterInputs/ParameterShell.tsx
18147
- import { jsx as jsx105, jsxs as jsxs71 } from "@emotion/react/jsx-runtime";
18284
+ import { jsx as jsx106, jsxs as jsxs71 } from "@emotion/react/jsx-runtime";
18148
18285
  var extractParameterProps = (props) => {
18149
18286
  const {
18150
18287
  id,
@@ -18219,7 +18356,7 @@ var ParameterShell = ({
18219
18356
  labelTrailingIcon != null ? labelTrailingIcon : null
18220
18357
  ] }),
18221
18358
  /* @__PURE__ */ jsxs71("div", { css: inputWrapper, children: [
18222
- actionItems ? /* @__PURE__ */ jsx105(
18359
+ actionItems ? /* @__PURE__ */ jsx106(
18223
18360
  "div",
18224
18361
  {
18225
18362
  css: [
@@ -18232,8 +18369,8 @@ var ParameterShell = ({
18232
18369
  children: actionItems
18233
18370
  }
18234
18371
  ) : null,
18235
- menuItems ? /* @__PURE__ */ jsx105(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
18236
- /* @__PURE__ */ jsx105(
18372
+ menuItems ? /* @__PURE__ */ jsx106(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
18373
+ /* @__PURE__ */ jsx106(
18237
18374
  ParameterShellContext.Provider,
18238
18375
  {
18239
18376
  value: {
@@ -18243,14 +18380,14 @@ var ParameterShell = ({
18243
18380
  errorMessage: errorMessaging,
18244
18381
  handleManuallySetErrorMessage: (message) => setErrorMessage(message)
18245
18382
  },
18246
- children: isParameterGroup ? /* @__PURE__ */ jsx105("div", { style: { flexGrow: 1 }, children }) : /* @__PURE__ */ jsxs71(ParameterShellPlaceholder, { children: [
18383
+ children: isParameterGroup ? /* @__PURE__ */ jsx106("div", { style: { flexGrow: 1 }, children }) : /* @__PURE__ */ jsxs71(ParameterShellPlaceholder, { children: [
18247
18384
  children,
18248
- hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx105(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
18385
+ hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx106(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
18249
18386
  ] })
18250
18387
  }
18251
18388
  )
18252
18389
  ] }),
18253
- /* @__PURE__ */ jsx105(
18390
+ /* @__PURE__ */ jsx106(
18254
18391
  FieldMessage,
18255
18392
  {
18256
18393
  helperMessageTestId: captionTestId,
@@ -18264,27 +18401,27 @@ var ParameterShell = ({
18264
18401
  ] });
18265
18402
  };
18266
18403
  var ParameterShellPlaceholder = ({ children }) => {
18267
- return /* @__PURE__ */ jsx105("div", { css: emptyParameterShell, children });
18404
+ return /* @__PURE__ */ jsx106("div", { css: emptyParameterShell, children });
18268
18405
  };
18269
- var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx105(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx105("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx105("span", { hidden: true, children: "reset overridden value to default" }) }) });
18406
+ var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx106(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx106("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx106("span", { hidden: true, children: "reset overridden value to default" }) }) });
18270
18407
 
18271
18408
  // src/components/ParameterInputs/ParameterImage.tsx
18272
- import { Fragment as Fragment14, jsx as jsx106, jsxs as jsxs72 } from "@emotion/react/jsx-runtime";
18273
- var ParameterImage = forwardRef16(
18409
+ import { Fragment as Fragment14, jsx as jsx107, jsxs as jsxs72 } from "@emotion/react/jsx-runtime";
18410
+ var ParameterImage = forwardRef18(
18274
18411
  ({ children, ...props }, ref) => {
18275
18412
  const { shellProps, innerProps } = extractParameterProps(props);
18276
18413
  return /* @__PURE__ */ jsxs72(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: [
18277
- /* @__PURE__ */ jsx106(ParameterImageInner, { ref, ...innerProps }),
18414
+ /* @__PURE__ */ jsx107(ParameterImageInner, { ref, ...innerProps }),
18278
18415
  children
18279
18416
  ] });
18280
18417
  }
18281
18418
  );
18282
- var ParameterImageInner = forwardRef16((props, ref) => {
18419
+ var ParameterImageInner = forwardRef18((props, ref) => {
18283
18420
  const { value } = props;
18284
18421
  const { id, label, hiddenLabel, errorMessage } = useParameterShell();
18285
18422
  const deferredValue = useDeferredValue(value);
18286
18423
  return /* @__PURE__ */ jsxs72(Fragment14, { children: [
18287
- /* @__PURE__ */ jsx106(
18424
+ /* @__PURE__ */ jsx107(
18288
18425
  "input",
18289
18426
  {
18290
18427
  css: input3,
@@ -18296,21 +18433,21 @@ var ParameterImageInner = forwardRef16((props, ref) => {
18296
18433
  ...props
18297
18434
  }
18298
18435
  ),
18299
- errorMessage || props.disablePreview ? null : /* @__PURE__ */ jsx106(ParameterImagePreview, { imageSrc: deferredValue })
18436
+ errorMessage || props.disablePreview ? null : /* @__PURE__ */ jsx107(ParameterImagePreview, { imageSrc: deferredValue })
18300
18437
  ] });
18301
18438
  });
18302
18439
 
18303
18440
  // src/components/ParameterInputs/ParameterInput.tsx
18304
- import { forwardRef as forwardRef17 } from "react";
18305
- import { jsx as jsx107 } from "@emotion/react/jsx-runtime";
18306
- var ParameterInput = forwardRef17((props, ref) => {
18441
+ import { forwardRef as forwardRef19 } from "react";
18442
+ import { jsx as jsx108 } from "@emotion/react/jsx-runtime";
18443
+ var ParameterInput = forwardRef19((props, ref) => {
18307
18444
  const { shellProps, innerProps } = extractParameterProps(props);
18308
- return /* @__PURE__ */ jsx107(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx107(ParameterInputInner, { ref, ...innerProps }) });
18445
+ return /* @__PURE__ */ jsx108(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx108(ParameterInputInner, { ref, ...innerProps }) });
18309
18446
  });
18310
- var ParameterInputInner = forwardRef17(
18447
+ var ParameterInputInner = forwardRef19(
18311
18448
  ({ ...props }, ref) => {
18312
18449
  const { id, label, hiddenLabel } = useParameterShell();
18313
- return /* @__PURE__ */ jsx107(
18450
+ return /* @__PURE__ */ jsx108(
18314
18451
  "input",
18315
18452
  {
18316
18453
  css: input3,
@@ -18326,19 +18463,19 @@ var ParameterInputInner = forwardRef17(
18326
18463
  );
18327
18464
 
18328
18465
  // src/components/ParameterInputs/ParameterLink.tsx
18329
- import { forwardRef as forwardRef18 } from "react";
18330
- import { jsx as jsx108, jsxs as jsxs73 } from "@emotion/react/jsx-runtime";
18331
- var ParameterLink = forwardRef18(
18466
+ import { forwardRef as forwardRef20 } from "react";
18467
+ import { jsx as jsx109, jsxs as jsxs73 } from "@emotion/react/jsx-runtime";
18468
+ var ParameterLink = forwardRef20(
18332
18469
  ({ disabled: disabled2, onConnectLink, externalLink, ...props }, ref) => {
18333
18470
  const { shellProps, innerProps } = extractParameterProps(props);
18334
- return /* @__PURE__ */ jsx108(
18471
+ return /* @__PURE__ */ jsx109(
18335
18472
  ParameterShell,
18336
18473
  {
18337
18474
  "data-testid": "link-parameter-editor",
18338
18475
  ...shellProps,
18339
18476
  label: innerProps.value ? shellProps.label : "",
18340
18477
  title: !innerProps.value ? shellProps.label : void 0,
18341
- children: /* @__PURE__ */ jsx108(
18478
+ children: /* @__PURE__ */ jsx109(
18342
18479
  ParameterLinkInner,
18343
18480
  {
18344
18481
  onConnectLink,
@@ -18351,13 +18488,13 @@ var ParameterLink = forwardRef18(
18351
18488
  );
18352
18489
  }
18353
18490
  );
18354
- var ParameterLinkInner = forwardRef18(
18491
+ var ParameterLinkInner = forwardRef20(
18355
18492
  ({ externalLink, onConnectLink, disabled: disabled2, buttonText = "Select link", ...props }, ref) => {
18356
18493
  const { id, label, hiddenLabel } = useParameterShell();
18357
18494
  if (!props.value)
18358
- return /* @__PURE__ */ jsx108("button", { type: "button", css: dataConnectButton, disabled: disabled2, onClick: onConnectLink, children: buttonText });
18495
+ return /* @__PURE__ */ jsx109("button", { type: "button", css: dataConnectButton, disabled: disabled2, onClick: onConnectLink, children: buttonText });
18359
18496
  return /* @__PURE__ */ jsxs73("div", { css: inputWrapper, children: [
18360
- /* @__PURE__ */ jsx108(
18497
+ /* @__PURE__ */ jsx109(
18361
18498
  "input",
18362
18499
  {
18363
18500
  type: "text",
@@ -18370,7 +18507,7 @@ var ParameterLinkInner = forwardRef18(
18370
18507
  }
18371
18508
  ),
18372
18509
  /* @__PURE__ */ jsxs73("div", { css: linkParameterControls, children: [
18373
- /* @__PURE__ */ jsx108(
18510
+ /* @__PURE__ */ jsx109(
18374
18511
  "button",
18375
18512
  {
18376
18513
  type: "button",
@@ -18381,7 +18518,7 @@ var ParameterLinkInner = forwardRef18(
18381
18518
  children: "edit"
18382
18519
  }
18383
18520
  ),
18384
- externalLink ? /* @__PURE__ */ jsx108(
18521
+ externalLink ? /* @__PURE__ */ jsx109(
18385
18522
  "a",
18386
18523
  {
18387
18524
  href: externalLink,
@@ -18389,7 +18526,7 @@ var ParameterLinkInner = forwardRef18(
18389
18526
  title: "Open link in new tab",
18390
18527
  target: "_blank",
18391
18528
  rel: "noopener noreferrer",
18392
- children: /* @__PURE__ */ jsx108(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
18529
+ children: /* @__PURE__ */ jsx109(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
18393
18530
  }
18394
18531
  ) : null
18395
18532
  ] })
@@ -18397,8 +18534,60 @@ var ParameterLinkInner = forwardRef18(
18397
18534
  }
18398
18535
  );
18399
18536
 
18537
+ // src/components/ParameterInputs/ParameterMultiSelect.tsx
18538
+ import { jsx as jsx110 } from "@emotion/react/jsx-runtime";
18539
+ var ParameterMultiSelect = ({ disabled: disabled2 = false, ...props }) => {
18540
+ const { shellProps, innerProps } = extractParameterProps(props);
18541
+ return /* @__PURE__ */ jsx110(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx110(ParameterMultiSelectInner, { isDisabled: disabled2, ...innerProps }) });
18542
+ };
18543
+ var ParameterMultiSelectInner = (props) => {
18544
+ var _a;
18545
+ const { id, label } = useParameterShell();
18546
+ return /* @__PURE__ */ jsx110(
18547
+ InputComboBox,
18548
+ {
18549
+ ...props,
18550
+ isMulti: true,
18551
+ isClearable: (_a = props.isClearable) != null ? _a : false,
18552
+ id,
18553
+ "aria-label": label,
18554
+ classNamePrefix: "parameter-multi-select-combobox",
18555
+ styles: {
18556
+ valueContainer: (base) => ({
18557
+ ...base,
18558
+ padding: "0 var(--spacing-sm)",
18559
+ fontSize: "var(--fs-sm)"
18560
+ }),
18561
+ control: (base, state) => ({
18562
+ ...base,
18563
+ padding: "var(--spacing-sm) 0",
18564
+ border: state.isFocused ? "1px solid var(--accent-dark-hover)" : "1px solid var(--gray-200)",
18565
+ borderRadius: "var(--rounded-sm)",
18566
+ minHeight: "39px",
18567
+ // matches the min-height of other input fields
18568
+ transition: "border-color var(--duration-xfast) ease-in-out",
18569
+ outline: "none",
18570
+ "&:hover": {
18571
+ boxShadow: "none",
18572
+ borderColor: "var(--accent-dark-hover)",
18573
+ outline: "none"
18574
+ },
18575
+ "&:focus-within": {
18576
+ borderColor: "var(--accent-dark-hover)",
18577
+ outline: "none"
18578
+ }
18579
+ }),
18580
+ indicatorsContainer: (base) => ({
18581
+ ...base,
18582
+ padding: "0"
18583
+ })
18584
+ }
18585
+ }
18586
+ );
18587
+ };
18588
+
18400
18589
  // src/components/ParameterInputs/ParameterNameAndPublicIdInput.tsx
18401
- import { Fragment as Fragment15, jsx as jsx109, jsxs as jsxs74 } from "@emotion/react/jsx-runtime";
18590
+ import { Fragment as Fragment15, jsx as jsx111, jsxs as jsxs74 } from "@emotion/react/jsx-runtime";
18402
18591
  var ParameterNameAndPublicIdInput = ({
18403
18592
  id,
18404
18593
  onBlur,
@@ -18425,7 +18614,7 @@ var ParameterNameAndPublicIdInput = ({
18425
18614
  };
18426
18615
  autoFocus == null ? void 0 : autoFocus();
18427
18616
  return /* @__PURE__ */ jsxs74(Fragment15, { children: [
18428
- /* @__PURE__ */ jsx109(
18617
+ /* @__PURE__ */ jsx111(
18429
18618
  ParameterInput,
18430
18619
  {
18431
18620
  id: nameIdField,
@@ -18444,7 +18633,7 @@ var ParameterNameAndPublicIdInput = ({
18444
18633
  value: values[nameIdField]
18445
18634
  }
18446
18635
  ),
18447
- /* @__PURE__ */ jsx109(
18636
+ /* @__PURE__ */ jsx111(
18448
18637
  ParameterInput,
18449
18638
  {
18450
18639
  id: publicIdFieldName,
@@ -18458,11 +18647,11 @@ var ParameterNameAndPublicIdInput = ({
18458
18647
  caption: !publicIdError ? publicIdCaption : void 0,
18459
18648
  placeholder: publicIdPlaceholderText,
18460
18649
  errorMessage: publicIdError,
18461
- menuItems: /* @__PURE__ */ jsx109(
18650
+ menuItems: /* @__PURE__ */ jsx111(
18462
18651
  MenuItem,
18463
18652
  {
18464
18653
  disabled: !values[publicIdFieldName],
18465
- icon: /* @__PURE__ */ jsx109(Icon, { icon: "path-trim", iconColor: "currentColor" }),
18654
+ icon: /* @__PURE__ */ jsx111(Icon, { icon: "path-trim", iconColor: "currentColor" }),
18466
18655
  onClick: handleCopyPidFieldValue,
18467
18656
  children: "Copy"
18468
18657
  }
@@ -18470,7 +18659,7 @@ var ParameterNameAndPublicIdInput = ({
18470
18659
  value: values[publicIdFieldName]
18471
18660
  }
18472
18661
  ),
18473
- (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx109(Callout, { type: "caution", children: warnOverLength.message }) : null
18662
+ (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx111(Callout, { type: "caution", children: warnOverLength.message }) : null
18474
18663
  ] });
18475
18664
  };
18476
18665
 
@@ -18860,7 +19049,7 @@ var getSelectedNode = (selection) => {
18860
19049
  };
18861
19050
 
18862
19051
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
18863
- import { Fragment as Fragment16, jsx as jsx110, jsxs as jsxs75 } from "@emotion/react/jsx-runtime";
19052
+ import { Fragment as Fragment16, jsx as jsx112, jsxs as jsxs75 } from "@emotion/react/jsx-runtime";
18864
19053
  var isProjectMapLinkValue = (value) => {
18865
19054
  return (value == null ? void 0 : value.type) === "projectMapNode" && Boolean(
18866
19055
  value.nodeId && value.path && value.projectMapId
@@ -19304,7 +19493,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
19304
19493
  });
19305
19494
  };
19306
19495
  return /* @__PURE__ */ jsxs75(Fragment16, { children: [
19307
- /* @__PURE__ */ jsx110(
19496
+ /* @__PURE__ */ jsx112(
19308
19497
  NodeEventPlugin,
19309
19498
  {
19310
19499
  nodeType: LinkNode,
@@ -19314,7 +19503,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
19314
19503
  }
19315
19504
  }
19316
19505
  ),
19317
- linkPopoverState ? /* @__PURE__ */ jsx110(
19506
+ linkPopoverState ? /* @__PURE__ */ jsx112(
19318
19507
  "div",
19319
19508
  {
19320
19509
  css: linkPopover,
@@ -19324,7 +19513,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
19324
19513
  },
19325
19514
  ref: linkPopoverElRef,
19326
19515
  children: /* @__PURE__ */ jsxs75("div", { css: linkPopoverContainer, children: [
19327
- linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ jsx110(
19516
+ linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ jsx112(
19328
19517
  "a",
19329
19518
  {
19330
19519
  href: parsePath(
@@ -19336,7 +19525,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
19336
19525
  children: parsePath(linkPopoverState.node.__link.path)
19337
19526
  }
19338
19527
  ),
19339
- /* @__PURE__ */ jsx110(
19528
+ /* @__PURE__ */ jsx112(
19340
19529
  Button,
19341
19530
  {
19342
19531
  size: "xs",
@@ -19344,7 +19533,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
19344
19533
  onEditLinkNode(linkPopoverState.node);
19345
19534
  },
19346
19535
  buttonType: "ghost",
19347
- children: /* @__PURE__ */ jsx110(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
19536
+ children: /* @__PURE__ */ jsx112(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
19348
19537
  }
19349
19538
  )
19350
19539
  ] })
@@ -19369,7 +19558,7 @@ import {
19369
19558
  INDENT_CONTENT_COMMAND
19370
19559
  } from "lexical";
19371
19560
  import { useEffect as useEffect14 } from "react";
19372
- import { jsx as jsx111 } from "@emotion/react/jsx-runtime";
19561
+ import { jsx as jsx113 } from "@emotion/react/jsx-runtime";
19373
19562
  function isIndentPermitted(maxDepth) {
19374
19563
  const selection = $getSelection2();
19375
19564
  if (!$isRangeSelection2(selection)) {
@@ -19399,7 +19588,7 @@ function ListIndentPlugin({ maxDepth }) {
19399
19588
  COMMAND_PRIORITY_CRITICAL
19400
19589
  );
19401
19590
  }, [editor, maxDepth]);
19402
- return /* @__PURE__ */ jsx111(TabIndentationPlugin, {});
19591
+ return /* @__PURE__ */ jsx113(TabIndentationPlugin, {});
19403
19592
  }
19404
19593
 
19405
19594
  // src/components/ParameterInputs/rich-text/RichTextToolbar.tsx
@@ -19426,7 +19615,7 @@ import {
19426
19615
  SELECTION_CHANGE_COMMAND
19427
19616
  } from "lexical";
19428
19617
  import { useCallback as useCallback9, useEffect as useEffect15, useMemo as useMemo4, useState as useState15 } from "react";
19429
- import { Fragment as Fragment17, jsx as jsx112, jsxs as jsxs76 } from "@emotion/react/jsx-runtime";
19618
+ import { Fragment as Fragment17, jsx as jsx114, jsxs as jsxs76 } from "@emotion/react/jsx-runtime";
19430
19619
  var toolbar = css87`
19431
19620
  background: var(--gray-50);
19432
19621
  border-radius: var(--rounded-base);
@@ -19478,7 +19667,7 @@ var toolbarChevron = css87`
19478
19667
  margin-left: var(--spacing-xs);
19479
19668
  `;
19480
19669
  var RichTextToolbarIcon = ({ icon }) => {
19481
- return /* @__PURE__ */ jsx112(Icon, { icon, css: toolbarIcon, size: "1rem" });
19670
+ return /* @__PURE__ */ jsx114(Icon, { icon, css: toolbarIcon, size: "1rem" });
19482
19671
  };
19483
19672
  var FORMATS_WITH_ICON = /* @__PURE__ */ new Map([
19484
19673
  ["bold", "format-bold"],
@@ -19595,7 +19784,7 @@ var RichTextToolbar = ({ config, customControls }) => {
19595
19784
  menuTrigger: /* @__PURE__ */ jsxs76("button", { css: richTextToolbarButton, title: "Text styles", children: [
19596
19785
  visibleTextualElements.some((element) => element.type === activeElement) ? getLabelForElement(activeElement) : getLabelForElement("paragraph"),
19597
19786
  " ",
19598
- /* @__PURE__ */ jsx112(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
19787
+ /* @__PURE__ */ jsx114(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
19599
19788
  ] }),
19600
19789
  placement: "bottom-start",
19601
19790
  children: [
@@ -19605,7 +19794,7 @@ var RichTextToolbar = ({ config, customControls }) => {
19605
19794
  type: "paragraph"
19606
19795
  },
19607
19796
  ...visibleTextualElements
19608
- ].map((element) => /* @__PURE__ */ jsx112(
19797
+ ].map((element) => /* @__PURE__ */ jsx114(
19609
19798
  MenuItem,
19610
19799
  {
19611
19800
  onClick: () => {
@@ -19615,12 +19804,12 @@ var RichTextToolbar = ({ config, customControls }) => {
19615
19804
  },
19616
19805
  element.type
19617
19806
  )),
19618
- visibleTextualElements.length === 0 ? /* @__PURE__ */ jsx112(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
19807
+ visibleTextualElements.length === 0 ? /* @__PURE__ */ jsx114(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
19619
19808
  ]
19620
19809
  }
19621
19810
  ),
19622
19811
  visibleFormatsWithIcon.length > 0 || visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsxs76("div", { css: toolbarGroup, children: [
19623
- visibleFormatsWithIcon.map((format) => /* @__PURE__ */ jsx112(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ jsx112(
19812
+ visibleFormatsWithIcon.map((format) => /* @__PURE__ */ jsx114(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ jsx114(
19624
19813
  "button",
19625
19814
  {
19626
19815
  onClick: () => {
@@ -19630,16 +19819,16 @@ var RichTextToolbar = ({ config, customControls }) => {
19630
19819
  richTextToolbarButton,
19631
19820
  activeFormats.includes(format.type) ? richTextToolbarButtonActive : null
19632
19821
  ],
19633
- children: /* @__PURE__ */ jsx112(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
19822
+ children: /* @__PURE__ */ jsx114(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
19634
19823
  }
19635
19824
  ) }, format.type)),
19636
- visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsx112(
19825
+ visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsx114(
19637
19826
  Menu,
19638
19827
  {
19639
19828
  menuLabel: "Alternative text styles",
19640
- menuTrigger: /* @__PURE__ */ jsx112("button", { css: richTextToolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ jsx112(Icon, { icon: "more-alt", css: toolbarIcon }) }),
19829
+ menuTrigger: /* @__PURE__ */ jsx114("button", { css: richTextToolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ jsx114(Icon, { icon: "more-alt", css: toolbarIcon }) }),
19641
19830
  placement: "bottom-start",
19642
- children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ jsx112(
19831
+ children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ jsx114(
19643
19832
  MenuItem,
19644
19833
  {
19645
19834
  onClick: () => {
@@ -19653,18 +19842,18 @@ var RichTextToolbar = ({ config, customControls }) => {
19653
19842
  ) : null
19654
19843
  ] }) : null,
19655
19844
  visibleElementsWithIcons.size > 0 ? /* @__PURE__ */ jsxs76("div", { css: toolbarGroup, children: [
19656
- linkElementVisible ? /* @__PURE__ */ jsx112(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ jsx112(
19845
+ linkElementVisible ? /* @__PURE__ */ jsx114(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ jsx114(
19657
19846
  "button",
19658
19847
  {
19659
19848
  onClick: () => {
19660
19849
  isLink ? editor.dispatchCommand(REMOVE_LINK_NODE_COMMAND, {}) : editor.dispatchCommand(OPEN_LINK_NODE_MODAL_COMMAND, {});
19661
19850
  },
19662
19851
  css: [richTextToolbarButton, isLink ? richTextToolbarButtonActive : null],
19663
- children: /* @__PURE__ */ jsx112(RichTextToolbarIcon, { icon: "link" })
19852
+ children: /* @__PURE__ */ jsx114(RichTextToolbarIcon, { icon: "link" })
19664
19853
  }
19665
19854
  ) }) : null,
19666
19855
  visibleLists.size > 0 ? /* @__PURE__ */ jsxs76(Fragment17, { children: [
19667
- visibleLists.has("unorderedList") ? /* @__PURE__ */ jsx112(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ jsx112(
19856
+ visibleLists.has("unorderedList") ? /* @__PURE__ */ jsx114(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ jsx114(
19668
19857
  "button",
19669
19858
  {
19670
19859
  onClick: () => {
@@ -19674,10 +19863,10 @@ var RichTextToolbar = ({ config, customControls }) => {
19674
19863
  richTextToolbarButton,
19675
19864
  activeElement === "unorderedList" ? richTextToolbarButtonActive : null
19676
19865
  ],
19677
- children: /* @__PURE__ */ jsx112(RichTextToolbarIcon, { icon: "layout-list" })
19866
+ children: /* @__PURE__ */ jsx114(RichTextToolbarIcon, { icon: "layout-list" })
19678
19867
  }
19679
19868
  ) }) : null,
19680
- visibleLists.has("orderedList") ? /* @__PURE__ */ jsx112(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ jsx112(
19869
+ visibleLists.has("orderedList") ? /* @__PURE__ */ jsx114(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ jsx114(
19681
19870
  "button",
19682
19871
  {
19683
19872
  onClick: () => {
@@ -19687,32 +19876,32 @@ var RichTextToolbar = ({ config, customControls }) => {
19687
19876
  richTextToolbarButton,
19688
19877
  activeElement === "orderedList" ? richTextToolbarButtonActive : null
19689
19878
  ],
19690
- children: /* @__PURE__ */ jsx112(RichTextToolbarIcon, { icon: "layout-list-numbered" })
19879
+ children: /* @__PURE__ */ jsx114(RichTextToolbarIcon, { icon: "layout-list-numbered" })
19691
19880
  }
19692
19881
  ) }) : null
19693
19882
  ] }) : null,
19694
- quoteElementVisible ? /* @__PURE__ */ jsx112(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ jsx112(
19883
+ quoteElementVisible ? /* @__PURE__ */ jsx114(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ jsx114(
19695
19884
  "button",
19696
19885
  {
19697
19886
  onClick: () => {
19698
19887
  activeElement === "quote" ? onSelectElement("paragraph") : onSelectElement("quote");
19699
19888
  },
19700
19889
  css: [richTextToolbarButton, activeElement === "quote" ? richTextToolbarButtonActive : null],
19701
- children: /* @__PURE__ */ jsx112(RichTextToolbarIcon, { icon: "quote" })
19890
+ children: /* @__PURE__ */ jsx114(RichTextToolbarIcon, { icon: "quote" })
19702
19891
  }
19703
19892
  ) }) : null,
19704
- codeElementVisible ? /* @__PURE__ */ jsx112(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ jsx112(
19893
+ codeElementVisible ? /* @__PURE__ */ jsx114(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ jsx114(
19705
19894
  "button",
19706
19895
  {
19707
19896
  onClick: () => {
19708
19897
  activeElement === "code" ? onSelectElement("paragraph") : onSelectElement("code");
19709
19898
  },
19710
19899
  css: [richTextToolbarButton, activeElement === "code" ? richTextToolbarButtonActive : null],
19711
- children: /* @__PURE__ */ jsx112(RichTextToolbarIcon, { icon: "code-slash" })
19900
+ children: /* @__PURE__ */ jsx114(RichTextToolbarIcon, { icon: "code-slash" })
19712
19901
  }
19713
19902
  ) }) : null
19714
19903
  ] }) : null,
19715
- customControls ? /* @__PURE__ */ jsx112("div", { css: toolbarGroup, children: customControls }) : null
19904
+ customControls ? /* @__PURE__ */ jsx114("div", { css: toolbarGroup, children: customControls }) : null
19716
19905
  ] });
19717
19906
  };
19718
19907
  var RichTextToolbar_default = RichTextToolbar;
@@ -19826,7 +20015,7 @@ var useRichTextToolbarState = ({ config }) => {
19826
20015
  };
19827
20016
 
19828
20017
  // src/components/ParameterInputs/ParameterRichText.tsx
19829
- import { Fragment as Fragment18, jsx as jsx113, jsxs as jsxs77 } from "@emotion/react/jsx-runtime";
20018
+ import { Fragment as Fragment18, jsx as jsx115, jsxs as jsxs77 } from "@emotion/react/jsx-runtime";
19830
20019
  var ParameterRichText = ({
19831
20020
  label,
19832
20021
  labelLeadingIcon,
@@ -19865,7 +20054,7 @@ var ParameterRichText = ({
19865
20054
  captionTestId,
19866
20055
  menuItems,
19867
20056
  children: [
19868
- /* @__PURE__ */ jsx113(
20057
+ /* @__PURE__ */ jsx115(
19869
20058
  ParameterRichTextInner,
19870
20059
  {
19871
20060
  value,
@@ -19883,7 +20072,7 @@ var ParameterRichText = ({
19883
20072
  children
19884
20073
  }
19885
20074
  ),
19886
- menuItems ? /* @__PURE__ */ jsx113(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx113(Fragment18, { children: menuItems }) }) : null
20075
+ menuItems ? /* @__PURE__ */ jsx115(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx115(Fragment18, { children: menuItems }) }) : null
19887
20076
  ]
19888
20077
  }
19889
20078
  );
@@ -19995,7 +20184,7 @@ var ParameterRichTextInner = ({
19995
20184
  editable: !readOnly
19996
20185
  };
19997
20186
  return /* @__PURE__ */ jsxs77(Fragment18, { children: [
19998
- /* @__PURE__ */ jsx113("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ jsx113(LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ jsx113(
20187
+ /* @__PURE__ */ jsx115("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ jsx115(LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ jsx115(
19999
20188
  RichText,
20000
20189
  {
20001
20190
  onChange,
@@ -20055,19 +20244,19 @@ var RichText = ({
20055
20244
  editor.setEditable(!readOnly);
20056
20245
  }, [editor, readOnly]);
20057
20246
  return /* @__PURE__ */ jsxs77(Fragment18, { children: [
20058
- readOnly ? null : /* @__PURE__ */ jsx113(RichTextToolbar_default, { config, customControls }),
20247
+ readOnly ? null : /* @__PURE__ */ jsx115(RichTextToolbar_default, { config, customControls }),
20059
20248
  /* @__PURE__ */ jsxs77("div", { css: editorContainer, ref: editorContainerRef, "data-testid": "value-container", children: [
20060
- /* @__PURE__ */ jsx113(
20249
+ /* @__PURE__ */ jsx115(
20061
20250
  RichTextPlugin,
20062
20251
  {
20063
- contentEditable: /* @__PURE__ */ jsx113(ContentEditable, { css: editorInput, className: editorInputClassName }),
20064
- placeholder: /* @__PURE__ */ jsx113("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
20252
+ contentEditable: /* @__PURE__ */ jsx115(ContentEditable, { css: editorInput, className: editorInputClassName }),
20253
+ placeholder: /* @__PURE__ */ jsx115("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
20065
20254
  ErrorBoundary: LexicalErrorBoundary
20066
20255
  }
20067
20256
  ),
20068
- /* @__PURE__ */ jsx113(ListPlugin, {}),
20069
- readOnly ? null : /* @__PURE__ */ jsx113(HistoryPlugin, {}),
20070
- /* @__PURE__ */ jsx113(
20257
+ /* @__PURE__ */ jsx115(ListPlugin, {}),
20258
+ readOnly ? null : /* @__PURE__ */ jsx115(HistoryPlugin, {}),
20259
+ /* @__PURE__ */ jsx115(
20071
20260
  LinkNodePlugin,
20072
20261
  {
20073
20262
  onConnectLink: onConnectLink ? onConnectLink : () => Promise.resolve(),
@@ -20077,24 +20266,24 @@ var RichText = ({
20077
20266
  } : void 0
20078
20267
  }
20079
20268
  ),
20080
- /* @__PURE__ */ jsx113(ListIndentPlugin, { maxDepth: 4 }),
20081
- /* @__PURE__ */ jsx113(DisableStylesPlugin, {}),
20082
- /* @__PURE__ */ jsx113(MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS }),
20083
- /* @__PURE__ */ jsx113(Fragment18, { children })
20269
+ /* @__PURE__ */ jsx115(ListIndentPlugin, { maxDepth: 4 }),
20270
+ /* @__PURE__ */ jsx115(DisableStylesPlugin, {}),
20271
+ /* @__PURE__ */ jsx115(MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS }),
20272
+ /* @__PURE__ */ jsx115(Fragment18, { children })
20084
20273
  ] })
20085
20274
  ] });
20086
20275
  };
20087
20276
 
20088
20277
  // src/components/ParameterInputs/ParameterSelect.tsx
20089
- import { forwardRef as forwardRef19 } from "react";
20090
- import { jsx as jsx114, jsxs as jsxs78 } from "@emotion/react/jsx-runtime";
20091
- var ParameterSelect = forwardRef19(
20278
+ import { forwardRef as forwardRef21 } from "react";
20279
+ import { jsx as jsx116, jsxs as jsxs78 } from "@emotion/react/jsx-runtime";
20280
+ var ParameterSelect = forwardRef21(
20092
20281
  ({ defaultOption, options, ...props }, ref) => {
20093
20282
  const { shellProps, innerProps } = extractParameterProps(props);
20094
- return /* @__PURE__ */ jsx114(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx114(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
20283
+ return /* @__PURE__ */ jsx116(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx116(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
20095
20284
  }
20096
20285
  );
20097
- var ParameterSelectInner = forwardRef19(
20286
+ var ParameterSelectInner = forwardRef21(
20098
20287
  ({ defaultOption, options, ...props }, ref) => {
20099
20288
  const { id, label, hiddenLabel } = useParameterShell();
20100
20289
  return /* @__PURE__ */ jsxs78(
@@ -20106,10 +20295,10 @@ var ParameterSelectInner = forwardRef19(
20106
20295
  ref,
20107
20296
  ...props,
20108
20297
  children: [
20109
- defaultOption ? /* @__PURE__ */ jsx114("option", { value: "", children: defaultOption }) : null,
20298
+ defaultOption ? /* @__PURE__ */ jsx116("option", { value: "", children: defaultOption }) : null,
20110
20299
  options.map((option) => {
20111
20300
  var _a;
20112
- return /* @__PURE__ */ jsx114("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
20301
+ return /* @__PURE__ */ jsx116("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
20113
20302
  })
20114
20303
  ]
20115
20304
  }
@@ -20118,15 +20307,15 @@ var ParameterSelectInner = forwardRef19(
20118
20307
  );
20119
20308
 
20120
20309
  // src/components/ParameterInputs/ParameterTextarea.tsx
20121
- import { forwardRef as forwardRef20 } from "react";
20122
- import { jsx as jsx115 } from "@emotion/react/jsx-runtime";
20123
- var ParameterTextarea = forwardRef20((props, ref) => {
20310
+ import { forwardRef as forwardRef22 } from "react";
20311
+ import { jsx as jsx117 } from "@emotion/react/jsx-runtime";
20312
+ var ParameterTextarea = forwardRef22((props, ref) => {
20124
20313
  const { shellProps, innerProps } = extractParameterProps(props);
20125
- return /* @__PURE__ */ jsx115(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx115(ParameterTextareaInner, { ref, ...innerProps }) });
20314
+ return /* @__PURE__ */ jsx117(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx117(ParameterTextareaInner, { ref, ...innerProps }) });
20126
20315
  });
20127
- var ParameterTextareaInner = forwardRef20(({ ...props }, ref) => {
20316
+ var ParameterTextareaInner = forwardRef22(({ ...props }, ref) => {
20128
20317
  const { id, label, hiddenLabel } = useParameterShell();
20129
- return /* @__PURE__ */ jsx115(
20318
+ return /* @__PURE__ */ jsx117(
20130
20319
  "textarea",
20131
20320
  {
20132
20321
  css: [input3, textarea2],
@@ -20139,18 +20328,18 @@ var ParameterTextareaInner = forwardRef20(({ ...props }, ref) => {
20139
20328
  });
20140
20329
 
20141
20330
  // src/components/ParameterInputs/ParameterToggle.tsx
20142
- import { forwardRef as forwardRef21 } from "react";
20143
- import { jsx as jsx116, jsxs as jsxs79 } from "@emotion/react/jsx-runtime";
20144
- var ParameterToggle = forwardRef21((props, ref) => {
20331
+ import { forwardRef as forwardRef23 } from "react";
20332
+ import { jsx as jsx118, jsxs as jsxs79 } from "@emotion/react/jsx-runtime";
20333
+ var ParameterToggle = forwardRef23((props, ref) => {
20145
20334
  const { shellProps, innerProps } = extractParameterProps(props);
20146
- return /* @__PURE__ */ jsx116(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx116(ParameterToggleInner, { ref, ...innerProps }) });
20335
+ return /* @__PURE__ */ jsx118(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx118(ParameterToggleInner, { ref, ...innerProps }) });
20147
20336
  });
20148
- var ParameterToggleInner = forwardRef21(
20337
+ var ParameterToggleInner = forwardRef23(
20149
20338
  ({ children, ...props }, ref) => {
20150
20339
  const { id, label } = useParameterShell();
20151
20340
  return /* @__PURE__ */ jsxs79("label", { css: inputToggleLabel2, children: [
20152
- /* @__PURE__ */ jsx116("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
20153
- /* @__PURE__ */ jsx116("span", { css: inlineLabel2, children: label }),
20341
+ /* @__PURE__ */ jsx118("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
20342
+ /* @__PURE__ */ jsx118("span", { css: inlineLabel2, children: label }),
20154
20343
  children
20155
20344
  ] });
20156
20345
  }
@@ -20211,7 +20400,7 @@ var bar = css89`
20211
20400
  `;
20212
20401
 
20213
20402
  // src/components/ProgressBar/ProgressBar.tsx
20214
- import { jsx as jsx117 } from "@emotion/react/jsx-runtime";
20403
+ import { jsx as jsx119 } from "@emotion/react/jsx-runtime";
20215
20404
  function ProgressBar({
20216
20405
  current,
20217
20406
  max,
@@ -20221,7 +20410,7 @@ function ProgressBar({
20221
20410
  }) {
20222
20411
  const valueNow = Math.min(current, max);
20223
20412
  const valuePercentage = max > 0 ? Math.ceil(100 / max * valueNow) : 0;
20224
- return /* @__PURE__ */ jsx117(
20413
+ return /* @__PURE__ */ jsx119(
20225
20414
  "div",
20226
20415
  {
20227
20416
  css: container3,
@@ -20232,7 +20421,7 @@ function ProgressBar({
20232
20421
  "aria-valuemax": max,
20233
20422
  "aria-valuenow": valueNow,
20234
20423
  ...props,
20235
- children: /* @__PURE__ */ jsx117(
20424
+ children: /* @__PURE__ */ jsx119(
20236
20425
  "div",
20237
20426
  {
20238
20427
  css: [
@@ -20272,7 +20461,7 @@ var progressListItemStyles = css90`
20272
20461
  `;
20273
20462
 
20274
20463
  // src/components/ProgressList/ProgressList.tsx
20275
- import { jsx as jsx118, jsxs as jsxs80 } from "@emotion/react/jsx-runtime";
20464
+ import { jsx as jsx120, jsxs as jsxs80 } from "@emotion/react/jsx-runtime";
20276
20465
  var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
20277
20466
  const itemsWithStatus = useMemo5(() => {
20278
20467
  const indexOfInProgressItem = items.findIndex(({ id }) => id === inProgressId);
@@ -20286,8 +20475,8 @@ var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
20286
20475
  return { ...item, status };
20287
20476
  });
20288
20477
  }, [items, inProgressId]);
20289
- return /* @__PURE__ */ jsx118("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
20290
- return /* @__PURE__ */ jsx118(
20478
+ return /* @__PURE__ */ jsx120("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
20479
+ return /* @__PURE__ */ jsx120(
20291
20480
  ProgressListItem,
20292
20481
  {
20293
20482
  status,
@@ -20346,10 +20535,10 @@ var ProgressListItem = ({
20346
20535
  return colorPerStatus[status];
20347
20536
  }, [status, error, errorLevel]);
20348
20537
  return /* @__PURE__ */ jsxs80("li", { css: [progressListItemStyles, statusStyles], children: [
20349
- /* @__PURE__ */ jsx118(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ jsx118("div", { children: /* @__PURE__ */ jsx118(Icon, { icon, size: 20, iconColor: "currentColor" }) }) }),
20538
+ /* @__PURE__ */ jsx120(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ jsx120("div", { children: /* @__PURE__ */ jsx120(Icon, { icon, size: 20, iconColor: "currentColor" }) }) }),
20350
20539
  /* @__PURE__ */ jsxs80("div", { children: [
20351
20540
  children,
20352
- /* @__PURE__ */ jsx118("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
20541
+ /* @__PURE__ */ jsx120("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
20353
20542
  ] })
20354
20543
  ] });
20355
20544
  };
@@ -20481,7 +20670,7 @@ var segmentedControlLabelContentStyles = css92`
20481
20670
  var segmentedControlLabelTextStyles = css92``;
20482
20671
 
20483
20672
  // src/components/SegmentedControl/SegmentedControl.tsx
20484
- import { jsx as jsx119, jsxs as jsxs81 } from "@emotion/react/jsx-runtime";
20673
+ import { jsx as jsx121, jsxs as jsxs81 } from "@emotion/react/jsx-runtime";
20485
20674
  var SegmentedControl = ({
20486
20675
  name,
20487
20676
  options,
@@ -20515,7 +20704,7 @@ var SegmentedControl = ({
20515
20704
  const isIconOnly = useMemo6(() => {
20516
20705
  return options.every((option) => option && option.icon && !option.label);
20517
20706
  }, [options]);
20518
- return /* @__PURE__ */ jsx119(
20707
+ return /* @__PURE__ */ jsx121(
20519
20708
  "div",
20520
20709
  {
20521
20710
  css: [segmentedControlStyles, orientation === "vertical" ? segmentedControlVerticalStyles : void 0],
@@ -20528,7 +20717,7 @@ var SegmentedControl = ({
20528
20717
  }
20529
20718
  const text = option.label ? option.label : option.icon ? null : String(option.value);
20530
20719
  const isDisabled = disabled2 || option.disabled;
20531
- return /* @__PURE__ */ jsx119(Tooltip, { title: (_a = option.tooltip) != null ? _a : "", children: /* @__PURE__ */ jsx119(
20720
+ return /* @__PURE__ */ jsx121(Tooltip, { title: (_a = option.tooltip) != null ? _a : "", children: /* @__PURE__ */ jsx121(
20532
20721
  "div",
20533
20722
  {
20534
20723
  css: segmentedControlItemStyles,
@@ -20542,7 +20731,7 @@ var SegmentedControl = ({
20542
20731
  isIconOnly ? segmentedControlLabelIconOnlyStyles : void 0
20543
20732
  ],
20544
20733
  children: [
20545
- /* @__PURE__ */ jsx119(
20734
+ /* @__PURE__ */ jsx121(
20546
20735
  "input",
20547
20736
  {
20548
20737
  css: segmentedControlInputStyles,
@@ -20554,10 +20743,10 @@ var SegmentedControl = ({
20554
20743
  disabled: isDisabled
20555
20744
  }
20556
20745
  ),
20557
- option.value !== value || noCheckmark ? null : /* @__PURE__ */ jsx119(CgCheck4, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
20746
+ option.value !== value || noCheckmark ? null : /* @__PURE__ */ jsx121(CgCheck4, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
20558
20747
  /* @__PURE__ */ jsxs81("span", { css: segmentedControlLabelContentStyles, children: [
20559
- !option.icon ? null : /* @__PURE__ */ jsx119(Icon, { icon: option.icon, size: iconSize, iconColor: "currentColor" }),
20560
- !text || hideOptionText ? null : /* @__PURE__ */ jsx119("span", { css: segmentedControlLabelTextStyles, children: text })
20748
+ !option.icon ? null : /* @__PURE__ */ jsx121(Icon, { icon: option.icon, size: iconSize, iconColor: "currentColor" }),
20749
+ !text || hideOptionText ? null : /* @__PURE__ */ jsx121("span", { css: segmentedControlLabelTextStyles, children: text })
20561
20750
  ] })
20562
20751
  ]
20563
20752
  }
@@ -20581,7 +20770,7 @@ var skeletonStyles = css94`
20581
20770
  `;
20582
20771
 
20583
20772
  // src/components/Skeleton/Skeleton.tsx
20584
- import { jsx as jsx120 } from "@emotion/react/jsx-runtime";
20773
+ import { jsx as jsx122 } from "@emotion/react/jsx-runtime";
20585
20774
  var Skeleton = ({
20586
20775
  width = "100%",
20587
20776
  height = "1.25rem",
@@ -20589,7 +20778,7 @@ var Skeleton = ({
20589
20778
  circle = false,
20590
20779
  children,
20591
20780
  ...otherProps
20592
- }) => /* @__PURE__ */ jsx120(
20781
+ }) => /* @__PURE__ */ jsx122(
20593
20782
  "div",
20594
20783
  {
20595
20784
  css: [
@@ -20609,7 +20798,7 @@ var Skeleton = ({
20609
20798
  );
20610
20799
 
20611
20800
  // src/components/Switch/Switch.tsx
20612
- import * as React25 from "react";
20801
+ import * as React24 from "react";
20613
20802
 
20614
20803
  // src/components/Switch/Switch.styles.ts
20615
20804
  import { css as css95 } from "@emotion/react";
@@ -20696,8 +20885,8 @@ var SwitchText = css95`
20696
20885
  `;
20697
20886
 
20698
20887
  // src/components/Switch/Switch.tsx
20699
- import { Fragment as Fragment19, jsx as jsx121, jsxs as jsxs82 } from "@emotion/react/jsx-runtime";
20700
- var Switch = React25.forwardRef(
20888
+ import { Fragment as Fragment19, jsx as jsx123, jsxs as jsxs82 } from "@emotion/react/jsx-runtime";
20889
+ var Switch = React24.forwardRef(
20701
20890
  ({ label, infoText, toggleText, children, ...inputProps }, ref) => {
20702
20891
  let additionalText = infoText;
20703
20892
  if (infoText && toggleText) {
@@ -20705,17 +20894,17 @@ var Switch = React25.forwardRef(
20705
20894
  }
20706
20895
  return /* @__PURE__ */ jsxs82(Fragment19, { children: [
20707
20896
  /* @__PURE__ */ jsxs82("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
20708
- /* @__PURE__ */ jsx121("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
20709
- /* @__PURE__ */ jsx121("span", { css: SwitchInputLabel, children: label })
20897
+ /* @__PURE__ */ jsx123("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
20898
+ /* @__PURE__ */ jsx123("span", { css: SwitchInputLabel, children: label })
20710
20899
  ] }),
20711
- additionalText ? /* @__PURE__ */ jsx121("p", { css: SwitchText, children: additionalText }) : null,
20900
+ additionalText ? /* @__PURE__ */ jsx123("p", { css: SwitchText, children: additionalText }) : null,
20712
20901
  children
20713
20902
  ] });
20714
20903
  }
20715
20904
  );
20716
20905
 
20717
20906
  // src/components/Table/Table.tsx
20718
- import * as React26 from "react";
20907
+ import * as React25 from "react";
20719
20908
 
20720
20909
  // src/components/Table/Table.styles.ts
20721
20910
  import { css as css96 } from "@emotion/react";
@@ -20745,40 +20934,40 @@ var tableCellHead = css96`
20745
20934
  `;
20746
20935
 
20747
20936
  // src/components/Table/Table.tsx
20748
- import { jsx as jsx122 } from "@emotion/react/jsx-runtime";
20749
- var Table = React26.forwardRef(
20937
+ import { jsx as jsx124 } from "@emotion/react/jsx-runtime";
20938
+ var Table = React25.forwardRef(
20750
20939
  ({ children, cellPadding, ...otherProps }, ref) => {
20751
- return /* @__PURE__ */ jsx122("table", { ref, css: table({ cellPadding }), ...otherProps, children });
20940
+ return /* @__PURE__ */ jsx124("table", { ref, css: table({ cellPadding }), ...otherProps, children });
20752
20941
  }
20753
20942
  );
20754
- var TableHead = React26.forwardRef(
20943
+ var TableHead = React25.forwardRef(
20755
20944
  ({ children, ...otherProps }, ref) => {
20756
- return /* @__PURE__ */ jsx122("thead", { ref, css: tableHead, ...otherProps, children });
20945
+ return /* @__PURE__ */ jsx124("thead", { ref, css: tableHead, ...otherProps, children });
20757
20946
  }
20758
20947
  );
20759
- var TableBody = React26.forwardRef(
20948
+ var TableBody = React25.forwardRef(
20760
20949
  ({ children, ...otherProps }, ref) => {
20761
- return /* @__PURE__ */ jsx122("tbody", { ref, ...otherProps, children });
20950
+ return /* @__PURE__ */ jsx124("tbody", { ref, ...otherProps, children });
20762
20951
  }
20763
20952
  );
20764
- var TableFoot = React26.forwardRef(
20953
+ var TableFoot = React25.forwardRef(
20765
20954
  ({ children, ...otherProps }, ref) => {
20766
- return /* @__PURE__ */ jsx122("tfoot", { ref, ...otherProps, children });
20955
+ return /* @__PURE__ */ jsx124("tfoot", { ref, ...otherProps, children });
20767
20956
  }
20768
20957
  );
20769
- var TableRow = React26.forwardRef(
20958
+ var TableRow = React25.forwardRef(
20770
20959
  ({ children, ...otherProps }, ref) => {
20771
- return /* @__PURE__ */ jsx122("tr", { ref, css: tableRow, ...otherProps, children });
20960
+ return /* @__PURE__ */ jsx124("tr", { ref, css: tableRow, ...otherProps, children });
20772
20961
  }
20773
20962
  );
20774
- var TableCellHead = React26.forwardRef(
20963
+ var TableCellHead = React25.forwardRef(
20775
20964
  ({ children, ...otherProps }, ref) => {
20776
- return /* @__PURE__ */ jsx122("th", { ref, css: tableCellHead, ...otherProps, children });
20965
+ return /* @__PURE__ */ jsx124("th", { ref, css: tableCellHead, ...otherProps, children });
20777
20966
  }
20778
20967
  );
20779
- var TableCellData = React26.forwardRef(
20968
+ var TableCellData = React25.forwardRef(
20780
20969
  ({ children, ...otherProps }, ref) => {
20781
- return /* @__PURE__ */ jsx122("td", { ref, ...otherProps, children });
20970
+ return /* @__PURE__ */ jsx124("td", { ref, ...otherProps, children });
20782
20971
  }
20783
20972
  );
20784
20973
 
@@ -20818,7 +21007,7 @@ var tabButtonGroupStyles = css97`
20818
21007
  `;
20819
21008
 
20820
21009
  // src/components/Tabs/Tabs.tsx
20821
- import { jsx as jsx123 } from "@emotion/react/jsx-runtime";
21010
+ import { jsx as jsx125 } from "@emotion/react/jsx-runtime";
20822
21011
  var useCurrentTab = () => {
20823
21012
  const context = useAriakitTabStore();
20824
21013
  if (!context) {
@@ -20856,23 +21045,23 @@ var Tabs = ({
20856
21045
  tab.setSelectedId(selected);
20857
21046
  }
20858
21047
  }, [selected, tab]);
20859
- return /* @__PURE__ */ jsx123(AriakitTabProvider, { store: tab, setSelectedId: onTabSelect, children });
21048
+ return /* @__PURE__ */ jsx125(AriakitTabProvider, { store: tab, setSelectedId: onTabSelect, children });
20860
21049
  };
20861
21050
  var TabButtonGroup = ({ children, ...props }) => {
20862
- return /* @__PURE__ */ jsx123(AriakitTabList, { ...props, css: tabButtonGroupStyles, children });
21051
+ return /* @__PURE__ */ jsx125(AriakitTabList, { ...props, css: tabButtonGroupStyles, children });
20863
21052
  };
20864
21053
  var TabButton = ({
20865
21054
  children,
20866
21055
  id,
20867
21056
  ...props
20868
21057
  }) => {
20869
- return /* @__PURE__ */ jsx123(AriakitTab, { type: "button", id, ...props, css: tabButtonStyles, children });
21058
+ return /* @__PURE__ */ jsx125(AriakitTab, { type: "button", id, ...props, css: tabButtonStyles, children });
20870
21059
  };
20871
21060
  var TabContent = ({
20872
21061
  children,
20873
21062
  ...props
20874
21063
  }) => {
20875
- return /* @__PURE__ */ jsx123(AriakitTabPanel, { ...props, children });
21064
+ return /* @__PURE__ */ jsx125(AriakitTabPanel, { ...props, children });
20876
21065
  };
20877
21066
 
20878
21067
  // src/components/Toast/Toast.tsx
@@ -21103,9 +21292,9 @@ var toastContainerStyles = css98`
21103
21292
  `;
21104
21293
 
21105
21294
  // src/components/Toast/Toast.tsx
21106
- import { jsx as jsx124 } from "@emotion/react/jsx-runtime";
21295
+ import { jsx as jsx126 } from "@emotion/react/jsx-runtime";
21107
21296
  var ToastContainer = ({ limit = 4 }) => {
21108
- return /* @__PURE__ */ jsx124(
21297
+ return /* @__PURE__ */ jsx126(
21109
21298
  ToastifyContainer,
21110
21299
  {
21111
21300
  css: toastContainerStyles,
@@ -21198,7 +21387,7 @@ var StatusDeleted = css99`
21198
21387
  `;
21199
21388
 
21200
21389
  // src/components/Validation/StatusBullet.tsx
21201
- import { jsx as jsx125 } from "@emotion/react/jsx-runtime";
21390
+ import { jsx as jsx127 } from "@emotion/react/jsx-runtime";
21202
21391
  var StatusBullet = ({
21203
21392
  status,
21204
21393
  hideText = false,
@@ -21218,7 +21407,7 @@ var StatusBullet = ({
21218
21407
  Deleted: StatusDeleted
21219
21408
  };
21220
21409
  const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
21221
- return /* @__PURE__ */ jsx125(
21410
+ return /* @__PURE__ */ jsx127(
21222
21411
  "span",
21223
21412
  {
21224
21413
  role: "status",
@@ -21306,10 +21495,12 @@ export {
21306
21495
  LoadingOverlay,
21307
21496
  MediaCard,
21308
21497
  Menu,
21498
+ MenuButton2 as MenuButton,
21309
21499
  MenuGroup,
21310
21500
  MenuItem,
21311
21501
  MenuItemInner,
21312
21502
  MenuItemSeparator,
21503
+ MenuThreeDots,
21313
21504
  Modal,
21314
21505
  ModalDialog,
21315
21506
  MultilineChip,
@@ -21328,6 +21519,8 @@ export {
21328
21519
  ParameterLink,
21329
21520
  ParameterLinkInner,
21330
21521
  ParameterMenuButton,
21522
+ ParameterMultiSelect,
21523
+ ParameterMultiSelectInner,
21331
21524
  ParameterNameAndPublicIdInput,
21332
21525
  ParameterOverrideMarker,
21333
21526
  ParameterRichText,
@@ -21451,6 +21644,11 @@ export {
21451
21644
  supports,
21452
21645
  textInput,
21453
21646
  toast,
21647
+ uniformComponentIcon,
21648
+ uniformComponentPatternIcon,
21649
+ uniformContentTypeIcon,
21650
+ uniformEntryIcon,
21651
+ uniformEntryPatternIcon,
21454
21652
  useBreakpoint,
21455
21653
  useCloseCurrentDrawer,
21456
21654
  useCurrentDrawer,