@uniformdev/design-system 19.51.0 → 19.53.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
@@ -2267,7 +2267,7 @@ var PageHeaderSection = ({
2267
2267
  if (linkText && linkProps && !linkManagerComponent) {
2268
2268
  throw Error("You must provide a linkManagerComponent");
2269
2269
  }
2270
- return /* @__PURE__ */ jsxs6("div", { css: PageHeaderSectionContainer, children: [
2270
+ return /* @__PURE__ */ jsxs6("div", { css: PageHeaderSectionContainer, "data-testid": "page-header", children: [
2271
2271
  /* @__PURE__ */ jsxs6("section", { css: PageHeaderSectionDetails, children: [
2272
2272
  linkText && linkProps && linkManagerComponent ? /* @__PURE__ */ jsxs6("div", { css: PageHeaderSectionLinkContainer, children: [
2273
2273
  /* @__PURE__ */ jsx14(Icon, { icon: CgChevronLeft, size: 18, css: PageHeaderSectionLinkIcon, iconColor: "currentColor" }),
@@ -2277,7 +2277,8 @@ var PageHeaderSection = ({
2277
2277
  linkManagerComponent,
2278
2278
  ...linkProps,
2279
2279
  css: PageHeaderSectionLink,
2280
- text: linkText
2280
+ text: linkText,
2281
+ "data-testid": "page-header-link"
2281
2282
  }
2282
2283
  )
2283
2284
  ] }) : null,
@@ -11532,6 +11533,7 @@ var Menu = ({
11532
11533
  typeof menuItemsContainerCssClasses === "object" ? menuItemsContainerCssClasses : void 0
11533
11534
  ],
11534
11535
  className: typeof menuItemsContainerCssClasses === "string" ? menuItemsContainerCssClasses : "",
11536
+ "data-testid": "more-menu",
11535
11537
  children: disableAutoSeparatorManagement ? children : filterMenuSeparators(children)
11536
11538
  }
11537
11539
  ) })
@@ -13367,50 +13369,57 @@ import { forwardRef as forwardRef4 } from "react";
13367
13369
  // src/components/IconButton/IconButton.styles.ts
13368
13370
  import { css as css44 } from "@emotion/react";
13369
13371
  var iconButton = css44`
13370
- border-radius: 50%;
13371
- padding: var(--spacing-sm);
13372
- `;
13372
+ padding: 0;
13373
+ max-width: unset;
13374
+ justify-content: center;
13375
+ width: var(--button-size);
13376
+ height: var(--button-size);
13377
+ `;
13378
+ var sizes = {
13379
+ xs: css44`
13380
+ --button-size: 2rem;
13381
+ `,
13382
+ sm: css44`
13383
+ --button-size: 2.25rem;
13384
+ `,
13385
+ md: css44`
13386
+ --button-size: 2.5rem;
13387
+ `
13388
+ };
13389
+ var variants = {
13390
+ square: null,
13391
+ rounded: css44`
13392
+ border-radius: 50%;
13393
+ `
13394
+ };
13373
13395
 
13374
13396
  // src/components/IconButton/IconButton.tsx
13375
13397
  import { jsx as jsx47 } from "@emotion/react/jsx-runtime";
13376
- var IconButton = forwardRef4(({ children, ...props }, ref) => {
13377
- return /* @__PURE__ */ jsx47(Button, { ref, css: iconButton, ...props, children });
13378
- });
13398
+ var IconButton = forwardRef4(
13399
+ ({ children, size = "md", variant = "square", ...props }, ref) => {
13400
+ return /* @__PURE__ */ jsx47(Button, { ref, css: [iconButton, variants[variant], sizes[size]], ...props, children });
13401
+ }
13402
+ );
13379
13403
  IconButton.displayName = "IconButton";
13380
13404
 
13381
- // src/components/Image/ImageBroken.tsx
13382
- import { jsx as jsx48, jsxs as jsxs29 } from "@emotion/react/jsx-runtime";
13383
- var ImageBroken = ({ width, height, ...props }) => {
13384
- return /* @__PURE__ */ jsxs29(
13385
- "svg",
13386
- {
13387
- role: "img",
13388
- width: width != null ? width : "214",
13389
- height: height != null ? height : "214",
13390
- viewBox: "0 0 214 214",
13391
- fill: "none",
13392
- xmlns: "http://www.w3.org/2000/svg",
13393
- xmlnsXlink: "http://www.w3.org/1999/xlink",
13394
- "data-testid": "broken-image",
13395
- ...props,
13396
- children: [
13397
- /* @__PURE__ */ jsx48("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
13398
- /* @__PURE__ */ jsx48("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
13399
- /* @__PURE__ */ jsxs29("defs", { children: [
13400
- /* @__PURE__ */ jsx48("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ jsx48("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
13401
- /* @__PURE__ */ jsx48(
13402
- "image",
13403
- {
13404
- id: "image0_761_4353",
13405
- width: "400",
13406
- height: "400",
13407
- xlinkHref: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAABX2lDQ1BJQ0MgUHJvZmlsZQAAKJFtkMFLAlEQxj/NEFIyQaJDhz1EEFiYdupmRhp5WCyxhA7rc3ODdXvsrkSn+ge6RATRPTpGBF46CP0DQVDQqVu3LoGXkm2eW61W8xjmx8fMvOED/GGFcz0AoG7YZiG7IK1vlKXgC/wYQ4ReVGEWT8tynlrwXfuj/QCfqPfTYlertBTZv3o9W8mdhmcblxN/+/tiqKpajOoHZZJx0wZ8CWJ51+aCD4hjJh1FfCy45vKF4IrLN92etUKG+I54hGlKlfiZOF7p0Ws9XNcb7OsGcX1YNYqrVEcpx5FHFhKK0GHDhEKcwyJ59P/MXHcmgx1w7FH/NmrQaFJCmhROW1TiZRhgmEGcOIkEZUp4/dtDT7PIh/lD+op72mYMuNaAYeZpk0dANATclrliKj/O+toBayuVdDnUBAZPHOetBASngM6j47w3HadzDgw8Aa32JyLnYb5bLiabAAAAOGVYSWZNTQAqAAAACAABh2kABAAAAAEAAAAaAAAAAAACoAIABAAAAAEAAAGQoAMABAAAAAEAAAGQAAAAADj5TfYAABuPSURBVHgB7Z0Ld9RG1kX94GmMAYcECJAwyZq1vv//czKLDEMghkB4GIPf9ne6FRq5W60qt9Vq3aPNypoR3erSvftUTuqWSqXl/YPDJf5AAAIQiEBgJUKQxAgBCEBgQADDoh9AAAJhCGBYYaQiUAhAAMOiD0AAAmEIYFhhpCJQCEAAw6IPQAACYQhgWGGkIlAIQADDog9AAAJhCGBYYaQiUAhAAMOiD0AAAmEIYFhhpCJQCEAAw6IPQAACYQhgWGGkIlAIQADDog9AAAJhCGBY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MtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBuB/we75KcVO2CRagAAAABJRU5ErkJggg=="
13408
- }
13409
- )
13410
- ] })
13411
- ]
13405
+ // src/components/Image/Image.tsx
13406
+ import { useCallback as useCallback2, useEffect as useEffect7, useState as useState8 } from "react";
13407
+
13408
+ // src/utils/url.ts
13409
+ var isValidUrl = (urlString, options = {}) => {
13410
+ try {
13411
+ const isRelativeToLocation = /^([/.])/.test(urlString);
13412
+ const url = new URL(
13413
+ urlString,
13414
+ options.allowRelative && isRelativeToLocation ? "https://defaultbaseurl.com" : void 0
13415
+ );
13416
+ if (options.isSecure) {
13417
+ return url.protocol === "https:";
13412
13418
  }
13413
- );
13419
+ return true;
13420
+ } catch (e) {
13421
+ return false;
13422
+ }
13414
13423
  };
13415
13424
 
13416
13425
  // src/components/Input/styles/CaptionText.styles.ts
@@ -13424,9 +13433,9 @@ var CaptionText = (dynamicSize) => css45`
13424
13433
  `;
13425
13434
 
13426
13435
  // src/components/Input/Caption.tsx
13427
- import { jsx as jsx49 } from "@emotion/react/jsx-runtime";
13436
+ import { jsx as jsx48 } from "@emotion/react/jsx-runtime";
13428
13437
  var Caption = ({ children, testId, dynamicSize = false, ...props }) => {
13429
- return /* @__PURE__ */ jsx49("small", { css: CaptionText(dynamicSize), "data-testid": testId, ...props, children });
13438
+ return /* @__PURE__ */ jsx48("small", { css: CaptionText(dynamicSize), "data-testid": testId, ...props, children });
13430
13439
  };
13431
13440
 
13432
13441
  // src/components/Input/CheckboxWithInfo.tsx
@@ -13505,21 +13514,21 @@ var InfoDialogMessage = css46`
13505
13514
  `;
13506
13515
 
13507
13516
  // src/components/Input/CheckboxWithInfo.tsx
13508
- import { jsx as jsx50, jsxs as jsxs30 } from "@emotion/react/jsx-runtime";
13517
+ import { jsx as jsx49, jsxs as jsxs29 } from "@emotion/react/jsx-runtime";
13509
13518
  var InfoDialog = ({ message }) => {
13510
- return /* @__PURE__ */ jsxs30("div", { "data-testid": "info-dialog", css: InfoDialogContainer, children: [
13511
- /* @__PURE__ */ jsx50(Icon, { icon: "info", iconColor: "action", size: "0.9rem" }),
13512
- /* @__PURE__ */ jsx50("div", { role: "paragraph", css: InfoDialogMessage, className: "info-message", children: message })
13519
+ return /* @__PURE__ */ jsxs29("div", { "data-testid": "info-dialog", css: InfoDialogContainer, children: [
13520
+ /* @__PURE__ */ jsx49(Icon, { icon: "info", iconColor: "action", size: "0.9rem" }),
13521
+ /* @__PURE__ */ jsx49("div", { role: "paragraph", css: InfoDialogMessage, className: "info-message", children: message })
13513
13522
  ] });
13514
13523
  };
13515
13524
  var CheckboxWithInfo = forwardRef5(
13516
13525
  ({ label, name, info, ...props }, ref) => {
13517
- return /* @__PURE__ */ jsxs30("div", { css: CheckboxWithInfoContainer, children: [
13518
- /* @__PURE__ */ jsxs30("label", { css: CheckboxWithInfoLabel, children: [
13519
- /* @__PURE__ */ jsx50("input", { type: "checkbox", name, ref, css: CheckboxWithInfoInput, ...props }),
13520
- /* @__PURE__ */ jsx50("span", { children: label })
13526
+ return /* @__PURE__ */ jsxs29("div", { css: CheckboxWithInfoContainer, children: [
13527
+ /* @__PURE__ */ jsxs29("label", { css: CheckboxWithInfoLabel, children: [
13528
+ /* @__PURE__ */ jsx49("input", { type: "checkbox", name, ref, css: CheckboxWithInfoInput, ...props }),
13529
+ /* @__PURE__ */ jsx49("span", { children: label })
13521
13530
  ] }),
13522
- info ? /* @__PURE__ */ jsx50(InfoDialog, { message: info }) : null
13531
+ info ? /* @__PURE__ */ jsx49(InfoDialog, { message: info }) : null
13523
13532
  ] });
13524
13533
  }
13525
13534
  );
@@ -13537,10 +13546,10 @@ var ErrorText = css47`
13537
13546
  `;
13538
13547
 
13539
13548
  // src/components/Input/ErrorMessage.tsx
13540
- import { jsx as jsx51, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
13549
+ import { jsx as jsx50, jsxs as jsxs30 } from "@emotion/react/jsx-runtime";
13541
13550
  var ErrorMessage = ({ message, testId, ...otherProps }) => {
13542
- return message ? /* @__PURE__ */ jsxs31("span", { role: "alert", css: ErrorText, "data-testid": testId, ...otherProps, children: [
13543
- /* @__PURE__ */ jsx51("span", { children: /* @__PURE__ */ jsx51(Icon, { icon: MdWarning, size: "1rem", iconColor: "currentColor" }) }),
13551
+ return message ? /* @__PURE__ */ jsxs30("span", { role: "alert", css: ErrorText, "data-testid": testId, ...otherProps, children: [
13552
+ /* @__PURE__ */ jsx50("span", { children: /* @__PURE__ */ jsx50(Icon, { icon: MdWarning, size: "1rem", iconColor: "currentColor" }) }),
13544
13553
  message
13545
13554
  ] }) : null;
13546
13555
  };
@@ -13589,12 +13598,12 @@ var fieldsetBody = css48`
13589
13598
  `;
13590
13599
 
13591
13600
  // src/components/Input/Fieldset.tsx
13592
- import { jsx as jsx52, jsxs as jsxs32 } from "@emotion/react/jsx-runtime";
13601
+ import { jsx as jsx51, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
13593
13602
  var Fieldset = React15.forwardRef(
13594
13603
  ({ legend, disabled, children, invert, ...props }, ref) => {
13595
- return /* @__PURE__ */ jsxs32("fieldset", { css: fieldsetContainer(Boolean(invert)), ref, disabled, ...props, children: [
13604
+ return /* @__PURE__ */ jsxs31("fieldset", { css: fieldsetContainer(Boolean(invert)), ref, disabled, ...props, children: [
13596
13605
  legend,
13597
- /* @__PURE__ */ jsx52("div", { css: fieldsetBody, children })
13606
+ /* @__PURE__ */ jsx51("div", { css: fieldsetBody, children })
13598
13607
  ] });
13599
13608
  }
13600
13609
  );
@@ -13618,10 +13627,10 @@ var InfoIcon2 = css49`
13618
13627
  `;
13619
13628
 
13620
13629
  // src/components/Input/InfoMessage.tsx
13621
- import { jsx as jsx53, jsxs as jsxs33 } from "@emotion/react/jsx-runtime";
13630
+ import { jsx as jsx52, jsxs as jsxs32 } from "@emotion/react/jsx-runtime";
13622
13631
  var InfoMessage = ({ message, testId, ...props }) => {
13623
- return message ? /* @__PURE__ */ jsxs33("span", { role: "status", css: InfoText, "data-testid": testId, ...props, children: [
13624
- /* @__PURE__ */ jsx53("span", { children: /* @__PURE__ */ jsx53(Icon, { css: InfoIcon2, icon: MdInfoOutline, size: "1rem", iconColor: "currentColor" }) }),
13632
+ return message ? /* @__PURE__ */ jsxs32("span", { role: "status", css: InfoText, "data-testid": testId, ...props, children: [
13633
+ /* @__PURE__ */ jsx52("span", { children: /* @__PURE__ */ jsx52(Icon, { css: InfoIcon2, icon: MdInfoOutline, size: "1rem", iconColor: "currentColor" }) }),
13625
13634
  message
13626
13635
  ] }) : null;
13627
13636
  };
@@ -13630,9 +13639,9 @@ var InfoMessage = ({ message, testId, ...props }) => {
13630
13639
  import * as React16 from "react";
13631
13640
 
13632
13641
  // src/components/Input/Label.tsx
13633
- import { jsx as jsx54 } from "@emotion/react/jsx-runtime";
13642
+ import { jsx as jsx53 } from "@emotion/react/jsx-runtime";
13634
13643
  var Label = ({ children, className, testId, ...props }) => {
13635
- return /* @__PURE__ */ jsx54(
13644
+ return /* @__PURE__ */ jsx53(
13636
13645
  "label",
13637
13646
  {
13638
13647
  css: [labelText, typeof className === "object" ? className : void 0],
@@ -13660,16 +13669,16 @@ var WarningIcon = css50`
13660
13669
  `;
13661
13670
 
13662
13671
  // src/components/Input/WarningMessage.tsx
13663
- import { jsx as jsx55, jsxs as jsxs34 } from "@emotion/react/jsx-runtime";
13672
+ import { jsx as jsx54, jsxs as jsxs33 } from "@emotion/react/jsx-runtime";
13664
13673
  var WarningMessage = ({ message, testId, ...props }) => {
13665
- return message ? /* @__PURE__ */ jsxs34("span", { role: "status", css: WarningText, "data-testid": testId, ...props, children: [
13666
- /* @__PURE__ */ jsx55("span", { children: /* @__PURE__ */ jsx55(Icon, { css: WarningIcon, icon: MdWarning2, size: "1rem", iconColor: "currentColor" }) }),
13674
+ return message ? /* @__PURE__ */ jsxs33("span", { role: "status", css: WarningText, "data-testid": testId, ...props, children: [
13675
+ /* @__PURE__ */ jsx54("span", { children: /* @__PURE__ */ jsx54(Icon, { css: WarningIcon, icon: MdWarning2, size: "1rem", iconColor: "currentColor" }) }),
13667
13676
  message
13668
13677
  ] }) : null;
13669
13678
  };
13670
13679
 
13671
13680
  // src/components/Input/Input.tsx
13672
- import { jsx as jsx56, jsxs as jsxs35 } from "@emotion/react/jsx-runtime";
13681
+ import { jsx as jsx55, jsxs as jsxs34 } from "@emotion/react/jsx-runtime";
13673
13682
  var Input = React16.forwardRef(
13674
13683
  ({
13675
13684
  label,
@@ -13689,13 +13698,13 @@ var Input = React16.forwardRef(
13689
13698
  classNameLabel,
13690
13699
  ...props
13691
13700
  }, ref) => {
13692
- return /* @__PURE__ */ jsxs35(
13701
+ return /* @__PURE__ */ jsxs34(
13693
13702
  "div",
13694
13703
  {
13695
13704
  css: [inputContainer, typeof classNameRoot === "object" ? classNameRoot : void 0],
13696
13705
  "data-testid": containerTestId ? containerTestId : "container-input-field",
13697
13706
  children: [
13698
- showLabel ? /* @__PURE__ */ jsx56(
13707
+ showLabel ? /* @__PURE__ */ jsx55(
13699
13708
  Label,
13700
13709
  {
13701
13710
  htmlFor: id,
@@ -13705,13 +13714,13 @@ var Input = React16.forwardRef(
13705
13714
  children: label
13706
13715
  }
13707
13716
  ) : null,
13708
- /* @__PURE__ */ jsxs35(
13717
+ /* @__PURE__ */ jsxs34(
13709
13718
  "div",
13710
13719
  {
13711
13720
  css: [inputContainer, typeof classNameContainer === "object" ? classNameContainer : void 0],
13712
13721
  className: typeof classNameContainer === "string" ? classNameContainer : "",
13713
13722
  children: [
13714
- /* @__PURE__ */ jsx56(
13723
+ /* @__PURE__ */ jsx55(
13715
13724
  "input",
13716
13725
  {
13717
13726
  id,
@@ -13727,13 +13736,13 @@ var Input = React16.forwardRef(
13727
13736
  ref
13728
13737
  }
13729
13738
  ),
13730
- icon ? /* @__PURE__ */ jsx56("div", { css: inputIcon, children: icon }) : null
13739
+ icon ? /* @__PURE__ */ jsx55("div", { css: inputIcon, children: icon }) : null
13731
13740
  ]
13732
13741
  }
13733
13742
  ),
13734
- caption ? /* @__PURE__ */ jsx56(Caption, { testId: captionTestId, children: caption }) : null,
13735
- errorMessage ? /* @__PURE__ */ jsx56(ErrorMessage, { message: errorMessage, testId: errorTestId }) : null,
13736
- warningMessage && !errorMessage ? /* @__PURE__ */ jsx56(WarningMessage, { message: warningMessage }) : null
13743
+ caption ? /* @__PURE__ */ jsx55(Caption, { testId: captionTestId, children: caption }) : null,
13744
+ errorMessage ? /* @__PURE__ */ jsx55(ErrorMessage, { message: errorMessage, testId: errorTestId }) : null,
13745
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx55(WarningMessage, { message: warningMessage }) : null
13737
13746
  ]
13738
13747
  }
13739
13748
  );
@@ -13742,10 +13751,10 @@ var Input = React16.forwardRef(
13742
13751
 
13743
13752
  // src/components/Input/InputComboBox.tsx
13744
13753
  import Select from "react-select";
13745
- import { jsx as jsx57 } from "@emotion/react/jsx-runtime";
13754
+ import { jsx as jsx56 } from "@emotion/react/jsx-runtime";
13746
13755
  function InputComboBox(props) {
13747
13756
  var _a;
13748
- return /* @__PURE__ */ jsx57(
13757
+ return /* @__PURE__ */ jsx56(
13749
13758
  Select,
13750
13759
  {
13751
13760
  ...props,
@@ -13945,7 +13954,7 @@ var inlineSelectMenuClosed = css51`
13945
13954
  `;
13946
13955
 
13947
13956
  // src/components/Input/InputInlineSelect.tsx
13948
- import { jsx as jsx58, jsxs as jsxs36 } from "@emotion/react/jsx-runtime";
13957
+ import { jsx as jsx57, jsxs as jsxs35 } from "@emotion/react/jsx-runtime";
13949
13958
  var InputInlineSelect = ({
13950
13959
  classNameContainer,
13951
13960
  options,
@@ -13959,7 +13968,7 @@ var InputInlineSelect = ({
13959
13968
  const divRef = useRef4(null);
13960
13969
  useOutsideClick(divRef, () => setMenuVisible(false));
13961
13970
  const selected = options.find((option) => option.value === value);
13962
- return /* @__PURE__ */ jsxs36(
13971
+ return /* @__PURE__ */ jsxs35(
13963
13972
  "div",
13964
13973
  {
13965
13974
  ref: divRef,
@@ -13969,7 +13978,7 @@ var InputInlineSelect = ({
13969
13978
  `,
13970
13979
  className: typeof classNameContainer === "string" ? classNameContainer : "",
13971
13980
  children: [
13972
- /* @__PURE__ */ jsxs36(
13981
+ /* @__PURE__ */ jsxs35(
13973
13982
  "button",
13974
13983
  {
13975
13984
  type: "button",
@@ -13983,18 +13992,18 @@ var InputInlineSelect = ({
13983
13992
  disabled,
13984
13993
  ...props,
13985
13994
  children: [
13986
- /* @__PURE__ */ jsx58("span", { children: (_a = selected == null ? void 0 : selected.label) != null ? _a : value }),
13987
- disabled ? null : /* @__PURE__ */ jsx58(Icon, { icon: CgChevronDown2, iconColor: "currentColor", size: 24 })
13995
+ /* @__PURE__ */ jsx57("span", { children: (_a = selected == null ? void 0 : selected.label) != null ? _a : value }),
13996
+ disabled ? null : /* @__PURE__ */ jsx57(Icon, { icon: CgChevronDown2, iconColor: "currentColor", size: 24 })
13988
13997
  ]
13989
13998
  }
13990
13999
  ),
13991
- /* @__PURE__ */ jsx58(
14000
+ /* @__PURE__ */ jsx57(
13992
14001
  "div",
13993
14002
  {
13994
14003
  id: `and-or-${props.id}`,
13995
14004
  css: [inlineSelectMenu, menuVisible ? void 0 : inlineSelectMenuClosed],
13996
14005
  "aria-hidden": !menuVisible,
13997
- children: options.map((opt) => /* @__PURE__ */ jsx58(
14006
+ children: options.map((opt) => /* @__PURE__ */ jsx57(
13998
14007
  "button",
13999
14008
  {
14000
14009
  type: "button",
@@ -14017,7 +14026,7 @@ var InputInlineSelect = ({
14017
14026
  // src/components/Input/InputKeywordSearch.tsx
14018
14027
  import { CgClose as CgClose4 } from "@react-icons/all-files/cg/CgClose";
14019
14028
  import { CgSearch } from "@react-icons/all-files/cg/CgSearch";
14020
- import { jsx as jsx59 } from "@emotion/react/jsx-runtime";
14029
+ import { jsx as jsx58 } from "@emotion/react/jsx-runtime";
14021
14030
  var InputKeywordSearch = ({
14022
14031
  onSearchTextChanged,
14023
14032
  disabled = false,
@@ -14038,7 +14047,7 @@ var InputKeywordSearch = ({
14038
14047
  e.preventDefault();
14039
14048
  }
14040
14049
  };
14041
- return /* @__PURE__ */ jsx59(
14050
+ return /* @__PURE__ */ jsx58(
14042
14051
  Input,
14043
14052
  {
14044
14053
  type: "text",
@@ -14046,7 +14055,7 @@ var InputKeywordSearch = ({
14046
14055
  placeholder,
14047
14056
  showLabel: false,
14048
14057
  value,
14049
- icon: value ? /* @__PURE__ */ jsx59("button", { css: inputSearchCloseBtn, onClick: onClear, type: "button", children: /* @__PURE__ */ jsx59(Icon, { icon: CgClose4, iconColor: "red", size: "1rem" }) }) : /* @__PURE__ */ jsx59(Icon, { icon: CgSearch, iconColor: "gray", size: "1rem" }),
14058
+ icon: value ? /* @__PURE__ */ jsx58("button", { css: inputSearchCloseBtn, onClick: onClear, type: "button", children: /* @__PURE__ */ jsx58(Icon, { icon: CgClose4, iconColor: "red", size: "1rem" }) }) : /* @__PURE__ */ jsx58(Icon, { icon: CgSearch, iconColor: "gray", size: "1rem" }),
14050
14059
  onChange: handleSearchTextChanged,
14051
14060
  onKeyPress: preventSubmitOnField,
14052
14061
  disabled,
@@ -14064,7 +14073,7 @@ var InputKeywordSearch = ({
14064
14073
  };
14065
14074
 
14066
14075
  // src/components/Input/InputSelect.tsx
14067
- import { Fragment as Fragment8, jsx as jsx60, jsxs as jsxs37 } from "@emotion/react/jsx-runtime";
14076
+ import { Fragment as Fragment8, jsx as jsx59, jsxs as jsxs36 } from "@emotion/react/jsx-runtime";
14068
14077
  var InputSelect = ({
14069
14078
  label,
14070
14079
  defaultOption,
@@ -14080,13 +14089,13 @@ var InputSelect = ({
14080
14089
  classNameLabel,
14081
14090
  ...props
14082
14091
  }) => {
14083
- return /* @__PURE__ */ jsxs37(
14092
+ return /* @__PURE__ */ jsxs36(
14084
14093
  "div",
14085
14094
  {
14086
14095
  css: [inputContainer, typeof classNameContainer === "object" ? classNameContainer : void 0],
14087
14096
  className: typeof classNameContainer === "string" ? classNameContainer : "",
14088
14097
  children: [
14089
- showLabel ? /* @__PURE__ */ jsx60(Fragment8, { children: /* @__PURE__ */ jsxs37(
14098
+ showLabel ? /* @__PURE__ */ jsx59(Fragment8, { children: /* @__PURE__ */ jsxs36(
14090
14099
  Label,
14091
14100
  {
14092
14101
  htmlFor: props.id,
@@ -14098,7 +14107,7 @@ var InputSelect = ({
14098
14107
  ]
14099
14108
  }
14100
14109
  ) }) : null,
14101
- /* @__PURE__ */ jsxs37(
14110
+ /* @__PURE__ */ jsxs36(
14102
14111
  "select",
14103
14112
  {
14104
14113
  title: label,
@@ -14113,14 +14122,14 @@ var InputSelect = ({
14113
14122
  className: typeof classNameControl === "string" ? classNameControl : "",
14114
14123
  ...props,
14115
14124
  children: [
14116
- defaultOption ? /* @__PURE__ */ jsx60("option", { value: "", children: defaultOption }) : null,
14117
- options.map((opt, index) => /* @__PURE__ */ jsx60("option", { value: opt.label, ...opt }, index))
14125
+ defaultOption ? /* @__PURE__ */ jsx59("option", { value: "", children: defaultOption }) : null,
14126
+ options.map((opt, index) => /* @__PURE__ */ jsx59("option", { value: opt.label, ...opt }, index))
14118
14127
  ]
14119
14128
  }
14120
14129
  ),
14121
- caption ? /* @__PURE__ */ jsx60(Caption, { children: caption }) : null,
14122
- errorMessage ? /* @__PURE__ */ jsx60(ErrorMessage, { message: errorMessage }) : null,
14123
- warningMessage && !errorMessage ? /* @__PURE__ */ jsx60(WarningMessage, { message: warningMessage }) : null
14130
+ caption ? /* @__PURE__ */ jsx59(Caption, { children: caption }) : null,
14131
+ errorMessage ? /* @__PURE__ */ jsx59(ErrorMessage, { message: errorMessage }) : null,
14132
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx59(WarningMessage, { message: warningMessage }) : null
14124
14133
  ]
14125
14134
  }
14126
14135
  );
@@ -14128,7 +14137,7 @@ var InputSelect = ({
14128
14137
 
14129
14138
  // src/components/Input/InputToggle.tsx
14130
14139
  import * as React17 from "react";
14131
- import { jsx as jsx61, jsxs as jsxs38 } from "@emotion/react/jsx-runtime";
14140
+ import { jsx as jsx60, jsxs as jsxs37 } from "@emotion/react/jsx-runtime";
14132
14141
  var InputToggle = React17.forwardRef(
14133
14142
  ({
14134
14143
  label,
@@ -14143,13 +14152,13 @@ var InputToggle = React17.forwardRef(
14143
14152
  fontWeight = "medium",
14144
14153
  ...props
14145
14154
  }, ref) => {
14146
- return /* @__PURE__ */ jsxs38(
14155
+ return /* @__PURE__ */ jsxs37(
14147
14156
  Label,
14148
14157
  {
14149
14158
  css: [inputToggleLabel, disabled ? inputDisabled : void 0],
14150
14159
  "data-testid": testId ? testId : "input-toggle",
14151
14160
  children: [
14152
- /* @__PURE__ */ jsx61(
14161
+ /* @__PURE__ */ jsx60(
14153
14162
  "input",
14154
14163
  {
14155
14164
  ref,
@@ -14161,11 +14170,11 @@ var InputToggle = React17.forwardRef(
14161
14170
  ...props
14162
14171
  }
14163
14172
  ),
14164
- /* @__PURE__ */ jsx61("span", { css: inlineLabel(fontWeight), children: label }),
14165
- caption || errorMessage ? /* @__PURE__ */ jsxs38("span", { css: inputToggleMessageContainer, children: [
14166
- caption ? /* @__PURE__ */ jsx61(Caption, { children: caption }) : null,
14167
- errorMessage ? /* @__PURE__ */ jsx61(ErrorMessage, { message: errorMessage }) : null,
14168
- warningMessage && !errorMessage ? /* @__PURE__ */ jsx61(WarningMessage, { message: warningMessage }) : null
14173
+ /* @__PURE__ */ jsx60("span", { css: inlineLabel(fontWeight), children: label }),
14174
+ caption || errorMessage ? /* @__PURE__ */ jsxs37("span", { css: inputToggleMessageContainer, children: [
14175
+ caption ? /* @__PURE__ */ jsx60(Caption, { children: caption }) : null,
14176
+ errorMessage ? /* @__PURE__ */ jsx60(ErrorMessage, { message: errorMessage }) : null,
14177
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx60(WarningMessage, { message: warningMessage }) : null
14169
14178
  ] }) : null
14170
14179
  ]
14171
14180
  }
@@ -14174,9 +14183,9 @@ var InputToggle = React17.forwardRef(
14174
14183
  );
14175
14184
 
14176
14185
  // src/components/Input/Legend.tsx
14177
- import { jsx as jsx62 } from "@emotion/react/jsx-runtime";
14186
+ import { jsx as jsx61 } from "@emotion/react/jsx-runtime";
14178
14187
  var Legend = ({ children }) => {
14179
- return /* @__PURE__ */ jsx62("legend", { css: fieldsetLegend, children });
14188
+ return /* @__PURE__ */ jsx61("legend", { css: fieldsetLegend, children });
14180
14189
  };
14181
14190
 
14182
14191
  // src/components/Input/SuccessMessage.tsx
@@ -14198,23 +14207,23 @@ var SuccessIcon2 = css53`
14198
14207
  `;
14199
14208
 
14200
14209
  // src/components/Input/SuccessMessage.tsx
14201
- import { jsx as jsx63, jsxs as jsxs39 } from "@emotion/react/jsx-runtime";
14210
+ import { jsx as jsx62, jsxs as jsxs38 } from "@emotion/react/jsx-runtime";
14202
14211
  var SuccessMessage = ({ message, testId, ...props }) => {
14203
- return message ? /* @__PURE__ */ jsxs39("span", { role: "status", css: SuccessText, "data-testid": testId, ...props, children: [
14204
- /* @__PURE__ */ jsx63("span", { children: /* @__PURE__ */ jsx63(Icon, { css: SuccessIcon2, icon: CgCheckO, size: "1rem", iconColor: "currentColor" }) }),
14212
+ return message ? /* @__PURE__ */ jsxs38("span", { role: "status", css: SuccessText, "data-testid": testId, ...props, children: [
14213
+ /* @__PURE__ */ jsx62("span", { children: /* @__PURE__ */ jsx62(Icon, { css: SuccessIcon2, icon: CgCheckO, size: "1rem", iconColor: "currentColor" }) }),
14205
14214
  message
14206
14215
  ] }) : null;
14207
14216
  };
14208
14217
 
14209
14218
  // src/components/Input/Textarea.tsx
14210
14219
  import { forwardRef as forwardRef9 } from "react";
14211
- import { Fragment as Fragment9, jsx as jsx64, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
14220
+ import { Fragment as Fragment9, jsx as jsx63, jsxs as jsxs39 } from "@emotion/react/jsx-runtime";
14212
14221
  var Textarea = forwardRef9(
14213
14222
  ({ label, icon, id, caption, showLabel = true, errorMessage, warningMessage, ...props }, ref) => {
14214
- return /* @__PURE__ */ jsxs40(Fragment9, { children: [
14215
- showLabel ? /* @__PURE__ */ jsx64("label", { htmlFor: id, css: [labelText], children: label }) : null,
14216
- /* @__PURE__ */ jsxs40("div", { css: [inputContainer], children: [
14217
- /* @__PURE__ */ jsx64(
14223
+ return /* @__PURE__ */ jsxs39(Fragment9, { children: [
14224
+ showLabel ? /* @__PURE__ */ jsx63("label", { htmlFor: id, css: [labelText], children: label }) : null,
14225
+ /* @__PURE__ */ jsxs39("div", { css: [inputContainer], children: [
14226
+ /* @__PURE__ */ jsx63(
14218
14227
  "textarea",
14219
14228
  {
14220
14229
  ref,
@@ -14229,23 +14238,196 @@ var Textarea = forwardRef9(
14229
14238
  ...props
14230
14239
  }
14231
14240
  ),
14232
- icon ? /* @__PURE__ */ jsx64("div", { css: inputIcon, children: icon }) : null
14241
+ icon ? /* @__PURE__ */ jsx63("div", { css: inputIcon, children: icon }) : null
14233
14242
  ] }),
14234
- caption ? /* @__PURE__ */ jsx64(Caption, { children: caption }) : null,
14235
- errorMessage ? /* @__PURE__ */ jsx64(ErrorMessage, { message: errorMessage }) : null,
14236
- warningMessage && !errorMessage ? /* @__PURE__ */ jsx64(WarningMessage, { message: warningMessage }) : null
14243
+ caption ? /* @__PURE__ */ jsx63(Caption, { children: caption }) : null,
14244
+ errorMessage ? /* @__PURE__ */ jsx63(ErrorMessage, { message: errorMessage }) : null,
14245
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx63(WarningMessage, { message: warningMessage }) : null
14237
14246
  ] });
14238
14247
  }
14239
14248
  );
14240
14249
 
14250
+ // src/components/Image/Image.styles.ts
14251
+ import { css as css54 } from "@emotion/react";
14252
+ var imageWrapper = css54`
14253
+ position: relative;
14254
+ display: inline-flex;
14255
+ flex-direction: column;
14256
+ background: var(--gray-50);
14257
+ max-width: 100%;
14258
+ max-height: 100%;
14259
+ `;
14260
+ var imageWrapperLoading = css54`
14261
+ animation: ${skeletonLoading} var(--duration-slow) linear infinite alternate;
14262
+ `;
14263
+ var img = css54`
14264
+ object-fit: contain;
14265
+ max-width: 100%;
14266
+ max-height: 100%;
14267
+ height: auto;
14268
+ opacity: var(--opacity-0);
14269
+ margin: 0 auto;
14270
+ `;
14271
+ var imgLoading = css54`
14272
+ opacity: 0;
14273
+ `;
14274
+ var imgLoaded = css54`
14275
+ animation: ${fadeIn} var(--duration-slow) var(--timing-ease-out) forwards;
14276
+ opacity: 1;
14277
+ `;
14278
+ var brokenImage = css54`
14279
+ height: 160px;
14280
+ `;
14281
+ var variantFillImageWrapper = css54`
14282
+ display: flex;
14283
+ justify-content: center;
14284
+ height: 100%;
14285
+ width: 100%;
14286
+ `;
14287
+ var variantFillImageImg = css54`
14288
+ height: inherit;
14289
+ `;
14290
+
14291
+ // src/components/Image/ImageBroken.tsx
14292
+ import { jsx as jsx64, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
14293
+ var ImageBroken = ({ width, height, ...props }) => {
14294
+ return /* @__PURE__ */ jsxs40(
14295
+ "svg",
14296
+ {
14297
+ role: "img",
14298
+ width: width != null ? width : "214",
14299
+ height: height != null ? height : "214",
14300
+ viewBox: "0 0 214 214",
14301
+ fill: "none",
14302
+ xmlns: "http://www.w3.org/2000/svg",
14303
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
14304
+ "data-testid": "broken-image",
14305
+ ...props,
14306
+ children: [
14307
+ /* @__PURE__ */ jsx64("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
14308
+ /* @__PURE__ */ jsx64("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
14309
+ /* @__PURE__ */ jsxs40("defs", { children: [
14310
+ /* @__PURE__ */ jsx64("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ jsx64("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
14311
+ /* @__PURE__ */ jsx64(
14312
+ "image",
14313
+ {
14314
+ id: "image0_761_4353",
14315
+ width: "400",
14316
+ height: "400",
14317
+ xlinkHref: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAABX2lDQ1BJQ0MgUHJvZmlsZQAAKJFtkMFLAlEQxj/NEFIyQaJDhz1EEFiYdupmRhp5WCyxhA7rc3ODdXvsrkSn+ge6RATRPTpGBF46CP0DQVDQqVu3LoGXkm2eW61W8xjmx8fMvOED/GGFcz0AoG7YZiG7IK1vlKXgC/wYQ4ReVGEWT8tynlrwXfuj/QCfqPfTYlertBTZv3o9W8mdhmcblxN/+/tiqKpajOoHZZJx0wZ8CWJ51+aCD4hjJh1FfCy45vKF4IrLN92etUKG+I54hGlKlfiZOF7p0Ws9XNcb7OsGcX1YNYqrVEcpx5FHFhKK0GHDhEKcwyJ59P/MXHcmgx1w7FH/NmrQaFJCmhROW1TiZRhgmEGcOIkEZUp4/dtDT7PIh/lD+op72mYMuNaAYeZpk0dANATclrliKj/O+toBayuVdDnUBAZPHOetBASngM6j47w3HadzDgw8Aa32JyLnYb5bLiabAAAAOGVYSWZNTQAqAAAACAABh2kABAAAAAEAAA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sBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBuB/we75KcVO2CRagAAAABJRU5ErkJggg=="
14318
+ }
14319
+ )
14320
+ ] })
14321
+ ]
14322
+ }
14323
+ );
14324
+ };
14325
+
14326
+ // src/components/Image/Image.tsx
14327
+ import { Fragment as Fragment10, jsx as jsx65, jsxs as jsxs41 } from "@emotion/react/jsx-runtime";
14328
+ var MIN_LOADING_MS = 500;
14329
+ function Image({
14330
+ alt,
14331
+ src,
14332
+ className,
14333
+ imgClassName,
14334
+ variant = "inline",
14335
+ width,
14336
+ height,
14337
+ ...imgAttribs
14338
+ }) {
14339
+ const [loading, setLoading] = useState8(true);
14340
+ const [loadErrorText, setLoadErrorText] = useState8("");
14341
+ const errorText = "The text you provided is not a valid URL";
14342
+ const updateImageSrc = useCallback2(() => {
14343
+ let message = "";
14344
+ try {
14345
+ if (src === "") {
14346
+ setLoading(false);
14347
+ } else {
14348
+ const url = String(src).startsWith("//") ? `${location.protocol}${src}` : String(src);
14349
+ if (!isValidUrl(url, { allowRelative: true, isSecure: true })) {
14350
+ throw Error(errorText);
14351
+ }
14352
+ }
14353
+ message = "";
14354
+ } catch (e) {
14355
+ message = errorText;
14356
+ setLoading(false);
14357
+ }
14358
+ setLoadErrorText(message);
14359
+ }, [setLoadErrorText, src]);
14360
+ useEffect7(() => {
14361
+ updateImageSrc();
14362
+ }, [src]);
14363
+ const handleLoadEvent = () => {
14364
+ setLoadErrorText("");
14365
+ if (src) {
14366
+ setLoading(true);
14367
+ }
14368
+ const timer = setTimeout(() => {
14369
+ setLoading(false);
14370
+ }, MIN_LOADING_MS);
14371
+ return () => clearTimeout(timer);
14372
+ };
14373
+ const handleErrorEvent = () => {
14374
+ setLoadErrorText("The value you provided is not a valid image URL");
14375
+ setLoading(false);
14376
+ };
14377
+ return /* @__PURE__ */ jsxs41(
14378
+ "span",
14379
+ {
14380
+ className,
14381
+ css: [
14382
+ imageWrapper,
14383
+ loading ? imageWrapperLoading : null,
14384
+ variant === "fill-container" ? variantFillImageWrapper : null
14385
+ ],
14386
+ children: [
14387
+ src && !loadErrorText ? /* @__PURE__ */ jsx65(
14388
+ "img",
14389
+ {
14390
+ ...imgAttribs,
14391
+ className: imgClassName,
14392
+ alt,
14393
+ src,
14394
+ css: [
14395
+ img,
14396
+ variant === "fill-container" ? variantFillImageImg : null,
14397
+ loading ? imgLoading : imgLoaded
14398
+ ],
14399
+ loading: "lazy",
14400
+ width,
14401
+ height,
14402
+ onLoad: handleLoadEvent,
14403
+ onError: handleErrorEvent
14404
+ }
14405
+ ) : null,
14406
+ src && loadErrorText ? /* @__PURE__ */ jsxs41(Fragment10, { children: [
14407
+ /* @__PURE__ */ jsx65(
14408
+ ImageBroken,
14409
+ {
14410
+ css: [brokenImage, img, imgLoaded],
14411
+ width,
14412
+ height,
14413
+ "data-testid": "broken-image"
14414
+ }
14415
+ ),
14416
+ /* @__PURE__ */ jsx65(ErrorMessage, { message: loadErrorText })
14417
+ ] }) : null
14418
+ ]
14419
+ }
14420
+ );
14421
+ }
14422
+
14241
14423
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
14242
- import { css as css55 } from "@emotion/react";
14424
+ import { css as css56 } from "@emotion/react";
14243
14425
  import { CgAdd as CgAdd2 } from "@react-icons/all-files/cg/CgAdd";
14244
14426
  import { CgChevronRight as CgChevronRight2 } from "@react-icons/all-files/cg/CgChevronRight";
14245
14427
 
14246
14428
  // src/components/Tiles/styles/IntegrationTile.styles.ts
14247
- import { css as css54 } from "@emotion/react";
14248
- var IntegrationTileContainer = css54`
14429
+ import { css as css55 } from "@emotion/react";
14430
+ var IntegrationTileContainer = css55`
14249
14431
  align-items: center;
14250
14432
  box-sizing: border-box;
14251
14433
  border-radius: var(--rounded-base);
@@ -14276,22 +14458,22 @@ var IntegrationTileContainer = css54`
14276
14458
  }
14277
14459
  }
14278
14460
  `;
14279
- var IntegrationTileBtnDashedBorder = css54`
14461
+ var IntegrationTileBtnDashedBorder = css55`
14280
14462
  border: 1px dashed var(--brand-secondary-1);
14281
14463
  `;
14282
- var IntegrationTileTitle = css54`
14464
+ var IntegrationTileTitle = css55`
14283
14465
  display: block;
14284
14466
  font-weight: var(--fw-bold);
14285
14467
  margin: 0 0 var(--spacing-base);
14286
14468
  max-width: 13rem;
14287
14469
  `;
14288
- var IntegrationTitleLogo = css54`
14470
+ var IntegrationTitleLogo = css55`
14289
14471
  display: block;
14290
14472
  max-width: 10rem;
14291
14473
  max-height: 4rem;
14292
14474
  margin: 0 auto;
14293
14475
  `;
14294
- var IntegrationTileName = css54`
14476
+ var IntegrationTileName = css55`
14295
14477
  color: var(--gray-500);
14296
14478
  display: -webkit-box;
14297
14479
  -webkit-line-clamp: 1;
@@ -14304,7 +14486,7 @@ var IntegrationTileName = css54`
14304
14486
  position: absolute;
14305
14487
  bottom: calc(var(--spacing-base) * 3.8);
14306
14488
  `;
14307
- var IntegrationAddedText = css54`
14489
+ var IntegrationAddedText = css55`
14308
14490
  align-items: center;
14309
14491
  background: var(--brand-secondary-3);
14310
14492
  border-radius: 0 var(--rounded-md) 0 var(--rounded-md);
@@ -14319,7 +14501,7 @@ var IntegrationAddedText = css54`
14319
14501
  top: 0;
14320
14502
  right: 0;
14321
14503
  `;
14322
- var IntegrationCustomBadgeText = (theme) => css54`
14504
+ var IntegrationCustomBadgeText = (theme) => css55`
14323
14505
  align-items: center;
14324
14506
  border-radius: var(--rounded-sm) 0 var(--rounded-sm) 0;
14325
14507
  background: ${theme === "gray" ? "var(--brand-secondary-2)" : "var(--brand-secondary-1)"};
@@ -14333,26 +14515,26 @@ var IntegrationCustomBadgeText = (theme) => css54`
14333
14515
  top: 0;
14334
14516
  left: 0;
14335
14517
  `;
14336
- var IntegrationAuthorBadgeIcon = css54`
14518
+ var IntegrationAuthorBadgeIcon = css55`
14337
14519
  position: absolute;
14338
14520
  bottom: var(--spacing-sm);
14339
14521
  right: var(--spacing-xs);
14340
14522
  max-height: 1rem;
14341
14523
  `;
14342
- var IntegrationTitleFakeButton = css54`
14524
+ var IntegrationTitleFakeButton = css55`
14343
14525
  font-size: var(--fs-xs);
14344
14526
  gap: var(--spacing-sm);
14345
14527
  padding: var(--spacing-sm) var(--spacing-base);
14346
14528
  text-transform: uppercase;
14347
14529
  `;
14348
- var IntegrationTileFloatingButton = css54`
14530
+ var IntegrationTileFloatingButton = css55`
14349
14531
  position: absolute;
14350
14532
  bottom: var(--spacing-base);
14351
14533
  gap: var(--spacing-sm);
14352
14534
  font-size: var(--fs-xs);
14353
14535
  overflow: hidden;
14354
14536
  `;
14355
- var IntegrationTileFloatingButtonMessage = (clicked) => css54`
14537
+ var IntegrationTileFloatingButtonMessage = (clicked) => css55`
14356
14538
  strong,
14357
14539
  span:first-of-type {
14358
14540
  transition: opacity var(--duration-fast) var(--timing-ease-out);
@@ -14373,7 +14555,7 @@ var IntegrationTileFloatingButtonMessage = (clicked) => css54`
14373
14555
  `;
14374
14556
 
14375
14557
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
14376
- import { jsx as jsx65, jsxs as jsxs41 } from "@emotion/react/jsx-runtime";
14558
+ import { jsx as jsx66, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
14377
14559
  var CreateTeamIntegrationTile = ({
14378
14560
  title = "Create a custom integration for your team",
14379
14561
  buttonText = "Add Integration",
@@ -14381,9 +14563,9 @@ var CreateTeamIntegrationTile = ({
14381
14563
  asDeepLink = false,
14382
14564
  ...props
14383
14565
  }) => {
14384
- return /* @__PURE__ */ jsxs41("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
14385
- /* @__PURE__ */ jsx65("span", { css: IntegrationTileTitle, title, children: title }),
14386
- /* @__PURE__ */ jsxs41(
14566
+ return /* @__PURE__ */ jsxs42("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
14567
+ /* @__PURE__ */ jsx66("span", { css: IntegrationTileTitle, title, children: title }),
14568
+ /* @__PURE__ */ jsxs42(
14387
14569
  Button,
14388
14570
  {
14389
14571
  buttonType: "tertiary",
@@ -14393,23 +14575,23 @@ var CreateTeamIntegrationTile = ({
14393
14575
  css: IntegrationTitleFakeButton,
14394
14576
  children: [
14395
14577
  buttonText,
14396
- asDeepLink ? /* @__PURE__ */ jsx65(
14578
+ asDeepLink ? /* @__PURE__ */ jsx66(
14397
14579
  Icon,
14398
14580
  {
14399
14581
  icon: CgChevronRight2,
14400
14582
  iconColor: "currentColor",
14401
14583
  size: 20,
14402
- css: css55`
14584
+ css: css56`
14403
14585
  order: 1;
14404
14586
  `
14405
14587
  }
14406
- ) : /* @__PURE__ */ jsx65(
14588
+ ) : /* @__PURE__ */ jsx66(
14407
14589
  Icon,
14408
14590
  {
14409
14591
  icon: CgAdd2,
14410
14592
  iconColor: "currentColor",
14411
14593
  size: 16,
14412
- css: css55`
14594
+ css: css56`
14413
14595
  order: -1;
14414
14596
  `
14415
14597
  }
@@ -14424,31 +14606,31 @@ var CreateTeamIntegrationTile = ({
14424
14606
  import { CgCheck } from "@react-icons/all-files/cg/CgCheck";
14425
14607
  import { CgLock } from "@react-icons/all-files/cg/CgLock";
14426
14608
  import { CgSandClock } from "@react-icons/all-files/cg/CgSandClock";
14427
- import { jsx as jsx66, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
14609
+ import { jsx as jsx67, jsxs as jsxs43 } from "@emotion/react/jsx-runtime";
14428
14610
  var IntegrationedAddedBadge = ({ text = "Added" }) => {
14429
- return /* @__PURE__ */ jsxs42("span", { "data-testid": "integration-icon-installed", css: IntegrationAddedText, children: [
14430
- /* @__PURE__ */ jsx66(Icon, { icon: CgCheck, iconColor: "currentColor" }),
14611
+ return /* @__PURE__ */ jsxs43("span", { "data-testid": "integration-icon-installed", css: IntegrationAddedText, children: [
14612
+ /* @__PURE__ */ jsx67(Icon, { icon: CgCheck, iconColor: "currentColor" }),
14431
14613
  text
14432
14614
  ] });
14433
14615
  };
14434
14616
  var IntegrationCustomBadge = ({ text = "Custom" }) => {
14435
- return /* @__PURE__ */ jsx66("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
14617
+ return /* @__PURE__ */ jsx67("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
14436
14618
  };
14437
14619
  var IntegrationPremiumBadge = ({ text = "Premium" }) => {
14438
- return /* @__PURE__ */ jsxs42("span", { css: IntegrationCustomBadgeText("blue"), children: [
14439
- /* @__PURE__ */ jsx66(Icon, { icon: CgLock, iconColor: "currentColor", size: 12 }),
14620
+ return /* @__PURE__ */ jsxs43("span", { css: IntegrationCustomBadgeText("blue"), children: [
14621
+ /* @__PURE__ */ jsx67(Icon, { icon: CgLock, iconColor: "currentColor", size: 12 }),
14440
14622
  text
14441
14623
  ] });
14442
14624
  };
14443
14625
  var IntegrationComingSoonBadge = ({ text = "Coming soon" }) => {
14444
- return /* @__PURE__ */ jsxs42("span", { css: IntegrationCustomBadgeText("blue"), children: [
14445
- /* @__PURE__ */ jsx66(Icon, { icon: CgSandClock, iconColor: "currentColor", size: 12 }),
14626
+ return /* @__PURE__ */ jsxs43("span", { css: IntegrationCustomBadgeText("blue"), children: [
14627
+ /* @__PURE__ */ jsx67(Icon, { icon: CgSandClock, iconColor: "currentColor", size: 12 }),
14446
14628
  text
14447
14629
  ] });
14448
14630
  };
14449
14631
 
14450
14632
  // src/components/Tiles/ResolveIcon.tsx
14451
- import { jsx as jsx67 } from "@emotion/react/jsx-runtime";
14633
+ import { jsx as jsx68 } from "@emotion/react/jsx-runtime";
14452
14634
  var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
14453
14635
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
14454
14636
  const mapClassName = {
@@ -14456,13 +14638,13 @@ var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
14456
14638
  logo: IntegrationTitleLogo
14457
14639
  };
14458
14640
  if (icon) {
14459
- return CompIcon ? /* @__PURE__ */ jsx67(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ jsx67("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
14641
+ return CompIcon ? /* @__PURE__ */ jsx68(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ jsx68("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
14460
14642
  }
14461
14643
  return null;
14462
14644
  };
14463
14645
 
14464
14646
  // src/components/Tiles/EditTeamIntegrationTile.tsx
14465
- import { jsx as jsx68, jsxs as jsxs43 } from "@emotion/react/jsx-runtime";
14647
+ import { jsx as jsx69, jsxs as jsxs44 } from "@emotion/react/jsx-runtime";
14466
14648
  var EditTeamIntegrationTile = ({
14467
14649
  id,
14468
14650
  icon,
@@ -14471,17 +14653,17 @@ var EditTeamIntegrationTile = ({
14471
14653
  isPublic,
14472
14654
  canEdit = false
14473
14655
  }) => {
14474
- return /* @__PURE__ */ jsxs43(
14656
+ return /* @__PURE__ */ jsxs44(
14475
14657
  "div",
14476
14658
  {
14477
14659
  css: IntegrationTileContainer,
14478
14660
  "data-testid": "configure-integration-container",
14479
14661
  "integration-id": `${id.toLocaleLowerCase()}`,
14480
14662
  children: [
14481
- /* @__PURE__ */ jsx68(ResolveIcon, { icon, name, "data-testid": "integration-logo" }),
14482
- /* @__PURE__ */ jsx68("span", { css: IntegrationTileName, "data-testid": "integration-card-name", children: name }),
14483
- !isPublic ? /* @__PURE__ */ jsx68(IntegrationCustomBadge, {}) : null,
14484
- canEdit ? /* @__PURE__ */ jsx68(
14663
+ /* @__PURE__ */ jsx69(ResolveIcon, { icon, name, "data-testid": "integration-logo" }),
14664
+ /* @__PURE__ */ jsx69("span", { css: IntegrationTileName, "data-testid": "integration-card-name", children: name }),
14665
+ !isPublic ? /* @__PURE__ */ jsx69(IntegrationCustomBadge, {}) : null,
14666
+ canEdit ? /* @__PURE__ */ jsx69(
14485
14667
  Button,
14486
14668
  {
14487
14669
  buttonType: "unimportant",
@@ -14499,10 +14681,10 @@ var EditTeamIntegrationTile = ({
14499
14681
  };
14500
14682
 
14501
14683
  // src/components/Tiles/IntegrationComingSoon.tsx
14502
- import { css as css56 } from "@emotion/react";
14684
+ import { css as css57 } from "@emotion/react";
14503
14685
  import { CgHeart } from "@react-icons/all-files/cg/CgHeart";
14504
- import { useEffect as useEffect7, useState as useState8 } from "react";
14505
- import { jsx as jsx69, jsxs as jsxs44 } from "@emotion/react/jsx-runtime";
14686
+ import { useEffect as useEffect8, useState as useState9 } from "react";
14687
+ import { jsx as jsx70, jsxs as jsxs45 } from "@emotion/react/jsx-runtime";
14506
14688
  var IntegrationComingSoon = ({
14507
14689
  name,
14508
14690
  icon,
@@ -14511,12 +14693,12 @@ var IntegrationComingSoon = ({
14511
14693
  timing = 1e3,
14512
14694
  ...props
14513
14695
  }) => {
14514
- const [upVote, setUpVote] = useState8(false);
14696
+ const [upVote, setUpVote] = useState9(false);
14515
14697
  const handleUpVoteInteraction = () => {
14516
14698
  setUpVote((prev) => !prev);
14517
14699
  onUpVoteClick();
14518
14700
  };
14519
- useEffect7(() => {
14701
+ useEffect8(() => {
14520
14702
  if (upVote) {
14521
14703
  const timer = setTimeout(() => setUpVote(false), timing);
14522
14704
  return () => {
@@ -14524,17 +14706,17 @@ var IntegrationComingSoon = ({
14524
14706
  };
14525
14707
  }
14526
14708
  }, [upVote, setUpVote, timing]);
14527
- return /* @__PURE__ */ jsxs44(
14709
+ return /* @__PURE__ */ jsxs45(
14528
14710
  "div",
14529
14711
  {
14530
14712
  css: IntegrationTileContainer,
14531
14713
  "data-testid": `coming-soon-${id.toLowerCase()}-integration`,
14532
14714
  ...props,
14533
14715
  children: [
14534
- /* @__PURE__ */ jsx69(IntegrationComingSoonBadge, {}),
14535
- /* @__PURE__ */ jsx69(ResolveIcon, { icon, name }),
14536
- /* @__PURE__ */ jsx69("span", { css: IntegrationTileName, title: name, children: name }),
14537
- /* @__PURE__ */ jsxs44(
14716
+ /* @__PURE__ */ jsx70(IntegrationComingSoonBadge, {}),
14717
+ /* @__PURE__ */ jsx70(ResolveIcon, { icon, name }),
14718
+ /* @__PURE__ */ jsx70("span", { css: IntegrationTileName, title: name, children: name }),
14719
+ /* @__PURE__ */ jsxs45(
14538
14720
  Button,
14539
14721
  {
14540
14722
  buttonType: "unimportant",
@@ -14544,19 +14726,19 @@ var IntegrationComingSoon = ({
14544
14726
  role: "link",
14545
14727
  css: [IntegrationTileFloatingButton, IntegrationTileFloatingButtonMessage(upVote)],
14546
14728
  children: [
14547
- /* @__PURE__ */ jsx69("strong", { children: "+1" }),
14548
- /* @__PURE__ */ jsx69(
14729
+ /* @__PURE__ */ jsx70("strong", { children: "+1" }),
14730
+ /* @__PURE__ */ jsx70(
14549
14731
  "span",
14550
14732
  {
14551
- css: css56`
14733
+ css: css57`
14552
14734
  text-transform: uppercase;
14553
14735
  color: var(--gray-500);
14554
14736
  `,
14555
14737
  children: "(I want this)"
14556
14738
  }
14557
14739
  ),
14558
- /* @__PURE__ */ jsxs44("span", { "aria-hidden": !upVote, children: [
14559
- /* @__PURE__ */ jsx69(Icon, { icon: CgHeart, iconColor: "currentColor", size: 18 }),
14740
+ /* @__PURE__ */ jsxs45("span", { "aria-hidden": !upVote, children: [
14741
+ /* @__PURE__ */ jsx70(Icon, { icon: CgHeart, iconColor: "currentColor", size: 18 }),
14560
14742
  "Thanks!"
14561
14743
  ] })
14562
14744
  ]
@@ -14568,8 +14750,8 @@ var IntegrationComingSoon = ({
14568
14750
  };
14569
14751
 
14570
14752
  // src/components/Tiles/styles/IntegrationLoadingTile.styles.ts
14571
- import { css as css57 } from "@emotion/react";
14572
- var IntegrationLoadingTileContainer = css57`
14753
+ import { css as css58 } from "@emotion/react";
14754
+ var IntegrationLoadingTileContainer = css58`
14573
14755
  align-items: center;
14574
14756
  box-sizing: border-box;
14575
14757
  border-radius: var(--rounded-base);
@@ -14596,39 +14778,39 @@ var IntegrationLoadingTileContainer = css57`
14596
14778
  }
14597
14779
  }
14598
14780
  `;
14599
- var IntegrationLoadingTileImg = css57`
14781
+ var IntegrationLoadingTileImg = css58`
14600
14782
  width: 10rem;
14601
14783
  height: 4rem;
14602
14784
  margin: 0 auto;
14603
14785
  `;
14604
- var IntegrationLoadingTileText = css57`
14786
+ var IntegrationLoadingTileText = css58`
14605
14787
  width: 5rem;
14606
14788
  height: var(--spacing-sm);
14607
14789
  margin: var(--spacing-sm) 0;
14608
14790
  `;
14609
- var IntegrationLoadingFrame = css57`
14791
+ var IntegrationLoadingFrame = css58`
14610
14792
  animation: ${skeletonLoading} 1s linear infinite alternate;
14611
14793
  border-radius: var(--rounded-base);
14612
14794
  `;
14613
14795
 
14614
14796
  // src/components/Tiles/IntegrationLoadingTile.tsx
14615
- import { Fragment as Fragment10, jsx as jsx70, jsxs as jsxs45 } from "@emotion/react/jsx-runtime";
14797
+ import { Fragment as Fragment11, jsx as jsx71, jsxs as jsxs46 } from "@emotion/react/jsx-runtime";
14616
14798
  var IntegrationLoadingTile = ({ count = 1 }) => {
14617
14799
  const componentCount = Array.from(Array(count).keys());
14618
- return /* @__PURE__ */ jsx70(Fragment10, { children: componentCount.map((i) => /* @__PURE__ */ jsxs45("div", { css: IntegrationLoadingTileContainer, children: [
14619
- /* @__PURE__ */ jsx70("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
14620
- /* @__PURE__ */ jsx70("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
14800
+ return /* @__PURE__ */ jsx71(Fragment11, { children: componentCount.map((i) => /* @__PURE__ */ jsxs46("div", { css: IntegrationLoadingTileContainer, children: [
14801
+ /* @__PURE__ */ jsx71("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
14802
+ /* @__PURE__ */ jsx71("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
14621
14803
  ] }, i)) });
14622
14804
  };
14623
14805
 
14624
14806
  // src/components/Tiles/styles/IntegrationModalIcon.styles.ts
14625
- import { css as css58 } from "@emotion/react";
14626
- var IntegrationModalIconContainer = css58`
14807
+ import { css as css59 } from "@emotion/react";
14808
+ var IntegrationModalIconContainer = css59`
14627
14809
  position: relative;
14628
14810
  width: 50px;
14629
14811
  margin-bottom: var(--spacing-base);
14630
14812
  `;
14631
- var IntegrationModalImage = css58`
14813
+ var IntegrationModalImage = css59`
14632
14814
  position: absolute;
14633
14815
  inset: 0;
14634
14816
  margin: auto;
@@ -14637,7 +14819,7 @@ var IntegrationModalImage = css58`
14637
14819
  `;
14638
14820
 
14639
14821
  // src/components/Tiles/IntegrationModalIcon.tsx
14640
- import { jsx as jsx71, jsxs as jsxs46 } from "@emotion/react/jsx-runtime";
14822
+ import { jsx as jsx72, jsxs as jsxs47 } from "@emotion/react/jsx-runtime";
14641
14823
  var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
14642
14824
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
14643
14825
  let iconSrc = void 0;
@@ -14653,9 +14835,9 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
14653
14835
  }
14654
14836
  }
14655
14837
  }
14656
- return /* @__PURE__ */ jsxs46("div", { css: IntegrationModalIconContainer, children: [
14657
- /* @__PURE__ */ jsxs46("svg", { width: "49", height: "57", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
14658
- /* @__PURE__ */ jsx71(
14838
+ return /* @__PURE__ */ jsxs47("div", { css: IntegrationModalIconContainer, children: [
14839
+ /* @__PURE__ */ jsxs47("svg", { width: "49", height: "57", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
14840
+ /* @__PURE__ */ jsx72(
14659
14841
  "path",
14660
14842
  {
14661
14843
  d: "m24.367 1.813 22.786 13.322V41.78L24.367 55.102 1.581 41.78V15.135L24.367 1.814Z",
@@ -14664,12 +14846,12 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
14664
14846
  strokeWidth: "2"
14665
14847
  }
14666
14848
  ),
14667
- /* @__PURE__ */ jsx71("defs", { children: /* @__PURE__ */ jsxs46("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
14668
- /* @__PURE__ */ jsx71("stop", { stopColor: "#1768B2" }),
14669
- /* @__PURE__ */ jsx71("stop", { offset: "1", stopColor: "#B3EFE4" })
14849
+ /* @__PURE__ */ jsx72("defs", { children: /* @__PURE__ */ jsxs47("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
14850
+ /* @__PURE__ */ jsx72("stop", { stopColor: "#1768B2" }),
14851
+ /* @__PURE__ */ jsx72("stop", { offset: "1", stopColor: "#B3EFE4" })
14670
14852
  ] }) })
14671
14853
  ] }),
14672
- CompIcon ? /* @__PURE__ */ jsx71(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : iconSrc ? /* @__PURE__ */ jsx71(
14854
+ CompIcon ? /* @__PURE__ */ jsx72(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : iconSrc ? /* @__PURE__ */ jsx72(
14673
14855
  "img",
14674
14856
  {
14675
14857
  src: iconSrc,
@@ -14683,7 +14865,7 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
14683
14865
  };
14684
14866
 
14685
14867
  // src/components/Tiles/IntegrationTile.tsx
14686
- import { jsx as jsx72, jsxs as jsxs47 } from "@emotion/react/jsx-runtime";
14868
+ import { jsx as jsx73, jsxs as jsxs48 } from "@emotion/react/jsx-runtime";
14687
14869
  var IntegrationTile = ({
14688
14870
  id,
14689
14871
  icon,
@@ -14695,7 +14877,7 @@ var IntegrationTile = ({
14695
14877
  authorIcon,
14696
14878
  ...btnProps
14697
14879
  }) => {
14698
- return /* @__PURE__ */ jsxs47(
14880
+ return /* @__PURE__ */ jsxs48(
14699
14881
  "button",
14700
14882
  {
14701
14883
  type: "button",
@@ -14705,21 +14887,21 @@ var IntegrationTile = ({
14705
14887
  "aria-label": name,
14706
14888
  ...btnProps,
14707
14889
  children: [
14708
- /* @__PURE__ */ jsx72(ResolveIcon, { icon, name }),
14709
- /* @__PURE__ */ jsx72("span", { css: IntegrationTileName, title: name, children: name }),
14710
- isInstalled ? /* @__PURE__ */ jsx72(IntegrationedAddedBadge, {}) : null,
14711
- requiedEntitlement && isPublic ? /* @__PURE__ */ jsx72(IntegrationPremiumBadge, {}) : null,
14712
- !isPublic ? /* @__PURE__ */ jsx72(IntegrationCustomBadge, {}) : null,
14713
- authorIcon ? /* @__PURE__ */ jsx72(ResolveIcon, { icon: authorIcon, name }) : null
14890
+ /* @__PURE__ */ jsx73(ResolveIcon, { icon, name }),
14891
+ /* @__PURE__ */ jsx73("span", { css: IntegrationTileName, title: name, children: name }),
14892
+ isInstalled ? /* @__PURE__ */ jsx73(IntegrationedAddedBadge, {}) : null,
14893
+ requiedEntitlement && isPublic ? /* @__PURE__ */ jsx73(IntegrationPremiumBadge, {}) : null,
14894
+ !isPublic ? /* @__PURE__ */ jsx73(IntegrationCustomBadge, {}) : null,
14895
+ authorIcon ? /* @__PURE__ */ jsx73(ResolveIcon, { icon: authorIcon, name }) : null
14714
14896
  ]
14715
14897
  }
14716
14898
  );
14717
14899
  };
14718
14900
 
14719
14901
  // src/components/Tiles/styles/Tile.styles.ts
14720
- import { css as css59 } from "@emotion/react";
14902
+ import { css as css60 } from "@emotion/react";
14721
14903
  var tileBorderSize = "1px";
14722
- var Tile = css59`
14904
+ var Tile = css60`
14723
14905
  background: var(--white);
14724
14906
  cursor: pointer;
14725
14907
  border: ${tileBorderSize} solid var(--gray-300);
@@ -14743,18 +14925,18 @@ var Tile = css59`
14743
14925
  `;
14744
14926
 
14745
14927
  // src/components/Tiles/Tile.tsx
14746
- import { jsx as jsx73 } from "@emotion/react/jsx-runtime";
14928
+ import { jsx as jsx74 } from "@emotion/react/jsx-runtime";
14747
14929
  var Tile2 = ({ children, disabled, ...props }) => {
14748
- return /* @__PURE__ */ jsx73("button", { type: "button", css: Tile, disabled, ...props, children });
14930
+ return /* @__PURE__ */ jsx74("button", { type: "button", css: Tile, disabled, ...props, children });
14749
14931
  };
14750
14932
 
14751
14933
  // src/components/Tiles/styles/TileContainer.styles.ts
14752
- import { css as css60 } from "@emotion/react";
14753
- var TileContainerWrapper = (theme, padding) => css60`
14934
+ import { css as css61 } from "@emotion/react";
14935
+ var TileContainerWrapper = (theme, padding) => css61`
14754
14936
  background: ${theme};
14755
14937
  padding: ${padding != "none" ? `var(--spacing-${padding})` : "0"};
14756
14938
  `;
14757
- var TileContainerInner = (gap, templateColumns) => css60`
14939
+ var TileContainerInner = (gap, templateColumns) => css61`
14758
14940
  display: grid;
14759
14941
  grid-template-columns: ${templateColumns};
14760
14942
  gap: var(--spacing-${gap});
@@ -14768,7 +14950,7 @@ var TileContainerInner = (gap, templateColumns) => css60`
14768
14950
  `;
14769
14951
 
14770
14952
  // src/components/Tiles/TileContainer.tsx
14771
- import { jsx as jsx74 } from "@emotion/react/jsx-runtime";
14953
+ import { jsx as jsx75 } from "@emotion/react/jsx-runtime";
14772
14954
  var TileContainer = ({
14773
14955
  bgColor = "var(--brand-secondary-2)",
14774
14956
  containerPadding = "base",
@@ -14777,25 +14959,25 @@ var TileContainer = ({
14777
14959
  children,
14778
14960
  ...props
14779
14961
  }) => {
14780
- return /* @__PURE__ */ jsx74("div", { css: TileContainerWrapper(bgColor, containerPadding), ...props, children: /* @__PURE__ */ jsx74("div", { css: TileContainerInner(gap, gridTemplateColumns), children }) });
14962
+ return /* @__PURE__ */ jsx75("div", { css: TileContainerWrapper(bgColor, containerPadding), ...props, children: /* @__PURE__ */ jsx75("div", { css: TileContainerInner(gap, gridTemplateColumns), children }) });
14781
14963
  };
14782
14964
 
14783
14965
  // src/components/Tiles/styles/TileText.styles.ts
14784
- import { css as css61 } from "@emotion/react";
14785
- var TileHeading = css61`
14966
+ import { css as css62 } from "@emotion/react";
14967
+ var TileHeading = css62`
14786
14968
  font-size: var(--fs-base);
14787
14969
  `;
14788
- var TileText = css61`
14970
+ var TileText = css62`
14789
14971
  color: var(--gray-500);
14790
14972
  font-size: var(--fs-sm);
14791
14973
  line-height: 1.2;
14792
14974
  `;
14793
14975
 
14794
14976
  // src/components/Tiles/TileText.tsx
14795
- import { jsx as jsx75 } from "@emotion/react/jsx-runtime";
14977
+ import { jsx as jsx76 } from "@emotion/react/jsx-runtime";
14796
14978
  var TileText2 = ({ as = "heading", children, ...props }) => {
14797
14979
  const isHeading = as === "heading";
14798
- return /* @__PURE__ */ jsx75(
14980
+ return /* @__PURE__ */ jsx76(
14799
14981
  "span",
14800
14982
  {
14801
14983
  role: isHeading ? "heading" : void 0,
@@ -14807,39 +14989,39 @@ var TileText2 = ({ as = "heading", children, ...props }) => {
14807
14989
  };
14808
14990
 
14809
14991
  // src/components/IntegrationModalHeader/IntegrationModalHeader.styles.ts
14810
- import { css as css62 } from "@emotion/react";
14811
- var IntegrationModalHeaderSVGBackground = css62`
14992
+ import { css as css63 } from "@emotion/react";
14993
+ var IntegrationModalHeaderSVGBackground = css63`
14812
14994
  position: absolute;
14813
14995
  top: 0;
14814
14996
  left: 0;
14815
14997
  `;
14816
- var IntegrationModalHeaderGroup = css62`
14998
+ var IntegrationModalHeaderGroup = css63`
14817
14999
  align-items: center;
14818
15000
  display: flex;
14819
15001
  gap: var(--spacing-sm);
14820
15002
  margin: 0 0 var(--spacing-md);
14821
15003
  position: relative;
14822
15004
  `;
14823
- var IntegrationModalHeaderTitleGroup = css62`
15005
+ var IntegrationModalHeaderTitleGroup = css63`
14824
15006
  align-items: center;
14825
15007
  display: flex;
14826
15008
  gap: var(--spacing-base);
14827
15009
  `;
14828
- var IntegrationModalHeaderTitle = css62`
15010
+ var IntegrationModalHeaderTitle = css63`
14829
15011
  margin-top: 0;
14830
15012
  `;
14831
- var IntegrationModalHeaderMenuPlacement = css62`
15013
+ var IntegrationModalHeaderMenuPlacement = css63`
14832
15014
  margin-bottom: var(--spacing-base);
14833
15015
  `;
14834
- var IntegrationModalHeaderContentWrapper = css62`
15016
+ var IntegrationModalHeaderContentWrapper = css63`
14835
15017
  position: relative;
14836
15018
  z-index: var(--z-10);
14837
15019
  `;
14838
15020
 
14839
15021
  // src/components/IntegrationModalHeader/IntegrationModalHeader.tsx
14840
- import { Fragment as Fragment11, jsx as jsx76, jsxs as jsxs48 } from "@emotion/react/jsx-runtime";
15022
+ import { Fragment as Fragment12, jsx as jsx77, jsxs as jsxs49 } from "@emotion/react/jsx-runtime";
14841
15023
  var HexModalBackground = ({ ...props }) => {
14842
- return /* @__PURE__ */ jsxs48(
15024
+ return /* @__PURE__ */ jsxs49(
14843
15025
  "svg",
14844
15026
  {
14845
15027
  width: "236",
@@ -14849,7 +15031,7 @@ var HexModalBackground = ({ ...props }) => {
14849
15031
  xmlns: "http://www.w3.org/2000/svg",
14850
15032
  ...props,
14851
15033
  children: [
14852
- /* @__PURE__ */ jsx76(
15034
+ /* @__PURE__ */ jsx77(
14853
15035
  "path",
14854
15036
  {
14855
15037
  fillRule: "evenodd",
@@ -14858,7 +15040,7 @@ var HexModalBackground = ({ ...props }) => {
14858
15040
  fill: "url(#paint0_linear_196_2737)"
14859
15041
  }
14860
15042
  ),
14861
- /* @__PURE__ */ jsx76("defs", { children: /* @__PURE__ */ jsxs48(
15043
+ /* @__PURE__ */ jsx77("defs", { children: /* @__PURE__ */ jsxs49(
14862
15044
  "linearGradient",
14863
15045
  {
14864
15046
  id: "paint0_linear_196_2737",
@@ -14868,8 +15050,8 @@ var HexModalBackground = ({ ...props }) => {
14868
15050
  y2: "-95.2742",
14869
15051
  gradientUnits: "userSpaceOnUse",
14870
15052
  children: [
14871
- /* @__PURE__ */ jsx76("stop", { stopColor: "#81DCDE" }),
14872
- /* @__PURE__ */ jsx76("stop", { offset: "1", stopColor: "#428ED4" })
15053
+ /* @__PURE__ */ jsx77("stop", { stopColor: "#81DCDE" }),
15054
+ /* @__PURE__ */ jsx77("stop", { offset: "1", stopColor: "#428ED4" })
14873
15055
  ]
14874
15056
  }
14875
15057
  ) })
@@ -14878,23 +15060,23 @@ var HexModalBackground = ({ ...props }) => {
14878
15060
  );
14879
15061
  };
14880
15062
  var IntegrationModalHeader = ({ icon, name, menu: menu2, children }) => {
14881
- return /* @__PURE__ */ jsxs48(Fragment11, { children: [
14882
- /* @__PURE__ */ jsx76(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
14883
- /* @__PURE__ */ jsx76("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ jsxs48("div", { css: IntegrationModalHeaderTitleGroup, children: [
14884
- icon ? /* @__PURE__ */ jsx76(IntegrationModalIcon, { icon, name: name || "" }) : null,
14885
- /* @__PURE__ */ jsx76(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-testid": "integration-modal-title", children: name || "Create Team Integration" }),
14886
- menu2 ? /* @__PURE__ */ jsxs48("div", { css: IntegrationModalHeaderMenuPlacement, children: [
15063
+ return /* @__PURE__ */ jsxs49(Fragment12, { children: [
15064
+ /* @__PURE__ */ jsx77(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
15065
+ /* @__PURE__ */ jsx77("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ jsxs49("div", { css: IntegrationModalHeaderTitleGroup, children: [
15066
+ icon ? /* @__PURE__ */ jsx77(IntegrationModalIcon, { icon, name: name || "" }) : null,
15067
+ /* @__PURE__ */ jsx77(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-testid": "integration-modal-title", children: name || "Create Team Integration" }),
15068
+ menu2 ? /* @__PURE__ */ jsxs49("div", { css: IntegrationModalHeaderMenuPlacement, children: [
14887
15069
  menu2,
14888
15070
  " "
14889
15071
  ] }) : null
14890
15072
  ] }) }),
14891
- /* @__PURE__ */ jsx76("div", { css: IntegrationModalHeaderContentWrapper, children })
15073
+ /* @__PURE__ */ jsx77("div", { css: IntegrationModalHeaderContentWrapper, children })
14892
15074
  ] });
14893
15075
  };
14894
15076
 
14895
15077
  // src/components/JsonEditor/JsonEditor.tsx
14896
15078
  import MonacoEditor from "@monaco-editor/react";
14897
- import { jsx as jsx77 } from "@emotion/react/jsx-runtime";
15079
+ import { jsx as jsx78 } from "@emotion/react/jsx-runtime";
14898
15080
  var minEditorHeightPx = 150;
14899
15081
  var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
14900
15082
  let effectiveHeight = height;
@@ -14904,7 +15086,7 @@ var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
14904
15086
  if (typeof effectiveHeight === "number" && effectiveHeight < minEditorHeightPx) {
14905
15087
  effectiveHeight = minEditorHeightPx;
14906
15088
  }
14907
- return /* @__PURE__ */ jsx77(
15089
+ return /* @__PURE__ */ jsx78(
14908
15090
  MonacoEditor,
14909
15091
  {
14910
15092
  height: effectiveHeight,
@@ -14941,39 +15123,39 @@ var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
14941
15123
  };
14942
15124
 
14943
15125
  // src/components/LimitsBar/LimitsBar.styles.ts
14944
- import { css as css63 } from "@emotion/react";
14945
- var LimitsBarContainer = css63`
15126
+ import { css as css64 } from "@emotion/react";
15127
+ var LimitsBarContainer = css64`
14946
15128
  margin-block: var(--spacing-sm);
14947
15129
  `;
14948
- var LimitsBarProgressBar = css63`
15130
+ var LimitsBarProgressBar = css64`
14949
15131
  background: var(--gray-100);
14950
15132
  margin-top: var(--spacing-sm);
14951
15133
  position: relative;
14952
15134
  overflow: hidden;
14953
15135
  height: 0.25rem;
14954
15136
  `;
14955
- var LimitsBarProgressBarLine = css63`
15137
+ var LimitsBarProgressBarLine = css64`
14956
15138
  position: absolute;
14957
15139
  inset: 0;
14958
15140
  transition: transform var(--duration-fast) var(--timing-ease-out);
14959
15141
  `;
14960
- var LimitsBarLabelContainer = css63`
15142
+ var LimitsBarLabelContainer = css64`
14961
15143
  display: flex;
14962
15144
  justify-content: space-between;
14963
15145
  font-weight: var(--fw-bold);
14964
15146
  `;
14965
- var LimitsBarLabel = css63`
15147
+ var LimitsBarLabel = css64`
14966
15148
  font-size: var(--fs-baase);
14967
15149
  `;
14968
- var LimitsBarBgColor = (statusColor) => css63`
15150
+ var LimitsBarBgColor = (statusColor) => css64`
14969
15151
  background: ${statusColor};
14970
15152
  `;
14971
- var LimitsBarTextColor = (statusColor) => css63`
15153
+ var LimitsBarTextColor = (statusColor) => css64`
14972
15154
  color: ${statusColor};
14973
15155
  `;
14974
15156
 
14975
15157
  // src/components/LimitsBar/LimitsBar.tsx
14976
- import { jsx as jsx78, jsxs as jsxs49 } from "@emotion/react/jsx-runtime";
15158
+ import { jsx as jsx79, jsxs as jsxs50 } from "@emotion/react/jsx-runtime";
14977
15159
  var LimitsBar = ({ current, max, label }) => {
14978
15160
  const maxPercentage = 100;
14979
15161
  const progressBarValue = Math.ceil(current / max * maxPercentage);
@@ -14984,16 +15166,16 @@ var LimitsBar = ({ current, max, label }) => {
14984
15166
  danger: "var(--brand-secondary-5)"
14985
15167
  };
14986
15168
  const statusColor = progressBarValue === 100 ? colorMap.danger : progressBarValue >= 75 ? colorMap.warn : colorMap.base;
14987
- return /* @__PURE__ */ jsxs49("div", { css: LimitsBarContainer, children: [
14988
- /* @__PURE__ */ jsxs49("div", { css: LimitsBarLabelContainer, children: [
14989
- /* @__PURE__ */ jsx78("span", { css: LimitsBarLabel, children: label }),
14990
- /* @__PURE__ */ jsxs49("span", { css: [LimitsBarLabel, LimitsBarTextColor(statusColor)], children: [
15169
+ return /* @__PURE__ */ jsxs50("div", { css: LimitsBarContainer, children: [
15170
+ /* @__PURE__ */ jsxs50("div", { css: LimitsBarLabelContainer, children: [
15171
+ /* @__PURE__ */ jsx79("span", { css: LimitsBarLabel, children: label }),
15172
+ /* @__PURE__ */ jsxs50("span", { css: [LimitsBarLabel, LimitsBarTextColor(statusColor)], children: [
14991
15173
  current,
14992
15174
  " of ",
14993
15175
  max
14994
15176
  ] })
14995
15177
  ] }),
14996
- /* @__PURE__ */ jsx78(
15178
+ /* @__PURE__ */ jsx79(
14997
15179
  "div",
14998
15180
  {
14999
15181
  role: "progressbar",
@@ -15002,7 +15184,7 @@ var LimitsBar = ({ current, max, label }) => {
15002
15184
  "aria-valuemax": max,
15003
15185
  "aria-valuetext": `${current} of ${max}`,
15004
15186
  css: LimitsBarProgressBar,
15005
- children: /* @__PURE__ */ jsx78(
15187
+ children: /* @__PURE__ */ jsx79(
15006
15188
  "span",
15007
15189
  {
15008
15190
  role: "presentation",
@@ -15018,8 +15200,8 @@ var LimitsBar = ({ current, max, label }) => {
15018
15200
  };
15019
15201
 
15020
15202
  // src/components/LinkList/LinkList.styles.ts
15021
- import { css as css64 } from "@emotion/react";
15022
- var LinkListContainer = (padding) => css64`
15203
+ import { css as css65 } from "@emotion/react";
15204
+ var LinkListContainer = (padding) => css65`
15023
15205
  padding: ${padding};
15024
15206
 
15025
15207
  ${mq("sm")} {
@@ -15027,30 +15209,30 @@ var LinkListContainer = (padding) => css64`
15027
15209
  grid-row: 1 / last-line;
15028
15210
  }
15029
15211
  `;
15030
- var LinkListTitle = css64`
15212
+ var LinkListTitle = css65`
15031
15213
  font-weight: var(--fw-bold);
15032
15214
  font-size: var(--fs-sm);
15033
15215
  text-transform: uppercase;
15034
15216
  `;
15035
15217
 
15036
15218
  // src/components/LinkList/LinkList.tsx
15037
- import { jsx as jsx79, jsxs as jsxs50 } from "@emotion/react/jsx-runtime";
15219
+ import { jsx as jsx80, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
15038
15220
  var LinkList = ({ title, padding = "var(--spacing-md)", children, ...props }) => {
15039
- return /* @__PURE__ */ jsxs50("div", { css: LinkListContainer(padding), ...props, children: [
15040
- /* @__PURE__ */ jsx79(Heading, { level: 3, css: LinkListTitle, children: title }),
15221
+ return /* @__PURE__ */ jsxs51("div", { css: LinkListContainer(padding), ...props, children: [
15222
+ /* @__PURE__ */ jsx80(Heading, { level: 3, css: LinkListTitle, children: title }),
15041
15223
  children
15042
15224
  ] });
15043
15225
  };
15044
15226
 
15045
15227
  // src/components/List/ScrollableList.tsx
15046
- import { css as css66 } from "@emotion/react";
15228
+ import { css as css67 } from "@emotion/react";
15047
15229
 
15048
15230
  // src/components/List/styles/ScrollableList.styles.ts
15049
- import { css as css65 } from "@emotion/react";
15050
- var ScrollableListContainer = css65`
15231
+ import { css as css66 } from "@emotion/react";
15232
+ var ScrollableListContainer = css66`
15051
15233
  position: relative;
15052
15234
  `;
15053
- var ScrollableListInner = css65`
15235
+ var ScrollableListInner = css66`
15054
15236
  background: var(--gray-50);
15055
15237
  border-top: 1px solid var(--gray-200);
15056
15238
  border-bottom: 1px solid var(--gray-200);
@@ -15073,19 +15255,19 @@ var ScrollableListInner = css65`
15073
15255
  `;
15074
15256
 
15075
15257
  // src/components/List/ScrollableList.tsx
15076
- import { jsx as jsx80, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
15258
+ import { jsx as jsx81, jsxs as jsxs52 } from "@emotion/react/jsx-runtime";
15077
15259
  var ScrollableList = ({ label, children, ...props }) => {
15078
- return /* @__PURE__ */ jsxs51("div", { css: [ScrollableListContainer, scrollbarStyles], ...props, children: [
15079
- label ? /* @__PURE__ */ jsx80(
15260
+ return /* @__PURE__ */ jsxs52("div", { css: [ScrollableListContainer, scrollbarStyles], ...props, children: [
15261
+ label ? /* @__PURE__ */ jsx81(
15080
15262
  "span",
15081
15263
  {
15082
- css: css66`
15264
+ css: css67`
15083
15265
  ${labelText}
15084
15266
  `,
15085
15267
  children: label
15086
15268
  }
15087
15269
  ) : null,
15088
- /* @__PURE__ */ jsx80("div", { css: [ScrollableListInner, scrollbarStyles], children })
15270
+ /* @__PURE__ */ jsx81("div", { css: [ScrollableListInner, scrollbarStyles], children })
15089
15271
  ] });
15090
15272
  };
15091
15273
 
@@ -15093,8 +15275,8 @@ var ScrollableList = ({ label, children, ...props }) => {
15093
15275
  import { CgCheck as CgCheck2 } from "@react-icons/all-files/cg/CgCheck";
15094
15276
 
15095
15277
  // src/components/List/styles/ScrollableListItem.styles.ts
15096
- import { css as css67 } from "@emotion/react";
15097
- var ScrollableListItemContainer = css67`
15278
+ import { css as css68 } from "@emotion/react";
15279
+ var ScrollableListItemContainer = css68`
15098
15280
  align-items: center;
15099
15281
  background: var(--white);
15100
15282
  border-radius: var(--rounded-base);
@@ -15103,13 +15285,13 @@ var ScrollableListItemContainer = css67`
15103
15285
  min-height: 52px;
15104
15286
  transition: border-color var(--duration-fast) var(--timing-ease-out);
15105
15287
  `;
15106
- var ScrollableListItemShadow = css67`
15288
+ var ScrollableListItemShadow = css68`
15107
15289
  box-shadow: var(--shadow-base);
15108
15290
  `;
15109
- var ScrollableListItemActive = css67`
15291
+ var ScrollableListItemActive = css68`
15110
15292
  border-color: var(--brand-secondary-3);
15111
15293
  `;
15112
- var ScrollableListItemBtn = css67`
15294
+ var ScrollableListItemBtn = css68`
15113
15295
  align-items: center;
15114
15296
  border: none;
15115
15297
  background: transparent;
@@ -15124,27 +15306,27 @@ var ScrollableListItemBtn = css67`
15124
15306
  outline: none;
15125
15307
  }
15126
15308
  `;
15127
- var ScrollableListInputLabel = css67`
15309
+ var ScrollableListInputLabel = css68`
15128
15310
  align-items: center;
15129
15311
  cursor: pointer;
15130
15312
  display: flex;
15131
15313
  padding: var(--spacing-xs) var(--spacing-base) var(--spacing-xs);
15132
15314
  flex-grow: 1;
15133
15315
  `;
15134
- var ScrollableListInputText = css67`
15316
+ var ScrollableListInputText = css68`
15135
15317
  align-items: center;
15136
15318
  display: flex;
15137
15319
  gap: var(--spacing-sm);
15138
15320
  flex-grow: 1;
15139
15321
  flex-wrap: wrap;
15140
15322
  `;
15141
- var ScrollableListHiddenInput = css67`
15323
+ var ScrollableListHiddenInput = css68`
15142
15324
  position: absolute;
15143
15325
  height: 0;
15144
15326
  width: 0;
15145
15327
  opacity: 0;
15146
15328
  `;
15147
- var ScrollableListIcon = css67`
15329
+ var ScrollableListIcon = css68`
15148
15330
  border-radius: var(--rounded-full);
15149
15331
  background: var(--brand-secondary-3);
15150
15332
  color: var(--white);
@@ -15152,12 +15334,12 @@ var ScrollableListIcon = css67`
15152
15334
  min-width: 24px;
15153
15335
  opacity: 0;
15154
15336
  `;
15155
- var ScrollableListIconVisible = css67`
15337
+ var ScrollableListIconVisible = css68`
15156
15338
  animation: ${fadeInBottom} var(--duration-fast) var(--timing-ease-out) forwards;
15157
15339
  `;
15158
15340
 
15159
15341
  // src/components/List/ScrollableListInputItem.tsx
15160
- import { jsx as jsx81, jsxs as jsxs52 } from "@emotion/react/jsx-runtime";
15342
+ import { jsx as jsx82, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
15161
15343
  var ScrollableListInputItem = ({
15162
15344
  label,
15163
15345
  icon,
@@ -15167,7 +15349,7 @@ var ScrollableListInputItem = ({
15167
15349
  labelTestId,
15168
15350
  ...props
15169
15351
  }) => {
15170
- return /* @__PURE__ */ jsx81(
15352
+ return /* @__PURE__ */ jsx82(
15171
15353
  "div",
15172
15354
  {
15173
15355
  css: [
@@ -15176,13 +15358,13 @@ var ScrollableListInputItem = ({
15176
15358
  active ? ScrollableListItemActive : void 0
15177
15359
  ],
15178
15360
  ...props,
15179
- children: /* @__PURE__ */ jsxs52("label", { "data-testid": labelTestId, css: ScrollableListInputLabel, children: [
15180
- /* @__PURE__ */ jsxs52("span", { css: ScrollableListInputText, children: [
15361
+ children: /* @__PURE__ */ jsxs53("label", { "data-testid": labelTestId, css: ScrollableListInputLabel, children: [
15362
+ /* @__PURE__ */ jsxs53("span", { css: ScrollableListInputText, children: [
15181
15363
  icon,
15182
15364
  label
15183
15365
  ] }),
15184
- /* @__PURE__ */ jsx81("div", { css: ScrollableListHiddenInput, children }),
15185
- /* @__PURE__ */ jsx81(
15366
+ /* @__PURE__ */ jsx82("div", { css: ScrollableListHiddenInput, children }),
15367
+ /* @__PURE__ */ jsx82(
15186
15368
  Icon,
15187
15369
  {
15188
15370
  icon: CgCheck2,
@@ -15200,14 +15382,14 @@ var ScrollableListInputItem = ({
15200
15382
 
15201
15383
  // src/components/List/ScrollableListItem.tsx
15202
15384
  import { CgCheck as CgCheck3 } from "@react-icons/all-files/cg/CgCheck";
15203
- import { jsx as jsx82, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
15385
+ import { jsx as jsx83, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
15204
15386
  var ScrollableListItem = ({
15205
15387
  buttonText,
15206
15388
  active,
15207
15389
  disableShadow,
15208
15390
  ...props
15209
15391
  }) => {
15210
- return /* @__PURE__ */ jsx82(
15392
+ return /* @__PURE__ */ jsx83(
15211
15393
  "div",
15212
15394
  {
15213
15395
  css: [
@@ -15215,9 +15397,9 @@ var ScrollableListItem = ({
15215
15397
  disableShadow ? void 0 : ScrollableListItemShadow,
15216
15398
  active ? ScrollableListItemActive : void 0
15217
15399
  ],
15218
- children: /* @__PURE__ */ jsxs53("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
15219
- /* @__PURE__ */ jsx82("span", { children: buttonText }),
15220
- /* @__PURE__ */ jsx82(
15400
+ children: /* @__PURE__ */ jsxs54("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
15401
+ /* @__PURE__ */ jsx83("span", { children: buttonText }),
15402
+ /* @__PURE__ */ jsx83(
15221
15403
  Icon,
15222
15404
  {
15223
15405
  icon: CgCheck3,
@@ -15232,7 +15414,7 @@ var ScrollableListItem = ({
15232
15414
  };
15233
15415
 
15234
15416
  // src/components/LoadingIndicator/LoadingIndicator.styles.ts
15235
- import { css as css68, keyframes as keyframes3 } from "@emotion/react";
15417
+ import { css as css69, keyframes as keyframes3 } from "@emotion/react";
15236
15418
  function bounceFade(size) {
15237
15419
  const bounceHeight = size === "lg" ? 10 : 5;
15238
15420
  return keyframes3`
@@ -15253,13 +15435,13 @@ function bounceFade(size) {
15253
15435
  }
15254
15436
  `;
15255
15437
  }
15256
- var loader = css68`
15438
+ var loader = css69`
15257
15439
  display: inline-flex;
15258
15440
  justify-content: center;
15259
15441
  `;
15260
15442
  function loadingDot(size) {
15261
15443
  const dotSize = size === "lg" ? 8 : 4;
15262
- return css68`
15444
+ return css69`
15263
15445
  background-color: var(--gray-700);
15264
15446
  display: block;
15265
15447
  border-radius: var(--rounded-full);
@@ -15284,25 +15466,25 @@ function loadingDot(size) {
15284
15466
  }
15285
15467
 
15286
15468
  // src/components/LoadingIndicator/LoadingIndicator.tsx
15287
- import { jsx as jsx83, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
15469
+ import { jsx as jsx84, jsxs as jsxs55 } from "@emotion/react/jsx-runtime";
15288
15470
  var LoadingIndicator = ({
15289
15471
  size = "lg",
15290
15472
  ...props
15291
15473
  }) => {
15292
15474
  const dotStyle = loadingDot(size);
15293
- return /* @__PURE__ */ jsxs54("div", { role: "alert", css: loader, "data-testid": "loading-indicator", ...props, children: [
15294
- /* @__PURE__ */ jsx83("span", { css: dotStyle }),
15295
- /* @__PURE__ */ jsx83("span", { css: dotStyle }),
15296
- /* @__PURE__ */ jsx83("span", { css: dotStyle })
15475
+ return /* @__PURE__ */ jsxs55("div", { role: "alert", css: loader, "data-testid": "loading-indicator", ...props, children: [
15476
+ /* @__PURE__ */ jsx84("span", { css: dotStyle }),
15477
+ /* @__PURE__ */ jsx84("span", { css: dotStyle }),
15478
+ /* @__PURE__ */ jsx84("span", { css: dotStyle })
15297
15479
  ] });
15298
15480
  };
15299
15481
 
15300
15482
  // src/components/LoadingOverlay/LoadingOverlay.tsx
15301
- import { useCallback as useCallback2, useEffect as useEffect8, useRef as useRef5 } from "react";
15483
+ import { useCallback as useCallback3, useEffect as useEffect9, useRef as useRef5 } from "react";
15302
15484
 
15303
15485
  // src/components/LoadingOverlay/LoadingOverlay.styles.ts
15304
- import { css as css69 } from "@emotion/react";
15305
- var loadingOverlayContainer = css69`
15486
+ import { css as css70 } from "@emotion/react";
15487
+ var loadingOverlayContainer = css70`
15306
15488
  position: absolute;
15307
15489
  inset: 0;
15308
15490
  overflow: hidden;
@@ -15310,30 +15492,30 @@ var loadingOverlayContainer = css69`
15310
15492
  padding: var(--spacing-xl);
15311
15493
  overflow-y: auto;
15312
15494
  `;
15313
- var loadingOverlayVisible = css69`
15495
+ var loadingOverlayVisible = css70`
15314
15496
  display: flex;
15315
15497
  `;
15316
- var loadingOverlayHidden = css69`
15498
+ var loadingOverlayHidden = css70`
15317
15499
  display: none;
15318
15500
  `;
15319
- var loadingOverlayBackground = (bgColor) => css69`
15501
+ var loadingOverlayBackground = (bgColor) => css70`
15320
15502
  background: ${bgColor};
15321
15503
  opacity: 0.92;
15322
15504
  position: absolute;
15323
15505
  inset: 0 0;
15324
15506
  `;
15325
- var loadingOverlayBody = css69`
15507
+ var loadingOverlayBody = css70`
15326
15508
  align-items: center;
15327
15509
  display: flex;
15328
15510
  flex-direction: column;
15329
15511
  `;
15330
- var loadingOverlayMessage = css69`
15512
+ var loadingOverlayMessage = css70`
15331
15513
  color: var(--gray-600);
15332
15514
  margin: var(--spacing-base) 0 0;
15333
15515
  `;
15334
15516
 
15335
15517
  // src/components/LoadingOverlay/LoadingOverlay.tsx
15336
- import { jsx as jsx84, jsxs as jsxs55 } from "@emotion/react/jsx-runtime";
15518
+ import { jsx as jsx85, jsxs as jsxs56 } from "@emotion/react/jsx-runtime";
15337
15519
  var LoadingOverlay = ({
15338
15520
  isActive,
15339
15521
  statusMessage,
@@ -15345,13 +15527,13 @@ var LoadingOverlay = ({
15345
15527
  children
15346
15528
  }) => {
15347
15529
  const lottieRef = useRef5(null);
15348
- const onLoopComplete = useCallback2(() => {
15530
+ const onLoopComplete = useCallback3(() => {
15349
15531
  var _a, _b, _c;
15350
15532
  if (isPaused && !((_b = (_a = lottieRef.current) == null ? void 0 : _a.animationItem) == null ? void 0 : _b.isPaused)) {
15351
15533
  (_c = lottieRef.current) == null ? void 0 : _c.stop();
15352
15534
  }
15353
15535
  }, [isPaused]);
15354
- useEffect8(() => {
15536
+ useEffect9(() => {
15355
15537
  var _a, _b, _c, _d, _e, _f;
15356
15538
  if (!isPaused && ((_b = (_a = lottieRef.current) == null ? void 0 : _a.animationItem) == null ? void 0 : _b.isPaused)) {
15357
15539
  (_c = lottieRef.current) == null ? void 0 : _c.play();
@@ -15359,7 +15541,7 @@ var LoadingOverlay = ({
15359
15541
  (_f = lottieRef.current) == null ? void 0 : _f.stop();
15360
15542
  }
15361
15543
  }, [isPaused]);
15362
- return /* @__PURE__ */ jsxs55(
15544
+ return /* @__PURE__ */ jsxs56(
15363
15545
  "div",
15364
15546
  {
15365
15547
  role: "alert",
@@ -15367,9 +15549,9 @@ var LoadingOverlay = ({
15367
15549
  "aria-hidden": !isActive,
15368
15550
  "aria-busy": isActive && !isPaused,
15369
15551
  children: [
15370
- /* @__PURE__ */ jsx84("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
15371
- /* @__PURE__ */ jsx84("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */ jsxs55("div", { css: loadingOverlayBody, children: [
15372
- /* @__PURE__ */ jsx84(
15552
+ /* @__PURE__ */ jsx85("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
15553
+ /* @__PURE__ */ jsx85("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */ jsxs56("div", { css: loadingOverlayBody, children: [
15554
+ /* @__PURE__ */ jsx85(
15373
15555
  AnimationFile,
15374
15556
  {
15375
15557
  lottieRef,
@@ -15384,15 +15566,15 @@ var LoadingOverlay = ({
15384
15566
  }
15385
15567
  }
15386
15568
  ),
15387
- statusMessage ? /* @__PURE__ */ jsx84("div", { css: loadingOverlayMessage, children: statusMessage }) : null,
15388
- /* @__PURE__ */ jsx84("div", { css: { width: "100%", marginTop: "var(--spacing-md)" }, children })
15569
+ statusMessage ? /* @__PURE__ */ jsx85("div", { css: loadingOverlayMessage, children: statusMessage }) : null,
15570
+ /* @__PURE__ */ jsx85("div", { css: { width: "100%", marginTop: "var(--spacing-md)" }, children })
15389
15571
  ] }) })
15390
15572
  ]
15391
15573
  }
15392
15574
  );
15393
15575
  };
15394
15576
  var LoadingIcon = ({ height, width, ...props }) => {
15395
- return /* @__PURE__ */ jsx84(
15577
+ return /* @__PURE__ */ jsx85(
15396
15578
  "svg",
15397
15579
  {
15398
15580
  viewBox: "0 0 38 38",
@@ -15402,9 +15584,9 @@ var LoadingIcon = ({ height, width, ...props }) => {
15402
15584
  stroke: "currentColor",
15403
15585
  ...props,
15404
15586
  "data-testid": "loading-icon",
15405
- children: /* @__PURE__ */ jsx84("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxs55("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
15406
- /* @__PURE__ */ jsx84("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
15407
- /* @__PURE__ */ jsx84("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ jsx84(
15587
+ children: /* @__PURE__ */ jsx85("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxs56("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
15588
+ /* @__PURE__ */ jsx85("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
15589
+ /* @__PURE__ */ jsx85("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ jsx85(
15408
15590
  "animateTransform",
15409
15591
  {
15410
15592
  attributeName: "transform",
@@ -15428,12 +15610,12 @@ import {
15428
15610
  } from "reakit/Popover";
15429
15611
 
15430
15612
  // src/components/Popover/Popover.styles.ts
15431
- import { css as css70 } from "@emotion/react";
15432
- var PopoverBtn = css70`
15613
+ import { css as css71 } from "@emotion/react";
15614
+ var PopoverBtn = css71`
15433
15615
  border: none;
15434
15616
  background: none;
15435
15617
  `;
15436
- var PopoverDefaulterTriggerBtn = css70`
15618
+ var PopoverDefaulterTriggerBtn = css71`
15437
15619
  border: none;
15438
15620
  background: none;
15439
15621
  padding: var(--spacing-2xs);
@@ -15443,7 +15625,7 @@ var PopoverDefaulterTriggerBtn = css70`
15443
15625
  background-color: rgba(0, 0, 0, 0.05);
15444
15626
  }
15445
15627
  `;
15446
- var Popover = css70`
15628
+ var Popover = css71`
15447
15629
  border-left: var(--spacing-xs) solid var(--brand-secondary-3);
15448
15630
  border-radius: var(--rounded-base);
15449
15631
  box-shadow: var(--shadow-base);
@@ -15457,7 +15639,7 @@ var Popover = css70`
15457
15639
  `;
15458
15640
 
15459
15641
  // src/components/Popover/Popover.tsx
15460
- import { Fragment as Fragment12, jsx as jsx85, jsxs as jsxs56 } from "@emotion/react/jsx-runtime";
15642
+ import { Fragment as Fragment13, jsx as jsx86, jsxs as jsxs57 } from "@emotion/react/jsx-runtime";
15461
15643
  var Popover2 = ({
15462
15644
  iconColor = "action",
15463
15645
  icon = "info",
@@ -15471,27 +15653,27 @@ var Popover2 = ({
15471
15653
  ...otherProps
15472
15654
  }) => {
15473
15655
  const popover = usePopoverState({ placement });
15474
- return /* @__PURE__ */ jsxs56(Fragment12, { children: [
15475
- /* @__PURE__ */ jsx85(
15656
+ return /* @__PURE__ */ jsxs57(Fragment13, { children: [
15657
+ /* @__PURE__ */ jsx86(
15476
15658
  PopoverDisclosure,
15477
15659
  {
15478
15660
  ...popover,
15479
15661
  css: [PopoverBtn, trigger ? void 0 : PopoverDefaulterTriggerBtn],
15480
15662
  title: buttonText,
15481
15663
  "data-testid": testId,
15482
- children: trigger ? trigger : /* @__PURE__ */ jsxs56(Fragment12, { children: [
15483
- /* @__PURE__ */ jsx85(Icon, { icon, iconColor, size: iconSize }),
15484
- /* @__PURE__ */ jsx85("span", { hidden: true, children: buttonText })
15664
+ children: trigger ? trigger : /* @__PURE__ */ jsxs57(Fragment13, { children: [
15665
+ /* @__PURE__ */ jsx86(Icon, { icon, iconColor, size: iconSize }),
15666
+ /* @__PURE__ */ jsx86("span", { hidden: true, children: buttonText })
15485
15667
  ] })
15486
15668
  }
15487
15669
  ),
15488
- /* @__PURE__ */ jsx85(ReakitPopover, { css: Popover, ...otherProps, ...popover, role: "tooltip", "aria-label": ariaLabel, children })
15670
+ /* @__PURE__ */ jsx86(ReakitPopover, { css: Popover, ...otherProps, ...popover, role: "tooltip", "aria-label": ariaLabel, children })
15489
15671
  ] });
15490
15672
  };
15491
15673
 
15492
15674
  // src/components/MediaCard/MediaCard.styles.ts
15493
- import { css as css71 } from "@emotion/react";
15494
- var cardBaseStyles = css71`
15675
+ import { css as css72 } from "@emotion/react";
15676
+ var cardBaseStyles = css72`
15495
15677
  display: flex;
15496
15678
  flex-direction: column;
15497
15679
  justify-content: flex-start;
@@ -15505,7 +15687,7 @@ var cardBaseStyles = css71`
15505
15687
  outline: 2px solid var(--primary-action-default);
15506
15688
  }
15507
15689
  `;
15508
- var cardBaseCoverIconWrapperStyles = css71`
15690
+ var cardBaseCoverIconWrapperStyles = css72`
15509
15691
  position: relative;
15510
15692
  display: flex;
15511
15693
  align-items: center;
@@ -15517,19 +15699,19 @@ var cardBaseCoverIconWrapperStyles = css71`
15517
15699
  padding: var(--spacing-sm);
15518
15700
  cursor: pointer;
15519
15701
  `;
15520
- var cardBaseContentStyles = css71`
15702
+ var cardBaseContentStyles = css72`
15521
15703
  padding: var(--spacing-sm);
15522
15704
  `;
15523
- var cardBaseTitleStyles = css71`
15705
+ var cardBaseTitleStyles = css72`
15524
15706
  font-size: var(--fs-sm);
15525
15707
  color: var(--gray-500);
15526
15708
  cursor: pointer;
15527
15709
  `;
15528
- var cardBaseSubtitleStyles = css71`
15710
+ var cardBaseSubtitleStyles = css72`
15529
15711
  font-size: var(--fs-xs);
15530
15712
  color: var(--gray-500);
15531
15713
  `;
15532
- var cardBaseMenuButtonStyles = css71`
15714
+ var cardBaseMenuButtonStyles = css72`
15533
15715
  padding: var(--spacing-2xs);
15534
15716
  border-radius: var(--rounded-sm);
15535
15717
  border-width: 0;
@@ -15541,7 +15723,7 @@ var cardBaseMenuButtonStyles = css71`
15541
15723
  `;
15542
15724
 
15543
15725
  // src/components/MediaCard/MediaCard.tsx
15544
- import { jsx as jsx86, jsxs as jsxs57 } from "@emotion/react/jsx-runtime";
15726
+ import { jsx as jsx87, jsxs as jsxs58 } from "@emotion/react/jsx-runtime";
15545
15727
  var MediaCard = ({
15546
15728
  title,
15547
15729
  subtitle,
@@ -15552,13 +15734,13 @@ var MediaCard = ({
15552
15734
  onClick,
15553
15735
  ...cardProps
15554
15736
  }) => {
15555
- return /* @__PURE__ */ jsxs57(Card, { tag: "button", css: cardBaseStyles, ...cardProps, onClick, children: [
15556
- /* @__PURE__ */ jsx86("div", { css: cardBaseCoverIconWrapperStyles, children: cover }),
15557
- /* @__PURE__ */ jsx86("div", { css: cardBaseContentStyles, children: /* @__PURE__ */ jsxs57(HorizontalRhythm, { gap: "sm", justify: "space-between", align: "center", css: { width: "100%" }, children: [
15558
- /* @__PURE__ */ jsxs57(VerticalRhythm, { gap: "0", align: "flex-start", css: { flex: 1 }, children: [
15559
- /* @__PURE__ */ jsxs57(HorizontalRhythm, { gap: "xs", align: "center", children: [
15560
- /* @__PURE__ */ jsx86("div", { css: cardBaseTitleStyles, "data-testid": "card-title", children: title }),
15561
- !infoPopover ? null : /* @__PURE__ */ jsx86("div", { css: { display: "flex", cursor: "default" }, onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ jsx86(
15737
+ return /* @__PURE__ */ jsxs58(Card, { tag: "button", css: cardBaseStyles, ...cardProps, onClick, children: [
15738
+ /* @__PURE__ */ jsx87("div", { css: cardBaseCoverIconWrapperStyles, children: cover }),
15739
+ /* @__PURE__ */ jsx87("div", { css: cardBaseContentStyles, children: /* @__PURE__ */ jsxs58(HorizontalRhythm, { gap: "sm", justify: "space-between", align: "center", css: { width: "100%" }, children: [
15740
+ /* @__PURE__ */ jsxs58(VerticalRhythm, { gap: "0", align: "flex-start", css: { flex: 1 }, children: [
15741
+ /* @__PURE__ */ jsxs58(HorizontalRhythm, { gap: "xs", align: "center", children: [
15742
+ /* @__PURE__ */ jsx87("div", { css: cardBaseTitleStyles, "data-testid": "card-title", children: title }),
15743
+ !infoPopover ? null : /* @__PURE__ */ jsx87("div", { css: { display: "flex", cursor: "default" }, onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ jsx87(
15562
15744
  Popover2,
15563
15745
  {
15564
15746
  baseId: `info-of-${title}`,
@@ -15567,17 +15749,17 @@ var MediaCard = ({
15567
15749
  iconColor: "default",
15568
15750
  tabIndex: 0,
15569
15751
  css: { display: "block" },
15570
- children: /* @__PURE__ */ jsx86("div", { children: infoPopover })
15752
+ children: /* @__PURE__ */ jsx87("div", { children: infoPopover })
15571
15753
  }
15572
15754
  ) })
15573
15755
  ] }),
15574
- !subtitle ? null : /* @__PURE__ */ jsx86("div", { css: cardBaseSubtitleStyles, children: subtitle })
15756
+ !subtitle ? null : /* @__PURE__ */ jsx87("div", { css: cardBaseSubtitleStyles, children: subtitle })
15575
15757
  ] }),
15576
- /* @__PURE__ */ jsx86("div", { css: { cursor: "default" }, onClick: (e) => e.stopPropagation(), children: sideSection }),
15577
- /* @__PURE__ */ jsx86(VerticalRhythm, { align: "center", justify: "center", onClick: (e) => e.stopPropagation(), children: !menuItems || Array.isArray(menuItems) && !menuItems.length ? null : /* @__PURE__ */ jsx86(
15758
+ /* @__PURE__ */ jsx87("div", { css: { cursor: "default" }, onClick: (e) => e.stopPropagation(), children: sideSection }),
15759
+ /* @__PURE__ */ jsx87(VerticalRhythm, { align: "center", justify: "center", onClick: (e) => e.stopPropagation(), children: !menuItems || Array.isArray(menuItems) && !menuItems.length ? null : /* @__PURE__ */ jsx87(
15578
15760
  Menu,
15579
15761
  {
15580
- menuTrigger: /* @__PURE__ */ jsx86("button", { type: "button", "aria-label": "More options", css: cardBaseMenuButtonStyles, children: /* @__PURE__ */ jsx86(Icon, { icon: "more-alt", iconColor: "gray", size: 16 }) }),
15762
+ menuTrigger: /* @__PURE__ */ jsx87("button", { type: "button", "aria-label": "More options", css: cardBaseMenuButtonStyles, children: /* @__PURE__ */ jsx87(Icon, { icon: "more-alt", iconColor: "gray", size: 16 }) }),
15581
15763
  menuLabel: `Menu of ${title}`,
15582
15764
  children: menuItems
15583
15765
  }
@@ -15591,8 +15773,8 @@ import { CgClose as CgClose5 } from "@react-icons/all-files/cg/CgClose";
15591
15773
  import React19 from "react";
15592
15774
 
15593
15775
  // src/components/Modal/Modal.styles.ts
15594
- import { css as css72 } from "@emotion/react";
15595
- var modalWrapperStyles = css72`
15776
+ import { css as css73 } from "@emotion/react";
15777
+ var modalWrapperStyles = css73`
15596
15778
  position: fixed;
15597
15779
  inset: 0;
15598
15780
  display: flex;
@@ -15600,13 +15782,13 @@ var modalWrapperStyles = css72`
15600
15782
  justify-content: center;
15601
15783
  z-index: var(--z-drawer);
15602
15784
  `;
15603
- var modalBackdropStyles = css72`
15785
+ var modalBackdropStyles = css73`
15604
15786
  position: absolute;
15605
15787
  inset: 0;
15606
15788
  background-color: var(--brand-secondary-1);
15607
15789
  opacity: 0.4;
15608
15790
  `;
15609
- var modalStyles = css72`
15791
+ var modalStyles = css73`
15610
15792
  position: relative;
15611
15793
  display: flex;
15612
15794
  flex-direction: column;
@@ -15621,21 +15803,21 @@ var modalStyles = css72`
15621
15803
  color: unset;
15622
15804
  z-index: 1;
15623
15805
  `;
15624
- var modalHeaderStyles = css72`
15806
+ var modalHeaderStyles = css73`
15625
15807
  display: flex;
15626
15808
  align-items: flex-start;
15627
15809
  gap: var(--spacing-base);
15628
15810
  font-size: var(--fs-md);
15629
15811
  line-height: 1.2;
15630
15812
  `;
15631
- var modalCloseButtonStyles = css72`
15813
+ var modalCloseButtonStyles = css73`
15632
15814
  display: block;
15633
15815
  padding: 0;
15634
15816
  background: transparent;
15635
15817
  border: none;
15636
15818
  margin-left: auto;
15637
15819
  `;
15638
- var modalContentStyles = css72`
15820
+ var modalContentStyles = css73`
15639
15821
  flex: 1;
15640
15822
  background-color: white;
15641
15823
  padding: var(--spacing-md);
@@ -15644,7 +15826,7 @@ var modalContentStyles = css72`
15644
15826
  `;
15645
15827
 
15646
15828
  // src/components/Modal/Modal.tsx
15647
- import { jsx as jsx87, jsxs as jsxs58 } from "@emotion/react/jsx-runtime";
15829
+ import { jsx as jsx88, jsxs as jsxs59 } from "@emotion/react/jsx-runtime";
15648
15830
  var defaultModalWidth = "75rem";
15649
15831
  var defaultModalHeight = "51rem";
15650
15832
  var Modal = React19.forwardRef(
@@ -15663,12 +15845,12 @@ var Modal = React19.forwardRef(
15663
15845
  handler: onRequestClose,
15664
15846
  shortcut: "escape"
15665
15847
  });
15666
- return /* @__PURE__ */ jsxs58("div", { css: [modalWrapperStyles, wrapperClassName], children: [
15667
- /* @__PURE__ */ jsx87("div", { onClick: onRequestClose, css: modalBackdropStyles }),
15668
- /* @__PURE__ */ jsxs58("dialog", { ref, css: modalStyles, style: { width, height }, ...modalProps, children: [
15669
- /* @__PURE__ */ jsxs58("div", { css: modalHeaderStyles, children: [
15670
- /* @__PURE__ */ jsx87("div", { children: header }),
15671
- /* @__PURE__ */ jsx87(
15848
+ return /* @__PURE__ */ jsxs59("div", { css: [modalWrapperStyles, wrapperClassName], children: [
15849
+ /* @__PURE__ */ jsx88("div", { onClick: onRequestClose, css: modalBackdropStyles }),
15850
+ /* @__PURE__ */ jsxs59("dialog", { ref, css: modalStyles, style: { width, height }, ...modalProps, children: [
15851
+ /* @__PURE__ */ jsxs59("div", { css: modalHeaderStyles, children: [
15852
+ /* @__PURE__ */ jsx88("div", { children: header }),
15853
+ /* @__PURE__ */ jsx88(
15672
15854
  Button,
15673
15855
  {
15674
15856
  type: "button",
@@ -15677,12 +15859,12 @@ var Modal = React19.forwardRef(
15677
15859
  title: "Close dialog",
15678
15860
  buttonType: "ghost",
15679
15861
  "data-testid": "close-dialog",
15680
- children: /* @__PURE__ */ jsx87(Icon, { icon: CgClose5, iconColor: "gray", size: 24 })
15862
+ children: /* @__PURE__ */ jsx88(Icon, { icon: CgClose5, iconColor: "gray", size: 24 })
15681
15863
  }
15682
15864
  )
15683
15865
  ] }),
15684
- /* @__PURE__ */ jsx87("div", { css: [modalContentStyles, !withoutContentPadding ? null : { padding: 0 }], children }),
15685
- buttonGroup ? /* @__PURE__ */ jsx87(HorizontalRhythm, { children: buttonGroup }) : null
15866
+ /* @__PURE__ */ jsx88("div", { css: [modalContentStyles, !withoutContentPadding ? null : { padding: 0 }], children }),
15867
+ buttonGroup ? /* @__PURE__ */ jsx88(HorizontalRhythm, { children: buttonGroup }) : null
15686
15868
  ] })
15687
15869
  ] });
15688
15870
  }
@@ -15711,8 +15893,8 @@ var useParameterShell = () => {
15711
15893
  };
15712
15894
 
15713
15895
  // src/components/ParameterInputs/styles/LabelLeadingIcon.styles.ts
15714
- import { css as css73 } from "@emotion/react";
15715
- var inputIconBtn = css73`
15896
+ import { css as css74 } from "@emotion/react";
15897
+ var inputIconBtn = css74`
15716
15898
  align-items: center;
15717
15899
  border: none;
15718
15900
  border-radius: var(--rounded-base);
@@ -15738,7 +15920,7 @@ var inputIconBtn = css73`
15738
15920
  `;
15739
15921
 
15740
15922
  // src/components/ParameterInputs/LabelLeadingIcon.tsx
15741
- import { jsx as jsx88, jsxs as jsxs59 } from "@emotion/react/jsx-runtime";
15923
+ import { jsx as jsx89, jsxs as jsxs60 } from "@emotion/react/jsx-runtime";
15742
15924
  var LabelLeadingIcon = ({
15743
15925
  icon,
15744
15926
  iconColor,
@@ -15750,7 +15932,7 @@ var LabelLeadingIcon = ({
15750
15932
  ...props
15751
15933
  }) => {
15752
15934
  const titleFr = title != null ? title : isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
15753
- return /* @__PURE__ */ jsx88(Tooltip, { title: titleFr, children: /* @__PURE__ */ jsxs59(
15935
+ return /* @__PURE__ */ jsx89(Tooltip, { title: titleFr, children: /* @__PURE__ */ jsxs60(
15754
15936
  "button",
15755
15937
  {
15756
15938
  css: inputIconBtn,
@@ -15759,7 +15941,7 @@ var LabelLeadingIcon = ({
15759
15941
  "aria-disabled": isLocked,
15760
15942
  ...props,
15761
15943
  children: [
15762
- /* @__PURE__ */ jsx88(
15944
+ /* @__PURE__ */ jsx89(
15763
15945
  Icon,
15764
15946
  {
15765
15947
  icon: isLocked ? "lock" : icon ? icon : "arrows-expand-down-right",
@@ -15775,8 +15957,8 @@ var LabelLeadingIcon = ({
15775
15957
  var ConnectToDataElementButton = LabelLeadingIcon;
15776
15958
 
15777
15959
  // src/components/ParameterInputs/styles/ParameterInput.styles.ts
15778
- import { css as css74 } from "@emotion/react";
15779
- var inputContainer2 = css74`
15960
+ import { css as css75 } from "@emotion/react";
15961
+ var inputContainer2 = css75`
15780
15962
  position: relative;
15781
15963
 
15782
15964
  &:hover,
@@ -15788,14 +15970,14 @@ var inputContainer2 = css74`
15788
15970
  }
15789
15971
  }
15790
15972
  `;
15791
- var labelText2 = css74`
15973
+ var labelText2 = css75`
15792
15974
  align-items: center;
15793
15975
  display: flex;
15794
15976
  gap: var(--spacing-xs);
15795
15977
  font-weight: var(--fw-regular);
15796
15978
  margin: 0 0 var(--spacing-xs);
15797
15979
  `;
15798
- var input2 = css74`
15980
+ var input2 = css75`
15799
15981
  display: block;
15800
15982
  appearance: none;
15801
15983
  box-sizing: border-box;
@@ -15839,18 +16021,18 @@ var input2 = css74`
15839
16021
  color: var(--gray-400);
15840
16022
  }
15841
16023
  `;
15842
- var selectInput = css74`
16024
+ var selectInput = css75`
15843
16025
  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");
15844
16026
  background-position: right var(--spacing-sm) center;
15845
16027
  background-repeat: no-repeat;
15846
16028
  background-size: 1rem;
15847
16029
  padding-right: var(--spacing-xl);
15848
16030
  `;
15849
- var inputWrapper = css74`
16031
+ var inputWrapper = css75`
15850
16032
  display: flex; // used to correct overflow with chrome textarea
15851
16033
  position: relative;
15852
16034
  `;
15853
- var inputIcon2 = css74`
16035
+ var inputIcon2 = css75`
15854
16036
  align-items: center;
15855
16037
  background: var(--white);
15856
16038
  border-radius: var(--rounded-md) 0 0 var(--rounded-md);
@@ -15866,7 +16048,7 @@ var inputIcon2 = css74`
15866
16048
  width: var(--spacing-lg);
15867
16049
  z-index: var(--z-10);
15868
16050
  `;
15869
- var inputToggleLabel2 = css74`
16051
+ var inputToggleLabel2 = css75`
15870
16052
  align-items: center;
15871
16053
  background: var(--white);
15872
16054
  cursor: pointer;
@@ -15877,7 +16059,7 @@ var inputToggleLabel2 = css74`
15877
16059
  min-height: var(--spacing-md);
15878
16060
  position: relative;
15879
16061
  `;
15880
- var toggleInput2 = css74`
16062
+ var toggleInput2 = css75`
15881
16063
  appearance: none;
15882
16064
  border: 1px solid var(--gray-300);
15883
16065
  background: var(--white);
@@ -15916,7 +16098,7 @@ var toggleInput2 = css74`
15916
16098
  border-color: var(--gray-300);
15917
16099
  }
15918
16100
  `;
15919
- var inlineLabel2 = css74`
16101
+ var inlineLabel2 = css75`
15920
16102
  padding-left: var(--spacing-lg);
15921
16103
  font-size: var(--fs-sm);
15922
16104
  font-weight: var(--fw-regular);
@@ -15932,7 +16114,7 @@ var inlineLabel2 = css74`
15932
16114
  }
15933
16115
  }
15934
16116
  `;
15935
- var inputMenu = css74`
16117
+ var inputMenu = css75`
15936
16118
  background: none;
15937
16119
  border: none;
15938
16120
  padding: var(--spacing-2xs);
@@ -15948,11 +16130,11 @@ var inputMenu = css74`
15948
16130
  background-color: var(--gray-200);
15949
16131
  }
15950
16132
  `;
15951
- var textarea2 = css74`
16133
+ var textarea2 = css75`
15952
16134
  resize: vertical;
15953
16135
  min-height: 2rem;
15954
16136
  `;
15955
- var dataConnectButton = css74`
16137
+ var dataConnectButton = css75`
15956
16138
  align-items: center;
15957
16139
  appearance: none;
15958
16140
  box-sizing: border-box;
@@ -15987,7 +16169,7 @@ var dataConnectButton = css74`
15987
16169
  pointer-events: none;
15988
16170
  }
15989
16171
  `;
15990
- var linkParameterBtn = css74`
16172
+ var linkParameterBtn = css75`
15991
16173
  border-radius: var(--rounded-base);
15992
16174
  background: var(--white);
15993
16175
  border: none;
@@ -15996,7 +16178,7 @@ var linkParameterBtn = css74`
15996
16178
  font-size: var(--fs-sm);
15997
16179
  line-height: 1;
15998
16180
  `;
15999
- var linkParameterControls = css74`
16181
+ var linkParameterControls = css75`
16000
16182
  position: absolute;
16001
16183
  inset: 0 0 0 auto;
16002
16184
  padding: 0 var(--spacing-base);
@@ -16005,7 +16187,7 @@ var linkParameterControls = css74`
16005
16187
  justify-content: center;
16006
16188
  gap: var(--spacing-base);
16007
16189
  `;
16008
- var linkParameterInput = (withExternalLinkIcon) => css74`
16190
+ var linkParameterInput = (withExternalLinkIcon) => css75`
16009
16191
  padding-right: calc(
16010
16192
  ${withExternalLinkIcon ? "calc(var(--spacing-lg) * 2 + var(--spacing-xs))" : "var(--spacing-xl)"} +
16011
16193
  var(--spacing-base)
@@ -16018,7 +16200,7 @@ var linkParameterInput = (withExternalLinkIcon) => css74`
16018
16200
  }
16019
16201
  }
16020
16202
  `;
16021
- var linkParameterIcon = css74`
16203
+ var linkParameterIcon = css75`
16022
16204
  align-items: center;
16023
16205
  color: var(--brand-secondary-3);
16024
16206
  display: flex;
@@ -16033,7 +16215,7 @@ var linkParameterIcon = css74`
16033
16215
  `;
16034
16216
 
16035
16217
  // src/components/ParameterInputs/ParameterDataResource.tsx
16036
- import { jsx as jsx89, jsxs as jsxs60 } from "@emotion/react/jsx-runtime";
16218
+ import { jsx as jsx90, jsxs as jsxs61 } from "@emotion/react/jsx-runtime";
16037
16219
  function ParameterDataResource({
16038
16220
  label,
16039
16221
  labelLeadingIcon,
@@ -16043,12 +16225,12 @@ function ParameterDataResource({
16043
16225
  disabled,
16044
16226
  children
16045
16227
  }) {
16046
- return /* @__PURE__ */ jsxs60("div", { "data-testid": "parameter-data-connect-button", children: [
16047
- /* @__PURE__ */ jsxs60("span", { css: labelText2, children: [
16228
+ return /* @__PURE__ */ jsxs61("div", { "data-testid": "parameter-data-connect-button", children: [
16229
+ /* @__PURE__ */ jsxs61("span", { css: labelText2, children: [
16048
16230
  labelLeadingIcon ? labelLeadingIcon : null,
16049
16231
  label
16050
16232
  ] }),
16051
- /* @__PURE__ */ jsxs60(
16233
+ /* @__PURE__ */ jsxs61(
16052
16234
  "button",
16053
16235
  {
16054
16236
  type: "button",
@@ -16057,30 +16239,30 @@ function ParameterDataResource({
16057
16239
  disabled,
16058
16240
  onClick: onConnectDatasource,
16059
16241
  children: [
16060
- /* @__PURE__ */ jsx89("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ jsx89(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
16242
+ /* @__PURE__ */ jsx90("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ jsx90(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
16061
16243
  children
16062
16244
  ]
16063
16245
  }
16064
16246
  ),
16065
- caption ? /* @__PURE__ */ jsx89(Caption, { children: caption }) : null
16247
+ caption ? /* @__PURE__ */ jsx90(Caption, { children: caption }) : null
16066
16248
  ] });
16067
16249
  }
16068
16250
 
16069
16251
  // src/components/ParameterInputs/styles/ParameterDrawerHeader.styles.ts
16070
- import { css as css75 } from "@emotion/react";
16071
- var ParameterDrawerHeaderContainer = css75`
16252
+ import { css as css76 } from "@emotion/react";
16253
+ var ParameterDrawerHeaderContainer = css76`
16072
16254
  align-items: center;
16073
16255
  display: flex;
16074
16256
  gap: var(--spacing-base);
16075
16257
  justify-content: space-between;
16076
16258
  margin-bottom: var(--spacing-sm);
16077
16259
  `;
16078
- var ParameterDrawerHeaderTitleGroup = css75`
16260
+ var ParameterDrawerHeaderTitleGroup = css76`
16079
16261
  align-items: center;
16080
16262
  display: flex;
16081
16263
  gap: var(--spacing-sm);
16082
16264
  `;
16083
- var ParameterDrawerHeaderTitle = css75`
16265
+ var ParameterDrawerHeaderTitle = css76`
16084
16266
  text-overflow: ellipsis;
16085
16267
  white-space: nowrap;
16086
16268
  overflow: hidden;
@@ -16088,12 +16270,12 @@ var ParameterDrawerHeaderTitle = css75`
16088
16270
  `;
16089
16271
 
16090
16272
  // src/components/ParameterInputs/ParameterDrawerHeader.tsx
16091
- import { jsx as jsx90, jsxs as jsxs61 } from "@emotion/react/jsx-runtime";
16273
+ import { jsx as jsx91, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
16092
16274
  var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
16093
- return /* @__PURE__ */ jsxs61("div", { css: ParameterDrawerHeaderContainer, children: [
16094
- /* @__PURE__ */ jsxs61("header", { css: ParameterDrawerHeaderTitleGroup, children: [
16275
+ return /* @__PURE__ */ jsxs62("div", { css: ParameterDrawerHeaderContainer, children: [
16276
+ /* @__PURE__ */ jsxs62("header", { css: ParameterDrawerHeaderTitleGroup, children: [
16095
16277
  iconBeforeTitle,
16096
- /* @__PURE__ */ jsx90(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
16278
+ /* @__PURE__ */ jsx91(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
16097
16279
  ] }),
16098
16280
  children
16099
16281
  ] });
@@ -16103,8 +16285,8 @@ var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
16103
16285
  import { forwardRef as forwardRef10 } from "react";
16104
16286
 
16105
16287
  // src/components/ParameterInputs/styles/ParameterGroup.styles.ts
16106
- import { css as css76 } from "@emotion/react";
16107
- var fieldsetStyles = css76`
16288
+ import { css as css77 } from "@emotion/react";
16289
+ var fieldsetStyles = css77`
16108
16290
  &:disabled,
16109
16291
  [readonly] {
16110
16292
  pointer-events: none;
@@ -16115,7 +16297,7 @@ var fieldsetStyles = css76`
16115
16297
  }
16116
16298
  }
16117
16299
  `;
16118
- var fieldsetLegend2 = css76`
16300
+ var fieldsetLegend2 = css77`
16119
16301
  display: block;
16120
16302
  font-weight: var(--fw-medium);
16121
16303
  margin-bottom: var(--spacing-sm);
@@ -16123,11 +16305,11 @@ var fieldsetLegend2 = css76`
16123
16305
  `;
16124
16306
 
16125
16307
  // src/components/ParameterInputs/ParameterGroup.tsx
16126
- import { jsx as jsx91, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
16308
+ import { jsx as jsx92, jsxs as jsxs63 } from "@emotion/react/jsx-runtime";
16127
16309
  var ParameterGroup = forwardRef10(
16128
16310
  ({ legend, isDisabled, children, ...props }, ref) => {
16129
- return /* @__PURE__ */ jsxs62("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
16130
- /* @__PURE__ */ jsx91("legend", { css: fieldsetLegend2, children: legend }),
16311
+ return /* @__PURE__ */ jsxs63("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
16312
+ /* @__PURE__ */ jsx92("legend", { css: fieldsetLegend2, children: legend }),
16131
16313
  children
16132
16314
  ] });
16133
16315
  }
@@ -16137,57 +16319,19 @@ var ParameterGroup = forwardRef10(
16137
16319
  import { forwardRef as forwardRef12, useDeferredValue } from "react";
16138
16320
 
16139
16321
  // src/components/ParameterInputs/ParameterImagePreview.tsx
16140
- import { useCallback as useCallback3, useEffect as useEffect9, useState as useState9 } from "react";
16322
+ import { useState as useState10 } from "react";
16141
16323
  import { createPortal as createPortal2 } from "react-dom";
16142
16324
 
16143
- // src/utils/url.ts
16144
- var isValidUrl = (url, options = {}) => {
16145
- try {
16146
- new URL(url, options.allowRelative ? "https://defaultbaseurl.com" : void 0);
16147
- return true;
16148
- } catch (e) {
16149
- return false;
16150
- }
16151
- };
16152
-
16153
16325
  // src/components/ParameterInputs/styles/ParameterImage.styles.ts
16154
- import { css as css77 } from "@emotion/react";
16155
- var imageWrapper = css77`
16156
- position: relative;
16157
- display: flex;
16158
- flex-direction: column;
16159
- background: var(--gray-50);
16160
- max-width: 100%;
16161
- max-height: 100%;
16162
- `;
16163
- var imageWrapperLoading = css77`
16164
- animation: ${skeletonLoading} var(--duration-slow) linear infinite alternate;
16165
- `;
16166
- var img = css77`
16167
- object-fit: contain;
16168
- max-width: 100%;
16169
- height: auto;
16170
- opacity: var(--opacity-0);
16171
- margin: 0 auto;
16172
- `;
16173
- var imgLoading = css77`
16174
- opacity: 0;
16175
- `;
16176
- var imgLoaded = css77`
16177
- animation: ${fadeIn} var(--duration-slow) var(--timing-ease-out) forwards;
16178
- opacity: 1;
16179
- `;
16180
- var brokenImage = css77`
16181
- height: 160px;
16182
- `;
16183
- var previewWrapper = css77`
16326
+ import { css as css78 } from "@emotion/react";
16327
+ var previewWrapper = css78`
16184
16328
  margin-top: var(--spacing-xs);
16185
16329
  background: var(--gray-50);
16186
16330
  padding: var(--spacing-sm);
16187
16331
  border: solid 1px var(--gray-300);
16188
16332
  border-radius: var(--rounded-sm);
16189
16333
  `;
16190
- var previewLink = css77`
16334
+ var previewLink = css78`
16191
16335
  display: block;
16192
16336
  width: 100%;
16193
16337
 
@@ -16195,7 +16339,7 @@ var previewLink = css77`
16195
16339
  max-height: 9rem;
16196
16340
  }
16197
16341
  `;
16198
- var previewModalWrapper = css77`
16342
+ var previewModalWrapper = css78`
16199
16343
  background: var(--gray-50);
16200
16344
  display: flex;
16201
16345
  height: 100%;
@@ -16204,7 +16348,7 @@ var previewModalWrapper = css77`
16204
16348
  border: solid 1px var(--gray-300);
16205
16349
  border-radius: var(--rounded-sm);
16206
16350
  `;
16207
- var previewModalImage = css77`
16351
+ var previewModalImage = css78`
16208
16352
  display: flex;
16209
16353
  height: 100%;
16210
16354
  width: 100%;
@@ -16216,119 +16360,58 @@ var previewModalImage = css77`
16216
16360
  `;
16217
16361
 
16218
16362
  // src/components/ParameterInputs/ParameterImagePreview.tsx
16219
- import { Fragment as Fragment13, jsx as jsx92, jsxs as jsxs63 } from "@emotion/react/jsx-runtime";
16363
+ import { Fragment as Fragment14, jsx as jsx93, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
16220
16364
  function ParameterImagePreview({ imageSrc }) {
16221
- const [showModal, setShowModal] = useState9(false);
16222
- return imageSrc ? /* @__PURE__ */ jsxs63("div", { css: previewWrapper, children: [
16223
- /* @__PURE__ */ jsx92(PreviewImageModal, { open: showModal, imageSrc, onRequestClose: () => setShowModal(false) }),
16224
- /* @__PURE__ */ jsx92(
16365
+ const [showModal, setShowModal] = useState10(false);
16366
+ return imageSrc ? /* @__PURE__ */ jsxs64("div", { css: previewWrapper, children: [
16367
+ /* @__PURE__ */ jsx93(PreviewImageModal, { open: showModal, imageSrc, onRequestClose: () => setShowModal(false) }),
16368
+ /* @__PURE__ */ jsx93(
16225
16369
  "button",
16226
16370
  {
16227
16371
  css: previewLink,
16228
16372
  onClick: () => {
16229
16373
  setShowModal(true);
16230
16374
  },
16231
- children: /* @__PURE__ */ jsx92(Image, { src: imageSrc })
16375
+ children: /* @__PURE__ */ jsx93(Image, { src: imageSrc, "data-testid": "parameter-image-preview" })
16232
16376
  }
16233
16377
  )
16234
16378
  ] }) : null;
16235
16379
  }
16236
16380
  var PreviewImageModal = ({ open, onRequestClose, imageSrc }) => {
16237
- return open ? /* @__PURE__ */ jsx92(Fragment13, { children: createPortal2(
16238
- /* @__PURE__ */ jsx92(
16381
+ return open ? /* @__PURE__ */ jsx93(Fragment14, { children: createPortal2(
16382
+ /* @__PURE__ */ jsx93(
16239
16383
  Modal,
16240
16384
  {
16241
16385
  header: "Image Preview",
16242
16386
  onRequestClose,
16243
16387
  withoutContentPadding: true,
16244
- buttonGroup: /* @__PURE__ */ jsx92(Button, { buttonType: "secondary", onClick: onRequestClose, children: "Ok" }),
16245
- children: /* @__PURE__ */ jsx92("div", { css: previewModalWrapper, children: /* @__PURE__ */ jsx92(Image, { src: imageSrc, css: previewModalImage }) })
16388
+ buttonGroup: /* @__PURE__ */ jsx93(Button, { buttonType: "secondary", onClick: onRequestClose, children: "Ok" }),
16389
+ children: /* @__PURE__ */ jsx93("div", { css: previewModalWrapper, children: /* @__PURE__ */ jsx93(Image, { src: imageSrc, css: previewModalImage, "data-testid": "parameter-image-preview" }) })
16246
16390
  }
16247
16391
  ),
16248
16392
  document.body
16249
16393
  ) }) : null;
16250
16394
  };
16251
- var Image = ({ src, className }) => {
16252
- const [loading, setLoading] = useState9(false);
16253
- const [loadErrorText, setLoadErrorText] = useState9("");
16254
- const errorText = "The text you provided is not a valid URL";
16255
- const updateImageSrc = useCallback3(() => {
16256
- let message = "";
16257
- try {
16258
- if (src !== "") {
16259
- const url = String(src).startsWith("//") ? `${location.protocol}${src}` : String(src);
16260
- if (!isValidUrl(url) || !url.startsWith("https")) {
16261
- throw Error(errorText);
16262
- }
16263
- }
16264
- message = "";
16265
- } catch (e) {
16266
- message = errorText;
16267
- }
16268
- setLoadErrorText(message);
16269
- }, [setLoadErrorText, src]);
16270
- useEffect9(() => {
16271
- updateImageSrc();
16272
- }, [src]);
16273
- const handleLoadEvent = () => {
16274
- setLoadErrorText("");
16275
- if (src) {
16276
- setLoading(true);
16277
- }
16278
- const timer = setTimeout(() => {
16279
- setLoading(false);
16280
- }, 1e3);
16281
- return () => clearTimeout(timer);
16282
- };
16283
- const handleErrorEvent = () => {
16284
- setLoadErrorText("The value you provided is not a valid image URL");
16285
- };
16286
- return /* @__PURE__ */ jsxs63(
16287
- "span",
16288
- {
16289
- className,
16290
- css: [imageWrapper, loading ? imageWrapperLoading : null],
16291
- children: [
16292
- src && !loadErrorText ? /* @__PURE__ */ jsx92(
16293
- "img",
16294
- {
16295
- src,
16296
- css: [img, loading ? imgLoading : imgLoaded],
16297
- alt: "image preview",
16298
- onLoad: handleLoadEvent,
16299
- onError: handleErrorEvent,
16300
- loading: "lazy",
16301
- "data-testid": "parameter-image-preview"
16302
- }
16303
- ) : null,
16304
- src && loadErrorText ? /* @__PURE__ */ jsxs63(Fragment13, { children: [
16305
- /* @__PURE__ */ jsx92(ImageBroken, { css: [brokenImage, img, imgLoaded] }),
16306
- /* @__PURE__ */ jsx92(ErrorMessage, { message: loadErrorText })
16307
- ] }) : null
16308
- ]
16309
- }
16310
- );
16311
- };
16312
16395
 
16313
16396
  // src/components/ParameterInputs/ParameterShell.tsx
16314
- import { useState as useState10 } from "react";
16397
+ import { useState as useState11 } from "react";
16315
16398
 
16316
16399
  // src/components/ParameterInputs/ParameterLabel.tsx
16317
- import { jsx as jsx93 } from "@emotion/react/jsx-runtime";
16400
+ import { jsx as jsx94 } from "@emotion/react/jsx-runtime";
16318
16401
  var ParameterLabel = ({ id, asSpan, children, ...props }) => {
16319
- return !asSpan ? /* @__PURE__ */ jsx93("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ jsx93("span", { "aria-labelledby": id, css: labelText2, children });
16402
+ return !asSpan ? /* @__PURE__ */ jsx94("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ jsx94("span", { "aria-labelledby": id, css: labelText2, children });
16320
16403
  };
16321
16404
 
16322
16405
  // src/components/ParameterInputs/ParameterMenuButton.tsx
16323
16406
  import { forwardRef as forwardRef11 } from "react";
16324
- import { jsx as jsx94 } from "@emotion/react/jsx-runtime";
16407
+ import { jsx as jsx95 } from "@emotion/react/jsx-runtime";
16325
16408
  var ParameterMenuButton = forwardRef11(
16326
16409
  ({ label, children }, ref) => {
16327
- return /* @__PURE__ */ jsx94(
16410
+ return /* @__PURE__ */ jsx95(
16328
16411
  Menu,
16329
16412
  {
16330
16413
  menuLabel: `${label} menu`,
16331
- menuTrigger: /* @__PURE__ */ jsx94(
16414
+ menuTrigger: /* @__PURE__ */ jsx95(
16332
16415
  "button",
16333
16416
  {
16334
16417
  className: "parameter-menu",
@@ -16336,7 +16419,7 @@ var ParameterMenuButton = forwardRef11(
16336
16419
  type: "button",
16337
16420
  "aria-label": `${label} options`,
16338
16421
  ref,
16339
- children: /* @__PURE__ */ jsx94(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
16422
+ children: /* @__PURE__ */ jsx95(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
16340
16423
  }
16341
16424
  ),
16342
16425
  children
@@ -16346,8 +16429,8 @@ var ParameterMenuButton = forwardRef11(
16346
16429
  );
16347
16430
 
16348
16431
  // src/components/ParameterInputs/styles/ParameterShell.styles.ts
16349
- import { css as css78 } from "@emotion/react";
16350
- var emptyParameterShell = css78`
16432
+ import { css as css79 } from "@emotion/react";
16433
+ var emptyParameterShell = css79`
16351
16434
  border-radius: var(--rounded-sm);
16352
16435
  background: var(--white);
16353
16436
  flex-grow: 1;
@@ -16355,7 +16438,7 @@ var emptyParameterShell = css78`
16355
16438
  position: relative;
16356
16439
  max-width: 100%;
16357
16440
  `;
16358
- var emptyParameterShellText = css78`
16441
+ var emptyParameterShellText = css79`
16359
16442
  background: var(--brand-secondary-6);
16360
16443
  border-radius: var(--rounded-sm);
16361
16444
  padding: var(--spacing-sm);
@@ -16363,7 +16446,7 @@ var emptyParameterShellText = css78`
16363
16446
  font-size: var(--fs-sm);
16364
16447
  margin: 0;
16365
16448
  `;
16366
- var overrideMarker = css78`
16449
+ var overrideMarker = css79`
16367
16450
  border-radius: var(--rounded-sm);
16368
16451
  border: 10px solid var(--gray-300);
16369
16452
  border-left-color: transparent;
@@ -16374,7 +16457,7 @@ var overrideMarker = css78`
16374
16457
  `;
16375
16458
 
16376
16459
  // src/components/ParameterInputs/ParameterShell.tsx
16377
- import { jsx as jsx95, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
16460
+ import { jsx as jsx96, jsxs as jsxs65 } from "@emotion/react/jsx-runtime";
16378
16461
  var extractParameterProps = (props) => {
16379
16462
  const {
16380
16463
  id,
@@ -16432,23 +16515,23 @@ var ParameterShell = ({
16432
16515
  children,
16433
16516
  ...props
16434
16517
  }) => {
16435
- const [manualErrorMessage, setManualErrorMessage] = useState10(void 0);
16518
+ const [manualErrorMessage, setManualErrorMessage] = useState11(void 0);
16436
16519
  const setErrorMessage = (message) => setManualErrorMessage(message);
16437
16520
  const errorMessaging = errorMessage || manualErrorMessage;
16438
- return /* @__PURE__ */ jsxs64("div", { css: inputContainer2, ...props, children: [
16439
- hiddenLabel || title ? null : /* @__PURE__ */ jsxs64(ParameterLabel, { id, css: labelText2, children: [
16521
+ return /* @__PURE__ */ jsxs65("div", { css: inputContainer2, ...props, children: [
16522
+ hiddenLabel || title ? null : /* @__PURE__ */ jsxs65(ParameterLabel, { id, css: labelText2, children: [
16440
16523
  labelLeadingIcon != null ? labelLeadingIcon : null,
16441
16524
  label,
16442
16525
  labelTrailingIcon != null ? labelTrailingIcon : null
16443
16526
  ] }),
16444
- !title ? null : /* @__PURE__ */ jsxs64(ParameterLabel, { id, asSpan: true, children: [
16527
+ !title ? null : /* @__PURE__ */ jsxs65(ParameterLabel, { id, asSpan: true, children: [
16445
16528
  labelLeadingIcon != null ? labelLeadingIcon : null,
16446
16529
  title,
16447
16530
  labelTrailingIcon != null ? labelTrailingIcon : null
16448
16531
  ] }),
16449
- /* @__PURE__ */ jsxs64("div", { css: inputWrapper, children: [
16450
- menuItems ? /* @__PURE__ */ jsx95(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
16451
- /* @__PURE__ */ jsx95(
16532
+ /* @__PURE__ */ jsxs65("div", { css: inputWrapper, children: [
16533
+ menuItems ? /* @__PURE__ */ jsx96(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
16534
+ /* @__PURE__ */ jsx96(
16452
16535
  ParameterShellContext.Provider,
16453
16536
  {
16454
16537
  value: {
@@ -16458,31 +16541,31 @@ var ParameterShell = ({
16458
16541
  errorMessage: errorMessaging,
16459
16542
  handleManuallySetErrorMessage: (message) => setErrorMessage(message)
16460
16543
  },
16461
- children: /* @__PURE__ */ jsxs64(ParameterShellPlaceholder, { children: [
16544
+ children: /* @__PURE__ */ jsxs65(ParameterShellPlaceholder, { children: [
16462
16545
  children,
16463
- hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx95(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
16546
+ hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx96(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
16464
16547
  ] })
16465
16548
  }
16466
16549
  )
16467
16550
  ] }),
16468
- caption ? /* @__PURE__ */ jsx95(Caption, { testId: captionTestId, children: caption }) : null,
16469
- errorMessaging ? /* @__PURE__ */ jsx95(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null,
16470
- warningMessage ? /* @__PURE__ */ jsx95(WarningMessage, { message: warningMessage }) : null,
16471
- infoMessage ? /* @__PURE__ */ jsx95(InfoMessage, { message: infoMessage }) : null
16551
+ caption ? /* @__PURE__ */ jsx96(Caption, { testId: captionTestId, children: caption }) : null,
16552
+ errorMessaging ? /* @__PURE__ */ jsx96(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null,
16553
+ warningMessage ? /* @__PURE__ */ jsx96(WarningMessage, { message: warningMessage }) : null,
16554
+ infoMessage ? /* @__PURE__ */ jsx96(InfoMessage, { message: infoMessage }) : null
16472
16555
  ] });
16473
16556
  };
16474
16557
  var ParameterShellPlaceholder = ({ children }) => {
16475
- return /* @__PURE__ */ jsx95("div", { css: emptyParameterShell, children });
16558
+ return /* @__PURE__ */ jsx96("div", { css: emptyParameterShell, children });
16476
16559
  };
16477
- var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx95(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx95("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx95("span", { hidden: true, children: "reset overridden value to default" }) }) });
16560
+ var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx96(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx96("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx96("span", { hidden: true, children: "reset overridden value to default" }) }) });
16478
16561
 
16479
16562
  // src/components/ParameterInputs/ParameterImage.tsx
16480
- import { Fragment as Fragment14, jsx as jsx96, jsxs as jsxs65 } from "@emotion/react/jsx-runtime";
16563
+ import { Fragment as Fragment15, jsx as jsx97, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
16481
16564
  var ParameterImage = forwardRef12(
16482
16565
  ({ children, ...props }, ref) => {
16483
16566
  const { shellProps, innerProps } = extractParameterProps(props);
16484
- return /* @__PURE__ */ jsxs65(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: [
16485
- /* @__PURE__ */ jsx96(ParameterImageInner, { ref, ...innerProps }),
16567
+ return /* @__PURE__ */ jsxs66(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: [
16568
+ /* @__PURE__ */ jsx97(ParameterImageInner, { ref, ...innerProps }),
16486
16569
  children
16487
16570
  ] });
16488
16571
  }
@@ -16491,8 +16574,8 @@ var ParameterImageInner = forwardRef12((props, ref) => {
16491
16574
  const { value } = props;
16492
16575
  const { id, label, hiddenLabel, errorMessage } = useParameterShell();
16493
16576
  const deferredValue = useDeferredValue(value);
16494
- return /* @__PURE__ */ jsxs65(Fragment14, { children: [
16495
- /* @__PURE__ */ jsx96(
16577
+ return /* @__PURE__ */ jsxs66(Fragment15, { children: [
16578
+ /* @__PURE__ */ jsx97(
16496
16579
  "input",
16497
16580
  {
16498
16581
  css: input2,
@@ -16504,21 +16587,21 @@ var ParameterImageInner = forwardRef12((props, ref) => {
16504
16587
  ...props
16505
16588
  }
16506
16589
  ),
16507
- errorMessage || props.disablePreview ? null : /* @__PURE__ */ jsx96(ParameterImagePreview, { imageSrc: deferredValue })
16590
+ errorMessage || props.disablePreview ? null : /* @__PURE__ */ jsx97(ParameterImagePreview, { imageSrc: deferredValue })
16508
16591
  ] });
16509
16592
  });
16510
16593
 
16511
16594
  // src/components/ParameterInputs/ParameterInput.tsx
16512
16595
  import { forwardRef as forwardRef13 } from "react";
16513
- import { jsx as jsx97 } from "@emotion/react/jsx-runtime";
16596
+ import { jsx as jsx98 } from "@emotion/react/jsx-runtime";
16514
16597
  var ParameterInput = forwardRef13((props, ref) => {
16515
16598
  const { shellProps, innerProps } = extractParameterProps(props);
16516
- return /* @__PURE__ */ jsx97(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx97(ParameterInputInner, { ref, ...innerProps }) });
16599
+ return /* @__PURE__ */ jsx98(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx98(ParameterInputInner, { ref, ...innerProps }) });
16517
16600
  });
16518
16601
  var ParameterInputInner = forwardRef13(
16519
16602
  ({ ...props }, ref) => {
16520
16603
  const { id, label, hiddenLabel } = useParameterShell();
16521
- return /* @__PURE__ */ jsx97(
16604
+ return /* @__PURE__ */ jsx98(
16522
16605
  "input",
16523
16606
  {
16524
16607
  css: input2,
@@ -16535,18 +16618,18 @@ var ParameterInputInner = forwardRef13(
16535
16618
 
16536
16619
  // src/components/ParameterInputs/ParameterLink.tsx
16537
16620
  import { forwardRef as forwardRef14 } from "react";
16538
- import { jsx as jsx98, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
16621
+ import { jsx as jsx99, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
16539
16622
  var ParameterLink = forwardRef14(
16540
16623
  ({ disabled, onConnectLink, externalLink, ...props }, ref) => {
16541
16624
  const { shellProps, innerProps } = extractParameterProps(props);
16542
- return /* @__PURE__ */ jsx98(
16625
+ return /* @__PURE__ */ jsx99(
16543
16626
  ParameterShell,
16544
16627
  {
16545
16628
  "data-testid": "link-parameter-editor",
16546
16629
  ...shellProps,
16547
16630
  label: innerProps.value ? shellProps.label : "",
16548
16631
  title: !innerProps.value ? shellProps.label : void 0,
16549
- children: /* @__PURE__ */ jsx98(
16632
+ children: /* @__PURE__ */ jsx99(
16550
16633
  ParameterLinkInner,
16551
16634
  {
16552
16635
  onConnectLink,
@@ -16563,9 +16646,9 @@ var ParameterLinkInner = forwardRef14(
16563
16646
  ({ externalLink, onConnectLink, disabled, buttonText = "Select link", ...props }, ref) => {
16564
16647
  const { id, label, hiddenLabel } = useParameterShell();
16565
16648
  if (!props.value)
16566
- return /* @__PURE__ */ jsx98("button", { type: "button", css: dataConnectButton, disabled, onClick: onConnectLink, children: buttonText });
16567
- return /* @__PURE__ */ jsxs66("div", { css: inputWrapper, children: [
16568
- /* @__PURE__ */ jsx98(
16649
+ return /* @__PURE__ */ jsx99("button", { type: "button", css: dataConnectButton, disabled, onClick: onConnectLink, children: buttonText });
16650
+ return /* @__PURE__ */ jsxs67("div", { css: inputWrapper, children: [
16651
+ /* @__PURE__ */ jsx99(
16569
16652
  "input",
16570
16653
  {
16571
16654
  type: "text",
@@ -16577,8 +16660,8 @@ var ParameterLinkInner = forwardRef14(
16577
16660
  ...props
16578
16661
  }
16579
16662
  ),
16580
- /* @__PURE__ */ jsxs66("div", { css: linkParameterControls, children: [
16581
- /* @__PURE__ */ jsx98(
16663
+ /* @__PURE__ */ jsxs67("div", { css: linkParameterControls, children: [
16664
+ /* @__PURE__ */ jsx99(
16582
16665
  "button",
16583
16666
  {
16584
16667
  type: "button",
@@ -16589,7 +16672,7 @@ var ParameterLinkInner = forwardRef14(
16589
16672
  children: "edit"
16590
16673
  }
16591
16674
  ),
16592
- externalLink ? /* @__PURE__ */ jsx98(
16675
+ externalLink ? /* @__PURE__ */ jsx99(
16593
16676
  "a",
16594
16677
  {
16595
16678
  href: externalLink,
@@ -16597,7 +16680,7 @@ var ParameterLinkInner = forwardRef14(
16597
16680
  title: "Open link in new tab",
16598
16681
  target: "_blank",
16599
16682
  rel: "noopener noreferrer",
16600
- children: /* @__PURE__ */ jsx98(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
16683
+ children: /* @__PURE__ */ jsx99(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
16601
16684
  }
16602
16685
  ) : null
16603
16686
  ] })
@@ -16606,7 +16689,7 @@ var ParameterLinkInner = forwardRef14(
16606
16689
  );
16607
16690
 
16608
16691
  // src/components/ParameterInputs/ParameterNameAndPublicIdInput.tsx
16609
- import { Fragment as Fragment15, jsx as jsx99, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
16692
+ import { Fragment as Fragment16, jsx as jsx100, jsxs as jsxs68 } from "@emotion/react/jsx-runtime";
16610
16693
  var ParameterNameAndPublicIdInput = ({
16611
16694
  id,
16612
16695
  onBlur,
@@ -16632,8 +16715,8 @@ var ParameterNameAndPublicIdInput = ({
16632
16715
  navigator.clipboard.writeText(values[publicIdFieldName]);
16633
16716
  };
16634
16717
  autoFocus == null ? void 0 : autoFocus();
16635
- return /* @__PURE__ */ jsxs67(Fragment15, { children: [
16636
- /* @__PURE__ */ jsx99(
16718
+ return /* @__PURE__ */ jsxs68(Fragment16, { children: [
16719
+ /* @__PURE__ */ jsx100(
16637
16720
  ParameterInput,
16638
16721
  {
16639
16722
  id: nameIdField,
@@ -16652,7 +16735,7 @@ var ParameterNameAndPublicIdInput = ({
16652
16735
  value: values[nameIdField]
16653
16736
  }
16654
16737
  ),
16655
- /* @__PURE__ */ jsx99(
16738
+ /* @__PURE__ */ jsx100(
16656
16739
  ParameterInput,
16657
16740
  {
16658
16741
  id: publicIdFieldName,
@@ -16666,11 +16749,11 @@ var ParameterNameAndPublicIdInput = ({
16666
16749
  caption: publicIdCaption,
16667
16750
  placeholder: publicIdPlaceholderText,
16668
16751
  errorMessage: publicIdError,
16669
- menuItems: /* @__PURE__ */ jsx99(
16752
+ menuItems: /* @__PURE__ */ jsx100(
16670
16753
  MenuItem,
16671
16754
  {
16672
16755
  disabled: !values[publicIdFieldName],
16673
- icon: /* @__PURE__ */ jsx99(Icon, { icon: "path-trim", iconColor: "currentColor" }),
16756
+ icon: /* @__PURE__ */ jsx100(Icon, { icon: "path-trim", iconColor: "currentColor" }),
16674
16757
  onClick: handleCopyPidFieldValue,
16675
16758
  children: "Copy"
16676
16759
  }
@@ -16678,12 +16761,12 @@ var ParameterNameAndPublicIdInput = ({
16678
16761
  value: values[publicIdFieldName]
16679
16762
  }
16680
16763
  ),
16681
- (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx99(Callout, { type: "caution", children: warnOverLength.message }) : null
16764
+ (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx100(Callout, { type: "caution", children: warnOverLength.message }) : null
16682
16765
  ] });
16683
16766
  };
16684
16767
 
16685
16768
  // src/components/ParameterInputs/ParameterRichText.tsx
16686
- import { css as css82 } from "@emotion/react";
16769
+ import { css as css83 } from "@emotion/react";
16687
16770
  import { ListItemNode, ListNode as ListNode2 } from "@lexical/list";
16688
16771
  import {
16689
16772
  CODE,
@@ -16835,23 +16918,23 @@ function DisableStylesPlugin() {
16835
16918
  }
16836
16919
 
16837
16920
  // src/components/ParameterInputs/rich-text/editorStyles.ts
16838
- import { css as css79 } from "@emotion/css";
16839
- var textBold = css79`
16921
+ import { css as css80 } from "@emotion/css";
16922
+ var textBold = css80`
16840
16923
  font-weight: 700;
16841
16924
  `;
16842
- var textItalic = css79`
16925
+ var textItalic = css80`
16843
16926
  font-style: italic;
16844
16927
  `;
16845
- var textUnderline = css79`
16928
+ var textUnderline = css80`
16846
16929
  text-decoration: underline;
16847
16930
  `;
16848
- var textStrikethrough = css79`
16931
+ var textStrikethrough = css80`
16849
16932
  text-decoration: line-through;
16850
16933
  `;
16851
- var textUnderlineStrikethrough = css79`
16934
+ var textUnderlineStrikethrough = css80`
16852
16935
  text-decoration: underline line-through;
16853
16936
  `;
16854
- var textCode = css79`
16937
+ var textCode = css80`
16855
16938
  background-color: var(--gray-100);
16856
16939
  border-radius: var(--rounded-sm);
16857
16940
  display: inline-block;
@@ -16862,68 +16945,68 @@ var textCode = css79`
16862
16945
  padding-left: var(--spacing-xs);
16863
16946
  padding-right: var(--spacing-xs);
16864
16947
  `;
16865
- var textSuperscript = css79`
16948
+ var textSuperscript = css80`
16866
16949
  vertical-align: super;
16867
16950
  font-size: smaller;
16868
16951
  `;
16869
- var textSubscript = css79`
16952
+ var textSubscript = css80`
16870
16953
  vertical-align: sub;
16871
16954
  font-size: smaller;
16872
16955
  `;
16873
- var linkElement = css79`
16956
+ var linkElement = css80`
16874
16957
  ${link}
16875
16958
  ${linkColorDefault}
16876
16959
  text-decoration: underline;
16877
16960
  `;
16878
- var h12 = css79`
16961
+ var h12 = css80`
16879
16962
  font-size: clamp(1.35rem, var(--fluid-font-base), 1.7rem);
16880
16963
  `;
16881
- var h22 = css79`
16964
+ var h22 = css80`
16882
16965
  font-size: clamp(1.35rem, var(--fluid-font-base), 1.6rem);
16883
16966
  `;
16884
- var h32 = css79`
16967
+ var h32 = css80`
16885
16968
  font-size: clamp(1.25rem, var(--fluid-font-base), 1.5rem);
16886
16969
  `;
16887
- var h42 = css79`
16970
+ var h42 = css80`
16888
16971
  font-size: clamp(1.15rem, var(--fluid-font-base), 1.25rem);
16889
16972
  `;
16890
- var h52 = css79`
16973
+ var h52 = css80`
16891
16974
  font-size: clamp(var(--fs-base), var(--fluid-font-base), 1.15rem);
16892
16975
  `;
16893
- var h62 = css79`
16976
+ var h62 = css80`
16894
16977
  font-size: var(--fs-base);
16895
16978
  `;
16896
- var heading1Element = css79`
16979
+ var heading1Element = css80`
16897
16980
  ${h12}
16898
16981
  ${commonHeadingAttr(true)}
16899
16982
  ${commonLineHeight}
16900
16983
  `;
16901
- var heading2Element = css79`
16984
+ var heading2Element = css80`
16902
16985
  ${h22}
16903
16986
  ${commonHeadingAttr(true)}
16904
16987
  ${commonLineHeight}
16905
16988
  `;
16906
- var heading3Element = css79`
16989
+ var heading3Element = css80`
16907
16990
  ${h32}
16908
16991
  ${commonHeadingAttr(true)}
16909
16992
  ${commonLineHeight}
16910
16993
  `;
16911
- var heading4Element = css79`
16994
+ var heading4Element = css80`
16912
16995
  ${h42}
16913
16996
  ${commonHeadingAttr(true)}
16914
16997
  ${commonLineHeight}
16915
16998
  `;
16916
- var heading5Element = css79`
16999
+ var heading5Element = css80`
16917
17000
  ${h52}
16918
17001
  ${commonHeadingAttr(true)}
16919
17002
  ${commonLineHeight}
16920
17003
  `;
16921
- var heading6Element = css79`
17004
+ var heading6Element = css80`
16922
17005
  ${h62}
16923
17006
  ${commonHeadingAttr(true)}
16924
17007
  ${commonLineHeight}
16925
17008
  `;
16926
- var paragraphElement = css79`
17009
+ var paragraphElement = css80`
16927
17010
  line-height: 1.5;
16928
17011
  margin-bottom: var(--spacing-base);
16929
17012
 
@@ -16931,7 +17014,7 @@ var paragraphElement = css79`
16931
17014
  margin-bottom: 0;
16932
17015
  }
16933
17016
  `;
16934
- var orderedListElement = css79`
17017
+ var orderedListElement = css80`
16935
17018
  ${commonLineHeight}
16936
17019
  display: block;
16937
17020
  list-style: decimal;
@@ -16960,7 +17043,7 @@ var orderedListElement = css79`
16960
17043
  }
16961
17044
  }
16962
17045
  `;
16963
- var unorderedListElement = css79`
17046
+ var unorderedListElement = css80`
16964
17047
  ${commonLineHeight}
16965
17048
  display: block;
16966
17049
  list-style: disc;
@@ -16981,13 +17064,13 @@ var unorderedListElement = css79`
16981
17064
  }
16982
17065
  }
16983
17066
  `;
16984
- var listItemElement = css79`
17067
+ var listItemElement = css80`
16985
17068
  margin-left: var(--spacing-md);
16986
17069
  `;
16987
- var nestedListItemElement = css79`
17070
+ var nestedListItemElement = css80`
16988
17071
  list-style-type: none;
16989
17072
  `;
16990
- var blockquoteElement = css79`
17073
+ var blockquoteElement = css80`
16991
17074
  border-left: 0.25rem solid var(--gray-300);
16992
17075
  color: var(--gray-600);
16993
17076
  margin-bottom: var(--spacing-base);
@@ -16997,7 +17080,7 @@ var blockquoteElement = css79`
16997
17080
  margin-bottom: 0;
16998
17081
  }
16999
17082
  `;
17000
- var codeElement = css79`
17083
+ var codeElement = css80`
17001
17084
  background-color: var(--gray-100);
17002
17085
  border-radius: var(--rounded-sm);
17003
17086
  display: block;
@@ -17014,7 +17097,7 @@ var codeElement = css79`
17014
17097
  `;
17015
17098
 
17016
17099
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
17017
- import { css as css80 } from "@emotion/react";
17100
+ import { css as css81 } from "@emotion/react";
17018
17101
  import { useLexicalComposerContext as useLexicalComposerContext2 } from "@lexical/react/LexicalComposerContext";
17019
17102
  import { NodeEventPlugin } from "@lexical/react/LexicalNodeEventPlugin";
17020
17103
  import { addClassNamesToElement, isHTMLAnchorElement, mergeRegister as mergeRegister2 } from "@lexical/utils";
@@ -17030,7 +17113,7 @@ import {
17030
17113
  ElementNode as ElementNode2,
17031
17114
  FOCUS_COMMAND
17032
17115
  } from "lexical";
17033
- import { useCallback as useCallback4, useEffect as useEffect11, useRef as useRef6, useState as useState11 } from "react";
17116
+ import { useCallback as useCallback4, useEffect as useEffect11, useRef as useRef6, useState as useState12 } from "react";
17034
17117
 
17035
17118
  // src/components/ParameterInputs/rich-text/utils.ts
17036
17119
  import { $isAtNodeEnd } from "@lexical/selection";
@@ -17068,7 +17151,7 @@ var getSelectedNode = (selection) => {
17068
17151
  };
17069
17152
 
17070
17153
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
17071
- import { Fragment as Fragment16, jsx as jsx100, jsxs as jsxs68 } from "@emotion/react/jsx-runtime";
17154
+ import { Fragment as Fragment17, jsx as jsx101, jsxs as jsxs69 } from "@emotion/react/jsx-runtime";
17072
17155
  var isProjectMapLinkValue = (value) => {
17073
17156
  return (value == null ? void 0 : value.type) === "projectMapNode" && Boolean(
17074
17157
  value.nodeId && value.path && value.projectMapId
@@ -17355,16 +17438,16 @@ var OPEN_LINK_NODE_MODAL_COMMAND = createCommand(
17355
17438
  );
17356
17439
  var LINK_POPOVER_OFFSET_X = 0;
17357
17440
  var LINK_POPOVER_OFFSET_Y = 8;
17358
- var linkPopover = css80`
17441
+ var linkPopover = css81`
17359
17442
  position: absolute;
17360
17443
  z-index: 5;
17361
17444
  `;
17362
- var linkPopoverContainer = css80`
17445
+ var linkPopoverContainer = css81`
17363
17446
  ${Popover};
17364
17447
  align-items: center;
17365
17448
  display: flex;
17366
17449
  `;
17367
- var linkPopoverAnchor = css80`
17450
+ var linkPopoverAnchor = css81`
17368
17451
  ${link}
17369
17452
  ${linkColorDefault}
17370
17453
  `;
@@ -17373,10 +17456,10 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17373
17456
  return path;
17374
17457
  };
17375
17458
  const [editor] = useLexicalComposerContext2();
17376
- const [linkPopoverState, setLinkPopoverState] = useState11();
17459
+ const [linkPopoverState, setLinkPopoverState] = useState12();
17377
17460
  const linkPopoverElRef = useRef6(null);
17378
- const [isEditorFocused, setIsEditorFocused] = useState11(false);
17379
- const [isLinkPopoverFocused, setIsLinkPopoverFocused] = useState11(false);
17461
+ const [isEditorFocused, setIsEditorFocused] = useState12(false);
17462
+ const [isLinkPopoverFocused, setIsLinkPopoverFocused] = useState12(false);
17380
17463
  useEffect11(() => {
17381
17464
  if (!isEditorFocused && !isLinkPopoverFocused) {
17382
17465
  setLinkPopoverState(void 0);
@@ -17511,8 +17594,8 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17511
17594
  });
17512
17595
  });
17513
17596
  };
17514
- return /* @__PURE__ */ jsxs68(Fragment16, { children: [
17515
- /* @__PURE__ */ jsx100(
17597
+ return /* @__PURE__ */ jsxs69(Fragment17, { children: [
17598
+ /* @__PURE__ */ jsx101(
17516
17599
  NodeEventPlugin,
17517
17600
  {
17518
17601
  nodeType: LinkNode,
@@ -17522,7 +17605,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17522
17605
  }
17523
17606
  }
17524
17607
  ),
17525
- linkPopoverState ? /* @__PURE__ */ jsx100(
17608
+ linkPopoverState ? /* @__PURE__ */ jsx101(
17526
17609
  "div",
17527
17610
  {
17528
17611
  css: linkPopover,
@@ -17531,8 +17614,8 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17531
17614
  top: linkPopoverState.position.y
17532
17615
  },
17533
17616
  ref: linkPopoverElRef,
17534
- children: /* @__PURE__ */ jsxs68("div", { css: linkPopoverContainer, children: [
17535
- linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ jsx100(
17617
+ children: /* @__PURE__ */ jsxs69("div", { css: linkPopoverContainer, children: [
17618
+ linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ jsx101(
17536
17619
  "a",
17537
17620
  {
17538
17621
  href: parsePath(
@@ -17544,7 +17627,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17544
17627
  children: parsePath(linkPopoverState.node.__link.path)
17545
17628
  }
17546
17629
  ),
17547
- /* @__PURE__ */ jsx100(
17630
+ /* @__PURE__ */ jsx101(
17548
17631
  Button,
17549
17632
  {
17550
17633
  size: "xs",
@@ -17552,7 +17635,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17552
17635
  onEditLinkNode(linkPopoverState.node);
17553
17636
  },
17554
17637
  buttonType: "ghost",
17555
- children: /* @__PURE__ */ jsx100(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
17638
+ children: /* @__PURE__ */ jsx101(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
17556
17639
  }
17557
17640
  )
17558
17641
  ] })
@@ -17577,7 +17660,7 @@ import {
17577
17660
  INDENT_CONTENT_COMMAND
17578
17661
  } from "lexical";
17579
17662
  import { useEffect as useEffect12 } from "react";
17580
- import { jsx as jsx101 } from "@emotion/react/jsx-runtime";
17663
+ import { jsx as jsx102 } from "@emotion/react/jsx-runtime";
17581
17664
  function isIndentPermitted(maxDepth) {
17582
17665
  const selection = $getSelection2();
17583
17666
  if (!$isRangeSelection2(selection)) {
@@ -17607,11 +17690,11 @@ function ListIndentPlugin({ maxDepth }) {
17607
17690
  COMMAND_PRIORITY_CRITICAL
17608
17691
  );
17609
17692
  }, [editor, maxDepth]);
17610
- return /* @__PURE__ */ jsx101(TabIndentationPlugin, {});
17693
+ return /* @__PURE__ */ jsx102(TabIndentationPlugin, {});
17611
17694
  }
17612
17695
 
17613
17696
  // src/components/ParameterInputs/rich-text/RichTextToolbar.tsx
17614
- import { css as css81 } from "@emotion/react";
17697
+ import { css as css82 } from "@emotion/react";
17615
17698
  import { $createCodeNode } from "@lexical/code";
17616
17699
  import {
17617
17700
  $isListNode as $isListNode2,
@@ -17633,9 +17716,9 @@ import {
17633
17716
  FORMAT_TEXT_COMMAND,
17634
17717
  SELECTION_CHANGE_COMMAND
17635
17718
  } from "lexical";
17636
- import { useCallback as useCallback5, useEffect as useEffect13, useMemo as useMemo3, useState as useState12 } from "react";
17637
- import { Fragment as Fragment17, jsx as jsx102, jsxs as jsxs69 } from "@emotion/react/jsx-runtime";
17638
- var toolbar = css81`
17719
+ import { useCallback as useCallback5, useEffect as useEffect13, useMemo as useMemo3, useState as useState13 } from "react";
17720
+ import { Fragment as Fragment18, jsx as jsx103, jsxs as jsxs70 } from "@emotion/react/jsx-runtime";
17721
+ var toolbar = css82`
17639
17722
  background: var(--gray-50);
17640
17723
  border-radius: var(--rounded-base);
17641
17724
  display: flex;
@@ -17647,7 +17730,7 @@ var toolbar = css81`
17647
17730
  top: calc(var(--spacing-sm) * -2);
17648
17731
  z-index: 10;
17649
17732
  `;
17650
- var toolbarGroup = css81`
17733
+ var toolbarGroup = css82`
17651
17734
  display: flex;
17652
17735
  gap: var(--spacing-xs);
17653
17736
  position: relative;
@@ -17663,7 +17746,7 @@ var toolbarGroup = css81`
17663
17746
  width: 1px;
17664
17747
  }
17665
17748
  `;
17666
- var richTextToolbarButton = css81`
17749
+ var richTextToolbarButton = css82`
17667
17750
  align-items: center;
17668
17751
  appearance: none;
17669
17752
  border: 0;
@@ -17676,17 +17759,17 @@ var richTextToolbarButton = css81`
17676
17759
  min-width: 32px;
17677
17760
  padding: 0 var(--spacing-sm);
17678
17761
  `;
17679
- var richTextToolbarButtonActive = css81`
17762
+ var richTextToolbarButtonActive = css82`
17680
17763
  background: var(--gray-200);
17681
17764
  `;
17682
- var toolbarIcon = css81`
17765
+ var toolbarIcon = css82`
17683
17766
  color: inherit;
17684
17767
  `;
17685
- var toolbarChevron = css81`
17768
+ var toolbarChevron = css82`
17686
17769
  margin-left: var(--spacing-xs);
17687
17770
  `;
17688
17771
  var RichTextToolbarIcon = ({ icon }) => {
17689
- return /* @__PURE__ */ jsx102(Icon, { icon, css: toolbarIcon, size: "1rem" });
17772
+ return /* @__PURE__ */ jsx103(Icon, { icon, css: toolbarIcon, size: "1rem" });
17690
17773
  };
17691
17774
  var FORMATS_WITH_ICON = /* @__PURE__ */ new Map([
17692
17775
  ["bold", "format-bold"],
@@ -17795,15 +17878,15 @@ var RichTextToolbar = ({ config, customControls }) => {
17795
17878
  });
17796
17879
  });
17797
17880
  }, [editor, updateToolbar]);
17798
- return /* @__PURE__ */ jsxs69("div", { css: toolbar, children: [
17799
- /* @__PURE__ */ jsxs69(
17881
+ return /* @__PURE__ */ jsxs70("div", { css: toolbar, children: [
17882
+ /* @__PURE__ */ jsxs70(
17800
17883
  Menu,
17801
17884
  {
17802
17885
  menuLabel: "Elements",
17803
- menuTrigger: /* @__PURE__ */ jsxs69("button", { css: richTextToolbarButton, title: "Text styles", children: [
17886
+ menuTrigger: /* @__PURE__ */ jsxs70("button", { css: richTextToolbarButton, title: "Text styles", children: [
17804
17887
  visibleTextualElements.some((element) => element.type === activeElement) ? getLabelForElement(activeElement) : getLabelForElement("paragraph"),
17805
17888
  " ",
17806
- /* @__PURE__ */ jsx102(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
17889
+ /* @__PURE__ */ jsx103(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
17807
17890
  ] }),
17808
17891
  placement: "bottom-start",
17809
17892
  children: [
@@ -17813,7 +17896,7 @@ var RichTextToolbar = ({ config, customControls }) => {
17813
17896
  type: "paragraph"
17814
17897
  },
17815
17898
  ...visibleTextualElements
17816
- ].map((element) => /* @__PURE__ */ jsx102(
17899
+ ].map((element) => /* @__PURE__ */ jsx103(
17817
17900
  MenuItem,
17818
17901
  {
17819
17902
  onClick: () => {
@@ -17823,12 +17906,12 @@ var RichTextToolbar = ({ config, customControls }) => {
17823
17906
  },
17824
17907
  element.type
17825
17908
  )),
17826
- visibleTextualElements.length === 0 ? /* @__PURE__ */ jsx102(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
17909
+ visibleTextualElements.length === 0 ? /* @__PURE__ */ jsx103(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
17827
17910
  ]
17828
17911
  }
17829
17912
  ),
17830
- visibleFormatsWithIcon.length > 0 || visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsxs69("div", { css: toolbarGroup, children: [
17831
- visibleFormatsWithIcon.map((format) => /* @__PURE__ */ jsx102(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ jsx102(
17913
+ visibleFormatsWithIcon.length > 0 || visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsxs70("div", { css: toolbarGroup, children: [
17914
+ visibleFormatsWithIcon.map((format) => /* @__PURE__ */ jsx103(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ jsx103(
17832
17915
  "button",
17833
17916
  {
17834
17917
  onClick: () => {
@@ -17838,16 +17921,16 @@ var RichTextToolbar = ({ config, customControls }) => {
17838
17921
  richTextToolbarButton,
17839
17922
  activeFormats.includes(format.type) ? richTextToolbarButtonActive : null
17840
17923
  ],
17841
- children: /* @__PURE__ */ jsx102(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
17924
+ children: /* @__PURE__ */ jsx103(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
17842
17925
  }
17843
17926
  ) }, format.type)),
17844
- visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsx102(
17927
+ visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsx103(
17845
17928
  Menu,
17846
17929
  {
17847
17930
  menuLabel: "Alternative text styles",
17848
- menuTrigger: /* @__PURE__ */ jsx102("button", { css: richTextToolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ jsx102(Icon, { icon: "more-alt", css: toolbarIcon }) }),
17931
+ menuTrigger: /* @__PURE__ */ jsx103("button", { css: richTextToolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ jsx103(Icon, { icon: "more-alt", css: toolbarIcon }) }),
17849
17932
  placement: "bottom-start",
17850
- children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ jsx102(
17933
+ children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ jsx103(
17851
17934
  MenuItem,
17852
17935
  {
17853
17936
  onClick: () => {
@@ -17860,19 +17943,19 @@ var RichTextToolbar = ({ config, customControls }) => {
17860
17943
  }
17861
17944
  ) : null
17862
17945
  ] }) : null,
17863
- visibleElementsWithIcons.size > 0 ? /* @__PURE__ */ jsxs69("div", { css: toolbarGroup, children: [
17864
- linkElementVisible ? /* @__PURE__ */ jsx102(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ jsx102(
17946
+ visibleElementsWithIcons.size > 0 ? /* @__PURE__ */ jsxs70("div", { css: toolbarGroup, children: [
17947
+ linkElementVisible ? /* @__PURE__ */ jsx103(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ jsx103(
17865
17948
  "button",
17866
17949
  {
17867
17950
  onClick: () => {
17868
17951
  isLink ? editor.dispatchCommand(REMOVE_LINK_NODE_COMMAND, {}) : editor.dispatchCommand(OPEN_LINK_NODE_MODAL_COMMAND, {});
17869
17952
  },
17870
17953
  css: [richTextToolbarButton, isLink ? richTextToolbarButtonActive : null],
17871
- children: /* @__PURE__ */ jsx102(RichTextToolbarIcon, { icon: "link" })
17954
+ children: /* @__PURE__ */ jsx103(RichTextToolbarIcon, { icon: "link" })
17872
17955
  }
17873
17956
  ) }) : null,
17874
- visibleLists.size > 0 ? /* @__PURE__ */ jsxs69(Fragment17, { children: [
17875
- visibleLists.has("unorderedList") ? /* @__PURE__ */ jsx102(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ jsx102(
17957
+ visibleLists.size > 0 ? /* @__PURE__ */ jsxs70(Fragment18, { children: [
17958
+ visibleLists.has("unorderedList") ? /* @__PURE__ */ jsx103(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ jsx103(
17876
17959
  "button",
17877
17960
  {
17878
17961
  onClick: () => {
@@ -17882,10 +17965,10 @@ var RichTextToolbar = ({ config, customControls }) => {
17882
17965
  richTextToolbarButton,
17883
17966
  activeElement === "unorderedList" ? richTextToolbarButtonActive : null
17884
17967
  ],
17885
- children: /* @__PURE__ */ jsx102(RichTextToolbarIcon, { icon: "layout-list" })
17968
+ children: /* @__PURE__ */ jsx103(RichTextToolbarIcon, { icon: "layout-list" })
17886
17969
  }
17887
17970
  ) }) : null,
17888
- visibleLists.has("orderedList") ? /* @__PURE__ */ jsx102(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ jsx102(
17971
+ visibleLists.has("orderedList") ? /* @__PURE__ */ jsx103(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ jsx103(
17889
17972
  "button",
17890
17973
  {
17891
17974
  onClick: () => {
@@ -17895,32 +17978,32 @@ var RichTextToolbar = ({ config, customControls }) => {
17895
17978
  richTextToolbarButton,
17896
17979
  activeElement === "orderedList" ? richTextToolbarButtonActive : null
17897
17980
  ],
17898
- children: /* @__PURE__ */ jsx102(RichTextToolbarIcon, { icon: "layout-list-numbered" })
17981
+ children: /* @__PURE__ */ jsx103(RichTextToolbarIcon, { icon: "layout-list-numbered" })
17899
17982
  }
17900
17983
  ) }) : null
17901
17984
  ] }) : null,
17902
- quoteElementVisible ? /* @__PURE__ */ jsx102(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ jsx102(
17985
+ quoteElementVisible ? /* @__PURE__ */ jsx103(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ jsx103(
17903
17986
  "button",
17904
17987
  {
17905
17988
  onClick: () => {
17906
17989
  activeElement === "quote" ? onSelectElement("paragraph") : onSelectElement("quote");
17907
17990
  },
17908
17991
  css: [richTextToolbarButton, activeElement === "quote" ? richTextToolbarButtonActive : null],
17909
- children: /* @__PURE__ */ jsx102(RichTextToolbarIcon, { icon: "quote" })
17992
+ children: /* @__PURE__ */ jsx103(RichTextToolbarIcon, { icon: "quote" })
17910
17993
  }
17911
17994
  ) }) : null,
17912
- codeElementVisible ? /* @__PURE__ */ jsx102(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ jsx102(
17995
+ codeElementVisible ? /* @__PURE__ */ jsx103(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ jsx103(
17913
17996
  "button",
17914
17997
  {
17915
17998
  onClick: () => {
17916
17999
  activeElement === "code" ? onSelectElement("paragraph") : onSelectElement("code");
17917
18000
  },
17918
18001
  css: [richTextToolbarButton, activeElement === "code" ? richTextToolbarButtonActive : null],
17919
- children: /* @__PURE__ */ jsx102(RichTextToolbarIcon, { icon: "code-slash" })
18002
+ children: /* @__PURE__ */ jsx103(RichTextToolbarIcon, { icon: "code-slash" })
17920
18003
  }
17921
18004
  ) }) : null
17922
18005
  ] }) : null,
17923
- customControls ? /* @__PURE__ */ jsx102("div", { css: toolbarGroup, children: customControls }) : null
18006
+ customControls ? /* @__PURE__ */ jsx103("div", { css: toolbarGroup, children: customControls }) : null
17924
18007
  ] });
17925
18008
  };
17926
18009
  var RichTextToolbar_default = RichTextToolbar;
@@ -17944,7 +18027,7 @@ var useRichTextToolbarState = ({ config }) => {
17944
18027
  const enabledBuiltInFormatsWithoutIcon = enabledBuiltInFormats.filter(
17945
18028
  (format) => !FORMATS_WITH_ICON.has(format.type)
17946
18029
  );
17947
- const [activeFormats, setActiveFormats] = useState12([]);
18030
+ const [activeFormats, setActiveFormats] = useState13([]);
17948
18031
  const visibleFormatsWithIcon = useMemo3(() => {
17949
18032
  const visibleFormats = /* @__PURE__ */ new Set();
17950
18033
  activeFormats.filter((type) => FORMATS_WITH_ICON.has(type)).forEach((type) => {
@@ -17965,7 +18048,7 @@ var useRichTextToolbarState = ({ config }) => {
17965
18048
  });
17966
18049
  return richTextBuiltInFormats.filter((format) => visibleFormats.has(format.type));
17967
18050
  }, [activeFormats, enabledBuiltInFormatsWithoutIcon]);
17968
- const [activeElement, setActiveElement] = useState12("paragraph");
18051
+ const [activeElement, setActiveElement] = useState13("paragraph");
17969
18052
  const enabledTextualElements = enabledBuiltInElements.filter(
17970
18053
  (element) => TEXTUAL_ELEMENTS.includes(element.type)
17971
18054
  );
@@ -17980,7 +18063,7 @@ var useRichTextToolbarState = ({ config }) => {
17980
18063
  }
17981
18064
  );
17982
18065
  }, [activeElement, (_a = config == null ? void 0 : config.elements) == null ? void 0 : _a.builtIn, enabledTextualElements]);
17983
- const [isLink, setIsLink] = useState12(false);
18066
+ const [isLink, setIsLink] = useState13(false);
17984
18067
  const linkElementVisible = useMemo3(() => {
17985
18068
  return enabledBuiltInElements.some((element) => element.type === "link") || isLink;
17986
18069
  }, [isLink, enabledBuiltInElements]);
@@ -18034,7 +18117,7 @@ var useRichTextToolbarState = ({ config }) => {
18034
18117
  };
18035
18118
 
18036
18119
  // src/components/ParameterInputs/ParameterRichText.tsx
18037
- import { Fragment as Fragment18, jsx as jsx103, jsxs as jsxs70 } from "@emotion/react/jsx-runtime";
18120
+ import { Fragment as Fragment19, jsx as jsx104, jsxs as jsxs71 } from "@emotion/react/jsx-runtime";
18038
18121
  var ParameterRichText = ({
18039
18122
  label,
18040
18123
  labelLeadingIcon,
@@ -18059,7 +18142,7 @@ var ParameterRichText = ({
18059
18142
  variables,
18060
18143
  customControls
18061
18144
  }) => {
18062
- return /* @__PURE__ */ jsxs70(
18145
+ return /* @__PURE__ */ jsxs71(
18063
18146
  ParameterShell,
18064
18147
  {
18065
18148
  "data-testid": "parameter-input",
@@ -18073,7 +18156,7 @@ var ParameterRichText = ({
18073
18156
  captionTestId,
18074
18157
  menuItems,
18075
18158
  children: [
18076
- /* @__PURE__ */ jsx103(
18159
+ /* @__PURE__ */ jsx104(
18077
18160
  ParameterRichTextInner,
18078
18161
  {
18079
18162
  value,
@@ -18091,23 +18174,23 @@ var ParameterRichText = ({
18091
18174
  children
18092
18175
  }
18093
18176
  ),
18094
- menuItems ? /* @__PURE__ */ jsx103(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx103(Fragment18, { children: menuItems }) }) : null
18177
+ menuItems ? /* @__PURE__ */ jsx104(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx104(Fragment19, { children: menuItems }) }) : null
18095
18178
  ]
18096
18179
  }
18097
18180
  );
18098
18181
  };
18099
- var editorWrapper = css82`
18182
+ var editorWrapper = css83`
18100
18183
  display: flex;
18101
18184
  flex-flow: column;
18102
18185
  flex-grow: 1;
18103
18186
  `;
18104
- var editorContainer = css82`
18187
+ var editorContainer = css83`
18105
18188
  display: flex;
18106
18189
  flex-flow: column;
18107
18190
  flex-grow: 1;
18108
18191
  position: relative;
18109
18192
  `;
18110
- var editorPlaceholder = css82`
18193
+ var editorPlaceholder = css83`
18111
18194
  color: var(--gray-500);
18112
18195
  font-style: italic;
18113
18196
  /* 1px is added to make sure caret is clearly visible when field is focused
@@ -18118,7 +18201,7 @@ var editorPlaceholder = css82`
18118
18201
  top: var(--spacing-xs);
18119
18202
  user-select: none;
18120
18203
  `;
18121
- var editorInput = css82`
18204
+ var editorInput = css83`
18122
18205
  background: var(--white);
18123
18206
  border: 1px solid var(--white);
18124
18207
  border-radius: var(--rounded-sm);
@@ -18202,8 +18285,8 @@ var ParameterRichTextInner = ({
18202
18285
  },
18203
18286
  editable: !readOnly
18204
18287
  };
18205
- return /* @__PURE__ */ jsxs70(Fragment18, { children: [
18206
- /* @__PURE__ */ jsx103("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ jsx103(LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ jsx103(
18288
+ return /* @__PURE__ */ jsxs71(Fragment19, { children: [
18289
+ /* @__PURE__ */ jsx104("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ jsx104(LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ jsx104(
18207
18290
  RichText,
18208
18291
  {
18209
18292
  onChange,
@@ -18259,20 +18342,20 @@ var RichText = ({
18259
18342
  removeUpdateListener();
18260
18343
  };
18261
18344
  }, []);
18262
- return /* @__PURE__ */ jsxs70(Fragment18, { children: [
18263
- readOnly ? null : /* @__PURE__ */ jsx103(RichTextToolbar_default, { config, customControls }),
18264
- /* @__PURE__ */ jsxs70("div", { css: editorContainer, ref: editorContainerRef, "data-testid": "value-container", children: [
18265
- /* @__PURE__ */ jsx103(
18345
+ return /* @__PURE__ */ jsxs71(Fragment19, { children: [
18346
+ readOnly ? null : /* @__PURE__ */ jsx104(RichTextToolbar_default, { config, customControls }),
18347
+ /* @__PURE__ */ jsxs71("div", { css: editorContainer, ref: editorContainerRef, "data-testid": "value-container", children: [
18348
+ /* @__PURE__ */ jsx104(
18266
18349
  RichTextPlugin,
18267
18350
  {
18268
- contentEditable: /* @__PURE__ */ jsx103(ContentEditable, { css: editorInput, className: editorInputClassName }),
18269
- placeholder: /* @__PURE__ */ jsx103("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
18351
+ contentEditable: /* @__PURE__ */ jsx104(ContentEditable, { css: editorInput, className: editorInputClassName }),
18352
+ placeholder: /* @__PURE__ */ jsx104("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
18270
18353
  ErrorBoundary: LexicalErrorBoundary
18271
18354
  }
18272
18355
  ),
18273
- /* @__PURE__ */ jsx103(ListPlugin, {}),
18274
- readOnly ? null : /* @__PURE__ */ jsx103(HistoryPlugin, {}),
18275
- /* @__PURE__ */ jsx103(
18356
+ /* @__PURE__ */ jsx104(ListPlugin, {}),
18357
+ readOnly ? null : /* @__PURE__ */ jsx104(HistoryPlugin, {}),
18358
+ /* @__PURE__ */ jsx104(
18276
18359
  LinkNodePlugin,
18277
18360
  {
18278
18361
  onConnectLink: onConnectLink ? onConnectLink : () => Promise.resolve(),
@@ -18282,27 +18365,27 @@ var RichText = ({
18282
18365
  } : void 0
18283
18366
  }
18284
18367
  ),
18285
- /* @__PURE__ */ jsx103(ListIndentPlugin, { maxDepth: 4 }),
18286
- /* @__PURE__ */ jsx103(DisableStylesPlugin, {}),
18287
- /* @__PURE__ */ jsx103(MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS }),
18288
- /* @__PURE__ */ jsx103(Fragment18, { children })
18368
+ /* @__PURE__ */ jsx104(ListIndentPlugin, { maxDepth: 4 }),
18369
+ /* @__PURE__ */ jsx104(DisableStylesPlugin, {}),
18370
+ /* @__PURE__ */ jsx104(MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS }),
18371
+ /* @__PURE__ */ jsx104(Fragment19, { children })
18289
18372
  ] })
18290
18373
  ] });
18291
18374
  };
18292
18375
 
18293
18376
  // src/components/ParameterInputs/ParameterSelect.tsx
18294
18377
  import { forwardRef as forwardRef15 } from "react";
18295
- import { jsx as jsx104, jsxs as jsxs71 } from "@emotion/react/jsx-runtime";
18378
+ import { jsx as jsx105, jsxs as jsxs72 } from "@emotion/react/jsx-runtime";
18296
18379
  var ParameterSelect = forwardRef15(
18297
18380
  ({ defaultOption, options, ...props }, ref) => {
18298
18381
  const { shellProps, innerProps } = extractParameterProps(props);
18299
- return /* @__PURE__ */ jsx104(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx104(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
18382
+ return /* @__PURE__ */ jsx105(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx105(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
18300
18383
  }
18301
18384
  );
18302
18385
  var ParameterSelectInner = forwardRef15(
18303
18386
  ({ defaultOption, options, ...props }, ref) => {
18304
18387
  const { id, label, hiddenLabel } = useParameterShell();
18305
- return /* @__PURE__ */ jsxs71(
18388
+ return /* @__PURE__ */ jsxs72(
18306
18389
  "select",
18307
18390
  {
18308
18391
  css: [input2, selectInput],
@@ -18311,10 +18394,10 @@ var ParameterSelectInner = forwardRef15(
18311
18394
  ref,
18312
18395
  ...props,
18313
18396
  children: [
18314
- defaultOption ? /* @__PURE__ */ jsx104("option", { value: "", children: defaultOption }) : null,
18397
+ defaultOption ? /* @__PURE__ */ jsx105("option", { value: "", children: defaultOption }) : null,
18315
18398
  options.map((option) => {
18316
18399
  var _a;
18317
- return /* @__PURE__ */ jsx104("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
18400
+ return /* @__PURE__ */ jsx105("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
18318
18401
  })
18319
18402
  ]
18320
18403
  }
@@ -18324,14 +18407,14 @@ var ParameterSelectInner = forwardRef15(
18324
18407
 
18325
18408
  // src/components/ParameterInputs/ParameterTextarea.tsx
18326
18409
  import { forwardRef as forwardRef16 } from "react";
18327
- import { jsx as jsx105 } from "@emotion/react/jsx-runtime";
18410
+ import { jsx as jsx106 } from "@emotion/react/jsx-runtime";
18328
18411
  var ParameterTextarea = forwardRef16((props, ref) => {
18329
18412
  const { shellProps, innerProps } = extractParameterProps(props);
18330
- return /* @__PURE__ */ jsx105(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx105(ParameterTextareaInner, { ref, ...innerProps }) });
18413
+ return /* @__PURE__ */ jsx106(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx106(ParameterTextareaInner, { ref, ...innerProps }) });
18331
18414
  });
18332
18415
  var ParameterTextareaInner = forwardRef16(({ ...props }, ref) => {
18333
18416
  const { id, label, hiddenLabel } = useParameterShell();
18334
- return /* @__PURE__ */ jsx105(
18417
+ return /* @__PURE__ */ jsx106(
18335
18418
  "textarea",
18336
18419
  {
18337
18420
  css: [input2, textarea2],
@@ -18345,44 +18428,44 @@ var ParameterTextareaInner = forwardRef16(({ ...props }, ref) => {
18345
18428
 
18346
18429
  // src/components/ParameterInputs/ParameterToggle.tsx
18347
18430
  import { forwardRef as forwardRef17 } from "react";
18348
- import { jsx as jsx106, jsxs as jsxs72 } from "@emotion/react/jsx-runtime";
18431
+ import { jsx as jsx107, jsxs as jsxs73 } from "@emotion/react/jsx-runtime";
18349
18432
  var ParameterToggle = forwardRef17((props, ref) => {
18350
18433
  const { shellProps, innerProps } = extractParameterProps(props);
18351
- return /* @__PURE__ */ jsx106(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx106(ParameterToggleInner, { ref, ...innerProps }) });
18434
+ return /* @__PURE__ */ jsx107(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx107(ParameterToggleInner, { ref, ...innerProps }) });
18352
18435
  });
18353
18436
  var ParameterToggleInner = forwardRef17(
18354
18437
  ({ ...props }, ref) => {
18355
18438
  const { id, label } = useParameterShell();
18356
- return /* @__PURE__ */ jsxs72("label", { css: inputToggleLabel2, children: [
18357
- /* @__PURE__ */ jsx106("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
18358
- /* @__PURE__ */ jsx106("span", { css: inlineLabel2, children: label })
18439
+ return /* @__PURE__ */ jsxs73("label", { css: inputToggleLabel2, children: [
18440
+ /* @__PURE__ */ jsx107("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
18441
+ /* @__PURE__ */ jsx107("span", { css: inlineLabel2, children: label })
18359
18442
  ] });
18360
18443
  }
18361
18444
  );
18362
18445
 
18363
18446
  // src/components/ProgressList/ProgressList.tsx
18364
- import { css as css84 } from "@emotion/react";
18447
+ import { css as css85 } from "@emotion/react";
18365
18448
  import { CgCheckO as CgCheckO2 } from "@react-icons/all-files/cg/CgCheckO";
18366
18449
  import { CgRadioCheck } from "@react-icons/all-files/cg/CgRadioCheck";
18367
18450
  import { CgRecord } from "@react-icons/all-files/cg/CgRecord";
18368
18451
  import { useMemo as useMemo4 } from "react";
18369
18452
 
18370
18453
  // src/components/ProgressList/styles/ProgressList.styles.ts
18371
- import { css as css83 } from "@emotion/react";
18372
- var progressListStyles = css83`
18454
+ import { css as css84 } from "@emotion/react";
18455
+ var progressListStyles = css84`
18373
18456
  display: flex;
18374
18457
  flex-direction: column;
18375
18458
  gap: var(--spacing-sm);
18376
18459
  list-style-type: none;
18377
18460
  `;
18378
- var progressListItemStyles = css83`
18461
+ var progressListItemStyles = css84`
18379
18462
  display: flex;
18380
18463
  gap: var(--spacing-base);
18381
18464
  align-items: center;
18382
18465
  `;
18383
18466
 
18384
18467
  // src/components/ProgressList/ProgressList.tsx
18385
- import { jsx as jsx107, jsxs as jsxs73 } from "@emotion/react/jsx-runtime";
18468
+ import { jsx as jsx108, jsxs as jsxs74 } from "@emotion/react/jsx-runtime";
18386
18469
  var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
18387
18470
  const itemsWithStatus = useMemo4(() => {
18388
18471
  const indexOfInProgressItem = items.findIndex(({ id }) => id === inProgressId);
@@ -18396,8 +18479,8 @@ var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
18396
18479
  return { ...item, status };
18397
18480
  });
18398
18481
  }, [items, inProgressId]);
18399
- return /* @__PURE__ */ jsx107("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
18400
- return /* @__PURE__ */ jsx107(
18482
+ return /* @__PURE__ */ jsx108("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
18483
+ return /* @__PURE__ */ jsx108(
18401
18484
  ProgressListItem,
18402
18485
  {
18403
18486
  status,
@@ -18430,12 +18513,12 @@ var ProgressListItem = ({
18430
18513
  }, [status, error]);
18431
18514
  const statusStyles = useMemo4(() => {
18432
18515
  if (error) {
18433
- return errorLevel === "caution" ? css84`
18516
+ return errorLevel === "caution" ? css85`
18434
18517
  color: rgb(161, 98, 7);
18435
18518
  & svg {
18436
18519
  color: rgb(250, 204, 21);
18437
18520
  }
18438
- ` : css84`
18521
+ ` : css85`
18439
18522
  color: rgb(185, 28, 28);
18440
18523
  & svg {
18441
18524
  color: var(--brand-primary-2);
@@ -18443,35 +18526,35 @@ var ProgressListItem = ({
18443
18526
  `;
18444
18527
  }
18445
18528
  const colorPerStatus = {
18446
- completed: css84`
18529
+ completed: css85`
18447
18530
  opacity: 0.75;
18448
18531
  `,
18449
- inProgress: css84`
18532
+ inProgress: css85`
18450
18533
  -webkit-text-stroke-width: thin;
18451
18534
  `,
18452
- queued: css84`
18535
+ queued: css85`
18453
18536
  opacity: 0.5;
18454
18537
  `
18455
18538
  };
18456
18539
  return colorPerStatus[status];
18457
18540
  }, [status, error, errorLevel]);
18458
- return /* @__PURE__ */ jsxs73("li", { css: [progressListItemStyles, statusStyles], children: [
18459
- /* @__PURE__ */ jsx107(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ jsx107("div", { children: /* @__PURE__ */ jsx107(Icon, { icon, size: 20, iconColor: "currentColor" }) }) }),
18460
- /* @__PURE__ */ jsxs73("div", { children: [
18541
+ return /* @__PURE__ */ jsxs74("li", { css: [progressListItemStyles, statusStyles], children: [
18542
+ /* @__PURE__ */ jsx108(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ jsx108("div", { children: /* @__PURE__ */ jsx108(Icon, { icon, size: 20, iconColor: "currentColor" }) }) }),
18543
+ /* @__PURE__ */ jsxs74("div", { children: [
18461
18544
  children,
18462
- /* @__PURE__ */ jsx107("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
18545
+ /* @__PURE__ */ jsx108("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
18463
18546
  ] })
18464
18547
  ] });
18465
18548
  };
18466
18549
 
18467
18550
  // src/components/SegmentedControl/SegmentedControl.tsx
18468
- import { css as css86 } from "@emotion/react";
18551
+ import { css as css87 } from "@emotion/react";
18469
18552
  import { CgCheck as CgCheck4 } from "@react-icons/all-files/cg/CgCheck";
18470
18553
  import { useCallback as useCallback6, useMemo as useMemo5 } from "react";
18471
18554
 
18472
18555
  // src/components/SegmentedControl/SegmentedControl.styles.ts
18473
- import { css as css85 } from "@emotion/react";
18474
- var segmentedControlStyles = css85`
18556
+ import { css as css86 } from "@emotion/react";
18557
+ var segmentedControlStyles = css86`
18475
18558
  --segmented-control-rounded-value: var(--rounded-base);
18476
18559
  --segmented-control-border-width: 1px;
18477
18560
  --segmented-control-selected-color: var(--brand-secondary-3);
@@ -18490,14 +18573,14 @@ var segmentedControlStyles = css85`
18490
18573
  border-radius: calc(var(--segmented-control-rounded-value) + var(--segmented-control-border-width));
18491
18574
  font-size: var(--fs-xs);
18492
18575
  `;
18493
- var segmentedControlVerticalStyles = css85`
18576
+ var segmentedControlVerticalStyles = css86`
18494
18577
  flex-direction: column;
18495
18578
  --segmented-control-first-border-radius: var(--segmented-control-rounded-value)
18496
18579
  var(--segmented-control-rounded-value) 0 0;
18497
18580
  --segmented-control-last-border-radius: 0 0 var(--segmented-control-rounded-value)
18498
18581
  var(--segmented-control-rounded-value);
18499
18582
  `;
18500
- var segmentedControlItemStyles = css85`
18583
+ var segmentedControlItemStyles = css86`
18501
18584
  &:first-of-type label {
18502
18585
  border-radius: var(--segmented-control-first-border-radius);
18503
18586
  }
@@ -18505,10 +18588,10 @@ var segmentedControlItemStyles = css85`
18505
18588
  border-radius: var(--segmented-control-last-border-radius);
18506
18589
  }
18507
18590
  `;
18508
- var segmentedControlInputStyles = css85`
18591
+ var segmentedControlInputStyles = css86`
18509
18592
  ${accessibleHidden}
18510
18593
  `;
18511
- var segmentedControlLabelStyles = (checked, disabled) => css85`
18594
+ var segmentedControlLabelStyles = (checked, disabled) => css86`
18512
18595
  position: relative;
18513
18596
  display: flex;
18514
18597
  align-items: center;
@@ -18575,23 +18658,23 @@ var segmentedControlLabelStyles = (checked, disabled) => css85`
18575
18658
  `}
18576
18659
  }
18577
18660
  `;
18578
- var segmentedControlLabelIconOnlyStyles = css85`
18661
+ var segmentedControlLabelIconOnlyStyles = css86`
18579
18662
  padding-inline: 0.5em;
18580
18663
  `;
18581
- var segmentedControlLabelCheckStyles = css85`
18664
+ var segmentedControlLabelCheckStyles = css86`
18582
18665
  opacity: 0.5;
18583
18666
  `;
18584
- var segmentedControlLabelContentStyles = css85`
18667
+ var segmentedControlLabelContentStyles = css86`
18585
18668
  display: flex;
18586
18669
  align-items: center;
18587
18670
  justify-content: center;
18588
18671
  gap: var(--spacing-sm);
18589
18672
  height: 100%;
18590
18673
  `;
18591
- var segmentedControlLabelTextStyles = css85``;
18674
+ var segmentedControlLabelTextStyles = css86``;
18592
18675
 
18593
18676
  // src/components/SegmentedControl/SegmentedControl.tsx
18594
- import { jsx as jsx108, jsxs as jsxs74 } from "@emotion/react/jsx-runtime";
18677
+ import { jsx as jsx109, jsxs as jsxs75 } from "@emotion/react/jsx-runtime";
18595
18678
  var SegmentedControl = ({
18596
18679
  name,
18597
18680
  options,
@@ -18613,16 +18696,16 @@ var SegmentedControl = ({
18613
18696
  );
18614
18697
  const sizeStyles = useMemo5(() => {
18615
18698
  const map = {
18616
- sm: css86({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
18617
- md: css86({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
18618
- lg: css86({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
18699
+ sm: css87({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
18700
+ md: css87({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
18701
+ lg: css87({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
18619
18702
  };
18620
18703
  return map[size];
18621
18704
  }, [size]);
18622
18705
  const isIconOnly = useMemo5(() => {
18623
18706
  return options.every((option) => option.icon && !option.label);
18624
18707
  }, [options]);
18625
- return /* @__PURE__ */ jsx108(
18708
+ return /* @__PURE__ */ jsx109(
18626
18709
  "div",
18627
18710
  {
18628
18711
  css: [segmentedControlStyles, orientation === "vertical" ? segmentedControlVerticalStyles : void 0],
@@ -18630,11 +18713,11 @@ var SegmentedControl = ({
18630
18713
  children: options.map((option, index) => {
18631
18714
  const text = option.label ? option.label : option.icon ? null : String(option.value);
18632
18715
  const isDisabled = disabled || option.disabled;
18633
- return /* @__PURE__ */ jsx108(
18716
+ return /* @__PURE__ */ jsx109(
18634
18717
  Tooltip,
18635
18718
  {
18636
18719
  title: isDisabled || !option.tooltip ? "" : option.tooltip,
18637
- children: /* @__PURE__ */ jsx108("div", { css: segmentedControlItemStyles, "data-testid": "container-segmented-control", children: /* @__PURE__ */ jsxs74(
18720
+ children: /* @__PURE__ */ jsx109("div", { css: segmentedControlItemStyles, "data-testid": "container-segmented-control", children: /* @__PURE__ */ jsxs75(
18638
18721
  "label",
18639
18722
  {
18640
18723
  css: [
@@ -18643,7 +18726,7 @@ var SegmentedControl = ({
18643
18726
  isIconOnly ? segmentedControlLabelIconOnlyStyles : void 0
18644
18727
  ],
18645
18728
  children: [
18646
- /* @__PURE__ */ jsx108(
18729
+ /* @__PURE__ */ jsx109(
18647
18730
  "input",
18648
18731
  {
18649
18732
  css: segmentedControlInputStyles,
@@ -18655,10 +18738,10 @@ var SegmentedControl = ({
18655
18738
  disabled: isDisabled
18656
18739
  }
18657
18740
  ),
18658
- option.value !== value || noCheckmark ? null : /* @__PURE__ */ jsx108(CgCheck4, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
18659
- /* @__PURE__ */ jsxs74("span", { css: segmentedControlLabelContentStyles, children: [
18660
- !option.icon ? null : /* @__PURE__ */ jsx108(Icon, { icon: option.icon, size: "1.5em", iconColor: "currentColor" }),
18661
- !text ? null : /* @__PURE__ */ jsx108("span", { css: segmentedControlLabelTextStyles, children: text })
18741
+ option.value !== value || noCheckmark ? null : /* @__PURE__ */ jsx109(CgCheck4, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
18742
+ /* @__PURE__ */ jsxs75("span", { css: segmentedControlLabelContentStyles, children: [
18743
+ !option.icon ? null : /* @__PURE__ */ jsx109(Icon, { icon: option.icon, size: "1.5em", iconColor: "currentColor" }),
18744
+ !text ? null : /* @__PURE__ */ jsx109("span", { css: segmentedControlLabelTextStyles, children: text })
18662
18745
  ] })
18663
18746
  ]
18664
18747
  }
@@ -18672,18 +18755,18 @@ var SegmentedControl = ({
18672
18755
  };
18673
18756
 
18674
18757
  // src/components/Skeleton/Skeleton.styles.ts
18675
- import { css as css87, keyframes as keyframes4 } from "@emotion/react";
18758
+ import { css as css88, keyframes as keyframes4 } from "@emotion/react";
18676
18759
  var lightFadingOut = keyframes4`
18677
18760
  from { opacity: 0.1; }
18678
18761
  to { opacity: 0.025; }
18679
18762
  `;
18680
- var skeletonStyles = css87`
18763
+ var skeletonStyles = css88`
18681
18764
  animation: ${lightFadingOut} 1s ease-out infinite alternate;
18682
18765
  background-color: var(--gray-900);
18683
18766
  `;
18684
18767
 
18685
18768
  // src/components/Skeleton/Skeleton.tsx
18686
- import { jsx as jsx109 } from "@emotion/react/jsx-runtime";
18769
+ import { jsx as jsx110 } from "@emotion/react/jsx-runtime";
18687
18770
  var Skeleton = ({
18688
18771
  width = "100%",
18689
18772
  height = "1.25rem",
@@ -18691,7 +18774,7 @@ var Skeleton = ({
18691
18774
  circle = false,
18692
18775
  children,
18693
18776
  ...otherProps
18694
- }) => /* @__PURE__ */ jsx109(
18777
+ }) => /* @__PURE__ */ jsx110(
18695
18778
  "div",
18696
18779
  {
18697
18780
  css: [
@@ -18714,8 +18797,8 @@ var Skeleton = ({
18714
18797
  import * as React23 from "react";
18715
18798
 
18716
18799
  // src/components/Switch/Switch.styles.ts
18717
- import { css as css88 } from "@emotion/react";
18718
- var SwitchInputContainer = css88`
18800
+ import { css as css89 } from "@emotion/react";
18801
+ var SwitchInputContainer = css89`
18719
18802
  cursor: pointer;
18720
18803
  display: inline-block;
18721
18804
  position: relative;
@@ -18724,7 +18807,7 @@ var SwitchInputContainer = css88`
18724
18807
  vertical-align: middle;
18725
18808
  user-select: none;
18726
18809
  `;
18727
- var SwitchInput = css88`
18810
+ var SwitchInput = css89`
18728
18811
  appearance: none;
18729
18812
  border-radius: var(--rounded-full);
18730
18813
  background-color: var(--white);
@@ -18762,7 +18845,7 @@ var SwitchInput = css88`
18762
18845
  cursor: not-allowed;
18763
18846
  }
18764
18847
  `;
18765
- var SwitchInputDisabled = css88`
18848
+ var SwitchInputDisabled = css89`
18766
18849
  opacity: var(--opacity-50);
18767
18850
  cursor: not-allowed;
18768
18851
 
@@ -18770,7 +18853,7 @@ var SwitchInputDisabled = css88`
18770
18853
  cursor: not-allowed;
18771
18854
  }
18772
18855
  `;
18773
- var SwitchInputLabel = css88`
18856
+ var SwitchInputLabel = css89`
18774
18857
  align-items: center;
18775
18858
  color: var(--brand-secondary-1);
18776
18859
  display: inline-flex;
@@ -18792,26 +18875,26 @@ var SwitchInputLabel = css88`
18792
18875
  top: 0;
18793
18876
  }
18794
18877
  `;
18795
- var SwitchText = css88`
18878
+ var SwitchText = css89`
18796
18879
  color: var(--gray-500);
18797
18880
  font-size: var(--fs-sm);
18798
18881
  padding-inline: var(--spacing-2xl) 0;
18799
18882
  `;
18800
18883
 
18801
18884
  // src/components/Switch/Switch.tsx
18802
- import { Fragment as Fragment19, jsx as jsx110, jsxs as jsxs75 } from "@emotion/react/jsx-runtime";
18885
+ import { Fragment as Fragment20, jsx as jsx111, jsxs as jsxs76 } from "@emotion/react/jsx-runtime";
18803
18886
  var Switch = React23.forwardRef(
18804
18887
  ({ label, infoText, toggleText, children, ...inputProps }, ref) => {
18805
18888
  let additionalText = infoText;
18806
18889
  if (infoText && toggleText) {
18807
18890
  additionalText = inputProps.checked ? toggleText : infoText;
18808
18891
  }
18809
- return /* @__PURE__ */ jsxs75(Fragment19, { children: [
18810
- /* @__PURE__ */ jsxs75("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
18811
- /* @__PURE__ */ jsx110("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
18812
- /* @__PURE__ */ jsx110("span", { css: SwitchInputLabel, children: label })
18892
+ return /* @__PURE__ */ jsxs76(Fragment20, { children: [
18893
+ /* @__PURE__ */ jsxs76("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
18894
+ /* @__PURE__ */ jsx111("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
18895
+ /* @__PURE__ */ jsx111("span", { css: SwitchInputLabel, children: label })
18813
18896
  ] }),
18814
- additionalText ? /* @__PURE__ */ jsx110("p", { css: SwitchText, children: additionalText }) : null,
18897
+ additionalText ? /* @__PURE__ */ jsx111("p", { css: SwitchText, children: additionalText }) : null,
18815
18898
  children
18816
18899
  ] });
18817
18900
  }
@@ -18821,8 +18904,8 @@ var Switch = React23.forwardRef(
18821
18904
  import * as React24 from "react";
18822
18905
 
18823
18906
  // src/components/Table/Table.styles.ts
18824
- import { css as css89 } from "@emotion/react";
18825
- var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css89`
18907
+ import { css as css90 } from "@emotion/react";
18908
+ var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css90`
18826
18909
  border-bottom: 1px solid var(--gray-400);
18827
18910
  border-collapse: collapse;
18828
18911
  min-width: 100%;
@@ -18833,55 +18916,55 @@ var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css89
18833
18916
  padding: ${cellPadding};
18834
18917
  }
18835
18918
  `;
18836
- var tableHead = css89`
18919
+ var tableHead = css90`
18837
18920
  background: var(--gray-100);
18838
18921
  color: var(--brand-secondary-1);
18839
18922
  text-align: left;
18840
18923
  `;
18841
- var tableRow = css89`
18924
+ var tableRow = css90`
18842
18925
  border-bottom: 1px solid var(--gray-200);
18843
18926
  `;
18844
- var tableCellHead = css89`
18927
+ var tableCellHead = css90`
18845
18928
  font-size: var(--fs-sm);
18846
18929
  text-transform: uppercase;
18847
18930
  font-weight: var(--fw-bold);
18848
18931
  `;
18849
18932
 
18850
18933
  // src/components/Table/Table.tsx
18851
- import { jsx as jsx111 } from "@emotion/react/jsx-runtime";
18934
+ import { jsx as jsx112 } from "@emotion/react/jsx-runtime";
18852
18935
  var Table = React24.forwardRef(
18853
18936
  ({ children, cellPadding, ...otherProps }, ref) => {
18854
- return /* @__PURE__ */ jsx111("table", { ref, css: table({ cellPadding }), ...otherProps, children });
18937
+ return /* @__PURE__ */ jsx112("table", { ref, css: table({ cellPadding }), ...otherProps, children });
18855
18938
  }
18856
18939
  );
18857
18940
  var TableHead = React24.forwardRef(
18858
18941
  ({ children, ...otherProps }, ref) => {
18859
- return /* @__PURE__ */ jsx111("thead", { ref, css: tableHead, ...otherProps, children });
18942
+ return /* @__PURE__ */ jsx112("thead", { ref, css: tableHead, ...otherProps, children });
18860
18943
  }
18861
18944
  );
18862
18945
  var TableBody = React24.forwardRef(
18863
18946
  ({ children, ...otherProps }, ref) => {
18864
- return /* @__PURE__ */ jsx111("tbody", { ref, ...otherProps, children });
18947
+ return /* @__PURE__ */ jsx112("tbody", { ref, ...otherProps, children });
18865
18948
  }
18866
18949
  );
18867
18950
  var TableFoot = React24.forwardRef(
18868
18951
  ({ children, ...otherProps }, ref) => {
18869
- return /* @__PURE__ */ jsx111("tfoot", { ref, ...otherProps, children });
18952
+ return /* @__PURE__ */ jsx112("tfoot", { ref, ...otherProps, children });
18870
18953
  }
18871
18954
  );
18872
18955
  var TableRow = React24.forwardRef(
18873
18956
  ({ children, ...otherProps }, ref) => {
18874
- return /* @__PURE__ */ jsx111("tr", { ref, css: tableRow, ...otherProps, children });
18957
+ return /* @__PURE__ */ jsx112("tr", { ref, css: tableRow, ...otherProps, children });
18875
18958
  }
18876
18959
  );
18877
18960
  var TableCellHead = React24.forwardRef(
18878
18961
  ({ children, ...otherProps }, ref) => {
18879
- return /* @__PURE__ */ jsx111("th", { ref, css: tableCellHead, ...otherProps, children });
18962
+ return /* @__PURE__ */ jsx112("th", { ref, css: tableCellHead, ...otherProps, children });
18880
18963
  }
18881
18964
  );
18882
18965
  var TableCellData = React24.forwardRef(
18883
18966
  ({ children, ...otherProps }, ref) => {
18884
- return /* @__PURE__ */ jsx111("td", { ref, ...otherProps, children });
18967
+ return /* @__PURE__ */ jsx112("td", { ref, ...otherProps, children });
18885
18968
  }
18886
18969
  );
18887
18970
 
@@ -18895,8 +18978,8 @@ import {
18895
18978
  } from "reakit/Tab";
18896
18979
 
18897
18980
  // src/components/Tabs/Tabs.styles.ts
18898
- import { css as css90 } from "@emotion/react";
18899
- var tabButtonStyles = css90`
18981
+ import { css as css91 } from "@emotion/react";
18982
+ var tabButtonStyles = css91`
18900
18983
  align-items: center;
18901
18984
  border: 0;
18902
18985
  height: 2.5rem;
@@ -18913,14 +18996,14 @@ var tabButtonStyles = css90`
18913
18996
  box-shadow: inset 0 -2px 0 var(--brand-secondary-3);
18914
18997
  }
18915
18998
  `;
18916
- var tabButtonGroupStyles = css90`
18999
+ var tabButtonGroupStyles = css91`
18917
19000
  display: flex;
18918
19001
  gap: var(--spacing-base);
18919
19002
  border-bottom: 1px solid var(--gray-300);
18920
19003
  `;
18921
19004
 
18922
19005
  // src/components/Tabs/Tabs.tsx
18923
- import { jsx as jsx112 } from "@emotion/react/jsx-runtime";
19006
+ import { jsx as jsx113 } from "@emotion/react/jsx-runtime";
18924
19007
  var CurrentTabContext = createContext6(null);
18925
19008
  var useCurrentTab = () => {
18926
19009
  const context = useContext7(CurrentTabContext);
@@ -18949,24 +19032,24 @@ var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...prop
18949
19032
  tab.setSelectedId(selected);
18950
19033
  }
18951
19034
  }, [selected]);
18952
- return /* @__PURE__ */ jsx112(CurrentTabContext.Provider, { value: tab, children });
19035
+ return /* @__PURE__ */ jsx113(CurrentTabContext.Provider, { value: tab, children });
18953
19036
  };
18954
19037
  var TabButtonGroup = ({ children, ...props }) => {
18955
19038
  const currentTab = useCurrentTab();
18956
- return /* @__PURE__ */ jsx112(ReakitTabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
19039
+ return /* @__PURE__ */ jsx113(ReakitTabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
18957
19040
  };
18958
19041
  var TabButton = ({ children, id, ...props }) => {
18959
19042
  const currentTab = useCurrentTab();
18960
- return /* @__PURE__ */ jsx112(ReakitTab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
19043
+ return /* @__PURE__ */ jsx113(ReakitTab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
18961
19044
  };
18962
19045
  var TabContent = ({ children, ...props }) => {
18963
19046
  const currentTab = useCurrentTab();
18964
- return /* @__PURE__ */ jsx112(ReakitTabPanel, { ...props, ...currentTab, children });
19047
+ return /* @__PURE__ */ jsx113(ReakitTabPanel, { ...props, ...currentTab, children });
18965
19048
  };
18966
19049
 
18967
19050
  // src/components/Validation/StatusBullet.styles.ts
18968
- import { css as css91 } from "@emotion/react";
18969
- var StatusBulletContainer = css91`
19051
+ import { css as css92 } from "@emotion/react";
19052
+ var StatusBulletContainer = css92`
18970
19053
  align-items: center;
18971
19054
  align-self: center;
18972
19055
  color: var(--gray-500);
@@ -18983,33 +19066,33 @@ var StatusBulletContainer = css91`
18983
19066
  display: block;
18984
19067
  }
18985
19068
  `;
18986
- var StatusBulletBase = css91`
19069
+ var StatusBulletBase = css92`
18987
19070
  font-size: var(--fs-sm);
18988
19071
  &:before {
18989
19072
  width: var(--fs-xs);
18990
19073
  height: var(--fs-xs);
18991
19074
  }
18992
19075
  `;
18993
- var StatusBulletSmall = css91`
19076
+ var StatusBulletSmall = css92`
18994
19077
  font-size: var(--fs-xs);
18995
19078
  &:before {
18996
19079
  width: var(--fs-xxs);
18997
19080
  height: var(--fs-xxs);
18998
19081
  }
18999
19082
  `;
19000
- var StatusDraft = css91`
19083
+ var StatusDraft = css92`
19001
19084
  &:before {
19002
19085
  background: var(--white);
19003
19086
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
19004
19087
  }
19005
19088
  `;
19006
- var StatusModified = css91`
19089
+ var StatusModified = css92`
19007
19090
  &:before {
19008
19091
  background: linear-gradient(to right, var(--white) 50%, var(--primary-action-default) 50% 100%);
19009
19092
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
19010
19093
  }
19011
19094
  `;
19012
- var StatusError = css91`
19095
+ var StatusError = css92`
19013
19096
  color: var(--error);
19014
19097
  &:before {
19015
19098
  /* TODO: replace this with an svg icon */
@@ -19022,19 +19105,19 @@ var StatusError = css91`
19022
19105
  );
19023
19106
  }
19024
19107
  `;
19025
- var StatusPublished = css91`
19108
+ var StatusPublished = css92`
19026
19109
  &:before {
19027
19110
  background: var(--primary-action-default);
19028
19111
  }
19029
19112
  `;
19030
- var StatusOrphan = css91`
19113
+ var StatusOrphan = css92`
19031
19114
  &:before {
19032
19115
  background: var(--brand-secondary-5);
19033
19116
  }
19034
19117
  `;
19035
19118
 
19036
19119
  // src/components/Validation/StatusBullet.tsx
19037
- import { jsx as jsx113 } from "@emotion/react/jsx-runtime";
19120
+ import { jsx as jsx114 } from "@emotion/react/jsx-runtime";
19038
19121
  var StatusBullet = ({
19039
19122
  status,
19040
19123
  hideText = false,
@@ -19052,7 +19135,7 @@ var StatusBullet = ({
19052
19135
  Previous: StatusDraft
19053
19136
  };
19054
19137
  const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
19055
- return /* @__PURE__ */ jsx113(
19138
+ return /* @__PURE__ */ jsx114(
19056
19139
  "span",
19057
19140
  {
19058
19141
  role: "status",
@@ -19102,6 +19185,7 @@ export {
19102
19185
  Icon,
19103
19186
  IconButton,
19104
19187
  IconsProvider,
19188
+ Image,
19105
19189
  ImageBroken,
19106
19190
  InfoMessage,
19107
19191
  InlineAlert,