@uniformdev/design-system 19.55.2-alpha.37 → 19.55.2-alpha.45

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
@@ -1887,9 +1887,9 @@ var AddListButtonBtnSmall = css9`
1887
1887
  font-weight: var(--fw-regular);
1888
1888
  margin-block: var(--spacing-md) 0;
1889
1889
  `;
1890
- var AddListButtonIconMathPlus = (disabled, theme) => css9`
1890
+ var AddListButtonIconMathPlus = (disabled2, theme) => css9`
1891
1891
  box-sizing: border-box;
1892
- background: ${disabled ? "var(--gray-300)" : theme};
1892
+ background: ${disabled2 ? "var(--gray-300)" : theme};
1893
1893
  color: var(--white);
1894
1894
  padding: calc(var(--spacing-xs) - 0.15rem);
1895
1895
  `;
@@ -1903,7 +1903,7 @@ import { jsx as jsx8, jsxs as jsxs3 } from "@emotion/react/jsx-runtime";
1903
1903
  var AddListButton = ({
1904
1904
  buttonText = "Add Item",
1905
1905
  onButtonClick,
1906
- disabled,
1906
+ disabled: disabled2,
1907
1907
  icon = "math-plus",
1908
1908
  variant = "regular",
1909
1909
  theme = "var(--primary-action-default)",
@@ -1925,7 +1925,7 @@ var AddListButton = ({
1925
1925
  css: [variantStylesMap[variant], AddListButtonTheme(theme)],
1926
1926
  onClick: onButtonClick,
1927
1927
  title: buttonText,
1928
- disabled,
1928
+ disabled: disabled2,
1929
1929
  ...buttonProps,
1930
1930
  children: [
1931
1931
  icon === "math-plus" ? /* @__PURE__ */ jsx8(
@@ -1934,7 +1934,7 @@ var AddListButton = ({
1934
1934
  icon: mapIcon[icon],
1935
1935
  iconColor: "currentColor",
1936
1936
  size: "1.25em",
1937
- css: [AddListButtonIcon, AddListButtonIconMathPlus(disabled, theme)]
1937
+ css: [AddListButtonIcon, AddListButtonIconMathPlus(disabled2, theme)]
1938
1938
  }
1939
1939
  ) : /* @__PURE__ */ jsx8(Icon, { icon: mapIcon[icon], iconColor: "currentColor", size: "1.25em", css: AddListButtonIcon }),
1940
1940
  buttonText
@@ -1980,12 +1980,13 @@ var commonLineHeight = css10`
1980
1980
  import { jsx as jsx9 } from "@emotion/react/jsx-runtime";
1981
1981
  var Heading = ({
1982
1982
  level = 2,
1983
+ as,
1983
1984
  asSpan,
1984
1985
  withMarginBottom = true,
1985
1986
  children,
1986
1987
  ...hAttributes
1987
1988
  }) => {
1988
- const Heading2 = asSpan ? "span" : `h${level}`;
1989
+ const Heading2 = (as != null ? as : asSpan) ? "span" : `h${level}`;
1989
1990
  const headingStyle = {
1990
1991
  1: h1,
1991
1992
  2: h2,
@@ -11742,7 +11743,7 @@ import * as React9 from "react";
11742
11743
  import { MenuItem as BaseMenuItem } from "reakit";
11743
11744
  import { jsx as jsx27, jsxs as jsxs16 } from "@emotion/react/jsx-runtime";
11744
11745
  var MenuItem = React9.forwardRef(
11745
- ({ children, className, hideMenuOnClick = true, icon, textColor = "base", active, ...props }, ref) => {
11746
+ ({ children, className, hideMenuOnClick = true, icon, textColor = "base", active: active2, ...props }, ref) => {
11746
11747
  const menuState = useMenuContext();
11747
11748
  const resolveProps = (originalProps) => {
11748
11749
  const resolvedProps2 = { ...originalProps };
@@ -11766,7 +11767,7 @@ var MenuItem = React9.forwardRef(
11766
11767
  "data-testid": "button-menu",
11767
11768
  ...menuState,
11768
11769
  ...resolvedProps,
11769
- css: [menuItem(textColor, active), typeof className === "object" ? className : void 0],
11770
+ css: [menuItem(textColor, active2), typeof className === "object" ? className : void 0],
11770
11771
  className: typeof className === "string" ? className : void 0,
11771
11772
  children: icon ? renderWithIcon(resolvedChildren, icon) : resolvedChildren
11772
11773
  }
@@ -11945,7 +11946,7 @@ var ButtonWithMenu = ({
11945
11946
  buttonType = "secondary",
11946
11947
  buttonText,
11947
11948
  icon,
11948
- disabled,
11949
+ disabled: disabled2,
11949
11950
  children,
11950
11951
  placement,
11951
11952
  size = "lg",
@@ -11981,7 +11982,7 @@ var ButtonWithMenu = ({
11981
11982
  css: [
11982
11983
  sizes2[size],
11983
11984
  ButtonWithMenuContainer,
11984
- disabled ? buttonDisabledTheme[buttonType] : buttonTheme[buttonType]
11985
+ disabled2 ? buttonDisabledTheme[buttonType] : buttonTheme[buttonType]
11985
11986
  ],
11986
11987
  "data-testid": "multioptions-button",
11987
11988
  children: onButtonClick ? /* @__PURE__ */ jsxs17(Fragment6, { children: [
@@ -11990,7 +11991,7 @@ var ButtonWithMenu = ({
11990
11991
  {
11991
11992
  type: "button",
11992
11993
  css: ButtonWithMenuBtn,
11993
- disabled,
11994
+ disabled: disabled2,
11994
11995
  onClick: onButtonClick,
11995
11996
  "data-testid": "multioptions-button-main",
11996
11997
  ...buttonProps,
@@ -12000,8 +12001,8 @@ var ButtonWithMenu = ({
12000
12001
  ]
12001
12002
  }
12002
12003
  ),
12003
- disabled ? clickableButton : /* @__PURE__ */ jsx28(Menu, { menuLabel: "buttonMenu", placement, menuTrigger: clickableButton, children })
12004
- ] }) : /* @__PURE__ */ jsx28(Fragment6, { children: disabled ? dropdownButton : /* @__PURE__ */ jsx28(Menu, { menuLabel: "buttonMenu", placement, menuTrigger: dropdownButton, children }) })
12004
+ disabled2 ? clickableButton : /* @__PURE__ */ jsx28(Menu, { menuLabel: "buttonMenu", placement, menuTrigger: clickableButton, children })
12005
+ ] }) : /* @__PURE__ */ jsx28(Fragment6, { children: disabled2 ? dropdownButton : /* @__PURE__ */ jsx28(Menu, { menuLabel: "buttonMenu", placement, menuTrigger: dropdownButton, children }) })
12005
12006
  }
12006
12007
  );
12007
12008
  };
@@ -12361,7 +12362,7 @@ var Card = ({
12361
12362
  menuItems,
12362
12363
  children,
12363
12364
  titleWithMarginBottom = true,
12364
- disabled,
12365
+ disabled: disabled2,
12365
12366
  tag: Tag = "div",
12366
12367
  menuButtonTestId,
12367
12368
  ...props
@@ -12377,7 +12378,7 @@ var Card = ({
12377
12378
  {
12378
12379
  "aria-label": "More options",
12379
12380
  type: "button",
12380
- disabled,
12381
+ disabled: disabled2,
12381
12382
  css: CardMenu,
12382
12383
  "data-testid": menuButtonTestId != null ? menuButtonTestId : "list-card-menu",
12383
12384
  children: /* @__PURE__ */ jsx31(Icon, { icon: CgMoreAlt, iconColor: "currentColor", size: 32 })
@@ -13827,8 +13828,8 @@ var fieldsetBody = css48`
13827
13828
  // src/components/Input/Fieldset.tsx
13828
13829
  import { jsx as jsx51, jsxs as jsxs31 } from "@emotion/react/jsx-runtime";
13829
13830
  var Fieldset = React15.forwardRef(
13830
- ({ legend, disabled, children, invert, ...props }, ref) => {
13831
- return /* @__PURE__ */ jsxs31("fieldset", { css: fieldsetContainer(Boolean(invert)), ref, disabled, ...props, children: [
13831
+ ({ legend, disabled: disabled2, children, invert, ...props }, ref) => {
13832
+ return /* @__PURE__ */ jsxs31("fieldset", { css: fieldsetContainer(Boolean(invert)), ref, disabled: disabled2, ...props, children: [
13832
13833
  legend,
13833
13834
  /* @__PURE__ */ jsx51("div", { css: fieldsetBody, children })
13834
13835
  ] });
@@ -14187,7 +14188,7 @@ var InputInlineSelect = ({
14187
14188
  options,
14188
14189
  value,
14189
14190
  onChange,
14190
- disabled,
14191
+ disabled: disabled2,
14191
14192
  ...props
14192
14193
  }) => {
14193
14194
  var _a;
@@ -14213,14 +14214,14 @@ var InputInlineSelect = ({
14213
14214
  "aria-expanded": menuVisible,
14214
14215
  css: inlineSelectBtn,
14215
14216
  onClick: () => {
14216
- if (!disabled)
14217
+ if (!disabled2)
14217
14218
  setMenuVisible((prev) => !prev);
14218
14219
  },
14219
- disabled,
14220
+ disabled: disabled2,
14220
14221
  ...props,
14221
14222
  children: [
14222
14223
  /* @__PURE__ */ jsx57("span", { children: (_a = selected == null ? void 0 : selected.label) != null ? _a : value }),
14223
- disabled ? null : /* @__PURE__ */ jsx57(Icon, { icon: CgChevronDown2, iconColor: "currentColor", size: 24 })
14224
+ disabled2 ? null : /* @__PURE__ */ jsx57(Icon, { icon: CgChevronDown2, iconColor: "currentColor", size: 24 })
14224
14225
  ]
14225
14226
  }
14226
14227
  ),
@@ -14256,7 +14257,7 @@ import { CgSearch } from "@react-icons/all-files/cg/CgSearch";
14256
14257
  import { jsx as jsx58 } from "@emotion/react/jsx-runtime";
14257
14258
  var InputKeywordSearch = ({
14258
14259
  onSearchTextChanged,
14259
- disabled = false,
14260
+ disabled: disabled2 = false,
14260
14261
  placeholder = "Keyword search",
14261
14262
  inputFieldName = "keywordSearch",
14262
14263
  disabledFieldSubmission = false,
@@ -14285,7 +14286,7 @@ var InputKeywordSearch = ({
14285
14286
  icon: value ? /* @__PURE__ */ jsx58("button", { css: inputSearchCloseBtn, onClick: onClear, type: "button", children: /* @__PURE__ */ jsx58(Icon, { icon: CgClose4, iconColor: "red", size: "1rem" }) }) : /* @__PURE__ */ jsx58(Icon, { icon: CgSearch, iconColor: "gray", size: "1rem" }),
14286
14287
  onChange: handleSearchTextChanged,
14287
14288
  onKeyPress: preventSubmitOnField,
14288
- disabled,
14289
+ disabled: disabled2,
14289
14290
  "aria-label": placeholder,
14290
14291
  css: [
14291
14292
  compact ? {
@@ -14294,6 +14295,7 @@ var InputKeywordSearch = ({
14294
14295
  } : null,
14295
14296
  rounded ? { borderRadius: "var(--rounded-full)" } : null
14296
14297
  ],
14298
+ "data-testid": "input-search",
14297
14299
  ...props
14298
14300
  }
14299
14301
  );
@@ -14369,7 +14371,7 @@ var InputToggle = React17.forwardRef(
14369
14371
  ({
14370
14372
  label,
14371
14373
  type,
14372
- disabled,
14374
+ disabled: disabled2,
14373
14375
  checked,
14374
14376
  name,
14375
14377
  caption,
@@ -14387,7 +14389,7 @@ var InputToggle = React17.forwardRef(
14387
14389
  return /* @__PURE__ */ jsxs37(
14388
14390
  Label,
14389
14391
  {
14390
- css: [inputToggleLabel, disabled ? inputDisabled : void 0],
14392
+ css: [inputToggleLabel, disabled2 ? inputDisabled : void 0],
14391
14393
  "data-testid": testId ? testId : "input-toggle",
14392
14394
  children: [
14393
14395
  /* @__PURE__ */ jsx60(
@@ -14398,7 +14400,7 @@ var InputToggle = React17.forwardRef(
14398
14400
  css: toggleInput,
14399
14401
  checked,
14400
14402
  name,
14401
- disabled,
14403
+ disabled: disabled2,
14402
14404
  ...props
14403
14405
  }
14404
14406
  ),
@@ -14504,7 +14506,7 @@ var imgLoading = css54`
14504
14506
  opacity: 0;
14505
14507
  `;
14506
14508
  var imgLoaded = css54`
14507
- animation: ${fadeIn} var(--duration-slow) var(--timing-ease-out) forwards;
14509
+ animation: ${fadeIn} var(--duration-fast) var(--timing-ease-out) forwards;
14508
14510
  opacity: 1;
14509
14511
  `;
14510
14512
  var brokenImage = css54`
@@ -14557,7 +14559,7 @@ var ImageBroken = ({ width, height, ...props }) => {
14557
14559
 
14558
14560
  // src/components/Image/Image.tsx
14559
14561
  import { Fragment as Fragment11, jsx as jsx65, jsxs as jsxs41 } from "@emotion/react/jsx-runtime";
14560
- var MIN_LOADING_MS = 500;
14562
+ var MIN_LOADING_MS = 100;
14561
14563
  function Image({
14562
14564
  alt,
14563
14565
  src,
@@ -15158,8 +15160,8 @@ var Tile = css60`
15158
15160
 
15159
15161
  // src/components/Tiles/Tile.tsx
15160
15162
  import { jsx as jsx74 } from "@emotion/react/jsx-runtime";
15161
- var Tile2 = ({ children, disabled, ...props }) => {
15162
- return /* @__PURE__ */ jsx74("button", { type: "button", css: Tile, disabled, ...props, children });
15163
+ var Tile2 = ({ children, disabled: disabled2, ...props }) => {
15164
+ return /* @__PURE__ */ jsx74("button", { type: "button", css: Tile, disabled: disabled2, ...props, children });
15163
15165
  };
15164
15166
 
15165
15167
  // src/components/Tiles/styles/TileContainer.styles.ts
@@ -15238,6 +15240,7 @@ var IntegrationModalHeaderTitleGroup = css63`
15238
15240
  align-items: center;
15239
15241
  display: flex;
15240
15242
  gap: var(--spacing-base);
15243
+ padding: 0 var(--spacing-base);
15241
15244
  `;
15242
15245
  var IntegrationModalHeaderTitle = css63`
15243
15246
  margin-top: 0;
@@ -15246,6 +15249,12 @@ var IntegrationModalHeaderMenuPlacement = css63`
15246
15249
  margin-bottom: var(--spacing-base);
15247
15250
  `;
15248
15251
  var IntegrationModalHeaderContentWrapper = css63`
15252
+ background: var(--white);
15253
+ display: flex;
15254
+ padding: var(--spacing-base);
15255
+ flex-direction: column;
15256
+ gap: var(--spacing-base);
15257
+ height: 100%;
15249
15258
  position: relative;
15250
15259
  z-index: var(--z-10);
15251
15260
  `;
@@ -15575,7 +15584,7 @@ import { jsx as jsx82, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
15575
15584
  var ScrollableListInputItem = ({
15576
15585
  label,
15577
15586
  icon,
15578
- active,
15587
+ active: active2,
15579
15588
  disableShadow = false,
15580
15589
  children,
15581
15590
  labelTestId,
@@ -15587,7 +15596,7 @@ var ScrollableListInputItem = ({
15587
15596
  css: [
15588
15597
  ScrollableListItemContainer,
15589
15598
  disableShadow ? void 0 : ScrollableListItemShadow,
15590
- active ? ScrollableListItemActive : void 0
15599
+ active2 ? ScrollableListItemActive : void 0
15591
15600
  ],
15592
15601
  ...props,
15593
15602
  children: /* @__PURE__ */ jsxs53("label", { "data-testid": labelTestId, css: ScrollableListInputLabel, children: [
@@ -15601,10 +15610,10 @@ var ScrollableListInputItem = ({
15601
15610
  {
15602
15611
  icon: CgCheck2,
15603
15612
  iconColor: "currentColor",
15604
- css: [ScrollableListIcon, active ? ScrollableListIconVisible : void 0],
15613
+ css: [ScrollableListIcon, active2 ? ScrollableListIconVisible : void 0],
15605
15614
  size: 24,
15606
15615
  "data-testid": "check-mark",
15607
- "data-test-active": active
15616
+ "data-test-active": active2
15608
15617
  }
15609
15618
  )
15610
15619
  ] })
@@ -15618,7 +15627,7 @@ import { jsx as jsx83, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
15618
15627
  var ScrollableListItem = ({
15619
15628
  buttonText,
15620
15629
  icon,
15621
- active,
15630
+ active: active2,
15622
15631
  disableShadow,
15623
15632
  ...props
15624
15633
  }) => {
@@ -15628,7 +15637,7 @@ var ScrollableListItem = ({
15628
15637
  css: [
15629
15638
  ScrollableListItemContainer,
15630
15639
  disableShadow ? void 0 : ScrollableListItemShadow,
15631
- active ? ScrollableListItemActive : void 0
15640
+ active2 ? ScrollableListItemActive : void 0
15632
15641
  ],
15633
15642
  children: /* @__PURE__ */ jsxs54("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
15634
15643
  /* @__PURE__ */ jsxs54(HorizontalRhythm, { gap: "xs", align: "center", children: [
@@ -15640,7 +15649,7 @@ var ScrollableListItem = ({
15640
15649
  {
15641
15650
  icon: CgCheck3,
15642
15651
  iconColor: "currentColor",
15643
- css: [ScrollableListIcon, active ? ScrollableListIconVisible : void 0],
15652
+ css: [ScrollableListIcon, active2 ? ScrollableListIconVisible : void 0],
15644
15653
  size: 24
15645
15654
  }
15646
15655
  )
@@ -16118,30 +16127,110 @@ var Modal = React19.forwardRef(
16118
16127
  });
16119
16128
  return /* @__PURE__ */ jsxs59("div", { css: [modalWrapperStyles, wrapperClassName], children: [
16120
16129
  /* @__PURE__ */ jsx88("div", { onClick: onRequestClose, css: modalBackdropStyles }),
16121
- /* @__PURE__ */ jsxs59("dialog", { ref, css: modalStyles, style: { width, height }, ...modalProps, children: [
16122
- /* @__PURE__ */ jsxs59("div", { css: modalHeaderStyles, children: [
16123
- /* @__PURE__ */ jsx88("div", { children: header }),
16124
- /* @__PURE__ */ jsx88(
16125
- Button,
16126
- {
16127
- type: "button",
16128
- onClick: onRequestClose,
16129
- css: modalCloseButtonStyles,
16130
- title: "Close dialog",
16131
- buttonType: "ghost",
16132
- "data-testid": "close-dialog",
16133
- children: /* @__PURE__ */ jsx88(Icon, { icon: CgClose5, iconColor: "gray", size: 24 })
16134
- }
16135
- )
16136
- ] }),
16137
- /* @__PURE__ */ jsx88("div", { css: [modalContentStyles, !withoutContentPadding ? null : { padding: 0 }], children }),
16138
- buttonGroup ? /* @__PURE__ */ jsx88(HorizontalRhythm, { children: buttonGroup }) : null
16139
- ] })
16130
+ /* @__PURE__ */ jsxs59(
16131
+ "dialog",
16132
+ {
16133
+ ref,
16134
+ css: modalStyles,
16135
+ style: { width, height },
16136
+ "data-testid": "side-dialog",
16137
+ ...modalProps,
16138
+ children: [
16139
+ /* @__PURE__ */ jsxs59("div", { css: modalHeaderStyles, children: [
16140
+ /* @__PURE__ */ jsx88("div", { children: header }),
16141
+ /* @__PURE__ */ jsx88(
16142
+ Button,
16143
+ {
16144
+ type: "button",
16145
+ onClick: onRequestClose,
16146
+ css: modalCloseButtonStyles,
16147
+ title: "Close dialog",
16148
+ buttonType: "ghost",
16149
+ "data-testid": "close-dialog",
16150
+ children: /* @__PURE__ */ jsx88(Icon, { icon: CgClose5, iconColor: "gray", size: 24 })
16151
+ }
16152
+ )
16153
+ ] }),
16154
+ /* @__PURE__ */ jsx88("div", { css: [modalContentStyles, !withoutContentPadding ? null : { padding: 0 }], children }),
16155
+ buttonGroup ? /* @__PURE__ */ jsx88(HorizontalRhythm, { children: buttonGroup }) : null
16156
+ ]
16157
+ }
16158
+ )
16140
16159
  ] });
16141
16160
  }
16142
16161
  );
16143
16162
  Modal.displayName = "Modal";
16144
16163
 
16164
+ // src/components/Pagination/Pagination.tsx
16165
+ import Paginate from "react-paginate";
16166
+
16167
+ // src/components/Pagination/Pagniation.styles.ts
16168
+ import { css as css74 } from "@emotion/css";
16169
+ var container = css74`
16170
+ align-items: center;
16171
+ display: flex;
16172
+ `;
16173
+ var disabled = css74`
16174
+ opacity: var(--opacity-50);
16175
+ `;
16176
+ var disabledLink = css74`
16177
+ cursor: pointer-default;
16178
+ `;
16179
+ var pageLink = css74`
16180
+ display: block;
16181
+ padding: var(--spacing-sm) var(--spacing-base);
16182
+ `;
16183
+ var prevNextControls = css74`
16184
+ padding: var(--spacing-sm) var(--spacing-base);
16185
+ `;
16186
+ var active = css74`
16187
+ border-radius: var(--rounded-base);
16188
+ background: var(--gray-200);
16189
+ `;
16190
+ var page = css74`
16191
+ margin-left: var(--spacing-xs);
16192
+ margin-right: var(--spacing-xs);
16193
+ `;
16194
+
16195
+ // src/components/Pagination/Pagination.tsx
16196
+ import { jsx as jsx89 } from "@emotion/react/jsx-runtime";
16197
+ function Pagination({
16198
+ limit,
16199
+ offset,
16200
+ total,
16201
+ onPageChange
16202
+ }) {
16203
+ if (limit < 1) {
16204
+ return null;
16205
+ }
16206
+ const pageCount = Math.ceil(total / limit);
16207
+ const currentPage = Math.ceil(offset / limit);
16208
+ if (pageCount <= 1) {
16209
+ return null;
16210
+ }
16211
+ return /* @__PURE__ */ jsx89(
16212
+ Paginate,
16213
+ {
16214
+ forcePage: currentPage,
16215
+ previousLabel: /* @__PURE__ */ jsx89("div", { className: prevNextControls, children: "<" }),
16216
+ nextLabel: /* @__PURE__ */ jsx89("div", { className: prevNextControls, children: ">" }),
16217
+ breakLabel: "...",
16218
+ pageCount,
16219
+ marginPagesDisplayed: 2,
16220
+ pageRangeDisplayed: 5,
16221
+ onPageChange: ({ selected }) => {
16222
+ onPageChange(limit, selected * limit);
16223
+ },
16224
+ containerClassName: container,
16225
+ disabledClassName: disabled,
16226
+ disabledLinkClassName: disabledLink,
16227
+ pageLinkClassName: pageLink,
16228
+ activeClassName: active,
16229
+ pageClassName: page
16230
+ }
16231
+ );
16232
+ }
16233
+
16145
16234
  // src/components/ParameterInputs/hooks/ParameterShellContext.tsx
16146
16235
  import { createContext as createContext5, useContext as useContext6 } from "react";
16147
16236
  var ParameterShellContext = createContext5({
@@ -16164,8 +16253,8 @@ var useParameterShell = () => {
16164
16253
  };
16165
16254
 
16166
16255
  // src/components/ParameterInputs/styles/LabelLeadingIcon.styles.ts
16167
- import { css as css74 } from "@emotion/react";
16168
- var inputIconBtn = css74`
16256
+ import { css as css75 } from "@emotion/react";
16257
+ var inputIconBtn = css75`
16169
16258
  align-items: center;
16170
16259
  border: none;
16171
16260
  border-radius: var(--rounded-base);
@@ -16191,7 +16280,7 @@ var inputIconBtn = css74`
16191
16280
  `;
16192
16281
 
16193
16282
  // src/components/ParameterInputs/LabelLeadingIcon.tsx
16194
- import { jsx as jsx89, jsxs as jsxs60 } from "@emotion/react/jsx-runtime";
16283
+ import { jsx as jsx90, jsxs as jsxs60 } from "@emotion/react/jsx-runtime";
16195
16284
  var LabelLeadingIcon = ({
16196
16285
  icon,
16197
16286
  iconColor,
@@ -16203,7 +16292,7 @@ var LabelLeadingIcon = ({
16203
16292
  ...props
16204
16293
  }) => {
16205
16294
  const titleFr = title2 != null ? title2 : isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
16206
- return /* @__PURE__ */ jsx89(Tooltip, { title: titleFr, children: /* @__PURE__ */ jsxs60(
16295
+ return /* @__PURE__ */ jsx90(Tooltip, { title: titleFr, children: /* @__PURE__ */ jsxs60(
16207
16296
  "button",
16208
16297
  {
16209
16298
  css: inputIconBtn,
@@ -16212,7 +16301,7 @@ var LabelLeadingIcon = ({
16212
16301
  "aria-disabled": isLocked,
16213
16302
  ...props,
16214
16303
  children: [
16215
- /* @__PURE__ */ jsx89(
16304
+ /* @__PURE__ */ jsx90(
16216
16305
  Icon,
16217
16306
  {
16218
16307
  icon: isLocked ? "lock" : icon ? icon : "arrows-expand-down-right",
@@ -16228,8 +16317,8 @@ var LabelLeadingIcon = ({
16228
16317
  var ConnectToDataElementButton = LabelLeadingIcon;
16229
16318
 
16230
16319
  // src/components/ParameterInputs/styles/ParameterInput.styles.ts
16231
- import { css as css75 } from "@emotion/react";
16232
- var inputContainer2 = css75`
16320
+ import { css as css76 } from "@emotion/react";
16321
+ var inputContainer2 = css76`
16233
16322
  position: relative;
16234
16323
  scroll-margin: var(--spacing-2xl);
16235
16324
 
@@ -16242,14 +16331,14 @@ var inputContainer2 = css75`
16242
16331
  }
16243
16332
  }
16244
16333
  `;
16245
- var labelText2 = css75`
16334
+ var labelText2 = css76`
16246
16335
  align-items: center;
16247
16336
  display: flex;
16248
16337
  gap: var(--spacing-xs);
16249
16338
  font-weight: var(--fw-regular);
16250
16339
  margin: 0 0 var(--spacing-xs);
16251
16340
  `;
16252
- var input2 = css75`
16341
+ var input2 = css76`
16253
16342
  display: block;
16254
16343
  appearance: none;
16255
16344
  box-sizing: border-box;
@@ -16293,18 +16382,18 @@ var input2 = css75`
16293
16382
  color: var(--gray-400);
16294
16383
  }
16295
16384
  `;
16296
- var selectInput = css75`
16385
+ var selectInput = css76`
16297
16386
  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");
16298
16387
  background-position: right var(--spacing-sm) center;
16299
16388
  background-repeat: no-repeat;
16300
16389
  background-size: 1rem;
16301
16390
  padding-right: var(--spacing-xl);
16302
16391
  `;
16303
- var inputWrapper = css75`
16392
+ var inputWrapper = css76`
16304
16393
  display: flex; // used to correct overflow with chrome textarea
16305
16394
  position: relative;
16306
16395
  `;
16307
- var inputIcon2 = css75`
16396
+ var inputIcon2 = css76`
16308
16397
  align-items: center;
16309
16398
  background: var(--white);
16310
16399
  border-radius: var(--rounded-md) 0 0 var(--rounded-md);
@@ -16320,7 +16409,7 @@ var inputIcon2 = css75`
16320
16409
  width: var(--spacing-lg);
16321
16410
  z-index: var(--z-10);
16322
16411
  `;
16323
- var inputToggleLabel2 = css75`
16412
+ var inputToggleLabel2 = css76`
16324
16413
  align-items: center;
16325
16414
  background: var(--white);
16326
16415
  cursor: pointer;
@@ -16331,7 +16420,7 @@ var inputToggleLabel2 = css75`
16331
16420
  min-height: var(--spacing-md);
16332
16421
  position: relative;
16333
16422
  `;
16334
- var toggleInput2 = css75`
16423
+ var toggleInput2 = css76`
16335
16424
  appearance: none;
16336
16425
  border: 1px solid var(--gray-300);
16337
16426
  background: var(--white);
@@ -16370,7 +16459,7 @@ var toggleInput2 = css75`
16370
16459
  border-color: var(--gray-300);
16371
16460
  }
16372
16461
  `;
16373
- var inlineLabel2 = css75`
16462
+ var inlineLabel2 = css76`
16374
16463
  padding-left: var(--spacing-lg);
16375
16464
  font-size: var(--fs-sm);
16376
16465
  font-weight: var(--fw-regular);
@@ -16386,7 +16475,7 @@ var inlineLabel2 = css75`
16386
16475
  }
16387
16476
  }
16388
16477
  `;
16389
- var inputMenu = css75`
16478
+ var inputMenu = css76`
16390
16479
  background: none;
16391
16480
  border: none;
16392
16481
  padding: var(--spacing-2xs);
@@ -16402,11 +16491,11 @@ var inputMenu = css75`
16402
16491
  background-color: var(--gray-200);
16403
16492
  }
16404
16493
  `;
16405
- var textarea2 = css75`
16494
+ var textarea2 = css76`
16406
16495
  resize: vertical;
16407
16496
  min-height: 2rem;
16408
16497
  `;
16409
- var dataConnectButton = css75`
16498
+ var dataConnectButton = css76`
16410
16499
  align-items: center;
16411
16500
  appearance: none;
16412
16501
  box-sizing: border-box;
@@ -16441,7 +16530,7 @@ var dataConnectButton = css75`
16441
16530
  pointer-events: none;
16442
16531
  }
16443
16532
  `;
16444
- var linkParameterBtn = css75`
16533
+ var linkParameterBtn = css76`
16445
16534
  border-radius: var(--rounded-base);
16446
16535
  background: var(--white);
16447
16536
  border: none;
@@ -16450,7 +16539,7 @@ var linkParameterBtn = css75`
16450
16539
  font-size: var(--fs-sm);
16451
16540
  line-height: 1;
16452
16541
  `;
16453
- var linkParameterControls = css75`
16542
+ var linkParameterControls = css76`
16454
16543
  position: absolute;
16455
16544
  inset: 0 0 0 auto;
16456
16545
  padding: 0 var(--spacing-base);
@@ -16459,7 +16548,7 @@ var linkParameterControls = css75`
16459
16548
  justify-content: center;
16460
16549
  gap: var(--spacing-base);
16461
16550
  `;
16462
- var linkParameterInput = (withExternalLinkIcon) => css75`
16551
+ var linkParameterInput = (withExternalLinkIcon) => css76`
16463
16552
  padding-right: calc(
16464
16553
  ${withExternalLinkIcon ? "calc(var(--spacing-lg) * 2 + var(--spacing-xs))" : "var(--spacing-xl)"} +
16465
16554
  var(--spacing-base)
@@ -16472,7 +16561,7 @@ var linkParameterInput = (withExternalLinkIcon) => css75`
16472
16561
  }
16473
16562
  }
16474
16563
  `;
16475
- var linkParameterIcon = css75`
16564
+ var linkParameterIcon = css76`
16476
16565
  align-items: center;
16477
16566
  color: var(--brand-secondary-3);
16478
16567
  display: flex;
@@ -16487,14 +16576,14 @@ var linkParameterIcon = css75`
16487
16576
  `;
16488
16577
 
16489
16578
  // src/components/ParameterInputs/ParameterDataResource.tsx
16490
- import { jsx as jsx90, jsxs as jsxs61 } from "@emotion/react/jsx-runtime";
16579
+ import { jsx as jsx91, jsxs as jsxs61 } from "@emotion/react/jsx-runtime";
16491
16580
  function ParameterDataResource({
16492
16581
  label,
16493
16582
  labelLeadingIcon,
16494
16583
  id,
16495
16584
  onConnectDatasource,
16496
16585
  caption,
16497
- disabled,
16586
+ disabled: disabled2,
16498
16587
  children
16499
16588
  }) {
16500
16589
  return /* @__PURE__ */ jsxs61("div", { "data-testid": "parameter-data-connect-button", children: [
@@ -16508,33 +16597,33 @@ function ParameterDataResource({
16508
16597
  type: "button",
16509
16598
  css: dataConnectButton,
16510
16599
  "aria-controls": id,
16511
- disabled,
16600
+ disabled: disabled2,
16512
16601
  onClick: onConnectDatasource,
16513
16602
  children: [
16514
- /* @__PURE__ */ jsx90("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ jsx90(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
16603
+ /* @__PURE__ */ jsx91("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ jsx91(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
16515
16604
  children
16516
16605
  ]
16517
16606
  }
16518
16607
  ),
16519
- caption ? /* @__PURE__ */ jsx90(Caption, { children: caption }) : null
16608
+ caption ? /* @__PURE__ */ jsx91(Caption, { children: caption }) : null
16520
16609
  ] });
16521
16610
  }
16522
16611
 
16523
16612
  // src/components/ParameterInputs/styles/ParameterDrawerHeader.styles.ts
16524
- import { css as css76 } from "@emotion/react";
16525
- var ParameterDrawerHeaderContainer = css76`
16613
+ import { css as css77 } from "@emotion/react";
16614
+ var ParameterDrawerHeaderContainer = css77`
16526
16615
  align-items: center;
16527
16616
  display: flex;
16528
16617
  gap: var(--spacing-base);
16529
16618
  justify-content: space-between;
16530
16619
  margin-bottom: var(--spacing-sm);
16531
16620
  `;
16532
- var ParameterDrawerHeaderTitleGroup = css76`
16621
+ var ParameterDrawerHeaderTitleGroup = css77`
16533
16622
  align-items: center;
16534
16623
  display: flex;
16535
16624
  gap: var(--spacing-sm);
16536
16625
  `;
16537
- var ParameterDrawerHeaderTitle = css76`
16626
+ var ParameterDrawerHeaderTitle = css77`
16538
16627
  text-overflow: ellipsis;
16539
16628
  white-space: nowrap;
16540
16629
  overflow: hidden;
@@ -16542,12 +16631,12 @@ var ParameterDrawerHeaderTitle = css76`
16542
16631
  `;
16543
16632
 
16544
16633
  // src/components/ParameterInputs/ParameterDrawerHeader.tsx
16545
- import { jsx as jsx91, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
16634
+ import { jsx as jsx92, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
16546
16635
  var ParameterDrawerHeader = ({ title: title2, iconBeforeTitle, children }) => {
16547
16636
  return /* @__PURE__ */ jsxs62("div", { css: ParameterDrawerHeaderContainer, children: [
16548
16637
  /* @__PURE__ */ jsxs62("header", { css: ParameterDrawerHeaderTitleGroup, children: [
16549
16638
  iconBeforeTitle,
16550
- /* @__PURE__ */ jsx91(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title: title2, children: title2 })
16639
+ /* @__PURE__ */ jsx92(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title: title2, children: title2 })
16551
16640
  ] }),
16552
16641
  children
16553
16642
  ] });
@@ -16557,8 +16646,8 @@ var ParameterDrawerHeader = ({ title: title2, iconBeforeTitle, children }) => {
16557
16646
  import { forwardRef as forwardRef10 } from "react";
16558
16647
 
16559
16648
  // src/components/ParameterInputs/styles/ParameterGroup.styles.ts
16560
- import { css as css77 } from "@emotion/react";
16561
- var fieldsetStyles = css77`
16649
+ import { css as css78 } from "@emotion/react";
16650
+ var fieldsetStyles = css78`
16562
16651
  &:disabled,
16563
16652
  [readonly] {
16564
16653
  pointer-events: none;
@@ -16569,7 +16658,7 @@ var fieldsetStyles = css77`
16569
16658
  }
16570
16659
  }
16571
16660
  `;
16572
- var fieldsetLegend2 = css77`
16661
+ var fieldsetLegend2 = css78`
16573
16662
  display: block;
16574
16663
  font-weight: var(--fw-medium);
16575
16664
  margin-bottom: var(--spacing-sm);
@@ -16577,11 +16666,11 @@ var fieldsetLegend2 = css77`
16577
16666
  `;
16578
16667
 
16579
16668
  // src/components/ParameterInputs/ParameterGroup.tsx
16580
- import { jsx as jsx92, jsxs as jsxs63 } from "@emotion/react/jsx-runtime";
16669
+ import { jsx as jsx93, jsxs as jsxs63 } from "@emotion/react/jsx-runtime";
16581
16670
  var ParameterGroup = forwardRef10(
16582
16671
  ({ legend, isDisabled, children, ...props }, ref) => {
16583
16672
  return /* @__PURE__ */ jsxs63("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
16584
- /* @__PURE__ */ jsx92("legend", { css: fieldsetLegend2, children: legend }),
16673
+ /* @__PURE__ */ jsx93("legend", { css: fieldsetLegend2, children: legend }),
16585
16674
  children
16586
16675
  ] });
16587
16676
  }
@@ -16595,15 +16684,15 @@ import { useState as useState10 } from "react";
16595
16684
  import { createPortal as createPortal2 } from "react-dom";
16596
16685
 
16597
16686
  // src/components/ParameterInputs/styles/ParameterImage.styles.ts
16598
- import { css as css78 } from "@emotion/react";
16599
- var previewWrapper = css78`
16687
+ import { css as css79 } from "@emotion/react";
16688
+ var previewWrapper = css79`
16600
16689
  margin-top: var(--spacing-xs);
16601
16690
  background: var(--gray-50);
16602
16691
  padding: var(--spacing-sm);
16603
16692
  border: solid 1px var(--gray-300);
16604
16693
  border-radius: var(--rounded-sm);
16605
16694
  `;
16606
- var previewLink = css78`
16695
+ var previewLink = css79`
16607
16696
  display: block;
16608
16697
  width: 100%;
16609
16698
 
@@ -16611,7 +16700,7 @@ var previewLink = css78`
16611
16700
  max-height: 9rem;
16612
16701
  }
16613
16702
  `;
16614
- var previewModalWrapper = css78`
16703
+ var previewModalWrapper = css79`
16615
16704
  background: var(--gray-50);
16616
16705
  display: flex;
16617
16706
  height: 100%;
@@ -16620,7 +16709,7 @@ var previewModalWrapper = css78`
16620
16709
  border: solid 1px var(--gray-300);
16621
16710
  border-radius: var(--rounded-sm);
16622
16711
  `;
16623
- var previewModalImage = css78`
16712
+ var previewModalImage = css79`
16624
16713
  display: flex;
16625
16714
  height: 100%;
16626
16715
  width: 100%;
@@ -16632,33 +16721,33 @@ var previewModalImage = css78`
16632
16721
  `;
16633
16722
 
16634
16723
  // src/components/ParameterInputs/ParameterImagePreview.tsx
16635
- import { Fragment as Fragment15, jsx as jsx93, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
16724
+ import { Fragment as Fragment15, jsx as jsx94, jsxs as jsxs64 } from "@emotion/react/jsx-runtime";
16636
16725
  function ParameterImagePreview({ imageSrc }) {
16637
16726
  const [showModal, setShowModal] = useState10(false);
16638
16727
  return imageSrc ? /* @__PURE__ */ jsxs64("div", { css: previewWrapper, children: [
16639
- /* @__PURE__ */ jsx93(PreviewImageModal, { open: showModal, imageSrc, onRequestClose: () => setShowModal(false) }),
16640
- /* @__PURE__ */ jsx93(
16728
+ /* @__PURE__ */ jsx94(PreviewImageModal, { open: showModal, imageSrc, onRequestClose: () => setShowModal(false) }),
16729
+ /* @__PURE__ */ jsx94(
16641
16730
  "button",
16642
16731
  {
16643
16732
  css: previewLink,
16644
16733
  onClick: () => {
16645
16734
  setShowModal(true);
16646
16735
  },
16647
- children: /* @__PURE__ */ jsx93(Image, { src: imageSrc, "data-testid": "parameter-image-preview" })
16736
+ children: /* @__PURE__ */ jsx94(Image, { src: imageSrc, "data-testid": "parameter-image-preview" })
16648
16737
  }
16649
16738
  )
16650
16739
  ] }) : null;
16651
16740
  }
16652
16741
  var PreviewImageModal = ({ open, onRequestClose, imageSrc }) => {
16653
- return open ? /* @__PURE__ */ jsx93(Fragment15, { children: createPortal2(
16654
- /* @__PURE__ */ jsx93(
16742
+ return open ? /* @__PURE__ */ jsx94(Fragment15, { children: createPortal2(
16743
+ /* @__PURE__ */ jsx94(
16655
16744
  Modal,
16656
16745
  {
16657
16746
  header: "Image Preview",
16658
16747
  onRequestClose,
16659
16748
  withoutContentPadding: true,
16660
- buttonGroup: /* @__PURE__ */ jsx93(Button, { buttonType: "secondary", onClick: onRequestClose, children: "Ok" }),
16661
- children: /* @__PURE__ */ jsx93("div", { css: previewModalWrapper, children: /* @__PURE__ */ jsx93(Image, { src: imageSrc, css: previewModalImage, "data-testid": "parameter-image-preview" }) })
16749
+ buttonGroup: /* @__PURE__ */ jsx94(Button, { buttonType: "secondary", onClick: onRequestClose, children: "Ok" }),
16750
+ children: /* @__PURE__ */ jsx94("div", { css: previewModalWrapper, children: /* @__PURE__ */ jsx94(Image, { src: imageSrc, css: previewModalImage, "data-testid": "parameter-image-preview" }) })
16662
16751
  }
16663
16752
  ),
16664
16753
  document.body
@@ -16666,25 +16755,25 @@ var PreviewImageModal = ({ open, onRequestClose, imageSrc }) => {
16666
16755
  };
16667
16756
 
16668
16757
  // src/components/ParameterInputs/ParameterShell.tsx
16669
- import { css as css80 } from "@emotion/react";
16758
+ import { css as css81 } from "@emotion/react";
16670
16759
  import { useState as useState11 } from "react";
16671
16760
 
16672
16761
  // src/components/ParameterInputs/ParameterLabel.tsx
16673
- import { jsx as jsx94 } from "@emotion/react/jsx-runtime";
16762
+ import { jsx as jsx95 } from "@emotion/react/jsx-runtime";
16674
16763
  var ParameterLabel = ({ id, asSpan, children, ...props }) => {
16675
- return !asSpan ? /* @__PURE__ */ jsx94("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ jsx94("span", { "aria-labelledby": id, css: labelText2, children });
16764
+ return !asSpan ? /* @__PURE__ */ jsx95("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ jsx95("span", { "aria-labelledby": id, css: labelText2, children });
16676
16765
  };
16677
16766
 
16678
16767
  // src/components/ParameterInputs/ParameterMenuButton.tsx
16679
16768
  import { forwardRef as forwardRef11 } from "react";
16680
- import { jsx as jsx95 } from "@emotion/react/jsx-runtime";
16769
+ import { jsx as jsx96 } from "@emotion/react/jsx-runtime";
16681
16770
  var ParameterMenuButton = forwardRef11(
16682
16771
  ({ label, children }, ref) => {
16683
- return /* @__PURE__ */ jsx95(
16772
+ return /* @__PURE__ */ jsx96(
16684
16773
  Menu,
16685
16774
  {
16686
16775
  menuLabel: `${label} menu`,
16687
- menuTrigger: /* @__PURE__ */ jsx95(
16776
+ menuTrigger: /* @__PURE__ */ jsx96(
16688
16777
  "button",
16689
16778
  {
16690
16779
  className: "parameter-menu",
@@ -16692,7 +16781,7 @@ var ParameterMenuButton = forwardRef11(
16692
16781
  type: "button",
16693
16782
  "aria-label": `${label} options`,
16694
16783
  ref,
16695
- children: /* @__PURE__ */ jsx95(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
16784
+ children: /* @__PURE__ */ jsx96(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
16696
16785
  }
16697
16786
  ),
16698
16787
  children
@@ -16702,8 +16791,8 @@ var ParameterMenuButton = forwardRef11(
16702
16791
  );
16703
16792
 
16704
16793
  // src/components/ParameterInputs/styles/ParameterShell.styles.ts
16705
- import { css as css79 } from "@emotion/react";
16706
- var emptyParameterShell = css79`
16794
+ import { css as css80 } from "@emotion/react";
16795
+ var emptyParameterShell = css80`
16707
16796
  border-radius: var(--rounded-sm);
16708
16797
  background: var(--white);
16709
16798
  flex-grow: 1;
@@ -16711,7 +16800,7 @@ var emptyParameterShell = css79`
16711
16800
  position: relative;
16712
16801
  max-width: 100%;
16713
16802
  `;
16714
- var emptyParameterShellText = css79`
16803
+ var emptyParameterShellText = css80`
16715
16804
  background: var(--brand-secondary-6);
16716
16805
  border-radius: var(--rounded-sm);
16717
16806
  padding: var(--spacing-sm);
@@ -16719,7 +16808,7 @@ var emptyParameterShellText = css79`
16719
16808
  font-size: var(--fs-sm);
16720
16809
  margin: 0;
16721
16810
  `;
16722
- var overrideMarker = css79`
16811
+ var overrideMarker = css80`
16723
16812
  border-radius: var(--rounded-sm);
16724
16813
  border: 10px solid var(--gray-300);
16725
16814
  border-left-color: transparent;
@@ -16730,7 +16819,7 @@ var overrideMarker = css79`
16730
16819
  `;
16731
16820
 
16732
16821
  // src/components/ParameterInputs/ParameterShell.tsx
16733
- import { jsx as jsx96, jsxs as jsxs65 } from "@emotion/react/jsx-runtime";
16822
+ import { jsx as jsx97, jsxs as jsxs65 } from "@emotion/react/jsx-runtime";
16734
16823
  var extractParameterProps = (props) => {
16735
16824
  const {
16736
16825
  id,
@@ -16804,23 +16893,23 @@ var ParameterShell = ({
16804
16893
  labelTrailingIcon != null ? labelTrailingIcon : null
16805
16894
  ] }),
16806
16895
  /* @__PURE__ */ jsxs65("div", { css: inputWrapper, children: [
16807
- actionItems ? /* @__PURE__ */ jsx96(
16896
+ actionItems ? /* @__PURE__ */ jsx97(
16808
16897
  "div",
16809
16898
  {
16810
16899
  css: [
16811
16900
  inputMenu,
16812
- css80`
16901
+ css81`
16813
16902
  opacity: var(--opacity-100);
16814
16903
  `,
16815
- menuItems ? css80`
16904
+ menuItems ? css81`
16816
16905
  right: var(--spacing-md);
16817
16906
  ` : void 0
16818
16907
  ],
16819
16908
  children: actionItems
16820
16909
  }
16821
16910
  ) : null,
16822
- menuItems ? /* @__PURE__ */ jsx96(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
16823
- /* @__PURE__ */ jsx96(
16911
+ menuItems ? /* @__PURE__ */ jsx97(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
16912
+ /* @__PURE__ */ jsx97(
16824
16913
  ParameterShellContext.Provider,
16825
16914
  {
16826
16915
  value: {
@@ -16832,29 +16921,29 @@ var ParameterShell = ({
16832
16921
  },
16833
16922
  children: /* @__PURE__ */ jsxs65(ParameterShellPlaceholder, { children: [
16834
16923
  children,
16835
- hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx96(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
16924
+ hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx97(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
16836
16925
  ] })
16837
16926
  }
16838
16927
  )
16839
16928
  ] }),
16840
- caption ? /* @__PURE__ */ jsx96(Caption, { testId: captionTestId, children: caption }) : null,
16841
- errorMessaging ? /* @__PURE__ */ jsx96(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null,
16842
- warningMessage ? /* @__PURE__ */ jsx96(WarningMessage, { message: warningMessage }) : null,
16843
- infoMessage ? /* @__PURE__ */ jsx96(InfoMessage, { message: infoMessage }) : null
16929
+ caption ? /* @__PURE__ */ jsx97(Caption, { testId: captionTestId, children: caption }) : null,
16930
+ errorMessaging ? /* @__PURE__ */ jsx97(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null,
16931
+ warningMessage ? /* @__PURE__ */ jsx97(WarningMessage, { message: warningMessage }) : null,
16932
+ infoMessage ? /* @__PURE__ */ jsx97(InfoMessage, { message: infoMessage }) : null
16844
16933
  ] });
16845
16934
  };
16846
16935
  var ParameterShellPlaceholder = ({ children }) => {
16847
- return /* @__PURE__ */ jsx96("div", { css: emptyParameterShell, children });
16936
+ return /* @__PURE__ */ jsx97("div", { css: emptyParameterShell, children });
16848
16937
  };
16849
- var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx96(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx96("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx96("span", { hidden: true, children: "reset overridden value to default" }) }) });
16938
+ var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx97(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx97("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx97("span", { hidden: true, children: "reset overridden value to default" }) }) });
16850
16939
 
16851
16940
  // src/components/ParameterInputs/ParameterImage.tsx
16852
- import { Fragment as Fragment16, jsx as jsx97, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
16941
+ import { Fragment as Fragment16, jsx as jsx98, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
16853
16942
  var ParameterImage = forwardRef12(
16854
16943
  ({ children, ...props }, ref) => {
16855
16944
  const { shellProps, innerProps } = extractParameterProps(props);
16856
16945
  return /* @__PURE__ */ jsxs66(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: [
16857
- /* @__PURE__ */ jsx97(ParameterImageInner, { ref, ...innerProps }),
16946
+ /* @__PURE__ */ jsx98(ParameterImageInner, { ref, ...innerProps }),
16858
16947
  children
16859
16948
  ] });
16860
16949
  }
@@ -16864,7 +16953,7 @@ var ParameterImageInner = forwardRef12((props, ref) => {
16864
16953
  const { id, label, hiddenLabel, errorMessage } = useParameterShell();
16865
16954
  const deferredValue = useDeferredValue(value);
16866
16955
  return /* @__PURE__ */ jsxs66(Fragment16, { children: [
16867
- /* @__PURE__ */ jsx97(
16956
+ /* @__PURE__ */ jsx98(
16868
16957
  "input",
16869
16958
  {
16870
16959
  css: input2,
@@ -16876,21 +16965,21 @@ var ParameterImageInner = forwardRef12((props, ref) => {
16876
16965
  ...props
16877
16966
  }
16878
16967
  ),
16879
- errorMessage || props.disablePreview ? null : /* @__PURE__ */ jsx97(ParameterImagePreview, { imageSrc: deferredValue })
16968
+ errorMessage || props.disablePreview ? null : /* @__PURE__ */ jsx98(ParameterImagePreview, { imageSrc: deferredValue })
16880
16969
  ] });
16881
16970
  });
16882
16971
 
16883
16972
  // src/components/ParameterInputs/ParameterInput.tsx
16884
16973
  import { forwardRef as forwardRef13 } from "react";
16885
- import { jsx as jsx98 } from "@emotion/react/jsx-runtime";
16974
+ import { jsx as jsx99 } from "@emotion/react/jsx-runtime";
16886
16975
  var ParameterInput = forwardRef13((props, ref) => {
16887
16976
  const { shellProps, innerProps } = extractParameterProps(props);
16888
- return /* @__PURE__ */ jsx98(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx98(ParameterInputInner, { ref, ...innerProps }) });
16977
+ return /* @__PURE__ */ jsx99(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx99(ParameterInputInner, { ref, ...innerProps }) });
16889
16978
  });
16890
16979
  var ParameterInputInner = forwardRef13(
16891
16980
  ({ ...props }, ref) => {
16892
16981
  const { id, label, hiddenLabel } = useParameterShell();
16893
- return /* @__PURE__ */ jsx98(
16982
+ return /* @__PURE__ */ jsx99(
16894
16983
  "input",
16895
16984
  {
16896
16985
  css: input2,
@@ -16907,18 +16996,18 @@ var ParameterInputInner = forwardRef13(
16907
16996
 
16908
16997
  // src/components/ParameterInputs/ParameterLink.tsx
16909
16998
  import { forwardRef as forwardRef14 } from "react";
16910
- import { jsx as jsx99, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
16999
+ import { jsx as jsx100, jsxs as jsxs67 } from "@emotion/react/jsx-runtime";
16911
17000
  var ParameterLink = forwardRef14(
16912
- ({ disabled, onConnectLink, externalLink, ...props }, ref) => {
17001
+ ({ disabled: disabled2, onConnectLink, externalLink, ...props }, ref) => {
16913
17002
  const { shellProps, innerProps } = extractParameterProps(props);
16914
- return /* @__PURE__ */ jsx99(
17003
+ return /* @__PURE__ */ jsx100(
16915
17004
  ParameterShell,
16916
17005
  {
16917
17006
  "data-testid": "link-parameter-editor",
16918
17007
  ...shellProps,
16919
17008
  label: innerProps.value ? shellProps.label : "",
16920
17009
  title: !innerProps.value ? shellProps.label : void 0,
16921
- children: /* @__PURE__ */ jsx99(
17010
+ children: /* @__PURE__ */ jsx100(
16922
17011
  ParameterLinkInner,
16923
17012
  {
16924
17013
  onConnectLink,
@@ -16932,12 +17021,12 @@ var ParameterLink = forwardRef14(
16932
17021
  }
16933
17022
  );
16934
17023
  var ParameterLinkInner = forwardRef14(
16935
- ({ externalLink, onConnectLink, disabled, buttonText = "Select link", ...props }, ref) => {
17024
+ ({ externalLink, onConnectLink, disabled: disabled2, buttonText = "Select link", ...props }, ref) => {
16936
17025
  const { id, label, hiddenLabel } = useParameterShell();
16937
17026
  if (!props.value)
16938
- return /* @__PURE__ */ jsx99("button", { type: "button", css: dataConnectButton, disabled, onClick: onConnectLink, children: buttonText });
17027
+ return /* @__PURE__ */ jsx100("button", { type: "button", css: dataConnectButton, disabled: disabled2, onClick: onConnectLink, children: buttonText });
16939
17028
  return /* @__PURE__ */ jsxs67("div", { css: inputWrapper, children: [
16940
- /* @__PURE__ */ jsx99(
17029
+ /* @__PURE__ */ jsx100(
16941
17030
  "input",
16942
17031
  {
16943
17032
  type: "text",
@@ -16950,18 +17039,18 @@ var ParameterLinkInner = forwardRef14(
16950
17039
  }
16951
17040
  ),
16952
17041
  /* @__PURE__ */ jsxs67("div", { css: linkParameterControls, children: [
16953
- /* @__PURE__ */ jsx99(
17042
+ /* @__PURE__ */ jsx100(
16954
17043
  "button",
16955
17044
  {
16956
17045
  type: "button",
16957
17046
  css: linkParameterBtn,
16958
- disabled,
17047
+ disabled: disabled2,
16959
17048
  onClick: onConnectLink,
16960
17049
  title: "edit current selection",
16961
17050
  children: "edit"
16962
17051
  }
16963
17052
  ),
16964
- externalLink ? /* @__PURE__ */ jsx99(
17053
+ externalLink ? /* @__PURE__ */ jsx100(
16965
17054
  "a",
16966
17055
  {
16967
17056
  href: externalLink,
@@ -16969,7 +17058,7 @@ var ParameterLinkInner = forwardRef14(
16969
17058
  title: "Open link in new tab",
16970
17059
  target: "_blank",
16971
17060
  rel: "noopener noreferrer",
16972
- children: /* @__PURE__ */ jsx99(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
17061
+ children: /* @__PURE__ */ jsx100(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
16973
17062
  }
16974
17063
  ) : null
16975
17064
  ] })
@@ -16978,7 +17067,7 @@ var ParameterLinkInner = forwardRef14(
16978
17067
  );
16979
17068
 
16980
17069
  // src/components/ParameterInputs/ParameterNameAndPublicIdInput.tsx
16981
- import { Fragment as Fragment17, jsx as jsx100, jsxs as jsxs68 } from "@emotion/react/jsx-runtime";
17070
+ import { Fragment as Fragment17, jsx as jsx101, jsxs as jsxs68 } from "@emotion/react/jsx-runtime";
16982
17071
  var ParameterNameAndPublicIdInput = ({
16983
17072
  id,
16984
17073
  onBlur,
@@ -17005,7 +17094,7 @@ var ParameterNameAndPublicIdInput = ({
17005
17094
  };
17006
17095
  autoFocus == null ? void 0 : autoFocus();
17007
17096
  return /* @__PURE__ */ jsxs68(Fragment17, { children: [
17008
- /* @__PURE__ */ jsx100(
17097
+ /* @__PURE__ */ jsx101(
17009
17098
  ParameterInput,
17010
17099
  {
17011
17100
  id: nameIdField,
@@ -17024,7 +17113,7 @@ var ParameterNameAndPublicIdInput = ({
17024
17113
  value: values[nameIdField]
17025
17114
  }
17026
17115
  ),
17027
- /* @__PURE__ */ jsx100(
17116
+ /* @__PURE__ */ jsx101(
17028
17117
  ParameterInput,
17029
17118
  {
17030
17119
  id: publicIdFieldName,
@@ -17038,11 +17127,11 @@ var ParameterNameAndPublicIdInput = ({
17038
17127
  caption: publicIdCaption,
17039
17128
  placeholder: publicIdPlaceholderText,
17040
17129
  errorMessage: publicIdError,
17041
- menuItems: /* @__PURE__ */ jsx100(
17130
+ menuItems: /* @__PURE__ */ jsx101(
17042
17131
  MenuItem,
17043
17132
  {
17044
17133
  disabled: !values[publicIdFieldName],
17045
- icon: /* @__PURE__ */ jsx100(Icon, { icon: "path-trim", iconColor: "currentColor" }),
17134
+ icon: /* @__PURE__ */ jsx101(Icon, { icon: "path-trim", iconColor: "currentColor" }),
17046
17135
  onClick: handleCopyPidFieldValue,
17047
17136
  children: "Copy"
17048
17137
  }
@@ -17050,12 +17139,12 @@ var ParameterNameAndPublicIdInput = ({
17050
17139
  value: values[publicIdFieldName]
17051
17140
  }
17052
17141
  ),
17053
- (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx100(Callout, { type: "caution", children: warnOverLength.message }) : null
17142
+ (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ jsx101(Callout, { type: "caution", children: warnOverLength.message }) : null
17054
17143
  ] });
17055
17144
  };
17056
17145
 
17057
17146
  // src/components/ParameterInputs/ParameterRichText.tsx
17058
- import { css as css84 } from "@emotion/react";
17147
+ import { css as css85 } from "@emotion/react";
17059
17148
  import { ListItemNode, ListNode as ListNode2 } from "@lexical/list";
17060
17149
  import {
17061
17150
  CODE,
@@ -17207,23 +17296,23 @@ function DisableStylesPlugin() {
17207
17296
  }
17208
17297
 
17209
17298
  // src/components/ParameterInputs/rich-text/editorStyles.ts
17210
- import { css as css81 } from "@emotion/css";
17211
- var textBold = css81`
17299
+ import { css as css82 } from "@emotion/css";
17300
+ var textBold = css82`
17212
17301
  font-weight: 700;
17213
17302
  `;
17214
- var textItalic = css81`
17303
+ var textItalic = css82`
17215
17304
  font-style: italic;
17216
17305
  `;
17217
- var textUnderline = css81`
17306
+ var textUnderline = css82`
17218
17307
  text-decoration: underline;
17219
17308
  `;
17220
- var textStrikethrough = css81`
17309
+ var textStrikethrough = css82`
17221
17310
  text-decoration: line-through;
17222
17311
  `;
17223
- var textUnderlineStrikethrough = css81`
17312
+ var textUnderlineStrikethrough = css82`
17224
17313
  text-decoration: underline line-through;
17225
17314
  `;
17226
- var textCode = css81`
17315
+ var textCode = css82`
17227
17316
  background-color: var(--gray-100);
17228
17317
  border-radius: var(--rounded-sm);
17229
17318
  display: inline-block;
@@ -17234,68 +17323,68 @@ var textCode = css81`
17234
17323
  padding-left: var(--spacing-xs);
17235
17324
  padding-right: var(--spacing-xs);
17236
17325
  `;
17237
- var textSuperscript = css81`
17326
+ var textSuperscript = css82`
17238
17327
  vertical-align: super;
17239
17328
  font-size: smaller;
17240
17329
  `;
17241
- var textSubscript = css81`
17330
+ var textSubscript = css82`
17242
17331
  vertical-align: sub;
17243
17332
  font-size: smaller;
17244
17333
  `;
17245
- var linkElement = css81`
17334
+ var linkElement = css82`
17246
17335
  ${link}
17247
17336
  ${linkColorDefault}
17248
17337
  text-decoration: underline;
17249
17338
  `;
17250
- var h12 = css81`
17339
+ var h12 = css82`
17251
17340
  font-size: clamp(1.35rem, var(--fluid-font-base), 1.7rem);
17252
17341
  `;
17253
- var h22 = css81`
17342
+ var h22 = css82`
17254
17343
  font-size: clamp(1.35rem, var(--fluid-font-base), 1.6rem);
17255
17344
  `;
17256
- var h32 = css81`
17345
+ var h32 = css82`
17257
17346
  font-size: clamp(1.25rem, var(--fluid-font-base), 1.5rem);
17258
17347
  `;
17259
- var h42 = css81`
17348
+ var h42 = css82`
17260
17349
  font-size: clamp(1.15rem, var(--fluid-font-base), 1.25rem);
17261
17350
  `;
17262
- var h52 = css81`
17351
+ var h52 = css82`
17263
17352
  font-size: clamp(var(--fs-base), var(--fluid-font-base), 1.15rem);
17264
17353
  `;
17265
- var h62 = css81`
17354
+ var h62 = css82`
17266
17355
  font-size: var(--fs-base);
17267
17356
  `;
17268
- var heading1Element = css81`
17357
+ var heading1Element = css82`
17269
17358
  ${h12}
17270
17359
  ${commonHeadingAttr(true)}
17271
17360
  ${commonLineHeight}
17272
17361
  `;
17273
- var heading2Element = css81`
17362
+ var heading2Element = css82`
17274
17363
  ${h22}
17275
17364
  ${commonHeadingAttr(true)}
17276
17365
  ${commonLineHeight}
17277
17366
  `;
17278
- var heading3Element = css81`
17367
+ var heading3Element = css82`
17279
17368
  ${h32}
17280
17369
  ${commonHeadingAttr(true)}
17281
17370
  ${commonLineHeight}
17282
17371
  `;
17283
- var heading4Element = css81`
17372
+ var heading4Element = css82`
17284
17373
  ${h42}
17285
17374
  ${commonHeadingAttr(true)}
17286
17375
  ${commonLineHeight}
17287
17376
  `;
17288
- var heading5Element = css81`
17377
+ var heading5Element = css82`
17289
17378
  ${h52}
17290
17379
  ${commonHeadingAttr(true)}
17291
17380
  ${commonLineHeight}
17292
17381
  `;
17293
- var heading6Element = css81`
17382
+ var heading6Element = css82`
17294
17383
  ${h62}
17295
17384
  ${commonHeadingAttr(true)}
17296
17385
  ${commonLineHeight}
17297
17386
  `;
17298
- var paragraphElement = css81`
17387
+ var paragraphElement = css82`
17299
17388
  line-height: 1.5;
17300
17389
  margin-bottom: var(--spacing-base);
17301
17390
 
@@ -17303,7 +17392,7 @@ var paragraphElement = css81`
17303
17392
  margin-bottom: 0;
17304
17393
  }
17305
17394
  `;
17306
- var orderedListElement = css81`
17395
+ var orderedListElement = css82`
17307
17396
  ${commonLineHeight}
17308
17397
  display: block;
17309
17398
  list-style: decimal;
@@ -17332,7 +17421,7 @@ var orderedListElement = css81`
17332
17421
  }
17333
17422
  }
17334
17423
  `;
17335
- var unorderedListElement = css81`
17424
+ var unorderedListElement = css82`
17336
17425
  ${commonLineHeight}
17337
17426
  display: block;
17338
17427
  list-style: disc;
@@ -17353,13 +17442,13 @@ var unorderedListElement = css81`
17353
17442
  }
17354
17443
  }
17355
17444
  `;
17356
- var listItemElement = css81`
17445
+ var listItemElement = css82`
17357
17446
  margin-left: var(--spacing-md);
17358
17447
  `;
17359
- var nestedListItemElement = css81`
17448
+ var nestedListItemElement = css82`
17360
17449
  list-style-type: none;
17361
17450
  `;
17362
- var blockquoteElement = css81`
17451
+ var blockquoteElement = css82`
17363
17452
  border-left: 0.25rem solid var(--gray-300);
17364
17453
  color: var(--gray-600);
17365
17454
  margin-bottom: var(--spacing-base);
@@ -17369,7 +17458,7 @@ var blockquoteElement = css81`
17369
17458
  margin-bottom: 0;
17370
17459
  }
17371
17460
  `;
17372
- var codeElement = css81`
17461
+ var codeElement = css82`
17373
17462
  background-color: var(--gray-100);
17374
17463
  border-radius: var(--rounded-sm);
17375
17464
  display: block;
@@ -17386,7 +17475,7 @@ var codeElement = css81`
17386
17475
  `;
17387
17476
 
17388
17477
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
17389
- import { css as css82 } from "@emotion/react";
17478
+ import { css as css83 } from "@emotion/react";
17390
17479
  import { useLexicalComposerContext as useLexicalComposerContext2 } from "@lexical/react/LexicalComposerContext";
17391
17480
  import { NodeEventPlugin } from "@lexical/react/LexicalNodeEventPlugin";
17392
17481
  import { addClassNamesToElement, isHTMLAnchorElement, mergeRegister as mergeRegister2 } from "@lexical/utils";
@@ -17440,7 +17529,7 @@ var getSelectedNode = (selection) => {
17440
17529
  };
17441
17530
 
17442
17531
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
17443
- import { Fragment as Fragment18, jsx as jsx101, jsxs as jsxs69 } from "@emotion/react/jsx-runtime";
17532
+ import { Fragment as Fragment18, jsx as jsx102, jsxs as jsxs69 } from "@emotion/react/jsx-runtime";
17444
17533
  var isProjectMapLinkValue = (value) => {
17445
17534
  return (value == null ? void 0 : value.type) === "projectMapNode" && Boolean(
17446
17535
  value.nodeId && value.path && value.projectMapId
@@ -17727,16 +17816,16 @@ var OPEN_LINK_NODE_MODAL_COMMAND = createCommand(
17727
17816
  );
17728
17817
  var LINK_POPOVER_OFFSET_X = 0;
17729
17818
  var LINK_POPOVER_OFFSET_Y = 8;
17730
- var linkPopover = css82`
17819
+ var linkPopover = css83`
17731
17820
  position: absolute;
17732
17821
  z-index: 5;
17733
17822
  `;
17734
- var linkPopoverContainer = css82`
17823
+ var linkPopoverContainer = css83`
17735
17824
  ${Popover};
17736
17825
  align-items: center;
17737
17826
  display: flex;
17738
17827
  `;
17739
- var linkPopoverAnchor = css82`
17828
+ var linkPopoverAnchor = css83`
17740
17829
  ${link}
17741
17830
  ${linkColorDefault}
17742
17831
  `;
@@ -17884,7 +17973,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17884
17973
  });
17885
17974
  };
17886
17975
  return /* @__PURE__ */ jsxs69(Fragment18, { children: [
17887
- /* @__PURE__ */ jsx101(
17976
+ /* @__PURE__ */ jsx102(
17888
17977
  NodeEventPlugin,
17889
17978
  {
17890
17979
  nodeType: LinkNode,
@@ -17894,7 +17983,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17894
17983
  }
17895
17984
  }
17896
17985
  ),
17897
- linkPopoverState ? /* @__PURE__ */ jsx101(
17986
+ linkPopoverState ? /* @__PURE__ */ jsx102(
17898
17987
  "div",
17899
17988
  {
17900
17989
  css: linkPopover,
@@ -17904,7 +17993,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17904
17993
  },
17905
17994
  ref: linkPopoverElRef,
17906
17995
  children: /* @__PURE__ */ jsxs69("div", { css: linkPopoverContainer, children: [
17907
- linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ jsx101(
17996
+ linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ jsx102(
17908
17997
  "a",
17909
17998
  {
17910
17999
  href: parsePath(
@@ -17916,7 +18005,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17916
18005
  children: parsePath(linkPopoverState.node.__link.path)
17917
18006
  }
17918
18007
  ),
17919
- /* @__PURE__ */ jsx101(
18008
+ /* @__PURE__ */ jsx102(
17920
18009
  Button,
17921
18010
  {
17922
18011
  size: "xs",
@@ -17924,7 +18013,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17924
18013
  onEditLinkNode(linkPopoverState.node);
17925
18014
  },
17926
18015
  buttonType: "ghost",
17927
- children: /* @__PURE__ */ jsx101(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
18016
+ children: /* @__PURE__ */ jsx102(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
17928
18017
  }
17929
18018
  )
17930
18019
  ] })
@@ -17949,7 +18038,7 @@ import {
17949
18038
  INDENT_CONTENT_COMMAND
17950
18039
  } from "lexical";
17951
18040
  import { useEffect as useEffect12 } from "react";
17952
- import { jsx as jsx102 } from "@emotion/react/jsx-runtime";
18041
+ import { jsx as jsx103 } from "@emotion/react/jsx-runtime";
17953
18042
  function isIndentPermitted(maxDepth) {
17954
18043
  const selection = $getSelection2();
17955
18044
  if (!$isRangeSelection2(selection)) {
@@ -17979,11 +18068,11 @@ function ListIndentPlugin({ maxDepth }) {
17979
18068
  COMMAND_PRIORITY_CRITICAL
17980
18069
  );
17981
18070
  }, [editor, maxDepth]);
17982
- return /* @__PURE__ */ jsx102(TabIndentationPlugin, {});
18071
+ return /* @__PURE__ */ jsx103(TabIndentationPlugin, {});
17983
18072
  }
17984
18073
 
17985
18074
  // src/components/ParameterInputs/rich-text/RichTextToolbar.tsx
17986
- import { css as css83 } from "@emotion/react";
18075
+ import { css as css84 } from "@emotion/react";
17987
18076
  import { $createCodeNode } from "@lexical/code";
17988
18077
  import {
17989
18078
  $isListNode as $isListNode2,
@@ -18006,8 +18095,8 @@ import {
18006
18095
  SELECTION_CHANGE_COMMAND
18007
18096
  } from "lexical";
18008
18097
  import { useCallback as useCallback6, useEffect as useEffect13, useMemo as useMemo3, useState as useState13 } from "react";
18009
- import { Fragment as Fragment19, jsx as jsx103, jsxs as jsxs70 } from "@emotion/react/jsx-runtime";
18010
- var toolbar = css83`
18098
+ import { Fragment as Fragment19, jsx as jsx104, jsxs as jsxs70 } from "@emotion/react/jsx-runtime";
18099
+ var toolbar = css84`
18011
18100
  background: var(--gray-50);
18012
18101
  border-radius: var(--rounded-base);
18013
18102
  display: flex;
@@ -18019,7 +18108,7 @@ var toolbar = css83`
18019
18108
  top: calc(var(--spacing-sm) * -2);
18020
18109
  z-index: 10;
18021
18110
  `;
18022
- var toolbarGroup = css83`
18111
+ var toolbarGroup = css84`
18023
18112
  display: flex;
18024
18113
  gap: var(--spacing-xs);
18025
18114
  position: relative;
@@ -18035,7 +18124,7 @@ var toolbarGroup = css83`
18035
18124
  width: 1px;
18036
18125
  }
18037
18126
  `;
18038
- var richTextToolbarButton = css83`
18127
+ var richTextToolbarButton = css84`
18039
18128
  align-items: center;
18040
18129
  appearance: none;
18041
18130
  border: 0;
@@ -18048,17 +18137,17 @@ var richTextToolbarButton = css83`
18048
18137
  min-width: 32px;
18049
18138
  padding: 0 var(--spacing-sm);
18050
18139
  `;
18051
- var richTextToolbarButtonActive = css83`
18140
+ var richTextToolbarButtonActive = css84`
18052
18141
  background: var(--gray-200);
18053
18142
  `;
18054
- var toolbarIcon = css83`
18143
+ var toolbarIcon = css84`
18055
18144
  color: inherit;
18056
18145
  `;
18057
- var toolbarChevron = css83`
18146
+ var toolbarChevron = css84`
18058
18147
  margin-left: var(--spacing-xs);
18059
18148
  `;
18060
18149
  var RichTextToolbarIcon = ({ icon }) => {
18061
- return /* @__PURE__ */ jsx103(Icon, { icon, css: toolbarIcon, size: "1rem" });
18150
+ return /* @__PURE__ */ jsx104(Icon, { icon, css: toolbarIcon, size: "1rem" });
18062
18151
  };
18063
18152
  var FORMATS_WITH_ICON = /* @__PURE__ */ new Map([
18064
18153
  ["bold", "format-bold"],
@@ -18175,7 +18264,7 @@ var RichTextToolbar = ({ config, customControls }) => {
18175
18264
  menuTrigger: /* @__PURE__ */ jsxs70("button", { css: richTextToolbarButton, title: "Text styles", children: [
18176
18265
  visibleTextualElements.some((element) => element.type === activeElement) ? getLabelForElement(activeElement) : getLabelForElement("paragraph"),
18177
18266
  " ",
18178
- /* @__PURE__ */ jsx103(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
18267
+ /* @__PURE__ */ jsx104(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
18179
18268
  ] }),
18180
18269
  placement: "bottom-start",
18181
18270
  children: [
@@ -18185,7 +18274,7 @@ var RichTextToolbar = ({ config, customControls }) => {
18185
18274
  type: "paragraph"
18186
18275
  },
18187
18276
  ...visibleTextualElements
18188
- ].map((element) => /* @__PURE__ */ jsx103(
18277
+ ].map((element) => /* @__PURE__ */ jsx104(
18189
18278
  MenuItem,
18190
18279
  {
18191
18280
  onClick: () => {
@@ -18195,12 +18284,12 @@ var RichTextToolbar = ({ config, customControls }) => {
18195
18284
  },
18196
18285
  element.type
18197
18286
  )),
18198
- visibleTextualElements.length === 0 ? /* @__PURE__ */ jsx103(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
18287
+ visibleTextualElements.length === 0 ? /* @__PURE__ */ jsx104(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
18199
18288
  ]
18200
18289
  }
18201
18290
  ),
18202
18291
  visibleFormatsWithIcon.length > 0 || visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsxs70("div", { css: toolbarGroup, children: [
18203
- visibleFormatsWithIcon.map((format) => /* @__PURE__ */ jsx103(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ jsx103(
18292
+ visibleFormatsWithIcon.map((format) => /* @__PURE__ */ jsx104(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ jsx104(
18204
18293
  "button",
18205
18294
  {
18206
18295
  onClick: () => {
@@ -18210,16 +18299,16 @@ var RichTextToolbar = ({ config, customControls }) => {
18210
18299
  richTextToolbarButton,
18211
18300
  activeFormats.includes(format.type) ? richTextToolbarButtonActive : null
18212
18301
  ],
18213
- children: /* @__PURE__ */ jsx103(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
18302
+ children: /* @__PURE__ */ jsx104(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
18214
18303
  }
18215
18304
  ) }, format.type)),
18216
- visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsx103(
18305
+ visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ jsx104(
18217
18306
  Menu,
18218
18307
  {
18219
18308
  menuLabel: "Alternative text styles",
18220
- menuTrigger: /* @__PURE__ */ jsx103("button", { css: richTextToolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ jsx103(Icon, { icon: "more-alt", css: toolbarIcon }) }),
18309
+ menuTrigger: /* @__PURE__ */ jsx104("button", { css: richTextToolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ jsx104(Icon, { icon: "more-alt", css: toolbarIcon }) }),
18221
18310
  placement: "bottom-start",
18222
- children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ jsx103(
18311
+ children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ jsx104(
18223
18312
  MenuItem,
18224
18313
  {
18225
18314
  onClick: () => {
@@ -18233,18 +18322,18 @@ var RichTextToolbar = ({ config, customControls }) => {
18233
18322
  ) : null
18234
18323
  ] }) : null,
18235
18324
  visibleElementsWithIcons.size > 0 ? /* @__PURE__ */ jsxs70("div", { css: toolbarGroup, children: [
18236
- linkElementVisible ? /* @__PURE__ */ jsx103(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ jsx103(
18325
+ linkElementVisible ? /* @__PURE__ */ jsx104(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ jsx104(
18237
18326
  "button",
18238
18327
  {
18239
18328
  onClick: () => {
18240
18329
  isLink ? editor.dispatchCommand(REMOVE_LINK_NODE_COMMAND, {}) : editor.dispatchCommand(OPEN_LINK_NODE_MODAL_COMMAND, {});
18241
18330
  },
18242
18331
  css: [richTextToolbarButton, isLink ? richTextToolbarButtonActive : null],
18243
- children: /* @__PURE__ */ jsx103(RichTextToolbarIcon, { icon: "link" })
18332
+ children: /* @__PURE__ */ jsx104(RichTextToolbarIcon, { icon: "link" })
18244
18333
  }
18245
18334
  ) }) : null,
18246
18335
  visibleLists.size > 0 ? /* @__PURE__ */ jsxs70(Fragment19, { children: [
18247
- visibleLists.has("unorderedList") ? /* @__PURE__ */ jsx103(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ jsx103(
18336
+ visibleLists.has("unorderedList") ? /* @__PURE__ */ jsx104(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ jsx104(
18248
18337
  "button",
18249
18338
  {
18250
18339
  onClick: () => {
@@ -18254,10 +18343,10 @@ var RichTextToolbar = ({ config, customControls }) => {
18254
18343
  richTextToolbarButton,
18255
18344
  activeElement === "unorderedList" ? richTextToolbarButtonActive : null
18256
18345
  ],
18257
- children: /* @__PURE__ */ jsx103(RichTextToolbarIcon, { icon: "layout-list" })
18346
+ children: /* @__PURE__ */ jsx104(RichTextToolbarIcon, { icon: "layout-list" })
18258
18347
  }
18259
18348
  ) }) : null,
18260
- visibleLists.has("orderedList") ? /* @__PURE__ */ jsx103(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ jsx103(
18349
+ visibleLists.has("orderedList") ? /* @__PURE__ */ jsx104(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ jsx104(
18261
18350
  "button",
18262
18351
  {
18263
18352
  onClick: () => {
@@ -18267,32 +18356,32 @@ var RichTextToolbar = ({ config, customControls }) => {
18267
18356
  richTextToolbarButton,
18268
18357
  activeElement === "orderedList" ? richTextToolbarButtonActive : null
18269
18358
  ],
18270
- children: /* @__PURE__ */ jsx103(RichTextToolbarIcon, { icon: "layout-list-numbered" })
18359
+ children: /* @__PURE__ */ jsx104(RichTextToolbarIcon, { icon: "layout-list-numbered" })
18271
18360
  }
18272
18361
  ) }) : null
18273
18362
  ] }) : null,
18274
- quoteElementVisible ? /* @__PURE__ */ jsx103(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ jsx103(
18363
+ quoteElementVisible ? /* @__PURE__ */ jsx104(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ jsx104(
18275
18364
  "button",
18276
18365
  {
18277
18366
  onClick: () => {
18278
18367
  activeElement === "quote" ? onSelectElement("paragraph") : onSelectElement("quote");
18279
18368
  },
18280
18369
  css: [richTextToolbarButton, activeElement === "quote" ? richTextToolbarButtonActive : null],
18281
- children: /* @__PURE__ */ jsx103(RichTextToolbarIcon, { icon: "quote" })
18370
+ children: /* @__PURE__ */ jsx104(RichTextToolbarIcon, { icon: "quote" })
18282
18371
  }
18283
18372
  ) }) : null,
18284
- codeElementVisible ? /* @__PURE__ */ jsx103(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ jsx103(
18373
+ codeElementVisible ? /* @__PURE__ */ jsx104(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ jsx104(
18285
18374
  "button",
18286
18375
  {
18287
18376
  onClick: () => {
18288
18377
  activeElement === "code" ? onSelectElement("paragraph") : onSelectElement("code");
18289
18378
  },
18290
18379
  css: [richTextToolbarButton, activeElement === "code" ? richTextToolbarButtonActive : null],
18291
- children: /* @__PURE__ */ jsx103(RichTextToolbarIcon, { icon: "code-slash" })
18380
+ children: /* @__PURE__ */ jsx104(RichTextToolbarIcon, { icon: "code-slash" })
18292
18381
  }
18293
18382
  ) }) : null
18294
18383
  ] }) : null,
18295
- customControls ? /* @__PURE__ */ jsx103("div", { css: toolbarGroup, children: customControls }) : null
18384
+ customControls ? /* @__PURE__ */ jsx104("div", { css: toolbarGroup, children: customControls }) : null
18296
18385
  ] });
18297
18386
  };
18298
18387
  var RichTextToolbar_default = RichTextToolbar;
@@ -18406,7 +18495,7 @@ var useRichTextToolbarState = ({ config }) => {
18406
18495
  };
18407
18496
 
18408
18497
  // src/components/ParameterInputs/ParameterRichText.tsx
18409
- import { Fragment as Fragment20, jsx as jsx104, jsxs as jsxs71 } from "@emotion/react/jsx-runtime";
18498
+ import { Fragment as Fragment20, jsx as jsx105, jsxs as jsxs71 } from "@emotion/react/jsx-runtime";
18410
18499
  var ParameterRichText = ({
18411
18500
  label,
18412
18501
  labelLeadingIcon,
@@ -18445,7 +18534,7 @@ var ParameterRichText = ({
18445
18534
  captionTestId,
18446
18535
  menuItems,
18447
18536
  children: [
18448
- /* @__PURE__ */ jsx104(
18537
+ /* @__PURE__ */ jsx105(
18449
18538
  ParameterRichTextInner,
18450
18539
  {
18451
18540
  value,
@@ -18463,23 +18552,23 @@ var ParameterRichText = ({
18463
18552
  children
18464
18553
  }
18465
18554
  ),
18466
- menuItems ? /* @__PURE__ */ jsx104(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx104(Fragment20, { children: menuItems }) }) : null
18555
+ menuItems ? /* @__PURE__ */ jsx105(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ jsx105(Fragment20, { children: menuItems }) }) : null
18467
18556
  ]
18468
18557
  }
18469
18558
  );
18470
18559
  };
18471
- var editorWrapper = css84`
18560
+ var editorWrapper = css85`
18472
18561
  display: flex;
18473
18562
  flex-flow: column;
18474
18563
  flex-grow: 1;
18475
18564
  `;
18476
- var editorContainer = css84`
18565
+ var editorContainer = css85`
18477
18566
  display: flex;
18478
18567
  flex-flow: column;
18479
18568
  flex-grow: 1;
18480
18569
  position: relative;
18481
18570
  `;
18482
- var editorPlaceholder = css84`
18571
+ var editorPlaceholder = css85`
18483
18572
  color: var(--gray-500);
18484
18573
  font-style: italic;
18485
18574
  /* 1px is added to make sure caret is clearly visible when field is focused
@@ -18490,7 +18579,7 @@ var editorPlaceholder = css84`
18490
18579
  top: var(--spacing-xs);
18491
18580
  user-select: none;
18492
18581
  `;
18493
- var editorInput = css84`
18582
+ var editorInput = css85`
18494
18583
  background: var(--white);
18495
18584
  border: 1px solid var(--white);
18496
18585
  border-radius: var(--rounded-sm);
@@ -18575,7 +18664,7 @@ var ParameterRichTextInner = ({
18575
18664
  editable: !readOnly
18576
18665
  };
18577
18666
  return /* @__PURE__ */ jsxs71(Fragment20, { children: [
18578
- /* @__PURE__ */ jsx104("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ jsx104(LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ jsx104(
18667
+ /* @__PURE__ */ jsx105("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ jsx105(LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ jsx105(
18579
18668
  RichText,
18580
18669
  {
18581
18670
  onChange,
@@ -18632,19 +18721,19 @@ var RichText = ({
18632
18721
  };
18633
18722
  }, []);
18634
18723
  return /* @__PURE__ */ jsxs71(Fragment20, { children: [
18635
- readOnly ? null : /* @__PURE__ */ jsx104(RichTextToolbar_default, { config, customControls }),
18724
+ readOnly ? null : /* @__PURE__ */ jsx105(RichTextToolbar_default, { config, customControls }),
18636
18725
  /* @__PURE__ */ jsxs71("div", { css: editorContainer, ref: editorContainerRef, "data-testid": "value-container", children: [
18637
- /* @__PURE__ */ jsx104(
18726
+ /* @__PURE__ */ jsx105(
18638
18727
  RichTextPlugin,
18639
18728
  {
18640
- contentEditable: /* @__PURE__ */ jsx104(ContentEditable, { css: editorInput, className: editorInputClassName }),
18641
- placeholder: /* @__PURE__ */ jsx104("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
18729
+ contentEditable: /* @__PURE__ */ jsx105(ContentEditable, { css: editorInput, className: editorInputClassName }),
18730
+ placeholder: /* @__PURE__ */ jsx105("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
18642
18731
  ErrorBoundary: LexicalErrorBoundary
18643
18732
  }
18644
18733
  ),
18645
- /* @__PURE__ */ jsx104(ListPlugin, {}),
18646
- readOnly ? null : /* @__PURE__ */ jsx104(HistoryPlugin, {}),
18647
- /* @__PURE__ */ jsx104(
18734
+ /* @__PURE__ */ jsx105(ListPlugin, {}),
18735
+ readOnly ? null : /* @__PURE__ */ jsx105(HistoryPlugin, {}),
18736
+ /* @__PURE__ */ jsx105(
18648
18737
  LinkNodePlugin,
18649
18738
  {
18650
18739
  onConnectLink: onConnectLink ? onConnectLink : () => Promise.resolve(),
@@ -18654,21 +18743,21 @@ var RichText = ({
18654
18743
  } : void 0
18655
18744
  }
18656
18745
  ),
18657
- /* @__PURE__ */ jsx104(ListIndentPlugin, { maxDepth: 4 }),
18658
- /* @__PURE__ */ jsx104(DisableStylesPlugin, {}),
18659
- /* @__PURE__ */ jsx104(MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS }),
18660
- /* @__PURE__ */ jsx104(Fragment20, { children })
18746
+ /* @__PURE__ */ jsx105(ListIndentPlugin, { maxDepth: 4 }),
18747
+ /* @__PURE__ */ jsx105(DisableStylesPlugin, {}),
18748
+ /* @__PURE__ */ jsx105(MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS }),
18749
+ /* @__PURE__ */ jsx105(Fragment20, { children })
18661
18750
  ] })
18662
18751
  ] });
18663
18752
  };
18664
18753
 
18665
18754
  // src/components/ParameterInputs/ParameterSelect.tsx
18666
18755
  import { forwardRef as forwardRef15 } from "react";
18667
- import { jsx as jsx105, jsxs as jsxs72 } from "@emotion/react/jsx-runtime";
18756
+ import { jsx as jsx106, jsxs as jsxs72 } from "@emotion/react/jsx-runtime";
18668
18757
  var ParameterSelect = forwardRef15(
18669
18758
  ({ defaultOption, options, ...props }, ref) => {
18670
18759
  const { shellProps, innerProps } = extractParameterProps(props);
18671
- return /* @__PURE__ */ jsx105(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx105(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
18760
+ return /* @__PURE__ */ jsx106(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx106(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
18672
18761
  }
18673
18762
  );
18674
18763
  var ParameterSelectInner = forwardRef15(
@@ -18683,10 +18772,10 @@ var ParameterSelectInner = forwardRef15(
18683
18772
  ref,
18684
18773
  ...props,
18685
18774
  children: [
18686
- defaultOption ? /* @__PURE__ */ jsx105("option", { value: "", children: defaultOption }) : null,
18775
+ defaultOption ? /* @__PURE__ */ jsx106("option", { value: "", children: defaultOption }) : null,
18687
18776
  options.map((option) => {
18688
18777
  var _a;
18689
- return /* @__PURE__ */ jsx105("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
18778
+ return /* @__PURE__ */ jsx106("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
18690
18779
  })
18691
18780
  ]
18692
18781
  }
@@ -18696,14 +18785,14 @@ var ParameterSelectInner = forwardRef15(
18696
18785
 
18697
18786
  // src/components/ParameterInputs/ParameterTextarea.tsx
18698
18787
  import { forwardRef as forwardRef16 } from "react";
18699
- import { jsx as jsx106 } from "@emotion/react/jsx-runtime";
18788
+ import { jsx as jsx107 } from "@emotion/react/jsx-runtime";
18700
18789
  var ParameterTextarea = forwardRef16((props, ref) => {
18701
18790
  const { shellProps, innerProps } = extractParameterProps(props);
18702
- return /* @__PURE__ */ jsx106(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx106(ParameterTextareaInner, { ref, ...innerProps }) });
18791
+ return /* @__PURE__ */ jsx107(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx107(ParameterTextareaInner, { ref, ...innerProps }) });
18703
18792
  });
18704
18793
  var ParameterTextareaInner = forwardRef16(({ ...props }, ref) => {
18705
18794
  const { id, label, hiddenLabel } = useParameterShell();
18706
- return /* @__PURE__ */ jsx106(
18795
+ return /* @__PURE__ */ jsx107(
18707
18796
  "textarea",
18708
18797
  {
18709
18798
  css: [input2, textarea2],
@@ -18717,24 +18806,24 @@ var ParameterTextareaInner = forwardRef16(({ ...props }, ref) => {
18717
18806
 
18718
18807
  // src/components/ParameterInputs/ParameterToggle.tsx
18719
18808
  import { forwardRef as forwardRef17 } from "react";
18720
- import { jsx as jsx107, jsxs as jsxs73 } from "@emotion/react/jsx-runtime";
18809
+ import { jsx as jsx108, jsxs as jsxs73 } from "@emotion/react/jsx-runtime";
18721
18810
  var ParameterToggle = forwardRef17((props, ref) => {
18722
18811
  const { shellProps, innerProps } = extractParameterProps(props);
18723
- return /* @__PURE__ */ jsx107(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx107(ParameterToggleInner, { ref, ...innerProps }) });
18812
+ return /* @__PURE__ */ jsx108(ParameterShell, { ...shellProps, children: /* @__PURE__ */ jsx108(ParameterToggleInner, { ref, ...innerProps }) });
18724
18813
  });
18725
18814
  var ParameterToggleInner = forwardRef17(
18726
18815
  ({ ...props }, ref) => {
18727
18816
  const { id, label } = useParameterShell();
18728
18817
  return /* @__PURE__ */ jsxs73("label", { css: inputToggleLabel2, children: [
18729
- /* @__PURE__ */ jsx107("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
18730
- /* @__PURE__ */ jsx107("span", { css: inlineLabel2, children: label })
18818
+ /* @__PURE__ */ jsx108("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
18819
+ /* @__PURE__ */ jsx108("span", { css: inlineLabel2, children: label })
18731
18820
  ] });
18732
18821
  }
18733
18822
  );
18734
18823
 
18735
18824
  // src/components/ProgressBar/ProgressBar.styles.ts
18736
- import { css as css85 } from "@emotion/react";
18737
- var container = css85`
18825
+ import { css as css86, keyframes as keyframes4 } from "@emotion/react";
18826
+ var container2 = css86`
18738
18827
  background: var(--gray-50);
18739
18828
  margin-block: var(--spacing-sm);
18740
18829
  position: relative;
@@ -18744,14 +18833,42 @@ var container = css85`
18744
18833
  border: solid 1px var(--gray-300);
18745
18834
  `;
18746
18835
  var themeMap = {
18747
- primary: css85`
18748
- background-color: var(--accent-light);
18836
+ primary: css86`
18837
+ --progress-color: var(--accent-light);
18838
+ `,
18839
+ secondary: css86`
18840
+ --progress-color: var(--accent-alt-light);
18749
18841
  `,
18750
- secondary: css85`
18751
- background-color: var(--brand-secondary-5);
18842
+ destructive: css86`
18843
+ --progress-color: var(--brand-secondary-5);
18752
18844
  `
18753
18845
  };
18754
- var bar = css85`
18846
+ var slidingBackgroundPosition = keyframes4`
18847
+ from {
18848
+ background-position: 0 0;
18849
+ }
18850
+ to {
18851
+ background-position: 64px 0;
18852
+ }
18853
+ `;
18854
+ var determinate = css86`
18855
+ background-color: var(--progress-color);
18856
+ `;
18857
+ var indeterminate = css86`
18858
+ background-image: linear-gradient(
18859
+ 45deg,
18860
+ var(--progress-color) 25%,
18861
+ transparent 25%,
18862
+ transparent 50%,
18863
+ var(--progress-color) 50%,
18864
+ var(--progress-color) 75%,
18865
+ transparent 75%,
18866
+ transparent
18867
+ );
18868
+ background-size: 64px 64px;
18869
+ animation: ${slidingBackgroundPosition} 1s linear infinite;
18870
+ `;
18871
+ var bar = css86`
18755
18872
  position: absolute;
18756
18873
  inset: 0;
18757
18874
  transition: transform var(--duration-fast) var(--timing-ease-out);
@@ -18759,25 +18876,35 @@ var bar = css85`
18759
18876
  `;
18760
18877
 
18761
18878
  // src/components/ProgressBar/ProgressBar.tsx
18762
- import { jsx as jsx108 } from "@emotion/react/jsx-runtime";
18763
- function ProgressBar({ className, current, max, theme = "primary" }) {
18879
+ import { jsx as jsx109 } from "@emotion/react/jsx-runtime";
18880
+ function ProgressBar({
18881
+ current,
18882
+ max,
18883
+ theme = "primary",
18884
+ variant = "determinate",
18885
+ ...props
18886
+ }) {
18764
18887
  const valueNow = Math.min(current, max);
18765
18888
  const valuePercentage = max > 0 ? Math.ceil(100 / max * valueNow) : 0;
18766
- return /* @__PURE__ */ jsx108(
18889
+ return /* @__PURE__ */ jsx109(
18767
18890
  "div",
18768
18891
  {
18769
- className,
18770
- css: container,
18892
+ css: container2,
18771
18893
  role: "progressbar",
18772
18894
  "aria-busy": valuePercentage !== 100,
18773
18895
  "aria-invalid": false,
18774
18896
  "aria-valuemin": 0,
18775
18897
  "aria-valuemax": max,
18776
18898
  "aria-valuenow": valueNow,
18777
- children: /* @__PURE__ */ jsx108(
18899
+ ...props,
18900
+ children: /* @__PURE__ */ jsx109(
18778
18901
  "div",
18779
18902
  {
18780
- css: [bar, themeMap[theme]],
18903
+ css: [
18904
+ themeMap[theme],
18905
+ variant === "indeterminate" ? indeterminate : determinate,
18906
+ bar
18907
+ ],
18781
18908
  style: {
18782
18909
  transform: `scaleX(${valuePercentage / 100})`
18783
18910
  },
@@ -18789,28 +18916,28 @@ function ProgressBar({ className, current, max, theme = "primary" }) {
18789
18916
  }
18790
18917
 
18791
18918
  // src/components/ProgressList/ProgressList.tsx
18792
- import { css as css87 } from "@emotion/react";
18919
+ import { css as css88 } from "@emotion/react";
18793
18920
  import { CgCheckO as CgCheckO2 } from "@react-icons/all-files/cg/CgCheckO";
18794
18921
  import { CgRadioCheck } from "@react-icons/all-files/cg/CgRadioCheck";
18795
18922
  import { CgRecord } from "@react-icons/all-files/cg/CgRecord";
18796
18923
  import { useMemo as useMemo4 } from "react";
18797
18924
 
18798
18925
  // src/components/ProgressList/styles/ProgressList.styles.ts
18799
- import { css as css86 } from "@emotion/react";
18800
- var progressListStyles = css86`
18926
+ import { css as css87 } from "@emotion/react";
18927
+ var progressListStyles = css87`
18801
18928
  display: flex;
18802
18929
  flex-direction: column;
18803
18930
  gap: var(--spacing-sm);
18804
18931
  list-style-type: none;
18805
18932
  `;
18806
- var progressListItemStyles = css86`
18933
+ var progressListItemStyles = css87`
18807
18934
  display: flex;
18808
18935
  gap: var(--spacing-base);
18809
18936
  align-items: center;
18810
18937
  `;
18811
18938
 
18812
18939
  // src/components/ProgressList/ProgressList.tsx
18813
- import { jsx as jsx109, jsxs as jsxs74 } from "@emotion/react/jsx-runtime";
18940
+ import { jsx as jsx110, jsxs as jsxs74 } from "@emotion/react/jsx-runtime";
18814
18941
  var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
18815
18942
  const itemsWithStatus = useMemo4(() => {
18816
18943
  const indexOfInProgressItem = items.findIndex(({ id }) => id === inProgressId);
@@ -18824,8 +18951,8 @@ var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
18824
18951
  return { ...item, status };
18825
18952
  });
18826
18953
  }, [items, inProgressId]);
18827
- return /* @__PURE__ */ jsx109("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
18828
- return /* @__PURE__ */ jsx109(
18954
+ return /* @__PURE__ */ jsx110("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
18955
+ return /* @__PURE__ */ jsx110(
18829
18956
  ProgressListItem,
18830
18957
  {
18831
18958
  status,
@@ -18858,12 +18985,12 @@ var ProgressListItem = ({
18858
18985
  }, [status, error]);
18859
18986
  const statusStyles = useMemo4(() => {
18860
18987
  if (error) {
18861
- return errorLevel === "caution" ? css87`
18988
+ return errorLevel === "caution" ? css88`
18862
18989
  color: rgb(161, 98, 7);
18863
18990
  & svg {
18864
18991
  color: rgb(250, 204, 21);
18865
18992
  }
18866
- ` : css87`
18993
+ ` : css88`
18867
18994
  color: rgb(185, 28, 28);
18868
18995
  & svg {
18869
18996
  color: var(--brand-primary-2);
@@ -18871,35 +18998,35 @@ var ProgressListItem = ({
18871
18998
  `;
18872
18999
  }
18873
19000
  const colorPerStatus = {
18874
- completed: css87`
19001
+ completed: css88`
18875
19002
  opacity: 0.75;
18876
19003
  `,
18877
- inProgress: css87`
19004
+ inProgress: css88`
18878
19005
  -webkit-text-stroke-width: thin;
18879
19006
  `,
18880
- queued: css87`
19007
+ queued: css88`
18881
19008
  opacity: 0.5;
18882
19009
  `
18883
19010
  };
18884
19011
  return colorPerStatus[status];
18885
19012
  }, [status, error, errorLevel]);
18886
19013
  return /* @__PURE__ */ jsxs74("li", { css: [progressListItemStyles, statusStyles], children: [
18887
- /* @__PURE__ */ jsx109(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ jsx109("div", { children: /* @__PURE__ */ jsx109(Icon, { icon, size: 20, iconColor: "currentColor" }) }) }),
19014
+ /* @__PURE__ */ jsx110(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ jsx110("div", { children: /* @__PURE__ */ jsx110(Icon, { icon, size: 20, iconColor: "currentColor" }) }) }),
18888
19015
  /* @__PURE__ */ jsxs74("div", { children: [
18889
19016
  children,
18890
- /* @__PURE__ */ jsx109("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
19017
+ /* @__PURE__ */ jsx110("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
18891
19018
  ] })
18892
19019
  ] });
18893
19020
  };
18894
19021
 
18895
19022
  // src/components/SegmentedControl/SegmentedControl.tsx
18896
- import { css as css89 } from "@emotion/react";
19023
+ import { css as css90 } from "@emotion/react";
18897
19024
  import { CgCheck as CgCheck4 } from "@react-icons/all-files/cg/CgCheck";
18898
19025
  import { useCallback as useCallback7, useMemo as useMemo5 } from "react";
18899
19026
 
18900
19027
  // src/components/SegmentedControl/SegmentedControl.styles.ts
18901
- import { css as css88 } from "@emotion/react";
18902
- var segmentedControlStyles = css88`
19028
+ import { css as css89 } from "@emotion/react";
19029
+ var segmentedControlStyles = css89`
18903
19030
  --segmented-control-rounded-value: var(--rounded-base);
18904
19031
  --segmented-control-border-width: 1px;
18905
19032
  --segmented-control-selected-color: var(--brand-secondary-3);
@@ -18918,14 +19045,14 @@ var segmentedControlStyles = css88`
18918
19045
  border-radius: calc(var(--segmented-control-rounded-value) + var(--segmented-control-border-width));
18919
19046
  font-size: var(--fs-xs);
18920
19047
  `;
18921
- var segmentedControlVerticalStyles = css88`
19048
+ var segmentedControlVerticalStyles = css89`
18922
19049
  flex-direction: column;
18923
19050
  --segmented-control-first-border-radius: var(--segmented-control-rounded-value)
18924
19051
  var(--segmented-control-rounded-value) 0 0;
18925
19052
  --segmented-control-last-border-radius: 0 0 var(--segmented-control-rounded-value)
18926
19053
  var(--segmented-control-rounded-value);
18927
19054
  `;
18928
- var segmentedControlItemStyles = css88`
19055
+ var segmentedControlItemStyles = css89`
18929
19056
  &:first-of-type label {
18930
19057
  border-radius: var(--segmented-control-first-border-radius);
18931
19058
  }
@@ -18933,10 +19060,10 @@ var segmentedControlItemStyles = css88`
18933
19060
  border-radius: var(--segmented-control-last-border-radius);
18934
19061
  }
18935
19062
  `;
18936
- var segmentedControlInputStyles = css88`
19063
+ var segmentedControlInputStyles = css89`
18937
19064
  ${accessibleHidden}
18938
19065
  `;
18939
- var segmentedControlLabelStyles = (checked, disabled) => css88`
19066
+ var segmentedControlLabelStyles = (checked, disabled2) => css89`
18940
19067
  position: relative;
18941
19068
  display: flex;
18942
19069
  align-items: center;
@@ -18978,7 +19105,7 @@ var segmentedControlLabelStyles = (checked, disabled) => css88`
18978
19105
  // once Firefox supports :has selector
18979
19106
  @supports not selector(:has(*)) {
18980
19107
  // equivalent to &:has(:checked:not(:disabled))
18981
- ${checked && !disabled ? `
19108
+ ${checked && !disabled2 ? `
18982
19109
  background-color: var(--segmented-control-selected-color);
18983
19110
  outline: var(--segmented-control-border-width) solid var(--segmented-control-selected-color);
18984
19111
  box-shadow: 0 0.43em 1.7em 0 rgba(0, 0, 0, 0.15);
@@ -18988,45 +19115,45 @@ var segmentedControlLabelStyles = (checked, disabled) => css88`
18988
19115
 
18989
19116
  // equivalent to &:hover:not(:has(:disabled, :checked))
18990
19117
  &:hover {
18991
- ${!checked && !disabled ? `background-color: var(--gray-100);` : void 0}
19118
+ ${!checked && !disabled2 ? `background-color: var(--gray-100);` : void 0}
18992
19119
  }
18993
19120
 
18994
19121
  // equivalent to &:has(:disabled)
18995
- ${disabled ? `
19122
+ ${disabled2 ? `
18996
19123
  color: var(--gray-400);
18997
19124
  cursor: default;` : void 0}
18998
19125
 
18999
19126
  // equivalent to &:has(:checked:disabled)
19000
- ${checked && disabled && `
19127
+ ${checked && disabled2 && `
19001
19128
  color: var(--gray-50);
19002
19129
  background-color: var(--gray-400);
19003
19130
  `}
19004
19131
  }
19005
19132
  `;
19006
- var segmentedControlLabelIconOnlyStyles = css88`
19133
+ var segmentedControlLabelIconOnlyStyles = css89`
19007
19134
  padding-inline: 0.5em;
19008
19135
  `;
19009
- var segmentedControlLabelCheckStyles = css88`
19136
+ var segmentedControlLabelCheckStyles = css89`
19010
19137
  opacity: 0.5;
19011
19138
  `;
19012
- var segmentedControlLabelContentStyles = css88`
19139
+ var segmentedControlLabelContentStyles = css89`
19013
19140
  display: flex;
19014
19141
  align-items: center;
19015
19142
  justify-content: center;
19016
19143
  gap: var(--spacing-sm);
19017
19144
  height: 100%;
19018
19145
  `;
19019
- var segmentedControlLabelTextStyles = css88``;
19146
+ var segmentedControlLabelTextStyles = css89``;
19020
19147
 
19021
19148
  // src/components/SegmentedControl/SegmentedControl.tsx
19022
- import { jsx as jsx110, jsxs as jsxs75 } from "@emotion/react/jsx-runtime";
19149
+ import { jsx as jsx111, jsxs as jsxs75 } from "@emotion/react/jsx-runtime";
19023
19150
  var SegmentedControl = ({
19024
19151
  name,
19025
19152
  options,
19026
19153
  value,
19027
19154
  onChange,
19028
19155
  noCheckmark = false,
19029
- disabled = false,
19156
+ disabled: disabled2 = false,
19030
19157
  orientation = "horizontal",
19031
19158
  size = "md",
19032
19159
  ...props
@@ -19041,28 +19168,28 @@ var SegmentedControl = ({
19041
19168
  );
19042
19169
  const sizeStyles = useMemo5(() => {
19043
19170
  const map = {
19044
- sm: css89({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
19045
- md: css89({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
19046
- lg: css89({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
19171
+ sm: css90({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
19172
+ md: css90({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
19173
+ lg: css90({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
19047
19174
  };
19048
19175
  return map[size];
19049
19176
  }, [size]);
19050
19177
  const isIconOnly = useMemo5(() => {
19051
19178
  return options.every((option) => option.icon && !option.label);
19052
19179
  }, [options]);
19053
- return /* @__PURE__ */ jsx110(
19180
+ return /* @__PURE__ */ jsx111(
19054
19181
  "div",
19055
19182
  {
19056
19183
  css: [segmentedControlStyles, orientation === "vertical" ? segmentedControlVerticalStyles : void 0],
19057
19184
  ...props,
19058
19185
  children: options.map((option, index) => {
19059
19186
  const text = option.label ? option.label : option.icon ? null : String(option.value);
19060
- const isDisabled = disabled || option.disabled;
19061
- return /* @__PURE__ */ jsx110(
19187
+ const isDisabled = disabled2 || option.disabled;
19188
+ return /* @__PURE__ */ jsx111(
19062
19189
  Tooltip,
19063
19190
  {
19064
19191
  title: isDisabled || !option.tooltip ? "" : option.tooltip,
19065
- children: /* @__PURE__ */ jsx110("div", { css: segmentedControlItemStyles, "data-testid": "container-segmented-control", children: /* @__PURE__ */ jsxs75(
19192
+ children: /* @__PURE__ */ jsx111("div", { css: segmentedControlItemStyles, "data-testid": "container-segmented-control", children: /* @__PURE__ */ jsxs75(
19066
19193
  "label",
19067
19194
  {
19068
19195
  css: [
@@ -19071,7 +19198,7 @@ var SegmentedControl = ({
19071
19198
  isIconOnly ? segmentedControlLabelIconOnlyStyles : void 0
19072
19199
  ],
19073
19200
  children: [
19074
- /* @__PURE__ */ jsx110(
19201
+ /* @__PURE__ */ jsx111(
19075
19202
  "input",
19076
19203
  {
19077
19204
  css: segmentedControlInputStyles,
@@ -19083,10 +19210,10 @@ var SegmentedControl = ({
19083
19210
  disabled: isDisabled
19084
19211
  }
19085
19212
  ),
19086
- option.value !== value || noCheckmark ? null : /* @__PURE__ */ jsx110(CgCheck4, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
19213
+ option.value !== value || noCheckmark ? null : /* @__PURE__ */ jsx111(CgCheck4, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
19087
19214
  /* @__PURE__ */ jsxs75("span", { css: segmentedControlLabelContentStyles, children: [
19088
- !option.icon ? null : /* @__PURE__ */ jsx110(Icon, { icon: option.icon, size: "1.5em", iconColor: "currentColor" }),
19089
- !text ? null : /* @__PURE__ */ jsx110("span", { css: segmentedControlLabelTextStyles, children: text })
19215
+ !option.icon ? null : /* @__PURE__ */ jsx111(Icon, { icon: option.icon, size: "1.5em", iconColor: "currentColor" }),
19216
+ !text ? null : /* @__PURE__ */ jsx111("span", { css: segmentedControlLabelTextStyles, children: text })
19090
19217
  ] })
19091
19218
  ]
19092
19219
  }
@@ -19100,18 +19227,18 @@ var SegmentedControl = ({
19100
19227
  };
19101
19228
 
19102
19229
  // src/components/Skeleton/Skeleton.styles.ts
19103
- import { css as css90, keyframes as keyframes4 } from "@emotion/react";
19104
- var lightFadingOut = keyframes4`
19230
+ import { css as css91, keyframes as keyframes5 } from "@emotion/react";
19231
+ var lightFadingOut = keyframes5`
19105
19232
  from { opacity: 0.1; }
19106
19233
  to { opacity: 0.025; }
19107
19234
  `;
19108
- var skeletonStyles = css90`
19235
+ var skeletonStyles = css91`
19109
19236
  animation: ${lightFadingOut} 1s ease-out infinite alternate;
19110
19237
  background-color: var(--gray-900);
19111
19238
  `;
19112
19239
 
19113
19240
  // src/components/Skeleton/Skeleton.tsx
19114
- import { jsx as jsx111 } from "@emotion/react/jsx-runtime";
19241
+ import { jsx as jsx112 } from "@emotion/react/jsx-runtime";
19115
19242
  var Skeleton = ({
19116
19243
  width = "100%",
19117
19244
  height = "1.25rem",
@@ -19119,7 +19246,7 @@ var Skeleton = ({
19119
19246
  circle = false,
19120
19247
  children,
19121
19248
  ...otherProps
19122
- }) => /* @__PURE__ */ jsx111(
19249
+ }) => /* @__PURE__ */ jsx112(
19123
19250
  "div",
19124
19251
  {
19125
19252
  css: [
@@ -19142,8 +19269,8 @@ var Skeleton = ({
19142
19269
  import * as React23 from "react";
19143
19270
 
19144
19271
  // src/components/Switch/Switch.styles.ts
19145
- import { css as css91 } from "@emotion/react";
19146
- var SwitchInputContainer = css91`
19272
+ import { css as css92 } from "@emotion/react";
19273
+ var SwitchInputContainer = css92`
19147
19274
  cursor: pointer;
19148
19275
  display: inline-block;
19149
19276
  position: relative;
@@ -19152,7 +19279,7 @@ var SwitchInputContainer = css91`
19152
19279
  vertical-align: middle;
19153
19280
  user-select: none;
19154
19281
  `;
19155
- var SwitchInput = css91`
19282
+ var SwitchInput = css92`
19156
19283
  appearance: none;
19157
19284
  border-radius: var(--rounded-full);
19158
19285
  background-color: var(--white);
@@ -19190,7 +19317,7 @@ var SwitchInput = css91`
19190
19317
  cursor: not-allowed;
19191
19318
  }
19192
19319
  `;
19193
- var SwitchInputDisabled = css91`
19320
+ var SwitchInputDisabled = css92`
19194
19321
  opacity: var(--opacity-50);
19195
19322
  cursor: not-allowed;
19196
19323
 
@@ -19198,11 +19325,10 @@ var SwitchInputDisabled = css91`
19198
19325
  cursor: not-allowed;
19199
19326
  }
19200
19327
  `;
19201
- var SwitchInputLabel = css91`
19328
+ var SwitchInputLabel = css92`
19202
19329
  align-items: center;
19203
19330
  color: var(--brand-secondary-1);
19204
19331
  display: inline-flex;
19205
- font-weight: var(--fw-bold);
19206
19332
  line-height: 1.25;
19207
19333
  padding-inline: var(--spacing-2xl) 0;
19208
19334
 
@@ -19220,14 +19346,14 @@ var SwitchInputLabel = css91`
19220
19346
  top: 0;
19221
19347
  }
19222
19348
  `;
19223
- var SwitchText = css91`
19349
+ var SwitchText = css92`
19224
19350
  color: var(--gray-500);
19225
19351
  font-size: var(--fs-sm);
19226
19352
  padding-inline: var(--spacing-2xl) 0;
19227
19353
  `;
19228
19354
 
19229
19355
  // src/components/Switch/Switch.tsx
19230
- import { Fragment as Fragment21, jsx as jsx112, jsxs as jsxs76 } from "@emotion/react/jsx-runtime";
19356
+ import { Fragment as Fragment21, jsx as jsx113, jsxs as jsxs76 } from "@emotion/react/jsx-runtime";
19231
19357
  var Switch = React23.forwardRef(
19232
19358
  ({ label, infoText, toggleText, children, ...inputProps }, ref) => {
19233
19359
  let additionalText = infoText;
@@ -19236,10 +19362,10 @@ var Switch = React23.forwardRef(
19236
19362
  }
19237
19363
  return /* @__PURE__ */ jsxs76(Fragment21, { children: [
19238
19364
  /* @__PURE__ */ jsxs76("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
19239
- /* @__PURE__ */ jsx112("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
19240
- /* @__PURE__ */ jsx112("span", { css: SwitchInputLabel, children: label })
19365
+ /* @__PURE__ */ jsx113("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
19366
+ /* @__PURE__ */ jsx113("span", { css: SwitchInputLabel, children: label })
19241
19367
  ] }),
19242
- additionalText ? /* @__PURE__ */ jsx112("p", { css: SwitchText, children: additionalText }) : null,
19368
+ additionalText ? /* @__PURE__ */ jsx113("p", { css: SwitchText, children: additionalText }) : null,
19243
19369
  children
19244
19370
  ] });
19245
19371
  }
@@ -19249,8 +19375,8 @@ var Switch = React23.forwardRef(
19249
19375
  import * as React24 from "react";
19250
19376
 
19251
19377
  // src/components/Table/Table.styles.ts
19252
- import { css as css92 } from "@emotion/react";
19253
- var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css92`
19378
+ import { css as css93 } from "@emotion/react";
19379
+ var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css93`
19254
19380
  border-bottom: 1px solid var(--gray-400);
19255
19381
  border-collapse: collapse;
19256
19382
  min-width: 100%;
@@ -19261,55 +19387,55 @@ var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css92
19261
19387
  padding: ${cellPadding};
19262
19388
  }
19263
19389
  `;
19264
- var tableHead = css92`
19390
+ var tableHead = css93`
19265
19391
  background: var(--gray-100);
19266
19392
  color: var(--brand-secondary-1);
19267
19393
  text-align: left;
19268
19394
  `;
19269
- var tableRow = css92`
19395
+ var tableRow = css93`
19270
19396
  border-bottom: 1px solid var(--gray-200);
19271
19397
  `;
19272
- var tableCellHead = css92`
19398
+ var tableCellHead = css93`
19273
19399
  font-size: var(--fs-sm);
19274
19400
  text-transform: uppercase;
19275
19401
  font-weight: var(--fw-bold);
19276
19402
  `;
19277
19403
 
19278
19404
  // src/components/Table/Table.tsx
19279
- import { jsx as jsx113 } from "@emotion/react/jsx-runtime";
19405
+ import { jsx as jsx114 } from "@emotion/react/jsx-runtime";
19280
19406
  var Table = React24.forwardRef(
19281
19407
  ({ children, cellPadding, ...otherProps }, ref) => {
19282
- return /* @__PURE__ */ jsx113("table", { ref, css: table({ cellPadding }), ...otherProps, children });
19408
+ return /* @__PURE__ */ jsx114("table", { ref, css: table({ cellPadding }), ...otherProps, children });
19283
19409
  }
19284
19410
  );
19285
19411
  var TableHead = React24.forwardRef(
19286
19412
  ({ children, ...otherProps }, ref) => {
19287
- return /* @__PURE__ */ jsx113("thead", { ref, css: tableHead, ...otherProps, children });
19413
+ return /* @__PURE__ */ jsx114("thead", { ref, css: tableHead, ...otherProps, children });
19288
19414
  }
19289
19415
  );
19290
19416
  var TableBody = React24.forwardRef(
19291
19417
  ({ children, ...otherProps }, ref) => {
19292
- return /* @__PURE__ */ jsx113("tbody", { ref, ...otherProps, children });
19418
+ return /* @__PURE__ */ jsx114("tbody", { ref, ...otherProps, children });
19293
19419
  }
19294
19420
  );
19295
19421
  var TableFoot = React24.forwardRef(
19296
19422
  ({ children, ...otherProps }, ref) => {
19297
- return /* @__PURE__ */ jsx113("tfoot", { ref, ...otherProps, children });
19423
+ return /* @__PURE__ */ jsx114("tfoot", { ref, ...otherProps, children });
19298
19424
  }
19299
19425
  );
19300
19426
  var TableRow = React24.forwardRef(
19301
19427
  ({ children, ...otherProps }, ref) => {
19302
- return /* @__PURE__ */ jsx113("tr", { ref, css: tableRow, ...otherProps, children });
19428
+ return /* @__PURE__ */ jsx114("tr", { ref, css: tableRow, ...otherProps, children });
19303
19429
  }
19304
19430
  );
19305
19431
  var TableCellHead = React24.forwardRef(
19306
19432
  ({ children, ...otherProps }, ref) => {
19307
- return /* @__PURE__ */ jsx113("th", { ref, css: tableCellHead, ...otherProps, children });
19433
+ return /* @__PURE__ */ jsx114("th", { ref, css: tableCellHead, ...otherProps, children });
19308
19434
  }
19309
19435
  );
19310
19436
  var TableCellData = React24.forwardRef(
19311
19437
  ({ children, ...otherProps }, ref) => {
19312
- return /* @__PURE__ */ jsx113("td", { ref, ...otherProps, children });
19438
+ return /* @__PURE__ */ jsx114("td", { ref, ...otherProps, children });
19313
19439
  }
19314
19440
  );
19315
19441
 
@@ -19323,8 +19449,8 @@ import {
19323
19449
  } from "reakit/Tab";
19324
19450
 
19325
19451
  // src/components/Tabs/Tabs.styles.ts
19326
- import { css as css93 } from "@emotion/react";
19327
- var tabButtonStyles = css93`
19452
+ import { css as css94 } from "@emotion/react";
19453
+ var tabButtonStyles = css94`
19328
19454
  align-items: center;
19329
19455
  border: 0;
19330
19456
  height: 2.5rem;
@@ -19341,14 +19467,14 @@ var tabButtonStyles = css93`
19341
19467
  box-shadow: inset 0 -2px 0 var(--brand-secondary-3);
19342
19468
  }
19343
19469
  `;
19344
- var tabButtonGroupStyles = css93`
19470
+ var tabButtonGroupStyles = css94`
19345
19471
  display: flex;
19346
19472
  gap: var(--spacing-base);
19347
19473
  border-bottom: 1px solid var(--gray-300);
19348
19474
  `;
19349
19475
 
19350
19476
  // src/components/Tabs/Tabs.tsx
19351
- import { jsx as jsx114 } from "@emotion/react/jsx-runtime";
19477
+ import { jsx as jsx115 } from "@emotion/react/jsx-runtime";
19352
19478
  var CurrentTabContext = createContext6(null);
19353
19479
  var useCurrentTab = () => {
19354
19480
  const context = useContext7(CurrentTabContext);
@@ -19378,24 +19504,24 @@ var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...prop
19378
19504
  tab.setSelectedId(selected);
19379
19505
  }
19380
19506
  }, [selected]);
19381
- return /* @__PURE__ */ jsx114(CurrentTabContext.Provider, { value: tab, children });
19507
+ return /* @__PURE__ */ jsx115(CurrentTabContext.Provider, { value: tab, children });
19382
19508
  };
19383
19509
  var TabButtonGroup = ({ children, ...props }) => {
19384
19510
  const currentTab = useCurrentTab();
19385
- return /* @__PURE__ */ jsx114(ReakitTabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
19511
+ return /* @__PURE__ */ jsx115(ReakitTabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
19386
19512
  };
19387
19513
  var TabButton = ({ children, id, ...props }) => {
19388
19514
  const currentTab = useCurrentTab();
19389
- return /* @__PURE__ */ jsx114(ReakitTab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
19515
+ return /* @__PURE__ */ jsx115(ReakitTab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
19390
19516
  };
19391
19517
  var TabContent = ({ children, ...props }) => {
19392
19518
  const currentTab = useCurrentTab();
19393
- return /* @__PURE__ */ jsx114(ReakitTabPanel, { ...props, ...currentTab, children });
19519
+ return /* @__PURE__ */ jsx115(ReakitTabPanel, { ...props, ...currentTab, children });
19394
19520
  };
19395
19521
 
19396
19522
  // src/components/Validation/StatusBullet.styles.ts
19397
- import { css as css94 } from "@emotion/react";
19398
- var StatusBulletContainer = css94`
19523
+ import { css as css95 } from "@emotion/react";
19524
+ var StatusBulletContainer = css95`
19399
19525
  align-items: center;
19400
19526
  align-self: center;
19401
19527
  color: var(--gray-500);
@@ -19412,33 +19538,33 @@ var StatusBulletContainer = css94`
19412
19538
  display: block;
19413
19539
  }
19414
19540
  `;
19415
- var StatusBulletBase = css94`
19541
+ var StatusBulletBase = css95`
19416
19542
  font-size: var(--fs-sm);
19417
19543
  &:before {
19418
19544
  width: var(--fs-xs);
19419
19545
  height: var(--fs-xs);
19420
19546
  }
19421
19547
  `;
19422
- var StatusBulletSmall = css94`
19548
+ var StatusBulletSmall = css95`
19423
19549
  font-size: var(--fs-xs);
19424
19550
  &:before {
19425
19551
  width: var(--fs-xxs);
19426
19552
  height: var(--fs-xxs);
19427
19553
  }
19428
19554
  `;
19429
- var StatusDraft = css94`
19555
+ var StatusDraft = css95`
19430
19556
  &:before {
19431
19557
  background: var(--white);
19432
19558
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
19433
19559
  }
19434
19560
  `;
19435
- var StatusModified = css94`
19561
+ var StatusModified = css95`
19436
19562
  &:before {
19437
19563
  background: linear-gradient(to right, var(--white) 50%, var(--primary-action-default) 50% 100%);
19438
19564
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
19439
19565
  }
19440
19566
  `;
19441
- var StatusError = css94`
19567
+ var StatusError = css95`
19442
19568
  color: var(--error);
19443
19569
  &:before {
19444
19570
  /* TODO: replace this with an svg icon */
@@ -19451,24 +19577,24 @@ var StatusError = css94`
19451
19577
  );
19452
19578
  }
19453
19579
  `;
19454
- var StatusPublished = css94`
19580
+ var StatusPublished = css95`
19455
19581
  &:before {
19456
19582
  background: var(--primary-action-default);
19457
19583
  }
19458
19584
  `;
19459
- var StatusOrphan = css94`
19585
+ var StatusOrphan = css95`
19460
19586
  &:before {
19461
19587
  background: var(--brand-secondary-5);
19462
19588
  }
19463
19589
  `;
19464
- var StatusUnknown = css94`
19590
+ var StatusUnknown = css95`
19465
19591
  &:before {
19466
19592
  background: var(--brand-secondary-1);
19467
19593
  }
19468
19594
  `;
19469
19595
 
19470
19596
  // src/components/Validation/StatusBullet.tsx
19471
- import { jsx as jsx115 } from "@emotion/react/jsx-runtime";
19597
+ import { jsx as jsx116 } from "@emotion/react/jsx-runtime";
19472
19598
  var StatusBullet = ({
19473
19599
  status,
19474
19600
  hideText = false,
@@ -19487,7 +19613,7 @@ var StatusBullet = ({
19487
19613
  Unknown: StatusUnknown
19488
19614
  };
19489
19615
  const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
19490
- return /* @__PURE__ */ jsx115(
19616
+ return /* @__PURE__ */ jsx116(
19491
19617
  "span",
19492
19618
  {
19493
19619
  role: "status",
@@ -19575,6 +19701,7 @@ export {
19575
19701
  Modal,
19576
19702
  MultilineChip,
19577
19703
  PageHeaderSection,
19704
+ Pagination,
19578
19705
  Paragraph,
19579
19706
  ParameterDataResource,
19580
19707
  ParameterDrawerHeader,