@uniformdev/design-system 19.51.0 → 19.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1382,6 +1382,7 @@ __export(src_exports, {
1382
1382
  Icon: () => Icon,
1383
1383
  IconButton: () => IconButton,
1384
1384
  IconsProvider: () => IconsProvider,
1385
+ Image: () => Image,
1385
1386
  ImageBroken: () => ImageBroken,
1386
1387
  InfoMessage: () => InfoMessage,
1387
1388
  InlineAlert: () => InlineAlert,
@@ -3869,7 +3870,7 @@ var PageHeaderSection = ({
3869
3870
  if (linkText && linkProps && !linkManagerComponent) {
3870
3871
  throw Error("You must provide a linkManagerComponent");
3871
3872
  }
3872
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { css: PageHeaderSectionContainer, children: [
3873
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { css: PageHeaderSectionContainer, "data-testid": "page-header", children: [
3873
3874
  /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("section", { css: PageHeaderSectionDetails, children: [
3874
3875
  linkText && linkProps && linkManagerComponent ? /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { css: PageHeaderSectionLinkContainer, children: [
3875
3876
  /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { icon: import_CgChevronLeft2.CgChevronLeft, size: 18, css: PageHeaderSectionLinkIcon, iconColor: "currentColor" }),
@@ -3879,7 +3880,8 @@ var PageHeaderSection = ({
3879
3880
  linkManagerComponent,
3880
3881
  ...linkProps,
3881
3882
  css: PageHeaderSectionLink,
3882
- text: linkText
3883
+ text: linkText,
3884
+ "data-testid": "page-header-link"
3883
3885
  }
3884
3886
  )
3885
3887
  ] }) : null,
@@ -13161,6 +13163,7 @@ var Menu = ({
13161
13163
  typeof menuItemsContainerCssClasses === "object" ? menuItemsContainerCssClasses : void 0
13162
13164
  ],
13163
13165
  className: typeof menuItemsContainerCssClasses === "string" ? menuItemsContainerCssClasses : "",
13166
+ "data-testid": "more-menu",
13164
13167
  children: disableAutoSeparatorManagement ? children : filterMenuSeparators(children)
13165
13168
  }
13166
13169
  ) })
@@ -15059,51 +15062,62 @@ var import_react58 = require("react");
15059
15062
  init_emotion_jsx_shim();
15060
15063
  var import_react57 = require("@emotion/react");
15061
15064
  var iconButton = import_react57.css`
15062
- border-radius: 50%;
15063
- padding: var(--spacing-sm);
15064
- `;
15065
+ padding: 0;
15066
+ max-width: unset;
15067
+ justify-content: center;
15068
+ width: var(--button-size);
15069
+ height: var(--button-size);
15070
+ `;
15071
+ var sizes = {
15072
+ xs: import_react57.css`
15073
+ --button-size: 2rem;
15074
+ `,
15075
+ sm: import_react57.css`
15076
+ --button-size: 2.25rem;
15077
+ `,
15078
+ md: import_react57.css`
15079
+ --button-size: 2.5rem;
15080
+ `
15081
+ };
15082
+ var variants = {
15083
+ square: null,
15084
+ rounded: import_react57.css`
15085
+ border-radius: 50%;
15086
+ `
15087
+ };
15065
15088
 
15066
15089
  // src/components/IconButton/IconButton.tsx
15067
15090
  var import_jsx_runtime47 = require("@emotion/react/jsx-runtime");
15068
- var IconButton = (0, import_react58.forwardRef)(({ children, ...props }, ref) => {
15069
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Button, { ref, css: iconButton, ...props, children });
15070
- });
15091
+ var IconButton = (0, import_react58.forwardRef)(
15092
+ ({ children, size = "md", variant = "square", ...props }, ref) => {
15093
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Button, { ref, css: [iconButton, variants[variant], sizes[size]], ...props, children });
15094
+ }
15095
+ );
15071
15096
  IconButton.displayName = "IconButton";
15072
15097
 
15073
- // src/components/Image/ImageBroken.tsx
15098
+ // src/components/Image/index.ts
15074
15099
  init_emotion_jsx_shim();
15075
- var import_jsx_runtime48 = require("@emotion/react/jsx-runtime");
15076
- var ImageBroken = ({ width, height, ...props }) => {
15077
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
15078
- "svg",
15079
- {
15080
- role: "img",
15081
- width: width != null ? width : "214",
15082
- height: height != null ? height : "214",
15083
- viewBox: "0 0 214 214",
15084
- fill: "none",
15085
- xmlns: "http://www.w3.org/2000/svg",
15086
- xmlnsXlink: "http://www.w3.org/1999/xlink",
15087
- "data-testid": "broken-image",
15088
- ...props,
15089
- children: [
15090
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
15091
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
15092
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("defs", { children: [
15093
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
15094
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
15095
- "image",
15096
- {
15097
- id: "image0_761_4353",
15098
- width: "400",
15099
- height: "400",
15100
- xlinkHref: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAABX2lDQ1BJQ0MgUHJvZmlsZQAAKJFtkMFLAlEQxj/NEFIyQaJDhz1EEFiYdupmRhp5WCyxhA7rc3ODdXvsrkSn+ge6RATRPTpGBF46CP0DQVDQqVu3LoGXkm2eW61W8xjmx8fMvOED/GGFcz0AoG7YZiG7IK1vlKXgC/wYQ4ReVGEWT8tynlrwXfuj/QCfqPfTYlertBTZv3o9W8mdhmcblxN/+/tiqKpajOoHZZJx0wZ8CWJ51+aCD4hjJh1FfCy45vKF4IrLN92etUKG+I54hGlKlfiZOF7p0Ws9XNcb7OsGcX1YNYqrVEcpx5FHFhKK0GHDhEKcwyJ59P/MXHcmgx1w7FH/NmrQaFJCmhROW1TiZRhgmEGcOIkEZUp4/dtDT7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/components/Image/Image.tsx
15102
+ init_emotion_jsx_shim();
15103
+ var import_react72 = require("react");
15104
+
15105
+ // src/utils/url.ts
15106
+ init_emotion_jsx_shim();
15107
+ var isValidUrl = (urlString, options = {}) => {
15108
+ try {
15109
+ const isRelativeToLocation = /^([/.])/.test(urlString);
15110
+ const url = new URL(
15111
+ urlString,
15112
+ options.allowRelative && isRelativeToLocation ? "https://defaultbaseurl.com" : void 0
15113
+ );
15114
+ if (options.isSecure) {
15115
+ return url.protocol === "https:";
15105
15116
  }
15106
- );
15117
+ return true;
15118
+ } catch (e) {
15119
+ return false;
15120
+ }
15107
15121
  };
15108
15122
 
15109
15123
  // src/components/Input/Caption.tsx
@@ -15121,9 +15135,9 @@ var CaptionText = (dynamicSize) => import_react59.css`
15121
15135
  `;
15122
15136
 
15123
15137
  // src/components/Input/Caption.tsx
15124
- var import_jsx_runtime49 = require("@emotion/react/jsx-runtime");
15138
+ var import_jsx_runtime48 = require("@emotion/react/jsx-runtime");
15125
15139
  var Caption = ({ children, testId, dynamicSize = false, ...props }) => {
15126
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("small", { css: CaptionText(dynamicSize), "data-testid": testId, ...props, children });
15140
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("small", { css: CaptionText(dynamicSize), "data-testid": testId, ...props, children });
15127
15141
  };
15128
15142
 
15129
15143
  // src/components/Input/CheckboxWithInfo.tsx
@@ -15204,21 +15218,21 @@ var InfoDialogMessage = import_react60.css`
15204
15218
  `;
15205
15219
 
15206
15220
  // src/components/Input/CheckboxWithInfo.tsx
15207
- var import_jsx_runtime50 = require("@emotion/react/jsx-runtime");
15221
+ var import_jsx_runtime49 = require("@emotion/react/jsx-runtime");
15208
15222
  var InfoDialog = ({ message }) => {
15209
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { "data-testid": "info-dialog", css: InfoDialogContainer, children: [
15210
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Icon, { icon: "info", iconColor: "action", size: "0.9rem" }),
15211
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { role: "paragraph", css: InfoDialogMessage, className: "info-message", children: message })
15223
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { "data-testid": "info-dialog", css: InfoDialogContainer, children: [
15224
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Icon, { icon: "info", iconColor: "action", size: "0.9rem" }),
15225
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { role: "paragraph", css: InfoDialogMessage, className: "info-message", children: message })
15212
15226
  ] });
15213
15227
  };
15214
15228
  var CheckboxWithInfo = (0, import_react61.forwardRef)(
15215
15229
  ({ label, name, info, ...props }, ref) => {
15216
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { css: CheckboxWithInfoContainer, children: [
15217
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("label", { css: CheckboxWithInfoLabel, children: [
15218
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("input", { type: "checkbox", name, ref, css: CheckboxWithInfoInput, ...props }),
15219
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { children: label })
15230
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { css: CheckboxWithInfoContainer, children: [
15231
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("label", { css: CheckboxWithInfoLabel, children: [
15232
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("input", { type: "checkbox", name, ref, css: CheckboxWithInfoInput, ...props }),
15233
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { children: label })
15220
15234
  ] }),
15221
- info ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(InfoDialog, { message: info }) : null
15235
+ info ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(InfoDialog, { message: info }) : null
15222
15236
  ] });
15223
15237
  }
15224
15238
  );
@@ -15238,10 +15252,10 @@ var ErrorText = import_react62.css`
15238
15252
  `;
15239
15253
 
15240
15254
  // src/components/Input/ErrorMessage.tsx
15241
- var import_jsx_runtime51 = require("@emotion/react/jsx-runtime");
15255
+ var import_jsx_runtime50 = require("@emotion/react/jsx-runtime");
15242
15256
  var ErrorMessage = ({ message, testId, ...otherProps }) => {
15243
- return message ? /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("span", { role: "alert", css: ErrorText, "data-testid": testId, ...otherProps, children: [
15244
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon, { icon: import_MdWarning.MdWarning, size: "1rem", iconColor: "currentColor" }) }),
15257
+ return message ? /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("span", { role: "alert", css: ErrorText, "data-testid": testId, ...otherProps, children: [
15258
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Icon, { icon: import_MdWarning.MdWarning, size: "1rem", iconColor: "currentColor" }) }),
15245
15259
  message
15246
15260
  ] }) : null;
15247
15261
  };
@@ -15292,12 +15306,12 @@ var fieldsetBody = import_react63.css`
15292
15306
  `;
15293
15307
 
15294
15308
  // src/components/Input/Fieldset.tsx
15295
- var import_jsx_runtime52 = require("@emotion/react/jsx-runtime");
15309
+ var import_jsx_runtime51 = require("@emotion/react/jsx-runtime");
15296
15310
  var Fieldset = React15.forwardRef(
15297
15311
  ({ legend, disabled, children, invert, ...props }, ref) => {
15298
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("fieldset", { css: fieldsetContainer(Boolean(invert)), ref, disabled, ...props, children: [
15312
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("fieldset", { css: fieldsetContainer(Boolean(invert)), ref, disabled, ...props, children: [
15299
15313
  legend,
15300
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { css: fieldsetBody, children })
15314
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { css: fieldsetBody, children })
15301
15315
  ] });
15302
15316
  }
15303
15317
  );
@@ -15323,10 +15337,10 @@ var InfoIcon2 = import_react64.css`
15323
15337
  `;
15324
15338
 
15325
15339
  // src/components/Input/InfoMessage.tsx
15326
- var import_jsx_runtime53 = require("@emotion/react/jsx-runtime");
15340
+ var import_jsx_runtime52 = require("@emotion/react/jsx-runtime");
15327
15341
  var InfoMessage = ({ message, testId, ...props }) => {
15328
- return message ? /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("span", { role: "status", css: InfoText, "data-testid": testId, ...props, children: [
15329
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icon, { css: InfoIcon2, icon: import_MdInfoOutline.MdInfoOutline, size: "1rem", iconColor: "currentColor" }) }),
15342
+ return message ? /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("span", { role: "status", css: InfoText, "data-testid": testId, ...props, children: [
15343
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon, { css: InfoIcon2, icon: import_MdInfoOutline.MdInfoOutline, size: "1rem", iconColor: "currentColor" }) }),
15330
15344
  message
15331
15345
  ] }) : null;
15332
15346
  };
@@ -15337,9 +15351,9 @@ var React16 = __toESM(require("react"));
15337
15351
 
15338
15352
  // src/components/Input/Label.tsx
15339
15353
  init_emotion_jsx_shim();
15340
- var import_jsx_runtime54 = require("@emotion/react/jsx-runtime");
15354
+ var import_jsx_runtime53 = require("@emotion/react/jsx-runtime");
15341
15355
  var Label = ({ children, className, testId, ...props }) => {
15342
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
15356
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
15343
15357
  "label",
15344
15358
  {
15345
15359
  css: [labelText, typeof className === "object" ? className : void 0],
@@ -15369,16 +15383,16 @@ var WarningIcon = import_react65.css`
15369
15383
  `;
15370
15384
 
15371
15385
  // src/components/Input/WarningMessage.tsx
15372
- var import_jsx_runtime55 = require("@emotion/react/jsx-runtime");
15386
+ var import_jsx_runtime54 = require("@emotion/react/jsx-runtime");
15373
15387
  var WarningMessage = ({ message, testId, ...props }) => {
15374
- return message ? /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("span", { role: "status", css: WarningText, "data-testid": testId, ...props, children: [
15375
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Icon, { css: WarningIcon, icon: import_MdWarning2.MdWarning, size: "1rem", iconColor: "currentColor" }) }),
15388
+ return message ? /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("span", { role: "status", css: WarningText, "data-testid": testId, ...props, children: [
15389
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon, { css: WarningIcon, icon: import_MdWarning2.MdWarning, size: "1rem", iconColor: "currentColor" }) }),
15376
15390
  message
15377
15391
  ] }) : null;
15378
15392
  };
15379
15393
 
15380
15394
  // src/components/Input/Input.tsx
15381
- var import_jsx_runtime56 = require("@emotion/react/jsx-runtime");
15395
+ var import_jsx_runtime55 = require("@emotion/react/jsx-runtime");
15382
15396
  var Input = React16.forwardRef(
15383
15397
  ({
15384
15398
  label,
@@ -15398,13 +15412,13 @@ var Input = React16.forwardRef(
15398
15412
  classNameLabel,
15399
15413
  ...props
15400
15414
  }, ref) => {
15401
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
15415
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
15402
15416
  "div",
15403
15417
  {
15404
15418
  css: [inputContainer, typeof classNameRoot === "object" ? classNameRoot : void 0],
15405
15419
  "data-testid": containerTestId ? containerTestId : "container-input-field",
15406
15420
  children: [
15407
- showLabel ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
15421
+ showLabel ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
15408
15422
  Label,
15409
15423
  {
15410
15424
  htmlFor: id,
@@ -15414,13 +15428,13 @@ var Input = React16.forwardRef(
15414
15428
  children: label
15415
15429
  }
15416
15430
  ) : null,
15417
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
15431
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
15418
15432
  "div",
15419
15433
  {
15420
15434
  css: [inputContainer, typeof classNameContainer === "object" ? classNameContainer : void 0],
15421
15435
  className: typeof classNameContainer === "string" ? classNameContainer : "",
15422
15436
  children: [
15423
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
15437
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
15424
15438
  "input",
15425
15439
  {
15426
15440
  id,
@@ -15436,13 +15450,13 @@ var Input = React16.forwardRef(
15436
15450
  ref
15437
15451
  }
15438
15452
  ),
15439
- icon ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { css: inputIcon, children: icon }) : null
15453
+ icon ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { css: inputIcon, children: icon }) : null
15440
15454
  ]
15441
15455
  }
15442
15456
  ),
15443
- caption ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Caption, { testId: captionTestId, children: caption }) : null,
15444
- errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(ErrorMessage, { message: errorMessage, testId: errorTestId }) : null,
15445
- warningMessage && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(WarningMessage, { message: warningMessage }) : null
15457
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Caption, { testId: captionTestId, children: caption }) : null,
15458
+ errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ErrorMessage, { message: errorMessage, testId: errorTestId }) : null,
15459
+ warningMessage && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(WarningMessage, { message: warningMessage }) : null
15446
15460
  ]
15447
15461
  }
15448
15462
  );
@@ -15452,10 +15466,10 @@ var Input = React16.forwardRef(
15452
15466
  // src/components/Input/InputComboBox.tsx
15453
15467
  init_emotion_jsx_shim();
15454
15468
  var import_react_select = __toESM(require("react-select"));
15455
- var import_jsx_runtime57 = require("@emotion/react/jsx-runtime");
15469
+ var import_jsx_runtime56 = require("@emotion/react/jsx-runtime");
15456
15470
  function InputComboBox(props) {
15457
15471
  var _a;
15458
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
15472
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
15459
15473
  import_react_select.default,
15460
15474
  {
15461
15475
  ...props,
@@ -15657,7 +15671,7 @@ var inlineSelectMenuClosed = import_react66.css`
15657
15671
  `;
15658
15672
 
15659
15673
  // src/components/Input/InputInlineSelect.tsx
15660
- var import_jsx_runtime58 = require("@emotion/react/jsx-runtime");
15674
+ var import_jsx_runtime57 = require("@emotion/react/jsx-runtime");
15661
15675
  var InputInlineSelect = ({
15662
15676
  classNameContainer,
15663
15677
  options,
@@ -15671,7 +15685,7 @@ var InputInlineSelect = ({
15671
15685
  const divRef = (0, import_react68.useRef)(null);
15672
15686
  useOutsideClick(divRef, () => setMenuVisible(false));
15673
15687
  const selected = options.find((option) => option.value === value);
15674
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
15688
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
15675
15689
  "div",
15676
15690
  {
15677
15691
  ref: divRef,
@@ -15681,7 +15695,7 @@ var InputInlineSelect = ({
15681
15695
  `,
15682
15696
  className: typeof classNameContainer === "string" ? classNameContainer : "",
15683
15697
  children: [
15684
- /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
15698
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
15685
15699
  "button",
15686
15700
  {
15687
15701
  type: "button",
@@ -15695,18 +15709,18 @@ var InputInlineSelect = ({
15695
15709
  disabled,
15696
15710
  ...props,
15697
15711
  children: [
15698
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { children: (_a = selected == null ? void 0 : selected.label) != null ? _a : value }),
15699
- disabled ? null : /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { icon: import_CgChevronDown3.CgChevronDown, iconColor: "currentColor", size: 24 })
15712
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { children: (_a = selected == null ? void 0 : selected.label) != null ? _a : value }),
15713
+ disabled ? null : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Icon, { icon: import_CgChevronDown3.CgChevronDown, iconColor: "currentColor", size: 24 })
15700
15714
  ]
15701
15715
  }
15702
15716
  ),
15703
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
15717
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
15704
15718
  "div",
15705
15719
  {
15706
15720
  id: `and-or-${props.id}`,
15707
15721
  css: [inlineSelectMenu, menuVisible ? void 0 : inlineSelectMenuClosed],
15708
15722
  "aria-hidden": !menuVisible,
15709
- children: options.map((opt) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
15723
+ children: options.map((opt) => /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
15710
15724
  "button",
15711
15725
  {
15712
15726
  type: "button",
@@ -15730,7 +15744,7 @@ var InputInlineSelect = ({
15730
15744
  init_emotion_jsx_shim();
15731
15745
  var import_CgClose5 = require("@react-icons/all-files/cg/CgClose");
15732
15746
  var import_CgSearch2 = require("@react-icons/all-files/cg/CgSearch");
15733
- var import_jsx_runtime59 = require("@emotion/react/jsx-runtime");
15747
+ var import_jsx_runtime58 = require("@emotion/react/jsx-runtime");
15734
15748
  var InputKeywordSearch = ({
15735
15749
  onSearchTextChanged,
15736
15750
  disabled = false,
@@ -15751,7 +15765,7 @@ var InputKeywordSearch = ({
15751
15765
  e.preventDefault();
15752
15766
  }
15753
15767
  };
15754
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
15768
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
15755
15769
  Input,
15756
15770
  {
15757
15771
  type: "text",
@@ -15759,7 +15773,7 @@ var InputKeywordSearch = ({
15759
15773
  placeholder,
15760
15774
  showLabel: false,
15761
15775
  value,
15762
- icon: value ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("button", { css: inputSearchCloseBtn, onClick: onClear, type: "button", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Icon, { icon: import_CgClose5.CgClose, iconColor: "red", size: "1rem" }) }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Icon, { icon: import_CgSearch2.CgSearch, iconColor: "gray", size: "1rem" }),
15776
+ icon: value ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("button", { css: inputSearchCloseBtn, onClick: onClear, type: "button", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { icon: import_CgClose5.CgClose, iconColor: "red", size: "1rem" }) }) : /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { icon: import_CgSearch2.CgSearch, iconColor: "gray", size: "1rem" }),
15763
15777
  onChange: handleSearchTextChanged,
15764
15778
  onKeyPress: preventSubmitOnField,
15765
15779
  disabled,
@@ -15778,7 +15792,7 @@ var InputKeywordSearch = ({
15778
15792
 
15779
15793
  // src/components/Input/InputSelect.tsx
15780
15794
  init_emotion_jsx_shim();
15781
- var import_jsx_runtime60 = require("@emotion/react/jsx-runtime");
15795
+ var import_jsx_runtime59 = require("@emotion/react/jsx-runtime");
15782
15796
  var InputSelect = ({
15783
15797
  label,
15784
15798
  defaultOption,
@@ -15794,13 +15808,13 @@ var InputSelect = ({
15794
15808
  classNameLabel,
15795
15809
  ...props
15796
15810
  }) => {
15797
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
15811
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
15798
15812
  "div",
15799
15813
  {
15800
15814
  css: [inputContainer, typeof classNameContainer === "object" ? classNameContainer : void 0],
15801
15815
  className: typeof classNameContainer === "string" ? classNameContainer : "",
15802
15816
  children: [
15803
- showLabel ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_jsx_runtime60.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
15817
+ showLabel ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_jsx_runtime59.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
15804
15818
  Label,
15805
15819
  {
15806
15820
  htmlFor: props.id,
@@ -15812,7 +15826,7 @@ var InputSelect = ({
15812
15826
  ]
15813
15827
  }
15814
15828
  ) }) : null,
15815
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
15829
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
15816
15830
  "select",
15817
15831
  {
15818
15832
  title: label,
@@ -15827,14 +15841,14 @@ var InputSelect = ({
15827
15841
  className: typeof classNameControl === "string" ? classNameControl : "",
15828
15842
  ...props,
15829
15843
  children: [
15830
- defaultOption ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("option", { value: "", children: defaultOption }) : null,
15831
- options.map((opt, index) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("option", { value: opt.label, ...opt }, index))
15844
+ defaultOption ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("option", { value: "", children: defaultOption }) : null,
15845
+ options.map((opt, index) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("option", { value: opt.label, ...opt }, index))
15832
15846
  ]
15833
15847
  }
15834
15848
  ),
15835
- caption ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Caption, { children: caption }) : null,
15836
- errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(ErrorMessage, { message: errorMessage }) : null,
15837
- warningMessage && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(WarningMessage, { message: warningMessage }) : null
15849
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Caption, { children: caption }) : null,
15850
+ errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ErrorMessage, { message: errorMessage }) : null,
15851
+ warningMessage && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(WarningMessage, { message: warningMessage }) : null
15838
15852
  ]
15839
15853
  }
15840
15854
  );
@@ -15843,7 +15857,7 @@ var InputSelect = ({
15843
15857
  // src/components/Input/InputToggle.tsx
15844
15858
  init_emotion_jsx_shim();
15845
15859
  var React17 = __toESM(require("react"));
15846
- var import_jsx_runtime61 = require("@emotion/react/jsx-runtime");
15860
+ var import_jsx_runtime60 = require("@emotion/react/jsx-runtime");
15847
15861
  var InputToggle = React17.forwardRef(
15848
15862
  ({
15849
15863
  label,
@@ -15858,13 +15872,13 @@ var InputToggle = React17.forwardRef(
15858
15872
  fontWeight = "medium",
15859
15873
  ...props
15860
15874
  }, ref) => {
15861
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
15875
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
15862
15876
  Label,
15863
15877
  {
15864
15878
  css: [inputToggleLabel, disabled ? inputDisabled : void 0],
15865
15879
  "data-testid": testId ? testId : "input-toggle",
15866
15880
  children: [
15867
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
15881
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
15868
15882
  "input",
15869
15883
  {
15870
15884
  ref,
@@ -15876,11 +15890,11 @@ var InputToggle = React17.forwardRef(
15876
15890
  ...props
15877
15891
  }
15878
15892
  ),
15879
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { css: inlineLabel(fontWeight), children: label }),
15880
- caption || errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("span", { css: inputToggleMessageContainer, children: [
15881
- caption ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Caption, { children: caption }) : null,
15882
- errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ErrorMessage, { message: errorMessage }) : null,
15883
- warningMessage && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(WarningMessage, { message: warningMessage }) : null
15893
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { css: inlineLabel(fontWeight), children: label }),
15894
+ caption || errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("span", { css: inputToggleMessageContainer, children: [
15895
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Caption, { children: caption }) : null,
15896
+ errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(ErrorMessage, { message: errorMessage }) : null,
15897
+ warningMessage && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(WarningMessage, { message: warningMessage }) : null
15884
15898
  ] }) : null
15885
15899
  ]
15886
15900
  }
@@ -15890,9 +15904,9 @@ var InputToggle = React17.forwardRef(
15890
15904
 
15891
15905
  // src/components/Input/Legend.tsx
15892
15906
  init_emotion_jsx_shim();
15893
- var import_jsx_runtime62 = require("@emotion/react/jsx-runtime");
15907
+ var import_jsx_runtime61 = require("@emotion/react/jsx-runtime");
15894
15908
  var Legend = ({ children }) => {
15895
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("legend", { css: fieldsetLegend, children });
15909
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("legend", { css: fieldsetLegend, children });
15896
15910
  };
15897
15911
 
15898
15912
  // src/components/Input/SuccessMessage.tsx
@@ -15916,10 +15930,10 @@ var SuccessIcon2 = import_react69.css`
15916
15930
  `;
15917
15931
 
15918
15932
  // src/components/Input/SuccessMessage.tsx
15919
- var import_jsx_runtime63 = require("@emotion/react/jsx-runtime");
15933
+ var import_jsx_runtime62 = require("@emotion/react/jsx-runtime");
15920
15934
  var SuccessMessage = ({ message, testId, ...props }) => {
15921
- return message ? /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("span", { role: "status", css: SuccessText, "data-testid": testId, ...props, children: [
15922
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Icon, { css: SuccessIcon2, icon: import_CgCheckO2.CgCheckO, size: "1rem", iconColor: "currentColor" }) }),
15935
+ return message ? /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("span", { role: "status", css: SuccessText, "data-testid": testId, ...props, children: [
15936
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Icon, { css: SuccessIcon2, icon: import_CgCheckO2.CgCheckO, size: "1rem", iconColor: "currentColor" }) }),
15923
15937
  message
15924
15938
  ] }) : null;
15925
15939
  };
@@ -15927,13 +15941,13 @@ var SuccessMessage = ({ message, testId, ...props }) => {
15927
15941
  // src/components/Input/Textarea.tsx
15928
15942
  init_emotion_jsx_shim();
15929
15943
  var import_react70 = require("react");
15930
- var import_jsx_runtime64 = require("@emotion/react/jsx-runtime");
15944
+ var import_jsx_runtime63 = require("@emotion/react/jsx-runtime");
15931
15945
  var Textarea = (0, import_react70.forwardRef)(
15932
15946
  ({ label, icon, id, caption, showLabel = true, errorMessage, warningMessage, ...props }, ref) => {
15933
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx_runtime64.Fragment, { children: [
15934
- showLabel ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("label", { htmlFor: id, css: [labelText], children: label }) : null,
15935
- /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { css: [inputContainer], children: [
15936
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
15947
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_jsx_runtime63.Fragment, { children: [
15948
+ showLabel ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("label", { htmlFor: id, css: [labelText], children: label }) : null,
15949
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { css: [inputContainer], children: [
15950
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
15937
15951
  "textarea",
15938
15952
  {
15939
15953
  ref,
@@ -15948,28 +15962,203 @@ var Textarea = (0, import_react70.forwardRef)(
15948
15962
  ...props
15949
15963
  }
15950
15964
  ),
15951
- icon ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { css: inputIcon, children: icon }) : null
15965
+ icon ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { css: inputIcon, children: icon }) : null
15952
15966
  ] }),
15953
- caption ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Caption, { children: caption }) : null,
15954
- errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(ErrorMessage, { message: errorMessage }) : null,
15955
- warningMessage && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(WarningMessage, { message: warningMessage }) : null
15967
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Caption, { children: caption }) : null,
15968
+ errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(ErrorMessage, { message: errorMessage }) : null,
15969
+ warningMessage && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(WarningMessage, { message: warningMessage }) : null
15956
15970
  ] });
15957
15971
  }
15958
15972
  );
15959
15973
 
15974
+ // src/components/Image/Image.styles.ts
15975
+ init_emotion_jsx_shim();
15976
+ var import_react71 = require("@emotion/react");
15977
+ var imageWrapper = import_react71.css`
15978
+ position: relative;
15979
+ display: inline-flex;
15980
+ flex-direction: column;
15981
+ background: var(--gray-50);
15982
+ max-width: 100%;
15983
+ max-height: 100%;
15984
+ `;
15985
+ var imageWrapperLoading = import_react71.css`
15986
+ animation: ${skeletonLoading} var(--duration-slow) linear infinite alternate;
15987
+ `;
15988
+ var img = import_react71.css`
15989
+ object-fit: contain;
15990
+ max-width: 100%;
15991
+ max-height: 100%;
15992
+ height: auto;
15993
+ opacity: var(--opacity-0);
15994
+ margin: 0 auto;
15995
+ `;
15996
+ var imgLoading = import_react71.css`
15997
+ opacity: 0;
15998
+ `;
15999
+ var imgLoaded = import_react71.css`
16000
+ animation: ${fadeIn} var(--duration-slow) var(--timing-ease-out) forwards;
16001
+ opacity: 1;
16002
+ `;
16003
+ var brokenImage = import_react71.css`
16004
+ height: 160px;
16005
+ `;
16006
+ var variantFillImageWrapper = import_react71.css`
16007
+ display: flex;
16008
+ justify-content: center;
16009
+ height: 100%;
16010
+ width: 100%;
16011
+ `;
16012
+ var variantFillImageImg = import_react71.css`
16013
+ height: inherit;
16014
+ `;
16015
+
16016
+ // src/components/Image/ImageBroken.tsx
16017
+ init_emotion_jsx_shim();
16018
+ var import_jsx_runtime64 = require("@emotion/react/jsx-runtime");
16019
+ var ImageBroken = ({ width, height, ...props }) => {
16020
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
16021
+ "svg",
16022
+ {
16023
+ role: "img",
16024
+ width: width != null ? width : "214",
16025
+ height: height != null ? height : "214",
16026
+ viewBox: "0 0 214 214",
16027
+ fill: "none",
16028
+ xmlns: "http://www.w3.org/2000/svg",
16029
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
16030
+ "data-testid": "broken-image",
16031
+ ...props,
16032
+ children: [
16033
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
16034
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
16035
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("defs", { children: [
16036
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
16037
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
16038
+ "image",
16039
+ {
16040
+ id: "image0_761_4353",
16041
+ width: "400",
16042
+ height: "400",
16043
+ xlinkHref: "data:image/png;base64,iVB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DEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBsBDMtNUfKBgDEBDMtYXFKDgBuB/we75KcVO2CRagAAAABJRU5ErkJggg=="
16044
+ }
16045
+ )
16046
+ ] })
16047
+ ]
16048
+ }
16049
+ );
16050
+ };
16051
+
16052
+ // src/components/Image/Image.tsx
16053
+ var import_jsx_runtime65 = require("@emotion/react/jsx-runtime");
16054
+ var MIN_LOADING_MS = 500;
16055
+ function Image({
16056
+ alt,
16057
+ src,
16058
+ className,
16059
+ imgClassName,
16060
+ variant = "inline",
16061
+ width,
16062
+ height,
16063
+ ...imgAttribs
16064
+ }) {
16065
+ const [loading, setLoading] = (0, import_react72.useState)(true);
16066
+ const [loadErrorText, setLoadErrorText] = (0, import_react72.useState)("");
16067
+ const errorText = "The text you provided is not a valid URL";
16068
+ const updateImageSrc = (0, import_react72.useCallback)(() => {
16069
+ let message = "";
16070
+ try {
16071
+ if (src === "") {
16072
+ setLoading(false);
16073
+ } else {
16074
+ const url = String(src).startsWith("//") ? `${location.protocol}${src}` : String(src);
16075
+ if (!isValidUrl(url, { allowRelative: true, isSecure: true })) {
16076
+ throw Error(errorText);
16077
+ }
16078
+ }
16079
+ message = "";
16080
+ } catch (e) {
16081
+ message = errorText;
16082
+ setLoading(false);
16083
+ }
16084
+ setLoadErrorText(message);
16085
+ }, [setLoadErrorText, src]);
16086
+ (0, import_react72.useEffect)(() => {
16087
+ updateImageSrc();
16088
+ }, [src]);
16089
+ const handleLoadEvent = () => {
16090
+ setLoadErrorText("");
16091
+ if (src) {
16092
+ setLoading(true);
16093
+ }
16094
+ const timer = setTimeout(() => {
16095
+ setLoading(false);
16096
+ }, MIN_LOADING_MS);
16097
+ return () => clearTimeout(timer);
16098
+ };
16099
+ const handleErrorEvent = () => {
16100
+ setLoadErrorText("The value you provided is not a valid image URL");
16101
+ setLoading(false);
16102
+ };
16103
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
16104
+ "span",
16105
+ {
16106
+ className,
16107
+ css: [
16108
+ imageWrapper,
16109
+ loading ? imageWrapperLoading : null,
16110
+ variant === "fill-container" ? variantFillImageWrapper : null
16111
+ ],
16112
+ children: [
16113
+ src && !loadErrorText ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
16114
+ "img",
16115
+ {
16116
+ ...imgAttribs,
16117
+ className: imgClassName,
16118
+ alt,
16119
+ src,
16120
+ css: [
16121
+ img,
16122
+ variant === "fill-container" ? variantFillImageImg : null,
16123
+ loading ? imgLoading : imgLoaded
16124
+ ],
16125
+ loading: "lazy",
16126
+ width,
16127
+ height,
16128
+ onLoad: handleLoadEvent,
16129
+ onError: handleErrorEvent
16130
+ }
16131
+ ) : null,
16132
+ src && loadErrorText ? /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_jsx_runtime65.Fragment, { children: [
16133
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
16134
+ ImageBroken,
16135
+ {
16136
+ css: [brokenImage, img, imgLoaded],
16137
+ width,
16138
+ height,
16139
+ "data-testid": "broken-image"
16140
+ }
16141
+ ),
16142
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ErrorMessage, { message: loadErrorText })
16143
+ ] }) : null
16144
+ ]
16145
+ }
16146
+ );
16147
+ }
16148
+
15960
16149
  // src/components/IntegrationModalHeader/IntegrationModalHeader.tsx
15961
16150
  init_emotion_jsx_shim();
15962
16151
 
15963
16152
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
15964
16153
  init_emotion_jsx_shim();
15965
- var import_react72 = require("@emotion/react");
16154
+ var import_react74 = require("@emotion/react");
15966
16155
  var import_CgAdd3 = require("@react-icons/all-files/cg/CgAdd");
15967
16156
  var import_CgChevronRight3 = require("@react-icons/all-files/cg/CgChevronRight");
15968
16157
 
15969
16158
  // src/components/Tiles/styles/IntegrationTile.styles.ts
15970
16159
  init_emotion_jsx_shim();
15971
- var import_react71 = require("@emotion/react");
15972
- var IntegrationTileContainer = import_react71.css`
16160
+ var import_react73 = require("@emotion/react");
16161
+ var IntegrationTileContainer = import_react73.css`
15973
16162
  align-items: center;
15974
16163
  box-sizing: border-box;
15975
16164
  border-radius: var(--rounded-base);
@@ -16000,22 +16189,22 @@ var IntegrationTileContainer = import_react71.css`
16000
16189
  }
16001
16190
  }
16002
16191
  `;
16003
- var IntegrationTileBtnDashedBorder = import_react71.css`
16192
+ var IntegrationTileBtnDashedBorder = import_react73.css`
16004
16193
  border: 1px dashed var(--brand-secondary-1);
16005
16194
  `;
16006
- var IntegrationTileTitle = import_react71.css`
16195
+ var IntegrationTileTitle = import_react73.css`
16007
16196
  display: block;
16008
16197
  font-weight: var(--fw-bold);
16009
16198
  margin: 0 0 var(--spacing-base);
16010
16199
  max-width: 13rem;
16011
16200
  `;
16012
- var IntegrationTitleLogo = import_react71.css`
16201
+ var IntegrationTitleLogo = import_react73.css`
16013
16202
  display: block;
16014
16203
  max-width: 10rem;
16015
16204
  max-height: 4rem;
16016
16205
  margin: 0 auto;
16017
16206
  `;
16018
- var IntegrationTileName = import_react71.css`
16207
+ var IntegrationTileName = import_react73.css`
16019
16208
  color: var(--gray-500);
16020
16209
  display: -webkit-box;
16021
16210
  -webkit-line-clamp: 1;
@@ -16028,7 +16217,7 @@ var IntegrationTileName = import_react71.css`
16028
16217
  position: absolute;
16029
16218
  bottom: calc(var(--spacing-base) * 3.8);
16030
16219
  `;
16031
- var IntegrationAddedText = import_react71.css`
16220
+ var IntegrationAddedText = import_react73.css`
16032
16221
  align-items: center;
16033
16222
  background: var(--brand-secondary-3);
16034
16223
  border-radius: 0 var(--rounded-md) 0 var(--rounded-md);
@@ -16043,7 +16232,7 @@ var IntegrationAddedText = import_react71.css`
16043
16232
  top: 0;
16044
16233
  right: 0;
16045
16234
  `;
16046
- var IntegrationCustomBadgeText = (theme) => import_react71.css`
16235
+ var IntegrationCustomBadgeText = (theme) => import_react73.css`
16047
16236
  align-items: center;
16048
16237
  border-radius: var(--rounded-sm) 0 var(--rounded-sm) 0;
16049
16238
  background: ${theme === "gray" ? "var(--brand-secondary-2)" : "var(--brand-secondary-1)"};
@@ -16057,26 +16246,26 @@ var IntegrationCustomBadgeText = (theme) => import_react71.css`
16057
16246
  top: 0;
16058
16247
  left: 0;
16059
16248
  `;
16060
- var IntegrationAuthorBadgeIcon = import_react71.css`
16249
+ var IntegrationAuthorBadgeIcon = import_react73.css`
16061
16250
  position: absolute;
16062
16251
  bottom: var(--spacing-sm);
16063
16252
  right: var(--spacing-xs);
16064
16253
  max-height: 1rem;
16065
16254
  `;
16066
- var IntegrationTitleFakeButton = import_react71.css`
16255
+ var IntegrationTitleFakeButton = import_react73.css`
16067
16256
  font-size: var(--fs-xs);
16068
16257
  gap: var(--spacing-sm);
16069
16258
  padding: var(--spacing-sm) var(--spacing-base);
16070
16259
  text-transform: uppercase;
16071
16260
  `;
16072
- var IntegrationTileFloatingButton = import_react71.css`
16261
+ var IntegrationTileFloatingButton = import_react73.css`
16073
16262
  position: absolute;
16074
16263
  bottom: var(--spacing-base);
16075
16264
  gap: var(--spacing-sm);
16076
16265
  font-size: var(--fs-xs);
16077
16266
  overflow: hidden;
16078
16267
  `;
16079
- var IntegrationTileFloatingButtonMessage = (clicked) => import_react71.css`
16268
+ var IntegrationTileFloatingButtonMessage = (clicked) => import_react73.css`
16080
16269
  strong,
16081
16270
  span:first-of-type {
16082
16271
  transition: opacity var(--duration-fast) var(--timing-ease-out);
@@ -16097,7 +16286,7 @@ var IntegrationTileFloatingButtonMessage = (clicked) => import_react71.css`
16097
16286
  `;
16098
16287
 
16099
16288
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
16100
- var import_jsx_runtime65 = require("@emotion/react/jsx-runtime");
16289
+ var import_jsx_runtime66 = require("@emotion/react/jsx-runtime");
16101
16290
  var CreateTeamIntegrationTile = ({
16102
16291
  title = "Create a custom integration for your team",
16103
16292
  buttonText = "Add Integration",
@@ -16105,9 +16294,9 @@ var CreateTeamIntegrationTile = ({
16105
16294
  asDeepLink = false,
16106
16295
  ...props
16107
16296
  }) => {
16108
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
16109
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { css: IntegrationTileTitle, title, children: title }),
16110
- /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
16297
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
16298
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { css: IntegrationTileTitle, title, children: title }),
16299
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
16111
16300
  Button,
16112
16301
  {
16113
16302
  buttonType: "tertiary",
@@ -16117,23 +16306,23 @@ var CreateTeamIntegrationTile = ({
16117
16306
  css: IntegrationTitleFakeButton,
16118
16307
  children: [
16119
16308
  buttonText,
16120
- asDeepLink ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
16309
+ asDeepLink ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
16121
16310
  Icon,
16122
16311
  {
16123
16312
  icon: import_CgChevronRight3.CgChevronRight,
16124
16313
  iconColor: "currentColor",
16125
16314
  size: 20,
16126
- css: import_react72.css`
16315
+ css: import_react74.css`
16127
16316
  order: 1;
16128
16317
  `
16129
16318
  }
16130
- ) : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
16319
+ ) : /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
16131
16320
  Icon,
16132
16321
  {
16133
16322
  icon: import_CgAdd3.CgAdd,
16134
16323
  iconColor: "currentColor",
16135
16324
  size: 16,
16136
- css: import_react72.css`
16325
+ css: import_react74.css`
16137
16326
  order: -1;
16138
16327
  `
16139
16328
  }
@@ -16152,32 +16341,32 @@ init_emotion_jsx_shim();
16152
16341
  var import_CgCheck2 = require("@react-icons/all-files/cg/CgCheck");
16153
16342
  var import_CgLock2 = require("@react-icons/all-files/cg/CgLock");
16154
16343
  var import_CgSandClock2 = require("@react-icons/all-files/cg/CgSandClock");
16155
- var import_jsx_runtime66 = require("@emotion/react/jsx-runtime");
16344
+ var import_jsx_runtime67 = require("@emotion/react/jsx-runtime");
16156
16345
  var IntegrationedAddedBadge = ({ text = "Added" }) => {
16157
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("span", { "data-testid": "integration-icon-installed", css: IntegrationAddedText, children: [
16158
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Icon, { icon: import_CgCheck2.CgCheck, iconColor: "currentColor" }),
16346
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("span", { "data-testid": "integration-icon-installed", css: IntegrationAddedText, children: [
16347
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Icon, { icon: import_CgCheck2.CgCheck, iconColor: "currentColor" }),
16159
16348
  text
16160
16349
  ] });
16161
16350
  };
16162
16351
  var IntegrationCustomBadge = ({ text = "Custom" }) => {
16163
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
16352
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
16164
16353
  };
16165
16354
  var IntegrationPremiumBadge = ({ text = "Premium" }) => {
16166
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("span", { css: IntegrationCustomBadgeText("blue"), children: [
16167
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Icon, { icon: import_CgLock2.CgLock, iconColor: "currentColor", size: 12 }),
16355
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("span", { css: IntegrationCustomBadgeText("blue"), children: [
16356
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Icon, { icon: import_CgLock2.CgLock, iconColor: "currentColor", size: 12 }),
16168
16357
  text
16169
16358
  ] });
16170
16359
  };
16171
16360
  var IntegrationComingSoonBadge = ({ text = "Coming soon" }) => {
16172
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("span", { css: IntegrationCustomBadgeText("blue"), children: [
16173
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Icon, { icon: import_CgSandClock2.CgSandClock, iconColor: "currentColor", size: 12 }),
16361
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("span", { css: IntegrationCustomBadgeText("blue"), children: [
16362
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Icon, { icon: import_CgSandClock2.CgSandClock, iconColor: "currentColor", size: 12 }),
16174
16363
  text
16175
16364
  ] });
16176
16365
  };
16177
16366
 
16178
16367
  // src/components/Tiles/ResolveIcon.tsx
16179
16368
  init_emotion_jsx_shim();
16180
- var import_jsx_runtime67 = require("@emotion/react/jsx-runtime");
16369
+ var import_jsx_runtime68 = require("@emotion/react/jsx-runtime");
16181
16370
  var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
16182
16371
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
16183
16372
  const mapClassName = {
@@ -16185,13 +16374,13 @@ var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
16185
16374
  logo: IntegrationTitleLogo
16186
16375
  };
16187
16376
  if (icon) {
16188
- return CompIcon ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
16377
+ return CompIcon ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
16189
16378
  }
16190
16379
  return null;
16191
16380
  };
16192
16381
 
16193
16382
  // src/components/Tiles/EditTeamIntegrationTile.tsx
16194
- var import_jsx_runtime68 = require("@emotion/react/jsx-runtime");
16383
+ var import_jsx_runtime69 = require("@emotion/react/jsx-runtime");
16195
16384
  var EditTeamIntegrationTile = ({
16196
16385
  id,
16197
16386
  icon,
@@ -16200,17 +16389,17 @@ var EditTeamIntegrationTile = ({
16200
16389
  isPublic,
16201
16390
  canEdit = false
16202
16391
  }) => {
16203
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
16392
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
16204
16393
  "div",
16205
16394
  {
16206
16395
  css: IntegrationTileContainer,
16207
16396
  "data-testid": "configure-integration-container",
16208
16397
  "integration-id": `${id.toLocaleLowerCase()}`,
16209
16398
  children: [
16210
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(ResolveIcon, { icon, name, "data-testid": "integration-logo" }),
16211
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { css: IntegrationTileName, "data-testid": "integration-card-name", children: name }),
16212
- !isPublic ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(IntegrationCustomBadge, {}) : null,
16213
- canEdit ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
16399
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ResolveIcon, { icon, name, "data-testid": "integration-logo" }),
16400
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { css: IntegrationTileName, "data-testid": "integration-card-name", children: name }),
16401
+ !isPublic ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(IntegrationCustomBadge, {}) : null,
16402
+ canEdit ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
16214
16403
  Button,
16215
16404
  {
16216
16405
  buttonType: "unimportant",
@@ -16229,10 +16418,10 @@ var EditTeamIntegrationTile = ({
16229
16418
 
16230
16419
  // src/components/Tiles/IntegrationComingSoon.tsx
16231
16420
  init_emotion_jsx_shim();
16232
- var import_react73 = require("@emotion/react");
16421
+ var import_react75 = require("@emotion/react");
16233
16422
  var import_CgHeart2 = require("@react-icons/all-files/cg/CgHeart");
16234
- var import_react74 = require("react");
16235
- var import_jsx_runtime69 = require("@emotion/react/jsx-runtime");
16423
+ var import_react76 = require("react");
16424
+ var import_jsx_runtime70 = require("@emotion/react/jsx-runtime");
16236
16425
  var IntegrationComingSoon = ({
16237
16426
  name,
16238
16427
  icon,
@@ -16241,12 +16430,12 @@ var IntegrationComingSoon = ({
16241
16430
  timing = 1e3,
16242
16431
  ...props
16243
16432
  }) => {
16244
- const [upVote, setUpVote] = (0, import_react74.useState)(false);
16433
+ const [upVote, setUpVote] = (0, import_react76.useState)(false);
16245
16434
  const handleUpVoteInteraction = () => {
16246
16435
  setUpVote((prev) => !prev);
16247
16436
  onUpVoteClick();
16248
16437
  };
16249
- (0, import_react74.useEffect)(() => {
16438
+ (0, import_react76.useEffect)(() => {
16250
16439
  if (upVote) {
16251
16440
  const timer = setTimeout(() => setUpVote(false), timing);
16252
16441
  return () => {
@@ -16254,17 +16443,17 @@ var IntegrationComingSoon = ({
16254
16443
  };
16255
16444
  }
16256
16445
  }, [upVote, setUpVote, timing]);
16257
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
16446
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
16258
16447
  "div",
16259
16448
  {
16260
16449
  css: IntegrationTileContainer,
16261
16450
  "data-testid": `coming-soon-${id.toLowerCase()}-integration`,
16262
16451
  ...props,
16263
16452
  children: [
16264
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(IntegrationComingSoonBadge, {}),
16265
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ResolveIcon, { icon, name }),
16266
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { css: IntegrationTileName, title: name, children: name }),
16267
- /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
16453
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(IntegrationComingSoonBadge, {}),
16454
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ResolveIcon, { icon, name }),
16455
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { css: IntegrationTileName, title: name, children: name }),
16456
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
16268
16457
  Button,
16269
16458
  {
16270
16459
  buttonType: "unimportant",
@@ -16274,19 +16463,19 @@ var IntegrationComingSoon = ({
16274
16463
  role: "link",
16275
16464
  css: [IntegrationTileFloatingButton, IntegrationTileFloatingButtonMessage(upVote)],
16276
16465
  children: [
16277
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("strong", { children: "+1" }),
16278
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
16466
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("strong", { children: "+1" }),
16467
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
16279
16468
  "span",
16280
16469
  {
16281
- css: import_react73.css`
16470
+ css: import_react75.css`
16282
16471
  text-transform: uppercase;
16283
16472
  color: var(--gray-500);
16284
16473
  `,
16285
16474
  children: "(I want this)"
16286
16475
  }
16287
16476
  ),
16288
- /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("span", { "aria-hidden": !upVote, children: [
16289
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Icon, { icon: import_CgHeart2.CgHeart, iconColor: "currentColor", size: 18 }),
16477
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("span", { "aria-hidden": !upVote, children: [
16478
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Icon, { icon: import_CgHeart2.CgHeart, iconColor: "currentColor", size: 18 }),
16290
16479
  "Thanks!"
16291
16480
  ] })
16292
16481
  ]
@@ -16302,8 +16491,8 @@ init_emotion_jsx_shim();
16302
16491
 
16303
16492
  // src/components/Tiles/styles/IntegrationLoadingTile.styles.ts
16304
16493
  init_emotion_jsx_shim();
16305
- var import_react75 = require("@emotion/react");
16306
- var IntegrationLoadingTileContainer = import_react75.css`
16494
+ var import_react77 = require("@emotion/react");
16495
+ var IntegrationLoadingTileContainer = import_react77.css`
16307
16496
  align-items: center;
16308
16497
  box-sizing: border-box;
16309
16498
  border-radius: var(--rounded-base);
@@ -16330,28 +16519,28 @@ var IntegrationLoadingTileContainer = import_react75.css`
16330
16519
  }
16331
16520
  }
16332
16521
  `;
16333
- var IntegrationLoadingTileImg = import_react75.css`
16522
+ var IntegrationLoadingTileImg = import_react77.css`
16334
16523
  width: 10rem;
16335
16524
  height: 4rem;
16336
16525
  margin: 0 auto;
16337
16526
  `;
16338
- var IntegrationLoadingTileText = import_react75.css`
16527
+ var IntegrationLoadingTileText = import_react77.css`
16339
16528
  width: 5rem;
16340
16529
  height: var(--spacing-sm);
16341
16530
  margin: var(--spacing-sm) 0;
16342
16531
  `;
16343
- var IntegrationLoadingFrame = import_react75.css`
16532
+ var IntegrationLoadingFrame = import_react77.css`
16344
16533
  animation: ${skeletonLoading} 1s linear infinite alternate;
16345
16534
  border-radius: var(--rounded-base);
16346
16535
  `;
16347
16536
 
16348
16537
  // src/components/Tiles/IntegrationLoadingTile.tsx
16349
- var import_jsx_runtime70 = require("@emotion/react/jsx-runtime");
16538
+ var import_jsx_runtime71 = require("@emotion/react/jsx-runtime");
16350
16539
  var IntegrationLoadingTile = ({ count = 1 }) => {
16351
16540
  const componentCount = Array.from(Array(count).keys());
16352
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_jsx_runtime70.Fragment, { children: componentCount.map((i) => /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { css: IntegrationLoadingTileContainer, children: [
16353
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
16354
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
16541
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(import_jsx_runtime71.Fragment, { children: componentCount.map((i) => /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { css: IntegrationLoadingTileContainer, children: [
16542
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
16543
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
16355
16544
  ] }, i)) });
16356
16545
  };
16357
16546
 
@@ -16360,13 +16549,13 @@ init_emotion_jsx_shim();
16360
16549
 
16361
16550
  // src/components/Tiles/styles/IntegrationModalIcon.styles.ts
16362
16551
  init_emotion_jsx_shim();
16363
- var import_react76 = require("@emotion/react");
16364
- var IntegrationModalIconContainer = import_react76.css`
16552
+ var import_react78 = require("@emotion/react");
16553
+ var IntegrationModalIconContainer = import_react78.css`
16365
16554
  position: relative;
16366
16555
  width: 50px;
16367
16556
  margin-bottom: var(--spacing-base);
16368
16557
  `;
16369
- var IntegrationModalImage = import_react76.css`
16558
+ var IntegrationModalImage = import_react78.css`
16370
16559
  position: absolute;
16371
16560
  inset: 0;
16372
16561
  margin: auto;
@@ -16375,7 +16564,7 @@ var IntegrationModalImage = import_react76.css`
16375
16564
  `;
16376
16565
 
16377
16566
  // src/components/Tiles/IntegrationModalIcon.tsx
16378
- var import_jsx_runtime71 = require("@emotion/react/jsx-runtime");
16567
+ var import_jsx_runtime72 = require("@emotion/react/jsx-runtime");
16379
16568
  var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
16380
16569
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
16381
16570
  let iconSrc = void 0;
@@ -16391,9 +16580,9 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
16391
16580
  }
16392
16581
  }
16393
16582
  }
16394
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { css: IntegrationModalIconContainer, children: [
16395
- /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("svg", { width: "49", height: "57", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
16396
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
16583
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { css: IntegrationModalIconContainer, children: [
16584
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("svg", { width: "49", height: "57", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
16585
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
16397
16586
  "path",
16398
16587
  {
16399
16588
  d: "m24.367 1.813 22.786 13.322V41.78L24.367 55.102 1.581 41.78V15.135L24.367 1.814Z",
@@ -16402,12 +16591,12 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
16402
16591
  strokeWidth: "2"
16403
16592
  }
16404
16593
  ),
16405
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
16406
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("stop", { stopColor: "#1768B2" }),
16407
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("stop", { offset: "1", stopColor: "#B3EFE4" })
16594
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
16595
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("stop", { stopColor: "#1768B2" }),
16596
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("stop", { offset: "1", stopColor: "#B3EFE4" })
16408
16597
  ] }) })
16409
16598
  ] }),
16410
- CompIcon ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : iconSrc ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
16599
+ CompIcon ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : iconSrc ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
16411
16600
  "img",
16412
16601
  {
16413
16602
  src: iconSrc,
@@ -16422,7 +16611,7 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
16422
16611
 
16423
16612
  // src/components/Tiles/IntegrationTile.tsx
16424
16613
  init_emotion_jsx_shim();
16425
- var import_jsx_runtime72 = require("@emotion/react/jsx-runtime");
16614
+ var import_jsx_runtime73 = require("@emotion/react/jsx-runtime");
16426
16615
  var IntegrationTile = ({
16427
16616
  id,
16428
16617
  icon,
@@ -16434,7 +16623,7 @@ var IntegrationTile = ({
16434
16623
  authorIcon,
16435
16624
  ...btnProps
16436
16625
  }) => {
16437
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
16626
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
16438
16627
  "button",
16439
16628
  {
16440
16629
  type: "button",
@@ -16444,12 +16633,12 @@ var IntegrationTile = ({
16444
16633
  "aria-label": name,
16445
16634
  ...btnProps,
16446
16635
  children: [
16447
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(ResolveIcon, { icon, name }),
16448
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { css: IntegrationTileName, title: name, children: name }),
16449
- isInstalled ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(IntegrationedAddedBadge, {}) : null,
16450
- requiedEntitlement && isPublic ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(IntegrationPremiumBadge, {}) : null,
16451
- !isPublic ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(IntegrationCustomBadge, {}) : null,
16452
- authorIcon ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(ResolveIcon, { icon: authorIcon, name }) : null
16636
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ResolveIcon, { icon, name }),
16637
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { css: IntegrationTileName, title: name, children: name }),
16638
+ isInstalled ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(IntegrationedAddedBadge, {}) : null,
16639
+ requiedEntitlement && isPublic ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(IntegrationPremiumBadge, {}) : null,
16640
+ !isPublic ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(IntegrationCustomBadge, {}) : null,
16641
+ authorIcon ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ResolveIcon, { icon: authorIcon, name }) : null
16453
16642
  ]
16454
16643
  }
16455
16644
  );
@@ -16460,9 +16649,9 @@ init_emotion_jsx_shim();
16460
16649
 
16461
16650
  // src/components/Tiles/styles/Tile.styles.ts
16462
16651
  init_emotion_jsx_shim();
16463
- var import_react77 = require("@emotion/react");
16652
+ var import_react79 = require("@emotion/react");
16464
16653
  var tileBorderSize = "1px";
16465
- var Tile = import_react77.css`
16654
+ var Tile = import_react79.css`
16466
16655
  background: var(--white);
16467
16656
  cursor: pointer;
16468
16657
  border: ${tileBorderSize} solid var(--gray-300);
@@ -16486,9 +16675,9 @@ var Tile = import_react77.css`
16486
16675
  `;
16487
16676
 
16488
16677
  // src/components/Tiles/Tile.tsx
16489
- var import_jsx_runtime73 = require("@emotion/react/jsx-runtime");
16678
+ var import_jsx_runtime74 = require("@emotion/react/jsx-runtime");
16490
16679
  var Tile2 = ({ children, disabled, ...props }) => {
16491
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("button", { type: "button", css: Tile, disabled, ...props, children });
16680
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("button", { type: "button", css: Tile, disabled, ...props, children });
16492
16681
  };
16493
16682
 
16494
16683
  // src/components/Tiles/TileContainer.tsx
@@ -16496,12 +16685,12 @@ init_emotion_jsx_shim();
16496
16685
 
16497
16686
  // src/components/Tiles/styles/TileContainer.styles.ts
16498
16687
  init_emotion_jsx_shim();
16499
- var import_react78 = require("@emotion/react");
16500
- var TileContainerWrapper = (theme, padding) => import_react78.css`
16688
+ var import_react80 = require("@emotion/react");
16689
+ var TileContainerWrapper = (theme, padding) => import_react80.css`
16501
16690
  background: ${theme};
16502
16691
  padding: ${padding != "none" ? `var(--spacing-${padding})` : "0"};
16503
16692
  `;
16504
- var TileContainerInner = (gap, templateColumns) => import_react78.css`
16693
+ var TileContainerInner = (gap, templateColumns) => import_react80.css`
16505
16694
  display: grid;
16506
16695
  grid-template-columns: ${templateColumns};
16507
16696
  gap: var(--spacing-${gap});
@@ -16515,7 +16704,7 @@ var TileContainerInner = (gap, templateColumns) => import_react78.css`
16515
16704
  `;
16516
16705
 
16517
16706
  // src/components/Tiles/TileContainer.tsx
16518
- var import_jsx_runtime74 = require("@emotion/react/jsx-runtime");
16707
+ var import_jsx_runtime75 = require("@emotion/react/jsx-runtime");
16519
16708
  var TileContainer = ({
16520
16709
  bgColor = "var(--brand-secondary-2)",
16521
16710
  containerPadding = "base",
@@ -16524,7 +16713,7 @@ var TileContainer = ({
16524
16713
  children,
16525
16714
  ...props
16526
16715
  }) => {
16527
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { css: TileContainerWrapper(bgColor, containerPadding), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { css: TileContainerInner(gap, gridTemplateColumns), children }) });
16716
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { css: TileContainerWrapper(bgColor, containerPadding), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { css: TileContainerInner(gap, gridTemplateColumns), children }) });
16528
16717
  };
16529
16718
 
16530
16719
  // src/components/Tiles/TileText.tsx
@@ -16532,21 +16721,21 @@ init_emotion_jsx_shim();
16532
16721
 
16533
16722
  // src/components/Tiles/styles/TileText.styles.ts
16534
16723
  init_emotion_jsx_shim();
16535
- var import_react79 = require("@emotion/react");
16536
- var TileHeading = import_react79.css`
16724
+ var import_react81 = require("@emotion/react");
16725
+ var TileHeading = import_react81.css`
16537
16726
  font-size: var(--fs-base);
16538
16727
  `;
16539
- var TileText = import_react79.css`
16728
+ var TileText = import_react81.css`
16540
16729
  color: var(--gray-500);
16541
16730
  font-size: var(--fs-sm);
16542
16731
  line-height: 1.2;
16543
16732
  `;
16544
16733
 
16545
16734
  // src/components/Tiles/TileText.tsx
16546
- var import_jsx_runtime75 = require("@emotion/react/jsx-runtime");
16735
+ var import_jsx_runtime76 = require("@emotion/react/jsx-runtime");
16547
16736
  var TileText2 = ({ as = "heading", children, ...props }) => {
16548
16737
  const isHeading = as === "heading";
16549
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
16738
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
16550
16739
  "span",
16551
16740
  {
16552
16741
  role: isHeading ? "heading" : void 0,
@@ -16559,39 +16748,39 @@ var TileText2 = ({ as = "heading", children, ...props }) => {
16559
16748
 
16560
16749
  // src/components/IntegrationModalHeader/IntegrationModalHeader.styles.ts
16561
16750
  init_emotion_jsx_shim();
16562
- var import_react80 = require("@emotion/react");
16563
- var IntegrationModalHeaderSVGBackground = import_react80.css`
16751
+ var import_react82 = require("@emotion/react");
16752
+ var IntegrationModalHeaderSVGBackground = import_react82.css`
16564
16753
  position: absolute;
16565
16754
  top: 0;
16566
16755
  left: 0;
16567
16756
  `;
16568
- var IntegrationModalHeaderGroup = import_react80.css`
16757
+ var IntegrationModalHeaderGroup = import_react82.css`
16569
16758
  align-items: center;
16570
16759
  display: flex;
16571
16760
  gap: var(--spacing-sm);
16572
16761
  margin: 0 0 var(--spacing-md);
16573
16762
  position: relative;
16574
16763
  `;
16575
- var IntegrationModalHeaderTitleGroup = import_react80.css`
16764
+ var IntegrationModalHeaderTitleGroup = import_react82.css`
16576
16765
  align-items: center;
16577
16766
  display: flex;
16578
16767
  gap: var(--spacing-base);
16579
16768
  `;
16580
- var IntegrationModalHeaderTitle = import_react80.css`
16769
+ var IntegrationModalHeaderTitle = import_react82.css`
16581
16770
  margin-top: 0;
16582
16771
  `;
16583
- var IntegrationModalHeaderMenuPlacement = import_react80.css`
16772
+ var IntegrationModalHeaderMenuPlacement = import_react82.css`
16584
16773
  margin-bottom: var(--spacing-base);
16585
16774
  `;
16586
- var IntegrationModalHeaderContentWrapper = import_react80.css`
16775
+ var IntegrationModalHeaderContentWrapper = import_react82.css`
16587
16776
  position: relative;
16588
16777
  z-index: var(--z-10);
16589
16778
  `;
16590
16779
 
16591
16780
  // src/components/IntegrationModalHeader/IntegrationModalHeader.tsx
16592
- var import_jsx_runtime76 = require("@emotion/react/jsx-runtime");
16781
+ var import_jsx_runtime77 = require("@emotion/react/jsx-runtime");
16593
16782
  var HexModalBackground = ({ ...props }) => {
16594
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
16783
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
16595
16784
  "svg",
16596
16785
  {
16597
16786
  width: "236",
@@ -16601,7 +16790,7 @@ var HexModalBackground = ({ ...props }) => {
16601
16790
  xmlns: "http://www.w3.org/2000/svg",
16602
16791
  ...props,
16603
16792
  children: [
16604
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
16793
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
16605
16794
  "path",
16606
16795
  {
16607
16796
  fillRule: "evenodd",
@@ -16610,7 +16799,7 @@ var HexModalBackground = ({ ...props }) => {
16610
16799
  fill: "url(#paint0_linear_196_2737)"
16611
16800
  }
16612
16801
  ),
16613
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
16802
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
16614
16803
  "linearGradient",
16615
16804
  {
16616
16805
  id: "paint0_linear_196_2737",
@@ -16620,8 +16809,8 @@ var HexModalBackground = ({ ...props }) => {
16620
16809
  y2: "-95.2742",
16621
16810
  gradientUnits: "userSpaceOnUse",
16622
16811
  children: [
16623
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("stop", { stopColor: "#81DCDE" }),
16624
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("stop", { offset: "1", stopColor: "#428ED4" })
16812
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("stop", { stopColor: "#81DCDE" }),
16813
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("stop", { offset: "1", stopColor: "#428ED4" })
16625
16814
  ]
16626
16815
  }
16627
16816
  ) })
@@ -16630,24 +16819,24 @@ var HexModalBackground = ({ ...props }) => {
16630
16819
  );
16631
16820
  };
16632
16821
  var IntegrationModalHeader = ({ icon, name, menu: menu2, children }) => {
16633
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(import_jsx_runtime76.Fragment, { children: [
16634
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
16635
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { css: IntegrationModalHeaderTitleGroup, children: [
16636
- icon ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(IntegrationModalIcon, { icon, name: name || "" }) : null,
16637
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-testid": "integration-modal-title", children: name || "Create Team Integration" }),
16638
- menu2 ? /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { css: IntegrationModalHeaderMenuPlacement, children: [
16822
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(import_jsx_runtime77.Fragment, { children: [
16823
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
16824
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { css: IntegrationModalHeaderTitleGroup, children: [
16825
+ icon ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(IntegrationModalIcon, { icon, name: name || "" }) : null,
16826
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-testid": "integration-modal-title", children: name || "Create Team Integration" }),
16827
+ menu2 ? /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { css: IntegrationModalHeaderMenuPlacement, children: [
16639
16828
  menu2,
16640
16829
  " "
16641
16830
  ] }) : null
16642
16831
  ] }) }),
16643
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { css: IntegrationModalHeaderContentWrapper, children })
16832
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { css: IntegrationModalHeaderContentWrapper, children })
16644
16833
  ] });
16645
16834
  };
16646
16835
 
16647
16836
  // src/components/JsonEditor/JsonEditor.tsx
16648
16837
  init_emotion_jsx_shim();
16649
- var import_react81 = __toESM(require("@monaco-editor/react"));
16650
- var import_jsx_runtime77 = require("@emotion/react/jsx-runtime");
16838
+ var import_react83 = __toESM(require("@monaco-editor/react"));
16839
+ var import_jsx_runtime78 = require("@emotion/react/jsx-runtime");
16651
16840
  var minEditorHeightPx = 150;
16652
16841
  var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
16653
16842
  let effectiveHeight = height;
@@ -16657,8 +16846,8 @@ var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
16657
16846
  if (typeof effectiveHeight === "number" && effectiveHeight < minEditorHeightPx) {
16658
16847
  effectiveHeight = minEditorHeightPx;
16659
16848
  }
16660
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
16661
- import_react81.default,
16849
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
16850
+ import_react83.default,
16662
16851
  {
16663
16852
  height: effectiveHeight,
16664
16853
  className: "uniform-json-editor",
@@ -16698,39 +16887,39 @@ init_emotion_jsx_shim();
16698
16887
 
16699
16888
  // src/components/LimitsBar/LimitsBar.styles.ts
16700
16889
  init_emotion_jsx_shim();
16701
- var import_react82 = require("@emotion/react");
16702
- var LimitsBarContainer = import_react82.css`
16890
+ var import_react84 = require("@emotion/react");
16891
+ var LimitsBarContainer = import_react84.css`
16703
16892
  margin-block: var(--spacing-sm);
16704
16893
  `;
16705
- var LimitsBarProgressBar = import_react82.css`
16894
+ var LimitsBarProgressBar = import_react84.css`
16706
16895
  background: var(--gray-100);
16707
16896
  margin-top: var(--spacing-sm);
16708
16897
  position: relative;
16709
16898
  overflow: hidden;
16710
16899
  height: 0.25rem;
16711
16900
  `;
16712
- var LimitsBarProgressBarLine = import_react82.css`
16901
+ var LimitsBarProgressBarLine = import_react84.css`
16713
16902
  position: absolute;
16714
16903
  inset: 0;
16715
16904
  transition: transform var(--duration-fast) var(--timing-ease-out);
16716
16905
  `;
16717
- var LimitsBarLabelContainer = import_react82.css`
16906
+ var LimitsBarLabelContainer = import_react84.css`
16718
16907
  display: flex;
16719
16908
  justify-content: space-between;
16720
16909
  font-weight: var(--fw-bold);
16721
16910
  `;
16722
- var LimitsBarLabel = import_react82.css`
16911
+ var LimitsBarLabel = import_react84.css`
16723
16912
  font-size: var(--fs-baase);
16724
16913
  `;
16725
- var LimitsBarBgColor = (statusColor) => import_react82.css`
16914
+ var LimitsBarBgColor = (statusColor) => import_react84.css`
16726
16915
  background: ${statusColor};
16727
16916
  `;
16728
- var LimitsBarTextColor = (statusColor) => import_react82.css`
16917
+ var LimitsBarTextColor = (statusColor) => import_react84.css`
16729
16918
  color: ${statusColor};
16730
16919
  `;
16731
16920
 
16732
16921
  // src/components/LimitsBar/LimitsBar.tsx
16733
- var import_jsx_runtime78 = require("@emotion/react/jsx-runtime");
16922
+ var import_jsx_runtime79 = require("@emotion/react/jsx-runtime");
16734
16923
  var LimitsBar = ({ current, max, label }) => {
16735
16924
  const maxPercentage = 100;
16736
16925
  const progressBarValue = Math.ceil(current / max * maxPercentage);
@@ -16741,16 +16930,16 @@ var LimitsBar = ({ current, max, label }) => {
16741
16930
  danger: "var(--brand-secondary-5)"
16742
16931
  };
16743
16932
  const statusColor = progressBarValue === 100 ? colorMap.danger : progressBarValue >= 75 ? colorMap.warn : colorMap.base;
16744
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { css: LimitsBarContainer, children: [
16745
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { css: LimitsBarLabelContainer, children: [
16746
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { css: LimitsBarLabel, children: label }),
16747
- /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("span", { css: [LimitsBarLabel, LimitsBarTextColor(statusColor)], children: [
16933
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { css: LimitsBarContainer, children: [
16934
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { css: LimitsBarLabelContainer, children: [
16935
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { css: LimitsBarLabel, children: label }),
16936
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("span", { css: [LimitsBarLabel, LimitsBarTextColor(statusColor)], children: [
16748
16937
  current,
16749
16938
  " of ",
16750
16939
  max
16751
16940
  ] })
16752
16941
  ] }),
16753
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
16942
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
16754
16943
  "div",
16755
16944
  {
16756
16945
  role: "progressbar",
@@ -16759,7 +16948,7 @@ var LimitsBar = ({ current, max, label }) => {
16759
16948
  "aria-valuemax": max,
16760
16949
  "aria-valuetext": `${current} of ${max}`,
16761
16950
  css: LimitsBarProgressBar,
16762
- children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
16951
+ children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
16763
16952
  "span",
16764
16953
  {
16765
16954
  role: "presentation",
@@ -16779,8 +16968,8 @@ init_emotion_jsx_shim();
16779
16968
 
16780
16969
  // src/components/LinkList/LinkList.styles.ts
16781
16970
  init_emotion_jsx_shim();
16782
- var import_react83 = require("@emotion/react");
16783
- var LinkListContainer = (padding) => import_react83.css`
16971
+ var import_react85 = require("@emotion/react");
16972
+ var LinkListContainer = (padding) => import_react85.css`
16784
16973
  padding: ${padding};
16785
16974
 
16786
16975
  ${mq("sm")} {
@@ -16788,32 +16977,32 @@ var LinkListContainer = (padding) => import_react83.css`
16788
16977
  grid-row: 1 / last-line;
16789
16978
  }
16790
16979
  `;
16791
- var LinkListTitle = import_react83.css`
16980
+ var LinkListTitle = import_react85.css`
16792
16981
  font-weight: var(--fw-bold);
16793
16982
  font-size: var(--fs-sm);
16794
16983
  text-transform: uppercase;
16795
16984
  `;
16796
16985
 
16797
16986
  // src/components/LinkList/LinkList.tsx
16798
- var import_jsx_runtime79 = require("@emotion/react/jsx-runtime");
16987
+ var import_jsx_runtime80 = require("@emotion/react/jsx-runtime");
16799
16988
  var LinkList = ({ title, padding = "var(--spacing-md)", children, ...props }) => {
16800
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { css: LinkListContainer(padding), ...props, children: [
16801
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Heading, { level: 3, css: LinkListTitle, children: title }),
16989
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { css: LinkListContainer(padding), ...props, children: [
16990
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Heading, { level: 3, css: LinkListTitle, children: title }),
16802
16991
  children
16803
16992
  ] });
16804
16993
  };
16805
16994
 
16806
16995
  // src/components/List/ScrollableList.tsx
16807
16996
  init_emotion_jsx_shim();
16808
- var import_react85 = require("@emotion/react");
16997
+ var import_react87 = require("@emotion/react");
16809
16998
 
16810
16999
  // src/components/List/styles/ScrollableList.styles.ts
16811
17000
  init_emotion_jsx_shim();
16812
- var import_react84 = require("@emotion/react");
16813
- var ScrollableListContainer = import_react84.css`
17001
+ var import_react86 = require("@emotion/react");
17002
+ var ScrollableListContainer = import_react86.css`
16814
17003
  position: relative;
16815
17004
  `;
16816
- var ScrollableListInner = import_react84.css`
17005
+ var ScrollableListInner = import_react86.css`
16817
17006
  background: var(--gray-50);
16818
17007
  border-top: 1px solid var(--gray-200);
16819
17008
  border-bottom: 1px solid var(--gray-200);
@@ -16836,19 +17025,19 @@ var ScrollableListInner = import_react84.css`
16836
17025
  `;
16837
17026
 
16838
17027
  // src/components/List/ScrollableList.tsx
16839
- var import_jsx_runtime80 = require("@emotion/react/jsx-runtime");
17028
+ var import_jsx_runtime81 = require("@emotion/react/jsx-runtime");
16840
17029
  var ScrollableList = ({ label, children, ...props }) => {
16841
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { css: [ScrollableListContainer, scrollbarStyles], ...props, children: [
16842
- label ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
17030
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { css: [ScrollableListContainer, scrollbarStyles], ...props, children: [
17031
+ label ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
16843
17032
  "span",
16844
17033
  {
16845
- css: import_react85.css`
17034
+ css: import_react87.css`
16846
17035
  ${labelText}
16847
17036
  `,
16848
17037
  children: label
16849
17038
  }
16850
17039
  ) : null,
16851
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { css: [ScrollableListInner, scrollbarStyles], children })
17040
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { css: [ScrollableListInner, scrollbarStyles], children })
16852
17041
  ] });
16853
17042
  };
16854
17043
 
@@ -16858,8 +17047,8 @@ var import_CgCheck3 = require("@react-icons/all-files/cg/CgCheck");
16858
17047
 
16859
17048
  // src/components/List/styles/ScrollableListItem.styles.ts
16860
17049
  init_emotion_jsx_shim();
16861
- var import_react86 = require("@emotion/react");
16862
- var ScrollableListItemContainer = import_react86.css`
17050
+ var import_react88 = require("@emotion/react");
17051
+ var ScrollableListItemContainer = import_react88.css`
16863
17052
  align-items: center;
16864
17053
  background: var(--white);
16865
17054
  border-radius: var(--rounded-base);
@@ -16868,13 +17057,13 @@ var ScrollableListItemContainer = import_react86.css`
16868
17057
  min-height: 52px;
16869
17058
  transition: border-color var(--duration-fast) var(--timing-ease-out);
16870
17059
  `;
16871
- var ScrollableListItemShadow = import_react86.css`
17060
+ var ScrollableListItemShadow = import_react88.css`
16872
17061
  box-shadow: var(--shadow-base);
16873
17062
  `;
16874
- var ScrollableListItemActive = import_react86.css`
17063
+ var ScrollableListItemActive = import_react88.css`
16875
17064
  border-color: var(--brand-secondary-3);
16876
17065
  `;
16877
- var ScrollableListItemBtn = import_react86.css`
17066
+ var ScrollableListItemBtn = import_react88.css`
16878
17067
  align-items: center;
16879
17068
  border: none;
16880
17069
  background: transparent;
@@ -16889,27 +17078,27 @@ var ScrollableListItemBtn = import_react86.css`
16889
17078
  outline: none;
16890
17079
  }
16891
17080
  `;
16892
- var ScrollableListInputLabel = import_react86.css`
17081
+ var ScrollableListInputLabel = import_react88.css`
16893
17082
  align-items: center;
16894
17083
  cursor: pointer;
16895
17084
  display: flex;
16896
17085
  padding: var(--spacing-xs) var(--spacing-base) var(--spacing-xs);
16897
17086
  flex-grow: 1;
16898
17087
  `;
16899
- var ScrollableListInputText = import_react86.css`
17088
+ var ScrollableListInputText = import_react88.css`
16900
17089
  align-items: center;
16901
17090
  display: flex;
16902
17091
  gap: var(--spacing-sm);
16903
17092
  flex-grow: 1;
16904
17093
  flex-wrap: wrap;
16905
17094
  `;
16906
- var ScrollableListHiddenInput = import_react86.css`
17095
+ var ScrollableListHiddenInput = import_react88.css`
16907
17096
  position: absolute;
16908
17097
  height: 0;
16909
17098
  width: 0;
16910
17099
  opacity: 0;
16911
17100
  `;
16912
- var ScrollableListIcon = import_react86.css`
17101
+ var ScrollableListIcon = import_react88.css`
16913
17102
  border-radius: var(--rounded-full);
16914
17103
  background: var(--brand-secondary-3);
16915
17104
  color: var(--white);
@@ -16917,12 +17106,12 @@ var ScrollableListIcon = import_react86.css`
16917
17106
  min-width: 24px;
16918
17107
  opacity: 0;
16919
17108
  `;
16920
- var ScrollableListIconVisible = import_react86.css`
17109
+ var ScrollableListIconVisible = import_react88.css`
16921
17110
  animation: ${fadeInBottom} var(--duration-fast) var(--timing-ease-out) forwards;
16922
17111
  `;
16923
17112
 
16924
17113
  // src/components/List/ScrollableListInputItem.tsx
16925
- var import_jsx_runtime81 = require("@emotion/react/jsx-runtime");
17114
+ var import_jsx_runtime82 = require("@emotion/react/jsx-runtime");
16926
17115
  var ScrollableListInputItem = ({
16927
17116
  label,
16928
17117
  icon,
@@ -16932,7 +17121,7 @@ var ScrollableListInputItem = ({
16932
17121
  labelTestId,
16933
17122
  ...props
16934
17123
  }) => {
16935
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
17124
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
16936
17125
  "div",
16937
17126
  {
16938
17127
  css: [
@@ -16941,13 +17130,13 @@ var ScrollableListInputItem = ({
16941
17130
  active ? ScrollableListItemActive : void 0
16942
17131
  ],
16943
17132
  ...props,
16944
- children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("label", { "data-testid": labelTestId, css: ScrollableListInputLabel, children: [
16945
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("span", { css: ScrollableListInputText, children: [
17133
+ children: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("label", { "data-testid": labelTestId, css: ScrollableListInputLabel, children: [
17134
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("span", { css: ScrollableListInputText, children: [
16946
17135
  icon,
16947
17136
  label
16948
17137
  ] }),
16949
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { css: ScrollableListHiddenInput, children }),
16950
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
17138
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { css: ScrollableListHiddenInput, children }),
17139
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
16951
17140
  Icon,
16952
17141
  {
16953
17142
  icon: import_CgCheck3.CgCheck,
@@ -16966,14 +17155,14 @@ var ScrollableListInputItem = ({
16966
17155
  // src/components/List/ScrollableListItem.tsx
16967
17156
  init_emotion_jsx_shim();
16968
17157
  var import_CgCheck4 = require("@react-icons/all-files/cg/CgCheck");
16969
- var import_jsx_runtime82 = require("@emotion/react/jsx-runtime");
17158
+ var import_jsx_runtime83 = require("@emotion/react/jsx-runtime");
16970
17159
  var ScrollableListItem = ({
16971
17160
  buttonText,
16972
17161
  active,
16973
17162
  disableShadow,
16974
17163
  ...props
16975
17164
  }) => {
16976
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
17165
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
16977
17166
  "div",
16978
17167
  {
16979
17168
  css: [
@@ -16981,9 +17170,9 @@ var ScrollableListItem = ({
16981
17170
  disableShadow ? void 0 : ScrollableListItemShadow,
16982
17171
  active ? ScrollableListItemActive : void 0
16983
17172
  ],
16984
- children: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
16985
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("span", { children: buttonText }),
16986
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
17173
+ children: /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
17174
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { children: buttonText }),
17175
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
16987
17176
  Icon,
16988
17177
  {
16989
17178
  icon: import_CgCheck4.CgCheck,
@@ -17002,10 +17191,10 @@ init_emotion_jsx_shim();
17002
17191
 
17003
17192
  // src/components/LoadingIndicator/LoadingIndicator.styles.ts
17004
17193
  init_emotion_jsx_shim();
17005
- var import_react87 = require("@emotion/react");
17194
+ var import_react89 = require("@emotion/react");
17006
17195
  function bounceFade(size) {
17007
17196
  const bounceHeight = size === "lg" ? 10 : 5;
17008
- return import_react87.keyframes`
17197
+ return import_react89.keyframes`
17009
17198
  0%, 100% {
17010
17199
  opacity: 1.0;
17011
17200
  transform: translateY(0);
@@ -17023,13 +17212,13 @@ function bounceFade(size) {
17023
17212
  }
17024
17213
  `;
17025
17214
  }
17026
- var loader = import_react87.css`
17215
+ var loader = import_react89.css`
17027
17216
  display: inline-flex;
17028
17217
  justify-content: center;
17029
17218
  `;
17030
17219
  function loadingDot(size) {
17031
17220
  const dotSize = size === "lg" ? 8 : 4;
17032
- return import_react87.css`
17221
+ return import_react89.css`
17033
17222
  background-color: var(--gray-700);
17034
17223
  display: block;
17035
17224
  border-radius: var(--rounded-full);
@@ -17054,27 +17243,27 @@ function loadingDot(size) {
17054
17243
  }
17055
17244
 
17056
17245
  // src/components/LoadingIndicator/LoadingIndicator.tsx
17057
- var import_jsx_runtime83 = require("@emotion/react/jsx-runtime");
17246
+ var import_jsx_runtime84 = require("@emotion/react/jsx-runtime");
17058
17247
  var LoadingIndicator = ({
17059
17248
  size = "lg",
17060
17249
  ...props
17061
17250
  }) => {
17062
17251
  const dotStyle = loadingDot(size);
17063
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { role: "alert", css: loader, "data-testid": "loading-indicator", ...props, children: [
17064
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { css: dotStyle }),
17065
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { css: dotStyle }),
17066
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("span", { css: dotStyle })
17252
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { role: "alert", css: loader, "data-testid": "loading-indicator", ...props, children: [
17253
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { css: dotStyle }),
17254
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { css: dotStyle }),
17255
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { css: dotStyle })
17067
17256
  ] });
17068
17257
  };
17069
17258
 
17070
17259
  // src/components/LoadingOverlay/LoadingOverlay.tsx
17071
17260
  init_emotion_jsx_shim();
17072
- var import_react89 = require("react");
17261
+ var import_react91 = require("react");
17073
17262
 
17074
17263
  // src/components/LoadingOverlay/LoadingOverlay.styles.ts
17075
17264
  init_emotion_jsx_shim();
17076
- var import_react88 = require("@emotion/react");
17077
- var loadingOverlayContainer = import_react88.css`
17265
+ var import_react90 = require("@emotion/react");
17266
+ var loadingOverlayContainer = import_react90.css`
17078
17267
  position: absolute;
17079
17268
  inset: 0;
17080
17269
  overflow: hidden;
@@ -17082,30 +17271,30 @@ var loadingOverlayContainer = import_react88.css`
17082
17271
  padding: var(--spacing-xl);
17083
17272
  overflow-y: auto;
17084
17273
  `;
17085
- var loadingOverlayVisible = import_react88.css`
17274
+ var loadingOverlayVisible = import_react90.css`
17086
17275
  display: flex;
17087
17276
  `;
17088
- var loadingOverlayHidden = import_react88.css`
17277
+ var loadingOverlayHidden = import_react90.css`
17089
17278
  display: none;
17090
17279
  `;
17091
- var loadingOverlayBackground = (bgColor) => import_react88.css`
17280
+ var loadingOverlayBackground = (bgColor) => import_react90.css`
17092
17281
  background: ${bgColor};
17093
17282
  opacity: 0.92;
17094
17283
  position: absolute;
17095
17284
  inset: 0 0;
17096
17285
  `;
17097
- var loadingOverlayBody = import_react88.css`
17286
+ var loadingOverlayBody = import_react90.css`
17098
17287
  align-items: center;
17099
17288
  display: flex;
17100
17289
  flex-direction: column;
17101
17290
  `;
17102
- var loadingOverlayMessage = import_react88.css`
17291
+ var loadingOverlayMessage = import_react90.css`
17103
17292
  color: var(--gray-600);
17104
17293
  margin: var(--spacing-base) 0 0;
17105
17294
  `;
17106
17295
 
17107
17296
  // src/components/LoadingOverlay/LoadingOverlay.tsx
17108
- var import_jsx_runtime84 = require("@emotion/react/jsx-runtime");
17297
+ var import_jsx_runtime85 = require("@emotion/react/jsx-runtime");
17109
17298
  var LoadingOverlay = ({
17110
17299
  isActive,
17111
17300
  statusMessage,
@@ -17116,14 +17305,14 @@ var LoadingOverlay = ({
17116
17305
  isPaused = false,
17117
17306
  children
17118
17307
  }) => {
17119
- const lottieRef = (0, import_react89.useRef)(null);
17120
- const onLoopComplete = (0, import_react89.useCallback)(() => {
17308
+ const lottieRef = (0, import_react91.useRef)(null);
17309
+ const onLoopComplete = (0, import_react91.useCallback)(() => {
17121
17310
  var _a, _b, _c;
17122
17311
  if (isPaused && !((_b = (_a = lottieRef.current) == null ? void 0 : _a.animationItem) == null ? void 0 : _b.isPaused)) {
17123
17312
  (_c = lottieRef.current) == null ? void 0 : _c.stop();
17124
17313
  }
17125
17314
  }, [isPaused]);
17126
- (0, import_react89.useEffect)(() => {
17315
+ (0, import_react91.useEffect)(() => {
17127
17316
  var _a, _b, _c, _d, _e, _f;
17128
17317
  if (!isPaused && ((_b = (_a = lottieRef.current) == null ? void 0 : _a.animationItem) == null ? void 0 : _b.isPaused)) {
17129
17318
  (_c = lottieRef.current) == null ? void 0 : _c.play();
@@ -17131,7 +17320,7 @@ var LoadingOverlay = ({
17131
17320
  (_f = lottieRef.current) == null ? void 0 : _f.stop();
17132
17321
  }
17133
17322
  }, [isPaused]);
17134
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
17323
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(
17135
17324
  "div",
17136
17325
  {
17137
17326
  role: "alert",
@@ -17139,9 +17328,9 @@ var LoadingOverlay = ({
17139
17328
  "aria-hidden": !isActive,
17140
17329
  "aria-busy": isActive && !isPaused,
17141
17330
  children: [
17142
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
17143
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { css: loadingOverlayBody, children: [
17144
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
17331
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
17332
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { css: loadingOverlayBody, children: [
17333
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
17145
17334
  AnimationFile,
17146
17335
  {
17147
17336
  lottieRef,
@@ -17156,15 +17345,15 @@ var LoadingOverlay = ({
17156
17345
  }
17157
17346
  }
17158
17347
  ),
17159
- statusMessage ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { css: loadingOverlayMessage, children: statusMessage }) : null,
17160
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { css: { width: "100%", marginTop: "var(--spacing-md)" }, children })
17348
+ statusMessage ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { css: loadingOverlayMessage, children: statusMessage }) : null,
17349
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("div", { css: { width: "100%", marginTop: "var(--spacing-md)" }, children })
17161
17350
  ] }) })
17162
17351
  ]
17163
17352
  }
17164
17353
  );
17165
17354
  };
17166
17355
  var LoadingIcon = ({ height, width, ...props }) => {
17167
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
17356
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
17168
17357
  "svg",
17169
17358
  {
17170
17359
  viewBox: "0 0 38 38",
@@ -17174,9 +17363,9 @@ var LoadingIcon = ({ height, width, ...props }) => {
17174
17363
  stroke: "currentColor",
17175
17364
  ...props,
17176
17365
  "data-testid": "loading-icon",
17177
- children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
17178
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
17179
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
17366
+ children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
17367
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
17368
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
17180
17369
  "animateTransform",
17181
17370
  {
17182
17371
  attributeName: "transform",
@@ -17204,12 +17393,12 @@ var import_Popover = require("reakit/Popover");
17204
17393
 
17205
17394
  // src/components/Popover/Popover.styles.ts
17206
17395
  init_emotion_jsx_shim();
17207
- var import_react90 = require("@emotion/react");
17208
- var PopoverBtn = import_react90.css`
17396
+ var import_react92 = require("@emotion/react");
17397
+ var PopoverBtn = import_react92.css`
17209
17398
  border: none;
17210
17399
  background: none;
17211
17400
  `;
17212
- var PopoverDefaulterTriggerBtn = import_react90.css`
17401
+ var PopoverDefaulterTriggerBtn = import_react92.css`
17213
17402
  border: none;
17214
17403
  background: none;
17215
17404
  padding: var(--spacing-2xs);
@@ -17219,7 +17408,7 @@ var PopoverDefaulterTriggerBtn = import_react90.css`
17219
17408
  background-color: rgba(0, 0, 0, 0.05);
17220
17409
  }
17221
17410
  `;
17222
- var Popover = import_react90.css`
17411
+ var Popover = import_react92.css`
17223
17412
  border-left: var(--spacing-xs) solid var(--brand-secondary-3);
17224
17413
  border-radius: var(--rounded-base);
17225
17414
  box-shadow: var(--shadow-base);
@@ -17233,7 +17422,7 @@ var Popover = import_react90.css`
17233
17422
  `;
17234
17423
 
17235
17424
  // src/components/Popover/Popover.tsx
17236
- var import_jsx_runtime85 = require("@emotion/react/jsx-runtime");
17425
+ var import_jsx_runtime86 = require("@emotion/react/jsx-runtime");
17237
17426
  var Popover2 = ({
17238
17427
  iconColor = "action",
17239
17428
  icon = "info",
@@ -17247,28 +17436,28 @@ var Popover2 = ({
17247
17436
  ...otherProps
17248
17437
  }) => {
17249
17438
  const popover = (0, import_Popover.usePopoverState)({ placement });
17250
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_jsx_runtime85.Fragment, { children: [
17251
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
17439
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_jsx_runtime86.Fragment, { children: [
17440
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
17252
17441
  import_Popover.PopoverDisclosure,
17253
17442
  {
17254
17443
  ...popover,
17255
17444
  css: [PopoverBtn, trigger ? void 0 : PopoverDefaulterTriggerBtn],
17256
17445
  title: buttonText,
17257
17446
  "data-testid": testId,
17258
- children: trigger ? trigger : /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_jsx_runtime85.Fragment, { children: [
17259
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Icon, { icon, iconColor, size: iconSize }),
17260
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { hidden: true, children: buttonText })
17447
+ children: trigger ? trigger : /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_jsx_runtime86.Fragment, { children: [
17448
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Icon, { icon, iconColor, size: iconSize }),
17449
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { hidden: true, children: buttonText })
17261
17450
  ] })
17262
17451
  }
17263
17452
  ),
17264
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(import_Popover.Popover, { css: Popover, ...otherProps, ...popover, role: "tooltip", "aria-label": ariaLabel, children })
17453
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_Popover.Popover, { css: Popover, ...otherProps, ...popover, role: "tooltip", "aria-label": ariaLabel, children })
17265
17454
  ] });
17266
17455
  };
17267
17456
 
17268
17457
  // src/components/MediaCard/MediaCard.styles.ts
17269
17458
  init_emotion_jsx_shim();
17270
- var import_react91 = require("@emotion/react");
17271
- var cardBaseStyles = import_react91.css`
17459
+ var import_react93 = require("@emotion/react");
17460
+ var cardBaseStyles = import_react93.css`
17272
17461
  display: flex;
17273
17462
  flex-direction: column;
17274
17463
  justify-content: flex-start;
@@ -17282,7 +17471,7 @@ var cardBaseStyles = import_react91.css`
17282
17471
  outline: 2px solid var(--primary-action-default);
17283
17472
  }
17284
17473
  `;
17285
- var cardBaseCoverIconWrapperStyles = import_react91.css`
17474
+ var cardBaseCoverIconWrapperStyles = import_react93.css`
17286
17475
  position: relative;
17287
17476
  display: flex;
17288
17477
  align-items: center;
@@ -17294,19 +17483,19 @@ var cardBaseCoverIconWrapperStyles = import_react91.css`
17294
17483
  padding: var(--spacing-sm);
17295
17484
  cursor: pointer;
17296
17485
  `;
17297
- var cardBaseContentStyles = import_react91.css`
17486
+ var cardBaseContentStyles = import_react93.css`
17298
17487
  padding: var(--spacing-sm);
17299
17488
  `;
17300
- var cardBaseTitleStyles = import_react91.css`
17489
+ var cardBaseTitleStyles = import_react93.css`
17301
17490
  font-size: var(--fs-sm);
17302
17491
  color: var(--gray-500);
17303
17492
  cursor: pointer;
17304
17493
  `;
17305
- var cardBaseSubtitleStyles = import_react91.css`
17494
+ var cardBaseSubtitleStyles = import_react93.css`
17306
17495
  font-size: var(--fs-xs);
17307
17496
  color: var(--gray-500);
17308
17497
  `;
17309
- var cardBaseMenuButtonStyles = import_react91.css`
17498
+ var cardBaseMenuButtonStyles = import_react93.css`
17310
17499
  padding: var(--spacing-2xs);
17311
17500
  border-radius: var(--rounded-sm);
17312
17501
  border-width: 0;
@@ -17318,7 +17507,7 @@ var cardBaseMenuButtonStyles = import_react91.css`
17318
17507
  `;
17319
17508
 
17320
17509
  // src/components/MediaCard/MediaCard.tsx
17321
- var import_jsx_runtime86 = require("@emotion/react/jsx-runtime");
17510
+ var import_jsx_runtime87 = require("@emotion/react/jsx-runtime");
17322
17511
  var MediaCard = ({
17323
17512
  title,
17324
17513
  subtitle,
@@ -17329,13 +17518,13 @@ var MediaCard = ({
17329
17518
  onClick,
17330
17519
  ...cardProps
17331
17520
  }) => {
17332
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(Card, { tag: "button", css: cardBaseStyles, ...cardProps, onClick, children: [
17333
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { css: cardBaseCoverIconWrapperStyles, children: cover }),
17334
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { css: cardBaseContentStyles, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(HorizontalRhythm, { gap: "sm", justify: "space-between", align: "center", css: { width: "100%" }, children: [
17335
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(VerticalRhythm, { gap: "0", align: "flex-start", css: { flex: 1 }, children: [
17336
- /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(HorizontalRhythm, { gap: "xs", align: "center", children: [
17337
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { css: cardBaseTitleStyles, "data-testid": "card-title", children: title }),
17338
- !infoPopover ? null : /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { css: { display: "flex", cursor: "default" }, onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
17521
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(Card, { tag: "button", css: cardBaseStyles, ...cardProps, onClick, children: [
17522
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { css: cardBaseCoverIconWrapperStyles, children: cover }),
17523
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { css: cardBaseContentStyles, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(HorizontalRhythm, { gap: "sm", justify: "space-between", align: "center", css: { width: "100%" }, children: [
17524
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(VerticalRhythm, { gap: "0", align: "flex-start", css: { flex: 1 }, children: [
17525
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(HorizontalRhythm, { gap: "xs", align: "center", children: [
17526
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { css: cardBaseTitleStyles, "data-testid": "card-title", children: title }),
17527
+ !infoPopover ? null : /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { css: { display: "flex", cursor: "default" }, onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
17339
17528
  Popover2,
17340
17529
  {
17341
17530
  baseId: `info-of-${title}`,
@@ -17344,17 +17533,17 @@ var MediaCard = ({
17344
17533
  iconColor: "default",
17345
17534
  tabIndex: 0,
17346
17535
  css: { display: "block" },
17347
- children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { children: infoPopover })
17536
+ children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { children: infoPopover })
17348
17537
  }
17349
17538
  ) })
17350
17539
  ] }),
17351
- !subtitle ? null : /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { css: cardBaseSubtitleStyles, children: subtitle })
17540
+ !subtitle ? null : /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { css: cardBaseSubtitleStyles, children: subtitle })
17352
17541
  ] }),
17353
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { css: { cursor: "default" }, onClick: (e) => e.stopPropagation(), children: sideSection }),
17354
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(VerticalRhythm, { align: "center", justify: "center", onClick: (e) => e.stopPropagation(), children: !menuItems || Array.isArray(menuItems) && !menuItems.length ? null : /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
17542
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { css: { cursor: "default" }, onClick: (e) => e.stopPropagation(), children: sideSection }),
17543
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(VerticalRhythm, { align: "center", justify: "center", onClick: (e) => e.stopPropagation(), children: !menuItems || Array.isArray(menuItems) && !menuItems.length ? null : /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
17355
17544
  Menu,
17356
17545
  {
17357
- menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("button", { type: "button", "aria-label": "More options", css: cardBaseMenuButtonStyles, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Icon, { icon: "more-alt", iconColor: "gray", size: 16 }) }),
17546
+ menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("button", { type: "button", "aria-label": "More options", css: cardBaseMenuButtonStyles, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Icon, { icon: "more-alt", iconColor: "gray", size: 16 }) }),
17358
17547
  menuLabel: `Menu of ${title}`,
17359
17548
  children: menuItems
17360
17549
  }
@@ -17366,12 +17555,12 @@ var MediaCard = ({
17366
17555
  // src/components/Modal/Modal.tsx
17367
17556
  init_emotion_jsx_shim();
17368
17557
  var import_CgClose6 = require("@react-icons/all-files/cg/CgClose");
17369
- var import_react93 = __toESM(require("react"));
17558
+ var import_react95 = __toESM(require("react"));
17370
17559
 
17371
17560
  // src/components/Modal/Modal.styles.ts
17372
17561
  init_emotion_jsx_shim();
17373
- var import_react92 = require("@emotion/react");
17374
- var modalWrapperStyles = import_react92.css`
17562
+ var import_react94 = require("@emotion/react");
17563
+ var modalWrapperStyles = import_react94.css`
17375
17564
  position: fixed;
17376
17565
  inset: 0;
17377
17566
  display: flex;
@@ -17379,13 +17568,13 @@ var modalWrapperStyles = import_react92.css`
17379
17568
  justify-content: center;
17380
17569
  z-index: var(--z-drawer);
17381
17570
  `;
17382
- var modalBackdropStyles = import_react92.css`
17571
+ var modalBackdropStyles = import_react94.css`
17383
17572
  position: absolute;
17384
17573
  inset: 0;
17385
17574
  background-color: var(--brand-secondary-1);
17386
17575
  opacity: 0.4;
17387
17576
  `;
17388
- var modalStyles = import_react92.css`
17577
+ var modalStyles = import_react94.css`
17389
17578
  position: relative;
17390
17579
  display: flex;
17391
17580
  flex-direction: column;
@@ -17400,21 +17589,21 @@ var modalStyles = import_react92.css`
17400
17589
  color: unset;
17401
17590
  z-index: 1;
17402
17591
  `;
17403
- var modalHeaderStyles = import_react92.css`
17592
+ var modalHeaderStyles = import_react94.css`
17404
17593
  display: flex;
17405
17594
  align-items: flex-start;
17406
17595
  gap: var(--spacing-base);
17407
17596
  font-size: var(--fs-md);
17408
17597
  line-height: 1.2;
17409
17598
  `;
17410
- var modalCloseButtonStyles = import_react92.css`
17599
+ var modalCloseButtonStyles = import_react94.css`
17411
17600
  display: block;
17412
17601
  padding: 0;
17413
17602
  background: transparent;
17414
17603
  border: none;
17415
17604
  margin-left: auto;
17416
17605
  `;
17417
- var modalContentStyles = import_react92.css`
17606
+ var modalContentStyles = import_react94.css`
17418
17607
  flex: 1;
17419
17608
  background-color: white;
17420
17609
  padding: var(--spacing-md);
@@ -17423,10 +17612,10 @@ var modalContentStyles = import_react92.css`
17423
17612
  `;
17424
17613
 
17425
17614
  // src/components/Modal/Modal.tsx
17426
- var import_jsx_runtime87 = require("@emotion/react/jsx-runtime");
17615
+ var import_jsx_runtime88 = require("@emotion/react/jsx-runtime");
17427
17616
  var defaultModalWidth = "75rem";
17428
17617
  var defaultModalHeight = "51rem";
17429
- var Modal = import_react93.default.forwardRef(
17618
+ var Modal = import_react95.default.forwardRef(
17430
17619
  ({
17431
17620
  header,
17432
17621
  children,
@@ -17442,12 +17631,12 @@ var Modal = import_react93.default.forwardRef(
17442
17631
  handler: onRequestClose,
17443
17632
  shortcut: "escape"
17444
17633
  });
17445
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { css: [modalWrapperStyles, wrapperClassName], children: [
17446
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { onClick: onRequestClose, css: modalBackdropStyles }),
17447
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("dialog", { ref, css: modalStyles, style: { width, height }, ...modalProps, children: [
17448
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { css: modalHeaderStyles, children: [
17449
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { children: header }),
17450
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
17634
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { css: [modalWrapperStyles, wrapperClassName], children: [
17635
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { onClick: onRequestClose, css: modalBackdropStyles }),
17636
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("dialog", { ref, css: modalStyles, style: { width, height }, ...modalProps, children: [
17637
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { css: modalHeaderStyles, children: [
17638
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { children: header }),
17639
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
17451
17640
  Button,
17452
17641
  {
17453
17642
  type: "button",
@@ -17456,12 +17645,12 @@ var Modal = import_react93.default.forwardRef(
17456
17645
  title: "Close dialog",
17457
17646
  buttonType: "ghost",
17458
17647
  "data-testid": "close-dialog",
17459
- children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Icon, { icon: import_CgClose6.CgClose, iconColor: "gray", size: 24 })
17648
+ children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Icon, { icon: import_CgClose6.CgClose, iconColor: "gray", size: 24 })
17460
17649
  }
17461
17650
  )
17462
17651
  ] }),
17463
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { css: [modalContentStyles, !withoutContentPadding ? null : { padding: 0 }], children }),
17464
- buttonGroup ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(HorizontalRhythm, { children: buttonGroup }) : null
17652
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { css: [modalContentStyles, !withoutContentPadding ? null : { padding: 0 }], children }),
17653
+ buttonGroup ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(HorizontalRhythm, { children: buttonGroup }) : null
17465
17654
  ] })
17466
17655
  ] });
17467
17656
  }
@@ -17470,8 +17659,8 @@ Modal.displayName = "Modal";
17470
17659
 
17471
17660
  // src/components/ParameterInputs/hooks/ParameterShellContext.tsx
17472
17661
  init_emotion_jsx_shim();
17473
- var import_react94 = require("react");
17474
- var ParameterShellContext = (0, import_react94.createContext)({
17662
+ var import_react96 = require("react");
17663
+ var ParameterShellContext = (0, import_react96.createContext)({
17475
17664
  id: "",
17476
17665
  label: "",
17477
17666
  hiddenLabel: void 0,
@@ -17480,7 +17669,7 @@ var ParameterShellContext = (0, import_react94.createContext)({
17480
17669
  }
17481
17670
  });
17482
17671
  var useParameterShell = () => {
17483
- const { id, label, hiddenLabel, errorMessage, handleManuallySetErrorMessage } = (0, import_react94.useContext)(ParameterShellContext);
17672
+ const { id, label, hiddenLabel, errorMessage, handleManuallySetErrorMessage } = (0, import_react96.useContext)(ParameterShellContext);
17484
17673
  return {
17485
17674
  id,
17486
17675
  label,
@@ -17495,8 +17684,8 @@ init_emotion_jsx_shim();
17495
17684
 
17496
17685
  // src/components/ParameterInputs/styles/LabelLeadingIcon.styles.ts
17497
17686
  init_emotion_jsx_shim();
17498
- var import_react95 = require("@emotion/react");
17499
- var inputIconBtn = import_react95.css`
17687
+ var import_react97 = require("@emotion/react");
17688
+ var inputIconBtn = import_react97.css`
17500
17689
  align-items: center;
17501
17690
  border: none;
17502
17691
  border-radius: var(--rounded-base);
@@ -17522,7 +17711,7 @@ var inputIconBtn = import_react95.css`
17522
17711
  `;
17523
17712
 
17524
17713
  // src/components/ParameterInputs/LabelLeadingIcon.tsx
17525
- var import_jsx_runtime88 = require("@emotion/react/jsx-runtime");
17714
+ var import_jsx_runtime89 = require("@emotion/react/jsx-runtime");
17526
17715
  var LabelLeadingIcon = ({
17527
17716
  icon,
17528
17717
  iconColor,
@@ -17534,7 +17723,7 @@ var LabelLeadingIcon = ({
17534
17723
  ...props
17535
17724
  }) => {
17536
17725
  const titleFr = title != null ? title : isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
17537
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Tooltip, { title: titleFr, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
17726
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Tooltip, { title: titleFr, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
17538
17727
  "button",
17539
17728
  {
17540
17729
  css: inputIconBtn,
@@ -17543,7 +17732,7 @@ var LabelLeadingIcon = ({
17543
17732
  "aria-disabled": isLocked,
17544
17733
  ...props,
17545
17734
  children: [
17546
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
17735
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
17547
17736
  Icon,
17548
17737
  {
17549
17738
  icon: isLocked ? "lock" : icon ? icon : "arrows-expand-down-right",
@@ -17563,8 +17752,8 @@ init_emotion_jsx_shim();
17563
17752
 
17564
17753
  // src/components/ParameterInputs/styles/ParameterInput.styles.ts
17565
17754
  init_emotion_jsx_shim();
17566
- var import_react96 = require("@emotion/react");
17567
- var inputContainer2 = import_react96.css`
17755
+ var import_react98 = require("@emotion/react");
17756
+ var inputContainer2 = import_react98.css`
17568
17757
  position: relative;
17569
17758
 
17570
17759
  &:hover,
@@ -17576,14 +17765,14 @@ var inputContainer2 = import_react96.css`
17576
17765
  }
17577
17766
  }
17578
17767
  `;
17579
- var labelText2 = import_react96.css`
17768
+ var labelText2 = import_react98.css`
17580
17769
  align-items: center;
17581
17770
  display: flex;
17582
17771
  gap: var(--spacing-xs);
17583
17772
  font-weight: var(--fw-regular);
17584
17773
  margin: 0 0 var(--spacing-xs);
17585
17774
  `;
17586
- var input2 = import_react96.css`
17775
+ var input2 = import_react98.css`
17587
17776
  display: block;
17588
17777
  appearance: none;
17589
17778
  box-sizing: border-box;
@@ -17627,18 +17816,18 @@ var input2 = import_react96.css`
17627
17816
  color: var(--gray-400);
17628
17817
  }
17629
17818
  `;
17630
- var selectInput = import_react96.css`
17819
+ var selectInput = import_react98.css`
17631
17820
  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");
17632
17821
  background-position: right var(--spacing-sm) center;
17633
17822
  background-repeat: no-repeat;
17634
17823
  background-size: 1rem;
17635
17824
  padding-right: var(--spacing-xl);
17636
17825
  `;
17637
- var inputWrapper = import_react96.css`
17826
+ var inputWrapper = import_react98.css`
17638
17827
  display: flex; // used to correct overflow with chrome textarea
17639
17828
  position: relative;
17640
17829
  `;
17641
- var inputIcon2 = import_react96.css`
17830
+ var inputIcon2 = import_react98.css`
17642
17831
  align-items: center;
17643
17832
  background: var(--white);
17644
17833
  border-radius: var(--rounded-md) 0 0 var(--rounded-md);
@@ -17654,7 +17843,7 @@ var inputIcon2 = import_react96.css`
17654
17843
  width: var(--spacing-lg);
17655
17844
  z-index: var(--z-10);
17656
17845
  `;
17657
- var inputToggleLabel2 = import_react96.css`
17846
+ var inputToggleLabel2 = import_react98.css`
17658
17847
  align-items: center;
17659
17848
  background: var(--white);
17660
17849
  cursor: pointer;
@@ -17665,7 +17854,7 @@ var inputToggleLabel2 = import_react96.css`
17665
17854
  min-height: var(--spacing-md);
17666
17855
  position: relative;
17667
17856
  `;
17668
- var toggleInput2 = import_react96.css`
17857
+ var toggleInput2 = import_react98.css`
17669
17858
  appearance: none;
17670
17859
  border: 1px solid var(--gray-300);
17671
17860
  background: var(--white);
@@ -17704,7 +17893,7 @@ var toggleInput2 = import_react96.css`
17704
17893
  border-color: var(--gray-300);
17705
17894
  }
17706
17895
  `;
17707
- var inlineLabel2 = import_react96.css`
17896
+ var inlineLabel2 = import_react98.css`
17708
17897
  padding-left: var(--spacing-lg);
17709
17898
  font-size: var(--fs-sm);
17710
17899
  font-weight: var(--fw-regular);
@@ -17720,7 +17909,7 @@ var inlineLabel2 = import_react96.css`
17720
17909
  }
17721
17910
  }
17722
17911
  `;
17723
- var inputMenu = import_react96.css`
17912
+ var inputMenu = import_react98.css`
17724
17913
  background: none;
17725
17914
  border: none;
17726
17915
  padding: var(--spacing-2xs);
@@ -17736,11 +17925,11 @@ var inputMenu = import_react96.css`
17736
17925
  background-color: var(--gray-200);
17737
17926
  }
17738
17927
  `;
17739
- var textarea2 = import_react96.css`
17928
+ var textarea2 = import_react98.css`
17740
17929
  resize: vertical;
17741
17930
  min-height: 2rem;
17742
17931
  `;
17743
- var dataConnectButton = import_react96.css`
17932
+ var dataConnectButton = import_react98.css`
17744
17933
  align-items: center;
17745
17934
  appearance: none;
17746
17935
  box-sizing: border-box;
@@ -17775,7 +17964,7 @@ var dataConnectButton = import_react96.css`
17775
17964
  pointer-events: none;
17776
17965
  }
17777
17966
  `;
17778
- var linkParameterBtn = import_react96.css`
17967
+ var linkParameterBtn = import_react98.css`
17779
17968
  border-radius: var(--rounded-base);
17780
17969
  background: var(--white);
17781
17970
  border: none;
@@ -17784,7 +17973,7 @@ var linkParameterBtn = import_react96.css`
17784
17973
  font-size: var(--fs-sm);
17785
17974
  line-height: 1;
17786
17975
  `;
17787
- var linkParameterControls = import_react96.css`
17976
+ var linkParameterControls = import_react98.css`
17788
17977
  position: absolute;
17789
17978
  inset: 0 0 0 auto;
17790
17979
  padding: 0 var(--spacing-base);
@@ -17793,7 +17982,7 @@ var linkParameterControls = import_react96.css`
17793
17982
  justify-content: center;
17794
17983
  gap: var(--spacing-base);
17795
17984
  `;
17796
- var linkParameterInput = (withExternalLinkIcon) => import_react96.css`
17985
+ var linkParameterInput = (withExternalLinkIcon) => import_react98.css`
17797
17986
  padding-right: calc(
17798
17987
  ${withExternalLinkIcon ? "calc(var(--spacing-lg) * 2 + var(--spacing-xs))" : "var(--spacing-xl)"} +
17799
17988
  var(--spacing-base)
@@ -17806,7 +17995,7 @@ var linkParameterInput = (withExternalLinkIcon) => import_react96.css`
17806
17995
  }
17807
17996
  }
17808
17997
  `;
17809
- var linkParameterIcon = import_react96.css`
17998
+ var linkParameterIcon = import_react98.css`
17810
17999
  align-items: center;
17811
18000
  color: var(--brand-secondary-3);
17812
18001
  display: flex;
@@ -17821,7 +18010,7 @@ var linkParameterIcon = import_react96.css`
17821
18010
  `;
17822
18011
 
17823
18012
  // src/components/ParameterInputs/ParameterDataResource.tsx
17824
- var import_jsx_runtime89 = require("@emotion/react/jsx-runtime");
18013
+ var import_jsx_runtime90 = require("@emotion/react/jsx-runtime");
17825
18014
  function ParameterDataResource({
17826
18015
  label,
17827
18016
  labelLeadingIcon,
@@ -17831,12 +18020,12 @@ function ParameterDataResource({
17831
18020
  disabled,
17832
18021
  children
17833
18022
  }) {
17834
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { "data-testid": "parameter-data-connect-button", children: [
17835
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("span", { css: labelText2, children: [
18023
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { "data-testid": "parameter-data-connect-button", children: [
18024
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("span", { css: labelText2, children: [
17836
18025
  labelLeadingIcon ? labelLeadingIcon : null,
17837
18026
  label
17838
18027
  ] }),
17839
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
18028
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
17840
18029
  "button",
17841
18030
  {
17842
18031
  type: "button",
@@ -17845,12 +18034,12 @@ function ParameterDataResource({
17845
18034
  disabled,
17846
18035
  onClick: onConnectDatasource,
17847
18036
  children: [
17848
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
18037
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
17849
18038
  children
17850
18039
  ]
17851
18040
  }
17852
18041
  ),
17853
- caption ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Caption, { children: caption }) : null
18042
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Caption, { children: caption }) : null
17854
18043
  ] });
17855
18044
  }
17856
18045
 
@@ -17859,20 +18048,20 @@ init_emotion_jsx_shim();
17859
18048
 
17860
18049
  // src/components/ParameterInputs/styles/ParameterDrawerHeader.styles.ts
17861
18050
  init_emotion_jsx_shim();
17862
- var import_react97 = require("@emotion/react");
17863
- var ParameterDrawerHeaderContainer = import_react97.css`
18051
+ var import_react99 = require("@emotion/react");
18052
+ var ParameterDrawerHeaderContainer = import_react99.css`
17864
18053
  align-items: center;
17865
18054
  display: flex;
17866
18055
  gap: var(--spacing-base);
17867
18056
  justify-content: space-between;
17868
18057
  margin-bottom: var(--spacing-sm);
17869
18058
  `;
17870
- var ParameterDrawerHeaderTitleGroup = import_react97.css`
18059
+ var ParameterDrawerHeaderTitleGroup = import_react99.css`
17871
18060
  align-items: center;
17872
18061
  display: flex;
17873
18062
  gap: var(--spacing-sm);
17874
18063
  `;
17875
- var ParameterDrawerHeaderTitle = import_react97.css`
18064
+ var ParameterDrawerHeaderTitle = import_react99.css`
17876
18065
  text-overflow: ellipsis;
17877
18066
  white-space: nowrap;
17878
18067
  overflow: hidden;
@@ -17880,12 +18069,12 @@ var ParameterDrawerHeaderTitle = import_react97.css`
17880
18069
  `;
17881
18070
 
17882
18071
  // src/components/ParameterInputs/ParameterDrawerHeader.tsx
17883
- var import_jsx_runtime90 = require("@emotion/react/jsx-runtime");
18072
+ var import_jsx_runtime91 = require("@emotion/react/jsx-runtime");
17884
18073
  var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
17885
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { css: ParameterDrawerHeaderContainer, children: [
17886
- /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("header", { css: ParameterDrawerHeaderTitleGroup, children: [
18074
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { css: ParameterDrawerHeaderContainer, children: [
18075
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("header", { css: ParameterDrawerHeaderTitleGroup, children: [
17887
18076
  iconBeforeTitle,
17888
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
18077
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
17889
18078
  ] }),
17890
18079
  children
17891
18080
  ] });
@@ -17893,12 +18082,12 @@ var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
17893
18082
 
17894
18083
  // src/components/ParameterInputs/ParameterGroup.tsx
17895
18084
  init_emotion_jsx_shim();
17896
- var import_react99 = require("react");
18085
+ var import_react101 = require("react");
17897
18086
 
17898
18087
  // src/components/ParameterInputs/styles/ParameterGroup.styles.ts
17899
18088
  init_emotion_jsx_shim();
17900
- var import_react98 = require("@emotion/react");
17901
- var fieldsetStyles = import_react98.css`
18089
+ var import_react100 = require("@emotion/react");
18090
+ var fieldsetStyles = import_react100.css`
17902
18091
  &:disabled,
17903
18092
  [readonly] {
17904
18093
  pointer-events: none;
@@ -17909,7 +18098,7 @@ var fieldsetStyles = import_react98.css`
17909
18098
  }
17910
18099
  }
17911
18100
  `;
17912
- var fieldsetLegend2 = import_react98.css`
18101
+ var fieldsetLegend2 = import_react100.css`
17913
18102
  display: block;
17914
18103
  font-weight: var(--fw-medium);
17915
18104
  margin-bottom: var(--spacing-sm);
@@ -17917,11 +18106,11 @@ var fieldsetLegend2 = import_react98.css`
17917
18106
  `;
17918
18107
 
17919
18108
  // src/components/ParameterInputs/ParameterGroup.tsx
17920
- var import_jsx_runtime91 = require("@emotion/react/jsx-runtime");
17921
- var ParameterGroup = (0, import_react99.forwardRef)(
18109
+ var import_jsx_runtime92 = require("@emotion/react/jsx-runtime");
18110
+ var ParameterGroup = (0, import_react101.forwardRef)(
17922
18111
  ({ legend, isDisabled, children, ...props }, ref) => {
17923
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
17924
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("legend", { css: fieldsetLegend2, children: legend }),
18112
+ return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
18113
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("legend", { css: fieldsetLegend2, children: legend }),
17925
18114
  children
17926
18115
  ] });
17927
18116
  }
@@ -17929,63 +18118,24 @@ var ParameterGroup = (0, import_react99.forwardRef)(
17929
18118
 
17930
18119
  // src/components/ParameterInputs/ParameterImage.tsx
17931
18120
  init_emotion_jsx_shim();
17932
- var import_react105 = require("react");
18121
+ var import_react107 = require("react");
17933
18122
 
17934
18123
  // src/components/ParameterInputs/ParameterImagePreview.tsx
17935
18124
  init_emotion_jsx_shim();
17936
- var import_react101 = require("react");
18125
+ var import_react103 = require("react");
17937
18126
  var import_react_dom2 = require("react-dom");
17938
18127
 
17939
- // src/utils/url.ts
17940
- init_emotion_jsx_shim();
17941
- var isValidUrl = (url, options = {}) => {
17942
- try {
17943
- new URL(url, options.allowRelative ? "https://defaultbaseurl.com" : void 0);
17944
- return true;
17945
- } catch (e) {
17946
- return false;
17947
- }
17948
- };
17949
-
17950
18128
  // src/components/ParameterInputs/styles/ParameterImage.styles.ts
17951
18129
  init_emotion_jsx_shim();
17952
- var import_react100 = require("@emotion/react");
17953
- var imageWrapper = import_react100.css`
17954
- position: relative;
17955
- display: flex;
17956
- flex-direction: column;
17957
- background: var(--gray-50);
17958
- max-width: 100%;
17959
- max-height: 100%;
17960
- `;
17961
- var imageWrapperLoading = import_react100.css`
17962
- animation: ${skeletonLoading} var(--duration-slow) linear infinite alternate;
17963
- `;
17964
- var img = import_react100.css`
17965
- object-fit: contain;
17966
- max-width: 100%;
17967
- height: auto;
17968
- opacity: var(--opacity-0);
17969
- margin: 0 auto;
17970
- `;
17971
- var imgLoading = import_react100.css`
17972
- opacity: 0;
17973
- `;
17974
- var imgLoaded = import_react100.css`
17975
- animation: ${fadeIn} var(--duration-slow) var(--timing-ease-out) forwards;
17976
- opacity: 1;
17977
- `;
17978
- var brokenImage = import_react100.css`
17979
- height: 160px;
17980
- `;
17981
- var previewWrapper = import_react100.css`
18130
+ var import_react102 = require("@emotion/react");
18131
+ var previewWrapper = import_react102.css`
17982
18132
  margin-top: var(--spacing-xs);
17983
18133
  background: var(--gray-50);
17984
18134
  padding: var(--spacing-sm);
17985
18135
  border: solid 1px var(--gray-300);
17986
18136
  border-radius: var(--rounded-sm);
17987
18137
  `;
17988
- var previewLink = import_react100.css`
18138
+ var previewLink = import_react102.css`
17989
18139
  display: block;
17990
18140
  width: 100%;
17991
18141
 
@@ -17993,7 +18143,7 @@ var previewLink = import_react100.css`
17993
18143
  max-height: 9rem;
17994
18144
  }
17995
18145
  `;
17996
- var previewModalWrapper = import_react100.css`
18146
+ var previewModalWrapper = import_react102.css`
17997
18147
  background: var(--gray-50);
17998
18148
  display: flex;
17999
18149
  height: 100%;
@@ -18002,7 +18152,7 @@ var previewModalWrapper = import_react100.css`
18002
18152
  border: solid 1px var(--gray-300);
18003
18153
  border-radius: var(--rounded-sm);
18004
18154
  `;
18005
- var previewModalImage = import_react100.css`
18155
+ var previewModalImage = import_react102.css`
18006
18156
  display: flex;
18007
18157
  height: 100%;
18008
18158
  width: 100%;
@@ -18014,122 +18164,61 @@ var previewModalImage = import_react100.css`
18014
18164
  `;
18015
18165
 
18016
18166
  // src/components/ParameterInputs/ParameterImagePreview.tsx
18017
- var import_jsx_runtime92 = require("@emotion/react/jsx-runtime");
18167
+ var import_jsx_runtime93 = require("@emotion/react/jsx-runtime");
18018
18168
  function ParameterImagePreview({ imageSrc }) {
18019
- const [showModal, setShowModal] = (0, import_react101.useState)(false);
18020
- return imageSrc ? /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { css: previewWrapper, children: [
18021
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(PreviewImageModal, { open: showModal, imageSrc, onRequestClose: () => setShowModal(false) }),
18022
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
18169
+ const [showModal, setShowModal] = (0, import_react103.useState)(false);
18170
+ return imageSrc ? /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { css: previewWrapper, children: [
18171
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(PreviewImageModal, { open: showModal, imageSrc, onRequestClose: () => setShowModal(false) }),
18172
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
18023
18173
  "button",
18024
18174
  {
18025
18175
  css: previewLink,
18026
18176
  onClick: () => {
18027
18177
  setShowModal(true);
18028
18178
  },
18029
- children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Image, { src: imageSrc })
18179
+ children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Image, { src: imageSrc, "data-testid": "parameter-image-preview" })
18030
18180
  }
18031
18181
  )
18032
18182
  ] }) : null;
18033
18183
  }
18034
18184
  var PreviewImageModal = ({ open, onRequestClose, imageSrc }) => {
18035
- return open ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_jsx_runtime92.Fragment, { children: (0, import_react_dom2.createPortal)(
18036
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
18185
+ return open ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_jsx_runtime93.Fragment, { children: (0, import_react_dom2.createPortal)(
18186
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
18037
18187
  Modal,
18038
18188
  {
18039
18189
  header: "Image Preview",
18040
18190
  onRequestClose,
18041
18191
  withoutContentPadding: true,
18042
- buttonGroup: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Button, { buttonType: "secondary", onClick: onRequestClose, children: "Ok" }),
18043
- children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { css: previewModalWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Image, { src: imageSrc, css: previewModalImage }) })
18192
+ buttonGroup: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Button, { buttonType: "secondary", onClick: onRequestClose, children: "Ok" }),
18193
+ children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { css: previewModalWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Image, { src: imageSrc, css: previewModalImage, "data-testid": "parameter-image-preview" }) })
18044
18194
  }
18045
18195
  ),
18046
18196
  document.body
18047
18197
  ) }) : null;
18048
18198
  };
18049
- var Image = ({ src, className }) => {
18050
- const [loading, setLoading] = (0, import_react101.useState)(false);
18051
- const [loadErrorText, setLoadErrorText] = (0, import_react101.useState)("");
18052
- const errorText = "The text you provided is not a valid URL";
18053
- const updateImageSrc = (0, import_react101.useCallback)(() => {
18054
- let message = "";
18055
- try {
18056
- if (src !== "") {
18057
- const url = String(src).startsWith("//") ? `${location.protocol}${src}` : String(src);
18058
- if (!isValidUrl(url) || !url.startsWith("https")) {
18059
- throw Error(errorText);
18060
- }
18061
- }
18062
- message = "";
18063
- } catch (e) {
18064
- message = errorText;
18065
- }
18066
- setLoadErrorText(message);
18067
- }, [setLoadErrorText, src]);
18068
- (0, import_react101.useEffect)(() => {
18069
- updateImageSrc();
18070
- }, [src]);
18071
- const handleLoadEvent = () => {
18072
- setLoadErrorText("");
18073
- if (src) {
18074
- setLoading(true);
18075
- }
18076
- const timer = setTimeout(() => {
18077
- setLoading(false);
18078
- }, 1e3);
18079
- return () => clearTimeout(timer);
18080
- };
18081
- const handleErrorEvent = () => {
18082
- setLoadErrorText("The value you provided is not a valid image URL");
18083
- };
18084
- return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
18085
- "span",
18086
- {
18087
- className,
18088
- css: [imageWrapper, loading ? imageWrapperLoading : null],
18089
- children: [
18090
- src && !loadErrorText ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
18091
- "img",
18092
- {
18093
- src,
18094
- css: [img, loading ? imgLoading : imgLoaded],
18095
- alt: "image preview",
18096
- onLoad: handleLoadEvent,
18097
- onError: handleErrorEvent,
18098
- loading: "lazy",
18099
- "data-testid": "parameter-image-preview"
18100
- }
18101
- ) : null,
18102
- src && loadErrorText ? /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(import_jsx_runtime92.Fragment, { children: [
18103
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(ImageBroken, { css: [brokenImage, img, imgLoaded] }),
18104
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(ErrorMessage, { message: loadErrorText })
18105
- ] }) : null
18106
- ]
18107
- }
18108
- );
18109
- };
18110
18199
 
18111
18200
  // src/components/ParameterInputs/ParameterShell.tsx
18112
18201
  init_emotion_jsx_shim();
18113
- var import_react104 = require("react");
18202
+ var import_react106 = require("react");
18114
18203
 
18115
18204
  // src/components/ParameterInputs/ParameterLabel.tsx
18116
18205
  init_emotion_jsx_shim();
18117
- var import_jsx_runtime93 = require("@emotion/react/jsx-runtime");
18206
+ var import_jsx_runtime94 = require("@emotion/react/jsx-runtime");
18118
18207
  var ParameterLabel = ({ id, asSpan, children, ...props }) => {
18119
- return !asSpan ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { "aria-labelledby": id, css: labelText2, children });
18208
+ return !asSpan ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { "aria-labelledby": id, css: labelText2, children });
18120
18209
  };
18121
18210
 
18122
18211
  // src/components/ParameterInputs/ParameterMenuButton.tsx
18123
18212
  init_emotion_jsx_shim();
18124
- var import_react102 = require("react");
18125
- var import_jsx_runtime94 = require("@emotion/react/jsx-runtime");
18126
- var ParameterMenuButton = (0, import_react102.forwardRef)(
18213
+ var import_react104 = require("react");
18214
+ var import_jsx_runtime95 = require("@emotion/react/jsx-runtime");
18215
+ var ParameterMenuButton = (0, import_react104.forwardRef)(
18127
18216
  ({ label, children }, ref) => {
18128
- return /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
18217
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
18129
18218
  Menu,
18130
18219
  {
18131
18220
  menuLabel: `${label} menu`,
18132
- menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
18221
+ menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
18133
18222
  "button",
18134
18223
  {
18135
18224
  className: "parameter-menu",
@@ -18137,7 +18226,7 @@ var ParameterMenuButton = (0, import_react102.forwardRef)(
18137
18226
  type: "button",
18138
18227
  "aria-label": `${label} options`,
18139
18228
  ref,
18140
- children: /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
18229
+ children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
18141
18230
  }
18142
18231
  ),
18143
18232
  children
@@ -18148,8 +18237,8 @@ var ParameterMenuButton = (0, import_react102.forwardRef)(
18148
18237
 
18149
18238
  // src/components/ParameterInputs/styles/ParameterShell.styles.ts
18150
18239
  init_emotion_jsx_shim();
18151
- var import_react103 = require("@emotion/react");
18152
- var emptyParameterShell = import_react103.css`
18240
+ var import_react105 = require("@emotion/react");
18241
+ var emptyParameterShell = import_react105.css`
18153
18242
  border-radius: var(--rounded-sm);
18154
18243
  background: var(--white);
18155
18244
  flex-grow: 1;
@@ -18157,7 +18246,7 @@ var emptyParameterShell = import_react103.css`
18157
18246
  position: relative;
18158
18247
  max-width: 100%;
18159
18248
  `;
18160
- var emptyParameterShellText = import_react103.css`
18249
+ var emptyParameterShellText = import_react105.css`
18161
18250
  background: var(--brand-secondary-6);
18162
18251
  border-radius: var(--rounded-sm);
18163
18252
  padding: var(--spacing-sm);
@@ -18165,7 +18254,7 @@ var emptyParameterShellText = import_react103.css`
18165
18254
  font-size: var(--fs-sm);
18166
18255
  margin: 0;
18167
18256
  `;
18168
- var overrideMarker = import_react103.css`
18257
+ var overrideMarker = import_react105.css`
18169
18258
  border-radius: var(--rounded-sm);
18170
18259
  border: 10px solid var(--gray-300);
18171
18260
  border-left-color: transparent;
@@ -18176,7 +18265,7 @@ var overrideMarker = import_react103.css`
18176
18265
  `;
18177
18266
 
18178
18267
  // src/components/ParameterInputs/ParameterShell.tsx
18179
- var import_jsx_runtime95 = require("@emotion/react/jsx-runtime");
18268
+ var import_jsx_runtime96 = require("@emotion/react/jsx-runtime");
18180
18269
  var extractParameterProps = (props) => {
18181
18270
  const {
18182
18271
  id,
@@ -18234,23 +18323,23 @@ var ParameterShell = ({
18234
18323
  children,
18235
18324
  ...props
18236
18325
  }) => {
18237
- const [manualErrorMessage, setManualErrorMessage] = (0, import_react104.useState)(void 0);
18326
+ const [manualErrorMessage, setManualErrorMessage] = (0, import_react106.useState)(void 0);
18238
18327
  const setErrorMessage = (message) => setManualErrorMessage(message);
18239
18328
  const errorMessaging = errorMessage || manualErrorMessage;
18240
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { css: inputContainer2, ...props, children: [
18241
- hiddenLabel || title ? null : /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(ParameterLabel, { id, css: labelText2, children: [
18329
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { css: inputContainer2, ...props, children: [
18330
+ hiddenLabel || title ? null : /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(ParameterLabel, { id, css: labelText2, children: [
18242
18331
  labelLeadingIcon != null ? labelLeadingIcon : null,
18243
18332
  label,
18244
18333
  labelTrailingIcon != null ? labelTrailingIcon : null
18245
18334
  ] }),
18246
- !title ? null : /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(ParameterLabel, { id, asSpan: true, children: [
18335
+ !title ? null : /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(ParameterLabel, { id, asSpan: true, children: [
18247
18336
  labelLeadingIcon != null ? labelLeadingIcon : null,
18248
18337
  title,
18249
18338
  labelTrailingIcon != null ? labelTrailingIcon : null
18250
18339
  ] }),
18251
- /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { css: inputWrapper, children: [
18252
- menuItems ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
18253
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
18340
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { css: inputWrapper, children: [
18341
+ menuItems ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
18342
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
18254
18343
  ParameterShellContext.Provider,
18255
18344
  {
18256
18345
  value: {
@@ -18260,41 +18349,41 @@ var ParameterShell = ({
18260
18349
  errorMessage: errorMessaging,
18261
18350
  handleManuallySetErrorMessage: (message) => setErrorMessage(message)
18262
18351
  },
18263
- children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(ParameterShellPlaceholder, { children: [
18352
+ children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(ParameterShellPlaceholder, { children: [
18264
18353
  children,
18265
- hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
18354
+ hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
18266
18355
  ] })
18267
18356
  }
18268
18357
  )
18269
18358
  ] }),
18270
- caption ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Caption, { testId: captionTestId, children: caption }) : null,
18271
- errorMessaging ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null,
18272
- warningMessage ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(WarningMessage, { message: warningMessage }) : null,
18273
- infoMessage ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(InfoMessage, { message: infoMessage }) : null
18359
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Caption, { testId: captionTestId, children: caption }) : null,
18360
+ errorMessaging ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null,
18361
+ warningMessage ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(WarningMessage, { message: warningMessage }) : null,
18362
+ infoMessage ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(InfoMessage, { message: infoMessage }) : null
18274
18363
  ] });
18275
18364
  };
18276
18365
  var ParameterShellPlaceholder = ({ children }) => {
18277
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { css: emptyParameterShell, children });
18366
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { css: emptyParameterShell, children });
18278
18367
  };
18279
- var ParameterOverrideMarker = (props) => /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { hidden: true, children: "reset overridden value to default" }) }) });
18368
+ var ParameterOverrideMarker = (props) => /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { hidden: true, children: "reset overridden value to default" }) }) });
18280
18369
 
18281
18370
  // src/components/ParameterInputs/ParameterImage.tsx
18282
- var import_jsx_runtime96 = require("@emotion/react/jsx-runtime");
18283
- var ParameterImage = (0, import_react105.forwardRef)(
18371
+ var import_jsx_runtime97 = require("@emotion/react/jsx-runtime");
18372
+ var ParameterImage = (0, import_react107.forwardRef)(
18284
18373
  ({ children, ...props }, ref) => {
18285
18374
  const { shellProps, innerProps } = extractParameterProps(props);
18286
- return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: [
18287
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(ParameterImageInner, { ref, ...innerProps }),
18375
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: [
18376
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(ParameterImageInner, { ref, ...innerProps }),
18288
18377
  children
18289
18378
  ] });
18290
18379
  }
18291
18380
  );
18292
- var ParameterImageInner = (0, import_react105.forwardRef)((props, ref) => {
18381
+ var ParameterImageInner = (0, import_react107.forwardRef)((props, ref) => {
18293
18382
  const { value } = props;
18294
18383
  const { id, label, hiddenLabel, errorMessage } = useParameterShell();
18295
- const deferredValue = (0, import_react105.useDeferredValue)(value);
18296
- return /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_jsx_runtime96.Fragment, { children: [
18297
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
18384
+ const deferredValue = (0, import_react107.useDeferredValue)(value);
18385
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_jsx_runtime97.Fragment, { children: [
18386
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
18298
18387
  "input",
18299
18388
  {
18300
18389
  css: input2,
@@ -18306,22 +18395,22 @@ var ParameterImageInner = (0, import_react105.forwardRef)((props, ref) => {
18306
18395
  ...props
18307
18396
  }
18308
18397
  ),
18309
- errorMessage || props.disablePreview ? null : /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(ParameterImagePreview, { imageSrc: deferredValue })
18398
+ errorMessage || props.disablePreview ? null : /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(ParameterImagePreview, { imageSrc: deferredValue })
18310
18399
  ] });
18311
18400
  });
18312
18401
 
18313
18402
  // src/components/ParameterInputs/ParameterInput.tsx
18314
18403
  init_emotion_jsx_shim();
18315
- var import_react106 = require("react");
18316
- var import_jsx_runtime97 = require("@emotion/react/jsx-runtime");
18317
- var ParameterInput = (0, import_react106.forwardRef)((props, ref) => {
18404
+ var import_react108 = require("react");
18405
+ var import_jsx_runtime98 = require("@emotion/react/jsx-runtime");
18406
+ var ParameterInput = (0, import_react108.forwardRef)((props, ref) => {
18318
18407
  const { shellProps, innerProps } = extractParameterProps(props);
18319
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(ParameterInputInner, { ref, ...innerProps }) });
18408
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(ParameterInputInner, { ref, ...innerProps }) });
18320
18409
  });
18321
- var ParameterInputInner = (0, import_react106.forwardRef)(
18410
+ var ParameterInputInner = (0, import_react108.forwardRef)(
18322
18411
  ({ ...props }, ref) => {
18323
18412
  const { id, label, hiddenLabel } = useParameterShell();
18324
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
18413
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
18325
18414
  "input",
18326
18415
  {
18327
18416
  css: input2,
@@ -18338,19 +18427,19 @@ var ParameterInputInner = (0, import_react106.forwardRef)(
18338
18427
 
18339
18428
  // src/components/ParameterInputs/ParameterLink.tsx
18340
18429
  init_emotion_jsx_shim();
18341
- var import_react107 = require("react");
18342
- var import_jsx_runtime98 = require("@emotion/react/jsx-runtime");
18343
- var ParameterLink = (0, import_react107.forwardRef)(
18430
+ var import_react109 = require("react");
18431
+ var import_jsx_runtime99 = require("@emotion/react/jsx-runtime");
18432
+ var ParameterLink = (0, import_react109.forwardRef)(
18344
18433
  ({ disabled, onConnectLink, externalLink, ...props }, ref) => {
18345
18434
  const { shellProps, innerProps } = extractParameterProps(props);
18346
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
18435
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
18347
18436
  ParameterShell,
18348
18437
  {
18349
18438
  "data-testid": "link-parameter-editor",
18350
18439
  ...shellProps,
18351
18440
  label: innerProps.value ? shellProps.label : "",
18352
18441
  title: !innerProps.value ? shellProps.label : void 0,
18353
- children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
18442
+ children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
18354
18443
  ParameterLinkInner,
18355
18444
  {
18356
18445
  onConnectLink,
@@ -18363,13 +18452,13 @@ var ParameterLink = (0, import_react107.forwardRef)(
18363
18452
  );
18364
18453
  }
18365
18454
  );
18366
- var ParameterLinkInner = (0, import_react107.forwardRef)(
18455
+ var ParameterLinkInner = (0, import_react109.forwardRef)(
18367
18456
  ({ externalLink, onConnectLink, disabled, buttonText = "Select link", ...props }, ref) => {
18368
18457
  const { id, label, hiddenLabel } = useParameterShell();
18369
18458
  if (!props.value)
18370
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("button", { type: "button", css: dataConnectButton, disabled, onClick: onConnectLink, children: buttonText });
18371
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { css: inputWrapper, children: [
18372
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
18459
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("button", { type: "button", css: dataConnectButton, disabled, onClick: onConnectLink, children: buttonText });
18460
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { css: inputWrapper, children: [
18461
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
18373
18462
  "input",
18374
18463
  {
18375
18464
  type: "text",
@@ -18381,8 +18470,8 @@ var ParameterLinkInner = (0, import_react107.forwardRef)(
18381
18470
  ...props
18382
18471
  }
18383
18472
  ),
18384
- /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { css: linkParameterControls, children: [
18385
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
18473
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { css: linkParameterControls, children: [
18474
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
18386
18475
  "button",
18387
18476
  {
18388
18477
  type: "button",
@@ -18393,7 +18482,7 @@ var ParameterLinkInner = (0, import_react107.forwardRef)(
18393
18482
  children: "edit"
18394
18483
  }
18395
18484
  ),
18396
- externalLink ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
18485
+ externalLink ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
18397
18486
  "a",
18398
18487
  {
18399
18488
  href: externalLink,
@@ -18401,7 +18490,7 @@ var ParameterLinkInner = (0, import_react107.forwardRef)(
18401
18490
  title: "Open link in new tab",
18402
18491
  target: "_blank",
18403
18492
  rel: "noopener noreferrer",
18404
- children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
18493
+ children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
18405
18494
  }
18406
18495
  ) : null
18407
18496
  ] })
@@ -18411,7 +18500,7 @@ var ParameterLinkInner = (0, import_react107.forwardRef)(
18411
18500
 
18412
18501
  // src/components/ParameterInputs/ParameterNameAndPublicIdInput.tsx
18413
18502
  init_emotion_jsx_shim();
18414
- var import_jsx_runtime99 = require("@emotion/react/jsx-runtime");
18503
+ var import_jsx_runtime100 = require("@emotion/react/jsx-runtime");
18415
18504
  var ParameterNameAndPublicIdInput = ({
18416
18505
  id,
18417
18506
  onBlur,
@@ -18437,8 +18526,8 @@ var ParameterNameAndPublicIdInput = ({
18437
18526
  navigator.clipboard.writeText(values[publicIdFieldName]);
18438
18527
  };
18439
18528
  autoFocus == null ? void 0 : autoFocus();
18440
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_jsx_runtime99.Fragment, { children: [
18441
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
18529
+ return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_jsx_runtime100.Fragment, { children: [
18530
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
18442
18531
  ParameterInput,
18443
18532
  {
18444
18533
  id: nameIdField,
@@ -18457,7 +18546,7 @@ var ParameterNameAndPublicIdInput = ({
18457
18546
  value: values[nameIdField]
18458
18547
  }
18459
18548
  ),
18460
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
18549
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
18461
18550
  ParameterInput,
18462
18551
  {
18463
18552
  id: publicIdFieldName,
@@ -18471,11 +18560,11 @@ var ParameterNameAndPublicIdInput = ({
18471
18560
  caption: publicIdCaption,
18472
18561
  placeholder: publicIdPlaceholderText,
18473
18562
  errorMessage: publicIdError,
18474
- menuItems: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
18563
+ menuItems: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
18475
18564
  MenuItem,
18476
18565
  {
18477
18566
  disabled: !values[publicIdFieldName],
18478
- icon: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Icon, { icon: "path-trim", iconColor: "currentColor" }),
18567
+ icon: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Icon, { icon: "path-trim", iconColor: "currentColor" }),
18479
18568
  onClick: handleCopyPidFieldValue,
18480
18569
  children: "Copy"
18481
18570
  }
@@ -18483,13 +18572,13 @@ var ParameterNameAndPublicIdInput = ({
18483
18572
  value: values[publicIdFieldName]
18484
18573
  }
18485
18574
  ),
18486
- (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Callout, { type: "caution", children: warnOverLength.message }) : null
18575
+ (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Callout, { type: "caution", children: warnOverLength.message }) : null
18487
18576
  ] });
18488
18577
  };
18489
18578
 
18490
18579
  // src/components/ParameterInputs/ParameterRichText.tsx
18491
18580
  init_emotion_jsx_shim();
18492
- var import_react114 = require("@emotion/react");
18581
+ var import_react116 = require("@emotion/react");
18493
18582
  var import_list3 = require("@lexical/list");
18494
18583
  var import_markdown = require("@lexical/markdown");
18495
18584
  var import_LexicalComposer = require("@lexical/react/LexicalComposer");
@@ -18596,7 +18685,7 @@ var getLabelForElement = (type) => {
18596
18685
  // src/components/ParameterInputs/ParameterRichText.tsx
18597
18686
  var import_fast_equals2 = require("fast-equals");
18598
18687
  var import_lexical6 = require("lexical");
18599
- var import_react115 = require("react");
18688
+ var import_react117 = require("react");
18600
18689
 
18601
18690
  // src/components/ParameterInputs/rich-text/CustomCodeNode.ts
18602
18691
  init_emotion_jsx_shim();
@@ -18619,10 +18708,10 @@ init_emotion_jsx_shim();
18619
18708
  var import_LexicalComposerContext = require("@lexical/react/LexicalComposerContext");
18620
18709
  var import_utils2 = require("@lexical/utils");
18621
18710
  var import_lexical = require("lexical");
18622
- var import_react108 = require("react");
18711
+ var import_react110 = require("react");
18623
18712
  function DisableStylesPlugin() {
18624
18713
  const [editor] = (0, import_LexicalComposerContext.useLexicalComposerContext)();
18625
- (0, import_react108.useEffect)(() => {
18714
+ (0, import_react110.useEffect)(() => {
18626
18715
  return (0, import_utils2.mergeRegister)(
18627
18716
  // Disable text alignment on paragraph nodes
18628
18717
  editor.registerNodeTransform(import_lexical.ParagraphNode, (node) => {
@@ -18817,13 +18906,13 @@ var codeElement = import_css.css`
18817
18906
 
18818
18907
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
18819
18908
  init_emotion_jsx_shim();
18820
- var import_react109 = require("@emotion/react");
18909
+ var import_react111 = require("@emotion/react");
18821
18910
  var import_LexicalComposerContext2 = require("@lexical/react/LexicalComposerContext");
18822
18911
  var import_LexicalNodeEventPlugin = require("@lexical/react/LexicalNodeEventPlugin");
18823
18912
  var import_utils3 = require("@lexical/utils");
18824
18913
  var import_fast_equals = require("fast-equals");
18825
18914
  var import_lexical3 = require("lexical");
18826
- var import_react110 = require("react");
18915
+ var import_react112 = require("react");
18827
18916
 
18828
18917
  // src/components/ParameterInputs/rich-text/utils.ts
18829
18918
  init_emotion_jsx_shim();
@@ -18862,7 +18951,7 @@ var getSelectedNode = (selection) => {
18862
18951
  };
18863
18952
 
18864
18953
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
18865
- var import_jsx_runtime100 = require("@emotion/react/jsx-runtime");
18954
+ var import_jsx_runtime101 = require("@emotion/react/jsx-runtime");
18866
18955
  var isProjectMapLinkValue = (value) => {
18867
18956
  return (value == null ? void 0 : value.type) === "projectMapNode" && Boolean(
18868
18957
  value.nodeId && value.path && value.projectMapId
@@ -19149,16 +19238,16 @@ var OPEN_LINK_NODE_MODAL_COMMAND = (0, import_lexical3.createCommand)(
19149
19238
  );
19150
19239
  var LINK_POPOVER_OFFSET_X = 0;
19151
19240
  var LINK_POPOVER_OFFSET_Y = 8;
19152
- var linkPopover = import_react109.css`
19241
+ var linkPopover = import_react111.css`
19153
19242
  position: absolute;
19154
19243
  z-index: 5;
19155
19244
  `;
19156
- var linkPopoverContainer = import_react109.css`
19245
+ var linkPopoverContainer = import_react111.css`
19157
19246
  ${Popover};
19158
19247
  align-items: center;
19159
19248
  display: flex;
19160
19249
  `;
19161
- var linkPopoverAnchor = import_react109.css`
19250
+ var linkPopoverAnchor = import_react111.css`
19162
19251
  ${link}
19163
19252
  ${linkColorDefault}
19164
19253
  `;
@@ -19167,17 +19256,17 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
19167
19256
  return path;
19168
19257
  };
19169
19258
  const [editor] = (0, import_LexicalComposerContext2.useLexicalComposerContext)();
19170
- const [linkPopoverState, setLinkPopoverState] = (0, import_react110.useState)();
19171
- const linkPopoverElRef = (0, import_react110.useRef)(null);
19172
- const [isEditorFocused, setIsEditorFocused] = (0, import_react110.useState)(false);
19173
- const [isLinkPopoverFocused, setIsLinkPopoverFocused] = (0, import_react110.useState)(false);
19174
- (0, import_react110.useEffect)(() => {
19259
+ const [linkPopoverState, setLinkPopoverState] = (0, import_react112.useState)();
19260
+ const linkPopoverElRef = (0, import_react112.useRef)(null);
19261
+ const [isEditorFocused, setIsEditorFocused] = (0, import_react112.useState)(false);
19262
+ const [isLinkPopoverFocused, setIsLinkPopoverFocused] = (0, import_react112.useState)(false);
19263
+ (0, import_react112.useEffect)(() => {
19175
19264
  if (!isEditorFocused && !isLinkPopoverFocused) {
19176
19265
  setLinkPopoverState(void 0);
19177
19266
  return;
19178
19267
  }
19179
19268
  }, [isEditorFocused, isLinkPopoverFocused]);
19180
- (0, import_react110.useEffect)(() => {
19269
+ (0, import_react112.useEffect)(() => {
19181
19270
  if (!editor.hasNodes([LinkNode])) {
19182
19271
  throw new Error("LinkNode not registered on editor");
19183
19272
  }
@@ -19246,7 +19335,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
19246
19335
  )
19247
19336
  );
19248
19337
  }, [editor, onConnectLink]);
19249
- const maybeShowLinkToolbar = (0, import_react110.useCallback)(() => {
19338
+ const maybeShowLinkToolbar = (0, import_react112.useCallback)(() => {
19250
19339
  if (!editor.isEditable()) {
19251
19340
  return;
19252
19341
  }
@@ -19278,7 +19367,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
19278
19367
  }
19279
19368
  });
19280
19369
  }, [editor]);
19281
- (0, import_react110.useEffect)(() => {
19370
+ (0, import_react112.useEffect)(() => {
19282
19371
  return editor.registerUpdateListener(({ editorState }) => {
19283
19372
  requestAnimationFrame(() => {
19284
19373
  editorState.read(() => {
@@ -19305,8 +19394,8 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
19305
19394
  });
19306
19395
  });
19307
19396
  };
19308
- return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_jsx_runtime100.Fragment, { children: [
19309
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
19397
+ return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_jsx_runtime101.Fragment, { children: [
19398
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
19310
19399
  import_LexicalNodeEventPlugin.NodeEventPlugin,
19311
19400
  {
19312
19401
  nodeType: LinkNode,
@@ -19316,7 +19405,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
19316
19405
  }
19317
19406
  }
19318
19407
  ),
19319
- linkPopoverState ? /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
19408
+ linkPopoverState ? /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
19320
19409
  "div",
19321
19410
  {
19322
19411
  css: linkPopover,
@@ -19325,8 +19414,8 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
19325
19414
  top: linkPopoverState.position.y
19326
19415
  },
19327
19416
  ref: linkPopoverElRef,
19328
- children: /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { css: linkPopoverContainer, children: [
19329
- linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
19417
+ children: /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { css: linkPopoverContainer, children: [
19418
+ linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
19330
19419
  "a",
19331
19420
  {
19332
19421
  href: parsePath(
@@ -19338,7 +19427,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
19338
19427
  children: parsePath(linkPopoverState.node.__link.path)
19339
19428
  }
19340
19429
  ),
19341
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
19430
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
19342
19431
  Button,
19343
19432
  {
19344
19433
  size: "xs",
@@ -19346,7 +19435,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
19346
19435
  onEditLinkNode(linkPopoverState.node);
19347
19436
  },
19348
19437
  buttonType: "ghost",
19349
- children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
19438
+ children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
19350
19439
  }
19351
19440
  )
19352
19441
  ] })
@@ -19366,8 +19455,8 @@ var import_list = require("@lexical/list");
19366
19455
  var import_LexicalComposerContext3 = require("@lexical/react/LexicalComposerContext");
19367
19456
  var import_LexicalTabIndentationPlugin = require("@lexical/react/LexicalTabIndentationPlugin");
19368
19457
  var import_lexical4 = require("lexical");
19369
- var import_react111 = require("react");
19370
- var import_jsx_runtime101 = require("@emotion/react/jsx-runtime");
19458
+ var import_react113 = require("react");
19459
+ var import_jsx_runtime102 = require("@emotion/react/jsx-runtime");
19371
19460
  function isIndentPermitted(maxDepth) {
19372
19461
  const selection = (0, import_lexical4.$getSelection)();
19373
19462
  if (!(0, import_lexical4.$isRangeSelection)(selection)) {
@@ -19390,19 +19479,19 @@ function isIndentPermitted(maxDepth) {
19390
19479
  }
19391
19480
  function ListIndentPlugin({ maxDepth }) {
19392
19481
  const [editor] = (0, import_LexicalComposerContext3.useLexicalComposerContext)();
19393
- (0, import_react111.useEffect)(() => {
19482
+ (0, import_react113.useEffect)(() => {
19394
19483
  return editor.registerCommand(
19395
19484
  import_lexical4.INDENT_CONTENT_COMMAND,
19396
19485
  () => !isIndentPermitted(maxDepth),
19397
19486
  import_lexical4.COMMAND_PRIORITY_CRITICAL
19398
19487
  );
19399
19488
  }, [editor, maxDepth]);
19400
- return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(import_LexicalTabIndentationPlugin.TabIndentationPlugin, {});
19489
+ return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(import_LexicalTabIndentationPlugin.TabIndentationPlugin, {});
19401
19490
  }
19402
19491
 
19403
19492
  // src/components/ParameterInputs/rich-text/RichTextToolbar.tsx
19404
19493
  init_emotion_jsx_shim();
19405
- var import_react112 = require("@emotion/react");
19494
+ var import_react114 = require("@emotion/react");
19406
19495
  var import_code2 = require("@lexical/code");
19407
19496
  var import_list2 = require("@lexical/list");
19408
19497
  var import_LexicalComposerContext4 = require("@lexical/react/LexicalComposerContext");
@@ -19410,9 +19499,9 @@ var import_rich_text = require("@lexical/rich-text");
19410
19499
  var import_selection2 = require("@lexical/selection");
19411
19500
  var import_utils6 = require("@lexical/utils");
19412
19501
  var import_lexical5 = require("lexical");
19413
- var import_react113 = require("react");
19414
- var import_jsx_runtime102 = require("@emotion/react/jsx-runtime");
19415
- var toolbar = import_react112.css`
19502
+ var import_react115 = require("react");
19503
+ var import_jsx_runtime103 = require("@emotion/react/jsx-runtime");
19504
+ var toolbar = import_react114.css`
19416
19505
  background: var(--gray-50);
19417
19506
  border-radius: var(--rounded-base);
19418
19507
  display: flex;
@@ -19424,7 +19513,7 @@ var toolbar = import_react112.css`
19424
19513
  top: calc(var(--spacing-sm) * -2);
19425
19514
  z-index: 10;
19426
19515
  `;
19427
- var toolbarGroup = import_react112.css`
19516
+ var toolbarGroup = import_react114.css`
19428
19517
  display: flex;
19429
19518
  gap: var(--spacing-xs);
19430
19519
  position: relative;
@@ -19440,7 +19529,7 @@ var toolbarGroup = import_react112.css`
19440
19529
  width: 1px;
19441
19530
  }
19442
19531
  `;
19443
- var richTextToolbarButton = import_react112.css`
19532
+ var richTextToolbarButton = import_react114.css`
19444
19533
  align-items: center;
19445
19534
  appearance: none;
19446
19535
  border: 0;
@@ -19453,17 +19542,17 @@ var richTextToolbarButton = import_react112.css`
19453
19542
  min-width: 32px;
19454
19543
  padding: 0 var(--spacing-sm);
19455
19544
  `;
19456
- var richTextToolbarButtonActive = import_react112.css`
19545
+ var richTextToolbarButtonActive = import_react114.css`
19457
19546
  background: var(--gray-200);
19458
19547
  `;
19459
- var toolbarIcon = import_react112.css`
19548
+ var toolbarIcon = import_react114.css`
19460
19549
  color: inherit;
19461
19550
  `;
19462
- var toolbarChevron = import_react112.css`
19551
+ var toolbarChevron = import_react114.css`
19463
19552
  margin-left: var(--spacing-xs);
19464
19553
  `;
19465
19554
  var RichTextToolbarIcon = ({ icon }) => {
19466
- return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Icon, { icon, css: toolbarIcon, size: "1rem" });
19555
+ return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Icon, { icon, css: toolbarIcon, size: "1rem" });
19467
19556
  };
19468
19557
  var FORMATS_WITH_ICON = /* @__PURE__ */ new Map([
19469
19558
  ["bold", "format-bold"],
@@ -19514,7 +19603,7 @@ var RichTextToolbar = ({ config, customControls }) => {
19514
19603
  }
19515
19604
  });
19516
19605
  };
19517
- const updateToolbar = (0, import_react113.useCallback)(() => {
19606
+ const updateToolbar = (0, import_react115.useCallback)(() => {
19518
19607
  const selection = (0, import_lexical5.$getSelection)();
19519
19608
  if (!(0, import_lexical5.$isRangeSelection)(selection)) {
19520
19609
  return;
@@ -19553,7 +19642,7 @@ var RichTextToolbar = ({ config, customControls }) => {
19553
19642
  setIsLink(false);
19554
19643
  }
19555
19644
  }, [editor, setActiveElement, setActiveFormats, setIsLink]);
19556
- (0, import_react113.useEffect)(() => {
19645
+ (0, import_react115.useEffect)(() => {
19557
19646
  return editor.registerCommand(
19558
19647
  import_lexical5.SELECTION_CHANGE_COMMAND,
19559
19648
  (_payload) => {
@@ -19563,7 +19652,7 @@ var RichTextToolbar = ({ config, customControls }) => {
19563
19652
  import_lexical5.COMMAND_PRIORITY_CRITICAL
19564
19653
  );
19565
19654
  }, [editor, updateToolbar]);
19566
- (0, import_react113.useEffect)(() => {
19655
+ (0, import_react115.useEffect)(() => {
19567
19656
  return editor.registerUpdateListener(({ editorState }) => {
19568
19657
  requestAnimationFrame(() => {
19569
19658
  editorState.read(() => {
@@ -19572,15 +19661,15 @@ var RichTextToolbar = ({ config, customControls }) => {
19572
19661
  });
19573
19662
  });
19574
19663
  }, [editor, updateToolbar]);
19575
- return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { css: toolbar, children: [
19576
- /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(
19664
+ return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("div", { css: toolbar, children: [
19665
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(
19577
19666
  Menu,
19578
19667
  {
19579
19668
  menuLabel: "Elements",
19580
- menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("button", { css: richTextToolbarButton, title: "Text styles", children: [
19669
+ menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("button", { css: richTextToolbarButton, title: "Text styles", children: [
19581
19670
  visibleTextualElements.some((element) => element.type === activeElement) ? getLabelForElement(activeElement) : getLabelForElement("paragraph"),
19582
19671
  " ",
19583
- /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
19672
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
19584
19673
  ] }),
19585
19674
  placement: "bottom-start",
19586
19675
  children: [
@@ -19590,7 +19679,7 @@ var RichTextToolbar = ({ config, customControls }) => {
19590
19679
  type: "paragraph"
19591
19680
  },
19592
19681
  ...visibleTextualElements
19593
- ].map((element) => /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
19682
+ ].map((element) => /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
19594
19683
  MenuItem,
19595
19684
  {
19596
19685
  onClick: () => {
@@ -19600,12 +19689,12 @@ var RichTextToolbar = ({ config, customControls }) => {
19600
19689
  },
19601
19690
  element.type
19602
19691
  )),
19603
- visibleTextualElements.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
19692
+ visibleTextualElements.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
19604
19693
  ]
19605
19694
  }
19606
19695
  ),
19607
- visibleFormatsWithIcon.length > 0 || visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { css: toolbarGroup, children: [
19608
- visibleFormatsWithIcon.map((format) => /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
19696
+ visibleFormatsWithIcon.length > 0 || visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("div", { css: toolbarGroup, children: [
19697
+ visibleFormatsWithIcon.map((format) => /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
19609
19698
  "button",
19610
19699
  {
19611
19700
  onClick: () => {
@@ -19615,16 +19704,16 @@ var RichTextToolbar = ({ config, customControls }) => {
19615
19704
  richTextToolbarButton,
19616
19705
  activeFormats.includes(format.type) ? richTextToolbarButtonActive : null
19617
19706
  ],
19618
- children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
19707
+ children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
19619
19708
  }
19620
19709
  ) }, format.type)),
19621
- visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
19710
+ visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
19622
19711
  Menu,
19623
19712
  {
19624
19713
  menuLabel: "Alternative text styles",
19625
- menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("button", { css: richTextToolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Icon, { icon: "more-alt", css: toolbarIcon }) }),
19714
+ menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("button", { css: richTextToolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Icon, { icon: "more-alt", css: toolbarIcon }) }),
19626
19715
  placement: "bottom-start",
19627
- children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
19716
+ children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
19628
19717
  MenuItem,
19629
19718
  {
19630
19719
  onClick: () => {
@@ -19637,19 +19726,19 @@ var RichTextToolbar = ({ config, customControls }) => {
19637
19726
  }
19638
19727
  ) : null
19639
19728
  ] }) : null,
19640
- visibleElementsWithIcons.size > 0 ? /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { css: toolbarGroup, children: [
19641
- linkElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
19729
+ visibleElementsWithIcons.size > 0 ? /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("div", { css: toolbarGroup, children: [
19730
+ linkElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
19642
19731
  "button",
19643
19732
  {
19644
19733
  onClick: () => {
19645
19734
  isLink ? editor.dispatchCommand(REMOVE_LINK_NODE_COMMAND, {}) : editor.dispatchCommand(OPEN_LINK_NODE_MODAL_COMMAND, {});
19646
19735
  },
19647
19736
  css: [richTextToolbarButton, isLink ? richTextToolbarButtonActive : null],
19648
- children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(RichTextToolbarIcon, { icon: "link" })
19737
+ children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(RichTextToolbarIcon, { icon: "link" })
19649
19738
  }
19650
19739
  ) }) : null,
19651
- visibleLists.size > 0 ? /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_jsx_runtime102.Fragment, { children: [
19652
- visibleLists.has("unorderedList") ? /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
19740
+ visibleLists.size > 0 ? /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_jsx_runtime103.Fragment, { children: [
19741
+ visibleLists.has("unorderedList") ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
19653
19742
  "button",
19654
19743
  {
19655
19744
  onClick: () => {
@@ -19659,10 +19748,10 @@ var RichTextToolbar = ({ config, customControls }) => {
19659
19748
  richTextToolbarButton,
19660
19749
  activeElement === "unorderedList" ? richTextToolbarButtonActive : null
19661
19750
  ],
19662
- children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(RichTextToolbarIcon, { icon: "layout-list" })
19751
+ children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(RichTextToolbarIcon, { icon: "layout-list" })
19663
19752
  }
19664
19753
  ) }) : null,
19665
- visibleLists.has("orderedList") ? /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
19754
+ visibleLists.has("orderedList") ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
19666
19755
  "button",
19667
19756
  {
19668
19757
  onClick: () => {
@@ -19672,57 +19761,57 @@ var RichTextToolbar = ({ config, customControls }) => {
19672
19761
  richTextToolbarButton,
19673
19762
  activeElement === "orderedList" ? richTextToolbarButtonActive : null
19674
19763
  ],
19675
- children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(RichTextToolbarIcon, { icon: "layout-list-numbered" })
19764
+ children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(RichTextToolbarIcon, { icon: "layout-list-numbered" })
19676
19765
  }
19677
19766
  ) }) : null
19678
19767
  ] }) : null,
19679
- quoteElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
19768
+ quoteElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
19680
19769
  "button",
19681
19770
  {
19682
19771
  onClick: () => {
19683
19772
  activeElement === "quote" ? onSelectElement("paragraph") : onSelectElement("quote");
19684
19773
  },
19685
19774
  css: [richTextToolbarButton, activeElement === "quote" ? richTextToolbarButtonActive : null],
19686
- children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(RichTextToolbarIcon, { icon: "quote" })
19775
+ children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(RichTextToolbarIcon, { icon: "quote" })
19687
19776
  }
19688
19777
  ) }) : null,
19689
- codeElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
19778
+ codeElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
19690
19779
  "button",
19691
19780
  {
19692
19781
  onClick: () => {
19693
19782
  activeElement === "code" ? onSelectElement("paragraph") : onSelectElement("code");
19694
19783
  },
19695
19784
  css: [richTextToolbarButton, activeElement === "code" ? richTextToolbarButtonActive : null],
19696
- children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(RichTextToolbarIcon, { icon: "code-slash" })
19785
+ children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(RichTextToolbarIcon, { icon: "code-slash" })
19697
19786
  }
19698
19787
  ) }) : null
19699
19788
  ] }) : null,
19700
- customControls ? /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("div", { css: toolbarGroup, children: customControls }) : null
19789
+ customControls ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { css: toolbarGroup, children: customControls }) : null
19701
19790
  ] });
19702
19791
  };
19703
19792
  var RichTextToolbar_default = RichTextToolbar;
19704
19793
  var useRichTextToolbarState = ({ config }) => {
19705
19794
  var _a;
19706
- const enabledBuiltInFormats = (0, import_react113.useMemo)(() => {
19795
+ const enabledBuiltInFormats = (0, import_react115.useMemo)(() => {
19707
19796
  return richTextBuiltInFormats.filter((format) => {
19708
19797
  var _a2, _b;
19709
19798
  return (_b = (_a2 = config == null ? void 0 : config.formatting) == null ? void 0 : _a2.builtIn) == null ? void 0 : _b.includes(format.type);
19710
19799
  });
19711
19800
  }, [config]);
19712
- const enabledBuiltInElements = (0, import_react113.useMemo)(() => {
19801
+ const enabledBuiltInElements = (0, import_react115.useMemo)(() => {
19713
19802
  return richTextBuiltInElements.filter((element) => {
19714
19803
  var _a2, _b;
19715
19804
  return (_b = (_a2 = config == null ? void 0 : config.elements) == null ? void 0 : _a2.builtIn) == null ? void 0 : _b.includes(element.type);
19716
19805
  });
19717
19806
  }, [config]);
19718
- const enabledBuiltInFormatsWithIcon = (0, import_react113.useMemo)(() => {
19807
+ const enabledBuiltInFormatsWithIcon = (0, import_react115.useMemo)(() => {
19719
19808
  return enabledBuiltInFormats.filter((format) => FORMATS_WITH_ICON.has(format.type));
19720
19809
  }, [enabledBuiltInFormats]);
19721
19810
  const enabledBuiltInFormatsWithoutIcon = enabledBuiltInFormats.filter(
19722
19811
  (format) => !FORMATS_WITH_ICON.has(format.type)
19723
19812
  );
19724
- const [activeFormats, setActiveFormats] = (0, import_react113.useState)([]);
19725
- const visibleFormatsWithIcon = (0, import_react113.useMemo)(() => {
19813
+ const [activeFormats, setActiveFormats] = (0, import_react115.useState)([]);
19814
+ const visibleFormatsWithIcon = (0, import_react115.useMemo)(() => {
19726
19815
  const visibleFormats = /* @__PURE__ */ new Set();
19727
19816
  activeFormats.filter((type) => FORMATS_WITH_ICON.has(type)).forEach((type) => {
19728
19817
  visibleFormats.add(type);
@@ -19732,7 +19821,7 @@ var useRichTextToolbarState = ({ config }) => {
19732
19821
  });
19733
19822
  return richTextBuiltInFormats.filter((format) => visibleFormats.has(format.type));
19734
19823
  }, [activeFormats, enabledBuiltInFormatsWithIcon]);
19735
- const visibleFormatsWithoutIcon = (0, import_react113.useMemo)(() => {
19824
+ const visibleFormatsWithoutIcon = (0, import_react115.useMemo)(() => {
19736
19825
  const visibleFormats = /* @__PURE__ */ new Set();
19737
19826
  activeFormats.filter((type) => !FORMATS_WITH_ICON.has(type)).forEach((type) => {
19738
19827
  visibleFormats.add(type);
@@ -19742,11 +19831,11 @@ var useRichTextToolbarState = ({ config }) => {
19742
19831
  });
19743
19832
  return richTextBuiltInFormats.filter((format) => visibleFormats.has(format.type));
19744
19833
  }, [activeFormats, enabledBuiltInFormatsWithoutIcon]);
19745
- const [activeElement, setActiveElement] = (0, import_react113.useState)("paragraph");
19834
+ const [activeElement, setActiveElement] = (0, import_react115.useState)("paragraph");
19746
19835
  const enabledTextualElements = enabledBuiltInElements.filter(
19747
19836
  (element) => TEXTUAL_ELEMENTS.includes(element.type)
19748
19837
  );
19749
- const visibleTextualElements = (0, import_react113.useMemo)(() => {
19838
+ const visibleTextualElements = (0, import_react115.useMemo)(() => {
19750
19839
  if (!TEXTUAL_ELEMENTS.includes(activeElement)) {
19751
19840
  return enabledTextualElements;
19752
19841
  }
@@ -19757,24 +19846,24 @@ var useRichTextToolbarState = ({ config }) => {
19757
19846
  }
19758
19847
  );
19759
19848
  }, [activeElement, (_a = config == null ? void 0 : config.elements) == null ? void 0 : _a.builtIn, enabledTextualElements]);
19760
- const [isLink, setIsLink] = (0, import_react113.useState)(false);
19761
- const linkElementVisible = (0, import_react113.useMemo)(() => {
19849
+ const [isLink, setIsLink] = (0, import_react115.useState)(false);
19850
+ const linkElementVisible = (0, import_react115.useMemo)(() => {
19762
19851
  return enabledBuiltInElements.some((element) => element.type === "link") || isLink;
19763
19852
  }, [isLink, enabledBuiltInElements]);
19764
- const visibleLists = (0, import_react113.useMemo)(() => {
19853
+ const visibleLists = (0, import_react115.useMemo)(() => {
19765
19854
  return new Set(
19766
19855
  ["orderedList", "unorderedList"].filter(
19767
19856
  (type) => enabledBuiltInElements.some((element) => element.type === type) || activeElement === type
19768
19857
  )
19769
19858
  );
19770
19859
  }, [activeElement, enabledBuiltInElements]);
19771
- const quoteElementVisible = (0, import_react113.useMemo)(() => {
19860
+ const quoteElementVisible = (0, import_react115.useMemo)(() => {
19772
19861
  return enabledBuiltInElements.some((element) => element.type === "quote") || activeElement === "quote";
19773
19862
  }, [activeElement, enabledBuiltInElements]);
19774
- const codeElementVisible = (0, import_react113.useMemo)(() => {
19863
+ const codeElementVisible = (0, import_react115.useMemo)(() => {
19775
19864
  return enabledBuiltInElements.some((element) => element.type === "code") || activeElement === "code";
19776
19865
  }, [activeElement, enabledBuiltInElements]);
19777
- const visibleElementsWithIcons = (0, import_react113.useMemo)(() => {
19866
+ const visibleElementsWithIcons = (0, import_react115.useMemo)(() => {
19778
19867
  const visibleElements = /* @__PURE__ */ new Set();
19779
19868
  if (linkElementVisible) {
19780
19869
  visibleElements.add("link");
@@ -19811,7 +19900,7 @@ var useRichTextToolbarState = ({ config }) => {
19811
19900
  };
19812
19901
 
19813
19902
  // src/components/ParameterInputs/ParameterRichText.tsx
19814
- var import_jsx_runtime103 = require("@emotion/react/jsx-runtime");
19903
+ var import_jsx_runtime104 = require("@emotion/react/jsx-runtime");
19815
19904
  var ParameterRichText = ({
19816
19905
  label,
19817
19906
  labelLeadingIcon,
@@ -19836,7 +19925,7 @@ var ParameterRichText = ({
19836
19925
  variables,
19837
19926
  customControls
19838
19927
  }) => {
19839
- return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(
19928
+ return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(
19840
19929
  ParameterShell,
19841
19930
  {
19842
19931
  "data-testid": "parameter-input",
@@ -19850,7 +19939,7 @@ var ParameterRichText = ({
19850
19939
  captionTestId,
19851
19940
  menuItems,
19852
19941
  children: [
19853
- /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
19942
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
19854
19943
  ParameterRichTextInner,
19855
19944
  {
19856
19945
  value,
@@ -19868,23 +19957,23 @@ var ParameterRichText = ({
19868
19957
  children
19869
19958
  }
19870
19959
  ),
19871
- menuItems ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_jsx_runtime103.Fragment, { children: menuItems }) }) : null
19960
+ menuItems ? /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_jsx_runtime104.Fragment, { children: menuItems }) }) : null
19872
19961
  ]
19873
19962
  }
19874
19963
  );
19875
19964
  };
19876
- var editorWrapper = import_react114.css`
19965
+ var editorWrapper = import_react116.css`
19877
19966
  display: flex;
19878
19967
  flex-flow: column;
19879
19968
  flex-grow: 1;
19880
19969
  `;
19881
- var editorContainer = import_react114.css`
19970
+ var editorContainer = import_react116.css`
19882
19971
  display: flex;
19883
19972
  flex-flow: column;
19884
19973
  flex-grow: 1;
19885
19974
  position: relative;
19886
19975
  `;
19887
- var editorPlaceholder = import_react114.css`
19976
+ var editorPlaceholder = import_react116.css`
19888
19977
  color: var(--gray-500);
19889
19978
  font-style: italic;
19890
19979
  /* 1px is added to make sure caret is clearly visible when field is focused
@@ -19895,7 +19984,7 @@ var editorPlaceholder = import_react114.css`
19895
19984
  top: var(--spacing-xs);
19896
19985
  user-select: none;
19897
19986
  `;
19898
- var editorInput = import_react114.css`
19987
+ var editorInput = import_react116.css`
19899
19988
  background: var(--white);
19900
19989
  border: 1px solid var(--white);
19901
19990
  border-radius: var(--rounded-sm);
@@ -19979,8 +20068,8 @@ var ParameterRichTextInner = ({
19979
20068
  },
19980
20069
  editable: !readOnly
19981
20070
  };
19982
- return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_jsx_runtime103.Fragment, { children: [
19983
- /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_LexicalComposer.LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
20071
+ return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_jsx_runtime104.Fragment, { children: [
20072
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsx)("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_LexicalComposer.LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
19984
20073
  RichText,
19985
20074
  {
19986
20075
  onChange,
@@ -20017,14 +20106,14 @@ var RichText = ({
20017
20106
  variables,
20018
20107
  customControls
20019
20108
  }) => {
20020
- const editorContainerRef = (0, import_react115.useRef)(null);
20109
+ const editorContainerRef = (0, import_react117.useRef)(null);
20021
20110
  const [editor] = (0, import_LexicalComposerContext5.useLexicalComposerContext)();
20022
- (0, import_react115.useEffect)(() => {
20111
+ (0, import_react117.useEffect)(() => {
20023
20112
  if (onRichTextInit) {
20024
20113
  onRichTextInit(editor);
20025
20114
  }
20026
20115
  }, [editor, onRichTextInit]);
20027
- (0, import_react115.useEffect)(() => {
20116
+ (0, import_react117.useEffect)(() => {
20028
20117
  const removeUpdateListener = editor.registerUpdateListener(({ editorState, prevEditorState }) => {
20029
20118
  requestAnimationFrame(() => {
20030
20119
  if (!(0, import_fast_equals2.deepEqual)(editorState.toJSON(), prevEditorState.toJSON())) {
@@ -20036,20 +20125,20 @@ var RichText = ({
20036
20125
  removeUpdateListener();
20037
20126
  };
20038
20127
  }, []);
20039
- return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_jsx_runtime103.Fragment, { children: [
20040
- readOnly ? null : /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(RichTextToolbar_default, { config, customControls }),
20041
- /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("div", { css: editorContainer, ref: editorContainerRef, "data-testid": "value-container", children: [
20042
- /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
20128
+ return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_jsx_runtime104.Fragment, { children: [
20129
+ readOnly ? null : /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(RichTextToolbar_default, { config, customControls }),
20130
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)("div", { css: editorContainer, ref: editorContainerRef, "data-testid": "value-container", children: [
20131
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
20043
20132
  import_LexicalRichTextPlugin.RichTextPlugin,
20044
20133
  {
20045
- contentEditable: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_LexicalContentEditable.ContentEditable, { css: editorInput, className: editorInputClassName }),
20046
- placeholder: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
20134
+ contentEditable: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_LexicalContentEditable.ContentEditable, { css: editorInput, className: editorInputClassName }),
20135
+ placeholder: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
20047
20136
  ErrorBoundary: import_LexicalErrorBoundary.default
20048
20137
  }
20049
20138
  ),
20050
- /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_LexicalListPlugin.ListPlugin, {}),
20051
- readOnly ? null : /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_LexicalHistoryPlugin.HistoryPlugin, {}),
20052
- /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
20139
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_LexicalListPlugin.ListPlugin, {}),
20140
+ readOnly ? null : /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_LexicalHistoryPlugin.HistoryPlugin, {}),
20141
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
20053
20142
  LinkNodePlugin,
20054
20143
  {
20055
20144
  onConnectLink: onConnectLink ? onConnectLink : () => Promise.resolve(),
@@ -20059,28 +20148,28 @@ var RichText = ({
20059
20148
  } : void 0
20060
20149
  }
20061
20150
  ),
20062
- /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(ListIndentPlugin, { maxDepth: 4 }),
20063
- /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(DisableStylesPlugin, {}),
20064
- /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_LexicalMarkdownShortcutPlugin.MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS }),
20065
- /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(import_jsx_runtime103.Fragment, { children })
20151
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(ListIndentPlugin, { maxDepth: 4 }),
20152
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(DisableStylesPlugin, {}),
20153
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_LexicalMarkdownShortcutPlugin.MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS }),
20154
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_jsx_runtime104.Fragment, { children })
20066
20155
  ] })
20067
20156
  ] });
20068
20157
  };
20069
20158
 
20070
20159
  // src/components/ParameterInputs/ParameterSelect.tsx
20071
20160
  init_emotion_jsx_shim();
20072
- var import_react116 = require("react");
20073
- var import_jsx_runtime104 = require("@emotion/react/jsx-runtime");
20074
- var ParameterSelect = (0, import_react116.forwardRef)(
20161
+ var import_react118 = require("react");
20162
+ var import_jsx_runtime105 = require("@emotion/react/jsx-runtime");
20163
+ var ParameterSelect = (0, import_react118.forwardRef)(
20075
20164
  ({ defaultOption, options, ...props }, ref) => {
20076
20165
  const { shellProps, innerProps } = extractParameterProps(props);
20077
- return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
20166
+ return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
20078
20167
  }
20079
20168
  );
20080
- var ParameterSelectInner = (0, import_react116.forwardRef)(
20169
+ var ParameterSelectInner = (0, import_react118.forwardRef)(
20081
20170
  ({ defaultOption, options, ...props }, ref) => {
20082
20171
  const { id, label, hiddenLabel } = useParameterShell();
20083
- return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(
20172
+ return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(
20084
20173
  "select",
20085
20174
  {
20086
20175
  css: [input2, selectInput],
@@ -20089,10 +20178,10 @@ var ParameterSelectInner = (0, import_react116.forwardRef)(
20089
20178
  ref,
20090
20179
  ...props,
20091
20180
  children: [
20092
- defaultOption ? /* @__PURE__ */ (0, import_jsx_runtime104.jsx)("option", { value: "", children: defaultOption }) : null,
20181
+ defaultOption ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("option", { value: "", children: defaultOption }) : null,
20093
20182
  options.map((option) => {
20094
20183
  var _a;
20095
- return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
20184
+ return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
20096
20185
  })
20097
20186
  ]
20098
20187
  }
@@ -20102,15 +20191,15 @@ var ParameterSelectInner = (0, import_react116.forwardRef)(
20102
20191
 
20103
20192
  // src/components/ParameterInputs/ParameterTextarea.tsx
20104
20193
  init_emotion_jsx_shim();
20105
- var import_react117 = require("react");
20106
- var import_jsx_runtime105 = require("@emotion/react/jsx-runtime");
20107
- var ParameterTextarea = (0, import_react117.forwardRef)((props, ref) => {
20194
+ var import_react119 = require("react");
20195
+ var import_jsx_runtime106 = require("@emotion/react/jsx-runtime");
20196
+ var ParameterTextarea = (0, import_react119.forwardRef)((props, ref) => {
20108
20197
  const { shellProps, innerProps } = extractParameterProps(props);
20109
- return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(ParameterTextareaInner, { ref, ...innerProps }) });
20198
+ return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(ParameterTextareaInner, { ref, ...innerProps }) });
20110
20199
  });
20111
- var ParameterTextareaInner = (0, import_react117.forwardRef)(({ ...props }, ref) => {
20200
+ var ParameterTextareaInner = (0, import_react119.forwardRef)(({ ...props }, ref) => {
20112
20201
  const { id, label, hiddenLabel } = useParameterShell();
20113
- return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
20202
+ return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
20114
20203
  "textarea",
20115
20204
  {
20116
20205
  css: [input2, textarea2],
@@ -20124,49 +20213,49 @@ var ParameterTextareaInner = (0, import_react117.forwardRef)(({ ...props }, ref)
20124
20213
 
20125
20214
  // src/components/ParameterInputs/ParameterToggle.tsx
20126
20215
  init_emotion_jsx_shim();
20127
- var import_react118 = require("react");
20128
- var import_jsx_runtime106 = require("@emotion/react/jsx-runtime");
20129
- var ParameterToggle = (0, import_react118.forwardRef)((props, ref) => {
20216
+ var import_react120 = require("react");
20217
+ var import_jsx_runtime107 = require("@emotion/react/jsx-runtime");
20218
+ var ParameterToggle = (0, import_react120.forwardRef)((props, ref) => {
20130
20219
  const { shellProps, innerProps } = extractParameterProps(props);
20131
- return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(ParameterToggleInner, { ref, ...innerProps }) });
20220
+ return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(ParameterToggleInner, { ref, ...innerProps }) });
20132
20221
  });
20133
- var ParameterToggleInner = (0, import_react118.forwardRef)(
20222
+ var ParameterToggleInner = (0, import_react120.forwardRef)(
20134
20223
  ({ ...props }, ref) => {
20135
20224
  const { id, label } = useParameterShell();
20136
- return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("label", { css: inputToggleLabel2, children: [
20137
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
20138
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("span", { css: inlineLabel2, children: label })
20225
+ return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("label", { css: inputToggleLabel2, children: [
20226
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
20227
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("span", { css: inlineLabel2, children: label })
20139
20228
  ] });
20140
20229
  }
20141
20230
  );
20142
20231
 
20143
20232
  // src/components/ProgressList/ProgressList.tsx
20144
20233
  init_emotion_jsx_shim();
20145
- var import_react120 = require("@emotion/react");
20234
+ var import_react122 = require("@emotion/react");
20146
20235
  var import_CgCheckO3 = require("@react-icons/all-files/cg/CgCheckO");
20147
20236
  var import_CgRadioCheck2 = require("@react-icons/all-files/cg/CgRadioCheck");
20148
20237
  var import_CgRecord2 = require("@react-icons/all-files/cg/CgRecord");
20149
- var import_react121 = require("react");
20238
+ var import_react123 = require("react");
20150
20239
 
20151
20240
  // src/components/ProgressList/styles/ProgressList.styles.ts
20152
20241
  init_emotion_jsx_shim();
20153
- var import_react119 = require("@emotion/react");
20154
- var progressListStyles = import_react119.css`
20242
+ var import_react121 = require("@emotion/react");
20243
+ var progressListStyles = import_react121.css`
20155
20244
  display: flex;
20156
20245
  flex-direction: column;
20157
20246
  gap: var(--spacing-sm);
20158
20247
  list-style-type: none;
20159
20248
  `;
20160
- var progressListItemStyles = import_react119.css`
20249
+ var progressListItemStyles = import_react121.css`
20161
20250
  display: flex;
20162
20251
  gap: var(--spacing-base);
20163
20252
  align-items: center;
20164
20253
  `;
20165
20254
 
20166
20255
  // src/components/ProgressList/ProgressList.tsx
20167
- var import_jsx_runtime107 = require("@emotion/react/jsx-runtime");
20256
+ var import_jsx_runtime108 = require("@emotion/react/jsx-runtime");
20168
20257
  var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
20169
- const itemsWithStatus = (0, import_react121.useMemo)(() => {
20258
+ const itemsWithStatus = (0, import_react123.useMemo)(() => {
20170
20259
  const indexOfInProgressItem = items.findIndex(({ id }) => id === inProgressId);
20171
20260
  return items.map((item, index) => {
20172
20261
  let status = "queued";
@@ -20178,8 +20267,8 @@ var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
20178
20267
  return { ...item, status };
20179
20268
  });
20180
20269
  }, [items, inProgressId]);
20181
- return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
20182
- return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
20270
+ return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
20271
+ return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
20183
20272
  ProgressListItem,
20184
20273
  {
20185
20274
  status,
@@ -20199,7 +20288,7 @@ var ProgressListItem = ({
20199
20288
  errorLevel = "danger",
20200
20289
  autoEllipsis = false
20201
20290
  }) => {
20202
- const icon = (0, import_react121.useMemo)(() => {
20291
+ const icon = (0, import_react123.useMemo)(() => {
20203
20292
  if (error) {
20204
20293
  return warningIcon;
20205
20294
  }
@@ -20210,14 +20299,14 @@ var ProgressListItem = ({
20210
20299
  };
20211
20300
  return iconPerStatus[status];
20212
20301
  }, [status, error]);
20213
- const statusStyles = (0, import_react121.useMemo)(() => {
20302
+ const statusStyles = (0, import_react123.useMemo)(() => {
20214
20303
  if (error) {
20215
- return errorLevel === "caution" ? import_react120.css`
20304
+ return errorLevel === "caution" ? import_react122.css`
20216
20305
  color: rgb(161, 98, 7);
20217
20306
  & svg {
20218
20307
  color: rgb(250, 204, 21);
20219
20308
  }
20220
- ` : import_react120.css`
20309
+ ` : import_react122.css`
20221
20310
  color: rgb(185, 28, 28);
20222
20311
  & svg {
20223
20312
  color: var(--brand-primary-2);
@@ -20225,37 +20314,37 @@ var ProgressListItem = ({
20225
20314
  `;
20226
20315
  }
20227
20316
  const colorPerStatus = {
20228
- completed: import_react120.css`
20317
+ completed: import_react122.css`
20229
20318
  opacity: 0.75;
20230
20319
  `,
20231
- inProgress: import_react120.css`
20320
+ inProgress: import_react122.css`
20232
20321
  -webkit-text-stroke-width: thin;
20233
20322
  `,
20234
- queued: import_react120.css`
20323
+ queued: import_react122.css`
20235
20324
  opacity: 0.5;
20236
20325
  `
20237
20326
  };
20238
20327
  return colorPerStatus[status];
20239
20328
  }, [status, error, errorLevel]);
20240
- return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("li", { css: [progressListItemStyles, statusStyles], children: [
20241
- /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Icon, { icon, size: 20, iconColor: "currentColor" }) }) }),
20242
- /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { children: [
20329
+ return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)("li", { css: [progressListItemStyles, statusStyles], children: [
20330
+ /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Icon, { icon, size: 20, iconColor: "currentColor" }) }) }),
20331
+ /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)("div", { children: [
20243
20332
  children,
20244
- /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
20333
+ /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
20245
20334
  ] })
20246
20335
  ] });
20247
20336
  };
20248
20337
 
20249
20338
  // src/components/SegmentedControl/SegmentedControl.tsx
20250
20339
  init_emotion_jsx_shim();
20251
- var import_react123 = require("@emotion/react");
20340
+ var import_react125 = require("@emotion/react");
20252
20341
  var import_CgCheck5 = require("@react-icons/all-files/cg/CgCheck");
20253
- var import_react124 = require("react");
20342
+ var import_react126 = require("react");
20254
20343
 
20255
20344
  // src/components/SegmentedControl/SegmentedControl.styles.ts
20256
20345
  init_emotion_jsx_shim();
20257
- var import_react122 = require("@emotion/react");
20258
- var segmentedControlStyles = import_react122.css`
20346
+ var import_react124 = require("@emotion/react");
20347
+ var segmentedControlStyles = import_react124.css`
20259
20348
  --segmented-control-rounded-value: var(--rounded-base);
20260
20349
  --segmented-control-border-width: 1px;
20261
20350
  --segmented-control-selected-color: var(--brand-secondary-3);
@@ -20274,14 +20363,14 @@ var segmentedControlStyles = import_react122.css`
20274
20363
  border-radius: calc(var(--segmented-control-rounded-value) + var(--segmented-control-border-width));
20275
20364
  font-size: var(--fs-xs);
20276
20365
  `;
20277
- var segmentedControlVerticalStyles = import_react122.css`
20366
+ var segmentedControlVerticalStyles = import_react124.css`
20278
20367
  flex-direction: column;
20279
20368
  --segmented-control-first-border-radius: var(--segmented-control-rounded-value)
20280
20369
  var(--segmented-control-rounded-value) 0 0;
20281
20370
  --segmented-control-last-border-radius: 0 0 var(--segmented-control-rounded-value)
20282
20371
  var(--segmented-control-rounded-value);
20283
20372
  `;
20284
- var segmentedControlItemStyles = import_react122.css`
20373
+ var segmentedControlItemStyles = import_react124.css`
20285
20374
  &:first-of-type label {
20286
20375
  border-radius: var(--segmented-control-first-border-radius);
20287
20376
  }
@@ -20289,10 +20378,10 @@ var segmentedControlItemStyles = import_react122.css`
20289
20378
  border-radius: var(--segmented-control-last-border-radius);
20290
20379
  }
20291
20380
  `;
20292
- var segmentedControlInputStyles = import_react122.css`
20381
+ var segmentedControlInputStyles = import_react124.css`
20293
20382
  ${accessibleHidden}
20294
20383
  `;
20295
- var segmentedControlLabelStyles = (checked, disabled) => import_react122.css`
20384
+ var segmentedControlLabelStyles = (checked, disabled) => import_react124.css`
20296
20385
  position: relative;
20297
20386
  display: flex;
20298
20387
  align-items: center;
@@ -20359,23 +20448,23 @@ var segmentedControlLabelStyles = (checked, disabled) => import_react122.css`
20359
20448
  `}
20360
20449
  }
20361
20450
  `;
20362
- var segmentedControlLabelIconOnlyStyles = import_react122.css`
20451
+ var segmentedControlLabelIconOnlyStyles = import_react124.css`
20363
20452
  padding-inline: 0.5em;
20364
20453
  `;
20365
- var segmentedControlLabelCheckStyles = import_react122.css`
20454
+ var segmentedControlLabelCheckStyles = import_react124.css`
20366
20455
  opacity: 0.5;
20367
20456
  `;
20368
- var segmentedControlLabelContentStyles = import_react122.css`
20457
+ var segmentedControlLabelContentStyles = import_react124.css`
20369
20458
  display: flex;
20370
20459
  align-items: center;
20371
20460
  justify-content: center;
20372
20461
  gap: var(--spacing-sm);
20373
20462
  height: 100%;
20374
20463
  `;
20375
- var segmentedControlLabelTextStyles = import_react122.css``;
20464
+ var segmentedControlLabelTextStyles = import_react124.css``;
20376
20465
 
20377
20466
  // src/components/SegmentedControl/SegmentedControl.tsx
20378
- var import_jsx_runtime108 = require("@emotion/react/jsx-runtime");
20467
+ var import_jsx_runtime109 = require("@emotion/react/jsx-runtime");
20379
20468
  var SegmentedControl = ({
20380
20469
  name,
20381
20470
  options,
@@ -20387,7 +20476,7 @@ var SegmentedControl = ({
20387
20476
  size = "md",
20388
20477
  ...props
20389
20478
  }) => {
20390
- const onOptionChange = (0, import_react124.useCallback)(
20479
+ const onOptionChange = (0, import_react126.useCallback)(
20391
20480
  (event) => {
20392
20481
  if (event.target.checked) {
20393
20482
  onChange == null ? void 0 : onChange(options[parseInt(event.target.value)].value);
@@ -20395,18 +20484,18 @@ var SegmentedControl = ({
20395
20484
  },
20396
20485
  [options, onChange]
20397
20486
  );
20398
- const sizeStyles = (0, import_react124.useMemo)(() => {
20487
+ const sizeStyles = (0, import_react126.useMemo)(() => {
20399
20488
  const map = {
20400
- sm: (0, import_react123.css)({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
20401
- md: (0, import_react123.css)({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
20402
- lg: (0, import_react123.css)({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
20489
+ sm: (0, import_react125.css)({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
20490
+ md: (0, import_react125.css)({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
20491
+ lg: (0, import_react125.css)({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
20403
20492
  };
20404
20493
  return map[size];
20405
20494
  }, [size]);
20406
- const isIconOnly = (0, import_react124.useMemo)(() => {
20495
+ const isIconOnly = (0, import_react126.useMemo)(() => {
20407
20496
  return options.every((option) => option.icon && !option.label);
20408
20497
  }, [options]);
20409
- return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
20498
+ return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
20410
20499
  "div",
20411
20500
  {
20412
20501
  css: [segmentedControlStyles, orientation === "vertical" ? segmentedControlVerticalStyles : void 0],
@@ -20414,11 +20503,11 @@ var SegmentedControl = ({
20414
20503
  children: options.map((option, index) => {
20415
20504
  const text = option.label ? option.label : option.icon ? null : String(option.value);
20416
20505
  const isDisabled = disabled || option.disabled;
20417
- return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
20506
+ return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
20418
20507
  Tooltip,
20419
20508
  {
20420
20509
  title: isDisabled || !option.tooltip ? "" : option.tooltip,
20421
- children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { css: segmentedControlItemStyles, "data-testid": "container-segmented-control", children: /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(
20510
+ children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)("div", { css: segmentedControlItemStyles, "data-testid": "container-segmented-control", children: /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(
20422
20511
  "label",
20423
20512
  {
20424
20513
  css: [
@@ -20427,7 +20516,7 @@ var SegmentedControl = ({
20427
20516
  isIconOnly ? segmentedControlLabelIconOnlyStyles : void 0
20428
20517
  ],
20429
20518
  children: [
20430
- /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
20519
+ /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
20431
20520
  "input",
20432
20521
  {
20433
20522
  css: segmentedControlInputStyles,
@@ -20439,10 +20528,10 @@ var SegmentedControl = ({
20439
20528
  disabled: isDisabled
20440
20529
  }
20441
20530
  ),
20442
- option.value !== value || noCheckmark ? null : /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_CgCheck5.CgCheck, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
20443
- /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)("span", { css: segmentedControlLabelContentStyles, children: [
20444
- !option.icon ? null : /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Icon, { icon: option.icon, size: "1.5em", iconColor: "currentColor" }),
20445
- !text ? null : /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("span", { css: segmentedControlLabelTextStyles, children: text })
20531
+ option.value !== value || noCheckmark ? null : /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_CgCheck5.CgCheck, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
20532
+ /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)("span", { css: segmentedControlLabelContentStyles, children: [
20533
+ !option.icon ? null : /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Icon, { icon: option.icon, size: "1.5em", iconColor: "currentColor" }),
20534
+ !text ? null : /* @__PURE__ */ (0, import_jsx_runtime109.jsx)("span", { css: segmentedControlLabelTextStyles, children: text })
20446
20535
  ] })
20447
20536
  ]
20448
20537
  }
@@ -20460,18 +20549,18 @@ init_emotion_jsx_shim();
20460
20549
 
20461
20550
  // src/components/Skeleton/Skeleton.styles.ts
20462
20551
  init_emotion_jsx_shim();
20463
- var import_react125 = require("@emotion/react");
20464
- var lightFadingOut = import_react125.keyframes`
20552
+ var import_react127 = require("@emotion/react");
20553
+ var lightFadingOut = import_react127.keyframes`
20465
20554
  from { opacity: 0.1; }
20466
20555
  to { opacity: 0.025; }
20467
20556
  `;
20468
- var skeletonStyles = import_react125.css`
20557
+ var skeletonStyles = import_react127.css`
20469
20558
  animation: ${lightFadingOut} 1s ease-out infinite alternate;
20470
20559
  background-color: var(--gray-900);
20471
20560
  `;
20472
20561
 
20473
20562
  // src/components/Skeleton/Skeleton.tsx
20474
- var import_jsx_runtime109 = require("@emotion/react/jsx-runtime");
20563
+ var import_jsx_runtime110 = require("@emotion/react/jsx-runtime");
20475
20564
  var Skeleton = ({
20476
20565
  width = "100%",
20477
20566
  height = "1.25rem",
@@ -20479,7 +20568,7 @@ var Skeleton = ({
20479
20568
  circle = false,
20480
20569
  children,
20481
20570
  ...otherProps
20482
- }) => /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
20571
+ }) => /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
20483
20572
  "div",
20484
20573
  {
20485
20574
  css: [
@@ -20504,8 +20593,8 @@ var React23 = __toESM(require("react"));
20504
20593
 
20505
20594
  // src/components/Switch/Switch.styles.ts
20506
20595
  init_emotion_jsx_shim();
20507
- var import_react126 = require("@emotion/react");
20508
- var SwitchInputContainer = import_react126.css`
20596
+ var import_react128 = require("@emotion/react");
20597
+ var SwitchInputContainer = import_react128.css`
20509
20598
  cursor: pointer;
20510
20599
  display: inline-block;
20511
20600
  position: relative;
@@ -20514,7 +20603,7 @@ var SwitchInputContainer = import_react126.css`
20514
20603
  vertical-align: middle;
20515
20604
  user-select: none;
20516
20605
  `;
20517
- var SwitchInput = import_react126.css`
20606
+ var SwitchInput = import_react128.css`
20518
20607
  appearance: none;
20519
20608
  border-radius: var(--rounded-full);
20520
20609
  background-color: var(--white);
@@ -20552,7 +20641,7 @@ var SwitchInput = import_react126.css`
20552
20641
  cursor: not-allowed;
20553
20642
  }
20554
20643
  `;
20555
- var SwitchInputDisabled = import_react126.css`
20644
+ var SwitchInputDisabled = import_react128.css`
20556
20645
  opacity: var(--opacity-50);
20557
20646
  cursor: not-allowed;
20558
20647
 
@@ -20560,7 +20649,7 @@ var SwitchInputDisabled = import_react126.css`
20560
20649
  cursor: not-allowed;
20561
20650
  }
20562
20651
  `;
20563
- var SwitchInputLabel = import_react126.css`
20652
+ var SwitchInputLabel = import_react128.css`
20564
20653
  align-items: center;
20565
20654
  color: var(--brand-secondary-1);
20566
20655
  display: inline-flex;
@@ -20582,26 +20671,26 @@ var SwitchInputLabel = import_react126.css`
20582
20671
  top: 0;
20583
20672
  }
20584
20673
  `;
20585
- var SwitchText = import_react126.css`
20674
+ var SwitchText = import_react128.css`
20586
20675
  color: var(--gray-500);
20587
20676
  font-size: var(--fs-sm);
20588
20677
  padding-inline: var(--spacing-2xl) 0;
20589
20678
  `;
20590
20679
 
20591
20680
  // src/components/Switch/Switch.tsx
20592
- var import_jsx_runtime110 = require("@emotion/react/jsx-runtime");
20681
+ var import_jsx_runtime111 = require("@emotion/react/jsx-runtime");
20593
20682
  var Switch = React23.forwardRef(
20594
20683
  ({ label, infoText, toggleText, children, ...inputProps }, ref) => {
20595
20684
  let additionalText = infoText;
20596
20685
  if (infoText && toggleText) {
20597
20686
  additionalText = inputProps.checked ? toggleText : infoText;
20598
20687
  }
20599
- return /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_jsx_runtime110.Fragment, { children: [
20600
- /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
20601
- /* @__PURE__ */ (0, import_jsx_runtime110.jsx)("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
20602
- /* @__PURE__ */ (0, import_jsx_runtime110.jsx)("span", { css: SwitchInputLabel, children: label })
20688
+ return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_jsx_runtime111.Fragment, { children: [
20689
+ /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
20690
+ /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
20691
+ /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("span", { css: SwitchInputLabel, children: label })
20603
20692
  ] }),
20604
- additionalText ? /* @__PURE__ */ (0, import_jsx_runtime110.jsx)("p", { css: SwitchText, children: additionalText }) : null,
20693
+ additionalText ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("p", { css: SwitchText, children: additionalText }) : null,
20605
20694
  children
20606
20695
  ] });
20607
20696
  }
@@ -20613,8 +20702,8 @@ var React24 = __toESM(require("react"));
20613
20702
 
20614
20703
  // src/components/Table/Table.styles.ts
20615
20704
  init_emotion_jsx_shim();
20616
- var import_react127 = require("@emotion/react");
20617
- var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => import_react127.css`
20705
+ var import_react129 = require("@emotion/react");
20706
+ var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => import_react129.css`
20618
20707
  border-bottom: 1px solid var(--gray-400);
20619
20708
  border-collapse: collapse;
20620
20709
  min-width: 100%;
@@ -20625,67 +20714,67 @@ var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => impor
20625
20714
  padding: ${cellPadding};
20626
20715
  }
20627
20716
  `;
20628
- var tableHead = import_react127.css`
20717
+ var tableHead = import_react129.css`
20629
20718
  background: var(--gray-100);
20630
20719
  color: var(--brand-secondary-1);
20631
20720
  text-align: left;
20632
20721
  `;
20633
- var tableRow = import_react127.css`
20722
+ var tableRow = import_react129.css`
20634
20723
  border-bottom: 1px solid var(--gray-200);
20635
20724
  `;
20636
- var tableCellHead = import_react127.css`
20725
+ var tableCellHead = import_react129.css`
20637
20726
  font-size: var(--fs-sm);
20638
20727
  text-transform: uppercase;
20639
20728
  font-weight: var(--fw-bold);
20640
20729
  `;
20641
20730
 
20642
20731
  // src/components/Table/Table.tsx
20643
- var import_jsx_runtime111 = require("@emotion/react/jsx-runtime");
20732
+ var import_jsx_runtime112 = require("@emotion/react/jsx-runtime");
20644
20733
  var Table = React24.forwardRef(
20645
20734
  ({ children, cellPadding, ...otherProps }, ref) => {
20646
- return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("table", { ref, css: table({ cellPadding }), ...otherProps, children });
20735
+ return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("table", { ref, css: table({ cellPadding }), ...otherProps, children });
20647
20736
  }
20648
20737
  );
20649
20738
  var TableHead = React24.forwardRef(
20650
20739
  ({ children, ...otherProps }, ref) => {
20651
- return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("thead", { ref, css: tableHead, ...otherProps, children });
20740
+ return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("thead", { ref, css: tableHead, ...otherProps, children });
20652
20741
  }
20653
20742
  );
20654
20743
  var TableBody = React24.forwardRef(
20655
20744
  ({ children, ...otherProps }, ref) => {
20656
- return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("tbody", { ref, ...otherProps, children });
20745
+ return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("tbody", { ref, ...otherProps, children });
20657
20746
  }
20658
20747
  );
20659
20748
  var TableFoot = React24.forwardRef(
20660
20749
  ({ children, ...otherProps }, ref) => {
20661
- return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("tfoot", { ref, ...otherProps, children });
20750
+ return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("tfoot", { ref, ...otherProps, children });
20662
20751
  }
20663
20752
  );
20664
20753
  var TableRow = React24.forwardRef(
20665
20754
  ({ children, ...otherProps }, ref) => {
20666
- return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("tr", { ref, css: tableRow, ...otherProps, children });
20755
+ return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("tr", { ref, css: tableRow, ...otherProps, children });
20667
20756
  }
20668
20757
  );
20669
20758
  var TableCellHead = React24.forwardRef(
20670
20759
  ({ children, ...otherProps }, ref) => {
20671
- return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("th", { ref, css: tableCellHead, ...otherProps, children });
20760
+ return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("th", { ref, css: tableCellHead, ...otherProps, children });
20672
20761
  }
20673
20762
  );
20674
20763
  var TableCellData = React24.forwardRef(
20675
20764
  ({ children, ...otherProps }, ref) => {
20676
- return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("td", { ref, ...otherProps, children });
20765
+ return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("td", { ref, ...otherProps, children });
20677
20766
  }
20678
20767
  );
20679
20768
 
20680
20769
  // src/components/Tabs/Tabs.tsx
20681
20770
  init_emotion_jsx_shim();
20682
- var import_react129 = require("react");
20771
+ var import_react131 = require("react");
20683
20772
  var import_Tab = require("reakit/Tab");
20684
20773
 
20685
20774
  // src/components/Tabs/Tabs.styles.ts
20686
20775
  init_emotion_jsx_shim();
20687
- var import_react128 = require("@emotion/react");
20688
- var tabButtonStyles = import_react128.css`
20776
+ var import_react130 = require("@emotion/react");
20777
+ var tabButtonStyles = import_react130.css`
20689
20778
  align-items: center;
20690
20779
  border: 0;
20691
20780
  height: 2.5rem;
@@ -20702,30 +20791,30 @@ var tabButtonStyles = import_react128.css`
20702
20791
  box-shadow: inset 0 -2px 0 var(--brand-secondary-3);
20703
20792
  }
20704
20793
  `;
20705
- var tabButtonGroupStyles = import_react128.css`
20794
+ var tabButtonGroupStyles = import_react130.css`
20706
20795
  display: flex;
20707
20796
  gap: var(--spacing-base);
20708
20797
  border-bottom: 1px solid var(--gray-300);
20709
20798
  `;
20710
20799
 
20711
20800
  // src/components/Tabs/Tabs.tsx
20712
- var import_jsx_runtime112 = require("@emotion/react/jsx-runtime");
20713
- var CurrentTabContext = (0, import_react129.createContext)(null);
20801
+ var import_jsx_runtime113 = require("@emotion/react/jsx-runtime");
20802
+ var CurrentTabContext = (0, import_react131.createContext)(null);
20714
20803
  var useCurrentTab = () => {
20715
- const context = (0, import_react129.useContext)(CurrentTabContext);
20804
+ const context = (0, import_react131.useContext)(CurrentTabContext);
20716
20805
  if (!context) {
20717
20806
  throw new Error("This component can only be used inside <Tabs>");
20718
20807
  }
20719
20808
  return context;
20720
20809
  };
20721
20810
  var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...props }) => {
20722
- const selected = (0, import_react129.useMemo)(() => {
20811
+ const selected = (0, import_react131.useMemo)(() => {
20723
20812
  if (selectedId)
20724
20813
  return selectedId;
20725
20814
  return useHashForState && typeof window !== "undefined" && window.location.hash ? window.location.hash.substring(1) : void 0;
20726
20815
  }, [selectedId, useHashForState]);
20727
20816
  const tab = (0, import_Tab.useTabState)({ ...props, selectedId: selected });
20728
- (0, import_react129.useEffect)(() => {
20817
+ (0, import_react131.useEffect)(() => {
20729
20818
  var _a;
20730
20819
  const selectedValueWithoutNull = (_a = tab.selectedId) != null ? _a : void 0;
20731
20820
  onSelectedIdChange == null ? void 0 : onSelectedIdChange(selectedValueWithoutNull);
@@ -20733,24 +20822,24 @@ var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...prop
20733
20822
  window.location.hash = selectedValueWithoutNull != null ? selectedValueWithoutNull : "";
20734
20823
  }
20735
20824
  }, [tab.selectedId, onSelectedIdChange, useHashForState]);
20736
- (0, import_react129.useEffect)(() => {
20825
+ (0, import_react131.useEffect)(() => {
20737
20826
  if (selected && selected !== tab.selectedId) {
20738
20827
  tab.setSelectedId(selected);
20739
20828
  }
20740
20829
  }, [selected]);
20741
- return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(CurrentTabContext.Provider, { value: tab, children });
20830
+ return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(CurrentTabContext.Provider, { value: tab, children });
20742
20831
  };
20743
20832
  var TabButtonGroup = ({ children, ...props }) => {
20744
20833
  const currentTab = useCurrentTab();
20745
- return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_Tab.TabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
20834
+ return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_Tab.TabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
20746
20835
  };
20747
20836
  var TabButton = ({ children, id, ...props }) => {
20748
20837
  const currentTab = useCurrentTab();
20749
- return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_Tab.Tab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
20838
+ return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_Tab.Tab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
20750
20839
  };
20751
20840
  var TabContent = ({ children, ...props }) => {
20752
20841
  const currentTab = useCurrentTab();
20753
- return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_Tab.TabPanel, { ...props, ...currentTab, children });
20842
+ return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_Tab.TabPanel, { ...props, ...currentTab, children });
20754
20843
  };
20755
20844
 
20756
20845
  // src/components/Validation/StatusBullet.tsx
@@ -20758,8 +20847,8 @@ init_emotion_jsx_shim();
20758
20847
 
20759
20848
  // src/components/Validation/StatusBullet.styles.ts
20760
20849
  init_emotion_jsx_shim();
20761
- var import_react130 = require("@emotion/react");
20762
- var StatusBulletContainer = import_react130.css`
20850
+ var import_react132 = require("@emotion/react");
20851
+ var StatusBulletContainer = import_react132.css`
20763
20852
  align-items: center;
20764
20853
  align-self: center;
20765
20854
  color: var(--gray-500);
@@ -20776,33 +20865,33 @@ var StatusBulletContainer = import_react130.css`
20776
20865
  display: block;
20777
20866
  }
20778
20867
  `;
20779
- var StatusBulletBase = import_react130.css`
20868
+ var StatusBulletBase = import_react132.css`
20780
20869
  font-size: var(--fs-sm);
20781
20870
  &:before {
20782
20871
  width: var(--fs-xs);
20783
20872
  height: var(--fs-xs);
20784
20873
  }
20785
20874
  `;
20786
- var StatusBulletSmall = import_react130.css`
20875
+ var StatusBulletSmall = import_react132.css`
20787
20876
  font-size: var(--fs-xs);
20788
20877
  &:before {
20789
20878
  width: var(--fs-xxs);
20790
20879
  height: var(--fs-xxs);
20791
20880
  }
20792
20881
  `;
20793
- var StatusDraft = import_react130.css`
20882
+ var StatusDraft = import_react132.css`
20794
20883
  &:before {
20795
20884
  background: var(--white);
20796
20885
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
20797
20886
  }
20798
20887
  `;
20799
- var StatusModified = import_react130.css`
20888
+ var StatusModified = import_react132.css`
20800
20889
  &:before {
20801
20890
  background: linear-gradient(to right, var(--white) 50%, var(--primary-action-default) 50% 100%);
20802
20891
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
20803
20892
  }
20804
20893
  `;
20805
- var StatusError = import_react130.css`
20894
+ var StatusError = import_react132.css`
20806
20895
  color: var(--error);
20807
20896
  &:before {
20808
20897
  /* TODO: replace this with an svg icon */
@@ -20815,19 +20904,19 @@ var StatusError = import_react130.css`
20815
20904
  );
20816
20905
  }
20817
20906
  `;
20818
- var StatusPublished = import_react130.css`
20907
+ var StatusPublished = import_react132.css`
20819
20908
  &:before {
20820
20909
  background: var(--primary-action-default);
20821
20910
  }
20822
20911
  `;
20823
- var StatusOrphan = import_react130.css`
20912
+ var StatusOrphan = import_react132.css`
20824
20913
  &:before {
20825
20914
  background: var(--brand-secondary-5);
20826
20915
  }
20827
20916
  `;
20828
20917
 
20829
20918
  // src/components/Validation/StatusBullet.tsx
20830
- var import_jsx_runtime113 = require("@emotion/react/jsx-runtime");
20919
+ var import_jsx_runtime114 = require("@emotion/react/jsx-runtime");
20831
20920
  var StatusBullet = ({
20832
20921
  status,
20833
20922
  hideText = false,
@@ -20845,7 +20934,7 @@ var StatusBullet = ({
20845
20934
  Previous: StatusDraft
20846
20935
  };
20847
20936
  const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
20848
- return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
20937
+ return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
20849
20938
  "span",
20850
20939
  {
20851
20940
  role: "status",
@@ -20896,6 +20985,7 @@ var StatusBullet = ({
20896
20985
  Icon,
20897
20986
  IconButton,
20898
20987
  IconsProvider,
20988
+ Image,
20899
20989
  ImageBroken,
20900
20990
  InfoMessage,
20901
20991
  InlineAlert,