@uniformdev/design-system 19.27.1-alpha.3 → 19.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -175,7 +175,7 @@ var Theme = ({ disableReset = false }) => {
175
175
  /* z-indexs */
176
176
  --z-10: 10;
177
177
  --z-20: 20;
178
- --z-drawer: 40;
178
+ --z-drawer: 50;
179
179
  --z-50: 50;
180
180
  --z-tooltip: 80;
181
181
 
@@ -560,6 +560,10 @@ var inputSelect = css2`
560
560
  background-repeat: no-repeat;
561
561
  background-size: 1rem;
562
562
  padding-right: var(--spacing-xl);
563
+
564
+ option:disabled {
565
+ color: var(--gray-300);
566
+ }
563
567
  `;
564
568
  var inputSearchCloseBtn = css2`
565
569
  background: none;
@@ -10957,28 +10961,34 @@ var UniformBadge = ({
10957
10961
  return /* @__PURE__ */ jsxs9(
10958
10962
  "svg",
10959
10963
  {
10960
- width: "38",
10961
- height: "44",
10962
- viewBox: "0 0 87 101",
10964
+ width: "51",
10965
+ height: "52",
10966
+ viewBox: "0 0 51 52",
10963
10967
  fill: "none",
10964
10968
  xmlns: "http://www.w3.org/2000/svg",
10965
10969
  "data-test-id": "uniform-Badge",
10966
10970
  css: [SVG, theme === "dark" ? SVGDark : SVGLight],
10967
10971
  ...props,
10968
10972
  children: [
10969
- /* @__PURE__ */ jsx18("path", { d: "M28.998 0 0 16.744V50.23l28.998-16.744 29.004-16.743L28.998 0Z", fill: "#7BB3FF" }),
10970
10973
  /* @__PURE__ */ jsx18(
10971
10974
  "path",
10972
10975
  {
10973
- d: "M28.998 66.974V33.487L0 50.231v33.487l28.998 16.744 29.004-16.744V50.23L28.998 66.974Z",
10974
- fill: "#498DFF"
10976
+ d: "M19.3444 4.35168L7 11.484V25.7181L19.3444 18.5858L31.6583 11.484L19.3444 4.35168Z",
10977
+ fill: "#84ADFF"
10978
+ }
10979
+ ),
10980
+ /* @__PURE__ */ jsx18(
10981
+ "path",
10982
+ {
10983
+ d: "M19.3444 32.8505V18.5858L7 25.7182V39.9523L19.3444 47.0846L31.6583 39.9523V25.7182L19.3444 32.8505Z",
10984
+ fill: "#5786FF"
10975
10985
  }
10976
10986
  ),
10977
10987
  /* @__PURE__ */ jsx18(
10978
10988
  "path",
10979
10989
  {
10980
- d: "M58.002 16.744 28.998 33.487l29.004 16.744v33.487L87 66.975V33.487L58.002 16.744Z",
10981
- fill: "#E61408"
10990
+ d: "M31.6583 11.484L19.3444 18.5858L31.6583 25.7182V39.9523L44.0027 32.8505V18.5858L31.6583 11.484Z",
10991
+ fill: "#EC2924"
10982
10992
  }
10983
10993
  )
10984
10994
  ]
@@ -12562,8 +12572,10 @@ var headerWrapperStyles = css39`
12562
12572
  margin-right: var(--spacing-sm);
12563
12573
  `;
12564
12574
  var drawerHeaderStyles = css39`
12565
- font-size: var(--fs-lg);
12566
- font-weight: var(--fw-bold);
12575
+ align-items: center;
12576
+ display: flex;
12577
+ gap: var(--spacing-sm);
12578
+ font-size: var(--fs-md);
12567
12579
  padding-inline: var(--spacing-base);
12568
12580
  flex: 1;
12569
12581
  `;
@@ -12574,10 +12586,13 @@ var drawerRendererStyles = css39`
12574
12586
  `;
12575
12587
  var drawerInnerStyles = css39`
12576
12588
  height: 100%;
12577
- padding: 0 var(--spacing-base) var(--spacing-base);
12578
12589
  overflow: auto;
12590
+ padding: 0 var(--spacing-md) var(--spacing-base) var(--spacing-sm);
12579
12591
  ${scrollbarStyles}
12580
12592
  `;
12593
+ var drawerHeading = css39`
12594
+ font-size: var(--fs-base);
12595
+ `;
12581
12596
  var slideDrawerIn = keyframes2`
12582
12597
  0% {
12583
12598
  transform: translate(0);
@@ -12631,8 +12646,11 @@ var drawerWrapperLeftAlignedStyles = css39`
12631
12646
  var drawerWrapperOverlayStyles = css39`
12632
12647
  position: absolute;
12633
12648
  inset: 0;
12634
- background: rgba(31, 43, 52, 0.4);
12635
12649
  animation: ${fadeIn} var(--duration-fast) ease-out;
12650
+
12651
+ &:first-of-type {
12652
+ background: rgba(31, 43, 52, 0.4);
12653
+ }
12636
12654
  `;
12637
12655
 
12638
12656
  // src/components/Drawer/DrawerProvider.tsx
@@ -12717,7 +12735,7 @@ var useCurrentDrawerRenderer = () => {
12717
12735
  var DrawerRenderer = ({
12718
12736
  stackId,
12719
12737
  position = "absolute",
12720
- width = "45%",
12738
+ width = "medium",
12721
12739
  minWidth = "0",
12722
12740
  maxWidth = "100%",
12723
12741
  leftAligned = false,
@@ -12725,6 +12743,11 @@ var DrawerRenderer = ({
12725
12743
  }) => {
12726
12744
  const { drawersRegistry } = useDrawer();
12727
12745
  const drawersToRender = drawersRegistry.filter(({ stackId: sId }) => sId === stackId);
12746
+ const drawerWidth = {
12747
+ narrow: "29rem",
12748
+ medium: "43rem",
12749
+ wide: "57rem"
12750
+ };
12728
12751
  if (drawersToRender.length === 0) {
12729
12752
  return null;
12730
12753
  }
@@ -12737,20 +12760,23 @@ var DrawerRenderer = ({
12737
12760
  position === "sticky" ? { height: "100%", marginTop: "-100%" } : void 0
12738
12761
  ],
12739
12762
  ...otherProps,
12740
- children: drawersToRender.map(({ component, id, stackId: stackId2, onRequestClose }, index) => /* @__PURE__ */ jsx40(
12741
- DrawerWrapper,
12742
- {
12743
- index,
12744
- totalDrawers: drawersToRender.length,
12745
- width,
12746
- minWidth,
12747
- maxWidth,
12748
- onOverlayClick: onRequestClose,
12749
- leftAligned,
12750
- children: component
12751
- },
12752
- `${stackId2}-${id}`
12753
- ))
12763
+ children: drawersToRender.map(({ component, id, stackId: stackId2, onRequestClose }, index) => {
12764
+ var _a;
12765
+ return /* @__PURE__ */ jsx40(
12766
+ DrawerWrapper,
12767
+ {
12768
+ index,
12769
+ totalDrawers: drawersToRender.length,
12770
+ width: (_a = drawerWidth[width]) != null ? _a : width,
12771
+ minWidth,
12772
+ maxWidth,
12773
+ onOverlayClick: onRequestClose,
12774
+ leftAligned,
12775
+ children: component
12776
+ },
12777
+ `${stackId2}-${id}`
12778
+ );
12779
+ })
12754
12780
  }
12755
12781
  ) });
12756
12782
  };
@@ -12800,7 +12826,7 @@ var DrawerInner = ({
12800
12826
  ref,
12801
12827
  stackId = defaultSackId,
12802
12828
  id,
12803
- bgColor,
12829
+ bgColor = "var(--gray-50)",
12804
12830
  children,
12805
12831
  header,
12806
12832
  instanceKey,
@@ -12875,9 +12901,41 @@ var DrawerInner = ({
12875
12901
  return null;
12876
12902
  };
12877
12903
 
12878
- // src/components/Input/styles/CaptionText.styles.ts
12904
+ // src/components/Drawer/DrawerContent.styles.ts
12879
12905
  import { css as css40 } from "@emotion/react";
12880
- var CaptionText = (dynamicSize) => css40`
12906
+ var DrawerContent = css40`
12907
+ background: var(--gray-50);
12908
+ display: flex;
12909
+ flex-direction: column;
12910
+ gap: var(--spacing-base);
12911
+ height: 100%;
12912
+ `;
12913
+ var DrawerContentInner = css40`
12914
+ background: var(--white);
12915
+ padding: var(--spacing-base);
12916
+ flex: 1;
12917
+ height: 100%;
12918
+ overflow-y: auto;
12919
+ ${scrollbarStyles}
12920
+ `;
12921
+ var DrawerContentBtnGroup = css40`
12922
+ display: flex;
12923
+ gap: var(--spacing-sm);
12924
+ padding: 0 var(--spacing-base) var(--spacing-base);
12925
+ `;
12926
+
12927
+ // src/components/Drawer/DrawerContent.tsx
12928
+ import { jsx as jsx42, jsxs as jsxs24 } from "@emotion/react/jsx-runtime";
12929
+ var DrawerContent2 = ({ children, buttonGroup, ...props }) => {
12930
+ return /* @__PURE__ */ jsxs24("div", { css: DrawerContent, ...props, children: [
12931
+ /* @__PURE__ */ jsx42("div", { css: DrawerContentInner, children }),
12932
+ buttonGroup ? /* @__PURE__ */ jsx42("div", { css: DrawerContentBtnGroup, children: buttonGroup }) : null
12933
+ ] });
12934
+ };
12935
+
12936
+ // src/components/Input/styles/CaptionText.styles.ts
12937
+ import { css as css41 } from "@emotion/react";
12938
+ var CaptionText = (dynamicSize) => css41`
12881
12939
  color: var(--gray-500);
12882
12940
  display: block;
12883
12941
  font-size: ${dynamicSize ? "clamp(var(--fs-xs), 87.5%,var(--fs-sm))" : "var(--fs-sm)"};
@@ -12886,29 +12944,29 @@ var CaptionText = (dynamicSize) => css40`
12886
12944
  `;
12887
12945
 
12888
12946
  // src/components/Input/Caption.tsx
12889
- import { jsx as jsx42 } from "@emotion/react/jsx-runtime";
12947
+ import { jsx as jsx43 } from "@emotion/react/jsx-runtime";
12890
12948
  var Caption = ({ children, testId, dynamicSize = false, ...props }) => {
12891
- return /* @__PURE__ */ jsx42("small", { css: CaptionText(dynamicSize), "data-test-id": testId, ...props, children });
12949
+ return /* @__PURE__ */ jsx43("small", { css: CaptionText(dynamicSize), "data-test-id": testId, ...props, children });
12892
12950
  };
12893
12951
 
12894
12952
  // src/components/Input/CheckboxWithInfo.tsx
12895
12953
  import { forwardRef as forwardRef4 } from "react";
12896
12954
 
12897
12955
  // src/components/Input/styles/CheckboxWithInfo.styles.ts
12898
- import { css as css41 } from "@emotion/react";
12899
- var CheckboxWithInfoContainer = css41`
12956
+ import { css as css42 } from "@emotion/react";
12957
+ var CheckboxWithInfoContainer = css42`
12900
12958
  align-items: center;
12901
12959
  display: flex;
12902
12960
  gap: var(--spacing-sm);
12903
12961
  `;
12904
- var CheckboxWithInfoLabel = css41`
12962
+ var CheckboxWithInfoLabel = css42`
12905
12963
  align-items: center;
12906
12964
  color: var(--gray-500);
12907
12965
  display: flex;
12908
12966
  font-size: var(--fs-xs);
12909
12967
  gap: var(--spacing-sm);
12910
12968
  `;
12911
- var CheckboxWithInfoInput = css41`
12969
+ var CheckboxWithInfoInput = css42`
12912
12970
  appearance: none;
12913
12971
  border: 1px solid var(--gray-300);
12914
12972
  background: var(--white) no-repeat bottom center;
@@ -12941,7 +12999,7 @@ var CheckboxWithInfoInput = css41`
12941
12999
  border-color: var(--gray-200);
12942
13000
  }
12943
13001
  `;
12944
- var InfoDialogContainer = css41`
13002
+ var InfoDialogContainer = css42`
12945
13003
  position: relative;
12946
13004
 
12947
13005
  &:hover {
@@ -12950,7 +13008,7 @@ var InfoDialogContainer = css41`
12950
13008
  }
12951
13009
  }
12952
13010
  `;
12953
- var InfoDialogMessage = css41`
13011
+ var InfoDialogMessage = css42`
12954
13012
  background: var(--white);
12955
13013
  box-shadow: var(--shadow-base);
12956
13014
  border-radius: var(--rounded-md);
@@ -12967,21 +13025,21 @@ var InfoDialogMessage = css41`
12967
13025
  `;
12968
13026
 
12969
13027
  // src/components/Input/CheckboxWithInfo.tsx
12970
- import { jsx as jsx43, jsxs as jsxs24 } from "@emotion/react/jsx-runtime";
13028
+ import { jsx as jsx44, jsxs as jsxs25 } from "@emotion/react/jsx-runtime";
12971
13029
  var InfoDialog = ({ message }) => {
12972
- return /* @__PURE__ */ jsxs24("div", { "data-testid": "info-dialog", css: InfoDialogContainer, children: [
12973
- /* @__PURE__ */ jsx43(Icon, { icon: "info", iconColor: "action", size: "0.9rem" }),
12974
- /* @__PURE__ */ jsx43("div", { role: "paragraph", css: InfoDialogMessage, className: "info-message", children: message })
13030
+ return /* @__PURE__ */ jsxs25("div", { "data-testid": "info-dialog", css: InfoDialogContainer, children: [
13031
+ /* @__PURE__ */ jsx44(Icon, { icon: "info", iconColor: "action", size: "0.9rem" }),
13032
+ /* @__PURE__ */ jsx44("div", { role: "paragraph", css: InfoDialogMessage, className: "info-message", children: message })
12975
13033
  ] });
12976
13034
  };
12977
13035
  var CheckboxWithInfo = forwardRef4(
12978
13036
  ({ label, name, info, ...props }, ref) => {
12979
- return /* @__PURE__ */ jsxs24("div", { css: CheckboxWithInfoContainer, children: [
12980
- /* @__PURE__ */ jsxs24("label", { css: CheckboxWithInfoLabel, children: [
12981
- /* @__PURE__ */ jsx43("input", { type: "checkbox", name, ref, css: CheckboxWithInfoInput, ...props }),
12982
- /* @__PURE__ */ jsx43("span", { children: label })
13037
+ return /* @__PURE__ */ jsxs25("div", { css: CheckboxWithInfoContainer, children: [
13038
+ /* @__PURE__ */ jsxs25("label", { css: CheckboxWithInfoLabel, children: [
13039
+ /* @__PURE__ */ jsx44("input", { type: "checkbox", name, ref, css: CheckboxWithInfoInput, ...props }),
13040
+ /* @__PURE__ */ jsx44("span", { children: label })
12983
13041
  ] }),
12984
- info ? /* @__PURE__ */ jsx43(InfoDialog, { message: info }) : null
13042
+ info ? /* @__PURE__ */ jsx44(InfoDialog, { message: info }) : null
12985
13043
  ] });
12986
13044
  }
12987
13045
  );
@@ -12990,8 +13048,8 @@ var CheckboxWithInfo = forwardRef4(
12990
13048
  import { MdWarning } from "react-icons/md";
12991
13049
 
12992
13050
  // src/components/Input/styles/ErrorMessage.styles.ts
12993
- import { css as css42 } from "@emotion/react";
12994
- var ErrorText = css42`
13051
+ import { css as css43 } from "@emotion/react";
13052
+ var ErrorText = css43`
12995
13053
  align-items: center;
12996
13054
  color: var(--brand-secondary-5);
12997
13055
  display: flex;
@@ -12999,10 +13057,10 @@ var ErrorText = css42`
12999
13057
  `;
13000
13058
 
13001
13059
  // src/components/Input/ErrorMessage.tsx
13002
- import { jsx as jsx44, jsxs as jsxs25 } from "@emotion/react/jsx-runtime";
13060
+ import { jsx as jsx45, jsxs as jsxs26 } from "@emotion/react/jsx-runtime";
13003
13061
  var ErrorMessage = ({ message, testId, ...otherProps }) => {
13004
- return message ? /* @__PURE__ */ jsxs25("span", { role: "alert", css: ErrorText, "data-test-id": testId, ...otherProps, children: [
13005
- /* @__PURE__ */ jsx44("span", { children: /* @__PURE__ */ jsx44(Icon, { icon: MdWarning, size: "1rem", iconColor: "currentColor" }) }),
13062
+ return message ? /* @__PURE__ */ jsxs26("span", { role: "alert", css: ErrorText, "data-test-id": testId, ...otherProps, children: [
13063
+ /* @__PURE__ */ jsx45("span", { children: /* @__PURE__ */ jsx45(Icon, { icon: MdWarning, size: "1rem", iconColor: "currentColor" }) }),
13006
13064
  message
13007
13065
  ] }) : null;
13008
13066
  };
@@ -13011,9 +13069,9 @@ var ErrorMessage = ({ message, testId, ...otherProps }) => {
13011
13069
  import * as React13 from "react";
13012
13070
 
13013
13071
  // src/components/Input/styles/Fieldset.styles.ts
13014
- import { css as css43 } from "@emotion/react";
13072
+ import { css as css44 } from "@emotion/react";
13015
13073
  function fieldsetContainer(invert) {
13016
- const base = css43`
13074
+ const base = css44`
13017
13075
  border-radius: var(--rounded-base);
13018
13076
  border: 1px solid var(--gray-300);
13019
13077
 
@@ -13025,18 +13083,18 @@ function fieldsetContainer(invert) {
13025
13083
  }
13026
13084
  `;
13027
13085
  return invert ? [
13028
- css43`
13086
+ css44`
13029
13087
  background: white;
13030
13088
  `,
13031
13089
  base
13032
13090
  ] : [
13033
- css43`
13091
+ css44`
13034
13092
  background: var(--gray-50);
13035
13093
  `,
13036
13094
  base
13037
13095
  ];
13038
13096
  }
13039
- var fieldsetLegend = css43`
13097
+ var fieldsetLegend = css44`
13040
13098
  align-items: center;
13041
13099
  color: var(--brand-secondary-1);
13042
13100
  display: flex;
@@ -13046,17 +13104,17 @@ var fieldsetLegend = css43`
13046
13104
  margin-bottom: var(--spacing-base);
13047
13105
  float: left; // allows the legend to be inside the fieldset and not sat on the border line
13048
13106
  `;
13049
- var fieldsetBody = css43`
13107
+ var fieldsetBody = css44`
13050
13108
  clear: left;
13051
13109
  `;
13052
13110
 
13053
13111
  // src/components/Input/Fieldset.tsx
13054
- import { jsx as jsx45, jsxs as jsxs26 } from "@emotion/react/jsx-runtime";
13112
+ import { jsx as jsx46, jsxs as jsxs27 } from "@emotion/react/jsx-runtime";
13055
13113
  var Fieldset = React13.forwardRef(
13056
13114
  ({ legend, disabled, children, invert, ...props }, ref) => {
13057
- return /* @__PURE__ */ jsxs26("fieldset", { css: fieldsetContainer(Boolean(invert)), ref, disabled, ...props, children: [
13115
+ return /* @__PURE__ */ jsxs27("fieldset", { css: fieldsetContainer(Boolean(invert)), ref, disabled, ...props, children: [
13058
13116
  legend,
13059
- /* @__PURE__ */ jsx45("div", { css: fieldsetBody, children })
13117
+ /* @__PURE__ */ jsx46("div", { css: fieldsetBody, children })
13060
13118
  ] });
13061
13119
  }
13062
13120
  );
@@ -13065,8 +13123,8 @@ var Fieldset = React13.forwardRef(
13065
13123
  import { MdInfoOutline } from "react-icons/md";
13066
13124
 
13067
13125
  // src/components/Input/styles/InfoMessage.styles.tsx
13068
- import { css as css44 } from "@emotion/react";
13069
- var InfoText = css44`
13126
+ import { css as css45 } from "@emotion/react";
13127
+ var InfoText = css45`
13070
13128
  --info-desc: rgb(29, 78, 216);
13071
13129
  --info-icon: rgb(96, 165, 250);
13072
13130
 
@@ -13075,15 +13133,15 @@ var InfoText = css44`
13075
13133
  display: flex;
13076
13134
  gap: var(--spacing-sm);
13077
13135
  `;
13078
- var InfoIcon2 = css44`
13136
+ var InfoIcon2 = css45`
13079
13137
  color: var(--info-icon);
13080
13138
  `;
13081
13139
 
13082
13140
  // src/components/Input/InfoMessage.tsx
13083
- import { jsx as jsx46, jsxs as jsxs27 } from "@emotion/react/jsx-runtime";
13141
+ import { jsx as jsx47, jsxs as jsxs28 } from "@emotion/react/jsx-runtime";
13084
13142
  var InfoMessage = ({ message, testId, ...props }) => {
13085
- return message ? /* @__PURE__ */ jsxs27("span", { role: "status", css: InfoText, "data-test-id": testId, ...props, children: [
13086
- /* @__PURE__ */ jsx46("span", { children: /* @__PURE__ */ jsx46(Icon, { css: InfoIcon2, icon: MdInfoOutline, size: "1rem", iconColor: "currentColor" }) }),
13143
+ return message ? /* @__PURE__ */ jsxs28("span", { role: "status", css: InfoText, "data-test-id": testId, ...props, children: [
13144
+ /* @__PURE__ */ jsx47("span", { children: /* @__PURE__ */ jsx47(Icon, { css: InfoIcon2, icon: MdInfoOutline, size: "1rem", iconColor: "currentColor" }) }),
13087
13145
  message
13088
13146
  ] }) : null;
13089
13147
  };
@@ -13092,9 +13150,9 @@ var InfoMessage = ({ message, testId, ...props }) => {
13092
13150
  import * as React14 from "react";
13093
13151
 
13094
13152
  // src/components/Input/Label.tsx
13095
- import { jsx as jsx47 } from "@emotion/react/jsx-runtime";
13153
+ import { jsx as jsx48 } from "@emotion/react/jsx-runtime";
13096
13154
  var Label = ({ children, className, testId, ...props }) => {
13097
- return /* @__PURE__ */ jsx47(
13155
+ return /* @__PURE__ */ jsx48(
13098
13156
  "label",
13099
13157
  {
13100
13158
  css: [labelText, typeof className === "object" ? className : void 0],
@@ -13110,28 +13168,28 @@ var Label = ({ children, className, testId, ...props }) => {
13110
13168
  import { MdWarning as MdWarning2 } from "react-icons/md";
13111
13169
 
13112
13170
  // src/components/Input/styles/WarningMessage.styles.tsx
13113
- import { css as css45 } from "@emotion/react";
13114
- var WarningText = css45`
13171
+ import { css as css46 } from "@emotion/react";
13172
+ var WarningText = css46`
13115
13173
  align-items: center;
13116
13174
  color: var(--alert-text);
13117
13175
  display: flex;
13118
13176
  gap: var(--spacing-sm);
13119
13177
  `;
13120
- var WarningIcon = css45`
13178
+ var WarningIcon = css46`
13121
13179
  color: var(--alert);
13122
13180
  `;
13123
13181
 
13124
13182
  // src/components/Input/WarningMessage.tsx
13125
- import { jsx as jsx48, jsxs as jsxs28 } from "@emotion/react/jsx-runtime";
13183
+ import { jsx as jsx49, jsxs as jsxs29 } from "@emotion/react/jsx-runtime";
13126
13184
  var WarningMessage = ({ message, testId, ...props }) => {
13127
- return message ? /* @__PURE__ */ jsxs28("span", { role: "status", css: WarningText, "data-test-id": testId, ...props, children: [
13128
- /* @__PURE__ */ jsx48("span", { children: /* @__PURE__ */ jsx48(Icon, { css: WarningIcon, icon: MdWarning2, size: "1rem", iconColor: "currentColor" }) }),
13185
+ return message ? /* @__PURE__ */ jsxs29("span", { role: "status", css: WarningText, "data-test-id": testId, ...props, children: [
13186
+ /* @__PURE__ */ jsx49("span", { children: /* @__PURE__ */ jsx49(Icon, { css: WarningIcon, icon: MdWarning2, size: "1rem", iconColor: "currentColor" }) }),
13129
13187
  message
13130
13188
  ] }) : null;
13131
13189
  };
13132
13190
 
13133
13191
  // src/components/Input/Input.tsx
13134
- import { jsx as jsx49, jsxs as jsxs29 } from "@emotion/react/jsx-runtime";
13192
+ import { jsx as jsx50, jsxs as jsxs30 } from "@emotion/react/jsx-runtime";
13135
13193
  var Input = React14.forwardRef(
13136
13194
  ({
13137
13195
  label,
@@ -13150,8 +13208,8 @@ var Input = React14.forwardRef(
13150
13208
  classNameLabel,
13151
13209
  ...props
13152
13210
  }, ref) => {
13153
- return /* @__PURE__ */ jsxs29("div", { css: inputContainer, "data-test-id": containerTestId ? containerTestId : "container-input-field", children: [
13154
- showLabel ? /* @__PURE__ */ jsx49(
13211
+ return /* @__PURE__ */ jsxs30("div", { css: inputContainer, "data-test-id": containerTestId ? containerTestId : "container-input-field", children: [
13212
+ showLabel ? /* @__PURE__ */ jsx50(
13155
13213
  Label,
13156
13214
  {
13157
13215
  htmlFor: id,
@@ -13161,13 +13219,13 @@ var Input = React14.forwardRef(
13161
13219
  children: label
13162
13220
  }
13163
13221
  ) : null,
13164
- /* @__PURE__ */ jsxs29(
13222
+ /* @__PURE__ */ jsxs30(
13165
13223
  "div",
13166
13224
  {
13167
13225
  css: [inputContainer, typeof classNameContainer === "object" ? classNameContainer : void 0],
13168
13226
  className: typeof classNameContainer === "string" ? classNameContainer : "",
13169
13227
  children: [
13170
- /* @__PURE__ */ jsx49(
13228
+ /* @__PURE__ */ jsx50(
13171
13229
  "input",
13172
13230
  {
13173
13231
  id,
@@ -13183,23 +13241,23 @@ var Input = React14.forwardRef(
13183
13241
  ref
13184
13242
  }
13185
13243
  ),
13186
- icon ? /* @__PURE__ */ jsx49("div", { css: inputIcon, children: icon }) : null
13244
+ icon ? /* @__PURE__ */ jsx50("div", { css: inputIcon, children: icon }) : null
13187
13245
  ]
13188
13246
  }
13189
13247
  ),
13190
- caption ? /* @__PURE__ */ jsx49(Caption, { testId: captionTestId, children: caption }) : null,
13191
- errorMessage ? /* @__PURE__ */ jsx49(ErrorMessage, { message: errorMessage, testId: errorTestId }) : null,
13192
- warningMessage && !errorMessage ? /* @__PURE__ */ jsx49(WarningMessage, { message: warningMessage }) : null
13248
+ caption ? /* @__PURE__ */ jsx50(Caption, { testId: captionTestId, children: caption }) : null,
13249
+ errorMessage ? /* @__PURE__ */ jsx50(ErrorMessage, { message: errorMessage, testId: errorTestId }) : null,
13250
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx50(WarningMessage, { message: warningMessage }) : null
13193
13251
  ] });
13194
13252
  }
13195
13253
  );
13196
13254
 
13197
13255
  // src/components/Input/InputComboBox.tsx
13198
13256
  import Select from "react-select";
13199
- import { jsx as jsx50 } from "@emotion/react/jsx-runtime";
13257
+ import { jsx as jsx51 } from "@emotion/react/jsx-runtime";
13200
13258
  function InputComboBox(props) {
13201
13259
  var _a;
13202
- return /* @__PURE__ */ jsx50(
13260
+ return /* @__PURE__ */ jsx51(
13203
13261
  Select,
13204
13262
  {
13205
13263
  ...props,
@@ -13328,17 +13386,17 @@ function InputComboBox(props) {
13328
13386
  }
13329
13387
 
13330
13388
  // src/components/Input/InputInlineSelect.tsx
13331
- import { css as css47 } from "@emotion/react";
13389
+ import { css as css48 } from "@emotion/react";
13332
13390
  import { useRef as useRef3, useState as useState5 } from "react";
13333
13391
  import { CgChevronDown as CgChevronDown2 } from "react-icons/cg";
13334
13392
 
13335
13393
  // src/components/Input/styles/InputInlineSelect.styles.ts
13336
- import { css as css46 } from "@emotion/react";
13337
- var inlineSelectContainer = css46`
13394
+ import { css as css47 } from "@emotion/react";
13395
+ var inlineSelectContainer = css47`
13338
13396
  margin-inline: auto;
13339
13397
  max-width: fit-content;
13340
13398
  `;
13341
- var inlineSelectBtn = css46`
13399
+ var inlineSelectBtn = css47`
13342
13400
  align-items: center;
13343
13401
  background: var(--brand-secondary-3);
13344
13402
  border: 2px solid var(--brand-secondary-3);
@@ -13362,7 +13420,7 @@ var inlineSelectBtn = css46`
13362
13420
  outline: 2px solid var(--brand-secondary-1);
13363
13421
  }
13364
13422
  `;
13365
- var inlineSelectMenu = css46`
13423
+ var inlineSelectMenu = css47`
13366
13424
  background: var(--white);
13367
13425
  border: 1px solid var(--brand-secondary-3);
13368
13426
  border-top: none;
@@ -13373,7 +13431,7 @@ var inlineSelectMenu = css46`
13373
13431
  inset: auto 0;
13374
13432
  transform: translateY(-0.2rem);
13375
13433
  `;
13376
- var inlineSelectBtnOptions = css46`
13434
+ var inlineSelectBtnOptions = css47`
13377
13435
  cursor: pointer;
13378
13436
  display: block;
13379
13437
  font-size: var(--fs-sm);
@@ -13389,7 +13447,7 @@ var inlineSelectBtnOptions = css46`
13389
13447
  background: var(--gray-50);
13390
13448
  }
13391
13449
  `;
13392
- var inlineSelectMenuClosed = css46`
13450
+ var inlineSelectMenuClosed = css47`
13393
13451
  position: absolute;
13394
13452
  overflow: hidden;
13395
13453
  height: 1px;
@@ -13399,7 +13457,7 @@ var inlineSelectMenuClosed = css46`
13399
13457
  `;
13400
13458
 
13401
13459
  // src/components/Input/InputInlineSelect.tsx
13402
- import { jsx as jsx51, jsxs as jsxs30 } from "@emotion/react/jsx-runtime";
13460
+ import { jsx as jsx52, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
13403
13461
  var InputInlineSelect = ({
13404
13462
  classNameContainer,
13405
13463
  options,
@@ -13413,17 +13471,17 @@ var InputInlineSelect = ({
13413
13471
  const divRef = useRef3(null);
13414
13472
  useOutsideClick(divRef, () => setMenuVisible(false));
13415
13473
  const selected = options.find((option) => option.value === value);
13416
- return /* @__PURE__ */ jsxs30(
13474
+ return /* @__PURE__ */ jsxs31(
13417
13475
  "div",
13418
13476
  {
13419
13477
  ref: divRef,
13420
- css: !classNameContainer ? inlineSelectContainer : css47`
13478
+ css: !classNameContainer ? inlineSelectContainer : css48`
13421
13479
  max-width: fit-content;
13422
13480
  ${typeof classNameContainer === "object" ? classNameContainer : void 0}
13423
13481
  `,
13424
13482
  className: typeof classNameContainer === "string" ? classNameContainer : "",
13425
13483
  children: [
13426
- /* @__PURE__ */ jsxs30(
13484
+ /* @__PURE__ */ jsxs31(
13427
13485
  "button",
13428
13486
  {
13429
13487
  type: "button",
@@ -13437,18 +13495,18 @@ var InputInlineSelect = ({
13437
13495
  disabled,
13438
13496
  ...props,
13439
13497
  children: [
13440
- /* @__PURE__ */ jsx51("span", { children: (_a = selected == null ? void 0 : selected.label) != null ? _a : value }),
13441
- disabled ? null : /* @__PURE__ */ jsx51(Icon, { icon: CgChevronDown2, iconColor: "currentColor", size: 24 })
13498
+ /* @__PURE__ */ jsx52("span", { children: (_a = selected == null ? void 0 : selected.label) != null ? _a : value }),
13499
+ disabled ? null : /* @__PURE__ */ jsx52(Icon, { icon: CgChevronDown2, iconColor: "currentColor", size: 24 })
13442
13500
  ]
13443
13501
  }
13444
13502
  ),
13445
- /* @__PURE__ */ jsx51(
13503
+ /* @__PURE__ */ jsx52(
13446
13504
  "div",
13447
13505
  {
13448
13506
  id: `and-or-${props.id}`,
13449
13507
  css: [inlineSelectMenu, menuVisible ? void 0 : inlineSelectMenuClosed],
13450
13508
  "aria-hidden": !menuVisible,
13451
- children: options.map((opt) => /* @__PURE__ */ jsx51(
13509
+ children: options.map((opt) => /* @__PURE__ */ jsx52(
13452
13510
  "button",
13453
13511
  {
13454
13512
  type: "button",
@@ -13469,7 +13527,7 @@ var InputInlineSelect = ({
13469
13527
  };
13470
13528
 
13471
13529
  // src/components/Input/InputKeywordSearch.tsx
13472
- import { jsx as jsx52 } from "@emotion/react/jsx-runtime";
13530
+ import { jsx as jsx53 } from "@emotion/react/jsx-runtime";
13473
13531
  var InputKeywordSearch = ({
13474
13532
  onSearchTextChanged,
13475
13533
  disabled = false,
@@ -13488,7 +13546,7 @@ var InputKeywordSearch = ({
13488
13546
  e.preventDefault();
13489
13547
  }
13490
13548
  };
13491
- return /* @__PURE__ */ jsx52(
13549
+ return /* @__PURE__ */ jsx53(
13492
13550
  Input,
13493
13551
  {
13494
13552
  type: "text",
@@ -13496,7 +13554,7 @@ var InputKeywordSearch = ({
13496
13554
  placeholder,
13497
13555
  showLabel: false,
13498
13556
  value,
13499
- icon: value ? /* @__PURE__ */ jsx52("button", { css: inputSearchCloseBtn, onClick: onClear, type: "button", children: /* @__PURE__ */ jsx52(Icon, { icon: "close", iconColor: "red", size: "1rem" }) }) : /* @__PURE__ */ jsx52(Icon, { icon: "search", iconColor: "gray", size: "1rem" }),
13557
+ icon: value ? /* @__PURE__ */ jsx53("button", { css: inputSearchCloseBtn, onClick: onClear, type: "button", children: /* @__PURE__ */ jsx53(Icon, { icon: "close", iconColor: "red", size: "1rem" }) }) : /* @__PURE__ */ jsx53(Icon, { icon: "search", iconColor: "gray", size: "1rem" }),
13500
13558
  onChange: handleSearchTextChanged,
13501
13559
  onKeyPress: preventSubmitOnField,
13502
13560
  disabled,
@@ -13507,7 +13565,7 @@ var InputKeywordSearch = ({
13507
13565
  };
13508
13566
 
13509
13567
  // src/components/Input/InputSelect.tsx
13510
- import { Fragment as Fragment6, jsx as jsx53, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
13568
+ import { Fragment as Fragment6, jsx as jsx54, jsxs as jsxs32 } from "@emotion/react/jsx-runtime";
13511
13569
  var InputSelect = ({
13512
13570
  label,
13513
13571
  defaultOption,
@@ -13523,13 +13581,13 @@ var InputSelect = ({
13523
13581
  classNameLabel,
13524
13582
  ...props
13525
13583
  }) => {
13526
- return /* @__PURE__ */ jsxs31(
13584
+ return /* @__PURE__ */ jsxs32(
13527
13585
  "div",
13528
13586
  {
13529
13587
  css: [inputContainer, typeof classNameContainer === "object" ? classNameContainer : void 0],
13530
13588
  className: typeof classNameContainer === "string" ? classNameContainer : "",
13531
13589
  children: [
13532
- showLabel ? /* @__PURE__ */ jsx53(Fragment6, { children: /* @__PURE__ */ jsxs31(
13590
+ showLabel ? /* @__PURE__ */ jsx54(Fragment6, { children: /* @__PURE__ */ jsxs32(
13533
13591
  Label,
13534
13592
  {
13535
13593
  htmlFor: props.id,
@@ -13541,7 +13599,7 @@ var InputSelect = ({
13541
13599
  ]
13542
13600
  }
13543
13601
  ) }) : null,
13544
- /* @__PURE__ */ jsxs31(
13602
+ /* @__PURE__ */ jsxs32(
13545
13603
  "select",
13546
13604
  {
13547
13605
  title: label,
@@ -13556,14 +13614,14 @@ var InputSelect = ({
13556
13614
  className: typeof classNameControl === "string" ? classNameControl : "",
13557
13615
  ...props,
13558
13616
  children: [
13559
- defaultOption ? /* @__PURE__ */ jsx53("option", { value: "", children: defaultOption }) : null,
13560
- options.map((opt, index) => /* @__PURE__ */ jsx53("option", { value: opt.label, ...opt }, index))
13617
+ defaultOption ? /* @__PURE__ */ jsx54("option", { value: "", children: defaultOption }) : null,
13618
+ options.map((opt, index) => /* @__PURE__ */ jsx54("option", { value: opt.label, ...opt }, index))
13561
13619
  ]
13562
13620
  }
13563
13621
  ),
13564
- caption ? /* @__PURE__ */ jsx53(Caption, { children: caption }) : null,
13565
- errorMessage ? /* @__PURE__ */ jsx53(ErrorMessage, { message: errorMessage }) : null,
13566
- warningMessage && !errorMessage ? /* @__PURE__ */ jsx53(WarningMessage, { message: warningMessage }) : null
13622
+ caption ? /* @__PURE__ */ jsx54(Caption, { children: caption }) : null,
13623
+ errorMessage ? /* @__PURE__ */ jsx54(ErrorMessage, { message: errorMessage }) : null,
13624
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx54(WarningMessage, { message: warningMessage }) : null
13567
13625
  ]
13568
13626
  }
13569
13627
  );
@@ -13571,7 +13629,7 @@ var InputSelect = ({
13571
13629
 
13572
13630
  // src/components/Input/InputToggle.tsx
13573
13631
  import * as React15 from "react";
13574
- import { jsx as jsx54, jsxs as jsxs32 } from "@emotion/react/jsx-runtime";
13632
+ import { jsx as jsx55, jsxs as jsxs33 } from "@emotion/react/jsx-runtime";
13575
13633
  var InputToggle = React15.forwardRef(
13576
13634
  ({
13577
13635
  label,
@@ -13586,13 +13644,13 @@ var InputToggle = React15.forwardRef(
13586
13644
  fontWeight = "medium",
13587
13645
  ...props
13588
13646
  }, ref) => {
13589
- return /* @__PURE__ */ jsxs32(
13647
+ return /* @__PURE__ */ jsxs33(
13590
13648
  Label,
13591
13649
  {
13592
13650
  css: [inputToggleLabel, disabled ? inputDisabled : void 0],
13593
13651
  "data-test-id": testId ? testId : "input-toggle",
13594
13652
  children: [
13595
- /* @__PURE__ */ jsx54(
13653
+ /* @__PURE__ */ jsx55(
13596
13654
  "input",
13597
13655
  {
13598
13656
  ref,
@@ -13604,11 +13662,11 @@ var InputToggle = React15.forwardRef(
13604
13662
  ...props
13605
13663
  }
13606
13664
  ),
13607
- /* @__PURE__ */ jsx54("span", { css: inlineLabel(fontWeight), children: label }),
13608
- caption || errorMessage ? /* @__PURE__ */ jsxs32("span", { css: inputToggleMessageContainer, children: [
13609
- caption ? /* @__PURE__ */ jsx54(Caption, { children: caption }) : null,
13610
- errorMessage ? /* @__PURE__ */ jsx54(ErrorMessage, { message: errorMessage }) : null,
13611
- warningMessage && !errorMessage ? /* @__PURE__ */ jsx54(WarningMessage, { message: warningMessage }) : null
13665
+ /* @__PURE__ */ jsx55("span", { css: inlineLabel(fontWeight), children: label }),
13666
+ caption || errorMessage ? /* @__PURE__ */ jsxs33("span", { css: inputToggleMessageContainer, children: [
13667
+ caption ? /* @__PURE__ */ jsx55(Caption, { children: caption }) : null,
13668
+ errorMessage ? /* @__PURE__ */ jsx55(ErrorMessage, { message: errorMessage }) : null,
13669
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx55(WarningMessage, { message: warningMessage }) : null
13612
13670
  ] }) : null
13613
13671
  ]
13614
13672
  }
@@ -13617,17 +13675,17 @@ var InputToggle = React15.forwardRef(
13617
13675
  );
13618
13676
 
13619
13677
  // src/components/Input/Legend.tsx
13620
- import { jsx as jsx55 } from "@emotion/react/jsx-runtime";
13678
+ import { jsx as jsx56 } from "@emotion/react/jsx-runtime";
13621
13679
  var Legend = ({ children }) => {
13622
- return /* @__PURE__ */ jsx55("legend", { css: fieldsetLegend, children });
13680
+ return /* @__PURE__ */ jsx56("legend", { css: fieldsetLegend, children });
13623
13681
  };
13624
13682
 
13625
13683
  // src/components/Input/SuccessMessage.tsx
13626
13684
  import { CgCheckO } from "react-icons/cg";
13627
13685
 
13628
13686
  // src/components/Input/styles/SuccessMessage.styles.ts
13629
- import { css as css48 } from "@emotion/react";
13630
- var SuccessText = css48`
13687
+ import { css as css49 } from "@emotion/react";
13688
+ var SuccessText = css49`
13631
13689
  --info-desc: var(--brand-secondary-3);
13632
13690
  --info-icon: var(--brand-secondary-3);
13633
13691
 
@@ -13636,21 +13694,21 @@ var SuccessText = css48`
13636
13694
  display: flex;
13637
13695
  gap: var(--spacing-sm);
13638
13696
  `;
13639
- var SuccessIcon2 = css48`
13697
+ var SuccessIcon2 = css49`
13640
13698
  color: var(--info-icon);
13641
13699
  `;
13642
13700
 
13643
13701
  // src/components/Input/SuccessMessage.tsx
13644
- import { jsx as jsx56, jsxs as jsxs33 } from "@emotion/react/jsx-runtime";
13702
+ import { jsx as jsx57, jsxs as jsxs34 } from "@emotion/react/jsx-runtime";
13645
13703
  var SuccessMessage = ({ message, testId, ...props }) => {
13646
- return message ? /* @__PURE__ */ jsxs33("span", { role: "status", css: SuccessText, "data-test-id": testId, ...props, children: [
13647
- /* @__PURE__ */ jsx56("span", { children: /* @__PURE__ */ jsx56(Icon, { css: SuccessIcon2, icon: CgCheckO, size: "1rem", iconColor: "currentColor" }) }),
13704
+ return message ? /* @__PURE__ */ jsxs34("span", { role: "status", css: SuccessText, "data-test-id": testId, ...props, children: [
13705
+ /* @__PURE__ */ jsx57("span", { children: /* @__PURE__ */ jsx57(Icon, { css: SuccessIcon2, icon: CgCheckO, size: "1rem", iconColor: "currentColor" }) }),
13648
13706
  message
13649
13707
  ] }) : null;
13650
13708
  };
13651
13709
 
13652
13710
  // src/components/Input/Textarea.tsx
13653
- import { Fragment as Fragment7, jsx as jsx57, jsxs as jsxs34 } from "@emotion/react/jsx-runtime";
13711
+ import { Fragment as Fragment7, jsx as jsx58, jsxs as jsxs35 } from "@emotion/react/jsx-runtime";
13654
13712
  var Textarea = ({
13655
13713
  label,
13656
13714
  icon,
@@ -13661,10 +13719,10 @@ var Textarea = ({
13661
13719
  warningMessage,
13662
13720
  ...props
13663
13721
  }) => {
13664
- return /* @__PURE__ */ jsxs34(Fragment7, { children: [
13665
- showLabel ? /* @__PURE__ */ jsx57("label", { htmlFor: id, css: [labelText], children: label }) : null,
13666
- /* @__PURE__ */ jsxs34("div", { css: [inputContainer], children: [
13667
- /* @__PURE__ */ jsx57(
13722
+ return /* @__PURE__ */ jsxs35(Fragment7, { children: [
13723
+ showLabel ? /* @__PURE__ */ jsx58("label", { htmlFor: id, css: [labelText], children: label }) : null,
13724
+ /* @__PURE__ */ jsxs35("div", { css: [inputContainer], children: [
13725
+ /* @__PURE__ */ jsx58(
13668
13726
  "textarea",
13669
13727
  {
13670
13728
  id,
@@ -13673,17 +13731,17 @@ var Textarea = ({
13673
13731
  ...props
13674
13732
  }
13675
13733
  ),
13676
- icon ? /* @__PURE__ */ jsx57("div", { css: inputIcon, children: icon }) : null
13734
+ icon ? /* @__PURE__ */ jsx58("div", { css: inputIcon, children: icon }) : null
13677
13735
  ] }),
13678
- caption ? /* @__PURE__ */ jsx57(Caption, { children: caption }) : null,
13679
- errorMessage ? /* @__PURE__ */ jsx57(ErrorMessage, { message: errorMessage }) : null,
13680
- warningMessage && !errorMessage ? /* @__PURE__ */ jsx57(WarningMessage, { message: warningMessage }) : null
13736
+ caption ? /* @__PURE__ */ jsx58(Caption, { children: caption }) : null,
13737
+ errorMessage ? /* @__PURE__ */ jsx58(ErrorMessage, { message: errorMessage }) : null,
13738
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx58(WarningMessage, { message: warningMessage }) : null
13681
13739
  ] });
13682
13740
  };
13683
13741
 
13684
13742
  // src/components/JsonEditor/JsonEditor.tsx
13685
13743
  import MonacoEditor from "@monaco-editor/react";
13686
- import { jsx as jsx58 } from "@emotion/react/jsx-runtime";
13744
+ import { jsx as jsx59 } from "@emotion/react/jsx-runtime";
13687
13745
  var minEditorHeightPx = 150;
13688
13746
  var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
13689
13747
  let effectiveHeight = height;
@@ -13693,7 +13751,7 @@ var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
13693
13751
  if (typeof effectiveHeight === "number" && effectiveHeight < minEditorHeightPx) {
13694
13752
  effectiveHeight = minEditorHeightPx;
13695
13753
  }
13696
- return /* @__PURE__ */ jsx58(
13754
+ return /* @__PURE__ */ jsx59(
13697
13755
  MonacoEditor,
13698
13756
  {
13699
13757
  height: effectiveHeight,
@@ -13730,39 +13788,39 @@ var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
13730
13788
  };
13731
13789
 
13732
13790
  // src/components/LimitsBar/LimitsBar.styles.ts
13733
- import { css as css49 } from "@emotion/react";
13734
- var LimitsBarContainer = css49`
13791
+ import { css as css50 } from "@emotion/react";
13792
+ var LimitsBarContainer = css50`
13735
13793
  margin-block: var(--spacing-sm);
13736
13794
  `;
13737
- var LimitsBarProgressBar = css49`
13795
+ var LimitsBarProgressBar = css50`
13738
13796
  background: var(--gray-100);
13739
13797
  margin-top: var(--spacing-sm);
13740
13798
  position: relative;
13741
13799
  overflow: hidden;
13742
13800
  height: 0.25rem;
13743
13801
  `;
13744
- var LimitsBarProgressBarLine = css49`
13802
+ var LimitsBarProgressBarLine = css50`
13745
13803
  position: absolute;
13746
13804
  inset: 0;
13747
13805
  transition: transform var(--duration-fast) var(--timing-ease-out);
13748
13806
  `;
13749
- var LimitsBarLabelContainer = css49`
13807
+ var LimitsBarLabelContainer = css50`
13750
13808
  display: flex;
13751
13809
  justify-content: space-between;
13752
13810
  font-weight: var(--fw-bold);
13753
13811
  `;
13754
- var LimitsBarLabel = css49`
13812
+ var LimitsBarLabel = css50`
13755
13813
  font-size: var(--fs-baase);
13756
13814
  `;
13757
- var LimitsBarBgColor = (statusColor) => css49`
13815
+ var LimitsBarBgColor = (statusColor) => css50`
13758
13816
  background: ${statusColor};
13759
13817
  `;
13760
- var LimitsBarTextColor = (statusColor) => css49`
13818
+ var LimitsBarTextColor = (statusColor) => css50`
13761
13819
  color: ${statusColor};
13762
13820
  `;
13763
13821
 
13764
13822
  // src/components/LimitsBar/LimitsBar.tsx
13765
- import { jsx as jsx59, jsxs as jsxs35 } from "@emotion/react/jsx-runtime";
13823
+ import { jsx as jsx60, jsxs as jsxs36 } from "@emotion/react/jsx-runtime";
13766
13824
  var LimitsBar = ({ current, max, label }) => {
13767
13825
  const maxPercentage = 100;
13768
13826
  const progressBarValue = Math.ceil(current / max * maxPercentage);
@@ -13773,16 +13831,16 @@ var LimitsBar = ({ current, max, label }) => {
13773
13831
  danger: "var(--brand-secondary-5)"
13774
13832
  };
13775
13833
  const statusColor = progressBarValue === 100 ? colorMap.danger : progressBarValue >= 75 ? colorMap.warn : colorMap.base;
13776
- return /* @__PURE__ */ jsxs35("div", { css: LimitsBarContainer, children: [
13777
- /* @__PURE__ */ jsxs35("div", { css: LimitsBarLabelContainer, children: [
13778
- /* @__PURE__ */ jsx59("span", { css: LimitsBarLabel, children: label }),
13779
- /* @__PURE__ */ jsxs35("span", { css: [LimitsBarLabel, LimitsBarTextColor(statusColor)], children: [
13834
+ return /* @__PURE__ */ jsxs36("div", { css: LimitsBarContainer, children: [
13835
+ /* @__PURE__ */ jsxs36("div", { css: LimitsBarLabelContainer, children: [
13836
+ /* @__PURE__ */ jsx60("span", { css: LimitsBarLabel, children: label }),
13837
+ /* @__PURE__ */ jsxs36("span", { css: [LimitsBarLabel, LimitsBarTextColor(statusColor)], children: [
13780
13838
  current,
13781
13839
  " of ",
13782
13840
  max
13783
13841
  ] })
13784
13842
  ] }),
13785
- /* @__PURE__ */ jsx59(
13843
+ /* @__PURE__ */ jsx60(
13786
13844
  "div",
13787
13845
  {
13788
13846
  role: "progressbar",
@@ -13791,7 +13849,7 @@ var LimitsBar = ({ current, max, label }) => {
13791
13849
  "aria-valuemax": max,
13792
13850
  "aria-valuetext": `${current} of ${max}`,
13793
13851
  css: LimitsBarProgressBar,
13794
- children: /* @__PURE__ */ jsx59(
13852
+ children: /* @__PURE__ */ jsx60(
13795
13853
  "span",
13796
13854
  {
13797
13855
  role: "presentation",
@@ -13807,8 +13865,8 @@ var LimitsBar = ({ current, max, label }) => {
13807
13865
  };
13808
13866
 
13809
13867
  // src/components/LinkList/LinkList.styles.ts
13810
- import { css as css50 } from "@emotion/react";
13811
- var LinkListContainer = (padding) => css50`
13868
+ import { css as css51 } from "@emotion/react";
13869
+ var LinkListContainer = (padding) => css51`
13812
13870
  padding: ${padding};
13813
13871
 
13814
13872
  ${mq("sm")} {
@@ -13816,30 +13874,30 @@ var LinkListContainer = (padding) => css50`
13816
13874
  grid-row: 1 / last-line;
13817
13875
  }
13818
13876
  `;
13819
- var LinkListTitle = css50`
13877
+ var LinkListTitle = css51`
13820
13878
  font-weight: var(--fw-bold);
13821
13879
  font-size: var(--fs-sm);
13822
13880
  text-transform: uppercase;
13823
13881
  `;
13824
13882
 
13825
13883
  // src/components/LinkList/LinkList.tsx
13826
- import { jsx as jsx60, jsxs as jsxs36 } from "@emotion/react/jsx-runtime";
13884
+ import { jsx as jsx61, jsxs as jsxs37 } from "@emotion/react/jsx-runtime";
13827
13885
  var LinkList = ({ title, padding = "var(--spacing-md)", children, ...props }) => {
13828
- return /* @__PURE__ */ jsxs36("div", { css: LinkListContainer(padding), ...props, children: [
13829
- /* @__PURE__ */ jsx60(Heading, { level: 3, css: LinkListTitle, children: title }),
13886
+ return /* @__PURE__ */ jsxs37("div", { css: LinkListContainer(padding), ...props, children: [
13887
+ /* @__PURE__ */ jsx61(Heading, { level: 3, css: LinkListTitle, children: title }),
13830
13888
  children
13831
13889
  ] });
13832
13890
  };
13833
13891
 
13834
13892
  // src/components/List/ScrollableList.tsx
13835
- import { css as css52 } from "@emotion/react";
13893
+ import { css as css53 } from "@emotion/react";
13836
13894
 
13837
13895
  // src/components/List/styles/ScrollableList.styles.ts
13838
- import { css as css51 } from "@emotion/react";
13839
- var ScrollableListContainer = css51`
13896
+ import { css as css52 } from "@emotion/react";
13897
+ var ScrollableListContainer = css52`
13840
13898
  position: relative;
13841
13899
  `;
13842
- var ScrollableListInner = css51`
13900
+ var ScrollableListInner = css52`
13843
13901
  background: var(--gray-50);
13844
13902
  border-top: 1px solid var(--gray-200);
13845
13903
  border-bottom: 1px solid var(--gray-200);
@@ -13862,19 +13920,19 @@ var ScrollableListInner = css51`
13862
13920
  `;
13863
13921
 
13864
13922
  // src/components/List/ScrollableList.tsx
13865
- import { jsx as jsx61, jsxs as jsxs37 } from "@emotion/react/jsx-runtime";
13923
+ import { jsx as jsx62, jsxs as jsxs38 } from "@emotion/react/jsx-runtime";
13866
13924
  var ScrollableList = ({ label, children, ...props }) => {
13867
- return /* @__PURE__ */ jsxs37("div", { css: [ScrollableListContainer, scrollbarStyles], ...props, children: [
13868
- label ? /* @__PURE__ */ jsx61(
13925
+ return /* @__PURE__ */ jsxs38("div", { css: [ScrollableListContainer, scrollbarStyles], ...props, children: [
13926
+ label ? /* @__PURE__ */ jsx62(
13869
13927
  "span",
13870
13928
  {
13871
- css: css52`
13929
+ css: css53`
13872
13930
  ${labelText}
13873
13931
  `,
13874
13932
  children: label
13875
13933
  }
13876
13934
  ) : null,
13877
- /* @__PURE__ */ jsx61("div", { css: [ScrollableListInner, scrollbarStyles], children })
13935
+ /* @__PURE__ */ jsx62("div", { css: [ScrollableListInner, scrollbarStyles], children })
13878
13936
  ] });
13879
13937
  };
13880
13938
 
@@ -13882,8 +13940,8 @@ var ScrollableList = ({ label, children, ...props }) => {
13882
13940
  import { CgCheck } from "react-icons/cg";
13883
13941
 
13884
13942
  // src/components/List/styles/ScrollableListItem.styles.ts
13885
- import { css as css53 } from "@emotion/react";
13886
- var ScrollableListItemContainer = css53`
13943
+ import { css as css54 } from "@emotion/react";
13944
+ var ScrollableListItemContainer = css54`
13887
13945
  align-items: center;
13888
13946
  background: var(--white);
13889
13947
  border-radius: var(--rounded-base);
@@ -13892,13 +13950,13 @@ var ScrollableListItemContainer = css53`
13892
13950
  min-height: 52px;
13893
13951
  transition: border-color var(--duration-fast) var(--timing-ease-out);
13894
13952
  `;
13895
- var ScrollableListItemShadow = css53`
13953
+ var ScrollableListItemShadow = css54`
13896
13954
  box-shadow: var(--shadow-base);
13897
13955
  `;
13898
- var ScrollableListItemActive = css53`
13956
+ var ScrollableListItemActive = css54`
13899
13957
  border-color: var(--brand-secondary-3);
13900
13958
  `;
13901
- var ScrollableListItemBtn = css53`
13959
+ var ScrollableListItemBtn = css54`
13902
13960
  align-items: center;
13903
13961
  border: none;
13904
13962
  background: transparent;
@@ -13913,27 +13971,27 @@ var ScrollableListItemBtn = css53`
13913
13971
  outline: none;
13914
13972
  }
13915
13973
  `;
13916
- var ScrollableListInputLabel = css53`
13974
+ var ScrollableListInputLabel = css54`
13917
13975
  align-items: center;
13918
13976
  cursor: pointer;
13919
13977
  display: flex;
13920
13978
  padding: var(--spacing-xs) var(--spacing-base) var(--spacing-xs);
13921
13979
  flex-grow: 1;
13922
13980
  `;
13923
- var ScrollableListInputText = css53`
13981
+ var ScrollableListInputText = css54`
13924
13982
  align-items: center;
13925
13983
  display: flex;
13926
13984
  gap: var(--spacing-sm);
13927
13985
  flex-grow: 1;
13928
13986
  flex-wrap: wrap;
13929
13987
  `;
13930
- var ScrollableListHiddenInput = css53`
13988
+ var ScrollableListHiddenInput = css54`
13931
13989
  position: absolute;
13932
13990
  height: 0;
13933
13991
  width: 0;
13934
13992
  opacity: 0;
13935
13993
  `;
13936
- var ScrollableListIcon = css53`
13994
+ var ScrollableListIcon = css54`
13937
13995
  border-radius: var(--rounded-full);
13938
13996
  background: var(--brand-secondary-3);
13939
13997
  color: var(--white);
@@ -13941,12 +13999,12 @@ var ScrollableListIcon = css53`
13941
13999
  min-width: 24px;
13942
14000
  opacity: 0;
13943
14001
  `;
13944
- var ScrollableListIconVisible = css53`
14002
+ var ScrollableListIconVisible = css54`
13945
14003
  animation: ${fadeInBottom} var(--duration-fast) var(--timing-ease-out) forwards;
13946
14004
  `;
13947
14005
 
13948
14006
  // src/components/List/ScrollableListInputItem.tsx
13949
- import { jsx as jsx62, jsxs as jsxs38 } from "@emotion/react/jsx-runtime";
14007
+ import { jsx as jsx63, jsxs as jsxs39 } from "@emotion/react/jsx-runtime";
13950
14008
  var ScrollableListInputItem = ({
13951
14009
  label,
13952
14010
  icon,
@@ -13956,7 +14014,7 @@ var ScrollableListInputItem = ({
13956
14014
  labelTestId,
13957
14015
  ...props
13958
14016
  }) => {
13959
- return /* @__PURE__ */ jsx62(
14017
+ return /* @__PURE__ */ jsx63(
13960
14018
  "div",
13961
14019
  {
13962
14020
  css: [
@@ -13965,13 +14023,13 @@ var ScrollableListInputItem = ({
13965
14023
  active ? ScrollableListItemActive : void 0
13966
14024
  ],
13967
14025
  ...props,
13968
- children: /* @__PURE__ */ jsxs38("label", { "data-test-id": labelTestId, css: ScrollableListInputLabel, children: [
13969
- /* @__PURE__ */ jsxs38("span", { css: ScrollableListInputText, children: [
14026
+ children: /* @__PURE__ */ jsxs39("label", { "data-test-id": labelTestId, css: ScrollableListInputLabel, children: [
14027
+ /* @__PURE__ */ jsxs39("span", { css: ScrollableListInputText, children: [
13970
14028
  icon,
13971
14029
  label
13972
14030
  ] }),
13973
- /* @__PURE__ */ jsx62("div", { css: ScrollableListHiddenInput, children }),
13974
- /* @__PURE__ */ jsx62(
14031
+ /* @__PURE__ */ jsx63("div", { css: ScrollableListHiddenInput, children }),
14032
+ /* @__PURE__ */ jsx63(
13975
14033
  Icon,
13976
14034
  {
13977
14035
  icon: CgCheck,
@@ -13989,14 +14047,14 @@ var ScrollableListInputItem = ({
13989
14047
 
13990
14048
  // src/components/List/ScrollableListItem.tsx
13991
14049
  import { CgCheck as CgCheck2 } from "react-icons/cg";
13992
- import { jsx as jsx63, jsxs as jsxs39 } from "@emotion/react/jsx-runtime";
14050
+ import { jsx as jsx64, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
13993
14051
  var ScrollableListItem = ({
13994
14052
  buttonText,
13995
14053
  active,
13996
14054
  disableShadow,
13997
14055
  ...props
13998
14056
  }) => {
13999
- return /* @__PURE__ */ jsx63(
14057
+ return /* @__PURE__ */ jsx64(
14000
14058
  "div",
14001
14059
  {
14002
14060
  css: [
@@ -14004,9 +14062,9 @@ var ScrollableListItem = ({
14004
14062
  disableShadow ? void 0 : ScrollableListItemShadow,
14005
14063
  active ? ScrollableListItemActive : void 0
14006
14064
  ],
14007
- children: /* @__PURE__ */ jsxs39("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
14008
- /* @__PURE__ */ jsx63("span", { children: buttonText }),
14009
- /* @__PURE__ */ jsx63(
14065
+ children: /* @__PURE__ */ jsxs40("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
14066
+ /* @__PURE__ */ jsx64("span", { children: buttonText }),
14067
+ /* @__PURE__ */ jsx64(
14010
14068
  Icon,
14011
14069
  {
14012
14070
  icon: CgCheck2,
@@ -14021,7 +14079,7 @@ var ScrollableListItem = ({
14021
14079
  };
14022
14080
 
14023
14081
  // src/components/LoadingIndicator/LoadingIndicator.styles.ts
14024
- import { css as css54, keyframes as keyframes3 } from "@emotion/react";
14082
+ import { css as css55, keyframes as keyframes3 } from "@emotion/react";
14025
14083
  var bounceFade = keyframes3`
14026
14084
  0%, 100% {
14027
14085
  opacity: 1.0;
@@ -14039,11 +14097,11 @@ var bounceFade = keyframes3`
14039
14097
  transform: translateY(-5px);
14040
14098
  }
14041
14099
  `;
14042
- var loader = css54`
14100
+ var loader = css55`
14043
14101
  display: inline-flex;
14044
14102
  justify-content: center;
14045
14103
  `;
14046
- var loadingDot = css54`
14104
+ var loadingDot = css55`
14047
14105
  background-color: var(--gray-700);
14048
14106
  display: block;
14049
14107
  border-radius: var(--rounded-full);
@@ -14067,12 +14125,12 @@ var loadingDot = css54`
14067
14125
  `;
14068
14126
 
14069
14127
  // src/components/LoadingIndicator/LoadingIndicator.tsx
14070
- import { jsx as jsx64, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
14128
+ import { jsx as jsx65, jsxs as jsxs41 } from "@emotion/react/jsx-runtime";
14071
14129
  var LoadingIndicator = ({ ...props }) => {
14072
- return /* @__PURE__ */ jsxs40("div", { role: "alert", css: loader, "data-test-id": "loading-indicator", ...props, children: [
14073
- /* @__PURE__ */ jsx64("span", { css: loadingDot }),
14074
- /* @__PURE__ */ jsx64("span", { css: loadingDot }),
14075
- /* @__PURE__ */ jsx64("span", { css: loadingDot })
14130
+ return /* @__PURE__ */ jsxs41("div", { role: "alert", css: loader, "data-test-id": "loading-indicator", ...props, children: [
14131
+ /* @__PURE__ */ jsx65("span", { css: loadingDot }),
14132
+ /* @__PURE__ */ jsx65("span", { css: loadingDot }),
14133
+ /* @__PURE__ */ jsx65("span", { css: loadingDot })
14076
14134
  ] });
14077
14135
  };
14078
14136
 
@@ -14080,8 +14138,8 @@ var LoadingIndicator = ({ ...props }) => {
14080
14138
  import { useCallback as useCallback2, useEffect as useEffect6, useRef as useRef4 } from "react";
14081
14139
 
14082
14140
  // src/components/LoadingOverlay/LoadingOverlay.styles.ts
14083
- import { css as css55 } from "@emotion/react";
14084
- var loadingOverlayContainer = css55`
14141
+ import { css as css56 } from "@emotion/react";
14142
+ var loadingOverlayContainer = css56`
14085
14143
  position: absolute;
14086
14144
  inset: 0;
14087
14145
  overflow: hidden;
@@ -14089,30 +14147,30 @@ var loadingOverlayContainer = css55`
14089
14147
  padding: var(--spacing-xl);
14090
14148
  overflow-y: auto;
14091
14149
  `;
14092
- var loadingOverlayVisible = css55`
14150
+ var loadingOverlayVisible = css56`
14093
14151
  display: flex;
14094
14152
  `;
14095
- var loadingOverlayHidden = css55`
14153
+ var loadingOverlayHidden = css56`
14096
14154
  display: none;
14097
14155
  `;
14098
- var loadingOverlayBackground = (bgColor) => css55`
14156
+ var loadingOverlayBackground = (bgColor) => css56`
14099
14157
  background: ${bgColor};
14100
14158
  opacity: 0.92;
14101
14159
  position: absolute;
14102
14160
  inset: 0 0;
14103
14161
  `;
14104
- var loadingOverlayBody = css55`
14162
+ var loadingOverlayBody = css56`
14105
14163
  align-items: center;
14106
14164
  display: flex;
14107
14165
  flex-direction: column;
14108
14166
  `;
14109
- var loadingOverlayMessage = css55`
14167
+ var loadingOverlayMessage = css56`
14110
14168
  color: var(--gray-600);
14111
14169
  margin: var(--spacing-base) 0 0;
14112
14170
  `;
14113
14171
 
14114
14172
  // src/components/LoadingOverlay/LoadingOverlay.tsx
14115
- import { jsx as jsx65, jsxs as jsxs41 } from "@emotion/react/jsx-runtime";
14173
+ import { jsx as jsx66, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
14116
14174
  var LoadingOverlay = ({
14117
14175
  isActive,
14118
14176
  statusMessage,
@@ -14138,7 +14196,7 @@ var LoadingOverlay = ({
14138
14196
  (_f = lottieRef.current) == null ? void 0 : _f.stop();
14139
14197
  }
14140
14198
  }, [isPaused]);
14141
- return /* @__PURE__ */ jsxs41(
14199
+ return /* @__PURE__ */ jsxs42(
14142
14200
  "div",
14143
14201
  {
14144
14202
  role: "alert",
@@ -14146,9 +14204,9 @@ var LoadingOverlay = ({
14146
14204
  "aria-hidden": !isActive,
14147
14205
  "aria-busy": isActive && !isPaused,
14148
14206
  children: [
14149
- /* @__PURE__ */ jsx65("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
14150
- /* @__PURE__ */ jsx65("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */ jsxs41("div", { css: loadingOverlayBody, children: [
14151
- /* @__PURE__ */ jsx65(
14207
+ /* @__PURE__ */ jsx66("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
14208
+ /* @__PURE__ */ jsx66("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */ jsxs42("div", { css: loadingOverlayBody, children: [
14209
+ /* @__PURE__ */ jsx66(
14152
14210
  AnimationFile,
14153
14211
  {
14154
14212
  lottieRef,
@@ -14163,15 +14221,15 @@ var LoadingOverlay = ({
14163
14221
  }
14164
14222
  }
14165
14223
  ),
14166
- statusMessage ? /* @__PURE__ */ jsx65("div", { css: loadingOverlayMessage, children: statusMessage }) : null,
14167
- /* @__PURE__ */ jsx65("div", { css: { width: "100%", marginTop: "var(--spacing-md)" }, children })
14224
+ statusMessage ? /* @__PURE__ */ jsx66("div", { css: loadingOverlayMessage, children: statusMessage }) : null,
14225
+ /* @__PURE__ */ jsx66("div", { css: { width: "100%", marginTop: "var(--spacing-md)" }, children })
14168
14226
  ] }) })
14169
14227
  ]
14170
14228
  }
14171
14229
  );
14172
14230
  };
14173
14231
  var LoadingIcon = ({ height, width, ...props }) => {
14174
- return /* @__PURE__ */ jsx65(
14232
+ return /* @__PURE__ */ jsx66(
14175
14233
  "svg",
14176
14234
  {
14177
14235
  "data-testid": "svg",
@@ -14182,9 +14240,9 @@ var LoadingIcon = ({ height, width, ...props }) => {
14182
14240
  stroke: "currentColor",
14183
14241
  ...props,
14184
14242
  "data-test-id": "loading-icon",
14185
- children: /* @__PURE__ */ jsx65("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxs41("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
14186
- /* @__PURE__ */ jsx65("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
14187
- /* @__PURE__ */ jsx65("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ jsx65(
14243
+ children: /* @__PURE__ */ jsx66("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxs42("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
14244
+ /* @__PURE__ */ jsx66("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
14245
+ /* @__PURE__ */ jsx66("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ jsx66(
14188
14246
  "animateTransform",
14189
14247
  {
14190
14248
  attributeName: "transform",
@@ -14201,12 +14259,12 @@ var LoadingIcon = ({ height, width, ...props }) => {
14201
14259
  };
14202
14260
 
14203
14261
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
14204
- import { css as css57 } from "@emotion/react";
14262
+ import { css as css58 } from "@emotion/react";
14205
14263
  import { CgAdd as CgAdd2, CgChevronRight as CgChevronRight2 } from "react-icons/cg";
14206
14264
 
14207
14265
  // src/components/Tiles/styles/IntegrationTile.styles.ts
14208
- import { css as css56 } from "@emotion/react";
14209
- var IntegrationTileContainer = css56`
14266
+ import { css as css57 } from "@emotion/react";
14267
+ var IntegrationTileContainer = css57`
14210
14268
  align-items: center;
14211
14269
  box-sizing: border-box;
14212
14270
  border-radius: var(--rounded-base);
@@ -14237,22 +14295,22 @@ var IntegrationTileContainer = css56`
14237
14295
  }
14238
14296
  }
14239
14297
  `;
14240
- var IntegrationTileBtnDashedBorder = css56`
14298
+ var IntegrationTileBtnDashedBorder = css57`
14241
14299
  border: 1px dashed var(--brand-secondary-1);
14242
14300
  `;
14243
- var IntegrationTileTitle = css56`
14301
+ var IntegrationTileTitle = css57`
14244
14302
  display: block;
14245
14303
  font-weight: var(--fw-bold);
14246
14304
  margin: 0 0 var(--spacing-base);
14247
14305
  max-width: 13rem;
14248
14306
  `;
14249
- var IntegrationTitleLogo = css56`
14307
+ var IntegrationTitleLogo = css57`
14250
14308
  display: block;
14251
14309
  max-width: 10rem;
14252
14310
  max-height: 4rem;
14253
14311
  margin: 0 auto;
14254
14312
  `;
14255
- var IntegrationTileName = css56`
14313
+ var IntegrationTileName = css57`
14256
14314
  color: var(--gray-500);
14257
14315
  display: -webkit-box;
14258
14316
  -webkit-line-clamp: 1;
@@ -14265,7 +14323,7 @@ var IntegrationTileName = css56`
14265
14323
  position: absolute;
14266
14324
  bottom: calc(var(--spacing-base) * 3.8);
14267
14325
  `;
14268
- var IntegrationAddedText = css56`
14326
+ var IntegrationAddedText = css57`
14269
14327
  align-items: center;
14270
14328
  background: var(--brand-secondary-3);
14271
14329
  border-radius: 0 var(--rounded-md) 0 var(--rounded-md);
@@ -14280,7 +14338,7 @@ var IntegrationAddedText = css56`
14280
14338
  top: 0;
14281
14339
  right: 0;
14282
14340
  `;
14283
- var IntegrationCustomBadgeText = (theme) => css56`
14341
+ var IntegrationCustomBadgeText = (theme) => css57`
14284
14342
  align-items: center;
14285
14343
  border-radius: var(--rounded-sm) 0 var(--rounded-sm) 0;
14286
14344
  background: ${theme === "gray" ? "var(--brand-secondary-2)" : "var(--brand-secondary-1)"};
@@ -14294,26 +14352,26 @@ var IntegrationCustomBadgeText = (theme) => css56`
14294
14352
  top: 0;
14295
14353
  left: 0;
14296
14354
  `;
14297
- var IntegrationAuthorBadgeIcon = css56`
14355
+ var IntegrationAuthorBadgeIcon = css57`
14298
14356
  position: absolute;
14299
14357
  bottom: var(--spacing-sm);
14300
14358
  right: var(--spacing-xs);
14301
14359
  max-height: 1rem;
14302
14360
  `;
14303
- var IntegrationTitleFakeButton = css56`
14361
+ var IntegrationTitleFakeButton = css57`
14304
14362
  font-size: var(--fs-xs);
14305
14363
  gap: var(--spacing-sm);
14306
14364
  padding: var(--spacing-sm) var(--spacing-base);
14307
14365
  text-transform: uppercase;
14308
14366
  `;
14309
- var IntegrationTileFloatingButton = css56`
14367
+ var IntegrationTileFloatingButton = css57`
14310
14368
  position: absolute;
14311
14369
  bottom: var(--spacing-base);
14312
14370
  gap: var(--spacing-sm);
14313
14371
  font-size: var(--fs-xs);
14314
14372
  overflow: hidden;
14315
14373
  `;
14316
- var IntegrationTileFloatingButtonMessage = (clicked) => css56`
14374
+ var IntegrationTileFloatingButtonMessage = (clicked) => css57`
14317
14375
  strong,
14318
14376
  span:first-of-type {
14319
14377
  transition: opacity var(--duration-fast) var(--timing-ease-out);
@@ -14334,7 +14392,7 @@ var IntegrationTileFloatingButtonMessage = (clicked) => css56`
14334
14392
  `;
14335
14393
 
14336
14394
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
14337
- import { jsx as jsx66, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
14395
+ import { jsx as jsx67, jsxs as jsxs43 } from "@emotion/react/jsx-runtime";
14338
14396
  var CreateTeamIntegrationTile = ({
14339
14397
  title = "Create a custom integration for your team",
14340
14398
  buttonText = "Add Integration",
@@ -14342,9 +14400,9 @@ var CreateTeamIntegrationTile = ({
14342
14400
  asDeepLink = false,
14343
14401
  ...props
14344
14402
  }) => {
14345
- return /* @__PURE__ */ jsxs42("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
14346
- /* @__PURE__ */ jsx66("span", { css: IntegrationTileTitle, title, children: title }),
14347
- /* @__PURE__ */ jsxs42(
14403
+ return /* @__PURE__ */ jsxs43("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
14404
+ /* @__PURE__ */ jsx67("span", { css: IntegrationTileTitle, title, children: title }),
14405
+ /* @__PURE__ */ jsxs43(
14348
14406
  Button,
14349
14407
  {
14350
14408
  buttonType: "tertiary",
@@ -14354,23 +14412,23 @@ var CreateTeamIntegrationTile = ({
14354
14412
  css: IntegrationTitleFakeButton,
14355
14413
  children: [
14356
14414
  buttonText,
14357
- asDeepLink ? /* @__PURE__ */ jsx66(
14415
+ asDeepLink ? /* @__PURE__ */ jsx67(
14358
14416
  Icon,
14359
14417
  {
14360
14418
  icon: CgChevronRight2,
14361
14419
  iconColor: "currentColor",
14362
14420
  size: 20,
14363
- css: css57`
14421
+ css: css58`
14364
14422
  order: 1;
14365
14423
  `
14366
14424
  }
14367
- ) : /* @__PURE__ */ jsx66(
14425
+ ) : /* @__PURE__ */ jsx67(
14368
14426
  Icon,
14369
14427
  {
14370
14428
  icon: CgAdd2,
14371
14429
  iconColor: "currentColor",
14372
14430
  size: 16,
14373
- css: css57`
14431
+ css: css58`
14374
14432
  order: -1;
14375
14433
  `
14376
14434
  }
@@ -14383,31 +14441,31 @@ var CreateTeamIntegrationTile = ({
14383
14441
 
14384
14442
  // src/components/Tiles/IntegrationBadges.tsx
14385
14443
  import { CgCheck as CgCheck3, CgLock, CgSandClock } from "react-icons/cg";
14386
- import { jsx as jsx67, jsxs as jsxs43 } from "@emotion/react/jsx-runtime";
14444
+ import { jsx as jsx68, jsxs as jsxs44 } from "@emotion/react/jsx-runtime";
14387
14445
  var IntegrationedAddedBadge = ({ text = "Added" }) => {
14388
- return /* @__PURE__ */ jsxs43("span", { "data-testid": "integration-icon-installed", css: IntegrationAddedText, children: [
14389
- /* @__PURE__ */ jsx67(Icon, { icon: CgCheck3, iconColor: "currentColor" }),
14446
+ return /* @__PURE__ */ jsxs44("span", { "data-testid": "integration-icon-installed", css: IntegrationAddedText, children: [
14447
+ /* @__PURE__ */ jsx68(Icon, { icon: CgCheck3, iconColor: "currentColor" }),
14390
14448
  text
14391
14449
  ] });
14392
14450
  };
14393
14451
  var IntegrationCustomBadge = ({ text = "Custom" }) => {
14394
- return /* @__PURE__ */ jsx67("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
14452
+ return /* @__PURE__ */ jsx68("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
14395
14453
  };
14396
14454
  var IntegrationPremiumBadge = ({ text = "Premium" }) => {
14397
- return /* @__PURE__ */ jsxs43("span", { css: IntegrationCustomBadgeText("blue"), children: [
14398
- /* @__PURE__ */ jsx67(Icon, { icon: CgLock, iconColor: "currentColor", size: 12 }),
14455
+ return /* @__PURE__ */ jsxs44("span", { css: IntegrationCustomBadgeText("blue"), children: [
14456
+ /* @__PURE__ */ jsx68(Icon, { icon: CgLock, iconColor: "currentColor", size: 12 }),
14399
14457
  text
14400
14458
  ] });
14401
14459
  };
14402
14460
  var IntegrationComingSoonBadge = ({ text = "Coming soon" }) => {
14403
- return /* @__PURE__ */ jsxs43("span", { css: IntegrationCustomBadgeText("blue"), children: [
14404
- /* @__PURE__ */ jsx67(Icon, { icon: CgSandClock, iconColor: "currentColor", size: 12 }),
14461
+ return /* @__PURE__ */ jsxs44("span", { css: IntegrationCustomBadgeText("blue"), children: [
14462
+ /* @__PURE__ */ jsx68(Icon, { icon: CgSandClock, iconColor: "currentColor", size: 12 }),
14405
14463
  text
14406
14464
  ] });
14407
14465
  };
14408
14466
 
14409
14467
  // src/components/Tiles/ResolveIcon.tsx
14410
- import { jsx as jsx68 } from "@emotion/react/jsx-runtime";
14468
+ import { jsx as jsx69 } from "@emotion/react/jsx-runtime";
14411
14469
  var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
14412
14470
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
14413
14471
  const mapClassName = {
@@ -14415,13 +14473,13 @@ var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
14415
14473
  logo: IntegrationTitleLogo
14416
14474
  };
14417
14475
  if (icon) {
14418
- return CompIcon ? /* @__PURE__ */ jsx68(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ jsx68("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
14476
+ return CompIcon ? /* @__PURE__ */ jsx69(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ jsx69("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
14419
14477
  }
14420
14478
  return null;
14421
14479
  };
14422
14480
 
14423
14481
  // src/components/Tiles/EditTeamIntegrationTile.tsx
14424
- import { jsx as jsx69, jsxs as jsxs44 } from "@emotion/react/jsx-runtime";
14482
+ import { jsx as jsx70, jsxs as jsxs45 } from "@emotion/react/jsx-runtime";
14425
14483
  var EditTeamIntegrationTile = ({
14426
14484
  id,
14427
14485
  icon,
@@ -14430,17 +14488,17 @@ var EditTeamIntegrationTile = ({
14430
14488
  isPublic,
14431
14489
  canEdit = false
14432
14490
  }) => {
14433
- return /* @__PURE__ */ jsxs44(
14491
+ return /* @__PURE__ */ jsxs45(
14434
14492
  "div",
14435
14493
  {
14436
14494
  css: IntegrationTileContainer,
14437
14495
  "data-testid": "configure-integration-container",
14438
14496
  "integration-id": `${id.toLocaleLowerCase()}`,
14439
14497
  children: [
14440
- /* @__PURE__ */ jsx69(ResolveIcon, { icon, name, "data-test-id": "integration-logo" }),
14441
- /* @__PURE__ */ jsx69("span", { css: IntegrationTileName, "data-test-id": "integration-card-name", children: name }),
14442
- !isPublic ? /* @__PURE__ */ jsx69(IntegrationCustomBadge, {}) : null,
14443
- canEdit ? /* @__PURE__ */ jsx69(
14498
+ /* @__PURE__ */ jsx70(ResolveIcon, { icon, name, "data-test-id": "integration-logo" }),
14499
+ /* @__PURE__ */ jsx70("span", { css: IntegrationTileName, "data-test-id": "integration-card-name", children: name }),
14500
+ !isPublic ? /* @__PURE__ */ jsx70(IntegrationCustomBadge, {}) : null,
14501
+ canEdit ? /* @__PURE__ */ jsx70(
14444
14502
  Button,
14445
14503
  {
14446
14504
  buttonType: "unimportant",
@@ -14458,10 +14516,10 @@ var EditTeamIntegrationTile = ({
14458
14516
  };
14459
14517
 
14460
14518
  // src/components/Tiles/IntegrationComingSoon.tsx
14461
- import { css as css58 } from "@emotion/react";
14519
+ import { css as css59 } from "@emotion/react";
14462
14520
  import { useEffect as useEffect7, useState as useState6 } from "react";
14463
14521
  import { CgHeart } from "react-icons/cg";
14464
- import { jsx as jsx70, jsxs as jsxs45 } from "@emotion/react/jsx-runtime";
14522
+ import { jsx as jsx71, jsxs as jsxs46 } from "@emotion/react/jsx-runtime";
14465
14523
  var IntegrationComingSoon = ({
14466
14524
  name,
14467
14525
  icon,
@@ -14483,17 +14541,17 @@ var IntegrationComingSoon = ({
14483
14541
  };
14484
14542
  }
14485
14543
  }, [upVote, setUpVote, timing]);
14486
- return /* @__PURE__ */ jsxs45(
14544
+ return /* @__PURE__ */ jsxs46(
14487
14545
  "div",
14488
14546
  {
14489
14547
  css: IntegrationTileContainer,
14490
14548
  "data-testid": `coming-soon-${id.toLowerCase()}-integration`,
14491
14549
  ...props,
14492
14550
  children: [
14493
- /* @__PURE__ */ jsx70(IntegrationComingSoonBadge, {}),
14494
- /* @__PURE__ */ jsx70(ResolveIcon, { icon, name }),
14495
- /* @__PURE__ */ jsx70("span", { css: IntegrationTileName, title: name, children: name }),
14496
- /* @__PURE__ */ jsxs45(
14551
+ /* @__PURE__ */ jsx71(IntegrationComingSoonBadge, {}),
14552
+ /* @__PURE__ */ jsx71(ResolveIcon, { icon, name }),
14553
+ /* @__PURE__ */ jsx71("span", { css: IntegrationTileName, title: name, children: name }),
14554
+ /* @__PURE__ */ jsxs46(
14497
14555
  Button,
14498
14556
  {
14499
14557
  buttonType: "unimportant",
@@ -14503,19 +14561,19 @@ var IntegrationComingSoon = ({
14503
14561
  role: "link",
14504
14562
  css: [IntegrationTileFloatingButton, IntegrationTileFloatingButtonMessage(upVote)],
14505
14563
  children: [
14506
- /* @__PURE__ */ jsx70("strong", { children: "+1" }),
14507
- /* @__PURE__ */ jsx70(
14564
+ /* @__PURE__ */ jsx71("strong", { children: "+1" }),
14565
+ /* @__PURE__ */ jsx71(
14508
14566
  "span",
14509
14567
  {
14510
- css: css58`
14568
+ css: css59`
14511
14569
  text-transform: uppercase;
14512
14570
  color: var(--gray-500);
14513
14571
  `,
14514
14572
  children: "(I want this)"
14515
14573
  }
14516
14574
  ),
14517
- /* @__PURE__ */ jsxs45("span", { "aria-hidden": !upVote, children: [
14518
- /* @__PURE__ */ jsx70(Icon, { icon: CgHeart, iconColor: "currentColor", size: 18 }),
14575
+ /* @__PURE__ */ jsxs46("span", { "aria-hidden": !upVote, children: [
14576
+ /* @__PURE__ */ jsx71(Icon, { icon: CgHeart, iconColor: "currentColor", size: 18 }),
14519
14577
  "Thanks!"
14520
14578
  ] })
14521
14579
  ]
@@ -14527,8 +14585,8 @@ var IntegrationComingSoon = ({
14527
14585
  };
14528
14586
 
14529
14587
  // src/components/Tiles/styles/IntegrationLoadingTile.styles.ts
14530
- import { css as css59 } from "@emotion/react";
14531
- var IntegrationLoadingTileContainer = css59`
14588
+ import { css as css60 } from "@emotion/react";
14589
+ var IntegrationLoadingTileContainer = css60`
14532
14590
  align-items: center;
14533
14591
  box-sizing: border-box;
14534
14592
  border-radius: var(--rounded-base);
@@ -14555,39 +14613,39 @@ var IntegrationLoadingTileContainer = css59`
14555
14613
  }
14556
14614
  }
14557
14615
  `;
14558
- var IntegrationLoadingTileImg = css59`
14616
+ var IntegrationLoadingTileImg = css60`
14559
14617
  width: 10rem;
14560
14618
  height: 4rem;
14561
14619
  margin: 0 auto;
14562
14620
  `;
14563
- var IntegrationLoadingTileText = css59`
14621
+ var IntegrationLoadingTileText = css60`
14564
14622
  width: 5rem;
14565
14623
  height: var(--spacing-sm);
14566
14624
  margin: var(--spacing-sm) 0;
14567
14625
  `;
14568
- var IntegrationLoadingFrame = css59`
14626
+ var IntegrationLoadingFrame = css60`
14569
14627
  animation: ${skeletonLoading} 1s linear infinite alternate;
14570
14628
  border-radius: var(--rounded-base);
14571
14629
  `;
14572
14630
 
14573
14631
  // src/components/Tiles/IntegrationLoadingTile.tsx
14574
- import { Fragment as Fragment8, jsx as jsx71, jsxs as jsxs46 } from "@emotion/react/jsx-runtime";
14632
+ import { Fragment as Fragment8, jsx as jsx72, jsxs as jsxs47 } from "@emotion/react/jsx-runtime";
14575
14633
  var IntegrationLoadingTile = ({ count = 1 }) => {
14576
14634
  const componentCount = Array.from(Array(count).keys());
14577
- return /* @__PURE__ */ jsx71(Fragment8, { children: componentCount.map((i) => /* @__PURE__ */ jsxs46("div", { css: IntegrationLoadingTileContainer, children: [
14578
- /* @__PURE__ */ jsx71("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
14579
- /* @__PURE__ */ jsx71("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
14635
+ return /* @__PURE__ */ jsx72(Fragment8, { children: componentCount.map((i) => /* @__PURE__ */ jsxs47("div", { css: IntegrationLoadingTileContainer, children: [
14636
+ /* @__PURE__ */ jsx72("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
14637
+ /* @__PURE__ */ jsx72("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
14580
14638
  ] }, i)) });
14581
14639
  };
14582
14640
 
14583
14641
  // src/components/Tiles/styles/IntegrationModalIcon.styles.ts
14584
- import { css as css60 } from "@emotion/react";
14585
- var IntegrationModalIconContainer = css60`
14642
+ import { css as css61 } from "@emotion/react";
14643
+ var IntegrationModalIconContainer = css61`
14586
14644
  position: relative;
14587
14645
  width: 50px;
14588
14646
  margin-bottom: var(--spacing-base);
14589
14647
  `;
14590
- var IntegrationModalImage = css60`
14648
+ var IntegrationModalImage = css61`
14591
14649
  position: absolute;
14592
14650
  inset: 0;
14593
14651
  margin: auto;
@@ -14596,7 +14654,7 @@ var IntegrationModalImage = css60`
14596
14654
  `;
14597
14655
 
14598
14656
  // src/components/Tiles/IntegrationModalIcon.tsx
14599
- import { jsx as jsx72, jsxs as jsxs47 } from "@emotion/react/jsx-runtime";
14657
+ import { jsx as jsx73, jsxs as jsxs48 } from "@emotion/react/jsx-runtime";
14600
14658
  var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
14601
14659
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
14602
14660
  let iconSrc = void 0;
@@ -14612,9 +14670,9 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
14612
14670
  }
14613
14671
  }
14614
14672
  }
14615
- return /* @__PURE__ */ jsxs47("div", { css: IntegrationModalIconContainer, children: [
14616
- /* @__PURE__ */ jsxs47("svg", { width: "49", height: "57", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
14617
- /* @__PURE__ */ jsx72(
14673
+ return /* @__PURE__ */ jsxs48("div", { css: IntegrationModalIconContainer, children: [
14674
+ /* @__PURE__ */ jsxs48("svg", { width: "49", height: "57", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
14675
+ /* @__PURE__ */ jsx73(
14618
14676
  "path",
14619
14677
  {
14620
14678
  d: "m24.367 1.813 22.786 13.322V41.78L24.367 55.102 1.581 41.78V15.135L24.367 1.814Z",
@@ -14623,12 +14681,12 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
14623
14681
  strokeWidth: "2"
14624
14682
  }
14625
14683
  ),
14626
- /* @__PURE__ */ jsx72("defs", { children: /* @__PURE__ */ jsxs47("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
14627
- /* @__PURE__ */ jsx72("stop", { stopColor: "#1768B2" }),
14628
- /* @__PURE__ */ jsx72("stop", { offset: "1", stopColor: "#B3EFE4" })
14684
+ /* @__PURE__ */ jsx73("defs", { children: /* @__PURE__ */ jsxs48("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
14685
+ /* @__PURE__ */ jsx73("stop", { stopColor: "#1768B2" }),
14686
+ /* @__PURE__ */ jsx73("stop", { offset: "1", stopColor: "#B3EFE4" })
14629
14687
  ] }) })
14630
14688
  ] }),
14631
- CompIcon ? /* @__PURE__ */ jsx72(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : iconSrc ? /* @__PURE__ */ jsx72(
14689
+ CompIcon ? /* @__PURE__ */ jsx73(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : iconSrc ? /* @__PURE__ */ jsx73(
14632
14690
  "img",
14633
14691
  {
14634
14692
  src: iconSrc,
@@ -14642,7 +14700,7 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
14642
14700
  };
14643
14701
 
14644
14702
  // src/components/Tiles/IntegrationTile.tsx
14645
- import { jsx as jsx73, jsxs as jsxs48 } from "@emotion/react/jsx-runtime";
14703
+ import { jsx as jsx74, jsxs as jsxs49 } from "@emotion/react/jsx-runtime";
14646
14704
  var IntegrationTile = ({
14647
14705
  id,
14648
14706
  icon,
@@ -14654,7 +14712,7 @@ var IntegrationTile = ({
14654
14712
  authorIcon,
14655
14713
  ...btnProps
14656
14714
  }) => {
14657
- return /* @__PURE__ */ jsxs48(
14715
+ return /* @__PURE__ */ jsxs49(
14658
14716
  "button",
14659
14717
  {
14660
14718
  type: "button",
@@ -14664,20 +14722,20 @@ var IntegrationTile = ({
14664
14722
  "aria-label": name,
14665
14723
  ...btnProps,
14666
14724
  children: [
14667
- /* @__PURE__ */ jsx73(ResolveIcon, { icon, name }),
14668
- /* @__PURE__ */ jsx73("span", { css: IntegrationTileName, title: name, children: name }),
14669
- isInstalled ? /* @__PURE__ */ jsx73(IntegrationedAddedBadge, {}) : null,
14670
- requiedEntitlement && isPublic ? /* @__PURE__ */ jsx73(IntegrationPremiumBadge, {}) : null,
14671
- !isPublic ? /* @__PURE__ */ jsx73(IntegrationCustomBadge, {}) : null,
14672
- authorIcon ? /* @__PURE__ */ jsx73(ResolveIcon, { icon: authorIcon, name }) : null
14725
+ /* @__PURE__ */ jsx74(ResolveIcon, { icon, name }),
14726
+ /* @__PURE__ */ jsx74("span", { css: IntegrationTileName, title: name, children: name }),
14727
+ isInstalled ? /* @__PURE__ */ jsx74(IntegrationedAddedBadge, {}) : null,
14728
+ requiedEntitlement && isPublic ? /* @__PURE__ */ jsx74(IntegrationPremiumBadge, {}) : null,
14729
+ !isPublic ? /* @__PURE__ */ jsx74(IntegrationCustomBadge, {}) : null,
14730
+ authorIcon ? /* @__PURE__ */ jsx74(ResolveIcon, { icon: authorIcon, name }) : null
14673
14731
  ]
14674
14732
  }
14675
14733
  );
14676
14734
  };
14677
14735
 
14678
14736
  // src/components/Tiles/styles/Tile.styles.ts
14679
- import { css as css61 } from "@emotion/react";
14680
- var Tile = css61`
14737
+ import { css as css62 } from "@emotion/react";
14738
+ var Tile = css62`
14681
14739
  background: var(--white);
14682
14740
  border: none;
14683
14741
  cursor: pointer;
@@ -14697,25 +14755,25 @@ var Tile = css61`
14697
14755
  `;
14698
14756
 
14699
14757
  // src/components/Tiles/Tile.tsx
14700
- import { jsx as jsx74 } from "@emotion/react/jsx-runtime";
14758
+ import { jsx as jsx75 } from "@emotion/react/jsx-runtime";
14701
14759
  var Tile2 = ({ children, ...props }) => {
14702
- return /* @__PURE__ */ jsx74("button", { type: "button", css: Tile, ...props, children });
14760
+ return /* @__PURE__ */ jsx75("button", { type: "button", css: Tile, ...props, children });
14703
14761
  };
14704
14762
 
14705
14763
  // src/components/Tiles/styles/TileContainer.styles.ts
14706
- import { css as css62 } from "@emotion/react";
14707
- var TileContainerWrapper = (theme, padding) => css62`
14764
+ import { css as css63 } from "@emotion/react";
14765
+ var TileContainerWrapper = (theme, padding) => css63`
14708
14766
  background: ${theme};
14709
14767
  padding: ${padding != "none" ? `var(--spacing-${padding})` : "0"};
14710
14768
  `;
14711
- var TileContainerInner = (gap, templateColumns) => css62`
14769
+ var TileContainerInner = (gap, templateColumns) => css63`
14712
14770
  display: grid;
14713
14771
  grid-template-columns: ${templateColumns};
14714
14772
  gap: var(--spacing-${gap});
14715
14773
  `;
14716
14774
 
14717
14775
  // src/components/Tiles/TileContainer.tsx
14718
- import { jsx as jsx75 } from "@emotion/react/jsx-runtime";
14776
+ import { jsx as jsx76 } from "@emotion/react/jsx-runtime";
14719
14777
  var TileContainer = ({
14720
14778
  bgColor = "var(--brand-secondary-2)",
14721
14779
  containerPadding = "base",
@@ -14724,25 +14782,25 @@ var TileContainer = ({
14724
14782
  children,
14725
14783
  ...props
14726
14784
  }) => {
14727
- return /* @__PURE__ */ jsx75("div", { css: TileContainerWrapper(bgColor, containerPadding), ...props, children: /* @__PURE__ */ jsx75("div", { css: TileContainerInner(gap, gridTemplateColumns), children }) });
14785
+ return /* @__PURE__ */ jsx76("div", { css: TileContainerWrapper(bgColor, containerPadding), ...props, children: /* @__PURE__ */ jsx76("div", { css: TileContainerInner(gap, gridTemplateColumns), children }) });
14728
14786
  };
14729
14787
 
14730
14788
  // src/components/Tiles/styles/TileText.styles.ts
14731
- import { css as css63 } from "@emotion/react";
14732
- var TileHeading = css63`
14789
+ import { css as css64 } from "@emotion/react";
14790
+ var TileHeading = css64`
14733
14791
  font-size: var(--fs-base);
14734
14792
  `;
14735
- var TileText = css63`
14793
+ var TileText = css64`
14736
14794
  color: var(--gray-500);
14737
14795
  font-size: var(--fs-sm);
14738
14796
  line-height: 1.2;
14739
14797
  `;
14740
14798
 
14741
14799
  // src/components/Tiles/TileText.tsx
14742
- import { jsx as jsx76 } from "@emotion/react/jsx-runtime";
14800
+ import { jsx as jsx77 } from "@emotion/react/jsx-runtime";
14743
14801
  var TileText2 = ({ as = "heading", children, ...props }) => {
14744
14802
  const isHeading = as === "heading";
14745
- return /* @__PURE__ */ jsx76(
14803
+ return /* @__PURE__ */ jsx77(
14746
14804
  "span",
14747
14805
  {
14748
14806
  role: isHeading ? "heading" : void 0,
@@ -14754,39 +14812,39 @@ var TileText2 = ({ as = "heading", children, ...props }) => {
14754
14812
  };
14755
14813
 
14756
14814
  // src/components/Modal/IntegrationModalHeader.styles.ts
14757
- import { css as css64 } from "@emotion/react";
14758
- var IntegrationModalHeaderSVGBackground = css64`
14815
+ import { css as css65 } from "@emotion/react";
14816
+ var IntegrationModalHeaderSVGBackground = css65`
14759
14817
  position: absolute;
14760
14818
  top: 0;
14761
14819
  left: 0;
14762
14820
  `;
14763
- var IntegrationModalHeaderGroup = css64`
14821
+ var IntegrationModalHeaderGroup = css65`
14764
14822
  align-items: center;
14765
14823
  display: flex;
14766
14824
  gap: var(--spacing-sm);
14767
14825
  margin: 0 0 var(--spacing-md);
14768
14826
  position: relative;
14769
14827
  `;
14770
- var IntegrationModalHeaderTitleGroup = css64`
14828
+ var IntegrationModalHeaderTitleGroup = css65`
14771
14829
  align-items: center;
14772
14830
  display: flex;
14773
14831
  gap: var(--spacing-base);
14774
14832
  `;
14775
- var IntegrationModalHeaderTitle = css64`
14833
+ var IntegrationModalHeaderTitle = css65`
14776
14834
  margin-top: 0;
14777
14835
  `;
14778
- var IntegrationModalHeaderMenuPlacement = css64`
14836
+ var IntegrationModalHeaderMenuPlacement = css65`
14779
14837
  margin-bottom: var(--spacing-base);
14780
14838
  `;
14781
- var IntegrationModalHeaderContentWrapper = css64`
14839
+ var IntegrationModalHeaderContentWrapper = css65`
14782
14840
  position: relative;
14783
14841
  z-index: var(--z-10);
14784
14842
  `;
14785
14843
 
14786
14844
  // src/components/Modal/IntegrationModalHeader.tsx
14787
- import { Fragment as Fragment9, jsx as jsx77, jsxs as jsxs49 } from "@emotion/react/jsx-runtime";
14845
+ import { Fragment as Fragment9, jsx as jsx78, jsxs as jsxs50 } from "@emotion/react/jsx-runtime";
14788
14846
  var HexModalBackground = ({ ...props }) => {
14789
- return /* @__PURE__ */ jsxs49(
14847
+ return /* @__PURE__ */ jsxs50(
14790
14848
  "svg",
14791
14849
  {
14792
14850
  width: "236",
@@ -14796,7 +14854,7 @@ var HexModalBackground = ({ ...props }) => {
14796
14854
  xmlns: "http://www.w3.org/2000/svg",
14797
14855
  ...props,
14798
14856
  children: [
14799
- /* @__PURE__ */ jsx77(
14857
+ /* @__PURE__ */ jsx78(
14800
14858
  "path",
14801
14859
  {
14802
14860
  fillRule: "evenodd",
@@ -14805,7 +14863,7 @@ var HexModalBackground = ({ ...props }) => {
14805
14863
  fill: "url(#paint0_linear_196_2737)"
14806
14864
  }
14807
14865
  ),
14808
- /* @__PURE__ */ jsx77("defs", { children: /* @__PURE__ */ jsxs49(
14866
+ /* @__PURE__ */ jsx78("defs", { children: /* @__PURE__ */ jsxs50(
14809
14867
  "linearGradient",
14810
14868
  {
14811
14869
  id: "paint0_linear_196_2737",
@@ -14815,8 +14873,8 @@ var HexModalBackground = ({ ...props }) => {
14815
14873
  y2: "-95.2742",
14816
14874
  gradientUnits: "userSpaceOnUse",
14817
14875
  children: [
14818
- /* @__PURE__ */ jsx77("stop", { stopColor: "#81DCDE" }),
14819
- /* @__PURE__ */ jsx77("stop", { offset: "1", stopColor: "#428ED4" })
14876
+ /* @__PURE__ */ jsx78("stop", { stopColor: "#81DCDE" }),
14877
+ /* @__PURE__ */ jsx78("stop", { offset: "1", stopColor: "#428ED4" })
14820
14878
  ]
14821
14879
  }
14822
14880
  ) })
@@ -14825,17 +14883,17 @@ var HexModalBackground = ({ ...props }) => {
14825
14883
  );
14826
14884
  };
14827
14885
  var IntegrationModalHeader = ({ icon, name, menu: menu2, children }) => {
14828
- return /* @__PURE__ */ jsxs49(Fragment9, { children: [
14829
- /* @__PURE__ */ jsx77(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
14830
- /* @__PURE__ */ jsx77("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ jsxs49("div", { css: IntegrationModalHeaderTitleGroup, children: [
14831
- icon ? /* @__PURE__ */ jsx77(IntegrationModalIcon, { icon, name: name || "" }) : null,
14832
- /* @__PURE__ */ jsx77(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-test-id": "integration-modal-title", children: name || "Create Team Integration" }),
14833
- menu2 ? /* @__PURE__ */ jsxs49("div", { css: IntegrationModalHeaderMenuPlacement, children: [
14886
+ return /* @__PURE__ */ jsxs50(Fragment9, { children: [
14887
+ /* @__PURE__ */ jsx78(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
14888
+ /* @__PURE__ */ jsx78("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ jsxs50("div", { css: IntegrationModalHeaderTitleGroup, children: [
14889
+ icon ? /* @__PURE__ */ jsx78(IntegrationModalIcon, { icon, name: name || "" }) : null,
14890
+ /* @__PURE__ */ jsx78(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-test-id": "integration-modal-title", children: name || "Create Team Integration" }),
14891
+ menu2 ? /* @__PURE__ */ jsxs50("div", { css: IntegrationModalHeaderMenuPlacement, children: [
14834
14892
  menu2,
14835
14893
  " "
14836
14894
  ] }) : null
14837
14895
  ] }) }),
14838
- /* @__PURE__ */ jsx77("div", { css: IntegrationModalHeaderContentWrapper, children })
14896
+ /* @__PURE__ */ jsx78("div", { css: IntegrationModalHeaderContentWrapper, children })
14839
14897
  ] });
14840
14898
  };
14841
14899
 
@@ -14849,8 +14907,8 @@ import {
14849
14907
  } from "reakit/Tooltip";
14850
14908
 
14851
14909
  // src/components/Tooltip/Tooltip.styles.ts
14852
- import { css as css65 } from "@emotion/react";
14853
- var TooltipContainer = css65`
14910
+ import { css as css66 } from "@emotion/react";
14911
+ var TooltipContainer = css66`
14854
14912
  z-index: var(--z-tooltip);
14855
14913
  border: 2px solid var(--gray-300);
14856
14914
  border-radius: var(--rounded-base);
@@ -14859,28 +14917,28 @@ var TooltipContainer = css65`
14859
14917
  font-size: var(--fs-xs);
14860
14918
  background: var(--white);
14861
14919
  `;
14862
- var TooltipArrowStyles = css65`
14920
+ var TooltipArrowStyles = css66`
14863
14921
  svg {
14864
14922
  fill: var(--gray-300);
14865
14923
  }
14866
14924
  `;
14867
14925
 
14868
14926
  // src/components/Tooltip/Tooltip.tsx
14869
- import { Fragment as Fragment10, jsx as jsx78, jsxs as jsxs50 } from "@emotion/react/jsx-runtime";
14927
+ import { Fragment as Fragment10, jsx as jsx79, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
14870
14928
  function Tooltip({ children, title, placement = "bottom", visible, ...props }) {
14871
14929
  const tooltip = useTooltipState({ placement });
14872
- return !title ? children : /* @__PURE__ */ jsxs50(Fragment10, { children: [
14873
- /* @__PURE__ */ jsx78(TooltipReference, { ...tooltip, ...children.props, children: (referenceProps) => React17.cloneElement(children, referenceProps) }),
14874
- /* @__PURE__ */ jsxs50(ReakitTooltip, { ...tooltip, ...props, css: TooltipContainer, visible: visible != null ? visible : tooltip.visible, children: [
14875
- /* @__PURE__ */ jsx78(TooltipArrow, { ...tooltip, css: TooltipArrowStyles }),
14930
+ return !title ? children : /* @__PURE__ */ jsxs51(Fragment10, { children: [
14931
+ /* @__PURE__ */ jsx79(TooltipReference, { ...tooltip, ...children.props, children: (referenceProps) => React17.cloneElement(children, referenceProps) }),
14932
+ /* @__PURE__ */ jsxs51(ReakitTooltip, { ...tooltip, ...props, css: TooltipContainer, visible: visible != null ? visible : tooltip.visible, children: [
14933
+ /* @__PURE__ */ jsx79(TooltipArrow, { ...tooltip, css: TooltipArrowStyles }),
14876
14934
  title
14877
14935
  ] })
14878
14936
  ] });
14879
14937
  }
14880
14938
 
14881
14939
  // src/components/ParameterInputs/styles/ParameterBindingButton.styles.ts
14882
- import { css as css66 } from "@emotion/react";
14883
- var inputIconBtn = css66`
14940
+ import { css as css67 } from "@emotion/react";
14941
+ var inputIconBtn = css67`
14884
14942
  align-items: center;
14885
14943
  border: none;
14886
14944
  border-radius: var(--rounded-base);
@@ -14904,7 +14962,7 @@ var inputIconBtn = css66`
14904
14962
  `;
14905
14963
 
14906
14964
  // src/components/ParameterInputs/ConnectToDataElementButton.tsx
14907
- import { jsx as jsx79, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
14965
+ import { jsx as jsx80, jsxs as jsxs52 } from "@emotion/react/jsx-runtime";
14908
14966
  var ConnectToDataElementButton = ({
14909
14967
  icon,
14910
14968
  iconColor,
@@ -14914,7 +14972,7 @@ var ConnectToDataElementButton = ({
14914
14972
  ...props
14915
14973
  }) => {
14916
14974
  const title = isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
14917
- return /* @__PURE__ */ jsx79(Tooltip, { title, children: /* @__PURE__ */ jsxs51(
14975
+ return /* @__PURE__ */ jsx80(Tooltip, { title, children: /* @__PURE__ */ jsxs52(
14918
14976
  "button",
14919
14977
  {
14920
14978
  css: inputIconBtn,
@@ -14923,7 +14981,7 @@ var ConnectToDataElementButton = ({
14923
14981
  "aria-disabled": isLocked,
14924
14982
  ...props,
14925
14983
  children: [
14926
- /* @__PURE__ */ jsx79(
14984
+ /* @__PURE__ */ jsx80(
14927
14985
  Icon,
14928
14986
  {
14929
14987
  icon: isLocked ? "lock" : icon ? icon : "arrows-expand-down-right",
@@ -14959,8 +15017,8 @@ var useParameterShell = () => {
14959
15017
  };
14960
15018
 
14961
15019
  // src/components/ParameterInputs/styles/ParameterInput.styles.ts
14962
- import { css as css67 } from "@emotion/react";
14963
- var inputContainer2 = css67`
15020
+ import { css as css68 } from "@emotion/react";
15021
+ var inputContainer2 = css68`
14964
15022
  position: relative;
14965
15023
 
14966
15024
  &:hover,
@@ -14972,14 +15030,14 @@ var inputContainer2 = css67`
14972
15030
  }
14973
15031
  }
14974
15032
  `;
14975
- var labelText2 = css67`
15033
+ var labelText2 = css68`
14976
15034
  align-items: center;
14977
15035
  display: flex;
14978
15036
  gap: var(--spacing-xs);
14979
15037
  font-weight: var(--fw-regular);
14980
15038
  margin: 0 0 var(--spacing-xs);
14981
15039
  `;
14982
- var input2 = css67`
15040
+ var input2 = css68`
14983
15041
  display: block;
14984
15042
  appearance: none;
14985
15043
  box-sizing: border-box;
@@ -15023,18 +15081,18 @@ var input2 = css67`
15023
15081
  color: var(--gray-400);
15024
15082
  }
15025
15083
  `;
15026
- var selectInput = css67`
15084
+ var selectInput = css68`
15027
15085
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%0A%3E%3Cpath d='M6.34317 7.75732L4.92896 9.17154L12 16.2426L19.0711 9.17157L17.6569 7.75735L12 13.4142L6.34317 7.75732Z' fill='currentColor' /%3E%3C/svg%3E");
15028
15086
  background-position: right var(--spacing-sm) center;
15029
15087
  background-repeat: no-repeat;
15030
15088
  background-size: 1rem;
15031
15089
  padding-right: var(--spacing-xl);
15032
15090
  `;
15033
- var inputWrapper = css67`
15091
+ var inputWrapper = css68`
15034
15092
  display: flex; // used to correct overflow with chrome textarea
15035
15093
  position: relative;
15036
15094
  `;
15037
- var inputIcon2 = css67`
15095
+ var inputIcon2 = css68`
15038
15096
  align-items: center;
15039
15097
  background: var(--white);
15040
15098
  border-radius: var(--rounded-md) 0 0 var(--rounded-md);
@@ -15050,7 +15108,7 @@ var inputIcon2 = css67`
15050
15108
  width: var(--spacing-lg);
15051
15109
  z-index: var(--z-10);
15052
15110
  `;
15053
- var inputToggleLabel2 = css67`
15111
+ var inputToggleLabel2 = css68`
15054
15112
  align-items: center;
15055
15113
  background: var(--white);
15056
15114
  cursor: pointer;
@@ -15061,7 +15119,7 @@ var inputToggleLabel2 = css67`
15061
15119
  min-height: var(--spacing-md);
15062
15120
  position: relative;
15063
15121
  `;
15064
- var toggleInput2 = css67`
15122
+ var toggleInput2 = css68`
15065
15123
  appearance: none;
15066
15124
  border: 1px solid var(--gray-300);
15067
15125
  background: var(--white);
@@ -15100,7 +15158,7 @@ var toggleInput2 = css67`
15100
15158
  border-color: var(--gray-300);
15101
15159
  }
15102
15160
  `;
15103
- var inlineLabel2 = css67`
15161
+ var inlineLabel2 = css68`
15104
15162
  padding-left: var(--spacing-lg);
15105
15163
  font-size: var(--fs-sm);
15106
15164
  font-weight: var(--fw-regular);
@@ -15116,7 +15174,7 @@ var inlineLabel2 = css67`
15116
15174
  }
15117
15175
  }
15118
15176
  `;
15119
- var inputMenu = css67`
15177
+ var inputMenu = css68`
15120
15178
  background: none;
15121
15179
  border: none;
15122
15180
  padding: var(--spacing-2xs);
@@ -15132,14 +15190,14 @@ var inputMenu = css67`
15132
15190
  background-color: var(--gray-200);
15133
15191
  }
15134
15192
  `;
15135
- var textarea2 = css67`
15193
+ var textarea2 = css68`
15136
15194
  resize: vertical;
15137
15195
  min-height: 2rem;
15138
15196
  `;
15139
- var imageWrapper = css67`
15197
+ var imageWrapper = css68`
15140
15198
  background: var(--white);
15141
15199
  `;
15142
- var img = css67`
15200
+ var img = css68`
15143
15201
  animation: ${fadeIn} var(--duration-fast) var(--timing-ease-out) forwards;
15144
15202
  object-fit: contain;
15145
15203
  max-width: 100%;
@@ -15147,7 +15205,7 @@ var img = css67`
15147
15205
  opacity: var(--opacity-0);
15148
15206
  margin: var(--spacing-sm) auto 0;
15149
15207
  `;
15150
- var dataConnectButton = css67`
15208
+ var dataConnectButton = css68`
15151
15209
  align-items: center;
15152
15210
  appearance: none;
15153
15211
  box-sizing: border-box;
@@ -15182,7 +15240,7 @@ var dataConnectButton = css67`
15182
15240
  pointer-events: none;
15183
15241
  }
15184
15242
  `;
15185
- var linkParameterBtn = css67`
15243
+ var linkParameterBtn = css68`
15186
15244
  border-radius: var(--rounded-base);
15187
15245
  background: var(--white);
15188
15246
  border: none;
@@ -15191,7 +15249,7 @@ var linkParameterBtn = css67`
15191
15249
  font-size: var(--fs-sm);
15192
15250
  line-height: 1;
15193
15251
  `;
15194
- var linkParameterControls = css67`
15252
+ var linkParameterControls = css68`
15195
15253
  position: absolute;
15196
15254
  inset: 0 0 0 auto;
15197
15255
  padding: 0 var(--spacing-base);
@@ -15200,13 +15258,13 @@ var linkParameterControls = css67`
15200
15258
  justify-content: center;
15201
15259
  gap: var(--spacing-base);
15202
15260
  `;
15203
- var linkParameterInput = (withExternalLinkIcon) => css67`
15261
+ var linkParameterInput = (withExternalLinkIcon) => css68`
15204
15262
  padding-right: calc(
15205
15263
  ${withExternalLinkIcon ? "calc(var(--spacing-lg) * 2 + var(--spacing-xs))" : "var(--spacing-xl)"} +
15206
15264
  var(--spacing-base)
15207
15265
  );
15208
15266
  `;
15209
- var linkParameterIcon = css67`
15267
+ var linkParameterIcon = css68`
15210
15268
  align-items: center;
15211
15269
  color: var(--brand-secondary-3);
15212
15270
  display: flex;
@@ -15221,7 +15279,7 @@ var linkParameterIcon = css67`
15221
15279
  `;
15222
15280
 
15223
15281
  // src/components/ParameterInputs/ParameterDataResource.tsx
15224
- import { jsx as jsx80, jsxs as jsxs52 } from "@emotion/react/jsx-runtime";
15282
+ import { jsx as jsx81, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
15225
15283
  function ParameterDataResource({
15226
15284
  label,
15227
15285
  labelLeadingIcon,
@@ -15231,12 +15289,12 @@ function ParameterDataResource({
15231
15289
  disabled,
15232
15290
  children
15233
15291
  }) {
15234
- return /* @__PURE__ */ jsxs52("div", { "data-testid": "parameter-data-connect-button", children: [
15235
- /* @__PURE__ */ jsxs52("span", { css: labelText2, children: [
15292
+ return /* @__PURE__ */ jsxs53("div", { "data-testid": "parameter-data-connect-button", children: [
15293
+ /* @__PURE__ */ jsxs53("span", { css: labelText2, children: [
15236
15294
  labelLeadingIcon ? labelLeadingIcon : null,
15237
15295
  label
15238
15296
  ] }),
15239
- /* @__PURE__ */ jsxs52(
15297
+ /* @__PURE__ */ jsxs53(
15240
15298
  "button",
15241
15299
  {
15242
15300
  type: "button",
@@ -15245,30 +15303,30 @@ function ParameterDataResource({
15245
15303
  disabled,
15246
15304
  onClick: onConnectDatasource,
15247
15305
  children: [
15248
- /* @__PURE__ */ jsx80("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ jsx80(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
15306
+ /* @__PURE__ */ jsx81("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ jsx81(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
15249
15307
  children
15250
15308
  ]
15251
15309
  }
15252
15310
  ),
15253
- caption ? /* @__PURE__ */ jsx80(Caption, { children: caption }) : null
15311
+ caption ? /* @__PURE__ */ jsx81(Caption, { children: caption }) : null
15254
15312
  ] });
15255
15313
  }
15256
15314
 
15257
15315
  // src/components/ParameterInputs/styles/ParameterDrawerHeader.styles.ts
15258
- import { css as css68 } from "@emotion/react";
15259
- var ParameterDrawerHeaderContainer = css68`
15316
+ import { css as css69 } from "@emotion/react";
15317
+ var ParameterDrawerHeaderContainer = css69`
15260
15318
  align-items: center;
15261
15319
  display: flex;
15262
15320
  gap: var(--spacing-base);
15263
15321
  justify-content: space-between;
15264
15322
  margin-bottom: var(--spacing-sm);
15265
15323
  `;
15266
- var ParameterDrawerHeaderTitleGroup = css68`
15324
+ var ParameterDrawerHeaderTitleGroup = css69`
15267
15325
  align-items: center;
15268
15326
  display: flex;
15269
15327
  gap: var(--spacing-sm);
15270
15328
  `;
15271
- var ParameterDrawerHeaderTitle = css68`
15329
+ var ParameterDrawerHeaderTitle = css69`
15272
15330
  text-overflow: ellipsis;
15273
15331
  white-space: nowrap;
15274
15332
  overflow: hidden;
@@ -15276,12 +15334,12 @@ var ParameterDrawerHeaderTitle = css68`
15276
15334
  `;
15277
15335
 
15278
15336
  // src/components/ParameterInputs/ParameterDrawerHeader.tsx
15279
- import { jsx as jsx81, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
15337
+ import { jsx as jsx82, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
15280
15338
  var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
15281
- return /* @__PURE__ */ jsxs53("div", { css: ParameterDrawerHeaderContainer, children: [
15282
- /* @__PURE__ */ jsxs53("header", { css: ParameterDrawerHeaderTitleGroup, children: [
15339
+ return /* @__PURE__ */ jsxs54("div", { css: ParameterDrawerHeaderContainer, children: [
15340
+ /* @__PURE__ */ jsxs54("header", { css: ParameterDrawerHeaderTitleGroup, children: [
15283
15341
  iconBeforeTitle,
15284
- /* @__PURE__ */ jsx81(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
15342
+ /* @__PURE__ */ jsx82(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
15285
15343
  ] }),
15286
15344
  children
15287
15345
  ] });
@@ -15291,8 +15349,8 @@ var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
15291
15349
  import { forwardRef as forwardRef8 } from "react";
15292
15350
 
15293
15351
  // src/components/ParameterInputs/styles/ParameterGroup.styles.ts
15294
- import { css as css69 } from "@emotion/react";
15295
- var fieldsetStyles = css69`
15352
+ import { css as css70 } from "@emotion/react";
15353
+ var fieldsetStyles = css70`
15296
15354
  &:disabled,
15297
15355
  [readonly] {
15298
15356
  pointer-events: none;
@@ -15303,7 +15361,7 @@ var fieldsetStyles = css69`
15303
15361
  }
15304
15362
  }
15305
15363
  `;
15306
- var fieldsetLegend2 = css69`
15364
+ var fieldsetLegend2 = css70`
15307
15365
  display: block;
15308
15366
  font-weight: var(--fw-medium);
15309
15367
  margin-bottom: var(--spacing-sm);
@@ -15311,11 +15369,11 @@ var fieldsetLegend2 = css69`
15311
15369
  `;
15312
15370
 
15313
15371
  // src/components/ParameterInputs/ParameterGroup.tsx
15314
- import { jsx as jsx82, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
15372
+ import { jsx as jsx83, jsxs as jsxs55 } from "@emotion/react/jsx-runtime";
15315
15373
  var ParameterGroup = forwardRef8(
15316
15374
  ({ legend, isDisabled, children, ...props }, ref) => {
15317
- return /* @__PURE__ */ jsxs54("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
15318
- /* @__PURE__ */ jsx82("legend", { css: fieldsetLegend2, children: legend }),
15375
+ return /* @__PURE__ */ jsxs55("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
15376
+ /* @__PURE__ */ jsx83("legend", { css: fieldsetLegend2, children: legend }),
15319
15377
  children
15320
15378
  ] });
15321
15379
  }
@@ -15324,25 +15382,35 @@ var ParameterGroup = forwardRef8(
15324
15382
  // src/components/ParameterInputs/ParameterImage.tsx
15325
15383
  import { forwardRef as forwardRef10, useCallback as useCallback3, useDeferredValue, useEffect as useEffect8, useState as useState8 } from "react";
15326
15384
 
15385
+ // src/utils/url.ts
15386
+ var isValidUrl = (url, options = {}) => {
15387
+ try {
15388
+ new URL(url, options.allowRelative ? "https://defaultbaseurl.com" : void 0);
15389
+ return true;
15390
+ } catch (e) {
15391
+ return false;
15392
+ }
15393
+ };
15394
+
15327
15395
  // src/components/ParameterInputs/ParameterShell.tsx
15328
15396
  import { useState as useState7 } from "react";
15329
15397
 
15330
15398
  // src/components/ParameterInputs/ParameterLabel.tsx
15331
- import { jsx as jsx83 } from "@emotion/react/jsx-runtime";
15399
+ import { jsx as jsx84 } from "@emotion/react/jsx-runtime";
15332
15400
  var ParameterLabel = ({ id, asSpan, children, ...props }) => {
15333
- return !asSpan ? /* @__PURE__ */ jsx83("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ jsx83("span", { "aria-labelledby": id, css: labelText2, children });
15401
+ return !asSpan ? /* @__PURE__ */ jsx84("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ jsx84("span", { "aria-labelledby": id, css: labelText2, children });
15334
15402
  };
15335
15403
 
15336
15404
  // src/components/ParameterInputs/ParameterMenuButton.tsx
15337
15405
  import { forwardRef as forwardRef9 } from "react";
15338
- import { jsx as jsx84 } from "@emotion/react/jsx-runtime";
15406
+ import { jsx as jsx85 } from "@emotion/react/jsx-runtime";
15339
15407
  var ParameterMenuButton = forwardRef9(
15340
15408
  ({ label, children }, ref) => {
15341
- return /* @__PURE__ */ jsx84(
15409
+ return /* @__PURE__ */ jsx85(
15342
15410
  Menu,
15343
15411
  {
15344
15412
  menuLabel: `${label} menu`,
15345
- menuTrigger: /* @__PURE__ */ jsx84(
15413
+ menuTrigger: /* @__PURE__ */ jsx85(
15346
15414
  "button",
15347
15415
  {
15348
15416
  className: "parameter-menu",
@@ -15350,7 +15418,7 @@ var ParameterMenuButton = forwardRef9(
15350
15418
  type: "button",
15351
15419
  "aria-label": `${label} options`,
15352
15420
  ref,
15353
- children: /* @__PURE__ */ jsx84(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
15421
+ children: /* @__PURE__ */ jsx85(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
15354
15422
  }
15355
15423
  ),
15356
15424
  children
@@ -15360,15 +15428,15 @@ var ParameterMenuButton = forwardRef9(
15360
15428
  );
15361
15429
 
15362
15430
  // src/components/ParameterInputs/styles/ParameterShell.styles.ts
15363
- import { css as css70 } from "@emotion/react";
15364
- var emptyParameterShell = css70`
15431
+ import { css as css71 } from "@emotion/react";
15432
+ var emptyParameterShell = css71`
15365
15433
  border-radius: var(--rounded-sm);
15366
15434
  background: var(--white);
15367
15435
  flex-grow: 1;
15368
15436
  padding: var(--spacing-xs);
15369
15437
  position: relative;
15370
15438
  `;
15371
- var emptyParameterShellText = css70`
15439
+ var emptyParameterShellText = css71`
15372
15440
  background: var(--brand-secondary-6);
15373
15441
  border-radius: var(--rounded-sm);
15374
15442
  padding: var(--spacing-sm);
@@ -15376,7 +15444,7 @@ var emptyParameterShellText = css70`
15376
15444
  font-size: var(--fs-sm);
15377
15445
  margin: 0;
15378
15446
  `;
15379
- var overrideMarker = css70`
15447
+ var overrideMarker = css71`
15380
15448
  border-radius: var(--rounded-sm);
15381
15449
  border: 10px solid var(--gray-300);
15382
15450
  border-left-color: transparent;
@@ -15387,7 +15455,7 @@ var overrideMarker = css70`
15387
15455
  `;
15388
15456
 
15389
15457
  // src/components/ParameterInputs/ParameterShell.tsx
15390
- import { jsx as jsx85, jsxs as jsxs55 } from "@emotion/react/jsx-runtime";
15458
+ import { jsx as jsx86, jsxs as jsxs56 } from "@emotion/react/jsx-runtime";
15391
15459
  var extractParameterProps = (props) => {
15392
15460
  const {
15393
15461
  id,
@@ -15447,18 +15515,18 @@ var ParameterShell = ({
15447
15515
  const [manualErrorMessage, setManualErrorMessage] = useState7(void 0);
15448
15516
  const setErrorMessage = (message) => setManualErrorMessage(message);
15449
15517
  const errorMessaging = errorMessage || manualErrorMessage;
15450
- return /* @__PURE__ */ jsxs55("div", { css: inputContainer2, ...props, children: [
15451
- hiddenLabel || title ? null : /* @__PURE__ */ jsxs55(ParameterLabel, { id, css: labelText2, children: [
15518
+ return /* @__PURE__ */ jsxs56("div", { css: inputContainer2, ...props, children: [
15519
+ hiddenLabel || title ? null : /* @__PURE__ */ jsxs56(ParameterLabel, { id, css: labelText2, children: [
15452
15520
  labelLeadingIcon ? labelLeadingIcon : null,
15453
15521
  label
15454
15522
  ] }),
15455
- !title ? null : /* @__PURE__ */ jsxs55(ParameterLabel, { id, asSpan: true, children: [
15523
+ !title ? null : /* @__PURE__ */ jsxs56(ParameterLabel, { id, asSpan: true, children: [
15456
15524
  labelLeadingIcon ? labelLeadingIcon : null,
15457
15525
  title
15458
15526
  ] }),
15459
- /* @__PURE__ */ jsxs55("div", { css: inputWrapper, children: [
15460
- menuItems ? /* @__PURE__ */ jsx85(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
15461
- /* @__PURE__ */ jsx85(
15527
+ /* @__PURE__ */ jsxs56("div", { css: inputWrapper, children: [
15528
+ menuItems ? /* @__PURE__ */ jsx86(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
15529
+ /* @__PURE__ */ jsx86(
15462
15530
  ParameterShellContext.Provider,
15463
15531
  {
15464
15532
  value: {
@@ -15468,32 +15536,32 @@ var ParameterShell = ({
15468
15536
  errorMessage: errorMessaging,
15469
15537
  handleManuallySetErrorMessage: (message) => setErrorMessage(message)
15470
15538
  },
15471
- children: /* @__PURE__ */ jsxs55(ParameterShellPlaceholder, { children: [
15539
+ children: /* @__PURE__ */ jsxs56(ParameterShellPlaceholder, { children: [
15472
15540
  children,
15473
- hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx85(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
15541
+ hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx86(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
15474
15542
  ] })
15475
15543
  }
15476
15544
  )
15477
15545
  ] }),
15478
- caption ? /* @__PURE__ */ jsx85(Caption, { testId: captionTestId, children: caption }) : null,
15479
- errorMessaging ? /* @__PURE__ */ jsx85(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null,
15480
- warningMessage ? /* @__PURE__ */ jsx85(WarningMessage, { message: warningMessage }) : null,
15481
- infoMessage ? /* @__PURE__ */ jsx85(InfoMessage, { message: infoMessage }) : null
15546
+ caption ? /* @__PURE__ */ jsx86(Caption, { testId: captionTestId, children: caption }) : null,
15547
+ errorMessaging ? /* @__PURE__ */ jsx86(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null,
15548
+ warningMessage ? /* @__PURE__ */ jsx86(WarningMessage, { message: warningMessage }) : null,
15549
+ infoMessage ? /* @__PURE__ */ jsx86(InfoMessage, { message: infoMessage }) : null
15482
15550
  ] });
15483
15551
  };
15484
15552
  var ParameterShellPlaceholder = ({ children }) => {
15485
- return /* @__PURE__ */ jsx85("div", { css: emptyParameterShell, children });
15553
+ return /* @__PURE__ */ jsx86("div", { css: emptyParameterShell, children });
15486
15554
  };
15487
- var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx85(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx85("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx85("span", { hidden: true, children: "reset overridden value to default" }) }) });
15555
+ var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx86(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx86("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx86("span", { hidden: true, children: "reset overridden value to default" }) }) });
15488
15556
 
15489
15557
  // src/components/ParameterInputs/ParameterImage.tsx
15490
- import { Fragment as Fragment11, jsx as jsx86, jsxs as jsxs56 } from "@emotion/react/jsx-runtime";
15558
+ import { Fragment as Fragment11, jsx as jsx87, jsxs as jsxs57 } from "@emotion/react/jsx-runtime";
15491
15559
  var ParameterImage = forwardRef10((props, ref) => {
15492
15560
  const { shellProps, innerProps } = extractParameterProps(props);
15493
- return /* @__PURE__ */ jsx86(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: /* @__PURE__ */ jsx86(ParameterImageInner, { ref, ...innerProps }) });
15561
+ return /* @__PURE__ */ jsx87(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: /* @__PURE__ */ jsx87(ParameterImageInner, { ref, ...innerProps }) });
15494
15562
  });
15495
15563
  var BrokenImage = ({ ...props }) => {
15496
- return /* @__PURE__ */ jsxs56(
15564
+ return /* @__PURE__ */ jsxs57(
15497
15565
  "svg",
15498
15566
  {
15499
15567
  role: "img",
@@ -15505,11 +15573,11 @@ var BrokenImage = ({ ...props }) => {
15505
15573
  xmlnsXlink: "http://www.w3.org/1999/xlink",
15506
15574
  ...props,
15507
15575
  children: [
15508
- /* @__PURE__ */ jsx86("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
15509
- /* @__PURE__ */ jsx86("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
15510
- /* @__PURE__ */ jsxs56("defs", { children: [
15511
- /* @__PURE__ */ jsx86("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ jsx86("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
15512
- /* @__PURE__ */ jsx86(
15576
+ /* @__PURE__ */ jsx87("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
15577
+ /* @__PURE__ */ jsx87("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
15578
+ /* @__PURE__ */ jsxs57("defs", { children: [
15579
+ /* @__PURE__ */ jsx87("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ jsx87("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
15580
+ /* @__PURE__ */ jsx87(
15513
15581
  "image",
15514
15582
  {
15515
15583
  id: "image0_761_4353",
@@ -15531,14 +15599,11 @@ var ParameterImageInner = forwardRef10(
15531
15599
  const deferredValue = useDeferredValue(value);
15532
15600
  const errorText = "The text you provided is not a valid URL";
15533
15601
  const updateImageSrc = useCallback3(() => {
15534
- const validUrl = new RegExp(
15535
- /^https?:\/\/(?:www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_.+~#?&/=]*)$/
15536
- );
15537
15602
  let message = void 0;
15538
15603
  try {
15539
15604
  if (value !== "") {
15540
15605
  const url = String(value).startsWith("//") ? `${location.protocol}${value}` : String(value);
15541
- if (!validUrl.test(url) || !url.startsWith("https")) {
15606
+ if (!isValidUrl(url) || !url.startsWith("https")) {
15542
15607
  throw Error(errorText);
15543
15608
  }
15544
15609
  }
@@ -15567,8 +15632,8 @@ var ParameterImageInner = forwardRef10(
15567
15632
  useEffect8(() => {
15568
15633
  updateImageSrc();
15569
15634
  }, [deferredValue]);
15570
- return /* @__PURE__ */ jsxs56(Fragment11, { children: [
15571
- /* @__PURE__ */ jsx86(
15635
+ return /* @__PURE__ */ jsxs57(Fragment11, { children: [
15636
+ /* @__PURE__ */ jsx87(
15572
15637
  "input",
15573
15638
  {
15574
15639
  css: input2,
@@ -15580,8 +15645,8 @@ var ParameterImageInner = forwardRef10(
15580
15645
  ...props
15581
15646
  }
15582
15647
  ),
15583
- /* @__PURE__ */ jsxs56("div", { css: imageWrapper, children: [
15584
- deferredValue && !errorMessage ? /* @__PURE__ */ jsx86(
15648
+ /* @__PURE__ */ jsxs57("div", { css: imageWrapper, children: [
15649
+ deferredValue && !errorMessage ? /* @__PURE__ */ jsx87(
15585
15650
  "img",
15586
15651
  {
15587
15652
  src: deferredValue,
@@ -15592,24 +15657,24 @@ var ParameterImageInner = forwardRef10(
15592
15657
  loading: "lazy"
15593
15658
  }
15594
15659
  ) : null,
15595
- deferredValue && errorMessage ? /* @__PURE__ */ jsx86(BrokenImage, { css: img }) : null
15660
+ deferredValue && errorMessage ? /* @__PURE__ */ jsx87(BrokenImage, { css: img }) : null
15596
15661
  ] }),
15597
- loading ? /* @__PURE__ */ jsx86(LoadingIcon, {}) : null
15662
+ loading ? /* @__PURE__ */ jsx87(LoadingIcon, {}) : null
15598
15663
  ] });
15599
15664
  }
15600
15665
  );
15601
15666
 
15602
15667
  // src/components/ParameterInputs/ParameterInput.tsx
15603
15668
  import { forwardRef as forwardRef11 } from "react";
15604
- import { jsx as jsx87 } from "@emotion/react/jsx-runtime";
15669
+ import { jsx as jsx88 } from "@emotion/react/jsx-runtime";
15605
15670
  var ParameterInput = forwardRef11((props, ref) => {
15606
15671
  const { shellProps, innerProps } = extractParameterProps(props);
15607
- return /* @__PURE__ */ jsx87(ParameterShell, { "data-test-id": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx87(ParameterInputInner, { ref, ...innerProps }) });
15672
+ return /* @__PURE__ */ jsx88(ParameterShell, { "data-test-id": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx88(ParameterInputInner, { ref, ...innerProps }) });
15608
15673
  });
15609
15674
  var ParameterInputInner = forwardRef11(
15610
15675
  ({ ...props }, ref) => {
15611
15676
  const { id, label, hiddenLabel } = useParameterShell();
15612
- return /* @__PURE__ */ jsx87(
15677
+ return /* @__PURE__ */ jsx88(
15613
15678
  "input",
15614
15679
  {
15615
15680
  css: input2,
@@ -15626,18 +15691,18 @@ var ParameterInputInner = forwardRef11(
15626
15691
 
15627
15692
  // src/components/ParameterInputs/ParameterLink.tsx
15628
15693
  import { forwardRef as forwardRef12 } from "react";
15629
- import { jsx as jsx88, jsxs as jsxs57 } from "@emotion/react/jsx-runtime";
15694
+ import { jsx as jsx89, jsxs as jsxs58 } from "@emotion/react/jsx-runtime";
15630
15695
  var ParameterLink = forwardRef12(
15631
15696
  ({ buttonText = "Select link", disabled, onConnectLink, externalLink, ...props }, ref) => {
15632
15697
  const { shellProps, innerProps } = extractParameterProps(props);
15633
- return /* @__PURE__ */ jsx88(
15698
+ return /* @__PURE__ */ jsx89(
15634
15699
  ParameterShell,
15635
15700
  {
15636
15701
  "data-test-id": "link-parameter-editor",
15637
15702
  ...shellProps,
15638
15703
  label: innerProps.value ? shellProps.label : "",
15639
15704
  title: !innerProps.value ? shellProps.label : void 0,
15640
- children: !innerProps.value ? /* @__PURE__ */ jsx88("button", { type: "button", css: dataConnectButton, disabled, onClick: onConnectLink, children: buttonText }) : /* @__PURE__ */ jsx88(
15705
+ children: !innerProps.value ? /* @__PURE__ */ jsx89("button", { type: "button", css: dataConnectButton, disabled, onClick: onConnectLink, children: buttonText }) : /* @__PURE__ */ jsx89(
15641
15706
  ParameterLinkInner,
15642
15707
  {
15643
15708
  onConnectLink,
@@ -15653,8 +15718,8 @@ var ParameterLink = forwardRef12(
15653
15718
  var ParameterLinkInner = forwardRef12(
15654
15719
  ({ externalLink, onConnectLink, disabled, ...props }, ref) => {
15655
15720
  const { id, label, hiddenLabel } = useParameterShell();
15656
- return /* @__PURE__ */ jsxs57("div", { css: inputWrapper, children: [
15657
- /* @__PURE__ */ jsx88(
15721
+ return /* @__PURE__ */ jsxs58("div", { css: inputWrapper, children: [
15722
+ /* @__PURE__ */ jsx89(
15658
15723
  "input",
15659
15724
  {
15660
15725
  type: "text",
@@ -15666,8 +15731,8 @@ var ParameterLinkInner = forwardRef12(
15666
15731
  ...props
15667
15732
  }
15668
15733
  ),
15669
- /* @__PURE__ */ jsxs57("div", { css: linkParameterControls, children: [
15670
- /* @__PURE__ */ jsx88(
15734
+ /* @__PURE__ */ jsxs58("div", { css: linkParameterControls, children: [
15735
+ /* @__PURE__ */ jsx89(
15671
15736
  "button",
15672
15737
  {
15673
15738
  type: "button",
@@ -15678,7 +15743,7 @@ var ParameterLinkInner = forwardRef12(
15678
15743
  children: "edit"
15679
15744
  }
15680
15745
  ),
15681
- externalLink ? /* @__PURE__ */ jsx88(
15746
+ externalLink ? /* @__PURE__ */ jsx89(
15682
15747
  "a",
15683
15748
  {
15684
15749
  href: externalLink,
@@ -15686,7 +15751,7 @@ var ParameterLinkInner = forwardRef12(
15686
15751
  title: "Open link in new tab",
15687
15752
  target: "_blank",
15688
15753
  rel: "noopener noreferrer",
15689
- children: /* @__PURE__ */ jsx88(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
15754
+ children: /* @__PURE__ */ jsx89(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
15690
15755
  }
15691
15756
  ) : null
15692
15757
  ] })
@@ -15695,7 +15760,7 @@ var ParameterLinkInner = forwardRef12(
15695
15760
  );
15696
15761
 
15697
15762
  // src/components/ParameterInputs/ParameterNameAndPublicIdInput.tsx
15698
- import { Fragment as Fragment12, jsx as jsx89, jsxs as jsxs58 } from "@emotion/react/jsx-runtime";
15763
+ import { Fragment as Fragment12, jsx as jsx90, jsxs as jsxs59 } from "@emotion/react/jsx-runtime";
15699
15764
  var ParameterNameAndPublicIdInput = ({
15700
15765
  id,
15701
15766
  onBlur,
@@ -15721,8 +15786,8 @@ var ParameterNameAndPublicIdInput = ({
15721
15786
  navigator.clipboard.writeText(values[publicIdFieldName]);
15722
15787
  };
15723
15788
  autoFocus == null ? void 0 : autoFocus();
15724
- return /* @__PURE__ */ jsxs58(Fragment12, { children: [
15725
- /* @__PURE__ */ jsx89(
15789
+ return /* @__PURE__ */ jsxs59(Fragment12, { children: [
15790
+ /* @__PURE__ */ jsx90(
15726
15791
  ParameterInput,
15727
15792
  {
15728
15793
  id: nameIdField,
@@ -15741,7 +15806,7 @@ var ParameterNameAndPublicIdInput = ({
15741
15806
  value: values[nameIdField]
15742
15807
  }
15743
15808
  ),
15744
- /* @__PURE__ */ jsx89(
15809
+ /* @__PURE__ */ jsx90(
15745
15810
  ParameterInput,
15746
15811
  {
15747
15812
  id: publicIdFieldName,
@@ -15755,11 +15820,11 @@ var ParameterNameAndPublicIdInput = ({
15755
15820
  caption: publicIdCaption,
15756
15821
  placeholder: publicIdPlaceholderText,
15757
15822
  errorMessage: publicIdError,
15758
- menuItems: /* @__PURE__ */ jsx89(
15823
+ menuItems: /* @__PURE__ */ jsx90(
15759
15824
  MenuItem,
15760
15825
  {
15761
15826
  disabled: !values[publicIdFieldName],
15762
- icon: /* @__PURE__ */ jsx89(Icon, { icon: "path-trim", iconColor: "currentColor" }),
15827
+ icon: /* @__PURE__ */ jsx90(Icon, { icon: "path-trim", iconColor: "currentColor" }),
15763
15828
  onClick: handleCopyPidFieldValue,
15764
15829
  children: "Copy"
15765
15830
  }
@@ -15767,13 +15832,12 @@ var ParameterNameAndPublicIdInput = ({
15767
15832
  value: values[publicIdFieldName]
15768
15833
  }
15769
15834
  ),
15770
- (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx89(Callout, { type: "caution", children: warnOverLength.message }) : null
15835
+ (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx90(Callout, { type: "caution", children: warnOverLength.message }) : null
15771
15836
  ] });
15772
15837
  };
15773
15838
 
15774
15839
  // src/components/ParameterInputs/ParameterRichText.tsx
15775
- import { css as css75 } from "@emotion/react";
15776
- import { CodeNode } from "@lexical/code";
15840
+ import { css as css76 } from "@emotion/react";
15777
15841
  import { ListItemNode, ListNode as ListNode2 } from "@lexical/list";
15778
15842
  import {
15779
15843
  CODE,
@@ -15785,7 +15849,7 @@ import {
15785
15849
  UNORDERED_LIST
15786
15850
  } from "@lexical/markdown";
15787
15851
  import { LexicalComposer } from "@lexical/react/LexicalComposer";
15788
- import { useLexicalComposerContext as useLexicalComposerContext4 } from "@lexical/react/LexicalComposerContext";
15852
+ import { useLexicalComposerContext as useLexicalComposerContext5 } from "@lexical/react/LexicalComposerContext";
15789
15853
  import { ContentEditable } from "@lexical/react/LexicalContentEditable";
15790
15854
  import LexicalErrorBoundary from "@lexical/react/LexicalErrorBoundary";
15791
15855
  import { HistoryPlugin } from "@lexical/react/LexicalHistoryPlugin";
@@ -15882,97 +15946,134 @@ var getLabelForElement = (type) => {
15882
15946
 
15883
15947
  // src/components/ParameterInputs/ParameterRichText.tsx
15884
15948
  import { deepEqual as deepEqual2 } from "fast-equals";
15949
+ import { ParagraphNode as ParagraphNode2 } from "lexical";
15950
+ import { useEffect as useEffect13, useRef as useRef6 } from "react";
15951
+
15952
+ // src/components/ParameterInputs/rich-text/CustomCodeNode.ts
15953
+ import { CodeNode } from "@lexical/code";
15954
+ var CustomCodeNode = CodeNode;
15955
+ var oldImportDOMMap = CodeNode.importDOM();
15956
+ var oldImportDOMMapPre = oldImportDOMMap.pre;
15957
+ oldImportDOMMap.pre = (node) => {
15958
+ if (node.childNodes.length === 1 && Array.from(node.childNodes).some((node2) => node2.nodeName === "CODE")) {
15959
+ return null;
15960
+ }
15961
+ return oldImportDOMMapPre(node);
15962
+ };
15963
+ CustomCodeNode.importDOM = function() {
15964
+ return oldImportDOMMap;
15965
+ };
15966
+
15967
+ // src/components/ParameterInputs/rich-text/DisableStylesPlugin.ts
15968
+ import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
15969
+ import { mergeRegister } from "@lexical/utils";
15885
15970
  import { ParagraphNode } from "lexical";
15886
- import { useEffect as useEffect12, useRef as useRef6 } from "react";
15971
+ import { useEffect as useEffect9 } from "react";
15972
+ function DisableStylesPlugin() {
15973
+ const [editor] = useLexicalComposerContext();
15974
+ useEffect9(() => {
15975
+ return mergeRegister(
15976
+ // Disable text alignment on paragraph nodes
15977
+ editor.registerNodeTransform(ParagraphNode, (node) => {
15978
+ if (node.getFormatType() !== "") {
15979
+ node.setFormat("");
15980
+ }
15981
+ })
15982
+ );
15983
+ }, [editor]);
15984
+ return null;
15985
+ }
15887
15986
 
15888
15987
  // src/components/ParameterInputs/rich-text/editorStyles.ts
15889
- import { css as css71 } from "@emotion/css";
15890
- var textBold = css71`
15988
+ import { css as css72 } from "@emotion/css";
15989
+ var textBold = css72`
15891
15990
  font-weight: 700;
15892
15991
  `;
15893
- var textItalic = css71`
15992
+ var textItalic = css72`
15894
15993
  font-style: italic;
15895
15994
  `;
15896
- var textUnderline = css71`
15995
+ var textUnderline = css72`
15897
15996
  text-decoration: underline;
15898
15997
  `;
15899
- var textStrikethrough = css71`
15998
+ var textStrikethrough = css72`
15900
15999
  text-decoration: line-through;
15901
16000
  `;
15902
- var textUnderlineStrikethrough = css71`
16001
+ var textUnderlineStrikethrough = css72`
15903
16002
  text-decoration: underline line-through;
15904
16003
  `;
15905
- var textCode = css71`
16004
+ var textCode = css72`
15906
16005
  background-color: var(--gray-100);
15907
16006
  border-radius: var(--rounded-sm);
15908
16007
  display: inline-block;
15909
16008
  font-family: var(--ff-mono);
16009
+ font-feature-settings: 'liga' 0;
16010
+ font-variant-ligatures: none;
15910
16011
  font-size: var(--fs-sm);
15911
16012
  padding-left: var(--spacing-xs);
15912
16013
  padding-right: var(--spacing-xs);
15913
16014
  `;
15914
- var textSuperscript = css71`
16015
+ var textSuperscript = css72`
15915
16016
  vertical-align: super;
15916
16017
  font-size: smaller;
15917
16018
  `;
15918
- var textSubscript = css71`
16019
+ var textSubscript = css72`
15919
16020
  vertical-align: sub;
15920
16021
  font-size: smaller;
15921
16022
  `;
15922
- var linkElement = css71`
16023
+ var linkElement = css72`
15923
16024
  ${link}
15924
16025
  ${linkColorDefault}
15925
16026
  text-decoration: underline;
15926
16027
  `;
15927
- var h12 = css71`
16028
+ var h12 = css72`
15928
16029
  font-size: clamp(1.35rem, var(--fluid-font-base), 1.7rem);
15929
16030
  `;
15930
- var h22 = css71`
16031
+ var h22 = css72`
15931
16032
  font-size: clamp(1.35rem, var(--fluid-font-base), 1.6rem);
15932
16033
  `;
15933
- var h32 = css71`
16034
+ var h32 = css72`
15934
16035
  font-size: clamp(1.25rem, var(--fluid-font-base), 1.5rem);
15935
16036
  `;
15936
- var h42 = css71`
16037
+ var h42 = css72`
15937
16038
  font-size: clamp(1.15rem, var(--fluid-font-base), 1.25rem);
15938
16039
  `;
15939
- var h52 = css71`
16040
+ var h52 = css72`
15940
16041
  font-size: clamp(var(--fs-base), var(--fluid-font-base), 1.15rem);
15941
16042
  `;
15942
- var h62 = css71`
16043
+ var h62 = css72`
15943
16044
  font-size: var(--fs-base);
15944
16045
  `;
15945
- var heading1Element = css71`
16046
+ var heading1Element = css72`
15946
16047
  ${h12}
15947
16048
  ${commonHeadingAttr(true)}
15948
16049
  ${commonLineHeight}
15949
16050
  `;
15950
- var heading2Element = css71`
16051
+ var heading2Element = css72`
15951
16052
  ${h22}
15952
16053
  ${commonHeadingAttr(true)}
15953
16054
  ${commonLineHeight}
15954
16055
  `;
15955
- var heading3Element = css71`
16056
+ var heading3Element = css72`
15956
16057
  ${h32}
15957
16058
  ${commonHeadingAttr(true)}
15958
16059
  ${commonLineHeight}
15959
16060
  `;
15960
- var heading4Element = css71`
16061
+ var heading4Element = css72`
15961
16062
  ${h42}
15962
16063
  ${commonHeadingAttr(true)}
15963
16064
  ${commonLineHeight}
15964
16065
  `;
15965
- var heading5Element = css71`
16066
+ var heading5Element = css72`
15966
16067
  ${h52}
15967
16068
  ${commonHeadingAttr(true)}
15968
16069
  ${commonLineHeight}
15969
16070
  `;
15970
- var heading6Element = css71`
16071
+ var heading6Element = css72`
15971
16072
  ${h62}
15972
16073
  ${commonHeadingAttr(true)}
15973
16074
  ${commonLineHeight}
15974
16075
  `;
15975
- var paragraphElement = css71`
16076
+ var paragraphElement = css72`
15976
16077
  line-height: 1.5;
15977
16078
  margin-bottom: var(--spacing-base);
15978
16079
 
@@ -15980,7 +16081,7 @@ var paragraphElement = css71`
15980
16081
  margin-bottom: 0;
15981
16082
  }
15982
16083
  `;
15983
- var orderedListElement = css71`
16084
+ var orderedListElement = css72`
15984
16085
  ${commonLineHeight}
15985
16086
  display: block;
15986
16087
  list-style: decimal;
@@ -16009,7 +16110,7 @@ var orderedListElement = css71`
16009
16110
  }
16010
16111
  }
16011
16112
  `;
16012
- var unorderedListElement = css71`
16113
+ var unorderedListElement = css72`
16013
16114
  ${commonLineHeight}
16014
16115
  display: block;
16015
16116
  list-style: disc;
@@ -16030,13 +16131,13 @@ var unorderedListElement = css71`
16030
16131
  }
16031
16132
  }
16032
16133
  `;
16033
- var listItemElement = css71`
16134
+ var listItemElement = css72`
16034
16135
  margin-left: var(--spacing-md);
16035
16136
  `;
16036
- var nestedListItemElement = css71`
16137
+ var nestedListItemElement = css72`
16037
16138
  list-style-type: none;
16038
16139
  `;
16039
- var blockquoteElement = css71`
16140
+ var blockquoteElement = css72`
16040
16141
  border-left: 0.25rem solid var(--gray-300);
16041
16142
  color: var(--gray-600);
16042
16143
  margin-bottom: var(--spacing-base);
@@ -16046,11 +16147,13 @@ var blockquoteElement = css71`
16046
16147
  margin-bottom: 0;
16047
16148
  }
16048
16149
  `;
16049
- var codeElement = css71`
16150
+ var codeElement = css72`
16050
16151
  background-color: var(--gray-100);
16051
16152
  border-radius: var(--rounded-sm);
16052
16153
  display: block;
16053
16154
  font-family: var(--ff-mono);
16155
+ font-feature-settings: 'liga' 0;
16156
+ font-variant-ligatures: none;
16054
16157
  font-size: var(--fs-sm);
16055
16158
  margin-bottom: var(--spacing-base);
16056
16159
  padding: var(--spacing-sm);
@@ -16061,10 +16164,10 @@ var codeElement = css71`
16061
16164
  `;
16062
16165
 
16063
16166
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
16064
- import { css as css73 } from "@emotion/react";
16065
- import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
16167
+ import { css as css74 } from "@emotion/react";
16168
+ import { useLexicalComposerContext as useLexicalComposerContext2 } from "@lexical/react/LexicalComposerContext";
16066
16169
  import { NodeEventPlugin } from "@lexical/react/LexicalNodeEventPlugin";
16067
- import { addClassNamesToElement, isHTMLAnchorElement, mergeRegister } from "@lexical/utils";
16170
+ import { addClassNamesToElement, isHTMLAnchorElement, mergeRegister as mergeRegister2 } from "@lexical/utils";
16068
16171
  import { deepEqual } from "fast-equals";
16069
16172
  import {
16070
16173
  $applyNodeReplacement,
@@ -16077,16 +16180,16 @@ import {
16077
16180
  ElementNode as ElementNode2,
16078
16181
  FOCUS_COMMAND
16079
16182
  } from "lexical";
16080
- import { useCallback as useCallback4, useEffect as useEffect9, useRef as useRef5, useState as useState9 } from "react";
16183
+ import { useCallback as useCallback4, useEffect as useEffect10, useRef as useRef5, useState as useState9 } from "react";
16081
16184
 
16082
16185
  // src/components/Popover/Popover.styles.ts
16083
- import { css as css72 } from "@emotion/react";
16084
- var PopoverBtn = css72`
16186
+ import { css as css73 } from "@emotion/react";
16187
+ var PopoverBtn = css73`
16085
16188
  border: none;
16086
16189
  background: none;
16087
16190
  padding: 0;
16088
16191
  `;
16089
- var Popover = css72`
16192
+ var Popover = css73`
16090
16193
  border-left: var(--spacing-xs) solid var(--brand-secondary-3);
16091
16194
  border-radius: var(--rounded-base);
16092
16195
  box-shadow: var(--shadow-base);
@@ -16134,7 +16237,7 @@ var getSelectedNode = (selection) => {
16134
16237
  };
16135
16238
 
16136
16239
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
16137
- import { Fragment as Fragment13, jsx as jsx90, jsxs as jsxs59 } from "@emotion/react/jsx-runtime";
16240
+ import { Fragment as Fragment13, jsx as jsx91, jsxs as jsxs60 } from "@emotion/react/jsx-runtime";
16138
16241
  var isProjectMapLinkValue = (value) => {
16139
16242
  return (value == null ? void 0 : value.type) === "projectMapNode" && Boolean(
16140
16243
  value.nodeId && value.path && value.projectMapId
@@ -16421,36 +16524,36 @@ var OPEN_LINK_NODE_MODAL_COMMAND = createCommand(
16421
16524
  );
16422
16525
  var LINK_POPOVER_OFFSET_X = 0;
16423
16526
  var LINK_POPOVER_OFFSET_Y = 8;
16424
- var linkPopover = css73`
16527
+ var linkPopover = css74`
16425
16528
  position: absolute;
16426
16529
  z-index: 5;
16427
16530
  `;
16428
- var linkPopoverContainer = css73`
16531
+ var linkPopoverContainer = css74`
16429
16532
  ${Popover};
16430
16533
  align-items: center;
16431
16534
  display: flex;
16432
16535
  `;
16433
- var linkPopoverAnchor = css73`
16536
+ var linkPopoverAnchor = css74`
16434
16537
  ${link}
16435
16538
  ${linkColorDefault}
16436
16539
  `;
16437
16540
  function LinkNodePlugin({ onConnectLink }) {
16438
- const [editor] = useLexicalComposerContext();
16541
+ const [editor] = useLexicalComposerContext2();
16439
16542
  const [linkPopoverState, setLinkPopoverState] = useState9();
16440
16543
  const linkPopoverElRef = useRef5(null);
16441
16544
  const [isEditorFocused, setIsEditorFocused] = useState9(false);
16442
16545
  const [isLinkPopoverFocused, setIsLinkPopoverFocused] = useState9(false);
16443
- useEffect9(() => {
16546
+ useEffect10(() => {
16444
16547
  if (!isEditorFocused && !isLinkPopoverFocused) {
16445
16548
  setLinkPopoverState(void 0);
16446
16549
  return;
16447
16550
  }
16448
16551
  }, [isEditorFocused, isLinkPopoverFocused]);
16449
- useEffect9(() => {
16552
+ useEffect10(() => {
16450
16553
  if (!editor.hasNodes([LinkNode])) {
16451
16554
  throw new Error("LinkNode not registered on editor");
16452
16555
  }
16453
- return mergeRegister(
16556
+ return mergeRegister2(
16454
16557
  editor.registerCommand(
16455
16558
  UPSERT_LINK_NODE_COMMAND,
16456
16559
  (payload) => {
@@ -16547,7 +16650,7 @@ function LinkNodePlugin({ onConnectLink }) {
16547
16650
  }
16548
16651
  });
16549
16652
  }, [editor]);
16550
- useEffect9(() => {
16653
+ useEffect10(() => {
16551
16654
  return editor.registerUpdateListener(({ editorState }) => {
16552
16655
  requestAnimationFrame(() => {
16553
16656
  editorState.read(() => {
@@ -16574,8 +16677,8 @@ function LinkNodePlugin({ onConnectLink }) {
16574
16677
  });
16575
16678
  });
16576
16679
  };
16577
- return /* @__PURE__ */ jsxs59(Fragment13, { children: [
16578
- /* @__PURE__ */ jsx90(
16680
+ return /* @__PURE__ */ jsxs60(Fragment13, { children: [
16681
+ /* @__PURE__ */ jsx91(
16579
16682
  NodeEventPlugin,
16580
16683
  {
16581
16684
  nodeType: LinkNode,
@@ -16585,7 +16688,7 @@ function LinkNodePlugin({ onConnectLink }) {
16585
16688
  }
16586
16689
  }
16587
16690
  ),
16588
- linkPopoverState ? /* @__PURE__ */ jsx90(
16691
+ linkPopoverState ? /* @__PURE__ */ jsx91(
16589
16692
  "div",
16590
16693
  {
16591
16694
  css: linkPopover,
@@ -16594,8 +16697,8 @@ function LinkNodePlugin({ onConnectLink }) {
16594
16697
  top: linkPopoverState.position.y
16595
16698
  },
16596
16699
  ref: linkPopoverElRef,
16597
- children: /* @__PURE__ */ jsxs59("div", { css: linkPopoverContainer, children: [
16598
- linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ jsx90(
16700
+ children: /* @__PURE__ */ jsxs60("div", { css: linkPopoverContainer, children: [
16701
+ linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ jsx91(
16599
16702
  "a",
16600
16703
  {
16601
16704
  href: `${linkPopoverState.node.__link.type === "email" ? "mailto:" : linkPopoverState.node.__link.type === "tel" ? "tel:" : ""}${linkPopoverState.node.__link.path}`,
@@ -16605,7 +16708,7 @@ function LinkNodePlugin({ onConnectLink }) {
16605
16708
  children: linkPopoverState.node.__link.path
16606
16709
  }
16607
16710
  ),
16608
- /* @__PURE__ */ jsx90(
16711
+ /* @__PURE__ */ jsx91(
16609
16712
  Button,
16610
16713
  {
16611
16714
  size: "xs",
@@ -16613,7 +16716,7 @@ function LinkNodePlugin({ onConnectLink }) {
16613
16716
  onEditLinkNode(linkPopoverState.node);
16614
16717
  },
16615
16718
  buttonType: "ghost",
16616
- children: /* @__PURE__ */ jsx90(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
16719
+ children: /* @__PURE__ */ jsx91(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
16617
16720
  }
16618
16721
  )
16619
16722
  ] })
@@ -16629,7 +16732,7 @@ function getLinkAncestor(node) {
16629
16732
 
16630
16733
  // src/components/ParameterInputs/rich-text/ListIndentPlugin.tsx
16631
16734
  import { $getListDepth, $isListItemNode, $isListNode } from "@lexical/list";
16632
- import { useLexicalComposerContext as useLexicalComposerContext2 } from "@lexical/react/LexicalComposerContext";
16735
+ import { useLexicalComposerContext as useLexicalComposerContext3 } from "@lexical/react/LexicalComposerContext";
16633
16736
  import { TabIndentationPlugin } from "@lexical/react/LexicalTabIndentationPlugin";
16634
16737
  import {
16635
16738
  $getSelection as $getSelection2,
@@ -16637,8 +16740,8 @@ import {
16637
16740
  COMMAND_PRIORITY_CRITICAL,
16638
16741
  INDENT_CONTENT_COMMAND
16639
16742
  } from "lexical";
16640
- import { useEffect as useEffect10 } from "react";
16641
- import { jsx as jsx91 } from "@emotion/react/jsx-runtime";
16743
+ import { useEffect as useEffect11 } from "react";
16744
+ import { jsx as jsx92 } from "@emotion/react/jsx-runtime";
16642
16745
  function isIndentPermitted(maxDepth) {
16643
16746
  const selection = $getSelection2();
16644
16747
  if (!$isRangeSelection2(selection)) {
@@ -16660,19 +16763,19 @@ function isIndentPermitted(maxDepth) {
16660
16763
  return totalDepth <= maxDepth;
16661
16764
  }
16662
16765
  function ListIndentPlugin({ maxDepth }) {
16663
- const [editor] = useLexicalComposerContext2();
16664
- useEffect10(() => {
16766
+ const [editor] = useLexicalComposerContext3();
16767
+ useEffect11(() => {
16665
16768
  return editor.registerCommand(
16666
16769
  INDENT_CONTENT_COMMAND,
16667
16770
  () => !isIndentPermitted(maxDepth),
16668
16771
  COMMAND_PRIORITY_CRITICAL
16669
16772
  );
16670
16773
  }, [editor, maxDepth]);
16671
- return /* @__PURE__ */ jsx91(TabIndentationPlugin, {});
16774
+ return /* @__PURE__ */ jsx92(TabIndentationPlugin, {});
16672
16775
  }
16673
16776
 
16674
16777
  // src/components/ParameterInputs/rich-text/RichTextToolbar.tsx
16675
- import { css as css74 } from "@emotion/react";
16778
+ import { css as css75 } from "@emotion/react";
16676
16779
  import { $createCodeNode } from "@lexical/code";
16677
16780
  import {
16678
16781
  $isListNode as $isListNode2,
@@ -16681,7 +16784,7 @@ import {
16681
16784
  ListNode,
16682
16785
  REMOVE_LIST_COMMAND
16683
16786
  } from "@lexical/list";
16684
- import { useLexicalComposerContext as useLexicalComposerContext3 } from "@lexical/react/LexicalComposerContext";
16787
+ import { useLexicalComposerContext as useLexicalComposerContext4 } from "@lexical/react/LexicalComposerContext";
16685
16788
  import { $createHeadingNode, $createQuoteNode, $isHeadingNode } from "@lexical/rich-text";
16686
16789
  import { $setBlocksType } from "@lexical/selection";
16687
16790
  import { $findMatchingParent, $getNearestNodeOfType } from "@lexical/utils";
@@ -16694,9 +16797,9 @@ import {
16694
16797
  FORMAT_TEXT_COMMAND,
16695
16798
  SELECTION_CHANGE_COMMAND
16696
16799
  } from "lexical";
16697
- import { useCallback as useCallback5, useEffect as useEffect11, useMemo as useMemo3, useState as useState10 } from "react";
16698
- import { Fragment as Fragment14, jsx as jsx92, jsxs as jsxs60 } from "@emotion/react/jsx-runtime";
16699
- var toolbar = css74`
16800
+ import { useCallback as useCallback5, useEffect as useEffect12, useMemo as useMemo3, useState as useState10 } from "react";
16801
+ import { Fragment as Fragment14, jsx as jsx93, jsxs as jsxs61 } from "@emotion/react/jsx-runtime";
16802
+ var toolbar = css75`
16700
16803
  background: var(--gray-50);
16701
16804
  border-radius: var(--rounded-base);
16702
16805
  display: flex;
@@ -16708,7 +16811,7 @@ var toolbar = css74`
16708
16811
  top: 0;
16709
16812
  z-index: 10;
16710
16813
  `;
16711
- var toolbarGroup = css74`
16814
+ var toolbarGroup = css75`
16712
16815
  display: flex;
16713
16816
  gap: var(--spacing-xs);
16714
16817
  position: relative;
@@ -16724,7 +16827,7 @@ var toolbarGroup = css74`
16724
16827
  width: 1px;
16725
16828
  }
16726
16829
  `;
16727
- var toolbarButton = css74`
16830
+ var toolbarButton = css75`
16728
16831
  align-items: center;
16729
16832
  appearance: none;
16730
16833
  border: 0;
@@ -16737,17 +16840,17 @@ var toolbarButton = css74`
16737
16840
  min-width: 32px;
16738
16841
  padding: 0 var(--spacing-sm);
16739
16842
  `;
16740
- var toolbarButtonActive = css74`
16843
+ var toolbarButtonActive = css75`
16741
16844
  background: var(--gray-200);
16742
16845
  `;
16743
- var toolbarIcon = css74`
16846
+ var toolbarIcon = css75`
16744
16847
  color: inherit;
16745
16848
  `;
16746
- var toolbarChevron = css74`
16849
+ var toolbarChevron = css75`
16747
16850
  margin-left: var(--spacing-xs);
16748
16851
  `;
16749
16852
  var ToolbarIcon = ({ icon }) => {
16750
- return /* @__PURE__ */ jsx92(Icon, { icon, css: toolbarIcon, size: "1rem" });
16853
+ return /* @__PURE__ */ jsx93(Icon, { icon, css: toolbarIcon, size: "1rem" });
16751
16854
  };
16752
16855
  var FORMATS_WITH_ICON = /* @__PURE__ */ new Map([
16753
16856
  ["bold", "format-bold"],
@@ -16761,7 +16864,7 @@ var FORMATS_WITH_ICON = /* @__PURE__ */ new Map([
16761
16864
  var HEADING_ELEMENTS = ["h1", "h2", "h3", "h4", "h5", "h6"];
16762
16865
  var TEXTUAL_ELEMENTS = HEADING_ELEMENTS;
16763
16866
  var RichTextToolbar = ({ config }) => {
16764
- const [editor] = useLexicalComposerContext3();
16867
+ const [editor] = useLexicalComposerContext4();
16765
16868
  const {
16766
16869
  activeElement,
16767
16870
  setActiveElement,
@@ -16837,7 +16940,7 @@ var RichTextToolbar = ({ config }) => {
16837
16940
  setIsLink(false);
16838
16941
  }
16839
16942
  }, [editor, setActiveElement, setActiveFormats, setIsLink]);
16840
- useEffect11(() => {
16943
+ useEffect12(() => {
16841
16944
  return editor.registerCommand(
16842
16945
  SELECTION_CHANGE_COMMAND,
16843
16946
  (_payload) => {
@@ -16847,7 +16950,7 @@ var RichTextToolbar = ({ config }) => {
16847
16950
  COMMAND_PRIORITY_CRITICAL2
16848
16951
  );
16849
16952
  }, [editor, updateToolbar]);
16850
- useEffect11(() => {
16953
+ useEffect12(() => {
16851
16954
  return editor.registerUpdateListener(({ editorState }) => {
16852
16955
  requestAnimationFrame(() => {
16853
16956
  editorState.read(() => {
@@ -16856,15 +16959,15 @@ var RichTextToolbar = ({ config }) => {
16856
16959
  });
16857
16960
  });
16858
16961
  }, [editor, updateToolbar]);
16859
- return /* @__PURE__ */ jsxs60("div", { css: toolbar, children: [
16860
- /* @__PURE__ */ jsxs60(
16962
+ return /* @__PURE__ */ jsxs61("div", { css: toolbar, children: [
16963
+ /* @__PURE__ */ jsxs61(
16861
16964
  Menu,
16862
16965
  {
16863
16966
  menuLabel: "Elements",
16864
- menuTrigger: /* @__PURE__ */ jsxs60("button", { css: toolbarButton, title: "Text styles", children: [
16967
+ menuTrigger: /* @__PURE__ */ jsxs61("button", { css: toolbarButton, title: "Text styles", children: [
16865
16968
  visibleTextualElements.some((element) => element.type === activeElement) ? getLabelForElement(activeElement) : getLabelForElement("paragraph"),
16866
16969
  " ",
16867
- /* @__PURE__ */ jsx92(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
16970
+ /* @__PURE__ */ jsx93(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
16868
16971
  ] }),
16869
16972
  placement: "bottom-start",
16870
16973
  children: [
@@ -16874,7 +16977,7 @@ var RichTextToolbar = ({ config }) => {
16874
16977
  type: "paragraph"
16875
16978
  },
16876
16979
  ...visibleTextualElements
16877
- ].map((element) => /* @__PURE__ */ jsx92(
16980
+ ].map((element) => /* @__PURE__ */ jsx93(
16878
16981
  MenuItem,
16879
16982
  {
16880
16983
  onClick: () => {
@@ -16884,28 +16987,28 @@ var RichTextToolbar = ({ config }) => {
16884
16987
  },
16885
16988
  element.type
16886
16989
  )),
16887
- visibleTextualElements.length === 0 ? /* @__PURE__ */ jsx92(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
16990
+ visibleTextualElements.length === 0 ? /* @__PURE__ */ jsx93(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
16888
16991
  ]
16889
16992
  }
16890
16993
  ),
16891
- visibleFormatsWithIcon.length > 0 || visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsxs60("div", { css: toolbarGroup, children: [
16892
- visibleFormatsWithIcon.map((format) => /* @__PURE__ */ jsx92(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ jsx92(
16994
+ visibleFormatsWithIcon.length > 0 || visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsxs61("div", { css: toolbarGroup, children: [
16995
+ visibleFormatsWithIcon.map((format) => /* @__PURE__ */ jsx93(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ jsx93(
16893
16996
  "button",
16894
16997
  {
16895
16998
  onClick: () => {
16896
16999
  editor.dispatchCommand(FORMAT_TEXT_COMMAND, format.type);
16897
17000
  },
16898
17001
  css: [toolbarButton, activeFormats.includes(format.type) ? toolbarButtonActive : null],
16899
- children: /* @__PURE__ */ jsx92(ToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
17002
+ children: /* @__PURE__ */ jsx93(ToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
16900
17003
  }
16901
17004
  ) }, format.type)),
16902
- visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsx92(
17005
+ visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsx93(
16903
17006
  Menu,
16904
17007
  {
16905
17008
  menuLabel: "Alternative text styles",
16906
- menuTrigger: /* @__PURE__ */ jsx92("button", { css: toolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ jsx92(Icon, { icon: "more-alt", css: toolbarIcon }) }),
17009
+ menuTrigger: /* @__PURE__ */ jsx93("button", { css: toolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ jsx93(Icon, { icon: "more-alt", css: toolbarIcon }) }),
16907
17010
  placement: "bottom-start",
16908
- children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ jsx92(
17011
+ children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ jsx93(
16909
17012
  MenuItem,
16910
17013
  {
16911
17014
  onClick: () => {
@@ -16918,57 +17021,57 @@ var RichTextToolbar = ({ config }) => {
16918
17021
  }
16919
17022
  ) : null
16920
17023
  ] }) : null,
16921
- visibleElementsWithIcons.size > 0 ? /* @__PURE__ */ jsxs60("div", { css: toolbarGroup, children: [
16922
- linkElementVisible ? /* @__PURE__ */ jsx92(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ jsx92(
17024
+ visibleElementsWithIcons.size > 0 ? /* @__PURE__ */ jsxs61("div", { css: toolbarGroup, children: [
17025
+ linkElementVisible ? /* @__PURE__ */ jsx93(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ jsx93(
16923
17026
  "button",
16924
17027
  {
16925
17028
  onClick: () => {
16926
17029
  isLink ? editor.dispatchCommand(REMOVE_LINK_NODE_COMMAND, {}) : editor.dispatchCommand(OPEN_LINK_NODE_MODAL_COMMAND, {});
16927
17030
  },
16928
17031
  css: [toolbarButton, isLink ? toolbarButtonActive : null],
16929
- children: /* @__PURE__ */ jsx92(ToolbarIcon, { icon: "link" })
17032
+ children: /* @__PURE__ */ jsx93(ToolbarIcon, { icon: "link" })
16930
17033
  }
16931
17034
  ) }) : null,
16932
- visibleLists.size > 0 ? /* @__PURE__ */ jsxs60(Fragment14, { children: [
16933
- visibleLists.has("unorderedList") ? /* @__PURE__ */ jsx92(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ jsx92(
17035
+ visibleLists.size > 0 ? /* @__PURE__ */ jsxs61(Fragment14, { children: [
17036
+ visibleLists.has("unorderedList") ? /* @__PURE__ */ jsx93(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ jsx93(
16934
17037
  "button",
16935
17038
  {
16936
17039
  onClick: () => {
16937
17040
  activeElement === "unorderedList" ? editor.dispatchCommand(REMOVE_LIST_COMMAND, void 0) : editor.dispatchCommand(INSERT_UNORDERED_LIST_COMMAND, void 0);
16938
17041
  },
16939
17042
  css: [toolbarButton, activeElement === "unorderedList" ? toolbarButtonActive : null],
16940
- children: /* @__PURE__ */ jsx92(ToolbarIcon, { icon: "layout-list" })
17043
+ children: /* @__PURE__ */ jsx93(ToolbarIcon, { icon: "layout-list" })
16941
17044
  }
16942
17045
  ) }) : null,
16943
- visibleLists.has("orderedList") ? /* @__PURE__ */ jsx92(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ jsx92(
17046
+ visibleLists.has("orderedList") ? /* @__PURE__ */ jsx93(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ jsx93(
16944
17047
  "button",
16945
17048
  {
16946
17049
  onClick: () => {
16947
17050
  activeElement === "orderedList" ? editor.dispatchCommand(REMOVE_LIST_COMMAND, void 0) : editor.dispatchCommand(INSERT_ORDERED_LIST_COMMAND, void 0);
16948
17051
  },
16949
17052
  css: [toolbarButton, activeElement === "orderedList" ? toolbarButtonActive : null],
16950
- children: /* @__PURE__ */ jsx92(ToolbarIcon, { icon: "layout-list-numbered" })
17053
+ children: /* @__PURE__ */ jsx93(ToolbarIcon, { icon: "layout-list-numbered" })
16951
17054
  }
16952
17055
  ) }) : null
16953
17056
  ] }) : null,
16954
- quoteElementVisible ? /* @__PURE__ */ jsx92(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ jsx92(
17057
+ quoteElementVisible ? /* @__PURE__ */ jsx93(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ jsx93(
16955
17058
  "button",
16956
17059
  {
16957
17060
  onClick: () => {
16958
17061
  activeElement === "quote" ? onSelectElement("paragraph") : onSelectElement("quote");
16959
17062
  },
16960
17063
  css: [toolbarButton, activeElement === "quote" ? toolbarButtonActive : null],
16961
- children: /* @__PURE__ */ jsx92(ToolbarIcon, { icon: "quote" })
17064
+ children: /* @__PURE__ */ jsx93(ToolbarIcon, { icon: "quote" })
16962
17065
  }
16963
17066
  ) }) : null,
16964
- codeElementVisible ? /* @__PURE__ */ jsx92(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ jsx92(
17067
+ codeElementVisible ? /* @__PURE__ */ jsx93(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ jsx93(
16965
17068
  "button",
16966
17069
  {
16967
17070
  onClick: () => {
16968
17071
  activeElement === "code" ? onSelectElement("paragraph") : onSelectElement("code");
16969
17072
  },
16970
17073
  css: [toolbarButton, activeElement === "code" ? toolbarButtonActive : null],
16971
- children: /* @__PURE__ */ jsx92(ToolbarIcon, { icon: "code-slash" })
17074
+ children: /* @__PURE__ */ jsx93(ToolbarIcon, { icon: "code-slash" })
16972
17075
  }
16973
17076
  ) }) : null
16974
17077
  ] }) : null
@@ -17085,7 +17188,7 @@ var useRichTextToolbarState = ({ config }) => {
17085
17188
  };
17086
17189
 
17087
17190
  // src/components/ParameterInputs/ParameterRichText.tsx
17088
- import { Fragment as Fragment15, jsx as jsx93, jsxs as jsxs61 } from "@emotion/react/jsx-runtime";
17191
+ import { Fragment as Fragment15, jsx as jsx94, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
17089
17192
  var ParameterRichText = ({
17090
17193
  label,
17091
17194
  labelLeadingIcon,
@@ -17106,7 +17209,7 @@ var ParameterRichText = ({
17106
17209
  editorInputClassName,
17107
17210
  editorFooter
17108
17211
  }) => {
17109
- return /* @__PURE__ */ jsxs61(
17212
+ return /* @__PURE__ */ jsxs62(
17110
17213
  ParameterShell,
17111
17214
  {
17112
17215
  "data-test-id": "parameter-input",
@@ -17120,7 +17223,7 @@ var ParameterRichText = ({
17120
17223
  captionTestId,
17121
17224
  menuItems,
17122
17225
  children: [
17123
- /* @__PURE__ */ jsx93(
17226
+ /* @__PURE__ */ jsx94(
17124
17227
  ParameterRichTextInner,
17125
17228
  {
17126
17229
  value,
@@ -17134,23 +17237,23 @@ var ParameterRichText = ({
17134
17237
  editorFooter
17135
17238
  }
17136
17239
  ),
17137
- menuItems ? /* @__PURE__ */ jsx93(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx93(Fragment15, { children: menuItems }) }) : null
17240
+ menuItems ? /* @__PURE__ */ jsx94(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx94(Fragment15, { children: menuItems }) }) : null
17138
17241
  ]
17139
17242
  }
17140
17243
  );
17141
17244
  };
17142
- var editorWrapper = css75`
17245
+ var editorWrapper = css76`
17143
17246
  display: flex;
17144
17247
  flex-flow: column;
17145
17248
  flex-grow: 1;
17146
17249
  `;
17147
- var editorContainer = css75`
17250
+ var editorContainer = css76`
17148
17251
  display: flex;
17149
17252
  flex-flow: column;
17150
17253
  flex-grow: 1;
17151
17254
  position: relative;
17152
17255
  `;
17153
- var editorPlaceholder = css75`
17256
+ var editorPlaceholder = css76`
17154
17257
  color: var(--gray-500);
17155
17258
  font-style: italic;
17156
17259
  /* 1px is added to make sure caret is clearly visible when field is focused
@@ -17161,7 +17264,7 @@ var editorPlaceholder = css75`
17161
17264
  top: var(--spacing-xs);
17162
17265
  user-select: none;
17163
17266
  `;
17164
- var editorInput = css75`
17267
+ var editorInput = css76`
17165
17268
  background: var(--white);
17166
17269
  border: 1px solid var(--white);
17167
17270
  border-radius: var(--rounded-sm);
@@ -17197,7 +17300,7 @@ var ParameterRichTextInner = ({
17197
17300
  console.error(error);
17198
17301
  },
17199
17302
  editorState: value ? JSON.stringify(value) : void 0,
17200
- nodes: [ListNode2, ListItemNode, LinkNode, HeadingNode, QuoteNode, CodeNode, ParagraphNode],
17303
+ nodes: [ListNode2, ListItemNode, LinkNode, HeadingNode, QuoteNode, ParagraphNode2, CustomCodeNode],
17201
17304
  theme: {
17202
17305
  text: {
17203
17306
  bold: textBold,
@@ -17232,8 +17335,8 @@ var ParameterRichTextInner = ({
17232
17335
  },
17233
17336
  editable: !readOnly
17234
17337
  };
17235
- return /* @__PURE__ */ jsxs61(Fragment15, { children: [
17236
- /* @__PURE__ */ jsx93("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ jsx93(LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ jsx93(
17338
+ return /* @__PURE__ */ jsxs62(Fragment15, { children: [
17339
+ /* @__PURE__ */ jsx94("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ jsx94(LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ jsx94(
17237
17340
  RichText,
17238
17341
  {
17239
17342
  onChange,
@@ -17265,13 +17368,13 @@ var RichText = ({
17265
17368
  editorInputClassName
17266
17369
  }) => {
17267
17370
  const editorContainerRef = useRef6(null);
17268
- const [editor] = useLexicalComposerContext4();
17269
- useEffect12(() => {
17371
+ const [editor] = useLexicalComposerContext5();
17372
+ useEffect13(() => {
17270
17373
  if (onRichTextInit) {
17271
17374
  onRichTextInit(editor);
17272
17375
  }
17273
17376
  }, [editor, onRichTextInit]);
17274
- useEffect12(() => {
17377
+ useEffect13(() => {
17275
17378
  const removeUpdateListener = editor.registerUpdateListener(({ editorState, prevEditorState }) => {
17276
17379
  requestAnimationFrame(() => {
17277
17380
  if (!deepEqual2(editorState.toJSON(), prevEditorState.toJSON())) {
@@ -17283,39 +17386,40 @@ var RichText = ({
17283
17386
  removeUpdateListener();
17284
17387
  };
17285
17388
  }, []);
17286
- return /* @__PURE__ */ jsxs61(Fragment15, { children: [
17287
- readOnly ? null : /* @__PURE__ */ jsx93(RichTextToolbar_default, { config }),
17288
- /* @__PURE__ */ jsxs61("div", { css: editorContainer, ref: editorContainerRef, children: [
17289
- /* @__PURE__ */ jsx93(
17389
+ return /* @__PURE__ */ jsxs62(Fragment15, { children: [
17390
+ readOnly ? null : /* @__PURE__ */ jsx94(RichTextToolbar_default, { config }),
17391
+ /* @__PURE__ */ jsxs62("div", { css: editorContainer, ref: editorContainerRef, children: [
17392
+ /* @__PURE__ */ jsx94(
17290
17393
  RichTextPlugin,
17291
17394
  {
17292
- contentEditable: /* @__PURE__ */ jsx93(ContentEditable, { css: editorInput, className: editorInputClassName }),
17293
- placeholder: /* @__PURE__ */ jsx93("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
17395
+ contentEditable: /* @__PURE__ */ jsx94(ContentEditable, { css: editorInput, className: editorInputClassName }),
17396
+ placeholder: /* @__PURE__ */ jsx94("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
17294
17397
  ErrorBoundary: LexicalErrorBoundary
17295
17398
  }
17296
17399
  ),
17297
- /* @__PURE__ */ jsx93(ListPlugin, {}),
17298
- readOnly ? null : /* @__PURE__ */ jsx93(HistoryPlugin, {}),
17299
- /* @__PURE__ */ jsx93(LinkNodePlugin, { onConnectLink: onConnectLink ? onConnectLink : () => Promise.resolve() }),
17300
- /* @__PURE__ */ jsx93(ListIndentPlugin, { maxDepth: 4 }),
17301
- /* @__PURE__ */ jsx93(MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS })
17400
+ /* @__PURE__ */ jsx94(ListPlugin, {}),
17401
+ readOnly ? null : /* @__PURE__ */ jsx94(HistoryPlugin, {}),
17402
+ /* @__PURE__ */ jsx94(LinkNodePlugin, { onConnectLink: onConnectLink ? onConnectLink : () => Promise.resolve() }),
17403
+ /* @__PURE__ */ jsx94(ListIndentPlugin, { maxDepth: 4 }),
17404
+ /* @__PURE__ */ jsx94(DisableStylesPlugin, {}),
17405
+ /* @__PURE__ */ jsx94(MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS })
17302
17406
  ] })
17303
17407
  ] });
17304
17408
  };
17305
17409
 
17306
17410
  // src/components/ParameterInputs/ParameterSelect.tsx
17307
17411
  import { forwardRef as forwardRef13 } from "react";
17308
- import { jsx as jsx94, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
17412
+ import { jsx as jsx95, jsxs as jsxs63 } from "@emotion/react/jsx-runtime";
17309
17413
  var ParameterSelect = forwardRef13(
17310
17414
  ({ defaultOption, options, ...props }, ref) => {
17311
17415
  const { shellProps, innerProps } = extractParameterProps(props);
17312
- return /* @__PURE__ */ jsx94(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx94(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
17416
+ return /* @__PURE__ */ jsx95(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx95(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
17313
17417
  }
17314
17418
  );
17315
17419
  var ParameterSelectInner = forwardRef13(
17316
17420
  ({ defaultOption, options, ...props }, ref) => {
17317
17421
  const { id, label, hiddenLabel } = useParameterShell();
17318
- return /* @__PURE__ */ jsxs62(
17422
+ return /* @__PURE__ */ jsxs63(
17319
17423
  "select",
17320
17424
  {
17321
17425
  css: [input2, selectInput],
@@ -17324,10 +17428,10 @@ var ParameterSelectInner = forwardRef13(
17324
17428
  ref,
17325
17429
  ...props,
17326
17430
  children: [
17327
- defaultOption ? /* @__PURE__ */ jsx94("option", { value: "", children: defaultOption }) : null,
17431
+ defaultOption ? /* @__PURE__ */ jsx95("option", { value: "", children: defaultOption }) : null,
17328
17432
  options.map((option) => {
17329
17433
  var _a;
17330
- return /* @__PURE__ */ jsx94("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
17434
+ return /* @__PURE__ */ jsx95("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
17331
17435
  })
17332
17436
  ]
17333
17437
  }
@@ -17337,14 +17441,14 @@ var ParameterSelectInner = forwardRef13(
17337
17441
 
17338
17442
  // src/components/ParameterInputs/ParameterTextarea.tsx
17339
17443
  import { forwardRef as forwardRef14 } from "react";
17340
- import { jsx as jsx95 } from "@emotion/react/jsx-runtime";
17444
+ import { jsx as jsx96 } from "@emotion/react/jsx-runtime";
17341
17445
  var ParameterTextarea = forwardRef14((props, ref) => {
17342
17446
  const { shellProps, innerProps } = extractParameterProps(props);
17343
- return /* @__PURE__ */ jsx95(ParameterShell, { "data-test-id": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx95(ParameterTextareaInner, { ref, ...innerProps }) });
17447
+ return /* @__PURE__ */ jsx96(ParameterShell, { "data-test-id": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx96(ParameterTextareaInner, { ref, ...innerProps }) });
17344
17448
  });
17345
17449
  var ParameterTextareaInner = forwardRef14(({ ...props }, ref) => {
17346
17450
  const { id, label, hiddenLabel } = useParameterShell();
17347
- return /* @__PURE__ */ jsx95(
17451
+ return /* @__PURE__ */ jsx96(
17348
17452
  "textarea",
17349
17453
  {
17350
17454
  css: [input2, textarea2],
@@ -17358,17 +17462,17 @@ var ParameterTextareaInner = forwardRef14(({ ...props }, ref) => {
17358
17462
 
17359
17463
  // src/components/ParameterInputs/ParameterToggle.tsx
17360
17464
  import { forwardRef as forwardRef15 } from "react";
17361
- import { jsx as jsx96, jsxs as jsxs63 } from "@emotion/react/jsx-runtime";
17465
+ import { jsx as jsx97, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
17362
17466
  var ParameterToggle = forwardRef15((props, ref) => {
17363
17467
  const { shellProps, innerProps } = extractParameterProps(props);
17364
- return /* @__PURE__ */ jsx96(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx96(ParameterToggleInner, { ref, ...innerProps }) });
17468
+ return /* @__PURE__ */ jsx97(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx97(ParameterToggleInner, { ref, ...innerProps }) });
17365
17469
  });
17366
17470
  var ParameterToggleInner = forwardRef15(
17367
17471
  ({ ...props }, ref) => {
17368
17472
  const { id, label } = useParameterShell();
17369
- return /* @__PURE__ */ jsxs63("label", { css: inputToggleLabel2, children: [
17370
- /* @__PURE__ */ jsx96("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
17371
- /* @__PURE__ */ jsx96("span", { css: inlineLabel2, children: label })
17473
+ return /* @__PURE__ */ jsxs64("label", { css: inputToggleLabel2, children: [
17474
+ /* @__PURE__ */ jsx97("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
17475
+ /* @__PURE__ */ jsx97("span", { css: inlineLabel2, children: label })
17372
17476
  ] });
17373
17477
  }
17374
17478
  );
@@ -17380,7 +17484,7 @@ import {
17380
17484
  usePopoverState
17381
17485
  } from "reakit/Popover";
17382
17486
  import { Portal as Portal2 } from "reakit/Portal";
17383
- import { Fragment as Fragment16, jsx as jsx97, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
17487
+ import { Fragment as Fragment16, jsx as jsx98, jsxs as jsxs65 } from "@emotion/react/jsx-runtime";
17384
17488
  var Popover2 = ({
17385
17489
  iconColor = "action",
17386
17490
  icon = "info",
@@ -17392,36 +17496,36 @@ var Popover2 = ({
17392
17496
  children
17393
17497
  }) => {
17394
17498
  const popover = usePopoverState({ placement });
17395
- return /* @__PURE__ */ jsxs64(Fragment16, { children: [
17396
- /* @__PURE__ */ jsxs64(PopoverDisclosure, { ...popover, css: PopoverBtn, title: buttonText, "data-test-id": testId, children: [
17397
- /* @__PURE__ */ jsx97(Icon, { icon, iconColor, size: iconSize }),
17398
- /* @__PURE__ */ jsx97("span", { hidden: true, children: buttonText })
17499
+ return /* @__PURE__ */ jsxs65(Fragment16, { children: [
17500
+ /* @__PURE__ */ jsxs65(PopoverDisclosure, { ...popover, css: PopoverBtn, title: buttonText, "data-test-id": testId, children: [
17501
+ /* @__PURE__ */ jsx98(Icon, { icon, iconColor, size: iconSize }),
17502
+ /* @__PURE__ */ jsx98("span", { hidden: true, children: buttonText })
17399
17503
  ] }),
17400
- /* @__PURE__ */ jsx97(Portal2, { children: /* @__PURE__ */ jsx97(ReakitPopover, { css: Popover, ...popover, "aria-label": ariaLabel, children }) })
17504
+ /* @__PURE__ */ jsx98(Portal2, { children: /* @__PURE__ */ jsx98(ReakitPopover, { css: Popover, ...popover, "aria-label": ariaLabel, children }) })
17401
17505
  ] });
17402
17506
  };
17403
17507
 
17404
17508
  // src/components/ProgressList/ProgressList.tsx
17405
- import { css as css77 } from "@emotion/react";
17509
+ import { css as css78 } from "@emotion/react";
17406
17510
  import { useMemo as useMemo4 } from "react";
17407
17511
  import { CgCheckO as CgCheckO2, CgRadioCheck, CgRecord } from "react-icons/cg";
17408
17512
 
17409
17513
  // src/components/ProgressList/styles/ProgressList.styles.ts
17410
- import { css as css76 } from "@emotion/react";
17411
- var progressListStyles = css76`
17514
+ import { css as css77 } from "@emotion/react";
17515
+ var progressListStyles = css77`
17412
17516
  display: flex;
17413
17517
  flex-direction: column;
17414
17518
  gap: var(--spacing-sm);
17415
17519
  list-style-type: none;
17416
17520
  `;
17417
- var progressListItemStyles = css76`
17521
+ var progressListItemStyles = css77`
17418
17522
  display: flex;
17419
17523
  gap: var(--spacing-base);
17420
17524
  align-items: center;
17421
17525
  `;
17422
17526
 
17423
17527
  // src/components/ProgressList/ProgressList.tsx
17424
- import { jsx as jsx98, jsxs as jsxs65 } from "@emotion/react/jsx-runtime";
17528
+ import { jsx as jsx99, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
17425
17529
  var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
17426
17530
  const itemsWithStatus = useMemo4(() => {
17427
17531
  const indexOfInProgressItem = items.findIndex(({ id }) => id === inProgressId);
@@ -17435,8 +17539,8 @@ var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
17435
17539
  return { ...item, status };
17436
17540
  });
17437
17541
  }, [items, inProgressId]);
17438
- return /* @__PURE__ */ jsx98("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
17439
- return /* @__PURE__ */ jsx98(
17542
+ return /* @__PURE__ */ jsx99("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
17543
+ return /* @__PURE__ */ jsx99(
17440
17544
  ProgressListItem,
17441
17545
  {
17442
17546
  status,
@@ -17469,12 +17573,12 @@ var ProgressListItem = ({
17469
17573
  }, [status, error]);
17470
17574
  const statusStyles = useMemo4(() => {
17471
17575
  if (error) {
17472
- return errorLevel === "caution" ? css77`
17576
+ return errorLevel === "caution" ? css78`
17473
17577
  color: rgb(161, 98, 7);
17474
17578
  & svg {
17475
17579
  color: rgb(250, 204, 21);
17476
17580
  }
17477
- ` : css77`
17581
+ ` : css78`
17478
17582
  color: rgb(185, 28, 28);
17479
17583
  & svg {
17480
17584
  color: var(--brand-primary-2);
@@ -17482,35 +17586,35 @@ var ProgressListItem = ({
17482
17586
  `;
17483
17587
  }
17484
17588
  const colorPerStatus = {
17485
- completed: css77`
17589
+ completed: css78`
17486
17590
  opacity: 0.75;
17487
17591
  `,
17488
- inProgress: css77`
17592
+ inProgress: css78`
17489
17593
  -webkit-text-stroke-width: thin;
17490
17594
  `,
17491
- queued: css77`
17595
+ queued: css78`
17492
17596
  opacity: 0.5;
17493
17597
  `
17494
17598
  };
17495
17599
  return colorPerStatus[status];
17496
17600
  }, [status, error, errorLevel]);
17497
- return /* @__PURE__ */ jsxs65("li", { css: [progressListItemStyles, statusStyles], children: [
17498
- /* @__PURE__ */ jsx98(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ jsx98("div", { children: /* @__PURE__ */ jsx98(Icon2, { size: 20 }) }) }),
17499
- /* @__PURE__ */ jsxs65("div", { children: [
17601
+ return /* @__PURE__ */ jsxs66("li", { css: [progressListItemStyles, statusStyles], children: [
17602
+ /* @__PURE__ */ jsx99(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ jsx99("div", { children: /* @__PURE__ */ jsx99(Icon2, { size: 20 }) }) }),
17603
+ /* @__PURE__ */ jsxs66("div", { children: [
17500
17604
  children,
17501
- /* @__PURE__ */ jsx98("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
17605
+ /* @__PURE__ */ jsx99("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
17502
17606
  ] })
17503
17607
  ] });
17504
17608
  };
17505
17609
 
17506
17610
  // src/components/SegmentedControl/SegmentedControl.tsx
17507
- import { css as css79 } from "@emotion/react";
17611
+ import { css as css80 } from "@emotion/react";
17508
17612
  import { useCallback as useCallback6, useMemo as useMemo5 } from "react";
17509
17613
  import { CgCheck as CgCheck4 } from "react-icons/cg";
17510
17614
 
17511
17615
  // src/components/SegmentedControl/SegmentedControl.styles.ts
17512
- import { css as css78 } from "@emotion/react";
17513
- var segmentedControlStyles = css78`
17616
+ import { css as css79 } from "@emotion/react";
17617
+ var segmentedControlStyles = css79`
17514
17618
  --segmented-control-rounded-value: var(--rounded-base);
17515
17619
  --segmented-control-border-width: 1px;
17516
17620
  --segmented-control-selected-color: var(--brand-secondary-3);
@@ -17529,14 +17633,14 @@ var segmentedControlStyles = css78`
17529
17633
  border-radius: calc(var(--segmented-control-rounded-value) + var(--segmented-control-border-width));
17530
17634
  font-size: var(--fs-xs);
17531
17635
  `;
17532
- var segmentedControlVerticalStyles = css78`
17636
+ var segmentedControlVerticalStyles = css79`
17533
17637
  flex-direction: column;
17534
17638
  --segmented-control-first-border-radius: var(--segmented-control-rounded-value)
17535
17639
  var(--segmented-control-rounded-value) 0 0;
17536
17640
  --segmented-control-last-border-radius: 0 0 var(--segmented-control-rounded-value)
17537
17641
  var(--segmented-control-rounded-value);
17538
17642
  `;
17539
- var segmentedControlItemStyles = css78`
17643
+ var segmentedControlItemStyles = css79`
17540
17644
  &:first-of-type label {
17541
17645
  border-radius: var(--segmented-control-first-border-radius);
17542
17646
  }
@@ -17544,10 +17648,10 @@ var segmentedControlItemStyles = css78`
17544
17648
  border-radius: var(--segmented-control-last-border-radius);
17545
17649
  }
17546
17650
  `;
17547
- var segmentedControlInputStyles = css78`
17651
+ var segmentedControlInputStyles = css79`
17548
17652
  ${accessibleHidden}
17549
17653
  `;
17550
- var segmentedControlLabelStyles = css78`
17654
+ var segmentedControlLabelStyles = css79`
17551
17655
  position: relative;
17552
17656
  display: flex;
17553
17657
  align-items: center;
@@ -17584,23 +17688,23 @@ var segmentedControlLabelStyles = css78`
17584
17688
  background-color: var(--gray-400);
17585
17689
  }
17586
17690
  `;
17587
- var segmentedControlLabelIconOnlyStyles = css78`
17691
+ var segmentedControlLabelIconOnlyStyles = css79`
17588
17692
  padding-inline: 0.5em;
17589
17693
  `;
17590
- var segmentedControlLabelCheckStyles = css78`
17694
+ var segmentedControlLabelCheckStyles = css79`
17591
17695
  opacity: 0.5;
17592
17696
  `;
17593
- var segmentedControlLabelContentStyles = css78`
17697
+ var segmentedControlLabelContentStyles = css79`
17594
17698
  display: flex;
17595
17699
  align-items: center;
17596
17700
  justify-content: center;
17597
17701
  gap: var(--spacing-sm);
17598
17702
  height: 100%;
17599
17703
  `;
17600
- var segmentedControlLabelTextStyles = css78``;
17704
+ var segmentedControlLabelTextStyles = css79``;
17601
17705
 
17602
17706
  // src/components/SegmentedControl/SegmentedControl.tsx
17603
- import { jsx as jsx99, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
17707
+ import { jsx as jsx100, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
17604
17708
  var SegmentedControl = ({
17605
17709
  name,
17606
17710
  options,
@@ -17622,16 +17726,16 @@ var SegmentedControl = ({
17622
17726
  );
17623
17727
  const sizeStyles = useMemo5(() => {
17624
17728
  const map = {
17625
- sm: css79({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
17626
- md: css79({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
17627
- lg: css79({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
17729
+ sm: css80({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
17730
+ md: css80({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
17731
+ lg: css80({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
17628
17732
  };
17629
17733
  return map[size];
17630
17734
  }, [size]);
17631
17735
  const isIconOnly = useMemo5(() => {
17632
17736
  return options.every((option) => option.icon && !option.label);
17633
17737
  }, [options]);
17634
- return /* @__PURE__ */ jsx99(
17738
+ return /* @__PURE__ */ jsx100(
17635
17739
  "div",
17636
17740
  {
17637
17741
  css: [segmentedControlStyles, orientation === "vertical" ? segmentedControlVerticalStyles : void 0],
@@ -17639,11 +17743,11 @@ var SegmentedControl = ({
17639
17743
  children: options.map((option, index) => {
17640
17744
  const text = option.label ? option.label : option.icon ? null : String(option.value);
17641
17745
  const isDisabled = disabled || option.disabled;
17642
- return /* @__PURE__ */ jsx99(
17746
+ return /* @__PURE__ */ jsx100(
17643
17747
  Tooltip,
17644
17748
  {
17645
17749
  title: isDisabled || !option.tooltip ? "" : option.tooltip,
17646
- children: /* @__PURE__ */ jsx99("div", { css: segmentedControlItemStyles, "data-test-id": "container-segmented-control", children: /* @__PURE__ */ jsxs66(
17750
+ children: /* @__PURE__ */ jsx100("div", { css: segmentedControlItemStyles, "data-test-id": "container-segmented-control", children: /* @__PURE__ */ jsxs67(
17647
17751
  "label",
17648
17752
  {
17649
17753
  css: [
@@ -17652,7 +17756,7 @@ var SegmentedControl = ({
17652
17756
  isIconOnly ? segmentedControlLabelIconOnlyStyles : void 0
17653
17757
  ],
17654
17758
  children: [
17655
- /* @__PURE__ */ jsx99(
17759
+ /* @__PURE__ */ jsx100(
17656
17760
  "input",
17657
17761
  {
17658
17762
  css: segmentedControlInputStyles,
@@ -17664,10 +17768,10 @@ var SegmentedControl = ({
17664
17768
  disabled: isDisabled
17665
17769
  }
17666
17770
  ),
17667
- option.value !== value || noCheckmark ? null : /* @__PURE__ */ jsx99(CgCheck4, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
17668
- /* @__PURE__ */ jsxs66("span", { css: segmentedControlLabelContentStyles, children: [
17669
- !option.icon ? null : /* @__PURE__ */ jsx99(option.icon, { size: "1.5em" }),
17670
- !text ? null : /* @__PURE__ */ jsx99("span", { css: segmentedControlLabelTextStyles, children: text })
17771
+ option.value !== value || noCheckmark ? null : /* @__PURE__ */ jsx100(CgCheck4, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
17772
+ /* @__PURE__ */ jsxs67("span", { css: segmentedControlLabelContentStyles, children: [
17773
+ !option.icon ? null : /* @__PURE__ */ jsx100(option.icon, { size: "1.5em" }),
17774
+ !text ? null : /* @__PURE__ */ jsx100("span", { css: segmentedControlLabelTextStyles, children: text })
17671
17775
  ] })
17672
17776
  ]
17673
17777
  }
@@ -17681,18 +17785,18 @@ var SegmentedControl = ({
17681
17785
  };
17682
17786
 
17683
17787
  // src/components/Skeleton/Skeleton.styles.ts
17684
- import { css as css80, keyframes as keyframes4 } from "@emotion/react";
17788
+ import { css as css81, keyframes as keyframes4 } from "@emotion/react";
17685
17789
  var lightFadingOut = keyframes4`
17686
17790
  from { opacity: 0.1; }
17687
17791
  to { opacity: 0.025; }
17688
17792
  `;
17689
- var skeletonStyles = css80`
17793
+ var skeletonStyles = css81`
17690
17794
  animation: ${lightFadingOut} 1s ease-out infinite alternate;
17691
17795
  background-color: var(--gray-900);
17692
17796
  `;
17693
17797
 
17694
17798
  // src/components/Skeleton/Skeleton.tsx
17695
- import { jsx as jsx100 } from "@emotion/react/jsx-runtime";
17799
+ import { jsx as jsx101 } from "@emotion/react/jsx-runtime";
17696
17800
  var Skeleton = ({
17697
17801
  width = "100%",
17698
17802
  height = "1.25rem",
@@ -17700,7 +17804,7 @@ var Skeleton = ({
17700
17804
  circle = false,
17701
17805
  children,
17702
17806
  ...otherProps
17703
- }) => /* @__PURE__ */ jsx100(
17807
+ }) => /* @__PURE__ */ jsx101(
17704
17808
  "div",
17705
17809
  {
17706
17810
  css: [
@@ -17723,8 +17827,8 @@ var Skeleton = ({
17723
17827
  import * as React20 from "react";
17724
17828
 
17725
17829
  // src/components/Switch/Switch.styles.ts
17726
- import { css as css81 } from "@emotion/react";
17727
- var SwitchInputContainer = css81`
17830
+ import { css as css82 } from "@emotion/react";
17831
+ var SwitchInputContainer = css82`
17728
17832
  cursor: pointer;
17729
17833
  display: inline-block;
17730
17834
  position: relative;
@@ -17733,7 +17837,7 @@ var SwitchInputContainer = css81`
17733
17837
  vertical-align: middle;
17734
17838
  user-select: none;
17735
17839
  `;
17736
- var SwitchInput = css81`
17840
+ var SwitchInput = css82`
17737
17841
  appearance: none;
17738
17842
  border-radius: var(--rounded-full);
17739
17843
  background-color: var(--white);
@@ -17771,7 +17875,7 @@ var SwitchInput = css81`
17771
17875
  cursor: not-allowed;
17772
17876
  }
17773
17877
  `;
17774
- var SwitchInputDisabled = css81`
17878
+ var SwitchInputDisabled = css82`
17775
17879
  opacity: var(--opacity-50);
17776
17880
  cursor: not-allowed;
17777
17881
 
@@ -17779,7 +17883,7 @@ var SwitchInputDisabled = css81`
17779
17883
  cursor: not-allowed;
17780
17884
  }
17781
17885
  `;
17782
- var SwitchInputLabel = css81`
17886
+ var SwitchInputLabel = css82`
17783
17887
  align-items: center;
17784
17888
  color: var(--brand-secondary-1);
17785
17889
  display: inline-flex;
@@ -17801,26 +17905,26 @@ var SwitchInputLabel = css81`
17801
17905
  top: 0;
17802
17906
  }
17803
17907
  `;
17804
- var SwitchText = css81`
17908
+ var SwitchText = css82`
17805
17909
  color: var(--gray-500);
17806
17910
  font-size: var(--fs-sm);
17807
17911
  padding-inline: var(--spacing-2xl) 0;
17808
17912
  `;
17809
17913
 
17810
17914
  // src/components/Switch/Switch.tsx
17811
- import { Fragment as Fragment17, jsx as jsx101, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
17915
+ import { Fragment as Fragment17, jsx as jsx102, jsxs as jsxs68 } from "@emotion/react/jsx-runtime";
17812
17916
  var Switch = React20.forwardRef(
17813
17917
  ({ label, infoText, toggleText, children, ...inputProps }, ref) => {
17814
17918
  let additionalText = infoText;
17815
17919
  if (infoText && toggleText) {
17816
17920
  additionalText = inputProps.checked ? toggleText : infoText;
17817
17921
  }
17818
- return /* @__PURE__ */ jsxs67(Fragment17, { children: [
17819
- /* @__PURE__ */ jsxs67("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
17820
- /* @__PURE__ */ jsx101("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
17821
- /* @__PURE__ */ jsx101("span", { css: SwitchInputLabel, children: label })
17922
+ return /* @__PURE__ */ jsxs68(Fragment17, { children: [
17923
+ /* @__PURE__ */ jsxs68("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
17924
+ /* @__PURE__ */ jsx102("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
17925
+ /* @__PURE__ */ jsx102("span", { css: SwitchInputLabel, children: label })
17822
17926
  ] }),
17823
- additionalText ? /* @__PURE__ */ jsx101("p", { css: SwitchText, children: additionalText }) : null,
17927
+ additionalText ? /* @__PURE__ */ jsx102("p", { css: SwitchText, children: additionalText }) : null,
17824
17928
  children
17825
17929
  ] });
17826
17930
  }
@@ -17830,8 +17934,8 @@ var Switch = React20.forwardRef(
17830
17934
  import * as React21 from "react";
17831
17935
 
17832
17936
  // src/components/Table/Table.styles.ts
17833
- import { css as css82 } from "@emotion/react";
17834
- var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css82`
17937
+ import { css as css83 } from "@emotion/react";
17938
+ var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css83`
17835
17939
  border-bottom: 1px solid var(--gray-400);
17836
17940
  border-collapse: collapse;
17837
17941
  min-width: 100%;
@@ -17842,60 +17946,60 @@ var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css82
17842
17946
  padding: ${cellPadding};
17843
17947
  }
17844
17948
  `;
17845
- var tableHead = css82`
17949
+ var tableHead = css83`
17846
17950
  background: var(--gray-100);
17847
17951
  color: var(--brand-secondary-1);
17848
17952
  text-align: left;
17849
17953
  `;
17850
- var tableRow = css82`
17954
+ var tableRow = css83`
17851
17955
  border-bottom: 1px solid var(--gray-200);
17852
17956
  `;
17853
- var tableCellHead = css82`
17957
+ var tableCellHead = css83`
17854
17958
  font-size: var(--fs-sm);
17855
17959
  text-transform: uppercase;
17856
17960
  font-weight: var(--fw-bold);
17857
17961
  `;
17858
17962
 
17859
17963
  // src/components/Table/Table.tsx
17860
- import { jsx as jsx102 } from "@emotion/react/jsx-runtime";
17964
+ import { jsx as jsx103 } from "@emotion/react/jsx-runtime";
17861
17965
  var Table = React21.forwardRef(
17862
17966
  ({ children, cellPadding, ...otherProps }, ref) => {
17863
- return /* @__PURE__ */ jsx102("table", { ref, css: table({ cellPadding }), ...otherProps, children });
17967
+ return /* @__PURE__ */ jsx103("table", { ref, css: table({ cellPadding }), ...otherProps, children });
17864
17968
  }
17865
17969
  );
17866
17970
  var TableHead = React21.forwardRef(
17867
17971
  ({ children, ...otherProps }, ref) => {
17868
- return /* @__PURE__ */ jsx102("thead", { ref, css: tableHead, ...otherProps, children });
17972
+ return /* @__PURE__ */ jsx103("thead", { ref, css: tableHead, ...otherProps, children });
17869
17973
  }
17870
17974
  );
17871
17975
  var TableBody = React21.forwardRef(
17872
17976
  ({ children, ...otherProps }, ref) => {
17873
- return /* @__PURE__ */ jsx102("tbody", { ref, ...otherProps, children });
17977
+ return /* @__PURE__ */ jsx103("tbody", { ref, ...otherProps, children });
17874
17978
  }
17875
17979
  );
17876
17980
  var TableFoot = React21.forwardRef(
17877
17981
  ({ children, ...otherProps }, ref) => {
17878
- return /* @__PURE__ */ jsx102("tfoot", { ref, ...otherProps, children });
17982
+ return /* @__PURE__ */ jsx103("tfoot", { ref, ...otherProps, children });
17879
17983
  }
17880
17984
  );
17881
17985
  var TableRow = React21.forwardRef(
17882
17986
  ({ children, ...otherProps }, ref) => {
17883
- return /* @__PURE__ */ jsx102("tr", { ref, css: tableRow, ...otherProps, children });
17987
+ return /* @__PURE__ */ jsx103("tr", { ref, css: tableRow, ...otherProps, children });
17884
17988
  }
17885
17989
  );
17886
17990
  var TableCellHead = React21.forwardRef(
17887
17991
  ({ children, ...otherProps }, ref) => {
17888
- return /* @__PURE__ */ jsx102("th", { ref, css: tableCellHead, ...otherProps, children });
17992
+ return /* @__PURE__ */ jsx103("th", { ref, css: tableCellHead, ...otherProps, children });
17889
17993
  }
17890
17994
  );
17891
17995
  var TableCellData = React21.forwardRef(
17892
17996
  ({ children, ...otherProps }, ref) => {
17893
- return /* @__PURE__ */ jsx102("td", { ref, ...otherProps, children });
17997
+ return /* @__PURE__ */ jsx103("td", { ref, ...otherProps, children });
17894
17998
  }
17895
17999
  );
17896
18000
 
17897
18001
  // src/components/Tabs/Tabs.tsx
17898
- import { createContext as createContext6, useContext as useContext7, useEffect as useEffect13, useMemo as useMemo6 } from "react";
18002
+ import { createContext as createContext6, useContext as useContext7, useEffect as useEffect14, useMemo as useMemo6 } from "react";
17899
18003
  import {
17900
18004
  Tab as ReakitTab,
17901
18005
  TabList as ReakitTabList,
@@ -17904,8 +18008,8 @@ import {
17904
18008
  } from "reakit/Tab";
17905
18009
 
17906
18010
  // src/components/Tabs/Tabs.styles.ts
17907
- import { css as css83 } from "@emotion/react";
17908
- var tabButtonStyles = css83`
18011
+ import { css as css84 } from "@emotion/react";
18012
+ var tabButtonStyles = css84`
17909
18013
  align-items: center;
17910
18014
  border: 0;
17911
18015
  height: 2.5rem;
@@ -17922,14 +18026,14 @@ var tabButtonStyles = css83`
17922
18026
  box-shadow: inset 0 -2px 0 var(--brand-secondary-3);
17923
18027
  }
17924
18028
  `;
17925
- var tabButtonGroupStyles = css83`
18029
+ var tabButtonGroupStyles = css84`
17926
18030
  display: flex;
17927
18031
  gap: var(--spacing-base);
17928
18032
  border-bottom: 1px solid var(--gray-300);
17929
18033
  `;
17930
18034
 
17931
18035
  // src/components/Tabs/Tabs.tsx
17932
- import { jsx as jsx103 } from "@emotion/react/jsx-runtime";
18036
+ import { jsx as jsx104 } from "@emotion/react/jsx-runtime";
17933
18037
  var CurrentTabContext = createContext6(null);
17934
18038
  var useCurrentTab = () => {
17935
18039
  const context = useContext7(CurrentTabContext);
@@ -17945,7 +18049,7 @@ var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...prop
17945
18049
  return useHashForState && typeof window !== "undefined" && window.location.hash ? window.location.hash.substring(1) : void 0;
17946
18050
  }, [selectedId, useHashForState]);
17947
18051
  const tab = useTabState({ ...props, selectedId: selected });
17948
- useEffect13(() => {
18052
+ useEffect14(() => {
17949
18053
  var _a;
17950
18054
  const selectedValueWithoutNull = (_a = tab.selectedId) != null ? _a : void 0;
17951
18055
  onSelectedIdChange == null ? void 0 : onSelectedIdChange(selectedValueWithoutNull);
@@ -17953,29 +18057,29 @@ var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...prop
17953
18057
  window.location.hash = selectedValueWithoutNull != null ? selectedValueWithoutNull : "";
17954
18058
  }
17955
18059
  }, [tab.selectedId, onSelectedIdChange, useHashForState]);
17956
- useEffect13(() => {
18060
+ useEffect14(() => {
17957
18061
  if (selected && selected !== tab.selectedId) {
17958
18062
  tab.setSelectedId(selected);
17959
18063
  }
17960
18064
  }, [selected]);
17961
- return /* @__PURE__ */ jsx103(CurrentTabContext.Provider, { value: tab, children });
18065
+ return /* @__PURE__ */ jsx104(CurrentTabContext.Provider, { value: tab, children });
17962
18066
  };
17963
18067
  var TabButtonGroup = ({ children, ...props }) => {
17964
18068
  const currentTab = useCurrentTab();
17965
- return /* @__PURE__ */ jsx103(ReakitTabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
18069
+ return /* @__PURE__ */ jsx104(ReakitTabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
17966
18070
  };
17967
18071
  var TabButton = ({ children, id, ...props }) => {
17968
18072
  const currentTab = useCurrentTab();
17969
- return /* @__PURE__ */ jsx103(ReakitTab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
18073
+ return /* @__PURE__ */ jsx104(ReakitTab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
17970
18074
  };
17971
18075
  var TabContent = ({ children, ...props }) => {
17972
18076
  const currentTab = useCurrentTab();
17973
- return /* @__PURE__ */ jsx103(ReakitTabPanel, { ...props, ...currentTab, children });
18077
+ return /* @__PURE__ */ jsx104(ReakitTabPanel, { ...props, ...currentTab, children });
17974
18078
  };
17975
18079
 
17976
18080
  // src/components/Validation/StatusBullet.styles.ts
17977
- import { css as css84 } from "@emotion/react";
17978
- var StatusBulletContainer = css84`
18081
+ import { css as css85 } from "@emotion/react";
18082
+ var StatusBulletContainer = css85`
17979
18083
  align-items: center;
17980
18084
  align-self: center;
17981
18085
  color: var(--gray-500);
@@ -17992,33 +18096,33 @@ var StatusBulletContainer = css84`
17992
18096
  display: block;
17993
18097
  }
17994
18098
  `;
17995
- var StatusBulletBase = css84`
18099
+ var StatusBulletBase = css85`
17996
18100
  font-size: var(--fs-sm);
17997
18101
  &:before {
17998
18102
  width: var(--fs-xs);
17999
18103
  height: var(--fs-xs);
18000
18104
  }
18001
18105
  `;
18002
- var StatusBulletSmall = css84`
18106
+ var StatusBulletSmall = css85`
18003
18107
  font-size: var(--fs-xs);
18004
18108
  &:before {
18005
18109
  width: var(--fs-xxs);
18006
18110
  height: var(--fs-xxs);
18007
18111
  }
18008
18112
  `;
18009
- var StatusDraft = css84`
18113
+ var StatusDraft = css85`
18010
18114
  &:before {
18011
18115
  background: var(--white);
18012
18116
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
18013
18117
  }
18014
18118
  `;
18015
- var StatusModified = css84`
18119
+ var StatusModified = css85`
18016
18120
  &:before {
18017
18121
  background: linear-gradient(to right, var(--white) 50%, var(--primary-action-default) 50% 100%);
18018
18122
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
18019
18123
  }
18020
18124
  `;
18021
- var StatusError = css84`
18125
+ var StatusError = css85`
18022
18126
  color: var(--error);
18023
18127
  &:before {
18024
18128
  /* TODO: replace this with an svg icon */
@@ -18031,19 +18135,19 @@ var StatusError = css84`
18031
18135
  );
18032
18136
  }
18033
18137
  `;
18034
- var StatusPublished = css84`
18138
+ var StatusPublished = css85`
18035
18139
  &:before {
18036
18140
  background: var(--primary-action-default);
18037
18141
  }
18038
18142
  `;
18039
- var StatusOrphan = css84`
18143
+ var StatusOrphan = css85`
18040
18144
  &:before {
18041
18145
  background: var(--brand-secondary-5);
18042
18146
  }
18043
18147
  `;
18044
18148
 
18045
18149
  // src/components/Validation/StatusBullet.tsx
18046
- import { jsx as jsx104 } from "@emotion/react/jsx-runtime";
18150
+ import { jsx as jsx105 } from "@emotion/react/jsx-runtime";
18047
18151
  var StatusBullet = ({
18048
18152
  status,
18049
18153
  hideText = false,
@@ -18061,7 +18165,7 @@ var StatusBullet = ({
18061
18165
  Previous: StatusDraft
18062
18166
  };
18063
18167
  const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
18064
- return /* @__PURE__ */ jsx104(
18168
+ return /* @__PURE__ */ jsx105(
18065
18169
  "span",
18066
18170
  {
18067
18171
  role: "status",
@@ -18095,6 +18199,7 @@ export {
18095
18199
  Details,
18096
18200
  DismissibleChipAction,
18097
18201
  Drawer,
18202
+ DrawerContent2 as DrawerContent,
18098
18203
  DrawerProvider,
18099
18204
  DrawerRenderer,
18100
18205
  EditTeamIntegrationTile,