@uniformdev/design-system 20.31.1-alpha.1 → 20.31.1-alpha.185

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -96,11 +96,12 @@ var Theme = ({ disableReset = false, disableGlobalReset = false }) => {
96
96
  --typography-inverted: var(--white);
97
97
 
98
98
  /* chart colours */
99
- --charting-chart-1: #ffa600;
100
- --charting-chart-2: #c444b2;
101
- --charting-chart-3: #ff5368;
102
- --charting-chart-4: #f53d90;
103
- --charting-chart-5: #ff7b3d;
99
+ --charting-chart-1: #0072B2;
100
+ --charting-chart-2: #D55E00;
101
+ --charting-chart-3: #009E73;
102
+ --charting-chart-4: #E41A1C;
103
+ --charting-chart-5: #F0E442;
104
+ --charting-chart-6: #56B4E9;
104
105
 
105
106
  /* utility colours */
106
107
  --utility-success: #4ade80;
@@ -3994,7 +3995,7 @@ var menuItem = (textTheme, forceActive) => css24`
3994
3995
  align-items: center;
3995
3996
  border-radius: var(--rounded-base);
3996
3997
  background: none;
3997
- color: ${textTheme === "base" ? "var(--typography-base)" : textTheme === "accent-alt" ? "var(--accent-alt-dark)" : "var(--brand-secondary-5)"};
3998
+ color: ${textTheme === "base" || textTheme === "accent-alt" ? "var(--typography-base)" : "var(--brand-secondary-5)"};
3998
3999
  display: flex;
3999
4000
  font-weight: var(--fw-regular);
4000
4001
  font-size: var(--menu-item-font-size);
@@ -4013,7 +4014,7 @@ var menuItem = (textTheme, forceActive) => css24`
4013
4014
  }
4014
4015
 
4015
4016
  svg {
4016
- ${textTheme === "red" ? "" : `color: var(--gray-400)`};
4017
+ ${textTheme === "red" ? "" : textTheme === "accent-alt" ? "color: var(--accent-alt-dark);" : `color: var(--gray-400)`};
4017
4018
  width: var(--menu-item-icon-size);
4018
4019
  height: var(--menu-item-icon-size);
4019
4020
  }
@@ -4022,7 +4023,7 @@ var menuItem = (textTheme, forceActive) => css24`
4022
4023
  [aria-selected='true'] {
4023
4024
  background: var(--gray-200);
4024
4025
  svg {
4025
- color: ${textTheme === "red" ? `var(--action-destructive-active)` : `var(--accent-dark-active)`};
4026
+ ${textTheme === "red" ? `color: var(--action-destructive-active);` : textTheme === "accent-alt" ? "color: var(--accent-alt-dark-active);" : `color: var(--accent-dark-active);`}
4026
4027
  }
4027
4028
  }
4028
4029
 
@@ -4032,7 +4033,7 @@ var menuItem = (textTheme, forceActive) => css24`
4032
4033
  ${typeof forceActive === "undefined" ? activeMenuItem : ""}
4033
4034
 
4034
4035
  svg {
4035
- color: ${textTheme === "red" ? `var(--action-destructive-hover)` : `var(--accent-dark-hover)`};
4036
+ ${textTheme === "red" ? `color: var(--action-destructive-hover);` : textTheme === "accent-alt" ? "color: var(--accent-alt-dark-hover);" : `color: var(--accent-dark-hover);`}
4036
4037
  }
4037
4038
  }
4038
4039
 
@@ -4753,15 +4754,15 @@ function InputCreatableComboBox(props) {
4753
4754
  }
4754
4755
  );
4755
4756
  }
4756
- function inputComboBoxStyles(baseStyles) {
4757
+ function inputComboBoxStyles(baseStyles2) {
4757
4758
  return {
4758
- ...baseStyles,
4759
+ ...baseStyles2,
4759
4760
  singleValue: (base, sProps) => {
4760
4761
  var _a;
4761
4762
  return {
4762
4763
  ...base,
4763
4764
  color: "var(--typography-base)",
4764
- ...(_a = baseStyles == null ? void 0 : baseStyles.singleValue) == null ? void 0 : _a.call(baseStyles, base, sProps)
4765
+ ...(_a = baseStyles2 == null ? void 0 : baseStyles2.singleValue) == null ? void 0 : _a.call(baseStyles2, base, sProps)
4765
4766
  };
4766
4767
  },
4767
4768
  valueContainer: (base, sProps) => {
@@ -4770,7 +4771,7 @@ function inputComboBoxStyles(baseStyles) {
4770
4771
  ...base,
4771
4772
  padding: "12px var(--spacing-base) 12px var(--spacing-sm)",
4772
4773
  gap: "2px",
4773
- ...(_a = baseStyles == null ? void 0 : baseStyles.valueContainer) == null ? void 0 : _a.call(baseStyles, base, sProps)
4774
+ ...(_a = baseStyles2 == null ? void 0 : baseStyles2.valueContainer) == null ? void 0 : _a.call(baseStyles2, base, sProps)
4774
4775
  };
4775
4776
  },
4776
4777
  input: (base, sProps) => {
@@ -4783,7 +4784,7 @@ function inputComboBoxStyles(baseStyles) {
4783
4784
  "& > input": {
4784
4785
  boxShadow: "none !important"
4785
4786
  },
4786
- ...(_a = baseStyles == null ? void 0 : baseStyles.input) == null ? void 0 : _a.call(baseStyles, base, sProps)
4787
+ ...(_a = baseStyles2 == null ? void 0 : baseStyles2.input) == null ? void 0 : _a.call(baseStyles2, base, sProps)
4787
4788
  };
4788
4789
  },
4789
4790
  menu: (base, state) => {
@@ -4791,7 +4792,7 @@ function inputComboBoxStyles(baseStyles) {
4791
4792
  return {
4792
4793
  ...base,
4793
4794
  zIndex: "var(--z-20)",
4794
- ...(_a = baseStyles == null ? void 0 : baseStyles.menu) == null ? void 0 : _a.call(baseStyles, base, state)
4795
+ ...(_a = baseStyles2 == null ? void 0 : baseStyles2.menu) == null ? void 0 : _a.call(baseStyles2, base, state)
4795
4796
  };
4796
4797
  },
4797
4798
  control: (base, state) => {
@@ -4823,7 +4824,7 @@ function inputComboBoxStyles(baseStyles) {
4823
4824
  },
4824
4825
  ...state.isFocused ? { borderColor: "var(--gray-300)" } : {}
4825
4826
  },
4826
- ...(_a = baseStyles == null ? void 0 : baseStyles.control) == null ? void 0 : _a.call(baseStyles, base, state)
4827
+ ...(_a = baseStyles2 == null ? void 0 : baseStyles2.control) == null ? void 0 : _a.call(baseStyles2, base, state)
4827
4828
  };
4828
4829
  },
4829
4830
  indicatorsContainer: (base, state) => {
@@ -4843,14 +4844,14 @@ function inputComboBoxStyles(baseStyles) {
4843
4844
  "& svg": {
4844
4845
  display: "none"
4845
4846
  },
4846
- ...(_a = baseStyles == null ? void 0 : baseStyles.indicatorsContainer) == null ? void 0 : _a.call(baseStyles, base, state)
4847
+ ...(_a = baseStyles2 == null ? void 0 : baseStyles2.indicatorsContainer) == null ? void 0 : _a.call(baseStyles2, base, state)
4847
4848
  };
4848
4849
  },
4849
4850
  indicatorSeparator: (base, state) => {
4850
4851
  var _a;
4851
4852
  return {
4852
4853
  display: "none",
4853
- ...(_a = baseStyles == null ? void 0 : baseStyles.indicatorSeparator) == null ? void 0 : _a.call(baseStyles, base, state)
4854
+ ...(_a = baseStyles2 == null ? void 0 : baseStyles2.indicatorSeparator) == null ? void 0 : _a.call(baseStyles2, base, state)
4854
4855
  };
4855
4856
  },
4856
4857
  option: (base, state) => {
@@ -4861,7 +4862,7 @@ function inputComboBoxStyles(baseStyles) {
4861
4862
  color: state.isDisabled ? "var(--gray-300)" : "var(--gray-700)",
4862
4863
  paddingLeft: isIndented ? "var(--spacing-md)" : "",
4863
4864
  backgroundColor: state.isDisabled ? "transparent" : state.isSelected ? "var(--gray-200)" : state.isFocused ? "var(--gray-100)" : "transparent",
4864
- ...(_a = baseStyles == null ? void 0 : baseStyles.option) == null ? void 0 : _a.call(baseStyles, base, state)
4865
+ ...(_a = baseStyles2 == null ? void 0 : baseStyles2.option) == null ? void 0 : _a.call(baseStyles2, base, state)
4865
4866
  };
4866
4867
  },
4867
4868
  multiValue: (styles) => {
@@ -5619,13 +5620,14 @@ var buttonSizeLarge = css36`
5619
5620
  --line-offset: -1px;
5620
5621
  `;
5621
5622
  var ButtonWithMenuContainer = css36`
5622
- align-items: center;
5623
5623
  border: 1px solid transparent;
5624
5624
  border-radius: var(--rounded-base);
5625
5625
  color: var(--white);
5626
- display: inline-flex;
5626
+ display: inline-grid;
5627
5627
  position: relative;
5628
+ grid-template-columns: 1fr minmax(calc(var(--svg-size) * 2), 2.44rem);
5628
5629
  min-height: 24px;
5630
+ max-width: max-content;
5629
5631
  transition:
5630
5632
  color var(--duration-fast) var(--timing-ease-out),
5631
5633
  border-color var(--duration-fast) var(--timing-ease-out),
@@ -5648,6 +5650,12 @@ var ButtonWithMenuContainer = css36`
5648
5650
  height: var(--svg-size);
5649
5651
  }
5650
5652
  `;
5653
+ var IconButtonContainer = css36`
5654
+ display: flex;
5655
+ align-items: center;
5656
+ justify-content: center;
5657
+ height: 100%;
5658
+ `;
5651
5659
  function ButtonWithMenuBtn(overrideHairlineColor) {
5652
5660
  return css36`
5653
5661
  position: relative;
@@ -5680,8 +5688,12 @@ function ButtonWithMenuBtn(overrideHairlineColor) {
5680
5688
  `;
5681
5689
  }
5682
5690
  var ButtonWithMenuIcon = (disabled2) => css36`
5683
- padding: var(--icon-padding);
5691
+ display: flex;
5692
+ align-items: center;
5693
+ justify-content: center;
5684
5694
  pointer-events: ${disabled2 ? "none" : "auto"};
5695
+ width: 100%;
5696
+ height: 100%;
5685
5697
  `;
5686
5698
  var buttonPrimary2 = css36`
5687
5699
  background: var(--gray-800);
@@ -5805,15 +5817,17 @@ var ButtonWithMenu = ({
5805
5817
  ]
5806
5818
  }
5807
5819
  );
5808
- const menuButton = /* @__PURE__ */ jsx49(
5809
- "div",
5820
+ const menuButton = /* @__PURE__ */ jsx49("div", { css: IconButtonContainer, children: /* @__PURE__ */ jsx49(
5821
+ "button",
5810
5822
  {
5823
+ type: "button",
5811
5824
  css: ButtonWithMenuIcon(disabledValue),
5812
5825
  "data-testid": "multioptions-button-call-menu",
5813
5826
  "aria-disabled": disabledValue,
5827
+ "aria-label": "Open menu",
5814
5828
  children: /* @__PURE__ */ jsx49(Icon, { icon: CgChevronDown3, iconColor: "currentColor" })
5815
5829
  }
5816
- );
5830
+ ) });
5817
5831
  const tip = tooltip != null ? tooltip : shortcut && !disabledValue ? getFormattedShortcut(shortcut.shortcut) : void 0;
5818
5832
  if (onButtonClickHandler) {
5819
5833
  return /* @__PURE__ */ jsxs31(
@@ -6485,7 +6499,7 @@ var ChipContainer = css45`
6485
6499
  cursor: pointer;
6486
6500
  }
6487
6501
 
6488
- &:hover {
6502
+ :where(button):hover {
6489
6503
  [role='presentation'] {
6490
6504
  transition: opacity var(--duration-fast) var(--timing-ease-out);
6491
6505
  opacity: var(--opacity-100);
@@ -6505,9 +6519,12 @@ var ChipContainer = css45`
6505
6519
  }
6506
6520
  `;
6507
6521
  var ChipText = css45`
6522
+ display: flex;
6523
+ align-items: center;
6524
+ justify-content: left;
6508
6525
  align-self: center;
6509
6526
  line-height: 1.2;
6510
- text-wrap: nowrap;
6527
+ white-space: nowrap;
6511
6528
  `;
6512
6529
  var ChipIcon = css45`
6513
6530
  align-self: center;
@@ -10315,7 +10332,7 @@ var LoadingOverlay = ({
10315
10332
  var LoadingAnimation = ({
10316
10333
  label,
10317
10334
  width,
10318
- css: css110,
10335
+ css: css111,
10319
10336
  isPaused
10320
10337
  }) => {
10321
10338
  return /* @__PURE__ */ jsxs66(
@@ -10326,7 +10343,7 @@ var LoadingAnimation = ({
10326
10343
  width: typeof width === "number" ? `${width}px` : width,
10327
10344
  height: typeof width === "number" ? `${width}px` : width
10328
10345
  },
10329
- css: [loaderAnimationContainer, css110],
10346
+ css: [loaderAnimationContainer, css111],
10330
10347
  className: `loader-container${isPaused ? " paused" : ""}`,
10331
10348
  children: [
10332
10349
  /* @__PURE__ */ jsxs66("div", { className: "bottom-cubes", children: [
@@ -11481,21 +11498,130 @@ var LabelLeadingIcon = ({
11481
11498
  ) });
11482
11499
  };
11483
11500
 
11484
- // src/components/ParameterInputs/styles/ParameterDrawerHeader.styles.ts
11501
+ // src/components/ParameterInputs/ParameterActionButton.tsx
11502
+ import React18 from "react";
11503
+
11504
+ // src/components/ParameterInputs/styles/ParameterActionButton.styles.ts
11485
11505
  import { css as css87 } from "@emotion/react";
11486
- var ParameterDrawerHeaderContainer = css87`
11506
+ var baseStyles = css87`
11507
+ --hover-color: var(--accent-dark-hover);
11508
+ --active-color: var(--accent-dark-active);
11509
+ border: 1px solid transparent;
11510
+ border-radius: var(--rounded-base);
11511
+ display: flex;
11512
+ align-items: center;
11513
+ justify-content: center;
11514
+ max-width: fit-content;
11515
+ padding: 0.125rem;
11516
+ transition:
11517
+ border-color var(--duration-fast) var(--timing-ease-out),
11518
+ background var(--duration-fast) var(--timing-ease-out),
11519
+ color var(--duration-fast) var(--timing-ease-out),
11520
+ box-shadow var(--duration-fast) var(--timing-ease-out);
11521
+ min-height: 1.125rem;
11522
+ min-width: 1.125rem;
11523
+ font-size: 0.75rem;
11524
+
11525
+ &:disabled,
11526
+ &[aria-disabled='true'] {
11527
+ opacity: 0.5;
11528
+ cursor: default;
11529
+ }
11530
+ `;
11531
+ var solidHoverStyles = css87`
11532
+ --text-color: var(--typography-inverted);
11533
+ &:hover,
11534
+ &:focus,
11535
+ &:focus-within {
11536
+ border-color: var(--hover-color);
11537
+ background: var(--hover-color);
11538
+ color: var(--text-color);
11539
+ }
11540
+
11541
+ &:active,
11542
+ &[aria-pressed='true'] {
11543
+ border-color: var(--active-color);
11544
+ background: var(--active-color);
11545
+ color: var(--text-color);
11546
+ }
11547
+ `;
11548
+ var outlineHoverStyles = css87`
11549
+ --text-color: var(--typography-light);
11550
+ &:hover:not([aria-disabled='true']),
11551
+ &:focus:not([aria-disabled='true']),
11552
+ &:focus-within:not([aria-disabled='true']) {
11553
+ background: var(--gray-50);
11554
+ border-color: var(--hover-color);
11555
+ }
11556
+ &:active:not([aria-disabled='true']),
11557
+ &[aria-pressed='true']:not([aria-disabled='true']) {
11558
+ border-color: var(--active-color);
11559
+ }
11560
+ `;
11561
+ var invertedStyles = css87`
11562
+ --text-color: var(--typography-inverted);
11563
+ box-shadow: inset 0 0 0 1px transparent;
11564
+ &:hover,
11565
+ &:focus,
11566
+ &:focus-within {
11567
+ box-shadow: inset 0 0 0 1px var(--text-color);
11568
+ color: var(--text-color);
11569
+ }
11570
+ &:active,
11571
+ &[aria-pressed='true'] {
11572
+ background: var(--active-color);
11573
+ border-color: var(--active-color);
11574
+ }
11575
+ `;
11576
+
11577
+ // src/components/ParameterInputs/ParameterActionButton.tsx
11578
+ import { jsx as jsx115 } from "@emotion/react/jsx-runtime";
11579
+ var ParameterActionButton = ({
11580
+ children,
11581
+ themeType,
11582
+ tooltip,
11583
+ renderAs = "button",
11584
+ disabled: disabled2,
11585
+ ...props
11586
+ }) => {
11587
+ const shouldApplyInverted = themeType === "filled" && "inverted" in props && props.inverted;
11588
+ const ComponentWrapper = renderAs === "div" ? "div" : "button";
11589
+ const buttonElement = /* @__PURE__ */ jsx115(
11590
+ ComponentWrapper,
11591
+ {
11592
+ css: [
11593
+ baseStyles,
11594
+ themeType === "filled" ? solidHoverStyles : outlineHoverStyles,
11595
+ shouldApplyInverted ? invertedStyles : null
11596
+ ],
11597
+ ...renderAs === "button" && { type: "button" },
11598
+ ...shouldApplyInverted && { "data-inverted": true },
11599
+ ...disabled2 && { "aria-disabled": true },
11600
+ ...props,
11601
+ children
11602
+ }
11603
+ );
11604
+ if (tooltip && (typeof tooltip === "string" || React18.isValidElement(tooltip))) {
11605
+ return /* @__PURE__ */ jsx115(Tooltip, { title: tooltip, children: buttonElement });
11606
+ }
11607
+ return buttonElement;
11608
+ };
11609
+
11610
+ // src/components/ParameterInputs/styles/ParameterDrawerHeader.styles.ts
11611
+ import { css as css88 } from "@emotion/react";
11612
+ var ParameterDrawerHeaderContainer = css88`
11487
11613
  align-items: center;
11488
11614
  display: flex;
11489
11615
  gap: var(--spacing-base);
11490
11616
  justify-content: space-between;
11491
11617
  margin-bottom: var(--spacing-sm);
11492
11618
  `;
11493
- var ParameterDrawerHeaderTitleGroup = css87`
11619
+ var ParameterDrawerHeaderTitleGroup = css88`
11494
11620
  align-items: center;
11495
11621
  display: flex;
11496
11622
  gap: var(--spacing-sm);
11497
11623
  `;
11498
- var ParameterDrawerHeaderTitle = css87`
11624
+ var ParameterDrawerHeaderTitle = css88`
11499
11625
  text-overflow: ellipsis;
11500
11626
  white-space: nowrap;
11501
11627
  overflow: hidden;
@@ -11503,12 +11629,12 @@ var ParameterDrawerHeaderTitle = css87`
11503
11629
  `;
11504
11630
 
11505
11631
  // src/components/ParameterInputs/ParameterDrawerHeader.tsx
11506
- import { jsx as jsx115, jsxs as jsxs77 } from "@emotion/react/jsx-runtime";
11632
+ import { jsx as jsx116, jsxs as jsxs77 } from "@emotion/react/jsx-runtime";
11507
11633
  var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
11508
11634
  return /* @__PURE__ */ jsxs77("div", { css: ParameterDrawerHeaderContainer, children: [
11509
11635
  /* @__PURE__ */ jsxs77("header", { css: ParameterDrawerHeaderTitleGroup, children: [
11510
11636
  iconBeforeTitle,
11511
- /* @__PURE__ */ jsx115(Heading2, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
11637
+ /* @__PURE__ */ jsx116(Heading2, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
11512
11638
  ] }),
11513
11639
  children
11514
11640
  ] });
@@ -11518,11 +11644,15 @@ var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
11518
11644
  import { forwardRef as forwardRef20 } from "react";
11519
11645
 
11520
11646
  // src/components/ParameterInputs/styles/ParameterGroup.styles.ts
11521
- import { css as css88 } from "@emotion/react";
11522
- var fieldsetStyles = css88`
11647
+ import { css as css89 } from "@emotion/react";
11648
+ var fieldsetStyles = css89`
11523
11649
  &:disabled,
11524
11650
  [readonly] {
11525
- pointer-events: none;
11651
+ input,
11652
+ select,
11653
+ textarea {
11654
+ pointer-events: none;
11655
+ }
11526
11656
 
11527
11657
  label,
11528
11658
  legend {
@@ -11530,19 +11660,19 @@ var fieldsetStyles = css88`
11530
11660
  }
11531
11661
  }
11532
11662
  `;
11533
- var fieldsetLegend2 = css88`
11663
+ var fieldsetLegend2 = css89`
11534
11664
  display: block;
11535
11665
  font-weight: var(--fw-medium);
11536
- margin-bottom: var(--spacing-sm);
11666
+ margin-bottom: var(--spacing-base);
11537
11667
  width: 100%;
11538
11668
  `;
11539
11669
 
11540
11670
  // src/components/ParameterInputs/ParameterGroup.tsx
11541
- import { jsx as jsx116, jsxs as jsxs78 } from "@emotion/react/jsx-runtime";
11671
+ import { jsx as jsx117, jsxs as jsxs78 } from "@emotion/react/jsx-runtime";
11542
11672
  var ParameterGroup = forwardRef20(
11543
11673
  ({ legend, isDisabled, children, ...props }, ref) => {
11544
11674
  return /* @__PURE__ */ jsxs78("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
11545
- /* @__PURE__ */ jsx116("legend", { css: fieldsetLegend2, children: legend }),
11675
+ /* @__PURE__ */ jsx117("legend", { css: fieldsetLegend2, children: legend }),
11546
11676
  children
11547
11677
  ] });
11548
11678
  }
@@ -11556,15 +11686,15 @@ import { useState as useState13 } from "react";
11556
11686
  import { createPortal as createPortal2 } from "react-dom";
11557
11687
 
11558
11688
  // src/components/ParameterInputs/styles/ParameterImage.styles.ts
11559
- import { css as css89 } from "@emotion/react";
11560
- var previewWrapper = css89`
11689
+ import { css as css90 } from "@emotion/react";
11690
+ var previewWrapper = css90`
11561
11691
  margin-top: var(--spacing-xs);
11562
11692
  background: var(--gray-50);
11563
11693
  padding: var(--spacing-sm);
11564
11694
  border: solid 1px var(--gray-300);
11565
11695
  border-radius: var(--rounded-sm);
11566
11696
  `;
11567
- var previewLink = css89`
11697
+ var previewLink = css90`
11568
11698
  display: block;
11569
11699
  width: 100%;
11570
11700
 
@@ -11572,7 +11702,7 @@ var previewLink = css89`
11572
11702
  max-height: 9rem;
11573
11703
  }
11574
11704
  `;
11575
- var previewModalWrapper = css89`
11705
+ var previewModalWrapper = css90`
11576
11706
  background: var(--gray-50);
11577
11707
  display: flex;
11578
11708
  height: 100%;
@@ -11581,7 +11711,7 @@ var previewModalWrapper = css89`
11581
11711
  border: solid 1px var(--gray-300);
11582
11712
  border-radius: var(--rounded-sm);
11583
11713
  `;
11584
- var previewModalImage = css89`
11714
+ var previewModalImage = css90`
11585
11715
  display: flex;
11586
11716
  height: 100%;
11587
11717
  width: 100%;
@@ -11593,32 +11723,32 @@ var previewModalImage = css89`
11593
11723
  `;
11594
11724
 
11595
11725
  // src/components/ParameterInputs/ParameterImagePreview.tsx
11596
- import { Fragment as Fragment12, jsx as jsx117, jsxs as jsxs79 } from "@emotion/react/jsx-runtime";
11726
+ import { Fragment as Fragment12, jsx as jsx118, jsxs as jsxs79 } from "@emotion/react/jsx-runtime";
11597
11727
  function ParameterImagePreview({ imageSrc }) {
11598
11728
  const [showModal, setShowModal] = useState13(false);
11599
11729
  return imageSrc ? /* @__PURE__ */ jsxs79("div", { css: previewWrapper, children: [
11600
- /* @__PURE__ */ jsx117(PreviewImageModal, { open: showModal, imageSrc, onRequestClose: () => setShowModal(false) }),
11601
- /* @__PURE__ */ jsx117(
11730
+ /* @__PURE__ */ jsx118(PreviewImageModal, { open: showModal, imageSrc, onRequestClose: () => setShowModal(false) }),
11731
+ /* @__PURE__ */ jsx118(
11602
11732
  "button",
11603
11733
  {
11604
11734
  css: previewLink,
11605
11735
  onClick: () => {
11606
11736
  setShowModal(true);
11607
11737
  },
11608
- children: /* @__PURE__ */ jsx117(Image, { src: imageSrc, "data-testid": "parameter-image-preview" })
11738
+ children: /* @__PURE__ */ jsx118(Image, { src: imageSrc, "data-testid": "parameter-image-preview" })
11609
11739
  }
11610
11740
  )
11611
11741
  ] }) : null;
11612
11742
  }
11613
11743
  var PreviewImageModal = ({ open, onRequestClose, imageSrc }) => {
11614
- return open ? /* @__PURE__ */ jsx117(Fragment12, { children: createPortal2(
11615
- /* @__PURE__ */ jsx117(
11744
+ return open ? /* @__PURE__ */ jsx118(Fragment12, { children: createPortal2(
11745
+ /* @__PURE__ */ jsx118(
11616
11746
  Modal,
11617
11747
  {
11618
11748
  header: "Image Preview",
11619
11749
  onRequestClose,
11620
- buttonGroup: /* @__PURE__ */ jsx117(Button, { buttonType: "secondary", onClick: onRequestClose, children: "Ok" }),
11621
- children: /* @__PURE__ */ jsx117("div", { css: previewModalWrapper, children: /* @__PURE__ */ jsx117(Image, { src: imageSrc, css: previewModalImage, "data-testid": "parameter-image-preview" }) })
11750
+ buttonGroup: /* @__PURE__ */ jsx118(Button, { buttonType: "secondary", onClick: onRequestClose, children: "Ok" }),
11751
+ children: /* @__PURE__ */ jsx118("div", { css: previewModalWrapper, children: /* @__PURE__ */ jsx118(Image, { src: imageSrc, css: previewModalImage, "data-testid": "parameter-image-preview" }) })
11622
11752
  }
11623
11753
  ),
11624
11754
  document.body
@@ -11626,12 +11756,28 @@ var PreviewImageModal = ({ open, onRequestClose, imageSrc }) => {
11626
11756
  };
11627
11757
 
11628
11758
  // src/components/ParameterInputs/ParameterShell.tsx
11629
- import { css as css92 } from "@emotion/react";
11759
+ import { css as css93 } from "@emotion/react";
11630
11760
  import { useState as useState14 } from "react";
11631
11761
 
11632
11762
  // src/components/ParameterInputs/styles/ParameterInput.styles.ts
11633
- import { css as css90 } from "@emotion/react";
11634
- var inputContainer2 = css90`
11763
+ import { css as css91 } from "@emotion/react";
11764
+ var actionBarVisibilityStyles = css91`
11765
+ [data-action-bar] {
11766
+ opacity: 1;
11767
+ transform: translateX(0);
11768
+ transition:
11769
+ opacity var(--duration-fast) var(--timing-ease-out),
11770
+ transform var(--duration-fast) var(--timing-ease-out);
11771
+ }
11772
+ `;
11773
+ var actionBarVisibilityHiddenStyles = css91`
11774
+ opacity: 0;
11775
+ transform: translateX(1rem);
11776
+ transition:
11777
+ opacity var(--duration-fast) var(--timing-ease-out),
11778
+ transform var(--duration-fast) var(--timing-ease-out);
11779
+ `;
11780
+ var inputContainer2 = css91`
11635
11781
  position: relative;
11636
11782
  scroll-margin: var(--spacing-2xl);
11637
11783
 
@@ -11642,16 +11788,17 @@ var inputContainer2 = css90`
11642
11788
  opacity: var(--opacity-100);
11643
11789
  translate: 0 0;
11644
11790
  }
11791
+ ${actionBarVisibilityStyles}
11645
11792
  }
11646
11793
  `;
11647
- var labelText2 = css90`
11794
+ var labelText2 = css91`
11648
11795
  align-items: center;
11649
11796
  display: flex;
11650
11797
  gap: var(--spacing-xs);
11651
11798
  font-weight: var(--fw-regular);
11652
11799
  margin: 0 0 var(--spacing-xs);
11653
11800
  `;
11654
- var input3 = css90`
11801
+ var input3 = css91`
11655
11802
  display: block;
11656
11803
  appearance: none;
11657
11804
  box-sizing: border-box;
@@ -11699,18 +11846,18 @@ var input3 = css90`
11699
11846
  color: var(--gray-400);
11700
11847
  }
11701
11848
  `;
11702
- var selectInput = css90`
11849
+ var selectInput = css91`
11703
11850
  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");
11704
11851
  background-position: right var(--spacing-sm) center;
11705
11852
  background-repeat: no-repeat;
11706
11853
  background-size: 1rem;
11707
11854
  padding-right: var(--spacing-xl);
11708
11855
  `;
11709
- var inputWrapper = css90`
11856
+ var inputWrapper = css91`
11710
11857
  display: flex; // used to correct overflow with chrome textarea
11711
11858
  position: relative;
11712
11859
  `;
11713
- var inputIcon2 = css90`
11860
+ var inputIcon2 = css91`
11714
11861
  align-items: center;
11715
11862
  background: var(--white);
11716
11863
  border-radius: var(--rounded-md) 0 0 var(--rounded-md);
@@ -11726,7 +11873,7 @@ var inputIcon2 = css90`
11726
11873
  width: var(--spacing-lg);
11727
11874
  z-index: var(--z-10);
11728
11875
  `;
11729
- var inputToggleLabel2 = css90`
11876
+ var inputToggleLabel2 = css91`
11730
11877
  --inline-label-color: var(--typography-base);
11731
11878
  align-items: center;
11732
11879
  cursor: pointer;
@@ -11741,7 +11888,7 @@ var inputToggleLabel2 = css90`
11741
11888
  --inline-label-color: var(--gray-400);
11742
11889
  }
11743
11890
  `;
11744
- var toggleInput2 = css90`
11891
+ var toggleInput2 = css91`
11745
11892
  appearance: none;
11746
11893
  border: 1px solid var(--gray-200);
11747
11894
  background: var(--white);
@@ -11795,7 +11942,7 @@ var toggleInput2 = css90`
11795
11942
  border-color: var(--gray-300);
11796
11943
  }
11797
11944
  `;
11798
- var inlineLabel2 = css90`
11945
+ var inlineLabel2 = css91`
11799
11946
  color: var(--inline-label-color);
11800
11947
  padding-left: var(--spacing-md);
11801
11948
  font-size: var(--fs-sm);
@@ -11812,20 +11959,29 @@ var inlineLabel2 = css90`
11812
11959
  }
11813
11960
  }
11814
11961
  `;
11815
- var inputMenu = css90`
11962
+ var inputMenu = css91`
11816
11963
  background: none;
11817
11964
  border: none;
11818
11965
  padding: var(--spacing-2xs);
11819
11966
  position: absolute;
11820
11967
  top: calc(var(--spacing-md) * -1.2);
11821
11968
  right: 0;
11969
+
11970
+ &:disabled,
11971
+ &[aria-disabled='true'] {
11972
+ color: var(--gray-400);
11973
+ cursor: default;
11974
+ }
11822
11975
  `;
11823
- var inputActionItems = css90`
11976
+ var inputActionItems = css91`
11824
11977
  display: flex;
11978
+ ${actionBarVisibilityHiddenStyles}
11825
11979
  `;
11826
- var inputMenuHover = css90`
11980
+ var inputMenuHover = css91`
11827
11981
  opacity: var(--opacity-50);
11828
11982
  transition: background-color var(--duration-fast) var(--timing-ease-out);
11983
+ margin-top: 0.25rem;
11984
+ ${actionBarVisibilityHiddenStyles}
11829
11985
 
11830
11986
  // css trick to style the input like a hover or active state when the menu button is active or hovered
11831
11987
  &:hover,
@@ -11833,11 +11989,11 @@ var inputMenuHover = css90`
11833
11989
  background-color: var(--gray-200);
11834
11990
  }
11835
11991
  `;
11836
- var textarea2 = css90`
11992
+ var textarea2 = css91`
11837
11993
  resize: vertical;
11838
11994
  min-height: 2rem;
11839
11995
  `;
11840
- var dataConnectButton = css90`
11996
+ var dataConnectButton = css91`
11841
11997
  align-items: center;
11842
11998
  appearance: none;
11843
11999
  box-sizing: border-box;
@@ -11873,7 +12029,7 @@ var dataConnectButton = css90`
11873
12029
  pointer-events: none;
11874
12030
  }
11875
12031
  `;
11876
- var linkParameterBtn = css90`
12032
+ var linkParameterBtn = css91`
11877
12033
  border-radius: var(--rounded-base);
11878
12034
  background: transparent;
11879
12035
  border: none;
@@ -11882,7 +12038,7 @@ var linkParameterBtn = css90`
11882
12038
  font-size: var(--fs-sm);
11883
12039
  line-height: 1;
11884
12040
  `;
11885
- var linkParameterControls = css90`
12041
+ var linkParameterControls = css91`
11886
12042
  position: absolute;
11887
12043
  inset: 0 0 0 auto;
11888
12044
  padding: 0 var(--spacing-base);
@@ -11891,7 +12047,7 @@ var linkParameterControls = css90`
11891
12047
  justify-content: center;
11892
12048
  gap: var(--spacing-base);
11893
12049
  `;
11894
- var linkParameterInput = (withExternalLinkIcon) => css90`
12050
+ var linkParameterInput = (withExternalLinkIcon) => css91`
11895
12051
  padding-right: calc(
11896
12052
  ${withExternalLinkIcon ? "calc(var(--spacing-lg) * 2 + var(--spacing-xs))" : "var(--spacing-xl)"} +
11897
12053
  var(--spacing-base)
@@ -11904,7 +12060,7 @@ var linkParameterInput = (withExternalLinkIcon) => css90`
11904
12060
  }
11905
12061
  }
11906
12062
  `;
11907
- var linkParameterIcon = css90`
12063
+ var linkParameterIcon = css91`
11908
12064
  align-items: center;
11909
12065
  color: var(--brand-secondary-3);
11910
12066
  display: flex;
@@ -11919,28 +12075,30 @@ var linkParameterIcon = css90`
11919
12075
  `;
11920
12076
 
11921
12077
  // src/components/ParameterInputs/ParameterLabel.tsx
11922
- import { jsx as jsx118 } from "@emotion/react/jsx-runtime";
12078
+ import { jsx as jsx119 } from "@emotion/react/jsx-runtime";
11923
12079
  var ParameterLabel = ({ id, asSpan, children, testId, ...props }) => {
11924
- return !asSpan ? /* @__PURE__ */ jsx118("label", { ...props, htmlFor: id, css: labelText2, "data-testid": testId, children }) : /* @__PURE__ */ jsx118("span", { "aria-labelledby": id, css: labelText2, children });
12080
+ return !asSpan ? /* @__PURE__ */ jsx119("label", { ...props, htmlFor: id, css: labelText2, "data-testid": testId, children }) : /* @__PURE__ */ jsx119("span", { "aria-labelledby": id, css: labelText2, children });
11925
12081
  };
11926
12082
 
11927
12083
  // src/components/ParameterInputs/ParameterMenuButton.tsx
11928
12084
  import { forwardRef as forwardRef21 } from "react";
11929
- import { jsx as jsx119 } from "@emotion/react/jsx-runtime";
12085
+ import { jsx as jsx120 } from "@emotion/react/jsx-runtime";
11930
12086
  var ParameterMenuButton = forwardRef21(
11931
- ({ label, children }, ref) => {
11932
- return /* @__PURE__ */ jsx119(
12087
+ ({ label, children, disabled: disabled2 }, ref) => {
12088
+ return /* @__PURE__ */ jsx120(
11933
12089
  Menu,
11934
12090
  {
11935
- menuTrigger: /* @__PURE__ */ jsx119(
12091
+ menuTrigger: /* @__PURE__ */ jsx120(
11936
12092
  "button",
11937
12093
  {
12094
+ "data-action-bar": true,
11938
12095
  className: "parameter-menu",
11939
12096
  css: [inputMenu, inputMenuHover],
11940
12097
  type: "button",
11941
12098
  "aria-label": `${label} options`,
11942
12099
  ref,
11943
- children: /* @__PURE__ */ jsx119(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
12100
+ disabled: disabled2,
12101
+ children: /* @__PURE__ */ jsx120(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
11944
12102
  }
11945
12103
  ),
11946
12104
  children
@@ -11950,14 +12108,14 @@ var ParameterMenuButton = forwardRef21(
11950
12108
  );
11951
12109
 
11952
12110
  // src/components/ParameterInputs/styles/ParameterShell.styles.ts
11953
- import { css as css91 } from "@emotion/react";
11954
- var emptyParameterShell = css91`
12111
+ import { css as css92 } from "@emotion/react";
12112
+ var emptyParameterShell = css92`
11955
12113
  border-radius: var(--rounded-sm);
11956
12114
  flex-grow: 1;
11957
12115
  position: relative;
11958
12116
  max-width: 100%;
11959
12117
  `;
11960
- var emptyParameterShellText = css91`
12118
+ var emptyParameterShellText = css92`
11961
12119
  background: var(--brand-secondary-6);
11962
12120
  border-radius: var(--rounded-sm);
11963
12121
  padding: var(--spacing-sm);
@@ -11965,7 +12123,7 @@ var emptyParameterShellText = css91`
11965
12123
  font-size: var(--fs-sm);
11966
12124
  margin: 0;
11967
12125
  `;
11968
- var overrideMarker = css91`
12126
+ var overrideMarker = css92`
11969
12127
  border-radius: var(--rounded-sm);
11970
12128
  border: 10px solid var(--gray-300);
11971
12129
  border-left-color: transparent;
@@ -11976,7 +12134,7 @@ var overrideMarker = css91`
11976
12134
  `;
11977
12135
 
11978
12136
  // src/components/ParameterInputs/ParameterShell.tsx
11979
- import { jsx as jsx120, jsxs as jsxs80 } from "@emotion/react/jsx-runtime";
12137
+ import { jsx as jsx121, jsxs as jsxs80 } from "@emotion/react/jsx-runtime";
11980
12138
  var extractParameterProps = (props) => {
11981
12139
  const {
11982
12140
  id,
@@ -12051,21 +12209,22 @@ var ParameterShell = ({
12051
12209
  labelTrailingIcon != null ? labelTrailingIcon : null
12052
12210
  ] }),
12053
12211
  /* @__PURE__ */ jsxs80("div", { css: inputWrapper, children: [
12054
- actionItems ? /* @__PURE__ */ jsx120(
12212
+ actionItems ? /* @__PURE__ */ jsx121(
12055
12213
  "div",
12056
12214
  {
12215
+ "data-action-bar": true,
12057
12216
  css: [
12058
12217
  inputMenu,
12059
12218
  inputActionItems,
12060
- menuItems ? css92`
12219
+ menuItems ? css93`
12061
12220
  right: var(--spacing-md);
12062
12221
  ` : void 0
12063
12222
  ],
12064
12223
  children: actionItems
12065
12224
  }
12066
12225
  ) : null,
12067
- menuItems ? /* @__PURE__ */ jsx120(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
12068
- /* @__PURE__ */ jsx120(
12226
+ menuItems ? /* @__PURE__ */ jsx121(ParameterMenuButton, { label: `${label} menu`, disabled: props.disabled, children: menuItems }) : null,
12227
+ /* @__PURE__ */ jsx121(
12069
12228
  ParameterShellContext.Provider,
12070
12229
  {
12071
12230
  value: {
@@ -12075,14 +12234,14 @@ var ParameterShell = ({
12075
12234
  errorMessage: errorMessaging,
12076
12235
  handleManuallySetErrorMessage: (message) => setErrorMessage(message)
12077
12236
  },
12078
- children: isParameterGroup ? /* @__PURE__ */ jsx120("div", { style: { flexGrow: 1 }, children }) : /* @__PURE__ */ jsxs80(ParameterShellPlaceholder, { children: [
12237
+ children: isParameterGroup ? /* @__PURE__ */ jsx121("div", { style: { flexGrow: 1 }, children }) : /* @__PURE__ */ jsxs80(ParameterShellPlaceholder, { children: [
12079
12238
  children,
12080
- hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx120(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
12239
+ hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx121(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
12081
12240
  ] })
12082
12241
  }
12083
12242
  )
12084
12243
  ] }),
12085
- /* @__PURE__ */ jsx120(
12244
+ /* @__PURE__ */ jsx121(
12086
12245
  FieldMessage,
12087
12246
  {
12088
12247
  helperMessageTestId: captionTestId,
@@ -12096,17 +12255,17 @@ var ParameterShell = ({
12096
12255
  ] });
12097
12256
  };
12098
12257
  var ParameterShellPlaceholder = ({ children }) => {
12099
- return /* @__PURE__ */ jsx120("div", { css: emptyParameterShell, children });
12258
+ return /* @__PURE__ */ jsx121("div", { css: emptyParameterShell, children });
12100
12259
  };
12101
- var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx120(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx120("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx120("span", { hidden: true, children: "reset overridden value to default" }) }) });
12260
+ var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx121(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx121("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx121("span", { hidden: true, children: "reset overridden value to default" }) }) });
12102
12261
 
12103
12262
  // src/components/ParameterInputs/ParameterImage.tsx
12104
- import { Fragment as Fragment13, jsx as jsx121, jsxs as jsxs81 } from "@emotion/react/jsx-runtime";
12263
+ import { Fragment as Fragment13, jsx as jsx122, jsxs as jsxs81 } from "@emotion/react/jsx-runtime";
12105
12264
  var ParameterImage = forwardRef22(
12106
12265
  ({ children, ...props }, ref) => {
12107
12266
  const { shellProps, innerProps } = extractParameterProps(props);
12108
12267
  return /* @__PURE__ */ jsxs81(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: [
12109
- /* @__PURE__ */ jsx121(ParameterImageInner, { ref, ...innerProps }),
12268
+ /* @__PURE__ */ jsx122(ParameterImageInner, { ref, ...innerProps }),
12110
12269
  children
12111
12270
  ] });
12112
12271
  }
@@ -12116,7 +12275,7 @@ var ParameterImageInner = forwardRef22((props, ref) => {
12116
12275
  const { id, label, hiddenLabel, errorMessage } = useParameterShell();
12117
12276
  const deferredValue = useDeferredValue(value);
12118
12277
  return /* @__PURE__ */ jsxs81(Fragment13, { children: [
12119
- /* @__PURE__ */ jsx121(
12278
+ /* @__PURE__ */ jsx122(
12120
12279
  "input",
12121
12280
  {
12122
12281
  css: input3,
@@ -12128,21 +12287,21 @@ var ParameterImageInner = forwardRef22((props, ref) => {
12128
12287
  ...props
12129
12288
  }
12130
12289
  ),
12131
- errorMessage || props.disablePreview ? null : /* @__PURE__ */ jsx121(ParameterImagePreview, { imageSrc: deferredValue })
12290
+ errorMessage || props.disablePreview ? null : /* @__PURE__ */ jsx122(ParameterImagePreview, { imageSrc: deferredValue })
12132
12291
  ] });
12133
12292
  });
12134
12293
 
12135
12294
  // src/components/ParameterInputs/ParameterInput.tsx
12136
12295
  import { forwardRef as forwardRef23 } from "react";
12137
- import { jsx as jsx122 } from "@emotion/react/jsx-runtime";
12296
+ import { jsx as jsx123 } from "@emotion/react/jsx-runtime";
12138
12297
  var ParameterInput = forwardRef23((props, ref) => {
12139
12298
  const { shellProps, innerProps } = extractParameterProps(props);
12140
- return /* @__PURE__ */ jsx122(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx122(ParameterInputInner, { ref, ...innerProps }) });
12299
+ return /* @__PURE__ */ jsx123(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx123(ParameterInputInner, { ref, ...innerProps }) });
12141
12300
  });
12142
12301
  var ParameterInputInner = forwardRef23(({ enableMouseWheel = false, ...props }, ref) => {
12143
12302
  const { id, label, hiddenLabel } = useParameterShell();
12144
12303
  const isNumberInputAndMouseWheelDisabled = enableMouseWheel !== true && props.type === "number";
12145
- return /* @__PURE__ */ jsx122(
12304
+ return /* @__PURE__ */ jsx123(
12146
12305
  "input",
12147
12306
  {
12148
12307
  css: input3,
@@ -12159,18 +12318,18 @@ var ParameterInputInner = forwardRef23(({ enableMouseWheel = false, ...props },
12159
12318
 
12160
12319
  // src/components/ParameterInputs/ParameterLink.tsx
12161
12320
  import { forwardRef as forwardRef24 } from "react";
12162
- import { jsx as jsx123, jsxs as jsxs82 } from "@emotion/react/jsx-runtime";
12321
+ import { jsx as jsx124, jsxs as jsxs82 } from "@emotion/react/jsx-runtime";
12163
12322
  var ParameterLink = forwardRef24(
12164
12323
  ({ disabled: disabled2, onConnectLink, externalLink, ...props }, ref) => {
12165
12324
  const { shellProps, innerProps } = extractParameterProps(props);
12166
- return /* @__PURE__ */ jsx123(
12325
+ return /* @__PURE__ */ jsx124(
12167
12326
  ParameterShell,
12168
12327
  {
12169
12328
  "data-testid": "link-parameter-editor",
12170
12329
  ...shellProps,
12171
12330
  label: innerProps.value ? shellProps.label : "",
12172
12331
  title: !innerProps.value && typeof shellProps.label === "string" ? shellProps.label : void 0,
12173
- children: /* @__PURE__ */ jsx123(
12332
+ children: /* @__PURE__ */ jsx124(
12174
12333
  ParameterLinkInner,
12175
12334
  {
12176
12335
  onConnectLink,
@@ -12187,9 +12346,9 @@ var ParameterLinkInner = forwardRef24(
12187
12346
  ({ externalLink, onConnectLink, disabled: disabled2, buttonText = "Select link", ...props }, ref) => {
12188
12347
  const { id, label, hiddenLabel } = useParameterShell();
12189
12348
  if (!props.value)
12190
- return /* @__PURE__ */ jsx123("button", { type: "button", css: dataConnectButton, disabled: disabled2, onClick: onConnectLink, children: buttonText });
12349
+ return /* @__PURE__ */ jsx124("button", { type: "button", css: dataConnectButton, disabled: disabled2, onClick: onConnectLink, children: buttonText });
12191
12350
  return /* @__PURE__ */ jsxs82("div", { css: inputWrapper, children: [
12192
- /* @__PURE__ */ jsx123(
12351
+ /* @__PURE__ */ jsx124(
12193
12352
  "input",
12194
12353
  {
12195
12354
  type: "text",
@@ -12202,7 +12361,7 @@ var ParameterLinkInner = forwardRef24(
12202
12361
  }
12203
12362
  ),
12204
12363
  /* @__PURE__ */ jsxs82("div", { css: linkParameterControls, children: [
12205
- /* @__PURE__ */ jsx123(
12364
+ /* @__PURE__ */ jsx124(
12206
12365
  "button",
12207
12366
  {
12208
12367
  type: "button",
@@ -12214,7 +12373,7 @@ var ParameterLinkInner = forwardRef24(
12214
12373
  children: "edit"
12215
12374
  }
12216
12375
  ),
12217
- externalLink ? /* @__PURE__ */ jsx123(
12376
+ externalLink ? /* @__PURE__ */ jsx124(
12218
12377
  "a",
12219
12378
  {
12220
12379
  href: externalLink,
@@ -12222,7 +12381,7 @@ var ParameterLinkInner = forwardRef24(
12222
12381
  title: "Open link in new tab",
12223
12382
  target: "_blank",
12224
12383
  rel: "noopener noreferrer",
12225
- children: /* @__PURE__ */ jsx123(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
12384
+ children: /* @__PURE__ */ jsx124(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
12226
12385
  }
12227
12386
  ) : null
12228
12387
  ] })
@@ -12231,15 +12390,15 @@ var ParameterLinkInner = forwardRef24(
12231
12390
  );
12232
12391
 
12233
12392
  // src/components/ParameterInputs/ParameterMultiSelect.tsx
12234
- import { jsx as jsx124 } from "@emotion/react/jsx-runtime";
12393
+ import { jsx as jsx125 } from "@emotion/react/jsx-runtime";
12235
12394
  var ParameterMultiSelect = ({ disabled: disabled2 = false, ...props }) => {
12236
12395
  const { shellProps, innerProps } = extractParameterProps(props);
12237
- return /* @__PURE__ */ jsx124(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx124(ParameterMultiSelectInner, { isDisabled: disabled2, ...innerProps }) });
12396
+ return /* @__PURE__ */ jsx125(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx125(ParameterMultiSelectInner, { isDisabled: disabled2, ...innerProps }) });
12238
12397
  };
12239
12398
  var ParameterMultiSelectInner = (props) => {
12240
12399
  var _a;
12241
12400
  const { id, label } = useParameterShell();
12242
- return /* @__PURE__ */ jsx124(
12401
+ return /* @__PURE__ */ jsx125(
12243
12402
  InputComboBox,
12244
12403
  {
12245
12404
  menuPortalTarget: document.body,
@@ -12289,7 +12448,7 @@ var ParameterMultiSelectInner = (props) => {
12289
12448
  };
12290
12449
 
12291
12450
  // src/components/ParameterInputs/ParameterNameAndPublicIdInput.tsx
12292
- import { Fragment as Fragment14, jsx as jsx125, jsxs as jsxs83 } from "@emotion/react/jsx-runtime";
12451
+ import { Fragment as Fragment14, jsx as jsx126, jsxs as jsxs83 } from "@emotion/react/jsx-runtime";
12293
12452
  var ParameterNameAndPublicIdInput = ({
12294
12453
  id,
12295
12454
  onBlur,
@@ -12316,7 +12475,7 @@ var ParameterNameAndPublicIdInput = ({
12316
12475
  };
12317
12476
  autoFocus == null ? void 0 : autoFocus();
12318
12477
  return /* @__PURE__ */ jsxs83(Fragment14, { children: [
12319
- /* @__PURE__ */ jsx125(
12478
+ /* @__PURE__ */ jsx126(
12320
12479
  ParameterInput,
12321
12480
  {
12322
12481
  id: nameIdField,
@@ -12335,7 +12494,7 @@ var ParameterNameAndPublicIdInput = ({
12335
12494
  value: values[nameIdField]
12336
12495
  }
12337
12496
  ),
12338
- /* @__PURE__ */ jsx125(
12497
+ /* @__PURE__ */ jsx126(
12339
12498
  ParameterInput,
12340
12499
  {
12341
12500
  id: publicIdFieldName,
@@ -12349,11 +12508,11 @@ var ParameterNameAndPublicIdInput = ({
12349
12508
  caption: !publicIdError ? publicIdCaption : void 0,
12350
12509
  placeholder: publicIdPlaceholderText,
12351
12510
  errorMessage: publicIdError,
12352
- menuItems: /* @__PURE__ */ jsx125(
12511
+ menuItems: /* @__PURE__ */ jsx126(
12353
12512
  MenuItem,
12354
12513
  {
12355
12514
  disabled: !values[publicIdFieldName],
12356
- icon: /* @__PURE__ */ jsx125(Icon, { icon: "path-trim", iconColor: "currentColor" }),
12515
+ icon: /* @__PURE__ */ jsx126(Icon, { icon: "path-trim", iconColor: "currentColor" }),
12357
12516
  onClick: handleCopyPidFieldValue,
12358
12517
  children: "Copy"
12359
12518
  }
@@ -12361,12 +12520,12 @@ var ParameterNameAndPublicIdInput = ({
12361
12520
  value: values[publicIdFieldName]
12362
12521
  }
12363
12522
  ),
12364
- (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx125(Callout, { type: "caution", children: warnOverLength.message }) : null
12523
+ (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx126(Callout, { type: "caution", children: warnOverLength.message }) : null
12365
12524
  ] });
12366
12525
  };
12367
12526
 
12368
12527
  // src/components/ParameterInputs/ParameterRichText.tsx
12369
- import { css as css98 } from "@emotion/react";
12528
+ import { css as css99 } from "@emotion/react";
12370
12529
  import { ListItemNode, ListNode as ListNode3 } from "@lexical/list";
12371
12530
  import {
12372
12531
  CODE,
@@ -12548,23 +12707,23 @@ function DisableStylesPlugin() {
12548
12707
  }
12549
12708
 
12550
12709
  // src/components/ParameterInputs/rich-text/editorStyles.ts
12551
- import { css as css93 } from "@emotion/css";
12552
- var textBold = css93`
12710
+ import { css as css94 } from "@emotion/css";
12711
+ var textBold = css94`
12553
12712
  font-weight: 700;
12554
12713
  `;
12555
- var textItalic = css93`
12714
+ var textItalic = css94`
12556
12715
  font-style: italic;
12557
12716
  `;
12558
- var textUnderline = css93`
12717
+ var textUnderline = css94`
12559
12718
  text-decoration: underline;
12560
12719
  `;
12561
- var textStrikethrough = css93`
12720
+ var textStrikethrough = css94`
12562
12721
  text-decoration: line-through;
12563
12722
  `;
12564
- var textUnderlineStrikethrough = css93`
12723
+ var textUnderlineStrikethrough = css94`
12565
12724
  text-decoration: underline line-through;
12566
12725
  `;
12567
- var textCode = css93`
12726
+ var textCode = css94`
12568
12727
  background-color: var(--gray-100);
12569
12728
  border-radius: var(--rounded-sm);
12570
12729
  display: inline-block;
@@ -12575,68 +12734,68 @@ var textCode = css93`
12575
12734
  padding-left: var(--spacing-xs);
12576
12735
  padding-right: var(--spacing-xs);
12577
12736
  `;
12578
- var textSuperscript = css93`
12737
+ var textSuperscript = css94`
12579
12738
  vertical-align: super;
12580
12739
  font-size: smaller;
12581
12740
  `;
12582
- var textSubscript = css93`
12741
+ var textSubscript = css94`
12583
12742
  vertical-align: sub;
12584
12743
  font-size: smaller;
12585
12744
  `;
12586
- var linkElement = css93`
12745
+ var linkElement = css94`
12587
12746
  ${link}
12588
12747
  ${linkColorDefault}
12589
12748
  text-decoration: underline;
12590
12749
  `;
12591
- var h12 = css93`
12750
+ var h12 = css94`
12592
12751
  font-size: clamp(1.35rem, var(--fluid-font-base), 1.7rem);
12593
12752
  `;
12594
- var h22 = css93`
12753
+ var h22 = css94`
12595
12754
  font-size: clamp(1.35rem, var(--fluid-font-base), 1.6rem);
12596
12755
  `;
12597
- var h32 = css93`
12756
+ var h32 = css94`
12598
12757
  font-size: clamp(1.25rem, var(--fluid-font-base), 1.5rem);
12599
12758
  `;
12600
- var h42 = css93`
12759
+ var h42 = css94`
12601
12760
  font-size: clamp(1.15rem, var(--fluid-font-base), 1.25rem);
12602
12761
  `;
12603
- var h52 = css93`
12762
+ var h52 = css94`
12604
12763
  font-size: clamp(var(--fs-base), var(--fluid-font-base), 1.15rem);
12605
12764
  `;
12606
- var h62 = css93`
12765
+ var h62 = css94`
12607
12766
  font-size: var(--fs-base);
12608
12767
  `;
12609
- var heading1Element = css93`
12768
+ var heading1Element = css94`
12610
12769
  ${h12}
12611
12770
  ${commonHeadingAttr(true)}
12612
12771
  ${commonLineHeight}
12613
12772
  `;
12614
- var heading2Element = css93`
12773
+ var heading2Element = css94`
12615
12774
  ${h22}
12616
12775
  ${commonHeadingAttr(true)}
12617
12776
  ${commonLineHeight}
12618
12777
  `;
12619
- var heading3Element = css93`
12778
+ var heading3Element = css94`
12620
12779
  ${h32}
12621
12780
  ${commonHeadingAttr(true)}
12622
12781
  ${commonLineHeight}
12623
12782
  `;
12624
- var heading4Element = css93`
12783
+ var heading4Element = css94`
12625
12784
  ${h42}
12626
12785
  ${commonHeadingAttr(true)}
12627
12786
  ${commonLineHeight}
12628
12787
  `;
12629
- var heading5Element = css93`
12788
+ var heading5Element = css94`
12630
12789
  ${h52}
12631
12790
  ${commonHeadingAttr(true)}
12632
12791
  ${commonLineHeight}
12633
12792
  `;
12634
- var heading6Element = css93`
12793
+ var heading6Element = css94`
12635
12794
  ${h62}
12636
12795
  ${commonHeadingAttr(true)}
12637
12796
  ${commonLineHeight}
12638
12797
  `;
12639
- var paragraphElement = css93`
12798
+ var paragraphElement = css94`
12640
12799
  line-height: 1.5;
12641
12800
  margin-bottom: var(--spacing-base);
12642
12801
 
@@ -12644,7 +12803,7 @@ var paragraphElement = css93`
12644
12803
  margin-bottom: 0;
12645
12804
  }
12646
12805
  `;
12647
- var orderedListElement = css93`
12806
+ var orderedListElement = css94`
12648
12807
  ${commonLineHeight}
12649
12808
  display: block;
12650
12809
  list-style: decimal;
@@ -12673,7 +12832,7 @@ var orderedListElement = css93`
12673
12832
  }
12674
12833
  }
12675
12834
  `;
12676
- var unorderedListElement = css93`
12835
+ var unorderedListElement = css94`
12677
12836
  ${commonLineHeight}
12678
12837
  display: block;
12679
12838
  list-style: disc;
@@ -12694,13 +12853,13 @@ var unorderedListElement = css93`
12694
12853
  }
12695
12854
  }
12696
12855
  `;
12697
- var listItemElement = css93`
12856
+ var listItemElement = css94`
12698
12857
  margin-left: var(--spacing-md);
12699
12858
  `;
12700
- var nestedListItemElement = css93`
12859
+ var nestedListItemElement = css94`
12701
12860
  list-style-type: none;
12702
12861
  `;
12703
- var blockquoteElement = css93`
12862
+ var blockquoteElement = css94`
12704
12863
  border-left: 0.25rem solid var(--gray-300);
12705
12864
  color: var(--gray-600);
12706
12865
  margin-bottom: var(--spacing-base);
@@ -12710,7 +12869,7 @@ var blockquoteElement = css93`
12710
12869
  margin-bottom: 0;
12711
12870
  }
12712
12871
  `;
12713
- var codeElement = css93`
12872
+ var codeElement = css94`
12714
12873
  background-color: var(--gray-100);
12715
12874
  border-radius: var(--rounded-sm);
12716
12875
  display: block;
@@ -12725,7 +12884,7 @@ var codeElement = css93`
12725
12884
  margin-bottom: 0;
12726
12885
  }
12727
12886
  `;
12728
- var tableElement = css93`
12887
+ var tableElement = css94`
12729
12888
  border-collapse: collapse;
12730
12889
  border-spacing: 0;
12731
12890
  border-color: var(--gray-300);
@@ -12738,7 +12897,7 @@ var tableElement = css93`
12738
12897
  margin-bottom: 0;
12739
12898
  }
12740
12899
  `;
12741
- var tableCellElement = css93`
12900
+ var tableCellElement = css94`
12742
12901
  background-color: var(--white);
12743
12902
  border-color: var(--gray-300);
12744
12903
  border-style: solid;
@@ -12774,7 +12933,7 @@ var tableCellElement = css93`
12774
12933
  z-index: 1;
12775
12934
  }
12776
12935
  `;
12777
- var tableHeaderElement = css93`
12936
+ var tableHeaderElement = css94`
12778
12937
  background-color: var(--gray-100);
12779
12938
  border-color: var(--gray-300);
12780
12939
  border-style: solid;
@@ -12844,7 +13003,7 @@ var ImprovedAssetSelectionPlugin = () => {
12844
13003
  var ImprovedAssetSelectionPlugin_default = ImprovedAssetSelectionPlugin;
12845
13004
 
12846
13005
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
12847
- import { css as css94 } from "@emotion/react";
13006
+ import { css as css95 } from "@emotion/react";
12848
13007
  import { useLexicalComposerContext as useLexicalComposerContext3 } from "@lexical/react/LexicalComposerContext";
12849
13008
  import { NodeEventPlugin } from "@lexical/react/LexicalNodeEventPlugin";
12850
13009
  import {
@@ -12927,7 +13086,7 @@ var normalizeStateForDeepEqualComparison = (editorState) => {
12927
13086
  };
12928
13087
 
12929
13088
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
12930
- import { Fragment as Fragment15, jsx as jsx126, jsxs as jsxs84 } from "@emotion/react/jsx-runtime";
13089
+ import { Fragment as Fragment15, jsx as jsx127, jsxs as jsxs84 } from "@emotion/react/jsx-runtime";
12931
13090
  var isProjectMapLinkValue = (value) => {
12932
13091
  return (value == null ? void 0 : value.type) === "projectMapNode" && Boolean(
12933
13092
  value.nodeId && value.path && value.projectMapId
@@ -13216,17 +13375,17 @@ var OPEN_LINK_NODE_MODAL_COMMAND = createCommand(
13216
13375
  );
13217
13376
  var LINK_POPOVER_OFFSET_X = 0;
13218
13377
  var LINK_POPOVER_OFFSET_Y = 8;
13219
- var linkPopover = css94`
13378
+ var linkPopover = css95`
13220
13379
  position: absolute;
13221
13380
  z-index: 11;
13222
13381
  `;
13223
- var linkPopoverContainer = css94`
13382
+ var linkPopoverContainer = css95`
13224
13383
  ${Popover};
13225
13384
  ${PopoverVariantSmall};
13226
13385
  align-items: center;
13227
13386
  display: flex;
13228
13387
  `;
13229
- var linkPopoverAnchor = css94`
13388
+ var linkPopoverAnchor = css95`
13230
13389
  ${link}
13231
13390
  ${linkColorDefault}
13232
13391
  `;
@@ -13415,7 +13574,7 @@ function LinkNodePlugin({
13415
13574
  });
13416
13575
  };
13417
13576
  return /* @__PURE__ */ jsxs84(Fragment15, { children: [
13418
- /* @__PURE__ */ jsx126(
13577
+ /* @__PURE__ */ jsx127(
13419
13578
  NodeEventPlugin,
13420
13579
  {
13421
13580
  nodeType: LinkNode,
@@ -13425,7 +13584,7 @@ function LinkNodePlugin({
13425
13584
  }
13426
13585
  }
13427
13586
  ),
13428
- linkPopoverState ? /* @__PURE__ */ jsx126(
13587
+ linkPopoverState ? /* @__PURE__ */ jsx127(
13429
13588
  "div",
13430
13589
  {
13431
13590
  css: linkPopover,
@@ -13435,7 +13594,7 @@ function LinkNodePlugin({
13435
13594
  },
13436
13595
  ref: linkPopoverElRef,
13437
13596
  children: /* @__PURE__ */ jsxs84("div", { css: linkPopoverContainer, children: [
13438
- linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ jsx126(
13597
+ linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ jsx127(
13439
13598
  "a",
13440
13599
  {
13441
13600
  href: parsePath(
@@ -13447,7 +13606,7 @@ function LinkNodePlugin({
13447
13606
  children: parsePath(linkPopoverState.node.__link.path)
13448
13607
  }
13449
13608
  ),
13450
- /* @__PURE__ */ jsx126(
13609
+ /* @__PURE__ */ jsx127(
13451
13610
  Button,
13452
13611
  {
13453
13612
  size: "xs",
@@ -13455,7 +13614,7 @@ function LinkNodePlugin({
13455
13614
  onEditLinkNode(linkPopoverState.node);
13456
13615
  },
13457
13616
  buttonType: "ghost",
13458
- children: /* @__PURE__ */ jsx126(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
13617
+ children: /* @__PURE__ */ jsx127(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
13459
13618
  }
13460
13619
  )
13461
13620
  ] })
@@ -13593,7 +13752,7 @@ function ListIndentPlugin({ maxDepth }) {
13593
13752
  }
13594
13753
 
13595
13754
  // src/components/ParameterInputs/rich-text/TableActionMenuPlugin.tsx
13596
- import { css as css95 } from "@emotion/react";
13755
+ import { css as css96 } from "@emotion/react";
13597
13756
  import { useLexicalComposerContext as useLexicalComposerContext5 } from "@lexical/react/LexicalComposerContext";
13598
13757
  import { useLexicalEditable } from "@lexical/react/useLexicalEditable";
13599
13758
  import {
@@ -13614,7 +13773,7 @@ import {
13614
13773
  } from "@lexical/table";
13615
13774
  import { $getRoot as $getRoot2, $getSelection as $getSelection3, $isRangeSelection as $isRangeSelection3 } from "lexical";
13616
13775
  import { forwardRef as forwardRef25, useCallback as useCallback9, useEffect as useEffect19, useLayoutEffect, useState as useState16 } from "react";
13617
- import { jsx as jsx127, jsxs as jsxs85 } from "@emotion/react/jsx-runtime";
13776
+ import { jsx as jsx128, jsxs as jsxs85 } from "@emotion/react/jsx-runtime";
13618
13777
  function computeSelectionCount(selection) {
13619
13778
  const selectionShape = selection.getShape();
13620
13779
  return {
@@ -13622,7 +13781,7 @@ function computeSelectionCount(selection) {
13622
13781
  rows: selectionShape.toY - selectionShape.fromY + 1
13623
13782
  };
13624
13783
  }
13625
- var tableActionMenuTrigger = css95`
13784
+ var tableActionMenuTrigger = css96`
13626
13785
  position: absolute;
13627
13786
  transform: translate(calc(-100% - 1px), 1px);
13628
13787
  `;
@@ -13636,7 +13795,7 @@ var TableActionMenuTrigger = forwardRef25((props, ref) => {
13636
13795
  const relativeY = rect.top - parentRect.top + positioningAnchorEl.scrollTop;
13637
13796
  setCoordinates({ x: relativeX, y: relativeY });
13638
13797
  }, [tableCellEl, positioningAnchorEl]);
13639
- return /* @__PURE__ */ jsx127(
13798
+ return /* @__PURE__ */ jsx128(
13640
13799
  IconButton,
13641
13800
  {
13642
13801
  ref,
@@ -13650,7 +13809,7 @@ var TableActionMenuTrigger = forwardRef25((props, ref) => {
13650
13809
  size: "xs",
13651
13810
  buttonType: "unimportant",
13652
13811
  ...rest,
13653
- children: /* @__PURE__ */ jsx127(Icon, { icon: "chevron-down", size: "1rem", iconColor: "currentColor" })
13812
+ children: /* @__PURE__ */ jsx128(Icon, { icon: "chevron-down", size: "1rem", iconColor: "currentColor" })
13654
13813
  }
13655
13814
  );
13656
13815
  });
@@ -13801,13 +13960,13 @@ function TableActionMenu({
13801
13960
  clearTableSelection();
13802
13961
  });
13803
13962
  }, [editor, tableCellNode, clearTableSelection]);
13804
- const menuItemCss = css95({
13963
+ const menuItemCss = css96({
13805
13964
  fontSize: "var(--fs-sm)"
13806
13965
  });
13807
13966
  return /* @__PURE__ */ jsxs85(
13808
13967
  Menu,
13809
13968
  {
13810
- menuTrigger: /* @__PURE__ */ jsx127(
13969
+ menuTrigger: /* @__PURE__ */ jsx128(
13811
13970
  TableActionMenuTrigger,
13812
13971
  {
13813
13972
  tableCellEl,
@@ -13837,7 +13996,7 @@ function TableActionMenu({
13837
13996
  selectionCounts.rows === 1 ? "row" : `${selectionCounts.rows} rows`,
13838
13997
  " below"
13839
13998
  ] }),
13840
- /* @__PURE__ */ jsx127(MenuItemSeparator, {}),
13999
+ /* @__PURE__ */ jsx128(MenuItemSeparator, {}),
13841
14000
  /* @__PURE__ */ jsxs85(MenuItem, { onClick: () => insertTableColumnAtSelection(false), css: menuItemCss, children: [
13842
14001
  "Insert ",
13843
14002
  selectionCounts.columns === 1 ? "column" : `${selectionCounts.columns} columns`,
@@ -13848,11 +14007,11 @@ function TableActionMenu({
13848
14007
  selectionCounts.columns === 1 ? "column" : `${selectionCounts.columns} columns`,
13849
14008
  " right"
13850
14009
  ] }),
13851
- /* @__PURE__ */ jsx127(MenuItemSeparator, {}),
13852
- /* @__PURE__ */ jsx127(MenuItem, { onClick: () => deleteTableColumnAtSelection(), css: menuItemCss, children: "Delete column" }),
13853
- /* @__PURE__ */ jsx127(MenuItem, { onClick: () => deleteTableRowAtSelection(), css: menuItemCss, children: "Delete row" }),
13854
- /* @__PURE__ */ jsx127(MenuItem, { onClick: () => deleteTableAtSelection(), css: menuItemCss, children: "Delete table" }),
13855
- /* @__PURE__ */ jsx127(MenuItemSeparator, {}),
14010
+ /* @__PURE__ */ jsx128(MenuItemSeparator, {}),
14011
+ /* @__PURE__ */ jsx128(MenuItem, { onClick: () => deleteTableColumnAtSelection(), css: menuItemCss, children: "Delete column" }),
14012
+ /* @__PURE__ */ jsx128(MenuItem, { onClick: () => deleteTableRowAtSelection(), css: menuItemCss, children: "Delete row" }),
14013
+ /* @__PURE__ */ jsx128(MenuItem, { onClick: () => deleteTableAtSelection(), css: menuItemCss, children: "Delete table" }),
14014
+ /* @__PURE__ */ jsx128(MenuItemSeparator, {}),
13856
14015
  /* @__PURE__ */ jsxs85(MenuItem, { onClick: () => toggleTableRowIsHeader(), css: menuItemCss, children: [
13857
14016
  (tableCellNode.__headerState & TableCellHeaderStates.ROW) === TableCellHeaderStates.ROW ? "Remove" : "Add",
13858
14017
  " ",
@@ -13926,7 +14085,7 @@ function TableCellActionMenuContainer({
13926
14085
  });
13927
14086
  });
13928
14087
  });
13929
- return tableCellNode != null && tableCellNodeEl != null && tableCellMenuPortalEl != null && /* @__PURE__ */ jsx127(
14088
+ return tableCellNode != null && tableCellNodeEl != null && tableCellMenuPortalEl != null && /* @__PURE__ */ jsx128(
13930
14089
  TableActionMenu,
13931
14090
  {
13932
14091
  tableCellNode,
@@ -13942,11 +14101,11 @@ function TableActionMenuPlugin({
13942
14101
  menuPortalEl
13943
14102
  }) {
13944
14103
  const isEditable = useLexicalEditable();
13945
- return isEditable ? /* @__PURE__ */ jsx127(TableCellActionMenuContainer, { menuPortalEl, positioningAnchorEl }) : null;
14104
+ return isEditable ? /* @__PURE__ */ jsx128(TableCellActionMenuContainer, { menuPortalEl, positioningAnchorEl }) : null;
13946
14105
  }
13947
14106
 
13948
14107
  // src/components/ParameterInputs/rich-text/TableCellResizerPlugin.tsx
13949
- import { css as css96 } from "@emotion/react";
14108
+ import { css as css97 } from "@emotion/react";
13950
14109
  import { useLexicalComposerContext as useLexicalComposerContext6 } from "@lexical/react/LexicalComposerContext";
13951
14110
  import { useLexicalEditable as useLexicalEditable2 } from "@lexical/react/useLexicalEditable";
13952
14111
  import {
@@ -13960,10 +14119,10 @@ import { calculateZoomLevel } from "@lexical/utils";
13960
14119
  import { $getNearestNodeFromDOMNode } from "lexical";
13961
14120
  import { useCallback as useCallback10, useEffect as useEffect20, useMemo as useMemo6, useRef as useRef11, useState as useState17 } from "react";
13962
14121
  import { createPortal as createPortal3 } from "react-dom";
13963
- import { Fragment as Fragment16, jsx as jsx128, jsxs as jsxs86 } from "@emotion/react/jsx-runtime";
14122
+ import { Fragment as Fragment16, jsx as jsx129, jsxs as jsxs86 } from "@emotion/react/jsx-runtime";
13964
14123
  var MIN_ROW_HEIGHT = 33;
13965
14124
  var MIN_COLUMN_WIDTH = 50;
13966
- var tableResizer = css96`
14125
+ var tableResizer = css97`
13967
14126
  position: absolute;
13968
14127
  z-index: var(--z-10);
13969
14128
  `;
@@ -14261,8 +14420,8 @@ function TableCellResizer({ editor, positioningAnchorEl }) {
14261
14420
  };
14262
14421
  }, [activeCell, draggingDirection, mouseCurrentPos, positioningAnchorEl]);
14263
14422
  const resizerStyles = getResizers();
14264
- return /* @__PURE__ */ jsx128("div", { ref: resizerRef, children: activeCell != null && !isMouseDown && /* @__PURE__ */ jsxs86(Fragment16, { children: [
14265
- /* @__PURE__ */ jsx128(
14423
+ return /* @__PURE__ */ jsx129("div", { ref: resizerRef, children: activeCell != null && !isMouseDown && /* @__PURE__ */ jsxs86(Fragment16, { children: [
14424
+ /* @__PURE__ */ jsx129(
14266
14425
  "div",
14267
14426
  {
14268
14427
  css: tableResizer,
@@ -14270,7 +14429,7 @@ function TableCellResizer({ editor, positioningAnchorEl }) {
14270
14429
  onMouseDown: toggleResize("right")
14271
14430
  }
14272
14431
  ),
14273
- /* @__PURE__ */ jsx128(
14432
+ /* @__PURE__ */ jsx129(
14274
14433
  "div",
14275
14434
  {
14276
14435
  css: tableResizer,
@@ -14285,7 +14444,7 @@ function TableCellResizerPlugin({ positioningAnchorEl }) {
14285
14444
  const isEditable = useLexicalEditable2();
14286
14445
  return useMemo6(
14287
14446
  () => isEditable ? createPortal3(
14288
- /* @__PURE__ */ jsx128(TableCellResizer, { editor, positioningAnchorEl }),
14447
+ /* @__PURE__ */ jsx129(TableCellResizer, { editor, positioningAnchorEl }),
14289
14448
  positioningAnchorEl
14290
14449
  ) : null,
14291
14450
  [editor, isEditable, positioningAnchorEl]
@@ -14351,7 +14510,7 @@ var TableSelectionPlugin = () => {
14351
14510
  var TableSelectionPlugin_default = TableSelectionPlugin;
14352
14511
 
14353
14512
  // src/components/ParameterInputs/rich-text/toolbar/RichTextToolbar.tsx
14354
- import { css as css97 } from "@emotion/react";
14513
+ import { css as css98 } from "@emotion/react";
14355
14514
  import { $createCodeNode } from "@lexical/code";
14356
14515
  import {
14357
14516
  $isListNode as $isListNode2,
@@ -14521,8 +14680,8 @@ var useRichTextToolbarState = ({ config }) => {
14521
14680
  };
14522
14681
 
14523
14682
  // src/components/ParameterInputs/rich-text/toolbar/RichTextToolbar.tsx
14524
- import { Fragment as Fragment17, jsx as jsx129, jsxs as jsxs87 } from "@emotion/react/jsx-runtime";
14525
- var toolbar = css97`
14683
+ import { Fragment as Fragment17, jsx as jsx130, jsxs as jsxs87 } from "@emotion/react/jsx-runtime";
14684
+ var toolbar = css98`
14526
14685
  ${scrollbarStyles}
14527
14686
  background: var(--gray-50);
14528
14687
  border-radius: var(--rounded-base);
@@ -14536,7 +14695,7 @@ var toolbar = css97`
14536
14695
  top: calc(var(--spacing-sm) * -2);
14537
14696
  z-index: 10;
14538
14697
  `;
14539
- var toolbarGroup = css97`
14698
+ var toolbarGroup = css98`
14540
14699
  display: flex;
14541
14700
  flex-shrink: 0;
14542
14701
  gap: var(--spacing-xs);
@@ -14553,7 +14712,7 @@ var toolbarGroup = css97`
14553
14712
  width: 1px;
14554
14713
  }
14555
14714
  `;
14556
- var richTextToolbarButton = css97`
14715
+ var richTextToolbarButton = css98`
14557
14716
  align-items: center;
14558
14717
  appearance: none;
14559
14718
  border: 0;
@@ -14567,21 +14726,21 @@ var richTextToolbarButton = css97`
14567
14726
  min-width: 32px;
14568
14727
  padding: 0 var(--spacing-sm);
14569
14728
  `;
14570
- var richTextToolbarButtonActive = css97`
14729
+ var richTextToolbarButtonActive = css98`
14571
14730
  background: var(--gray-200);
14572
14731
  `;
14573
- var textStyleButton = css97`
14732
+ var textStyleButton = css98`
14574
14733
  justify-content: space-between;
14575
14734
  min-width: 7rem;
14576
14735
  `;
14577
- var toolbarIcon = css97`
14736
+ var toolbarIcon = css98`
14578
14737
  color: inherit;
14579
14738
  `;
14580
- var toolbarChevron = css97`
14739
+ var toolbarChevron = css98`
14581
14740
  margin-left: var(--spacing-xs);
14582
14741
  `;
14583
14742
  var RichTextToolbarIcon = ({ icon }) => {
14584
- return /* @__PURE__ */ jsx129(Icon, { icon, css: toolbarIcon, size: "1rem" });
14743
+ return /* @__PURE__ */ jsx130(Icon, { icon, css: toolbarIcon, size: "1rem" });
14585
14744
  };
14586
14745
  var RichTextToolbar = ({ config, customControls, onInsertTable, onInsertAsset }) => {
14587
14746
  const [editor] = useLexicalComposerContext8();
@@ -14702,7 +14861,7 @@ var RichTextToolbar = ({ config, customControls, onInsertTable, onInsertAsset })
14702
14861
  menuTrigger: /* @__PURE__ */ jsxs87("button", { css: [richTextToolbarButton, textStyleButton], title: "Text styles", type: "button", children: [
14703
14862
  visibleTextualElements.some((element) => element.type === activeElement) ? getLabelForElement(activeElement) : getLabelForElement("paragraph"),
14704
14863
  " ",
14705
- /* @__PURE__ */ jsx129(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
14864
+ /* @__PURE__ */ jsx130(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
14706
14865
  ] }),
14707
14866
  placement: "bottom-start",
14708
14867
  children: [
@@ -14712,7 +14871,7 @@ var RichTextToolbar = ({ config, customControls, onInsertTable, onInsertAsset })
14712
14871
  type: "paragraph"
14713
14872
  },
14714
14873
  ...visibleTextualElements
14715
- ].map((element) => /* @__PURE__ */ jsx129(
14874
+ ].map((element) => /* @__PURE__ */ jsx130(
14716
14875
  MenuItem,
14717
14876
  {
14718
14877
  "data-testid": "menu-item",
@@ -14723,12 +14882,12 @@ var RichTextToolbar = ({ config, customControls, onInsertTable, onInsertAsset })
14723
14882
  },
14724
14883
  element.type
14725
14884
  )),
14726
- visibleTextualElements.length === 0 ? /* @__PURE__ */ jsx129(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
14885
+ visibleTextualElements.length === 0 ? /* @__PURE__ */ jsx130(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
14727
14886
  ]
14728
14887
  }
14729
14888
  ),
14730
14889
  visibleFormatsWithIcon.length > 0 || visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsxs87("div", { css: toolbarGroup, "data-testid": "rich-text-toolbar-formatting", children: [
14731
- visibleFormatsWithIcon.map((format) => /* @__PURE__ */ jsx129(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ jsx129(
14890
+ visibleFormatsWithIcon.map((format) => /* @__PURE__ */ jsx130(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ jsx130(
14732
14891
  "button",
14733
14892
  {
14734
14893
  "data-testid": `formatting-button-${format.type}`,
@@ -14740,15 +14899,15 @@ var RichTextToolbar = ({ config, customControls, onInsertTable, onInsertAsset })
14740
14899
  richTextToolbarButton,
14741
14900
  activeFormats.includes(format.type) ? richTextToolbarButtonActive : null
14742
14901
  ],
14743
- children: /* @__PURE__ */ jsx129(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
14902
+ children: /* @__PURE__ */ jsx130(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
14744
14903
  }
14745
14904
  ) }, format.type)),
14746
- visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsx129(
14905
+ visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsx130(
14747
14906
  Menu,
14748
14907
  {
14749
- menuTrigger: /* @__PURE__ */ jsx129("button", { css: richTextToolbarButton, title: "Alternative text styles", type: "button", children: /* @__PURE__ */ jsx129(Icon, { icon: "more-alt", css: toolbarIcon }) }),
14908
+ menuTrigger: /* @__PURE__ */ jsx130("button", { css: richTextToolbarButton, title: "Alternative text styles", type: "button", children: /* @__PURE__ */ jsx130(Icon, { icon: "more-alt", css: toolbarIcon }) }),
14750
14909
  placement: "bottom-start",
14751
- children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ jsx129(
14910
+ children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ jsx130(
14752
14911
  MenuItem,
14753
14912
  {
14754
14913
  onClick: () => {
@@ -14762,7 +14921,7 @@ var RichTextToolbar = ({ config, customControls, onInsertTable, onInsertAsset })
14762
14921
  ) : null
14763
14922
  ] }) : null,
14764
14923
  visibleElementsWithIcons.size > 0 || customControls ? /* @__PURE__ */ jsxs87("div", { css: toolbarGroup, "data-testid": "rich-text-toolbar-elements", children: [
14765
- linkElementVisible ? /* @__PURE__ */ jsx129(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ jsx129(
14924
+ linkElementVisible ? /* @__PURE__ */ jsx130(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ jsx130(
14766
14925
  "button",
14767
14926
  {
14768
14927
  "data-testid": "element-link",
@@ -14775,11 +14934,11 @@ var RichTextToolbar = ({ config, customControls, onInsertTable, onInsertAsset })
14775
14934
  }
14776
14935
  },
14777
14936
  css: [richTextToolbarButton, isLink ? richTextToolbarButtonActive : null],
14778
- children: /* @__PURE__ */ jsx129(RichTextToolbarIcon, { icon: "link" })
14937
+ children: /* @__PURE__ */ jsx130(RichTextToolbarIcon, { icon: "link" })
14779
14938
  }
14780
14939
  ) }) : null,
14781
14940
  visibleLists.size > 0 ? /* @__PURE__ */ jsxs87(Fragment17, { children: [
14782
- visibleLists.has("unorderedList") ? /* @__PURE__ */ jsx129(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ jsx129(
14941
+ visibleLists.has("unorderedList") ? /* @__PURE__ */ jsx130(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ jsx130(
14783
14942
  "button",
14784
14943
  {
14785
14944
  "data-testid": "element-unordered-list",
@@ -14795,10 +14954,10 @@ var RichTextToolbar = ({ config, customControls, onInsertTable, onInsertAsset })
14795
14954
  richTextToolbarButton,
14796
14955
  activeElement === "unorderedList" ? richTextToolbarButtonActive : null
14797
14956
  ],
14798
- children: /* @__PURE__ */ jsx129(RichTextToolbarIcon, { icon: "layout-list" })
14957
+ children: /* @__PURE__ */ jsx130(RichTextToolbarIcon, { icon: "layout-list" })
14799
14958
  }
14800
14959
  ) }) : null,
14801
- visibleLists.has("orderedList") ? /* @__PURE__ */ jsx129(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ jsx129(
14960
+ visibleLists.has("orderedList") ? /* @__PURE__ */ jsx130(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ jsx130(
14802
14961
  "button",
14803
14962
  {
14804
14963
  "data-testid": "element-ordered-list",
@@ -14814,58 +14973,58 @@ var RichTextToolbar = ({ config, customControls, onInsertTable, onInsertAsset })
14814
14973
  richTextToolbarButton,
14815
14974
  activeElement === "orderedList" ? richTextToolbarButtonActive : null
14816
14975
  ],
14817
- children: /* @__PURE__ */ jsx129(RichTextToolbarIcon, { icon: "layout-list-numbered" })
14976
+ children: /* @__PURE__ */ jsx130(RichTextToolbarIcon, { icon: "layout-list-numbered" })
14818
14977
  }
14819
14978
  ) }) : null
14820
14979
  ] }) : null,
14821
14980
  customControls ? customControls : null
14822
14981
  ] }) : null,
14823
- visibleInsertElementsWithIcons.size > 0 ? /* @__PURE__ */ jsx129("div", { css: toolbarGroup, "data-testid": "rich-text-toolbar-insert", children: /* @__PURE__ */ jsxs87(
14982
+ visibleInsertElementsWithIcons.size > 0 ? /* @__PURE__ */ jsx130("div", { css: toolbarGroup, "data-testid": "rich-text-toolbar-insert", children: /* @__PURE__ */ jsxs87(
14824
14983
  Menu,
14825
14984
  {
14826
14985
  menuTrigger: /* @__PURE__ */ jsxs87("button", { css: richTextToolbarButton, title: "Insert block element", type: "button", children: [
14827
14986
  "Insert",
14828
- /* @__PURE__ */ jsx129(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
14987
+ /* @__PURE__ */ jsx130(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
14829
14988
  ] }),
14830
14989
  placement: "bottom-start",
14831
14990
  children: [
14832
- quoteElementVisible ? /* @__PURE__ */ jsx129(
14991
+ quoteElementVisible ? /* @__PURE__ */ jsx130(
14833
14992
  MenuItem,
14834
14993
  {
14835
14994
  onClick: () => {
14836
14995
  onSelectElement("quote");
14837
14996
  },
14838
- icon: /* @__PURE__ */ jsx129(Icon, { icon: "quote", iconColor: "currentColor" }),
14997
+ icon: /* @__PURE__ */ jsx130(Icon, { icon: "quote", iconColor: "currentColor" }),
14839
14998
  children: "Quote"
14840
14999
  }
14841
15000
  ) : null,
14842
- codeElementVisible ? /* @__PURE__ */ jsx129(
15001
+ codeElementVisible ? /* @__PURE__ */ jsx130(
14843
15002
  MenuItem,
14844
15003
  {
14845
15004
  onClick: () => {
14846
15005
  onSelectElement("code");
14847
15006
  },
14848
- icon: /* @__PURE__ */ jsx129(Icon, { icon: "code-slash", iconColor: "currentColor" }),
15007
+ icon: /* @__PURE__ */ jsx130(Icon, { icon: "code-slash", iconColor: "currentColor" }),
14849
15008
  children: "Code"
14850
15009
  }
14851
15010
  ) : null,
14852
- tableElementVisible && onInsertTable !== void 0 ? /* @__PURE__ */ jsx129(
15011
+ tableElementVisible && onInsertTable !== void 0 ? /* @__PURE__ */ jsx130(
14853
15012
  MenuItem,
14854
15013
  {
14855
15014
  onClick: () => {
14856
15015
  onSelectElement("table");
14857
15016
  },
14858
- icon: /* @__PURE__ */ jsx129(Icon, { icon: "view-grid", iconColor: "currentColor" }),
15017
+ icon: /* @__PURE__ */ jsx130(Icon, { icon: "view-grid", iconColor: "currentColor" }),
14859
15018
  children: "Table"
14860
15019
  }
14861
15020
  ) : null,
14862
- assetElementVisible && onInsertAsset !== void 0 ? /* @__PURE__ */ jsx129(
15021
+ assetElementVisible && onInsertAsset !== void 0 ? /* @__PURE__ */ jsx130(
14863
15022
  MenuItem,
14864
15023
  {
14865
15024
  onClick: () => {
14866
15025
  onSelectElement("asset");
14867
15026
  },
14868
- icon: /* @__PURE__ */ jsx129(Icon, { icon: "image", iconColor: "currentColor" }),
15027
+ icon: /* @__PURE__ */ jsx130(Icon, { icon: "image", iconColor: "currentColor" }),
14869
15028
  children: "Asset"
14870
15029
  }
14871
15030
  ) : null
@@ -14877,7 +15036,7 @@ var RichTextToolbar = ({ config, customControls, onInsertTable, onInsertAsset })
14877
15036
  var RichTextToolbar_default = RichTextToolbar;
14878
15037
 
14879
15038
  // src/components/ParameterInputs/ParameterRichText.tsx
14880
- import { Fragment as Fragment18, jsx as jsx130, jsxs as jsxs88 } from "@emotion/react/jsx-runtime";
15039
+ import { Fragment as Fragment18, jsx as jsx131, jsxs as jsxs88 } from "@emotion/react/jsx-runtime";
14881
15040
  var ParameterRichText = ({
14882
15041
  label,
14883
15042
  labelLeadingIcon,
@@ -14888,23 +15047,8 @@ var ParameterRichText = ({
14888
15047
  errorTestId,
14889
15048
  captionTestId,
14890
15049
  menuItems,
14891
- value,
14892
- onChange,
14893
- onConnectLink,
14894
- config,
14895
- onRichTextInit,
14896
- readOnly,
14897
- editorWrapperClassName,
14898
- editorInputClassName,
14899
- editorInputWrapperClassName,
14900
- editorFooter,
14901
- customNodes,
14902
15050
  children,
14903
- variables,
14904
- customControls,
14905
- onInsertTable,
14906
- onInsertAsset,
14907
- minimalInteractivity
15051
+ ...innerProps
14908
15052
  }) => {
14909
15053
  return /* @__PURE__ */ jsxs88(
14910
15054
  ParameterShell,
@@ -14920,34 +15064,13 @@ var ParameterRichText = ({
14920
15064
  captionTestId,
14921
15065
  menuItems,
14922
15066
  children: [
14923
- /* @__PURE__ */ jsx130(
14924
- ParameterRichTextInner,
14925
- {
14926
- value,
14927
- onChange,
14928
- onConnectLink,
14929
- config,
14930
- onRichTextInit,
14931
- readOnly,
14932
- editorWrapperClassName,
14933
- editorInputClassName,
14934
- editorInputWrapperClassName,
14935
- editorFooter,
14936
- customNodes,
14937
- variables,
14938
- customControls,
14939
- onInsertTable,
14940
- onInsertAsset,
14941
- minimalInteractivity,
14942
- children
14943
- }
14944
- ),
14945
- menuItems ? /* @__PURE__ */ jsx130(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx130(Fragment18, { children: menuItems }) }) : null
15067
+ /* @__PURE__ */ jsx131(ParameterRichTextInner, { ...innerProps, children }),
15068
+ menuItems ? /* @__PURE__ */ jsx131(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx131(Fragment18, { children: menuItems }) }) : null
14946
15069
  ]
14947
15070
  }
14948
15071
  );
14949
15072
  };
14950
- var editorContainerWrapper = css98`
15073
+ var editorContainerWrapper = css99`
14951
15074
  position: relative;
14952
15075
 
14953
15076
  &::before {
@@ -14963,12 +15086,12 @@ var editorContainerWrapper = css98`
14963
15086
  z-index: 2;
14964
15087
  }
14965
15088
  `;
14966
- var editorWrapper = css98`
15089
+ var editorWrapper = css99`
14967
15090
  display: flex;
14968
15091
  flex-flow: column;
14969
15092
  flex-grow: 1;
14970
15093
  `;
14971
- var editorContainer = css98`
15094
+ var editorContainer = css99`
14972
15095
  ${scrollbarStyles}
14973
15096
  background: var(--white);
14974
15097
  border-radius: var(--rounded-sm);
@@ -15000,7 +15123,7 @@ var editorContainer = css98`
15000
15123
  max-height: unset;
15001
15124
  }
15002
15125
  `;
15003
- var editorContainerOverflowWrapper = css98`
15126
+ var editorContainerOverflowWrapper = css99`
15004
15127
  overflow: hidden;
15005
15128
  pointer-events: none;
15006
15129
 
@@ -15008,7 +15131,7 @@ var editorContainerOverflowWrapper = css98`
15008
15131
  pointer-events: auto;
15009
15132
  }
15010
15133
  `;
15011
- var editorPlaceholder = css98`
15134
+ var editorPlaceholder = css99`
15012
15135
  color: var(--gray-500);
15013
15136
  font-style: italic;
15014
15137
  /* 1px is added to make sure caret is clearly visible when field is focused
@@ -15019,7 +15142,7 @@ var editorPlaceholder = css98`
15019
15142
  top: calc(1rem + var(--spacing-sm));
15020
15143
  user-select: none;
15021
15144
  `;
15022
- var editorInput = css98`
15145
+ var editorInput = css99`
15023
15146
  min-height: 100%;
15024
15147
  flex-grow: 1;
15025
15148
 
@@ -15030,22 +15153,11 @@ var editorInput = css98`
15030
15153
  `;
15031
15154
  var ParameterRichTextInner = ({
15032
15155
  value,
15033
- onChange,
15034
- onConnectLink,
15035
- config,
15036
- onRichTextInit,
15037
- readOnly,
15038
- editorWrapperClassName,
15039
- editorInputClassName,
15040
- editorInputWrapperClassName,
15041
15156
  editorFooter,
15042
15157
  children,
15043
15158
  customNodes,
15044
- variables,
15045
- customControls,
15046
- onInsertTable,
15047
- onInsertAsset,
15048
- minimalInteractivity
15159
+ editorWrapperClassName,
15160
+ ...richTextProps
15049
15161
  }) => {
15050
15162
  const lexicalConfig = {
15051
15163
  namespace: "uniform",
@@ -15101,27 +15213,10 @@ var ParameterRichTextInner = ({
15101
15213
  tableCell: tableCellElement,
15102
15214
  tableCellHeader: tableHeaderElement
15103
15215
  },
15104
- editable: !readOnly
15216
+ editable: !richTextProps.readOnly
15105
15217
  };
15106
15218
  return /* @__PURE__ */ jsxs88(Fragment18, { children: [
15107
- /* @__PURE__ */ jsx130("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ jsx130(LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ jsx130(
15108
- RichText,
15109
- {
15110
- onChange,
15111
- onConnectLink,
15112
- config,
15113
- onRichTextInit,
15114
- readOnly,
15115
- editorInputClassName,
15116
- editorInputWrapperClassName,
15117
- variables,
15118
- customControls,
15119
- onInsertTable,
15120
- onInsertAsset,
15121
- minimalInteractivity,
15122
- children
15123
- }
15124
- ) }) }),
15219
+ /* @__PURE__ */ jsx131("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ jsx131(LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ jsx131(RichText, { ...richTextProps, children }) }) }),
15125
15220
  editorFooter ? editorFooter : null
15126
15221
  ] });
15127
15222
  };
@@ -15147,7 +15242,8 @@ var RichText = ({
15147
15242
  customControls,
15148
15243
  onInsertTable,
15149
15244
  onInsertAsset,
15150
- minimalInteractivity
15245
+ minimalInteractivity,
15246
+ placeholder
15151
15247
  }) => {
15152
15248
  const [editor] = useLexicalComposerContext9();
15153
15249
  useEffect23(() => {
@@ -15188,7 +15284,7 @@ var RichText = ({
15188
15284
  }
15189
15285
  };
15190
15286
  return /* @__PURE__ */ jsxs88(Fragment18, { children: [
15191
- readOnly || minimalInteractivity ? null : /* @__PURE__ */ jsx130(
15287
+ readOnly || minimalInteractivity ? null : /* @__PURE__ */ jsx131(
15192
15288
  RichTextToolbar_default,
15193
15289
  {
15194
15290
  config,
@@ -15206,33 +15302,33 @@ var RichText = ({
15206
15302
  ref: onEditorContainerRef,
15207
15303
  "data-testid": "value-container",
15208
15304
  children: [
15209
- /* @__PURE__ */ jsx130(
15305
+ /* @__PURE__ */ jsx131(
15210
15306
  RichTextPlugin,
15211
15307
  {
15212
- contentEditable: /* @__PURE__ */ jsx130(ContentEditable, { css: editorInput, className: editorInputClassName }),
15213
- placeholder: /* @__PURE__ */ jsx130("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
15308
+ contentEditable: /* @__PURE__ */ jsx131(ContentEditable, { css: editorInput, className: editorInputClassName }),
15309
+ placeholder: /* @__PURE__ */ jsx131("div", { css: editorPlaceholder, "data-placeholder": true, children: placeholder != null ? placeholder : readOnly ? "empty" : "start editing..." }),
15214
15310
  ErrorBoundary: LexicalErrorBoundary
15215
15311
  }
15216
15312
  ),
15217
- /* @__PURE__ */ jsx130(ListPlugin, {}),
15218
- /* @__PURE__ */ jsx130(ListIndentPlugin, { maxDepth: 4 }),
15219
- /* @__PURE__ */ jsx130(TablePlugin, { hasCellMerge: false, hasCellBackgroundColor: false }),
15220
- /* @__PURE__ */ jsx130("div", { css: editorContainerOverflowWrapper, "data-testid": "table-action-menu-plugin", children: editorContainerRef && portalContainerRef && !minimalInteractivity ? /* @__PURE__ */ jsx130(
15313
+ /* @__PURE__ */ jsx131(ListPlugin, {}),
15314
+ /* @__PURE__ */ jsx131(ListIndentPlugin, { maxDepth: 4 }),
15315
+ /* @__PURE__ */ jsx131(TablePlugin, { hasCellMerge: false, hasCellBackgroundColor: false }),
15316
+ /* @__PURE__ */ jsx131("div", { css: editorContainerOverflowWrapper, "data-testid": "table-action-menu-plugin", children: editorContainerRef && portalContainerRef && !minimalInteractivity ? /* @__PURE__ */ jsx131(
15221
15317
  TableActionMenuPlugin,
15222
15318
  {
15223
15319
  positioningAnchorEl: editorContainerRef,
15224
15320
  menuPortalEl: portalContainerRef
15225
15321
  }
15226
15322
  ) : null }),
15227
- editorContainerRef && !minimalInteractivity ? /* @__PURE__ */ jsx130(TableCellResizerPlugin, { positioningAnchorEl: editorContainerRef }) : null,
15228
- readOnly ? null : /* @__PURE__ */ jsx130(HistoryPlugin, {}),
15229
- /* @__PURE__ */ jsx130(DisableStylesPlugin, {}),
15230
- /* @__PURE__ */ jsx130(MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS })
15323
+ editorContainerRef && !minimalInteractivity ? /* @__PURE__ */ jsx131(TableCellResizerPlugin, { positioningAnchorEl: editorContainerRef }) : null,
15324
+ readOnly ? null : /* @__PURE__ */ jsx131(HistoryPlugin, {}),
15325
+ /* @__PURE__ */ jsx131(DisableStylesPlugin, {}),
15326
+ /* @__PURE__ */ jsx131(MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS })
15231
15327
  ]
15232
15328
  }
15233
15329
  ),
15234
- /* @__PURE__ */ jsx130(Fragment18, { children }),
15235
- editorContainerRef ? /* @__PURE__ */ jsx130(
15330
+ /* @__PURE__ */ jsx131(Fragment18, { children }),
15331
+ editorContainerRef ? /* @__PURE__ */ jsx131(
15236
15332
  LinkNodePlugin,
15237
15333
  {
15238
15334
  onConnectLink: onConnectLink ? onConnectLink : () => Promise.resolve(),
@@ -15243,19 +15339,19 @@ var RichText = ({
15243
15339
  positioningAnchorEl: editorContainerRef
15244
15340
  }
15245
15341
  ) : null,
15246
- /* @__PURE__ */ jsx130(TableSelectionPlugin_default, {}),
15247
- /* @__PURE__ */ jsx130(ImprovedAssetSelectionPlugin_default, {})
15342
+ /* @__PURE__ */ jsx131(TableSelectionPlugin_default, {}),
15343
+ /* @__PURE__ */ jsx131(ImprovedAssetSelectionPlugin_default, {})
15248
15344
  ] })
15249
15345
  ] });
15250
15346
  };
15251
15347
 
15252
15348
  // src/components/ParameterInputs/ParameterSelect.tsx
15253
15349
  import { forwardRef as forwardRef26 } from "react";
15254
- import { jsx as jsx131, jsxs as jsxs89 } from "@emotion/react/jsx-runtime";
15350
+ import { jsx as jsx132, jsxs as jsxs89 } from "@emotion/react/jsx-runtime";
15255
15351
  var ParameterSelect = forwardRef26(
15256
15352
  ({ defaultOption, options, ...props }, ref) => {
15257
15353
  const { shellProps, innerProps } = extractParameterProps(props);
15258
- return /* @__PURE__ */ jsx131(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx131(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
15354
+ return /* @__PURE__ */ jsx132(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx132(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
15259
15355
  }
15260
15356
  );
15261
15357
  var ParameterSelectInner = forwardRef26(
@@ -15270,10 +15366,10 @@ var ParameterSelectInner = forwardRef26(
15270
15366
  ref,
15271
15367
  ...props,
15272
15368
  children: [
15273
- defaultOption ? /* @__PURE__ */ jsx131("option", { value: "", children: defaultOption }) : null,
15369
+ defaultOption ? /* @__PURE__ */ jsx132("option", { value: "", children: defaultOption }) : null,
15274
15370
  options.map((option) => {
15275
15371
  var _a;
15276
- return /* @__PURE__ */ jsx131("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
15372
+ return /* @__PURE__ */ jsx132("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
15277
15373
  })
15278
15374
  ]
15279
15375
  }
@@ -15283,14 +15379,14 @@ var ParameterSelectInner = forwardRef26(
15283
15379
 
15284
15380
  // src/components/ParameterInputs/ParameterTextarea.tsx
15285
15381
  import { forwardRef as forwardRef27 } from "react";
15286
- import { jsx as jsx132 } from "@emotion/react/jsx-runtime";
15382
+ import { jsx as jsx133 } from "@emotion/react/jsx-runtime";
15287
15383
  var ParameterTextarea = forwardRef27((props, ref) => {
15288
15384
  const { shellProps, innerProps } = extractParameterProps(props);
15289
- return /* @__PURE__ */ jsx132(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx132(ParameterTextareaInner, { ref, ...innerProps }) });
15385
+ return /* @__PURE__ */ jsx133(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx133(ParameterTextareaInner, { ref, ...innerProps }) });
15290
15386
  });
15291
15387
  var ParameterTextareaInner = forwardRef27(({ ...props }, ref) => {
15292
15388
  const { id, label, hiddenLabel } = useParameterShell();
15293
- return /* @__PURE__ */ jsx132(
15389
+ return /* @__PURE__ */ jsx133(
15294
15390
  "textarea",
15295
15391
  {
15296
15392
  css: [input3, textarea2],
@@ -15304,25 +15400,25 @@ var ParameterTextareaInner = forwardRef27(({ ...props }, ref) => {
15304
15400
 
15305
15401
  // src/components/ParameterInputs/ParameterToggle.tsx
15306
15402
  import { forwardRef as forwardRef28 } from "react";
15307
- import { jsx as jsx133, jsxs as jsxs90 } from "@emotion/react/jsx-runtime";
15403
+ import { jsx as jsx134, jsxs as jsxs90 } from "@emotion/react/jsx-runtime";
15308
15404
  var ParameterToggle = forwardRef28((props, ref) => {
15309
15405
  const { shellProps, innerProps } = extractParameterProps(props);
15310
- return /* @__PURE__ */ jsx133(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx133(ParameterToggleInner, { ref, ...innerProps }) });
15406
+ return /* @__PURE__ */ jsx134(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx134(ParameterToggleInner, { ref, ...innerProps }) });
15311
15407
  });
15312
15408
  var ParameterToggleInner = forwardRef28(
15313
15409
  ({ children, ...props }, ref) => {
15314
15410
  const { id, label } = useParameterShell();
15315
15411
  return /* @__PURE__ */ jsxs90("label", { css: inputToggleLabel2, children: [
15316
- /* @__PURE__ */ jsx133("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
15317
- /* @__PURE__ */ jsx133("span", { css: inlineLabel2, children: label }),
15412
+ /* @__PURE__ */ jsx134("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
15413
+ /* @__PURE__ */ jsx134("span", { css: inlineLabel2, children: label }),
15318
15414
  children
15319
15415
  ] });
15320
15416
  }
15321
15417
  );
15322
15418
 
15323
15419
  // src/components/ProgressBar/ProgressBar.styles.ts
15324
- import { css as css99, keyframes as keyframes4 } from "@emotion/react";
15325
- var container3 = css99`
15420
+ import { css as css100, keyframes as keyframes4 } from "@emotion/react";
15421
+ var container3 = css100`
15326
15422
  background: var(--gray-50);
15327
15423
  margin-block: var(--spacing-sm);
15328
15424
  position: relative;
@@ -15332,13 +15428,13 @@ var container3 = css99`
15332
15428
  border: solid 1px var(--gray-300);
15333
15429
  `;
15334
15430
  var themeMap = {
15335
- primary: css99`
15431
+ primary: css100`
15336
15432
  --progress-color: var(--accent-light);
15337
15433
  `,
15338
- secondary: css99`
15434
+ secondary: css100`
15339
15435
  --progress-color: var(--accent-alt-light);
15340
15436
  `,
15341
- destructive: css99`
15437
+ destructive: css100`
15342
15438
  --progress-color: var(--brand-secondary-5);
15343
15439
  `
15344
15440
  };
@@ -15350,10 +15446,10 @@ var slidingBackgroundPosition = keyframes4`
15350
15446
  background-position: 64px 0;
15351
15447
  }
15352
15448
  `;
15353
- var determinate = css99`
15449
+ var determinate = css100`
15354
15450
  background-color: var(--progress-color);
15355
15451
  `;
15356
- var indeterminate = css99`
15452
+ var indeterminate = css100`
15357
15453
  background-image: linear-gradient(
15358
15454
  45deg,
15359
15455
  var(--progress-color) 25%,
@@ -15367,7 +15463,7 @@ var indeterminate = css99`
15367
15463
  background-size: 64px 64px;
15368
15464
  animation: ${slidingBackgroundPosition} 1s linear infinite;
15369
15465
  `;
15370
- var bar = css99`
15466
+ var bar = css100`
15371
15467
  position: absolute;
15372
15468
  inset: 0;
15373
15469
  transition: transform var(--duration-fast) var(--timing-ease-out);
@@ -15375,7 +15471,7 @@ var bar = css99`
15375
15471
  `;
15376
15472
 
15377
15473
  // src/components/ProgressBar/ProgressBar.tsx
15378
- import { jsx as jsx134 } from "@emotion/react/jsx-runtime";
15474
+ import { jsx as jsx135 } from "@emotion/react/jsx-runtime";
15379
15475
  function ProgressBar({
15380
15476
  current,
15381
15477
  max,
@@ -15385,7 +15481,7 @@ function ProgressBar({
15385
15481
  }) {
15386
15482
  const valueNow = Math.min(current, max);
15387
15483
  const valuePercentage = max > 0 ? Math.ceil(100 / max * valueNow) : 0;
15388
- return /* @__PURE__ */ jsx134(
15484
+ return /* @__PURE__ */ jsx135(
15389
15485
  "div",
15390
15486
  {
15391
15487
  css: container3,
@@ -15396,7 +15492,7 @@ function ProgressBar({
15396
15492
  "aria-valuemax": max,
15397
15493
  "aria-valuenow": valueNow,
15398
15494
  ...props,
15399
- children: /* @__PURE__ */ jsx134(
15495
+ children: /* @__PURE__ */ jsx135(
15400
15496
  "div",
15401
15497
  {
15402
15498
  css: [
@@ -15415,28 +15511,28 @@ function ProgressBar({
15415
15511
  }
15416
15512
 
15417
15513
  // src/components/ProgressList/ProgressList.tsx
15418
- import { css as css101 } from "@emotion/react";
15514
+ import { css as css102 } from "@emotion/react";
15419
15515
  import { CgCheckO as CgCheckO2 } from "@react-icons/all-files/cg/CgCheckO";
15420
15516
  import { CgRadioCheck } from "@react-icons/all-files/cg/CgRadioCheck";
15421
15517
  import { CgRecord } from "@react-icons/all-files/cg/CgRecord";
15422
15518
  import { useMemo as useMemo8 } from "react";
15423
15519
 
15424
15520
  // src/components/ProgressList/styles/ProgressList.styles.ts
15425
- import { css as css100 } from "@emotion/react";
15426
- var progressListStyles = css100`
15521
+ import { css as css101 } from "@emotion/react";
15522
+ var progressListStyles = css101`
15427
15523
  display: flex;
15428
15524
  flex-direction: column;
15429
15525
  gap: var(--spacing-sm);
15430
15526
  list-style-type: none;
15431
15527
  `;
15432
- var progressListItemStyles = css100`
15528
+ var progressListItemStyles = css101`
15433
15529
  display: flex;
15434
15530
  gap: var(--spacing-base);
15435
15531
  align-items: center;
15436
15532
  `;
15437
15533
 
15438
15534
  // src/components/ProgressList/ProgressList.tsx
15439
- import { jsx as jsx135, jsxs as jsxs91 } from "@emotion/react/jsx-runtime";
15535
+ import { jsx as jsx136, jsxs as jsxs91 } from "@emotion/react/jsx-runtime";
15440
15536
  var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
15441
15537
  const itemsWithStatus = useMemo8(() => {
15442
15538
  const indexOfInProgressItem = items.findIndex(({ id }) => id === inProgressId);
@@ -15450,8 +15546,8 @@ var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
15450
15546
  return { ...item, status };
15451
15547
  });
15452
15548
  }, [items, inProgressId]);
15453
- return /* @__PURE__ */ jsx135("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
15454
- return /* @__PURE__ */ jsx135(
15549
+ return /* @__PURE__ */ jsx136("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
15550
+ return /* @__PURE__ */ jsx136(
15455
15551
  ProgressListItem,
15456
15552
  {
15457
15553
  status,
@@ -15484,12 +15580,12 @@ var ProgressListItem = ({
15484
15580
  }, [status, error]);
15485
15581
  const statusStyles = useMemo8(() => {
15486
15582
  if (error) {
15487
- return errorLevel === "caution" ? css101`
15583
+ return errorLevel === "caution" ? css102`
15488
15584
  color: rgb(161, 98, 7);
15489
15585
  & svg {
15490
15586
  color: rgb(250, 204, 21);
15491
15587
  }
15492
- ` : css101`
15588
+ ` : css102`
15493
15589
  color: rgb(185, 28, 28);
15494
15590
  & svg {
15495
15591
  color: var(--brand-primary-2);
@@ -15497,38 +15593,38 @@ var ProgressListItem = ({
15497
15593
  `;
15498
15594
  }
15499
15595
  const colorPerStatus = {
15500
- completed: css101`
15596
+ completed: css102`
15501
15597
  opacity: 0.75;
15502
15598
  `,
15503
- inProgress: css101`
15599
+ inProgress: css102`
15504
15600
  -webkit-text-stroke-width: thin;
15505
15601
  `,
15506
- queued: css101`
15602
+ queued: css102`
15507
15603
  opacity: 0.5;
15508
15604
  `
15509
15605
  };
15510
15606
  return colorPerStatus[status];
15511
15607
  }, [status, error, errorLevel]);
15512
15608
  return /* @__PURE__ */ jsxs91("li", { css: [progressListItemStyles, statusStyles], children: [
15513
- /* @__PURE__ */ jsx135(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ jsx135("div", { children: /* @__PURE__ */ jsx135(Icon, { icon, size: 20, iconColor: "currentColor" }) }) }),
15609
+ /* @__PURE__ */ jsx136(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ jsx136("div", { children: /* @__PURE__ */ jsx136(Icon, { icon, size: 20, iconColor: "currentColor" }) }) }),
15514
15610
  /* @__PURE__ */ jsxs91("div", { children: [
15515
15611
  children,
15516
- /* @__PURE__ */ jsx135("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
15612
+ /* @__PURE__ */ jsx136("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
15517
15613
  ] })
15518
15614
  ] });
15519
15615
  };
15520
15616
 
15521
15617
  // src/components/SegmentedControl/SegmentedControl.tsx
15522
- import { css as css103 } from "@emotion/react";
15618
+ import { css as css104 } from "@emotion/react";
15523
15619
  import { CgCheck as CgCheck5 } from "@react-icons/all-files/cg/CgCheck";
15524
15620
  import { useCallback as useCallback12, useEffect as useEffect24, useMemo as useMemo9, useRef as useRef12, useState as useState21 } from "react";
15525
15621
 
15526
15622
  // src/components/SegmentedControl/SegmentedControl.styles.ts
15527
- import { css as css102 } from "@emotion/react";
15528
- var segmentedControlRootStyles = css102`
15623
+ import { css as css103 } from "@emotion/react";
15624
+ var segmentedControlRootStyles = css103`
15529
15625
  position: relative;
15530
15626
  `;
15531
- var segmentedControlScrollIndicatorsStyles = css102`
15627
+ var segmentedControlScrollIndicatorsStyles = css103`
15532
15628
  position: absolute;
15533
15629
  inset: 0;
15534
15630
  z-index: 1;
@@ -15556,17 +15652,17 @@ var segmentedControlScrollIndicatorsStyles = css102`
15556
15652
  background: linear-gradient(to left, var(--background-color) 10%, transparent);
15557
15653
  }
15558
15654
  `;
15559
- var segmentedControlScrollIndicatorStartVisibleStyles = css102`
15655
+ var segmentedControlScrollIndicatorStartVisibleStyles = css103`
15560
15656
  &::before {
15561
15657
  opacity: 1;
15562
15658
  }
15563
15659
  `;
15564
- var segmentedControlScrollIndicatorEndVisibleStyles = css102`
15660
+ var segmentedControlScrollIndicatorEndVisibleStyles = css103`
15565
15661
  &::after {
15566
15662
  opacity: 1;
15567
15663
  }
15568
15664
  `;
15569
- var segmentedControlWrapperStyles = css102`
15665
+ var segmentedControlWrapperStyles = css103`
15570
15666
  overflow-y: auto;
15571
15667
  scroll-behavior: smooth;
15572
15668
  scrollbar-width: none;
@@ -15575,7 +15671,7 @@ var segmentedControlWrapperStyles = css102`
15575
15671
  height: 0px;
15576
15672
  }
15577
15673
  `;
15578
- var segmentedControlStyles = css102`
15674
+ var segmentedControlStyles = css103`
15579
15675
  --segmented-control-rounded-value: var(--rounded-base);
15580
15676
  --segmented-control-border-width: 1px;
15581
15677
  --segmented-control-selected-color: var(--brand-secondary-3);
@@ -15594,14 +15690,14 @@ var segmentedControlStyles = css102`
15594
15690
  border-radius: calc(var(--segmented-control-rounded-value) + var(--segmented-control-border-width));
15595
15691
  font-size: var(--fs-xs);
15596
15692
  `;
15597
- var segmentedControlVerticalStyles = css102`
15693
+ var segmentedControlVerticalStyles = css103`
15598
15694
  flex-direction: column;
15599
15695
  --segmented-control-first-border-radius: var(--segmented-control-rounded-value)
15600
15696
  var(--segmented-control-rounded-value) 0 0;
15601
15697
  --segmented-control-last-border-radius: 0 0 var(--segmented-control-rounded-value)
15602
15698
  var(--segmented-control-rounded-value);
15603
15699
  `;
15604
- var segmentedControlItemStyles = css102`
15700
+ var segmentedControlItemStyles = css103`
15605
15701
  &:first-of-type label {
15606
15702
  border-radius: var(--segmented-control-first-border-radius);
15607
15703
  }
@@ -15609,10 +15705,10 @@ var segmentedControlItemStyles = css102`
15609
15705
  border-radius: var(--segmented-control-last-border-radius);
15610
15706
  }
15611
15707
  `;
15612
- var segmentedControlInputStyles = css102`
15708
+ var segmentedControlInputStyles = css103`
15613
15709
  ${accessibleHidden}
15614
15710
  `;
15615
- var segmentedControlLabelStyles = (checked, disabled2) => css102`
15711
+ var segmentedControlLabelStyles = (checked, disabled2) => css103`
15616
15712
  position: relative;
15617
15713
  display: flex;
15618
15714
  align-items: center;
@@ -15676,25 +15772,25 @@ var segmentedControlLabelStyles = (checked, disabled2) => css102`
15676
15772
  `}
15677
15773
  }
15678
15774
  `;
15679
- var segmentedControlLabelIconOnlyStyles = css102`
15775
+ var segmentedControlLabelIconOnlyStyles = css103`
15680
15776
  padding-inline: 0.5em;
15681
15777
  `;
15682
- var segmentedControlLabelCheckStyles = css102`
15778
+ var segmentedControlLabelCheckStyles = css103`
15683
15779
  opacity: 0.5;
15684
15780
  `;
15685
- var segmentedControlLabelContentStyles = css102`
15781
+ var segmentedControlLabelContentStyles = css103`
15686
15782
  display: flex;
15687
15783
  align-items: center;
15688
15784
  justify-content: center;
15689
15785
  gap: var(--spacing-sm);
15690
15786
  height: 100%;
15691
15787
  `;
15692
- var segmentedControlLabelTextStyles = css102`
15788
+ var segmentedControlLabelTextStyles = css103`
15693
15789
  white-space: nowrap;
15694
15790
  `;
15695
15791
 
15696
15792
  // src/components/SegmentedControl/SegmentedControl.tsx
15697
- import { jsx as jsx136, jsxs as jsxs92 } from "@emotion/react/jsx-runtime";
15793
+ import { jsx as jsx137, jsxs as jsxs92 } from "@emotion/react/jsx-runtime";
15698
15794
  var SegmentedControl = ({
15699
15795
  name,
15700
15796
  options,
@@ -15722,10 +15818,10 @@ var SegmentedControl = ({
15722
15818
  );
15723
15819
  const sizeStyles = useMemo9(() => {
15724
15820
  const map = {
15725
- sm: css103({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
15726
- md: css103({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
15727
- lg: css103({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" }),
15728
- xl: css103({ height: "calc(48px - 2px)", fontSize: "var(--fs-base)" })
15821
+ sm: css104({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
15822
+ md: css104({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
15823
+ lg: css104({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" }),
15824
+ xl: css104({ height: "calc(48px - 2px)", fontSize: "var(--fs-base)" })
15729
15825
  };
15730
15826
  return map[size];
15731
15827
  }, [size]);
@@ -15754,7 +15850,7 @@ var SegmentedControl = ({
15754
15850
  };
15755
15851
  }, []);
15756
15852
  return /* @__PURE__ */ jsxs92("div", { css: [segmentedControlRootStyles, { "--background-color": currentBackgroundColor }], children: [
15757
- /* @__PURE__ */ jsx136("div", { ref: wrapperRef, css: segmentedControlWrapperStyles, children: /* @__PURE__ */ jsx136(
15853
+ /* @__PURE__ */ jsx137("div", { ref: wrapperRef, css: segmentedControlWrapperStyles, children: /* @__PURE__ */ jsx137(
15758
15854
  "div",
15759
15855
  {
15760
15856
  css: [
@@ -15771,7 +15867,7 @@ var SegmentedControl = ({
15771
15867
  const text = option.label ? option.label : option.icon ? null : String(option.value);
15772
15868
  const isDisabled = disabled2 || option.disabled;
15773
15869
  const isChecked = option.value === value;
15774
- return /* @__PURE__ */ jsx136(Tooltip, { title: (_a = option.tooltip) != null ? _a : "", children: /* @__PURE__ */ jsx136(
15870
+ return /* @__PURE__ */ jsx137(Tooltip, { title: (_a = option.tooltip) != null ? _a : "", children: /* @__PURE__ */ jsx137(
15775
15871
  "div",
15776
15872
  {
15777
15873
  css: segmentedControlItemStyles,
@@ -15785,7 +15881,7 @@ var SegmentedControl = ({
15785
15881
  isIconOnly ? segmentedControlLabelIconOnlyStyles : void 0
15786
15882
  ],
15787
15883
  children: [
15788
- /* @__PURE__ */ jsx136(
15884
+ /* @__PURE__ */ jsx137(
15789
15885
  "input",
15790
15886
  {
15791
15887
  css: segmentedControlInputStyles,
@@ -15797,10 +15893,10 @@ var SegmentedControl = ({
15797
15893
  disabled: isDisabled
15798
15894
  }
15799
15895
  ),
15800
- option.value !== value || noCheckmark ? null : /* @__PURE__ */ jsx136(CgCheck5, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
15896
+ option.value !== value || noCheckmark ? null : /* @__PURE__ */ jsx137(CgCheck5, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
15801
15897
  /* @__PURE__ */ jsxs92("span", { css: segmentedControlLabelContentStyles, children: [
15802
- !option.icon ? null : /* @__PURE__ */ jsx136(Icon, { icon: option.icon, size: iconSize, iconColor: "currentColor" }),
15803
- !text || hideOptionText ? null : /* @__PURE__ */ jsx136("span", { css: segmentedControlLabelTextStyles, children: text })
15898
+ !option.icon ? null : /* @__PURE__ */ jsx137(Icon, { icon: option.icon, size: iconSize, iconColor: "currentColor" }),
15899
+ !text || hideOptionText ? null : /* @__PURE__ */ jsx137("span", { css: segmentedControlLabelTextStyles, children: text })
15804
15900
  ] })
15805
15901
  ]
15806
15902
  }
@@ -15810,7 +15906,7 @@ var SegmentedControl = ({
15810
15906
  })
15811
15907
  }
15812
15908
  ) }),
15813
- /* @__PURE__ */ jsx136(
15909
+ /* @__PURE__ */ jsx137(
15814
15910
  "div",
15815
15911
  {
15816
15912
  css: [
@@ -15824,18 +15920,18 @@ var SegmentedControl = ({
15824
15920
  };
15825
15921
 
15826
15922
  // src/components/Skeleton/Skeleton.styles.ts
15827
- import { css as css104, keyframes as keyframes5 } from "@emotion/react";
15923
+ import { css as css105, keyframes as keyframes5 } from "@emotion/react";
15828
15924
  var lightFadingOut = keyframes5`
15829
15925
  from { opacity: 0.1; }
15830
15926
  to { opacity: 0.025; }
15831
15927
  `;
15832
- var skeletonStyles = css104`
15928
+ var skeletonStyles = css105`
15833
15929
  animation: ${lightFadingOut} 1s ease-out infinite alternate;
15834
15930
  background-color: var(--gray-900);
15835
15931
  `;
15836
15932
 
15837
15933
  // src/components/Skeleton/Skeleton.tsx
15838
- import { jsx as jsx137 } from "@emotion/react/jsx-runtime";
15934
+ import { jsx as jsx138 } from "@emotion/react/jsx-runtime";
15839
15935
  var Skeleton = ({
15840
15936
  width = "100%",
15841
15937
  height = "1.25rem",
@@ -15843,7 +15939,7 @@ var Skeleton = ({
15843
15939
  circle = false,
15844
15940
  children,
15845
15941
  ...otherProps
15846
- }) => /* @__PURE__ */ jsx137(
15942
+ }) => /* @__PURE__ */ jsx138(
15847
15943
  "div",
15848
15944
  {
15849
15945
  css: [
@@ -15866,8 +15962,8 @@ var Skeleton = ({
15866
15962
  import { useEffect as useEffect25, useRef as useRef13 } from "react";
15867
15963
 
15868
15964
  // src/components/Spinner/Spinner.styles.ts
15869
- import { css as css105 } from "@emotion/react";
15870
- var SpinnerStyles = css105`
15965
+ import { css as css106 } from "@emotion/react";
15966
+ var SpinnerStyles = css106`
15871
15967
  --color: #00b4ff;
15872
15968
  --speed: 5s;
15873
15969
  --red: rgb(218, 63, 50);
@@ -16297,7 +16393,7 @@ var SpinnerStyles = css105`
16297
16393
  `;
16298
16394
 
16299
16395
  // src/components/Spinner/Spinner.tsx
16300
- import { jsx as jsx138, jsxs as jsxs93 } from "@emotion/react/jsx-runtime";
16396
+ import { jsx as jsx139, jsxs as jsxs93 } from "@emotion/react/jsx-runtime";
16301
16397
  var Spinner = ({
16302
16398
  width,
16303
16399
  label,
@@ -16320,51 +16416,51 @@ var Spinner = ({
16320
16416
  css: SpinnerStyles,
16321
16417
  className: `container${isPaused ? " paused" : ""}`,
16322
16418
  children: [
16323
- /* @__PURE__ */ jsx138("div", { className: "pyramid-container", children: /* @__PURE__ */ jsxs93("div", { className: "pyramid top", children: [
16324
- /* @__PURE__ */ jsx138("div", { className: "side one" }),
16325
- /* @__PURE__ */ jsx138("div", { className: "side two" }),
16326
- /* @__PURE__ */ jsx138("div", { className: "side three" }),
16327
- /* @__PURE__ */ jsx138("div", { className: "side four" }),
16419
+ /* @__PURE__ */ jsx139("div", { className: "pyramid-container", children: /* @__PURE__ */ jsxs93("div", { className: "pyramid top", children: [
16420
+ /* @__PURE__ */ jsx139("div", { className: "side one" }),
16421
+ /* @__PURE__ */ jsx139("div", { className: "side two" }),
16422
+ /* @__PURE__ */ jsx139("div", { className: "side three" }),
16423
+ /* @__PURE__ */ jsx139("div", { className: "side four" }),
16328
16424
  /* @__PURE__ */ jsxs93("div", { className: "bottom-pyramid", children: [
16329
- /* @__PURE__ */ jsx138("div", { className: "side five" }),
16330
- /* @__PURE__ */ jsx138("div", { className: "side six" }),
16331
- /* @__PURE__ */ jsx138("div", { className: "side seven" }),
16332
- /* @__PURE__ */ jsx138("div", { className: "side eight" })
16425
+ /* @__PURE__ */ jsx139("div", { className: "side five" }),
16426
+ /* @__PURE__ */ jsx139("div", { className: "side six" }),
16427
+ /* @__PURE__ */ jsx139("div", { className: "side seven" }),
16428
+ /* @__PURE__ */ jsx139("div", { className: "side eight" })
16333
16429
  ] })
16334
16430
  ] }) }),
16335
- /* @__PURE__ */ jsx138("div", { className: "turning-circle" }),
16431
+ /* @__PURE__ */ jsx139("div", { className: "turning-circle" }),
16336
16432
  /* @__PURE__ */ jsxs93("div", { className: "pulsating-star delay-top-right", children: [
16337
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-center" }),
16338
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-top" }),
16339
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-bottom" }),
16340
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-left" }),
16341
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-right" })
16433
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-center" }),
16434
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-top" }),
16435
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-bottom" }),
16436
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-left" }),
16437
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-right" })
16342
16438
  ] }),
16343
16439
  /* @__PURE__ */ jsxs93("div", { className: "pulsating-star delay-top-left-2", children: [
16344
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-center" }),
16345
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-top" }),
16346
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-bottom" }),
16347
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-left" }),
16348
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-right" })
16440
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-center" }),
16441
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-top" }),
16442
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-bottom" }),
16443
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-left" }),
16444
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-right" })
16349
16445
  ] }),
16350
16446
  /* @__PURE__ */ jsxs93("div", { className: "pulsating-star delay-top-left", children: [
16351
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-top" }),
16352
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-bottom" }),
16353
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-left" }),
16354
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-right" })
16447
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-top" }),
16448
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-bottom" }),
16449
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-left" }),
16450
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-right" })
16355
16451
  ] }),
16356
16452
  /* @__PURE__ */ jsxs93("div", { className: "pulsating-star delay-bottom-right", children: [
16357
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-top" }),
16358
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-bottom" }),
16359
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-left" }),
16360
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-right" })
16453
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-top" }),
16454
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-bottom" }),
16455
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-left" }),
16456
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-right" })
16361
16457
  ] }),
16362
16458
  /* @__PURE__ */ jsxs93("div", { className: "pulsating-star delay-bottom-left", children: [
16363
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-center" }),
16364
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-top" }),
16365
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-bottom" }),
16366
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-left" }),
16367
- /* @__PURE__ */ jsx138("div", { className: "star-inner star-right" })
16459
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-center" }),
16460
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-top" }),
16461
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-bottom" }),
16462
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-left" }),
16463
+ /* @__PURE__ */ jsx139("div", { className: "star-inner star-right" })
16368
16464
  ] })
16369
16465
  ]
16370
16466
  }
@@ -16375,8 +16471,8 @@ var Spinner = ({
16375
16471
  import { forwardRef as forwardRef29, useMemo as useMemo10 } from "react";
16376
16472
 
16377
16473
  // src/components/Switch/Switch.styles.ts
16378
- import { css as css106 } from "@emotion/react";
16379
- var SwitchInputContainer = css106`
16474
+ import { css as css107 } from "@emotion/react";
16475
+ var SwitchInputContainer = css107`
16380
16476
  cursor: pointer;
16381
16477
  display: inline-flex;
16382
16478
  position: relative;
@@ -16386,7 +16482,7 @@ var SwitchInputContainer = css106`
16386
16482
  user-select: none;
16387
16483
  z-index: 0;
16388
16484
  `;
16389
- var SwitchInput = (size) => css106`
16485
+ var SwitchInput = (size) => css107`
16390
16486
  appearance: none;
16391
16487
  border-radius: var(--rounded-full);
16392
16488
  background-color: var(--white);
@@ -16425,18 +16521,18 @@ var SwitchInput = (size) => css106`
16425
16521
  cursor: not-allowed;
16426
16522
  }
16427
16523
  `;
16428
- var SwitchInputCheckedDirectionLeft = css106`
16524
+ var SwitchInputCheckedDirectionLeft = css107`
16429
16525
  &:checked {
16430
16526
  transform: translateX(var(--spacing-base));
16431
16527
  }
16432
16528
  `;
16433
- var SwitchInputCheckedDirectionRight = css106`
16529
+ var SwitchInputCheckedDirectionRight = css107`
16434
16530
  transform: translateX(-var(--spacing-base));
16435
16531
  &:checked {
16436
16532
  transform: translateX(0);
16437
16533
  }
16438
16534
  `;
16439
- var SwitchInputDisabled = css106`
16535
+ var SwitchInputDisabled = css107`
16440
16536
  opacity: var(--opacity-50);
16441
16537
  cursor: not-allowed;
16442
16538
 
@@ -16444,19 +16540,19 @@ var SwitchInputDisabled = css106`
16444
16540
  cursor: not-allowed;
16445
16541
  }
16446
16542
  `;
16447
- var SwitchInputLabelAlignmentLeft = (size) => css106`
16543
+ var SwitchInputLabelAlignmentLeft = (size) => css107`
16448
16544
  padding-inline-start: ${size === "sm" ? "var(--spacing-xl)" : "var(--spacing-2xl)"};
16449
16545
  &:before {
16450
16546
  left: 0;
16451
16547
  }
16452
16548
  `;
16453
- var SwitchInputLabelAlignmentRight = (size) => css106`
16549
+ var SwitchInputLabelAlignmentRight = (size) => css107`
16454
16550
  padding-inline-end: ${size === "sm" ? "var(--spacing-xl)" : "var(--spacing-2xl)"};
16455
16551
  &:before {
16456
16552
  right: 0;
16457
16553
  }
16458
16554
  `;
16459
- var SwitchInputLabel = (size) => css106`
16555
+ var SwitchInputLabel = (size) => css107`
16460
16556
  align-items: center;
16461
16557
  color: var(--typography-base);
16462
16558
  display: inline-flex;
@@ -16476,25 +16572,25 @@ var SwitchInputLabel = (size) => css106`
16476
16572
  top: 0;
16477
16573
  }
16478
16574
  `;
16479
- var SwitchTextAlignmentLeft = (size) => css106`
16575
+ var SwitchTextAlignmentLeft = (size) => css107`
16480
16576
  padding-inline-start: ${size === "sm" ? "var(--spacing-xl)" : "var(--spacing-2xl)"};
16481
16577
  `;
16482
- var SwitchTextAlignmentRight = (size) => css106`
16578
+ var SwitchTextAlignmentRight = (size) => css107`
16483
16579
  padding-inline-end: ${size === "sm" ? "var(--spacing-xl)" : "var(--spacing-2xl)"};
16484
16580
  `;
16485
- var SwitchText = css106`
16581
+ var SwitchText = css107`
16486
16582
  color: var(--gray-500);
16487
16583
  font-size: var(--fs-sm);
16488
16584
  `;
16489
- var SwitchInputContainerAlignmentLeft = css106`
16585
+ var SwitchInputContainerAlignmentLeft = css107`
16490
16586
  flex-direction: row;
16491
16587
  `;
16492
- var SwitchInputContainerAlignmentRight = css106`
16588
+ var SwitchInputContainerAlignmentRight = css107`
16493
16589
  flex-direction: row-reverse;
16494
16590
  `;
16495
16591
 
16496
16592
  // src/components/Switch/Switch.tsx
16497
- import { Fragment as Fragment19, jsx as jsx139, jsxs as jsxs94 } from "@emotion/react/jsx-runtime";
16593
+ import { Fragment as Fragment19, jsx as jsx140, jsxs as jsxs94 } from "@emotion/react/jsx-runtime";
16498
16594
  var Switch = forwardRef29(
16499
16595
  ({
16500
16596
  label,
@@ -16534,7 +16630,7 @@ var Switch = forwardRef29(
16534
16630
  inputProps.disabled ? SwitchInputDisabled : void 0
16535
16631
  ],
16536
16632
  children: [
16537
- /* @__PURE__ */ jsx139(
16633
+ /* @__PURE__ */ jsx140(
16538
16634
  "input",
16539
16635
  {
16540
16636
  type: "checkbox",
@@ -16543,11 +16639,11 @@ var Switch = forwardRef29(
16543
16639
  ref
16544
16640
  }
16545
16641
  ),
16546
- /* @__PURE__ */ jsx139("span", { css: [SwitchInputLabel(switchSize), SwitchInputLabelAlignment], children: label })
16642
+ /* @__PURE__ */ jsx140("span", { css: [SwitchInputLabel(switchSize), SwitchInputLabelAlignment], children: label })
16547
16643
  ]
16548
16644
  }
16549
16645
  ),
16550
- additionalText ? /* @__PURE__ */ jsx139(
16646
+ additionalText ? /* @__PURE__ */ jsx140(
16551
16647
  "p",
16552
16648
  {
16553
16649
  css: [
@@ -16563,8 +16659,8 @@ var Switch = forwardRef29(
16563
16659
  );
16564
16660
 
16565
16661
  // src/components/Table/Table.styles.ts
16566
- import { css as css107 } from "@emotion/react";
16567
- var table = ({ cellPadding = "var(--spacing-sm)" }) => css107`
16662
+ import { css as css108 } from "@emotion/react";
16663
+ var table = ({ cellPadding = "var(--spacing-sm)" }) => css108`
16568
16664
  border-bottom: 1px solid var(--gray-400);
16569
16665
  border-collapse: collapse;
16570
16666
  min-width: 100%;
@@ -16584,21 +16680,21 @@ var table = ({ cellPadding = "var(--spacing-sm)" }) => css107`
16584
16680
  background-color: var(--gray-50);
16585
16681
  }
16586
16682
  `;
16587
- var tableHead = css107`
16683
+ var tableHead = css108`
16588
16684
  color: var(--typography-base);
16589
16685
  text-align: left;
16590
16686
  `;
16591
- var tableRow = css107`
16687
+ var tableRow = css108`
16592
16688
  border-bottom: 1px solid var(--gray-200);
16593
16689
  font-size: var(--fs-sm);
16594
16690
  `;
16595
- var tableCellHead = css107`
16691
+ var tableCellHead = css108`
16596
16692
  font-size: var(--fs-sm);
16597
16693
  font-weight: var(--fw-regular);
16598
16694
  line-height: 1.2;
16599
16695
  }
16600
16696
  `;
16601
- var responsiveTableContainer = css107`
16697
+ var responsiveTableContainer = css108`
16602
16698
  max-width: calc(100vw - var(--spacing-md) * 2);
16603
16699
  overflow-x: auto;
16604
16700
  ${scrollbarStyles}
@@ -16617,47 +16713,47 @@ var responsiveTableContainer = css107`
16617
16713
  `;
16618
16714
 
16619
16715
  // src/components/Table/ResponsiveTableContainer.tsx
16620
- import { jsx as jsx140 } from "@emotion/react/jsx-runtime";
16716
+ import { jsx as jsx141 } from "@emotion/react/jsx-runtime";
16621
16717
  var ResponsiveTableContainer = ({ children }) => {
16622
- return /* @__PURE__ */ jsx140("div", { css: responsiveTableContainer, children });
16718
+ return /* @__PURE__ */ jsx141("div", { css: responsiveTableContainer, children });
16623
16719
  };
16624
16720
 
16625
16721
  // src/components/Table/Table.tsx
16626
- import * as React21 from "react";
16627
- import { jsx as jsx141 } from "@emotion/react/jsx-runtime";
16628
- var Table = React21.forwardRef(
16722
+ import * as React22 from "react";
16723
+ import { jsx as jsx142 } from "@emotion/react/jsx-runtime";
16724
+ var Table = React22.forwardRef(
16629
16725
  ({ children, cellPadding, ...otherProps }, ref) => {
16630
- return /* @__PURE__ */ jsx141("table", { ref, css: table({ cellPadding }), ...otherProps, children });
16726
+ return /* @__PURE__ */ jsx142("table", { ref, css: table({ cellPadding }), ...otherProps, children });
16631
16727
  }
16632
16728
  );
16633
- var TableHead = React21.forwardRef(
16729
+ var TableHead = React22.forwardRef(
16634
16730
  ({ children, ...otherProps }, ref) => {
16635
- return /* @__PURE__ */ jsx141("thead", { ref, css: tableHead, ...otherProps, children });
16731
+ return /* @__PURE__ */ jsx142("thead", { ref, css: tableHead, ...otherProps, children });
16636
16732
  }
16637
16733
  );
16638
- var TableBody = React21.forwardRef(
16734
+ var TableBody = React22.forwardRef(
16639
16735
  ({ children, ...otherProps }, ref) => {
16640
- return /* @__PURE__ */ jsx141("tbody", { ref, ...otherProps, children });
16736
+ return /* @__PURE__ */ jsx142("tbody", { ref, ...otherProps, children });
16641
16737
  }
16642
16738
  );
16643
- var TableFoot = React21.forwardRef(
16739
+ var TableFoot = React22.forwardRef(
16644
16740
  ({ children, ...otherProps }, ref) => {
16645
- return /* @__PURE__ */ jsx141("tfoot", { ref, ...otherProps, children });
16741
+ return /* @__PURE__ */ jsx142("tfoot", { ref, ...otherProps, children });
16646
16742
  }
16647
16743
  );
16648
- var TableRow = React21.forwardRef(
16744
+ var TableRow = React22.forwardRef(
16649
16745
  ({ children, ...otherProps }, ref) => {
16650
- return /* @__PURE__ */ jsx141("tr", { ref, css: tableRow, ...otherProps, children });
16746
+ return /* @__PURE__ */ jsx142("tr", { ref, css: tableRow, ...otherProps, children });
16651
16747
  }
16652
16748
  );
16653
- var TableCellHead = React21.forwardRef(
16749
+ var TableCellHead = React22.forwardRef(
16654
16750
  ({ children, ...otherProps }, ref) => {
16655
- return /* @__PURE__ */ jsx141("th", { ref, css: tableCellHead, ...otherProps, children });
16751
+ return /* @__PURE__ */ jsx142("th", { ref, css: tableCellHead, ...otherProps, children });
16656
16752
  }
16657
16753
  );
16658
- var TableCellData = React21.forwardRef(
16754
+ var TableCellData = React22.forwardRef(
16659
16755
  ({ children, ...otherProps }, ref) => {
16660
- return /* @__PURE__ */ jsx141("td", { ref, ...otherProps, children });
16756
+ return /* @__PURE__ */ jsx142("td", { ref, ...otherProps, children });
16661
16757
  }
16662
16758
  );
16663
16759
 
@@ -16672,8 +16768,8 @@ import {
16672
16768
  import { useCallback as useCallback13, useMemo as useMemo11 } from "react";
16673
16769
 
16674
16770
  // src/components/Tabs/Tabs.styles.ts
16675
- import { css as css108 } from "@emotion/react";
16676
- var tabButtonStyles = css108`
16771
+ import { css as css109 } from "@emotion/react";
16772
+ var tabButtonStyles = css109`
16677
16773
  align-items: center;
16678
16774
  border: 0;
16679
16775
  height: 2.5rem;
@@ -16690,14 +16786,14 @@ var tabButtonStyles = css108`
16690
16786
  box-shadow: inset 0 -2px 0 var(--brand-secondary-3);
16691
16787
  }
16692
16788
  `;
16693
- var tabButtonGroupStyles = css108`
16789
+ var tabButtonGroupStyles = css109`
16694
16790
  display: flex;
16695
16791
  gap: var(--spacing-base);
16696
16792
  border-bottom: 1px solid var(--gray-300);
16697
16793
  `;
16698
16794
 
16699
16795
  // src/components/Tabs/Tabs.tsx
16700
- import { jsx as jsx142 } from "@emotion/react/jsx-runtime";
16796
+ import { jsx as jsx143 } from "@emotion/react/jsx-runtime";
16701
16797
  var useCurrentTab = () => {
16702
16798
  const context = useAriakitTabStore();
16703
16799
  if (!context) {
@@ -16728,28 +16824,28 @@ var Tabs = ({
16728
16824
  },
16729
16825
  [onSelectedIdChange, useHashForState]
16730
16826
  );
16731
- return /* @__PURE__ */ jsx142(AriakitTabProvider, { selectedId: selected, selectOnMove: !manual, setSelectedId: onTabSelect, ...props, children });
16827
+ return /* @__PURE__ */ jsx143(AriakitTabProvider, { selectedId: selected, selectOnMove: !manual, setSelectedId: onTabSelect, ...props, children });
16732
16828
  };
16733
16829
  var TabButtonGroup = ({ children, ...props }) => {
16734
- return /* @__PURE__ */ jsx142(AriakitTabList, { ...props, css: tabButtonGroupStyles, children });
16830
+ return /* @__PURE__ */ jsx143(AriakitTabList, { ...props, css: tabButtonGroupStyles, children });
16735
16831
  };
16736
16832
  var TabButton = ({
16737
16833
  children,
16738
16834
  id,
16739
16835
  ...props
16740
16836
  }) => {
16741
- return /* @__PURE__ */ jsx142(AriakitTab, { type: "button", id, ...props, css: tabButtonStyles, children });
16837
+ return /* @__PURE__ */ jsx143(AriakitTab, { type: "button", id, ...props, css: tabButtonStyles, children });
16742
16838
  };
16743
16839
  var TabContent = ({
16744
16840
  children,
16745
16841
  ...props
16746
16842
  }) => {
16747
- return /* @__PURE__ */ jsx142(AriakitTabPanel, { ...props, children });
16843
+ return /* @__PURE__ */ jsx143(AriakitTabPanel, { ...props, children });
16748
16844
  };
16749
16845
 
16750
16846
  // src/components/Validation/StatusBullet.styles.ts
16751
- import { css as css109 } from "@emotion/react";
16752
- var StatusBulletContainer = css109`
16847
+ import { css as css110 } from "@emotion/react";
16848
+ var StatusBulletContainer = css110`
16753
16849
  align-items: center;
16754
16850
  align-self: center;
16755
16851
  color: var(--gray-500);
@@ -16765,33 +16861,33 @@ var StatusBulletContainer = css109`
16765
16861
  display: block;
16766
16862
  }
16767
16863
  `;
16768
- var StatusBulletBase = css109`
16864
+ var StatusBulletBase = css110`
16769
16865
  font-size: var(--fs-sm);
16770
16866
  &:before {
16771
16867
  width: var(--fs-xs);
16772
16868
  height: var(--fs-xs);
16773
16869
  }
16774
16870
  `;
16775
- var StatusBulletSmall = css109`
16871
+ var StatusBulletSmall = css110`
16776
16872
  font-size: var(--fs-xs);
16777
16873
  &:before {
16778
16874
  width: var(--fs-xxs);
16779
16875
  height: var(--fs-xxs);
16780
16876
  }
16781
16877
  `;
16782
- var StatusDraft = css109`
16878
+ var StatusDraft = css110`
16783
16879
  &:before {
16784
16880
  background: var(--white);
16785
16881
  box-shadow: inset 0 0 0 0.125rem var(--accent-dark);
16786
16882
  }
16787
16883
  `;
16788
- var StatusModified = css109`
16884
+ var StatusModified = css110`
16789
16885
  &:before {
16790
16886
  background: linear-gradient(to right, var(--white) 50%, var(--accent-dark) 50% 100%);
16791
16887
  box-shadow: inset 0 0 0 0.125rem var(--accent-dark);
16792
16888
  }
16793
16889
  `;
16794
- var StatusError = css109`
16890
+ var StatusError = css110`
16795
16891
  color: var(--error);
16796
16892
  &:before {
16797
16893
  /* TODO: replace this with an svg icon */
@@ -16804,29 +16900,44 @@ var StatusError = css109`
16804
16900
  );
16805
16901
  }
16806
16902
  `;
16807
- var StatusPublished = css109`
16903
+ var StatusPublished = css110`
16808
16904
  &:before {
16809
16905
  background: var(--accent-dark);
16810
16906
  }
16811
16907
  `;
16812
- var StatusOrphan = css109`
16908
+ var StatusOrphan = css110`
16813
16909
  &:before {
16814
16910
  background: var(--brand-secondary-5);
16815
16911
  }
16816
16912
  `;
16817
- var StatusUnknown = css109`
16913
+ var StatusUnknown = css110`
16818
16914
  &:before {
16819
16915
  background: var(--gray-800);
16820
16916
  }
16821
16917
  `;
16822
- var StatusDeleted = css109`
16918
+ var StatusDeleted = css110`
16823
16919
  &:before {
16824
16920
  background: var(--error);
16825
16921
  }
16826
16922
  `;
16827
16923
 
16828
16924
  // src/components/Validation/StatusBullet.tsx
16829
- import { jsx as jsx143 } from "@emotion/react/jsx-runtime";
16925
+ import { jsx as jsx144 } from "@emotion/react/jsx-runtime";
16926
+ var currentStateStyles = {
16927
+ Error: StatusError,
16928
+ Modified: StatusModified,
16929
+ Unsaved: StatusDraft,
16930
+ Orphan: StatusOrphan,
16931
+ Published: StatusPublished,
16932
+ Draft: StatusDraft,
16933
+ Previous: StatusDraft,
16934
+ Unknown: StatusUnknown,
16935
+ Deleted: StatusDeleted
16936
+ };
16937
+ var statusSize = {
16938
+ sm: StatusBulletSmall,
16939
+ base: StatusBulletBase
16940
+ };
16830
16941
  var StatusBullet = ({
16831
16942
  status,
16832
16943
  hideText = false,
@@ -16835,31 +16946,19 @@ var StatusBullet = ({
16835
16946
  compact = false,
16836
16947
  ...props
16837
16948
  }) => {
16838
- const currentStateStyles = {
16839
- Error: StatusError,
16840
- Modified: StatusModified,
16841
- Unsaved: StatusDraft,
16842
- Orphan: StatusOrphan,
16843
- Published: StatusPublished,
16844
- Draft: StatusDraft,
16845
- Previous: StatusDraft,
16846
- Unknown: StatusUnknown,
16847
- Deleted: StatusDeleted
16848
- };
16849
- const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
16850
- const StatusComponent = () => /* @__PURE__ */ jsx143(
16949
+ const StatusComponent = () => /* @__PURE__ */ jsx144(
16851
16950
  "span",
16852
16951
  {
16853
16952
  role: "status",
16854
- css: [StatusBulletContainer, currentStateStyles[status], statusSize],
16953
+ css: [StatusBulletContainer, currentStateStyles[status], statusSize[size]],
16855
16954
  ...props,
16856
16955
  children: hideText ? null : message ? message : status
16857
16956
  }
16858
16957
  );
16859
16958
  if (compact) {
16860
- return /* @__PURE__ */ jsx143(StatusComponent, {});
16959
+ return /* @__PURE__ */ jsx144(StatusComponent, {});
16861
16960
  }
16862
- return /* @__PURE__ */ jsx143(Tooltip, { title: message != null ? message : status, children: /* @__PURE__ */ jsx143("div", { children: /* @__PURE__ */ jsx143(StatusComponent, {}) }) });
16961
+ return /* @__PURE__ */ jsx144(Tooltip, { title: message != null ? message : status, children: /* @__PURE__ */ jsx144("div", { children: /* @__PURE__ */ jsx144(StatusComponent, {}) }) });
16863
16962
  };
16864
16963
  export {
16865
16964
  AddButton,
@@ -16968,6 +17067,7 @@ export {
16968
17067
  PageHeaderSection,
16969
17068
  Pagination,
16970
17069
  Paragraph,
17070
+ ParameterActionButton,
16971
17071
  ParameterDrawerHeader,
16972
17072
  ParameterGroup,
16973
17073
  ParameterImage,
@@ -17039,6 +17139,7 @@ export {
17039
17139
  VerticalRhythm,
17040
17140
  WarningMessage,
17041
17141
  accessibleHidden,
17142
+ actionBarVisibilityStyles,
17042
17143
  addPathSegmentToPathname,
17043
17144
  borderTopIcon,
17044
17145
  breakpoints,