@uniformdev/design-system 19.55.2-alpha.48 → 19.55.2-alpha.52

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
@@ -1999,6 +1999,7 @@ var Heading = ({
1999
1999
  Heading2,
2000
2000
  {
2001
2001
  ...hAttributes,
2002
+ role: typeof as === "string" && /^h/.test(as) ? "heading" : void 0,
2002
2003
  css: [headingStyle[level], commonHeadingAttr(withMarginBottom), commonLineHeight],
2003
2004
  children
2004
2005
  }
@@ -2285,7 +2286,7 @@ var IntegrationHeaderSection = ({
2285
2286
  icon,
2286
2287
  docsLink,
2287
2288
  badgeText,
2288
- menu: menu2,
2289
+ menu,
2289
2290
  children,
2290
2291
  ...props
2291
2292
  }) => {
@@ -2300,7 +2301,7 @@ var IntegrationHeaderSection = ({
2300
2301
  /* @__PURE__ */ jsxs5("div", { css: IntegrationHeaderSectionTitleGroup, "data-testid": "integration-header-text", children: [
2301
2302
  /* @__PURE__ */ jsx13("h1", { css: IntegrationHeaderSectionTitle, children: title2 }),
2302
2303
  badgeText ? /* @__PURE__ */ jsx13(Badge, { text: badgeText }) : null,
2303
- menu2 ? /* @__PURE__ */ jsx13("div", { children: menu2 }) : null,
2304
+ menu ? /* @__PURE__ */ jsx13("div", { children: menu }) : null,
2304
2305
  docsLink ? /* @__PURE__ */ jsx13(
2305
2306
  Link,
2306
2307
  {
@@ -11523,13 +11524,13 @@ var HorizontalRhythm = ({
11523
11524
  };
11524
11525
 
11525
11526
  // src/components/Menu/Menu.tsx
11526
- import * as React8 from "react";
11527
11527
  import {
11528
11528
  Menu as BaseMenu,
11529
11529
  MenuButton,
11530
- useMenuState
11531
- } from "reakit/Menu";
11532
- import { Portal } from "reakit/Portal";
11530
+ MenuProvider,
11531
+ useMenuStore
11532
+ } from "@ariakit/react";
11533
+ import * as React8 from "react";
11533
11534
 
11534
11535
  // src/components/Menu/filterMenuSeparators.ts
11535
11536
  import React7, { isValidElement } from "react";
@@ -11576,17 +11577,18 @@ var menuItem = (textTheme, forceActive) => css25`
11576
11577
  font-weight: var(--fw-regular);
11577
11578
  flex-grow: 1;
11578
11579
  gap: var(--spacing-xs);
11579
-
11580
+ cursor: default;
11580
11581
  white-space: nowrap;
11581
11582
  transition: background-color var(--duration-fast) var(--timing-ease-out);
11582
11583
  ${forceActive ? activeMenuItem : ""}
11583
11584
 
11584
- &:disabled {
11585
- color: var(--gray-300);
11585
+ &[aria-disabled="true"] {
11586
+ opacity: 0.5;
11586
11587
  }
11587
11588
 
11588
11589
  &:hover,
11589
- &:focus {
11590
+ &:focus,
11591
+ &[data-active-item] {
11590
11592
  ${typeof forceActive === "undefined" ? activeMenuItem : ""}
11591
11593
  }
11592
11594
  `;
@@ -11603,6 +11605,7 @@ var menuItemWithIcon = css25`
11603
11605
  }
11604
11606
  `;
11605
11607
  var menuItemSeparator = css25`
11608
+ border: 0;
11606
11609
  border-top: 1px solid var(--gray-300);
11607
11610
  width: 100%;
11608
11611
  margin-block: var(--spacing-sm);
@@ -11659,7 +11662,7 @@ function isMenuSeparator(child) {
11659
11662
 
11660
11663
  // src/components/Menu/Menu.styles.ts
11661
11664
  import { css as css26 } from "@emotion/react";
11662
- var menu = css26`
11665
+ var menuStyles = css26`
11663
11666
  box-shadow: var(--shadow-base);
11664
11667
  border-radius: var(--rounded-base);
11665
11668
  background: var(--gray-50);
@@ -11667,21 +11670,9 @@ var menu = css26`
11667
11670
  flex-direction: column;
11668
11671
  padding: var(--spacing-sm);
11669
11672
  outline: none;
11670
- overflow-x: hidden;
11671
- overflow-y: auto;
11672
11673
  position: relative;
11673
11674
  z-index: var(--z-50);
11674
11675
 
11675
- // work around for smaller screens not being able to access large menus
11676
- // see uni-2997
11677
- max-height: 55vh; // firefox support
11678
-
11679
- ${supports("max-height: 60dvh")} {
11680
- max-height: 55dvh; // modern browser support
11681
- }
11682
-
11683
- ${scrollbarStyles}
11684
-
11685
11676
  &:focus {
11686
11677
  outline: none;
11687
11678
  }
@@ -11689,86 +11680,75 @@ var menu = css26`
11689
11680
 
11690
11681
  // src/components/Menu/Menu.tsx
11691
11682
  import { jsx as jsx26, jsxs as jsxs15 } from "@emotion/react/jsx-runtime";
11692
- var MenuContext = React8.createContext({});
11693
- var useMenuContext = () => {
11694
- return React8.useContext(MenuContext);
11695
- };
11696
- var Menu = ({
11697
- menuLabel,
11683
+ var legacyPlacements = ["auto", "auto-start", "auto-end"];
11684
+ var Menu = React8.forwardRef(function Menu2({
11698
11685
  menuTrigger,
11699
- placement = "auto",
11700
- menuItemsContainerCssClasses,
11686
+ menuLabel,
11701
11687
  children,
11688
+ placement,
11702
11689
  forceVisible,
11690
+ withoutPortal,
11703
11691
  disableAutoSeparatorManagement,
11704
- withoutPortal = false
11705
- }) => {
11706
- const menuState = useMenuState({ placement, visible: forceVisible });
11707
- const [isRendered, setIsRendered] = React8.useState(false);
11708
- React8.useEffect(() => {
11709
- if (forceVisible !== void 0) {
11710
- menuState.setVisible(forceVisible);
11711
- }
11712
- }, [forceVisible, menuState]);
11713
- React8.useEffect(() => {
11714
- if (menuState.visible) {
11715
- setIsRendered(true);
11716
- }
11717
- }, [menuState.visible, setIsRendered]);
11718
- const Wrapper = withoutPortal ? React8.Fragment : Portal;
11719
- return /* @__PURE__ */ jsxs15(MenuContext.Provider, { value: menuState, children: [
11720
- /* @__PURE__ */ jsx26(MenuButton, { ...menuState, ref: menuTrigger.ref, ...menuTrigger.props, children: (triggerProps) => React8.cloneElement(menuTrigger, triggerProps) }),
11721
- /* @__PURE__ */ jsx26(Wrapper, { children: /* @__PURE__ */ jsx26(
11692
+ menuItemsContainerCssClasses,
11693
+ ...props
11694
+ }, ref) {
11695
+ const placementOverride = legacyPlacements.includes(placement) ? void 0 : placement;
11696
+ const menu = useMenuStore({ placement: placementOverride });
11697
+ return /* @__PURE__ */ jsxs15(MenuProvider, { store: menu, open: forceVisible, children: [
11698
+ /* @__PURE__ */ jsx26(MenuButton, { ref, render: menuTrigger }),
11699
+ /* @__PURE__ */ jsx26(
11722
11700
  BaseMenu,
11723
11701
  {
11724
- ...menuState,
11725
- "data-auto-resize-opt-in": true,
11726
- focusable: false,
11727
- "aria-label": menuLabel,
11728
- ...!isRendered ? { unstable_popoverStyles: { position: "absolute", opacity: "0" } } : void 0,
11702
+ gutter: 0,
11703
+ shift: menu.parent ? -4 : 0,
11704
+ ...props,
11729
11705
  css: [
11730
- menu,
11706
+ menuStyles,
11731
11707
  typeof menuItemsContainerCssClasses === "object" ? menuItemsContainerCssClasses : void 0
11732
11708
  ],
11733
11709
  className: typeof menuItemsContainerCssClasses === "string" ? menuItemsContainerCssClasses : "",
11734
11710
  "data-testid": "more-menu",
11711
+ hideOnHoverOutside: (event) => {
11712
+ var _a;
11713
+ if (!menu.parent)
11714
+ return false;
11715
+ const { contentElement, anchorElement } = menu.getState();
11716
+ const [target] = event.composedPath();
11717
+ if (!target)
11718
+ return false;
11719
+ const activeElement = (_a = target.ownerDocument) == null ? void 0 : _a.activeElement;
11720
+ if (anchorElement == null ? void 0 : anchorElement.contains(target))
11721
+ return false;
11722
+ if (contentElement == null ? void 0 : contentElement.contains(target))
11723
+ return false;
11724
+ if (activeElement && target.contains(activeElement))
11725
+ return false;
11726
+ return true;
11727
+ },
11735
11728
  children: disableAutoSeparatorManagement ? children : filterMenuSeparators(children)
11736
11729
  }
11737
- ) })
11730
+ )
11738
11731
  ] });
11739
- };
11732
+ });
11740
11733
 
11741
11734
  // src/components/Menu/MenuItem.tsx
11735
+ import { MenuItem as BaseMenuItem } from "@ariakit/react";
11742
11736
  import * as React9 from "react";
11743
- import { MenuItem as BaseMenuItem } from "reakit";
11744
11737
  import { jsx as jsx27, jsxs as jsxs16 } from "@emotion/react/jsx-runtime";
11738
+ var renderAsButton = (renderProps) => /* @__PURE__ */ jsx27("button", { type: "button", ...renderProps });
11745
11739
  var MenuItem = React9.forwardRef(
11746
11740
  ({ children, className, hideMenuOnClick = true, icon, textColor = "base", active: active2, ...props }, ref) => {
11747
- const menuState = useMenuContext();
11748
- const resolveProps = (originalProps) => {
11749
- const resolvedProps2 = { ...originalProps };
11750
- if (resolvedProps2.onClick) {
11751
- const origOnClick = resolvedProps2.onClick;
11752
- resolvedProps2.onClick = (e) => {
11753
- var _a;
11754
- (_a = menuState == null ? void 0 : menuState.hide) == null ? void 0 : _a.call(menuState);
11755
- origOnClick(e);
11756
- };
11757
- }
11758
- return resolvedProps2;
11759
- };
11760
- const resolvedProps = hideMenuOnClick ? resolveProps(props) : props;
11761
- const resolvedChildren = typeof children === "function" ? children(resolvedProps) : children;
11741
+ const resolvedChildren = typeof children === "function" ? children(props) : children;
11762
11742
  return /* @__PURE__ */ jsx27(
11763
11743
  BaseMenuItem,
11764
11744
  {
11765
11745
  ref,
11766
- type: "button",
11767
11746
  "data-testid": "button-menu",
11768
- ...menuState,
11769
- ...resolvedProps,
11747
+ hideOnClick: hideMenuOnClick,
11770
11748
  css: [menuItem(textColor, active2), typeof className === "object" ? className : void 0],
11771
11749
  className: typeof className === "string" ? className : void 0,
11750
+ render: renderAsButton,
11751
+ ...props,
11772
11752
  children: icon ? renderWithIcon(resolvedChildren, icon) : resolvedChildren
11773
11753
  }
11774
11754
  );
@@ -11940,7 +11920,7 @@ var wholeButtonWithMenuIconOffset = css27`
11940
11920
  `;
11941
11921
 
11942
11922
  // src/components/ButtonWithMenu/ButtonWithMenu.tsx
11943
- import { Fragment as Fragment6, jsx as jsx28, jsxs as jsxs17 } from "@emotion/react/jsx-runtime";
11923
+ import { Fragment as Fragment5, jsx as jsx28, jsxs as jsxs17 } from "@emotion/react/jsx-runtime";
11944
11924
  var ButtonWithMenu = ({
11945
11925
  onButtonClick,
11946
11926
  buttonType = "secondary",
@@ -11985,7 +11965,7 @@ var ButtonWithMenu = ({
11985
11965
  disabled2 ? buttonDisabledTheme[buttonType] : buttonTheme[buttonType]
11986
11966
  ],
11987
11967
  "data-testid": "multioptions-button",
11988
- children: onButtonClick ? /* @__PURE__ */ jsxs17(Fragment6, { children: [
11968
+ children: onButtonClick ? /* @__PURE__ */ jsxs17(Fragment5, { children: [
11989
11969
  /* @__PURE__ */ jsxs17(
11990
11970
  "button",
11991
11971
  {
@@ -12002,7 +11982,7 @@ var ButtonWithMenu = ({
12002
11982
  }
12003
11983
  ),
12004
11984
  disabled2 ? clickableButton : /* @__PURE__ */ jsx28(Menu, { menuLabel: "buttonMenu", placement, menuTrigger: clickableButton, children })
12005
- ] }) : /* @__PURE__ */ jsx28(Fragment6, { children: disabled2 ? dropdownButton : /* @__PURE__ */ jsx28(Menu, { menuLabel: "buttonMenu", placement, menuTrigger: dropdownButton, children }) })
11985
+ ] }) : /* @__PURE__ */ jsx28(Fragment5, { children: disabled2 ? dropdownButton : /* @__PURE__ */ jsx28(Menu, { menuLabel: "buttonMenu", placement, menuTrigger: dropdownButton, children }) })
12006
11986
  }
12007
11987
  );
12008
11988
  };
@@ -12784,7 +12764,7 @@ var ChipActionButton = css36`
12784
12764
  `;
12785
12765
 
12786
12766
  // src/components/Chip/Chip.tsx
12787
- import { Fragment as Fragment7, jsx as jsx37, jsxs as jsxs22 } from "@emotion/react/jsx-runtime";
12767
+ import { Fragment as Fragment6, jsx as jsx37, jsxs as jsxs22 } from "@emotion/react/jsx-runtime";
12788
12768
  var chipTheme = {
12789
12769
  "accent-light": ChipThemeAccentLight,
12790
12770
  "accent-dark": ChipThemeAccentDark,
@@ -12807,7 +12787,7 @@ var Chip = ({
12807
12787
  md: ChipMedium
12808
12788
  };
12809
12789
  return /* @__PURE__ */ jsxs22("span", { css: [ChipContainer, chipSize[size], chipTheme[theme]], ...props, children: [
12810
- icon ? /* @__PURE__ */ jsxs22(Fragment7, { children: [
12790
+ icon ? /* @__PURE__ */ jsxs22(Fragment6, { children: [
12811
12791
  /* @__PURE__ */ jsx37("span", { role: "presentation", css: [ChipIcon], children: /* @__PURE__ */ jsx37(Icon, { icon, iconColor: "currentColor", size: "1rem" }) }),
12812
12792
  /* @__PURE__ */ jsx37("span", { role: "separator", css: ChipSeparator })
12813
12793
  ] }) : null,
@@ -13022,15 +13002,24 @@ import React10 from "react";
13022
13002
 
13023
13003
  // src/components/DescriptionList/DescriptionList.styles.ts
13024
13004
  import { css as css40 } from "@emotion/react";
13025
- var descriptionListStyles = css40`
13005
+ var descriptionListHorizontal = css40`
13026
13006
  display: grid;
13027
13007
  grid-template-columns: max-content auto;
13028
13008
  gap: var(--spacing-xs) var(--spacing-md);
13029
13009
  `;
13010
+ var descriptionListVertical = css40`
13011
+ display: flex;
13012
+ flex-direction: column;
13013
+ gap: var(--spacing-xs);
13014
+ `;
13030
13015
  var descriptionListLabelStyles = css40`
13031
13016
  display: flex;
13032
13017
  align-items: center;
13033
13018
  color: var(--gray-500);
13019
+
13020
+ dd + & {
13021
+ margin-top: var(--spacing-sm);
13022
+ }
13034
13023
  `;
13035
13024
  var descriptionListValueStyles = css40`
13036
13025
  display: flex;
@@ -13041,14 +13030,22 @@ var descriptionListValueStyles = css40`
13041
13030
  // src/components/DescriptionList/DescriptionList.tsx
13042
13031
  import { jsx as jsx41, jsxs as jsxs24 } from "@emotion/react/jsx-runtime";
13043
13032
  var DescriptionList = React10.forwardRef(
13044
- ({ items, ...listProps }, ref) => {
13033
+ ({ items, variant = "horizontal", ...listProps }, ref) => {
13045
13034
  if (!(items == null ? void 0 : items.length)) {
13046
13035
  return null;
13047
13036
  }
13048
- return /* @__PURE__ */ jsx41("dl", { ref, css: descriptionListStyles, ...listProps, children: items == null ? void 0 : items.map(({ label, value }) => /* @__PURE__ */ jsxs24(React10.Fragment, { children: [
13049
- /* @__PURE__ */ jsx41("dt", { css: descriptionListLabelStyles, children: label }),
13050
- /* @__PURE__ */ jsx41("dd", { css: descriptionListValueStyles, children: typeof value === "boolean" ? /* @__PURE__ */ jsx41(DescriptionListValueBoolean, { value }) : value })
13051
- ] }, label)) });
13037
+ return /* @__PURE__ */ jsx41(
13038
+ "dl",
13039
+ {
13040
+ ref,
13041
+ css: variant === "vertical" ? descriptionListVertical : descriptionListHorizontal,
13042
+ ...listProps,
13043
+ children: items == null ? void 0 : items.map(({ label, value }) => /* @__PURE__ */ jsxs24(React10.Fragment, { children: [
13044
+ /* @__PURE__ */ jsx41("dt", { css: descriptionListLabelStyles, children: label }),
13045
+ /* @__PURE__ */ jsx41("dd", { css: descriptionListValueStyles, children: typeof value === "boolean" ? /* @__PURE__ */ jsx41(DescriptionListValueBoolean, { value }) : value })
13046
+ ] }, label))
13047
+ }
13048
+ );
13052
13049
  }
13053
13050
  );
13054
13051
  DescriptionList.displayName = "DescriptionList";
@@ -13144,7 +13141,7 @@ var Details = ({
13144
13141
 
13145
13142
  // src/components/Drawer/Drawer.tsx
13146
13143
  import { CgChevronRight } from "@react-icons/all-files/cg/CgChevronRight";
13147
- import React13, { createContext as createContext4, useContext as useContext5, useEffect as useEffect5, useRef as useRef3, useState as useState6 } from "react";
13144
+ import React13, { createContext as createContext3, useContext as useContext4, useEffect as useEffect4, useRef as useRef3, useState as useState5 } from "react";
13148
13145
  import { createPortal } from "react-dom";
13149
13146
 
13150
13147
  // src/components/Drawer/Drawer.styles.ts
@@ -13255,22 +13252,27 @@ var drawerWrapperOverlayStyles = css42`
13255
13252
  `;
13256
13253
 
13257
13254
  // src/components/Drawer/DrawerProvider.tsx
13258
- import { createContext as createContext3, useCallback, useContext as useContext4, useRef as useRef2, useState as useState5 } from "react";
13255
+ import { createContext as createContext2, useCallback, useContext as useContext3, useRef as useRef2, useState as useState4 } from "react";
13259
13256
  import { jsx as jsx43 } from "@emotion/react/jsx-runtime";
13260
- var DrawerContext = createContext3({
13257
+ var DrawerContext = createContext2({
13261
13258
  providerId: "",
13262
13259
  drawersRegistry: [],
13263
13260
  registerDrawer: () => {
13264
13261
  },
13265
13262
  unregisterDrawer: () => {
13263
+ },
13264
+ registerTakeoverStackId: () => {
13265
+ },
13266
+ unregisterTakeoverStackId: () => {
13266
13267
  }
13267
13268
  });
13268
13269
  function renderDrawerId(drawer) {
13269
13270
  return `${drawer.stackId ? `\u{1F95E} ${drawer.stackId} ` : ""}\u{1F194} ${drawer.id}${drawer.instanceKey ? ` \u{1F511} ${drawer.instanceKey}` : ""}`;
13270
13271
  }
13271
13272
  var DrawerProvider = ({ children }) => {
13272
- const [drawersRegistry, setDrawersRegistry] = useState5([]);
13273
+ const [drawersRegistry, setDrawersRegistry] = useState4([]);
13273
13274
  const providerId = useRef2(crypto.randomUUID());
13275
+ const [drawerTakeoverStackId, setDrawerTakeoverStackId] = useState4(void 0);
13274
13276
  useShortcut({
13275
13277
  handler: () => {
13276
13278
  var _a, _b;
@@ -13328,6 +13330,22 @@ var DrawerProvider = ({ children }) => {
13328
13330
  },
13329
13331
  [setDrawersRegistry]
13330
13332
  );
13333
+ const registerTakeoverStackId = useCallback(
13334
+ (stackId) => {
13335
+ if (drawerTakeoverStackId !== stackId) {
13336
+ setDrawerTakeoverStackId(stackId);
13337
+ }
13338
+ },
13339
+ [drawerTakeoverStackId]
13340
+ );
13341
+ const unregisterTakeoverStackId = useCallback(
13342
+ (stackId) => {
13343
+ if (drawerTakeoverStackId === stackId) {
13344
+ setDrawerTakeoverStackId(void 0);
13345
+ }
13346
+ },
13347
+ [drawerTakeoverStackId]
13348
+ );
13331
13349
  return /* @__PURE__ */ jsx43(
13332
13350
  DrawerContext.Provider,
13333
13351
  {
@@ -13335,14 +13353,17 @@ var DrawerProvider = ({ children }) => {
13335
13353
  drawersRegistry,
13336
13354
  registerDrawer,
13337
13355
  unregisterDrawer,
13338
- providerId: providerId.current
13356
+ providerId: providerId.current,
13357
+ drawerTakeoverStackId,
13358
+ registerTakeoverStackId,
13359
+ unregisterTakeoverStackId
13339
13360
  },
13340
13361
  children
13341
13362
  }
13342
13363
  );
13343
13364
  };
13344
13365
  var useDrawer = () => {
13345
- return useContext4(DrawerContext);
13366
+ return useContext3(DrawerContext);
13346
13367
  };
13347
13368
  var useCloseCurrentDrawer = () => {
13348
13369
  const context = useDrawer();
@@ -13361,15 +13382,16 @@ function isEqualDrawerInstance(a, b) {
13361
13382
  // src/components/Drawer/Drawer.tsx
13362
13383
  import { jsx as jsx44, jsxs as jsxs26 } from "@emotion/react/jsx-runtime";
13363
13384
  var defaultSackId = "_default";
13364
- var CurrentDrawerContext = createContext4({});
13385
+ var CurrentDrawerContext = createContext3({});
13365
13386
  var useCurrentDrawer = () => {
13366
- return useContext5(CurrentDrawerContext);
13387
+ return useContext4(CurrentDrawerContext);
13367
13388
  };
13368
13389
  var Drawer = React13.forwardRef(
13369
13390
  ({ minWidth, maxWidth, position, leftAligned, ...drawerProps }, ref) => {
13370
13391
  const { stackId: inheritedStackId } = useCurrentDrawer();
13392
+ const { drawerTakeoverStackId } = useDrawer();
13371
13393
  const drawerRendererProps = { width: drawerProps.width, minWidth, maxWidth, position, leftAligned };
13372
- return drawerProps.stackId ? /* @__PURE__ */ jsx44(DrawerInner, { ref, ...drawerProps }) : inheritedStackId ? /* @__PURE__ */ jsx44(DrawerInner, { ref, ...drawerProps, stackId: inheritedStackId }) : /* @__PURE__ */ jsxs26(DrawerProvider, { children: [
13394
+ return drawerTakeoverStackId ? /* @__PURE__ */ jsx44(DrawerInner, { ref, ...drawerProps, stackId: drawerTakeoverStackId }) : drawerProps.stackId ? /* @__PURE__ */ jsx44(DrawerInner, { ref, ...drawerProps }) : inheritedStackId ? /* @__PURE__ */ jsx44(DrawerInner, { ref, ...drawerProps, stackId: inheritedStackId }) : /* @__PURE__ */ jsxs26(DrawerProvider, { children: [
13373
13395
  /* @__PURE__ */ jsx44(DrawerInner, { ref, ...drawerProps }),
13374
13396
  /* @__PURE__ */ jsx44(DrawerRenderer, { stackId: defaultSackId, ...drawerRendererProps })
13375
13397
  ] });
@@ -13390,8 +13412,8 @@ var DrawerInner = ({
13390
13412
  }) => {
13391
13413
  const { registerDrawer, unregisterDrawer, providerId } = useDrawer();
13392
13414
  const closeButtonRef = useRef3(null);
13393
- const [rendererElement, setRendererElement] = useState6(null);
13394
- useEffect5(() => {
13415
+ const [rendererElement, setRendererElement] = useState5(null);
13416
+ useEffect4(() => {
13395
13417
  registerDrawer({
13396
13418
  drawer: {
13397
13419
  width,
@@ -13498,8 +13520,8 @@ var DrawerContent2 = ({ children, buttonGroup, noPadding = false, ...props }) =>
13498
13520
  };
13499
13521
 
13500
13522
  // src/components/Drawer/DrawerRenderer.tsx
13501
- import { useEffect as useEffect6, useMemo as useMemo2 } from "react";
13502
- import { Fragment as Fragment8, jsx as jsx46, jsxs as jsxs28 } from "@emotion/react/jsx-runtime";
13523
+ import { useEffect as useEffect5, useMemo as useMemo2 } from "react";
13524
+ import { Fragment as Fragment7, jsx as jsx46, jsxs as jsxs28 } from "@emotion/react/jsx-runtime";
13503
13525
  var drawerWidth = {
13504
13526
  narrow: "29rem",
13505
13527
  medium: "43rem",
@@ -13519,7 +13541,7 @@ var DrawerRenderer = ({
13519
13541
  }) => {
13520
13542
  const { drawersRegistry, providerId } = useDrawer();
13521
13543
  const drawersToRender = drawersRegistry.filter(({ stackId: sId }) => sId === stackId);
13522
- useEffect6(() => {
13544
+ useEffect5(() => {
13523
13545
  drawersToRender.forEach(({ isFirstRender, onFirstRender }) => {
13524
13546
  if (isFirstRender) {
13525
13547
  onFirstRender == null ? void 0 : onFirstRender();
@@ -13588,7 +13610,7 @@ var DrawerWrapper = ({
13588
13610
  offsetInPx = Math.round(maxLayeringInPx * relativeLevel);
13589
13611
  }
13590
13612
  const calculatedWidth = `calc(${width} - ${offsetInPx}px)`;
13591
- return /* @__PURE__ */ jsxs28(Fragment8, { children: [
13613
+ return /* @__PURE__ */ jsxs28(Fragment7, { children: [
13592
13614
  /* @__PURE__ */ jsx46("div", { css: drawerWrapperOverlayStyles, onClick: onOverlayClick }),
13593
13615
  /* @__PURE__ */ jsx46(
13594
13616
  "div",
@@ -13608,8 +13630,23 @@ var getDrawerAttributes = ({
13608
13630
  return { "data-drawer-id": `${providerId}-${stackId}-${id}`, "data-testid": "container-drawer" };
13609
13631
  };
13610
13632
 
13633
+ // src/components/Drawer/TakeoverDrawerRenderer.tsx
13634
+ import { useEffect as useEffect6 } from "react";
13635
+ import { jsx as jsx47 } from "@emotion/react/jsx-runtime";
13636
+ var TAKEOVER_STACK_ID = "takeover-stack";
13637
+ var TakeoverDrawerRenderer = (props) => {
13638
+ const { registerTakeoverStackId, unregisterTakeoverStackId } = useDrawer();
13639
+ useEffect6(() => {
13640
+ registerTakeoverStackId(TAKEOVER_STACK_ID);
13641
+ return () => {
13642
+ unregisterTakeoverStackId(TAKEOVER_STACK_ID);
13643
+ };
13644
+ }, [registerTakeoverStackId, unregisterTakeoverStackId]);
13645
+ return /* @__PURE__ */ jsx47(DrawerRenderer, { ...props, stackId: TAKEOVER_STACK_ID });
13646
+ };
13647
+
13611
13648
  // src/components/IconButton/IconButton.tsx
13612
- import { forwardRef as forwardRef4 } from "react";
13649
+ import { forwardRef as forwardRef5 } from "react";
13613
13650
 
13614
13651
  // src/components/IconButton/IconButton.styles.ts
13615
13652
  import { css as css44 } from "@emotion/react";
@@ -13639,16 +13676,16 @@ var variants = {
13639
13676
  };
13640
13677
 
13641
13678
  // src/components/IconButton/IconButton.tsx
13642
- import { jsx as jsx47 } from "@emotion/react/jsx-runtime";
13643
- var IconButton = forwardRef4(
13679
+ import { jsx as jsx48 } from "@emotion/react/jsx-runtime";
13680
+ var IconButton = forwardRef5(
13644
13681
  ({ children, size = "md", variant = "square", ...props }, ref) => {
13645
- return /* @__PURE__ */ jsx47(Button, { ref, css: [iconButton, variants[variant], sizes[size]], ...props, children });
13682
+ return /* @__PURE__ */ jsx48(Button, { ref, css: [iconButton, variants[variant], sizes[size]], ...props, children });
13646
13683
  }
13647
13684
  );
13648
13685
  IconButton.displayName = "IconButton";
13649
13686
 
13650
13687
  // src/components/Image/Image.tsx
13651
- import { useCallback as useCallback2, useEffect as useEffect7, useState as useState8 } from "react";
13688
+ import { useCallback as useCallback2, useEffect as useEffect7, useState as useState7 } from "react";
13652
13689
 
13653
13690
  // src/components/Input/styles/CaptionText.styles.ts
13654
13691
  import { css as css45 } from "@emotion/react";
@@ -13661,13 +13698,13 @@ var CaptionText = (dynamicSize) => css45`
13661
13698
  `;
13662
13699
 
13663
13700
  // src/components/Input/Caption.tsx
13664
- import { jsx as jsx48 } from "@emotion/react/jsx-runtime";
13701
+ import { jsx as jsx49 } from "@emotion/react/jsx-runtime";
13665
13702
  var Caption = ({ children, testId, dynamicSize = false, ...props }) => {
13666
- return /* @__PURE__ */ jsx48("small", { css: CaptionText(dynamicSize), "data-testid": testId, ...props, children });
13703
+ return /* @__PURE__ */ jsx49("small", { css: CaptionText(dynamicSize), "data-testid": testId, ...props, children });
13667
13704
  };
13668
13705
 
13669
13706
  // src/components/Input/CheckboxWithInfo.tsx
13670
- import { forwardRef as forwardRef5 } from "react";
13707
+ import { forwardRef as forwardRef6 } from "react";
13671
13708
 
13672
13709
  // src/components/Input/styles/CheckboxWithInfo.styles.ts
13673
13710
  import { css as css46 } from "@emotion/react";
@@ -13742,21 +13779,21 @@ var InfoDialogMessage = css46`
13742
13779
  `;
13743
13780
 
13744
13781
  // src/components/Input/CheckboxWithInfo.tsx
13745
- import { jsx as jsx49, jsxs as jsxs29 } from "@emotion/react/jsx-runtime";
13782
+ import { jsx as jsx50, jsxs as jsxs29 } from "@emotion/react/jsx-runtime";
13746
13783
  var InfoDialog = ({ message }) => {
13747
13784
  return /* @__PURE__ */ jsxs29("div", { "data-testid": "info-dialog", css: InfoDialogContainer, children: [
13748
- /* @__PURE__ */ jsx49(Icon, { icon: "info", iconColor: "action", size: "0.9rem" }),
13749
- /* @__PURE__ */ jsx49("div", { role: "paragraph", css: InfoDialogMessage, className: "info-message", children: message })
13785
+ /* @__PURE__ */ jsx50(Icon, { icon: "info", iconColor: "action", size: "0.9rem" }),
13786
+ /* @__PURE__ */ jsx50("div", { role: "paragraph", css: InfoDialogMessage, className: "info-message", children: message })
13750
13787
  ] });
13751
13788
  };
13752
- var CheckboxWithInfo = forwardRef5(
13789
+ var CheckboxWithInfo = forwardRef6(
13753
13790
  ({ label, name, info, ...props }, ref) => {
13754
13791
  return /* @__PURE__ */ jsxs29("div", { css: CheckboxWithInfoContainer, children: [
13755
13792
  /* @__PURE__ */ jsxs29("label", { css: CheckboxWithInfoLabel, children: [
13756
- /* @__PURE__ */ jsx49("input", { type: "checkbox", name, ref, css: CheckboxWithInfoInput, ...props }),
13757
- /* @__PURE__ */ jsx49("span", { children: label })
13793
+ /* @__PURE__ */ jsx50("input", { type: "checkbox", name, ref, css: CheckboxWithInfoInput, ...props }),
13794
+ /* @__PURE__ */ jsx50("span", { children: label })
13758
13795
  ] }),
13759
- info ? /* @__PURE__ */ jsx49(InfoDialog, { message: info }) : null
13796
+ info ? /* @__PURE__ */ jsx50(InfoDialog, { message: info }) : null
13760
13797
  ] });
13761
13798
  }
13762
13799
  );
@@ -13774,10 +13811,10 @@ var ErrorText = css47`
13774
13811
  `;
13775
13812
 
13776
13813
  // src/components/Input/ErrorMessage.tsx
13777
- import { jsx as jsx50, jsxs as jsxs30 } from "@emotion/react/jsx-runtime";
13814
+ import { jsx as jsx51, jsxs as jsxs30 } from "@emotion/react/jsx-runtime";
13778
13815
  var ErrorMessage = ({ message, testId, ...otherProps }) => {
13779
13816
  return message ? /* @__PURE__ */ jsxs30("span", { role: "alert", css: ErrorText, "data-testid": testId, ...otherProps, children: [
13780
- /* @__PURE__ */ jsx50("span", { children: /* @__PURE__ */ jsx50(Icon, { icon: MdWarning, size: "1rem", iconColor: "currentColor" }) }),
13817
+ /* @__PURE__ */ jsx51("span", { children: /* @__PURE__ */ jsx51(Icon, { icon: MdWarning, size: "1rem", iconColor: "currentColor" }) }),
13781
13818
  message
13782
13819
  ] }) : null;
13783
13820
  };
@@ -13826,12 +13863,12 @@ var fieldsetBody = css48`
13826
13863
  `;
13827
13864
 
13828
13865
  // src/components/Input/Fieldset.tsx
13829
- import { jsx as jsx51, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
13866
+ import { jsx as jsx52, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
13830
13867
  var Fieldset = React15.forwardRef(
13831
13868
  ({ legend, disabled: disabled2, children, invert, ...props }, ref) => {
13832
13869
  return /* @__PURE__ */ jsxs31("fieldset", { css: fieldsetContainer(Boolean(invert)), ref, disabled: disabled2, ...props, children: [
13833
13870
  legend,
13834
- /* @__PURE__ */ jsx51("div", { css: fieldsetBody, children })
13871
+ /* @__PURE__ */ jsx52("div", { css: fieldsetBody, children })
13835
13872
  ] });
13836
13873
  }
13837
13874
  );
@@ -13855,10 +13892,10 @@ var InfoIcon2 = css49`
13855
13892
  `;
13856
13893
 
13857
13894
  // src/components/Input/InfoMessage.tsx
13858
- import { jsx as jsx52, jsxs as jsxs32 } from "@emotion/react/jsx-runtime";
13895
+ import { jsx as jsx53, jsxs as jsxs32 } from "@emotion/react/jsx-runtime";
13859
13896
  var InfoMessage = ({ message, testId, ...props }) => {
13860
13897
  return message ? /* @__PURE__ */ jsxs32("span", { role: "status", css: InfoText, "data-testid": testId, ...props, children: [
13861
- /* @__PURE__ */ jsx52("span", { children: /* @__PURE__ */ jsx52(Icon, { css: InfoIcon2, icon: MdInfoOutline, size: "1rem", iconColor: "currentColor" }) }),
13898
+ /* @__PURE__ */ jsx53("span", { children: /* @__PURE__ */ jsx53(Icon, { css: InfoIcon2, icon: MdInfoOutline, size: "1rem", iconColor: "currentColor" }) }),
13862
13899
  message
13863
13900
  ] }) : null;
13864
13901
  };
@@ -13867,9 +13904,9 @@ var InfoMessage = ({ message, testId, ...props }) => {
13867
13904
  import * as React16 from "react";
13868
13905
 
13869
13906
  // src/components/Input/Label.tsx
13870
- import { jsx as jsx53 } from "@emotion/react/jsx-runtime";
13907
+ import { jsx as jsx54 } from "@emotion/react/jsx-runtime";
13871
13908
  var Label = ({ children, className, testId, ...props }) => {
13872
- return /* @__PURE__ */ jsx53(
13909
+ return /* @__PURE__ */ jsx54(
13873
13910
  "label",
13874
13911
  {
13875
13912
  css: [labelText, typeof className === "object" ? className : void 0],
@@ -13897,16 +13934,16 @@ var WarningIcon = css50`
13897
13934
  `;
13898
13935
 
13899
13936
  // src/components/Input/WarningMessage.tsx
13900
- import { jsx as jsx54, jsxs as jsxs33 } from "@emotion/react/jsx-runtime";
13937
+ import { jsx as jsx55, jsxs as jsxs33 } from "@emotion/react/jsx-runtime";
13901
13938
  var WarningMessage = ({ message, testId, ...props }) => {
13902
13939
  return message ? /* @__PURE__ */ jsxs33("span", { role: "status", css: WarningText, "data-testid": testId, ...props, children: [
13903
- /* @__PURE__ */ jsx54("span", { children: /* @__PURE__ */ jsx54(Icon, { css: WarningIcon, icon: MdWarning2, size: "1rem", iconColor: "currentColor" }) }),
13940
+ /* @__PURE__ */ jsx55("span", { children: /* @__PURE__ */ jsx55(Icon, { css: WarningIcon, icon: MdWarning2, size: "1rem", iconColor: "currentColor" }) }),
13904
13941
  message
13905
13942
  ] }) : null;
13906
13943
  };
13907
13944
 
13908
13945
  // src/components/Input/Input.tsx
13909
- import { jsx as jsx55, jsxs as jsxs34 } from "@emotion/react/jsx-runtime";
13946
+ import { jsx as jsx56, jsxs as jsxs34 } from "@emotion/react/jsx-runtime";
13910
13947
  var Input = React16.forwardRef(
13911
13948
  ({
13912
13949
  label,
@@ -13932,7 +13969,7 @@ var Input = React16.forwardRef(
13932
13969
  css: [inputContainer, typeof classNameRoot === "object" ? classNameRoot : void 0],
13933
13970
  "data-testid": containerTestId ? containerTestId : "container-input-field",
13934
13971
  children: [
13935
- showLabel ? /* @__PURE__ */ jsx55(
13972
+ showLabel ? /* @__PURE__ */ jsx56(
13936
13973
  Label,
13937
13974
  {
13938
13975
  htmlFor: id,
@@ -13948,7 +13985,7 @@ var Input = React16.forwardRef(
13948
13985
  css: [inputContainer, typeof classNameContainer === "object" ? classNameContainer : void 0],
13949
13986
  className: typeof classNameContainer === "string" ? classNameContainer : "",
13950
13987
  children: [
13951
- /* @__PURE__ */ jsx55(
13988
+ /* @__PURE__ */ jsx56(
13952
13989
  "input",
13953
13990
  {
13954
13991
  id,
@@ -13964,13 +14001,13 @@ var Input = React16.forwardRef(
13964
14001
  ref
13965
14002
  }
13966
14003
  ),
13967
- icon ? /* @__PURE__ */ jsx55("div", { css: inputIcon, children: icon }) : null
14004
+ icon ? /* @__PURE__ */ jsx56("div", { css: inputIcon, children: icon }) : null
13968
14005
  ]
13969
14006
  }
13970
14007
  ),
13971
- caption ? /* @__PURE__ */ jsx55(Caption, { testId: captionTestId, children: caption }) : null,
13972
- errorMessage ? /* @__PURE__ */ jsx55(ErrorMessage, { message: errorMessage, testId: errorTestId }) : null,
13973
- warningMessage && !errorMessage ? /* @__PURE__ */ jsx55(WarningMessage, { message: warningMessage }) : null
14008
+ caption ? /* @__PURE__ */ jsx56(Caption, { testId: captionTestId, children: caption }) : null,
14009
+ errorMessage ? /* @__PURE__ */ jsx56(ErrorMessage, { message: errorMessage, testId: errorTestId }) : null,
14010
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx56(WarningMessage, { message: warningMessage }) : null
13974
14011
  ]
13975
14012
  }
13976
14013
  );
@@ -13979,10 +14016,10 @@ var Input = React16.forwardRef(
13979
14016
 
13980
14017
  // src/components/Input/InputComboBox.tsx
13981
14018
  import Select from "react-select";
13982
- import { jsx as jsx56 } from "@emotion/react/jsx-runtime";
14019
+ import { jsx as jsx57 } from "@emotion/react/jsx-runtime";
13983
14020
  function InputComboBox(props) {
13984
14021
  var _a;
13985
- return /* @__PURE__ */ jsx56(
14022
+ return /* @__PURE__ */ jsx57(
13986
14023
  Select,
13987
14024
  {
13988
14025
  ...props,
@@ -14113,7 +14150,7 @@ function InputComboBox(props) {
14113
14150
  // src/components/Input/InputInlineSelect.tsx
14114
14151
  import { css as css52 } from "@emotion/react";
14115
14152
  import { CgChevronDown as CgChevronDown2 } from "@react-icons/all-files/cg/CgChevronDown";
14116
- import { useRef as useRef4, useState as useState7 } from "react";
14153
+ import { useRef as useRef4, useState as useState6 } from "react";
14117
14154
 
14118
14155
  // src/components/Input/styles/InputInlineSelect.styles.ts
14119
14156
  import { css as css51 } from "@emotion/react";
@@ -14182,7 +14219,7 @@ var inlineSelectMenuClosed = css51`
14182
14219
  `;
14183
14220
 
14184
14221
  // src/components/Input/InputInlineSelect.tsx
14185
- import { jsx as jsx57, jsxs as jsxs35 } from "@emotion/react/jsx-runtime";
14222
+ import { jsx as jsx58, jsxs as jsxs35 } from "@emotion/react/jsx-runtime";
14186
14223
  var InputInlineSelect = ({
14187
14224
  classNameContainer,
14188
14225
  options,
@@ -14192,7 +14229,7 @@ var InputInlineSelect = ({
14192
14229
  ...props
14193
14230
  }) => {
14194
14231
  var _a;
14195
- const [menuVisible, setMenuVisible] = useState7(false);
14232
+ const [menuVisible, setMenuVisible] = useState6(false);
14196
14233
  const divRef = useRef4(null);
14197
14234
  useOutsideClick(divRef, () => setMenuVisible(false));
14198
14235
  const selected = options.find((option) => option.value === value);
@@ -14220,18 +14257,18 @@ var InputInlineSelect = ({
14220
14257
  disabled: disabled2,
14221
14258
  ...props,
14222
14259
  children: [
14223
- /* @__PURE__ */ jsx57("span", { children: (_a = selected == null ? void 0 : selected.label) != null ? _a : value }),
14224
- disabled2 ? null : /* @__PURE__ */ jsx57(Icon, { icon: CgChevronDown2, iconColor: "currentColor", size: 24 })
14260
+ /* @__PURE__ */ jsx58("span", { children: (_a = selected == null ? void 0 : selected.label) != null ? _a : value }),
14261
+ disabled2 ? null : /* @__PURE__ */ jsx58(Icon, { icon: CgChevronDown2, iconColor: "currentColor", size: 24 })
14225
14262
  ]
14226
14263
  }
14227
14264
  ),
14228
- /* @__PURE__ */ jsx57(
14265
+ /* @__PURE__ */ jsx58(
14229
14266
  "div",
14230
14267
  {
14231
14268
  id: `and-or-${props.id}`,
14232
14269
  css: [inlineSelectMenu, menuVisible ? void 0 : inlineSelectMenuClosed],
14233
14270
  "aria-hidden": !menuVisible,
14234
- children: options.map((opt) => /* @__PURE__ */ jsx57(
14271
+ children: options.map((opt) => /* @__PURE__ */ jsx58(
14235
14272
  "button",
14236
14273
  {
14237
14274
  type: "button",
@@ -14254,7 +14291,7 @@ var InputInlineSelect = ({
14254
14291
  // src/components/Input/InputKeywordSearch.tsx
14255
14292
  import { CgClose as CgClose4 } from "@react-icons/all-files/cg/CgClose";
14256
14293
  import { CgSearch } from "@react-icons/all-files/cg/CgSearch";
14257
- import { jsx as jsx58 } from "@emotion/react/jsx-runtime";
14294
+ import { jsx as jsx59 } from "@emotion/react/jsx-runtime";
14258
14295
  var InputKeywordSearch = ({
14259
14296
  onSearchTextChanged,
14260
14297
  disabled: disabled2 = false,
@@ -14275,7 +14312,7 @@ var InputKeywordSearch = ({
14275
14312
  e.preventDefault();
14276
14313
  }
14277
14314
  };
14278
- return /* @__PURE__ */ jsx58(
14315
+ return /* @__PURE__ */ jsx59(
14279
14316
  Input,
14280
14317
  {
14281
14318
  type: "text",
@@ -14283,7 +14320,7 @@ var InputKeywordSearch = ({
14283
14320
  placeholder,
14284
14321
  showLabel: false,
14285
14322
  value,
14286
- 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" }),
14323
+ 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" }),
14287
14324
  onChange: handleSearchTextChanged,
14288
14325
  onKeyPress: preventSubmitOnField,
14289
14326
  disabled: disabled2,
@@ -14302,7 +14339,7 @@ var InputKeywordSearch = ({
14302
14339
  };
14303
14340
 
14304
14341
  // src/components/Input/InputSelect.tsx
14305
- import { Fragment as Fragment9, jsx as jsx59, jsxs as jsxs36 } from "@emotion/react/jsx-runtime";
14342
+ import { Fragment as Fragment8, jsx as jsx60, jsxs as jsxs36 } from "@emotion/react/jsx-runtime";
14306
14343
  var InputSelect = ({
14307
14344
  label,
14308
14345
  defaultOption,
@@ -14324,7 +14361,7 @@ var InputSelect = ({
14324
14361
  css: [inputContainer, typeof classNameContainer === "object" ? classNameContainer : void 0],
14325
14362
  className: typeof classNameContainer === "string" ? classNameContainer : "",
14326
14363
  children: [
14327
- showLabel ? /* @__PURE__ */ jsx59(Fragment9, { children: /* @__PURE__ */ jsxs36(
14364
+ showLabel ? /* @__PURE__ */ jsx60(Fragment8, { children: /* @__PURE__ */ jsxs36(
14328
14365
  Label,
14329
14366
  {
14330
14367
  htmlFor: props.id,
@@ -14351,14 +14388,14 @@ var InputSelect = ({
14351
14388
  className: typeof classNameControl === "string" ? classNameControl : "",
14352
14389
  ...props,
14353
14390
  children: [
14354
- defaultOption ? /* @__PURE__ */ jsx59("option", { value: "", children: defaultOption }) : null,
14355
- options.map((opt, index) => /* @__PURE__ */ jsx59("option", { value: opt.label, ...opt }, index))
14391
+ defaultOption ? /* @__PURE__ */ jsx60("option", { value: "", children: defaultOption }) : null,
14392
+ options.map((opt, index) => /* @__PURE__ */ jsx60("option", { value: opt.label, ...opt }, index))
14356
14393
  ]
14357
14394
  }
14358
14395
  ),
14359
- caption ? /* @__PURE__ */ jsx59(Caption, { children: caption }) : null,
14360
- errorMessage ? /* @__PURE__ */ jsx59(ErrorMessage, { message: errorMessage }) : null,
14361
- warningMessage && !errorMessage ? /* @__PURE__ */ jsx59(WarningMessage, { message: warningMessage }) : null
14396
+ caption ? /* @__PURE__ */ jsx60(Caption, { children: caption }) : null,
14397
+ errorMessage ? /* @__PURE__ */ jsx60(ErrorMessage, { message: errorMessage }) : null,
14398
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx60(WarningMessage, { message: warningMessage }) : null
14362
14399
  ]
14363
14400
  }
14364
14401
  );
@@ -14366,7 +14403,7 @@ var InputSelect = ({
14366
14403
 
14367
14404
  // src/components/Input/InputToggle.tsx
14368
14405
  import * as React17 from "react";
14369
- import { jsx as jsx60, jsxs as jsxs37 } from "@emotion/react/jsx-runtime";
14406
+ import { jsx as jsx61, jsxs as jsxs37 } from "@emotion/react/jsx-runtime";
14370
14407
  var InputToggle = React17.forwardRef(
14371
14408
  ({
14372
14409
  label,
@@ -14392,7 +14429,7 @@ var InputToggle = React17.forwardRef(
14392
14429
  css: [inputToggleLabel, disabled2 ? inputDisabled : void 0],
14393
14430
  "data-testid": testId ? testId : "input-toggle",
14394
14431
  children: [
14395
- /* @__PURE__ */ jsx60(
14432
+ /* @__PURE__ */ jsx61(
14396
14433
  "input",
14397
14434
  {
14398
14435
  ref,
@@ -14404,11 +14441,11 @@ var InputToggle = React17.forwardRef(
14404
14441
  ...props
14405
14442
  }
14406
14443
  ),
14407
- /* @__PURE__ */ jsx60("span", { css: [inlineLabel, fontWeightStyles[fontWeight]], children: label }),
14444
+ /* @__PURE__ */ jsx61("span", { css: [inlineLabel, fontWeightStyles[fontWeight]], children: label }),
14408
14445
  caption || errorMessage ? /* @__PURE__ */ jsxs37("span", { css: inputToggleMessageContainer, children: [
14409
- caption ? /* @__PURE__ */ jsx60(Caption, { children: caption }) : null,
14410
- errorMessage ? /* @__PURE__ */ jsx60(ErrorMessage, { message: errorMessage }) : null,
14411
- warningMessage && !errorMessage ? /* @__PURE__ */ jsx60(WarningMessage, { message: warningMessage }) : null
14446
+ caption ? /* @__PURE__ */ jsx61(Caption, { children: caption }) : null,
14447
+ errorMessage ? /* @__PURE__ */ jsx61(ErrorMessage, { message: errorMessage }) : null,
14448
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx61(WarningMessage, { message: warningMessage }) : null
14412
14449
  ] }) : null
14413
14450
  ]
14414
14451
  }
@@ -14417,9 +14454,9 @@ var InputToggle = React17.forwardRef(
14417
14454
  );
14418
14455
 
14419
14456
  // src/components/Input/Legend.tsx
14420
- import { jsx as jsx61 } from "@emotion/react/jsx-runtime";
14457
+ import { jsx as jsx62 } from "@emotion/react/jsx-runtime";
14421
14458
  var Legend = ({ children }) => {
14422
- return /* @__PURE__ */ jsx61("legend", { css: fieldsetLegend, children });
14459
+ return /* @__PURE__ */ jsx62("legend", { css: fieldsetLegend, children });
14423
14460
  };
14424
14461
 
14425
14462
  // src/components/Input/SuccessMessage.tsx
@@ -14441,23 +14478,23 @@ var SuccessIcon2 = css53`
14441
14478
  `;
14442
14479
 
14443
14480
  // src/components/Input/SuccessMessage.tsx
14444
- import { jsx as jsx62, jsxs as jsxs38 } from "@emotion/react/jsx-runtime";
14481
+ import { jsx as jsx63, jsxs as jsxs38 } from "@emotion/react/jsx-runtime";
14445
14482
  var SuccessMessage = ({ message, testId, ...props }) => {
14446
14483
  return message ? /* @__PURE__ */ jsxs38("span", { role: "status", css: SuccessText, "data-testid": testId, ...props, children: [
14447
- /* @__PURE__ */ jsx62("span", { children: /* @__PURE__ */ jsx62(Icon, { css: SuccessIcon2, icon: CgCheckO, size: "1rem", iconColor: "currentColor" }) }),
14484
+ /* @__PURE__ */ jsx63("span", { children: /* @__PURE__ */ jsx63(Icon, { css: SuccessIcon2, icon: CgCheckO, size: "1rem", iconColor: "currentColor" }) }),
14448
14485
  message
14449
14486
  ] }) : null;
14450
14487
  };
14451
14488
 
14452
14489
  // src/components/Input/Textarea.tsx
14453
- import { forwardRef as forwardRef9 } from "react";
14454
- import { Fragment as Fragment10, jsx as jsx63, jsxs as jsxs39 } from "@emotion/react/jsx-runtime";
14455
- var Textarea = forwardRef9(
14490
+ import { forwardRef as forwardRef10 } from "react";
14491
+ import { Fragment as Fragment9, jsx as jsx64, jsxs as jsxs39 } from "@emotion/react/jsx-runtime";
14492
+ var Textarea = forwardRef10(
14456
14493
  ({ label, icon, id, caption, showLabel = true, errorMessage, warningMessage, ...props }, ref) => {
14457
- return /* @__PURE__ */ jsxs39(Fragment10, { children: [
14458
- showLabel ? /* @__PURE__ */ jsx63("label", { htmlFor: id, css: [labelText], children: label }) : null,
14494
+ return /* @__PURE__ */ jsxs39(Fragment9, { children: [
14495
+ showLabel ? /* @__PURE__ */ jsx64("label", { htmlFor: id, css: [labelText], children: label }) : null,
14459
14496
  /* @__PURE__ */ jsxs39("div", { css: [inputContainer], children: [
14460
- /* @__PURE__ */ jsx63(
14497
+ /* @__PURE__ */ jsx64(
14461
14498
  "textarea",
14462
14499
  {
14463
14500
  ref,
@@ -14472,11 +14509,11 @@ var Textarea = forwardRef9(
14472
14509
  ...props
14473
14510
  }
14474
14511
  ),
14475
- icon ? /* @__PURE__ */ jsx63("div", { css: inputIcon, children: icon }) : null
14512
+ icon ? /* @__PURE__ */ jsx64("div", { css: inputIcon, children: icon }) : null
14476
14513
  ] }),
14477
- caption ? /* @__PURE__ */ jsx63(Caption, { children: caption }) : null,
14478
- errorMessage ? /* @__PURE__ */ jsx63(ErrorMessage, { message: errorMessage }) : null,
14479
- warningMessage && !errorMessage ? /* @__PURE__ */ jsx63(WarningMessage, { message: warningMessage }) : null
14514
+ caption ? /* @__PURE__ */ jsx64(Caption, { children: caption }) : null,
14515
+ errorMessage ? /* @__PURE__ */ jsx64(ErrorMessage, { message: errorMessage }) : null,
14516
+ warningMessage && !errorMessage ? /* @__PURE__ */ jsx64(WarningMessage, { message: warningMessage }) : null
14480
14517
  ] });
14481
14518
  }
14482
14519
  );
@@ -14523,7 +14560,7 @@ var variantFillImageImg = css54`
14523
14560
  `;
14524
14561
 
14525
14562
  // src/components/Image/ImageBroken.tsx
14526
- import { jsx as jsx64, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
14563
+ import { jsx as jsx65, jsxs as jsxs40 } from "@emotion/react/jsx-runtime";
14527
14564
  var ImageBroken = ({ width, height, ...props }) => {
14528
14565
  return /* @__PURE__ */ jsxs40(
14529
14566
  "svg",
@@ -14538,11 +14575,11 @@ var ImageBroken = ({ width, height, ...props }) => {
14538
14575
  "data-testid": "broken-image",
14539
14576
  ...props,
14540
14577
  children: [
14541
- /* @__PURE__ */ jsx64("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
14542
- /* @__PURE__ */ jsx64("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
14578
+ /* @__PURE__ */ jsx65("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
14579
+ /* @__PURE__ */ jsx65("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
14543
14580
  /* @__PURE__ */ jsxs40("defs", { children: [
14544
- /* @__PURE__ */ jsx64("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ jsx64("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
14545
- /* @__PURE__ */ jsx64(
14581
+ /* @__PURE__ */ jsx65("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ jsx65("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
14582
+ /* @__PURE__ */ jsx65(
14546
14583
  "image",
14547
14584
  {
14548
14585
  id: "image0_761_4353",
@@ -14558,7 +14595,7 @@ var ImageBroken = ({ width, height, ...props }) => {
14558
14595
  };
14559
14596
 
14560
14597
  // src/components/Image/Image.tsx
14561
- import { Fragment as Fragment11, jsx as jsx65, jsxs as jsxs41 } from "@emotion/react/jsx-runtime";
14598
+ import { Fragment as Fragment10, jsx as jsx66, jsxs as jsxs41 } from "@emotion/react/jsx-runtime";
14562
14599
  var MIN_LOADING_MS = 100;
14563
14600
  function Image({
14564
14601
  alt,
@@ -14570,8 +14607,8 @@ function Image({
14570
14607
  height,
14571
14608
  ...imgAttribs
14572
14609
  }) {
14573
- const [loading, setLoading] = useState8(true);
14574
- const [loadErrorText, setLoadErrorText] = useState8("");
14610
+ const [loading, setLoading] = useState7(true);
14611
+ const [loadErrorText, setLoadErrorText] = useState7("");
14575
14612
  const errorText = "The text you provided is not a valid URL";
14576
14613
  const updateImageSrc = useCallback2(() => {
14577
14614
  let message = "";
@@ -14618,7 +14655,7 @@ function Image({
14618
14655
  variant === "fill-container" ? variantFillImageWrapper : null
14619
14656
  ],
14620
14657
  children: [
14621
- src && !loadErrorText ? /* @__PURE__ */ jsx65(
14658
+ src && !loadErrorText ? /* @__PURE__ */ jsx66(
14622
14659
  "img",
14623
14660
  {
14624
14661
  ...imgAttribs,
@@ -14637,8 +14674,8 @@ function Image({
14637
14674
  onError: handleErrorEvent
14638
14675
  }
14639
14676
  ) : null,
14640
- src && loadErrorText ? /* @__PURE__ */ jsxs41(Fragment11, { children: [
14641
- /* @__PURE__ */ jsx65(
14677
+ src && loadErrorText ? /* @__PURE__ */ jsxs41(Fragment10, { children: [
14678
+ /* @__PURE__ */ jsx66(
14642
14679
  ImageBroken,
14643
14680
  {
14644
14681
  css: [brokenImage, img, imgLoaded],
@@ -14647,7 +14684,7 @@ function Image({
14647
14684
  "data-testid": "broken-image"
14648
14685
  }
14649
14686
  ),
14650
- /* @__PURE__ */ jsx65(ErrorMessage, { message: loadErrorText })
14687
+ /* @__PURE__ */ jsx66(ErrorMessage, { message: loadErrorText })
14651
14688
  ] }) : null
14652
14689
  ]
14653
14690
  }
@@ -14789,7 +14826,7 @@ var IntegrationTileFloatingButtonMessage = (clicked) => css55`
14789
14826
  `;
14790
14827
 
14791
14828
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
14792
- import { jsx as jsx66, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
14829
+ import { jsx as jsx67, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
14793
14830
  var CreateTeamIntegrationTile = ({
14794
14831
  title: title2 = "Create a custom integration for your team",
14795
14832
  buttonText = "Add Integration",
@@ -14798,7 +14835,7 @@ var CreateTeamIntegrationTile = ({
14798
14835
  ...props
14799
14836
  }) => {
14800
14837
  return /* @__PURE__ */ jsxs42("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
14801
- /* @__PURE__ */ jsx66("span", { css: IntegrationTileTitle, title: title2, children: title2 }),
14838
+ /* @__PURE__ */ jsx67("span", { css: IntegrationTileTitle, title: title2, children: title2 }),
14802
14839
  /* @__PURE__ */ jsxs42(
14803
14840
  Button,
14804
14841
  {
@@ -14809,7 +14846,7 @@ var CreateTeamIntegrationTile = ({
14809
14846
  css: IntegrationTitleFakeButton,
14810
14847
  children: [
14811
14848
  buttonText,
14812
- asDeepLink ? /* @__PURE__ */ jsx66(
14849
+ asDeepLink ? /* @__PURE__ */ jsx67(
14813
14850
  Icon,
14814
14851
  {
14815
14852
  icon: CgChevronRight2,
@@ -14819,7 +14856,7 @@ var CreateTeamIntegrationTile = ({
14819
14856
  order: 1;
14820
14857
  `
14821
14858
  }
14822
- ) : /* @__PURE__ */ jsx66(
14859
+ ) : /* @__PURE__ */ jsx67(
14823
14860
  Icon,
14824
14861
  {
14825
14862
  icon: CgAdd2,
@@ -14840,31 +14877,31 @@ var CreateTeamIntegrationTile = ({
14840
14877
  import { CgCheck } from "@react-icons/all-files/cg/CgCheck";
14841
14878
  import { CgLock } from "@react-icons/all-files/cg/CgLock";
14842
14879
  import { CgSandClock } from "@react-icons/all-files/cg/CgSandClock";
14843
- import { jsx as jsx67, jsxs as jsxs43 } from "@emotion/react/jsx-runtime";
14880
+ import { jsx as jsx68, jsxs as jsxs43 } from "@emotion/react/jsx-runtime";
14844
14881
  var IntegrationedAddedBadge = ({ text = "Added" }) => {
14845
14882
  return /* @__PURE__ */ jsxs43("span", { "data-testid": "integration-icon-installed", css: IntegrationAddedText, children: [
14846
- /* @__PURE__ */ jsx67(Icon, { icon: CgCheck, iconColor: "currentColor" }),
14883
+ /* @__PURE__ */ jsx68(Icon, { icon: CgCheck, iconColor: "currentColor" }),
14847
14884
  text
14848
14885
  ] });
14849
14886
  };
14850
14887
  var IntegrationCustomBadge = ({ text = "Custom" }) => {
14851
- return /* @__PURE__ */ jsx67("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
14888
+ return /* @__PURE__ */ jsx68("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
14852
14889
  };
14853
14890
  var IntegrationPremiumBadge = ({ text = "Premium" }) => {
14854
14891
  return /* @__PURE__ */ jsxs43("span", { css: IntegrationCustomBadgeText("blue"), children: [
14855
- /* @__PURE__ */ jsx67(Icon, { icon: CgLock, iconColor: "currentColor", size: 12 }),
14892
+ /* @__PURE__ */ jsx68(Icon, { icon: CgLock, iconColor: "currentColor", size: 12 }),
14856
14893
  text
14857
14894
  ] });
14858
14895
  };
14859
14896
  var IntegrationComingSoonBadge = ({ text = "Coming soon" }) => {
14860
14897
  return /* @__PURE__ */ jsxs43("span", { css: IntegrationCustomBadgeText("blue"), children: [
14861
- /* @__PURE__ */ jsx67(Icon, { icon: CgSandClock, iconColor: "currentColor", size: 12 }),
14898
+ /* @__PURE__ */ jsx68(Icon, { icon: CgSandClock, iconColor: "currentColor", size: 12 }),
14862
14899
  text
14863
14900
  ] });
14864
14901
  };
14865
14902
 
14866
14903
  // src/components/Tiles/ResolveIcon.tsx
14867
- import { jsx as jsx68 } from "@emotion/react/jsx-runtime";
14904
+ import { jsx as jsx69 } from "@emotion/react/jsx-runtime";
14868
14905
  var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
14869
14906
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
14870
14907
  const mapClassName = {
@@ -14872,13 +14909,13 @@ var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
14872
14909
  logo: IntegrationTitleLogo
14873
14910
  };
14874
14911
  if (icon) {
14875
- return CompIcon ? /* @__PURE__ */ jsx68(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ jsx68("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
14912
+ return CompIcon ? /* @__PURE__ */ jsx69(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ jsx69("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
14876
14913
  }
14877
14914
  return null;
14878
14915
  };
14879
14916
 
14880
14917
  // src/components/Tiles/EditTeamIntegrationTile.tsx
14881
- import { jsx as jsx69, jsxs as jsxs44 } from "@emotion/react/jsx-runtime";
14918
+ import { jsx as jsx70, jsxs as jsxs44 } from "@emotion/react/jsx-runtime";
14882
14919
  var EditTeamIntegrationTile = ({
14883
14920
  id,
14884
14921
  icon,
@@ -14894,10 +14931,10 @@ var EditTeamIntegrationTile = ({
14894
14931
  "data-testid": "configure-integration-container",
14895
14932
  "integration-id": `${id.toLocaleLowerCase()}`,
14896
14933
  children: [
14897
- /* @__PURE__ */ jsx69(ResolveIcon, { icon, name, "data-testid": "integration-logo" }),
14898
- /* @__PURE__ */ jsx69("span", { css: IntegrationTileName, "data-testid": "integration-card-name", children: name }),
14899
- !isPublic ? /* @__PURE__ */ jsx69(IntegrationCustomBadge, {}) : null,
14900
- canEdit ? /* @__PURE__ */ jsx69(
14934
+ /* @__PURE__ */ jsx70(ResolveIcon, { icon, name, "data-testid": "integration-logo" }),
14935
+ /* @__PURE__ */ jsx70("span", { css: IntegrationTileName, "data-testid": "integration-card-name", children: name }),
14936
+ !isPublic ? /* @__PURE__ */ jsx70(IntegrationCustomBadge, {}) : null,
14937
+ canEdit ? /* @__PURE__ */ jsx70(
14901
14938
  Button,
14902
14939
  {
14903
14940
  buttonType: "unimportant",
@@ -14917,8 +14954,8 @@ var EditTeamIntegrationTile = ({
14917
14954
  // src/components/Tiles/IntegrationComingSoon.tsx
14918
14955
  import { css as css57 } from "@emotion/react";
14919
14956
  import { CgHeart } from "@react-icons/all-files/cg/CgHeart";
14920
- import { useEffect as useEffect8, useState as useState9 } from "react";
14921
- import { jsx as jsx70, jsxs as jsxs45 } from "@emotion/react/jsx-runtime";
14957
+ import { useEffect as useEffect8, useState as useState8 } from "react";
14958
+ import { jsx as jsx71, jsxs as jsxs45 } from "@emotion/react/jsx-runtime";
14922
14959
  var IntegrationComingSoon = ({
14923
14960
  name,
14924
14961
  icon,
@@ -14927,7 +14964,7 @@ var IntegrationComingSoon = ({
14927
14964
  timing = 1e3,
14928
14965
  ...props
14929
14966
  }) => {
14930
- const [upVote, setUpVote] = useState9(false);
14967
+ const [upVote, setUpVote] = useState8(false);
14931
14968
  const handleUpVoteInteraction = () => {
14932
14969
  setUpVote((prev) => !prev);
14933
14970
  onUpVoteClick();
@@ -14947,9 +14984,9 @@ var IntegrationComingSoon = ({
14947
14984
  "data-testid": `coming-soon-${id.toLowerCase()}-integration`,
14948
14985
  ...props,
14949
14986
  children: [
14950
- /* @__PURE__ */ jsx70(IntegrationComingSoonBadge, {}),
14951
- /* @__PURE__ */ jsx70(ResolveIcon, { icon, name }),
14952
- /* @__PURE__ */ jsx70("span", { css: IntegrationTileName, title: name, children: name }),
14987
+ /* @__PURE__ */ jsx71(IntegrationComingSoonBadge, {}),
14988
+ /* @__PURE__ */ jsx71(ResolveIcon, { icon, name }),
14989
+ /* @__PURE__ */ jsx71("span", { css: IntegrationTileName, title: name, children: name }),
14953
14990
  /* @__PURE__ */ jsxs45(
14954
14991
  Button,
14955
14992
  {
@@ -14960,8 +14997,8 @@ var IntegrationComingSoon = ({
14960
14997
  role: "link",
14961
14998
  css: [IntegrationTileFloatingButton, IntegrationTileFloatingButtonMessage(upVote)],
14962
14999
  children: [
14963
- /* @__PURE__ */ jsx70("strong", { children: "+1" }),
14964
- /* @__PURE__ */ jsx70(
15000
+ /* @__PURE__ */ jsx71("strong", { children: "+1" }),
15001
+ /* @__PURE__ */ jsx71(
14965
15002
  "span",
14966
15003
  {
14967
15004
  css: css57`
@@ -14972,7 +15009,7 @@ var IntegrationComingSoon = ({
14972
15009
  }
14973
15010
  ),
14974
15011
  /* @__PURE__ */ jsxs45("span", { "aria-hidden": !upVote, children: [
14975
- /* @__PURE__ */ jsx70(Icon, { icon: CgHeart, iconColor: "currentColor", size: 18 }),
15012
+ /* @__PURE__ */ jsx71(Icon, { icon: CgHeart, iconColor: "currentColor", size: 18 }),
14976
15013
  "Thanks!"
14977
15014
  ] })
14978
15015
  ]
@@ -15028,12 +15065,12 @@ var IntegrationLoadingFrame = css58`
15028
15065
  `;
15029
15066
 
15030
15067
  // src/components/Tiles/IntegrationLoadingTile.tsx
15031
- import { Fragment as Fragment12, jsx as jsx71, jsxs as jsxs46 } from "@emotion/react/jsx-runtime";
15068
+ import { Fragment as Fragment11, jsx as jsx72, jsxs as jsxs46 } from "@emotion/react/jsx-runtime";
15032
15069
  var IntegrationLoadingTile = ({ count = 1 }) => {
15033
15070
  const componentCount = Array.from(Array(count).keys());
15034
- return /* @__PURE__ */ jsx71(Fragment12, { children: componentCount.map((i) => /* @__PURE__ */ jsxs46("div", { css: IntegrationLoadingTileContainer, children: [
15035
- /* @__PURE__ */ jsx71("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
15036
- /* @__PURE__ */ jsx71("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
15071
+ return /* @__PURE__ */ jsx72(Fragment11, { children: componentCount.map((i) => /* @__PURE__ */ jsxs46("div", { css: IntegrationLoadingTileContainer, children: [
15072
+ /* @__PURE__ */ jsx72("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
15073
+ /* @__PURE__ */ jsx72("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
15037
15074
  ] }, i)) });
15038
15075
  };
15039
15076
 
@@ -15053,7 +15090,7 @@ var IntegrationModalImage = css59`
15053
15090
  `;
15054
15091
 
15055
15092
  // src/components/Tiles/IntegrationModalIcon.tsx
15056
- import { jsx as jsx72, jsxs as jsxs47 } from "@emotion/react/jsx-runtime";
15093
+ import { jsx as jsx73, jsxs as jsxs47 } from "@emotion/react/jsx-runtime";
15057
15094
  var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
15058
15095
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
15059
15096
  let iconSrc = void 0;
@@ -15071,7 +15108,7 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
15071
15108
  }
15072
15109
  return /* @__PURE__ */ jsxs47("div", { css: IntegrationModalIconContainer, children: [
15073
15110
  /* @__PURE__ */ jsxs47("svg", { width: "49", height: "57", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
15074
- /* @__PURE__ */ jsx72(
15111
+ /* @__PURE__ */ jsx73(
15075
15112
  "path",
15076
15113
  {
15077
15114
  d: "m24.367 1.813 22.786 13.322V41.78L24.367 55.102 1.581 41.78V15.135L24.367 1.814Z",
@@ -15080,12 +15117,12 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
15080
15117
  strokeWidth: "2"
15081
15118
  }
15082
15119
  ),
15083
- /* @__PURE__ */ jsx72("defs", { children: /* @__PURE__ */ jsxs47("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
15084
- /* @__PURE__ */ jsx72("stop", { stopColor: "#1768B2" }),
15085
- /* @__PURE__ */ jsx72("stop", { offset: "1", stopColor: "#B3EFE4" })
15120
+ /* @__PURE__ */ jsx73("defs", { children: /* @__PURE__ */ jsxs47("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
15121
+ /* @__PURE__ */ jsx73("stop", { stopColor: "#1768B2" }),
15122
+ /* @__PURE__ */ jsx73("stop", { offset: "1", stopColor: "#B3EFE4" })
15086
15123
  ] }) })
15087
15124
  ] }),
15088
- CompIcon ? /* @__PURE__ */ jsx72(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : iconSrc ? /* @__PURE__ */ jsx72(
15125
+ CompIcon ? /* @__PURE__ */ jsx73(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : iconSrc ? /* @__PURE__ */ jsx73(
15089
15126
  "img",
15090
15127
  {
15091
15128
  src: iconSrc,
@@ -15099,7 +15136,7 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
15099
15136
  };
15100
15137
 
15101
15138
  // src/components/Tiles/IntegrationTile.tsx
15102
- import { jsx as jsx73, jsxs as jsxs48 } from "@emotion/react/jsx-runtime";
15139
+ import { jsx as jsx74, jsxs as jsxs48 } from "@emotion/react/jsx-runtime";
15103
15140
  var IntegrationTile = ({
15104
15141
  id,
15105
15142
  icon,
@@ -15121,12 +15158,12 @@ var IntegrationTile = ({
15121
15158
  "aria-label": name,
15122
15159
  ...btnProps,
15123
15160
  children: [
15124
- /* @__PURE__ */ jsx73(ResolveIcon, { icon, name }),
15125
- /* @__PURE__ */ jsx73("span", { css: IntegrationTileName, title: name, children: name }),
15126
- isInstalled ? /* @__PURE__ */ jsx73(IntegrationedAddedBadge, {}) : null,
15127
- requiedEntitlement && isPublic ? /* @__PURE__ */ jsx73(IntegrationPremiumBadge, {}) : null,
15128
- !isPublic ? /* @__PURE__ */ jsx73(IntegrationCustomBadge, {}) : null,
15129
- authorIcon ? /* @__PURE__ */ jsx73(ResolveIcon, { icon: authorIcon, name }) : null
15161
+ /* @__PURE__ */ jsx74(ResolveIcon, { icon, name }),
15162
+ /* @__PURE__ */ jsx74("span", { css: IntegrationTileName, title: name, children: name }),
15163
+ isInstalled ? /* @__PURE__ */ jsx74(IntegrationedAddedBadge, {}) : null,
15164
+ requiedEntitlement && isPublic ? /* @__PURE__ */ jsx74(IntegrationPremiumBadge, {}) : null,
15165
+ !isPublic ? /* @__PURE__ */ jsx74(IntegrationCustomBadge, {}) : null,
15166
+ authorIcon ? /* @__PURE__ */ jsx74(ResolveIcon, { icon: authorIcon, name }) : null
15130
15167
  ]
15131
15168
  }
15132
15169
  );
@@ -15159,9 +15196,9 @@ var Tile = css60`
15159
15196
  `;
15160
15197
 
15161
15198
  // src/components/Tiles/Tile.tsx
15162
- import { jsx as jsx74 } from "@emotion/react/jsx-runtime";
15199
+ import { jsx as jsx75 } from "@emotion/react/jsx-runtime";
15163
15200
  var Tile2 = ({ children, disabled: disabled2, ...props }) => {
15164
- return /* @__PURE__ */ jsx74("button", { type: "button", css: Tile, disabled: disabled2, ...props, children });
15201
+ return /* @__PURE__ */ jsx75("button", { type: "button", css: Tile, disabled: disabled2, ...props, children });
15165
15202
  };
15166
15203
 
15167
15204
  // src/components/Tiles/styles/TileContainer.styles.ts
@@ -15184,7 +15221,7 @@ var TileContainerInner = (gap, templateColumns) => css61`
15184
15221
  `;
15185
15222
 
15186
15223
  // src/components/Tiles/TileContainer.tsx
15187
- import { jsx as jsx75 } from "@emotion/react/jsx-runtime";
15224
+ import { jsx as jsx76 } from "@emotion/react/jsx-runtime";
15188
15225
  var TileContainer = ({
15189
15226
  bgColor = "var(--brand-secondary-2)",
15190
15227
  containerPadding = "base",
@@ -15193,7 +15230,7 @@ var TileContainer = ({
15193
15230
  children,
15194
15231
  ...props
15195
15232
  }) => {
15196
- return /* @__PURE__ */ jsx75("div", { css: TileContainerWrapper(bgColor, containerPadding), ...props, children: /* @__PURE__ */ jsx75("div", { css: TileContainerInner(gap, gridTemplateColumns), children }) });
15233
+ return /* @__PURE__ */ jsx76("div", { css: TileContainerWrapper(bgColor, containerPadding), ...props, children: /* @__PURE__ */ jsx76("div", { css: TileContainerInner(gap, gridTemplateColumns), children }) });
15197
15234
  };
15198
15235
 
15199
15236
  // src/components/Tiles/styles/TileText.styles.ts
@@ -15208,10 +15245,10 @@ var TileText = css62`
15208
15245
  `;
15209
15246
 
15210
15247
  // src/components/Tiles/TileText.tsx
15211
- import { jsx as jsx76 } from "@emotion/react/jsx-runtime";
15248
+ import { jsx as jsx77 } from "@emotion/react/jsx-runtime";
15212
15249
  var TileText2 = ({ as = "heading", children, ...props }) => {
15213
15250
  const isHeading = as === "heading";
15214
- return /* @__PURE__ */ jsx76(
15251
+ return /* @__PURE__ */ jsx77(
15215
15252
  "span",
15216
15253
  {
15217
15254
  role: isHeading ? "heading" : void 0,
@@ -15260,7 +15297,7 @@ var IntegrationModalHeaderContentWrapper = css63`
15260
15297
  `;
15261
15298
 
15262
15299
  // src/components/IntegrationModalHeader/IntegrationModalHeader.tsx
15263
- import { Fragment as Fragment13, jsx as jsx77, jsxs as jsxs49 } from "@emotion/react/jsx-runtime";
15300
+ import { Fragment as Fragment12, jsx as jsx78, jsxs as jsxs49 } from "@emotion/react/jsx-runtime";
15264
15301
  var HexModalBackground = ({ ...props }) => {
15265
15302
  return /* @__PURE__ */ jsxs49(
15266
15303
  "svg",
@@ -15272,7 +15309,7 @@ var HexModalBackground = ({ ...props }) => {
15272
15309
  xmlns: "http://www.w3.org/2000/svg",
15273
15310
  ...props,
15274
15311
  children: [
15275
- /* @__PURE__ */ jsx77(
15312
+ /* @__PURE__ */ jsx78(
15276
15313
  "path",
15277
15314
  {
15278
15315
  fillRule: "evenodd",
@@ -15281,7 +15318,7 @@ var HexModalBackground = ({ ...props }) => {
15281
15318
  fill: "url(#paint0_linear_196_2737)"
15282
15319
  }
15283
15320
  ),
15284
- /* @__PURE__ */ jsx77("defs", { children: /* @__PURE__ */ jsxs49(
15321
+ /* @__PURE__ */ jsx78("defs", { children: /* @__PURE__ */ jsxs49(
15285
15322
  "linearGradient",
15286
15323
  {
15287
15324
  id: "paint0_linear_196_2737",
@@ -15291,8 +15328,8 @@ var HexModalBackground = ({ ...props }) => {
15291
15328
  y2: "-95.2742",
15292
15329
  gradientUnits: "userSpaceOnUse",
15293
15330
  children: [
15294
- /* @__PURE__ */ jsx77("stop", { stopColor: "#81DCDE" }),
15295
- /* @__PURE__ */ jsx77("stop", { offset: "1", stopColor: "#428ED4" })
15331
+ /* @__PURE__ */ jsx78("stop", { stopColor: "#81DCDE" }),
15332
+ /* @__PURE__ */ jsx78("stop", { offset: "1", stopColor: "#428ED4" })
15296
15333
  ]
15297
15334
  }
15298
15335
  ) })
@@ -15300,24 +15337,24 @@ var HexModalBackground = ({ ...props }) => {
15300
15337
  }
15301
15338
  );
15302
15339
  };
15303
- var IntegrationModalHeader = ({ icon, name, menu: menu2, children }) => {
15304
- return /* @__PURE__ */ jsxs49(Fragment13, { children: [
15305
- /* @__PURE__ */ jsx77(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
15306
- /* @__PURE__ */ jsx77("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ jsxs49("div", { css: IntegrationModalHeaderTitleGroup, children: [
15307
- icon ? /* @__PURE__ */ jsx77(IntegrationModalIcon, { icon, name: name || "" }) : null,
15308
- /* @__PURE__ */ jsx77(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-testid": "integration-modal-title", children: name || "Create Team Integration" }),
15309
- menu2 ? /* @__PURE__ */ jsxs49("div", { css: IntegrationModalHeaderMenuPlacement, children: [
15310
- menu2,
15340
+ var IntegrationModalHeader = ({ icon, name, menu, children }) => {
15341
+ return /* @__PURE__ */ jsxs49(Fragment12, { children: [
15342
+ /* @__PURE__ */ jsx78(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
15343
+ /* @__PURE__ */ jsx78("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ jsxs49("div", { css: IntegrationModalHeaderTitleGroup, children: [
15344
+ icon ? /* @__PURE__ */ jsx78(IntegrationModalIcon, { icon, name: name || "" }) : null,
15345
+ /* @__PURE__ */ jsx78(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-testid": "integration-modal-title", children: name || "Create Team Integration" }),
15346
+ menu ? /* @__PURE__ */ jsxs49("div", { css: IntegrationModalHeaderMenuPlacement, children: [
15347
+ menu,
15311
15348
  " "
15312
15349
  ] }) : null
15313
15350
  ] }) }),
15314
- /* @__PURE__ */ jsx77("div", { css: IntegrationModalHeaderContentWrapper, children })
15351
+ /* @__PURE__ */ jsx78("div", { css: IntegrationModalHeaderContentWrapper, children })
15315
15352
  ] });
15316
15353
  };
15317
15354
 
15318
15355
  // src/components/JsonEditor/JsonEditor.tsx
15319
15356
  import MonacoEditor from "@monaco-editor/react";
15320
- import { jsx as jsx78 } from "@emotion/react/jsx-runtime";
15357
+ import { jsx as jsx79 } from "@emotion/react/jsx-runtime";
15321
15358
  var minEditorHeightPx = 150;
15322
15359
  var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
15323
15360
  let effectiveHeight = height;
@@ -15327,7 +15364,7 @@ var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
15327
15364
  if (typeof effectiveHeight === "number" && effectiveHeight < minEditorHeightPx) {
15328
15365
  effectiveHeight = minEditorHeightPx;
15329
15366
  }
15330
- return /* @__PURE__ */ jsx78(
15367
+ return /* @__PURE__ */ jsx79(
15331
15368
  MonacoEditor,
15332
15369
  {
15333
15370
  height: effectiveHeight,
@@ -15396,7 +15433,7 @@ var LimitsBarTextColor = (statusColor) => css64`
15396
15433
  `;
15397
15434
 
15398
15435
  // src/components/LimitsBar/LimitsBar.tsx
15399
- import { jsx as jsx79, jsxs as jsxs50 } from "@emotion/react/jsx-runtime";
15436
+ import { jsx as jsx80, jsxs as jsxs50 } from "@emotion/react/jsx-runtime";
15400
15437
  var LimitsBar = ({ current, max, label }) => {
15401
15438
  const maxPercentage = 100;
15402
15439
  const progressBarValue = Math.ceil(current / max * maxPercentage);
@@ -15409,14 +15446,14 @@ var LimitsBar = ({ current, max, label }) => {
15409
15446
  const statusColor = progressBarValue === 100 ? colorMap.danger : progressBarValue >= 75 ? colorMap.warn : colorMap.base;
15410
15447
  return /* @__PURE__ */ jsxs50("div", { css: LimitsBarContainer, children: [
15411
15448
  /* @__PURE__ */ jsxs50("div", { css: LimitsBarLabelContainer, children: [
15412
- /* @__PURE__ */ jsx79("span", { css: LimitsBarLabel, children: label }),
15449
+ /* @__PURE__ */ jsx80("span", { css: LimitsBarLabel, children: label }),
15413
15450
  /* @__PURE__ */ jsxs50("span", { css: [LimitsBarLabel, LimitsBarTextColor(statusColor)], children: [
15414
15451
  current,
15415
15452
  " of ",
15416
15453
  max
15417
15454
  ] })
15418
15455
  ] }),
15419
- /* @__PURE__ */ jsx79(
15456
+ /* @__PURE__ */ jsx80(
15420
15457
  "div",
15421
15458
  {
15422
15459
  role: "progressbar",
@@ -15425,7 +15462,7 @@ var LimitsBar = ({ current, max, label }) => {
15425
15462
  "aria-valuemax": max,
15426
15463
  "aria-valuetext": `${current} of ${max}`,
15427
15464
  css: LimitsBarProgressBar,
15428
- children: /* @__PURE__ */ jsx79(
15465
+ children: /* @__PURE__ */ jsx80(
15429
15466
  "span",
15430
15467
  {
15431
15468
  role: "presentation",
@@ -15457,10 +15494,10 @@ var LinkListTitle = css65`
15457
15494
  `;
15458
15495
 
15459
15496
  // src/components/LinkList/LinkList.tsx
15460
- import { jsx as jsx80, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
15497
+ import { jsx as jsx81, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
15461
15498
  var LinkList = ({ title: title2, padding = "var(--spacing-md)", children, ...props }) => {
15462
15499
  return /* @__PURE__ */ jsxs51("div", { css: LinkListContainer(padding), ...props, children: [
15463
- /* @__PURE__ */ jsx80(Heading, { level: 3, css: LinkListTitle, children: title2 }),
15500
+ /* @__PURE__ */ jsx81(Heading, { level: 3, css: LinkListTitle, children: title2 }),
15464
15501
  children
15465
15502
  ] });
15466
15503
  };
@@ -15496,10 +15533,10 @@ var ScrollableListInner = css66`
15496
15533
  `;
15497
15534
 
15498
15535
  // src/components/List/ScrollableList.tsx
15499
- import { jsx as jsx81, jsxs as jsxs52 } from "@emotion/react/jsx-runtime";
15536
+ import { jsx as jsx82, jsxs as jsxs52 } from "@emotion/react/jsx-runtime";
15500
15537
  var ScrollableList = ({ label, children, ...props }) => {
15501
15538
  return /* @__PURE__ */ jsxs52("div", { css: [ScrollableListContainer, scrollbarStyles], ...props, children: [
15502
- label ? /* @__PURE__ */ jsx81(
15539
+ label ? /* @__PURE__ */ jsx82(
15503
15540
  "span",
15504
15541
  {
15505
15542
  css: css67`
@@ -15508,7 +15545,7 @@ var ScrollableList = ({ label, children, ...props }) => {
15508
15545
  children: label
15509
15546
  }
15510
15547
  ) : null,
15511
- /* @__PURE__ */ jsx81("div", { css: [ScrollableListInner, scrollbarStyles], children })
15548
+ /* @__PURE__ */ jsx82("div", { css: [ScrollableListInner, scrollbarStyles], children })
15512
15549
  ] });
15513
15550
  };
15514
15551
 
@@ -15580,7 +15617,7 @@ var ScrollableListIconVisible = css68`
15580
15617
  `;
15581
15618
 
15582
15619
  // src/components/List/ScrollableListInputItem.tsx
15583
- import { jsx as jsx82, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
15620
+ import { jsx as jsx83, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
15584
15621
  var ScrollableListInputItem = ({
15585
15622
  label,
15586
15623
  icon,
@@ -15590,7 +15627,7 @@ var ScrollableListInputItem = ({
15590
15627
  labelTestId,
15591
15628
  ...props
15592
15629
  }) => {
15593
- return /* @__PURE__ */ jsx82(
15630
+ return /* @__PURE__ */ jsx83(
15594
15631
  "div",
15595
15632
  {
15596
15633
  css: [
@@ -15604,8 +15641,8 @@ var ScrollableListInputItem = ({
15604
15641
  icon,
15605
15642
  label
15606
15643
  ] }),
15607
- /* @__PURE__ */ jsx82("div", { css: ScrollableListHiddenInput, children }),
15608
- /* @__PURE__ */ jsx82(
15644
+ /* @__PURE__ */ jsx83("div", { css: ScrollableListHiddenInput, children }),
15645
+ /* @__PURE__ */ jsx83(
15609
15646
  Icon,
15610
15647
  {
15611
15648
  icon: CgCheck2,
@@ -15623,7 +15660,7 @@ var ScrollableListInputItem = ({
15623
15660
 
15624
15661
  // src/components/List/ScrollableListItem.tsx
15625
15662
  import { CgCheck as CgCheck3 } from "@react-icons/all-files/cg/CgCheck";
15626
- import { jsx as jsx83, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
15663
+ import { jsx as jsx84, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
15627
15664
  var ScrollableListItem = ({
15628
15665
  buttonText,
15629
15666
  icon,
@@ -15631,7 +15668,7 @@ var ScrollableListItem = ({
15631
15668
  disableShadow,
15632
15669
  ...props
15633
15670
  }) => {
15634
- return /* @__PURE__ */ jsx83(
15671
+ return /* @__PURE__ */ jsx84(
15635
15672
  "div",
15636
15673
  {
15637
15674
  css: [
@@ -15642,9 +15679,9 @@ var ScrollableListItem = ({
15642
15679
  children: /* @__PURE__ */ jsxs54("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
15643
15680
  /* @__PURE__ */ jsxs54(HorizontalRhythm, { gap: "xs", align: "center", children: [
15644
15681
  icon,
15645
- /* @__PURE__ */ jsx83("span", { children: buttonText })
15682
+ /* @__PURE__ */ jsx84("span", { children: buttonText })
15646
15683
  ] }),
15647
- /* @__PURE__ */ jsx83(
15684
+ /* @__PURE__ */ jsx84(
15648
15685
  Icon,
15649
15686
  {
15650
15687
  icon: CgCheck3,
@@ -15711,16 +15748,16 @@ function loadingDot(size) {
15711
15748
  }
15712
15749
 
15713
15750
  // src/components/LoadingIndicator/LoadingIndicator.tsx
15714
- import { jsx as jsx84, jsxs as jsxs55 } from "@emotion/react/jsx-runtime";
15751
+ import { jsx as jsx85, jsxs as jsxs55 } from "@emotion/react/jsx-runtime";
15715
15752
  var LoadingIndicator = ({
15716
15753
  size = "lg",
15717
15754
  ...props
15718
15755
  }) => {
15719
15756
  const dotStyle = loadingDot(size);
15720
15757
  return /* @__PURE__ */ jsxs55("div", { role: "alert", css: loader, "data-testid": "loading-indicator", ...props, children: [
15721
- /* @__PURE__ */ jsx84("span", { css: dotStyle }),
15722
- /* @__PURE__ */ jsx84("span", { css: dotStyle }),
15723
- /* @__PURE__ */ jsx84("span", { css: dotStyle })
15758
+ /* @__PURE__ */ jsx85("span", { css: dotStyle }),
15759
+ /* @__PURE__ */ jsx85("span", { css: dotStyle }),
15760
+ /* @__PURE__ */ jsx85("span", { css: dotStyle })
15724
15761
  ] });
15725
15762
  };
15726
15763
 
@@ -15760,7 +15797,7 @@ var loadingOverlayMessage = css70`
15760
15797
  `;
15761
15798
 
15762
15799
  // src/components/LoadingOverlay/LoadingOverlay.tsx
15763
- import { jsx as jsx85, jsxs as jsxs56 } from "@emotion/react/jsx-runtime";
15800
+ import { jsx as jsx86, jsxs as jsxs56 } from "@emotion/react/jsx-runtime";
15764
15801
  var LoadingOverlay = ({
15765
15802
  isActive,
15766
15803
  statusMessage,
@@ -15794,9 +15831,9 @@ var LoadingOverlay = ({
15794
15831
  "aria-hidden": !isActive,
15795
15832
  "aria-busy": isActive && !isPaused,
15796
15833
  children: [
15797
- /* @__PURE__ */ jsx85("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
15798
- /* @__PURE__ */ jsx85("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */ jsxs56("div", { css: loadingOverlayBody, children: [
15799
- /* @__PURE__ */ jsx85(
15834
+ /* @__PURE__ */ jsx86("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
15835
+ /* @__PURE__ */ jsx86("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */ jsxs56("div", { css: loadingOverlayBody, children: [
15836
+ /* @__PURE__ */ jsx86(
15800
15837
  AnimationFile,
15801
15838
  {
15802
15839
  lottieRef,
@@ -15811,15 +15848,15 @@ var LoadingOverlay = ({
15811
15848
  }
15812
15849
  }
15813
15850
  ),
15814
- statusMessage ? /* @__PURE__ */ jsx85("div", { css: loadingOverlayMessage, children: statusMessage }) : null,
15815
- /* @__PURE__ */ jsx85("div", { css: { width: "100%", marginTop: "var(--spacing-md)" }, children })
15851
+ statusMessage ? /* @__PURE__ */ jsx86("div", { css: loadingOverlayMessage, children: statusMessage }) : null,
15852
+ /* @__PURE__ */ jsx86("div", { css: { width: "100%", marginTop: "var(--spacing-md)" }, children })
15816
15853
  ] }) })
15817
15854
  ]
15818
15855
  }
15819
15856
  );
15820
15857
  };
15821
15858
  var LoadingIcon = ({ height, width, ...props }) => {
15822
- return /* @__PURE__ */ jsx85(
15859
+ return /* @__PURE__ */ jsx86(
15823
15860
  "svg",
15824
15861
  {
15825
15862
  viewBox: "0 0 38 38",
@@ -15829,9 +15866,9 @@ var LoadingIcon = ({ height, width, ...props }) => {
15829
15866
  stroke: "currentColor",
15830
15867
  ...props,
15831
15868
  "data-testid": "loading-icon",
15832
- children: /* @__PURE__ */ jsx85("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxs56("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
15833
- /* @__PURE__ */ jsx85("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
15834
- /* @__PURE__ */ jsx85("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ jsx85(
15869
+ children: /* @__PURE__ */ jsx86("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxs56("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
15870
+ /* @__PURE__ */ jsx86("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
15871
+ /* @__PURE__ */ jsx86("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ jsx86(
15835
15872
  "animateTransform",
15836
15873
  {
15837
15874
  attributeName: "transform",
@@ -15887,7 +15924,7 @@ var Popover = css71`
15887
15924
  `;
15888
15925
 
15889
15926
  // src/components/Popover/Popover.tsx
15890
- import { Fragment as Fragment14, jsx as jsx86, jsxs as jsxs57 } from "@emotion/react/jsx-runtime";
15927
+ import { Fragment as Fragment13, jsx as jsx87, jsxs as jsxs57 } from "@emotion/react/jsx-runtime";
15891
15928
  var Popover2 = ({
15892
15929
  iconColor = "action",
15893
15930
  icon = "info",
@@ -15901,27 +15938,28 @@ var Popover2 = ({
15901
15938
  ...otherProps
15902
15939
  }) => {
15903
15940
  const popover = usePopoverState({ placement });
15904
- return /* @__PURE__ */ jsxs57(Fragment14, { children: [
15905
- /* @__PURE__ */ jsx86(
15941
+ return /* @__PURE__ */ jsxs57(Fragment13, { children: [
15942
+ /* @__PURE__ */ jsx87(
15906
15943
  PopoverDisclosure,
15907
15944
  {
15908
15945
  ...popover,
15909
15946
  css: [PopoverBtn, trigger ? void 0 : PopoverDefaulterTriggerBtn],
15910
15947
  title: buttonText,
15911
15948
  "data-testid": testId,
15912
- children: trigger ? trigger : /* @__PURE__ */ jsxs57(Fragment14, { children: [
15913
- /* @__PURE__ */ jsx86(Icon, { icon, iconColor, size: iconSize }),
15914
- /* @__PURE__ */ jsx86("span", { hidden: true, children: buttonText })
15949
+ children: trigger ? trigger : /* @__PURE__ */ jsxs57(Fragment13, { children: [
15950
+ /* @__PURE__ */ jsx87(Icon, { icon, iconColor, size: iconSize }),
15951
+ /* @__PURE__ */ jsx87("span", { hidden: true, children: buttonText })
15915
15952
  ] })
15916
15953
  }
15917
15954
  ),
15918
- /* @__PURE__ */ jsx86(ReakitPopover, { css: Popover, ...otherProps, ...popover, role: "tooltip", "aria-label": ariaLabel, children })
15955
+ /* @__PURE__ */ jsx87(ReakitPopover, { css: Popover, ...otherProps, ...popover, role: "tooltip", "aria-label": ariaLabel, children })
15919
15956
  ] });
15920
15957
  };
15921
15958
 
15922
15959
  // src/components/MediaCard/MediaCard.styles.ts
15923
15960
  import { css as css72 } from "@emotion/react";
15924
15961
  var cardBase = css72`
15962
+ --mediacard-title-color: var(--gray-500);
15925
15963
  display: flex;
15926
15964
  flex-direction: column;
15927
15965
  justify-content: flex-start;
@@ -15931,6 +15969,10 @@ var cardBase = css72`
15931
15969
  min-height: unset;
15932
15970
  outline: none;
15933
15971
  cursor: pointer;
15972
+
15973
+ &:hover {
15974
+ --mediacard-title-color: var(--brand-secondary-1);
15975
+ }
15934
15976
  `;
15935
15977
  var coverWrapper = css72`
15936
15978
  position: relative;
@@ -15950,13 +15992,14 @@ var contentWrapper = css72`
15950
15992
  `;
15951
15993
  var title = css72`
15952
15994
  font-size: var(--fs-sm);
15953
- color: var(--gray-500);
15995
+ color: var(--mediacard-title-color);
15954
15996
  white-space: nowrap;
15955
15997
  overflow: hidden;
15956
15998
  text-overflow: ellipsis;
15957
15999
  outline: none;
15958
16000
  border: 0;
15959
16001
  background-color: transparent;
16002
+ transition: color var(--duration-fast) var(--timing-ease-out);
15960
16003
 
15961
16004
  &:focus-visible {
15962
16005
  outline: 2px solid var(--primary-action-default);
@@ -15990,7 +16033,7 @@ var menuButton = css72`
15990
16033
  `;
15991
16034
 
15992
16035
  // src/components/MediaCard/MediaCard.tsx
15993
- import { jsx as jsx87, jsxs as jsxs58 } from "@emotion/react/jsx-runtime";
16036
+ import { jsx as jsx88, jsxs as jsxs58 } from "@emotion/react/jsx-runtime";
15994
16037
  var MediaCard = ({
15995
16038
  title: title2,
15996
16039
  subtitle: subtitle2,
@@ -16006,12 +16049,12 @@ var MediaCard = ({
16006
16049
  }, []);
16007
16050
  const hasMenuItems = Array.isArray(menuItems) ? menuItems.length > 0 : Boolean(menuItems);
16008
16051
  return /* @__PURE__ */ jsxs58(Card, { css: cardBase, ...cardProps, onClick, children: [
16009
- /* @__PURE__ */ jsx87("button", { tabIndex: -1, css: coverWrapper, children: cover }),
16010
- /* @__PURE__ */ jsx87("div", { css: contentWrapper, children: /* @__PURE__ */ jsxs58(HorizontalRhythm, { gap: "sm", justify: "space-between", align: "center", css: { width: "100%" }, children: [
16052
+ /* @__PURE__ */ jsx88("button", { tabIndex: -1, css: coverWrapper, children: cover }),
16053
+ /* @__PURE__ */ jsx88("div", { css: contentWrapper, children: /* @__PURE__ */ jsxs58(HorizontalRhythm, { gap: "sm", justify: "space-between", align: "center", css: { width: "100%" }, children: [
16011
16054
  /* @__PURE__ */ jsxs58(VerticalRhythm, { gap: "0", align: "flex-start", css: { flex: 1, minWidth: 0 }, children: [
16012
16055
  /* @__PURE__ */ jsxs58(HorizontalRhythm, { gap: "xs", align: "center", css: { maxWidth: "100%" }, children: [
16013
- /* @__PURE__ */ jsx87("button", { css: title, "data-testid": "card-title", children: title2 }),
16014
- !infoPopover ? null : /* @__PURE__ */ jsx87("div", { css: { display: "flex", cursor: "default" }, onClick: onStopPropogation, children: /* @__PURE__ */ jsx87(
16056
+ /* @__PURE__ */ jsx88("button", { css: title, "data-testid": "card-title", children: title2 }),
16057
+ !infoPopover ? null : /* @__PURE__ */ jsx88("div", { css: { display: "flex", cursor: "default" }, onClick: onStopPropogation, children: /* @__PURE__ */ jsx88(
16015
16058
  Popover2,
16016
16059
  {
16017
16060
  baseId: `info-of-${title2}`,
@@ -16020,24 +16063,24 @@ var MediaCard = ({
16020
16063
  iconColor: "default",
16021
16064
  tabIndex: 0,
16022
16065
  css: { display: "block" },
16023
- children: /* @__PURE__ */ jsx87("div", { children: infoPopover })
16066
+ children: /* @__PURE__ */ jsx88("div", { children: infoPopover })
16024
16067
  }
16025
16068
  ) })
16026
16069
  ] }),
16027
- subtitle2 ? /* @__PURE__ */ jsx87("button", { tabIndex: -1, css: subtitle, children: subtitle2 }) : null
16070
+ subtitle2 ? /* @__PURE__ */ jsx88("button", { tabIndex: -1, css: subtitle, children: subtitle2 }) : null
16028
16071
  ] }),
16029
- sideSection2 ? /* @__PURE__ */ jsx87("div", { css: sideSection, onClick: onStopPropogation, children: sideSection2 }) : null,
16030
- hasMenuItems ? /* @__PURE__ */ jsx87(
16072
+ sideSection2 ? /* @__PURE__ */ jsx88("div", { css: sideSection, onClick: onStopPropogation, children: sideSection2 }) : null,
16073
+ hasMenuItems ? /* @__PURE__ */ jsx88(
16031
16074
  VerticalRhythm,
16032
16075
  {
16033
16076
  css: menuSection,
16034
16077
  align: "center",
16035
16078
  justify: "center",
16036
16079
  onClick: onStopPropogation,
16037
- children: /* @__PURE__ */ jsx87(
16080
+ children: /* @__PURE__ */ jsx88(
16038
16081
  Menu,
16039
16082
  {
16040
- menuTrigger: /* @__PURE__ */ jsx87("button", { type: "button", "aria-label": "More options", css: menuButton, children: /* @__PURE__ */ jsx87(Icon, { icon: "more-alt", iconColor: "gray", size: 16 }) }),
16083
+ menuTrigger: /* @__PURE__ */ jsx88("button", { type: "button", "aria-label": "More options", css: menuButton, children: /* @__PURE__ */ jsx88(Icon, { icon: "more-alt", iconColor: "gray", size: 16 }) }),
16041
16084
  menuLabel: `Menu of ${title2}`,
16042
16085
  children: menuItems
16043
16086
  }
@@ -16098,6 +16141,7 @@ var modalCloseButtonStyles = css73`
16098
16141
  margin-left: auto;
16099
16142
  `;
16100
16143
  var modalContentStyles = css73`
16144
+ position: relative;
16101
16145
  flex: 1;
16102
16146
  background-color: white;
16103
16147
  padding: var(--spacing-md);
@@ -16106,7 +16150,7 @@ var modalContentStyles = css73`
16106
16150
  `;
16107
16151
 
16108
16152
  // src/components/Modal/Modal.tsx
16109
- import { jsx as jsx88, jsxs as jsxs59 } from "@emotion/react/jsx-runtime";
16153
+ import { jsx as jsx89, jsxs as jsxs59 } from "@emotion/react/jsx-runtime";
16110
16154
  var defaultModalWidth = "75rem";
16111
16155
  var defaultModalHeight = "51rem";
16112
16156
  var Modal = React19.forwardRef(
@@ -16126,7 +16170,7 @@ var Modal = React19.forwardRef(
16126
16170
  shortcut: "escape"
16127
16171
  });
16128
16172
  return /* @__PURE__ */ jsxs59("div", { css: [modalWrapperStyles, wrapperClassName], children: [
16129
- /* @__PURE__ */ jsx88("div", { onClick: onRequestClose, css: modalBackdropStyles }),
16173
+ /* @__PURE__ */ jsx89("div", { onClick: onRequestClose, css: modalBackdropStyles }),
16130
16174
  /* @__PURE__ */ jsxs59(
16131
16175
  "dialog",
16132
16176
  {
@@ -16137,8 +16181,8 @@ var Modal = React19.forwardRef(
16137
16181
  ...modalProps,
16138
16182
  children: [
16139
16183
  /* @__PURE__ */ jsxs59("div", { css: modalHeaderStyles, children: [
16140
- /* @__PURE__ */ jsx88("div", { children: header }),
16141
- /* @__PURE__ */ jsx88(
16184
+ /* @__PURE__ */ jsx89("div", { children: header }),
16185
+ /* @__PURE__ */ jsx89(
16142
16186
  Button,
16143
16187
  {
16144
16188
  type: "button",
@@ -16147,12 +16191,12 @@ var Modal = React19.forwardRef(
16147
16191
  title: "Close dialog",
16148
16192
  buttonType: "ghost",
16149
16193
  "data-testid": "close-dialog",
16150
- children: /* @__PURE__ */ jsx88(Icon, { icon: CgClose5, iconColor: "gray", size: 24 })
16194
+ children: /* @__PURE__ */ jsx89(Icon, { icon: CgClose5, iconColor: "gray", size: 24 })
16151
16195
  }
16152
16196
  )
16153
16197
  ] }),
16154
- /* @__PURE__ */ jsx88("div", { css: [modalContentStyles, !withoutContentPadding ? null : { padding: 0 }], children }),
16155
- buttonGroup ? /* @__PURE__ */ jsx88(HorizontalRhythm, { children: buttonGroup }) : null
16198
+ /* @__PURE__ */ jsx89("div", { css: [modalContentStyles, !withoutContentPadding ? null : { padding: 0 }], children }),
16199
+ buttonGroup ? /* @__PURE__ */ jsx89(HorizontalRhythm, { children: buttonGroup }) : null
16156
16200
  ]
16157
16201
  }
16158
16202
  )
@@ -16193,7 +16237,7 @@ var page = css74`
16193
16237
  `;
16194
16238
 
16195
16239
  // src/components/Pagination/Pagination.tsx
16196
- import { jsx as jsx89 } from "@emotion/react/jsx-runtime";
16240
+ import { jsx as jsx90 } from "@emotion/react/jsx-runtime";
16197
16241
  function Pagination({
16198
16242
  limit,
16199
16243
  offset,
@@ -16208,12 +16252,12 @@ function Pagination({
16208
16252
  if (pageCount <= 1) {
16209
16253
  return null;
16210
16254
  }
16211
- return /* @__PURE__ */ jsx89(
16255
+ return /* @__PURE__ */ jsx90(
16212
16256
  Paginate,
16213
16257
  {
16214
16258
  forcePage: currentPage,
16215
- previousLabel: /* @__PURE__ */ jsx89("div", { className: prevNextControls, children: "<" }),
16216
- nextLabel: /* @__PURE__ */ jsx89("div", { className: prevNextControls, children: ">" }),
16259
+ previousLabel: /* @__PURE__ */ jsx90("div", { className: prevNextControls, children: "<" }),
16260
+ nextLabel: /* @__PURE__ */ jsx90("div", { className: prevNextControls, children: ">" }),
16217
16261
  breakLabel: "...",
16218
16262
  pageCount,
16219
16263
  marginPagesDisplayed: 2,
@@ -16232,8 +16276,8 @@ function Pagination({
16232
16276
  }
16233
16277
 
16234
16278
  // src/components/ParameterInputs/hooks/ParameterShellContext.tsx
16235
- import { createContext as createContext5, useContext as useContext6 } from "react";
16236
- var ParameterShellContext = createContext5({
16279
+ import { createContext as createContext4, useContext as useContext5 } from "react";
16280
+ var ParameterShellContext = createContext4({
16237
16281
  id: "",
16238
16282
  label: "",
16239
16283
  hiddenLabel: void 0,
@@ -16242,7 +16286,7 @@ var ParameterShellContext = createContext5({
16242
16286
  }
16243
16287
  });
16244
16288
  var useParameterShell = () => {
16245
- const { id, label, hiddenLabel, errorMessage, handleManuallySetErrorMessage } = useContext6(ParameterShellContext);
16289
+ const { id, label, hiddenLabel, errorMessage, handleManuallySetErrorMessage } = useContext5(ParameterShellContext);
16246
16290
  return {
16247
16291
  id,
16248
16292
  label,
@@ -16280,7 +16324,7 @@ var inputIconBtn = css75`
16280
16324
  `;
16281
16325
 
16282
16326
  // src/components/ParameterInputs/LabelLeadingIcon.tsx
16283
- import { jsx as jsx90, jsxs as jsxs60 } from "@emotion/react/jsx-runtime";
16327
+ import { jsx as jsx91, jsxs as jsxs60 } from "@emotion/react/jsx-runtime";
16284
16328
  var LabelLeadingIcon = ({
16285
16329
  icon,
16286
16330
  iconColor,
@@ -16292,7 +16336,7 @@ var LabelLeadingIcon = ({
16292
16336
  ...props
16293
16337
  }) => {
16294
16338
  const titleFr = title2 != null ? title2 : isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
16295
- return /* @__PURE__ */ jsx90(Tooltip, { title: titleFr, children: /* @__PURE__ */ jsxs60(
16339
+ return /* @__PURE__ */ jsx91(Tooltip, { title: titleFr, children: /* @__PURE__ */ jsxs60(
16296
16340
  "button",
16297
16341
  {
16298
16342
  css: inputIconBtn,
@@ -16301,7 +16345,7 @@ var LabelLeadingIcon = ({
16301
16345
  "aria-disabled": isLocked,
16302
16346
  ...props,
16303
16347
  children: [
16304
- /* @__PURE__ */ jsx90(
16348
+ /* @__PURE__ */ jsx91(
16305
16349
  Icon,
16306
16350
  {
16307
16351
  icon: isLocked ? "lock" : icon ? icon : "arrows-expand-down-right",
@@ -16576,7 +16620,7 @@ var linkParameterIcon = css76`
16576
16620
  `;
16577
16621
 
16578
16622
  // src/components/ParameterInputs/ParameterDataResource.tsx
16579
- import { jsx as jsx91, jsxs as jsxs61 } from "@emotion/react/jsx-runtime";
16623
+ import { jsx as jsx92, jsxs as jsxs61 } from "@emotion/react/jsx-runtime";
16580
16624
  function ParameterDataResource({
16581
16625
  label,
16582
16626
  labelLeadingIcon,
@@ -16600,12 +16644,12 @@ function ParameterDataResource({
16600
16644
  disabled: disabled2,
16601
16645
  onClick: onConnectDatasource,
16602
16646
  children: [
16603
- /* @__PURE__ */ jsx91("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ jsx91(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
16647
+ /* @__PURE__ */ jsx92("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ jsx92(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
16604
16648
  children
16605
16649
  ]
16606
16650
  }
16607
16651
  ),
16608
- caption ? /* @__PURE__ */ jsx91(Caption, { children: caption }) : null
16652
+ caption ? /* @__PURE__ */ jsx92(Caption, { children: caption }) : null
16609
16653
  ] });
16610
16654
  }
16611
16655
 
@@ -16631,19 +16675,19 @@ var ParameterDrawerHeaderTitle = css77`
16631
16675
  `;
16632
16676
 
16633
16677
  // src/components/ParameterInputs/ParameterDrawerHeader.tsx
16634
- import { jsx as jsx92, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
16678
+ import { jsx as jsx93, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
16635
16679
  var ParameterDrawerHeader = ({ title: title2, iconBeforeTitle, children }) => {
16636
16680
  return /* @__PURE__ */ jsxs62("div", { css: ParameterDrawerHeaderContainer, children: [
16637
16681
  /* @__PURE__ */ jsxs62("header", { css: ParameterDrawerHeaderTitleGroup, children: [
16638
16682
  iconBeforeTitle,
16639
- /* @__PURE__ */ jsx92(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title: title2, children: title2 })
16683
+ /* @__PURE__ */ jsx93(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title: title2, children: title2 })
16640
16684
  ] }),
16641
16685
  children
16642
16686
  ] });
16643
16687
  };
16644
16688
 
16645
16689
  // src/components/ParameterInputs/ParameterGroup.tsx
16646
- import { forwardRef as forwardRef10 } from "react";
16690
+ import { forwardRef as forwardRef11 } from "react";
16647
16691
 
16648
16692
  // src/components/ParameterInputs/styles/ParameterGroup.styles.ts
16649
16693
  import { css as css78 } from "@emotion/react";
@@ -16666,21 +16710,21 @@ var fieldsetLegend2 = css78`
16666
16710
  `;
16667
16711
 
16668
16712
  // src/components/ParameterInputs/ParameterGroup.tsx
16669
- import { jsx as jsx93, jsxs as jsxs63 } from "@emotion/react/jsx-runtime";
16670
- var ParameterGroup = forwardRef10(
16713
+ import { jsx as jsx94, jsxs as jsxs63 } from "@emotion/react/jsx-runtime";
16714
+ var ParameterGroup = forwardRef11(
16671
16715
  ({ legend, isDisabled, children, ...props }, ref) => {
16672
16716
  return /* @__PURE__ */ jsxs63("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
16673
- /* @__PURE__ */ jsx93("legend", { css: fieldsetLegend2, children: legend }),
16717
+ /* @__PURE__ */ jsx94("legend", { css: fieldsetLegend2, children: legend }),
16674
16718
  children
16675
16719
  ] });
16676
16720
  }
16677
16721
  );
16678
16722
 
16679
16723
  // src/components/ParameterInputs/ParameterImage.tsx
16680
- import { forwardRef as forwardRef12, useDeferredValue } from "react";
16724
+ import { forwardRef as forwardRef13, useDeferredValue } from "react";
16681
16725
 
16682
16726
  // src/components/ParameterInputs/ParameterImagePreview.tsx
16683
- import { useState as useState10 } from "react";
16727
+ import { useState as useState9 } from "react";
16684
16728
  import { createPortal as createPortal2 } from "react-dom";
16685
16729
 
16686
16730
  // src/components/ParameterInputs/styles/ParameterImage.styles.ts
@@ -16721,33 +16765,33 @@ var previewModalImage = css79`
16721
16765
  `;
16722
16766
 
16723
16767
  // src/components/ParameterInputs/ParameterImagePreview.tsx
16724
- import { Fragment as Fragment15, jsx as jsx94, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
16768
+ import { Fragment as Fragment14, jsx as jsx95, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
16725
16769
  function ParameterImagePreview({ imageSrc }) {
16726
- const [showModal, setShowModal] = useState10(false);
16770
+ const [showModal, setShowModal] = useState9(false);
16727
16771
  return imageSrc ? /* @__PURE__ */ jsxs64("div", { css: previewWrapper, children: [
16728
- /* @__PURE__ */ jsx94(PreviewImageModal, { open: showModal, imageSrc, onRequestClose: () => setShowModal(false) }),
16729
- /* @__PURE__ */ jsx94(
16772
+ /* @__PURE__ */ jsx95(PreviewImageModal, { open: showModal, imageSrc, onRequestClose: () => setShowModal(false) }),
16773
+ /* @__PURE__ */ jsx95(
16730
16774
  "button",
16731
16775
  {
16732
16776
  css: previewLink,
16733
16777
  onClick: () => {
16734
16778
  setShowModal(true);
16735
16779
  },
16736
- children: /* @__PURE__ */ jsx94(Image, { src: imageSrc, "data-testid": "parameter-image-preview" })
16780
+ children: /* @__PURE__ */ jsx95(Image, { src: imageSrc, "data-testid": "parameter-image-preview" })
16737
16781
  }
16738
16782
  )
16739
16783
  ] }) : null;
16740
16784
  }
16741
16785
  var PreviewImageModal = ({ open, onRequestClose, imageSrc }) => {
16742
- return open ? /* @__PURE__ */ jsx94(Fragment15, { children: createPortal2(
16743
- /* @__PURE__ */ jsx94(
16786
+ return open ? /* @__PURE__ */ jsx95(Fragment14, { children: createPortal2(
16787
+ /* @__PURE__ */ jsx95(
16744
16788
  Modal,
16745
16789
  {
16746
16790
  header: "Image Preview",
16747
16791
  onRequestClose,
16748
16792
  withoutContentPadding: true,
16749
- buttonGroup: /* @__PURE__ */ jsx94(Button, { buttonType: "secondary", onClick: onRequestClose, children: "Ok" }),
16750
- children: /* @__PURE__ */ jsx94("div", { css: previewModalWrapper, children: /* @__PURE__ */ jsx94(Image, { src: imageSrc, css: previewModalImage, "data-testid": "parameter-image-preview" }) })
16793
+ buttonGroup: /* @__PURE__ */ jsx95(Button, { buttonType: "secondary", onClick: onRequestClose, children: "Ok" }),
16794
+ children: /* @__PURE__ */ jsx95("div", { css: previewModalWrapper, children: /* @__PURE__ */ jsx95(Image, { src: imageSrc, css: previewModalImage, "data-testid": "parameter-image-preview" }) })
16751
16795
  }
16752
16796
  ),
16753
16797
  document.body
@@ -16756,24 +16800,24 @@ var PreviewImageModal = ({ open, onRequestClose, imageSrc }) => {
16756
16800
 
16757
16801
  // src/components/ParameterInputs/ParameterShell.tsx
16758
16802
  import { css as css81 } from "@emotion/react";
16759
- import { useState as useState11 } from "react";
16803
+ import { useState as useState10 } from "react";
16760
16804
 
16761
16805
  // src/components/ParameterInputs/ParameterLabel.tsx
16762
- import { jsx as jsx95 } from "@emotion/react/jsx-runtime";
16806
+ import { jsx as jsx96 } from "@emotion/react/jsx-runtime";
16763
16807
  var ParameterLabel = ({ id, asSpan, children, ...props }) => {
16764
- return !asSpan ? /* @__PURE__ */ jsx95("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ jsx95("span", { "aria-labelledby": id, css: labelText2, children });
16808
+ return !asSpan ? /* @__PURE__ */ jsx96("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ jsx96("span", { "aria-labelledby": id, css: labelText2, children });
16765
16809
  };
16766
16810
 
16767
16811
  // src/components/ParameterInputs/ParameterMenuButton.tsx
16768
- import { forwardRef as forwardRef11 } from "react";
16769
- import { jsx as jsx96 } from "@emotion/react/jsx-runtime";
16770
- var ParameterMenuButton = forwardRef11(
16812
+ import { forwardRef as forwardRef12 } from "react";
16813
+ import { jsx as jsx97 } from "@emotion/react/jsx-runtime";
16814
+ var ParameterMenuButton = forwardRef12(
16771
16815
  ({ label, children }, ref) => {
16772
- return /* @__PURE__ */ jsx96(
16816
+ return /* @__PURE__ */ jsx97(
16773
16817
  Menu,
16774
16818
  {
16775
16819
  menuLabel: `${label} menu`,
16776
- menuTrigger: /* @__PURE__ */ jsx96(
16820
+ menuTrigger: /* @__PURE__ */ jsx97(
16777
16821
  "button",
16778
16822
  {
16779
16823
  className: "parameter-menu",
@@ -16781,7 +16825,7 @@ var ParameterMenuButton = forwardRef11(
16781
16825
  type: "button",
16782
16826
  "aria-label": `${label} options`,
16783
16827
  ref,
16784
- children: /* @__PURE__ */ jsx96(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
16828
+ children: /* @__PURE__ */ jsx97(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
16785
16829
  }
16786
16830
  ),
16787
16831
  children
@@ -16819,7 +16863,7 @@ var overrideMarker = css80`
16819
16863
  `;
16820
16864
 
16821
16865
  // src/components/ParameterInputs/ParameterShell.tsx
16822
- import { jsx as jsx97, jsxs as jsxs65 } from "@emotion/react/jsx-runtime";
16866
+ import { jsx as jsx98, jsxs as jsxs65 } from "@emotion/react/jsx-runtime";
16823
16867
  var extractParameterProps = (props) => {
16824
16868
  const {
16825
16869
  id,
@@ -16878,7 +16922,7 @@ var ParameterShell = ({
16878
16922
  children,
16879
16923
  ...props
16880
16924
  }) => {
16881
- const [manualErrorMessage, setManualErrorMessage] = useState11(void 0);
16925
+ const [manualErrorMessage, setManualErrorMessage] = useState10(void 0);
16882
16926
  const setErrorMessage = (message) => setManualErrorMessage(message);
16883
16927
  const errorMessaging = errorMessage || manualErrorMessage;
16884
16928
  return /* @__PURE__ */ jsxs65("div", { css: inputContainer2, ...props, id, children: [
@@ -16893,7 +16937,7 @@ var ParameterShell = ({
16893
16937
  labelTrailingIcon != null ? labelTrailingIcon : null
16894
16938
  ] }),
16895
16939
  /* @__PURE__ */ jsxs65("div", { css: inputWrapper, children: [
16896
- actionItems ? /* @__PURE__ */ jsx97(
16940
+ actionItems ? /* @__PURE__ */ jsx98(
16897
16941
  "div",
16898
16942
  {
16899
16943
  css: [
@@ -16908,8 +16952,8 @@ var ParameterShell = ({
16908
16952
  children: actionItems
16909
16953
  }
16910
16954
  ) : null,
16911
- menuItems ? /* @__PURE__ */ jsx97(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
16912
- /* @__PURE__ */ jsx97(
16955
+ menuItems ? /* @__PURE__ */ jsx98(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
16956
+ /* @__PURE__ */ jsx98(
16913
16957
  ParameterShellContext.Provider,
16914
16958
  {
16915
16959
  value: {
@@ -16921,39 +16965,39 @@ var ParameterShell = ({
16921
16965
  },
16922
16966
  children: /* @__PURE__ */ jsxs65(ParameterShellPlaceholder, { children: [
16923
16967
  children,
16924
- hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx97(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
16968
+ hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx98(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
16925
16969
  ] })
16926
16970
  }
16927
16971
  )
16928
16972
  ] }),
16929
- caption ? /* @__PURE__ */ jsx97(Caption, { testId: captionTestId, children: caption }) : null,
16930
- errorMessaging ? /* @__PURE__ */ jsx97(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null,
16931
- warningMessage ? /* @__PURE__ */ jsx97(WarningMessage, { message: warningMessage }) : null,
16932
- infoMessage ? /* @__PURE__ */ jsx97(InfoMessage, { message: infoMessage }) : null
16973
+ caption ? /* @__PURE__ */ jsx98(Caption, { testId: captionTestId, children: caption }) : null,
16974
+ errorMessaging ? /* @__PURE__ */ jsx98(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null,
16975
+ warningMessage ? /* @__PURE__ */ jsx98(WarningMessage, { message: warningMessage }) : null,
16976
+ infoMessage ? /* @__PURE__ */ jsx98(InfoMessage, { message: infoMessage }) : null
16933
16977
  ] });
16934
16978
  };
16935
16979
  var ParameterShellPlaceholder = ({ children }) => {
16936
- return /* @__PURE__ */ jsx97("div", { css: emptyParameterShell, children });
16980
+ return /* @__PURE__ */ jsx98("div", { css: emptyParameterShell, children });
16937
16981
  };
16938
- var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx97(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx97("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx97("span", { hidden: true, children: "reset overridden value to default" }) }) });
16982
+ var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx98(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx98("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx98("span", { hidden: true, children: "reset overridden value to default" }) }) });
16939
16983
 
16940
16984
  // src/components/ParameterInputs/ParameterImage.tsx
16941
- import { Fragment as Fragment16, jsx as jsx98, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
16942
- var ParameterImage = forwardRef12(
16985
+ import { Fragment as Fragment15, jsx as jsx99, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
16986
+ var ParameterImage = forwardRef13(
16943
16987
  ({ children, ...props }, ref) => {
16944
16988
  const { shellProps, innerProps } = extractParameterProps(props);
16945
16989
  return /* @__PURE__ */ jsxs66(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: [
16946
- /* @__PURE__ */ jsx98(ParameterImageInner, { ref, ...innerProps }),
16990
+ /* @__PURE__ */ jsx99(ParameterImageInner, { ref, ...innerProps }),
16947
16991
  children
16948
16992
  ] });
16949
16993
  }
16950
16994
  );
16951
- var ParameterImageInner = forwardRef12((props, ref) => {
16995
+ var ParameterImageInner = forwardRef13((props, ref) => {
16952
16996
  const { value } = props;
16953
16997
  const { id, label, hiddenLabel, errorMessage } = useParameterShell();
16954
16998
  const deferredValue = useDeferredValue(value);
16955
- return /* @__PURE__ */ jsxs66(Fragment16, { children: [
16956
- /* @__PURE__ */ jsx98(
16999
+ return /* @__PURE__ */ jsxs66(Fragment15, { children: [
17000
+ /* @__PURE__ */ jsx99(
16957
17001
  "input",
16958
17002
  {
16959
17003
  css: input2,
@@ -16965,21 +17009,21 @@ var ParameterImageInner = forwardRef12((props, ref) => {
16965
17009
  ...props
16966
17010
  }
16967
17011
  ),
16968
- errorMessage || props.disablePreview ? null : /* @__PURE__ */ jsx98(ParameterImagePreview, { imageSrc: deferredValue })
17012
+ errorMessage || props.disablePreview ? null : /* @__PURE__ */ jsx99(ParameterImagePreview, { imageSrc: deferredValue })
16969
17013
  ] });
16970
17014
  });
16971
17015
 
16972
17016
  // src/components/ParameterInputs/ParameterInput.tsx
16973
- import { forwardRef as forwardRef13 } from "react";
16974
- import { jsx as jsx99 } from "@emotion/react/jsx-runtime";
16975
- var ParameterInput = forwardRef13((props, ref) => {
17017
+ import { forwardRef as forwardRef14 } from "react";
17018
+ import { jsx as jsx100 } from "@emotion/react/jsx-runtime";
17019
+ var ParameterInput = forwardRef14((props, ref) => {
16976
17020
  const { shellProps, innerProps } = extractParameterProps(props);
16977
- return /* @__PURE__ */ jsx99(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx99(ParameterInputInner, { ref, ...innerProps }) });
17021
+ return /* @__PURE__ */ jsx100(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx100(ParameterInputInner, { ref, ...innerProps }) });
16978
17022
  });
16979
- var ParameterInputInner = forwardRef13(
17023
+ var ParameterInputInner = forwardRef14(
16980
17024
  ({ ...props }, ref) => {
16981
17025
  const { id, label, hiddenLabel } = useParameterShell();
16982
- return /* @__PURE__ */ jsx99(
17026
+ return /* @__PURE__ */ jsx100(
16983
17027
  "input",
16984
17028
  {
16985
17029
  css: input2,
@@ -16995,19 +17039,19 @@ var ParameterInputInner = forwardRef13(
16995
17039
  );
16996
17040
 
16997
17041
  // src/components/ParameterInputs/ParameterLink.tsx
16998
- import { forwardRef as forwardRef14 } from "react";
16999
- import { jsx as jsx100, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
17000
- var ParameterLink = forwardRef14(
17042
+ import { forwardRef as forwardRef15 } from "react";
17043
+ import { jsx as jsx101, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
17044
+ var ParameterLink = forwardRef15(
17001
17045
  ({ disabled: disabled2, onConnectLink, externalLink, ...props }, ref) => {
17002
17046
  const { shellProps, innerProps } = extractParameterProps(props);
17003
- return /* @__PURE__ */ jsx100(
17047
+ return /* @__PURE__ */ jsx101(
17004
17048
  ParameterShell,
17005
17049
  {
17006
17050
  "data-testid": "link-parameter-editor",
17007
17051
  ...shellProps,
17008
17052
  label: innerProps.value ? shellProps.label : "",
17009
17053
  title: !innerProps.value ? shellProps.label : void 0,
17010
- children: /* @__PURE__ */ jsx100(
17054
+ children: /* @__PURE__ */ jsx101(
17011
17055
  ParameterLinkInner,
17012
17056
  {
17013
17057
  onConnectLink,
@@ -17020,13 +17064,13 @@ var ParameterLink = forwardRef14(
17020
17064
  );
17021
17065
  }
17022
17066
  );
17023
- var ParameterLinkInner = forwardRef14(
17067
+ var ParameterLinkInner = forwardRef15(
17024
17068
  ({ externalLink, onConnectLink, disabled: disabled2, buttonText = "Select link", ...props }, ref) => {
17025
17069
  const { id, label, hiddenLabel } = useParameterShell();
17026
17070
  if (!props.value)
17027
- return /* @__PURE__ */ jsx100("button", { type: "button", css: dataConnectButton, disabled: disabled2, onClick: onConnectLink, children: buttonText });
17071
+ return /* @__PURE__ */ jsx101("button", { type: "button", css: dataConnectButton, disabled: disabled2, onClick: onConnectLink, children: buttonText });
17028
17072
  return /* @__PURE__ */ jsxs67("div", { css: inputWrapper, children: [
17029
- /* @__PURE__ */ jsx100(
17073
+ /* @__PURE__ */ jsx101(
17030
17074
  "input",
17031
17075
  {
17032
17076
  type: "text",
@@ -17039,7 +17083,7 @@ var ParameterLinkInner = forwardRef14(
17039
17083
  }
17040
17084
  ),
17041
17085
  /* @__PURE__ */ jsxs67("div", { css: linkParameterControls, children: [
17042
- /* @__PURE__ */ jsx100(
17086
+ /* @__PURE__ */ jsx101(
17043
17087
  "button",
17044
17088
  {
17045
17089
  type: "button",
@@ -17050,7 +17094,7 @@ var ParameterLinkInner = forwardRef14(
17050
17094
  children: "edit"
17051
17095
  }
17052
17096
  ),
17053
- externalLink ? /* @__PURE__ */ jsx100(
17097
+ externalLink ? /* @__PURE__ */ jsx101(
17054
17098
  "a",
17055
17099
  {
17056
17100
  href: externalLink,
@@ -17058,7 +17102,7 @@ var ParameterLinkInner = forwardRef14(
17058
17102
  title: "Open link in new tab",
17059
17103
  target: "_blank",
17060
17104
  rel: "noopener noreferrer",
17061
- children: /* @__PURE__ */ jsx100(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
17105
+ children: /* @__PURE__ */ jsx101(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
17062
17106
  }
17063
17107
  ) : null
17064
17108
  ] })
@@ -17067,7 +17111,7 @@ var ParameterLinkInner = forwardRef14(
17067
17111
  );
17068
17112
 
17069
17113
  // src/components/ParameterInputs/ParameterNameAndPublicIdInput.tsx
17070
- import { Fragment as Fragment17, jsx as jsx101, jsxs as jsxs68 } from "@emotion/react/jsx-runtime";
17114
+ import { Fragment as Fragment16, jsx as jsx102, jsxs as jsxs68 } from "@emotion/react/jsx-runtime";
17071
17115
  var ParameterNameAndPublicIdInput = ({
17072
17116
  id,
17073
17117
  onBlur,
@@ -17093,8 +17137,8 @@ var ParameterNameAndPublicIdInput = ({
17093
17137
  navigator.clipboard.writeText(values[publicIdFieldName]);
17094
17138
  };
17095
17139
  autoFocus == null ? void 0 : autoFocus();
17096
- return /* @__PURE__ */ jsxs68(Fragment17, { children: [
17097
- /* @__PURE__ */ jsx101(
17140
+ return /* @__PURE__ */ jsxs68(Fragment16, { children: [
17141
+ /* @__PURE__ */ jsx102(
17098
17142
  ParameterInput,
17099
17143
  {
17100
17144
  id: nameIdField,
@@ -17113,7 +17157,7 @@ var ParameterNameAndPublicIdInput = ({
17113
17157
  value: values[nameIdField]
17114
17158
  }
17115
17159
  ),
17116
- /* @__PURE__ */ jsx101(
17160
+ /* @__PURE__ */ jsx102(
17117
17161
  ParameterInput,
17118
17162
  {
17119
17163
  id: publicIdFieldName,
@@ -17127,11 +17171,11 @@ var ParameterNameAndPublicIdInput = ({
17127
17171
  caption: publicIdCaption,
17128
17172
  placeholder: publicIdPlaceholderText,
17129
17173
  errorMessage: publicIdError,
17130
- menuItems: /* @__PURE__ */ jsx101(
17174
+ menuItems: /* @__PURE__ */ jsx102(
17131
17175
  MenuItem,
17132
17176
  {
17133
17177
  disabled: !values[publicIdFieldName],
17134
- icon: /* @__PURE__ */ jsx101(Icon, { icon: "path-trim", iconColor: "currentColor" }),
17178
+ icon: /* @__PURE__ */ jsx102(Icon, { icon: "path-trim", iconColor: "currentColor" }),
17135
17179
  onClick: handleCopyPidFieldValue,
17136
17180
  children: "Copy"
17137
17181
  }
@@ -17139,7 +17183,7 @@ var ParameterNameAndPublicIdInput = ({
17139
17183
  value: values[publicIdFieldName]
17140
17184
  }
17141
17185
  ),
17142
- (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx101(Callout, { type: "caution", children: warnOverLength.message }) : null
17186
+ (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx102(Callout, { type: "caution", children: warnOverLength.message }) : null
17143
17187
  ] });
17144
17188
  };
17145
17189
 
@@ -17491,7 +17535,7 @@ import {
17491
17535
  ElementNode as ElementNode2,
17492
17536
  FOCUS_COMMAND
17493
17537
  } from "lexical";
17494
- import { useCallback as useCallback5, useEffect as useEffect11, useRef as useRef6, useState as useState12 } from "react";
17538
+ import { useCallback as useCallback5, useEffect as useEffect11, useRef as useRef6, useState as useState11 } from "react";
17495
17539
 
17496
17540
  // src/components/ParameterInputs/rich-text/utils.ts
17497
17541
  import { $isAtNodeEnd } from "@lexical/selection";
@@ -17529,7 +17573,7 @@ var getSelectedNode = (selection) => {
17529
17573
  };
17530
17574
 
17531
17575
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
17532
- import { Fragment as Fragment18, jsx as jsx102, jsxs as jsxs69 } from "@emotion/react/jsx-runtime";
17576
+ import { Fragment as Fragment17, jsx as jsx103, jsxs as jsxs69 } from "@emotion/react/jsx-runtime";
17533
17577
  var isProjectMapLinkValue = (value) => {
17534
17578
  return (value == null ? void 0 : value.type) === "projectMapNode" && Boolean(
17535
17579
  value.nodeId && value.path && value.projectMapId
@@ -17834,10 +17878,10 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17834
17878
  return path;
17835
17879
  };
17836
17880
  const [editor] = useLexicalComposerContext2();
17837
- const [linkPopoverState, setLinkPopoverState] = useState12();
17881
+ const [linkPopoverState, setLinkPopoverState] = useState11();
17838
17882
  const linkPopoverElRef = useRef6(null);
17839
- const [isEditorFocused, setIsEditorFocused] = useState12(false);
17840
- const [isLinkPopoverFocused, setIsLinkPopoverFocused] = useState12(false);
17883
+ const [isEditorFocused, setIsEditorFocused] = useState11(false);
17884
+ const [isLinkPopoverFocused, setIsLinkPopoverFocused] = useState11(false);
17841
17885
  useEffect11(() => {
17842
17886
  if (!isEditorFocused && !isLinkPopoverFocused) {
17843
17887
  setLinkPopoverState(void 0);
@@ -17972,8 +18016,8 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17972
18016
  });
17973
18017
  });
17974
18018
  };
17975
- return /* @__PURE__ */ jsxs69(Fragment18, { children: [
17976
- /* @__PURE__ */ jsx102(
18019
+ return /* @__PURE__ */ jsxs69(Fragment17, { children: [
18020
+ /* @__PURE__ */ jsx103(
17977
18021
  NodeEventPlugin,
17978
18022
  {
17979
18023
  nodeType: LinkNode,
@@ -17983,7 +18027,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17983
18027
  }
17984
18028
  }
17985
18029
  ),
17986
- linkPopoverState ? /* @__PURE__ */ jsx102(
18030
+ linkPopoverState ? /* @__PURE__ */ jsx103(
17987
18031
  "div",
17988
18032
  {
17989
18033
  css: linkPopover,
@@ -17993,7 +18037,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17993
18037
  },
17994
18038
  ref: linkPopoverElRef,
17995
18039
  children: /* @__PURE__ */ jsxs69("div", { css: linkPopoverContainer, children: [
17996
- linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ jsx102(
18040
+ linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ jsx103(
17997
18041
  "a",
17998
18042
  {
17999
18043
  href: parsePath(
@@ -18005,7 +18049,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
18005
18049
  children: parsePath(linkPopoverState.node.__link.path)
18006
18050
  }
18007
18051
  ),
18008
- /* @__PURE__ */ jsx102(
18052
+ /* @__PURE__ */ jsx103(
18009
18053
  Button,
18010
18054
  {
18011
18055
  size: "xs",
@@ -18013,7 +18057,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
18013
18057
  onEditLinkNode(linkPopoverState.node);
18014
18058
  },
18015
18059
  buttonType: "ghost",
18016
- children: /* @__PURE__ */ jsx102(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
18060
+ children: /* @__PURE__ */ jsx103(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
18017
18061
  }
18018
18062
  )
18019
18063
  ] })
@@ -18038,7 +18082,7 @@ import {
18038
18082
  INDENT_CONTENT_COMMAND
18039
18083
  } from "lexical";
18040
18084
  import { useEffect as useEffect12 } from "react";
18041
- import { jsx as jsx103 } from "@emotion/react/jsx-runtime";
18085
+ import { jsx as jsx104 } from "@emotion/react/jsx-runtime";
18042
18086
  function isIndentPermitted(maxDepth) {
18043
18087
  const selection = $getSelection2();
18044
18088
  if (!$isRangeSelection2(selection)) {
@@ -18068,7 +18112,7 @@ function ListIndentPlugin({ maxDepth }) {
18068
18112
  COMMAND_PRIORITY_CRITICAL
18069
18113
  );
18070
18114
  }, [editor, maxDepth]);
18071
- return /* @__PURE__ */ jsx103(TabIndentationPlugin, {});
18115
+ return /* @__PURE__ */ jsx104(TabIndentationPlugin, {});
18072
18116
  }
18073
18117
 
18074
18118
  // src/components/ParameterInputs/rich-text/RichTextToolbar.tsx
@@ -18094,8 +18138,8 @@ import {
18094
18138
  FORMAT_TEXT_COMMAND,
18095
18139
  SELECTION_CHANGE_COMMAND
18096
18140
  } from "lexical";
18097
- import { useCallback as useCallback6, useEffect as useEffect13, useMemo as useMemo3, useState as useState13 } from "react";
18098
- import { Fragment as Fragment19, jsx as jsx104, jsxs as jsxs70 } from "@emotion/react/jsx-runtime";
18141
+ import { useCallback as useCallback6, useEffect as useEffect13, useMemo as useMemo3, useState as useState12 } from "react";
18142
+ import { Fragment as Fragment18, jsx as jsx105, jsxs as jsxs70 } from "@emotion/react/jsx-runtime";
18099
18143
  var toolbar = css84`
18100
18144
  background: var(--gray-50);
18101
18145
  border-radius: var(--rounded-base);
@@ -18147,7 +18191,7 @@ var toolbarChevron = css84`
18147
18191
  margin-left: var(--spacing-xs);
18148
18192
  `;
18149
18193
  var RichTextToolbarIcon = ({ icon }) => {
18150
- return /* @__PURE__ */ jsx104(Icon, { icon, css: toolbarIcon, size: "1rem" });
18194
+ return /* @__PURE__ */ jsx105(Icon, { icon, css: toolbarIcon, size: "1rem" });
18151
18195
  };
18152
18196
  var FORMATS_WITH_ICON = /* @__PURE__ */ new Map([
18153
18197
  ["bold", "format-bold"],
@@ -18264,7 +18308,7 @@ var RichTextToolbar = ({ config, customControls }) => {
18264
18308
  menuTrigger: /* @__PURE__ */ jsxs70("button", { css: richTextToolbarButton, title: "Text styles", children: [
18265
18309
  visibleTextualElements.some((element) => element.type === activeElement) ? getLabelForElement(activeElement) : getLabelForElement("paragraph"),
18266
18310
  " ",
18267
- /* @__PURE__ */ jsx104(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
18311
+ /* @__PURE__ */ jsx105(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
18268
18312
  ] }),
18269
18313
  placement: "bottom-start",
18270
18314
  children: [
@@ -18274,7 +18318,7 @@ var RichTextToolbar = ({ config, customControls }) => {
18274
18318
  type: "paragraph"
18275
18319
  },
18276
18320
  ...visibleTextualElements
18277
- ].map((element) => /* @__PURE__ */ jsx104(
18321
+ ].map((element) => /* @__PURE__ */ jsx105(
18278
18322
  MenuItem,
18279
18323
  {
18280
18324
  onClick: () => {
@@ -18284,12 +18328,12 @@ var RichTextToolbar = ({ config, customControls }) => {
18284
18328
  },
18285
18329
  element.type
18286
18330
  )),
18287
- visibleTextualElements.length === 0 ? /* @__PURE__ */ jsx104(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
18331
+ visibleTextualElements.length === 0 ? /* @__PURE__ */ jsx105(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
18288
18332
  ]
18289
18333
  }
18290
18334
  ),
18291
18335
  visibleFormatsWithIcon.length > 0 || visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsxs70("div", { css: toolbarGroup, children: [
18292
- visibleFormatsWithIcon.map((format) => /* @__PURE__ */ jsx104(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ jsx104(
18336
+ visibleFormatsWithIcon.map((format) => /* @__PURE__ */ jsx105(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ jsx105(
18293
18337
  "button",
18294
18338
  {
18295
18339
  onClick: () => {
@@ -18299,16 +18343,16 @@ var RichTextToolbar = ({ config, customControls }) => {
18299
18343
  richTextToolbarButton,
18300
18344
  activeFormats.includes(format.type) ? richTextToolbarButtonActive : null
18301
18345
  ],
18302
- children: /* @__PURE__ */ jsx104(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
18346
+ children: /* @__PURE__ */ jsx105(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
18303
18347
  }
18304
18348
  ) }, format.type)),
18305
- visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsx104(
18349
+ visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsx105(
18306
18350
  Menu,
18307
18351
  {
18308
18352
  menuLabel: "Alternative text styles",
18309
- menuTrigger: /* @__PURE__ */ jsx104("button", { css: richTextToolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ jsx104(Icon, { icon: "more-alt", css: toolbarIcon }) }),
18353
+ menuTrigger: /* @__PURE__ */ jsx105("button", { css: richTextToolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ jsx105(Icon, { icon: "more-alt", css: toolbarIcon }) }),
18310
18354
  placement: "bottom-start",
18311
- children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ jsx104(
18355
+ children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ jsx105(
18312
18356
  MenuItem,
18313
18357
  {
18314
18358
  onClick: () => {
@@ -18322,18 +18366,18 @@ var RichTextToolbar = ({ config, customControls }) => {
18322
18366
  ) : null
18323
18367
  ] }) : null,
18324
18368
  visibleElementsWithIcons.size > 0 ? /* @__PURE__ */ jsxs70("div", { css: toolbarGroup, children: [
18325
- linkElementVisible ? /* @__PURE__ */ jsx104(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ jsx104(
18369
+ linkElementVisible ? /* @__PURE__ */ jsx105(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ jsx105(
18326
18370
  "button",
18327
18371
  {
18328
18372
  onClick: () => {
18329
18373
  isLink ? editor.dispatchCommand(REMOVE_LINK_NODE_COMMAND, {}) : editor.dispatchCommand(OPEN_LINK_NODE_MODAL_COMMAND, {});
18330
18374
  },
18331
18375
  css: [richTextToolbarButton, isLink ? richTextToolbarButtonActive : null],
18332
- children: /* @__PURE__ */ jsx104(RichTextToolbarIcon, { icon: "link" })
18376
+ children: /* @__PURE__ */ jsx105(RichTextToolbarIcon, { icon: "link" })
18333
18377
  }
18334
18378
  ) }) : null,
18335
- visibleLists.size > 0 ? /* @__PURE__ */ jsxs70(Fragment19, { children: [
18336
- visibleLists.has("unorderedList") ? /* @__PURE__ */ jsx104(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ jsx104(
18379
+ visibleLists.size > 0 ? /* @__PURE__ */ jsxs70(Fragment18, { children: [
18380
+ visibleLists.has("unorderedList") ? /* @__PURE__ */ jsx105(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ jsx105(
18337
18381
  "button",
18338
18382
  {
18339
18383
  onClick: () => {
@@ -18343,10 +18387,10 @@ var RichTextToolbar = ({ config, customControls }) => {
18343
18387
  richTextToolbarButton,
18344
18388
  activeElement === "unorderedList" ? richTextToolbarButtonActive : null
18345
18389
  ],
18346
- children: /* @__PURE__ */ jsx104(RichTextToolbarIcon, { icon: "layout-list" })
18390
+ children: /* @__PURE__ */ jsx105(RichTextToolbarIcon, { icon: "layout-list" })
18347
18391
  }
18348
18392
  ) }) : null,
18349
- visibleLists.has("orderedList") ? /* @__PURE__ */ jsx104(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ jsx104(
18393
+ visibleLists.has("orderedList") ? /* @__PURE__ */ jsx105(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ jsx105(
18350
18394
  "button",
18351
18395
  {
18352
18396
  onClick: () => {
@@ -18356,32 +18400,32 @@ var RichTextToolbar = ({ config, customControls }) => {
18356
18400
  richTextToolbarButton,
18357
18401
  activeElement === "orderedList" ? richTextToolbarButtonActive : null
18358
18402
  ],
18359
- children: /* @__PURE__ */ jsx104(RichTextToolbarIcon, { icon: "layout-list-numbered" })
18403
+ children: /* @__PURE__ */ jsx105(RichTextToolbarIcon, { icon: "layout-list-numbered" })
18360
18404
  }
18361
18405
  ) }) : null
18362
18406
  ] }) : null,
18363
- quoteElementVisible ? /* @__PURE__ */ jsx104(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ jsx104(
18407
+ quoteElementVisible ? /* @__PURE__ */ jsx105(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ jsx105(
18364
18408
  "button",
18365
18409
  {
18366
18410
  onClick: () => {
18367
18411
  activeElement === "quote" ? onSelectElement("paragraph") : onSelectElement("quote");
18368
18412
  },
18369
18413
  css: [richTextToolbarButton, activeElement === "quote" ? richTextToolbarButtonActive : null],
18370
- children: /* @__PURE__ */ jsx104(RichTextToolbarIcon, { icon: "quote" })
18414
+ children: /* @__PURE__ */ jsx105(RichTextToolbarIcon, { icon: "quote" })
18371
18415
  }
18372
18416
  ) }) : null,
18373
- codeElementVisible ? /* @__PURE__ */ jsx104(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ jsx104(
18417
+ codeElementVisible ? /* @__PURE__ */ jsx105(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ jsx105(
18374
18418
  "button",
18375
18419
  {
18376
18420
  onClick: () => {
18377
18421
  activeElement === "code" ? onSelectElement("paragraph") : onSelectElement("code");
18378
18422
  },
18379
18423
  css: [richTextToolbarButton, activeElement === "code" ? richTextToolbarButtonActive : null],
18380
- children: /* @__PURE__ */ jsx104(RichTextToolbarIcon, { icon: "code-slash" })
18424
+ children: /* @__PURE__ */ jsx105(RichTextToolbarIcon, { icon: "code-slash" })
18381
18425
  }
18382
18426
  ) }) : null
18383
18427
  ] }) : null,
18384
- customControls ? /* @__PURE__ */ jsx104("div", { css: toolbarGroup, children: customControls }) : null
18428
+ customControls ? /* @__PURE__ */ jsx105("div", { css: toolbarGroup, children: customControls }) : null
18385
18429
  ] });
18386
18430
  };
18387
18431
  var RichTextToolbar_default = RichTextToolbar;
@@ -18405,7 +18449,7 @@ var useRichTextToolbarState = ({ config }) => {
18405
18449
  const enabledBuiltInFormatsWithoutIcon = enabledBuiltInFormats.filter(
18406
18450
  (format) => !FORMATS_WITH_ICON.has(format.type)
18407
18451
  );
18408
- const [activeFormats, setActiveFormats] = useState13([]);
18452
+ const [activeFormats, setActiveFormats] = useState12([]);
18409
18453
  const visibleFormatsWithIcon = useMemo3(() => {
18410
18454
  const visibleFormats = /* @__PURE__ */ new Set();
18411
18455
  activeFormats.filter((type) => FORMATS_WITH_ICON.has(type)).forEach((type) => {
@@ -18426,7 +18470,7 @@ var useRichTextToolbarState = ({ config }) => {
18426
18470
  });
18427
18471
  return richTextBuiltInFormats.filter((format) => visibleFormats.has(format.type));
18428
18472
  }, [activeFormats, enabledBuiltInFormatsWithoutIcon]);
18429
- const [activeElement, setActiveElement] = useState13("paragraph");
18473
+ const [activeElement, setActiveElement] = useState12("paragraph");
18430
18474
  const enabledTextualElements = enabledBuiltInElements.filter(
18431
18475
  (element) => TEXTUAL_ELEMENTS.includes(element.type)
18432
18476
  );
@@ -18441,7 +18485,7 @@ var useRichTextToolbarState = ({ config }) => {
18441
18485
  }
18442
18486
  );
18443
18487
  }, [activeElement, (_a = config == null ? void 0 : config.elements) == null ? void 0 : _a.builtIn, enabledTextualElements]);
18444
- const [isLink, setIsLink] = useState13(false);
18488
+ const [isLink, setIsLink] = useState12(false);
18445
18489
  const linkElementVisible = useMemo3(() => {
18446
18490
  return enabledBuiltInElements.some((element) => element.type === "link") || isLink;
18447
18491
  }, [isLink, enabledBuiltInElements]);
@@ -18495,7 +18539,7 @@ var useRichTextToolbarState = ({ config }) => {
18495
18539
  };
18496
18540
 
18497
18541
  // src/components/ParameterInputs/ParameterRichText.tsx
18498
- import { Fragment as Fragment20, jsx as jsx105, jsxs as jsxs71 } from "@emotion/react/jsx-runtime";
18542
+ import { Fragment as Fragment19, jsx as jsx106, jsxs as jsxs71 } from "@emotion/react/jsx-runtime";
18499
18543
  var ParameterRichText = ({
18500
18544
  label,
18501
18545
  labelLeadingIcon,
@@ -18534,7 +18578,7 @@ var ParameterRichText = ({
18534
18578
  captionTestId,
18535
18579
  menuItems,
18536
18580
  children: [
18537
- /* @__PURE__ */ jsx105(
18581
+ /* @__PURE__ */ jsx106(
18538
18582
  ParameterRichTextInner,
18539
18583
  {
18540
18584
  value,
@@ -18552,7 +18596,7 @@ var ParameterRichText = ({
18552
18596
  children
18553
18597
  }
18554
18598
  ),
18555
- menuItems ? /* @__PURE__ */ jsx105(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx105(Fragment20, { children: menuItems }) }) : null
18599
+ menuItems ? /* @__PURE__ */ jsx106(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx106(Fragment19, { children: menuItems }) }) : null
18556
18600
  ]
18557
18601
  }
18558
18602
  );
@@ -18663,8 +18707,8 @@ var ParameterRichTextInner = ({
18663
18707
  },
18664
18708
  editable: !readOnly
18665
18709
  };
18666
- return /* @__PURE__ */ jsxs71(Fragment20, { children: [
18667
- /* @__PURE__ */ jsx105("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ jsx105(LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ jsx105(
18710
+ return /* @__PURE__ */ jsxs71(Fragment19, { children: [
18711
+ /* @__PURE__ */ jsx106("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ jsx106(LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ jsx106(
18668
18712
  RichText,
18669
18713
  {
18670
18714
  onChange,
@@ -18720,20 +18764,20 @@ var RichText = ({
18720
18764
  removeUpdateListener();
18721
18765
  };
18722
18766
  }, []);
18723
- return /* @__PURE__ */ jsxs71(Fragment20, { children: [
18724
- readOnly ? null : /* @__PURE__ */ jsx105(RichTextToolbar_default, { config, customControls }),
18767
+ return /* @__PURE__ */ jsxs71(Fragment19, { children: [
18768
+ readOnly ? null : /* @__PURE__ */ jsx106(RichTextToolbar_default, { config, customControls }),
18725
18769
  /* @__PURE__ */ jsxs71("div", { css: editorContainer, ref: editorContainerRef, "data-testid": "value-container", children: [
18726
- /* @__PURE__ */ jsx105(
18770
+ /* @__PURE__ */ jsx106(
18727
18771
  RichTextPlugin,
18728
18772
  {
18729
- contentEditable: /* @__PURE__ */ jsx105(ContentEditable, { css: editorInput, className: editorInputClassName }),
18730
- placeholder: /* @__PURE__ */ jsx105("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
18773
+ contentEditable: /* @__PURE__ */ jsx106(ContentEditable, { css: editorInput, className: editorInputClassName }),
18774
+ placeholder: /* @__PURE__ */ jsx106("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
18731
18775
  ErrorBoundary: LexicalErrorBoundary
18732
18776
  }
18733
18777
  ),
18734
- /* @__PURE__ */ jsx105(ListPlugin, {}),
18735
- readOnly ? null : /* @__PURE__ */ jsx105(HistoryPlugin, {}),
18736
- /* @__PURE__ */ jsx105(
18778
+ /* @__PURE__ */ jsx106(ListPlugin, {}),
18779
+ readOnly ? null : /* @__PURE__ */ jsx106(HistoryPlugin, {}),
18780
+ /* @__PURE__ */ jsx106(
18737
18781
  LinkNodePlugin,
18738
18782
  {
18739
18783
  onConnectLink: onConnectLink ? onConnectLink : () => Promise.resolve(),
@@ -18743,24 +18787,24 @@ var RichText = ({
18743
18787
  } : void 0
18744
18788
  }
18745
18789
  ),
18746
- /* @__PURE__ */ jsx105(ListIndentPlugin, { maxDepth: 4 }),
18747
- /* @__PURE__ */ jsx105(DisableStylesPlugin, {}),
18748
- /* @__PURE__ */ jsx105(MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS }),
18749
- /* @__PURE__ */ jsx105(Fragment20, { children })
18790
+ /* @__PURE__ */ jsx106(ListIndentPlugin, { maxDepth: 4 }),
18791
+ /* @__PURE__ */ jsx106(DisableStylesPlugin, {}),
18792
+ /* @__PURE__ */ jsx106(MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS }),
18793
+ /* @__PURE__ */ jsx106(Fragment19, { children })
18750
18794
  ] })
18751
18795
  ] });
18752
18796
  };
18753
18797
 
18754
18798
  // src/components/ParameterInputs/ParameterSelect.tsx
18755
- import { forwardRef as forwardRef15 } from "react";
18756
- import { jsx as jsx106, jsxs as jsxs72 } from "@emotion/react/jsx-runtime";
18757
- var ParameterSelect = forwardRef15(
18799
+ import { forwardRef as forwardRef16 } from "react";
18800
+ import { jsx as jsx107, jsxs as jsxs72 } from "@emotion/react/jsx-runtime";
18801
+ var ParameterSelect = forwardRef16(
18758
18802
  ({ defaultOption, options, ...props }, ref) => {
18759
18803
  const { shellProps, innerProps } = extractParameterProps(props);
18760
- return /* @__PURE__ */ jsx106(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx106(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
18804
+ return /* @__PURE__ */ jsx107(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx107(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
18761
18805
  }
18762
18806
  );
18763
- var ParameterSelectInner = forwardRef15(
18807
+ var ParameterSelectInner = forwardRef16(
18764
18808
  ({ defaultOption, options, ...props }, ref) => {
18765
18809
  const { id, label, hiddenLabel } = useParameterShell();
18766
18810
  return /* @__PURE__ */ jsxs72(
@@ -18772,10 +18816,10 @@ var ParameterSelectInner = forwardRef15(
18772
18816
  ref,
18773
18817
  ...props,
18774
18818
  children: [
18775
- defaultOption ? /* @__PURE__ */ jsx106("option", { value: "", children: defaultOption }) : null,
18819
+ defaultOption ? /* @__PURE__ */ jsx107("option", { value: "", children: defaultOption }) : null,
18776
18820
  options.map((option) => {
18777
18821
  var _a;
18778
- return /* @__PURE__ */ jsx106("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
18822
+ return /* @__PURE__ */ jsx107("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
18779
18823
  })
18780
18824
  ]
18781
18825
  }
@@ -18784,15 +18828,15 @@ var ParameterSelectInner = forwardRef15(
18784
18828
  );
18785
18829
 
18786
18830
  // src/components/ParameterInputs/ParameterTextarea.tsx
18787
- import { forwardRef as forwardRef16 } from "react";
18788
- import { jsx as jsx107 } from "@emotion/react/jsx-runtime";
18789
- var ParameterTextarea = forwardRef16((props, ref) => {
18831
+ import { forwardRef as forwardRef17 } from "react";
18832
+ import { jsx as jsx108 } from "@emotion/react/jsx-runtime";
18833
+ var ParameterTextarea = forwardRef17((props, ref) => {
18790
18834
  const { shellProps, innerProps } = extractParameterProps(props);
18791
- return /* @__PURE__ */ jsx107(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx107(ParameterTextareaInner, { ref, ...innerProps }) });
18835
+ return /* @__PURE__ */ jsx108(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx108(ParameterTextareaInner, { ref, ...innerProps }) });
18792
18836
  });
18793
- var ParameterTextareaInner = forwardRef16(({ ...props }, ref) => {
18837
+ var ParameterTextareaInner = forwardRef17(({ ...props }, ref) => {
18794
18838
  const { id, label, hiddenLabel } = useParameterShell();
18795
- return /* @__PURE__ */ jsx107(
18839
+ return /* @__PURE__ */ jsx108(
18796
18840
  "textarea",
18797
18841
  {
18798
18842
  css: [input2, textarea2],
@@ -18805,18 +18849,18 @@ var ParameterTextareaInner = forwardRef16(({ ...props }, ref) => {
18805
18849
  });
18806
18850
 
18807
18851
  // src/components/ParameterInputs/ParameterToggle.tsx
18808
- import { forwardRef as forwardRef17 } from "react";
18809
- import { jsx as jsx108, jsxs as jsxs73 } from "@emotion/react/jsx-runtime";
18810
- var ParameterToggle = forwardRef17((props, ref) => {
18852
+ import { forwardRef as forwardRef18 } from "react";
18853
+ import { jsx as jsx109, jsxs as jsxs73 } from "@emotion/react/jsx-runtime";
18854
+ var ParameterToggle = forwardRef18((props, ref) => {
18811
18855
  const { shellProps, innerProps } = extractParameterProps(props);
18812
- return /* @__PURE__ */ jsx108(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx108(ParameterToggleInner, { ref, ...innerProps }) });
18856
+ return /* @__PURE__ */ jsx109(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx109(ParameterToggleInner, { ref, ...innerProps }) });
18813
18857
  });
18814
- var ParameterToggleInner = forwardRef17(
18858
+ var ParameterToggleInner = forwardRef18(
18815
18859
  ({ ...props }, ref) => {
18816
18860
  const { id, label } = useParameterShell();
18817
18861
  return /* @__PURE__ */ jsxs73("label", { css: inputToggleLabel2, children: [
18818
- /* @__PURE__ */ jsx108("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
18819
- /* @__PURE__ */ jsx108("span", { css: inlineLabel2, children: label })
18862
+ /* @__PURE__ */ jsx109("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
18863
+ /* @__PURE__ */ jsx109("span", { css: inlineLabel2, children: label })
18820
18864
  ] });
18821
18865
  }
18822
18866
  );
@@ -18876,7 +18920,7 @@ var bar = css86`
18876
18920
  `;
18877
18921
 
18878
18922
  // src/components/ProgressBar/ProgressBar.tsx
18879
- import { jsx as jsx109 } from "@emotion/react/jsx-runtime";
18923
+ import { jsx as jsx110 } from "@emotion/react/jsx-runtime";
18880
18924
  function ProgressBar({
18881
18925
  current,
18882
18926
  max,
@@ -18886,7 +18930,7 @@ function ProgressBar({
18886
18930
  }) {
18887
18931
  const valueNow = Math.min(current, max);
18888
18932
  const valuePercentage = max > 0 ? Math.ceil(100 / max * valueNow) : 0;
18889
- return /* @__PURE__ */ jsx109(
18933
+ return /* @__PURE__ */ jsx110(
18890
18934
  "div",
18891
18935
  {
18892
18936
  css: container2,
@@ -18897,7 +18941,7 @@ function ProgressBar({
18897
18941
  "aria-valuemax": max,
18898
18942
  "aria-valuenow": valueNow,
18899
18943
  ...props,
18900
- children: /* @__PURE__ */ jsx109(
18944
+ children: /* @__PURE__ */ jsx110(
18901
18945
  "div",
18902
18946
  {
18903
18947
  css: [
@@ -18937,7 +18981,7 @@ var progressListItemStyles = css87`
18937
18981
  `;
18938
18982
 
18939
18983
  // src/components/ProgressList/ProgressList.tsx
18940
- import { jsx as jsx110, jsxs as jsxs74 } from "@emotion/react/jsx-runtime";
18984
+ import { jsx as jsx111, jsxs as jsxs74 } from "@emotion/react/jsx-runtime";
18941
18985
  var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
18942
18986
  const itemsWithStatus = useMemo4(() => {
18943
18987
  const indexOfInProgressItem = items.findIndex(({ id }) => id === inProgressId);
@@ -18951,8 +18995,8 @@ var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
18951
18995
  return { ...item, status };
18952
18996
  });
18953
18997
  }, [items, inProgressId]);
18954
- return /* @__PURE__ */ jsx110("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
18955
- return /* @__PURE__ */ jsx110(
18998
+ return /* @__PURE__ */ jsx111("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
18999
+ return /* @__PURE__ */ jsx111(
18956
19000
  ProgressListItem,
18957
19001
  {
18958
19002
  status,
@@ -19011,10 +19055,10 @@ var ProgressListItem = ({
19011
19055
  return colorPerStatus[status];
19012
19056
  }, [status, error, errorLevel]);
19013
19057
  return /* @__PURE__ */ jsxs74("li", { css: [progressListItemStyles, statusStyles], children: [
19014
- /* @__PURE__ */ jsx110(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ jsx110("div", { children: /* @__PURE__ */ jsx110(Icon, { icon, size: 20, iconColor: "currentColor" }) }) }),
19058
+ /* @__PURE__ */ jsx111(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ jsx111("div", { children: /* @__PURE__ */ jsx111(Icon, { icon, size: 20, iconColor: "currentColor" }) }) }),
19015
19059
  /* @__PURE__ */ jsxs74("div", { children: [
19016
19060
  children,
19017
- /* @__PURE__ */ jsx110("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
19061
+ /* @__PURE__ */ jsx111("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
19018
19062
  ] })
19019
19063
  ] });
19020
19064
  };
@@ -19146,7 +19190,7 @@ var segmentedControlLabelContentStyles = css89`
19146
19190
  var segmentedControlLabelTextStyles = css89``;
19147
19191
 
19148
19192
  // src/components/SegmentedControl/SegmentedControl.tsx
19149
- import { jsx as jsx111, jsxs as jsxs75 } from "@emotion/react/jsx-runtime";
19193
+ import { jsx as jsx112, jsxs as jsxs75 } from "@emotion/react/jsx-runtime";
19150
19194
  var SegmentedControl = ({
19151
19195
  name,
19152
19196
  options,
@@ -19177,7 +19221,7 @@ var SegmentedControl = ({
19177
19221
  const isIconOnly = useMemo5(() => {
19178
19222
  return options.every((option) => option.icon && !option.label);
19179
19223
  }, [options]);
19180
- return /* @__PURE__ */ jsx111(
19224
+ return /* @__PURE__ */ jsx112(
19181
19225
  "div",
19182
19226
  {
19183
19227
  css: [segmentedControlStyles, orientation === "vertical" ? segmentedControlVerticalStyles : void 0],
@@ -19185,11 +19229,11 @@ var SegmentedControl = ({
19185
19229
  children: options.map((option, index) => {
19186
19230
  const text = option.label ? option.label : option.icon ? null : String(option.value);
19187
19231
  const isDisabled = disabled2 || option.disabled;
19188
- return /* @__PURE__ */ jsx111(
19232
+ return /* @__PURE__ */ jsx112(
19189
19233
  Tooltip,
19190
19234
  {
19191
19235
  title: isDisabled || !option.tooltip ? "" : option.tooltip,
19192
- children: /* @__PURE__ */ jsx111("div", { css: segmentedControlItemStyles, "data-testid": "container-segmented-control", children: /* @__PURE__ */ jsxs75(
19236
+ children: /* @__PURE__ */ jsx112("div", { css: segmentedControlItemStyles, "data-testid": "container-segmented-control", children: /* @__PURE__ */ jsxs75(
19193
19237
  "label",
19194
19238
  {
19195
19239
  css: [
@@ -19198,7 +19242,7 @@ var SegmentedControl = ({
19198
19242
  isIconOnly ? segmentedControlLabelIconOnlyStyles : void 0
19199
19243
  ],
19200
19244
  children: [
19201
- /* @__PURE__ */ jsx111(
19245
+ /* @__PURE__ */ jsx112(
19202
19246
  "input",
19203
19247
  {
19204
19248
  css: segmentedControlInputStyles,
@@ -19210,10 +19254,10 @@ var SegmentedControl = ({
19210
19254
  disabled: isDisabled
19211
19255
  }
19212
19256
  ),
19213
- option.value !== value || noCheckmark ? null : /* @__PURE__ */ jsx111(CgCheck4, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
19257
+ option.value !== value || noCheckmark ? null : /* @__PURE__ */ jsx112(CgCheck4, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
19214
19258
  /* @__PURE__ */ jsxs75("span", { css: segmentedControlLabelContentStyles, children: [
19215
- !option.icon ? null : /* @__PURE__ */ jsx111(Icon, { icon: option.icon, size: "1.5em", iconColor: "currentColor" }),
19216
- !text ? null : /* @__PURE__ */ jsx111("span", { css: segmentedControlLabelTextStyles, children: text })
19259
+ !option.icon ? null : /* @__PURE__ */ jsx112(Icon, { icon: option.icon, size: "1.5em", iconColor: "currentColor" }),
19260
+ !text ? null : /* @__PURE__ */ jsx112("span", { css: segmentedControlLabelTextStyles, children: text })
19217
19261
  ] })
19218
19262
  ]
19219
19263
  }
@@ -19238,7 +19282,7 @@ var skeletonStyles = css91`
19238
19282
  `;
19239
19283
 
19240
19284
  // src/components/Skeleton/Skeleton.tsx
19241
- import { jsx as jsx112 } from "@emotion/react/jsx-runtime";
19285
+ import { jsx as jsx113 } from "@emotion/react/jsx-runtime";
19242
19286
  var Skeleton = ({
19243
19287
  width = "100%",
19244
19288
  height = "1.25rem",
@@ -19246,7 +19290,7 @@ var Skeleton = ({
19246
19290
  circle = false,
19247
19291
  children,
19248
19292
  ...otherProps
19249
- }) => /* @__PURE__ */ jsx112(
19293
+ }) => /* @__PURE__ */ jsx113(
19250
19294
  "div",
19251
19295
  {
19252
19296
  css: [
@@ -19353,19 +19397,19 @@ var SwitchText = css92`
19353
19397
  `;
19354
19398
 
19355
19399
  // src/components/Switch/Switch.tsx
19356
- import { Fragment as Fragment21, jsx as jsx113, jsxs as jsxs76 } from "@emotion/react/jsx-runtime";
19400
+ import { Fragment as Fragment20, jsx as jsx114, jsxs as jsxs76 } from "@emotion/react/jsx-runtime";
19357
19401
  var Switch = React23.forwardRef(
19358
19402
  ({ label, infoText, toggleText, children, ...inputProps }, ref) => {
19359
19403
  let additionalText = infoText;
19360
19404
  if (infoText && toggleText) {
19361
19405
  additionalText = inputProps.checked ? toggleText : infoText;
19362
19406
  }
19363
- return /* @__PURE__ */ jsxs76(Fragment21, { children: [
19407
+ return /* @__PURE__ */ jsxs76(Fragment20, { children: [
19364
19408
  /* @__PURE__ */ jsxs76("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
19365
- /* @__PURE__ */ jsx113("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
19366
- /* @__PURE__ */ jsx113("span", { css: SwitchInputLabel, children: label })
19409
+ /* @__PURE__ */ jsx114("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
19410
+ /* @__PURE__ */ jsx114("span", { css: SwitchInputLabel, children: label })
19367
19411
  ] }),
19368
- additionalText ? /* @__PURE__ */ jsx113("p", { css: SwitchText, children: additionalText }) : null,
19412
+ additionalText ? /* @__PURE__ */ jsx114("p", { css: SwitchText, children: additionalText }) : null,
19369
19413
  children
19370
19414
  ] });
19371
19415
  }
@@ -19402,45 +19446,45 @@ var tableCellHead = css93`
19402
19446
  `;
19403
19447
 
19404
19448
  // src/components/Table/Table.tsx
19405
- import { jsx as jsx114 } from "@emotion/react/jsx-runtime";
19449
+ import { jsx as jsx115 } from "@emotion/react/jsx-runtime";
19406
19450
  var Table = React24.forwardRef(
19407
19451
  ({ children, cellPadding, ...otherProps }, ref) => {
19408
- return /* @__PURE__ */ jsx114("table", { ref, css: table({ cellPadding }), ...otherProps, children });
19452
+ return /* @__PURE__ */ jsx115("table", { ref, css: table({ cellPadding }), ...otherProps, children });
19409
19453
  }
19410
19454
  );
19411
19455
  var TableHead = React24.forwardRef(
19412
19456
  ({ children, ...otherProps }, ref) => {
19413
- return /* @__PURE__ */ jsx114("thead", { ref, css: tableHead, ...otherProps, children });
19457
+ return /* @__PURE__ */ jsx115("thead", { ref, css: tableHead, ...otherProps, children });
19414
19458
  }
19415
19459
  );
19416
19460
  var TableBody = React24.forwardRef(
19417
19461
  ({ children, ...otherProps }, ref) => {
19418
- return /* @__PURE__ */ jsx114("tbody", { ref, ...otherProps, children });
19462
+ return /* @__PURE__ */ jsx115("tbody", { ref, ...otherProps, children });
19419
19463
  }
19420
19464
  );
19421
19465
  var TableFoot = React24.forwardRef(
19422
19466
  ({ children, ...otherProps }, ref) => {
19423
- return /* @__PURE__ */ jsx114("tfoot", { ref, ...otherProps, children });
19467
+ return /* @__PURE__ */ jsx115("tfoot", { ref, ...otherProps, children });
19424
19468
  }
19425
19469
  );
19426
19470
  var TableRow = React24.forwardRef(
19427
19471
  ({ children, ...otherProps }, ref) => {
19428
- return /* @__PURE__ */ jsx114("tr", { ref, css: tableRow, ...otherProps, children });
19472
+ return /* @__PURE__ */ jsx115("tr", { ref, css: tableRow, ...otherProps, children });
19429
19473
  }
19430
19474
  );
19431
19475
  var TableCellHead = React24.forwardRef(
19432
19476
  ({ children, ...otherProps }, ref) => {
19433
- return /* @__PURE__ */ jsx114("th", { ref, css: tableCellHead, ...otherProps, children });
19477
+ return /* @__PURE__ */ jsx115("th", { ref, css: tableCellHead, ...otherProps, children });
19434
19478
  }
19435
19479
  );
19436
19480
  var TableCellData = React24.forwardRef(
19437
19481
  ({ children, ...otherProps }, ref) => {
19438
- return /* @__PURE__ */ jsx114("td", { ref, ...otherProps, children });
19482
+ return /* @__PURE__ */ jsx115("td", { ref, ...otherProps, children });
19439
19483
  }
19440
19484
  );
19441
19485
 
19442
19486
  // src/components/Tabs/Tabs.tsx
19443
- import { createContext as createContext6, useContext as useContext7, useEffect as useEffect15, useMemo as useMemo6 } from "react";
19487
+ import { createContext as createContext5, useContext as useContext6, useEffect as useEffect15, useMemo as useMemo6 } from "react";
19444
19488
  import {
19445
19489
  Tab as ReakitTab,
19446
19490
  TabList as ReakitTabList,
@@ -19474,10 +19518,10 @@ var tabButtonGroupStyles = css94`
19474
19518
  `;
19475
19519
 
19476
19520
  // src/components/Tabs/Tabs.tsx
19477
- import { jsx as jsx115 } from "@emotion/react/jsx-runtime";
19478
- var CurrentTabContext = createContext6(null);
19521
+ import { jsx as jsx116 } from "@emotion/react/jsx-runtime";
19522
+ var CurrentTabContext = createContext5(null);
19479
19523
  var useCurrentTab = () => {
19480
- const context = useContext7(CurrentTabContext);
19524
+ const context = useContext6(CurrentTabContext);
19481
19525
  if (!context) {
19482
19526
  throw new Error("This component can only be used inside <Tabs>");
19483
19527
  }
@@ -19504,19 +19548,19 @@ var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...prop
19504
19548
  tab.setSelectedId(selected);
19505
19549
  }
19506
19550
  }, [selected]);
19507
- return /* @__PURE__ */ jsx115(CurrentTabContext.Provider, { value: tab, children });
19551
+ return /* @__PURE__ */ jsx116(CurrentTabContext.Provider, { value: tab, children });
19508
19552
  };
19509
19553
  var TabButtonGroup = ({ children, ...props }) => {
19510
19554
  const currentTab = useCurrentTab();
19511
- return /* @__PURE__ */ jsx115(ReakitTabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
19555
+ return /* @__PURE__ */ jsx116(ReakitTabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
19512
19556
  };
19513
19557
  var TabButton = ({ children, id, ...props }) => {
19514
19558
  const currentTab = useCurrentTab();
19515
- return /* @__PURE__ */ jsx115(ReakitTab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
19559
+ return /* @__PURE__ */ jsx116(ReakitTab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
19516
19560
  };
19517
19561
  var TabContent = ({ children, ...props }) => {
19518
19562
  const currentTab = useCurrentTab();
19519
- return /* @__PURE__ */ jsx115(ReakitTabPanel, { ...props, ...currentTab, children });
19563
+ return /* @__PURE__ */ jsx116(ReakitTabPanel, { ...props, ...currentTab, children });
19520
19564
  };
19521
19565
 
19522
19566
  // src/components/Validation/StatusBullet.styles.ts
@@ -19594,7 +19638,7 @@ var StatusUnknown = css95`
19594
19638
  `;
19595
19639
 
19596
19640
  // src/components/Validation/StatusBullet.tsx
19597
- import { jsx as jsx116 } from "@emotion/react/jsx-runtime";
19641
+ import { jsx as jsx117 } from "@emotion/react/jsx-runtime";
19598
19642
  var StatusBullet = ({
19599
19643
  status,
19600
19644
  hideText = false,
@@ -19613,7 +19657,7 @@ var StatusBullet = ({
19613
19657
  Unknown: StatusUnknown
19614
19658
  };
19615
19659
  const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
19616
- return /* @__PURE__ */ jsx116(
19660
+ return /* @__PURE__ */ jsx117(
19617
19661
  "span",
19618
19662
  {
19619
19663
  role: "status",
@@ -19694,7 +19738,6 @@ export {
19694
19738
  LoadingOverlay,
19695
19739
  MediaCard,
19696
19740
  Menu,
19697
- MenuContext,
19698
19741
  MenuGroup,
19699
19742
  MenuItem,
19700
19743
  MenuItemSeparator,
@@ -19744,6 +19787,7 @@ export {
19744
19787
  StatusBullet,
19745
19788
  SuccessMessage,
19746
19789
  Switch,
19790
+ TAKEOVER_STACK_ID,
19747
19791
  TabButton,
19748
19792
  TabButtonGroup,
19749
19793
  TabContent,
@@ -19755,6 +19799,7 @@ export {
19755
19799
  TableHead,
19756
19800
  TableRow,
19757
19801
  Tabs,
19802
+ TakeoverDrawerRenderer,
19758
19803
  Textarea,
19759
19804
  Theme,
19760
19805
  Tile2 as Tile,
@@ -19839,7 +19884,6 @@ export {
19839
19884
  useCurrentTab,
19840
19885
  useDrawer,
19841
19886
  useIconContext,
19842
- useMenuContext,
19843
19887
  useOutsideClick,
19844
19888
  useParameterShell,
19845
19889
  useShortcut,