@uniformdev/design-system 19.95.0 → 19.96.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
@@ -1481,6 +1481,7 @@ __export(src_exports, {
1481
1481
  Tile: () => Tile2,
1482
1482
  TileContainer: () => TileContainer,
1483
1483
  TileText: () => TileText2,
1484
+ ToastContainer: () => ToastContainer,
1484
1485
  Tooltip: () => Tooltip,
1485
1486
  TwoColumnLayout: () => TwoColumnLayout,
1486
1487
  UniformBadge: () => UniformBadge,
@@ -1554,6 +1555,7 @@ __export(src_exports, {
1554
1555
  structurePanelIcon: () => structurePanelIcon,
1555
1556
  supports: () => supports,
1556
1557
  textInput: () => textInput,
1558
+ toast: () => import_react_toastify.toast,
1557
1559
  useBreakpoint: () => useBreakpoint,
1558
1560
  useCloseCurrentDrawer: () => useCloseCurrentDrawer,
1559
1561
  useCurrentDrawer: () => useCurrentDrawer,
@@ -15687,21 +15689,8 @@ var InfoMessage = ({ message, testId, ...props }) => {
15687
15689
  init_emotion_jsx_shim();
15688
15690
  var React16 = __toESM(require("react"));
15689
15691
 
15690
- // src/components/Input/Label.tsx
15692
+ // src/components/Input/FieldMessage.tsx
15691
15693
  init_emotion_jsx_shim();
15692
- var import_jsx_runtime54 = require("@emotion/react/jsx-runtime");
15693
- var Label = ({ children, className, testId, ...props }) => {
15694
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
15695
- "label",
15696
- {
15697
- css: [labelText, typeof className === "object" ? className : void 0],
15698
- className: typeof className === "string" ? className : "",
15699
- "data-testid": testId,
15700
- ...props,
15701
- children
15702
- }
15703
- );
15704
- };
15705
15694
 
15706
15695
  // src/components/Input/WarningMessage.tsx
15707
15696
  init_emotion_jsx_shim();
@@ -15721,16 +15710,57 @@ var WarningIcon = import_react68.css`
15721
15710
  `;
15722
15711
 
15723
15712
  // src/components/Input/WarningMessage.tsx
15724
- var import_jsx_runtime55 = require("@emotion/react/jsx-runtime");
15713
+ var import_jsx_runtime54 = require("@emotion/react/jsx-runtime");
15725
15714
  var WarningMessage = ({ message, testId, ...props }) => {
15726
- return message ? /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("span", { role: "status", css: WarningText, "data-testid": testId != null ? testId : "message-text", ...props, children: [
15727
- /* @__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" }) }),
15715
+ return message ? /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("span", { role: "status", css: WarningText, "data-testid": testId != null ? testId : "message-text", ...props, children: [
15716
+ /* @__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" }) }),
15728
15717
  message
15729
15718
  ] }) : null;
15730
15719
  };
15731
15720
 
15732
- // src/components/Input/Input.tsx
15721
+ // src/components/Input/FieldMessage.tsx
15722
+ var import_jsx_runtime55 = require("@emotion/react/jsx-runtime");
15723
+ var FieldMessage = ({
15724
+ helperMessage,
15725
+ warningMessage,
15726
+ errorMessage,
15727
+ infoMessage,
15728
+ errorTestId,
15729
+ helperMessageTestId
15730
+ }) => {
15731
+ if (errorMessage) {
15732
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ErrorMessage, { message: errorMessage, testId: errorTestId });
15733
+ }
15734
+ if (warningMessage) {
15735
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(WarningMessage, { message: warningMessage });
15736
+ }
15737
+ if (infoMessage) {
15738
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(InfoMessage, { message: infoMessage });
15739
+ }
15740
+ if (helperMessage) {
15741
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Caption, { testId: helperMessageTestId, children: helperMessage });
15742
+ }
15743
+ return null;
15744
+ };
15745
+
15746
+ // src/components/Input/Label.tsx
15747
+ init_emotion_jsx_shim();
15733
15748
  var import_jsx_runtime56 = require("@emotion/react/jsx-runtime");
15749
+ var Label = ({ children, className, testId, ...props }) => {
15750
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
15751
+ "label",
15752
+ {
15753
+ css: [labelText, typeof className === "object" ? className : void 0],
15754
+ className: typeof className === "string" ? className : "",
15755
+ "data-testid": testId,
15756
+ ...props,
15757
+ children
15758
+ }
15759
+ );
15760
+ };
15761
+
15762
+ // src/components/Input/Input.tsx
15763
+ var import_jsx_runtime57 = require("@emotion/react/jsx-runtime");
15734
15764
  var Input = React16.forwardRef(
15735
15765
  ({
15736
15766
  label,
@@ -15750,13 +15780,13 @@ var Input = React16.forwardRef(
15750
15780
  classNameLabel,
15751
15781
  ...props
15752
15782
  }, ref) => {
15753
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
15783
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
15754
15784
  "div",
15755
15785
  {
15756
15786
  css: [inputContainer, typeof classNameRoot === "object" ? classNameRoot : void 0],
15757
15787
  "data-testid": containerTestId ? containerTestId : "input-container",
15758
15788
  children: [
15759
- showLabel ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
15789
+ showLabel ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
15760
15790
  Label,
15761
15791
  {
15762
15792
  htmlFor: id,
@@ -15766,13 +15796,13 @@ var Input = React16.forwardRef(
15766
15796
  children: label
15767
15797
  }
15768
15798
  ) : null,
15769
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
15799
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
15770
15800
  "div",
15771
15801
  {
15772
15802
  css: [inputContainer, typeof classNameContainer === "object" ? classNameContainer : void 0],
15773
15803
  className: typeof classNameContainer === "string" ? classNameContainer : "",
15774
15804
  children: [
15775
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
15805
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
15776
15806
  "input",
15777
15807
  {
15778
15808
  id,
@@ -15788,13 +15818,20 @@ var Input = React16.forwardRef(
15788
15818
  ref
15789
15819
  }
15790
15820
  ),
15791
- icon ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { css: inputIcon, children: icon }) : null
15821
+ icon ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { css: inputIcon, children: icon }) : null
15792
15822
  ]
15793
15823
  }
15794
15824
  ),
15795
- caption ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Caption, { testId: captionTestId, children: caption }) : null,
15796
- errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(ErrorMessage, { message: errorMessage, testId: errorTestId }) : null,
15797
- warningMessage && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(WarningMessage, { message: warningMessage }) : null
15825
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
15826
+ FieldMessage,
15827
+ {
15828
+ helperMessage: caption,
15829
+ errorMessage,
15830
+ warningMessage,
15831
+ helperMessageTestId: captionTestId,
15832
+ errorTestId
15833
+ }
15834
+ )
15798
15835
  ]
15799
15836
  }
15800
15837
  );
@@ -15804,10 +15841,10 @@ var Input = React16.forwardRef(
15804
15841
  // src/components/Input/InputComboBox.tsx
15805
15842
  init_emotion_jsx_shim();
15806
15843
  var import_react_select = __toESM(require("react-select"));
15807
- var import_jsx_runtime57 = require("@emotion/react/jsx-runtime");
15844
+ var import_jsx_runtime58 = require("@emotion/react/jsx-runtime");
15808
15845
  function InputComboBox(props) {
15809
15846
  var _a;
15810
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
15847
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
15811
15848
  import_react_select.default,
15812
15849
  {
15813
15850
  ...props,
@@ -16009,7 +16046,7 @@ var inlineSelectMenuClosed = import_react69.css`
16009
16046
  `;
16010
16047
 
16011
16048
  // src/components/Input/InputInlineSelect.tsx
16012
- var import_jsx_runtime58 = require("@emotion/react/jsx-runtime");
16049
+ var import_jsx_runtime59 = require("@emotion/react/jsx-runtime");
16013
16050
  var InputInlineSelect = ({
16014
16051
  classNameContainer,
16015
16052
  options,
@@ -16023,7 +16060,7 @@ var InputInlineSelect = ({
16023
16060
  const divRef = (0, import_react71.useRef)(null);
16024
16061
  useOutsideClick(divRef, () => setMenuVisible(false));
16025
16062
  const selected = options.find((option) => option.value === value);
16026
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
16063
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
16027
16064
  "div",
16028
16065
  {
16029
16066
  ref: divRef,
@@ -16033,7 +16070,7 @@ var InputInlineSelect = ({
16033
16070
  `,
16034
16071
  className: typeof classNameContainer === "string" ? classNameContainer : "",
16035
16072
  children: [
16036
- /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
16073
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
16037
16074
  "button",
16038
16075
  {
16039
16076
  type: "button",
@@ -16047,18 +16084,18 @@ var InputInlineSelect = ({
16047
16084
  disabled: disabled2,
16048
16085
  ...props,
16049
16086
  children: [
16050
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { children: (_a = selected == null ? void 0 : selected.label) != null ? _a : value }),
16051
- disabled2 ? null : /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { icon: import_CgChevronDown3.CgChevronDown, iconColor: "currentColor", size: 24 })
16087
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { children: (_a = selected == null ? void 0 : selected.label) != null ? _a : value }),
16088
+ disabled2 ? null : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Icon, { icon: import_CgChevronDown3.CgChevronDown, iconColor: "currentColor", size: 24 })
16052
16089
  ]
16053
16090
  }
16054
16091
  ),
16055
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
16092
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
16056
16093
  "div",
16057
16094
  {
16058
16095
  id: `and-or-${props.id}`,
16059
16096
  css: [inlineSelectMenu, menuVisible ? void 0 : inlineSelectMenuClosed],
16060
16097
  "aria-hidden": !menuVisible,
16061
- children: options.map((opt) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
16098
+ children: options.map((opt) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
16062
16099
  "button",
16063
16100
  {
16064
16101
  type: "button",
@@ -16082,7 +16119,7 @@ var InputInlineSelect = ({
16082
16119
  init_emotion_jsx_shim();
16083
16120
  var import_CgClose5 = require("@react-icons/all-files/cg/CgClose");
16084
16121
  var import_CgSearch2 = require("@react-icons/all-files/cg/CgSearch");
16085
- var import_jsx_runtime59 = require("@emotion/react/jsx-runtime");
16122
+ var import_jsx_runtime60 = require("@emotion/react/jsx-runtime");
16086
16123
  var InputKeywordSearch = ({
16087
16124
  onSearchTextChanged,
16088
16125
  disabled: disabled2 = false,
@@ -16103,7 +16140,7 @@ var InputKeywordSearch = ({
16103
16140
  e.preventDefault();
16104
16141
  }
16105
16142
  };
16106
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
16143
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
16107
16144
  Input,
16108
16145
  {
16109
16146
  type: "text",
@@ -16111,7 +16148,7 @@ var InputKeywordSearch = ({
16111
16148
  placeholder,
16112
16149
  showLabel: false,
16113
16150
  value,
16114
- 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" }),
16151
+ icon: value ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("button", { css: inputSearchCloseBtn, onClick: onClear, type: "button", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Icon, { icon: import_CgClose5.CgClose, iconColor: "red", size: "1rem" }) }) : /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Icon, { icon: import_CgSearch2.CgSearch, iconColor: "gray", size: "1rem" }),
16115
16152
  onChange: handleSearchTextChanged,
16116
16153
  onKeyPress: preventSubmitOnField,
16117
16154
  disabled: disabled2,
@@ -16131,7 +16168,7 @@ var InputKeywordSearch = ({
16131
16168
 
16132
16169
  // src/components/Input/InputSelect.tsx
16133
16170
  init_emotion_jsx_shim();
16134
- var import_jsx_runtime60 = require("@emotion/react/jsx-runtime");
16171
+ var import_jsx_runtime61 = require("@emotion/react/jsx-runtime");
16135
16172
  var InputSelect = ({
16136
16173
  label,
16137
16174
  defaultOption,
@@ -16147,13 +16184,13 @@ var InputSelect = ({
16147
16184
  classNameLabel,
16148
16185
  ...props
16149
16186
  }) => {
16150
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
16187
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
16151
16188
  "div",
16152
16189
  {
16153
16190
  css: [inputContainer, typeof classNameContainer === "object" ? classNameContainer : void 0],
16154
16191
  className: typeof classNameContainer === "string" ? classNameContainer : "",
16155
16192
  children: [
16156
- showLabel ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_jsx_runtime60.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
16193
+ showLabel ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_jsx_runtime61.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
16157
16194
  Label,
16158
16195
  {
16159
16196
  htmlFor: props.id,
@@ -16165,7 +16202,7 @@ var InputSelect = ({
16165
16202
  ]
16166
16203
  }
16167
16204
  ) }) : null,
16168
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
16205
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
16169
16206
  "select",
16170
16207
  {
16171
16208
  title: label,
@@ -16180,14 +16217,12 @@ var InputSelect = ({
16180
16217
  className: typeof classNameControl === "string" ? classNameControl : "",
16181
16218
  ...props,
16182
16219
  children: [
16183
- defaultOption ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("option", { value: "", children: defaultOption }) : null,
16184
- options.map((opt, index) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("option", { value: opt.label, ...opt }, index))
16220
+ defaultOption ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("option", { value: "", children: defaultOption }) : null,
16221
+ options.map((opt, index) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("option", { value: opt.label, ...opt }, index))
16185
16222
  ]
16186
16223
  }
16187
16224
  ),
16188
- caption ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Caption, { children: caption }) : null,
16189
- errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(ErrorMessage, { message: errorMessage }) : null,
16190
- warningMessage && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(WarningMessage, { message: warningMessage }) : null
16225
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(FieldMessage, { helperMessage: caption, errorMessage, warningMessage })
16191
16226
  ]
16192
16227
  }
16193
16228
  );
@@ -16196,7 +16231,7 @@ var InputSelect = ({
16196
16231
  // src/components/Input/InputToggle.tsx
16197
16232
  init_emotion_jsx_shim();
16198
16233
  var React17 = __toESM(require("react"));
16199
- var import_jsx_runtime61 = require("@emotion/react/jsx-runtime");
16234
+ var import_jsx_runtime62 = require("@emotion/react/jsx-runtime");
16200
16235
  var InputToggle = React17.forwardRef(
16201
16236
  ({
16202
16237
  label,
@@ -16216,13 +16251,13 @@ var InputToggle = React17.forwardRef(
16216
16251
  medium: labelMedium,
16217
16252
  bold: labelBold
16218
16253
  };
16219
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
16254
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
16220
16255
  Label,
16221
16256
  {
16222
16257
  css: [inputToggleLabel, disabled2 ? inputDisabled : void 0],
16223
16258
  "data-testid": testId ? testId : "input-toggle",
16224
16259
  children: [
16225
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
16260
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
16226
16261
  "input",
16227
16262
  {
16228
16263
  ref,
@@ -16234,12 +16269,15 @@ var InputToggle = React17.forwardRef(
16234
16269
  ...props
16235
16270
  }
16236
16271
  ),
16237
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { css: [inlineLabel, fontWeightStyles[fontWeight]], children: label }),
16238
- caption || errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("span", { css: inputToggleMessageContainer, children: [
16239
- caption ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Caption, { children: caption }) : null,
16240
- errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ErrorMessage, { message: errorMessage }) : null,
16241
- warningMessage && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(WarningMessage, { message: warningMessage }) : null
16242
- ] }) : null
16272
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { css: [inlineLabel, fontWeightStyles[fontWeight]], children: label }),
16273
+ caption || errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { css: inputToggleMessageContainer, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
16274
+ FieldMessage,
16275
+ {
16276
+ helperMessage: caption,
16277
+ errorMessage,
16278
+ warningMessage
16279
+ }
16280
+ ) }) : null
16243
16281
  ]
16244
16282
  }
16245
16283
  );
@@ -16248,9 +16286,9 @@ var InputToggle = React17.forwardRef(
16248
16286
 
16249
16287
  // src/components/Input/Legend.tsx
16250
16288
  init_emotion_jsx_shim();
16251
- var import_jsx_runtime62 = require("@emotion/react/jsx-runtime");
16289
+ var import_jsx_runtime63 = require("@emotion/react/jsx-runtime");
16252
16290
  var Legend = ({ children }) => {
16253
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("legend", { css: fieldsetLegend, children });
16291
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("legend", { css: fieldsetLegend, children });
16254
16292
  };
16255
16293
 
16256
16294
  // src/components/Input/SuccessMessage.tsx
@@ -16274,10 +16312,10 @@ var SuccessIcon2 = import_react72.css`
16274
16312
  `;
16275
16313
 
16276
16314
  // src/components/Input/SuccessMessage.tsx
16277
- var import_jsx_runtime63 = require("@emotion/react/jsx-runtime");
16315
+ var import_jsx_runtime64 = require("@emotion/react/jsx-runtime");
16278
16316
  var SuccessMessage = ({ message, testId, ...props }) => {
16279
- return message ? /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("span", { role: "status", css: SuccessText, "data-testid": testId, ...props, children: [
16280
- /* @__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" }) }),
16317
+ return message ? /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("span", { role: "status", css: SuccessText, "data-testid": testId, ...props, children: [
16318
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Icon, { css: SuccessIcon2, icon: import_CgCheckO2.CgCheckO, size: "1rem", iconColor: "currentColor" }) }),
16281
16319
  message
16282
16320
  ] }) : null;
16283
16321
  };
@@ -16285,13 +16323,13 @@ var SuccessMessage = ({ message, testId, ...props }) => {
16285
16323
  // src/components/Input/Textarea.tsx
16286
16324
  init_emotion_jsx_shim();
16287
16325
  var import_react73 = require("react");
16288
- var import_jsx_runtime64 = require("@emotion/react/jsx-runtime");
16326
+ var import_jsx_runtime65 = require("@emotion/react/jsx-runtime");
16289
16327
  var Textarea = (0, import_react73.forwardRef)(
16290
16328
  ({ label, icon, id, caption, showLabel = true, errorMessage, warningMessage, ...props }, ref) => {
16291
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx_runtime64.Fragment, { children: [
16292
- showLabel ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("label", { htmlFor: id, css: [labelText], children: label }) : null,
16293
- /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { css: [inputContainer], children: [
16294
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
16329
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_jsx_runtime65.Fragment, { children: [
16330
+ showLabel ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("label", { htmlFor: id, css: [labelText], children: label }) : null,
16331
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { css: [inputContainer], children: [
16332
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
16295
16333
  "textarea",
16296
16334
  {
16297
16335
  ref,
@@ -16306,11 +16344,9 @@ var Textarea = (0, import_react73.forwardRef)(
16306
16344
  ...props
16307
16345
  }
16308
16346
  ),
16309
- icon ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { css: inputIcon, children: icon }) : null
16347
+ icon ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { css: inputIcon, children: icon }) : null
16310
16348
  ] }),
16311
- caption ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Caption, { children: caption }) : null,
16312
- errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(ErrorMessage, { message: errorMessage }) : null,
16313
- warningMessage && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(WarningMessage, { message: warningMessage }) : null
16349
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(FieldMessage, { helperMessage: caption, errorMessage, warningMessage })
16314
16350
  ] });
16315
16351
  }
16316
16352
  );
@@ -16369,9 +16405,9 @@ var variantFillImageImg = import_react74.css`
16369
16405
 
16370
16406
  // src/components/Image/ImageBroken.tsx
16371
16407
  init_emotion_jsx_shim();
16372
- var import_jsx_runtime65 = require("@emotion/react/jsx-runtime");
16408
+ var import_jsx_runtime66 = require("@emotion/react/jsx-runtime");
16373
16409
  var ImageBroken = ({ width, height, ...props }) => {
16374
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
16410
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
16375
16411
  "svg",
16376
16412
  {
16377
16413
  role: "img",
@@ -16384,11 +16420,11 @@ var ImageBroken = ({ width, height, ...props }) => {
16384
16420
  "data-testid": "broken-image",
16385
16421
  ...props,
16386
16422
  children: [
16387
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
16388
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
16389
- /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("defs", { children: [
16390
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
16391
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
16423
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
16424
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
16425
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("defs", { children: [
16426
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
16427
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
16392
16428
  "image",
16393
16429
  {
16394
16430
  id: "image0_761_4353",
@@ -16404,7 +16440,7 @@ var ImageBroken = ({ width, height, ...props }) => {
16404
16440
  };
16405
16441
 
16406
16442
  // src/components/Image/Image.tsx
16407
- var import_jsx_runtime66 = require("@emotion/react/jsx-runtime");
16443
+ var import_jsx_runtime67 = require("@emotion/react/jsx-runtime");
16408
16444
  var MIN_LOADING_MS = 100;
16409
16445
  function Image({
16410
16446
  alt,
@@ -16454,7 +16490,7 @@ function Image({
16454
16490
  setLoadErrorText("The value you provided is not a valid image URL");
16455
16491
  setLoading(false);
16456
16492
  };
16457
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
16493
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
16458
16494
  "span",
16459
16495
  {
16460
16496
  className,
@@ -16464,7 +16500,7 @@ function Image({
16464
16500
  variant === "fill-container" ? variantFillImageWrapper : null
16465
16501
  ],
16466
16502
  children: [
16467
- src && !loadErrorText ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
16503
+ src && !loadErrorText ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
16468
16504
  "img",
16469
16505
  {
16470
16506
  ...imgAttribs,
@@ -16483,7 +16519,7 @@ function Image({
16483
16519
  onError: handleErrorEvent
16484
16520
  }
16485
16521
  ) : null,
16486
- src && loadErrorText ? /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
16522
+ src && loadErrorText ? /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
16487
16523
  "span",
16488
16524
  {
16489
16525
  style: {
@@ -16492,14 +16528,14 @@ function Image({
16492
16528
  ...variant === "fill-container" ? {} : { width, height }
16493
16529
  },
16494
16530
  children: [
16495
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
16531
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
16496
16532
  ImageBroken,
16497
16533
  {
16498
16534
  css: [brokenImage, img, imgLoaded],
16499
16535
  "data-testid": "broken-image"
16500
16536
  }
16501
16537
  ),
16502
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(ErrorMessage, { message: loadErrorText, css: brokenImageMessage, truncated: true })
16538
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(ErrorMessage, { message: loadErrorText, css: brokenImageMessage, truncated: true })
16503
16539
  ]
16504
16540
  }
16505
16541
  ) : null
@@ -16648,7 +16684,7 @@ var IntegrationTileFloatingButtonMessage = (clicked) => import_react76.css`
16648
16684
  `;
16649
16685
 
16650
16686
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
16651
- var import_jsx_runtime67 = require("@emotion/react/jsx-runtime");
16687
+ var import_jsx_runtime68 = require("@emotion/react/jsx-runtime");
16652
16688
  var CreateTeamIntegrationTile = ({
16653
16689
  title: title2 = "Create a custom integration for your team",
16654
16690
  buttonText = "Add Integration",
@@ -16656,9 +16692,9 @@ var CreateTeamIntegrationTile = ({
16656
16692
  asDeepLink = false,
16657
16693
  ...props
16658
16694
  }) => {
16659
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
16660
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { css: IntegrationTileTitle, title: title2, children: title2 }),
16661
- /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
16695
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
16696
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { css: IntegrationTileTitle, title: title2, children: title2 }),
16697
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
16662
16698
  Button,
16663
16699
  {
16664
16700
  buttonType: "tertiary",
@@ -16668,7 +16704,7 @@ var CreateTeamIntegrationTile = ({
16668
16704
  css: IntegrationTitleFakeButton,
16669
16705
  children: [
16670
16706
  buttonText,
16671
- asDeepLink ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
16707
+ asDeepLink ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
16672
16708
  Icon,
16673
16709
  {
16674
16710
  icon: import_CgChevronRight3.CgChevronRight,
@@ -16678,7 +16714,7 @@ var CreateTeamIntegrationTile = ({
16678
16714
  order: 1;
16679
16715
  `
16680
16716
  }
16681
- ) : /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
16717
+ ) : /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
16682
16718
  Icon,
16683
16719
  {
16684
16720
  icon: import_CgAdd3.CgAdd,
@@ -16703,32 +16739,32 @@ init_emotion_jsx_shim();
16703
16739
  var import_CgCheck2 = require("@react-icons/all-files/cg/CgCheck");
16704
16740
  var import_CgLock2 = require("@react-icons/all-files/cg/CgLock");
16705
16741
  var import_CgSandClock2 = require("@react-icons/all-files/cg/CgSandClock");
16706
- var import_jsx_runtime68 = require("@emotion/react/jsx-runtime");
16742
+ var import_jsx_runtime69 = require("@emotion/react/jsx-runtime");
16707
16743
  var IntegrationedAddedBadge = ({ text = "Added" }) => {
16708
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("span", { "data-testid": "integration-icon-installed", css: IntegrationAddedText, children: [
16709
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Icon, { icon: import_CgCheck2.CgCheck, iconColor: "currentColor" }),
16744
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("span", { "data-testid": "integration-icon-installed", css: IntegrationAddedText, children: [
16745
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Icon, { icon: import_CgCheck2.CgCheck, iconColor: "currentColor" }),
16710
16746
  text
16711
16747
  ] });
16712
16748
  };
16713
16749
  var IntegrationCustomBadge = ({ text = "Custom" }) => {
16714
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
16750
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
16715
16751
  };
16716
16752
  var IntegrationPremiumBadge = ({ text = "Premium" }) => {
16717
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("span", { css: IntegrationCustomBadgeText("blue"), children: [
16718
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Icon, { icon: import_CgLock2.CgLock, iconColor: "currentColor", size: 12 }),
16753
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("span", { css: IntegrationCustomBadgeText("blue"), children: [
16754
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Icon, { icon: import_CgLock2.CgLock, iconColor: "currentColor", size: 12 }),
16719
16755
  text
16720
16756
  ] });
16721
16757
  };
16722
16758
  var IntegrationComingSoonBadge = ({ text = "Coming soon" }) => {
16723
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("span", { css: IntegrationCustomBadgeText("blue"), children: [
16724
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Icon, { icon: import_CgSandClock2.CgSandClock, iconColor: "currentColor", size: 12 }),
16759
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("span", { css: IntegrationCustomBadgeText("blue"), children: [
16760
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Icon, { icon: import_CgSandClock2.CgSandClock, iconColor: "currentColor", size: 12 }),
16725
16761
  text
16726
16762
  ] });
16727
16763
  };
16728
16764
 
16729
16765
  // src/components/Tiles/ResolveIcon.tsx
16730
16766
  init_emotion_jsx_shim();
16731
- var import_jsx_runtime69 = require("@emotion/react/jsx-runtime");
16767
+ var import_jsx_runtime70 = require("@emotion/react/jsx-runtime");
16732
16768
  var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
16733
16769
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
16734
16770
  const mapClassName = {
@@ -16736,13 +16772,13 @@ var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
16736
16772
  logo: IntegrationTitleLogo
16737
16773
  };
16738
16774
  if (icon) {
16739
- return CompIcon ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
16775
+ return CompIcon ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
16740
16776
  }
16741
16777
  return null;
16742
16778
  };
16743
16779
 
16744
16780
  // src/components/Tiles/EditTeamIntegrationTile.tsx
16745
- var import_jsx_runtime70 = require("@emotion/react/jsx-runtime");
16781
+ var import_jsx_runtime71 = require("@emotion/react/jsx-runtime");
16746
16782
  var EditTeamIntegrationTile = ({
16747
16783
  id,
16748
16784
  icon,
@@ -16751,17 +16787,17 @@ var EditTeamIntegrationTile = ({
16751
16787
  isPublic,
16752
16788
  canEdit = false
16753
16789
  }) => {
16754
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
16790
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
16755
16791
  "div",
16756
16792
  {
16757
16793
  css: IntegrationTileContainer,
16758
16794
  "data-testid": "configure-integration-container",
16759
16795
  "integration-id": `${id.toLocaleLowerCase()}`,
16760
16796
  children: [
16761
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ResolveIcon, { icon, name, "data-testid": "integration-logo" }),
16762
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("span", { css: IntegrationTileName, "data-testid": "integration-card-name", children: name }),
16763
- !isPublic ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(IntegrationCustomBadge, {}) : null,
16764
- canEdit ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
16797
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ResolveIcon, { icon, name, "data-testid": "integration-logo" }),
16798
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { css: IntegrationTileName, "data-testid": "integration-card-name", children: name }),
16799
+ !isPublic ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(IntegrationCustomBadge, {}) : null,
16800
+ canEdit ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
16765
16801
  Button,
16766
16802
  {
16767
16803
  buttonType: "unimportant",
@@ -16783,7 +16819,7 @@ init_emotion_jsx_shim();
16783
16819
  var import_react78 = require("@emotion/react");
16784
16820
  var import_CgHeart2 = require("@react-icons/all-files/cg/CgHeart");
16785
16821
  var import_react79 = require("react");
16786
- var import_jsx_runtime71 = require("@emotion/react/jsx-runtime");
16822
+ var import_jsx_runtime72 = require("@emotion/react/jsx-runtime");
16787
16823
  var IntegrationComingSoon = ({
16788
16824
  name,
16789
16825
  icon,
@@ -16805,17 +16841,17 @@ var IntegrationComingSoon = ({
16805
16841
  };
16806
16842
  }
16807
16843
  }, [upVote, setUpVote, timing]);
16808
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
16844
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
16809
16845
  "div",
16810
16846
  {
16811
16847
  css: IntegrationTileContainer,
16812
16848
  "data-testid": `coming-soon-${id.toLowerCase()}-integration`,
16813
16849
  ...props,
16814
16850
  children: [
16815
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(IntegrationComingSoonBadge, {}),
16816
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ResolveIcon, { icon, name }),
16817
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { css: IntegrationTileName, title: name, children: name }),
16818
- /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
16851
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(IntegrationComingSoonBadge, {}),
16852
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(ResolveIcon, { icon, name }),
16853
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { css: IntegrationTileName, title: name, children: name }),
16854
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
16819
16855
  Button,
16820
16856
  {
16821
16857
  buttonType: "unimportant",
@@ -16825,8 +16861,8 @@ var IntegrationComingSoon = ({
16825
16861
  role: "link",
16826
16862
  css: [IntegrationTileFloatingButton, IntegrationTileFloatingButtonMessage(upVote)],
16827
16863
  children: [
16828
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("strong", { children: "+1" }),
16829
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
16864
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("strong", { children: "+1" }),
16865
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
16830
16866
  "span",
16831
16867
  {
16832
16868
  css: import_react78.css`
@@ -16836,8 +16872,8 @@ var IntegrationComingSoon = ({
16836
16872
  children: "(I want this)"
16837
16873
  }
16838
16874
  ),
16839
- /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("span", { "aria-hidden": !upVote, children: [
16840
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Icon, { icon: import_CgHeart2.CgHeart, iconColor: "currentColor", size: 18 }),
16875
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("span", { "aria-hidden": !upVote, children: [
16876
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Icon, { icon: import_CgHeart2.CgHeart, iconColor: "currentColor", size: 18 }),
16841
16877
  "Thanks!"
16842
16878
  ] })
16843
16879
  ]
@@ -16897,12 +16933,12 @@ var IntegrationLoadingFrame = import_react80.css`
16897
16933
  `;
16898
16934
 
16899
16935
  // src/components/Tiles/IntegrationLoadingTile.tsx
16900
- var import_jsx_runtime72 = require("@emotion/react/jsx-runtime");
16936
+ var import_jsx_runtime73 = require("@emotion/react/jsx-runtime");
16901
16937
  var IntegrationLoadingTile = ({ count = 1 }) => {
16902
16938
  const componentCount = Array.from(Array(count).keys());
16903
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_jsx_runtime72.Fragment, { children: componentCount.map((i) => /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { css: IntegrationLoadingTileContainer, children: [
16904
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
16905
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
16939
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_jsx_runtime73.Fragment, { children: componentCount.map((i) => /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { css: IntegrationLoadingTileContainer, children: [
16940
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
16941
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
16906
16942
  ] }, i)) });
16907
16943
  };
16908
16944
 
@@ -16926,7 +16962,7 @@ var IntegrationModalImage = import_react81.css`
16926
16962
  `;
16927
16963
 
16928
16964
  // src/components/Tiles/IntegrationModalIcon.tsx
16929
- var import_jsx_runtime73 = require("@emotion/react/jsx-runtime");
16965
+ var import_jsx_runtime74 = require("@emotion/react/jsx-runtime");
16930
16966
  var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
16931
16967
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
16932
16968
  let iconSrc = void 0;
@@ -16942,9 +16978,9 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
16942
16978
  }
16943
16979
  }
16944
16980
  }
16945
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { css: IntegrationModalIconContainer, children: [
16946
- /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("svg", { width: "49", height: "57", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
16947
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
16981
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { css: IntegrationModalIconContainer, children: [
16982
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("svg", { width: "49", height: "57", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
16983
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
16948
16984
  "path",
16949
16985
  {
16950
16986
  d: "m24.367 1.813 22.786 13.322V41.78L24.367 55.102 1.581 41.78V15.135L24.367 1.814Z",
@@ -16953,12 +16989,12 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
16953
16989
  strokeWidth: "2"
16954
16990
  }
16955
16991
  ),
16956
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
16957
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("stop", { stopColor: "#1768B2" }),
16958
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("stop", { offset: "1", stopColor: "#B3EFE4" })
16992
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
16993
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("stop", { stopColor: "#1768B2" }),
16994
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("stop", { offset: "1", stopColor: "#B3EFE4" })
16959
16995
  ] }) })
16960
16996
  ] }),
16961
- CompIcon ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : iconSrc ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
16997
+ CompIcon ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : iconSrc ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
16962
16998
  "img",
16963
16999
  {
16964
17000
  src: iconSrc,
@@ -16973,7 +17009,7 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
16973
17009
 
16974
17010
  // src/components/Tiles/IntegrationTile.tsx
16975
17011
  init_emotion_jsx_shim();
16976
- var import_jsx_runtime74 = require("@emotion/react/jsx-runtime");
17012
+ var import_jsx_runtime75 = require("@emotion/react/jsx-runtime");
16977
17013
  var IntegrationTile = ({
16978
17014
  id,
16979
17015
  icon,
@@ -16985,7 +17021,7 @@ var IntegrationTile = ({
16985
17021
  authorIcon,
16986
17022
  ...btnProps
16987
17023
  }) => {
16988
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
17024
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
16989
17025
  "button",
16990
17026
  {
16991
17027
  type: "button",
@@ -16995,12 +17031,12 @@ var IntegrationTile = ({
16995
17031
  "aria-label": name,
16996
17032
  ...btnProps,
16997
17033
  children: [
16998
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(ResolveIcon, { icon, name }),
16999
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { css: IntegrationTileName, title: name, children: name }),
17000
- isInstalled ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(IntegrationedAddedBadge, {}) : null,
17001
- requiedEntitlement && isPublic ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(IntegrationPremiumBadge, {}) : null,
17002
- !isPublic ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(IntegrationCustomBadge, {}) : null,
17003
- authorIcon ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(ResolveIcon, { icon: authorIcon, name }) : null
17034
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(ResolveIcon, { icon, name }),
17035
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { css: IntegrationTileName, title: name, children: name }),
17036
+ isInstalled ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(IntegrationedAddedBadge, {}) : null,
17037
+ requiedEntitlement && isPublic ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(IntegrationPremiumBadge, {}) : null,
17038
+ !isPublic ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(IntegrationCustomBadge, {}) : null,
17039
+ authorIcon ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(ResolveIcon, { icon: authorIcon, name }) : null
17004
17040
  ]
17005
17041
  }
17006
17042
  );
@@ -17041,9 +17077,9 @@ var TileIsSelected = import_react82.css`
17041
17077
  `;
17042
17078
 
17043
17079
  // src/components/Tiles/Tile.tsx
17044
- var import_jsx_runtime75 = require("@emotion/react/jsx-runtime");
17080
+ var import_jsx_runtime76 = require("@emotion/react/jsx-runtime");
17045
17081
  var Tile2 = ({ children, disabled: disabled2, isSelected, ...props }) => {
17046
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
17082
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
17047
17083
  "button",
17048
17084
  {
17049
17085
  type: "button",
@@ -17079,7 +17115,7 @@ var TileContainerInner = (gap, templateColumns) => import_react83.css`
17079
17115
  `;
17080
17116
 
17081
17117
  // src/components/Tiles/TileContainer.tsx
17082
- var import_jsx_runtime76 = require("@emotion/react/jsx-runtime");
17118
+ var import_jsx_runtime77 = require("@emotion/react/jsx-runtime");
17083
17119
  var TileContainer = ({
17084
17120
  bgColor = "var(--brand-secondary-2)",
17085
17121
  containerPadding = "base",
@@ -17088,7 +17124,7 @@ var TileContainer = ({
17088
17124
  children,
17089
17125
  ...props
17090
17126
  }) => {
17091
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { css: TileContainerWrapper(bgColor, containerPadding), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { css: TileContainerInner(gap, gridTemplateColumns), children }) });
17127
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { css: TileContainerWrapper(bgColor, containerPadding), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { css: TileContainerInner(gap, gridTemplateColumns), children }) });
17092
17128
  };
17093
17129
 
17094
17130
  // src/components/Tiles/TileText.tsx
@@ -17107,10 +17143,10 @@ var TileText = import_react84.css`
17107
17143
  `;
17108
17144
 
17109
17145
  // src/components/Tiles/TileText.tsx
17110
- var import_jsx_runtime77 = require("@emotion/react/jsx-runtime");
17146
+ var import_jsx_runtime78 = require("@emotion/react/jsx-runtime");
17111
17147
  var TileText2 = ({ as = "heading", children, ...props }) => {
17112
17148
  const isHeading = as === "heading";
17113
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
17149
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
17114
17150
  "span",
17115
17151
  {
17116
17152
  role: isHeading ? "heading" : void 0,
@@ -17160,9 +17196,9 @@ var IntegrationModalHeaderContentWrapper = import_react85.css`
17160
17196
  `;
17161
17197
 
17162
17198
  // src/components/IntegrationModalHeader/IntegrationModalHeader.tsx
17163
- var import_jsx_runtime78 = require("@emotion/react/jsx-runtime");
17199
+ var import_jsx_runtime79 = require("@emotion/react/jsx-runtime");
17164
17200
  var HexModalBackground = ({ ...props }) => {
17165
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
17201
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
17166
17202
  "svg",
17167
17203
  {
17168
17204
  width: "236",
@@ -17172,7 +17208,7 @@ var HexModalBackground = ({ ...props }) => {
17172
17208
  xmlns: "http://www.w3.org/2000/svg",
17173
17209
  ...props,
17174
17210
  children: [
17175
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
17211
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
17176
17212
  "path",
17177
17213
  {
17178
17214
  fillRule: "evenodd",
@@ -17181,7 +17217,7 @@ var HexModalBackground = ({ ...props }) => {
17181
17217
  fill: "url(#paint0_linear_196_2737)"
17182
17218
  }
17183
17219
  ),
17184
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
17220
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
17185
17221
  "linearGradient",
17186
17222
  {
17187
17223
  id: "paint0_linear_196_2737",
@@ -17191,8 +17227,8 @@ var HexModalBackground = ({ ...props }) => {
17191
17227
  y2: "-95.2742",
17192
17228
  gradientUnits: "userSpaceOnUse",
17193
17229
  children: [
17194
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("stop", { stopColor: "#81DCDE" }),
17195
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("stop", { offset: "1", stopColor: "#428ED4" })
17230
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("stop", { stopColor: "#81DCDE" }),
17231
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("stop", { offset: "1", stopColor: "#428ED4" })
17196
17232
  ]
17197
17233
  }
17198
17234
  ) })
@@ -17201,24 +17237,24 @@ var HexModalBackground = ({ ...props }) => {
17201
17237
  );
17202
17238
  };
17203
17239
  var IntegrationModalHeader = ({ icon, name, menu, children }) => {
17204
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(import_jsx_runtime78.Fragment, { children: [
17205
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
17206
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { css: IntegrationModalHeaderTitleGroup, children: [
17207
- icon ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(IntegrationModalIcon, { icon, name: name || "" }) : null,
17208
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-testid": "integration-modal-title", children: name || "Create Team Integration" }),
17209
- menu ? /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { css: IntegrationModalHeaderMenuPlacement, children: [
17240
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_jsx_runtime79.Fragment, { children: [
17241
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
17242
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { css: IntegrationModalHeaderTitleGroup, children: [
17243
+ icon ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(IntegrationModalIcon, { icon, name: name || "" }) : null,
17244
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-testid": "integration-modal-title", children: name || "Create Team Integration" }),
17245
+ menu ? /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { css: IntegrationModalHeaderMenuPlacement, children: [
17210
17246
  menu,
17211
17247
  " "
17212
17248
  ] }) : null
17213
17249
  ] }) }),
17214
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("div", { css: IntegrationModalHeaderContentWrapper, children })
17250
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { css: IntegrationModalHeaderContentWrapper, children })
17215
17251
  ] });
17216
17252
  };
17217
17253
 
17218
17254
  // src/components/JsonEditor/JsonEditor.tsx
17219
17255
  init_emotion_jsx_shim();
17220
17256
  var import_react86 = __toESM(require("@monaco-editor/react"));
17221
- var import_jsx_runtime79 = require("@emotion/react/jsx-runtime");
17257
+ var import_jsx_runtime80 = require("@emotion/react/jsx-runtime");
17222
17258
  var minEditorHeightPx = 150;
17223
17259
  var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
17224
17260
  let effectiveHeight = height;
@@ -17228,7 +17264,7 @@ var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
17228
17264
  if (typeof effectiveHeight === "number" && effectiveHeight < minEditorHeightPx) {
17229
17265
  effectiveHeight = minEditorHeightPx;
17230
17266
  }
17231
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
17267
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
17232
17268
  import_react86.default,
17233
17269
  {
17234
17270
  height: effectiveHeight,
@@ -17301,7 +17337,7 @@ var LimitsBarTextColor = (statusColor) => import_react87.css`
17301
17337
  `;
17302
17338
 
17303
17339
  // src/components/LimitsBar/LimitsBar.tsx
17304
- var import_jsx_runtime80 = require("@emotion/react/jsx-runtime");
17340
+ var import_jsx_runtime81 = require("@emotion/react/jsx-runtime");
17305
17341
  var LimitsBar = ({ current, max, label }) => {
17306
17342
  const maxPercentage = 100;
17307
17343
  const progressBarValue = Math.ceil(current / max * maxPercentage);
@@ -17312,16 +17348,16 @@ var LimitsBar = ({ current, max, label }) => {
17312
17348
  danger: "var(--brand-secondary-5)"
17313
17349
  };
17314
17350
  const statusColor = progressBarValue === 100 ? colorMap.danger : progressBarValue >= 75 ? colorMap.warn : colorMap.base;
17315
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { css: LimitsBarContainer, children: [
17316
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { css: LimitsBarLabelContainer, children: [
17317
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { css: LimitsBarLabel, children: label }),
17318
- /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("span", { css: [LimitsBarLabel, LimitsBarTextColor(statusColor)], children: [
17351
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { css: LimitsBarContainer, children: [
17352
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { css: LimitsBarLabelContainer, children: [
17353
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { css: LimitsBarLabel, children: label }),
17354
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("span", { css: [LimitsBarLabel, LimitsBarTextColor(statusColor)], children: [
17319
17355
  current,
17320
17356
  " of ",
17321
17357
  max
17322
17358
  ] })
17323
17359
  ] }),
17324
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
17360
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
17325
17361
  "div",
17326
17362
  {
17327
17363
  role: "progressbar",
@@ -17330,7 +17366,7 @@ var LimitsBar = ({ current, max, label }) => {
17330
17366
  "aria-valuemax": max,
17331
17367
  "aria-valuetext": `${current} of ${max}`,
17332
17368
  css: LimitsBarProgressBar,
17333
- children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
17369
+ children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
17334
17370
  "span",
17335
17371
  {
17336
17372
  role: "presentation",
@@ -17366,10 +17402,10 @@ var LinkListTitle = import_react88.css`
17366
17402
  `;
17367
17403
 
17368
17404
  // src/components/LinkList/LinkList.tsx
17369
- var import_jsx_runtime81 = require("@emotion/react/jsx-runtime");
17405
+ var import_jsx_runtime82 = require("@emotion/react/jsx-runtime");
17370
17406
  var LinkList = ({ title: title2, padding = "var(--spacing-md)", children, ...props }) => {
17371
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { css: LinkListContainer(padding), ...props, children: [
17372
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Heading, { level: 3, css: LinkListTitle, children: title2 }),
17407
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { css: LinkListContainer(padding), ...props, children: [
17408
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Heading, { level: 3, css: LinkListTitle, children: title2 }),
17373
17409
  children
17374
17410
  ] });
17375
17411
  };
@@ -17407,10 +17443,10 @@ var ScrollableListInner = import_react89.css`
17407
17443
  `;
17408
17444
 
17409
17445
  // src/components/List/ScrollableList.tsx
17410
- var import_jsx_runtime82 = require("@emotion/react/jsx-runtime");
17446
+ var import_jsx_runtime83 = require("@emotion/react/jsx-runtime");
17411
17447
  var ScrollableList = ({ label, children, ...props }) => {
17412
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { css: [ScrollableListContainer, scrollbarStyles], ...props, children: [
17413
- label ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
17448
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { css: [ScrollableListContainer, scrollbarStyles], ...props, children: [
17449
+ label ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
17414
17450
  "span",
17415
17451
  {
17416
17452
  css: import_react90.css`
@@ -17419,7 +17455,7 @@ var ScrollableList = ({ label, children, ...props }) => {
17419
17455
  children: label
17420
17456
  }
17421
17457
  ) : null,
17422
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { css: [ScrollableListInner, scrollbarStyles], children })
17458
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { css: [ScrollableListInner, scrollbarStyles], children })
17423
17459
  ] });
17424
17460
  };
17425
17461
 
@@ -17493,7 +17529,7 @@ var ScrollableListIconVisible = import_react91.css`
17493
17529
  `;
17494
17530
 
17495
17531
  // src/components/List/ScrollableListInputItem.tsx
17496
- var import_jsx_runtime83 = require("@emotion/react/jsx-runtime");
17532
+ var import_jsx_runtime84 = require("@emotion/react/jsx-runtime");
17497
17533
  var ScrollableListInputItem = ({
17498
17534
  label,
17499
17535
  icon,
@@ -17503,7 +17539,7 @@ var ScrollableListInputItem = ({
17503
17539
  labelTestId,
17504
17540
  ...props
17505
17541
  }) => {
17506
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
17542
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
17507
17543
  "div",
17508
17544
  {
17509
17545
  css: [
@@ -17512,13 +17548,13 @@ var ScrollableListInputItem = ({
17512
17548
  active2 ? ScrollableListItemActive : void 0
17513
17549
  ],
17514
17550
  ...props,
17515
- children: /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("label", { "data-testid": labelTestId, css: ScrollableListInputLabel, children: [
17516
- /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("span", { css: ScrollableListInputText, children: [
17551
+ children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("label", { "data-testid": labelTestId, css: ScrollableListInputLabel, children: [
17552
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("span", { css: ScrollableListInputText, children: [
17517
17553
  icon,
17518
17554
  label
17519
17555
  ] }),
17520
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("div", { css: ScrollableListHiddenInput, children }),
17521
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
17556
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { css: ScrollableListHiddenInput, children }),
17557
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
17522
17558
  Icon,
17523
17559
  {
17524
17560
  icon: import_CgCheck3.CgCheck,
@@ -17537,7 +17573,7 @@ var ScrollableListInputItem = ({
17537
17573
  // src/components/List/ScrollableListItem.tsx
17538
17574
  init_emotion_jsx_shim();
17539
17575
  var import_CgCheck4 = require("@react-icons/all-files/cg/CgCheck");
17540
- var import_jsx_runtime84 = require("@emotion/react/jsx-runtime");
17576
+ var import_jsx_runtime85 = require("@emotion/react/jsx-runtime");
17541
17577
  var ScrollableListItem = ({
17542
17578
  buttonText,
17543
17579
  icon,
@@ -17545,7 +17581,7 @@ var ScrollableListItem = ({
17545
17581
  disableShadow,
17546
17582
  ...props
17547
17583
  }) => {
17548
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
17584
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
17549
17585
  "div",
17550
17586
  {
17551
17587
  css: [
@@ -17553,12 +17589,12 @@ var ScrollableListItem = ({
17553
17589
  disableShadow ? void 0 : ScrollableListItemShadow,
17554
17590
  active2 ? ScrollableListItemActive : void 0
17555
17591
  ],
17556
- children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
17557
- /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(HorizontalRhythm, { gap: "xs", align: "center", children: [
17592
+ children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
17593
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(HorizontalRhythm, { gap: "xs", align: "center", children: [
17558
17594
  icon,
17559
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("span", { children: buttonText })
17595
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { children: buttonText })
17560
17596
  ] }),
17561
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
17597
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
17562
17598
  Icon,
17563
17599
  {
17564
17600
  icon: import_CgCheck4.CgCheck,
@@ -17629,16 +17665,16 @@ function loadingDot(size) {
17629
17665
  }
17630
17666
 
17631
17667
  // src/components/LoadingIndicator/LoadingIndicator.tsx
17632
- var import_jsx_runtime85 = require("@emotion/react/jsx-runtime");
17668
+ var import_jsx_runtime86 = require("@emotion/react/jsx-runtime");
17633
17669
  var LoadingIndicator = ({
17634
17670
  size = "lg",
17635
17671
  ...props
17636
17672
  }) => {
17637
17673
  const dotStyle = loadingDot(size);
17638
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { role: "alert", css: loader, "data-testid": "loading-indicator", ...props, children: [
17639
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { css: dotStyle }),
17640
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { css: dotStyle }),
17641
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("span", { css: dotStyle })
17674
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { role: "alert", css: loader, "data-testid": "loading-indicator", ...props, children: [
17675
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { css: dotStyle }),
17676
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { css: dotStyle }),
17677
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { css: dotStyle })
17642
17678
  ] });
17643
17679
  };
17644
17680
 
@@ -17680,7 +17716,7 @@ var loadingOverlayMessage = import_react93.css`
17680
17716
  `;
17681
17717
 
17682
17718
  // src/components/LoadingOverlay/LoadingOverlay.tsx
17683
- var import_jsx_runtime86 = require("@emotion/react/jsx-runtime");
17719
+ var import_jsx_runtime87 = require("@emotion/react/jsx-runtime");
17684
17720
  var LoadingOverlay = ({
17685
17721
  isActive,
17686
17722
  statusMessage,
@@ -17706,7 +17742,7 @@ var LoadingOverlay = ({
17706
17742
  (_f = lottieRef.current) == null ? void 0 : _f.stop();
17707
17743
  }
17708
17744
  }, [isPaused]);
17709
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
17745
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
17710
17746
  "div",
17711
17747
  {
17712
17748
  role: "alert",
@@ -17714,9 +17750,9 @@ var LoadingOverlay = ({
17714
17750
  "aria-hidden": !isActive,
17715
17751
  "aria-busy": isActive && !isPaused,
17716
17752
  children: [
17717
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
17718
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { css: loadingOverlayBody, children: [
17719
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
17753
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
17754
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { css: loadingOverlayBody, children: [
17755
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
17720
17756
  AnimationFile,
17721
17757
  {
17722
17758
  lottieRef,
@@ -17731,15 +17767,15 @@ var LoadingOverlay = ({
17731
17767
  }
17732
17768
  }
17733
17769
  ),
17734
- statusMessage ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { css: loadingOverlayMessage, children: statusMessage }) : null,
17735
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { css: { width: "100%", marginTop: "var(--spacing-md)" }, children })
17770
+ statusMessage ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { css: loadingOverlayMessage, children: statusMessage }) : null,
17771
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { css: { width: "100%", marginTop: "var(--spacing-md)" }, children })
17736
17772
  ] }) })
17737
17773
  ]
17738
17774
  }
17739
17775
  );
17740
17776
  };
17741
17777
  var LoadingIcon = ({ height, width, ...props }) => {
17742
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
17778
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
17743
17779
  "svg",
17744
17780
  {
17745
17781
  viewBox: "0 0 38 38",
@@ -17749,9 +17785,9 @@ var LoadingIcon = ({ height, width, ...props }) => {
17749
17785
  stroke: "currentColor",
17750
17786
  ...props,
17751
17787
  "data-testid": "loading-icon",
17752
- children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
17753
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
17754
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
17788
+ children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
17789
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
17790
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
17755
17791
  "animateTransform",
17756
17792
  {
17757
17793
  attributeName: "transform",
@@ -17809,7 +17845,7 @@ var Popover = import_react95.css`
17809
17845
  `;
17810
17846
 
17811
17847
  // src/components/Popover/Popover.tsx
17812
- var import_jsx_runtime87 = require("@emotion/react/jsx-runtime");
17848
+ var import_jsx_runtime88 = require("@emotion/react/jsx-runtime");
17813
17849
  var Popover2 = ({
17814
17850
  iconColor = "action",
17815
17851
  icon = "info",
@@ -17823,21 +17859,21 @@ var Popover2 = ({
17823
17859
  ...otherProps
17824
17860
  }) => {
17825
17861
  const popover = (0, import_Popover.usePopoverState)({ placement });
17826
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_jsx_runtime87.Fragment, { children: [
17827
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
17862
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_jsx_runtime88.Fragment, { children: [
17863
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
17828
17864
  import_Popover.PopoverDisclosure,
17829
17865
  {
17830
17866
  ...popover,
17831
17867
  css: [PopoverBtn, trigger ? void 0 : PopoverDefaulterTriggerBtn],
17832
17868
  title: buttonText,
17833
17869
  "data-testid": testId,
17834
- children: trigger ? trigger : /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_jsx_runtime87.Fragment, { children: [
17835
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Icon, { icon, iconColor, size: iconSize }),
17836
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { hidden: true, children: buttonText })
17870
+ children: trigger ? trigger : /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_jsx_runtime88.Fragment, { children: [
17871
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Icon, { icon, iconColor, size: iconSize }),
17872
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { hidden: true, children: buttonText })
17837
17873
  ] })
17838
17874
  }
17839
17875
  ),
17840
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_Popover.Popover, { css: Popover, ...otherProps, ...popover, role: "tooltip", "aria-label": ariaLabel, children })
17876
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(import_Popover.Popover, { css: Popover, ...otherProps, ...popover, role: "tooltip", "aria-label": ariaLabel, children })
17841
17877
  ] });
17842
17878
  };
17843
17879
 
@@ -17921,7 +17957,7 @@ var menuButton = import_react96.css`
17921
17957
  `;
17922
17958
 
17923
17959
  // src/components/MediaCard/MediaCard.tsx
17924
- var import_jsx_runtime88 = require("@emotion/react/jsx-runtime");
17960
+ var import_jsx_runtime89 = require("@emotion/react/jsx-runtime");
17925
17961
  var MediaCard = ({
17926
17962
  title: title2,
17927
17963
  subtitle: subtitle2,
@@ -17936,13 +17972,13 @@ var MediaCard = ({
17936
17972
  e.stopPropagation();
17937
17973
  }, []);
17938
17974
  const hasMenuItems = Array.isArray(menuItems) ? menuItems.length > 0 : Boolean(menuItems);
17939
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(Card, { css: cardBase, ...cardProps, onClick, "data-testid": "card-item", children: [
17940
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("button", { tabIndex: -1, css: coverWrapper, children: cover }),
17941
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { css: contentWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(HorizontalRhythm, { gap: "sm", justify: "space-between", align: "center", css: { width: "100%" }, children: [
17942
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(VerticalRhythm, { gap: "0", align: "flex-start", css: { flex: 1, minWidth: 0 }, children: [
17943
- /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(HorizontalRhythm, { gap: "xs", align: "center", css: { maxWidth: "100%" }, children: [
17944
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("button", { css: title, "data-testid": "card-title", children: title2 }),
17945
- !infoPopover ? null : /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { css: { display: "flex", cursor: "default" }, onClick: onStopPropogation, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
17975
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(Card, { css: cardBase, ...cardProps, onClick, "data-testid": "card-item", children: [
17976
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("button", { tabIndex: -1, css: coverWrapper, children: cover }),
17977
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { css: contentWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(HorizontalRhythm, { gap: "sm", justify: "space-between", align: "center", css: { width: "100%" }, children: [
17978
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(VerticalRhythm, { gap: "0", align: "flex-start", css: { flex: 1, minWidth: 0 }, children: [
17979
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(HorizontalRhythm, { gap: "xs", align: "center", css: { maxWidth: "100%" }, children: [
17980
+ /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("button", { css: title, "data-testid": "card-title", children: title2 }),
17981
+ !infoPopover ? null : /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { css: { display: "flex", cursor: "default" }, onClick: onStopPropogation, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
17946
17982
  Popover2,
17947
17983
  {
17948
17984
  baseId: `info-of-${title2}`,
@@ -17951,31 +17987,31 @@ var MediaCard = ({
17951
17987
  iconColor: "default",
17952
17988
  tabIndex: 0,
17953
17989
  css: { display: "block" },
17954
- children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { children: infoPopover })
17990
+ children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { children: infoPopover })
17955
17991
  }
17956
17992
  ) })
17957
17993
  ] }),
17958
- subtitle2 ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("button", { tabIndex: -1, css: subtitle, children: subtitle2 }) : null
17994
+ subtitle2 ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("button", { tabIndex: -1, css: subtitle, children: subtitle2 }) : null
17959
17995
  ] }),
17960
- sideSection2 ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { css: sideSection, onClick: onStopPropogation, children: sideSection2 }) : null,
17961
- hasMenuItems ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
17996
+ sideSection2 ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { css: sideSection, onClick: onStopPropogation, children: sideSection2 }) : null,
17997
+ hasMenuItems ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
17962
17998
  VerticalRhythm,
17963
17999
  {
17964
18000
  css: menuSection,
17965
18001
  align: "center",
17966
18002
  justify: "center",
17967
18003
  onClick: onStopPropogation,
17968
- children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
18004
+ children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
17969
18005
  Menu,
17970
18006
  {
17971
- menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
18007
+ menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
17972
18008
  "button",
17973
18009
  {
17974
18010
  type: "button",
17975
18011
  "aria-label": "More options",
17976
18012
  css: menuButton,
17977
18013
  "data-testid": "button-more",
17978
- children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Icon, { icon: "more-alt", iconColor: "gray", size: 16 })
18014
+ children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Icon, { icon: "more-alt", iconColor: "gray", size: 16 })
17979
18015
  }
17980
18016
  ),
17981
18017
  menuLabel: `Menu of ${title2}`,
@@ -17997,6 +18033,7 @@ var import_react99 = __toESM(require("react"));
17997
18033
  init_emotion_jsx_shim();
17998
18034
  var import_react98 = require("@emotion/react");
17999
18035
  var modalStyles = import_react98.css`
18036
+ border: none;
18000
18037
  position: relative;
18001
18038
  max-width: calc(100% - var(--spacing-base) * 2);
18002
18039
  max-height: calc(100% - var(--spacing-base) * 2);
@@ -18009,6 +18046,15 @@ var modalStyles = import_react98.css`
18009
18046
  opacity: 0.4;
18010
18047
  }
18011
18048
  `;
18049
+ var modalSizeSmall = import_react98.css`
18050
+ width: clamp(280px, 100vw, 400px);
18051
+ `;
18052
+ var modalSizeMedium = import_react98.css`
18053
+ width: clamp(280px, 100vw, 600px);
18054
+ `;
18055
+ var modalSizeLarge = import_react98.css`
18056
+ width: clamp(280px, 100vw, 800px);
18057
+ `;
18012
18058
  var modalInnerStyles = import_react98.css`
18013
18059
  position: relative;
18014
18060
  width: 100%;
@@ -18018,53 +18064,64 @@ var modalInnerStyles = import_react98.css`
18018
18064
  gap: var(--spacing-base);
18019
18065
  background: var(--gray-50);
18020
18066
  color: unset;
18021
- padding: var(--spacing-base);
18067
+ padding: calc(var(--spacing-2xl) - 2px);
18022
18068
  box-shadow: var(--elevation-500);
18023
18069
  border-radius: var(--rounded-base);
18024
- border: 1px solid var(--gray-300);
18025
18070
  `;
18026
18071
  var modalHeaderStyles = import_react98.css`
18027
18072
  display: flex;
18028
18073
  align-items: flex-start;
18029
18074
  gap: var(--spacing-base);
18030
18075
  font-size: var(--fs-md);
18076
+ font-family: var(--ff-base);
18031
18077
  line-height: 1.2;
18032
18078
  `;
18033
18079
  var modalHeaderHeaderStyles = import_react98.css`
18034
18080
  max-width: calc(100% - 3rem);
18035
18081
  `;
18036
18082
  var modalCloseButtonStyles = import_react98.css`
18037
- display: block;
18038
- padding: 0;
18039
18083
  background: transparent;
18040
18084
  border: none;
18085
+ color: var(--gray-300);
18086
+ display: block;
18087
+ padding: 0;
18041
18088
  margin-left: auto;
18089
+ translate: calc(var(--spacing-base)) calc(var(--spacing-base) * -1);
18090
+ transition: color var(--duration-fast) var(--timing-ease-out);
18091
+
18092
+ &:hover,
18093
+ &:focus {
18094
+ background: transparent;
18095
+ color: var(--gray-400);
18096
+ }
18042
18097
  `;
18043
18098
  var modalContentStyles = import_react98.css`
18044
18099
  position: relative;
18045
18100
  flex: 1;
18046
- background-color: white;
18047
- padding: var(--spacing-md);
18048
18101
  overflow: auto;
18049
18102
  ${scrollbarStyles}
18050
18103
  `;
18051
18104
 
18052
18105
  // src/components/Modal/Modal.tsx
18053
- var import_jsx_runtime89 = require("@emotion/react/jsx-runtime");
18054
- var defaultModalWidth = "75rem";
18106
+ var import_jsx_runtime90 = require("@emotion/react/jsx-runtime");
18055
18107
  var defaultModalHeight = "51rem";
18056
18108
  var Modal = import_react99.default.forwardRef(
18057
18109
  ({
18058
18110
  header,
18059
18111
  children,
18060
18112
  onRequestClose,
18061
- width = defaultModalWidth,
18113
+ width,
18062
18114
  height = defaultModalHeight,
18063
- withoutContentPadding = false,
18064
18115
  buttonGroup,
18116
+ modalSize = "lg",
18065
18117
  ...modalProps
18066
18118
  }, ref) => {
18067
18119
  const dialogRef = (0, import_react99.useRef)(null);
18120
+ const size = {
18121
+ sm: modalSizeSmall,
18122
+ md: modalSizeMedium,
18123
+ lg: modalSizeLarge
18124
+ };
18068
18125
  useShortcut({
18069
18126
  handler: onRequestClose,
18070
18127
  shortcut: "escape"
@@ -18083,7 +18140,7 @@ var Modal = import_react99.default.forwardRef(
18083
18140
  return (_a2 = dialogRef.current) == null ? void 0 : _a2.close();
18084
18141
  };
18085
18142
  }, []);
18086
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
18143
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
18087
18144
  "dialog",
18088
18145
  {
18089
18146
  ref: (element) => {
@@ -18097,7 +18154,7 @@ var Modal = import_react99.default.forwardRef(
18097
18154
  ref.current = element;
18098
18155
  }
18099
18156
  },
18100
- css: modalStyles,
18157
+ css: [modalStyles, width ? void 0 : size[modalSize]],
18101
18158
  style: { width, height: height === "auto" ? "min-content" : height },
18102
18159
  "data-testid": "side-dialog",
18103
18160
  onClick: onRequestClose,
@@ -18105,15 +18162,15 @@ var Modal = import_react99.default.forwardRef(
18105
18162
  e.preventDefault();
18106
18163
  },
18107
18164
  ...modalProps,
18108
- children: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)(
18165
+ children: /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
18109
18166
  "div",
18110
18167
  {
18111
18168
  css: [modalInnerStyles, { height: height === "auto" ? "auto" : "100%" }],
18112
18169
  onClick: (e) => e.stopPropagation(),
18113
18170
  children: [
18114
- /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { css: modalHeaderStyles, children: [
18115
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { css: modalHeaderHeaderStyles, children: header }),
18116
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
18171
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { css: modalHeaderStyles, children: [
18172
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { css: modalHeaderHeaderStyles, children: header }),
18173
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
18117
18174
  Button,
18118
18175
  {
18119
18176
  type: "button",
@@ -18122,12 +18179,12 @@ var Modal = import_react99.default.forwardRef(
18122
18179
  title: "Close dialog",
18123
18180
  buttonType: "ghost",
18124
18181
  "data-testid": "close-dialog",
18125
- children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(Icon, { icon: import_CgClose6.CgClose, iconColor: "gray", size: 24 })
18182
+ children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Icon, { icon: import_CgClose6.CgClose, iconColor: "currentColor", size: 24 })
18126
18183
  }
18127
18184
  )
18128
18185
  ] }),
18129
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("div", { css: [modalContentStyles, !withoutContentPadding ? null : { padding: 0 }], children }),
18130
- buttonGroup ? /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(HorizontalRhythm, { children: buttonGroup }) : null
18186
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { css: modalContentStyles, children }),
18187
+ buttonGroup ? /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(HorizontalRhythm, { children: buttonGroup }) : null
18131
18188
  ]
18132
18189
  }
18133
18190
  )
@@ -18171,7 +18228,7 @@ var page = import_css.css`
18171
18228
  `;
18172
18229
 
18173
18230
  // src/components/Pagination/Pagination.tsx
18174
- var import_jsx_runtime90 = require("@emotion/react/jsx-runtime");
18231
+ var import_jsx_runtime91 = require("@emotion/react/jsx-runtime");
18175
18232
  function Pagination({
18176
18233
  limit,
18177
18234
  offset,
@@ -18186,12 +18243,12 @@ function Pagination({
18186
18243
  if (pageCount <= 1) {
18187
18244
  return null;
18188
18245
  }
18189
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
18246
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
18190
18247
  import_react_paginate.default,
18191
18248
  {
18192
18249
  forcePage: currentPage,
18193
- previousLabel: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: prevNextControls, children: "<" }),
18194
- nextLabel: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("div", { className: prevNextControls, children: ">" }),
18250
+ previousLabel: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: prevNextControls, children: "<" }),
18251
+ nextLabel: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: prevNextControls, children: ">" }),
18195
18252
  breakLabel: "...",
18196
18253
  pageCount,
18197
18254
  marginPagesDisplayed: 2,
@@ -18263,7 +18320,7 @@ var inputIconBtn = import_react101.css`
18263
18320
  `;
18264
18321
 
18265
18322
  // src/components/ParameterInputs/LabelLeadingIcon.tsx
18266
- var import_jsx_runtime91 = require("@emotion/react/jsx-runtime");
18323
+ var import_jsx_runtime92 = require("@emotion/react/jsx-runtime");
18267
18324
  var LabelLeadingIcon = ({
18268
18325
  icon,
18269
18326
  iconColor,
@@ -18275,7 +18332,7 @@ var LabelLeadingIcon = ({
18275
18332
  ...props
18276
18333
  }) => {
18277
18334
  const titleFr = title2 != null ? title2 : isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
18278
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Tooltip, { title: titleFr, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(
18335
+ return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Tooltip, { title: titleFr, children: /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
18279
18336
  "button",
18280
18337
  {
18281
18338
  css: inputIconBtn,
@@ -18283,8 +18340,9 @@ var LabelLeadingIcon = ({
18283
18340
  "aria-pressed": isActive || isBound,
18284
18341
  "aria-disabled": isLocked,
18285
18342
  ...props,
18343
+ "data-testid": "lock-button",
18286
18344
  children: [
18287
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
18345
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
18288
18346
  Icon,
18289
18347
  {
18290
18348
  icon: isLocked ? "lock" : icon ? icon : "arrows-expand-down-right",
@@ -18575,7 +18633,7 @@ var linkParameterIcon = import_react102.css`
18575
18633
  `;
18576
18634
 
18577
18635
  // src/components/ParameterInputs/ParameterDataResource.tsx
18578
- var import_jsx_runtime92 = require("@emotion/react/jsx-runtime");
18636
+ var import_jsx_runtime93 = require("@emotion/react/jsx-runtime");
18579
18637
  function ParameterDataResource({
18580
18638
  label,
18581
18639
  labelLeadingIcon,
@@ -18585,12 +18643,12 @@ function ParameterDataResource({
18585
18643
  disabled: disabled2,
18586
18644
  children
18587
18645
  }) {
18588
- return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { "data-testid": "parameter-data-connect-button", children: [
18589
- /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("span", { css: labelText2, children: [
18646
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { "data-testid": "parameter-data-connect-button", children: [
18647
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("span", { css: labelText2, children: [
18590
18648
  labelLeadingIcon ? labelLeadingIcon : null,
18591
18649
  label
18592
18650
  ] }),
18593
- /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
18651
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(
18594
18652
  "button",
18595
18653
  {
18596
18654
  type: "button",
@@ -18599,12 +18657,12 @@ function ParameterDataResource({
18599
18657
  disabled: disabled2,
18600
18658
  onClick: onConnectDatasource,
18601
18659
  children: [
18602
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
18660
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
18603
18661
  children
18604
18662
  ]
18605
18663
  }
18606
18664
  ),
18607
- caption ? /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Caption, { children: caption }) : null
18665
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Caption, { children: caption }) : null
18608
18666
  ] });
18609
18667
  }
18610
18668
 
@@ -18634,12 +18692,12 @@ var ParameterDrawerHeaderTitle = import_react103.css`
18634
18692
  `;
18635
18693
 
18636
18694
  // src/components/ParameterInputs/ParameterDrawerHeader.tsx
18637
- var import_jsx_runtime93 = require("@emotion/react/jsx-runtime");
18695
+ var import_jsx_runtime94 = require("@emotion/react/jsx-runtime");
18638
18696
  var ParameterDrawerHeader = ({ title: title2, iconBeforeTitle, children }) => {
18639
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { css: ParameterDrawerHeaderContainer, children: [
18640
- /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("header", { css: ParameterDrawerHeaderTitleGroup, children: [
18697
+ return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("div", { css: ParameterDrawerHeaderContainer, children: [
18698
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("header", { css: ParameterDrawerHeaderTitleGroup, children: [
18641
18699
  iconBeforeTitle,
18642
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title: title2, children: title2 })
18700
+ /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title: title2, children: title2 })
18643
18701
  ] }),
18644
18702
  children
18645
18703
  ] });
@@ -18671,11 +18729,11 @@ var fieldsetLegend2 = import_react104.css`
18671
18729
  `;
18672
18730
 
18673
18731
  // src/components/ParameterInputs/ParameterGroup.tsx
18674
- var import_jsx_runtime94 = require("@emotion/react/jsx-runtime");
18732
+ var import_jsx_runtime95 = require("@emotion/react/jsx-runtime");
18675
18733
  var ParameterGroup = (0, import_react105.forwardRef)(
18676
18734
  ({ legend, isDisabled, children, ...props }, ref) => {
18677
- return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
18678
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("legend", { css: fieldsetLegend2, children: legend }),
18735
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
18736
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("legend", { css: fieldsetLegend2, children: legend }),
18679
18737
  children
18680
18738
  ] });
18681
18739
  }
@@ -18729,33 +18787,32 @@ var previewModalImage = import_react106.css`
18729
18787
  `;
18730
18788
 
18731
18789
  // src/components/ParameterInputs/ParameterImagePreview.tsx
18732
- var import_jsx_runtime95 = require("@emotion/react/jsx-runtime");
18790
+ var import_jsx_runtime96 = require("@emotion/react/jsx-runtime");
18733
18791
  function ParameterImagePreview({ imageSrc }) {
18734
18792
  const [showModal, setShowModal] = (0, import_react107.useState)(false);
18735
- return imageSrc ? /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { css: previewWrapper, children: [
18736
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(PreviewImageModal, { open: showModal, imageSrc, onRequestClose: () => setShowModal(false) }),
18737
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
18793
+ return imageSrc ? /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { css: previewWrapper, children: [
18794
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(PreviewImageModal, { open: showModal, imageSrc, onRequestClose: () => setShowModal(false) }),
18795
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
18738
18796
  "button",
18739
18797
  {
18740
18798
  css: previewLink,
18741
18799
  onClick: () => {
18742
18800
  setShowModal(true);
18743
18801
  },
18744
- children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Image, { src: imageSrc, "data-testid": "parameter-image-preview" })
18802
+ children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Image, { src: imageSrc, "data-testid": "parameter-image-preview" })
18745
18803
  }
18746
18804
  )
18747
18805
  ] }) : null;
18748
18806
  }
18749
18807
  var PreviewImageModal = ({ open, onRequestClose, imageSrc }) => {
18750
- return open ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_jsx_runtime95.Fragment, { children: (0, import_react_dom2.createPortal)(
18751
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
18808
+ return open ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_jsx_runtime96.Fragment, { children: (0, import_react_dom2.createPortal)(
18809
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
18752
18810
  Modal,
18753
18811
  {
18754
18812
  header: "Image Preview",
18755
18813
  onRequestClose,
18756
- withoutContentPadding: true,
18757
- buttonGroup: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Button, { buttonType: "secondary", onClick: onRequestClose, children: "Ok" }),
18758
- children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { css: previewModalWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Image, { src: imageSrc, css: previewModalImage, "data-testid": "parameter-image-preview" }) })
18814
+ buttonGroup: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Button, { buttonType: "secondary", onClick: onRequestClose, children: "Ok" }),
18815
+ children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { css: previewModalWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Image, { src: imageSrc, css: previewModalImage, "data-testid": "parameter-image-preview" }) })
18759
18816
  }
18760
18817
  ),
18761
18818
  document.body
@@ -18769,22 +18826,22 @@ var import_react111 = require("react");
18769
18826
 
18770
18827
  // src/components/ParameterInputs/ParameterLabel.tsx
18771
18828
  init_emotion_jsx_shim();
18772
- var import_jsx_runtime96 = require("@emotion/react/jsx-runtime");
18829
+ var import_jsx_runtime97 = require("@emotion/react/jsx-runtime");
18773
18830
  var ParameterLabel = ({ id, asSpan, children, ...props }) => {
18774
- return !asSpan ? /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("span", { "aria-labelledby": id, css: labelText2, children });
18831
+ return !asSpan ? /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("span", { "aria-labelledby": id, css: labelText2, children });
18775
18832
  };
18776
18833
 
18777
18834
  // src/components/ParameterInputs/ParameterMenuButton.tsx
18778
18835
  init_emotion_jsx_shim();
18779
18836
  var import_react108 = require("react");
18780
- var import_jsx_runtime97 = require("@emotion/react/jsx-runtime");
18837
+ var import_jsx_runtime98 = require("@emotion/react/jsx-runtime");
18781
18838
  var ParameterMenuButton = (0, import_react108.forwardRef)(
18782
18839
  ({ label, children }, ref) => {
18783
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
18840
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
18784
18841
  Menu,
18785
18842
  {
18786
18843
  menuLabel: `${label} menu`,
18787
- menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
18844
+ menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
18788
18845
  "button",
18789
18846
  {
18790
18847
  className: "parameter-menu",
@@ -18792,7 +18849,7 @@ var ParameterMenuButton = (0, import_react108.forwardRef)(
18792
18849
  type: "button",
18793
18850
  "aria-label": `${label} options`,
18794
18851
  ref,
18795
- children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
18852
+ children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
18796
18853
  }
18797
18854
  ),
18798
18855
  children
@@ -18829,7 +18886,7 @@ var overrideMarker = import_react109.css`
18829
18886
  `;
18830
18887
 
18831
18888
  // src/components/ParameterInputs/ParameterShell.tsx
18832
- var import_jsx_runtime98 = require("@emotion/react/jsx-runtime");
18889
+ var import_jsx_runtime99 = require("@emotion/react/jsx-runtime");
18833
18890
  var extractParameterProps = (props) => {
18834
18891
  const {
18835
18892
  id,
@@ -18892,19 +18949,19 @@ var ParameterShell = ({
18892
18949
  const [manualErrorMessage, setManualErrorMessage] = (0, import_react111.useState)(void 0);
18893
18950
  const setErrorMessage = (message) => setManualErrorMessage(message);
18894
18951
  const errorMessaging = errorMessage || manualErrorMessage;
18895
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { css: inputContainer2, ...props, id, children: [
18896
- hiddenLabel || title2 ? null : /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(ParameterLabel, { id, css: labelText2, children: [
18952
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { css: inputContainer2, ...props, id, children: [
18953
+ hiddenLabel || title2 ? null : /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(ParameterLabel, { id, css: labelText2, children: [
18897
18954
  labelLeadingIcon != null ? labelLeadingIcon : null,
18898
18955
  label,
18899
18956
  labelTrailingIcon != null ? labelTrailingIcon : null
18900
18957
  ] }),
18901
- !title2 ? null : /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(ParameterLabel, { id, asSpan: true, children: [
18958
+ !title2 ? null : /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(ParameterLabel, { id, asSpan: true, children: [
18902
18959
  labelLeadingIcon != null ? labelLeadingIcon : null,
18903
18960
  title2,
18904
18961
  labelTrailingIcon != null ? labelTrailingIcon : null
18905
18962
  ] }),
18906
- /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("div", { css: inputWrapper, children: [
18907
- actionItems ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
18963
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { css: inputWrapper, children: [
18964
+ actionItems ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
18908
18965
  "div",
18909
18966
  {
18910
18967
  css: [
@@ -18917,8 +18974,8 @@ var ParameterShell = ({
18917
18974
  children: actionItems
18918
18975
  }
18919
18976
  ) : null,
18920
- menuItems ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
18921
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
18977
+ menuItems ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
18978
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
18922
18979
  ParameterShellContext.Provider,
18923
18980
  {
18924
18981
  value: {
@@ -18928,31 +18985,38 @@ var ParameterShell = ({
18928
18985
  errorMessage: errorMessaging,
18929
18986
  handleManuallySetErrorMessage: (message) => setErrorMessage(message)
18930
18987
  },
18931
- children: isParameterGroup ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { style: { flexGrow: 1 }, children }) : /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(ParameterShellPlaceholder, { children: [
18988
+ children: isParameterGroup ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { style: { flexGrow: 1 }, children }) : /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(ParameterShellPlaceholder, { children: [
18932
18989
  children,
18933
- hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
18990
+ hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
18934
18991
  ] })
18935
18992
  }
18936
18993
  )
18937
18994
  ] }),
18938
- caption ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Caption, { testId: captionTestId, children: caption }) : null,
18939
- errorMessaging ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null,
18940
- warningMessage ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(WarningMessage, { message: warningMessage }) : null,
18941
- infoMessage ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(InfoMessage, { message: infoMessage }) : null
18995
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
18996
+ FieldMessage,
18997
+ {
18998
+ helperMessageTestId: captionTestId,
18999
+ helperMessage: caption,
19000
+ errorTestId,
19001
+ errorMessage: errorMessaging,
19002
+ warningMessage,
19003
+ infoMessage
19004
+ }
19005
+ )
18942
19006
  ] });
18943
19007
  };
18944
19008
  var ParameterShellPlaceholder = ({ children }) => {
18945
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { css: emptyParameterShell, children });
19009
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { css: emptyParameterShell, children });
18946
19010
  };
18947
- var ParameterOverrideMarker = (props) => /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("span", { hidden: true, children: "reset overridden value to default" }) }) });
19011
+ var ParameterOverrideMarker = (props) => /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("span", { hidden: true, children: "reset overridden value to default" }) }) });
18948
19012
 
18949
19013
  // src/components/ParameterInputs/ParameterImage.tsx
18950
- var import_jsx_runtime99 = require("@emotion/react/jsx-runtime");
19014
+ var import_jsx_runtime100 = require("@emotion/react/jsx-runtime");
18951
19015
  var ParameterImage = (0, import_react112.forwardRef)(
18952
19016
  ({ children, ...props }, ref) => {
18953
19017
  const { shellProps, innerProps } = extractParameterProps(props);
18954
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: [
18955
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(ParameterImageInner, { ref, ...innerProps }),
19018
+ return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: [
19019
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(ParameterImageInner, { ref, ...innerProps }),
18956
19020
  children
18957
19021
  ] });
18958
19022
  }
@@ -18961,8 +19025,8 @@ var ParameterImageInner = (0, import_react112.forwardRef)((props, ref) => {
18961
19025
  const { value } = props;
18962
19026
  const { id, label, hiddenLabel, errorMessage } = useParameterShell();
18963
19027
  const deferredValue = (0, import_react112.useDeferredValue)(value);
18964
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_jsx_runtime99.Fragment, { children: [
18965
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
19028
+ return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_jsx_runtime100.Fragment, { children: [
19029
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
18966
19030
  "input",
18967
19031
  {
18968
19032
  css: input2,
@@ -18974,22 +19038,22 @@ var ParameterImageInner = (0, import_react112.forwardRef)((props, ref) => {
18974
19038
  ...props
18975
19039
  }
18976
19040
  ),
18977
- errorMessage || props.disablePreview ? null : /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(ParameterImagePreview, { imageSrc: deferredValue })
19041
+ errorMessage || props.disablePreview ? null : /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(ParameterImagePreview, { imageSrc: deferredValue })
18978
19042
  ] });
18979
19043
  });
18980
19044
 
18981
19045
  // src/components/ParameterInputs/ParameterInput.tsx
18982
19046
  init_emotion_jsx_shim();
18983
19047
  var import_react113 = require("react");
18984
- var import_jsx_runtime100 = require("@emotion/react/jsx-runtime");
19048
+ var import_jsx_runtime101 = require("@emotion/react/jsx-runtime");
18985
19049
  var ParameterInput = (0, import_react113.forwardRef)((props, ref) => {
18986
19050
  const { shellProps, innerProps } = extractParameterProps(props);
18987
- return /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(ParameterInputInner, { ref, ...innerProps }) });
19051
+ return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(ParameterInputInner, { ref, ...innerProps }) });
18988
19052
  });
18989
19053
  var ParameterInputInner = (0, import_react113.forwardRef)(
18990
19054
  ({ ...props }, ref) => {
18991
19055
  const { id, label, hiddenLabel } = useParameterShell();
18992
- return /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
19056
+ return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
18993
19057
  "input",
18994
19058
  {
18995
19059
  css: input2,
@@ -19007,18 +19071,18 @@ var ParameterInputInner = (0, import_react113.forwardRef)(
19007
19071
  // src/components/ParameterInputs/ParameterLink.tsx
19008
19072
  init_emotion_jsx_shim();
19009
19073
  var import_react114 = require("react");
19010
- var import_jsx_runtime101 = require("@emotion/react/jsx-runtime");
19074
+ var import_jsx_runtime102 = require("@emotion/react/jsx-runtime");
19011
19075
  var ParameterLink = (0, import_react114.forwardRef)(
19012
19076
  ({ disabled: disabled2, onConnectLink, externalLink, ...props }, ref) => {
19013
19077
  const { shellProps, innerProps } = extractParameterProps(props);
19014
- return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
19078
+ return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
19015
19079
  ParameterShell,
19016
19080
  {
19017
19081
  "data-testid": "link-parameter-editor",
19018
19082
  ...shellProps,
19019
19083
  label: innerProps.value ? shellProps.label : "",
19020
19084
  title: !innerProps.value ? shellProps.label : void 0,
19021
- children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
19085
+ children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
19022
19086
  ParameterLinkInner,
19023
19087
  {
19024
19088
  onConnectLink,
@@ -19035,9 +19099,9 @@ var ParameterLinkInner = (0, import_react114.forwardRef)(
19035
19099
  ({ externalLink, onConnectLink, disabled: disabled2, buttonText = "Select link", ...props }, ref) => {
19036
19100
  const { id, label, hiddenLabel } = useParameterShell();
19037
19101
  if (!props.value)
19038
- return /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("button", { type: "button", css: dataConnectButton, disabled: disabled2, onClick: onConnectLink, children: buttonText });
19039
- return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { css: inputWrapper, children: [
19040
- /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
19102
+ return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)("button", { type: "button", css: dataConnectButton, disabled: disabled2, onClick: onConnectLink, children: buttonText });
19103
+ return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { css: inputWrapper, children: [
19104
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
19041
19105
  "input",
19042
19106
  {
19043
19107
  type: "text",
@@ -19049,8 +19113,8 @@ var ParameterLinkInner = (0, import_react114.forwardRef)(
19049
19113
  ...props
19050
19114
  }
19051
19115
  ),
19052
- /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("div", { css: linkParameterControls, children: [
19053
- /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
19116
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { css: linkParameterControls, children: [
19117
+ /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
19054
19118
  "button",
19055
19119
  {
19056
19120
  type: "button",
@@ -19061,7 +19125,7 @@ var ParameterLinkInner = (0, import_react114.forwardRef)(
19061
19125
  children: "edit"
19062
19126
  }
19063
19127
  ),
19064
- externalLink ? /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(
19128
+ externalLink ? /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
19065
19129
  "a",
19066
19130
  {
19067
19131
  href: externalLink,
@@ -19069,7 +19133,7 @@ var ParameterLinkInner = (0, import_react114.forwardRef)(
19069
19133
  title: "Open link in new tab",
19070
19134
  target: "_blank",
19071
19135
  rel: "noopener noreferrer",
19072
- children: /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
19136
+ children: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
19073
19137
  }
19074
19138
  ) : null
19075
19139
  ] })
@@ -19079,7 +19143,7 @@ var ParameterLinkInner = (0, import_react114.forwardRef)(
19079
19143
 
19080
19144
  // src/components/ParameterInputs/ParameterNameAndPublicIdInput.tsx
19081
19145
  init_emotion_jsx_shim();
19082
- var import_jsx_runtime102 = require("@emotion/react/jsx-runtime");
19146
+ var import_jsx_runtime103 = require("@emotion/react/jsx-runtime");
19083
19147
  var ParameterNameAndPublicIdInput = ({
19084
19148
  id,
19085
19149
  onBlur,
@@ -19105,8 +19169,8 @@ var ParameterNameAndPublicIdInput = ({
19105
19169
  navigator.clipboard.writeText(values[publicIdFieldName]);
19106
19170
  };
19107
19171
  autoFocus == null ? void 0 : autoFocus();
19108
- return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_jsx_runtime102.Fragment, { children: [
19109
- /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
19172
+ return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_jsx_runtime103.Fragment, { children: [
19173
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
19110
19174
  ParameterInput,
19111
19175
  {
19112
19176
  id: nameIdField,
@@ -19125,7 +19189,7 @@ var ParameterNameAndPublicIdInput = ({
19125
19189
  value: values[nameIdField]
19126
19190
  }
19127
19191
  ),
19128
- /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
19192
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
19129
19193
  ParameterInput,
19130
19194
  {
19131
19195
  id: publicIdFieldName,
@@ -19139,11 +19203,11 @@ var ParameterNameAndPublicIdInput = ({
19139
19203
  caption: !publicIdError ? publicIdCaption : void 0,
19140
19204
  placeholder: publicIdPlaceholderText,
19141
19205
  errorMessage: publicIdError,
19142
- menuItems: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
19206
+ menuItems: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
19143
19207
  MenuItem,
19144
19208
  {
19145
19209
  disabled: !values[publicIdFieldName],
19146
- icon: /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Icon, { icon: "path-trim", iconColor: "currentColor" }),
19210
+ icon: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Icon, { icon: "path-trim", iconColor: "currentColor" }),
19147
19211
  onClick: handleCopyPidFieldValue,
19148
19212
  children: "Copy"
19149
19213
  }
@@ -19151,7 +19215,7 @@ var ParameterNameAndPublicIdInput = ({
19151
19215
  value: values[publicIdFieldName]
19152
19216
  }
19153
19217
  ),
19154
- (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(Callout, { type: "caution", children: warnOverLength.message }) : null
19218
+ (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Callout, { type: "caution", children: warnOverLength.message }) : null
19155
19219
  ] });
19156
19220
  };
19157
19221
 
@@ -19530,7 +19594,7 @@ var getSelectedNode = (selection) => {
19530
19594
  };
19531
19595
 
19532
19596
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
19533
- var import_jsx_runtime103 = require("@emotion/react/jsx-runtime");
19597
+ var import_jsx_runtime104 = require("@emotion/react/jsx-runtime");
19534
19598
  var isProjectMapLinkValue = (value) => {
19535
19599
  return (value == null ? void 0 : value.type) === "projectMapNode" && Boolean(
19536
19600
  value.nodeId && value.path && value.projectMapId
@@ -19973,8 +20037,8 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
19973
20037
  });
19974
20038
  });
19975
20039
  };
19976
- return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_jsx_runtime103.Fragment, { children: [
19977
- /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
20040
+ return /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)(import_jsx_runtime104.Fragment, { children: [
20041
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
19978
20042
  import_LexicalNodeEventPlugin.NodeEventPlugin,
19979
20043
  {
19980
20044
  nodeType: LinkNode,
@@ -19984,7 +20048,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
19984
20048
  }
19985
20049
  }
19986
20050
  ),
19987
- linkPopoverState ? /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
20051
+ linkPopoverState ? /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
19988
20052
  "div",
19989
20053
  {
19990
20054
  css: linkPopover,
@@ -19993,8 +20057,8 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
19993
20057
  top: linkPopoverState.position.y
19994
20058
  },
19995
20059
  ref: linkPopoverElRef,
19996
- children: /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)("div", { css: linkPopoverContainer, children: [
19997
- linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
20060
+ children: /* @__PURE__ */ (0, import_jsx_runtime104.jsxs)("div", { css: linkPopoverContainer, children: [
20061
+ linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
19998
20062
  "a",
19999
20063
  {
20000
20064
  href: parsePath(
@@ -20006,7 +20070,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
20006
20070
  children: parsePath(linkPopoverState.node.__link.path)
20007
20071
  }
20008
20072
  ),
20009
- /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
20073
+ /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
20010
20074
  Button,
20011
20075
  {
20012
20076
  size: "xs",
@@ -20014,7 +20078,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
20014
20078
  onEditLinkNode(linkPopoverState.node);
20015
20079
  },
20016
20080
  buttonType: "ghost",
20017
- children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
20081
+ children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
20018
20082
  }
20019
20083
  )
20020
20084
  ] })
@@ -20035,7 +20099,7 @@ var import_LexicalComposerContext3 = require("@lexical/react/LexicalComposerCont
20035
20099
  var import_LexicalTabIndentationPlugin = require("@lexical/react/LexicalTabIndentationPlugin");
20036
20100
  var import_lexical4 = require("lexical");
20037
20101
  var import_react118 = require("react");
20038
- var import_jsx_runtime104 = require("@emotion/react/jsx-runtime");
20102
+ var import_jsx_runtime105 = require("@emotion/react/jsx-runtime");
20039
20103
  function isIndentPermitted(maxDepth) {
20040
20104
  const selection = (0, import_lexical4.$getSelection)();
20041
20105
  if (!(0, import_lexical4.$isRangeSelection)(selection)) {
@@ -20065,7 +20129,7 @@ function ListIndentPlugin({ maxDepth }) {
20065
20129
  import_lexical4.COMMAND_PRIORITY_CRITICAL
20066
20130
  );
20067
20131
  }, [editor, maxDepth]);
20068
- return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_LexicalTabIndentationPlugin.TabIndentationPlugin, {});
20132
+ return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_LexicalTabIndentationPlugin.TabIndentationPlugin, {});
20069
20133
  }
20070
20134
 
20071
20135
  // src/components/ParameterInputs/rich-text/RichTextToolbar.tsx
@@ -20079,7 +20143,7 @@ var import_selection2 = require("@lexical/selection");
20079
20143
  var import_utils6 = require("@lexical/utils");
20080
20144
  var import_lexical5 = require("lexical");
20081
20145
  var import_react120 = require("react");
20082
- var import_jsx_runtime105 = require("@emotion/react/jsx-runtime");
20146
+ var import_jsx_runtime106 = require("@emotion/react/jsx-runtime");
20083
20147
  var toolbar = import_react119.css`
20084
20148
  background: var(--gray-50);
20085
20149
  border-radius: var(--rounded-base);
@@ -20131,7 +20195,7 @@ var toolbarChevron = import_react119.css`
20131
20195
  margin-left: var(--spacing-xs);
20132
20196
  `;
20133
20197
  var RichTextToolbarIcon = ({ icon }) => {
20134
- return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Icon, { icon, css: toolbarIcon, size: "1rem" });
20198
+ return /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Icon, { icon, css: toolbarIcon, size: "1rem" });
20135
20199
  };
20136
20200
  var FORMATS_WITH_ICON = /* @__PURE__ */ new Map([
20137
20201
  ["bold", "format-bold"],
@@ -20240,15 +20304,15 @@ var RichTextToolbar = ({ config, customControls }) => {
20240
20304
  });
20241
20305
  });
20242
20306
  }, [editor, updateToolbar]);
20243
- return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { css: toolbar, children: [
20244
- /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(
20307
+ return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { css: toolbar, children: [
20308
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
20245
20309
  Menu,
20246
20310
  {
20247
20311
  menuLabel: "Elements",
20248
- menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("button", { css: richTextToolbarButton, title: "Text styles", children: [
20312
+ menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("button", { css: richTextToolbarButton, title: "Text styles", children: [
20249
20313
  visibleTextualElements.some((element) => element.type === activeElement) ? getLabelForElement(activeElement) : getLabelForElement("paragraph"),
20250
20314
  " ",
20251
- /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
20315
+ /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
20252
20316
  ] }),
20253
20317
  placement: "bottom-start",
20254
20318
  children: [
@@ -20258,7 +20322,7 @@ var RichTextToolbar = ({ config, customControls }) => {
20258
20322
  type: "paragraph"
20259
20323
  },
20260
20324
  ...visibleTextualElements
20261
- ].map((element) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
20325
+ ].map((element) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
20262
20326
  MenuItem,
20263
20327
  {
20264
20328
  onClick: () => {
@@ -20268,12 +20332,12 @@ var RichTextToolbar = ({ config, customControls }) => {
20268
20332
  },
20269
20333
  element.type
20270
20334
  )),
20271
- visibleTextualElements.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
20335
+ visibleTextualElements.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
20272
20336
  ]
20273
20337
  }
20274
20338
  ),
20275
- visibleFormatsWithIcon.length > 0 || visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { css: toolbarGroup, children: [
20276
- visibleFormatsWithIcon.map((format) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
20339
+ visibleFormatsWithIcon.length > 0 || visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { css: toolbarGroup, children: [
20340
+ visibleFormatsWithIcon.map((format) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
20277
20341
  "button",
20278
20342
  {
20279
20343
  onClick: () => {
@@ -20283,16 +20347,16 @@ var RichTextToolbar = ({ config, customControls }) => {
20283
20347
  richTextToolbarButton,
20284
20348
  activeFormats.includes(format.type) ? richTextToolbarButtonActive : null
20285
20349
  ],
20286
- children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
20350
+ children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
20287
20351
  }
20288
20352
  ) }, format.type)),
20289
- visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
20353
+ visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
20290
20354
  Menu,
20291
20355
  {
20292
20356
  menuLabel: "Alternative text styles",
20293
- menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("button", { css: richTextToolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Icon, { icon: "more-alt", css: toolbarIcon }) }),
20357
+ menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("button", { css: richTextToolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Icon, { icon: "more-alt", css: toolbarIcon }) }),
20294
20358
  placement: "bottom-start",
20295
- children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
20359
+ children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
20296
20360
  MenuItem,
20297
20361
  {
20298
20362
  onClick: () => {
@@ -20305,19 +20369,19 @@ var RichTextToolbar = ({ config, customControls }) => {
20305
20369
  }
20306
20370
  ) : null
20307
20371
  ] }) : null,
20308
- visibleElementsWithIcons.size > 0 ? /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { css: toolbarGroup, children: [
20309
- linkElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
20372
+ visibleElementsWithIcons.size > 0 ? /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { css: toolbarGroup, children: [
20373
+ linkElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
20310
20374
  "button",
20311
20375
  {
20312
20376
  onClick: () => {
20313
20377
  isLink ? editor.dispatchCommand(REMOVE_LINK_NODE_COMMAND, {}) : editor.dispatchCommand(OPEN_LINK_NODE_MODAL_COMMAND, {});
20314
20378
  },
20315
20379
  css: [richTextToolbarButton, isLink ? richTextToolbarButtonActive : null],
20316
- children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(RichTextToolbarIcon, { icon: "link" })
20380
+ children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(RichTextToolbarIcon, { icon: "link" })
20317
20381
  }
20318
20382
  ) }) : null,
20319
- visibleLists.size > 0 ? /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)(import_jsx_runtime105.Fragment, { children: [
20320
- visibleLists.has("unorderedList") ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
20383
+ visibleLists.size > 0 ? /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_jsx_runtime106.Fragment, { children: [
20384
+ visibleLists.has("unorderedList") ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
20321
20385
  "button",
20322
20386
  {
20323
20387
  onClick: () => {
@@ -20327,10 +20391,10 @@ var RichTextToolbar = ({ config, customControls }) => {
20327
20391
  richTextToolbarButton,
20328
20392
  activeElement === "unorderedList" ? richTextToolbarButtonActive : null
20329
20393
  ],
20330
- children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(RichTextToolbarIcon, { icon: "layout-list" })
20394
+ children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(RichTextToolbarIcon, { icon: "layout-list" })
20331
20395
  }
20332
20396
  ) }) : null,
20333
- visibleLists.has("orderedList") ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
20397
+ visibleLists.has("orderedList") ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
20334
20398
  "button",
20335
20399
  {
20336
20400
  onClick: () => {
@@ -20340,32 +20404,32 @@ var RichTextToolbar = ({ config, customControls }) => {
20340
20404
  richTextToolbarButton,
20341
20405
  activeElement === "orderedList" ? richTextToolbarButtonActive : null
20342
20406
  ],
20343
- children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(RichTextToolbarIcon, { icon: "layout-list-numbered" })
20407
+ children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(RichTextToolbarIcon, { icon: "layout-list-numbered" })
20344
20408
  }
20345
20409
  ) }) : null
20346
20410
  ] }) : null,
20347
- quoteElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
20411
+ quoteElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
20348
20412
  "button",
20349
20413
  {
20350
20414
  onClick: () => {
20351
20415
  activeElement === "quote" ? onSelectElement("paragraph") : onSelectElement("quote");
20352
20416
  },
20353
20417
  css: [richTextToolbarButton, activeElement === "quote" ? richTextToolbarButtonActive : null],
20354
- children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(RichTextToolbarIcon, { icon: "quote" })
20418
+ children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(RichTextToolbarIcon, { icon: "quote" })
20355
20419
  }
20356
20420
  ) }) : null,
20357
- codeElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
20421
+ codeElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
20358
20422
  "button",
20359
20423
  {
20360
20424
  onClick: () => {
20361
20425
  activeElement === "code" ? onSelectElement("paragraph") : onSelectElement("code");
20362
20426
  },
20363
20427
  css: [richTextToolbarButton, activeElement === "code" ? richTextToolbarButtonActive : null],
20364
- children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(RichTextToolbarIcon, { icon: "code-slash" })
20428
+ children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(RichTextToolbarIcon, { icon: "code-slash" })
20365
20429
  }
20366
20430
  ) }) : null
20367
20431
  ] }) : null,
20368
- customControls ? /* @__PURE__ */ (0, import_jsx_runtime105.jsx)("div", { css: toolbarGroup, children: customControls }) : null
20432
+ customControls ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { css: toolbarGroup, children: customControls }) : null
20369
20433
  ] });
20370
20434
  };
20371
20435
  var RichTextToolbar_default = RichTextToolbar;
@@ -20479,7 +20543,7 @@ var useRichTextToolbarState = ({ config }) => {
20479
20543
  };
20480
20544
 
20481
20545
  // src/components/ParameterInputs/ParameterRichText.tsx
20482
- var import_jsx_runtime106 = require("@emotion/react/jsx-runtime");
20546
+ var import_jsx_runtime107 = require("@emotion/react/jsx-runtime");
20483
20547
  var ParameterRichText = ({
20484
20548
  label,
20485
20549
  labelLeadingIcon,
@@ -20504,7 +20568,7 @@ var ParameterRichText = ({
20504
20568
  variables,
20505
20569
  customControls
20506
20570
  }) => {
20507
- return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(
20571
+ return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
20508
20572
  ParameterShell,
20509
20573
  {
20510
20574
  "data-testid": "parameter-richtext",
@@ -20518,7 +20582,7 @@ var ParameterRichText = ({
20518
20582
  captionTestId,
20519
20583
  menuItems,
20520
20584
  children: [
20521
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
20585
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
20522
20586
  ParameterRichTextInner,
20523
20587
  {
20524
20588
  value,
@@ -20536,7 +20600,7 @@ var ParameterRichText = ({
20536
20600
  children
20537
20601
  }
20538
20602
  ),
20539
- menuItems ? /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_jsx_runtime106.Fragment, { children: menuItems }) }) : null
20603
+ menuItems ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_jsx_runtime107.Fragment, { children: menuItems }) }) : null
20540
20604
  ]
20541
20605
  }
20542
20606
  );
@@ -20647,8 +20711,8 @@ var ParameterRichTextInner = ({
20647
20711
  },
20648
20712
  editable: !readOnly
20649
20713
  };
20650
- return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_jsx_runtime106.Fragment, { children: [
20651
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_LexicalComposer.LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
20714
+ return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_jsx_runtime107.Fragment, { children: [
20715
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_LexicalComposer.LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
20652
20716
  RichText,
20653
20717
  {
20654
20718
  onChange,
@@ -20707,20 +20771,20 @@ var RichText = ({
20707
20771
  (0, import_react122.useEffect)(() => {
20708
20772
  editor.setEditable(!readOnly);
20709
20773
  }, [editor, readOnly]);
20710
- return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_jsx_runtime106.Fragment, { children: [
20711
- readOnly ? null : /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(RichTextToolbar_default, { config, customControls }),
20712
- /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)("div", { css: editorContainer, ref: editorContainerRef, "data-testid": "value-container", children: [
20713
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
20774
+ return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_jsx_runtime107.Fragment, { children: [
20775
+ readOnly ? null : /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(RichTextToolbar_default, { config, customControls }),
20776
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { css: editorContainer, ref: editorContainerRef, "data-testid": "value-container", children: [
20777
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
20714
20778
  import_LexicalRichTextPlugin.RichTextPlugin,
20715
20779
  {
20716
- contentEditable: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_LexicalContentEditable.ContentEditable, { css: editorInput, className: editorInputClassName }),
20717
- placeholder: /* @__PURE__ */ (0, import_jsx_runtime106.jsx)("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
20780
+ contentEditable: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_LexicalContentEditable.ContentEditable, { css: editorInput, className: editorInputClassName }),
20781
+ placeholder: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
20718
20782
  ErrorBoundary: import_LexicalErrorBoundary.default
20719
20783
  }
20720
20784
  ),
20721
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_LexicalListPlugin.ListPlugin, {}),
20722
- readOnly ? null : /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_LexicalHistoryPlugin.HistoryPlugin, {}),
20723
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
20785
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_LexicalListPlugin.ListPlugin, {}),
20786
+ readOnly ? null : /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_LexicalHistoryPlugin.HistoryPlugin, {}),
20787
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
20724
20788
  LinkNodePlugin,
20725
20789
  {
20726
20790
  onConnectLink: onConnectLink ? onConnectLink : () => Promise.resolve(),
@@ -20730,10 +20794,10 @@ var RichText = ({
20730
20794
  } : void 0
20731
20795
  }
20732
20796
  ),
20733
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(ListIndentPlugin, { maxDepth: 4 }),
20734
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(DisableStylesPlugin, {}),
20735
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_LexicalMarkdownShortcutPlugin.MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS }),
20736
- /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(import_jsx_runtime106.Fragment, { children })
20797
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(ListIndentPlugin, { maxDepth: 4 }),
20798
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(DisableStylesPlugin, {}),
20799
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_LexicalMarkdownShortcutPlugin.MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS }),
20800
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_jsx_runtime107.Fragment, { children })
20737
20801
  ] })
20738
20802
  ] });
20739
20803
  };
@@ -20741,17 +20805,17 @@ var RichText = ({
20741
20805
  // src/components/ParameterInputs/ParameterSelect.tsx
20742
20806
  init_emotion_jsx_shim();
20743
20807
  var import_react123 = require("react");
20744
- var import_jsx_runtime107 = require("@emotion/react/jsx-runtime");
20808
+ var import_jsx_runtime108 = require("@emotion/react/jsx-runtime");
20745
20809
  var ParameterSelect = (0, import_react123.forwardRef)(
20746
20810
  ({ defaultOption, options, ...props }, ref) => {
20747
20811
  const { shellProps, innerProps } = extractParameterProps(props);
20748
- return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
20812
+ return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
20749
20813
  }
20750
20814
  );
20751
20815
  var ParameterSelectInner = (0, import_react123.forwardRef)(
20752
20816
  ({ defaultOption, options, ...props }, ref) => {
20753
20817
  const { id, label, hiddenLabel } = useParameterShell();
20754
- return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(
20818
+ return /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(
20755
20819
  "select",
20756
20820
  {
20757
20821
  css: [input2, selectInput],
@@ -20760,10 +20824,10 @@ var ParameterSelectInner = (0, import_react123.forwardRef)(
20760
20824
  ref,
20761
20825
  ...props,
20762
20826
  children: [
20763
- defaultOption ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("option", { value: "", children: defaultOption }) : null,
20827
+ defaultOption ? /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("option", { value: "", children: defaultOption }) : null,
20764
20828
  options.map((option) => {
20765
20829
  var _a;
20766
- return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
20830
+ return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
20767
20831
  })
20768
20832
  ]
20769
20833
  }
@@ -20774,14 +20838,14 @@ var ParameterSelectInner = (0, import_react123.forwardRef)(
20774
20838
  // src/components/ParameterInputs/ParameterTextarea.tsx
20775
20839
  init_emotion_jsx_shim();
20776
20840
  var import_react124 = require("react");
20777
- var import_jsx_runtime108 = require("@emotion/react/jsx-runtime");
20841
+ var import_jsx_runtime109 = require("@emotion/react/jsx-runtime");
20778
20842
  var ParameterTextarea = (0, import_react124.forwardRef)((props, ref) => {
20779
20843
  const { shellProps, innerProps } = extractParameterProps(props);
20780
- return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(ParameterTextareaInner, { ref, ...innerProps }) });
20844
+ return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(ParameterTextareaInner, { ref, ...innerProps }) });
20781
20845
  });
20782
20846
  var ParameterTextareaInner = (0, import_react124.forwardRef)(({ ...props }, ref) => {
20783
20847
  const { id, label, hiddenLabel } = useParameterShell();
20784
- return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
20848
+ return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
20785
20849
  "textarea",
20786
20850
  {
20787
20851
  css: [input2, textarea2],
@@ -20796,17 +20860,17 @@ var ParameterTextareaInner = (0, import_react124.forwardRef)(({ ...props }, ref)
20796
20860
  // src/components/ParameterInputs/ParameterToggle.tsx
20797
20861
  init_emotion_jsx_shim();
20798
20862
  var import_react125 = require("react");
20799
- var import_jsx_runtime109 = require("@emotion/react/jsx-runtime");
20863
+ var import_jsx_runtime110 = require("@emotion/react/jsx-runtime");
20800
20864
  var ParameterToggle = (0, import_react125.forwardRef)((props, ref) => {
20801
20865
  const { shellProps, innerProps } = extractParameterProps(props);
20802
- return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(ParameterToggleInner, { ref, ...innerProps }) });
20866
+ return /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(ParameterToggleInner, { ref, ...innerProps }) });
20803
20867
  });
20804
20868
  var ParameterToggleInner = (0, import_react125.forwardRef)(
20805
20869
  ({ ...props }, ref) => {
20806
20870
  const { id, label } = useParameterShell();
20807
- return /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)("label", { css: inputToggleLabel2, children: [
20808
- /* @__PURE__ */ (0, import_jsx_runtime109.jsx)("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
20809
- /* @__PURE__ */ (0, import_jsx_runtime109.jsx)("span", { css: inlineLabel2, children: label })
20871
+ return /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("label", { css: inputToggleLabel2, children: [
20872
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsx)("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
20873
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsx)("span", { css: inlineLabel2, children: label })
20810
20874
  ] });
20811
20875
  }
20812
20876
  );
@@ -20870,7 +20934,7 @@ var bar = import_react126.css`
20870
20934
  `;
20871
20935
 
20872
20936
  // src/components/ProgressBar/ProgressBar.tsx
20873
- var import_jsx_runtime110 = require("@emotion/react/jsx-runtime");
20937
+ var import_jsx_runtime111 = require("@emotion/react/jsx-runtime");
20874
20938
  function ProgressBar({
20875
20939
  current,
20876
20940
  max,
@@ -20880,7 +20944,7 @@ function ProgressBar({
20880
20944
  }) {
20881
20945
  const valueNow = Math.min(current, max);
20882
20946
  const valuePercentage = max > 0 ? Math.ceil(100 / max * valueNow) : 0;
20883
- return /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
20947
+ return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
20884
20948
  "div",
20885
20949
  {
20886
20950
  css: container2,
@@ -20891,7 +20955,7 @@ function ProgressBar({
20891
20955
  "aria-valuemax": max,
20892
20956
  "aria-valuenow": valueNow,
20893
20957
  ...props,
20894
- children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
20958
+ children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
20895
20959
  "div",
20896
20960
  {
20897
20961
  css: [
@@ -20933,7 +20997,7 @@ var progressListItemStyles = import_react127.css`
20933
20997
  `;
20934
20998
 
20935
20999
  // src/components/ProgressList/ProgressList.tsx
20936
- var import_jsx_runtime111 = require("@emotion/react/jsx-runtime");
21000
+ var import_jsx_runtime112 = require("@emotion/react/jsx-runtime");
20937
21001
  var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
20938
21002
  const itemsWithStatus = (0, import_react129.useMemo)(() => {
20939
21003
  const indexOfInProgressItem = items.findIndex(({ id }) => id === inProgressId);
@@ -20947,8 +21011,8 @@ var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
20947
21011
  return { ...item, status };
20948
21012
  });
20949
21013
  }, [items, inProgressId]);
20950
- return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
20951
- return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
21014
+ return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
21015
+ return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
20952
21016
  ProgressListItem,
20953
21017
  {
20954
21018
  status,
@@ -21006,11 +21070,11 @@ var ProgressListItem = ({
21006
21070
  };
21007
21071
  return colorPerStatus[status];
21008
21072
  }, [status, error, errorLevel]);
21009
- return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("li", { css: [progressListItemStyles, statusStyles], children: [
21010
- /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Icon, { icon, size: 20, iconColor: "currentColor" }) }) }),
21011
- /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { children: [
21073
+ return /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("li", { css: [progressListItemStyles, statusStyles], children: [
21074
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Icon, { icon, size: 20, iconColor: "currentColor" }) }) }),
21075
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { children: [
21012
21076
  children,
21013
- /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
21077
+ /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
21014
21078
  ] })
21015
21079
  ] });
21016
21080
  };
@@ -21144,7 +21208,7 @@ var segmentedControlLabelContentStyles = import_react130.css`
21144
21208
  var segmentedControlLabelTextStyles = import_react130.css``;
21145
21209
 
21146
21210
  // src/components/SegmentedControl/SegmentedControl.tsx
21147
- var import_jsx_runtime112 = require("@emotion/react/jsx-runtime");
21211
+ var import_jsx_runtime113 = require("@emotion/react/jsx-runtime");
21148
21212
  var SegmentedControl = ({
21149
21213
  name,
21150
21214
  options,
@@ -21175,7 +21239,7 @@ var SegmentedControl = ({
21175
21239
  const isIconOnly = (0, import_react132.useMemo)(() => {
21176
21240
  return options.every((option) => option && option.icon && !option.label);
21177
21241
  }, [options]);
21178
- return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
21242
+ return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
21179
21243
  "div",
21180
21244
  {
21181
21245
  css: [segmentedControlStyles, orientation === "vertical" ? segmentedControlVerticalStyles : void 0],
@@ -21186,11 +21250,11 @@ var SegmentedControl = ({
21186
21250
  }
21187
21251
  const text = option.label ? option.label : option.icon ? null : String(option.value);
21188
21252
  const isDisabled = disabled2 || option.disabled;
21189
- return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
21253
+ return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
21190
21254
  Tooltip,
21191
21255
  {
21192
21256
  title: isDisabled || !option.tooltip ? "" : option.tooltip,
21193
- children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("div", { css: segmentedControlItemStyles, "data-testid": "container-segmented-control", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(
21257
+ children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { css: segmentedControlItemStyles, "data-testid": "container-segmented-control", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
21194
21258
  "label",
21195
21259
  {
21196
21260
  css: [
@@ -21199,7 +21263,7 @@ var SegmentedControl = ({
21199
21263
  isIconOnly ? segmentedControlLabelIconOnlyStyles : void 0
21200
21264
  ],
21201
21265
  children: [
21202
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
21266
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
21203
21267
  "input",
21204
21268
  {
21205
21269
  css: segmentedControlInputStyles,
@@ -21211,10 +21275,10 @@ var SegmentedControl = ({
21211
21275
  disabled: isDisabled
21212
21276
  }
21213
21277
  ),
21214
- option.value !== value || noCheckmark ? null : /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_CgCheck5.CgCheck, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
21215
- /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("span", { css: segmentedControlLabelContentStyles, children: [
21216
- !option.icon ? null : /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Icon, { icon: option.icon, size: "1.5em", iconColor: "currentColor" }),
21217
- !text ? null : /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("span", { css: segmentedControlLabelTextStyles, children: text })
21278
+ option.value !== value || noCheckmark ? null : /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_CgCheck5.CgCheck, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
21279
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("span", { css: segmentedControlLabelContentStyles, children: [
21280
+ !option.icon ? null : /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Icon, { icon: option.icon, size: "1.5em", iconColor: "currentColor" }),
21281
+ !text ? null : /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("span", { css: segmentedControlLabelTextStyles, children: text })
21218
21282
  ] })
21219
21283
  ]
21220
21284
  }
@@ -21243,7 +21307,7 @@ var skeletonStyles = import_react133.css`
21243
21307
  `;
21244
21308
 
21245
21309
  // src/components/Skeleton/Skeleton.tsx
21246
- var import_jsx_runtime113 = require("@emotion/react/jsx-runtime");
21310
+ var import_jsx_runtime114 = require("@emotion/react/jsx-runtime");
21247
21311
  var Skeleton = ({
21248
21312
  width = "100%",
21249
21313
  height = "1.25rem",
@@ -21251,7 +21315,7 @@ var Skeleton = ({
21251
21315
  circle = false,
21252
21316
  children,
21253
21317
  ...otherProps
21254
- }) => /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
21318
+ }) => /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
21255
21319
  "div",
21256
21320
  {
21257
21321
  css: [
@@ -21360,19 +21424,19 @@ var SwitchText = import_react134.css`
21360
21424
  `;
21361
21425
 
21362
21426
  // src/components/Switch/Switch.tsx
21363
- var import_jsx_runtime114 = require("@emotion/react/jsx-runtime");
21427
+ var import_jsx_runtime115 = require("@emotion/react/jsx-runtime");
21364
21428
  var Switch = React23.forwardRef(
21365
21429
  ({ label, infoText, toggleText, children, ...inputProps }, ref) => {
21366
21430
  let additionalText = infoText;
21367
21431
  if (infoText && toggleText) {
21368
21432
  additionalText = inputProps.checked ? toggleText : infoText;
21369
21433
  }
21370
- return /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_jsx_runtime114.Fragment, { children: [
21371
- /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
21372
- /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
21373
- /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("span", { css: SwitchInputLabel, children: label })
21434
+ return /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(import_jsx_runtime115.Fragment, { children: [
21435
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
21436
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
21437
+ /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("span", { css: SwitchInputLabel, children: label })
21374
21438
  ] }),
21375
- additionalText ? /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("p", { css: SwitchText, children: additionalText }) : null,
21439
+ additionalText ? /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("p", { css: SwitchText, children: additionalText }) : null,
21376
21440
  children
21377
21441
  ] });
21378
21442
  }
@@ -21411,40 +21475,40 @@ var tableCellHead = import_react135.css`
21411
21475
  `;
21412
21476
 
21413
21477
  // src/components/Table/Table.tsx
21414
- var import_jsx_runtime115 = require("@emotion/react/jsx-runtime");
21478
+ var import_jsx_runtime116 = require("@emotion/react/jsx-runtime");
21415
21479
  var Table = React24.forwardRef(
21416
21480
  ({ children, cellPadding, ...otherProps }, ref) => {
21417
- return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("table", { ref, css: table({ cellPadding }), ...otherProps, children });
21481
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("table", { ref, css: table({ cellPadding }), ...otherProps, children });
21418
21482
  }
21419
21483
  );
21420
21484
  var TableHead = React24.forwardRef(
21421
21485
  ({ children, ...otherProps }, ref) => {
21422
- return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("thead", { ref, css: tableHead, ...otherProps, children });
21486
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("thead", { ref, css: tableHead, ...otherProps, children });
21423
21487
  }
21424
21488
  );
21425
21489
  var TableBody = React24.forwardRef(
21426
21490
  ({ children, ...otherProps }, ref) => {
21427
- return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("tbody", { ref, ...otherProps, children });
21491
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("tbody", { ref, ...otherProps, children });
21428
21492
  }
21429
21493
  );
21430
21494
  var TableFoot = React24.forwardRef(
21431
21495
  ({ children, ...otherProps }, ref) => {
21432
- return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("tfoot", { ref, ...otherProps, children });
21496
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("tfoot", { ref, ...otherProps, children });
21433
21497
  }
21434
21498
  );
21435
21499
  var TableRow = React24.forwardRef(
21436
21500
  ({ children, ...otherProps }, ref) => {
21437
- return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("tr", { ref, css: tableRow, ...otherProps, children });
21501
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("tr", { ref, css: tableRow, ...otherProps, children });
21438
21502
  }
21439
21503
  );
21440
21504
  var TableCellHead = React24.forwardRef(
21441
21505
  ({ children, ...otherProps }, ref) => {
21442
- return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("th", { ref, css: tableCellHead, ...otherProps, children });
21506
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("th", { ref, css: tableCellHead, ...otherProps, children });
21443
21507
  }
21444
21508
  );
21445
21509
  var TableCellData = React24.forwardRef(
21446
21510
  ({ children, ...otherProps }, ref) => {
21447
- return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("td", { ref, ...otherProps, children });
21511
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("td", { ref, ...otherProps, children });
21448
21512
  }
21449
21513
  );
21450
21514
 
@@ -21480,7 +21544,7 @@ var tabButtonGroupStyles = import_react136.css`
21480
21544
  `;
21481
21545
 
21482
21546
  // src/components/Tabs/Tabs.tsx
21483
- var import_jsx_runtime116 = require("@emotion/react/jsx-runtime");
21547
+ var import_jsx_runtime117 = require("@emotion/react/jsx-runtime");
21484
21548
  var useCurrentTab = () => {
21485
21549
  const context = (0, import_react137.useTabStore)();
21486
21550
  if (!context) {
@@ -21518,23 +21582,267 @@ var Tabs = ({
21518
21582
  tab.setSelectedId(selected);
21519
21583
  }
21520
21584
  }, [selected, tab]);
21521
- return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_react137.TabProvider, { store: tab, setSelectedId: onTabSelect, children });
21585
+ return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(import_react137.TabProvider, { store: tab, setSelectedId: onTabSelect, children });
21522
21586
  };
21523
21587
  var TabButtonGroup = ({ children, ...props }) => {
21524
- return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_react137.TabList, { ...props, css: tabButtonGroupStyles, children });
21588
+ return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(import_react137.TabList, { ...props, css: tabButtonGroupStyles, children });
21525
21589
  };
21526
21590
  var TabButton = ({
21527
21591
  children,
21528
21592
  id,
21529
21593
  ...props
21530
21594
  }) => {
21531
- return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_react137.Tab, { type: "button", id, ...props, css: tabButtonStyles, children });
21595
+ return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(import_react137.Tab, { type: "button", id, ...props, css: tabButtonStyles, children });
21532
21596
  };
21533
21597
  var TabContent = ({
21534
21598
  children,
21535
21599
  ...props
21536
21600
  }) => {
21537
- return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(import_react137.TabPanel, { ...props, children });
21601
+ return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(import_react137.TabPanel, { ...props, children });
21602
+ };
21603
+
21604
+ // src/components/Toast/Toast.tsx
21605
+ init_emotion_jsx_shim();
21606
+ var import_react_toastify = require("react-toastify");
21607
+
21608
+ // src/components/Toast/Toast.styles.ts
21609
+ init_emotion_jsx_shim();
21610
+ var import_react139 = require("@emotion/react");
21611
+ var toastContainerStyles = import_react139.css`
21612
+ ${functionalColors}
21613
+
21614
+ --toastify-color-light: white;
21615
+ --toastify-color-info: var(--info-icon);
21616
+ --toastify-color-success: var(--success-icon);
21617
+ --toastify-color-warning: var(--caution-icon);
21618
+ --toastify-color-error: var(--danger-icon);
21619
+ --toastify-color-transparent: rgba(255, 255, 255, 0.7);
21620
+ --toastify-icon-color-info: var(--toastify-color-info);
21621
+ --toastify-icon-color-success: var(--toastify-color-success);
21622
+ --toastify-icon-color-warning: var(--toastify-color-warning);
21623
+ --toastify-icon-color-error: var(--toastify-color-error);
21624
+ --toastify-toast-width: 24rem;
21625
+ --toastify-toast-background: white;
21626
+ --toastify-toast-min-height: 4rem;
21627
+ --toastify-toast-max-height: 50rem;
21628
+ --toastify-z-index: 9999;
21629
+ --toastify-text-color-info: white;
21630
+ --toastify-text-color-success: white;
21631
+ --toastify-text-color-warning: white;
21632
+ --toastify-text-color-error: white;
21633
+ --toastify-spinner-color: var(--gray-600);
21634
+ --toastify-spinner-color-empty-area: var(--gray-200);
21635
+ --toastify-color-progress-light: var(--accent-light);
21636
+ --toastify-color-progress-info: var(--toastify-color-info);
21637
+ --toastify-color-progress-success: var(--toastify-color-success);
21638
+ --toastify-color-progress-warning: var(--toastify-color-warning);
21639
+ --toastify-color-progress-error: var(--toastify-color-error);
21640
+
21641
+ &.Toastify__toast-container {
21642
+ z-index: var(--toastify-z-index);
21643
+ transform: translate3d(0, 0, var(--toastify-z-index));
21644
+ position: fixed;
21645
+ padding: var(--spacing-xs);
21646
+ width: var(--toastify-toast-width);
21647
+ color: white;
21648
+ }
21649
+ &.Toastify__toast-container--bottom-right {
21650
+ bottom: var(--spacing-base);
21651
+ right: var(--spacing-base);
21652
+ }
21653
+
21654
+ @media only screen and (max-width: 480px) {
21655
+ &.Toastify__toast-container {
21656
+ width: 100vw;
21657
+ padding: 0;
21658
+ left: 0;
21659
+ margin: 0;
21660
+ }
21661
+ &.Toastify__toast-container--bottom-right {
21662
+ bottom: 0;
21663
+ transform: translateX(0);
21664
+ }
21665
+ }
21666
+ .Toastify__toast {
21667
+ position: relative;
21668
+ display: flex;
21669
+ justify-content: space-between;
21670
+ min-height: var(--toastify-toast-min-height);
21671
+ max-height: var(--toastify-toast-max-height);
21672
+ font-size: var(--fs-sm);
21673
+ margin-bottom: var(--spacing-base);
21674
+ padding: var(--spacing-sm);
21675
+ border-radius: var(--rounded-md);
21676
+ box-shadow: var(--elevation-200);
21677
+ overflow: hidden;
21678
+ cursor: default;
21679
+ /* webkit only issue #791 */
21680
+ z-index: 0;
21681
+ }
21682
+ .Toastify__toast--close-on-click {
21683
+ cursor: pointer;
21684
+ }
21685
+ .Toastify__toast-body {
21686
+ margin: auto 0;
21687
+ flex: 1 1 auto;
21688
+ padding: var(--spacing-sm);
21689
+ display: flex;
21690
+ align-items: center;
21691
+ }
21692
+ .Toastify__toast-body > div:last-child {
21693
+ word-break: break-word;
21694
+ flex: 1;
21695
+ }
21696
+ .Toastify__toast-icon {
21697
+ margin-inline-end: var(--spacing-base);
21698
+ width: 16px;
21699
+ flex-shrink: 0;
21700
+ display: flex;
21701
+ }
21702
+
21703
+ .Toastify--animate {
21704
+ animation-fill-mode: both;
21705
+ animation-duration: var(--duration-slow);
21706
+ }
21707
+
21708
+ .Toastify--animate-icon {
21709
+ animation-fill-mode: both;
21710
+ animation-duration: var(--duration-fast);
21711
+ }
21712
+
21713
+ @media only screen and (max-width: 480px) {
21714
+ .Toastify__toast {
21715
+ margin-bottom: 0;
21716
+ border-radius: 0;
21717
+ }
21718
+ }
21719
+ .Toastify__toast-theme--light {
21720
+ background: var(--toastify-color-light);
21721
+ color: var(--brand-secondary-1);
21722
+ }
21723
+
21724
+ .Toastify__progress-bar-theme--light {
21725
+ background: var(--toastify-color-progress-light);
21726
+ }
21727
+ .Toastify__progress-bar--info {
21728
+ background: var(--toastify-color-progress-info);
21729
+ }
21730
+ .Toastify__progress-bar--success {
21731
+ background: var(--toastify-color-progress-success);
21732
+ }
21733
+ .Toastify__progress-bar--warning {
21734
+ background: var(--toastify-color-progress-warning);
21735
+ }
21736
+ .Toastify__progress-bar--error {
21737
+ background: var(--toastify-color-progress-error);
21738
+ }
21739
+
21740
+ .Toastify__close-button {
21741
+ background: transparent;
21742
+ outline: none;
21743
+ border: none;
21744
+ padding: 0;
21745
+ cursor: pointer;
21746
+ opacity: 0.5;
21747
+ transition: var(--spacing-base) ease-in-out;
21748
+ align-self: flex-start;
21749
+ }
21750
+ .Toastify__close-button > svg {
21751
+ fill: currentColor;
21752
+ height: 16px;
21753
+ width: 14px;
21754
+ }
21755
+ .Toastify__close-button:hover,
21756
+ .Toastify__close-button:focus {
21757
+ opacity: 1;
21758
+ }
21759
+
21760
+ .Toastify__progress-bar {
21761
+ position: absolute;
21762
+ bottom: 0;
21763
+ left: 0;
21764
+ width: 100%;
21765
+ height: var(--spacing-2xs);
21766
+ z-index: var(--toastify-z-index);
21767
+ transform-origin: left;
21768
+ }
21769
+ .Toastify__progress-bar--animated {
21770
+ animation: Toastify__trackProgress linear 1 forwards;
21771
+ }
21772
+ .Toastify__progress-bar--controlled {
21773
+ transition: transform var(--duration-fast);
21774
+ }
21775
+
21776
+ .Toastify__spinner {
21777
+ width: 16px;
21778
+ height: 16px;
21779
+ border: 2px solid;
21780
+ border-radius: 100%;
21781
+ border-color: var(--toastify-spinner-color-empty-area);
21782
+ border-right-color: var(--toastify-spinner-color);
21783
+ animation: Toastify__spin var(--duration-slow) linear infinite;
21784
+ }
21785
+
21786
+ .Toastify__bounce-enter--bottom-right {
21787
+ animation-name: Toastify__slideInRight;
21788
+ }
21789
+
21790
+ .Toastify__bounce-exit--bottom-right {
21791
+ animation-name: Toastify__slideOutRight;
21792
+ }
21793
+
21794
+ @keyframes Toastify__slideInRight {
21795
+ from {
21796
+ transform: translate3d(110%, 0, 0);
21797
+ visibility: visible;
21798
+ }
21799
+ to {
21800
+ transform: translate3d(0, 0, 0);
21801
+ }
21802
+ }
21803
+ @keyframes Toastify__slideOutRight {
21804
+ from {
21805
+ transform: translate3d(0, 0, 0);
21806
+ }
21807
+ to {
21808
+ visibility: hidden;
21809
+ transform: translate3d(110%, 0, 0);
21810
+ }
21811
+ }
21812
+
21813
+ @keyframes Toastify__spin {
21814
+ from {
21815
+ transform: rotate(0deg);
21816
+ }
21817
+ to {
21818
+ transform: rotate(360deg);
21819
+ }
21820
+ }
21821
+
21822
+ @keyframes Toastify__trackProgress {
21823
+ 0% {
21824
+ transform: scaleX(1);
21825
+ }
21826
+ 100% {
21827
+ transform: scaleX(0);
21828
+ }
21829
+ }
21830
+ `;
21831
+
21832
+ // src/components/Toast/Toast.tsx
21833
+ var import_jsx_runtime118 = require("@emotion/react/jsx-runtime");
21834
+ var ToastContainer = ({ limit = 4 }) => {
21835
+ return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
21836
+ import_react_toastify.ToastContainer,
21837
+ {
21838
+ css: toastContainerStyles,
21839
+ autoClose: 1e4,
21840
+ limit,
21841
+ theme: "light",
21842
+ position: "bottom-right",
21843
+ closeOnClick: false
21844
+ }
21845
+ );
21538
21846
  };
21539
21847
 
21540
21848
  // src/components/Validation/StatusBullet.tsx
@@ -21542,8 +21850,8 @@ init_emotion_jsx_shim();
21542
21850
 
21543
21851
  // src/components/Validation/StatusBullet.styles.ts
21544
21852
  init_emotion_jsx_shim();
21545
- var import_react139 = require("@emotion/react");
21546
- var StatusBulletContainer = import_react139.css`
21853
+ var import_react140 = require("@emotion/react");
21854
+ var StatusBulletContainer = import_react140.css`
21547
21855
  align-items: center;
21548
21856
  align-self: center;
21549
21857
  color: var(--gray-500);
@@ -21560,33 +21868,33 @@ var StatusBulletContainer = import_react139.css`
21560
21868
  display: block;
21561
21869
  }
21562
21870
  `;
21563
- var StatusBulletBase = import_react139.css`
21871
+ var StatusBulletBase = import_react140.css`
21564
21872
  font-size: var(--fs-sm);
21565
21873
  &:before {
21566
21874
  width: var(--fs-xs);
21567
21875
  height: var(--fs-xs);
21568
21876
  }
21569
21877
  `;
21570
- var StatusBulletSmall = import_react139.css`
21878
+ var StatusBulletSmall = import_react140.css`
21571
21879
  font-size: var(--fs-xs);
21572
21880
  &:before {
21573
21881
  width: var(--fs-xxs);
21574
21882
  height: var(--fs-xxs);
21575
21883
  }
21576
21884
  `;
21577
- var StatusDraft = import_react139.css`
21885
+ var StatusDraft = import_react140.css`
21578
21886
  &:before {
21579
21887
  background: var(--white);
21580
21888
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
21581
21889
  }
21582
21890
  `;
21583
- var StatusModified = import_react139.css`
21891
+ var StatusModified = import_react140.css`
21584
21892
  &:before {
21585
21893
  background: linear-gradient(to right, var(--white) 50%, var(--primary-action-default) 50% 100%);
21586
21894
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
21587
21895
  }
21588
21896
  `;
21589
- var StatusError = import_react139.css`
21897
+ var StatusError = import_react140.css`
21590
21898
  color: var(--error);
21591
21899
  &:before {
21592
21900
  /* TODO: replace this with an svg icon */
@@ -21599,24 +21907,24 @@ var StatusError = import_react139.css`
21599
21907
  );
21600
21908
  }
21601
21909
  `;
21602
- var StatusPublished = import_react139.css`
21910
+ var StatusPublished = import_react140.css`
21603
21911
  &:before {
21604
21912
  background: var(--primary-action-default);
21605
21913
  }
21606
21914
  `;
21607
- var StatusOrphan = import_react139.css`
21915
+ var StatusOrphan = import_react140.css`
21608
21916
  &:before {
21609
21917
  background: var(--brand-secondary-5);
21610
21918
  }
21611
21919
  `;
21612
- var StatusUnknown = import_react139.css`
21920
+ var StatusUnknown = import_react140.css`
21613
21921
  &:before {
21614
21922
  background: var(--brand-secondary-1);
21615
21923
  }
21616
21924
  `;
21617
21925
 
21618
21926
  // src/components/Validation/StatusBullet.tsx
21619
- var import_jsx_runtime117 = require("@emotion/react/jsx-runtime");
21927
+ var import_jsx_runtime119 = require("@emotion/react/jsx-runtime");
21620
21928
  var StatusBullet = ({
21621
21929
  status,
21622
21930
  hideText = false,
@@ -21635,7 +21943,7 @@ var StatusBullet = ({
21635
21943
  Unknown: StatusUnknown
21636
21944
  };
21637
21945
  const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
21638
- return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
21946
+ return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
21639
21947
  "span",
21640
21948
  {
21641
21949
  role: "status",
@@ -21785,6 +22093,7 @@ var StatusBullet = ({
21785
22093
  Tile,
21786
22094
  TileContainer,
21787
22095
  TileText,
22096
+ ToastContainer,
21788
22097
  Tooltip,
21789
22098
  TwoColumnLayout,
21790
22099
  UniformBadge,
@@ -21858,6 +22167,7 @@ var StatusBullet = ({
21858
22167
  structurePanelIcon,
21859
22168
  supports,
21860
22169
  textInput,
22170
+ toast,
21861
22171
  useBreakpoint,
21862
22172
  useCloseCurrentDrawer,
21863
22173
  useCurrentDrawer,