@uniformdev/design-system 18.21.1-alpha.4 → 18.23.1-alpha.34

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/index.js CHANGED
@@ -109,6 +109,7 @@ __export(src_exports, {
109
109
  ParameterTextareaInner: () => ParameterTextareaInner,
110
110
  ParameterToggle: () => ParameterToggle,
111
111
  ParameterToggleInner: () => ParameterToggleInner,
112
+ Popover: () => Popover2,
112
113
  ResolveIcon: () => ResolveIcon,
113
114
  ScrollableList: () => ScrollableList,
114
115
  ScrollableListInputItem: () => ScrollableListInputItem,
@@ -166,6 +167,7 @@ __export(src_exports, {
166
167
  skeletonLoading: () => skeletonLoading,
167
168
  supports: () => supports,
168
169
  useBreakpoint: () => useBreakpoint,
170
+ useCurrentDrawerRenderer: () => useCurrentDrawerRenderer,
169
171
  useCurrentTab: () => useCurrentTab,
170
172
  useDrawer: () => useDrawer,
171
173
  useIconContext: () => useIconContext,
@@ -8387,19 +8389,19 @@ var UniformBadge = ({
8387
8389
  css: [SVG, theme === "dark" ? SVGDark : SVGLight],
8388
8390
  ...props,
8389
8391
  children: [
8390
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("path", { d: "M28.998 0 0 16.744V50.23l28.998-16.744 29.004-16.743L28.998 0Z", fill: "#83C6E1" }),
8392
+ /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("path", { d: "M28.998 0 0 16.744V50.23l28.998-16.744 29.004-16.743L28.998 0Z", fill: "#7BB3FF" }),
8391
8393
  /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
8392
8394
  "path",
8393
8395
  {
8394
8396
  d: "M28.998 66.974V33.487L0 50.231v33.487l28.998 16.744 29.004-16.744V50.23L28.998 66.974Z",
8395
- fill: "#438FD5"
8397
+ fill: "#498DFF"
8396
8398
  }
8397
8399
  ),
8398
8400
  /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
8399
8401
  "path",
8400
8402
  {
8401
8403
  d: "M58.002 16.744 28.998 33.487l29.004 16.744v33.487L87 66.975V33.487L58.002 16.744Z",
8402
- fill: "#F4220B"
8404
+ fill: "#E61408"
8403
8405
  }
8404
8406
  )
8405
8407
  ]
@@ -8424,15 +8426,15 @@ var UniformLogo = ({
8424
8426
  css: [SVG, theme === "dark" ? SVGDark : SVGLight],
8425
8427
  ...props,
8426
8428
  children: [
8427
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { d: "M11.249 0 0 6.495v12.99l11.249-6.495L22.5 6.495 11.25 0Z", fill: "#83C6E1" }),
8429
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { d: "M11.249 0 0 6.495v12.99l11.249-6.495L22.5 6.495 11.25 0Z", fill: "#7BB3FF" }),
8428
8430
  /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
8429
8431
  "path",
8430
8432
  {
8431
8433
  d: "M11.249 25.98V12.99L0 19.486v12.99l11.249 6.495L22.5 32.476v-12.99L11.25 25.98Z",
8432
- fill: "#438FD5"
8434
+ fill: "#498DFF"
8433
8435
  }
8434
8436
  ),
8435
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { d: "m22.5 6.495-11.25 6.496 11.25 6.495v12.99l11.25-6.495V12.99L22.5 6.495Z", fill: "#F4220B" }),
8437
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("path", { d: "m22.5 6.495-11.25 6.496 11.25 6.495v12.99l11.25-6.495V12.99L22.5 6.495Z", fill: "#E61408" }),
8436
8438
  /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
8437
8439
  "path",
8438
8440
  {
@@ -9277,7 +9279,7 @@ var summary = import_react33.css`
9277
9279
  display: grid;
9278
9280
  grid-template-columns: 1.25rem 1fr;
9279
9281
  gap: var(--spacing-sm);
9280
- padding: var(--spacing-sm);
9282
+ padding: var(--spacing-sm) 0;
9281
9283
 
9282
9284
  // hides the native arrow icon
9283
9285
  list-style: none;
@@ -9321,7 +9323,7 @@ var Details = ({ summary: summary2, children, isOpenByDefault = false, ...props
9321
9323
  };
9322
9324
 
9323
9325
  // src/components/Drawer/Drawer.tsx
9324
- var import_react36 = __toESM(require("react"));
9326
+ var import_react37 = __toESM(require("react"));
9325
9327
  var import_cg7 = require("react-icons/cg");
9326
9328
 
9327
9329
  // src/components/Drawer/Drawer.styles.ts
@@ -9457,71 +9459,15 @@ function isEqualDrawerInstance(a, b) {
9457
9459
  return isEqualDrawer(a, b) && a.instanceKey === b.instanceKey;
9458
9460
  }
9459
9461
 
9460
- // src/components/Drawer/Drawer.tsx
9461
- var import_jsx_runtime30 = require("@emotion/react/jsx-runtime");
9462
- var Drawer = import_react36.default.forwardRef(
9463
- ({ id, stackId, instanceKey, onRequestClose, header, bgColor, children }, ref) => {
9464
- const { registerDrawer, unregisterDrawer } = useDrawer();
9465
- const closeButtonRef = (0, import_react36.useRef)(null);
9466
- const component = (0, import_react36.useMemo)(() => {
9467
- const headerId = `dialog-header-${stackId}-${id}`;
9468
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
9469
- "div",
9470
- {
9471
- ref,
9472
- id,
9473
- role: "dialog",
9474
- tabIndex: -1,
9475
- "aria-labelledby": headerId,
9476
- css: drawerStyles(bgColor),
9477
- "data-test-id": "side-dialog",
9478
- children: [
9479
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
9480
- Button,
9481
- {
9482
- ref: closeButtonRef,
9483
- type: "button",
9484
- onClick: onRequestClose,
9485
- css: drawerCloseButtonStyles,
9486
- title: "Close dialog",
9487
- buttonType: "ghost",
9488
- children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Icon, { icon: import_cg7.CgChevronRight, iconColor: "gray", size: "1.5rem" })
9489
- }
9490
- ),
9491
- header ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { id: headerId, css: drawerHeaderStyles, children: header }) : null,
9492
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { css: drawerInnerStyles, children })
9493
- ]
9494
- }
9495
- );
9496
- }, [children, header, id, stackId, bgColor, onRequestClose, ref]);
9497
- (0, import_react36.useEffect)(() => {
9498
- registerDrawer({
9499
- drawer: {
9500
- id,
9501
- component,
9502
- stackId,
9503
- onRequestClose,
9504
- instanceKey
9505
- },
9506
- onFirstRender: () => {
9507
- setTimeout(() => {
9508
- var _a;
9509
- (_a = closeButtonRef.current) == null ? void 0 : _a.focus({ preventScroll: true });
9510
- }, 0);
9511
- }
9512
- });
9513
- }, [component, instanceKey, registerDrawer]);
9514
- (0, import_react36.useEffect)(() => {
9515
- return () => unregisterDrawer({ id, stackId, instanceKey });
9516
- }, [id, stackId, instanceKey, unregisterDrawer]);
9517
- return null;
9518
- }
9519
- );
9520
-
9521
9462
  // src/components/Drawer/DrawerRenderer.tsx
9522
- var import_jsx_runtime31 = require("@emotion/react/jsx-runtime");
9463
+ var import_react36 = require("react");
9464
+ var import_jsx_runtime30 = require("@emotion/react/jsx-runtime");
9523
9465
  var maxLayeringInPx = 64;
9524
9466
  var idealDistanceBetweenLayersInPx = 16;
9467
+ var CurrentDrawerRendererContext = (0, import_react36.createContext)({});
9468
+ var useCurrentDrawerRenderer = () => {
9469
+ return (0, import_react36.useContext)(CurrentDrawerRendererContext);
9470
+ };
9525
9471
  var DrawerRenderer = ({
9526
9472
  stackId,
9527
9473
  position = "absolute",
@@ -9535,7 +9481,7 @@ var DrawerRenderer = ({
9535
9481
  if (drawersToRender.length === 0) {
9536
9482
  return null;
9537
9483
  }
9538
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { css: drawerRendererStyles(position), ...otherProps, children: drawersToRender.map(({ component, id, stackId: stackId2, onRequestClose }, index) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
9484
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(CurrentDrawerRendererContext.Provider, { value: { stackId }, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { css: drawerRendererStyles(position), ...otherProps, children: drawersToRender.map(({ component, id, stackId: stackId2, onRequestClose }, index) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
9539
9485
  DrawerWrapper,
9540
9486
  {
9541
9487
  index,
@@ -9547,7 +9493,7 @@ var DrawerRenderer = ({
9547
9493
  children: component
9548
9494
  },
9549
9495
  `${stackId2}-${id}`
9550
- )) });
9496
+ )) }) });
9551
9497
  };
9552
9498
  var DrawerWrapper = ({
9553
9499
  index,
@@ -9564,15 +9510,94 @@ var DrawerWrapper = ({
9564
9510
  offsetInPx = Math.round(maxLayeringInPx * relativeLevel);
9565
9511
  }
9566
9512
  const calculatedWidth = `calc(${width} - ${offsetInPx}px)`;
9567
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_jsx_runtime31.Fragment, { children: [
9568
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { css: drawerWrapperOverlayStyles, onClick: onOverlayClick }),
9569
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { css: [drawerWrapperStyles, { width: calculatedWidth, minWidth, maxWidth }], children })
9513
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(import_jsx_runtime30.Fragment, { children: [
9514
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { css: drawerWrapperOverlayStyles, onClick: onOverlayClick }),
9515
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { css: [drawerWrapperStyles, { width: calculatedWidth, minWidth, maxWidth }], children })
9570
9516
  ] });
9571
9517
  };
9572
9518
 
9519
+ // src/components/Drawer/Drawer.tsx
9520
+ var import_jsx_runtime31 = require("@emotion/react/jsx-runtime");
9521
+ var defaultSackId = "_default";
9522
+ var Drawer = import_react37.default.forwardRef(
9523
+ ({ width, minWidth, maxWidth, position, ...drawerProps }, ref) => {
9524
+ const drawerRendererProps = { width, minWidth, maxWidth, position };
9525
+ const { stackId: inheritedStackId } = useCurrentDrawerRenderer();
9526
+ return inheritedStackId ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(DrawerInner, { ref, ...drawerProps, stackId: inheritedStackId }) : drawerProps.stackId ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(DrawerInner, { ref, ...drawerProps }) : /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(DrawerProvider, { children: [
9527
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(DrawerInner, { ref, ...drawerProps }),
9528
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(DrawerRenderer, { stackId: defaultSackId, ...drawerRendererProps })
9529
+ ] });
9530
+ }
9531
+ );
9532
+ var DrawerInner = ({
9533
+ ref,
9534
+ stackId = defaultSackId,
9535
+ id,
9536
+ bgColor,
9537
+ children,
9538
+ header,
9539
+ instanceKey,
9540
+ onRequestClose
9541
+ }) => {
9542
+ const { registerDrawer, unregisterDrawer } = useDrawer();
9543
+ const closeButtonRef = (0, import_react37.useRef)(null);
9544
+ const component = (0, import_react37.useMemo)(() => {
9545
+ const headerId = `dialog-header-${stackId}-${id}`;
9546
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
9547
+ "div",
9548
+ {
9549
+ ref,
9550
+ id,
9551
+ role: "dialog",
9552
+ tabIndex: -1,
9553
+ "aria-labelledby": headerId,
9554
+ css: drawerStyles(bgColor),
9555
+ "data-test-id": "side-dialog",
9556
+ children: [
9557
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
9558
+ Button,
9559
+ {
9560
+ ref: closeButtonRef,
9561
+ type: "button",
9562
+ onClick: onRequestClose,
9563
+ css: drawerCloseButtonStyles,
9564
+ title: "Close dialog",
9565
+ buttonType: "ghost",
9566
+ children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Icon, { icon: import_cg7.CgChevronRight, iconColor: "gray", size: "1.5rem" })
9567
+ }
9568
+ ),
9569
+ header ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { id: headerId, css: drawerHeaderStyles, children: header }) : null,
9570
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { css: drawerInnerStyles, children })
9571
+ ]
9572
+ }
9573
+ );
9574
+ }, [children, header, id, stackId, bgColor, onRequestClose, ref]);
9575
+ (0, import_react37.useEffect)(() => {
9576
+ registerDrawer({
9577
+ drawer: {
9578
+ id,
9579
+ component,
9580
+ stackId,
9581
+ onRequestClose,
9582
+ instanceKey
9583
+ },
9584
+ onFirstRender: () => {
9585
+ setTimeout(() => {
9586
+ var _a;
9587
+ (_a = closeButtonRef.current) == null ? void 0 : _a.focus({ preventScroll: true });
9588
+ }, 0);
9589
+ }
9590
+ });
9591
+ }, [component, instanceKey, registerDrawer]);
9592
+ (0, import_react37.useEffect)(() => {
9593
+ return () => unregisterDrawer({ id, stackId, instanceKey });
9594
+ }, [id, stackId, instanceKey, unregisterDrawer]);
9595
+ return null;
9596
+ };
9597
+
9573
9598
  // src/components/Input/styles/CaptionText.styles.ts
9574
- var import_react37 = require("@emotion/react");
9575
- var CaptionText = (dynamicSize) => import_react37.css`
9599
+ var import_react38 = require("@emotion/react");
9600
+ var CaptionText = (dynamicSize) => import_react38.css`
9576
9601
  color: var(--gray-500);
9577
9602
  display: block;
9578
9603
  font-size: ${dynamicSize ? "clamp(var(--fs-xs), 87.5%,var(--fs-sm))" : "var(--fs-sm)"};
@@ -9587,23 +9612,23 @@ var Caption = ({ children, testId, dynamicSize = false, ...props }) => {
9587
9612
  };
9588
9613
 
9589
9614
  // src/components/Input/CheckboxWithInfo.tsx
9590
- var import_react39 = require("react");
9615
+ var import_react40 = require("react");
9591
9616
 
9592
9617
  // src/components/Input/styles/CheckboxWithInfo.styles.ts
9593
- var import_react38 = require("@emotion/react");
9594
- var CheckboxWithInfoContainer = import_react38.css`
9618
+ var import_react39 = require("@emotion/react");
9619
+ var CheckboxWithInfoContainer = import_react39.css`
9595
9620
  align-items: center;
9596
9621
  display: flex;
9597
9622
  gap: var(--spacing-sm);
9598
9623
  `;
9599
- var CheckboxWithInfoLabel = import_react38.css`
9624
+ var CheckboxWithInfoLabel = import_react39.css`
9600
9625
  align-items: center;
9601
9626
  color: var(--gray-500);
9602
9627
  display: flex;
9603
9628
  font-size: var(--fs-xs);
9604
9629
  gap: var(--spacing-sm);
9605
9630
  `;
9606
- var CheckboxWithInfoInput = import_react38.css`
9631
+ var CheckboxWithInfoInput = import_react39.css`
9607
9632
  appearance: none;
9608
9633
  border: 1px solid var(--gray-300);
9609
9634
  background: var(--white) no-repeat bottom center;
@@ -9636,7 +9661,7 @@ var CheckboxWithInfoInput = import_react38.css`
9636
9661
  border-color: var(--gray-200);
9637
9662
  }
9638
9663
  `;
9639
- var InfoDialogContainer = import_react38.css`
9664
+ var InfoDialogContainer = import_react39.css`
9640
9665
  position: relative;
9641
9666
 
9642
9667
  &:hover {
@@ -9645,7 +9670,7 @@ var InfoDialogContainer = import_react38.css`
9645
9670
  }
9646
9671
  }
9647
9672
  `;
9648
- var InfoDialogMessage = import_react38.css`
9673
+ var InfoDialogMessage = import_react39.css`
9649
9674
  background: var(--white);
9650
9675
  box-shadow: var(--shadow-base);
9651
9676
  border-radius: var(--rounded-md);
@@ -9669,7 +9694,7 @@ var InfoDialog = ({ message }) => {
9669
9694
  /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { role: "paragraph", css: InfoDialogMessage, className: "info-message", children: message })
9670
9695
  ] });
9671
9696
  };
9672
- var CheckboxWithInfo = (0, import_react39.forwardRef)(
9697
+ var CheckboxWithInfo = (0, import_react40.forwardRef)(
9673
9698
  ({ label, name, info, ...props }, ref) => {
9674
9699
  return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { css: CheckboxWithInfoContainer, children: [
9675
9700
  /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("label", { css: CheckboxWithInfoLabel, children: [
@@ -9685,8 +9710,8 @@ var CheckboxWithInfo = (0, import_react39.forwardRef)(
9685
9710
  var import_md = require("react-icons/md");
9686
9711
 
9687
9712
  // src/components/Input/styles/ErrorMessage.styles.ts
9688
- var import_react40 = require("@emotion/react");
9689
- var ErrorText = import_react40.css`
9713
+ var import_react41 = require("@emotion/react");
9714
+ var ErrorText = import_react41.css`
9690
9715
  align-items: center;
9691
9716
  color: var(--brand-secondary-5);
9692
9717
  display: flex;
@@ -9703,12 +9728,12 @@ var ErrorMessage = ({ message, testId, ...otherProps }) => {
9703
9728
  };
9704
9729
 
9705
9730
  // src/components/Input/Fieldset.tsx
9706
- var React11 = __toESM(require("react"));
9731
+ var React12 = __toESM(require("react"));
9707
9732
 
9708
9733
  // src/components/Input/styles/Fieldset.styles.ts
9709
- var import_react41 = require("@emotion/react");
9734
+ var import_react42 = require("@emotion/react");
9710
9735
  function fieldsetContainer(invert) {
9711
- const base = import_react41.css`
9736
+ const base = import_react42.css`
9712
9737
  border-radius: var(--rounded-base);
9713
9738
  border: 1px solid var(--gray-300);
9714
9739
 
@@ -9720,18 +9745,18 @@ function fieldsetContainer(invert) {
9720
9745
  }
9721
9746
  `;
9722
9747
  return invert ? [
9723
- import_react41.css`
9748
+ import_react42.css`
9724
9749
  background: white;
9725
9750
  `,
9726
9751
  base
9727
9752
  ] : [
9728
- import_react41.css`
9753
+ import_react42.css`
9729
9754
  background: var(--gray-50);
9730
9755
  `,
9731
9756
  base
9732
9757
  ];
9733
9758
  }
9734
- var fieldsetLegend = import_react41.css`
9759
+ var fieldsetLegend = import_react42.css`
9735
9760
  align-items: center;
9736
9761
  color: var(--brand-secondary-1);
9737
9762
  display: flex;
@@ -9741,13 +9766,13 @@ var fieldsetLegend = import_react41.css`
9741
9766
  margin-bottom: var(--spacing-base);
9742
9767
  float: left; // allows the legend to be inside the fieldset and not sat on the border line
9743
9768
  `;
9744
- var fieldsetBody = import_react41.css`
9769
+ var fieldsetBody = import_react42.css`
9745
9770
  clear: left;
9746
9771
  `;
9747
9772
 
9748
9773
  // src/components/Input/Fieldset.tsx
9749
9774
  var import_jsx_runtime35 = require("@emotion/react/jsx-runtime");
9750
- var Fieldset = React11.forwardRef(
9775
+ var Fieldset = React12.forwardRef(
9751
9776
  ({ legend, disabled, children, invert, ...props }, ref) => {
9752
9777
  return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("fieldset", { css: fieldsetContainer(Boolean(invert)), ref, disabled, ...props, children: [
9753
9778
  legend,
@@ -9757,7 +9782,7 @@ var Fieldset = React11.forwardRef(
9757
9782
  );
9758
9783
 
9759
9784
  // src/components/Input/Input.tsx
9760
- var React12 = __toESM(require("react"));
9785
+ var React13 = __toESM(require("react"));
9761
9786
 
9762
9787
  // src/components/Input/Label.tsx
9763
9788
  var import_jsx_runtime36 = require("@emotion/react/jsx-runtime");
@@ -9778,14 +9803,14 @@ var Label = ({ children, className, testId, ...props }) => {
9778
9803
  var import_md2 = require("react-icons/md");
9779
9804
 
9780
9805
  // src/components/Input/styles/WarningMessage.styles.tsx
9781
- var import_react42 = require("@emotion/react");
9782
- var WarningText = import_react42.css`
9806
+ var import_react43 = require("@emotion/react");
9807
+ var WarningText = import_react43.css`
9783
9808
  align-items: center;
9784
9809
  color: var(--alert-text);
9785
9810
  display: flex;
9786
9811
  gap: var(--spacing-sm);
9787
9812
  `;
9788
- var WarningIcon = import_react42.css`
9813
+ var WarningIcon = import_react43.css`
9789
9814
  color: var(--alert);
9790
9815
  `;
9791
9816
 
@@ -9800,7 +9825,7 @@ var WarningMessage = ({ message, testId, ...props }) => {
9800
9825
 
9801
9826
  // src/components/Input/Input.tsx
9802
9827
  var import_jsx_runtime38 = require("@emotion/react/jsx-runtime");
9803
- var Input = React12.forwardRef(
9828
+ var Input = React13.forwardRef(
9804
9829
  ({
9805
9830
  label,
9806
9831
  icon,
@@ -9994,17 +10019,17 @@ function InputComboBox(props) {
9994
10019
  }
9995
10020
 
9996
10021
  // src/components/Input/InputInlineSelect.tsx
9997
- var import_react44 = require("@emotion/react");
9998
- var import_react45 = require("react");
10022
+ var import_react45 = require("@emotion/react");
10023
+ var import_react46 = require("react");
9999
10024
  var import_cg8 = require("react-icons/cg");
10000
10025
 
10001
10026
  // src/components/Input/styles/InputInlineSelect.styles.ts
10002
- var import_react43 = require("@emotion/react");
10003
- var inlineSelectContainer = import_react43.css`
10027
+ var import_react44 = require("@emotion/react");
10028
+ var inlineSelectContainer = import_react44.css`
10004
10029
  margin-inline: auto;
10005
10030
  max-width: fit-content;
10006
10031
  `;
10007
- var inlineSelectBtn = import_react43.css`
10032
+ var inlineSelectBtn = import_react44.css`
10008
10033
  align-items: center;
10009
10034
  background: var(--brand-secondary-3);
10010
10035
  border: 2px solid var(--brand-secondary-3);
@@ -10028,7 +10053,7 @@ var inlineSelectBtn = import_react43.css`
10028
10053
  outline: 2px solid var(--brand-secondary-1);
10029
10054
  }
10030
10055
  `;
10031
- var inlineSelectMenu = import_react43.css`
10056
+ var inlineSelectMenu = import_react44.css`
10032
10057
  background: var(--white);
10033
10058
  border: 1px solid var(--brand-secondary-3);
10034
10059
  border-top: none;
@@ -10039,7 +10064,7 @@ var inlineSelectMenu = import_react43.css`
10039
10064
  inset: auto 0;
10040
10065
  transform: translateY(-0.2rem);
10041
10066
  `;
10042
- var inlineSelectBtnOptions = import_react43.css`
10067
+ var inlineSelectBtnOptions = import_react44.css`
10043
10068
  cursor: pointer;
10044
10069
  display: block;
10045
10070
  font-size: var(--fs-sm);
@@ -10055,7 +10080,7 @@ var inlineSelectBtnOptions = import_react43.css`
10055
10080
  background: var(--gray-50);
10056
10081
  }
10057
10082
  `;
10058
- var inlineSelectMenuClosed = import_react43.css`
10083
+ var inlineSelectMenuClosed = import_react44.css`
10059
10084
  position: absolute;
10060
10085
  overflow: hidden;
10061
10086
  height: 1px;
@@ -10075,15 +10100,15 @@ var InputInlineSelect = ({
10075
10100
  ...props
10076
10101
  }) => {
10077
10102
  var _a;
10078
- const [menuVisible, setMenuVisible] = (0, import_react45.useState)(false);
10079
- const divRef = (0, import_react45.useRef)(null);
10103
+ const [menuVisible, setMenuVisible] = (0, import_react46.useState)(false);
10104
+ const divRef = (0, import_react46.useRef)(null);
10080
10105
  useOutsideClick(divRef, () => setMenuVisible(false));
10081
10106
  const selected = options.find((option) => option.value === value);
10082
10107
  return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
10083
10108
  "div",
10084
10109
  {
10085
10110
  ref: divRef,
10086
- css: !classNameContainer ? inlineSelectContainer : import_react44.css`
10111
+ css: !classNameContainer ? inlineSelectContainer : import_react45.css`
10087
10112
  max-width: fit-content;
10088
10113
  ${typeof classNameContainer === "object" ? classNameContainer : void 0}
10089
10114
  `,
@@ -10317,34 +10342,34 @@ var Textarea = ({
10317
10342
  };
10318
10343
 
10319
10344
  // src/components/LimitsBar/LimitsBar.styles.ts
10320
- var import_react46 = require("@emotion/react");
10321
- var LimitsBarContainer = import_react46.css`
10345
+ var import_react47 = require("@emotion/react");
10346
+ var LimitsBarContainer = import_react47.css`
10322
10347
  margin-block: var(--spacing-sm);
10323
10348
  `;
10324
- var LimitsBarProgressBar = import_react46.css`
10349
+ var LimitsBarProgressBar = import_react47.css`
10325
10350
  background: var(--gray-100);
10326
10351
  margin-top: var(--spacing-sm);
10327
10352
  position: relative;
10328
10353
  overflow: hidden;
10329
10354
  height: 0.25rem;
10330
10355
  `;
10331
- var LimitsBarProgressBarLine = import_react46.css`
10356
+ var LimitsBarProgressBarLine = import_react47.css`
10332
10357
  position: absolute;
10333
10358
  inset: 0;
10334
10359
  transition: transform var(--duration-fast) var(--timing-ease-out);
10335
10360
  `;
10336
- var LimitsBarLabelContainer = import_react46.css`
10361
+ var LimitsBarLabelContainer = import_react47.css`
10337
10362
  display: flex;
10338
10363
  justify-content: space-between;
10339
10364
  font-weight: var(--fw-bold);
10340
10365
  `;
10341
- var LimitsBarLabel = import_react46.css`
10366
+ var LimitsBarLabel = import_react47.css`
10342
10367
  font-size: var(--fs-baase);
10343
10368
  `;
10344
- var LimitsBarBgColor = (statusColor) => import_react46.css`
10369
+ var LimitsBarBgColor = (statusColor) => import_react47.css`
10345
10370
  background: ${statusColor};
10346
10371
  `;
10347
- var LimitsBarTextColor = (statusColor) => import_react46.css`
10372
+ var LimitsBarTextColor = (statusColor) => import_react47.css`
10348
10373
  color: ${statusColor};
10349
10374
  `;
10350
10375
 
@@ -10394,8 +10419,8 @@ var LimitsBar = ({ current, max, label }) => {
10394
10419
  };
10395
10420
 
10396
10421
  // src/components/LinkList/LinkList.styles.ts
10397
- var import_react47 = require("@emotion/react");
10398
- var LinkListContainer = import_react47.css`
10422
+ var import_react48 = require("@emotion/react");
10423
+ var LinkListContainer = import_react48.css`
10399
10424
  padding: var(--spacing-md) var(--spacing-lg) var(--spacing-2xl);
10400
10425
  ${mq("sm")} {
10401
10426
  grid-column: last-col / span 1;
@@ -10413,14 +10438,14 @@ var LinkList = ({ title, children, ...props }) => {
10413
10438
  };
10414
10439
 
10415
10440
  // src/components/List/ScrollableList.tsx
10416
- var import_react49 = require("@emotion/react");
10441
+ var import_react50 = require("@emotion/react");
10417
10442
 
10418
10443
  // src/components/List/styles/ScrollableList.styles.ts
10419
- var import_react48 = require("@emotion/react");
10420
- var ScrollableListContainer = import_react48.css`
10444
+ var import_react49 = require("@emotion/react");
10445
+ var ScrollableListContainer = import_react49.css`
10421
10446
  position: relative;
10422
10447
  `;
10423
- var ScrollableListInner = import_react48.css`
10448
+ var ScrollableListInner = import_react49.css`
10424
10449
  background: var(--gray-50);
10425
10450
  border-top: 1px solid var(--gray-200);
10426
10451
  border-bottom: 1px solid var(--gray-200);
@@ -10444,7 +10469,7 @@ var ScrollableList = ({ label, children, ...props }) => {
10444
10469
  label ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
10445
10470
  "span",
10446
10471
  {
10447
- css: import_react49.css`
10472
+ css: import_react50.css`
10448
10473
  ${labelText}
10449
10474
  `,
10450
10475
  children: label
@@ -10458,8 +10483,8 @@ var ScrollableList = ({ label, children, ...props }) => {
10458
10483
  var import_cg9 = require("react-icons/cg");
10459
10484
 
10460
10485
  // src/components/List/styles/ScrollableListItem.styles.ts
10461
- var import_react50 = require("@emotion/react");
10462
- var ScrollableListItemContainer = import_react50.css`
10486
+ var import_react51 = require("@emotion/react");
10487
+ var ScrollableListItemContainer = import_react51.css`
10463
10488
  align-items: center;
10464
10489
  background: var(--white);
10465
10490
  border-radius: var(--rounded-base);
@@ -10469,10 +10494,10 @@ var ScrollableListItemContainer = import_react50.css`
10469
10494
  min-height: 52px;
10470
10495
  transition: border-color var(--duration-fast) var(--timing-ease-out);
10471
10496
  `;
10472
- var ScrollableListItemActive = import_react50.css`
10497
+ var ScrollableListItemActive = import_react51.css`
10473
10498
  border-color: var(--brand-secondary-3);
10474
10499
  `;
10475
- var ScrollableListItemBtn = import_react50.css`
10500
+ var ScrollableListItemBtn = import_react51.css`
10476
10501
  align-items: center;
10477
10502
  border: none;
10478
10503
  background: transparent;
@@ -10487,26 +10512,26 @@ var ScrollableListItemBtn = import_react50.css`
10487
10512
  outline: none;
10488
10513
  }
10489
10514
  `;
10490
- var ScrollableListInputLabel = import_react50.css`
10515
+ var ScrollableListInputLabel = import_react51.css`
10491
10516
  align-items: center;
10492
10517
  display: flex;
10493
10518
  padding: var(--spacing-xs) var(--spacing-base) var(--spacing-xs);
10494
10519
  flex-grow: 1;
10495
10520
  `;
10496
- var ScrollableListInputText = import_react50.css`
10521
+ var ScrollableListInputText = import_react51.css`
10497
10522
  align-items: center;
10498
10523
  display: flex;
10499
10524
  gap: var(--spacing-sm);
10500
10525
  font-weight: var(--fw-bold);
10501
10526
  flex-grow: 1;
10502
10527
  `;
10503
- var ScrollableListHiddenInput = import_react50.css`
10528
+ var ScrollableListHiddenInput = import_react51.css`
10504
10529
  position: absolute;
10505
10530
  height: 0;
10506
10531
  width: 0;
10507
10532
  opacity: 0;
10508
10533
  `;
10509
- var ScrollableListIcon = import_react50.css`
10534
+ var ScrollableListIcon = import_react51.css`
10510
10535
  border-radius: var(--rounded-full);
10511
10536
  background: var(--brand-secondary-3);
10512
10537
  color: var(--white);
@@ -10534,7 +10559,7 @@ var ScrollableListInputItem = ({
10534
10559
  };
10535
10560
 
10536
10561
  // src/components/List/ScrollableListItem.tsx
10537
- var import_react51 = require("@emotion/react");
10562
+ var import_react52 = require("@emotion/react");
10538
10563
  var import_jsx_runtime50 = require("@emotion/react/jsx-runtime");
10539
10564
  var ScrollableListItem = ({ buttonText, active, ...props }) => {
10540
10565
  return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { css: [ScrollableListItemContainer, active ? ScrollableListItemActive : void 0], children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
@@ -10548,10 +10573,10 @@ var ScrollableListItem = ({ buttonText, active, ...props }) => {
10548
10573
  fill: "currentColor",
10549
10574
  xmlns: "http://www.w3.org/2000/svg",
10550
10575
  "aria-hidden": !active,
10551
- css: import_react51.css`
10576
+ css: import_react52.css`
10552
10577
  color: var(--brand-secondary-3);
10553
10578
  transition: opacity var(--duration-fast) var(--timing-ease-out);
10554
- ${active ? import_react51.css`
10579
+ ${active ? import_react52.css`
10555
10580
  animation: ${fadeInBottom} var(--duration-fast) var(--timing-ease-out) forwards;
10556
10581
  ` : "opacity: 0;"}
10557
10582
  `,
@@ -10569,8 +10594,8 @@ var ScrollableListItem = ({ buttonText, active, ...props }) => {
10569
10594
  };
10570
10595
 
10571
10596
  // src/components/LoadingIndicator/LoadingIndicator.styles.ts
10572
- var import_react52 = require("@emotion/react");
10573
- var bounceFade = import_react52.keyframes`
10597
+ var import_react53 = require("@emotion/react");
10598
+ var bounceFade = import_react53.keyframes`
10574
10599
  0%, 100% {
10575
10600
  opacity: 1.0;
10576
10601
  transform: translateY(0);
@@ -10587,11 +10612,11 @@ var bounceFade = import_react52.keyframes`
10587
10612
  transform: translateY(-5px);
10588
10613
  }
10589
10614
  `;
10590
- var loader = import_react52.css`
10615
+ var loader = import_react53.css`
10591
10616
  display: inline-flex;
10592
10617
  justify-content: center;
10593
10618
  `;
10594
- var loadingDot = import_react52.css`
10619
+ var loadingDot = import_react53.css`
10595
10620
  background-color: var(--gray-700);
10596
10621
  display: block;
10597
10622
  border-radius: var(--rounded-full);
@@ -10625,35 +10650,35 @@ var LoadingIndicator = () => {
10625
10650
  };
10626
10651
 
10627
10652
  // src/components/LoadingOverlay/LoadingOverlay.tsx
10628
- var import_react54 = require("@emotion/react");
10653
+ var import_react55 = require("@emotion/react");
10629
10654
 
10630
10655
  // src/components/LoadingOverlay/LoadingOverlay.styles.ts
10631
- var import_react53 = require("@emotion/react");
10632
- var loadingOverlayContainer = import_react53.css`
10656
+ var import_react54 = require("@emotion/react");
10657
+ var loadingOverlayContainer = import_react54.css`
10633
10658
  align-items: center;
10634
10659
  position: absolute;
10635
10660
  inset: 0;
10636
10661
  overflow: hidden;
10637
10662
  justify-content: center;
10638
10663
  `;
10639
- var loadingOverlayVisible = import_react53.css`
10664
+ var loadingOverlayVisible = import_react54.css`
10640
10665
  display: flex;
10641
10666
  `;
10642
- var loadingOverlayHidden = import_react53.css`
10667
+ var loadingOverlayHidden = import_react54.css`
10643
10668
  display: none;
10644
10669
  `;
10645
- var loadingOverlayBackground = (bgColor) => import_react53.css`
10670
+ var loadingOverlayBackground = (bgColor) => import_react54.css`
10646
10671
  background: ${bgColor};
10647
10672
  opacity: var(--opacity-75);
10648
10673
  position: absolute;
10649
10674
  inset: 0 0;
10650
10675
  `;
10651
- var loadingOverlayBody = import_react53.css`
10676
+ var loadingOverlayBody = import_react54.css`
10652
10677
  align-items: center;
10653
10678
  display: flex;
10654
10679
  flex-direction: column;
10655
10680
  `;
10656
- var loadingOverlayMessage = import_react53.css`
10681
+ var loadingOverlayMessage = import_react54.css`
10657
10682
  color: var(--gray-600);
10658
10683
  margin: var(--spacing-base) 0 0;
10659
10684
  `;
@@ -10678,7 +10703,7 @@ var LoadingOverlay = ({
10678
10703
  /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
10679
10704
  "div",
10680
10705
  {
10681
- css: import_react54.css`
10706
+ css: import_react55.css`
10682
10707
  position: relative;
10683
10708
  `,
10684
10709
  children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { css: loadingOverlayBody, children: [
@@ -10722,12 +10747,12 @@ var LoadingIcon = ({ height, width, ...props }) => {
10722
10747
  };
10723
10748
 
10724
10749
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
10725
- var import_react56 = require("@emotion/react");
10750
+ var import_react57 = require("@emotion/react");
10726
10751
  var import_cg10 = require("react-icons/cg");
10727
10752
 
10728
10753
  // src/components/Tiles/styles/IntegrationTile.styles.ts
10729
- var import_react55 = require("@emotion/react");
10730
- var IntegrationTileContainer = import_react55.css`
10754
+ var import_react56 = require("@emotion/react");
10755
+ var IntegrationTileContainer = import_react56.css`
10731
10756
  align-items: center;
10732
10757
  box-sizing: border-box;
10733
10758
  border-radius: var(--rounded-base);
@@ -10758,22 +10783,22 @@ var IntegrationTileContainer = import_react55.css`
10758
10783
  }
10759
10784
  }
10760
10785
  `;
10761
- var IntegrationTileBtnDashedBorder = import_react55.css`
10786
+ var IntegrationTileBtnDashedBorder = import_react56.css`
10762
10787
  border: 1px dashed var(--brand-secondary-1);
10763
10788
  `;
10764
- var IntegrationTileTitle = import_react55.css`
10789
+ var IntegrationTileTitle = import_react56.css`
10765
10790
  display: block;
10766
10791
  font-weight: var(--fw-bold);
10767
10792
  margin: 0 0 var(--spacing-base);
10768
10793
  max-width: 13rem;
10769
10794
  `;
10770
- var IntegrationTitleLogo = import_react55.css`
10795
+ var IntegrationTitleLogo = import_react56.css`
10771
10796
  display: block;
10772
10797
  max-width: 10rem;
10773
10798
  max-height: 4rem;
10774
10799
  margin: 0 auto;
10775
10800
  `;
10776
- var IntegrationTileName = import_react55.css`
10801
+ var IntegrationTileName = import_react56.css`
10777
10802
  color: var(--gray-500);
10778
10803
  display: -webkit-box;
10779
10804
  -webkit-line-clamp: 1;
@@ -10786,7 +10811,7 @@ var IntegrationTileName = import_react55.css`
10786
10811
  position: absolute;
10787
10812
  bottom: calc(var(--spacing-base) * 3.8);
10788
10813
  `;
10789
- var IntegrationAddedText = import_react55.css`
10814
+ var IntegrationAddedText = import_react56.css`
10790
10815
  align-items: center;
10791
10816
  background: var(--brand-secondary-3);
10792
10817
  border-radius: 0 var(--rounded-md) 0 var(--rounded-md);
@@ -10801,7 +10826,7 @@ var IntegrationAddedText = import_react55.css`
10801
10826
  top: 0;
10802
10827
  right: 0;
10803
10828
  `;
10804
- var IntegrationCustomBadgeText = (theme) => import_react55.css`
10829
+ var IntegrationCustomBadgeText = (theme) => import_react56.css`
10805
10830
  align-items: center;
10806
10831
  border-radius: var(--rounded-sm) 0 var(--rounded-sm) 0;
10807
10832
  background: ${theme === "gray" ? "var(--brand-secondary-2)" : "var(--brand-secondary-1)"};
@@ -10815,26 +10840,26 @@ var IntegrationCustomBadgeText = (theme) => import_react55.css`
10815
10840
  top: 0;
10816
10841
  left: 0;
10817
10842
  `;
10818
- var IntegrationAuthorBadgeIcon = import_react55.css`
10843
+ var IntegrationAuthorBadgeIcon = import_react56.css`
10819
10844
  position: absolute;
10820
10845
  bottom: var(--spacing-sm);
10821
10846
  right: var(--spacing-xs);
10822
10847
  max-height: 1rem;
10823
10848
  `;
10824
- var IntegrationTitleFakeButton = import_react55.css`
10849
+ var IntegrationTitleFakeButton = import_react56.css`
10825
10850
  font-size: var(--fs-xs);
10826
10851
  gap: var(--spacing-sm);
10827
10852
  padding: var(--spacing-sm) var(--spacing-base);
10828
10853
  text-transform: uppercase;
10829
10854
  `;
10830
- var IntegrationTileFloatingButton = import_react55.css`
10855
+ var IntegrationTileFloatingButton = import_react56.css`
10831
10856
  position: absolute;
10832
10857
  bottom: var(--spacing-base);
10833
10858
  gap: var(--spacing-sm);
10834
10859
  font-size: var(--fs-xs);
10835
10860
  overflow: hidden;
10836
10861
  `;
10837
- var IntegrationTileFloatingButtonMessage = (clicked) => import_react55.css`
10862
+ var IntegrationTileFloatingButtonMessage = (clicked) => import_react56.css`
10838
10863
  strong,
10839
10864
  span:first-of-type {
10840
10865
  transition: opacity var(--duration-fast) var(--timing-ease-out);
@@ -10881,7 +10906,7 @@ var CreateTeamIntegrationTile = ({
10881
10906
  icon: import_cg10.CgChevronRight,
10882
10907
  iconColor: "currentColor",
10883
10908
  size: 20,
10884
- css: import_react56.css`
10909
+ css: import_react57.css`
10885
10910
  order: 1;
10886
10911
  `
10887
10912
  }
@@ -10891,7 +10916,7 @@ var CreateTeamIntegrationTile = ({
10891
10916
  icon: import_cg10.CgAdd,
10892
10917
  iconColor: "currentColor",
10893
10918
  size: 16,
10894
- css: import_react56.css`
10919
+ css: import_react57.css`
10895
10920
  order: -1;
10896
10921
  `
10897
10922
  }
@@ -10979,8 +11004,8 @@ var EditTeamIntegrationTile = ({
10979
11004
  };
10980
11005
 
10981
11006
  // src/components/Tiles/IntegrationComingSoon.tsx
10982
- var import_react57 = require("@emotion/react");
10983
- var import_react58 = require("react");
11007
+ var import_react58 = require("@emotion/react");
11008
+ var import_react59 = require("react");
10984
11009
  var import_cg12 = require("react-icons/cg");
10985
11010
  var import_jsx_runtime57 = require("@emotion/react/jsx-runtime");
10986
11011
  var IntegrationComingSoon = ({
@@ -10991,12 +11016,12 @@ var IntegrationComingSoon = ({
10991
11016
  timing = 1e3,
10992
11017
  ...props
10993
11018
  }) => {
10994
- const [upVote, setUpVote] = (0, import_react58.useState)(false);
11019
+ const [upVote, setUpVote] = (0, import_react59.useState)(false);
10995
11020
  const handleUpVoteInteraction = () => {
10996
11021
  setUpVote((prev) => !prev);
10997
11022
  onUpVoteClick();
10998
11023
  };
10999
- (0, import_react58.useEffect)(() => {
11024
+ (0, import_react59.useEffect)(() => {
11000
11025
  if (upVote) {
11001
11026
  const timer = setTimeout(() => setUpVote(false), timing);
11002
11027
  return () => {
@@ -11028,7 +11053,7 @@ var IntegrationComingSoon = ({
11028
11053
  /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
11029
11054
  "span",
11030
11055
  {
11031
- css: import_react57.css`
11056
+ css: import_react58.css`
11032
11057
  text-transform: uppercase;
11033
11058
  color: var(--gray-500);
11034
11059
  `,
@@ -11048,8 +11073,8 @@ var IntegrationComingSoon = ({
11048
11073
  };
11049
11074
 
11050
11075
  // src/components/Tiles/styles/IntegrationLoadingTile.styles.ts
11051
- var import_react59 = require("@emotion/react");
11052
- var IntegrationLoadingTileContainer = import_react59.css`
11076
+ var import_react60 = require("@emotion/react");
11077
+ var IntegrationLoadingTileContainer = import_react60.css`
11053
11078
  align-items: center;
11054
11079
  box-sizing: border-box;
11055
11080
  border-radius: var(--rounded-base);
@@ -11076,17 +11101,17 @@ var IntegrationLoadingTileContainer = import_react59.css`
11076
11101
  }
11077
11102
  }
11078
11103
  `;
11079
- var IntegrationLoadingTileImg = import_react59.css`
11104
+ var IntegrationLoadingTileImg = import_react60.css`
11080
11105
  width: 10rem;
11081
11106
  height: 4rem;
11082
11107
  margin: 0 auto;
11083
11108
  `;
11084
- var IntegrationLoadingTileText = import_react59.css`
11109
+ var IntegrationLoadingTileText = import_react60.css`
11085
11110
  width: 5rem;
11086
11111
  height: var(--spacing-sm);
11087
11112
  margin: var(--spacing-sm) 0;
11088
11113
  `;
11089
- var IntegrationLoadingFrame = import_react59.css`
11114
+ var IntegrationLoadingFrame = import_react60.css`
11090
11115
  animation: ${skeletonLoading} 1s linear infinite alternate;
11091
11116
  border-radius: var(--rounded-base);
11092
11117
  `;
@@ -11102,13 +11127,13 @@ var IntegrationLoadingTile = ({ count = 1 }) => {
11102
11127
  };
11103
11128
 
11104
11129
  // src/components/Tiles/styles/IntegrationModalIcon.styles.ts
11105
- var import_react60 = require("@emotion/react");
11106
- var IntegrationModalIconContainer = import_react60.css`
11130
+ var import_react61 = require("@emotion/react");
11131
+ var IntegrationModalIconContainer = import_react61.css`
11107
11132
  position: relative;
11108
11133
  width: 50px;
11109
11134
  margin-bottom: var(--spacing-base);
11110
11135
  `;
11111
- var IntegrationModalImage = import_react60.css`
11136
+ var IntegrationModalImage = import_react61.css`
11112
11137
  position: absolute;
11113
11138
  inset: 0;
11114
11139
  margin: auto;
@@ -11184,13 +11209,13 @@ var IntegrationTile = ({
11184
11209
  };
11185
11210
 
11186
11211
  // src/components/Tiles/styles/TileContainer.styles.ts
11187
- var import_react61 = require("@emotion/react");
11188
- var TileContainerWrapper = import_react61.css`
11212
+ var import_react62 = require("@emotion/react");
11213
+ var TileContainerWrapper = import_react62.css`
11189
11214
  background: var(--brand-secondary-2);
11190
11215
  padding: var(--spacing-base);
11191
11216
  margin-bottom: var(--spacing-lg);
11192
11217
  `;
11193
- var TileContainerInner = import_react61.css`
11218
+ var TileContainerInner = import_react62.css`
11194
11219
  display: grid;
11195
11220
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
11196
11221
  gap: var(--spacing-base);
@@ -11203,31 +11228,31 @@ var TileContainer = ({ children, ...props }) => {
11203
11228
  };
11204
11229
 
11205
11230
  // src/components/Modal/IntegrationModalHeader.styles.ts
11206
- var import_react62 = require("@emotion/react");
11207
- var IntegrationModalHeaderSVGBackground = import_react62.css`
11231
+ var import_react63 = require("@emotion/react");
11232
+ var IntegrationModalHeaderSVGBackground = import_react63.css`
11208
11233
  position: absolute;
11209
11234
  top: 0;
11210
11235
  left: 0;
11211
11236
  `;
11212
- var IntegrationModalHeaderGroup = import_react62.css`
11237
+ var IntegrationModalHeaderGroup = import_react63.css`
11213
11238
  align-items: center;
11214
11239
  display: flex;
11215
11240
  gap: var(--spacing-sm);
11216
11241
  margin: 0 0 var(--spacing-md);
11217
11242
  position: relative;
11218
11243
  `;
11219
- var IntegrationModalHeaderTitleGroup = import_react62.css`
11244
+ var IntegrationModalHeaderTitleGroup = import_react63.css`
11220
11245
  align-items: center;
11221
11246
  display: flex;
11222
11247
  gap: var(--spacing-base);
11223
11248
  `;
11224
- var IntegrationModalHeaderTitle = import_react62.css`
11249
+ var IntegrationModalHeaderTitle = import_react63.css`
11225
11250
  margin-top: 0;
11226
11251
  `;
11227
- var IntegrationModalHeaderMenuPlacement = import_react62.css`
11252
+ var IntegrationModalHeaderMenuPlacement = import_react63.css`
11228
11253
  margin-bottom: var(--spacing-base);
11229
11254
  `;
11230
- var IntegrationModalHeaderContentWrapper = import_react62.css`
11255
+ var IntegrationModalHeaderContentWrapper = import_react63.css`
11231
11256
  position: relative;
11232
11257
  z-index: var(--z-10);
11233
11258
  `;
@@ -11289,12 +11314,12 @@ var IntegrationModalHeader = ({ icon, name, menu: menu2, children }) => {
11289
11314
  };
11290
11315
 
11291
11316
  // src/components/Tooltip/Tooltip.tsx
11292
- var import_react64 = __toESM(require("react"));
11317
+ var import_react65 = __toESM(require("react"));
11293
11318
  var import_Tooltip = require("reakit/Tooltip");
11294
11319
 
11295
11320
  // src/components/Tooltip/Tooltip.styles.ts
11296
- var import_react63 = require("@emotion/react");
11297
- var TooltipContainer = import_react63.css`
11321
+ var import_react64 = require("@emotion/react");
11322
+ var TooltipContainer = import_react64.css`
11298
11323
  border: 2px solid var(--gray-300);
11299
11324
  border-radius: var(--rounded-base);
11300
11325
  padding: var(--spacing-xs) var(--spacing-sm);
@@ -11302,7 +11327,7 @@ var TooltipContainer = import_react63.css`
11302
11327
  font-size: var(--fs-xs);
11303
11328
  background: var(--white);
11304
11329
  `;
11305
- var TooltipArrowStyles = import_react63.css`
11330
+ var TooltipArrowStyles = import_react64.css`
11306
11331
  svg {
11307
11332
  fill: var(--gray-300);
11308
11333
  }
@@ -11313,7 +11338,7 @@ var import_jsx_runtime63 = require("@emotion/react/jsx-runtime");
11313
11338
  function Tooltip({ children, title, placement = "bottom", visible, ...props }) {
11314
11339
  const tooltip = (0, import_Tooltip.useTooltipState)({ placement });
11315
11340
  return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_jsx_runtime63.Fragment, { children: [
11316
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_Tooltip.TooltipReference, { ...tooltip, ...children.props, children: (referenceProps) => import_react64.default.cloneElement(children, referenceProps) }),
11341
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_Tooltip.TooltipReference, { ...tooltip, ...children.props, children: (referenceProps) => import_react65.default.cloneElement(children, referenceProps) }),
11317
11342
  /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_Tooltip.Tooltip, { ...tooltip, ...props, css: TooltipContainer, visible: visible != null ? visible : tooltip.visible, children: [
11318
11343
  /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_Tooltip.TooltipArrow, { ...tooltip, css: TooltipArrowStyles }),
11319
11344
  title
@@ -11322,8 +11347,8 @@ function Tooltip({ children, title, placement = "bottom", visible, ...props }) {
11322
11347
  }
11323
11348
 
11324
11349
  // src/components/ParameterInputs/styles/ParameterBindingButton.styles.ts
11325
- var import_react65 = require("@emotion/react");
11326
- var inputIconBtn = import_react65.css`
11350
+ var import_react66 = require("@emotion/react");
11351
+ var inputIconBtn = import_react66.css`
11327
11352
  align-items: center;
11328
11353
  border: none;
11329
11354
  border-radius: var(--rounded-base);
@@ -11338,6 +11363,11 @@ var inputIconBtn = import_react65.css`
11338
11363
  background: var(--brand-secondary-3);
11339
11364
  color: var(--white);
11340
11365
  }
11366
+
11367
+ &[aria-disabled='true'] {
11368
+ background: none;
11369
+ color: currentColor;
11370
+ }
11341
11371
  `;
11342
11372
 
11343
11373
  // src/components/ParameterInputs/ConnectToDataElementButton.tsx
@@ -11351,22 +11381,32 @@ var ConnectToDataElementButton = ({
11351
11381
  ...props
11352
11382
  }) => {
11353
11383
  const title = isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
11354
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Tooltip, { title, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("button", { css: inputIconBtn, type: "button", "aria-pressed": isBound, ...props, disabled: isLocked, children: [
11355
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
11356
- Icon,
11357
- {
11358
- icon: isLocked ? "lock" : icon ? icon : "arrows-expand-down-right",
11359
- iconColor: iconColor ? iconColor : "currentColor",
11360
- size: "1rem"
11361
- }
11362
- ),
11363
- children
11364
- ] }) });
11384
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Tooltip, { title, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
11385
+ "button",
11386
+ {
11387
+ css: inputIconBtn,
11388
+ type: "button",
11389
+ "aria-pressed": isBound,
11390
+ "aria-disabled": isLocked,
11391
+ ...props,
11392
+ children: [
11393
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
11394
+ Icon,
11395
+ {
11396
+ icon: isLocked ? "lock" : icon ? icon : "arrows-expand-down-right",
11397
+ iconColor: iconColor ? iconColor : "currentColor",
11398
+ size: "1rem"
11399
+ }
11400
+ ),
11401
+ children
11402
+ ]
11403
+ }
11404
+ ) });
11365
11405
  };
11366
11406
 
11367
11407
  // src/components/ParameterInputs/hooks/ParameterShellContext.tsx
11368
- var import_react66 = require("react");
11369
- var ParameterShellContext = (0, import_react66.createContext)({
11408
+ var import_react67 = require("react");
11409
+ var ParameterShellContext = (0, import_react67.createContext)({
11370
11410
  id: "",
11371
11411
  label: "",
11372
11412
  hiddenLabel: void 0,
@@ -11375,7 +11415,7 @@ var ParameterShellContext = (0, import_react66.createContext)({
11375
11415
  }
11376
11416
  });
11377
11417
  var useParameterShell = () => {
11378
- const { id, label, hiddenLabel, errorMessage, onManuallySetErrorMessage } = (0, import_react66.useContext)(ParameterShellContext);
11418
+ const { id, label, hiddenLabel, errorMessage, onManuallySetErrorMessage } = (0, import_react67.useContext)(ParameterShellContext);
11379
11419
  return {
11380
11420
  id,
11381
11421
  label,
@@ -11386,8 +11426,8 @@ var useParameterShell = () => {
11386
11426
  };
11387
11427
 
11388
11428
  // src/components/ParameterInputs/styles/ParameterInput.styles.ts
11389
- var import_react67 = require("@emotion/react");
11390
- var inputContainer2 = import_react67.css`
11429
+ var import_react68 = require("@emotion/react");
11430
+ var inputContainer2 = import_react68.css`
11391
11431
  position: relative;
11392
11432
 
11393
11433
  &:hover,
@@ -11399,14 +11439,14 @@ var inputContainer2 = import_react67.css`
11399
11439
  }
11400
11440
  }
11401
11441
  `;
11402
- var labelText2 = import_react67.css`
11442
+ var labelText2 = import_react68.css`
11403
11443
  align-items: center;
11404
11444
  display: flex;
11405
11445
  gap: var(--spacing-xs);
11406
11446
  font-weight: var(--fw-regular);
11407
11447
  margin: 0 0 var(--spacing-xs);
11408
11448
  `;
11409
- var input2 = import_react67.css`
11449
+ var input2 = import_react68.css`
11410
11450
  display: block;
11411
11451
  appearance: none;
11412
11452
  box-sizing: border-box;
@@ -11450,18 +11490,18 @@ var input2 = import_react67.css`
11450
11490
  color: var(--gray-400);
11451
11491
  }
11452
11492
  `;
11453
- var selectInput = import_react67.css`
11493
+ var selectInput = import_react68.css`
11454
11494
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%0A%3E%3Cpath d='M6.34317 7.75732L4.92896 9.17154L12 16.2426L19.0711 9.17157L17.6569 7.75735L12 13.4142L6.34317 7.75732Z' fill='currentColor' /%3E%3C/svg%3E");
11455
11495
  background-position: right var(--spacing-sm) center;
11456
11496
  background-repeat: no-repeat;
11457
11497
  background-size: 1rem;
11458
11498
  padding-right: var(--spacing-xl);
11459
11499
  `;
11460
- var inputWrapper = import_react67.css`
11500
+ var inputWrapper = import_react68.css`
11461
11501
  display: flex; // used to correct overflow with chrome textarea
11462
11502
  position: relative;
11463
11503
  `;
11464
- var inputIcon2 = import_react67.css`
11504
+ var inputIcon2 = import_react68.css`
11465
11505
  align-items: center;
11466
11506
  background: var(--white);
11467
11507
  border-radius: var(--rounded-md) 0 0 var(--rounded-md);
@@ -11477,7 +11517,7 @@ var inputIcon2 = import_react67.css`
11477
11517
  width: var(--spacing-lg);
11478
11518
  z-index: var(--z-10);
11479
11519
  `;
11480
- var inputToggleLabel2 = import_react67.css`
11520
+ var inputToggleLabel2 = import_react68.css`
11481
11521
  align-items: center;
11482
11522
  background: var(--white);
11483
11523
  cursor: pointer;
@@ -11488,7 +11528,7 @@ var inputToggleLabel2 = import_react67.css`
11488
11528
  min-height: var(--spacing-md);
11489
11529
  position: relative;
11490
11530
  `;
11491
- var toggleInput2 = import_react67.css`
11531
+ var toggleInput2 = import_react68.css`
11492
11532
  appearance: none;
11493
11533
  border: 1px solid var(--gray-300);
11494
11534
  background: var(--white);
@@ -11527,7 +11567,7 @@ var toggleInput2 = import_react67.css`
11527
11567
  border-color: var(--gray-300);
11528
11568
  }
11529
11569
  `;
11530
- var inlineLabel2 = import_react67.css`
11570
+ var inlineLabel2 = import_react68.css`
11531
11571
  padding-left: var(--spacing-lg);
11532
11572
  font-size: var(--fs-sm);
11533
11573
  font-weight: var(--fw-regular);
@@ -11543,7 +11583,7 @@ var inlineLabel2 = import_react67.css`
11543
11583
  }
11544
11584
  }
11545
11585
  `;
11546
- var inputMenu = import_react67.css`
11586
+ var inputMenu = import_react68.css`
11547
11587
  background: none;
11548
11588
  border: none;
11549
11589
  padding: 0;
@@ -11564,22 +11604,22 @@ var inputMenu = import_react67.css`
11564
11604
 
11565
11605
  }
11566
11606
  `;
11567
- var textarea2 = import_react67.css`
11607
+ var textarea2 = import_react68.css`
11568
11608
  resize: vertical;
11569
11609
  min-height: 2rem;
11570
11610
  `;
11571
- var imageWrapper = import_react67.css`
11611
+ var imageWrapper = import_react68.css`
11572
11612
  background: var(--white);
11573
11613
  `;
11574
- var img = import_react67.css`
11614
+ var img = import_react68.css`
11575
11615
  animation: ${fadeIn} var(--duration-fast) var(--timing-ease-out) forwards;
11576
- aspect-ratio: 1 / 1;
11616
+ object-fit: contain;
11577
11617
  max-width: 100%;
11578
11618
  height: auto;
11579
11619
  opacity: var(--opacity-0);
11580
- margin-top: var(--spacing-sm);
11620
+ margin: var(--spacing-sm) auto 0;
11581
11621
  `;
11582
- var dataConnectButton = import_react67.css`
11622
+ var dataConnectButton = import_react68.css`
11583
11623
  align-items: center;
11584
11624
  appearance: none;
11585
11625
  box-sizing: border-box;
@@ -11614,7 +11654,7 @@ var dataConnectButton = import_react67.css`
11614
11654
  pointer-events: none;
11615
11655
  }
11616
11656
  `;
11617
- var linkParameterBtn = import_react67.css`
11657
+ var linkParameterBtn = import_react68.css`
11618
11658
  border-radius: var(--rounded-base);
11619
11659
  background: var(--white);
11620
11660
  border: none;
@@ -11626,10 +11666,10 @@ var linkParameterBtn = import_react67.css`
11626
11666
  inset: 0 var(--spacing-base) 0 auto;
11627
11667
  padding: 0 var(--spacing-base);
11628
11668
  `;
11629
- var linkParameterInput = import_react67.css`
11669
+ var linkParameterInput = import_react68.css`
11630
11670
  padding-right: calc(var(--spacing-2xl) + var(--spacing-base));
11631
11671
  `;
11632
- var linkParameterIcon = import_react67.css`
11672
+ var linkParameterIcon = import_react68.css`
11633
11673
  align-items: center;
11634
11674
  color: var(--brand-secondary-3);
11635
11675
  display: flex;
@@ -11678,24 +11718,24 @@ function ParameterDataResource({
11678
11718
  }
11679
11719
 
11680
11720
  // src/components/ParameterInputs/styles/ParameterDrawerHeader.styles.ts
11681
- var import_react68 = require("@emotion/react");
11682
- var ParameterDrawerHeaderContainer = import_react68.css`
11721
+ var import_react69 = require("@emotion/react");
11722
+ var ParameterDrawerHeaderContainer = import_react69.css`
11683
11723
  align-items: center;
11684
11724
  display: flex;
11685
11725
  gap: var(--spacing-base);
11686
11726
  justify-content: space-between;
11687
11727
  margin-bottom: var(--spacing-sm);
11688
11728
  `;
11689
- var ParameterDrawerHeaderTitleGroup = import_react68.css`
11729
+ var ParameterDrawerHeaderTitleGroup = import_react69.css`
11690
11730
  align-items: center;
11691
11731
  display: flex;
11692
11732
  gap: var(--spacing-sm);
11693
11733
  `;
11694
- var ParameterDrawerHeaderTitle = import_react68.css`
11734
+ var ParameterDrawerHeaderTitle = import_react69.css`
11695
11735
  text-overflow: ellipsis;
11696
11736
  white-space: nowrap;
11697
11737
  overflow: hidden;
11698
- max-width: 16ch;
11738
+ max-width: 22ch;
11699
11739
  `;
11700
11740
 
11701
11741
  // src/components/ParameterInputs/ParameterDrawerHeader.tsx
@@ -11711,11 +11751,11 @@ var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
11711
11751
  };
11712
11752
 
11713
11753
  // src/components/ParameterInputs/ParameterGroup.tsx
11714
- var import_react70 = require("react");
11754
+ var import_react71 = require("react");
11715
11755
 
11716
11756
  // src/components/ParameterInputs/styles/ParameterGroup.styles.ts
11717
- var import_react69 = require("@emotion/react");
11718
- var fieldsetStyles = import_react69.css`
11757
+ var import_react70 = require("@emotion/react");
11758
+ var fieldsetStyles = import_react70.css`
11719
11759
  &:disabled,
11720
11760
  [readonly] {
11721
11761
  pointer-events: none;
@@ -11726,15 +11766,16 @@ var fieldsetStyles = import_react69.css`
11726
11766
  }
11727
11767
  }
11728
11768
  `;
11729
- var fieldsetLegend2 = import_react69.css`
11769
+ var fieldsetLegend2 = import_react70.css`
11730
11770
  display: block;
11731
11771
  font-weight: var(--fw-medium);
11732
11772
  margin-bottom: var(--spacing-sm);
11773
+ width: 100%;
11733
11774
  `;
11734
11775
 
11735
11776
  // src/components/ParameterInputs/ParameterGroup.tsx
11736
11777
  var import_jsx_runtime67 = require("@emotion/react/jsx-runtime");
11737
- var ParameterGroup = (0, import_react70.forwardRef)(
11778
+ var ParameterGroup = (0, import_react71.forwardRef)(
11738
11779
  ({ legend, isDisabled, children, ...props }, ref) => {
11739
11780
  return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
11740
11781
  /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("legend", { css: fieldsetLegend2, children: legend }),
@@ -11744,10 +11785,10 @@ var ParameterGroup = (0, import_react70.forwardRef)(
11744
11785
  );
11745
11786
 
11746
11787
  // src/components/ParameterInputs/ParameterImage.tsx
11747
- var import_react74 = require("react");
11788
+ var import_react75 = require("react");
11748
11789
 
11749
11790
  // src/components/ParameterInputs/ParameterShell.tsx
11750
- var import_react73 = require("react");
11791
+ var import_react74 = require("react");
11751
11792
 
11752
11793
  // src/components/ParameterInputs/ParameterLabel.tsx
11753
11794
  var import_jsx_runtime68 = require("@emotion/react/jsx-runtime");
@@ -11756,9 +11797,9 @@ var ParameterLabel = ({ id, asSpan, children, ...props }) => {
11756
11797
  };
11757
11798
 
11758
11799
  // src/components/ParameterInputs/ParameterMenuButton.tsx
11759
- var import_react71 = require("react");
11800
+ var import_react72 = require("react");
11760
11801
  var import_jsx_runtime69 = require("@emotion/react/jsx-runtime");
11761
- var ParameterMenuButton = (0, import_react71.forwardRef)(
11802
+ var ParameterMenuButton = (0, import_react72.forwardRef)(
11762
11803
  ({ label, children }, ref) => {
11763
11804
  return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
11764
11805
  Menu,
@@ -11782,15 +11823,15 @@ var ParameterMenuButton = (0, import_react71.forwardRef)(
11782
11823
  );
11783
11824
 
11784
11825
  // src/components/ParameterInputs/styles/ParameterShell.styles.ts
11785
- var import_react72 = require("@emotion/react");
11786
- var emptyParameterShell = import_react72.css`
11826
+ var import_react73 = require("@emotion/react");
11827
+ var emptyParameterShell = import_react73.css`
11787
11828
  border-radius: var(--rounded-sm);
11788
11829
  background: var(--white);
11789
11830
  flex-grow: 1;
11790
11831
  padding: var(--spacing-xs);
11791
11832
  position: relative;
11792
11833
  `;
11793
- var emptyParameterShellText = import_react72.css`
11834
+ var emptyParameterShellText = import_react73.css`
11794
11835
  background: var(--brand-secondary-6);
11795
11836
  border-radius: var(--rounded-sm);
11796
11837
  padding: var(--spacing-sm);
@@ -11798,7 +11839,7 @@ var emptyParameterShellText = import_react72.css`
11798
11839
  font-size: var(--fs-sm);
11799
11840
  margin: 0;
11800
11841
  `;
11801
- var overrideMarker = import_react72.css`
11842
+ var overrideMarker = import_react73.css`
11802
11843
  border-radius: var(--rounded-sm);
11803
11844
  border: 10px solid var(--gray-300);
11804
11845
  border-left-color: transparent;
@@ -11823,7 +11864,8 @@ var extractParameterProps = (props) => {
11823
11864
  menuItems,
11824
11865
  onManuallySetErrorMessage,
11825
11866
  title,
11826
- hasOverridingParams,
11867
+ hasOverriddenValue,
11868
+ onResetOverriddenValue,
11827
11869
  ...innerProps
11828
11870
  } = props;
11829
11871
  return {
@@ -11839,7 +11881,8 @@ var extractParameterProps = (props) => {
11839
11881
  menuItems,
11840
11882
  onManuallySetErrorMessage,
11841
11883
  title,
11842
- hasOverridingParams
11884
+ hasOverriddenValue,
11885
+ onResetOverriddenValue
11843
11886
  },
11844
11887
  innerProps
11845
11888
  };
@@ -11854,12 +11897,13 @@ var ParameterShell = ({
11854
11897
  errorTestId,
11855
11898
  captionTestId,
11856
11899
  menuItems,
11857
- hasOverridingParams,
11900
+ hasOverriddenValue,
11901
+ onResetOverriddenValue,
11858
11902
  title,
11859
11903
  children,
11860
11904
  ...props
11861
11905
  }) => {
11862
- const [manualErrorMessage, setManualErrorMessage] = (0, import_react73.useState)(void 0);
11906
+ const [manualErrorMessage, setManualErrorMessage] = (0, import_react74.useState)(void 0);
11863
11907
  const setErrorMessage = (message) => setManualErrorMessage(message);
11864
11908
  const errorMessaging = errorMessage || manualErrorMessage;
11865
11909
  return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { css: inputContainer2, ...props, children: [
@@ -11883,10 +11927,10 @@ var ParameterShell = ({
11883
11927
  errorMessage: errorMessaging,
11884
11928
  onManuallySetErrorMessage: (message) => setErrorMessage(message)
11885
11929
  },
11886
- children: children ? /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { css: emptyParameterShell, children: [
11930
+ children: /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(ParameterShellPlaceholder, { children: [
11887
11931
  children,
11888
- hasOverridingParams ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ParameterOverrideMarker, {}) : null
11889
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ParameterShellPlaceholder, { hasOverridingParams: true })
11932
+ hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
11933
+ ] })
11890
11934
  }
11891
11935
  )
11892
11936
  ] }),
@@ -11894,17 +11938,14 @@ var ParameterShell = ({
11894
11938
  errorMessaging ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null
11895
11939
  ] });
11896
11940
  };
11897
- var ParameterShellPlaceholder = ({ hasOverridingParams }) => {
11898
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { role: "note", css: emptyParameterShell, children: [
11899
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("p", { css: emptyParameterShellText, children: "Use component swap to replace with a parameter slot component" }),
11900
- hasOverridingParams ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ParameterOverrideMarker, {}) : null
11901
- ] });
11941
+ var ParameterShellPlaceholder = ({ children }) => {
11942
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { css: emptyParameterShell, children });
11902
11943
  };
11903
- var ParameterOverrideMarker = () => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { role: "presentation", css: overrideMarker }) });
11944
+ var ParameterOverrideMarker = (props) => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { hidden: true, children: "reset overridden value to default" }) }) });
11904
11945
 
11905
11946
  // src/components/ParameterInputs/ParameterImage.tsx
11906
11947
  var import_jsx_runtime71 = require("@emotion/react/jsx-runtime");
11907
- var ParameterImage = (0, import_react74.forwardRef)((props, ref) => {
11948
+ var ParameterImage = (0, import_react75.forwardRef)((props, ref) => {
11908
11949
  const { shellProps, innerProps } = extractParameterProps(props);
11909
11950
  return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ParameterImageInner, { ref, ...innerProps }) });
11910
11951
  });
@@ -11938,31 +11979,27 @@ var BrokenImage = ({ ...props }) => {
11938
11979
  }
11939
11980
  );
11940
11981
  };
11941
- var ParameterImageInner = (0, import_react74.forwardRef)(
11982
+ var ParameterImageInner = (0, import_react75.forwardRef)(
11942
11983
  ({ ...props }, ref) => {
11984
+ const { value } = props;
11943
11985
  const { id, label, hiddenLabel, errorMessage, onManuallySetErrorMessage } = useParameterShell();
11944
- const [imageSrc, setImageSrc] = (0, import_react74.useState)();
11945
- const [loading, setLoading] = (0, import_react74.useState)(false);
11946
- const deferredValue = (0, import_react74.useDeferredValue)(imageSrc);
11986
+ const [loading, setLoading] = (0, import_react75.useState)(false);
11987
+ const deferredValue = (0, import_react75.useDeferredValue)(value);
11947
11988
  const errorText = "The text you provided is not a valid URL";
11948
- const updateImageSrc = (0, import_react74.useCallback)(
11949
- (e) => {
11950
- let message = void 0;
11951
- try {
11952
- if (e.currentTarget.value !== "") {
11953
- new URL(e.currentTarget.value);
11954
- setImageSrc(e.currentTarget.value);
11955
- }
11956
- message = void 0;
11957
- } catch (e2) {
11958
- message = errorText;
11959
- }
11960
- if (onManuallySetErrorMessage) {
11961
- onManuallySetErrorMessage(message);
11989
+ const updateImageSrc = (0, import_react75.useCallback)(() => {
11990
+ let message = void 0;
11991
+ try {
11992
+ if (value !== "") {
11993
+ new URL(value);
11962
11994
  }
11963
- },
11964
- [onManuallySetErrorMessage]
11965
- );
11995
+ message = void 0;
11996
+ } catch (e) {
11997
+ message = errorText;
11998
+ }
11999
+ if (onManuallySetErrorMessage) {
12000
+ onManuallySetErrorMessage(message);
12001
+ }
12002
+ }, [onManuallySetErrorMessage, value]);
11966
12003
  const handleLoadEvent = () => {
11967
12004
  if (deferredValue) {
11968
12005
  setLoading(true);
@@ -11977,6 +12014,9 @@ var ParameterImageInner = (0, import_react74.forwardRef)(
11977
12014
  onManuallySetErrorMessage(errorText);
11978
12015
  }
11979
12016
  };
12017
+ (0, import_react75.useEffect)(() => {
12018
+ updateImageSrc();
12019
+ }, [value]);
11980
12020
  return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
11981
12021
  /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
11982
12022
  "input",
@@ -11987,7 +12027,6 @@ var ParameterImageInner = (0, import_react74.forwardRef)(
11987
12027
  ref,
11988
12028
  "aria-label": hiddenLabel ? label : void 0,
11989
12029
  autoComplete: "off",
11990
- onChange: (e) => updateImageSrc(e),
11991
12030
  ...props
11992
12031
  }
11993
12032
  ),
@@ -11999,8 +12038,6 @@ var ParameterImageInner = (0, import_react74.forwardRef)(
11999
12038
  css: img,
12000
12039
  onLoad: handleLoadEvent,
12001
12040
  onError: handleErrorEvent,
12002
- width: 214,
12003
- height: 214,
12004
12041
  loading: "lazy"
12005
12042
  }
12006
12043
  ) : null,
@@ -12012,13 +12049,13 @@ var ParameterImageInner = (0, import_react74.forwardRef)(
12012
12049
  );
12013
12050
 
12014
12051
  // src/components/ParameterInputs/ParameterInput.tsx
12015
- var import_react75 = require("react");
12052
+ var import_react76 = require("react");
12016
12053
  var import_jsx_runtime72 = require("@emotion/react/jsx-runtime");
12017
- var ParameterInput = (0, import_react75.forwardRef)((props, ref) => {
12054
+ var ParameterInput = (0, import_react76.forwardRef)((props, ref) => {
12018
12055
  const { shellProps, innerProps } = extractParameterProps(props);
12019
12056
  return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(ParameterShell, { "data-test-id": "parameter-input", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(ParameterInputInner, { ref, ...innerProps }) });
12020
12057
  });
12021
- var ParameterInputInner = (0, import_react75.forwardRef)(
12058
+ var ParameterInputInner = (0, import_react76.forwardRef)(
12022
12059
  ({ ...props }, ref) => {
12023
12060
  const { id, label, hiddenLabel } = useParameterShell();
12024
12061
  return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
@@ -12037,9 +12074,9 @@ var ParameterInputInner = (0, import_react75.forwardRef)(
12037
12074
  );
12038
12075
 
12039
12076
  // src/components/ParameterInputs/ParameterLink.tsx
12040
- var import_react76 = require("react");
12077
+ var import_react77 = require("react");
12041
12078
  var import_jsx_runtime73 = require("@emotion/react/jsx-runtime");
12042
- var ParameterLink = (0, import_react76.forwardRef)(
12079
+ var ParameterLink = (0, import_react77.forwardRef)(
12043
12080
  ({ buttonText = "Select project map node", disabled, onConnectLink, externalLink, ...props }, ref) => {
12044
12081
  const { shellProps, innerProps } = extractParameterProps(props);
12045
12082
  return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
@@ -12062,7 +12099,7 @@ var ParameterLink = (0, import_react76.forwardRef)(
12062
12099
  );
12063
12100
  }
12064
12101
  );
12065
- var ParameterLinkInner = (0, import_react76.forwardRef)(
12102
+ var ParameterLinkInner = (0, import_react77.forwardRef)(
12066
12103
  ({ externalLink, onConnectLink, disabled, ...props }, ref) => {
12067
12104
  const { id, label, hiddenLabel } = useParameterShell();
12068
12105
  return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { css: inputWrapper, children: [
@@ -12182,9 +12219,9 @@ var ParameterNameAndPublicIdInput = ({
12182
12219
  };
12183
12220
 
12184
12221
  // src/components/ParameterInputs/ParameterRichText.tsx
12185
- var import_react77 = require("react");
12222
+ var import_react78 = require("react");
12186
12223
  var import_jsx_runtime75 = require("@emotion/react/jsx-runtime");
12187
- var ParameterRichText = (0, import_react77.forwardRef)(
12224
+ var ParameterRichText = (0, import_react78.forwardRef)(
12188
12225
  ({
12189
12226
  label,
12190
12227
  labelLeadingIcon,
@@ -12217,7 +12254,7 @@ var ParameterRichText = (0, import_react77.forwardRef)(
12217
12254
  );
12218
12255
  }
12219
12256
  );
12220
- var ParameterRichTextInner = (0, import_react77.forwardRef)(({ ...props }, ref) => {
12257
+ var ParameterRichTextInner = (0, import_react78.forwardRef)(({ ...props }, ref) => {
12221
12258
  const { id, label, hiddenLabel } = useParameterShell();
12222
12259
  return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
12223
12260
  "textarea",
@@ -12232,15 +12269,15 @@ var ParameterRichTextInner = (0, import_react77.forwardRef)(({ ...props }, ref)
12232
12269
  });
12233
12270
 
12234
12271
  // src/components/ParameterInputs/ParameterSelect.tsx
12235
- var import_react78 = require("react");
12272
+ var import_react79 = require("react");
12236
12273
  var import_jsx_runtime76 = require("@emotion/react/jsx-runtime");
12237
- var ParameterSelect = (0, import_react78.forwardRef)(
12274
+ var ParameterSelect = (0, import_react79.forwardRef)(
12238
12275
  ({ defaultOption, options, ...props }, ref) => {
12239
12276
  const { shellProps, innerProps } = extractParameterProps(props);
12240
12277
  return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
12241
12278
  }
12242
12279
  );
12243
- var ParameterSelectInner = (0, import_react78.forwardRef)(
12280
+ var ParameterSelectInner = (0, import_react79.forwardRef)(
12244
12281
  ({ defaultOption, options, ...props }, ref) => {
12245
12282
  const { id, label, hiddenLabel } = useParameterShell();
12246
12283
  return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
@@ -12264,13 +12301,13 @@ var ParameterSelectInner = (0, import_react78.forwardRef)(
12264
12301
  );
12265
12302
 
12266
12303
  // src/components/ParameterInputs/ParameterTextarea.tsx
12267
- var import_react79 = require("react");
12304
+ var import_react80 = require("react");
12268
12305
  var import_jsx_runtime77 = require("@emotion/react/jsx-runtime");
12269
- var ParameterTextarea = (0, import_react79.forwardRef)((props, ref) => {
12306
+ var ParameterTextarea = (0, import_react80.forwardRef)((props, ref) => {
12270
12307
  const { shellProps, innerProps } = extractParameterProps(props);
12271
12308
  return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(ParameterShell, { "data-test-id": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(ParameterTextareaInner, { ref, ...innerProps }) });
12272
12309
  });
12273
- var ParameterTextareaInner = (0, import_react79.forwardRef)(({ ...props }, ref) => {
12310
+ var ParameterTextareaInner = (0, import_react80.forwardRef)(({ ...props }, ref) => {
12274
12311
  const { id, label, hiddenLabel } = useParameterShell();
12275
12312
  return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
12276
12313
  "textarea",
@@ -12285,13 +12322,13 @@ var ParameterTextareaInner = (0, import_react79.forwardRef)(({ ...props }, ref)
12285
12322
  });
12286
12323
 
12287
12324
  // src/components/ParameterInputs/ParameterToggle.tsx
12288
- var import_react80 = require("react");
12325
+ var import_react81 = require("react");
12289
12326
  var import_jsx_runtime78 = require("@emotion/react/jsx-runtime");
12290
- var ParameterToggle = (0, import_react80.forwardRef)((props, ref) => {
12327
+ var ParameterToggle = (0, import_react81.forwardRef)((props, ref) => {
12291
12328
  const { shellProps, innerProps } = extractParameterProps(props);
12292
12329
  return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(ParameterToggleInner, { ref, ...innerProps }) });
12293
12330
  });
12294
- var ParameterToggleInner = (0, import_react80.forwardRef)(
12331
+ var ParameterToggleInner = (0, import_react81.forwardRef)(
12295
12332
  ({ ...props }, ref) => {
12296
12333
  const { id, label } = useParameterShell();
12297
12334
  return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("label", { css: inputToggleLabel2, children: [
@@ -12301,19 +12338,61 @@ var ParameterToggleInner = (0, import_react80.forwardRef)(
12301
12338
  }
12302
12339
  );
12303
12340
 
12341
+ // src/components/Popover/Popover.tsx
12342
+ var import_Popover = require("reakit/Popover");
12343
+ var import_Portal2 = require("reakit/Portal");
12344
+
12345
+ // src/components/Popover/Popover.styles.ts
12346
+ var import_react82 = require("@emotion/react");
12347
+ var PopoverBtn = import_react82.css`
12348
+ border: none;
12349
+ background: none;
12350
+ padding: 0;
12351
+ `;
12352
+ var Popover = import_react82.css`
12353
+ border-left: var(--spacing-xs) solid var(--brand-secondary-3);
12354
+ border-radius: var(--rounded-base);
12355
+ box-shadow: var(--shadow-base);
12356
+ background: var(--white);
12357
+ display: grid;
12358
+ gap: var(--spacing-sm);
12359
+ padding: var(--spacing-sm);
12360
+ font-size: var(--fs-sm);
12361
+ max-width: 220px;
12362
+ `;
12363
+
12364
+ // src/components/Popover/Popover.tsx
12365
+ var import_jsx_runtime79 = require("@emotion/react/jsx-runtime");
12366
+ var Popover2 = ({
12367
+ iconColor = "green",
12368
+ buttonText,
12369
+ ariaLabel,
12370
+ placement = "bottom",
12371
+ children
12372
+ }) => {
12373
+ const popover = (0, import_Popover.usePopoverState)({ placement });
12374
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_jsx_runtime79.Fragment, { children: [
12375
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_Popover.PopoverDisclosure, { ...popover, css: PopoverBtn, title: buttonText, children: [
12376
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Icon, { icon: "info", iconColor, size: "1rem" }),
12377
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { hidden: true, children: buttonText })
12378
+ ] }),
12379
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_Portal2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_Popover.Popover, { css: Popover, ...popover, "aria-label": ariaLabel, children }) })
12380
+ ] });
12381
+ };
12382
+
12304
12383
  // src/components/Skeleton/Skeleton.styles.ts
12305
- var import_react81 = require("@emotion/react");
12306
- var lightFadingOut = import_react81.keyframes`
12384
+ var import_react83 = require("@emotion/react");
12385
+ var lightFadingOut = import_react83.keyframes`
12307
12386
  from { opacity: 0.1; }
12308
12387
  to { opacity: 0.025; }
12309
12388
  `;
12310
- var skeletonStyles = import_react81.css`
12389
+ var skeletonStyles = import_react83.css`
12311
12390
  animation: ${lightFadingOut} 1s ease-out infinite alternate;
12312
12391
  background-color: var(--gray-900);
12313
12392
  `;
12314
12393
 
12315
12394
  // src/components/Skeleton/Skeleton.tsx
12316
- var import_jsx_runtime79 = require("@emotion/react/jsx-runtime");
12395
+ var import_jsx_runtime80 = require("@emotion/react/jsx-runtime");
12317
12396
  var Skeleton = ({
12318
12397
  width = "100%",
12319
12398
  height = "1.25rem",
@@ -12321,7 +12400,7 @@ var Skeleton = ({
12321
12400
  circle = false,
12322
12401
  children,
12323
12402
  ...otherProps
12324
- }) => /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
12403
+ }) => /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
12325
12404
  "div",
12326
12405
  {
12327
12406
  css: [
@@ -12341,11 +12420,11 @@ var Skeleton = ({
12341
12420
  );
12342
12421
 
12343
12422
  // src/components/Switch/Switch.tsx
12344
- var React14 = __toESM(require("react"));
12423
+ var React15 = __toESM(require("react"));
12345
12424
 
12346
12425
  // src/components/Switch/Switch.styles.ts
12347
- var import_react82 = require("@emotion/react");
12348
- var SwitchInputContainer = import_react82.css`
12426
+ var import_react84 = require("@emotion/react");
12427
+ var SwitchInputContainer = import_react84.css`
12349
12428
  cursor: pointer;
12350
12429
  display: inline-block;
12351
12430
  position: relative;
@@ -12354,7 +12433,7 @@ var SwitchInputContainer = import_react82.css`
12354
12433
  vertical-align: middle;
12355
12434
  user-select: none;
12356
12435
  `;
12357
- var SwitchInput = import_react82.css`
12436
+ var SwitchInput = import_react84.css`
12358
12437
  appearance: none;
12359
12438
  border-radius: var(--rounded-full);
12360
12439
  background-color: var(--white);
@@ -12392,7 +12471,7 @@ var SwitchInput = import_react82.css`
12392
12471
  cursor: not-allowed;
12393
12472
  }
12394
12473
  `;
12395
- var SwitchInputDisabled = import_react82.css`
12474
+ var SwitchInputDisabled = import_react84.css`
12396
12475
  opacity: var(--opacity-50);
12397
12476
  cursor: not-allowed;
12398
12477
 
@@ -12400,7 +12479,7 @@ var SwitchInputDisabled = import_react82.css`
12400
12479
  cursor: not-allowed;
12401
12480
  }
12402
12481
  `;
12403
- var SwitchInputLabel = import_react82.css`
12482
+ var SwitchInputLabel = import_react84.css`
12404
12483
  align-items: center;
12405
12484
  color: var(--brand-secondary-1);
12406
12485
  display: inline-flex;
@@ -12422,103 +12501,103 @@ var SwitchInputLabel = import_react82.css`
12422
12501
  top: 0;
12423
12502
  }
12424
12503
  `;
12425
- var SwitchText = import_react82.css`
12504
+ var SwitchText = import_react84.css`
12426
12505
  color: var(--gray-500);
12427
12506
  font-size: var(--fs-sm);
12428
12507
  padding-inline: var(--spacing-2xl) 0;
12429
12508
  `;
12430
12509
 
12431
12510
  // src/components/Switch/Switch.tsx
12432
- var import_jsx_runtime80 = require("@emotion/react/jsx-runtime");
12433
- var Switch = React14.forwardRef(
12511
+ var import_jsx_runtime81 = require("@emotion/react/jsx-runtime");
12512
+ var Switch = React15.forwardRef(
12434
12513
  ({ label, infoText, toggleText, children, ...inputProps }, ref) => {
12435
12514
  let additionalText = infoText;
12436
12515
  if (infoText && toggleText) {
12437
12516
  additionalText = inputProps.checked ? toggleText : infoText;
12438
12517
  }
12439
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(import_jsx_runtime80.Fragment, { children: [
12440
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
12441
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
12442
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { css: SwitchInputLabel, children: label })
12518
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_jsx_runtime81.Fragment, { children: [
12519
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
12520
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
12521
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { css: SwitchInputLabel, children: label })
12443
12522
  ] }),
12444
- additionalText ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("p", { css: SwitchText, children: additionalText }) : null,
12523
+ additionalText ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("p", { css: SwitchText, children: additionalText }) : null,
12445
12524
  children
12446
12525
  ] });
12447
12526
  }
12448
12527
  );
12449
12528
 
12450
12529
  // src/components/Table/Table.tsx
12451
- var React15 = __toESM(require("react"));
12530
+ var React16 = __toESM(require("react"));
12452
12531
 
12453
12532
  // src/components/Table/Table.styles.ts
12454
- var import_react83 = require("@emotion/react");
12455
- var table = import_react83.css`
12533
+ var import_react85 = require("@emotion/react");
12534
+ var table = import_react85.css`
12456
12535
  border-bottom: 1px solid var(--gray-400);
12457
12536
  border-collapse: collapse;
12458
12537
  min-width: 100%;
12459
12538
  table-layout: auto;
12460
12539
  `;
12461
- var tableHead = import_react83.css`
12540
+ var tableHead = import_react85.css`
12462
12541
  background: var(--gray-100);
12463
12542
  color: var(--brand-secondary-1);
12464
12543
  text-align: left;
12465
12544
  `;
12466
- var tableRow = import_react83.css`
12545
+ var tableRow = import_react85.css`
12467
12546
  border-bottom: 1px solid var(--gray-200);
12468
12547
  `;
12469
- var tableCellHead = import_react83.css`
12548
+ var tableCellHead = import_react85.css`
12470
12549
  font-size: var(--fs-sm);
12471
12550
  padding: var(--spacing-base) var(--spacing-md);
12472
12551
  text-transform: uppercase;
12473
12552
  font-weight: var(--fw-bold);
12474
12553
  `;
12475
- var tableCellData = import_react83.css`
12554
+ var tableCellData = import_react85.css`
12476
12555
  padding: var(--spacing-base) var(--spacing-md);
12477
12556
  `;
12478
12557
 
12479
12558
  // src/components/Table/Table.tsx
12480
- var import_jsx_runtime81 = require("@emotion/react/jsx-runtime");
12481
- var Table = React15.forwardRef(({ children, ...otherProps }, ref) => {
12482
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("table", { ref, css: table, ...otherProps, children });
12559
+ var import_jsx_runtime82 = require("@emotion/react/jsx-runtime");
12560
+ var Table = React16.forwardRef(({ children, ...otherProps }, ref) => {
12561
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("table", { ref, css: table, ...otherProps, children });
12483
12562
  });
12484
- var TableHead = React15.forwardRef(
12563
+ var TableHead = React16.forwardRef(
12485
12564
  ({ children, ...otherProps }, ref) => {
12486
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("thead", { ref, css: tableHead, ...otherProps, children });
12565
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("thead", { ref, css: tableHead, ...otherProps, children });
12487
12566
  }
12488
12567
  );
12489
- var TableBody = React15.forwardRef(
12568
+ var TableBody = React16.forwardRef(
12490
12569
  ({ children, ...otherProps }, ref) => {
12491
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("tbody", { ref, ...otherProps, children });
12570
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("tbody", { ref, ...otherProps, children });
12492
12571
  }
12493
12572
  );
12494
- var TableFoot = React15.forwardRef(
12573
+ var TableFoot = React16.forwardRef(
12495
12574
  ({ children, ...otherProps }, ref) => {
12496
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("tfoot", { ref, ...otherProps, children });
12575
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("tfoot", { ref, ...otherProps, children });
12497
12576
  }
12498
12577
  );
12499
- var TableRow = React15.forwardRef(
12578
+ var TableRow = React16.forwardRef(
12500
12579
  ({ children, ...otherProps }, ref) => {
12501
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("tr", { ref, css: tableRow, ...otherProps, children });
12580
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("tr", { ref, css: tableRow, ...otherProps, children });
12502
12581
  }
12503
12582
  );
12504
- var TableCellHead = React15.forwardRef(
12583
+ var TableCellHead = React16.forwardRef(
12505
12584
  ({ children, ...otherProps }, ref) => {
12506
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("th", { ref, css: tableCellHead, ...otherProps, children });
12585
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("th", { ref, css: tableCellHead, ...otherProps, children });
12507
12586
  }
12508
12587
  );
12509
- var TableCellData = React15.forwardRef(
12588
+ var TableCellData = React16.forwardRef(
12510
12589
  ({ children, ...otherProps }, ref) => {
12511
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("td", { ref, css: tableCellData, ...otherProps, children });
12590
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("td", { ref, css: tableCellData, ...otherProps, children });
12512
12591
  }
12513
12592
  );
12514
12593
 
12515
12594
  // src/components/Tabs/Tabs.tsx
12516
- var import_react85 = require("react");
12595
+ var import_react87 = require("react");
12517
12596
  var import_Tab = require("reakit/Tab");
12518
12597
 
12519
12598
  // src/components/Tabs/Tabs.styles.ts
12520
- var import_react84 = require("@emotion/react");
12521
- var tabButtonStyles = import_react84.css`
12599
+ var import_react86 = require("@emotion/react");
12600
+ var tabButtonStyles = import_react86.css`
12522
12601
  align-items: center;
12523
12602
  border: 0;
12524
12603
  height: 2.5rem;
@@ -12535,30 +12614,30 @@ var tabButtonStyles = import_react84.css`
12535
12614
  -webkit-text-stroke-width: thin;
12536
12615
  }
12537
12616
  `;
12538
- var tabButtonGroupStyles = import_react84.css`
12617
+ var tabButtonGroupStyles = import_react86.css`
12539
12618
  display: flex;
12540
12619
  gap: var(--spacing-base);
12541
12620
  border-bottom: 1px solid var(--gray-300);
12542
12621
  `;
12543
12622
 
12544
12623
  // src/components/Tabs/Tabs.tsx
12545
- var import_jsx_runtime82 = require("@emotion/react/jsx-runtime");
12546
- var CurrentTabContext = (0, import_react85.createContext)(null);
12624
+ var import_jsx_runtime83 = require("@emotion/react/jsx-runtime");
12625
+ var CurrentTabContext = (0, import_react87.createContext)(null);
12547
12626
  var useCurrentTab = () => {
12548
- const context = (0, import_react85.useContext)(CurrentTabContext);
12627
+ const context = (0, import_react87.useContext)(CurrentTabContext);
12549
12628
  if (!context) {
12550
12629
  throw new Error("This component can only be used inside <Tabs>");
12551
12630
  }
12552
12631
  return context;
12553
12632
  };
12554
12633
  var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...props }) => {
12555
- const selected = (0, import_react85.useMemo)(() => {
12634
+ const selected = (0, import_react87.useMemo)(() => {
12556
12635
  if (selectedId)
12557
12636
  return selectedId;
12558
12637
  return useHashForState && typeof window !== "undefined" && window.location.hash ? window.location.hash.substring(1) : void 0;
12559
12638
  }, [selectedId, useHashForState]);
12560
12639
  const tab = (0, import_Tab.useTabState)({ ...props, selectedId: selected });
12561
- (0, import_react85.useEffect)(() => {
12640
+ (0, import_react87.useEffect)(() => {
12562
12641
  var _a;
12563
12642
  const selectedValueWithoutNull = (_a = tab.selectedId) != null ? _a : void 0;
12564
12643
  onSelectedIdChange == null ? void 0 : onSelectedIdChange(selectedValueWithoutNull);
@@ -12566,29 +12645,29 @@ var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...prop
12566
12645
  window.location.hash = selectedValueWithoutNull != null ? selectedValueWithoutNull : "";
12567
12646
  }
12568
12647
  }, [tab.selectedId, onSelectedIdChange, useHashForState]);
12569
- (0, import_react85.useEffect)(() => {
12648
+ (0, import_react87.useEffect)(() => {
12570
12649
  if (selected && selected !== tab.selectedId) {
12571
12650
  tab.setSelectedId(selected);
12572
12651
  }
12573
12652
  }, [selected]);
12574
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(CurrentTabContext.Provider, { value: tab, children });
12653
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(CurrentTabContext.Provider, { value: tab, children });
12575
12654
  };
12576
12655
  var TabButtonGroup = ({ children, ...props }) => {
12577
12656
  const currentTab = useCurrentTab();
12578
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_Tab.TabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
12657
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_Tab.TabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
12579
12658
  };
12580
12659
  var TabButton = ({ children, id, ...props }) => {
12581
12660
  const currentTab = useCurrentTab();
12582
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_Tab.Tab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
12661
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_Tab.Tab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
12583
12662
  };
12584
12663
  var TabContent = ({ children, ...props }) => {
12585
12664
  const currentTab = useCurrentTab();
12586
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_Tab.TabPanel, { ...props, ...currentTab, children });
12665
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(import_Tab.TabPanel, { ...props, ...currentTab, children });
12587
12666
  };
12588
12667
 
12589
12668
  // src/components/Validation/StatusBullet.styles.ts
12590
- var import_react86 = require("@emotion/react");
12591
- var StatusBulletContainer = import_react86.css`
12669
+ var import_react88 = require("@emotion/react");
12670
+ var StatusBulletContainer = import_react88.css`
12592
12671
  align-items: center;
12593
12672
  align-self: center;
12594
12673
  color: var(--gray-500);
@@ -12608,19 +12687,19 @@ var StatusBulletContainer = import_react86.css`
12608
12687
  height: var(--fs-xs);
12609
12688
  }
12610
12689
  `;
12611
- var StatusDraft = import_react86.css`
12690
+ var StatusDraft = import_react88.css`
12612
12691
  &:before {
12613
12692
  background: var(--white);
12614
12693
  box-shadow: inset 0 0 0 0.125rem var(--brand-primary-1);
12615
12694
  }
12616
12695
  `;
12617
- var StatusModified = import_react86.css`
12696
+ var StatusModified = import_react88.css`
12618
12697
  &:before {
12619
12698
  background: linear-gradient(to right, var(--white) 50%, var(--brand-primary-1) 50% 100%);
12620
12699
  box-shadow: inset 0 0 0 0.125rem var(--brand-primary-1);
12621
12700
  }
12622
12701
  `;
12623
- var StatusError = import_react86.css`
12702
+ var StatusError = import_react88.css`
12624
12703
  color: var(--error);
12625
12704
  &:before {
12626
12705
  background: var(--error);
@@ -12636,19 +12715,19 @@ var StatusError = import_react86.css`
12636
12715
  rotate: -45deg;
12637
12716
  }
12638
12717
  `;
12639
- var StatusPublished = import_react86.css`
12718
+ var StatusPublished = import_react88.css`
12640
12719
  &:before {
12641
12720
  background: var(--brand-secondary-3);
12642
12721
  }
12643
12722
  `;
12644
- var StatusOrphan = import_react86.css`
12723
+ var StatusOrphan = import_react88.css`
12645
12724
  &:before {
12646
12725
  background: var(--brand-secondary-5);
12647
12726
  }
12648
12727
  `;
12649
12728
 
12650
12729
  // src/components/Validation/StatusBullet.tsx
12651
- var import_jsx_runtime83 = require("@emotion/react/jsx-runtime");
12730
+ var import_jsx_runtime84 = require("@emotion/react/jsx-runtime");
12652
12731
  var StatusBullet = ({ status, hideText = false, message, ...props }) => {
12653
12732
  const currentStateStyles = {
12654
12733
  Error: StatusError,
@@ -12658,7 +12737,7 @@ var StatusBullet = ({ status, hideText = false, message, ...props }) => {
12658
12737
  Published: StatusPublished,
12659
12738
  Draft: StatusDraft
12660
12739
  };
12661
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
12740
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
12662
12741
  "span",
12663
12742
  {
12664
12743
  css: [StatusBulletContainer, currentStateStyles[status]],
@@ -12749,6 +12828,7 @@ var StatusBullet = ({ status, hideText = false, message, ...props }) => {
12749
12828
  ParameterTextareaInner,
12750
12829
  ParameterToggle,
12751
12830
  ParameterToggleInner,
12831
+ Popover,
12752
12832
  ResolveIcon,
12753
12833
  ScrollableList,
12754
12834
  ScrollableListInputItem,
@@ -12806,6 +12886,7 @@ var StatusBullet = ({ status, hideText = false, message, ...props }) => {
12806
12886
  skeletonLoading,
12807
12887
  supports,
12808
12888
  useBreakpoint,
12889
+ useCurrentDrawerRenderer,
12809
12890
  useCurrentTab,
12810
12891
  useDrawer,
12811
12892
  useIconContext,