@uniformdev/design-system 19.51.0 → 19.51.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -27,7 +27,7 @@ var Theme = ({ disableReset = false }) => {
27
27
  {
28
28
  dangerouslySetInnerHTML: {
29
29
  __html: `
30
- :root {
30
+ :root, :host {
31
31
  --brand-primary-1: #438fd5; /* bright blue */
32
32
  --brand-primary-2: #f4220b; /* red */
33
33
  --brand-primary-3: #83c6e1; /* slate blue */
@@ -134,10 +134,11 @@ var Theme = ({ disableReset = false }) => {
134
134
  --prose: 65ch;
135
135
 
136
136
  /* brand shadow styles */
137
- --shadow-sm: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
138
- --shadow-base: rgba(50, 50, 93, 0.25) 0 2px 5px -1px,
139
- rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
140
- --shadow-md: 0px 4px 4px rgba(0, 0, 0, 0.25), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
137
+ --shadow-sm: rgba(31, 43, 52, 0.05) 0px 0px 0px 1px;
138
+ --shadow-base: rgba(31, 43, 52, 0.25) 0 2px 5px -1px,
139
+ rgba(31, 43, 52, 0.3) 0px 1px 3px -1px;
140
+ --shadow-md: 0px 4px 4px rgba(31, 43, 52, 0.25), 0 2px 4px -2px rgba(31, 43, 52, 0.1);
141
+ --shadow-xl: 0px 0px 24px rgba(31, 43, 52, 0.3);
141
142
 
142
143
  /* rounder corners */
143
144
  --rounded-sm: 0.125rem; /* 2px */
@@ -194,8 +195,7 @@ var Theme = ({ disableReset = false }) => {
194
195
  --duration-xfast: 0.15s;
195
196
  }
196
197
 
197
- html,
198
- body {
198
+ html, body, :host {
199
199
  color: var(--brand-secondary-1);
200
200
  font-family: var(--ff-base);
201
201
  scroll-behavior: smooth;
@@ -274,6 +274,50 @@ var cq = (size) => `@container (min-width: ${size})`;
274
274
  // src/utils/replaceUnderscoreInString.ts
275
275
  var replaceUnderscoreInString = (title) => (title == null ? void 0 : title.includes("_")) ? title.replaceAll("_", " ") : title;
276
276
 
277
+ // src/utils/url.ts
278
+ var isSecureURL = (value = "") => {
279
+ try {
280
+ const url = new URL(value);
281
+ return url.protocol === "https:";
282
+ } catch (e) {
283
+ return false;
284
+ }
285
+ };
286
+ var isValidUrl = (urlString, options = {}) => {
287
+ try {
288
+ const isRelativeToLocation = /^([/.])/.test(urlString);
289
+ const url = new URL(
290
+ urlString,
291
+ options.allowRelative && isRelativeToLocation ? "https://defaultbaseurl.com" : void 0
292
+ );
293
+ if (options.isSecure) {
294
+ return url.protocol === "https:";
295
+ }
296
+ return true;
297
+ } catch (e) {
298
+ return false;
299
+ }
300
+ };
301
+ var addPathSegmentToPathname = (path, pathSegment) => {
302
+ return `/${path.substring(1).split("/").filter((s) => s).concat(pathSegment).join("/")}`;
303
+ };
304
+ var getPathSegment = (path) => {
305
+ return path.split("/").pop() || path;
306
+ };
307
+ var getParentPath = (path, noRootSlash) => {
308
+ var _a;
309
+ if (path === "/") {
310
+ return "";
311
+ }
312
+ const pathSegments = path == null ? void 0 : path.split("/");
313
+ if ((pathSegments == null ? void 0 : pathSegments.length) === 2) {
314
+ return noRootSlash ? "" : "/";
315
+ } else {
316
+ pathSegments == null ? void 0 : pathSegments.pop();
317
+ return (_a = pathSegments == null ? void 0 : pathSegments.join("/")) != null ? _a : "n/a";
318
+ }
319
+ };
320
+
277
321
  // src/utils/useOutsideClick.tsx
278
322
  import { useEffect } from "react";
279
323
  var useOutsideClick = (containerRef, handler) => {
@@ -2010,7 +2054,7 @@ var Link = React4.forwardRef(
2010
2054
  ] });
2011
2055
  }
2012
2056
  );
2013
- var LinkWithRef = React4.forwardRef(({ linkManagerComponent: LinkManager, href, as, ...props }, ref) => /* @__PURE__ */ jsx11(LinkManager, { ...props, as, href, ref, passHref: true, legacyBehavior: true, children: /* @__PURE__ */ jsx11(Link, { ...props }) }));
2057
+ var LinkWithRef = React4.forwardRef(({ linkManagerComponent: LinkManager, href, as, onClick, ...props }, ref) => /* @__PURE__ */ jsx11(LinkManager, { ...props, as, href, ref, passHref: true, legacyBehavior: true, children: /* @__PURE__ */ jsx11(Link, { ...props, onClick }) }));
2014
2058
 
2015
2059
  // src/components/Typography/styles/Paragraph.styles.ts
2016
2060
  import { css as css13 } from "@emotion/react";
@@ -2267,7 +2311,7 @@ var PageHeaderSection = ({
2267
2311
  if (linkText && linkProps && !linkManagerComponent) {
2268
2312
  throw Error("You must provide a linkManagerComponent");
2269
2313
  }
2270
- return /* @__PURE__ */ jsxs6("div", { css: PageHeaderSectionContainer, children: [
2314
+ return /* @__PURE__ */ jsxs6("div", { css: PageHeaderSectionContainer, "data-testid": "page-header", children: [
2271
2315
  /* @__PURE__ */ jsxs6("section", { css: PageHeaderSectionDetails, children: [
2272
2316
  linkText && linkProps && linkManagerComponent ? /* @__PURE__ */ jsxs6("div", { css: PageHeaderSectionLinkContainer, children: [
2273
2317
  /* @__PURE__ */ jsx14(Icon, { icon: CgChevronLeft, size: 18, css: PageHeaderSectionLinkIcon, iconColor: "currentColor" }),
@@ -2277,7 +2321,8 @@ var PageHeaderSection = ({
2277
2321
  linkManagerComponent,
2278
2322
  ...linkProps,
2279
2323
  css: PageHeaderSectionLink,
2280
- text: linkText
2324
+ text: linkText,
2325
+ "data-testid": "page-header-link"
2281
2326
  }
2282
2327
  )
2283
2328
  ] }) : null,
@@ -10877,14 +10922,31 @@ var TooltipArrowStyles = css17`
10877
10922
 
10878
10923
  // src/components/Tooltip/Tooltip.tsx
10879
10924
  import { Fragment as Fragment4, jsx as jsx17, jsxs as jsxs8 } from "@emotion/react/jsx-runtime";
10880
- function Tooltip({ children, title, placement = "bottom", visible, ...props }) {
10925
+ function Tooltip({
10926
+ children,
10927
+ title,
10928
+ placement = "bottom",
10929
+ visible,
10930
+ withoutPortal = false,
10931
+ ...props
10932
+ }) {
10881
10933
  const tooltip = useTooltipState({ placement });
10882
10934
  return !title ? children : /* @__PURE__ */ jsxs8(Fragment4, { children: [
10883
10935
  /* @__PURE__ */ jsx17(TooltipReference, { ...tooltip, ...children.props, children: (referenceProps) => React5.cloneElement(children, referenceProps) }),
10884
- /* @__PURE__ */ jsxs8(ReakitTooltip, { ...tooltip, ...props, css: TooltipContainer, visible: visible != null ? visible : tooltip.visible, children: [
10885
- /* @__PURE__ */ jsx17(TooltipArrow, { ...tooltip, css: TooltipArrowStyles }),
10886
- title
10887
- ] })
10936
+ /* @__PURE__ */ jsxs8(
10937
+ ReakitTooltip,
10938
+ {
10939
+ ...tooltip,
10940
+ ...props,
10941
+ unstable_portal: !withoutPortal,
10942
+ css: TooltipContainer,
10943
+ visible: visible != null ? visible : tooltip.visible,
10944
+ children: [
10945
+ /* @__PURE__ */ jsx17(TooltipArrow, { ...tooltip, css: TooltipArrowStyles }),
10946
+ title
10947
+ ]
10948
+ }
10949
+ )
10888
10950
  ] });
10889
10951
  }
10890
10952
 
@@ -11532,6 +11594,7 @@ var Menu = ({
11532
11594
  typeof menuItemsContainerCssClasses === "object" ? menuItemsContainerCssClasses : void 0
11533
11595
  ],
11534
11596
  className: typeof menuItemsContainerCssClasses === "string" ? menuItemsContainerCssClasses : "",
11597
+ "data-testid": "more-menu",
11535
11598
  children: disableAutoSeparatorManagement ? children : filterMenuSeparators(children)
11536
11599
  }
11537
11600
  ) })
@@ -11584,14 +11647,48 @@ function renderWithIcon(children, icon) {
11584
11647
 
11585
11648
  // src/components/ButtonWithMenu/ButtonWithMenu.styles.ts
11586
11649
  import { css as css26 } from "@emotion/react";
11650
+ var buttonSizeBase = css26`
11651
+ --icon-padding: var(--spacing-xs);
11652
+ --svg-size: 1rem;
11653
+ --line-offset: -5px;
11654
+ font-size: var(--fs-sm);
11655
+
11656
+ > button {
11657
+ padding: var(--spacing-sm) var(--spacing-base);
11658
+ }
11659
+ `;
11660
+ var buttonSizeSmall = css26`
11661
+ --icon-padding: var(--spacing-xs);
11662
+ --svg-size: 0.85rem;
11663
+ --line-offset: -1px;
11664
+ font-size: var(--fs-sm);
11665
+
11666
+ > button {
11667
+ padding: var(--spacing-xs) var(--spacing-base);
11668
+ }
11669
+ `;
11670
+ var buttonSizeLarge = css26`
11671
+ --icon-padding: var(--spacing-sm);
11672
+ --svg-size: 1.5rem;
11673
+ --line-offset: -5px;
11674
+ font-size: var(--fs-sm);
11675
+ line-height: 1.25;
11676
+
11677
+ > button {
11678
+ padding: var(--spacing-sm) var(--spacing-base);
11679
+ }
11680
+ `;
11587
11681
  var ButtonWithMenuContainer = css26`
11588
11682
  align-items: center;
11589
11683
  border: 1px solid transparent;
11590
11684
  border-radius: var(--rounded-sm);
11591
11685
  color: var(--white);
11592
11686
  display: inline-flex;
11593
- font-size: var(--fs-sm);
11594
11687
  position: relative;
11688
+ min-height: 24px;
11689
+ transition: color var(--duration-fast) var(--timing-ease-out),
11690
+ border-color var(--duration-fast) var(--timing-ease-out),
11691
+ background-color var(--duration-fast) var(--timing-ease-out);
11595
11692
 
11596
11693
  &:active {
11597
11694
  opacity: var(--opacity-75);
@@ -11604,15 +11701,19 @@ var ButtonWithMenuContainer = css26`
11604
11701
  &:focus {
11605
11702
  border-color: var(--gray-700);
11606
11703
  }
11704
+
11705
+ svg {
11706
+ width: var(--svg-size);
11707
+ height: var(--svg-size);
11708
+ }
11607
11709
  `;
11608
11710
  var ButtonWithMenuBtn = css26`
11711
+ align-items: center;
11609
11712
  border: 1px solid transparent;
11610
11713
  background: transparent;
11611
- border-radius: var(--rounded-base);
11612
- padding: var(--spacing-sm) var(--spacing-base);
11613
- font-weight: var(--fw-medium);
11614
- letter-spacing: 0.025rem;
11615
- line-height: 1.25;
11714
+ line-height: 1;
11715
+ display: inline-flex;
11716
+ gap: var(--spacing-xs);
11616
11717
 
11617
11718
  &:focus {
11618
11719
  outline: none;
@@ -11629,8 +11730,17 @@ var ButtonWithMenuBtn = css26`
11629
11730
  }
11630
11731
  `;
11631
11732
  var ButtonWithMenuIcon = css26`
11632
- padding: var(--spacing-sm);
11633
- border-left: 1px solid currentColor;
11733
+ padding: var(--icon-padding);
11734
+ position: relative;
11735
+
11736
+ &:before {
11737
+ background: currentColor;
11738
+ content: '';
11739
+ display: block;
11740
+ inset: var(--line-offset) auto var(--line-offset) -1px;
11741
+ width: 1px;
11742
+ position: absolute;
11743
+ }
11634
11744
  `;
11635
11745
  var buttonPrimary2 = css26`
11636
11746
  background: var(--brand-secondary-1);
@@ -11670,6 +11780,24 @@ var buttonGhostDisabled = css26`
11670
11780
  border-color: var(--gray-400);
11671
11781
  color: var(--gray-400);
11672
11782
  `;
11783
+ var buttonSecondaryOutline = css26`
11784
+ background: var(--white);
11785
+ color: var(--primary-action-default);
11786
+ border-color: var(--primary-action-default);
11787
+
11788
+ &:hover {
11789
+ color: var(--primary-action-hover);
11790
+ border-color: var(--primary-action-hover);
11791
+ }
11792
+ `;
11793
+ var buttonSecondaryOutlineDisabled = css26`
11794
+ background: var(--white);
11795
+ color: var(--gray-400);
11796
+ border-color: var(--gray-400);
11797
+ `;
11798
+ var buttonWithMenuIconOffset = css26`
11799
+ margin-left: -10px;
11800
+ `;
11673
11801
 
11674
11802
  // src/components/ButtonWithMenu/ButtonWithMenu.tsx
11675
11803
  import { jsx as jsx27, jsxs as jsxs17 } from "@emotion/react/jsx-runtime";
@@ -11677,30 +11805,43 @@ var ButtonWithMenu = ({
11677
11805
  onButtonClick,
11678
11806
  buttonType = "secondary",
11679
11807
  buttonText,
11808
+ icon,
11680
11809
  disabled,
11681
11810
  children,
11682
11811
  placement,
11812
+ size = "lg",
11683
11813
  ...buttonProps
11684
11814
  }) => {
11685
11815
  const buttonTheme = {
11686
11816
  primary: buttonPrimary2,
11687
11817
  secondary: buttonSecondary2,
11688
11818
  ghost: buttonGhost2,
11689
- unimportant: buttonUnimportant2
11819
+ unimportant: buttonUnimportant2,
11820
+ secondaryOutline: buttonSecondaryOutline
11690
11821
  };
11691
11822
  const buttonDisabledTheme = {
11692
11823
  primary: buttonPrimaryDisabled,
11693
11824
  secondary: buttonSecondaryDisabled,
11694
11825
  ghost: buttonGhostDisabled,
11695
- unimportant: buttonUnimportantDisabled
11826
+ unimportant: buttonUnimportantDisabled,
11827
+ secondaryOutline: buttonSecondaryOutlineDisabled
11828
+ };
11829
+ const sizes2 = {
11830
+ base: buttonSizeBase,
11831
+ sm: buttonSizeSmall,
11832
+ lg: buttonSizeLarge
11696
11833
  };
11697
11834
  return /* @__PURE__ */ jsxs17(
11698
11835
  "div",
11699
11836
  {
11700
- css: [ButtonWithMenuContainer, disabled ? buttonDisabledTheme[buttonType] : buttonTheme[buttonType]],
11837
+ css: [
11838
+ sizes2[size],
11839
+ ButtonWithMenuContainer,
11840
+ disabled ? buttonDisabledTheme[buttonType] : buttonTheme[buttonType]
11841
+ ],
11701
11842
  "data-testid": "multioptions-button",
11702
11843
  children: [
11703
- /* @__PURE__ */ jsx27(
11844
+ /* @__PURE__ */ jsxs17(
11704
11845
  "button",
11705
11846
  {
11706
11847
  type: "button",
@@ -11709,7 +11850,10 @@ var ButtonWithMenu = ({
11709
11850
  onClick: onButtonClick,
11710
11851
  "data-testid": "multioptions-button-main",
11711
11852
  ...buttonProps,
11712
- children: buttonText
11853
+ children: [
11854
+ icon ? /* @__PURE__ */ jsx27(Icon, { icon, iconColor: "currentColor", css: buttonWithMenuIconOffset }) : null,
11855
+ buttonText
11856
+ ]
11713
11857
  }
11714
11858
  ),
11715
11859
  /* @__PURE__ */ jsx27(
@@ -11717,7 +11861,7 @@ var ButtonWithMenu = ({
11717
11861
  {
11718
11862
  menuLabel: "buttonMenu",
11719
11863
  placement,
11720
- menuTrigger: /* @__PURE__ */ jsx27("div", { css: ButtonWithMenuIcon, "data-testid": "multioptions-button-call-menu", children: /* @__PURE__ */ jsx27(Icon, { icon: CgChevronDown, size: 24, iconColor: "currentColor" }) }),
11864
+ menuTrigger: /* @__PURE__ */ jsx27("div", { css: ButtonWithMenuIcon, "data-testid": "multioptions-button-call-menu", children: /* @__PURE__ */ jsx27(Icon, { icon: CgChevronDown, iconColor: "currentColor" }) }),
11721
11865
  children
11722
11866
  }
11723
11867
  )
@@ -13367,51 +13511,41 @@ import { forwardRef as forwardRef4 } from "react";
13367
13511
  // src/components/IconButton/IconButton.styles.ts
13368
13512
  import { css as css44 } from "@emotion/react";
13369
13513
  var iconButton = css44`
13370
- border-radius: 50%;
13371
- padding: var(--spacing-sm);
13372
- `;
13514
+ padding: 0;
13515
+ max-width: unset;
13516
+ justify-content: center;
13517
+ width: var(--button-size);
13518
+ height: var(--button-size);
13519
+ `;
13520
+ var sizes = {
13521
+ xs: css44`
13522
+ --button-size: 2rem;
13523
+ `,
13524
+ sm: css44`
13525
+ --button-size: 2.25rem;
13526
+ `,
13527
+ md: css44`
13528
+ --button-size: 2.5rem;
13529
+ `
13530
+ };
13531
+ var variants = {
13532
+ square: null,
13533
+ rounded: css44`
13534
+ border-radius: 50%;
13535
+ `
13536
+ };
13373
13537
 
13374
13538
  // src/components/IconButton/IconButton.tsx
13375
13539
  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
- });
13540
+ var IconButton = forwardRef4(
13541
+ ({ children, size = "md", variant = "square", ...props }, ref) => {
13542
+ return /* @__PURE__ */ jsx47(Button, { ref, css: [iconButton, variants[variant], sizes[size]], ...props, children });
13543
+ }
13544
+ );
13379
13545
  IconButton.displayName = "IconButton";
13380
13546
 
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//czKLDEMghkB4GIPf9ne6FR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MtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBuB/we75KcVO2CRagAAAABJRU5ErkJggg=="
13408
- }
13409
- )
13410
- ] })
13411
- ]
13412
- }
13413
- );
13414
- };
13547
+ // src/components/Image/Image.tsx
13548
+ import { useCallback as useCallback2, useEffect as useEffect7, useState as useState8 } from "react";
13415
13549
 
13416
13550
  // src/components/Input/styles/CaptionText.styles.ts
13417
13551
  import { css as css45 } from "@emotion/react";
@@ -13424,9 +13558,9 @@ var CaptionText = (dynamicSize) => css45`
13424
13558
  `;
13425
13559
 
13426
13560
  // src/components/Input/Caption.tsx
13427
- import { jsx as jsx49 } from "@emotion/react/jsx-runtime";
13561
+ import { jsx as jsx48 } from "@emotion/react/jsx-runtime";
13428
13562
  var Caption = ({ children, testId, dynamicSize = false, ...props }) => {
13429
- return /* @__PURE__ */ jsx49("small", { css: CaptionText(dynamicSize), "data-testid": testId, ...props, children });
13563
+ return /* @__PURE__ */ jsx48("small", { css: CaptionText(dynamicSize), "data-testid": testId, ...props, children });
13430
13564
  };
13431
13565
 
13432
13566
  // src/components/Input/CheckboxWithInfo.tsx
@@ -13505,21 +13639,21 @@ var InfoDialogMessage = css46`
13505
13639
  `;
13506
13640
 
13507
13641
  // src/components/Input/CheckboxWithInfo.tsx
13508
- import { jsx as jsx50, jsxs as jsxs30 } from "@emotion/react/jsx-runtime";
13642
+ import { jsx as jsx49, jsxs as jsxs29 } from "@emotion/react/jsx-runtime";
13509
13643
  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 })
13644
+ return /* @__PURE__ */ jsxs29("div", { "data-testid": "info-dialog", css: InfoDialogContainer, children: [
13645
+ /* @__PURE__ */ jsx49(Icon, { icon: "info", iconColor: "action", size: "0.9rem" }),
13646
+ /* @__PURE__ */ jsx49("div", { role: "paragraph", css: InfoDialogMessage, className: "info-message", children: message })
13513
13647
  ] });
13514
13648
  };
13515
13649
  var CheckboxWithInfo = forwardRef5(
13516
13650
  ({ 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 })
13651
+ return /* @__PURE__ */ jsxs29("div", { css: CheckboxWithInfoContainer, children: [
13652
+ /* @__PURE__ */ jsxs29("label", { css: CheckboxWithInfoLabel, children: [
13653
+ /* @__PURE__ */ jsx49("input", { type: "checkbox", name, ref, css: CheckboxWithInfoInput, ...props }),
13654
+ /* @__PURE__ */ jsx49("span", { children: label })
13521
13655
  ] }),
13522
- info ? /* @__PURE__ */ jsx50(InfoDialog, { message: info }) : null
13656
+ info ? /* @__PURE__ */ jsx49(InfoDialog, { message: info }) : null
13523
13657
  ] });
13524
13658
  }
13525
13659
  );
@@ -13537,10 +13671,10 @@ var ErrorText = css47`
13537
13671
  `;
13538
13672
 
13539
13673
  // src/components/Input/ErrorMessage.tsx
13540
- import { jsx as jsx51, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
13674
+ import { jsx as jsx50, jsxs as jsxs30 } from "@emotion/react/jsx-runtime";
13541
13675
  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" }) }),
13676
+ return message ? /* @__PURE__ */ jsxs30("span", { role: "alert", css: ErrorText, "data-testid": testId, ...otherProps, children: [
13677
+ /* @__PURE__ */ jsx50("span", { children: /* @__PURE__ */ jsx50(Icon, { icon: MdWarning, size: "1rem", iconColor: "currentColor" }) }),
13544
13678
  message
13545
13679
  ] }) : null;
13546
13680
  };
@@ -13589,12 +13723,12 @@ var fieldsetBody = css48`
13589
13723
  `;
13590
13724
 
13591
13725
  // src/components/Input/Fieldset.tsx
13592
- import { jsx as jsx52, jsxs as jsxs32 } from "@emotion/react/jsx-runtime";
13726
+ import { jsx as jsx51, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
13593
13727
  var Fieldset = React15.forwardRef(
13594
13728
  ({ legend, disabled, children, invert, ...props }, ref) => {
13595
- return /* @__PURE__ */ jsxs32("fieldset", { css: fieldsetContainer(Boolean(invert)), ref, disabled, ...props, children: [
13729
+ return /* @__PURE__ */ jsxs31("fieldset", { css: fieldsetContainer(Boolean(invert)), ref, disabled, ...props, children: [
13596
13730
  legend,
13597
- /* @__PURE__ */ jsx52("div", { css: fieldsetBody, children })
13731
+ /* @__PURE__ */ jsx51("div", { css: fieldsetBody, children })
13598
13732
  ] });
13599
13733
  }
13600
13734
  );
@@ -13618,10 +13752,10 @@ var InfoIcon2 = css49`
13618
13752
  `;
13619
13753
 
13620
13754
  // src/components/Input/InfoMessage.tsx
13621
- import { jsx as jsx53, jsxs as jsxs33 } from "@emotion/react/jsx-runtime";
13755
+ import { jsx as jsx52, jsxs as jsxs32 } from "@emotion/react/jsx-runtime";
13622
13756
  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" }) }),
13757
+ return message ? /* @__PURE__ */ jsxs32("span", { role: "status", css: InfoText, "data-testid": testId, ...props, children: [
13758
+ /* @__PURE__ */ jsx52("span", { children: /* @__PURE__ */ jsx52(Icon, { css: InfoIcon2, icon: MdInfoOutline, size: "1rem", iconColor: "currentColor" }) }),
13625
13759
  message
13626
13760
  ] }) : null;
13627
13761
  };
@@ -13630,9 +13764,9 @@ var InfoMessage = ({ message, testId, ...props }) => {
13630
13764
  import * as React16 from "react";
13631
13765
 
13632
13766
  // src/components/Input/Label.tsx
13633
- import { jsx as jsx54 } from "@emotion/react/jsx-runtime";
13767
+ import { jsx as jsx53 } from "@emotion/react/jsx-runtime";
13634
13768
  var Label = ({ children, className, testId, ...props }) => {
13635
- return /* @__PURE__ */ jsx54(
13769
+ return /* @__PURE__ */ jsx53(
13636
13770
  "label",
13637
13771
  {
13638
13772
  css: [labelText, typeof className === "object" ? className : void 0],
@@ -13660,16 +13794,16 @@ var WarningIcon = css50`
13660
13794
  `;
13661
13795
 
13662
13796
  // src/components/Input/WarningMessage.tsx
13663
- import { jsx as jsx55, jsxs as jsxs34 } from "@emotion/react/jsx-runtime";
13797
+ import { jsx as jsx54, jsxs as jsxs33 } from "@emotion/react/jsx-runtime";
13664
13798
  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" }) }),
13799
+ return message ? /* @__PURE__ */ jsxs33("span", { role: "status", css: WarningText, "data-testid": testId, ...props, children: [
13800
+ /* @__PURE__ */ jsx54("span", { children: /* @__PURE__ */ jsx54(Icon, { css: WarningIcon, icon: MdWarning2, size: "1rem", iconColor: "currentColor" }) }),
13667
13801
  message
13668
13802
  ] }) : null;
13669
13803
  };
13670
13804
 
13671
13805
  // src/components/Input/Input.tsx
13672
- import { jsx as jsx56, jsxs as jsxs35 } from "@emotion/react/jsx-runtime";
13806
+ import { jsx as jsx55, jsxs as jsxs34 } from "@emotion/react/jsx-runtime";
13673
13807
  var Input = React16.forwardRef(
13674
13808
  ({
13675
13809
  label,
@@ -13689,13 +13823,13 @@ var Input = React16.forwardRef(
13689
13823
  classNameLabel,
13690
13824
  ...props
13691
13825
  }, ref) => {
13692
- return /* @__PURE__ */ jsxs35(
13826
+ return /* @__PURE__ */ jsxs34(
13693
13827
  "div",
13694
13828
  {
13695
13829
  css: [inputContainer, typeof classNameRoot === "object" ? classNameRoot : void 0],
13696
13830
  "data-testid": containerTestId ? containerTestId : "container-input-field",
13697
13831
  children: [
13698
- showLabel ? /* @__PURE__ */ jsx56(
13832
+ showLabel ? /* @__PURE__ */ jsx55(
13699
13833
  Label,
13700
13834
  {
13701
13835
  htmlFor: id,
@@ -13705,13 +13839,13 @@ var Input = React16.forwardRef(
13705
13839
  children: label
13706
13840
  }
13707
13841
  ) : null,
13708
- /* @__PURE__ */ jsxs35(
13842
+ /* @__PURE__ */ jsxs34(
13709
13843
  "div",
13710
13844
  {
13711
13845
  css: [inputContainer, typeof classNameContainer === "object" ? classNameContainer : void 0],
13712
13846
  className: typeof classNameContainer === "string" ? classNameContainer : "",
13713
13847
  children: [
13714
- /* @__PURE__ */ jsx56(
13848
+ /* @__PURE__ */ jsx55(
13715
13849
  "input",
13716
13850
  {
13717
13851
  id,
@@ -13727,13 +13861,13 @@ var Input = React16.forwardRef(
13727
13861
  ref
13728
13862
  }
13729
13863
  ),
13730
- icon ? /* @__PURE__ */ jsx56("div", { css: inputIcon, children: icon }) : null
13864
+ icon ? /* @__PURE__ */ jsx55("div", { css: inputIcon, children: icon }) : null
13731
13865
  ]
13732
13866
  }
13733
13867
  ),
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
13868
+ caption ? /* @__PURE__ */ jsx55(Caption, { testId: captionTestId, children: caption }) : null,
13869
+ errorMessage ? /* @__PURE__ */ jsx55(ErrorMessage, { message: errorMessage, testId: errorTestId }) : null,
13870
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx55(WarningMessage, { message: warningMessage }) : null
13737
13871
  ]
13738
13872
  }
13739
13873
  );
@@ -13742,10 +13876,10 @@ var Input = React16.forwardRef(
13742
13876
 
13743
13877
  // src/components/Input/InputComboBox.tsx
13744
13878
  import Select from "react-select";
13745
- import { jsx as jsx57 } from "@emotion/react/jsx-runtime";
13879
+ import { jsx as jsx56 } from "@emotion/react/jsx-runtime";
13746
13880
  function InputComboBox(props) {
13747
13881
  var _a;
13748
- return /* @__PURE__ */ jsx57(
13882
+ return /* @__PURE__ */ jsx56(
13749
13883
  Select,
13750
13884
  {
13751
13885
  ...props,
@@ -13945,7 +14079,7 @@ var inlineSelectMenuClosed = css51`
13945
14079
  `;
13946
14080
 
13947
14081
  // src/components/Input/InputInlineSelect.tsx
13948
- import { jsx as jsx58, jsxs as jsxs36 } from "@emotion/react/jsx-runtime";
14082
+ import { jsx as jsx57, jsxs as jsxs35 } from "@emotion/react/jsx-runtime";
13949
14083
  var InputInlineSelect = ({
13950
14084
  classNameContainer,
13951
14085
  options,
@@ -13959,7 +14093,7 @@ var InputInlineSelect = ({
13959
14093
  const divRef = useRef4(null);
13960
14094
  useOutsideClick(divRef, () => setMenuVisible(false));
13961
14095
  const selected = options.find((option) => option.value === value);
13962
- return /* @__PURE__ */ jsxs36(
14096
+ return /* @__PURE__ */ jsxs35(
13963
14097
  "div",
13964
14098
  {
13965
14099
  ref: divRef,
@@ -13969,7 +14103,7 @@ var InputInlineSelect = ({
13969
14103
  `,
13970
14104
  className: typeof classNameContainer === "string" ? classNameContainer : "",
13971
14105
  children: [
13972
- /* @__PURE__ */ jsxs36(
14106
+ /* @__PURE__ */ jsxs35(
13973
14107
  "button",
13974
14108
  {
13975
14109
  type: "button",
@@ -13983,18 +14117,18 @@ var InputInlineSelect = ({
13983
14117
  disabled,
13984
14118
  ...props,
13985
14119
  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 })
14120
+ /* @__PURE__ */ jsx57("span", { children: (_a = selected == null ? void 0 : selected.label) != null ? _a : value }),
14121
+ disabled ? null : /* @__PURE__ */ jsx57(Icon, { icon: CgChevronDown2, iconColor: "currentColor", size: 24 })
13988
14122
  ]
13989
14123
  }
13990
14124
  ),
13991
- /* @__PURE__ */ jsx58(
14125
+ /* @__PURE__ */ jsx57(
13992
14126
  "div",
13993
14127
  {
13994
14128
  id: `and-or-${props.id}`,
13995
14129
  css: [inlineSelectMenu, menuVisible ? void 0 : inlineSelectMenuClosed],
13996
14130
  "aria-hidden": !menuVisible,
13997
- children: options.map((opt) => /* @__PURE__ */ jsx58(
14131
+ children: options.map((opt) => /* @__PURE__ */ jsx57(
13998
14132
  "button",
13999
14133
  {
14000
14134
  type: "button",
@@ -14017,7 +14151,7 @@ var InputInlineSelect = ({
14017
14151
  // src/components/Input/InputKeywordSearch.tsx
14018
14152
  import { CgClose as CgClose4 } from "@react-icons/all-files/cg/CgClose";
14019
14153
  import { CgSearch } from "@react-icons/all-files/cg/CgSearch";
14020
- import { jsx as jsx59 } from "@emotion/react/jsx-runtime";
14154
+ import { jsx as jsx58 } from "@emotion/react/jsx-runtime";
14021
14155
  var InputKeywordSearch = ({
14022
14156
  onSearchTextChanged,
14023
14157
  disabled = false,
@@ -14038,7 +14172,7 @@ var InputKeywordSearch = ({
14038
14172
  e.preventDefault();
14039
14173
  }
14040
14174
  };
14041
- return /* @__PURE__ */ jsx59(
14175
+ return /* @__PURE__ */ jsx58(
14042
14176
  Input,
14043
14177
  {
14044
14178
  type: "text",
@@ -14046,7 +14180,7 @@ var InputKeywordSearch = ({
14046
14180
  placeholder,
14047
14181
  showLabel: false,
14048
14182
  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" }),
14183
+ 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
14184
  onChange: handleSearchTextChanged,
14051
14185
  onKeyPress: preventSubmitOnField,
14052
14186
  disabled,
@@ -14064,7 +14198,7 @@ var InputKeywordSearch = ({
14064
14198
  };
14065
14199
 
14066
14200
  // src/components/Input/InputSelect.tsx
14067
- import { Fragment as Fragment8, jsx as jsx60, jsxs as jsxs37 } from "@emotion/react/jsx-runtime";
14201
+ import { Fragment as Fragment8, jsx as jsx59, jsxs as jsxs36 } from "@emotion/react/jsx-runtime";
14068
14202
  var InputSelect = ({
14069
14203
  label,
14070
14204
  defaultOption,
@@ -14080,13 +14214,13 @@ var InputSelect = ({
14080
14214
  classNameLabel,
14081
14215
  ...props
14082
14216
  }) => {
14083
- return /* @__PURE__ */ jsxs37(
14217
+ return /* @__PURE__ */ jsxs36(
14084
14218
  "div",
14085
14219
  {
14086
14220
  css: [inputContainer, typeof classNameContainer === "object" ? classNameContainer : void 0],
14087
14221
  className: typeof classNameContainer === "string" ? classNameContainer : "",
14088
14222
  children: [
14089
- showLabel ? /* @__PURE__ */ jsx60(Fragment8, { children: /* @__PURE__ */ jsxs37(
14223
+ showLabel ? /* @__PURE__ */ jsx59(Fragment8, { children: /* @__PURE__ */ jsxs36(
14090
14224
  Label,
14091
14225
  {
14092
14226
  htmlFor: props.id,
@@ -14098,7 +14232,7 @@ var InputSelect = ({
14098
14232
  ]
14099
14233
  }
14100
14234
  ) }) : null,
14101
- /* @__PURE__ */ jsxs37(
14235
+ /* @__PURE__ */ jsxs36(
14102
14236
  "select",
14103
14237
  {
14104
14238
  title: label,
@@ -14113,14 +14247,14 @@ var InputSelect = ({
14113
14247
  className: typeof classNameControl === "string" ? classNameControl : "",
14114
14248
  ...props,
14115
14249
  children: [
14116
- defaultOption ? /* @__PURE__ */ jsx60("option", { value: "", children: defaultOption }) : null,
14117
- options.map((opt, index) => /* @__PURE__ */ jsx60("option", { value: opt.label, ...opt }, index))
14250
+ defaultOption ? /* @__PURE__ */ jsx59("option", { value: "", children: defaultOption }) : null,
14251
+ options.map((opt, index) => /* @__PURE__ */ jsx59("option", { value: opt.label, ...opt }, index))
14118
14252
  ]
14119
14253
  }
14120
14254
  ),
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
14255
+ caption ? /* @__PURE__ */ jsx59(Caption, { children: caption }) : null,
14256
+ errorMessage ? /* @__PURE__ */ jsx59(ErrorMessage, { message: errorMessage }) : null,
14257
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx59(WarningMessage, { message: warningMessage }) : null
14124
14258
  ]
14125
14259
  }
14126
14260
  );
@@ -14128,7 +14262,7 @@ var InputSelect = ({
14128
14262
 
14129
14263
  // src/components/Input/InputToggle.tsx
14130
14264
  import * as React17 from "react";
14131
- import { jsx as jsx61, jsxs as jsxs38 } from "@emotion/react/jsx-runtime";
14265
+ import { jsx as jsx60, jsxs as jsxs37 } from "@emotion/react/jsx-runtime";
14132
14266
  var InputToggle = React17.forwardRef(
14133
14267
  ({
14134
14268
  label,
@@ -14143,13 +14277,13 @@ var InputToggle = React17.forwardRef(
14143
14277
  fontWeight = "medium",
14144
14278
  ...props
14145
14279
  }, ref) => {
14146
- return /* @__PURE__ */ jsxs38(
14280
+ return /* @__PURE__ */ jsxs37(
14147
14281
  Label,
14148
14282
  {
14149
14283
  css: [inputToggleLabel, disabled ? inputDisabled : void 0],
14150
14284
  "data-testid": testId ? testId : "input-toggle",
14151
14285
  children: [
14152
- /* @__PURE__ */ jsx61(
14286
+ /* @__PURE__ */ jsx60(
14153
14287
  "input",
14154
14288
  {
14155
14289
  ref,
@@ -14161,11 +14295,11 @@ var InputToggle = React17.forwardRef(
14161
14295
  ...props
14162
14296
  }
14163
14297
  ),
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
14298
+ /* @__PURE__ */ jsx60("span", { css: inlineLabel(fontWeight), children: label }),
14299
+ caption || errorMessage ? /* @__PURE__ */ jsxs37("span", { css: inputToggleMessageContainer, children: [
14300
+ caption ? /* @__PURE__ */ jsx60(Caption, { children: caption }) : null,
14301
+ errorMessage ? /* @__PURE__ */ jsx60(ErrorMessage, { message: errorMessage }) : null,
14302
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx60(WarningMessage, { message: warningMessage }) : null
14169
14303
  ] }) : null
14170
14304
  ]
14171
14305
  }
@@ -14174,9 +14308,9 @@ var InputToggle = React17.forwardRef(
14174
14308
  );
14175
14309
 
14176
14310
  // src/components/Input/Legend.tsx
14177
- import { jsx as jsx62 } from "@emotion/react/jsx-runtime";
14311
+ import { jsx as jsx61 } from "@emotion/react/jsx-runtime";
14178
14312
  var Legend = ({ children }) => {
14179
- return /* @__PURE__ */ jsx62("legend", { css: fieldsetLegend, children });
14313
+ return /* @__PURE__ */ jsx61("legend", { css: fieldsetLegend, children });
14180
14314
  };
14181
14315
 
14182
14316
  // src/components/Input/SuccessMessage.tsx
@@ -14198,23 +14332,23 @@ var SuccessIcon2 = css53`
14198
14332
  `;
14199
14333
 
14200
14334
  // src/components/Input/SuccessMessage.tsx
14201
- import { jsx as jsx63, jsxs as jsxs39 } from "@emotion/react/jsx-runtime";
14335
+ import { jsx as jsx62, jsxs as jsxs38 } from "@emotion/react/jsx-runtime";
14202
14336
  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" }) }),
14337
+ return message ? /* @__PURE__ */ jsxs38("span", { role: "status", css: SuccessText, "data-testid": testId, ...props, children: [
14338
+ /* @__PURE__ */ jsx62("span", { children: /* @__PURE__ */ jsx62(Icon, { css: SuccessIcon2, icon: CgCheckO, size: "1rem", iconColor: "currentColor" }) }),
14205
14339
  message
14206
14340
  ] }) : null;
14207
14341
  };
14208
14342
 
14209
14343
  // src/components/Input/Textarea.tsx
14210
14344
  import { forwardRef as forwardRef9 } from "react";
14211
- import { Fragment as Fragment9, jsx as jsx64, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
14345
+ import { Fragment as Fragment9, jsx as jsx63, jsxs as jsxs39 } from "@emotion/react/jsx-runtime";
14212
14346
  var Textarea = forwardRef9(
14213
14347
  ({ 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(
14348
+ return /* @__PURE__ */ jsxs39(Fragment9, { children: [
14349
+ showLabel ? /* @__PURE__ */ jsx63("label", { htmlFor: id, css: [labelText], children: label }) : null,
14350
+ /* @__PURE__ */ jsxs39("div", { css: [inputContainer], children: [
14351
+ /* @__PURE__ */ jsx63(
14218
14352
  "textarea",
14219
14353
  {
14220
14354
  ref,
@@ -14229,23 +14363,196 @@ var Textarea = forwardRef9(
14229
14363
  ...props
14230
14364
  }
14231
14365
  ),
14232
- icon ? /* @__PURE__ */ jsx64("div", { css: inputIcon, children: icon }) : null
14366
+ icon ? /* @__PURE__ */ jsx63("div", { css: inputIcon, children: icon }) : null
14233
14367
  ] }),
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
14368
+ caption ? /* @__PURE__ */ jsx63(Caption, { children: caption }) : null,
14369
+ errorMessage ? /* @__PURE__ */ jsx63(ErrorMessage, { message: errorMessage }) : null,
14370
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx63(WarningMessage, { message: warningMessage }) : null
14237
14371
  ] });
14238
14372
  }
14239
14373
  );
14240
14374
 
14375
+ // src/components/Image/Image.styles.ts
14376
+ import { css as css54 } from "@emotion/react";
14377
+ var imageWrapper = css54`
14378
+ position: relative;
14379
+ display: inline-flex;
14380
+ flex-direction: column;
14381
+ background: var(--gray-50);
14382
+ max-width: 100%;
14383
+ max-height: 100%;
14384
+ `;
14385
+ var imageWrapperLoading = css54`
14386
+ animation: ${skeletonLoading} var(--duration-slow) linear infinite alternate;
14387
+ `;
14388
+ var img = css54`
14389
+ object-fit: contain;
14390
+ max-width: 100%;
14391
+ max-height: 100%;
14392
+ height: auto;
14393
+ opacity: var(--opacity-0);
14394
+ margin: 0 auto;
14395
+ `;
14396
+ var imgLoading = css54`
14397
+ opacity: 0;
14398
+ `;
14399
+ var imgLoaded = css54`
14400
+ animation: ${fadeIn} var(--duration-slow) var(--timing-ease-out) forwards;
14401
+ opacity: 1;
14402
+ `;
14403
+ var brokenImage = css54`
14404
+ height: 160px;
14405
+ `;
14406
+ var variantFillImageWrapper = css54`
14407
+ display: flex;
14408
+ justify-content: center;
14409
+ height: 100%;
14410
+ width: 100%;
14411
+ `;
14412
+ var variantFillImageImg = css54`
14413
+ height: inherit;
14414
+ `;
14415
+
14416
+ // src/components/Image/ImageBroken.tsx
14417
+ import { jsx as jsx64, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
14418
+ var ImageBroken = ({ width, height, ...props }) => {
14419
+ return /* @__PURE__ */ jsxs40(
14420
+ "svg",
14421
+ {
14422
+ role: "img",
14423
+ width: width != null ? width : "214",
14424
+ height: height != null ? height : "214",
14425
+ viewBox: "0 0 214 214",
14426
+ fill: "none",
14427
+ xmlns: "http://www.w3.org/2000/svg",
14428
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
14429
+ "data-testid": "broken-image",
14430
+ ...props,
14431
+ children: [
14432
+ /* @__PURE__ */ jsx64("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
14433
+ /* @__PURE__ */ jsx64("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
14434
+ /* @__PURE__ */ jsxs40("defs", { children: [
14435
+ /* @__PURE__ */ jsx64("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ jsx64("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
14436
+ /* @__PURE__ */ jsx64(
14437
+ "image",
14438
+ {
14439
+ id: "image0_761_4353",
14440
+ width: "400",
14441
+ height: "400",
14442
+ xlinkHref: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAABX2lDQ1BJQ0MgUHJvZmlsZQAAKJFtkMFLAlEQxj/NEFIyQaJDhz1EEFiYdupmRhp5WCyxhA7rc3ODdXvsrkSn+ge6RATRPTpGBF46CP0DQVDQqVu3LoGXkm2eW61W8xjmx8fMvOED/GGFcz0AoG7YZiG7IK1vlKXgC/wYQ4ReVGEWT8tynlrwXfuj/QCfqPfTYlertBTZv3o9W8mdhmcblxN/+/tiqKpajOoHZZJx0wZ8CWJ51+aCD4hjJh1FfCy45vKF4IrLN92etUKG+I54hGlKlfiZOF7p0Ws9XNcb7OsGcX1YNYqrVEcpx5FHFhKK0GHDhEKcwyJ59P/MXHcmgx1w7FH/NmrQaFJCmhROW1TiZRhgmEGcOIkEZUp4/dtDT7PIh/lD+op72mYMuNaAYeZpk0dANATclrliKj/O+toBayuVdDnUBAZPHOetBASngM6j47w3HadzDgw8Aa32JyLnYb5bLiabAAAAOGVYSWZNTQAqAAAACAABh2kABAAAAAEAAAAaAAAAA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fKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBuB/we75KcVO2CRagAAAABJRU5ErkJggg=="
14443
+ }
14444
+ )
14445
+ ] })
14446
+ ]
14447
+ }
14448
+ );
14449
+ };
14450
+
14451
+ // src/components/Image/Image.tsx
14452
+ import { Fragment as Fragment10, jsx as jsx65, jsxs as jsxs41 } from "@emotion/react/jsx-runtime";
14453
+ var MIN_LOADING_MS = 500;
14454
+ function Image({
14455
+ alt,
14456
+ src,
14457
+ className,
14458
+ imgClassName,
14459
+ variant = "inline",
14460
+ width,
14461
+ height,
14462
+ ...imgAttribs
14463
+ }) {
14464
+ const [loading, setLoading] = useState8(true);
14465
+ const [loadErrorText, setLoadErrorText] = useState8("");
14466
+ const errorText = "The text you provided is not a valid URL";
14467
+ const updateImageSrc = useCallback2(() => {
14468
+ let message = "";
14469
+ try {
14470
+ if (src === "") {
14471
+ setLoading(false);
14472
+ } else {
14473
+ const url = String(src).startsWith("//") ? `${location.protocol}${src}` : String(src);
14474
+ if (!isValidUrl(url, { allowRelative: true, isSecure: true })) {
14475
+ throw Error(errorText);
14476
+ }
14477
+ }
14478
+ message = "";
14479
+ } catch (e) {
14480
+ message = errorText;
14481
+ setLoading(false);
14482
+ }
14483
+ setLoadErrorText(message);
14484
+ }, [setLoadErrorText, src]);
14485
+ useEffect7(() => {
14486
+ updateImageSrc();
14487
+ }, [src]);
14488
+ const handleLoadEvent = () => {
14489
+ setLoadErrorText("");
14490
+ if (src) {
14491
+ setLoading(true);
14492
+ }
14493
+ const timer = setTimeout(() => {
14494
+ setLoading(false);
14495
+ }, MIN_LOADING_MS);
14496
+ return () => clearTimeout(timer);
14497
+ };
14498
+ const handleErrorEvent = () => {
14499
+ setLoadErrorText("The value you provided is not a valid image URL");
14500
+ setLoading(false);
14501
+ };
14502
+ return /* @__PURE__ */ jsxs41(
14503
+ "span",
14504
+ {
14505
+ className,
14506
+ css: [
14507
+ imageWrapper,
14508
+ loading ? imageWrapperLoading : null,
14509
+ variant === "fill-container" ? variantFillImageWrapper : null
14510
+ ],
14511
+ children: [
14512
+ src && !loadErrorText ? /* @__PURE__ */ jsx65(
14513
+ "img",
14514
+ {
14515
+ ...imgAttribs,
14516
+ className: imgClassName,
14517
+ alt,
14518
+ src,
14519
+ css: [
14520
+ img,
14521
+ variant === "fill-container" ? variantFillImageImg : null,
14522
+ loading ? imgLoading : imgLoaded
14523
+ ],
14524
+ loading: "lazy",
14525
+ width,
14526
+ height,
14527
+ onLoad: handleLoadEvent,
14528
+ onError: handleErrorEvent
14529
+ }
14530
+ ) : null,
14531
+ src && loadErrorText ? /* @__PURE__ */ jsxs41(Fragment10, { children: [
14532
+ /* @__PURE__ */ jsx65(
14533
+ ImageBroken,
14534
+ {
14535
+ css: [brokenImage, img, imgLoaded],
14536
+ width,
14537
+ height,
14538
+ "data-testid": "broken-image"
14539
+ }
14540
+ ),
14541
+ /* @__PURE__ */ jsx65(ErrorMessage, { message: loadErrorText })
14542
+ ] }) : null
14543
+ ]
14544
+ }
14545
+ );
14546
+ }
14547
+
14241
14548
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
14242
- import { css as css55 } from "@emotion/react";
14549
+ import { css as css56 } from "@emotion/react";
14243
14550
  import { CgAdd as CgAdd2 } from "@react-icons/all-files/cg/CgAdd";
14244
14551
  import { CgChevronRight as CgChevronRight2 } from "@react-icons/all-files/cg/CgChevronRight";
14245
14552
 
14246
14553
  // src/components/Tiles/styles/IntegrationTile.styles.ts
14247
- import { css as css54 } from "@emotion/react";
14248
- var IntegrationTileContainer = css54`
14554
+ import { css as css55 } from "@emotion/react";
14555
+ var IntegrationTileContainer = css55`
14249
14556
  align-items: center;
14250
14557
  box-sizing: border-box;
14251
14558
  border-radius: var(--rounded-base);
@@ -14276,22 +14583,22 @@ var IntegrationTileContainer = css54`
14276
14583
  }
14277
14584
  }
14278
14585
  `;
14279
- var IntegrationTileBtnDashedBorder = css54`
14586
+ var IntegrationTileBtnDashedBorder = css55`
14280
14587
  border: 1px dashed var(--brand-secondary-1);
14281
14588
  `;
14282
- var IntegrationTileTitle = css54`
14589
+ var IntegrationTileTitle = css55`
14283
14590
  display: block;
14284
14591
  font-weight: var(--fw-bold);
14285
14592
  margin: 0 0 var(--spacing-base);
14286
14593
  max-width: 13rem;
14287
14594
  `;
14288
- var IntegrationTitleLogo = css54`
14595
+ var IntegrationTitleLogo = css55`
14289
14596
  display: block;
14290
14597
  max-width: 10rem;
14291
14598
  max-height: 4rem;
14292
14599
  margin: 0 auto;
14293
14600
  `;
14294
- var IntegrationTileName = css54`
14601
+ var IntegrationTileName = css55`
14295
14602
  color: var(--gray-500);
14296
14603
  display: -webkit-box;
14297
14604
  -webkit-line-clamp: 1;
@@ -14304,7 +14611,7 @@ var IntegrationTileName = css54`
14304
14611
  position: absolute;
14305
14612
  bottom: calc(var(--spacing-base) * 3.8);
14306
14613
  `;
14307
- var IntegrationAddedText = css54`
14614
+ var IntegrationAddedText = css55`
14308
14615
  align-items: center;
14309
14616
  background: var(--brand-secondary-3);
14310
14617
  border-radius: 0 var(--rounded-md) 0 var(--rounded-md);
@@ -14319,7 +14626,7 @@ var IntegrationAddedText = css54`
14319
14626
  top: 0;
14320
14627
  right: 0;
14321
14628
  `;
14322
- var IntegrationCustomBadgeText = (theme) => css54`
14629
+ var IntegrationCustomBadgeText = (theme) => css55`
14323
14630
  align-items: center;
14324
14631
  border-radius: var(--rounded-sm) 0 var(--rounded-sm) 0;
14325
14632
  background: ${theme === "gray" ? "var(--brand-secondary-2)" : "var(--brand-secondary-1)"};
@@ -14333,26 +14640,26 @@ var IntegrationCustomBadgeText = (theme) => css54`
14333
14640
  top: 0;
14334
14641
  left: 0;
14335
14642
  `;
14336
- var IntegrationAuthorBadgeIcon = css54`
14643
+ var IntegrationAuthorBadgeIcon = css55`
14337
14644
  position: absolute;
14338
14645
  bottom: var(--spacing-sm);
14339
14646
  right: var(--spacing-xs);
14340
14647
  max-height: 1rem;
14341
14648
  `;
14342
- var IntegrationTitleFakeButton = css54`
14649
+ var IntegrationTitleFakeButton = css55`
14343
14650
  font-size: var(--fs-xs);
14344
14651
  gap: var(--spacing-sm);
14345
14652
  padding: var(--spacing-sm) var(--spacing-base);
14346
14653
  text-transform: uppercase;
14347
14654
  `;
14348
- var IntegrationTileFloatingButton = css54`
14655
+ var IntegrationTileFloatingButton = css55`
14349
14656
  position: absolute;
14350
14657
  bottom: var(--spacing-base);
14351
14658
  gap: var(--spacing-sm);
14352
14659
  font-size: var(--fs-xs);
14353
14660
  overflow: hidden;
14354
14661
  `;
14355
- var IntegrationTileFloatingButtonMessage = (clicked) => css54`
14662
+ var IntegrationTileFloatingButtonMessage = (clicked) => css55`
14356
14663
  strong,
14357
14664
  span:first-of-type {
14358
14665
  transition: opacity var(--duration-fast) var(--timing-ease-out);
@@ -14373,7 +14680,7 @@ var IntegrationTileFloatingButtonMessage = (clicked) => css54`
14373
14680
  `;
14374
14681
 
14375
14682
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
14376
- import { jsx as jsx65, jsxs as jsxs41 } from "@emotion/react/jsx-runtime";
14683
+ import { jsx as jsx66, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
14377
14684
  var CreateTeamIntegrationTile = ({
14378
14685
  title = "Create a custom integration for your team",
14379
14686
  buttonText = "Add Integration",
@@ -14381,9 +14688,9 @@ var CreateTeamIntegrationTile = ({
14381
14688
  asDeepLink = false,
14382
14689
  ...props
14383
14690
  }) => {
14384
- return /* @__PURE__ */ jsxs41("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
14385
- /* @__PURE__ */ jsx65("span", { css: IntegrationTileTitle, title, children: title }),
14386
- /* @__PURE__ */ jsxs41(
14691
+ return /* @__PURE__ */ jsxs42("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
14692
+ /* @__PURE__ */ jsx66("span", { css: IntegrationTileTitle, title, children: title }),
14693
+ /* @__PURE__ */ jsxs42(
14387
14694
  Button,
14388
14695
  {
14389
14696
  buttonType: "tertiary",
@@ -14393,23 +14700,23 @@ var CreateTeamIntegrationTile = ({
14393
14700
  css: IntegrationTitleFakeButton,
14394
14701
  children: [
14395
14702
  buttonText,
14396
- asDeepLink ? /* @__PURE__ */ jsx65(
14703
+ asDeepLink ? /* @__PURE__ */ jsx66(
14397
14704
  Icon,
14398
14705
  {
14399
14706
  icon: CgChevronRight2,
14400
14707
  iconColor: "currentColor",
14401
14708
  size: 20,
14402
- css: css55`
14709
+ css: css56`
14403
14710
  order: 1;
14404
14711
  `
14405
14712
  }
14406
- ) : /* @__PURE__ */ jsx65(
14713
+ ) : /* @__PURE__ */ jsx66(
14407
14714
  Icon,
14408
14715
  {
14409
14716
  icon: CgAdd2,
14410
14717
  iconColor: "currentColor",
14411
14718
  size: 16,
14412
- css: css55`
14719
+ css: css56`
14413
14720
  order: -1;
14414
14721
  `
14415
14722
  }
@@ -14424,31 +14731,31 @@ var CreateTeamIntegrationTile = ({
14424
14731
  import { CgCheck } from "@react-icons/all-files/cg/CgCheck";
14425
14732
  import { CgLock } from "@react-icons/all-files/cg/CgLock";
14426
14733
  import { CgSandClock } from "@react-icons/all-files/cg/CgSandClock";
14427
- import { jsx as jsx66, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
14734
+ import { jsx as jsx67, jsxs as jsxs43 } from "@emotion/react/jsx-runtime";
14428
14735
  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" }),
14736
+ return /* @__PURE__ */ jsxs43("span", { "data-testid": "integration-icon-installed", css: IntegrationAddedText, children: [
14737
+ /* @__PURE__ */ jsx67(Icon, { icon: CgCheck, iconColor: "currentColor" }),
14431
14738
  text
14432
14739
  ] });
14433
14740
  };
14434
14741
  var IntegrationCustomBadge = ({ text = "Custom" }) => {
14435
- return /* @__PURE__ */ jsx66("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
14742
+ return /* @__PURE__ */ jsx67("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
14436
14743
  };
14437
14744
  var IntegrationPremiumBadge = ({ text = "Premium" }) => {
14438
- return /* @__PURE__ */ jsxs42("span", { css: IntegrationCustomBadgeText("blue"), children: [
14439
- /* @__PURE__ */ jsx66(Icon, { icon: CgLock, iconColor: "currentColor", size: 12 }),
14745
+ return /* @__PURE__ */ jsxs43("span", { css: IntegrationCustomBadgeText("blue"), children: [
14746
+ /* @__PURE__ */ jsx67(Icon, { icon: CgLock, iconColor: "currentColor", size: 12 }),
14440
14747
  text
14441
14748
  ] });
14442
14749
  };
14443
14750
  var IntegrationComingSoonBadge = ({ text = "Coming soon" }) => {
14444
- return /* @__PURE__ */ jsxs42("span", { css: IntegrationCustomBadgeText("blue"), children: [
14445
- /* @__PURE__ */ jsx66(Icon, { icon: CgSandClock, iconColor: "currentColor", size: 12 }),
14751
+ return /* @__PURE__ */ jsxs43("span", { css: IntegrationCustomBadgeText("blue"), children: [
14752
+ /* @__PURE__ */ jsx67(Icon, { icon: CgSandClock, iconColor: "currentColor", size: 12 }),
14446
14753
  text
14447
14754
  ] });
14448
14755
  };
14449
14756
 
14450
14757
  // src/components/Tiles/ResolveIcon.tsx
14451
- import { jsx as jsx67 } from "@emotion/react/jsx-runtime";
14758
+ import { jsx as jsx68 } from "@emotion/react/jsx-runtime";
14452
14759
  var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
14453
14760
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
14454
14761
  const mapClassName = {
@@ -14456,13 +14763,13 @@ var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
14456
14763
  logo: IntegrationTitleLogo
14457
14764
  };
14458
14765
  if (icon) {
14459
- return CompIcon ? /* @__PURE__ */ jsx67(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ jsx67("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
14766
+ return CompIcon ? /* @__PURE__ */ jsx68(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ jsx68("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
14460
14767
  }
14461
14768
  return null;
14462
14769
  };
14463
14770
 
14464
14771
  // src/components/Tiles/EditTeamIntegrationTile.tsx
14465
- import { jsx as jsx68, jsxs as jsxs43 } from "@emotion/react/jsx-runtime";
14772
+ import { jsx as jsx69, jsxs as jsxs44 } from "@emotion/react/jsx-runtime";
14466
14773
  var EditTeamIntegrationTile = ({
14467
14774
  id,
14468
14775
  icon,
@@ -14471,17 +14778,17 @@ var EditTeamIntegrationTile = ({
14471
14778
  isPublic,
14472
14779
  canEdit = false
14473
14780
  }) => {
14474
- return /* @__PURE__ */ jsxs43(
14781
+ return /* @__PURE__ */ jsxs44(
14475
14782
  "div",
14476
14783
  {
14477
14784
  css: IntegrationTileContainer,
14478
14785
  "data-testid": "configure-integration-container",
14479
14786
  "integration-id": `${id.toLocaleLowerCase()}`,
14480
14787
  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(
14788
+ /* @__PURE__ */ jsx69(ResolveIcon, { icon, name, "data-testid": "integration-logo" }),
14789
+ /* @__PURE__ */ jsx69("span", { css: IntegrationTileName, "data-testid": "integration-card-name", children: name }),
14790
+ !isPublic ? /* @__PURE__ */ jsx69(IntegrationCustomBadge, {}) : null,
14791
+ canEdit ? /* @__PURE__ */ jsx69(
14485
14792
  Button,
14486
14793
  {
14487
14794
  buttonType: "unimportant",
@@ -14499,10 +14806,10 @@ var EditTeamIntegrationTile = ({
14499
14806
  };
14500
14807
 
14501
14808
  // src/components/Tiles/IntegrationComingSoon.tsx
14502
- import { css as css56 } from "@emotion/react";
14809
+ import { css as css57 } from "@emotion/react";
14503
14810
  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";
14811
+ import { useEffect as useEffect8, useState as useState9 } from "react";
14812
+ import { jsx as jsx70, jsxs as jsxs45 } from "@emotion/react/jsx-runtime";
14506
14813
  var IntegrationComingSoon = ({
14507
14814
  name,
14508
14815
  icon,
@@ -14511,12 +14818,12 @@ var IntegrationComingSoon = ({
14511
14818
  timing = 1e3,
14512
14819
  ...props
14513
14820
  }) => {
14514
- const [upVote, setUpVote] = useState8(false);
14821
+ const [upVote, setUpVote] = useState9(false);
14515
14822
  const handleUpVoteInteraction = () => {
14516
14823
  setUpVote((prev) => !prev);
14517
14824
  onUpVoteClick();
14518
14825
  };
14519
- useEffect7(() => {
14826
+ useEffect8(() => {
14520
14827
  if (upVote) {
14521
14828
  const timer = setTimeout(() => setUpVote(false), timing);
14522
14829
  return () => {
@@ -14524,17 +14831,17 @@ var IntegrationComingSoon = ({
14524
14831
  };
14525
14832
  }
14526
14833
  }, [upVote, setUpVote, timing]);
14527
- return /* @__PURE__ */ jsxs44(
14834
+ return /* @__PURE__ */ jsxs45(
14528
14835
  "div",
14529
14836
  {
14530
14837
  css: IntegrationTileContainer,
14531
14838
  "data-testid": `coming-soon-${id.toLowerCase()}-integration`,
14532
14839
  ...props,
14533
14840
  children: [
14534
- /* @__PURE__ */ jsx69(IntegrationComingSoonBadge, {}),
14535
- /* @__PURE__ */ jsx69(ResolveIcon, { icon, name }),
14536
- /* @__PURE__ */ jsx69("span", { css: IntegrationTileName, title: name, children: name }),
14537
- /* @__PURE__ */ jsxs44(
14841
+ /* @__PURE__ */ jsx70(IntegrationComingSoonBadge, {}),
14842
+ /* @__PURE__ */ jsx70(ResolveIcon, { icon, name }),
14843
+ /* @__PURE__ */ jsx70("span", { css: IntegrationTileName, title: name, children: name }),
14844
+ /* @__PURE__ */ jsxs45(
14538
14845
  Button,
14539
14846
  {
14540
14847
  buttonType: "unimportant",
@@ -14544,19 +14851,19 @@ var IntegrationComingSoon = ({
14544
14851
  role: "link",
14545
14852
  css: [IntegrationTileFloatingButton, IntegrationTileFloatingButtonMessage(upVote)],
14546
14853
  children: [
14547
- /* @__PURE__ */ jsx69("strong", { children: "+1" }),
14548
- /* @__PURE__ */ jsx69(
14854
+ /* @__PURE__ */ jsx70("strong", { children: "+1" }),
14855
+ /* @__PURE__ */ jsx70(
14549
14856
  "span",
14550
14857
  {
14551
- css: css56`
14858
+ css: css57`
14552
14859
  text-transform: uppercase;
14553
14860
  color: var(--gray-500);
14554
14861
  `,
14555
14862
  children: "(I want this)"
14556
14863
  }
14557
14864
  ),
14558
- /* @__PURE__ */ jsxs44("span", { "aria-hidden": !upVote, children: [
14559
- /* @__PURE__ */ jsx69(Icon, { icon: CgHeart, iconColor: "currentColor", size: 18 }),
14865
+ /* @__PURE__ */ jsxs45("span", { "aria-hidden": !upVote, children: [
14866
+ /* @__PURE__ */ jsx70(Icon, { icon: CgHeart, iconColor: "currentColor", size: 18 }),
14560
14867
  "Thanks!"
14561
14868
  ] })
14562
14869
  ]
@@ -14568,8 +14875,8 @@ var IntegrationComingSoon = ({
14568
14875
  };
14569
14876
 
14570
14877
  // src/components/Tiles/styles/IntegrationLoadingTile.styles.ts
14571
- import { css as css57 } from "@emotion/react";
14572
- var IntegrationLoadingTileContainer = css57`
14878
+ import { css as css58 } from "@emotion/react";
14879
+ var IntegrationLoadingTileContainer = css58`
14573
14880
  align-items: center;
14574
14881
  box-sizing: border-box;
14575
14882
  border-radius: var(--rounded-base);
@@ -14596,39 +14903,39 @@ var IntegrationLoadingTileContainer = css57`
14596
14903
  }
14597
14904
  }
14598
14905
  `;
14599
- var IntegrationLoadingTileImg = css57`
14906
+ var IntegrationLoadingTileImg = css58`
14600
14907
  width: 10rem;
14601
14908
  height: 4rem;
14602
14909
  margin: 0 auto;
14603
14910
  `;
14604
- var IntegrationLoadingTileText = css57`
14911
+ var IntegrationLoadingTileText = css58`
14605
14912
  width: 5rem;
14606
14913
  height: var(--spacing-sm);
14607
14914
  margin: var(--spacing-sm) 0;
14608
14915
  `;
14609
- var IntegrationLoadingFrame = css57`
14916
+ var IntegrationLoadingFrame = css58`
14610
14917
  animation: ${skeletonLoading} 1s linear infinite alternate;
14611
14918
  border-radius: var(--rounded-base);
14612
14919
  `;
14613
14920
 
14614
14921
  // src/components/Tiles/IntegrationLoadingTile.tsx
14615
- import { Fragment as Fragment10, jsx as jsx70, jsxs as jsxs45 } from "@emotion/react/jsx-runtime";
14922
+ import { Fragment as Fragment11, jsx as jsx71, jsxs as jsxs46 } from "@emotion/react/jsx-runtime";
14616
14923
  var IntegrationLoadingTile = ({ count = 1 }) => {
14617
14924
  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] })
14925
+ return /* @__PURE__ */ jsx71(Fragment11, { children: componentCount.map((i) => /* @__PURE__ */ jsxs46("div", { css: IntegrationLoadingTileContainer, children: [
14926
+ /* @__PURE__ */ jsx71("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
14927
+ /* @__PURE__ */ jsx71("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
14621
14928
  ] }, i)) });
14622
14929
  };
14623
14930
 
14624
14931
  // src/components/Tiles/styles/IntegrationModalIcon.styles.ts
14625
- import { css as css58 } from "@emotion/react";
14626
- var IntegrationModalIconContainer = css58`
14932
+ import { css as css59 } from "@emotion/react";
14933
+ var IntegrationModalIconContainer = css59`
14627
14934
  position: relative;
14628
14935
  width: 50px;
14629
14936
  margin-bottom: var(--spacing-base);
14630
14937
  `;
14631
- var IntegrationModalImage = css58`
14938
+ var IntegrationModalImage = css59`
14632
14939
  position: absolute;
14633
14940
  inset: 0;
14634
14941
  margin: auto;
@@ -14637,7 +14944,7 @@ var IntegrationModalImage = css58`
14637
14944
  `;
14638
14945
 
14639
14946
  // src/components/Tiles/IntegrationModalIcon.tsx
14640
- import { jsx as jsx71, jsxs as jsxs46 } from "@emotion/react/jsx-runtime";
14947
+ import { jsx as jsx72, jsxs as jsxs47 } from "@emotion/react/jsx-runtime";
14641
14948
  var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
14642
14949
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
14643
14950
  let iconSrc = void 0;
@@ -14653,9 +14960,9 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
14653
14960
  }
14654
14961
  }
14655
14962
  }
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(
14963
+ return /* @__PURE__ */ jsxs47("div", { css: IntegrationModalIconContainer, children: [
14964
+ /* @__PURE__ */ jsxs47("svg", { width: "49", height: "57", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
14965
+ /* @__PURE__ */ jsx72(
14659
14966
  "path",
14660
14967
  {
14661
14968
  d: "m24.367 1.813 22.786 13.322V41.78L24.367 55.102 1.581 41.78V15.135L24.367 1.814Z",
@@ -14664,12 +14971,12 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
14664
14971
  strokeWidth: "2"
14665
14972
  }
14666
14973
  ),
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" })
14974
+ /* @__PURE__ */ jsx72("defs", { children: /* @__PURE__ */ jsxs47("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
14975
+ /* @__PURE__ */ jsx72("stop", { stopColor: "#1768B2" }),
14976
+ /* @__PURE__ */ jsx72("stop", { offset: "1", stopColor: "#B3EFE4" })
14670
14977
  ] }) })
14671
14978
  ] }),
14672
- CompIcon ? /* @__PURE__ */ jsx71(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : iconSrc ? /* @__PURE__ */ jsx71(
14979
+ CompIcon ? /* @__PURE__ */ jsx72(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : iconSrc ? /* @__PURE__ */ jsx72(
14673
14980
  "img",
14674
14981
  {
14675
14982
  src: iconSrc,
@@ -14683,7 +14990,7 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
14683
14990
  };
14684
14991
 
14685
14992
  // src/components/Tiles/IntegrationTile.tsx
14686
- import { jsx as jsx72, jsxs as jsxs47 } from "@emotion/react/jsx-runtime";
14993
+ import { jsx as jsx73, jsxs as jsxs48 } from "@emotion/react/jsx-runtime";
14687
14994
  var IntegrationTile = ({
14688
14995
  id,
14689
14996
  icon,
@@ -14695,7 +15002,7 @@ var IntegrationTile = ({
14695
15002
  authorIcon,
14696
15003
  ...btnProps
14697
15004
  }) => {
14698
- return /* @__PURE__ */ jsxs47(
15005
+ return /* @__PURE__ */ jsxs48(
14699
15006
  "button",
14700
15007
  {
14701
15008
  type: "button",
@@ -14705,21 +15012,21 @@ var IntegrationTile = ({
14705
15012
  "aria-label": name,
14706
15013
  ...btnProps,
14707
15014
  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
15015
+ /* @__PURE__ */ jsx73(ResolveIcon, { icon, name }),
15016
+ /* @__PURE__ */ jsx73("span", { css: IntegrationTileName, title: name, children: name }),
15017
+ isInstalled ? /* @__PURE__ */ jsx73(IntegrationedAddedBadge, {}) : null,
15018
+ requiedEntitlement && isPublic ? /* @__PURE__ */ jsx73(IntegrationPremiumBadge, {}) : null,
15019
+ !isPublic ? /* @__PURE__ */ jsx73(IntegrationCustomBadge, {}) : null,
15020
+ authorIcon ? /* @__PURE__ */ jsx73(ResolveIcon, { icon: authorIcon, name }) : null
14714
15021
  ]
14715
15022
  }
14716
15023
  );
14717
15024
  };
14718
15025
 
14719
15026
  // src/components/Tiles/styles/Tile.styles.ts
14720
- import { css as css59 } from "@emotion/react";
15027
+ import { css as css60 } from "@emotion/react";
14721
15028
  var tileBorderSize = "1px";
14722
- var Tile = css59`
15029
+ var Tile = css60`
14723
15030
  background: var(--white);
14724
15031
  cursor: pointer;
14725
15032
  border: ${tileBorderSize} solid var(--gray-300);
@@ -14743,18 +15050,18 @@ var Tile = css59`
14743
15050
  `;
14744
15051
 
14745
15052
  // src/components/Tiles/Tile.tsx
14746
- import { jsx as jsx73 } from "@emotion/react/jsx-runtime";
15053
+ import { jsx as jsx74 } from "@emotion/react/jsx-runtime";
14747
15054
  var Tile2 = ({ children, disabled, ...props }) => {
14748
- return /* @__PURE__ */ jsx73("button", { type: "button", css: Tile, disabled, ...props, children });
15055
+ return /* @__PURE__ */ jsx74("button", { type: "button", css: Tile, disabled, ...props, children });
14749
15056
  };
14750
15057
 
14751
15058
  // src/components/Tiles/styles/TileContainer.styles.ts
14752
- import { css as css60 } from "@emotion/react";
14753
- var TileContainerWrapper = (theme, padding) => css60`
15059
+ import { css as css61 } from "@emotion/react";
15060
+ var TileContainerWrapper = (theme, padding) => css61`
14754
15061
  background: ${theme};
14755
15062
  padding: ${padding != "none" ? `var(--spacing-${padding})` : "0"};
14756
15063
  `;
14757
- var TileContainerInner = (gap, templateColumns) => css60`
15064
+ var TileContainerInner = (gap, templateColumns) => css61`
14758
15065
  display: grid;
14759
15066
  grid-template-columns: ${templateColumns};
14760
15067
  gap: var(--spacing-${gap});
@@ -14768,7 +15075,7 @@ var TileContainerInner = (gap, templateColumns) => css60`
14768
15075
  `;
14769
15076
 
14770
15077
  // src/components/Tiles/TileContainer.tsx
14771
- import { jsx as jsx74 } from "@emotion/react/jsx-runtime";
15078
+ import { jsx as jsx75 } from "@emotion/react/jsx-runtime";
14772
15079
  var TileContainer = ({
14773
15080
  bgColor = "var(--brand-secondary-2)",
14774
15081
  containerPadding = "base",
@@ -14777,25 +15084,25 @@ var TileContainer = ({
14777
15084
  children,
14778
15085
  ...props
14779
15086
  }) => {
14780
- return /* @__PURE__ */ jsx74("div", { css: TileContainerWrapper(bgColor, containerPadding), ...props, children: /* @__PURE__ */ jsx74("div", { css: TileContainerInner(gap, gridTemplateColumns), children }) });
15087
+ return /* @__PURE__ */ jsx75("div", { css: TileContainerWrapper(bgColor, containerPadding), ...props, children: /* @__PURE__ */ jsx75("div", { css: TileContainerInner(gap, gridTemplateColumns), children }) });
14781
15088
  };
14782
15089
 
14783
15090
  // src/components/Tiles/styles/TileText.styles.ts
14784
- import { css as css61 } from "@emotion/react";
14785
- var TileHeading = css61`
15091
+ import { css as css62 } from "@emotion/react";
15092
+ var TileHeading = css62`
14786
15093
  font-size: var(--fs-base);
14787
15094
  `;
14788
- var TileText = css61`
15095
+ var TileText = css62`
14789
15096
  color: var(--gray-500);
14790
15097
  font-size: var(--fs-sm);
14791
15098
  line-height: 1.2;
14792
15099
  `;
14793
15100
 
14794
15101
  // src/components/Tiles/TileText.tsx
14795
- import { jsx as jsx75 } from "@emotion/react/jsx-runtime";
15102
+ import { jsx as jsx76 } from "@emotion/react/jsx-runtime";
14796
15103
  var TileText2 = ({ as = "heading", children, ...props }) => {
14797
15104
  const isHeading = as === "heading";
14798
- return /* @__PURE__ */ jsx75(
15105
+ return /* @__PURE__ */ jsx76(
14799
15106
  "span",
14800
15107
  {
14801
15108
  role: isHeading ? "heading" : void 0,
@@ -14807,39 +15114,39 @@ var TileText2 = ({ as = "heading", children, ...props }) => {
14807
15114
  };
14808
15115
 
14809
15116
  // src/components/IntegrationModalHeader/IntegrationModalHeader.styles.ts
14810
- import { css as css62 } from "@emotion/react";
14811
- var IntegrationModalHeaderSVGBackground = css62`
15117
+ import { css as css63 } from "@emotion/react";
15118
+ var IntegrationModalHeaderSVGBackground = css63`
14812
15119
  position: absolute;
14813
15120
  top: 0;
14814
15121
  left: 0;
14815
15122
  `;
14816
- var IntegrationModalHeaderGroup = css62`
15123
+ var IntegrationModalHeaderGroup = css63`
14817
15124
  align-items: center;
14818
15125
  display: flex;
14819
15126
  gap: var(--spacing-sm);
14820
15127
  margin: 0 0 var(--spacing-md);
14821
15128
  position: relative;
14822
15129
  `;
14823
- var IntegrationModalHeaderTitleGroup = css62`
15130
+ var IntegrationModalHeaderTitleGroup = css63`
14824
15131
  align-items: center;
14825
15132
  display: flex;
14826
15133
  gap: var(--spacing-base);
14827
15134
  `;
14828
- var IntegrationModalHeaderTitle = css62`
15135
+ var IntegrationModalHeaderTitle = css63`
14829
15136
  margin-top: 0;
14830
15137
  `;
14831
- var IntegrationModalHeaderMenuPlacement = css62`
15138
+ var IntegrationModalHeaderMenuPlacement = css63`
14832
15139
  margin-bottom: var(--spacing-base);
14833
15140
  `;
14834
- var IntegrationModalHeaderContentWrapper = css62`
15141
+ var IntegrationModalHeaderContentWrapper = css63`
14835
15142
  position: relative;
14836
15143
  z-index: var(--z-10);
14837
15144
  `;
14838
15145
 
14839
15146
  // src/components/IntegrationModalHeader/IntegrationModalHeader.tsx
14840
- import { Fragment as Fragment11, jsx as jsx76, jsxs as jsxs48 } from "@emotion/react/jsx-runtime";
15147
+ import { Fragment as Fragment12, jsx as jsx77, jsxs as jsxs49 } from "@emotion/react/jsx-runtime";
14841
15148
  var HexModalBackground = ({ ...props }) => {
14842
- return /* @__PURE__ */ jsxs48(
15149
+ return /* @__PURE__ */ jsxs49(
14843
15150
  "svg",
14844
15151
  {
14845
15152
  width: "236",
@@ -14849,7 +15156,7 @@ var HexModalBackground = ({ ...props }) => {
14849
15156
  xmlns: "http://www.w3.org/2000/svg",
14850
15157
  ...props,
14851
15158
  children: [
14852
- /* @__PURE__ */ jsx76(
15159
+ /* @__PURE__ */ jsx77(
14853
15160
  "path",
14854
15161
  {
14855
15162
  fillRule: "evenodd",
@@ -14858,7 +15165,7 @@ var HexModalBackground = ({ ...props }) => {
14858
15165
  fill: "url(#paint0_linear_196_2737)"
14859
15166
  }
14860
15167
  ),
14861
- /* @__PURE__ */ jsx76("defs", { children: /* @__PURE__ */ jsxs48(
15168
+ /* @__PURE__ */ jsx77("defs", { children: /* @__PURE__ */ jsxs49(
14862
15169
  "linearGradient",
14863
15170
  {
14864
15171
  id: "paint0_linear_196_2737",
@@ -14868,8 +15175,8 @@ var HexModalBackground = ({ ...props }) => {
14868
15175
  y2: "-95.2742",
14869
15176
  gradientUnits: "userSpaceOnUse",
14870
15177
  children: [
14871
- /* @__PURE__ */ jsx76("stop", { stopColor: "#81DCDE" }),
14872
- /* @__PURE__ */ jsx76("stop", { offset: "1", stopColor: "#428ED4" })
15178
+ /* @__PURE__ */ jsx77("stop", { stopColor: "#81DCDE" }),
15179
+ /* @__PURE__ */ jsx77("stop", { offset: "1", stopColor: "#428ED4" })
14873
15180
  ]
14874
15181
  }
14875
15182
  ) })
@@ -14878,23 +15185,23 @@ var HexModalBackground = ({ ...props }) => {
14878
15185
  );
14879
15186
  };
14880
15187
  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: [
15188
+ return /* @__PURE__ */ jsxs49(Fragment12, { children: [
15189
+ /* @__PURE__ */ jsx77(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
15190
+ /* @__PURE__ */ jsx77("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ jsxs49("div", { css: IntegrationModalHeaderTitleGroup, children: [
15191
+ icon ? /* @__PURE__ */ jsx77(IntegrationModalIcon, { icon, name: name || "" }) : null,
15192
+ /* @__PURE__ */ jsx77(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-testid": "integration-modal-title", children: name || "Create Team Integration" }),
15193
+ menu2 ? /* @__PURE__ */ jsxs49("div", { css: IntegrationModalHeaderMenuPlacement, children: [
14887
15194
  menu2,
14888
15195
  " "
14889
15196
  ] }) : null
14890
15197
  ] }) }),
14891
- /* @__PURE__ */ jsx76("div", { css: IntegrationModalHeaderContentWrapper, children })
15198
+ /* @__PURE__ */ jsx77("div", { css: IntegrationModalHeaderContentWrapper, children })
14892
15199
  ] });
14893
15200
  };
14894
15201
 
14895
15202
  // src/components/JsonEditor/JsonEditor.tsx
14896
15203
  import MonacoEditor from "@monaco-editor/react";
14897
- import { jsx as jsx77 } from "@emotion/react/jsx-runtime";
15204
+ import { jsx as jsx78 } from "@emotion/react/jsx-runtime";
14898
15205
  var minEditorHeightPx = 150;
14899
15206
  var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
14900
15207
  let effectiveHeight = height;
@@ -14904,7 +15211,7 @@ var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
14904
15211
  if (typeof effectiveHeight === "number" && effectiveHeight < minEditorHeightPx) {
14905
15212
  effectiveHeight = minEditorHeightPx;
14906
15213
  }
14907
- return /* @__PURE__ */ jsx77(
15214
+ return /* @__PURE__ */ jsx78(
14908
15215
  MonacoEditor,
14909
15216
  {
14910
15217
  height: effectiveHeight,
@@ -14941,39 +15248,39 @@ var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
14941
15248
  };
14942
15249
 
14943
15250
  // src/components/LimitsBar/LimitsBar.styles.ts
14944
- import { css as css63 } from "@emotion/react";
14945
- var LimitsBarContainer = css63`
15251
+ import { css as css64 } from "@emotion/react";
15252
+ var LimitsBarContainer = css64`
14946
15253
  margin-block: var(--spacing-sm);
14947
15254
  `;
14948
- var LimitsBarProgressBar = css63`
15255
+ var LimitsBarProgressBar = css64`
14949
15256
  background: var(--gray-100);
14950
15257
  margin-top: var(--spacing-sm);
14951
15258
  position: relative;
14952
15259
  overflow: hidden;
14953
15260
  height: 0.25rem;
14954
15261
  `;
14955
- var LimitsBarProgressBarLine = css63`
15262
+ var LimitsBarProgressBarLine = css64`
14956
15263
  position: absolute;
14957
15264
  inset: 0;
14958
15265
  transition: transform var(--duration-fast) var(--timing-ease-out);
14959
15266
  `;
14960
- var LimitsBarLabelContainer = css63`
15267
+ var LimitsBarLabelContainer = css64`
14961
15268
  display: flex;
14962
15269
  justify-content: space-between;
14963
15270
  font-weight: var(--fw-bold);
14964
15271
  `;
14965
- var LimitsBarLabel = css63`
15272
+ var LimitsBarLabel = css64`
14966
15273
  font-size: var(--fs-baase);
14967
15274
  `;
14968
- var LimitsBarBgColor = (statusColor) => css63`
15275
+ var LimitsBarBgColor = (statusColor) => css64`
14969
15276
  background: ${statusColor};
14970
15277
  `;
14971
- var LimitsBarTextColor = (statusColor) => css63`
15278
+ var LimitsBarTextColor = (statusColor) => css64`
14972
15279
  color: ${statusColor};
14973
15280
  `;
14974
15281
 
14975
15282
  // src/components/LimitsBar/LimitsBar.tsx
14976
- import { jsx as jsx78, jsxs as jsxs49 } from "@emotion/react/jsx-runtime";
15283
+ import { jsx as jsx79, jsxs as jsxs50 } from "@emotion/react/jsx-runtime";
14977
15284
  var LimitsBar = ({ current, max, label }) => {
14978
15285
  const maxPercentage = 100;
14979
15286
  const progressBarValue = Math.ceil(current / max * maxPercentage);
@@ -14984,16 +15291,16 @@ var LimitsBar = ({ current, max, label }) => {
14984
15291
  danger: "var(--brand-secondary-5)"
14985
15292
  };
14986
15293
  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: [
15294
+ return /* @__PURE__ */ jsxs50("div", { css: LimitsBarContainer, children: [
15295
+ /* @__PURE__ */ jsxs50("div", { css: LimitsBarLabelContainer, children: [
15296
+ /* @__PURE__ */ jsx79("span", { css: LimitsBarLabel, children: label }),
15297
+ /* @__PURE__ */ jsxs50("span", { css: [LimitsBarLabel, LimitsBarTextColor(statusColor)], children: [
14991
15298
  current,
14992
15299
  " of ",
14993
15300
  max
14994
15301
  ] })
14995
15302
  ] }),
14996
- /* @__PURE__ */ jsx78(
15303
+ /* @__PURE__ */ jsx79(
14997
15304
  "div",
14998
15305
  {
14999
15306
  role: "progressbar",
@@ -15002,7 +15309,7 @@ var LimitsBar = ({ current, max, label }) => {
15002
15309
  "aria-valuemax": max,
15003
15310
  "aria-valuetext": `${current} of ${max}`,
15004
15311
  css: LimitsBarProgressBar,
15005
- children: /* @__PURE__ */ jsx78(
15312
+ children: /* @__PURE__ */ jsx79(
15006
15313
  "span",
15007
15314
  {
15008
15315
  role: "presentation",
@@ -15018,8 +15325,8 @@ var LimitsBar = ({ current, max, label }) => {
15018
15325
  };
15019
15326
 
15020
15327
  // src/components/LinkList/LinkList.styles.ts
15021
- import { css as css64 } from "@emotion/react";
15022
- var LinkListContainer = (padding) => css64`
15328
+ import { css as css65 } from "@emotion/react";
15329
+ var LinkListContainer = (padding) => css65`
15023
15330
  padding: ${padding};
15024
15331
 
15025
15332
  ${mq("sm")} {
@@ -15027,30 +15334,30 @@ var LinkListContainer = (padding) => css64`
15027
15334
  grid-row: 1 / last-line;
15028
15335
  }
15029
15336
  `;
15030
- var LinkListTitle = css64`
15337
+ var LinkListTitle = css65`
15031
15338
  font-weight: var(--fw-bold);
15032
15339
  font-size: var(--fs-sm);
15033
15340
  text-transform: uppercase;
15034
15341
  `;
15035
15342
 
15036
15343
  // src/components/LinkList/LinkList.tsx
15037
- import { jsx as jsx79, jsxs as jsxs50 } from "@emotion/react/jsx-runtime";
15344
+ import { jsx as jsx80, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
15038
15345
  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 }),
15346
+ return /* @__PURE__ */ jsxs51("div", { css: LinkListContainer(padding), ...props, children: [
15347
+ /* @__PURE__ */ jsx80(Heading, { level: 3, css: LinkListTitle, children: title }),
15041
15348
  children
15042
15349
  ] });
15043
15350
  };
15044
15351
 
15045
15352
  // src/components/List/ScrollableList.tsx
15046
- import { css as css66 } from "@emotion/react";
15353
+ import { css as css67 } from "@emotion/react";
15047
15354
 
15048
15355
  // src/components/List/styles/ScrollableList.styles.ts
15049
- import { css as css65 } from "@emotion/react";
15050
- var ScrollableListContainer = css65`
15356
+ import { css as css66 } from "@emotion/react";
15357
+ var ScrollableListContainer = css66`
15051
15358
  position: relative;
15052
15359
  `;
15053
- var ScrollableListInner = css65`
15360
+ var ScrollableListInner = css66`
15054
15361
  background: var(--gray-50);
15055
15362
  border-top: 1px solid var(--gray-200);
15056
15363
  border-bottom: 1px solid var(--gray-200);
@@ -15073,19 +15380,19 @@ var ScrollableListInner = css65`
15073
15380
  `;
15074
15381
 
15075
15382
  // src/components/List/ScrollableList.tsx
15076
- import { jsx as jsx80, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
15383
+ import { jsx as jsx81, jsxs as jsxs52 } from "@emotion/react/jsx-runtime";
15077
15384
  var ScrollableList = ({ label, children, ...props }) => {
15078
- return /* @__PURE__ */ jsxs51("div", { css: [ScrollableListContainer, scrollbarStyles], ...props, children: [
15079
- label ? /* @__PURE__ */ jsx80(
15385
+ return /* @__PURE__ */ jsxs52("div", { css: [ScrollableListContainer, scrollbarStyles], ...props, children: [
15386
+ label ? /* @__PURE__ */ jsx81(
15080
15387
  "span",
15081
15388
  {
15082
- css: css66`
15389
+ css: css67`
15083
15390
  ${labelText}
15084
15391
  `,
15085
15392
  children: label
15086
15393
  }
15087
15394
  ) : null,
15088
- /* @__PURE__ */ jsx80("div", { css: [ScrollableListInner, scrollbarStyles], children })
15395
+ /* @__PURE__ */ jsx81("div", { css: [ScrollableListInner, scrollbarStyles], children })
15089
15396
  ] });
15090
15397
  };
15091
15398
 
@@ -15093,8 +15400,8 @@ var ScrollableList = ({ label, children, ...props }) => {
15093
15400
  import { CgCheck as CgCheck2 } from "@react-icons/all-files/cg/CgCheck";
15094
15401
 
15095
15402
  // src/components/List/styles/ScrollableListItem.styles.ts
15096
- import { css as css67 } from "@emotion/react";
15097
- var ScrollableListItemContainer = css67`
15403
+ import { css as css68 } from "@emotion/react";
15404
+ var ScrollableListItemContainer = css68`
15098
15405
  align-items: center;
15099
15406
  background: var(--white);
15100
15407
  border-radius: var(--rounded-base);
@@ -15103,13 +15410,13 @@ var ScrollableListItemContainer = css67`
15103
15410
  min-height: 52px;
15104
15411
  transition: border-color var(--duration-fast) var(--timing-ease-out);
15105
15412
  `;
15106
- var ScrollableListItemShadow = css67`
15413
+ var ScrollableListItemShadow = css68`
15107
15414
  box-shadow: var(--shadow-base);
15108
15415
  `;
15109
- var ScrollableListItemActive = css67`
15416
+ var ScrollableListItemActive = css68`
15110
15417
  border-color: var(--brand-secondary-3);
15111
15418
  `;
15112
- var ScrollableListItemBtn = css67`
15419
+ var ScrollableListItemBtn = css68`
15113
15420
  align-items: center;
15114
15421
  border: none;
15115
15422
  background: transparent;
@@ -15124,27 +15431,27 @@ var ScrollableListItemBtn = css67`
15124
15431
  outline: none;
15125
15432
  }
15126
15433
  `;
15127
- var ScrollableListInputLabel = css67`
15434
+ var ScrollableListInputLabel = css68`
15128
15435
  align-items: center;
15129
15436
  cursor: pointer;
15130
15437
  display: flex;
15131
15438
  padding: var(--spacing-xs) var(--spacing-base) var(--spacing-xs);
15132
15439
  flex-grow: 1;
15133
15440
  `;
15134
- var ScrollableListInputText = css67`
15441
+ var ScrollableListInputText = css68`
15135
15442
  align-items: center;
15136
15443
  display: flex;
15137
15444
  gap: var(--spacing-sm);
15138
15445
  flex-grow: 1;
15139
15446
  flex-wrap: wrap;
15140
15447
  `;
15141
- var ScrollableListHiddenInput = css67`
15448
+ var ScrollableListHiddenInput = css68`
15142
15449
  position: absolute;
15143
15450
  height: 0;
15144
15451
  width: 0;
15145
15452
  opacity: 0;
15146
15453
  `;
15147
- var ScrollableListIcon = css67`
15454
+ var ScrollableListIcon = css68`
15148
15455
  border-radius: var(--rounded-full);
15149
15456
  background: var(--brand-secondary-3);
15150
15457
  color: var(--white);
@@ -15152,12 +15459,12 @@ var ScrollableListIcon = css67`
15152
15459
  min-width: 24px;
15153
15460
  opacity: 0;
15154
15461
  `;
15155
- var ScrollableListIconVisible = css67`
15462
+ var ScrollableListIconVisible = css68`
15156
15463
  animation: ${fadeInBottom} var(--duration-fast) var(--timing-ease-out) forwards;
15157
15464
  `;
15158
15465
 
15159
15466
  // src/components/List/ScrollableListInputItem.tsx
15160
- import { jsx as jsx81, jsxs as jsxs52 } from "@emotion/react/jsx-runtime";
15467
+ import { jsx as jsx82, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
15161
15468
  var ScrollableListInputItem = ({
15162
15469
  label,
15163
15470
  icon,
@@ -15167,7 +15474,7 @@ var ScrollableListInputItem = ({
15167
15474
  labelTestId,
15168
15475
  ...props
15169
15476
  }) => {
15170
- return /* @__PURE__ */ jsx81(
15477
+ return /* @__PURE__ */ jsx82(
15171
15478
  "div",
15172
15479
  {
15173
15480
  css: [
@@ -15176,13 +15483,13 @@ var ScrollableListInputItem = ({
15176
15483
  active ? ScrollableListItemActive : void 0
15177
15484
  ],
15178
15485
  ...props,
15179
- children: /* @__PURE__ */ jsxs52("label", { "data-testid": labelTestId, css: ScrollableListInputLabel, children: [
15180
- /* @__PURE__ */ jsxs52("span", { css: ScrollableListInputText, children: [
15486
+ children: /* @__PURE__ */ jsxs53("label", { "data-testid": labelTestId, css: ScrollableListInputLabel, children: [
15487
+ /* @__PURE__ */ jsxs53("span", { css: ScrollableListInputText, children: [
15181
15488
  icon,
15182
15489
  label
15183
15490
  ] }),
15184
- /* @__PURE__ */ jsx81("div", { css: ScrollableListHiddenInput, children }),
15185
- /* @__PURE__ */ jsx81(
15491
+ /* @__PURE__ */ jsx82("div", { css: ScrollableListHiddenInput, children }),
15492
+ /* @__PURE__ */ jsx82(
15186
15493
  Icon,
15187
15494
  {
15188
15495
  icon: CgCheck2,
@@ -15200,14 +15507,14 @@ var ScrollableListInputItem = ({
15200
15507
 
15201
15508
  // src/components/List/ScrollableListItem.tsx
15202
15509
  import { CgCheck as CgCheck3 } from "@react-icons/all-files/cg/CgCheck";
15203
- import { jsx as jsx82, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
15510
+ import { jsx as jsx83, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
15204
15511
  var ScrollableListItem = ({
15205
15512
  buttonText,
15206
15513
  active,
15207
15514
  disableShadow,
15208
15515
  ...props
15209
15516
  }) => {
15210
- return /* @__PURE__ */ jsx82(
15517
+ return /* @__PURE__ */ jsx83(
15211
15518
  "div",
15212
15519
  {
15213
15520
  css: [
@@ -15215,9 +15522,9 @@ var ScrollableListItem = ({
15215
15522
  disableShadow ? void 0 : ScrollableListItemShadow,
15216
15523
  active ? ScrollableListItemActive : void 0
15217
15524
  ],
15218
- children: /* @__PURE__ */ jsxs53("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
15219
- /* @__PURE__ */ jsx82("span", { children: buttonText }),
15220
- /* @__PURE__ */ jsx82(
15525
+ children: /* @__PURE__ */ jsxs54("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
15526
+ /* @__PURE__ */ jsx83("span", { children: buttonText }),
15527
+ /* @__PURE__ */ jsx83(
15221
15528
  Icon,
15222
15529
  {
15223
15530
  icon: CgCheck3,
@@ -15232,7 +15539,7 @@ var ScrollableListItem = ({
15232
15539
  };
15233
15540
 
15234
15541
  // src/components/LoadingIndicator/LoadingIndicator.styles.ts
15235
- import { css as css68, keyframes as keyframes3 } from "@emotion/react";
15542
+ import { css as css69, keyframes as keyframes3 } from "@emotion/react";
15236
15543
  function bounceFade(size) {
15237
15544
  const bounceHeight = size === "lg" ? 10 : 5;
15238
15545
  return keyframes3`
@@ -15253,13 +15560,13 @@ function bounceFade(size) {
15253
15560
  }
15254
15561
  `;
15255
15562
  }
15256
- var loader = css68`
15563
+ var loader = css69`
15257
15564
  display: inline-flex;
15258
15565
  justify-content: center;
15259
15566
  `;
15260
15567
  function loadingDot(size) {
15261
15568
  const dotSize = size === "lg" ? 8 : 4;
15262
- return css68`
15569
+ return css69`
15263
15570
  background-color: var(--gray-700);
15264
15571
  display: block;
15265
15572
  border-radius: var(--rounded-full);
@@ -15284,25 +15591,25 @@ function loadingDot(size) {
15284
15591
  }
15285
15592
 
15286
15593
  // src/components/LoadingIndicator/LoadingIndicator.tsx
15287
- import { jsx as jsx83, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
15594
+ import { jsx as jsx84, jsxs as jsxs55 } from "@emotion/react/jsx-runtime";
15288
15595
  var LoadingIndicator = ({
15289
15596
  size = "lg",
15290
15597
  ...props
15291
15598
  }) => {
15292
15599
  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 })
15600
+ return /* @__PURE__ */ jsxs55("div", { role: "alert", css: loader, "data-testid": "loading-indicator", ...props, children: [
15601
+ /* @__PURE__ */ jsx84("span", { css: dotStyle }),
15602
+ /* @__PURE__ */ jsx84("span", { css: dotStyle }),
15603
+ /* @__PURE__ */ jsx84("span", { css: dotStyle })
15297
15604
  ] });
15298
15605
  };
15299
15606
 
15300
15607
  // src/components/LoadingOverlay/LoadingOverlay.tsx
15301
- import { useCallback as useCallback2, useEffect as useEffect8, useRef as useRef5 } from "react";
15608
+ import { useCallback as useCallback3, useEffect as useEffect9, useRef as useRef5 } from "react";
15302
15609
 
15303
15610
  // src/components/LoadingOverlay/LoadingOverlay.styles.ts
15304
- import { css as css69 } from "@emotion/react";
15305
- var loadingOverlayContainer = css69`
15611
+ import { css as css70 } from "@emotion/react";
15612
+ var loadingOverlayContainer = css70`
15306
15613
  position: absolute;
15307
15614
  inset: 0;
15308
15615
  overflow: hidden;
@@ -15310,30 +15617,30 @@ var loadingOverlayContainer = css69`
15310
15617
  padding: var(--spacing-xl);
15311
15618
  overflow-y: auto;
15312
15619
  `;
15313
- var loadingOverlayVisible = css69`
15620
+ var loadingOverlayVisible = css70`
15314
15621
  display: flex;
15315
15622
  `;
15316
- var loadingOverlayHidden = css69`
15623
+ var loadingOverlayHidden = css70`
15317
15624
  display: none;
15318
15625
  `;
15319
- var loadingOverlayBackground = (bgColor) => css69`
15626
+ var loadingOverlayBackground = (bgColor) => css70`
15320
15627
  background: ${bgColor};
15321
15628
  opacity: 0.92;
15322
15629
  position: absolute;
15323
15630
  inset: 0 0;
15324
15631
  `;
15325
- var loadingOverlayBody = css69`
15632
+ var loadingOverlayBody = css70`
15326
15633
  align-items: center;
15327
15634
  display: flex;
15328
15635
  flex-direction: column;
15329
15636
  `;
15330
- var loadingOverlayMessage = css69`
15637
+ var loadingOverlayMessage = css70`
15331
15638
  color: var(--gray-600);
15332
15639
  margin: var(--spacing-base) 0 0;
15333
15640
  `;
15334
15641
 
15335
15642
  // src/components/LoadingOverlay/LoadingOverlay.tsx
15336
- import { jsx as jsx84, jsxs as jsxs55 } from "@emotion/react/jsx-runtime";
15643
+ import { jsx as jsx85, jsxs as jsxs56 } from "@emotion/react/jsx-runtime";
15337
15644
  var LoadingOverlay = ({
15338
15645
  isActive,
15339
15646
  statusMessage,
@@ -15345,13 +15652,13 @@ var LoadingOverlay = ({
15345
15652
  children
15346
15653
  }) => {
15347
15654
  const lottieRef = useRef5(null);
15348
- const onLoopComplete = useCallback2(() => {
15655
+ const onLoopComplete = useCallback3(() => {
15349
15656
  var _a, _b, _c;
15350
15657
  if (isPaused && !((_b = (_a = lottieRef.current) == null ? void 0 : _a.animationItem) == null ? void 0 : _b.isPaused)) {
15351
15658
  (_c = lottieRef.current) == null ? void 0 : _c.stop();
15352
15659
  }
15353
15660
  }, [isPaused]);
15354
- useEffect8(() => {
15661
+ useEffect9(() => {
15355
15662
  var _a, _b, _c, _d, _e, _f;
15356
15663
  if (!isPaused && ((_b = (_a = lottieRef.current) == null ? void 0 : _a.animationItem) == null ? void 0 : _b.isPaused)) {
15357
15664
  (_c = lottieRef.current) == null ? void 0 : _c.play();
@@ -15359,7 +15666,7 @@ var LoadingOverlay = ({
15359
15666
  (_f = lottieRef.current) == null ? void 0 : _f.stop();
15360
15667
  }
15361
15668
  }, [isPaused]);
15362
- return /* @__PURE__ */ jsxs55(
15669
+ return /* @__PURE__ */ jsxs56(
15363
15670
  "div",
15364
15671
  {
15365
15672
  role: "alert",
@@ -15367,9 +15674,9 @@ var LoadingOverlay = ({
15367
15674
  "aria-hidden": !isActive,
15368
15675
  "aria-busy": isActive && !isPaused,
15369
15676
  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(
15677
+ /* @__PURE__ */ jsx85("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
15678
+ /* @__PURE__ */ jsx85("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */ jsxs56("div", { css: loadingOverlayBody, children: [
15679
+ /* @__PURE__ */ jsx85(
15373
15680
  AnimationFile,
15374
15681
  {
15375
15682
  lottieRef,
@@ -15384,15 +15691,15 @@ var LoadingOverlay = ({
15384
15691
  }
15385
15692
  }
15386
15693
  ),
15387
- statusMessage ? /* @__PURE__ */ jsx84("div", { css: loadingOverlayMessage, children: statusMessage }) : null,
15388
- /* @__PURE__ */ jsx84("div", { css: { width: "100%", marginTop: "var(--spacing-md)" }, children })
15694
+ statusMessage ? /* @__PURE__ */ jsx85("div", { css: loadingOverlayMessage, children: statusMessage }) : null,
15695
+ /* @__PURE__ */ jsx85("div", { css: { width: "100%", marginTop: "var(--spacing-md)" }, children })
15389
15696
  ] }) })
15390
15697
  ]
15391
15698
  }
15392
15699
  );
15393
15700
  };
15394
15701
  var LoadingIcon = ({ height, width, ...props }) => {
15395
- return /* @__PURE__ */ jsx84(
15702
+ return /* @__PURE__ */ jsx85(
15396
15703
  "svg",
15397
15704
  {
15398
15705
  viewBox: "0 0 38 38",
@@ -15402,9 +15709,9 @@ var LoadingIcon = ({ height, width, ...props }) => {
15402
15709
  stroke: "currentColor",
15403
15710
  ...props,
15404
15711
  "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(
15712
+ children: /* @__PURE__ */ jsx85("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxs56("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
15713
+ /* @__PURE__ */ jsx85("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
15714
+ /* @__PURE__ */ jsx85("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ jsx85(
15408
15715
  "animateTransform",
15409
15716
  {
15410
15717
  attributeName: "transform",
@@ -15428,12 +15735,12 @@ import {
15428
15735
  } from "reakit/Popover";
15429
15736
 
15430
15737
  // src/components/Popover/Popover.styles.ts
15431
- import { css as css70 } from "@emotion/react";
15432
- var PopoverBtn = css70`
15738
+ import { css as css71 } from "@emotion/react";
15739
+ var PopoverBtn = css71`
15433
15740
  border: none;
15434
15741
  background: none;
15435
15742
  `;
15436
- var PopoverDefaulterTriggerBtn = css70`
15743
+ var PopoverDefaulterTriggerBtn = css71`
15437
15744
  border: none;
15438
15745
  background: none;
15439
15746
  padding: var(--spacing-2xs);
@@ -15443,7 +15750,7 @@ var PopoverDefaulterTriggerBtn = css70`
15443
15750
  background-color: rgba(0, 0, 0, 0.05);
15444
15751
  }
15445
15752
  `;
15446
- var Popover = css70`
15753
+ var Popover = css71`
15447
15754
  border-left: var(--spacing-xs) solid var(--brand-secondary-3);
15448
15755
  border-radius: var(--rounded-base);
15449
15756
  box-shadow: var(--shadow-base);
@@ -15457,7 +15764,7 @@ var Popover = css70`
15457
15764
  `;
15458
15765
 
15459
15766
  // src/components/Popover/Popover.tsx
15460
- import { Fragment as Fragment12, jsx as jsx85, jsxs as jsxs56 } from "@emotion/react/jsx-runtime";
15767
+ import { Fragment as Fragment13, jsx as jsx86, jsxs as jsxs57 } from "@emotion/react/jsx-runtime";
15461
15768
  var Popover2 = ({
15462
15769
  iconColor = "action",
15463
15770
  icon = "info",
@@ -15471,27 +15778,27 @@ var Popover2 = ({
15471
15778
  ...otherProps
15472
15779
  }) => {
15473
15780
  const popover = usePopoverState({ placement });
15474
- return /* @__PURE__ */ jsxs56(Fragment12, { children: [
15475
- /* @__PURE__ */ jsx85(
15781
+ return /* @__PURE__ */ jsxs57(Fragment13, { children: [
15782
+ /* @__PURE__ */ jsx86(
15476
15783
  PopoverDisclosure,
15477
15784
  {
15478
15785
  ...popover,
15479
15786
  css: [PopoverBtn, trigger ? void 0 : PopoverDefaulterTriggerBtn],
15480
15787
  title: buttonText,
15481
15788
  "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 })
15789
+ children: trigger ? trigger : /* @__PURE__ */ jsxs57(Fragment13, { children: [
15790
+ /* @__PURE__ */ jsx86(Icon, { icon, iconColor, size: iconSize }),
15791
+ /* @__PURE__ */ jsx86("span", { hidden: true, children: buttonText })
15485
15792
  ] })
15486
15793
  }
15487
15794
  ),
15488
- /* @__PURE__ */ jsx85(ReakitPopover, { css: Popover, ...otherProps, ...popover, role: "tooltip", "aria-label": ariaLabel, children })
15795
+ /* @__PURE__ */ jsx86(ReakitPopover, { css: Popover, ...otherProps, ...popover, role: "tooltip", "aria-label": ariaLabel, children })
15489
15796
  ] });
15490
15797
  };
15491
15798
 
15492
15799
  // src/components/MediaCard/MediaCard.styles.ts
15493
- import { css as css71 } from "@emotion/react";
15494
- var cardBaseStyles = css71`
15800
+ import { css as css72 } from "@emotion/react";
15801
+ var cardBaseStyles = css72`
15495
15802
  display: flex;
15496
15803
  flex-direction: column;
15497
15804
  justify-content: flex-start;
@@ -15505,7 +15812,7 @@ var cardBaseStyles = css71`
15505
15812
  outline: 2px solid var(--primary-action-default);
15506
15813
  }
15507
15814
  `;
15508
- var cardBaseCoverIconWrapperStyles = css71`
15815
+ var cardBaseCoverIconWrapperStyles = css72`
15509
15816
  position: relative;
15510
15817
  display: flex;
15511
15818
  align-items: center;
@@ -15517,19 +15824,19 @@ var cardBaseCoverIconWrapperStyles = css71`
15517
15824
  padding: var(--spacing-sm);
15518
15825
  cursor: pointer;
15519
15826
  `;
15520
- var cardBaseContentStyles = css71`
15827
+ var cardBaseContentStyles = css72`
15521
15828
  padding: var(--spacing-sm);
15522
15829
  `;
15523
- var cardBaseTitleStyles = css71`
15830
+ var cardBaseTitleStyles = css72`
15524
15831
  font-size: var(--fs-sm);
15525
15832
  color: var(--gray-500);
15526
15833
  cursor: pointer;
15527
15834
  `;
15528
- var cardBaseSubtitleStyles = css71`
15835
+ var cardBaseSubtitleStyles = css72`
15529
15836
  font-size: var(--fs-xs);
15530
15837
  color: var(--gray-500);
15531
15838
  `;
15532
- var cardBaseMenuButtonStyles = css71`
15839
+ var cardBaseMenuButtonStyles = css72`
15533
15840
  padding: var(--spacing-2xs);
15534
15841
  border-radius: var(--rounded-sm);
15535
15842
  border-width: 0;
@@ -15541,7 +15848,7 @@ var cardBaseMenuButtonStyles = css71`
15541
15848
  `;
15542
15849
 
15543
15850
  // src/components/MediaCard/MediaCard.tsx
15544
- import { jsx as jsx86, jsxs as jsxs57 } from "@emotion/react/jsx-runtime";
15851
+ import { jsx as jsx87, jsxs as jsxs58 } from "@emotion/react/jsx-runtime";
15545
15852
  var MediaCard = ({
15546
15853
  title,
15547
15854
  subtitle,
@@ -15552,13 +15859,13 @@ var MediaCard = ({
15552
15859
  onClick,
15553
15860
  ...cardProps
15554
15861
  }) => {
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(
15862
+ return /* @__PURE__ */ jsxs58(Card, { tag: "button", css: cardBaseStyles, ...cardProps, onClick, children: [
15863
+ /* @__PURE__ */ jsx87("div", { css: cardBaseCoverIconWrapperStyles, children: cover }),
15864
+ /* @__PURE__ */ jsx87("div", { css: cardBaseContentStyles, children: /* @__PURE__ */ jsxs58(HorizontalRhythm, { gap: "sm", justify: "space-between", align: "center", css: { width: "100%" }, children: [
15865
+ /* @__PURE__ */ jsxs58(VerticalRhythm, { gap: "0", align: "flex-start", css: { flex: 1 }, children: [
15866
+ /* @__PURE__ */ jsxs58(HorizontalRhythm, { gap: "xs", align: "center", children: [
15867
+ /* @__PURE__ */ jsx87("div", { css: cardBaseTitleStyles, "data-testid": "card-title", children: title }),
15868
+ !infoPopover ? null : /* @__PURE__ */ jsx87("div", { css: { display: "flex", cursor: "default" }, onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ jsx87(
15562
15869
  Popover2,
15563
15870
  {
15564
15871
  baseId: `info-of-${title}`,
@@ -15567,17 +15874,17 @@ var MediaCard = ({
15567
15874
  iconColor: "default",
15568
15875
  tabIndex: 0,
15569
15876
  css: { display: "block" },
15570
- children: /* @__PURE__ */ jsx86("div", { children: infoPopover })
15877
+ children: /* @__PURE__ */ jsx87("div", { children: infoPopover })
15571
15878
  }
15572
15879
  ) })
15573
15880
  ] }),
15574
- !subtitle ? null : /* @__PURE__ */ jsx86("div", { css: cardBaseSubtitleStyles, children: subtitle })
15881
+ !subtitle ? null : /* @__PURE__ */ jsx87("div", { css: cardBaseSubtitleStyles, children: subtitle })
15575
15882
  ] }),
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(
15883
+ /* @__PURE__ */ jsx87("div", { css: { cursor: "default" }, onClick: (e) => e.stopPropagation(), children: sideSection }),
15884
+ /* @__PURE__ */ jsx87(VerticalRhythm, { align: "center", justify: "center", onClick: (e) => e.stopPropagation(), children: !menuItems || Array.isArray(menuItems) && !menuItems.length ? null : /* @__PURE__ */ jsx87(
15578
15885
  Menu,
15579
15886
  {
15580
- menuTrigger: /* @__PURE__ */ jsx86("button", { type: "button", "aria-label": "More options", css: cardBaseMenuButtonStyles, children: /* @__PURE__ */ jsx86(Icon, { icon: "more-alt", iconColor: "gray", size: 16 }) }),
15887
+ menuTrigger: /* @__PURE__ */ jsx87("button", { type: "button", "aria-label": "More options", css: cardBaseMenuButtonStyles, children: /* @__PURE__ */ jsx87(Icon, { icon: "more-alt", iconColor: "gray", size: 16 }) }),
15581
15888
  menuLabel: `Menu of ${title}`,
15582
15889
  children: menuItems
15583
15890
  }
@@ -15591,8 +15898,8 @@ import { CgClose as CgClose5 } from "@react-icons/all-files/cg/CgClose";
15591
15898
  import React19 from "react";
15592
15899
 
15593
15900
  // src/components/Modal/Modal.styles.ts
15594
- import { css as css72 } from "@emotion/react";
15595
- var modalWrapperStyles = css72`
15901
+ import { css as css73 } from "@emotion/react";
15902
+ var modalWrapperStyles = css73`
15596
15903
  position: fixed;
15597
15904
  inset: 0;
15598
15905
  display: flex;
@@ -15600,13 +15907,13 @@ var modalWrapperStyles = css72`
15600
15907
  justify-content: center;
15601
15908
  z-index: var(--z-drawer);
15602
15909
  `;
15603
- var modalBackdropStyles = css72`
15910
+ var modalBackdropStyles = css73`
15604
15911
  position: absolute;
15605
15912
  inset: 0;
15606
15913
  background-color: var(--brand-secondary-1);
15607
15914
  opacity: 0.4;
15608
15915
  `;
15609
- var modalStyles = css72`
15916
+ var modalStyles = css73`
15610
15917
  position: relative;
15611
15918
  display: flex;
15612
15919
  flex-direction: column;
@@ -15621,21 +15928,21 @@ var modalStyles = css72`
15621
15928
  color: unset;
15622
15929
  z-index: 1;
15623
15930
  `;
15624
- var modalHeaderStyles = css72`
15931
+ var modalHeaderStyles = css73`
15625
15932
  display: flex;
15626
15933
  align-items: flex-start;
15627
15934
  gap: var(--spacing-base);
15628
15935
  font-size: var(--fs-md);
15629
15936
  line-height: 1.2;
15630
15937
  `;
15631
- var modalCloseButtonStyles = css72`
15938
+ var modalCloseButtonStyles = css73`
15632
15939
  display: block;
15633
15940
  padding: 0;
15634
15941
  background: transparent;
15635
15942
  border: none;
15636
15943
  margin-left: auto;
15637
15944
  `;
15638
- var modalContentStyles = css72`
15945
+ var modalContentStyles = css73`
15639
15946
  flex: 1;
15640
15947
  background-color: white;
15641
15948
  padding: var(--spacing-md);
@@ -15644,7 +15951,7 @@ var modalContentStyles = css72`
15644
15951
  `;
15645
15952
 
15646
15953
  // src/components/Modal/Modal.tsx
15647
- import { jsx as jsx87, jsxs as jsxs58 } from "@emotion/react/jsx-runtime";
15954
+ import { jsx as jsx88, jsxs as jsxs59 } from "@emotion/react/jsx-runtime";
15648
15955
  var defaultModalWidth = "75rem";
15649
15956
  var defaultModalHeight = "51rem";
15650
15957
  var Modal = React19.forwardRef(
@@ -15663,12 +15970,12 @@ var Modal = React19.forwardRef(
15663
15970
  handler: onRequestClose,
15664
15971
  shortcut: "escape"
15665
15972
  });
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(
15973
+ return /* @__PURE__ */ jsxs59("div", { css: [modalWrapperStyles, wrapperClassName], children: [
15974
+ /* @__PURE__ */ jsx88("div", { onClick: onRequestClose, css: modalBackdropStyles }),
15975
+ /* @__PURE__ */ jsxs59("dialog", { ref, css: modalStyles, style: { width, height }, ...modalProps, children: [
15976
+ /* @__PURE__ */ jsxs59("div", { css: modalHeaderStyles, children: [
15977
+ /* @__PURE__ */ jsx88("div", { children: header }),
15978
+ /* @__PURE__ */ jsx88(
15672
15979
  Button,
15673
15980
  {
15674
15981
  type: "button",
@@ -15677,12 +15984,12 @@ var Modal = React19.forwardRef(
15677
15984
  title: "Close dialog",
15678
15985
  buttonType: "ghost",
15679
15986
  "data-testid": "close-dialog",
15680
- children: /* @__PURE__ */ jsx87(Icon, { icon: CgClose5, iconColor: "gray", size: 24 })
15987
+ children: /* @__PURE__ */ jsx88(Icon, { icon: CgClose5, iconColor: "gray", size: 24 })
15681
15988
  }
15682
15989
  )
15683
15990
  ] }),
15684
- /* @__PURE__ */ jsx87("div", { css: [modalContentStyles, !withoutContentPadding ? null : { padding: 0 }], children }),
15685
- buttonGroup ? /* @__PURE__ */ jsx87(HorizontalRhythm, { children: buttonGroup }) : null
15991
+ /* @__PURE__ */ jsx88("div", { css: [modalContentStyles, !withoutContentPadding ? null : { padding: 0 }], children }),
15992
+ buttonGroup ? /* @__PURE__ */ jsx88(HorizontalRhythm, { children: buttonGroup }) : null
15686
15993
  ] })
15687
15994
  ] });
15688
15995
  }
@@ -15711,8 +16018,8 @@ var useParameterShell = () => {
15711
16018
  };
15712
16019
 
15713
16020
  // src/components/ParameterInputs/styles/LabelLeadingIcon.styles.ts
15714
- import { css as css73 } from "@emotion/react";
15715
- var inputIconBtn = css73`
16021
+ import { css as css74 } from "@emotion/react";
16022
+ var inputIconBtn = css74`
15716
16023
  align-items: center;
15717
16024
  border: none;
15718
16025
  border-radius: var(--rounded-base);
@@ -15738,7 +16045,7 @@ var inputIconBtn = css73`
15738
16045
  `;
15739
16046
 
15740
16047
  // src/components/ParameterInputs/LabelLeadingIcon.tsx
15741
- import { jsx as jsx88, jsxs as jsxs59 } from "@emotion/react/jsx-runtime";
16048
+ import { jsx as jsx89, jsxs as jsxs60 } from "@emotion/react/jsx-runtime";
15742
16049
  var LabelLeadingIcon = ({
15743
16050
  icon,
15744
16051
  iconColor,
@@ -15750,7 +16057,7 @@ var LabelLeadingIcon = ({
15750
16057
  ...props
15751
16058
  }) => {
15752
16059
  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(
16060
+ return /* @__PURE__ */ jsx89(Tooltip, { title: titleFr, children: /* @__PURE__ */ jsxs60(
15754
16061
  "button",
15755
16062
  {
15756
16063
  css: inputIconBtn,
@@ -15759,7 +16066,7 @@ var LabelLeadingIcon = ({
15759
16066
  "aria-disabled": isLocked,
15760
16067
  ...props,
15761
16068
  children: [
15762
- /* @__PURE__ */ jsx88(
16069
+ /* @__PURE__ */ jsx89(
15763
16070
  Icon,
15764
16071
  {
15765
16072
  icon: isLocked ? "lock" : icon ? icon : "arrows-expand-down-right",
@@ -15775,8 +16082,8 @@ var LabelLeadingIcon = ({
15775
16082
  var ConnectToDataElementButton = LabelLeadingIcon;
15776
16083
 
15777
16084
  // src/components/ParameterInputs/styles/ParameterInput.styles.ts
15778
- import { css as css74 } from "@emotion/react";
15779
- var inputContainer2 = css74`
16085
+ import { css as css75 } from "@emotion/react";
16086
+ var inputContainer2 = css75`
15780
16087
  position: relative;
15781
16088
 
15782
16089
  &:hover,
@@ -15788,14 +16095,14 @@ var inputContainer2 = css74`
15788
16095
  }
15789
16096
  }
15790
16097
  `;
15791
- var labelText2 = css74`
16098
+ var labelText2 = css75`
15792
16099
  align-items: center;
15793
16100
  display: flex;
15794
16101
  gap: var(--spacing-xs);
15795
16102
  font-weight: var(--fw-regular);
15796
16103
  margin: 0 0 var(--spacing-xs);
15797
16104
  `;
15798
- var input2 = css74`
16105
+ var input2 = css75`
15799
16106
  display: block;
15800
16107
  appearance: none;
15801
16108
  box-sizing: border-box;
@@ -15839,18 +16146,18 @@ var input2 = css74`
15839
16146
  color: var(--gray-400);
15840
16147
  }
15841
16148
  `;
15842
- var selectInput = css74`
16149
+ var selectInput = css75`
15843
16150
  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
16151
  background-position: right var(--spacing-sm) center;
15845
16152
  background-repeat: no-repeat;
15846
16153
  background-size: 1rem;
15847
16154
  padding-right: var(--spacing-xl);
15848
16155
  `;
15849
- var inputWrapper = css74`
16156
+ var inputWrapper = css75`
15850
16157
  display: flex; // used to correct overflow with chrome textarea
15851
16158
  position: relative;
15852
16159
  `;
15853
- var inputIcon2 = css74`
16160
+ var inputIcon2 = css75`
15854
16161
  align-items: center;
15855
16162
  background: var(--white);
15856
16163
  border-radius: var(--rounded-md) 0 0 var(--rounded-md);
@@ -15866,7 +16173,7 @@ var inputIcon2 = css74`
15866
16173
  width: var(--spacing-lg);
15867
16174
  z-index: var(--z-10);
15868
16175
  `;
15869
- var inputToggleLabel2 = css74`
16176
+ var inputToggleLabel2 = css75`
15870
16177
  align-items: center;
15871
16178
  background: var(--white);
15872
16179
  cursor: pointer;
@@ -15877,7 +16184,7 @@ var inputToggleLabel2 = css74`
15877
16184
  min-height: var(--spacing-md);
15878
16185
  position: relative;
15879
16186
  `;
15880
- var toggleInput2 = css74`
16187
+ var toggleInput2 = css75`
15881
16188
  appearance: none;
15882
16189
  border: 1px solid var(--gray-300);
15883
16190
  background: var(--white);
@@ -15916,7 +16223,7 @@ var toggleInput2 = css74`
15916
16223
  border-color: var(--gray-300);
15917
16224
  }
15918
16225
  `;
15919
- var inlineLabel2 = css74`
16226
+ var inlineLabel2 = css75`
15920
16227
  padding-left: var(--spacing-lg);
15921
16228
  font-size: var(--fs-sm);
15922
16229
  font-weight: var(--fw-regular);
@@ -15932,7 +16239,7 @@ var inlineLabel2 = css74`
15932
16239
  }
15933
16240
  }
15934
16241
  `;
15935
- var inputMenu = css74`
16242
+ var inputMenu = css75`
15936
16243
  background: none;
15937
16244
  border: none;
15938
16245
  padding: var(--spacing-2xs);
@@ -15948,11 +16255,11 @@ var inputMenu = css74`
15948
16255
  background-color: var(--gray-200);
15949
16256
  }
15950
16257
  `;
15951
- var textarea2 = css74`
16258
+ var textarea2 = css75`
15952
16259
  resize: vertical;
15953
16260
  min-height: 2rem;
15954
16261
  `;
15955
- var dataConnectButton = css74`
16262
+ var dataConnectButton = css75`
15956
16263
  align-items: center;
15957
16264
  appearance: none;
15958
16265
  box-sizing: border-box;
@@ -15987,7 +16294,7 @@ var dataConnectButton = css74`
15987
16294
  pointer-events: none;
15988
16295
  }
15989
16296
  `;
15990
- var linkParameterBtn = css74`
16297
+ var linkParameterBtn = css75`
15991
16298
  border-radius: var(--rounded-base);
15992
16299
  background: var(--white);
15993
16300
  border: none;
@@ -15996,7 +16303,7 @@ var linkParameterBtn = css74`
15996
16303
  font-size: var(--fs-sm);
15997
16304
  line-height: 1;
15998
16305
  `;
15999
- var linkParameterControls = css74`
16306
+ var linkParameterControls = css75`
16000
16307
  position: absolute;
16001
16308
  inset: 0 0 0 auto;
16002
16309
  padding: 0 var(--spacing-base);
@@ -16005,7 +16312,7 @@ var linkParameterControls = css74`
16005
16312
  justify-content: center;
16006
16313
  gap: var(--spacing-base);
16007
16314
  `;
16008
- var linkParameterInput = (withExternalLinkIcon) => css74`
16315
+ var linkParameterInput = (withExternalLinkIcon) => css75`
16009
16316
  padding-right: calc(
16010
16317
  ${withExternalLinkIcon ? "calc(var(--spacing-lg) * 2 + var(--spacing-xs))" : "var(--spacing-xl)"} +
16011
16318
  var(--spacing-base)
@@ -16018,7 +16325,7 @@ var linkParameterInput = (withExternalLinkIcon) => css74`
16018
16325
  }
16019
16326
  }
16020
16327
  `;
16021
- var linkParameterIcon = css74`
16328
+ var linkParameterIcon = css75`
16022
16329
  align-items: center;
16023
16330
  color: var(--brand-secondary-3);
16024
16331
  display: flex;
@@ -16033,7 +16340,7 @@ var linkParameterIcon = css74`
16033
16340
  `;
16034
16341
 
16035
16342
  // src/components/ParameterInputs/ParameterDataResource.tsx
16036
- import { jsx as jsx89, jsxs as jsxs60 } from "@emotion/react/jsx-runtime";
16343
+ import { jsx as jsx90, jsxs as jsxs61 } from "@emotion/react/jsx-runtime";
16037
16344
  function ParameterDataResource({
16038
16345
  label,
16039
16346
  labelLeadingIcon,
@@ -16043,12 +16350,12 @@ function ParameterDataResource({
16043
16350
  disabled,
16044
16351
  children
16045
16352
  }) {
16046
- return /* @__PURE__ */ jsxs60("div", { "data-testid": "parameter-data-connect-button", children: [
16047
- /* @__PURE__ */ jsxs60("span", { css: labelText2, children: [
16353
+ return /* @__PURE__ */ jsxs61("div", { "data-testid": "parameter-data-connect-button", children: [
16354
+ /* @__PURE__ */ jsxs61("span", { css: labelText2, children: [
16048
16355
  labelLeadingIcon ? labelLeadingIcon : null,
16049
16356
  label
16050
16357
  ] }),
16051
- /* @__PURE__ */ jsxs60(
16358
+ /* @__PURE__ */ jsxs61(
16052
16359
  "button",
16053
16360
  {
16054
16361
  type: "button",
@@ -16057,30 +16364,30 @@ function ParameterDataResource({
16057
16364
  disabled,
16058
16365
  onClick: onConnectDatasource,
16059
16366
  children: [
16060
- /* @__PURE__ */ jsx89("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ jsx89(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
16367
+ /* @__PURE__ */ jsx90("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ jsx90(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
16061
16368
  children
16062
16369
  ]
16063
16370
  }
16064
16371
  ),
16065
- caption ? /* @__PURE__ */ jsx89(Caption, { children: caption }) : null
16372
+ caption ? /* @__PURE__ */ jsx90(Caption, { children: caption }) : null
16066
16373
  ] });
16067
16374
  }
16068
16375
 
16069
16376
  // src/components/ParameterInputs/styles/ParameterDrawerHeader.styles.ts
16070
- import { css as css75 } from "@emotion/react";
16071
- var ParameterDrawerHeaderContainer = css75`
16377
+ import { css as css76 } from "@emotion/react";
16378
+ var ParameterDrawerHeaderContainer = css76`
16072
16379
  align-items: center;
16073
16380
  display: flex;
16074
16381
  gap: var(--spacing-base);
16075
16382
  justify-content: space-between;
16076
16383
  margin-bottom: var(--spacing-sm);
16077
16384
  `;
16078
- var ParameterDrawerHeaderTitleGroup = css75`
16385
+ var ParameterDrawerHeaderTitleGroup = css76`
16079
16386
  align-items: center;
16080
16387
  display: flex;
16081
16388
  gap: var(--spacing-sm);
16082
16389
  `;
16083
- var ParameterDrawerHeaderTitle = css75`
16390
+ var ParameterDrawerHeaderTitle = css76`
16084
16391
  text-overflow: ellipsis;
16085
16392
  white-space: nowrap;
16086
16393
  overflow: hidden;
@@ -16088,12 +16395,12 @@ var ParameterDrawerHeaderTitle = css75`
16088
16395
  `;
16089
16396
 
16090
16397
  // src/components/ParameterInputs/ParameterDrawerHeader.tsx
16091
- import { jsx as jsx90, jsxs as jsxs61 } from "@emotion/react/jsx-runtime";
16398
+ import { jsx as jsx91, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
16092
16399
  var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
16093
- return /* @__PURE__ */ jsxs61("div", { css: ParameterDrawerHeaderContainer, children: [
16094
- /* @__PURE__ */ jsxs61("header", { css: ParameterDrawerHeaderTitleGroup, children: [
16400
+ return /* @__PURE__ */ jsxs62("div", { css: ParameterDrawerHeaderContainer, children: [
16401
+ /* @__PURE__ */ jsxs62("header", { css: ParameterDrawerHeaderTitleGroup, children: [
16095
16402
  iconBeforeTitle,
16096
- /* @__PURE__ */ jsx90(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
16403
+ /* @__PURE__ */ jsx91(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
16097
16404
  ] }),
16098
16405
  children
16099
16406
  ] });
@@ -16103,8 +16410,8 @@ var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
16103
16410
  import { forwardRef as forwardRef10 } from "react";
16104
16411
 
16105
16412
  // src/components/ParameterInputs/styles/ParameterGroup.styles.ts
16106
- import { css as css76 } from "@emotion/react";
16107
- var fieldsetStyles = css76`
16413
+ import { css as css77 } from "@emotion/react";
16414
+ var fieldsetStyles = css77`
16108
16415
  &:disabled,
16109
16416
  [readonly] {
16110
16417
  pointer-events: none;
@@ -16115,7 +16422,7 @@ var fieldsetStyles = css76`
16115
16422
  }
16116
16423
  }
16117
16424
  `;
16118
- var fieldsetLegend2 = css76`
16425
+ var fieldsetLegend2 = css77`
16119
16426
  display: block;
16120
16427
  font-weight: var(--fw-medium);
16121
16428
  margin-bottom: var(--spacing-sm);
@@ -16123,11 +16430,11 @@ var fieldsetLegend2 = css76`
16123
16430
  `;
16124
16431
 
16125
16432
  // src/components/ParameterInputs/ParameterGroup.tsx
16126
- import { jsx as jsx91, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
16433
+ import { jsx as jsx92, jsxs as jsxs63 } from "@emotion/react/jsx-runtime";
16127
16434
  var ParameterGroup = forwardRef10(
16128
16435
  ({ 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 }),
16436
+ return /* @__PURE__ */ jsxs63("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
16437
+ /* @__PURE__ */ jsx92("legend", { css: fieldsetLegend2, children: legend }),
16131
16438
  children
16132
16439
  ] });
16133
16440
  }
@@ -16137,57 +16444,19 @@ var ParameterGroup = forwardRef10(
16137
16444
  import { forwardRef as forwardRef12, useDeferredValue } from "react";
16138
16445
 
16139
16446
  // src/components/ParameterInputs/ParameterImagePreview.tsx
16140
- import { useCallback as useCallback3, useEffect as useEffect9, useState as useState9 } from "react";
16447
+ import { useState as useState10 } from "react";
16141
16448
  import { createPortal as createPortal2 } from "react-dom";
16142
16449
 
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
16450
  // 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`
16451
+ import { css as css78 } from "@emotion/react";
16452
+ var previewWrapper = css78`
16184
16453
  margin-top: var(--spacing-xs);
16185
16454
  background: var(--gray-50);
16186
16455
  padding: var(--spacing-sm);
16187
16456
  border: solid 1px var(--gray-300);
16188
16457
  border-radius: var(--rounded-sm);
16189
16458
  `;
16190
- var previewLink = css77`
16459
+ var previewLink = css78`
16191
16460
  display: block;
16192
16461
  width: 100%;
16193
16462
 
@@ -16195,7 +16464,7 @@ var previewLink = css77`
16195
16464
  max-height: 9rem;
16196
16465
  }
16197
16466
  `;
16198
- var previewModalWrapper = css77`
16467
+ var previewModalWrapper = css78`
16199
16468
  background: var(--gray-50);
16200
16469
  display: flex;
16201
16470
  height: 100%;
@@ -16204,7 +16473,7 @@ var previewModalWrapper = css77`
16204
16473
  border: solid 1px var(--gray-300);
16205
16474
  border-radius: var(--rounded-sm);
16206
16475
  `;
16207
- var previewModalImage = css77`
16476
+ var previewModalImage = css78`
16208
16477
  display: flex;
16209
16478
  height: 100%;
16210
16479
  width: 100%;
@@ -16216,119 +16485,58 @@ var previewModalImage = css77`
16216
16485
  `;
16217
16486
 
16218
16487
  // src/components/ParameterInputs/ParameterImagePreview.tsx
16219
- import { Fragment as Fragment13, jsx as jsx92, jsxs as jsxs63 } from "@emotion/react/jsx-runtime";
16488
+ import { Fragment as Fragment14, jsx as jsx93, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
16220
16489
  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(
16490
+ const [showModal, setShowModal] = useState10(false);
16491
+ return imageSrc ? /* @__PURE__ */ jsxs64("div", { css: previewWrapper, children: [
16492
+ /* @__PURE__ */ jsx93(PreviewImageModal, { open: showModal, imageSrc, onRequestClose: () => setShowModal(false) }),
16493
+ /* @__PURE__ */ jsx93(
16225
16494
  "button",
16226
16495
  {
16227
16496
  css: previewLink,
16228
16497
  onClick: () => {
16229
16498
  setShowModal(true);
16230
16499
  },
16231
- children: /* @__PURE__ */ jsx92(Image, { src: imageSrc })
16500
+ children: /* @__PURE__ */ jsx93(Image, { src: imageSrc, "data-testid": "parameter-image-preview" })
16232
16501
  }
16233
16502
  )
16234
16503
  ] }) : null;
16235
16504
  }
16236
16505
  var PreviewImageModal = ({ open, onRequestClose, imageSrc }) => {
16237
- return open ? /* @__PURE__ */ jsx92(Fragment13, { children: createPortal2(
16238
- /* @__PURE__ */ jsx92(
16506
+ return open ? /* @__PURE__ */ jsx93(Fragment14, { children: createPortal2(
16507
+ /* @__PURE__ */ jsx93(
16239
16508
  Modal,
16240
16509
  {
16241
16510
  header: "Image Preview",
16242
16511
  onRequestClose,
16243
16512
  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 }) })
16513
+ buttonGroup: /* @__PURE__ */ jsx93(Button, { buttonType: "secondary", onClick: onRequestClose, children: "Ok" }),
16514
+ children: /* @__PURE__ */ jsx93("div", { css: previewModalWrapper, children: /* @__PURE__ */ jsx93(Image, { src: imageSrc, css: previewModalImage, "data-testid": "parameter-image-preview" }) })
16246
16515
  }
16247
16516
  ),
16248
16517
  document.body
16249
16518
  ) }) : null;
16250
16519
  };
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
16520
 
16313
16521
  // src/components/ParameterInputs/ParameterShell.tsx
16314
- import { useState as useState10 } from "react";
16522
+ import { useState as useState11 } from "react";
16315
16523
 
16316
16524
  // src/components/ParameterInputs/ParameterLabel.tsx
16317
- import { jsx as jsx93 } from "@emotion/react/jsx-runtime";
16525
+ import { jsx as jsx94 } from "@emotion/react/jsx-runtime";
16318
16526
  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 });
16527
+ return !asSpan ? /* @__PURE__ */ jsx94("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ jsx94("span", { "aria-labelledby": id, css: labelText2, children });
16320
16528
  };
16321
16529
 
16322
16530
  // src/components/ParameterInputs/ParameterMenuButton.tsx
16323
16531
  import { forwardRef as forwardRef11 } from "react";
16324
- import { jsx as jsx94 } from "@emotion/react/jsx-runtime";
16532
+ import { jsx as jsx95 } from "@emotion/react/jsx-runtime";
16325
16533
  var ParameterMenuButton = forwardRef11(
16326
16534
  ({ label, children }, ref) => {
16327
- return /* @__PURE__ */ jsx94(
16535
+ return /* @__PURE__ */ jsx95(
16328
16536
  Menu,
16329
16537
  {
16330
16538
  menuLabel: `${label} menu`,
16331
- menuTrigger: /* @__PURE__ */ jsx94(
16539
+ menuTrigger: /* @__PURE__ */ jsx95(
16332
16540
  "button",
16333
16541
  {
16334
16542
  className: "parameter-menu",
@@ -16336,7 +16544,7 @@ var ParameterMenuButton = forwardRef11(
16336
16544
  type: "button",
16337
16545
  "aria-label": `${label} options`,
16338
16546
  ref,
16339
- children: /* @__PURE__ */ jsx94(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
16547
+ children: /* @__PURE__ */ jsx95(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
16340
16548
  }
16341
16549
  ),
16342
16550
  children
@@ -16346,8 +16554,8 @@ var ParameterMenuButton = forwardRef11(
16346
16554
  );
16347
16555
 
16348
16556
  // src/components/ParameterInputs/styles/ParameterShell.styles.ts
16349
- import { css as css78 } from "@emotion/react";
16350
- var emptyParameterShell = css78`
16557
+ import { css as css79 } from "@emotion/react";
16558
+ var emptyParameterShell = css79`
16351
16559
  border-radius: var(--rounded-sm);
16352
16560
  background: var(--white);
16353
16561
  flex-grow: 1;
@@ -16355,7 +16563,7 @@ var emptyParameterShell = css78`
16355
16563
  position: relative;
16356
16564
  max-width: 100%;
16357
16565
  `;
16358
- var emptyParameterShellText = css78`
16566
+ var emptyParameterShellText = css79`
16359
16567
  background: var(--brand-secondary-6);
16360
16568
  border-radius: var(--rounded-sm);
16361
16569
  padding: var(--spacing-sm);
@@ -16363,7 +16571,7 @@ var emptyParameterShellText = css78`
16363
16571
  font-size: var(--fs-sm);
16364
16572
  margin: 0;
16365
16573
  `;
16366
- var overrideMarker = css78`
16574
+ var overrideMarker = css79`
16367
16575
  border-radius: var(--rounded-sm);
16368
16576
  border: 10px solid var(--gray-300);
16369
16577
  border-left-color: transparent;
@@ -16374,7 +16582,7 @@ var overrideMarker = css78`
16374
16582
  `;
16375
16583
 
16376
16584
  // src/components/ParameterInputs/ParameterShell.tsx
16377
- import { jsx as jsx95, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
16585
+ import { jsx as jsx96, jsxs as jsxs65 } from "@emotion/react/jsx-runtime";
16378
16586
  var extractParameterProps = (props) => {
16379
16587
  const {
16380
16588
  id,
@@ -16432,23 +16640,23 @@ var ParameterShell = ({
16432
16640
  children,
16433
16641
  ...props
16434
16642
  }) => {
16435
- const [manualErrorMessage, setManualErrorMessage] = useState10(void 0);
16643
+ const [manualErrorMessage, setManualErrorMessage] = useState11(void 0);
16436
16644
  const setErrorMessage = (message) => setManualErrorMessage(message);
16437
16645
  const errorMessaging = errorMessage || manualErrorMessage;
16438
- return /* @__PURE__ */ jsxs64("div", { css: inputContainer2, ...props, children: [
16439
- hiddenLabel || title ? null : /* @__PURE__ */ jsxs64(ParameterLabel, { id, css: labelText2, children: [
16646
+ return /* @__PURE__ */ jsxs65("div", { css: inputContainer2, ...props, children: [
16647
+ hiddenLabel || title ? null : /* @__PURE__ */ jsxs65(ParameterLabel, { id, css: labelText2, children: [
16440
16648
  labelLeadingIcon != null ? labelLeadingIcon : null,
16441
16649
  label,
16442
16650
  labelTrailingIcon != null ? labelTrailingIcon : null
16443
16651
  ] }),
16444
- !title ? null : /* @__PURE__ */ jsxs64(ParameterLabel, { id, asSpan: true, children: [
16652
+ !title ? null : /* @__PURE__ */ jsxs65(ParameterLabel, { id, asSpan: true, children: [
16445
16653
  labelLeadingIcon != null ? labelLeadingIcon : null,
16446
16654
  title,
16447
16655
  labelTrailingIcon != null ? labelTrailingIcon : null
16448
16656
  ] }),
16449
- /* @__PURE__ */ jsxs64("div", { css: inputWrapper, children: [
16450
- menuItems ? /* @__PURE__ */ jsx95(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
16451
- /* @__PURE__ */ jsx95(
16657
+ /* @__PURE__ */ jsxs65("div", { css: inputWrapper, children: [
16658
+ menuItems ? /* @__PURE__ */ jsx96(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
16659
+ /* @__PURE__ */ jsx96(
16452
16660
  ParameterShellContext.Provider,
16453
16661
  {
16454
16662
  value: {
@@ -16458,31 +16666,31 @@ var ParameterShell = ({
16458
16666
  errorMessage: errorMessaging,
16459
16667
  handleManuallySetErrorMessage: (message) => setErrorMessage(message)
16460
16668
  },
16461
- children: /* @__PURE__ */ jsxs64(ParameterShellPlaceholder, { children: [
16669
+ children: /* @__PURE__ */ jsxs65(ParameterShellPlaceholder, { children: [
16462
16670
  children,
16463
- hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx95(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
16671
+ hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx96(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
16464
16672
  ] })
16465
16673
  }
16466
16674
  )
16467
16675
  ] }),
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
16676
+ caption ? /* @__PURE__ */ jsx96(Caption, { testId: captionTestId, children: caption }) : null,
16677
+ errorMessaging ? /* @__PURE__ */ jsx96(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null,
16678
+ warningMessage ? /* @__PURE__ */ jsx96(WarningMessage, { message: warningMessage }) : null,
16679
+ infoMessage ? /* @__PURE__ */ jsx96(InfoMessage, { message: infoMessage }) : null
16472
16680
  ] });
16473
16681
  };
16474
16682
  var ParameterShellPlaceholder = ({ children }) => {
16475
- return /* @__PURE__ */ jsx95("div", { css: emptyParameterShell, children });
16683
+ return /* @__PURE__ */ jsx96("div", { css: emptyParameterShell, children });
16476
16684
  };
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" }) }) });
16685
+ 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
16686
 
16479
16687
  // src/components/ParameterInputs/ParameterImage.tsx
16480
- import { Fragment as Fragment14, jsx as jsx96, jsxs as jsxs65 } from "@emotion/react/jsx-runtime";
16688
+ import { Fragment as Fragment15, jsx as jsx97, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
16481
16689
  var ParameterImage = forwardRef12(
16482
16690
  ({ children, ...props }, ref) => {
16483
16691
  const { shellProps, innerProps } = extractParameterProps(props);
16484
- return /* @__PURE__ */ jsxs65(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: [
16485
- /* @__PURE__ */ jsx96(ParameterImageInner, { ref, ...innerProps }),
16692
+ return /* @__PURE__ */ jsxs66(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: [
16693
+ /* @__PURE__ */ jsx97(ParameterImageInner, { ref, ...innerProps }),
16486
16694
  children
16487
16695
  ] });
16488
16696
  }
@@ -16491,8 +16699,8 @@ var ParameterImageInner = forwardRef12((props, ref) => {
16491
16699
  const { value } = props;
16492
16700
  const { id, label, hiddenLabel, errorMessage } = useParameterShell();
16493
16701
  const deferredValue = useDeferredValue(value);
16494
- return /* @__PURE__ */ jsxs65(Fragment14, { children: [
16495
- /* @__PURE__ */ jsx96(
16702
+ return /* @__PURE__ */ jsxs66(Fragment15, { children: [
16703
+ /* @__PURE__ */ jsx97(
16496
16704
  "input",
16497
16705
  {
16498
16706
  css: input2,
@@ -16504,21 +16712,21 @@ var ParameterImageInner = forwardRef12((props, ref) => {
16504
16712
  ...props
16505
16713
  }
16506
16714
  ),
16507
- errorMessage || props.disablePreview ? null : /* @__PURE__ */ jsx96(ParameterImagePreview, { imageSrc: deferredValue })
16715
+ errorMessage || props.disablePreview ? null : /* @__PURE__ */ jsx97(ParameterImagePreview, { imageSrc: deferredValue })
16508
16716
  ] });
16509
16717
  });
16510
16718
 
16511
16719
  // src/components/ParameterInputs/ParameterInput.tsx
16512
16720
  import { forwardRef as forwardRef13 } from "react";
16513
- import { jsx as jsx97 } from "@emotion/react/jsx-runtime";
16721
+ import { jsx as jsx98 } from "@emotion/react/jsx-runtime";
16514
16722
  var ParameterInput = forwardRef13((props, ref) => {
16515
16723
  const { shellProps, innerProps } = extractParameterProps(props);
16516
- return /* @__PURE__ */ jsx97(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx97(ParameterInputInner, { ref, ...innerProps }) });
16724
+ return /* @__PURE__ */ jsx98(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx98(ParameterInputInner, { ref, ...innerProps }) });
16517
16725
  });
16518
16726
  var ParameterInputInner = forwardRef13(
16519
16727
  ({ ...props }, ref) => {
16520
16728
  const { id, label, hiddenLabel } = useParameterShell();
16521
- return /* @__PURE__ */ jsx97(
16729
+ return /* @__PURE__ */ jsx98(
16522
16730
  "input",
16523
16731
  {
16524
16732
  css: input2,
@@ -16535,18 +16743,18 @@ var ParameterInputInner = forwardRef13(
16535
16743
 
16536
16744
  // src/components/ParameterInputs/ParameterLink.tsx
16537
16745
  import { forwardRef as forwardRef14 } from "react";
16538
- import { jsx as jsx98, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
16746
+ import { jsx as jsx99, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
16539
16747
  var ParameterLink = forwardRef14(
16540
16748
  ({ disabled, onConnectLink, externalLink, ...props }, ref) => {
16541
16749
  const { shellProps, innerProps } = extractParameterProps(props);
16542
- return /* @__PURE__ */ jsx98(
16750
+ return /* @__PURE__ */ jsx99(
16543
16751
  ParameterShell,
16544
16752
  {
16545
16753
  "data-testid": "link-parameter-editor",
16546
16754
  ...shellProps,
16547
16755
  label: innerProps.value ? shellProps.label : "",
16548
16756
  title: !innerProps.value ? shellProps.label : void 0,
16549
- children: /* @__PURE__ */ jsx98(
16757
+ children: /* @__PURE__ */ jsx99(
16550
16758
  ParameterLinkInner,
16551
16759
  {
16552
16760
  onConnectLink,
@@ -16563,9 +16771,9 @@ var ParameterLinkInner = forwardRef14(
16563
16771
  ({ externalLink, onConnectLink, disabled, buttonText = "Select link", ...props }, ref) => {
16564
16772
  const { id, label, hiddenLabel } = useParameterShell();
16565
16773
  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(
16774
+ return /* @__PURE__ */ jsx99("button", { type: "button", css: dataConnectButton, disabled, onClick: onConnectLink, children: buttonText });
16775
+ return /* @__PURE__ */ jsxs67("div", { css: inputWrapper, children: [
16776
+ /* @__PURE__ */ jsx99(
16569
16777
  "input",
16570
16778
  {
16571
16779
  type: "text",
@@ -16577,8 +16785,8 @@ var ParameterLinkInner = forwardRef14(
16577
16785
  ...props
16578
16786
  }
16579
16787
  ),
16580
- /* @__PURE__ */ jsxs66("div", { css: linkParameterControls, children: [
16581
- /* @__PURE__ */ jsx98(
16788
+ /* @__PURE__ */ jsxs67("div", { css: linkParameterControls, children: [
16789
+ /* @__PURE__ */ jsx99(
16582
16790
  "button",
16583
16791
  {
16584
16792
  type: "button",
@@ -16589,7 +16797,7 @@ var ParameterLinkInner = forwardRef14(
16589
16797
  children: "edit"
16590
16798
  }
16591
16799
  ),
16592
- externalLink ? /* @__PURE__ */ jsx98(
16800
+ externalLink ? /* @__PURE__ */ jsx99(
16593
16801
  "a",
16594
16802
  {
16595
16803
  href: externalLink,
@@ -16597,7 +16805,7 @@ var ParameterLinkInner = forwardRef14(
16597
16805
  title: "Open link in new tab",
16598
16806
  target: "_blank",
16599
16807
  rel: "noopener noreferrer",
16600
- children: /* @__PURE__ */ jsx98(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
16808
+ children: /* @__PURE__ */ jsx99(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
16601
16809
  }
16602
16810
  ) : null
16603
16811
  ] })
@@ -16606,7 +16814,7 @@ var ParameterLinkInner = forwardRef14(
16606
16814
  );
16607
16815
 
16608
16816
  // src/components/ParameterInputs/ParameterNameAndPublicIdInput.tsx
16609
- import { Fragment as Fragment15, jsx as jsx99, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
16817
+ import { Fragment as Fragment16, jsx as jsx100, jsxs as jsxs68 } from "@emotion/react/jsx-runtime";
16610
16818
  var ParameterNameAndPublicIdInput = ({
16611
16819
  id,
16612
16820
  onBlur,
@@ -16632,8 +16840,8 @@ var ParameterNameAndPublicIdInput = ({
16632
16840
  navigator.clipboard.writeText(values[publicIdFieldName]);
16633
16841
  };
16634
16842
  autoFocus == null ? void 0 : autoFocus();
16635
- return /* @__PURE__ */ jsxs67(Fragment15, { children: [
16636
- /* @__PURE__ */ jsx99(
16843
+ return /* @__PURE__ */ jsxs68(Fragment16, { children: [
16844
+ /* @__PURE__ */ jsx100(
16637
16845
  ParameterInput,
16638
16846
  {
16639
16847
  id: nameIdField,
@@ -16652,7 +16860,7 @@ var ParameterNameAndPublicIdInput = ({
16652
16860
  value: values[nameIdField]
16653
16861
  }
16654
16862
  ),
16655
- /* @__PURE__ */ jsx99(
16863
+ /* @__PURE__ */ jsx100(
16656
16864
  ParameterInput,
16657
16865
  {
16658
16866
  id: publicIdFieldName,
@@ -16666,11 +16874,11 @@ var ParameterNameAndPublicIdInput = ({
16666
16874
  caption: publicIdCaption,
16667
16875
  placeholder: publicIdPlaceholderText,
16668
16876
  errorMessage: publicIdError,
16669
- menuItems: /* @__PURE__ */ jsx99(
16877
+ menuItems: /* @__PURE__ */ jsx100(
16670
16878
  MenuItem,
16671
16879
  {
16672
16880
  disabled: !values[publicIdFieldName],
16673
- icon: /* @__PURE__ */ jsx99(Icon, { icon: "path-trim", iconColor: "currentColor" }),
16881
+ icon: /* @__PURE__ */ jsx100(Icon, { icon: "path-trim", iconColor: "currentColor" }),
16674
16882
  onClick: handleCopyPidFieldValue,
16675
16883
  children: "Copy"
16676
16884
  }
@@ -16678,12 +16886,12 @@ var ParameterNameAndPublicIdInput = ({
16678
16886
  value: values[publicIdFieldName]
16679
16887
  }
16680
16888
  ),
16681
- (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx99(Callout, { type: "caution", children: warnOverLength.message }) : null
16889
+ (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx100(Callout, { type: "caution", children: warnOverLength.message }) : null
16682
16890
  ] });
16683
16891
  };
16684
16892
 
16685
16893
  // src/components/ParameterInputs/ParameterRichText.tsx
16686
- import { css as css82 } from "@emotion/react";
16894
+ import { css as css83 } from "@emotion/react";
16687
16895
  import { ListItemNode, ListNode as ListNode2 } from "@lexical/list";
16688
16896
  import {
16689
16897
  CODE,
@@ -16835,23 +17043,23 @@ function DisableStylesPlugin() {
16835
17043
  }
16836
17044
 
16837
17045
  // src/components/ParameterInputs/rich-text/editorStyles.ts
16838
- import { css as css79 } from "@emotion/css";
16839
- var textBold = css79`
17046
+ import { css as css80 } from "@emotion/css";
17047
+ var textBold = css80`
16840
17048
  font-weight: 700;
16841
17049
  `;
16842
- var textItalic = css79`
17050
+ var textItalic = css80`
16843
17051
  font-style: italic;
16844
17052
  `;
16845
- var textUnderline = css79`
17053
+ var textUnderline = css80`
16846
17054
  text-decoration: underline;
16847
17055
  `;
16848
- var textStrikethrough = css79`
17056
+ var textStrikethrough = css80`
16849
17057
  text-decoration: line-through;
16850
17058
  `;
16851
- var textUnderlineStrikethrough = css79`
17059
+ var textUnderlineStrikethrough = css80`
16852
17060
  text-decoration: underline line-through;
16853
17061
  `;
16854
- var textCode = css79`
17062
+ var textCode = css80`
16855
17063
  background-color: var(--gray-100);
16856
17064
  border-radius: var(--rounded-sm);
16857
17065
  display: inline-block;
@@ -16862,68 +17070,68 @@ var textCode = css79`
16862
17070
  padding-left: var(--spacing-xs);
16863
17071
  padding-right: var(--spacing-xs);
16864
17072
  `;
16865
- var textSuperscript = css79`
17073
+ var textSuperscript = css80`
16866
17074
  vertical-align: super;
16867
17075
  font-size: smaller;
16868
17076
  `;
16869
- var textSubscript = css79`
17077
+ var textSubscript = css80`
16870
17078
  vertical-align: sub;
16871
17079
  font-size: smaller;
16872
17080
  `;
16873
- var linkElement = css79`
17081
+ var linkElement = css80`
16874
17082
  ${link}
16875
17083
  ${linkColorDefault}
16876
17084
  text-decoration: underline;
16877
17085
  `;
16878
- var h12 = css79`
17086
+ var h12 = css80`
16879
17087
  font-size: clamp(1.35rem, var(--fluid-font-base), 1.7rem);
16880
17088
  `;
16881
- var h22 = css79`
17089
+ var h22 = css80`
16882
17090
  font-size: clamp(1.35rem, var(--fluid-font-base), 1.6rem);
16883
17091
  `;
16884
- var h32 = css79`
17092
+ var h32 = css80`
16885
17093
  font-size: clamp(1.25rem, var(--fluid-font-base), 1.5rem);
16886
17094
  `;
16887
- var h42 = css79`
17095
+ var h42 = css80`
16888
17096
  font-size: clamp(1.15rem, var(--fluid-font-base), 1.25rem);
16889
17097
  `;
16890
- var h52 = css79`
17098
+ var h52 = css80`
16891
17099
  font-size: clamp(var(--fs-base), var(--fluid-font-base), 1.15rem);
16892
17100
  `;
16893
- var h62 = css79`
17101
+ var h62 = css80`
16894
17102
  font-size: var(--fs-base);
16895
17103
  `;
16896
- var heading1Element = css79`
17104
+ var heading1Element = css80`
16897
17105
  ${h12}
16898
17106
  ${commonHeadingAttr(true)}
16899
17107
  ${commonLineHeight}
16900
17108
  `;
16901
- var heading2Element = css79`
17109
+ var heading2Element = css80`
16902
17110
  ${h22}
16903
17111
  ${commonHeadingAttr(true)}
16904
17112
  ${commonLineHeight}
16905
17113
  `;
16906
- var heading3Element = css79`
17114
+ var heading3Element = css80`
16907
17115
  ${h32}
16908
17116
  ${commonHeadingAttr(true)}
16909
17117
  ${commonLineHeight}
16910
17118
  `;
16911
- var heading4Element = css79`
17119
+ var heading4Element = css80`
16912
17120
  ${h42}
16913
17121
  ${commonHeadingAttr(true)}
16914
17122
  ${commonLineHeight}
16915
17123
  `;
16916
- var heading5Element = css79`
17124
+ var heading5Element = css80`
16917
17125
  ${h52}
16918
17126
  ${commonHeadingAttr(true)}
16919
17127
  ${commonLineHeight}
16920
17128
  `;
16921
- var heading6Element = css79`
17129
+ var heading6Element = css80`
16922
17130
  ${h62}
16923
17131
  ${commonHeadingAttr(true)}
16924
17132
  ${commonLineHeight}
16925
17133
  `;
16926
- var paragraphElement = css79`
17134
+ var paragraphElement = css80`
16927
17135
  line-height: 1.5;
16928
17136
  margin-bottom: var(--spacing-base);
16929
17137
 
@@ -16931,7 +17139,7 @@ var paragraphElement = css79`
16931
17139
  margin-bottom: 0;
16932
17140
  }
16933
17141
  `;
16934
- var orderedListElement = css79`
17142
+ var orderedListElement = css80`
16935
17143
  ${commonLineHeight}
16936
17144
  display: block;
16937
17145
  list-style: decimal;
@@ -16960,7 +17168,7 @@ var orderedListElement = css79`
16960
17168
  }
16961
17169
  }
16962
17170
  `;
16963
- var unorderedListElement = css79`
17171
+ var unorderedListElement = css80`
16964
17172
  ${commonLineHeight}
16965
17173
  display: block;
16966
17174
  list-style: disc;
@@ -16981,13 +17189,13 @@ var unorderedListElement = css79`
16981
17189
  }
16982
17190
  }
16983
17191
  `;
16984
- var listItemElement = css79`
17192
+ var listItemElement = css80`
16985
17193
  margin-left: var(--spacing-md);
16986
17194
  `;
16987
- var nestedListItemElement = css79`
17195
+ var nestedListItemElement = css80`
16988
17196
  list-style-type: none;
16989
17197
  `;
16990
- var blockquoteElement = css79`
17198
+ var blockquoteElement = css80`
16991
17199
  border-left: 0.25rem solid var(--gray-300);
16992
17200
  color: var(--gray-600);
16993
17201
  margin-bottom: var(--spacing-base);
@@ -16997,7 +17205,7 @@ var blockquoteElement = css79`
16997
17205
  margin-bottom: 0;
16998
17206
  }
16999
17207
  `;
17000
- var codeElement = css79`
17208
+ var codeElement = css80`
17001
17209
  background-color: var(--gray-100);
17002
17210
  border-radius: var(--rounded-sm);
17003
17211
  display: block;
@@ -17014,7 +17222,7 @@ var codeElement = css79`
17014
17222
  `;
17015
17223
 
17016
17224
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
17017
- import { css as css80 } from "@emotion/react";
17225
+ import { css as css81 } from "@emotion/react";
17018
17226
  import { useLexicalComposerContext as useLexicalComposerContext2 } from "@lexical/react/LexicalComposerContext";
17019
17227
  import { NodeEventPlugin } from "@lexical/react/LexicalNodeEventPlugin";
17020
17228
  import { addClassNamesToElement, isHTMLAnchorElement, mergeRegister as mergeRegister2 } from "@lexical/utils";
@@ -17030,7 +17238,7 @@ import {
17030
17238
  ElementNode as ElementNode2,
17031
17239
  FOCUS_COMMAND
17032
17240
  } from "lexical";
17033
- import { useCallback as useCallback4, useEffect as useEffect11, useRef as useRef6, useState as useState11 } from "react";
17241
+ import { useCallback as useCallback4, useEffect as useEffect11, useRef as useRef6, useState as useState12 } from "react";
17034
17242
 
17035
17243
  // src/components/ParameterInputs/rich-text/utils.ts
17036
17244
  import { $isAtNodeEnd } from "@lexical/selection";
@@ -17068,7 +17276,7 @@ var getSelectedNode = (selection) => {
17068
17276
  };
17069
17277
 
17070
17278
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
17071
- import { Fragment as Fragment16, jsx as jsx100, jsxs as jsxs68 } from "@emotion/react/jsx-runtime";
17279
+ import { Fragment as Fragment17, jsx as jsx101, jsxs as jsxs69 } from "@emotion/react/jsx-runtime";
17072
17280
  var isProjectMapLinkValue = (value) => {
17073
17281
  return (value == null ? void 0 : value.type) === "projectMapNode" && Boolean(
17074
17282
  value.nodeId && value.path && value.projectMapId
@@ -17355,16 +17563,16 @@ var OPEN_LINK_NODE_MODAL_COMMAND = createCommand(
17355
17563
  );
17356
17564
  var LINK_POPOVER_OFFSET_X = 0;
17357
17565
  var LINK_POPOVER_OFFSET_Y = 8;
17358
- var linkPopover = css80`
17566
+ var linkPopover = css81`
17359
17567
  position: absolute;
17360
17568
  z-index: 5;
17361
17569
  `;
17362
- var linkPopoverContainer = css80`
17570
+ var linkPopoverContainer = css81`
17363
17571
  ${Popover};
17364
17572
  align-items: center;
17365
17573
  display: flex;
17366
17574
  `;
17367
- var linkPopoverAnchor = css80`
17575
+ var linkPopoverAnchor = css81`
17368
17576
  ${link}
17369
17577
  ${linkColorDefault}
17370
17578
  `;
@@ -17373,10 +17581,10 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17373
17581
  return path;
17374
17582
  };
17375
17583
  const [editor] = useLexicalComposerContext2();
17376
- const [linkPopoverState, setLinkPopoverState] = useState11();
17584
+ const [linkPopoverState, setLinkPopoverState] = useState12();
17377
17585
  const linkPopoverElRef = useRef6(null);
17378
- const [isEditorFocused, setIsEditorFocused] = useState11(false);
17379
- const [isLinkPopoverFocused, setIsLinkPopoverFocused] = useState11(false);
17586
+ const [isEditorFocused, setIsEditorFocused] = useState12(false);
17587
+ const [isLinkPopoverFocused, setIsLinkPopoverFocused] = useState12(false);
17380
17588
  useEffect11(() => {
17381
17589
  if (!isEditorFocused && !isLinkPopoverFocused) {
17382
17590
  setLinkPopoverState(void 0);
@@ -17511,8 +17719,8 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17511
17719
  });
17512
17720
  });
17513
17721
  };
17514
- return /* @__PURE__ */ jsxs68(Fragment16, { children: [
17515
- /* @__PURE__ */ jsx100(
17722
+ return /* @__PURE__ */ jsxs69(Fragment17, { children: [
17723
+ /* @__PURE__ */ jsx101(
17516
17724
  NodeEventPlugin,
17517
17725
  {
17518
17726
  nodeType: LinkNode,
@@ -17522,7 +17730,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17522
17730
  }
17523
17731
  }
17524
17732
  ),
17525
- linkPopoverState ? /* @__PURE__ */ jsx100(
17733
+ linkPopoverState ? /* @__PURE__ */ jsx101(
17526
17734
  "div",
17527
17735
  {
17528
17736
  css: linkPopover,
@@ -17531,8 +17739,8 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17531
17739
  top: linkPopoverState.position.y
17532
17740
  },
17533
17741
  ref: linkPopoverElRef,
17534
- children: /* @__PURE__ */ jsxs68("div", { css: linkPopoverContainer, children: [
17535
- linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ jsx100(
17742
+ children: /* @__PURE__ */ jsxs69("div", { css: linkPopoverContainer, children: [
17743
+ linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ jsx101(
17536
17744
  "a",
17537
17745
  {
17538
17746
  href: parsePath(
@@ -17544,7 +17752,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17544
17752
  children: parsePath(linkPopoverState.node.__link.path)
17545
17753
  }
17546
17754
  ),
17547
- /* @__PURE__ */ jsx100(
17755
+ /* @__PURE__ */ jsx101(
17548
17756
  Button,
17549
17757
  {
17550
17758
  size: "xs",
@@ -17552,7 +17760,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17552
17760
  onEditLinkNode(linkPopoverState.node);
17553
17761
  },
17554
17762
  buttonType: "ghost",
17555
- children: /* @__PURE__ */ jsx100(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
17763
+ children: /* @__PURE__ */ jsx101(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
17556
17764
  }
17557
17765
  )
17558
17766
  ] })
@@ -17577,7 +17785,7 @@ import {
17577
17785
  INDENT_CONTENT_COMMAND
17578
17786
  } from "lexical";
17579
17787
  import { useEffect as useEffect12 } from "react";
17580
- import { jsx as jsx101 } from "@emotion/react/jsx-runtime";
17788
+ import { jsx as jsx102 } from "@emotion/react/jsx-runtime";
17581
17789
  function isIndentPermitted(maxDepth) {
17582
17790
  const selection = $getSelection2();
17583
17791
  if (!$isRangeSelection2(selection)) {
@@ -17607,11 +17815,11 @@ function ListIndentPlugin({ maxDepth }) {
17607
17815
  COMMAND_PRIORITY_CRITICAL
17608
17816
  );
17609
17817
  }, [editor, maxDepth]);
17610
- return /* @__PURE__ */ jsx101(TabIndentationPlugin, {});
17818
+ return /* @__PURE__ */ jsx102(TabIndentationPlugin, {});
17611
17819
  }
17612
17820
 
17613
17821
  // src/components/ParameterInputs/rich-text/RichTextToolbar.tsx
17614
- import { css as css81 } from "@emotion/react";
17822
+ import { css as css82 } from "@emotion/react";
17615
17823
  import { $createCodeNode } from "@lexical/code";
17616
17824
  import {
17617
17825
  $isListNode as $isListNode2,
@@ -17633,9 +17841,9 @@ import {
17633
17841
  FORMAT_TEXT_COMMAND,
17634
17842
  SELECTION_CHANGE_COMMAND
17635
17843
  } 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`
17844
+ import { useCallback as useCallback5, useEffect as useEffect13, useMemo as useMemo3, useState as useState13 } from "react";
17845
+ import { Fragment as Fragment18, jsx as jsx103, jsxs as jsxs70 } from "@emotion/react/jsx-runtime";
17846
+ var toolbar = css82`
17639
17847
  background: var(--gray-50);
17640
17848
  border-radius: var(--rounded-base);
17641
17849
  display: flex;
@@ -17647,7 +17855,7 @@ var toolbar = css81`
17647
17855
  top: calc(var(--spacing-sm) * -2);
17648
17856
  z-index: 10;
17649
17857
  `;
17650
- var toolbarGroup = css81`
17858
+ var toolbarGroup = css82`
17651
17859
  display: flex;
17652
17860
  gap: var(--spacing-xs);
17653
17861
  position: relative;
@@ -17663,7 +17871,7 @@ var toolbarGroup = css81`
17663
17871
  width: 1px;
17664
17872
  }
17665
17873
  `;
17666
- var richTextToolbarButton = css81`
17874
+ var richTextToolbarButton = css82`
17667
17875
  align-items: center;
17668
17876
  appearance: none;
17669
17877
  border: 0;
@@ -17676,17 +17884,17 @@ var richTextToolbarButton = css81`
17676
17884
  min-width: 32px;
17677
17885
  padding: 0 var(--spacing-sm);
17678
17886
  `;
17679
- var richTextToolbarButtonActive = css81`
17887
+ var richTextToolbarButtonActive = css82`
17680
17888
  background: var(--gray-200);
17681
17889
  `;
17682
- var toolbarIcon = css81`
17890
+ var toolbarIcon = css82`
17683
17891
  color: inherit;
17684
17892
  `;
17685
- var toolbarChevron = css81`
17893
+ var toolbarChevron = css82`
17686
17894
  margin-left: var(--spacing-xs);
17687
17895
  `;
17688
17896
  var RichTextToolbarIcon = ({ icon }) => {
17689
- return /* @__PURE__ */ jsx102(Icon, { icon, css: toolbarIcon, size: "1rem" });
17897
+ return /* @__PURE__ */ jsx103(Icon, { icon, css: toolbarIcon, size: "1rem" });
17690
17898
  };
17691
17899
  var FORMATS_WITH_ICON = /* @__PURE__ */ new Map([
17692
17900
  ["bold", "format-bold"],
@@ -17795,15 +18003,15 @@ var RichTextToolbar = ({ config, customControls }) => {
17795
18003
  });
17796
18004
  });
17797
18005
  }, [editor, updateToolbar]);
17798
- return /* @__PURE__ */ jsxs69("div", { css: toolbar, children: [
17799
- /* @__PURE__ */ jsxs69(
18006
+ return /* @__PURE__ */ jsxs70("div", { css: toolbar, children: [
18007
+ /* @__PURE__ */ jsxs70(
17800
18008
  Menu,
17801
18009
  {
17802
18010
  menuLabel: "Elements",
17803
- menuTrigger: /* @__PURE__ */ jsxs69("button", { css: richTextToolbarButton, title: "Text styles", children: [
18011
+ menuTrigger: /* @__PURE__ */ jsxs70("button", { css: richTextToolbarButton, title: "Text styles", children: [
17804
18012
  visibleTextualElements.some((element) => element.type === activeElement) ? getLabelForElement(activeElement) : getLabelForElement("paragraph"),
17805
18013
  " ",
17806
- /* @__PURE__ */ jsx102(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
18014
+ /* @__PURE__ */ jsx103(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
17807
18015
  ] }),
17808
18016
  placement: "bottom-start",
17809
18017
  children: [
@@ -17813,7 +18021,7 @@ var RichTextToolbar = ({ config, customControls }) => {
17813
18021
  type: "paragraph"
17814
18022
  },
17815
18023
  ...visibleTextualElements
17816
- ].map((element) => /* @__PURE__ */ jsx102(
18024
+ ].map((element) => /* @__PURE__ */ jsx103(
17817
18025
  MenuItem,
17818
18026
  {
17819
18027
  onClick: () => {
@@ -17823,12 +18031,12 @@ var RichTextToolbar = ({ config, customControls }) => {
17823
18031
  },
17824
18032
  element.type
17825
18033
  )),
17826
- visibleTextualElements.length === 0 ? /* @__PURE__ */ jsx102(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
18034
+ visibleTextualElements.length === 0 ? /* @__PURE__ */ jsx103(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
17827
18035
  ]
17828
18036
  }
17829
18037
  ),
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(
18038
+ visibleFormatsWithIcon.length > 0 || visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsxs70("div", { css: toolbarGroup, children: [
18039
+ visibleFormatsWithIcon.map((format) => /* @__PURE__ */ jsx103(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ jsx103(
17832
18040
  "button",
17833
18041
  {
17834
18042
  onClick: () => {
@@ -17838,16 +18046,16 @@ var RichTextToolbar = ({ config, customControls }) => {
17838
18046
  richTextToolbarButton,
17839
18047
  activeFormats.includes(format.type) ? richTextToolbarButtonActive : null
17840
18048
  ],
17841
- children: /* @__PURE__ */ jsx102(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
18049
+ children: /* @__PURE__ */ jsx103(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
17842
18050
  }
17843
18051
  ) }, format.type)),
17844
- visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsx102(
18052
+ visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsx103(
17845
18053
  Menu,
17846
18054
  {
17847
18055
  menuLabel: "Alternative text styles",
17848
- menuTrigger: /* @__PURE__ */ jsx102("button", { css: richTextToolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ jsx102(Icon, { icon: "more-alt", css: toolbarIcon }) }),
18056
+ menuTrigger: /* @__PURE__ */ jsx103("button", { css: richTextToolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ jsx103(Icon, { icon: "more-alt", css: toolbarIcon }) }),
17849
18057
  placement: "bottom-start",
17850
- children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ jsx102(
18058
+ children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ jsx103(
17851
18059
  MenuItem,
17852
18060
  {
17853
18061
  onClick: () => {
@@ -17860,19 +18068,19 @@ var RichTextToolbar = ({ config, customControls }) => {
17860
18068
  }
17861
18069
  ) : null
17862
18070
  ] }) : null,
17863
- visibleElementsWithIcons.size > 0 ? /* @__PURE__ */ jsxs69("div", { css: toolbarGroup, children: [
17864
- linkElementVisible ? /* @__PURE__ */ jsx102(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ jsx102(
18071
+ visibleElementsWithIcons.size > 0 ? /* @__PURE__ */ jsxs70("div", { css: toolbarGroup, children: [
18072
+ linkElementVisible ? /* @__PURE__ */ jsx103(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ jsx103(
17865
18073
  "button",
17866
18074
  {
17867
18075
  onClick: () => {
17868
18076
  isLink ? editor.dispatchCommand(REMOVE_LINK_NODE_COMMAND, {}) : editor.dispatchCommand(OPEN_LINK_NODE_MODAL_COMMAND, {});
17869
18077
  },
17870
18078
  css: [richTextToolbarButton, isLink ? richTextToolbarButtonActive : null],
17871
- children: /* @__PURE__ */ jsx102(RichTextToolbarIcon, { icon: "link" })
18079
+ children: /* @__PURE__ */ jsx103(RichTextToolbarIcon, { icon: "link" })
17872
18080
  }
17873
18081
  ) }) : null,
17874
- visibleLists.size > 0 ? /* @__PURE__ */ jsxs69(Fragment17, { children: [
17875
- visibleLists.has("unorderedList") ? /* @__PURE__ */ jsx102(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ jsx102(
18082
+ visibleLists.size > 0 ? /* @__PURE__ */ jsxs70(Fragment18, { children: [
18083
+ visibleLists.has("unorderedList") ? /* @__PURE__ */ jsx103(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ jsx103(
17876
18084
  "button",
17877
18085
  {
17878
18086
  onClick: () => {
@@ -17882,10 +18090,10 @@ var RichTextToolbar = ({ config, customControls }) => {
17882
18090
  richTextToolbarButton,
17883
18091
  activeElement === "unorderedList" ? richTextToolbarButtonActive : null
17884
18092
  ],
17885
- children: /* @__PURE__ */ jsx102(RichTextToolbarIcon, { icon: "layout-list" })
18093
+ children: /* @__PURE__ */ jsx103(RichTextToolbarIcon, { icon: "layout-list" })
17886
18094
  }
17887
18095
  ) }) : null,
17888
- visibleLists.has("orderedList") ? /* @__PURE__ */ jsx102(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ jsx102(
18096
+ visibleLists.has("orderedList") ? /* @__PURE__ */ jsx103(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ jsx103(
17889
18097
  "button",
17890
18098
  {
17891
18099
  onClick: () => {
@@ -17895,32 +18103,32 @@ var RichTextToolbar = ({ config, customControls }) => {
17895
18103
  richTextToolbarButton,
17896
18104
  activeElement === "orderedList" ? richTextToolbarButtonActive : null
17897
18105
  ],
17898
- children: /* @__PURE__ */ jsx102(RichTextToolbarIcon, { icon: "layout-list-numbered" })
18106
+ children: /* @__PURE__ */ jsx103(RichTextToolbarIcon, { icon: "layout-list-numbered" })
17899
18107
  }
17900
18108
  ) }) : null
17901
18109
  ] }) : null,
17902
- quoteElementVisible ? /* @__PURE__ */ jsx102(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ jsx102(
18110
+ quoteElementVisible ? /* @__PURE__ */ jsx103(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ jsx103(
17903
18111
  "button",
17904
18112
  {
17905
18113
  onClick: () => {
17906
18114
  activeElement === "quote" ? onSelectElement("paragraph") : onSelectElement("quote");
17907
18115
  },
17908
18116
  css: [richTextToolbarButton, activeElement === "quote" ? richTextToolbarButtonActive : null],
17909
- children: /* @__PURE__ */ jsx102(RichTextToolbarIcon, { icon: "quote" })
18117
+ children: /* @__PURE__ */ jsx103(RichTextToolbarIcon, { icon: "quote" })
17910
18118
  }
17911
18119
  ) }) : null,
17912
- codeElementVisible ? /* @__PURE__ */ jsx102(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ jsx102(
18120
+ codeElementVisible ? /* @__PURE__ */ jsx103(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ jsx103(
17913
18121
  "button",
17914
18122
  {
17915
18123
  onClick: () => {
17916
18124
  activeElement === "code" ? onSelectElement("paragraph") : onSelectElement("code");
17917
18125
  },
17918
18126
  css: [richTextToolbarButton, activeElement === "code" ? richTextToolbarButtonActive : null],
17919
- children: /* @__PURE__ */ jsx102(RichTextToolbarIcon, { icon: "code-slash" })
18127
+ children: /* @__PURE__ */ jsx103(RichTextToolbarIcon, { icon: "code-slash" })
17920
18128
  }
17921
18129
  ) }) : null
17922
18130
  ] }) : null,
17923
- customControls ? /* @__PURE__ */ jsx102("div", { css: toolbarGroup, children: customControls }) : null
18131
+ customControls ? /* @__PURE__ */ jsx103("div", { css: toolbarGroup, children: customControls }) : null
17924
18132
  ] });
17925
18133
  };
17926
18134
  var RichTextToolbar_default = RichTextToolbar;
@@ -17944,7 +18152,7 @@ var useRichTextToolbarState = ({ config }) => {
17944
18152
  const enabledBuiltInFormatsWithoutIcon = enabledBuiltInFormats.filter(
17945
18153
  (format) => !FORMATS_WITH_ICON.has(format.type)
17946
18154
  );
17947
- const [activeFormats, setActiveFormats] = useState12([]);
18155
+ const [activeFormats, setActiveFormats] = useState13([]);
17948
18156
  const visibleFormatsWithIcon = useMemo3(() => {
17949
18157
  const visibleFormats = /* @__PURE__ */ new Set();
17950
18158
  activeFormats.filter((type) => FORMATS_WITH_ICON.has(type)).forEach((type) => {
@@ -17965,7 +18173,7 @@ var useRichTextToolbarState = ({ config }) => {
17965
18173
  });
17966
18174
  return richTextBuiltInFormats.filter((format) => visibleFormats.has(format.type));
17967
18175
  }, [activeFormats, enabledBuiltInFormatsWithoutIcon]);
17968
- const [activeElement, setActiveElement] = useState12("paragraph");
18176
+ const [activeElement, setActiveElement] = useState13("paragraph");
17969
18177
  const enabledTextualElements = enabledBuiltInElements.filter(
17970
18178
  (element) => TEXTUAL_ELEMENTS.includes(element.type)
17971
18179
  );
@@ -17980,7 +18188,7 @@ var useRichTextToolbarState = ({ config }) => {
17980
18188
  }
17981
18189
  );
17982
18190
  }, [activeElement, (_a = config == null ? void 0 : config.elements) == null ? void 0 : _a.builtIn, enabledTextualElements]);
17983
- const [isLink, setIsLink] = useState12(false);
18191
+ const [isLink, setIsLink] = useState13(false);
17984
18192
  const linkElementVisible = useMemo3(() => {
17985
18193
  return enabledBuiltInElements.some((element) => element.type === "link") || isLink;
17986
18194
  }, [isLink, enabledBuiltInElements]);
@@ -18034,7 +18242,7 @@ var useRichTextToolbarState = ({ config }) => {
18034
18242
  };
18035
18243
 
18036
18244
  // src/components/ParameterInputs/ParameterRichText.tsx
18037
- import { Fragment as Fragment18, jsx as jsx103, jsxs as jsxs70 } from "@emotion/react/jsx-runtime";
18245
+ import { Fragment as Fragment19, jsx as jsx104, jsxs as jsxs71 } from "@emotion/react/jsx-runtime";
18038
18246
  var ParameterRichText = ({
18039
18247
  label,
18040
18248
  labelLeadingIcon,
@@ -18059,7 +18267,7 @@ var ParameterRichText = ({
18059
18267
  variables,
18060
18268
  customControls
18061
18269
  }) => {
18062
- return /* @__PURE__ */ jsxs70(
18270
+ return /* @__PURE__ */ jsxs71(
18063
18271
  ParameterShell,
18064
18272
  {
18065
18273
  "data-testid": "parameter-input",
@@ -18073,7 +18281,7 @@ var ParameterRichText = ({
18073
18281
  captionTestId,
18074
18282
  menuItems,
18075
18283
  children: [
18076
- /* @__PURE__ */ jsx103(
18284
+ /* @__PURE__ */ jsx104(
18077
18285
  ParameterRichTextInner,
18078
18286
  {
18079
18287
  value,
@@ -18091,23 +18299,23 @@ var ParameterRichText = ({
18091
18299
  children
18092
18300
  }
18093
18301
  ),
18094
- menuItems ? /* @__PURE__ */ jsx103(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx103(Fragment18, { children: menuItems }) }) : null
18302
+ menuItems ? /* @__PURE__ */ jsx104(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx104(Fragment19, { children: menuItems }) }) : null
18095
18303
  ]
18096
18304
  }
18097
18305
  );
18098
18306
  };
18099
- var editorWrapper = css82`
18307
+ var editorWrapper = css83`
18100
18308
  display: flex;
18101
18309
  flex-flow: column;
18102
18310
  flex-grow: 1;
18103
18311
  `;
18104
- var editorContainer = css82`
18312
+ var editorContainer = css83`
18105
18313
  display: flex;
18106
18314
  flex-flow: column;
18107
18315
  flex-grow: 1;
18108
18316
  position: relative;
18109
18317
  `;
18110
- var editorPlaceholder = css82`
18318
+ var editorPlaceholder = css83`
18111
18319
  color: var(--gray-500);
18112
18320
  font-style: italic;
18113
18321
  /* 1px is added to make sure caret is clearly visible when field is focused
@@ -18118,7 +18326,7 @@ var editorPlaceholder = css82`
18118
18326
  top: var(--spacing-xs);
18119
18327
  user-select: none;
18120
18328
  `;
18121
- var editorInput = css82`
18329
+ var editorInput = css83`
18122
18330
  background: var(--white);
18123
18331
  border: 1px solid var(--white);
18124
18332
  border-radius: var(--rounded-sm);
@@ -18202,8 +18410,8 @@ var ParameterRichTextInner = ({
18202
18410
  },
18203
18411
  editable: !readOnly
18204
18412
  };
18205
- return /* @__PURE__ */ jsxs70(Fragment18, { children: [
18206
- /* @__PURE__ */ jsx103("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ jsx103(LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ jsx103(
18413
+ return /* @__PURE__ */ jsxs71(Fragment19, { children: [
18414
+ /* @__PURE__ */ jsx104("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ jsx104(LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ jsx104(
18207
18415
  RichText,
18208
18416
  {
18209
18417
  onChange,
@@ -18259,20 +18467,20 @@ var RichText = ({
18259
18467
  removeUpdateListener();
18260
18468
  };
18261
18469
  }, []);
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(
18470
+ return /* @__PURE__ */ jsxs71(Fragment19, { children: [
18471
+ readOnly ? null : /* @__PURE__ */ jsx104(RichTextToolbar_default, { config, customControls }),
18472
+ /* @__PURE__ */ jsxs71("div", { css: editorContainer, ref: editorContainerRef, "data-testid": "value-container", children: [
18473
+ /* @__PURE__ */ jsx104(
18266
18474
  RichTextPlugin,
18267
18475
  {
18268
- contentEditable: /* @__PURE__ */ jsx103(ContentEditable, { css: editorInput, className: editorInputClassName }),
18269
- placeholder: /* @__PURE__ */ jsx103("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
18476
+ contentEditable: /* @__PURE__ */ jsx104(ContentEditable, { css: editorInput, className: editorInputClassName }),
18477
+ placeholder: /* @__PURE__ */ jsx104("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
18270
18478
  ErrorBoundary: LexicalErrorBoundary
18271
18479
  }
18272
18480
  ),
18273
- /* @__PURE__ */ jsx103(ListPlugin, {}),
18274
- readOnly ? null : /* @__PURE__ */ jsx103(HistoryPlugin, {}),
18275
- /* @__PURE__ */ jsx103(
18481
+ /* @__PURE__ */ jsx104(ListPlugin, {}),
18482
+ readOnly ? null : /* @__PURE__ */ jsx104(HistoryPlugin, {}),
18483
+ /* @__PURE__ */ jsx104(
18276
18484
  LinkNodePlugin,
18277
18485
  {
18278
18486
  onConnectLink: onConnectLink ? onConnectLink : () => Promise.resolve(),
@@ -18282,27 +18490,27 @@ var RichText = ({
18282
18490
  } : void 0
18283
18491
  }
18284
18492
  ),
18285
- /* @__PURE__ */ jsx103(ListIndentPlugin, { maxDepth: 4 }),
18286
- /* @__PURE__ */ jsx103(DisableStylesPlugin, {}),
18287
- /* @__PURE__ */ jsx103(MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS }),
18288
- /* @__PURE__ */ jsx103(Fragment18, { children })
18493
+ /* @__PURE__ */ jsx104(ListIndentPlugin, { maxDepth: 4 }),
18494
+ /* @__PURE__ */ jsx104(DisableStylesPlugin, {}),
18495
+ /* @__PURE__ */ jsx104(MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS }),
18496
+ /* @__PURE__ */ jsx104(Fragment19, { children })
18289
18497
  ] })
18290
18498
  ] });
18291
18499
  };
18292
18500
 
18293
18501
  // src/components/ParameterInputs/ParameterSelect.tsx
18294
18502
  import { forwardRef as forwardRef15 } from "react";
18295
- import { jsx as jsx104, jsxs as jsxs71 } from "@emotion/react/jsx-runtime";
18503
+ import { jsx as jsx105, jsxs as jsxs72 } from "@emotion/react/jsx-runtime";
18296
18504
  var ParameterSelect = forwardRef15(
18297
18505
  ({ defaultOption, options, ...props }, ref) => {
18298
18506
  const { shellProps, innerProps } = extractParameterProps(props);
18299
- return /* @__PURE__ */ jsx104(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx104(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
18507
+ return /* @__PURE__ */ jsx105(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx105(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
18300
18508
  }
18301
18509
  );
18302
18510
  var ParameterSelectInner = forwardRef15(
18303
18511
  ({ defaultOption, options, ...props }, ref) => {
18304
18512
  const { id, label, hiddenLabel } = useParameterShell();
18305
- return /* @__PURE__ */ jsxs71(
18513
+ return /* @__PURE__ */ jsxs72(
18306
18514
  "select",
18307
18515
  {
18308
18516
  css: [input2, selectInput],
@@ -18311,10 +18519,10 @@ var ParameterSelectInner = forwardRef15(
18311
18519
  ref,
18312
18520
  ...props,
18313
18521
  children: [
18314
- defaultOption ? /* @__PURE__ */ jsx104("option", { value: "", children: defaultOption }) : null,
18522
+ defaultOption ? /* @__PURE__ */ jsx105("option", { value: "", children: defaultOption }) : null,
18315
18523
  options.map((option) => {
18316
18524
  var _a;
18317
- return /* @__PURE__ */ jsx104("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
18525
+ return /* @__PURE__ */ jsx105("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
18318
18526
  })
18319
18527
  ]
18320
18528
  }
@@ -18324,14 +18532,14 @@ var ParameterSelectInner = forwardRef15(
18324
18532
 
18325
18533
  // src/components/ParameterInputs/ParameterTextarea.tsx
18326
18534
  import { forwardRef as forwardRef16 } from "react";
18327
- import { jsx as jsx105 } from "@emotion/react/jsx-runtime";
18535
+ import { jsx as jsx106 } from "@emotion/react/jsx-runtime";
18328
18536
  var ParameterTextarea = forwardRef16((props, ref) => {
18329
18537
  const { shellProps, innerProps } = extractParameterProps(props);
18330
- return /* @__PURE__ */ jsx105(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx105(ParameterTextareaInner, { ref, ...innerProps }) });
18538
+ return /* @__PURE__ */ jsx106(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx106(ParameterTextareaInner, { ref, ...innerProps }) });
18331
18539
  });
18332
18540
  var ParameterTextareaInner = forwardRef16(({ ...props }, ref) => {
18333
18541
  const { id, label, hiddenLabel } = useParameterShell();
18334
- return /* @__PURE__ */ jsx105(
18542
+ return /* @__PURE__ */ jsx106(
18335
18543
  "textarea",
18336
18544
  {
18337
18545
  css: [input2, textarea2],
@@ -18345,44 +18553,100 @@ var ParameterTextareaInner = forwardRef16(({ ...props }, ref) => {
18345
18553
 
18346
18554
  // src/components/ParameterInputs/ParameterToggle.tsx
18347
18555
  import { forwardRef as forwardRef17 } from "react";
18348
- import { jsx as jsx106, jsxs as jsxs72 } from "@emotion/react/jsx-runtime";
18556
+ import { jsx as jsx107, jsxs as jsxs73 } from "@emotion/react/jsx-runtime";
18349
18557
  var ParameterToggle = forwardRef17((props, ref) => {
18350
18558
  const { shellProps, innerProps } = extractParameterProps(props);
18351
- return /* @__PURE__ */ jsx106(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx106(ParameterToggleInner, { ref, ...innerProps }) });
18559
+ return /* @__PURE__ */ jsx107(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx107(ParameterToggleInner, { ref, ...innerProps }) });
18352
18560
  });
18353
18561
  var ParameterToggleInner = forwardRef17(
18354
18562
  ({ ...props }, ref) => {
18355
18563
  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 })
18564
+ return /* @__PURE__ */ jsxs73("label", { css: inputToggleLabel2, children: [
18565
+ /* @__PURE__ */ jsx107("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
18566
+ /* @__PURE__ */ jsx107("span", { css: inlineLabel2, children: label })
18359
18567
  ] });
18360
18568
  }
18361
18569
  );
18362
18570
 
18363
- // src/components/ProgressList/ProgressList.tsx
18571
+ // src/components/ProgressBar/ProgressBar.styles.ts
18364
18572
  import { css as css84 } from "@emotion/react";
18573
+ var container = css84`
18574
+ background: var(--gray-50);
18575
+ margin-block: var(--spacing-sm);
18576
+ position: relative;
18577
+ overflow: hidden;
18578
+ height: 1rem;
18579
+ border-radius: var(--rounded-sm);
18580
+ border: solid 1px var(--gray-300);
18581
+ `;
18582
+ var themeMap = {
18583
+ primary: css84`
18584
+ background-color: var(--accent-light);
18585
+ `,
18586
+ secondary: css84`
18587
+ background-color: var(--brand-secondary-5);
18588
+ `
18589
+ };
18590
+ var bar = css84`
18591
+ position: absolute;
18592
+ inset: 0;
18593
+ transition: transform var(--duration-fast) var(--timing-ease-out);
18594
+ transform-origin: 0 center;
18595
+ `;
18596
+
18597
+ // src/components/ProgressBar/ProgressBar.tsx
18598
+ import { jsx as jsx108 } from "@emotion/react/jsx-runtime";
18599
+ function ProgressBar({ className, current, max, theme = "primary" }) {
18600
+ const valueNow = Math.min(current, max);
18601
+ const valuePercentage = max > 0 ? Math.ceil(100 / max * valueNow) : 0;
18602
+ return /* @__PURE__ */ jsx108(
18603
+ "div",
18604
+ {
18605
+ className,
18606
+ css: container,
18607
+ role: "progressbar",
18608
+ "aria-busy": valuePercentage !== 100,
18609
+ "aria-invalid": false,
18610
+ "aria-valuemin": 0,
18611
+ "aria-valuemax": max,
18612
+ "aria-valuenow": valueNow,
18613
+ children: /* @__PURE__ */ jsx108(
18614
+ "div",
18615
+ {
18616
+ css: [bar, themeMap[theme]],
18617
+ style: {
18618
+ transform: `scaleX(${valuePercentage / 100})`
18619
+ },
18620
+ "aria-label": `${current} / ${max}`
18621
+ }
18622
+ )
18623
+ }
18624
+ );
18625
+ }
18626
+
18627
+ // src/components/ProgressList/ProgressList.tsx
18628
+ import { css as css86 } from "@emotion/react";
18365
18629
  import { CgCheckO as CgCheckO2 } from "@react-icons/all-files/cg/CgCheckO";
18366
18630
  import { CgRadioCheck } from "@react-icons/all-files/cg/CgRadioCheck";
18367
18631
  import { CgRecord } from "@react-icons/all-files/cg/CgRecord";
18368
18632
  import { useMemo as useMemo4 } from "react";
18369
18633
 
18370
18634
  // src/components/ProgressList/styles/ProgressList.styles.ts
18371
- import { css as css83 } from "@emotion/react";
18372
- var progressListStyles = css83`
18635
+ import { css as css85 } from "@emotion/react";
18636
+ var progressListStyles = css85`
18373
18637
  display: flex;
18374
18638
  flex-direction: column;
18375
18639
  gap: var(--spacing-sm);
18376
18640
  list-style-type: none;
18377
18641
  `;
18378
- var progressListItemStyles = css83`
18642
+ var progressListItemStyles = css85`
18379
18643
  display: flex;
18380
18644
  gap: var(--spacing-base);
18381
18645
  align-items: center;
18382
18646
  `;
18383
18647
 
18384
18648
  // src/components/ProgressList/ProgressList.tsx
18385
- import { jsx as jsx107, jsxs as jsxs73 } from "@emotion/react/jsx-runtime";
18649
+ import { jsx as jsx109, jsxs as jsxs74 } from "@emotion/react/jsx-runtime";
18386
18650
  var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
18387
18651
  const itemsWithStatus = useMemo4(() => {
18388
18652
  const indexOfInProgressItem = items.findIndex(({ id }) => id === inProgressId);
@@ -18396,8 +18660,8 @@ var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
18396
18660
  return { ...item, status };
18397
18661
  });
18398
18662
  }, [items, inProgressId]);
18399
- return /* @__PURE__ */ jsx107("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
18400
- return /* @__PURE__ */ jsx107(
18663
+ return /* @__PURE__ */ jsx109("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
18664
+ return /* @__PURE__ */ jsx109(
18401
18665
  ProgressListItem,
18402
18666
  {
18403
18667
  status,
@@ -18430,12 +18694,12 @@ var ProgressListItem = ({
18430
18694
  }, [status, error]);
18431
18695
  const statusStyles = useMemo4(() => {
18432
18696
  if (error) {
18433
- return errorLevel === "caution" ? css84`
18697
+ return errorLevel === "caution" ? css86`
18434
18698
  color: rgb(161, 98, 7);
18435
18699
  & svg {
18436
18700
  color: rgb(250, 204, 21);
18437
18701
  }
18438
- ` : css84`
18702
+ ` : css86`
18439
18703
  color: rgb(185, 28, 28);
18440
18704
  & svg {
18441
18705
  color: var(--brand-primary-2);
@@ -18443,35 +18707,35 @@ var ProgressListItem = ({
18443
18707
  `;
18444
18708
  }
18445
18709
  const colorPerStatus = {
18446
- completed: css84`
18710
+ completed: css86`
18447
18711
  opacity: 0.75;
18448
18712
  `,
18449
- inProgress: css84`
18713
+ inProgress: css86`
18450
18714
  -webkit-text-stroke-width: thin;
18451
18715
  `,
18452
- queued: css84`
18716
+ queued: css86`
18453
18717
  opacity: 0.5;
18454
18718
  `
18455
18719
  };
18456
18720
  return colorPerStatus[status];
18457
18721
  }, [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: [
18722
+ return /* @__PURE__ */ jsxs74("li", { css: [progressListItemStyles, statusStyles], children: [
18723
+ /* @__PURE__ */ jsx109(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ jsx109("div", { children: /* @__PURE__ */ jsx109(Icon, { icon, size: 20, iconColor: "currentColor" }) }) }),
18724
+ /* @__PURE__ */ jsxs74("div", { children: [
18461
18725
  children,
18462
- /* @__PURE__ */ jsx107("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
18726
+ /* @__PURE__ */ jsx109("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
18463
18727
  ] })
18464
18728
  ] });
18465
18729
  };
18466
18730
 
18467
18731
  // src/components/SegmentedControl/SegmentedControl.tsx
18468
- import { css as css86 } from "@emotion/react";
18732
+ import { css as css88 } from "@emotion/react";
18469
18733
  import { CgCheck as CgCheck4 } from "@react-icons/all-files/cg/CgCheck";
18470
18734
  import { useCallback as useCallback6, useMemo as useMemo5 } from "react";
18471
18735
 
18472
18736
  // src/components/SegmentedControl/SegmentedControl.styles.ts
18473
- import { css as css85 } from "@emotion/react";
18474
- var segmentedControlStyles = css85`
18737
+ import { css as css87 } from "@emotion/react";
18738
+ var segmentedControlStyles = css87`
18475
18739
  --segmented-control-rounded-value: var(--rounded-base);
18476
18740
  --segmented-control-border-width: 1px;
18477
18741
  --segmented-control-selected-color: var(--brand-secondary-3);
@@ -18490,14 +18754,14 @@ var segmentedControlStyles = css85`
18490
18754
  border-radius: calc(var(--segmented-control-rounded-value) + var(--segmented-control-border-width));
18491
18755
  font-size: var(--fs-xs);
18492
18756
  `;
18493
- var segmentedControlVerticalStyles = css85`
18757
+ var segmentedControlVerticalStyles = css87`
18494
18758
  flex-direction: column;
18495
18759
  --segmented-control-first-border-radius: var(--segmented-control-rounded-value)
18496
18760
  var(--segmented-control-rounded-value) 0 0;
18497
18761
  --segmented-control-last-border-radius: 0 0 var(--segmented-control-rounded-value)
18498
18762
  var(--segmented-control-rounded-value);
18499
18763
  `;
18500
- var segmentedControlItemStyles = css85`
18764
+ var segmentedControlItemStyles = css87`
18501
18765
  &:first-of-type label {
18502
18766
  border-radius: var(--segmented-control-first-border-radius);
18503
18767
  }
@@ -18505,10 +18769,10 @@ var segmentedControlItemStyles = css85`
18505
18769
  border-radius: var(--segmented-control-last-border-radius);
18506
18770
  }
18507
18771
  `;
18508
- var segmentedControlInputStyles = css85`
18772
+ var segmentedControlInputStyles = css87`
18509
18773
  ${accessibleHidden}
18510
18774
  `;
18511
- var segmentedControlLabelStyles = (checked, disabled) => css85`
18775
+ var segmentedControlLabelStyles = (checked, disabled) => css87`
18512
18776
  position: relative;
18513
18777
  display: flex;
18514
18778
  align-items: center;
@@ -18575,23 +18839,23 @@ var segmentedControlLabelStyles = (checked, disabled) => css85`
18575
18839
  `}
18576
18840
  }
18577
18841
  `;
18578
- var segmentedControlLabelIconOnlyStyles = css85`
18842
+ var segmentedControlLabelIconOnlyStyles = css87`
18579
18843
  padding-inline: 0.5em;
18580
18844
  `;
18581
- var segmentedControlLabelCheckStyles = css85`
18845
+ var segmentedControlLabelCheckStyles = css87`
18582
18846
  opacity: 0.5;
18583
18847
  `;
18584
- var segmentedControlLabelContentStyles = css85`
18848
+ var segmentedControlLabelContentStyles = css87`
18585
18849
  display: flex;
18586
18850
  align-items: center;
18587
18851
  justify-content: center;
18588
18852
  gap: var(--spacing-sm);
18589
18853
  height: 100%;
18590
18854
  `;
18591
- var segmentedControlLabelTextStyles = css85``;
18855
+ var segmentedControlLabelTextStyles = css87``;
18592
18856
 
18593
18857
  // src/components/SegmentedControl/SegmentedControl.tsx
18594
- import { jsx as jsx108, jsxs as jsxs74 } from "@emotion/react/jsx-runtime";
18858
+ import { jsx as jsx110, jsxs as jsxs75 } from "@emotion/react/jsx-runtime";
18595
18859
  var SegmentedControl = ({
18596
18860
  name,
18597
18861
  options,
@@ -18613,16 +18877,16 @@ var SegmentedControl = ({
18613
18877
  );
18614
18878
  const sizeStyles = useMemo5(() => {
18615
18879
  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)" })
18880
+ sm: css88({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
18881
+ md: css88({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
18882
+ lg: css88({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
18619
18883
  };
18620
18884
  return map[size];
18621
18885
  }, [size]);
18622
18886
  const isIconOnly = useMemo5(() => {
18623
18887
  return options.every((option) => option.icon && !option.label);
18624
18888
  }, [options]);
18625
- return /* @__PURE__ */ jsx108(
18889
+ return /* @__PURE__ */ jsx110(
18626
18890
  "div",
18627
18891
  {
18628
18892
  css: [segmentedControlStyles, orientation === "vertical" ? segmentedControlVerticalStyles : void 0],
@@ -18630,11 +18894,11 @@ var SegmentedControl = ({
18630
18894
  children: options.map((option, index) => {
18631
18895
  const text = option.label ? option.label : option.icon ? null : String(option.value);
18632
18896
  const isDisabled = disabled || option.disabled;
18633
- return /* @__PURE__ */ jsx108(
18897
+ return /* @__PURE__ */ jsx110(
18634
18898
  Tooltip,
18635
18899
  {
18636
18900
  title: isDisabled || !option.tooltip ? "" : option.tooltip,
18637
- children: /* @__PURE__ */ jsx108("div", { css: segmentedControlItemStyles, "data-testid": "container-segmented-control", children: /* @__PURE__ */ jsxs74(
18901
+ children: /* @__PURE__ */ jsx110("div", { css: segmentedControlItemStyles, "data-testid": "container-segmented-control", children: /* @__PURE__ */ jsxs75(
18638
18902
  "label",
18639
18903
  {
18640
18904
  css: [
@@ -18643,7 +18907,7 @@ var SegmentedControl = ({
18643
18907
  isIconOnly ? segmentedControlLabelIconOnlyStyles : void 0
18644
18908
  ],
18645
18909
  children: [
18646
- /* @__PURE__ */ jsx108(
18910
+ /* @__PURE__ */ jsx110(
18647
18911
  "input",
18648
18912
  {
18649
18913
  css: segmentedControlInputStyles,
@@ -18655,10 +18919,10 @@ var SegmentedControl = ({
18655
18919
  disabled: isDisabled
18656
18920
  }
18657
18921
  ),
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 })
18922
+ option.value !== value || noCheckmark ? null : /* @__PURE__ */ jsx110(CgCheck4, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
18923
+ /* @__PURE__ */ jsxs75("span", { css: segmentedControlLabelContentStyles, children: [
18924
+ !option.icon ? null : /* @__PURE__ */ jsx110(Icon, { icon: option.icon, size: "1.5em", iconColor: "currentColor" }),
18925
+ !text ? null : /* @__PURE__ */ jsx110("span", { css: segmentedControlLabelTextStyles, children: text })
18662
18926
  ] })
18663
18927
  ]
18664
18928
  }
@@ -18672,18 +18936,18 @@ var SegmentedControl = ({
18672
18936
  };
18673
18937
 
18674
18938
  // src/components/Skeleton/Skeleton.styles.ts
18675
- import { css as css87, keyframes as keyframes4 } from "@emotion/react";
18939
+ import { css as css89, keyframes as keyframes4 } from "@emotion/react";
18676
18940
  var lightFadingOut = keyframes4`
18677
18941
  from { opacity: 0.1; }
18678
18942
  to { opacity: 0.025; }
18679
18943
  `;
18680
- var skeletonStyles = css87`
18944
+ var skeletonStyles = css89`
18681
18945
  animation: ${lightFadingOut} 1s ease-out infinite alternate;
18682
18946
  background-color: var(--gray-900);
18683
18947
  `;
18684
18948
 
18685
18949
  // src/components/Skeleton/Skeleton.tsx
18686
- import { jsx as jsx109 } from "@emotion/react/jsx-runtime";
18950
+ import { jsx as jsx111 } from "@emotion/react/jsx-runtime";
18687
18951
  var Skeleton = ({
18688
18952
  width = "100%",
18689
18953
  height = "1.25rem",
@@ -18691,7 +18955,7 @@ var Skeleton = ({
18691
18955
  circle = false,
18692
18956
  children,
18693
18957
  ...otherProps
18694
- }) => /* @__PURE__ */ jsx109(
18958
+ }) => /* @__PURE__ */ jsx111(
18695
18959
  "div",
18696
18960
  {
18697
18961
  css: [
@@ -18714,8 +18978,8 @@ var Skeleton = ({
18714
18978
  import * as React23 from "react";
18715
18979
 
18716
18980
  // src/components/Switch/Switch.styles.ts
18717
- import { css as css88 } from "@emotion/react";
18718
- var SwitchInputContainer = css88`
18981
+ import { css as css90 } from "@emotion/react";
18982
+ var SwitchInputContainer = css90`
18719
18983
  cursor: pointer;
18720
18984
  display: inline-block;
18721
18985
  position: relative;
@@ -18724,7 +18988,7 @@ var SwitchInputContainer = css88`
18724
18988
  vertical-align: middle;
18725
18989
  user-select: none;
18726
18990
  `;
18727
- var SwitchInput = css88`
18991
+ var SwitchInput = css90`
18728
18992
  appearance: none;
18729
18993
  border-radius: var(--rounded-full);
18730
18994
  background-color: var(--white);
@@ -18762,7 +19026,7 @@ var SwitchInput = css88`
18762
19026
  cursor: not-allowed;
18763
19027
  }
18764
19028
  `;
18765
- var SwitchInputDisabled = css88`
19029
+ var SwitchInputDisabled = css90`
18766
19030
  opacity: var(--opacity-50);
18767
19031
  cursor: not-allowed;
18768
19032
 
@@ -18770,7 +19034,7 @@ var SwitchInputDisabled = css88`
18770
19034
  cursor: not-allowed;
18771
19035
  }
18772
19036
  `;
18773
- var SwitchInputLabel = css88`
19037
+ var SwitchInputLabel = css90`
18774
19038
  align-items: center;
18775
19039
  color: var(--brand-secondary-1);
18776
19040
  display: inline-flex;
@@ -18792,26 +19056,26 @@ var SwitchInputLabel = css88`
18792
19056
  top: 0;
18793
19057
  }
18794
19058
  `;
18795
- var SwitchText = css88`
19059
+ var SwitchText = css90`
18796
19060
  color: var(--gray-500);
18797
19061
  font-size: var(--fs-sm);
18798
19062
  padding-inline: var(--spacing-2xl) 0;
18799
19063
  `;
18800
19064
 
18801
19065
  // src/components/Switch/Switch.tsx
18802
- import { Fragment as Fragment19, jsx as jsx110, jsxs as jsxs75 } from "@emotion/react/jsx-runtime";
19066
+ import { Fragment as Fragment20, jsx as jsx112, jsxs as jsxs76 } from "@emotion/react/jsx-runtime";
18803
19067
  var Switch = React23.forwardRef(
18804
19068
  ({ label, infoText, toggleText, children, ...inputProps }, ref) => {
18805
19069
  let additionalText = infoText;
18806
19070
  if (infoText && toggleText) {
18807
19071
  additionalText = inputProps.checked ? toggleText : infoText;
18808
19072
  }
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 })
19073
+ return /* @__PURE__ */ jsxs76(Fragment20, { children: [
19074
+ /* @__PURE__ */ jsxs76("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
19075
+ /* @__PURE__ */ jsx112("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
19076
+ /* @__PURE__ */ jsx112("span", { css: SwitchInputLabel, children: label })
18813
19077
  ] }),
18814
- additionalText ? /* @__PURE__ */ jsx110("p", { css: SwitchText, children: additionalText }) : null,
19078
+ additionalText ? /* @__PURE__ */ jsx112("p", { css: SwitchText, children: additionalText }) : null,
18815
19079
  children
18816
19080
  ] });
18817
19081
  }
@@ -18821,8 +19085,8 @@ var Switch = React23.forwardRef(
18821
19085
  import * as React24 from "react";
18822
19086
 
18823
19087
  // 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`
19088
+ import { css as css91 } from "@emotion/react";
19089
+ var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css91`
18826
19090
  border-bottom: 1px solid var(--gray-400);
18827
19091
  border-collapse: collapse;
18828
19092
  min-width: 100%;
@@ -18833,55 +19097,55 @@ var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css89
18833
19097
  padding: ${cellPadding};
18834
19098
  }
18835
19099
  `;
18836
- var tableHead = css89`
19100
+ var tableHead = css91`
18837
19101
  background: var(--gray-100);
18838
19102
  color: var(--brand-secondary-1);
18839
19103
  text-align: left;
18840
19104
  `;
18841
- var tableRow = css89`
19105
+ var tableRow = css91`
18842
19106
  border-bottom: 1px solid var(--gray-200);
18843
19107
  `;
18844
- var tableCellHead = css89`
19108
+ var tableCellHead = css91`
18845
19109
  font-size: var(--fs-sm);
18846
19110
  text-transform: uppercase;
18847
19111
  font-weight: var(--fw-bold);
18848
19112
  `;
18849
19113
 
18850
19114
  // src/components/Table/Table.tsx
18851
- import { jsx as jsx111 } from "@emotion/react/jsx-runtime";
19115
+ import { jsx as jsx113 } from "@emotion/react/jsx-runtime";
18852
19116
  var Table = React24.forwardRef(
18853
19117
  ({ children, cellPadding, ...otherProps }, ref) => {
18854
- return /* @__PURE__ */ jsx111("table", { ref, css: table({ cellPadding }), ...otherProps, children });
19118
+ return /* @__PURE__ */ jsx113("table", { ref, css: table({ cellPadding }), ...otherProps, children });
18855
19119
  }
18856
19120
  );
18857
19121
  var TableHead = React24.forwardRef(
18858
19122
  ({ children, ...otherProps }, ref) => {
18859
- return /* @__PURE__ */ jsx111("thead", { ref, css: tableHead, ...otherProps, children });
19123
+ return /* @__PURE__ */ jsx113("thead", { ref, css: tableHead, ...otherProps, children });
18860
19124
  }
18861
19125
  );
18862
19126
  var TableBody = React24.forwardRef(
18863
19127
  ({ children, ...otherProps }, ref) => {
18864
- return /* @__PURE__ */ jsx111("tbody", { ref, ...otherProps, children });
19128
+ return /* @__PURE__ */ jsx113("tbody", { ref, ...otherProps, children });
18865
19129
  }
18866
19130
  );
18867
19131
  var TableFoot = React24.forwardRef(
18868
19132
  ({ children, ...otherProps }, ref) => {
18869
- return /* @__PURE__ */ jsx111("tfoot", { ref, ...otherProps, children });
19133
+ return /* @__PURE__ */ jsx113("tfoot", { ref, ...otherProps, children });
18870
19134
  }
18871
19135
  );
18872
19136
  var TableRow = React24.forwardRef(
18873
19137
  ({ children, ...otherProps }, ref) => {
18874
- return /* @__PURE__ */ jsx111("tr", { ref, css: tableRow, ...otherProps, children });
19138
+ return /* @__PURE__ */ jsx113("tr", { ref, css: tableRow, ...otherProps, children });
18875
19139
  }
18876
19140
  );
18877
19141
  var TableCellHead = React24.forwardRef(
18878
19142
  ({ children, ...otherProps }, ref) => {
18879
- return /* @__PURE__ */ jsx111("th", { ref, css: tableCellHead, ...otherProps, children });
19143
+ return /* @__PURE__ */ jsx113("th", { ref, css: tableCellHead, ...otherProps, children });
18880
19144
  }
18881
19145
  );
18882
19146
  var TableCellData = React24.forwardRef(
18883
19147
  ({ children, ...otherProps }, ref) => {
18884
- return /* @__PURE__ */ jsx111("td", { ref, ...otherProps, children });
19148
+ return /* @__PURE__ */ jsx113("td", { ref, ...otherProps, children });
18885
19149
  }
18886
19150
  );
18887
19151
 
@@ -18895,8 +19159,8 @@ import {
18895
19159
  } from "reakit/Tab";
18896
19160
 
18897
19161
  // src/components/Tabs/Tabs.styles.ts
18898
- import { css as css90 } from "@emotion/react";
18899
- var tabButtonStyles = css90`
19162
+ import { css as css92 } from "@emotion/react";
19163
+ var tabButtonStyles = css92`
18900
19164
  align-items: center;
18901
19165
  border: 0;
18902
19166
  height: 2.5rem;
@@ -18913,14 +19177,14 @@ var tabButtonStyles = css90`
18913
19177
  box-shadow: inset 0 -2px 0 var(--brand-secondary-3);
18914
19178
  }
18915
19179
  `;
18916
- var tabButtonGroupStyles = css90`
19180
+ var tabButtonGroupStyles = css92`
18917
19181
  display: flex;
18918
19182
  gap: var(--spacing-base);
18919
19183
  border-bottom: 1px solid var(--gray-300);
18920
19184
  `;
18921
19185
 
18922
19186
  // src/components/Tabs/Tabs.tsx
18923
- import { jsx as jsx112 } from "@emotion/react/jsx-runtime";
19187
+ import { jsx as jsx114 } from "@emotion/react/jsx-runtime";
18924
19188
  var CurrentTabContext = createContext6(null);
18925
19189
  var useCurrentTab = () => {
18926
19190
  const context = useContext7(CurrentTabContext);
@@ -18949,24 +19213,24 @@ var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...prop
18949
19213
  tab.setSelectedId(selected);
18950
19214
  }
18951
19215
  }, [selected]);
18952
- return /* @__PURE__ */ jsx112(CurrentTabContext.Provider, { value: tab, children });
19216
+ return /* @__PURE__ */ jsx114(CurrentTabContext.Provider, { value: tab, children });
18953
19217
  };
18954
19218
  var TabButtonGroup = ({ children, ...props }) => {
18955
19219
  const currentTab = useCurrentTab();
18956
- return /* @__PURE__ */ jsx112(ReakitTabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
19220
+ return /* @__PURE__ */ jsx114(ReakitTabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
18957
19221
  };
18958
19222
  var TabButton = ({ children, id, ...props }) => {
18959
19223
  const currentTab = useCurrentTab();
18960
- return /* @__PURE__ */ jsx112(ReakitTab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
19224
+ return /* @__PURE__ */ jsx114(ReakitTab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
18961
19225
  };
18962
19226
  var TabContent = ({ children, ...props }) => {
18963
19227
  const currentTab = useCurrentTab();
18964
- return /* @__PURE__ */ jsx112(ReakitTabPanel, { ...props, ...currentTab, children });
19228
+ return /* @__PURE__ */ jsx114(ReakitTabPanel, { ...props, ...currentTab, children });
18965
19229
  };
18966
19230
 
18967
19231
  // src/components/Validation/StatusBullet.styles.ts
18968
- import { css as css91 } from "@emotion/react";
18969
- var StatusBulletContainer = css91`
19232
+ import { css as css93 } from "@emotion/react";
19233
+ var StatusBulletContainer = css93`
18970
19234
  align-items: center;
18971
19235
  align-self: center;
18972
19236
  color: var(--gray-500);
@@ -18983,33 +19247,33 @@ var StatusBulletContainer = css91`
18983
19247
  display: block;
18984
19248
  }
18985
19249
  `;
18986
- var StatusBulletBase = css91`
19250
+ var StatusBulletBase = css93`
18987
19251
  font-size: var(--fs-sm);
18988
19252
  &:before {
18989
19253
  width: var(--fs-xs);
18990
19254
  height: var(--fs-xs);
18991
19255
  }
18992
19256
  `;
18993
- var StatusBulletSmall = css91`
19257
+ var StatusBulletSmall = css93`
18994
19258
  font-size: var(--fs-xs);
18995
19259
  &:before {
18996
19260
  width: var(--fs-xxs);
18997
19261
  height: var(--fs-xxs);
18998
19262
  }
18999
19263
  `;
19000
- var StatusDraft = css91`
19264
+ var StatusDraft = css93`
19001
19265
  &:before {
19002
19266
  background: var(--white);
19003
19267
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
19004
19268
  }
19005
19269
  `;
19006
- var StatusModified = css91`
19270
+ var StatusModified = css93`
19007
19271
  &:before {
19008
19272
  background: linear-gradient(to right, var(--white) 50%, var(--primary-action-default) 50% 100%);
19009
19273
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
19010
19274
  }
19011
19275
  `;
19012
- var StatusError = css91`
19276
+ var StatusError = css93`
19013
19277
  color: var(--error);
19014
19278
  &:before {
19015
19279
  /* TODO: replace this with an svg icon */
@@ -19022,19 +19286,19 @@ var StatusError = css91`
19022
19286
  );
19023
19287
  }
19024
19288
  `;
19025
- var StatusPublished = css91`
19289
+ var StatusPublished = css93`
19026
19290
  &:before {
19027
19291
  background: var(--primary-action-default);
19028
19292
  }
19029
19293
  `;
19030
- var StatusOrphan = css91`
19294
+ var StatusOrphan = css93`
19031
19295
  &:before {
19032
19296
  background: var(--brand-secondary-5);
19033
19297
  }
19034
19298
  `;
19035
19299
 
19036
19300
  // src/components/Validation/StatusBullet.tsx
19037
- import { jsx as jsx113 } from "@emotion/react/jsx-runtime";
19301
+ import { jsx as jsx115 } from "@emotion/react/jsx-runtime";
19038
19302
  var StatusBullet = ({
19039
19303
  status,
19040
19304
  hideText = false,
@@ -19052,7 +19316,7 @@ var StatusBullet = ({
19052
19316
  Previous: StatusDraft
19053
19317
  };
19054
19318
  const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
19055
- return /* @__PURE__ */ jsx113(
19319
+ return /* @__PURE__ */ jsx115(
19056
19320
  "span",
19057
19321
  {
19058
19322
  role: "status",
@@ -19102,6 +19366,7 @@ export {
19102
19366
  Icon,
19103
19367
  IconButton,
19104
19368
  IconsProvider,
19369
+ Image,
19105
19370
  ImageBroken,
19106
19371
  InfoMessage,
19107
19372
  InlineAlert,
@@ -19166,6 +19431,7 @@ export {
19166
19431
  ParameterToggle,
19167
19432
  ParameterToggleInner,
19168
19433
  Popover2 as Popover,
19434
+ ProgressBar,
19169
19435
  ProgressList,
19170
19436
  ProgressListItem,
19171
19437
  ResolveIcon,
@@ -19204,6 +19470,7 @@ export {
19204
19470
  VerticalRhythm,
19205
19471
  WarningMessage,
19206
19472
  accessibleHidden,
19473
+ addPathSegmentToPathname,
19207
19474
  borderTopIcon,
19208
19475
  breakpoints,
19209
19476
  button,
@@ -19232,6 +19499,8 @@ export {
19232
19499
  fadeOutBottom,
19233
19500
  fullWidthScreenIcon,
19234
19501
  getDrawerAttributes,
19502
+ getParentPath,
19503
+ getPathSegment,
19235
19504
  growSubtle,
19236
19505
  imageTextIcon,
19237
19506
  infoFilledIcon,
@@ -19239,6 +19508,8 @@ export {
19239
19508
  inputError,
19240
19509
  inputSelect,
19241
19510
  isMacLike,
19511
+ isSecureURL,
19512
+ isValidUrl,
19242
19513
  jsonIcon,
19243
19514
  labelText,
19244
19515
  loader_default as loaderAnimationData,