@uniformdev/design-system 19.142.1 → 19.145.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
@@ -1444,6 +1444,8 @@ __export(src_exports, {
1444
1444
  ParameterLink: () => ParameterLink,
1445
1445
  ParameterLinkInner: () => ParameterLinkInner,
1446
1446
  ParameterMenuButton: () => ParameterMenuButton,
1447
+ ParameterMultiSelect: () => ParameterMultiSelect,
1448
+ ParameterMultiSelectInner: () => ParameterMultiSelectInner,
1447
1449
  ParameterNameAndPublicIdInput: () => ParameterNameAndPublicIdInput,
1448
1450
  ParameterOverrideMarker: () => ParameterOverrideMarker,
1449
1451
  ParameterRichText: () => ParameterRichText,
@@ -1567,6 +1569,11 @@ __export(src_exports, {
1567
1569
  supports: () => supports,
1568
1570
  textInput: () => textInput,
1569
1571
  toast: () => import_react_toastify.toast,
1572
+ uniformComponentIcon: () => uniformComponentIcon,
1573
+ uniformComponentPatternIcon: () => uniformComponentPatternIcon,
1574
+ uniformContentTypeIcon: () => uniformContentTypeIcon,
1575
+ uniformEntryIcon: () => uniformEntryIcon,
1576
+ uniformEntryPatternIcon: () => uniformEntryPatternIcon,
1570
1577
  useBreakpoint: () => useBreakpoint,
1571
1578
  useCloseCurrentDrawer: () => useCloseCurrentDrawer,
1572
1579
  useCurrentDrawer: () => useCurrentDrawer,
@@ -2261,12 +2268,14 @@ var HorizontalRhythm = ({
2261
2268
  tag = "div",
2262
2269
  gap = "base",
2263
2270
  children,
2271
+ ref,
2264
2272
  ...props
2265
2273
  }) => {
2266
2274
  const Tag = tag;
2267
2275
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
2268
2276
  Tag,
2269
2277
  {
2278
+ ref,
2270
2279
  css: [
2271
2280
  HorizontalRhythmContainer(gap),
2272
2281
  {
@@ -2363,12 +2372,14 @@ var VerticalRhythm = ({
2363
2372
  tag = "div",
2364
2373
  gap = "base",
2365
2374
  children,
2375
+ ref,
2366
2376
  ...props
2367
2377
  }) => {
2368
2378
  const Tag = tag;
2369
2379
  return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
2370
2380
  Tag,
2371
2381
  {
2382
+ ref,
2372
2383
  css: [
2373
2384
  VerticalRhythmContainer(gap),
2374
2385
  {
@@ -4314,6 +4325,54 @@ var customIcons = {
4314
4325
  "clipboard-paste": clipboardPaste
4315
4326
  };
4316
4327
 
4328
+ // src/components/Icons/systemIcons.tsx
4329
+ init_emotion_jsx_shim();
4330
+ var import_all_files2 = require("@react-icons/all-files");
4331
+ var import_CgList2 = require("@react-icons/all-files/cg/CgList");
4332
+ var import_CgPen2 = require("@react-icons/all-files/cg/CgPen");
4333
+ var import_TbBox = require("@react-icons/all-files/tb/TbBox");
4334
+ var uniformComponentIcon = import_TbBox.TbBox;
4335
+ var uniformComponentPatternIcon = (0, import_all_files2.GenIcon)({
4336
+ tag: "svg",
4337
+ attr: {
4338
+ role: "img",
4339
+ viewBox: "0 0 24 24"
4340
+ },
4341
+ child: [
4342
+ {
4343
+ tag: "path",
4344
+ attr: {
4345
+ fillRule: "evenodd",
4346
+ clipRule: "evenodd",
4347
+ fill: "currentColor",
4348
+ d: "M8.39503 10.7767L7.17163 12.0001L8.5 13.3284V17.4676L11.1491 15.9775L12.2505 17.079L8.1177 19.4037C7.88939 19.5321 7.61061 19.5321 7.3823 19.4037L1.3823 16.0287C1.14615 15.8958 1 15.646 1 15.375V8.625C1 8.35404 1.14615 8.10416 1.3823 7.97132L7.3823 4.59632C7.61061 4.46789 7.88939 4.46789 8.1177 4.59632L12.2506 6.92108L11.1492 8.02254L7.75 6.11051L3.2798 8.625L7.75 11.1395L8.39503 10.7767ZM2.5 9.90739L7 12.4386V17.4676L2.5 14.9364V9.90739ZM12.8284 12.0001L16.5997 8.22883L20.3709 12.0001L16.5997 15.7713L12.8284 12.0001ZM16.5997 18.5997L10 12.0001L16.5997 5.4004L23.1993 12.0001L16.5997 18.5997Z"
4349
+ },
4350
+ child: []
4351
+ }
4352
+ ]
4353
+ });
4354
+ var uniformContentTypeIcon = import_CgList2.CgList;
4355
+ var uniformEntryIcon = import_CgPen2.CgPen;
4356
+ var uniformEntryPatternIcon = (0, import_all_files2.GenIcon)({
4357
+ tag: "svg",
4358
+ attr: {
4359
+ role: "img",
4360
+ viewBox: "0 0 24 24"
4361
+ },
4362
+ child: [
4363
+ {
4364
+ tag: "path",
4365
+ attr: {
4366
+ fillRule: "evenodd",
4367
+ clipRule: "evenodd",
4368
+ fill: "currentColor",
4369
+ d: "M9.42163 14.25H8.5C8.08579 14.25 7.75 14.5858 7.75 15C7.75 15.4142 8.08579 15.75 8.5 15.75H10.9216L9.42163 14.25ZM13.1716 18H3.25C2.83579 18 2.5 17.6642 2.5 17.25V6.75C2.5 6.33579 2.83579 6 3.25 6H13.1716L14.6716 4.5H3.25C2.00736 4.5 1 5.50736 1 6.75V17.25C1 18.4926 2.00736 19.5 3.25 19.5H14.6716L13.1716 18ZM17.4427 17.7567L16.5997 18.5997L16.5997 18.5996L16.5997 18.5997L10 12L16.5997 5.40034L16.5997 5.40037L16.5997 5.40034L17.4427 6.24334C17.4427 6.24337 17.4427 6.24339 17.4427 6.24342L23.1993 12L17.4427 17.7566C17.4427 17.7566 17.4427 17.7566 17.4427 17.7567ZM10.9216 8.25H8.5C8.08579 8.25 7.75 8.58579 7.75 9C7.75 9.41421 8.08579 9.75 8.5 9.75H9.42163L10.9216 8.25ZM6.25 8.25H4.75V9.75H6.25V8.25ZM4.75 11.25H6.25V12.75H4.75V11.25ZM4.75 14.25H6.25V15.75H4.75V14.25ZM12.8284 12L16.5997 8.22876L20.3709 12L16.5997 15.7712L12.8284 12Z"
4370
+ },
4371
+ child: []
4372
+ }
4373
+ ]
4374
+ });
4375
+
4317
4376
  // src/components/AddListButton/AddListButton.styles.ts
4318
4377
  init_emotion_jsx_shim();
4319
4378
  var import_react22 = require("@emotion/react");
@@ -15243,7 +15302,7 @@ init_emotion_jsx_shim();
15243
15302
  // src/components/DateTimePicker/DateTimePicker.tsx
15244
15303
  init_emotion_jsx_shim();
15245
15304
  var import_date4 = require("@internationalized/date");
15246
- var import_react70 = require("react");
15305
+ var import_react71 = require("react");
15247
15306
  var import_Popover = require("reakit/Popover");
15248
15307
 
15249
15308
  // src/components/Input/Caption.tsx
@@ -15929,82 +15988,86 @@ var InputInlineSelect = ({
15929
15988
  init_emotion_jsx_shim();
15930
15989
  var import_CgClose5 = require("@react-icons/all-files/cg/CgClose");
15931
15990
  var import_CgSearch2 = require("@react-icons/all-files/cg/CgSearch");
15932
- var React12 = __toESM(require("react"));
15991
+ var import_react63 = require("react");
15933
15992
  var import_react_use2 = require("react-use");
15934
15993
  var import_jsx_runtime54 = require("@emotion/react/jsx-runtime");
15935
- var InputKeywordSearch = ({
15936
- onSearchTextChanged,
15937
- disabled: disabled2 = false,
15938
- placeholder = "Keyword search",
15939
- inputFieldName = "keywordSearch",
15940
- disabledFieldSubmission = false,
15941
- value,
15942
- onClear,
15943
- compact = false,
15944
- rounded = false,
15945
- ...props
15946
- }) => {
15947
- const handleSearchTextChanged = (e) => {
15948
- onSearchTextChanged(e.currentTarget.value);
15949
- };
15950
- const preventSubmitOnField = (e) => {
15951
- if (e.key === "Enter" && disabledFieldSubmission) {
15952
- e.preventDefault();
15953
- }
15954
- };
15955
- const handleClear = () => {
15956
- onClear ? onClear() : onSearchTextChanged("");
15957
- };
15958
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
15959
- Input,
15960
- {
15961
- type: "text",
15962
- name: inputFieldName,
15963
- placeholder,
15964
- showLabel: false,
15965
- value,
15966
- icon: value ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
15967
- "button",
15968
- {
15969
- css: inputSearchCloseBtn,
15970
- onClick: handleClear,
15971
- type: "button",
15972
- "data-testid": "keyword-search-clear-button",
15973
- children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon, { icon: import_CgClose5.CgClose, iconColor: "red", size: "1rem" })
15974
- }
15975
- ) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon, { icon: import_CgSearch2.CgSearch, iconColor: "gray", size: "1rem" }),
15976
- onChange: handleSearchTextChanged,
15977
- onKeyPress: preventSubmitOnField,
15978
- disabled: disabled2,
15979
- "aria-label": placeholder,
15980
- css: [
15981
- compact ? {
15982
- padding: "var(--spacing-sm) var(--spacing-lg) var(--spacing-sm) var(--spacing-base)",
15983
- fontSize: "var(--fs-sm)"
15984
- } : null,
15985
- rounded ? { borderRadius: "var(--rounded-full)" } : null
15986
- ],
15987
- "data-testid": "input-search",
15988
- ...props
15989
- }
15990
- );
15991
- };
15994
+ var InputKeywordSearch = (0, import_react63.forwardRef)(
15995
+ ({
15996
+ onSearchTextChanged,
15997
+ disabled: disabled2 = false,
15998
+ placeholder = "Keyword search",
15999
+ inputFieldName = "keywordSearch",
16000
+ disabledFieldSubmission = false,
16001
+ value,
16002
+ onClear,
16003
+ compact = false,
16004
+ rounded = false,
16005
+ ...props
16006
+ }, ref) => {
16007
+ const handleSearchTextChanged = (e) => {
16008
+ onSearchTextChanged(e.currentTarget.value);
16009
+ };
16010
+ const preventSubmitOnField = (e) => {
16011
+ if (e.key === "Enter" && disabledFieldSubmission) {
16012
+ e.preventDefault();
16013
+ }
16014
+ };
16015
+ const handleClear = () => {
16016
+ onClear ? onClear() : onSearchTextChanged("");
16017
+ };
16018
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
16019
+ Input,
16020
+ {
16021
+ ref,
16022
+ type: "text",
16023
+ name: inputFieldName,
16024
+ placeholder,
16025
+ showLabel: false,
16026
+ value,
16027
+ icon: value ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
16028
+ "button",
16029
+ {
16030
+ css: inputSearchCloseBtn,
16031
+ onClick: handleClear,
16032
+ type: "button",
16033
+ "data-testid": "keyword-search-clear-button",
16034
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon, { icon: import_CgClose5.CgClose, iconColor: "red", size: "1rem" })
16035
+ }
16036
+ ) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon, { icon: import_CgSearch2.CgSearch, iconColor: "gray", size: "1rem" }),
16037
+ onChange: handleSearchTextChanged,
16038
+ onKeyPress: preventSubmitOnField,
16039
+ disabled: disabled2,
16040
+ "aria-label": placeholder,
16041
+ css: [
16042
+ compact ? {
16043
+ padding: "var(--spacing-sm) var(--spacing-lg) var(--spacing-sm) var(--spacing-base)",
16044
+ fontSize: "var(--fs-sm)"
16045
+ } : null,
16046
+ rounded ? { borderRadius: "var(--rounded-full)" } : null
16047
+ ],
16048
+ "data-testid": "input-search",
16049
+ ...props
16050
+ }
16051
+ );
16052
+ }
16053
+ );
16054
+ InputKeywordSearch.displayName = "InputKeywordSearch";
15992
16055
  var DebouncedInputKeywordSearch = ({
15993
16056
  delay = 300,
15994
16057
  onSearchTextChanged,
15995
16058
  defaultValue,
15996
16059
  ...props
15997
16060
  }) => {
15998
- const [searchText, setSearchText] = React12.useState(defaultValue != null ? defaultValue : "");
16061
+ const [searchText, setSearchText] = (0, import_react63.useState)(defaultValue != null ? defaultValue : "");
15999
16062
  (0, import_react_use2.useDebounce)(() => onSearchTextChanged(searchText), delay, [searchText]);
16000
16063
  return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(InputKeywordSearch, { ...props, value: searchText, onSearchTextChanged: setSearchText });
16001
16064
  };
16002
16065
 
16003
16066
  // src/components/Input/InputSelect.tsx
16004
16067
  init_emotion_jsx_shim();
16005
- var import_react63 = require("react");
16068
+ var import_react64 = require("react");
16006
16069
  var import_jsx_runtime55 = require("@emotion/react/jsx-runtime");
16007
- var InputSelect = (0, import_react63.forwardRef)(
16070
+ var InputSelect = (0, import_react64.forwardRef)(
16008
16071
  ({
16009
16072
  label,
16010
16073
  defaultOption,
@@ -16069,14 +16132,14 @@ var InputSelect = (0, import_react63.forwardRef)(
16069
16132
  // src/components/Input/InputTime.tsx
16070
16133
  init_emotion_jsx_shim();
16071
16134
  var import_date2 = require("@internationalized/date");
16072
- var React13 = __toESM(require("react"));
16073
- var import_react65 = require("react");
16135
+ var React12 = __toESM(require("react"));
16136
+ var import_react66 = require("react");
16074
16137
  var import_react_aria_components2 = require("react-aria-components");
16075
16138
 
16076
16139
  // src/components/Input/styles/InputTime.styles.ts
16077
16140
  init_emotion_jsx_shim();
16078
- var import_react64 = require("@emotion/react");
16079
- var dateInput = import_react64.css`
16141
+ var import_react65 = require("@emotion/react");
16142
+ var dateInput = import_react65.css`
16080
16143
  display: flex;
16081
16144
  justify-content: center;
16082
16145
 
@@ -16086,7 +16149,7 @@ var dateInput = import_react64.css`
16086
16149
  outline: none;
16087
16150
  }
16088
16151
  `;
16089
- var dateSegment = import_react64.css`
16152
+ var dateSegment = import_react65.css`
16090
16153
  padding: 0 var(--spacing-2xs);
16091
16154
  font-variant-numeric: tabular-nums slashed-zero lining-nums;
16092
16155
  text-align: end;
@@ -16129,7 +16192,7 @@ function tryParseTime(isoTime) {
16129
16192
  return void 0;
16130
16193
  }
16131
16194
  }
16132
- var InputTime = React13.forwardRef(
16195
+ var InputTime = React12.forwardRef(
16133
16196
  ({
16134
16197
  id,
16135
16198
  label,
@@ -16167,7 +16230,7 @@ var InputTime = React13.forwardRef(
16167
16230
  shouldForceLeadingZeros: true,
16168
16231
  hideTimeZone: true,
16169
16232
  isDisabled: !!disabled2,
16170
- onChange: (0, import_react65.useCallback)(
16233
+ onChange: (0, import_react66.useCallback)(
16171
16234
  (time) => {
16172
16235
  var _a;
16173
16236
  onChange == null ? void 0 : onChange((_a = time == null ? void 0 : time.toString()) != null ? _a : "00:00:00");
@@ -16212,9 +16275,9 @@ InputTime.displayName = "InputTime";
16212
16275
 
16213
16276
  // src/components/Input/InputToggle.tsx
16214
16277
  init_emotion_jsx_shim();
16215
- var React14 = __toESM(require("react"));
16278
+ var React13 = __toESM(require("react"));
16216
16279
  var import_jsx_runtime57 = require("@emotion/react/jsx-runtime");
16217
- var InputToggle = React14.forwardRef(
16280
+ var InputToggle = React13.forwardRef(
16218
16281
  ({
16219
16282
  label,
16220
16283
  type,
@@ -16279,8 +16342,8 @@ var import_CgCheckO2 = require("@react-icons/all-files/cg/CgCheckO");
16279
16342
 
16280
16343
  // src/components/Input/styles/SuccessMessage.styles.ts
16281
16344
  init_emotion_jsx_shim();
16282
- var import_react66 = require("@emotion/react");
16283
- var SuccessText = import_react66.css`
16345
+ var import_react67 = require("@emotion/react");
16346
+ var SuccessText = import_react67.css`
16284
16347
  --info-desc: var(--brand-secondary-3);
16285
16348
  --info-icon: var(--brand-secondary-3);
16286
16349
 
@@ -16289,7 +16352,7 @@ var SuccessText = import_react66.css`
16289
16352
  display: flex;
16290
16353
  gap: var(--spacing-sm);
16291
16354
  `;
16292
- var SuccessIcon2 = import_react66.css`
16355
+ var SuccessIcon2 = import_react67.css`
16293
16356
  color: var(--info-icon);
16294
16357
  `;
16295
16358
 
@@ -16304,9 +16367,9 @@ var SuccessMessage = ({ message, testId, ...props }) => {
16304
16367
 
16305
16368
  // src/components/Input/Textarea.tsx
16306
16369
  init_emotion_jsx_shim();
16307
- var import_react67 = require("react");
16370
+ var import_react68 = require("react");
16308
16371
  var import_jsx_runtime60 = require("@emotion/react/jsx-runtime");
16309
- var Textarea = (0, import_react67.forwardRef)(
16372
+ var Textarea = (0, import_react68.forwardRef)(
16310
16373
  ({ label, icon, id, caption, showLabel = true, errorMessage, warningMessage, ...props }, ref) => {
16311
16374
  return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_jsx_runtime60.Fragment, { children: [
16312
16375
  showLabel ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("label", { htmlFor: id, css: [labelText], children: label }) : null,
@@ -16335,12 +16398,12 @@ var Textarea = (0, import_react67.forwardRef)(
16335
16398
 
16336
16399
  // src/components/Popover/Popover.styles.ts
16337
16400
  init_emotion_jsx_shim();
16338
- var import_react68 = require("@emotion/react");
16339
- var PopoverBtn = import_react68.css`
16401
+ var import_react69 = require("@emotion/react");
16402
+ var PopoverBtn = import_react69.css`
16340
16403
  border: none;
16341
16404
  background: none;
16342
16405
  `;
16343
- var PopoverDefaulterTriggerBtn = import_react68.css`
16406
+ var PopoverDefaulterTriggerBtn = import_react69.css`
16344
16407
  border: none;
16345
16408
  background: none;
16346
16409
  padding: var(--spacing-2xs);
@@ -16350,7 +16413,7 @@ var PopoverDefaulterTriggerBtn = import_react68.css`
16350
16413
  background-color: rgba(0, 0, 0, 0.05);
16351
16414
  }
16352
16415
  `;
16353
- var Popover = import_react68.css`
16416
+ var Popover = import_react69.css`
16354
16417
  border-left: var(--spacing-xs) solid var(--brand-secondary-3);
16355
16418
  border-radius: var(--rounded-base);
16356
16419
  box-shadow: var(--shadow-base);
@@ -16365,28 +16428,28 @@ var Popover = import_react68.css`
16365
16428
 
16366
16429
  // src/components/DateTimePicker/DateTimePicker.styles.ts
16367
16430
  init_emotion_jsx_shim();
16368
- var import_react69 = require("@emotion/react");
16369
- var input2 = import_react69.css`
16431
+ var import_react70 = require("@emotion/react");
16432
+ var input2 = import_react70.css`
16370
16433
  padding: 0;
16371
16434
  display: flex;
16372
16435
  justify-content: space-between;
16373
16436
  `;
16374
- var inputLabel = import_react69.css`
16437
+ var inputLabel = import_react70.css`
16375
16438
  flex-grow: 1;
16376
16439
  max-width: none;
16377
16440
  `;
16378
- var inputLabelFocal = import_react69.css`
16441
+ var inputLabelFocal = import_react70.css`
16379
16442
  color: var(--typography-base);
16380
16443
  font-weight: var(--fw-regular);
16381
16444
  font-style: normal;
16382
16445
  `;
16383
- var trigger = import_react69.css`
16446
+ var trigger = import_react70.css`
16384
16447
  display: flex;
16385
16448
  justify-content: space-between;
16386
16449
  flex-grow: 0;
16387
16450
  margin: 2px 0;
16388
16451
  `;
16389
- var popover = import_react69.css`
16452
+ var popover = import_react70.css`
16390
16453
  padding: var(--spacing-md);
16391
16454
  max-width: none;
16392
16455
  gap: var(--spacing-md);
@@ -16397,7 +16460,7 @@ var popover = import_react69.css`
16397
16460
  grid-template-rows: 1fr;
16398
16461
  }
16399
16462
  `;
16400
- var calendarSection = import_react69.css`
16463
+ var calendarSection = import_react70.css`
16401
16464
  grid-column: 1;
16402
16465
  grid-row: 1 / 3;
16403
16466
 
@@ -16405,12 +16468,12 @@ var calendarSection = import_react69.css`
16405
16468
  grid-row: 1 / 2;
16406
16469
  }
16407
16470
  `;
16408
- var timeSection = import_react69.css`
16471
+ var timeSection = import_react70.css`
16409
16472
  align-self: center;
16410
16473
  border-bottom: solid 1px var(--gray-300);
16411
16474
  padding-bottom: var(--spacing-md);
16412
16475
  `;
16413
- var tzSection = import_react69.css`
16476
+ var tzSection = import_react70.css`
16414
16477
  align-self: stretch;
16415
16478
  `;
16416
16479
 
@@ -16421,22 +16484,42 @@ function DateTimePickerSummary({
16421
16484
  value,
16422
16485
  placeholder
16423
16486
  }) {
16424
- const dateFormat = new Intl.DateTimeFormat(void 0, {
16487
+ let dateFormat = new Intl.DateTimeFormat(void 0, {
16425
16488
  day: "numeric",
16426
16489
  month: "long",
16427
- year: "numeric",
16428
- timeZone: value == null ? void 0 : value.timeZone
16490
+ year: "numeric"
16429
16491
  });
16430
- const timeFormat = new Intl.DateTimeFormat(void 0, {
16431
- timeStyle: "short",
16432
- timeZone: value == null ? void 0 : value.timeZone
16492
+ let timeFormat = new Intl.DateTimeFormat(void 0, {
16493
+ timeStyle: "short"
16433
16494
  });
16495
+ let timeZoneWasValid = false;
16496
+ if (value == null ? void 0 : value.timeZone) {
16497
+ try {
16498
+ dateFormat = new Intl.DateTimeFormat(void 0, {
16499
+ day: "numeric",
16500
+ month: "long",
16501
+ year: "numeric",
16502
+ timeZone: value.timeZone
16503
+ });
16504
+ timeFormat = new Intl.DateTimeFormat(void 0, {
16505
+ timeStyle: "short",
16506
+ timeZone: value.timeZone
16507
+ });
16508
+ timeZoneWasValid = true;
16509
+ } catch (error) {
16510
+ if (error instanceof RangeError) {
16511
+ console.error("Tried to use an unsupported time zone", value == null ? void 0 : value.timeZone);
16512
+ } else {
16513
+ throw error;
16514
+ }
16515
+ }
16516
+ }
16434
16517
  const datePart = (value == null ? void 0 : value.datetime) ? dateFormat.format(new Date(value.datetime)) : null;
16435
16518
  const timePart = (value == null ? void 0 : value.datetime) ? timeFormat.format(new Date(value.datetime)) : null;
16436
16519
  return datePart ? /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("span", { children: [
16437
16520
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("em", { css: inputLabelFocal, children: datePart }),
16438
16521
  !!timePart && `, ${timePart}`,
16439
- !!(value == null ? void 0 : value.timeZone) && ` in ${value == null ? void 0 : value.timeZone}`
16522
+ !!(value == null ? void 0 : value.timeZone) && timeZoneWasValid && ` in ${value == null ? void 0 : value.timeZone}`
16440
16523
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { children: placeholder });
16441
16524
  }
16442
16525
 
@@ -16497,7 +16580,7 @@ var TIMEZONE_OPTIONS = timeZoneOptions.map((v) => {
16497
16580
  value: tz
16498
16581
  };
16499
16582
  });
16500
- var DateTimePickerContext = (0, import_react70.createContext)({
16583
+ var DateTimePickerContext = (0, import_react71.createContext)({
16501
16584
  clearValue() {
16502
16585
  },
16503
16586
  changeDate() {
@@ -16506,7 +16589,7 @@ var DateTimePickerContext = (0, import_react70.createContext)({
16506
16589
  }
16507
16590
  });
16508
16591
  function useDateTimePickerContext() {
16509
- return (0, import_react70.useContext)(DateTimePickerContext);
16592
+ return (0, import_react71.useContext)(DateTimePickerContext);
16510
16593
  }
16511
16594
  var DateTimePicker = ({
16512
16595
  id,
@@ -16527,41 +16610,41 @@ var DateTimePicker = ({
16527
16610
  ...props
16528
16611
  }) => {
16529
16612
  const popover2 = (0, import_Popover.usePopoverState)({ placement: "bottom-start" });
16530
- const parsedValue = (0, import_react70.useMemo)(() => tryParseAbsolute(value == null ? void 0 : value.datetime, value == null ? void 0 : value.timeZone), [value]);
16531
- const parsedMinVisible = (0, import_react70.useMemo)(
16613
+ const parsedValue = (0, import_react71.useMemo)(() => tryParseAbsolute(value == null ? void 0 : value.datetime, value == null ? void 0 : value.timeZone), [value]);
16614
+ const parsedMinVisible = (0, import_react71.useMemo)(
16532
16615
  () => tryParseAbsoluteToDateString(minVisible, value == null ? void 0 : value.timeZone),
16533
16616
  [minVisible, value == null ? void 0 : value.timeZone]
16534
16617
  );
16535
- const parseMaxVisible = (0, import_react70.useMemo)(
16618
+ const parseMaxVisible = (0, import_react71.useMemo)(
16536
16619
  () => tryParseAbsoluteToDateString(maxVisible, value == null ? void 0 : value.timeZone),
16537
16620
  [maxVisible, value == null ? void 0 : value.timeZone]
16538
16621
  );
16539
- const [draftDate, setDraftDate] = (0, import_react70.useState)(null);
16540
- const [draftTime, setDraftTime] = (0, import_react70.useState)(null);
16541
- const [draftTimeZone, setDraftTimeZone] = (0, import_react70.useState)(() => {
16622
+ const [draftDate, setDraftDate] = (0, import_react71.useState)(null);
16623
+ const [draftTime, setDraftTime] = (0, import_react71.useState)(null);
16624
+ const [draftTimeZone, setDraftTimeZone] = (0, import_react71.useState)(() => {
16542
16625
  const timeZone = (parsedValue == null ? void 0 : parsedValue.timeZone) || getLocalTimeZone();
16543
16626
  return TIMEZONE_OPTIONS.find(({ value: value2 }) => value2 === timeZone);
16544
16627
  });
16545
- (0, import_react70.useEffect)(() => {
16628
+ (0, import_react71.useEffect)(() => {
16546
16629
  var _a;
16547
16630
  if (popover2.visible) {
16548
16631
  setDraftDate(tryToCalendarDate(parsedValue));
16549
16632
  setDraftTime((_a = tryToTime(parsedValue)) != null ? _a : new import_date4.Time(0, 0));
16550
16633
  }
16551
16634
  }, [parsedValue, popover2.visible]);
16552
- const handleDateChange = (0, import_react70.useCallback)((isoDate) => {
16635
+ const handleDateChange = (0, import_react71.useCallback)((isoDate) => {
16553
16636
  setDraftDate((0, import_date4.parseDate)(isoDate));
16554
16637
  }, []);
16555
- const handleTimeChange = (0, import_react70.useCallback)((isoTime) => {
16638
+ const handleTimeChange = (0, import_react71.useCallback)((isoTime) => {
16556
16639
  setDraftTime((0, import_date4.parseTime)(isoTime));
16557
16640
  }, []);
16558
- const handleTimezoneChange = (0, import_react70.useCallback)((timeZone) => {
16641
+ const handleTimezoneChange = (0, import_react71.useCallback)((timeZone) => {
16559
16642
  if (!timeZone) {
16560
16643
  return;
16561
16644
  }
16562
16645
  setDraftTimeZone(timeZone);
16563
16646
  }, []);
16564
- const handleSelectClick = (0, import_react70.useCallback)(() => {
16647
+ const handleSelectClick = (0, import_react71.useCallback)(() => {
16565
16648
  const now = /* @__PURE__ */ new Date();
16566
16649
  const date = draftDate || new import_date4.CalendarDate(now.getFullYear(), now.getMonth() + 1, now.getDate());
16567
16650
  const newValue = {
@@ -16575,12 +16658,12 @@ var DateTimePicker = ({
16575
16658
  onChange == null ? void 0 : onChange(newValue);
16576
16659
  popover2.hide();
16577
16660
  }, [draftDate, draftTime, draftTimeZone == null ? void 0 : draftTimeZone.value, onChange, parsedValue == null ? void 0 : parsedValue.timeZone, popover2]);
16578
- const handleClearClick = (0, import_react70.useCallback)(() => {
16661
+ const handleClearClick = (0, import_react71.useCallback)(() => {
16579
16662
  setDraftDate(null);
16580
16663
  setDraftTime(null);
16581
16664
  onChange == null ? void 0 : onChange({ datetime: null });
16582
16665
  }, [onChange]);
16583
- const contextValue = (0, import_react70.useMemo)(
16666
+ const contextValue = (0, import_react71.useMemo)(
16584
16667
  () => ({
16585
16668
  clearValue: handleClearClick,
16586
16669
  changeDate: handleDateChange,
@@ -16679,22 +16762,22 @@ var DateTimePicker = ({
16679
16762
  init_emotion_jsx_shim();
16680
16763
  var import_TbCheck = require("@react-icons/all-files/tb/TbCheck");
16681
16764
  var import_TbMinus = require("@react-icons/all-files/tb/TbMinus");
16682
- var import_react72 = __toESM(require("react"));
16765
+ var import_react73 = __toESM(require("react"));
16683
16766
 
16684
16767
  // src/components/DescriptionList/DescriptionList.styles.ts
16685
16768
  init_emotion_jsx_shim();
16686
- var import_react71 = require("@emotion/react");
16687
- var descriptionListHorizontal = import_react71.css`
16769
+ var import_react72 = require("@emotion/react");
16770
+ var descriptionListHorizontal = import_react72.css`
16688
16771
  display: grid;
16689
16772
  grid-template-columns: max-content auto;
16690
16773
  gap: var(--spacing-xs) var(--spacing-md);
16691
16774
  `;
16692
- var descriptionListVertical = import_react71.css`
16775
+ var descriptionListVertical = import_react72.css`
16693
16776
  display: flex;
16694
16777
  flex-direction: column;
16695
16778
  gap: var(--spacing-xs);
16696
16779
  `;
16697
- var descriptionListLabelStyles = import_react71.css`
16780
+ var descriptionListLabelStyles = import_react72.css`
16698
16781
  display: flex;
16699
16782
  align-items: center;
16700
16783
  color: var(--gray-500);
@@ -16703,7 +16786,7 @@ var descriptionListLabelStyles = import_react71.css`
16703
16786
  margin-top: var(--spacing-sm);
16704
16787
  }
16705
16788
  `;
16706
- var descriptionListValueStyles = import_react71.css`
16789
+ var descriptionListValueStyles = import_react72.css`
16707
16790
  display: flex;
16708
16791
  align-items: center;
16709
16792
  margin: 0;
@@ -16711,7 +16794,7 @@ var descriptionListValueStyles = import_react71.css`
16711
16794
 
16712
16795
  // src/components/DescriptionList/DescriptionList.tsx
16713
16796
  var import_jsx_runtime63 = require("@emotion/react/jsx-runtime");
16714
- var DescriptionList = import_react72.default.forwardRef(
16797
+ var DescriptionList = import_react73.default.forwardRef(
16715
16798
  ({ items, variant = "horizontal", ...listProps }, ref) => {
16716
16799
  if (!(items == null ? void 0 : items.length)) {
16717
16800
  return null;
@@ -16722,7 +16805,7 @@ var DescriptionList = import_react72.default.forwardRef(
16722
16805
  ref,
16723
16806
  css: variant === "vertical" ? descriptionListVertical : descriptionListHorizontal,
16724
16807
  ...listProps,
16725
- children: items == null ? void 0 : items.map(({ label, value }) => /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_react72.default.Fragment, { children: [
16808
+ children: items == null ? void 0 : items.map(({ label, value }) => /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_react73.default.Fragment, { children: [
16726
16809
  /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("dt", { css: descriptionListLabelStyles, children: label }),
16727
16810
  /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("dd", { css: descriptionListValueStyles, children: typeof value === "boolean" ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(DescriptionListValueBoolean, { value }) : value })
16728
16811
  ] }, label))
@@ -16739,30 +16822,30 @@ var DescriptionListValueBoolean = ({ value }) => {
16739
16822
 
16740
16823
  // src/components/Details/Details.tsx
16741
16824
  init_emotion_jsx_shim();
16742
- var React16 = __toESM(require("react"));
16825
+ var React15 = __toESM(require("react"));
16743
16826
 
16744
16827
  // src/components/Details/Details.styles.ts
16745
16828
  init_emotion_jsx_shim();
16746
- var import_react73 = require("@emotion/react");
16747
- var details = import_react73.css`
16829
+ var import_react74 = require("@emotion/react");
16830
+ var details = import_react74.css`
16748
16831
  &[open] {
16749
16832
  & > summary svg {
16750
16833
  rotate: 0deg;
16751
16834
  }
16752
16835
  }
16753
16836
  `;
16754
- var detailsContent = import_react73.css`
16837
+ var detailsContent = import_react74.css`
16755
16838
  animation: ${fadeInRtl} var(--duration-fast) var(--timing-ease-out) forwards;
16756
16839
  will-change: height;
16757
16840
  `;
16758
- var detailsContentIndented = import_react73.css`
16841
+ var detailsContentIndented = import_react74.css`
16759
16842
  margin-left: calc(1.25rem / 2);
16760
16843
  border-left: 1px solid var(--gray-300);
16761
16844
  padding-top: calc(var(--spacing-md) / 2);
16762
16845
  padding-left: var(--spacing-base);
16763
16846
  padding-bottom: var(--spacing-sm);
16764
16847
  `;
16765
- var summary = import_react73.css`
16848
+ var summary = import_react74.css`
16766
16849
  align-items: center;
16767
16850
  cursor: pointer;
16768
16851
  display: grid;
@@ -16776,14 +16859,14 @@ var summary = import_react73.css`
16776
16859
  display: none;
16777
16860
  }
16778
16861
  `;
16779
- var summaryCompact = import_react73.css`
16862
+ var summaryCompact = import_react74.css`
16780
16863
  padding: 0;
16781
16864
  `;
16782
- var summaryIcon = import_react73.css`
16865
+ var summaryIcon = import_react74.css`
16783
16866
  transition: rotate var(--duration-fast) var(--timing-ease-out);
16784
16867
  rotate: -90deg;
16785
16868
  `;
16786
- var summaryIconVisiblyHidden = import_react73.css`
16869
+ var summaryIconVisiblyHidden = import_react74.css`
16787
16870
  visibility: hidden;
16788
16871
  `;
16789
16872
 
@@ -16799,9 +16882,9 @@ var Details = ({
16799
16882
  onChange,
16800
16883
  ...props
16801
16884
  }) => {
16802
- const detailsRef = React16.useRef(null);
16803
- const [internalOpen, setInternalOpen] = React16.useState(isOpenByDefault);
16804
- const memoizedIsOpen = React16.useMemo(() => {
16885
+ const detailsRef = React15.useRef(null);
16886
+ const [internalOpen, setInternalOpen] = React15.useState(isOpenByDefault);
16887
+ const memoizedIsOpen = React15.useMemo(() => {
16805
16888
  return isOpen !== void 0 ? isOpen : internalOpen;
16806
16889
  }, [internalOpen, isOpen]);
16807
16890
  return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
@@ -16845,13 +16928,13 @@ var Details = ({
16845
16928
  // src/components/Drawer/Drawer.tsx
16846
16929
  init_emotion_jsx_shim();
16847
16930
  var import_CgChevronRight2 = require("@react-icons/all-files/cg/CgChevronRight");
16848
- var import_react76 = __toESM(require("react"));
16931
+ var import_react77 = __toESM(require("react"));
16849
16932
  var import_react_dom = require("react-dom");
16850
16933
 
16851
16934
  // src/components/Drawer/Drawer.styles.ts
16852
16935
  init_emotion_jsx_shim();
16853
- var import_react74 = require("@emotion/react");
16854
- var drawerStyles = (bgColor = "var(--white)") => import_react74.css`
16936
+ var import_react75 = require("@emotion/react");
16937
+ var drawerStyles = (bgColor = "var(--white)") => import_react75.css`
16855
16938
  background-color: ${bgColor};
16856
16939
  display: flex;
16857
16940
  gap: var(--spacing-sm);
@@ -16861,20 +16944,20 @@ var drawerStyles = (bgColor = "var(--white)") => import_react74.css`
16861
16944
  padding-top: var(--spacing-sm);
16862
16945
  height: 100%;
16863
16946
  `;
16864
- var drawerCloseButtonStyles = import_react74.css`
16947
+ var drawerCloseButtonStyles = import_react75.css`
16865
16948
  display: block;
16866
16949
  padding: 0;
16867
16950
  background: transparent;
16868
16951
  border: none;
16869
16952
  `;
16870
- var headerWrapperStyles = import_react74.css`
16953
+ var headerWrapperStyles = import_react75.css`
16871
16954
  display: flex;
16872
16955
  justify-content: flex-end;
16873
16956
  align-items: center;
16874
16957
  flex: 1;
16875
16958
  margin-right: var(--spacing-sm);
16876
16959
  `;
16877
- var drawerHeaderStyles = import_react74.css`
16960
+ var drawerHeaderStyles = import_react75.css`
16878
16961
  align-items: center;
16879
16962
  display: flex;
16880
16963
  gap: var(--spacing-sm);
@@ -16882,21 +16965,21 @@ var drawerHeaderStyles = import_react74.css`
16882
16965
  padding-inline: var(--spacing-base);
16883
16966
  flex: 1;
16884
16967
  `;
16885
- var drawerRendererStyles = import_react74.css`
16968
+ var drawerRendererStyles = import_react75.css`
16886
16969
  inset: 0;
16887
16970
  overflow: hidden;
16888
16971
  z-index: var(--z-drawer);
16889
16972
  `;
16890
- var drawerInnerStyles = import_react74.css`
16973
+ var drawerInnerStyles = import_react75.css`
16891
16974
  height: 100%;
16892
16975
  overflow: auto;
16893
16976
  padding: 0 var(--spacing-md) var(--spacing-base) var(--spacing-sm);
16894
16977
  ${scrollbarStyles}
16895
16978
  `;
16896
- var drawerHeading = import_react74.css`
16979
+ var drawerHeading = import_react75.css`
16897
16980
  font-size: var(--fs-base);
16898
16981
  `;
16899
- var slideDrawerIn = import_react74.keyframes`
16982
+ var slideDrawerIn = import_react75.keyframes`
16900
16983
  0% {
16901
16984
  transform: translate(0);
16902
16985
  opacity: 0;
@@ -16911,7 +16994,7 @@ var slideDrawerIn = import_react74.keyframes`
16911
16994
  transform: translate(0);
16912
16995
  }
16913
16996
  `;
16914
- var slideDrawerInLeftAligned = import_react74.keyframes`
16997
+ var slideDrawerInLeftAligned = import_react75.keyframes`
16915
16998
  0% {
16916
16999
  transform: translate(0);
16917
17000
  opacity: 0;
@@ -16926,7 +17009,7 @@ var slideDrawerInLeftAligned = import_react74.keyframes`
16926
17009
  transform: translate(0);
16927
17010
  }
16928
17011
  `;
16929
- var drawerWrapperStyles = import_react74.css`
17012
+ var drawerWrapperStyles = import_react75.css`
16930
17013
  position: absolute;
16931
17014
  inset-block: 0;
16932
17015
  right: 0;
@@ -16939,14 +17022,14 @@ var drawerWrapperStyles = import_react74.css`
16939
17022
 
16940
17023
  --drawer-close-icon-rotation: 0deg;
16941
17024
  `;
16942
- var drawerWrapperLeftAlignedStyles = import_react74.css`
17025
+ var drawerWrapperLeftAlignedStyles = import_react75.css`
16943
17026
  animation-name: ${slideDrawerInLeftAligned};
16944
17027
  left: 0;
16945
17028
  right: auto;
16946
17029
 
16947
17030
  --drawer-close-icon-rotation: 180deg;
16948
17031
  `;
16949
- var drawerWrapperOverlayStyles = import_react74.css`
17032
+ var drawerWrapperOverlayStyles = import_react75.css`
16950
17033
  position: absolute;
16951
17034
  inset: 0;
16952
17035
  animation: ${fadeIn} var(--duration-fast) ease-out;
@@ -16958,9 +17041,9 @@ var drawerWrapperOverlayStyles = import_react74.css`
16958
17041
 
16959
17042
  // src/components/Drawer/DrawerProvider.tsx
16960
17043
  init_emotion_jsx_shim();
16961
- var import_react75 = require("react");
17044
+ var import_react76 = require("react");
16962
17045
  var import_jsx_runtime65 = require("@emotion/react/jsx-runtime");
16963
- var DrawerContext = (0, import_react75.createContext)({
17046
+ var DrawerContext = (0, import_react76.createContext)({
16964
17047
  providerId: "",
16965
17048
  drawersRegistry: [],
16966
17049
  registerDrawer: () => {
@@ -16976,9 +17059,9 @@ function renderDrawerId(drawer) {
16976
17059
  return `${drawer.stackId ? `\u{1F95E} ${drawer.stackId} ` : ""}\u{1F194} ${drawer.id}${drawer.instanceKey ? ` \u{1F511} ${drawer.instanceKey}` : ""}`;
16977
17060
  }
16978
17061
  var DrawerProvider = ({ children }) => {
16979
- const [drawersRegistry, setDrawersRegistry] = (0, import_react75.useState)([]);
16980
- const providerId = (0, import_react75.useRef)(crypto.randomUUID());
16981
- const [drawerTakeoverStackId, setDrawerTakeoverStackId] = (0, import_react75.useState)(void 0);
17062
+ const [drawersRegistry, setDrawersRegistry] = (0, import_react76.useState)([]);
17063
+ const providerId = (0, import_react76.useRef)(crypto.randomUUID());
17064
+ const [drawerTakeoverStackId, setDrawerTakeoverStackId] = (0, import_react76.useState)(void 0);
16982
17065
  useShortcut({
16983
17066
  handler: () => {
16984
17067
  var _a, _b;
@@ -16986,7 +17069,7 @@ var DrawerProvider = ({ children }) => {
16986
17069
  },
16987
17070
  shortcut: "escape"
16988
17071
  });
16989
- const registerDrawer = (0, import_react75.useCallback)(
17072
+ const registerDrawer = (0, import_react76.useCallback)(
16990
17073
  ({ drawer, onFirstRender }) => {
16991
17074
  setDrawersRegistry((currentValue) => {
16992
17075
  var _a, _b;
@@ -17022,7 +17105,7 @@ var DrawerProvider = ({ children }) => {
17022
17105
  },
17023
17106
  [setDrawersRegistry]
17024
17107
  );
17025
- const unregisterDrawer = (0, import_react75.useCallback)(
17108
+ const unregisterDrawer = (0, import_react76.useCallback)(
17026
17109
  (drawer) => {
17027
17110
  setDrawersRegistry((currentValue) => {
17028
17111
  return currentValue.filter((d) => {
@@ -17036,7 +17119,7 @@ var DrawerProvider = ({ children }) => {
17036
17119
  },
17037
17120
  [setDrawersRegistry]
17038
17121
  );
17039
- const registerTakeoverStackId = (0, import_react75.useCallback)(
17122
+ const registerTakeoverStackId = (0, import_react76.useCallback)(
17040
17123
  (stackId) => {
17041
17124
  if (drawerTakeoverStackId !== stackId) {
17042
17125
  setDrawerTakeoverStackId(stackId);
@@ -17044,7 +17127,7 @@ var DrawerProvider = ({ children }) => {
17044
17127
  },
17045
17128
  [drawerTakeoverStackId]
17046
17129
  );
17047
- const unregisterTakeoverStackId = (0, import_react75.useCallback)(
17130
+ const unregisterTakeoverStackId = (0, import_react76.useCallback)(
17048
17131
  (stackId) => {
17049
17132
  if (drawerTakeoverStackId === stackId) {
17050
17133
  setDrawerTakeoverStackId(void 0);
@@ -17069,7 +17152,7 @@ var DrawerProvider = ({ children }) => {
17069
17152
  );
17070
17153
  };
17071
17154
  var useDrawer = () => {
17072
- return (0, import_react75.useContext)(DrawerContext);
17155
+ return (0, import_react76.useContext)(DrawerContext);
17073
17156
  };
17074
17157
  var useCloseCurrentDrawer = () => {
17075
17158
  const context = useDrawer();
@@ -17088,17 +17171,17 @@ function isEqualDrawerInstance(a, b) {
17088
17171
  // src/components/Drawer/Drawer.tsx
17089
17172
  var import_jsx_runtime66 = require("@emotion/react/jsx-runtime");
17090
17173
  var defaultSackId = "_default";
17091
- var CurrentDrawerContext = (0, import_react76.createContext)({});
17174
+ var CurrentDrawerContext = (0, import_react77.createContext)({});
17092
17175
  var useCurrentDrawer = () => {
17093
- return (0, import_react76.useContext)(CurrentDrawerContext);
17176
+ return (0, import_react77.useContext)(CurrentDrawerContext);
17094
17177
  };
17095
- var Drawer = import_react76.default.forwardRef(
17178
+ var Drawer = import_react77.default.forwardRef(
17096
17179
  ({ minWidth, maxWidth, position, leftAligned, ...drawerProps }, ref) => {
17097
17180
  var _a;
17098
17181
  const { stackId: inheritedStackId } = useCurrentDrawer();
17099
17182
  const { drawerTakeoverStackId } = useDrawer();
17100
17183
  const drawerRendererProps = { width: drawerProps.width, minWidth, maxWidth, position, leftAligned };
17101
- const resolvedStickyStackIdRef = (0, import_react76.useRef)((_a = drawerTakeoverStackId != null ? drawerTakeoverStackId : drawerProps.stackId) != null ? _a : inheritedStackId);
17184
+ const resolvedStickyStackIdRef = (0, import_react77.useRef)((_a = drawerTakeoverStackId != null ? drawerTakeoverStackId : drawerProps.stackId) != null ? _a : inheritedStackId);
17102
17185
  return resolvedStickyStackIdRef.current ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(DrawerInner, { ref, ...drawerProps, stackId: resolvedStickyStackIdRef.current }) : /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(DrawerProvider, { children: [
17103
17186
  /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(DrawerInner, { ref, ...drawerProps }),
17104
17187
  /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(DrawerRenderer, { stackId: defaultSackId, ...drawerRendererProps })
@@ -17119,9 +17202,9 @@ var DrawerInner = ({
17119
17202
  testId = "side-dialog"
17120
17203
  }) => {
17121
17204
  const { registerDrawer, unregisterDrawer, providerId } = useDrawer();
17122
- const closeButtonRef = (0, import_react76.useRef)(null);
17123
- const [rendererElement, setRendererElement] = (0, import_react76.useState)(null);
17124
- (0, import_react76.useEffect)(() => {
17205
+ const closeButtonRef = (0, import_react77.useRef)(null);
17206
+ const [rendererElement, setRendererElement] = (0, import_react77.useState)(null);
17207
+ (0, import_react77.useEffect)(() => {
17125
17208
  registerDrawer({
17126
17209
  drawer: {
17127
17210
  width,
@@ -17200,15 +17283,15 @@ init_emotion_jsx_shim();
17200
17283
 
17201
17284
  // src/components/Drawer/DrawerContent.styles.ts
17202
17285
  init_emotion_jsx_shim();
17203
- var import_react77 = require("@emotion/react");
17204
- var DrawerContent = import_react77.css`
17286
+ var import_react78 = require("@emotion/react");
17287
+ var DrawerContent = import_react78.css`
17205
17288
  background: var(--gray-50);
17206
17289
  display: flex;
17207
17290
  flex-direction: column;
17208
17291
  gap: var(--spacing-base);
17209
17292
  height: 100%;
17210
17293
  `;
17211
- var DrawerContentInner = import_react77.css`
17294
+ var DrawerContentInner = import_react78.css`
17212
17295
  background: var(--white);
17213
17296
  padding: var(--spacing-base);
17214
17297
  flex: 1;
@@ -17216,7 +17299,7 @@ var DrawerContentInner = import_react77.css`
17216
17299
  overflow-y: auto;
17217
17300
  ${scrollbarStyles}
17218
17301
  `;
17219
- var DrawerContentBtnGroup = import_react77.css`
17302
+ var DrawerContentBtnGroup = import_react78.css`
17220
17303
  display: flex;
17221
17304
  gap: var(--spacing-sm);
17222
17305
  padding: 0 var(--spacing-base) var(--spacing-base);
@@ -17233,7 +17316,7 @@ var DrawerContent2 = ({ children, buttonGroup, noPadding = false, ...props }) =>
17233
17316
 
17234
17317
  // src/components/Drawer/DrawerRenderer.tsx
17235
17318
  init_emotion_jsx_shim();
17236
- var import_react78 = require("react");
17319
+ var import_react79 = require("react");
17237
17320
  var import_jsx_runtime68 = require("@emotion/react/jsx-runtime");
17238
17321
  var drawerWidth = {
17239
17322
  narrow: "29rem",
@@ -17254,14 +17337,14 @@ var DrawerRenderer = ({
17254
17337
  }) => {
17255
17338
  const { drawersRegistry, providerId } = useDrawer();
17256
17339
  const drawersToRender = drawersRegistry.filter(({ stackId: sId }) => sId === stackId);
17257
- (0, import_react78.useEffect)(() => {
17340
+ (0, import_react79.useEffect)(() => {
17258
17341
  drawersToRender.forEach(({ isFirstRender, onFirstRender }) => {
17259
17342
  if (isFirstRender) {
17260
17343
  onFirstRender == null ? void 0 : onFirstRender();
17261
17344
  }
17262
17345
  });
17263
17346
  }, [drawersToRender]);
17264
- const unionWidth = (0, import_react78.useMemo)(() => {
17347
+ const unionWidth = (0, import_react79.useMemo)(() => {
17265
17348
  var _a;
17266
17349
  const rendererWidth = (_a = drawerWidth[width]) != null ? _a : width;
17267
17350
  if (withoutFluidWidth) {
@@ -17345,12 +17428,12 @@ var getDrawerAttributes = ({
17345
17428
 
17346
17429
  // src/components/Drawer/TakeoverDrawerRenderer.tsx
17347
17430
  init_emotion_jsx_shim();
17348
- var import_react79 = require("react");
17431
+ var import_react80 = require("react");
17349
17432
  var import_jsx_runtime69 = require("@emotion/react/jsx-runtime");
17350
17433
  var TAKEOVER_STACK_ID = "takeover-stack";
17351
17434
  var TakeoverDrawerRenderer = (props) => {
17352
17435
  const { registerTakeoverStackId, unregisterTakeoverStackId } = useDrawer();
17353
- (0, import_react79.useEffect)(() => {
17436
+ (0, import_react80.useEffect)(() => {
17354
17437
  registerTakeoverStackId(TAKEOVER_STACK_ID);
17355
17438
  return () => {
17356
17439
  unregisterTakeoverStackId(TAKEOVER_STACK_ID);
@@ -17364,12 +17447,12 @@ init_emotion_jsx_shim();
17364
17447
 
17365
17448
  // src/components/IconButton/IconButton.tsx
17366
17449
  init_emotion_jsx_shim();
17367
- var import_react81 = require("react");
17450
+ var import_react82 = require("react");
17368
17451
 
17369
17452
  // src/components/IconButton/IconButton.styles.ts
17370
17453
  init_emotion_jsx_shim();
17371
- var import_react80 = require("@emotion/react");
17372
- var iconButton = import_react80.css`
17454
+ var import_react81 = require("@emotion/react");
17455
+ var iconButton = import_react81.css`
17373
17456
  padding: 0;
17374
17457
  max-width: unset;
17375
17458
  justify-content: center;
@@ -17377,26 +17460,26 @@ var iconButton = import_react80.css`
17377
17460
  height: var(--button-size);
17378
17461
  `;
17379
17462
  var sizes = {
17380
- xs: import_react80.css`
17463
+ xs: import_react81.css`
17381
17464
  --button-size: 2rem;
17382
17465
  `,
17383
- sm: import_react80.css`
17466
+ sm: import_react81.css`
17384
17467
  --button-size: 2.25rem;
17385
17468
  `,
17386
- md: import_react80.css`
17469
+ md: import_react81.css`
17387
17470
  --button-size: 2.5rem;
17388
17471
  `
17389
17472
  };
17390
17473
  var variants = {
17391
17474
  square: null,
17392
- rounded: import_react80.css`
17475
+ rounded: import_react81.css`
17393
17476
  border-radius: 50%;
17394
17477
  `
17395
17478
  };
17396
17479
 
17397
17480
  // src/components/IconButton/IconButton.tsx
17398
17481
  var import_jsx_runtime70 = require("@emotion/react/jsx-runtime");
17399
- var IconButton = (0, import_react81.forwardRef)(
17482
+ var IconButton = (0, import_react82.forwardRef)(
17400
17483
  ({ children, size = "md", variant = "square", ...props }, ref) => {
17401
17484
  return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Button, { ref, css: [iconButton, variants[variant], sizes[size]], ...props, children });
17402
17485
  }
@@ -17408,12 +17491,12 @@ init_emotion_jsx_shim();
17408
17491
 
17409
17492
  // src/components/Image/Image.tsx
17410
17493
  init_emotion_jsx_shim();
17411
- var import_react83 = require("react");
17494
+ var import_react84 = require("react");
17412
17495
 
17413
17496
  // src/components/Image/Image.styles.ts
17414
17497
  init_emotion_jsx_shim();
17415
- var import_react82 = require("@emotion/react");
17416
- var imageWrapper = import_react82.css`
17498
+ var import_react83 = require("@emotion/react");
17499
+ var imageWrapper = import_react83.css`
17417
17500
  position: relative;
17418
17501
  display: inline-flex;
17419
17502
  flex-direction: column;
@@ -17421,10 +17504,10 @@ var imageWrapper = import_react82.css`
17421
17504
  max-width: 100%;
17422
17505
  max-height: 100%;
17423
17506
  `;
17424
- var imageWrapperLoading = import_react82.css`
17507
+ var imageWrapperLoading = import_react83.css`
17425
17508
  animation: ${skeletonLoading} var(--duration-slow) linear infinite alternate;
17426
17509
  `;
17427
- var img = import_react82.css`
17510
+ var img = import_react83.css`
17428
17511
  object-fit: contain;
17429
17512
  max-width: 100%;
17430
17513
  max-height: 100%;
@@ -17432,17 +17515,17 @@ var img = import_react82.css`
17432
17515
  opacity: var(--opacity-0);
17433
17516
  margin: 0 auto;
17434
17517
  `;
17435
- var imgLoading = import_react82.css`
17518
+ var imgLoading = import_react83.css`
17436
17519
  opacity: 0;
17437
17520
  `;
17438
- var imgLoaded = import_react82.css`
17521
+ var imgLoaded = import_react83.css`
17439
17522
  animation: ${fadeIn} var(--duration-fast) var(--timing-ease-out) forwards;
17440
17523
  opacity: 1;
17441
17524
  `;
17442
- var brokenImage = import_react82.css`
17525
+ var brokenImage = import_react83.css`
17443
17526
  height: 160px;
17444
17527
  `;
17445
- var brokenImageMessage = import_react82.css`
17528
+ var brokenImageMessage = import_react83.css`
17446
17529
  position: absolute;
17447
17530
  bottom: var(--spacing-xs);
17448
17531
  left: var(--spacing-xs);
@@ -17451,13 +17534,13 @@ var brokenImageMessage = import_react82.css`
17451
17534
  padding-inline: var(--spacing-xs);
17452
17535
  font-size: var(--fs-sm);
17453
17536
  `;
17454
- var variantFillImageWrapper = import_react82.css`
17537
+ var variantFillImageWrapper = import_react83.css`
17455
17538
  display: flex;
17456
17539
  justify-content: center;
17457
17540
  height: 100%;
17458
17541
  width: 100%;
17459
17542
  `;
17460
- var variantFillImageImg = import_react82.css`
17543
+ var variantFillImageImg = import_react83.css`
17461
17544
  height: inherit;
17462
17545
  width: inherit;
17463
17546
  `;
@@ -17511,10 +17594,10 @@ function Image({
17511
17594
  height,
17512
17595
  ...imgAttribs
17513
17596
  }) {
17514
- const [loading, setLoading] = (0, import_react83.useState)(true);
17515
- const [loadErrorText, setLoadErrorText] = (0, import_react83.useState)("");
17597
+ const [loading, setLoading] = (0, import_react84.useState)(true);
17598
+ const [loadErrorText, setLoadErrorText] = (0, import_react84.useState)("");
17516
17599
  const errorText = "The text you provided is not a valid URL";
17517
- const updateImageSrc = (0, import_react83.useCallback)(() => {
17600
+ const updateImageSrc = (0, import_react84.useCallback)(() => {
17518
17601
  let message = "";
17519
17602
  try {
17520
17603
  if (src === "") {
@@ -17532,7 +17615,7 @@ function Image({
17532
17615
  }
17533
17616
  setLoadErrorText(message);
17534
17617
  }, [setLoadErrorText, src]);
17535
- (0, import_react83.useEffect)(() => {
17618
+ (0, import_react84.useEffect)(() => {
17536
17619
  updateImageSrc();
17537
17620
  }, [src]);
17538
17621
  const handleLoadEvent = () => {
@@ -17608,14 +17691,14 @@ init_emotion_jsx_shim();
17608
17691
 
17609
17692
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
17610
17693
  init_emotion_jsx_shim();
17611
- var import_react85 = require("@emotion/react");
17694
+ var import_react86 = require("@emotion/react");
17612
17695
  var import_CgAdd3 = require("@react-icons/all-files/cg/CgAdd");
17613
17696
  var import_CgChevronRight3 = require("@react-icons/all-files/cg/CgChevronRight");
17614
17697
 
17615
17698
  // src/components/Tiles/styles/IntegrationTile.styles.ts
17616
17699
  init_emotion_jsx_shim();
17617
- var import_react84 = require("@emotion/react");
17618
- var IntegrationTileContainer = import_react84.css`
17700
+ var import_react85 = require("@emotion/react");
17701
+ var IntegrationTileContainer = import_react85.css`
17619
17702
  align-items: center;
17620
17703
  box-sizing: border-box;
17621
17704
  border-radius: var(--rounded-base);
@@ -17646,22 +17729,22 @@ var IntegrationTileContainer = import_react84.css`
17646
17729
  }
17647
17730
  }
17648
17731
  `;
17649
- var IntegrationTileBtnDashedBorder = import_react84.css`
17732
+ var IntegrationTileBtnDashedBorder = import_react85.css`
17650
17733
  border: 1px dashed var(--gray-800);
17651
17734
  `;
17652
- var IntegrationTileTitle = import_react84.css`
17735
+ var IntegrationTileTitle = import_react85.css`
17653
17736
  display: block;
17654
17737
  font-weight: var(--fw-bold);
17655
17738
  margin: 0 0 var(--spacing-base);
17656
17739
  max-width: 13rem;
17657
17740
  `;
17658
- var IntegrationTitleLogo = import_react84.css`
17741
+ var IntegrationTitleLogo = import_react85.css`
17659
17742
  display: block;
17660
17743
  max-width: 10rem;
17661
17744
  max-height: 4rem;
17662
17745
  margin: 0 auto;
17663
17746
  `;
17664
- var IntegrationTileName = import_react84.css`
17747
+ var IntegrationTileName = import_react85.css`
17665
17748
  color: var(--gray-500);
17666
17749
  display: -webkit-box;
17667
17750
  -webkit-line-clamp: 1;
@@ -17674,7 +17757,7 @@ var IntegrationTileName = import_react84.css`
17674
17757
  position: absolute;
17675
17758
  bottom: calc(var(--spacing-base) * 3.8);
17676
17759
  `;
17677
- var IntegrationAddedText = import_react84.css`
17760
+ var IntegrationAddedText = import_react85.css`
17678
17761
  align-items: center;
17679
17762
  background: var(--brand-secondary-3);
17680
17763
  border-radius: 0 var(--rounded-md) 0 var(--rounded-md);
@@ -17689,7 +17772,7 @@ var IntegrationAddedText = import_react84.css`
17689
17772
  top: 0;
17690
17773
  right: 0;
17691
17774
  `;
17692
- var IntegrationCustomBadgeText = (theme) => import_react84.css`
17775
+ var IntegrationCustomBadgeText = (theme) => import_react85.css`
17693
17776
  align-items: center;
17694
17777
  border-radius: var(--rounded-sm) 0 var(--rounded-sm) 0;
17695
17778
  background: ${theme === "gray" ? "var(--brand-secondary-2)" : "var(--typography-base)"};
@@ -17703,26 +17786,26 @@ var IntegrationCustomBadgeText = (theme) => import_react84.css`
17703
17786
  top: 0;
17704
17787
  left: 0;
17705
17788
  `;
17706
- var IntegrationAuthorBadgeIcon = import_react84.css`
17789
+ var IntegrationAuthorBadgeIcon = import_react85.css`
17707
17790
  position: absolute;
17708
17791
  bottom: var(--spacing-sm);
17709
17792
  right: var(--spacing-xs);
17710
17793
  max-height: 1rem;
17711
17794
  `;
17712
- var IntegrationTitleFakeButton = import_react84.css`
17795
+ var IntegrationTitleFakeButton = import_react85.css`
17713
17796
  font-size: var(--fs-xs);
17714
17797
  gap: var(--spacing-sm);
17715
17798
  padding: var(--spacing-sm) var(--spacing-base);
17716
17799
  text-transform: uppercase;
17717
17800
  `;
17718
- var IntegrationTileFloatingButton = import_react84.css`
17801
+ var IntegrationTileFloatingButton = import_react85.css`
17719
17802
  position: absolute;
17720
17803
  bottom: var(--spacing-base);
17721
17804
  gap: var(--spacing-sm);
17722
17805
  font-size: var(--fs-xs);
17723
17806
  overflow: hidden;
17724
17807
  `;
17725
- var IntegrationTileFloatingButtonMessage = (clicked) => import_react84.css`
17808
+ var IntegrationTileFloatingButtonMessage = (clicked) => import_react85.css`
17726
17809
  strong,
17727
17810
  span:first-of-type {
17728
17811
  transition: opacity var(--duration-fast) var(--timing-ease-out);
@@ -17769,7 +17852,7 @@ var CreateTeamIntegrationTile = ({
17769
17852
  icon: import_CgChevronRight3.CgChevronRight,
17770
17853
  iconColor: "currentColor",
17771
17854
  size: 20,
17772
- css: import_react85.css`
17855
+ css: import_react86.css`
17773
17856
  order: 1;
17774
17857
  `
17775
17858
  }
@@ -17779,7 +17862,7 @@ var CreateTeamIntegrationTile = ({
17779
17862
  icon: import_CgAdd3.CgAdd,
17780
17863
  iconColor: "currentColor",
17781
17864
  size: 16,
17782
- css: import_react85.css`
17865
+ css: import_react86.css`
17783
17866
  order: -1;
17784
17867
  `
17785
17868
  }
@@ -17875,9 +17958,9 @@ var EditTeamIntegrationTile = ({
17875
17958
 
17876
17959
  // src/components/Tiles/IntegrationComingSoon.tsx
17877
17960
  init_emotion_jsx_shim();
17878
- var import_react86 = require("@emotion/react");
17961
+ var import_react87 = require("@emotion/react");
17879
17962
  var import_CgHeart2 = require("@react-icons/all-files/cg/CgHeart");
17880
- var import_react87 = require("react");
17963
+ var import_react88 = require("react");
17881
17964
  var import_jsx_runtime77 = require("@emotion/react/jsx-runtime");
17882
17965
  var IntegrationComingSoon = ({
17883
17966
  name,
@@ -17887,12 +17970,12 @@ var IntegrationComingSoon = ({
17887
17970
  timing = 1e3,
17888
17971
  ...props
17889
17972
  }) => {
17890
- const [upVote, setUpVote] = (0, import_react87.useState)(false);
17973
+ const [upVote, setUpVote] = (0, import_react88.useState)(false);
17891
17974
  const handleUpVoteInteraction = () => {
17892
17975
  setUpVote((prev) => !prev);
17893
17976
  onUpVoteClick();
17894
17977
  };
17895
- (0, import_react87.useEffect)(() => {
17978
+ (0, import_react88.useEffect)(() => {
17896
17979
  if (upVote) {
17897
17980
  const timer = setTimeout(() => setUpVote(false), timing);
17898
17981
  return () => {
@@ -17924,7 +18007,7 @@ var IntegrationComingSoon = ({
17924
18007
  /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
17925
18008
  "span",
17926
18009
  {
17927
- css: import_react86.css`
18010
+ css: import_react87.css`
17928
18011
  text-transform: uppercase;
17929
18012
  color: var(--gray-500);
17930
18013
  `,
@@ -17948,8 +18031,8 @@ init_emotion_jsx_shim();
17948
18031
 
17949
18032
  // src/components/Tiles/styles/IntegrationLoadingTile.styles.ts
17950
18033
  init_emotion_jsx_shim();
17951
- var import_react88 = require("@emotion/react");
17952
- var IntegrationLoadingTileContainer = import_react88.css`
18034
+ var import_react89 = require("@emotion/react");
18035
+ var IntegrationLoadingTileContainer = import_react89.css`
17953
18036
  align-items: center;
17954
18037
  box-sizing: border-box;
17955
18038
  border-radius: var(--rounded-base);
@@ -17976,17 +18059,17 @@ var IntegrationLoadingTileContainer = import_react88.css`
17976
18059
  }
17977
18060
  }
17978
18061
  `;
17979
- var IntegrationLoadingTileImg = import_react88.css`
18062
+ var IntegrationLoadingTileImg = import_react89.css`
17980
18063
  width: 10rem;
17981
18064
  height: 4rem;
17982
18065
  margin: 0 auto;
17983
18066
  `;
17984
- var IntegrationLoadingTileText = import_react88.css`
18067
+ var IntegrationLoadingTileText = import_react89.css`
17985
18068
  width: 5rem;
17986
18069
  height: var(--spacing-sm);
17987
18070
  margin: var(--spacing-sm) 0;
17988
18071
  `;
17989
- var IntegrationLoadingFrame = import_react88.css`
18072
+ var IntegrationLoadingFrame = import_react89.css`
17990
18073
  animation: ${skeletonLoading} 1s linear infinite alternate;
17991
18074
  border-radius: var(--rounded-base);
17992
18075
  `;
@@ -18006,13 +18089,13 @@ init_emotion_jsx_shim();
18006
18089
 
18007
18090
  // src/components/Tiles/styles/IntegrationModalIcon.styles.ts
18008
18091
  init_emotion_jsx_shim();
18009
- var import_react89 = require("@emotion/react");
18010
- var IntegrationModalIconContainer = import_react89.css`
18092
+ var import_react90 = require("@emotion/react");
18093
+ var IntegrationModalIconContainer = import_react90.css`
18011
18094
  position: relative;
18012
18095
  width: 50px;
18013
18096
  margin-bottom: var(--spacing-base);
18014
18097
  `;
18015
- var IntegrationModalImage = import_react89.css`
18098
+ var IntegrationModalImage = import_react90.css`
18016
18099
  position: absolute;
18017
18100
  inset: 0;
18018
18101
  margin: auto;
@@ -18106,9 +18189,9 @@ init_emotion_jsx_shim();
18106
18189
 
18107
18190
  // src/components/Tiles/styles/Tile.styles.ts
18108
18191
  init_emotion_jsx_shim();
18109
- var import_react90 = require("@emotion/react");
18192
+ var import_react91 = require("@emotion/react");
18110
18193
  var tileBorderSize = "1px";
18111
- var Tile = import_react90.css`
18194
+ var Tile = import_react91.css`
18112
18195
  background: var(--white);
18113
18196
  cursor: pointer;
18114
18197
  border: ${tileBorderSize} solid var(--gray-300);
@@ -18130,7 +18213,7 @@ var Tile = import_react90.css`
18130
18213
  pointer-events: none;
18131
18214
  }
18132
18215
  `;
18133
- var TileIsSelected = import_react90.css`
18216
+ var TileIsSelected = import_react91.css`
18134
18217
  border: calc(${tileBorderSize} + 1px) solid var(--primary-action-active);
18135
18218
  z-index: 1; // Used to elevate active state border over other Tile borders
18136
18219
  `;
@@ -18155,12 +18238,12 @@ init_emotion_jsx_shim();
18155
18238
 
18156
18239
  // src/components/Tiles/styles/TileContainer.styles.ts
18157
18240
  init_emotion_jsx_shim();
18158
- var import_react91 = require("@emotion/react");
18159
- var TileContainerWrapper = (theme, padding) => import_react91.css`
18241
+ var import_react92 = require("@emotion/react");
18242
+ var TileContainerWrapper = (theme, padding) => import_react92.css`
18160
18243
  background: ${theme};
18161
18244
  padding: ${padding != "none" ? `var(--spacing-${padding})` : "0"};
18162
18245
  `;
18163
- var TileContainerInner = (gap, templateColumns) => import_react91.css`
18246
+ var TileContainerInner = (gap, templateColumns) => import_react92.css`
18164
18247
  display: grid;
18165
18248
  grid-template-columns: ${templateColumns};
18166
18249
  gap: var(--spacing-${gap});
@@ -18191,11 +18274,11 @@ init_emotion_jsx_shim();
18191
18274
 
18192
18275
  // src/components/Tiles/styles/TileText.styles.ts
18193
18276
  init_emotion_jsx_shim();
18194
- var import_react92 = require("@emotion/react");
18195
- var TileHeading = import_react92.css`
18277
+ var import_react93 = require("@emotion/react");
18278
+ var TileHeading = import_react93.css`
18196
18279
  font-size: var(--fs-base);
18197
18280
  `;
18198
- var TileText = import_react92.css`
18281
+ var TileText = import_react93.css`
18199
18282
  color: var(--gray-500);
18200
18283
  font-size: var(--fs-sm);
18201
18284
  line-height: 1.2;
@@ -18218,32 +18301,32 @@ var TileText2 = ({ as = "heading", children, ...props }) => {
18218
18301
 
18219
18302
  // src/components/IntegrationModalHeader/IntegrationModalHeader.styles.ts
18220
18303
  init_emotion_jsx_shim();
18221
- var import_react93 = require("@emotion/react");
18222
- var IntegrationModalHeaderSVGBackground = import_react93.css`
18304
+ var import_react94 = require("@emotion/react");
18305
+ var IntegrationModalHeaderSVGBackground = import_react94.css`
18223
18306
  position: absolute;
18224
18307
  top: 0;
18225
18308
  left: 0;
18226
18309
  `;
18227
- var IntegrationModalHeaderGroup = import_react93.css`
18310
+ var IntegrationModalHeaderGroup = import_react94.css`
18228
18311
  align-items: center;
18229
18312
  display: flex;
18230
18313
  gap: var(--spacing-sm);
18231
18314
  margin: 0 0 var(--spacing-md);
18232
18315
  position: relative;
18233
18316
  `;
18234
- var IntegrationModalHeaderTitleGroup = import_react93.css`
18317
+ var IntegrationModalHeaderTitleGroup = import_react94.css`
18235
18318
  align-items: center;
18236
18319
  display: flex;
18237
18320
  gap: var(--spacing-base);
18238
18321
  padding: 0 var(--spacing-base);
18239
18322
  `;
18240
- var IntegrationModalHeaderTitle = import_react93.css`
18323
+ var IntegrationModalHeaderTitle = import_react94.css`
18241
18324
  margin-top: 0;
18242
18325
  `;
18243
- var IntegrationModalHeaderMenuPlacement = import_react93.css`
18326
+ var IntegrationModalHeaderMenuPlacement = import_react94.css`
18244
18327
  margin-bottom: var(--spacing-base);
18245
18328
  `;
18246
- var IntegrationModalHeaderContentWrapper = import_react93.css`
18329
+ var IntegrationModalHeaderContentWrapper = import_react94.css`
18247
18330
  background: var(--white);
18248
18331
  display: flex;
18249
18332
  padding: var(--spacing-base);
@@ -18312,7 +18395,7 @@ var IntegrationModalHeader = ({ icon, name, menu, children }) => {
18312
18395
 
18313
18396
  // src/components/JsonEditor/JsonEditor.tsx
18314
18397
  init_emotion_jsx_shim();
18315
- var import_react94 = __toESM(require("@monaco-editor/react"));
18398
+ var import_react95 = __toESM(require("@monaco-editor/react"));
18316
18399
  var import_jsx_runtime85 = require("@emotion/react/jsx-runtime");
18317
18400
  var minEditorHeightPx = 150;
18318
18401
  var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
@@ -18324,7 +18407,7 @@ var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
18324
18407
  effectiveHeight = minEditorHeightPx;
18325
18408
  }
18326
18409
  return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
18327
- import_react94.default,
18410
+ import_react95.default,
18328
18411
  {
18329
18412
  height: effectiveHeight,
18330
18413
  className: "uniform-json-editor",
@@ -18364,34 +18447,34 @@ init_emotion_jsx_shim();
18364
18447
 
18365
18448
  // src/components/LimitsBar/LimitsBar.styles.ts
18366
18449
  init_emotion_jsx_shim();
18367
- var import_react95 = require("@emotion/react");
18368
- var LimitsBarContainer = import_react95.css`
18450
+ var import_react96 = require("@emotion/react");
18451
+ var LimitsBarContainer = import_react96.css`
18369
18452
  margin-block: var(--spacing-sm);
18370
18453
  `;
18371
- var LimitsBarProgressBar = import_react95.css`
18454
+ var LimitsBarProgressBar = import_react96.css`
18372
18455
  background: var(--gray-100);
18373
18456
  margin-top: var(--spacing-sm);
18374
18457
  position: relative;
18375
18458
  overflow: hidden;
18376
18459
  height: 0.25rem;
18377
18460
  `;
18378
- var LimitsBarProgressBarLine = import_react95.css`
18461
+ var LimitsBarProgressBarLine = import_react96.css`
18379
18462
  position: absolute;
18380
18463
  inset: 0;
18381
18464
  transition: transform var(--duration-fast) var(--timing-ease-out);
18382
18465
  `;
18383
- var LimitsBarLabelContainer = import_react95.css`
18466
+ var LimitsBarLabelContainer = import_react96.css`
18384
18467
  display: flex;
18385
18468
  justify-content: space-between;
18386
18469
  font-weight: var(--fw-bold);
18387
18470
  `;
18388
- var LimitsBarLabel = import_react95.css`
18471
+ var LimitsBarLabel = import_react96.css`
18389
18472
  font-size: var(--fs-baase);
18390
18473
  `;
18391
- var LimitsBarBgColor = (statusColor) => import_react95.css`
18474
+ var LimitsBarBgColor = (statusColor) => import_react96.css`
18392
18475
  background: ${statusColor};
18393
18476
  `;
18394
- var LimitsBarTextColor = (statusColor) => import_react95.css`
18477
+ var LimitsBarTextColor = (statusColor) => import_react96.css`
18395
18478
  color: ${statusColor};
18396
18479
  `;
18397
18480
 
@@ -18445,8 +18528,8 @@ init_emotion_jsx_shim();
18445
18528
 
18446
18529
  // src/components/LinkList/LinkList.styles.ts
18447
18530
  init_emotion_jsx_shim();
18448
- var import_react96 = require("@emotion/react");
18449
- var LinkListContainer = (padding) => import_react96.css`
18531
+ var import_react97 = require("@emotion/react");
18532
+ var LinkListContainer = (padding) => import_react97.css`
18450
18533
  padding: ${padding};
18451
18534
 
18452
18535
  ${mq("sm")} {
@@ -18454,7 +18537,7 @@ var LinkListContainer = (padding) => import_react96.css`
18454
18537
  grid-row: 1 / last-line;
18455
18538
  }
18456
18539
  `;
18457
- var LinkListTitle = import_react96.css`
18540
+ var LinkListTitle = import_react97.css`
18458
18541
  font-weight: var(--fw-bold);
18459
18542
  font-size: var(--fs-sm);
18460
18543
  text-transform: uppercase;
@@ -18471,15 +18554,15 @@ var LinkList = ({ title: title2, padding = "var(--spacing-md)", children, ...pro
18471
18554
 
18472
18555
  // src/components/List/ScrollableList.tsx
18473
18556
  init_emotion_jsx_shim();
18474
- var import_react98 = require("@emotion/react");
18557
+ var import_react99 = require("@emotion/react");
18475
18558
 
18476
18559
  // src/components/List/styles/ScrollableList.styles.ts
18477
18560
  init_emotion_jsx_shim();
18478
- var import_react97 = require("@emotion/react");
18479
- var ScrollableListContainer = import_react97.css`
18561
+ var import_react98 = require("@emotion/react");
18562
+ var ScrollableListContainer = import_react98.css`
18480
18563
  position: relative;
18481
18564
  `;
18482
- var ScrollableListInner = import_react97.css`
18565
+ var ScrollableListInner = import_react98.css`
18483
18566
  background: var(--gray-50);
18484
18567
  border-top: 1px solid var(--gray-200);
18485
18568
  border-bottom: 1px solid var(--gray-200);
@@ -18508,7 +18591,7 @@ var ScrollableList = ({ label, children, ...props }) => {
18508
18591
  label ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
18509
18592
  "span",
18510
18593
  {
18511
- css: import_react98.css`
18594
+ css: import_react99.css`
18512
18595
  ${labelText}
18513
18596
  `,
18514
18597
  children: label
@@ -18524,8 +18607,8 @@ var import_CgCheck3 = require("@react-icons/all-files/cg/CgCheck");
18524
18607
 
18525
18608
  // src/components/List/styles/ScrollableListItem.styles.ts
18526
18609
  init_emotion_jsx_shim();
18527
- var import_react99 = require("@emotion/react");
18528
- var ScrollableListItemContainer = import_react99.css`
18610
+ var import_react100 = require("@emotion/react");
18611
+ var ScrollableListItemContainer = import_react100.css`
18529
18612
  align-items: center;
18530
18613
  background: var(--white);
18531
18614
  border-radius: var(--rounded-base);
@@ -18534,13 +18617,13 @@ var ScrollableListItemContainer = import_react99.css`
18534
18617
  min-height: 52px;
18535
18618
  transition: border-color var(--duration-fast) var(--timing-ease-out);
18536
18619
  `;
18537
- var ScrollableListItemShadow = import_react99.css`
18620
+ var ScrollableListItemShadow = import_react100.css`
18538
18621
  box-shadow: var(--shadow-base);
18539
18622
  `;
18540
- var ScrollableListItemActive = import_react99.css`
18623
+ var ScrollableListItemActive = import_react100.css`
18541
18624
  border-color: var(--brand-secondary-3);
18542
18625
  `;
18543
- var ScrollableListItemBtn = import_react99.css`
18626
+ var ScrollableListItemBtn = import_react100.css`
18544
18627
  align-items: center;
18545
18628
  border: none;
18546
18629
  background: transparent;
@@ -18555,27 +18638,27 @@ var ScrollableListItemBtn = import_react99.css`
18555
18638
  outline: none;
18556
18639
  }
18557
18640
  `;
18558
- var ScrollableListInputLabel = import_react99.css`
18641
+ var ScrollableListInputLabel = import_react100.css`
18559
18642
  align-items: center;
18560
18643
  cursor: pointer;
18561
18644
  display: flex;
18562
18645
  padding: var(--spacing-xs) var(--spacing-base) var(--spacing-xs);
18563
18646
  flex-grow: 1;
18564
18647
  `;
18565
- var ScrollableListInputText = import_react99.css`
18648
+ var ScrollableListInputText = import_react100.css`
18566
18649
  align-items: center;
18567
18650
  display: flex;
18568
18651
  gap: var(--spacing-sm);
18569
18652
  flex-grow: 1;
18570
18653
  flex-wrap: wrap;
18571
18654
  `;
18572
- var ScrollableListHiddenInput = import_react99.css`
18655
+ var ScrollableListHiddenInput = import_react100.css`
18573
18656
  position: absolute;
18574
18657
  height: 0;
18575
18658
  width: 0;
18576
18659
  opacity: 0;
18577
18660
  `;
18578
- var ScrollableListIcon = import_react99.css`
18661
+ var ScrollableListIcon = import_react100.css`
18579
18662
  border-radius: var(--rounded-full);
18580
18663
  background: var(--brand-secondary-3);
18581
18664
  color: var(--white);
@@ -18583,7 +18666,7 @@ var ScrollableListIcon = import_react99.css`
18583
18666
  min-width: 24px;
18584
18667
  opacity: 0;
18585
18668
  `;
18586
- var ScrollableListIconVisible = import_react99.css`
18669
+ var ScrollableListIconVisible = import_react100.css`
18587
18670
  animation: ${fadeInBottom} var(--duration-fast) var(--timing-ease-out) forwards;
18588
18671
  `;
18589
18672
 
@@ -18672,10 +18755,10 @@ init_emotion_jsx_shim();
18672
18755
 
18673
18756
  // src/components/LoadingIndicator/LoadingIndicator.styles.ts
18674
18757
  init_emotion_jsx_shim();
18675
- var import_react100 = require("@emotion/react");
18758
+ var import_react101 = require("@emotion/react");
18676
18759
  function bounceFade(size) {
18677
18760
  const bounceHeight = size === "lg" ? 10 : 5;
18678
- return import_react100.keyframes`
18761
+ return import_react101.keyframes`
18679
18762
  0%, 100% {
18680
18763
  opacity: 1.0;
18681
18764
  transform: translateY(0);
@@ -18693,13 +18776,13 @@ function bounceFade(size) {
18693
18776
  }
18694
18777
  `;
18695
18778
  }
18696
- var loader = import_react100.css`
18779
+ var loader = import_react101.css`
18697
18780
  display: inline-flex;
18698
18781
  justify-content: center;
18699
18782
  `;
18700
18783
  function loadingDot(size) {
18701
18784
  const dotSize = size === "lg" ? 8 : 4;
18702
- return import_react100.css`
18785
+ return import_react101.css`
18703
18786
  background-color: var(--gray-700);
18704
18787
  display: block;
18705
18788
  border-radius: var(--rounded-full);
@@ -18739,12 +18822,12 @@ var LoadingIndicator = ({
18739
18822
 
18740
18823
  // src/components/LoadingOverlay/LoadingOverlay.tsx
18741
18824
  init_emotion_jsx_shim();
18742
- var import_react102 = require("react");
18825
+ var import_react103 = require("react");
18743
18826
 
18744
18827
  // src/components/LoadingOverlay/LoadingOverlay.styles.ts
18745
18828
  init_emotion_jsx_shim();
18746
- var import_react101 = require("@emotion/react");
18747
- var loadingOverlayContainer = import_react101.css`
18829
+ var import_react102 = require("@emotion/react");
18830
+ var loadingOverlayContainer = import_react102.css`
18748
18831
  position: absolute;
18749
18832
  inset: 0;
18750
18833
  overflow: hidden;
@@ -18752,24 +18835,24 @@ var loadingOverlayContainer = import_react101.css`
18752
18835
  padding: var(--spacing-xl);
18753
18836
  overflow-y: auto;
18754
18837
  `;
18755
- var loadingOverlayVisible = import_react101.css`
18838
+ var loadingOverlayVisible = import_react102.css`
18756
18839
  display: flex;
18757
18840
  `;
18758
- var loadingOverlayHidden = import_react101.css`
18841
+ var loadingOverlayHidden = import_react102.css`
18759
18842
  display: none;
18760
18843
  `;
18761
- var loadingOverlayBackground = (bgColor) => import_react101.css`
18844
+ var loadingOverlayBackground = (bgColor) => import_react102.css`
18762
18845
  background: ${bgColor};
18763
18846
  opacity: 0.92;
18764
18847
  position: absolute;
18765
18848
  inset: 0 0;
18766
18849
  `;
18767
- var loadingOverlayBody = import_react101.css`
18850
+ var loadingOverlayBody = import_react102.css`
18768
18851
  align-items: center;
18769
18852
  display: flex;
18770
18853
  flex-direction: column;
18771
18854
  `;
18772
- var loadingOverlayMessage = import_react101.css`
18855
+ var loadingOverlayMessage = import_react102.css`
18773
18856
  color: var(--gray-600);
18774
18857
  margin: var(--spacing-base) 0 0;
18775
18858
  `;
@@ -18786,14 +18869,14 @@ var LoadingOverlay = ({
18786
18869
  isPaused = false,
18787
18870
  children
18788
18871
  }) => {
18789
- const lottieRef = (0, import_react102.useRef)(null);
18790
- const onLoopComplete = (0, import_react102.useCallback)(() => {
18872
+ const lottieRef = (0, import_react103.useRef)(null);
18873
+ const onLoopComplete = (0, import_react103.useCallback)(() => {
18791
18874
  var _a, _b, _c;
18792
18875
  if (isPaused && !((_b = (_a = lottieRef.current) == null ? void 0 : _a.animationItem) == null ? void 0 : _b.isPaused)) {
18793
18876
  (_c = lottieRef.current) == null ? void 0 : _c.stop();
18794
18877
  }
18795
18878
  }, [isPaused]);
18796
- (0, import_react102.useEffect)(() => {
18879
+ (0, import_react103.useEffect)(() => {
18797
18880
  var _a, _b, _c, _d, _e, _f;
18798
18881
  if (!isPaused && ((_b = (_a = lottieRef.current) == null ? void 0 : _a.animationItem) == null ? void 0 : _b.isPaused)) {
18799
18882
  (_c = lottieRef.current) == null ? void 0 : _c.play();
@@ -18867,11 +18950,11 @@ init_emotion_jsx_shim();
18867
18950
 
18868
18951
  // src/components/MediaCard/MediaCard.tsx
18869
18952
  init_emotion_jsx_shim();
18870
- var import_react105 = require("react");
18953
+ var import_react106 = require("react");
18871
18954
 
18872
18955
  // src/components/Popover/Popover.tsx
18873
18956
  init_emotion_jsx_shim();
18874
- var import_react103 = require("@ariakit/react");
18957
+ var import_react104 = require("@ariakit/react");
18875
18958
  var import_jsx_runtime93 = require("@emotion/react/jsx-runtime");
18876
18959
  var Popover3 = ({
18877
18960
  iconColor = "action",
@@ -18886,9 +18969,9 @@ var Popover3 = ({
18886
18969
  baseId,
18887
18970
  ...otherProps
18888
18971
  }) => {
18889
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_react103.PopoverProvider, { placement, children: [
18972
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(import_react104.PopoverProvider, { placement, children: [
18890
18973
  /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
18891
- import_react103.PopoverDisclosure,
18974
+ import_react104.PopoverDisclosure,
18892
18975
  {
18893
18976
  css: [PopoverBtn, trigger2 ? void 0 : PopoverDefaulterTriggerBtn],
18894
18977
  title: buttonText,
@@ -18899,14 +18982,14 @@ var Popover3 = ({
18899
18982
  ] })
18900
18983
  }
18901
18984
  ),
18902
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_react103.Popover, { unmountOnHide: true, css: Popover, ...otherProps, "aria-label": ariaLabel, children })
18985
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_react104.Popover, { unmountOnHide: true, css: Popover, ...otherProps, "aria-label": ariaLabel, children })
18903
18986
  ] });
18904
18987
  };
18905
18988
 
18906
18989
  // src/components/MediaCard/MediaCard.styles.ts
18907
18990
  init_emotion_jsx_shim();
18908
- var import_react104 = require("@emotion/react");
18909
- var cardBase = import_react104.css`
18991
+ var import_react105 = require("@emotion/react");
18992
+ var cardBase = import_react105.css`
18910
18993
  --mediacard-title-color: var(--gray-500);
18911
18994
  display: flex;
18912
18995
  flex-direction: column;
@@ -18930,7 +19013,7 @@ var cardBase = import_react104.css`
18930
19013
  cursor: default;
18931
19014
  }
18932
19015
  `;
18933
- var coverWrapper = import_react104.css`
19016
+ var coverWrapper = import_react105.css`
18934
19017
  position: relative;
18935
19018
  display: flex;
18936
19019
  align-items: center;
@@ -18943,10 +19026,10 @@ var coverWrapper = import_react104.css`
18943
19026
  outline: none;
18944
19027
  border: 0;
18945
19028
  `;
18946
- var contentWrapper = import_react104.css`
19029
+ var contentWrapper = import_react105.css`
18947
19030
  padding: var(--spacing-sm);
18948
19031
  `;
18949
- var title = import_react104.css`
19032
+ var title = import_react105.css`
18950
19033
  font-size: var(--fs-sm);
18951
19034
  color: var(--mediacard-title-color);
18952
19035
  white-space: nowrap;
@@ -18961,7 +19044,7 @@ var title = import_react104.css`
18961
19044
  outline: 2px solid var(--primary-action-default);
18962
19045
  }
18963
19046
  `;
18964
- var subtitle = import_react104.css`
19047
+ var subtitle = import_react105.css`
18965
19048
  font-size: var(--fs-xs);
18966
19049
  color: var(--gray-500);
18967
19050
  white-space: nowrap;
@@ -18971,13 +19054,13 @@ var subtitle = import_react104.css`
18971
19054
  border: 0;
18972
19055
  background-color: transparent;
18973
19056
  `;
18974
- var sideSection = import_react104.css`
19057
+ var sideSection = import_react105.css`
18975
19058
  cursor: default;
18976
19059
  `;
18977
- var menuSection = import_react104.css`
19060
+ var menuSection = import_react105.css`
18978
19061
  cursor: default;
18979
19062
  `;
18980
- var menuButton = import_react104.css`
19063
+ var menuButton = import_react105.css`
18981
19064
  padding: var(--spacing-2xs);
18982
19065
  border-radius: var(--rounded-sm);
18983
19066
  border-width: 0;
@@ -19001,7 +19084,7 @@ var MediaCard = ({
19001
19084
  buttonType,
19002
19085
  ...cardProps
19003
19086
  }) => {
19004
- const onStopPropogation = (0, import_react105.useCallback)((e) => {
19087
+ const onStopPropogation = (0, import_react106.useCallback)((e) => {
19005
19088
  e.stopPropagation();
19006
19089
  }, []);
19007
19090
  const hasMenuItems = Array.isArray(menuItems) ? menuItems.length > 0 : Boolean(menuItems);
@@ -19060,12 +19143,12 @@ var MediaCard = ({
19060
19143
  // src/components/Modal/Modal.tsx
19061
19144
  init_emotion_jsx_shim();
19062
19145
  var import_CgClose6 = require("@react-icons/all-files/cg/CgClose");
19063
- var import_react107 = __toESM(require("react"));
19146
+ var import_react108 = __toESM(require("react"));
19064
19147
 
19065
19148
  // src/components/Modal/Modal.styles.ts
19066
19149
  init_emotion_jsx_shim();
19067
- var import_react106 = require("@emotion/react");
19068
- var modalStyles = import_react106.css`
19150
+ var import_react107 = require("@emotion/react");
19151
+ var modalStyles = import_react107.css`
19069
19152
  border: none;
19070
19153
  position: relative;
19071
19154
  max-width: calc(100% - var(--spacing-base) * 2);
@@ -19079,16 +19162,16 @@ var modalStyles = import_react106.css`
19079
19162
  opacity: 0.4;
19080
19163
  }
19081
19164
  `;
19082
- var modalSizeSmall = import_react106.css`
19165
+ var modalSizeSmall = import_react107.css`
19083
19166
  width: clamp(280px, 100vw, 400px);
19084
19167
  `;
19085
- var modalSizeMedium = import_react106.css`
19168
+ var modalSizeMedium = import_react107.css`
19086
19169
  width: clamp(280px, 100vw, 600px);
19087
19170
  `;
19088
- var modalSizeLarge = import_react106.css`
19171
+ var modalSizeLarge = import_react107.css`
19089
19172
  width: clamp(280px, 100vw, 800px);
19090
19173
  `;
19091
- var modalInnerStyles = import_react106.css`
19174
+ var modalInnerStyles = import_react107.css`
19092
19175
  position: relative;
19093
19176
  width: 100%;
19094
19177
  display: flex;
@@ -19101,7 +19184,7 @@ var modalInnerStyles = import_react106.css`
19101
19184
  box-shadow: var(--elevation-500);
19102
19185
  border-radius: var(--rounded-base);
19103
19186
  `;
19104
- var modalHeaderStyles = import_react106.css`
19187
+ var modalHeaderStyles = import_react107.css`
19105
19188
  display: flex;
19106
19189
  align-items: flex-start;
19107
19190
  gap: var(--spacing-base);
@@ -19109,10 +19192,10 @@ var modalHeaderStyles = import_react106.css`
19109
19192
  font-family: var(--ff-base);
19110
19193
  line-height: 1.2;
19111
19194
  `;
19112
- var modalHeaderHeaderStyles = import_react106.css`
19195
+ var modalHeaderHeaderStyles = import_react107.css`
19113
19196
  max-width: calc(100% - 3rem);
19114
19197
  `;
19115
- var modalCloseButtonStyles = import_react106.css`
19198
+ var modalCloseButtonStyles = import_react107.css`
19116
19199
  background: transparent;
19117
19200
  border: none;
19118
19201
  color: var(--gray-300);
@@ -19127,17 +19210,19 @@ var modalCloseButtonStyles = import_react106.css`
19127
19210
  color: var(--gray-400);
19128
19211
  }
19129
19212
  `;
19130
- var modalContentStyles = import_react106.css`
19213
+ var modalContentStyles = import_react107.css`
19131
19214
  position: relative;
19132
19215
  flex: 1;
19133
19216
  overflow: auto;
19217
+ background-color: white;
19134
19218
  padding: var(--spacing-md);
19219
+ border-radius: var(--rounded-sm);
19135
19220
  ${scrollbarStyles}
19136
19221
  `;
19137
- var modalDialogWrapper = import_react106.css`
19222
+ var modalDialogWrapper = import_react107.css`
19138
19223
  padding: 0 var(--spacing-lg) var(--spacing-md);
19139
19224
  `;
19140
- var modalDialogInnerStyles = import_react106.css`
19225
+ var modalDialogInnerStyles = import_react107.css`
19141
19226
  // we need to override the gap of the modalInnerStyles when using a modal dialog
19142
19227
  > div {
19143
19228
  gap: 0;
@@ -19148,7 +19233,7 @@ var modalDialogInnerStyles = import_react106.css`
19148
19233
  var import_jsx_runtime95 = require("@emotion/react/jsx-runtime");
19149
19234
  var defaultModalWidth = "75rem";
19150
19235
  var defaultModalHeight = "51rem";
19151
- var Modal = import_react107.default.forwardRef(
19236
+ var Modal = import_react108.default.forwardRef(
19152
19237
  ({
19153
19238
  header: header2,
19154
19239
  children,
@@ -19158,9 +19243,10 @@ var Modal = import_react107.default.forwardRef(
19158
19243
  buttonGroup,
19159
19244
  modalSize = "lg",
19160
19245
  withoutContentPadding = false,
19246
+ withoutContentBackground = false,
19161
19247
  ...modalProps
19162
19248
  }, ref) => {
19163
- const dialogRef = (0, import_react107.useRef)(null);
19249
+ const dialogRef = (0, import_react108.useRef)(null);
19164
19250
  const size = {
19165
19251
  sm: modalSizeSmall,
19166
19252
  md: modalSizeMedium,
@@ -19172,7 +19258,7 @@ var Modal = import_react107.default.forwardRef(
19172
19258
  },
19173
19259
  shortcut: "escape"
19174
19260
  });
19175
- (0, import_react107.useEffect)(() => {
19261
+ (0, import_react108.useEffect)(() => {
19176
19262
  var _a;
19177
19263
  if (!document.contains(dialogRef.current)) {
19178
19264
  console.warn(
@@ -19229,7 +19315,17 @@ var Modal = import_react107.default.forwardRef(
19229
19315
  }
19230
19316
  )
19231
19317
  ] }),
19232
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { css: [modalContentStyles, !withoutContentPadding ? null : { padding: 0 }], children }),
19318
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
19319
+ "div",
19320
+ {
19321
+ css: [
19322
+ modalContentStyles,
19323
+ !withoutContentPadding ? null : { padding: 0 },
19324
+ !withoutContentBackground ? null : { background: "transparent" }
19325
+ ],
19326
+ children
19327
+ }
19328
+ ),
19233
19329
  buttonGroup ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(HorizontalRhythm, { children: buttonGroup }) : null
19234
19330
  ]
19235
19331
  }
@@ -19242,9 +19338,9 @@ Modal.displayName = "Modal";
19242
19338
 
19243
19339
  // src/components/Modal/ModalDialog.tsx
19244
19340
  init_emotion_jsx_shim();
19245
- var import_react108 = require("react");
19341
+ var import_react109 = require("react");
19246
19342
  var import_jsx_runtime96 = require("@emotion/react/jsx-runtime");
19247
- var ModalDialog = (0, import_react108.forwardRef)(
19343
+ var ModalDialog = (0, import_react109.forwardRef)(
19248
19344
  ({ header: header2, buttonGroup, modalSize = "lg", children, height = "auto", onRequestClose, ...props }, ref) => {
19249
19345
  return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
19250
19346
  Modal,
@@ -19254,6 +19350,7 @@ var ModalDialog = (0, import_react108.forwardRef)(
19254
19350
  ref,
19255
19351
  onRequestClose,
19256
19352
  height,
19353
+ withoutContentBackground: true,
19257
19354
  withoutContentPadding: true,
19258
19355
  css: modalDialogInnerStyles,
19259
19356
  width: "",
@@ -19342,8 +19439,8 @@ function Pagination({
19342
19439
 
19343
19440
  // src/components/ParameterInputs/hooks/ParameterShellContext.tsx
19344
19441
  init_emotion_jsx_shim();
19345
- var import_react109 = require("react");
19346
- var ParameterShellContext = (0, import_react109.createContext)({
19442
+ var import_react110 = require("react");
19443
+ var ParameterShellContext = (0, import_react110.createContext)({
19347
19444
  id: "",
19348
19445
  label: "",
19349
19446
  hiddenLabel: void 0,
@@ -19352,7 +19449,7 @@ var ParameterShellContext = (0, import_react109.createContext)({
19352
19449
  }
19353
19450
  });
19354
19451
  var useParameterShell = () => {
19355
- const { id, label, hiddenLabel, errorMessage, handleManuallySetErrorMessage } = (0, import_react109.useContext)(ParameterShellContext);
19452
+ const { id, label, hiddenLabel, errorMessage, handleManuallySetErrorMessage } = (0, import_react110.useContext)(ParameterShellContext);
19356
19453
  return {
19357
19454
  id,
19358
19455
  label,
@@ -19367,8 +19464,8 @@ init_emotion_jsx_shim();
19367
19464
 
19368
19465
  // src/components/ParameterInputs/styles/LabelLeadingIcon.styles.ts
19369
19466
  init_emotion_jsx_shim();
19370
- var import_react110 = require("@emotion/react");
19371
- var inputIconBtn = import_react110.css`
19467
+ var import_react111 = require("@emotion/react");
19468
+ var inputIconBtn = import_react111.css`
19372
19469
  align-items: center;
19373
19470
  border: none;
19374
19471
  border-radius: var(--rounded-base);
@@ -19436,8 +19533,8 @@ init_emotion_jsx_shim();
19436
19533
 
19437
19534
  // src/components/ParameterInputs/styles/ParameterInput.styles.ts
19438
19535
  init_emotion_jsx_shim();
19439
- var import_react111 = require("@emotion/react");
19440
- var inputContainer2 = import_react111.css`
19536
+ var import_react112 = require("@emotion/react");
19537
+ var inputContainer2 = import_react112.css`
19441
19538
  position: relative;
19442
19539
  scroll-margin: var(--spacing-2xl);
19443
19540
 
@@ -19450,14 +19547,14 @@ var inputContainer2 = import_react111.css`
19450
19547
  }
19451
19548
  }
19452
19549
  `;
19453
- var labelText2 = import_react111.css`
19550
+ var labelText2 = import_react112.css`
19454
19551
  align-items: center;
19455
19552
  display: flex;
19456
19553
  gap: var(--spacing-xs);
19457
19554
  font-weight: var(--fw-regular);
19458
19555
  margin: 0 0 var(--spacing-xs);
19459
19556
  `;
19460
- var input3 = import_react111.css`
19557
+ var input3 = import_react112.css`
19461
19558
  display: block;
19462
19559
  appearance: none;
19463
19560
  box-sizing: border-box;
@@ -19466,7 +19563,7 @@ var input3 = import_react111.css`
19466
19563
  border-radius: var(--rounded-sm);
19467
19564
  color: var(--gray-700);
19468
19565
  font-size: var(--fs-sm);
19469
- line-height: 1.2;
19566
+ line-height: 1.5;
19470
19567
  min-height: 2rem;
19471
19568
  padding: var(--spacing-sm);
19472
19569
  width: 100%;
@@ -19505,18 +19602,18 @@ var input3 = import_react111.css`
19505
19602
  color: var(--gray-400);
19506
19603
  }
19507
19604
  `;
19508
- var selectInput = import_react111.css`
19605
+ var selectInput = import_react112.css`
19509
19606
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%0A%3E%3Cpath d='M6.34317 7.75732L4.92896 9.17154L12 16.2426L19.0711 9.17157L17.6569 7.75735L12 13.4142L6.34317 7.75732Z' fill='currentColor' /%3E%3C/svg%3E");
19510
19607
  background-position: right var(--spacing-sm) center;
19511
19608
  background-repeat: no-repeat;
19512
19609
  background-size: 1rem;
19513
19610
  padding-right: var(--spacing-xl);
19514
19611
  `;
19515
- var inputWrapper = import_react111.css`
19612
+ var inputWrapper = import_react112.css`
19516
19613
  display: flex; // used to correct overflow with chrome textarea
19517
19614
  position: relative;
19518
19615
  `;
19519
- var inputIcon2 = import_react111.css`
19616
+ var inputIcon2 = import_react112.css`
19520
19617
  align-items: center;
19521
19618
  background: var(--white);
19522
19619
  border-radius: var(--rounded-md) 0 0 var(--rounded-md);
@@ -19532,7 +19629,7 @@ var inputIcon2 = import_react111.css`
19532
19629
  width: var(--spacing-lg);
19533
19630
  z-index: var(--z-10);
19534
19631
  `;
19535
- var inputToggleLabel2 = import_react111.css`
19632
+ var inputToggleLabel2 = import_react112.css`
19536
19633
  --inline-label-color: var(--typography-base);
19537
19634
  align-items: center;
19538
19635
  cursor: pointer;
@@ -19547,7 +19644,7 @@ var inputToggleLabel2 = import_react111.css`
19547
19644
  --inline-label-color: var(--gray-400);
19548
19645
  }
19549
19646
  `;
19550
- var toggleInput2 = import_react111.css`
19647
+ var toggleInput2 = import_react112.css`
19551
19648
  appearance: none;
19552
19649
  border: 1px solid var(--gray-200);
19553
19650
  background: var(--white);
@@ -19600,7 +19697,7 @@ var toggleInput2 = import_react111.css`
19600
19697
  border-color: var(--gray-300);
19601
19698
  }
19602
19699
  `;
19603
- var inlineLabel2 = import_react111.css`
19700
+ var inlineLabel2 = import_react112.css`
19604
19701
  color: var(--inline-label-color);
19605
19702
  padding-left: var(--spacing-md);
19606
19703
  font-size: var(--fs-sm);
@@ -19617,7 +19714,7 @@ var inlineLabel2 = import_react111.css`
19617
19714
  }
19618
19715
  }
19619
19716
  `;
19620
- var inputMenu = import_react111.css`
19717
+ var inputMenu = import_react112.css`
19621
19718
  background: none;
19622
19719
  border: none;
19623
19720
  padding: var(--spacing-2xs);
@@ -19625,10 +19722,10 @@ var inputMenu = import_react111.css`
19625
19722
  top: calc(var(--spacing-md) * -1.2);
19626
19723
  right: 0;
19627
19724
  `;
19628
- var inputActionItems = import_react111.css`
19725
+ var inputActionItems = import_react112.css`
19629
19726
  display: flex;
19630
19727
  `;
19631
- var inputMenuHover = import_react111.css`
19728
+ var inputMenuHover = import_react112.css`
19632
19729
  opacity: var(--opacity-50);
19633
19730
  transition: background-color var(--duration-fast) var(--timing-ease-out);
19634
19731
 
@@ -19638,11 +19735,11 @@ var inputMenuHover = import_react111.css`
19638
19735
  background-color: var(--gray-200);
19639
19736
  }
19640
19737
  `;
19641
- var textarea2 = import_react111.css`
19738
+ var textarea2 = import_react112.css`
19642
19739
  resize: vertical;
19643
19740
  min-height: 2rem;
19644
19741
  `;
19645
- var dataConnectButton = import_react111.css`
19742
+ var dataConnectButton = import_react112.css`
19646
19743
  align-items: center;
19647
19744
  appearance: none;
19648
19745
  box-sizing: border-box;
@@ -19677,7 +19774,7 @@ var dataConnectButton = import_react111.css`
19677
19774
  pointer-events: none;
19678
19775
  }
19679
19776
  `;
19680
- var linkParameterBtn = import_react111.css`
19777
+ var linkParameterBtn = import_react112.css`
19681
19778
  border-radius: var(--rounded-base);
19682
19779
  background: transparent;
19683
19780
  border: none;
@@ -19686,7 +19783,7 @@ var linkParameterBtn = import_react111.css`
19686
19783
  font-size: var(--fs-sm);
19687
19784
  line-height: 1;
19688
19785
  `;
19689
- var linkParameterControls = import_react111.css`
19786
+ var linkParameterControls = import_react112.css`
19690
19787
  position: absolute;
19691
19788
  inset: 0 0 0 auto;
19692
19789
  padding: 0 var(--spacing-base);
@@ -19695,7 +19792,7 @@ var linkParameterControls = import_react111.css`
19695
19792
  justify-content: center;
19696
19793
  gap: var(--spacing-base);
19697
19794
  `;
19698
- var linkParameterInput = (withExternalLinkIcon) => import_react111.css`
19795
+ var linkParameterInput = (withExternalLinkIcon) => import_react112.css`
19699
19796
  padding-right: calc(
19700
19797
  ${withExternalLinkIcon ? "calc(var(--spacing-lg) * 2 + var(--spacing-xs))" : "var(--spacing-xl)"} +
19701
19798
  var(--spacing-base)
@@ -19708,7 +19805,7 @@ var linkParameterInput = (withExternalLinkIcon) => import_react111.css`
19708
19805
  }
19709
19806
  }
19710
19807
  `;
19711
- var linkParameterIcon = import_react111.css`
19808
+ var linkParameterIcon = import_react112.css`
19712
19809
  align-items: center;
19713
19810
  color: var(--brand-secondary-3);
19714
19811
  display: flex;
@@ -19761,20 +19858,20 @@ init_emotion_jsx_shim();
19761
19858
 
19762
19859
  // src/components/ParameterInputs/styles/ParameterDrawerHeader.styles.ts
19763
19860
  init_emotion_jsx_shim();
19764
- var import_react112 = require("@emotion/react");
19765
- var ParameterDrawerHeaderContainer = import_react112.css`
19861
+ var import_react113 = require("@emotion/react");
19862
+ var ParameterDrawerHeaderContainer = import_react113.css`
19766
19863
  align-items: center;
19767
19864
  display: flex;
19768
19865
  gap: var(--spacing-base);
19769
19866
  justify-content: space-between;
19770
19867
  margin-bottom: var(--spacing-sm);
19771
19868
  `;
19772
- var ParameterDrawerHeaderTitleGroup = import_react112.css`
19869
+ var ParameterDrawerHeaderTitleGroup = import_react113.css`
19773
19870
  align-items: center;
19774
19871
  display: flex;
19775
19872
  gap: var(--spacing-sm);
19776
19873
  `;
19777
- var ParameterDrawerHeaderTitle = import_react112.css`
19874
+ var ParameterDrawerHeaderTitle = import_react113.css`
19778
19875
  text-overflow: ellipsis;
19779
19876
  white-space: nowrap;
19780
19877
  overflow: hidden;
@@ -19795,12 +19892,12 @@ var ParameterDrawerHeader = ({ title: title2, iconBeforeTitle, children }) => {
19795
19892
 
19796
19893
  // src/components/ParameterInputs/ParameterGroup.tsx
19797
19894
  init_emotion_jsx_shim();
19798
- var import_react114 = require("react");
19895
+ var import_react115 = require("react");
19799
19896
 
19800
19897
  // src/components/ParameterInputs/styles/ParameterGroup.styles.ts
19801
19898
  init_emotion_jsx_shim();
19802
- var import_react113 = require("@emotion/react");
19803
- var fieldsetStyles = import_react113.css`
19899
+ var import_react114 = require("@emotion/react");
19900
+ var fieldsetStyles = import_react114.css`
19804
19901
  &:disabled,
19805
19902
  [readonly] {
19806
19903
  pointer-events: none;
@@ -19811,7 +19908,7 @@ var fieldsetStyles = import_react113.css`
19811
19908
  }
19812
19909
  }
19813
19910
  `;
19814
- var fieldsetLegend2 = import_react113.css`
19911
+ var fieldsetLegend2 = import_react114.css`
19815
19912
  display: block;
19816
19913
  font-weight: var(--fw-medium);
19817
19914
  margin-bottom: var(--spacing-sm);
@@ -19820,7 +19917,7 @@ var fieldsetLegend2 = import_react113.css`
19820
19917
 
19821
19918
  // src/components/ParameterInputs/ParameterGroup.tsx
19822
19919
  var import_jsx_runtime101 = require("@emotion/react/jsx-runtime");
19823
- var ParameterGroup = (0, import_react114.forwardRef)(
19920
+ var ParameterGroup = (0, import_react115.forwardRef)(
19824
19921
  ({ legend, isDisabled, children, ...props }, ref) => {
19825
19922
  return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
19826
19923
  /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("legend", { css: fieldsetLegend2, children: legend }),
@@ -19831,24 +19928,24 @@ var ParameterGroup = (0, import_react114.forwardRef)(
19831
19928
 
19832
19929
  // src/components/ParameterInputs/ParameterImage.tsx
19833
19930
  init_emotion_jsx_shim();
19834
- var import_react121 = require("react");
19931
+ var import_react122 = require("react");
19835
19932
 
19836
19933
  // src/components/ParameterInputs/ParameterImagePreview.tsx
19837
19934
  init_emotion_jsx_shim();
19838
- var import_react116 = require("react");
19935
+ var import_react117 = require("react");
19839
19936
  var import_react_dom2 = require("react-dom");
19840
19937
 
19841
19938
  // src/components/ParameterInputs/styles/ParameterImage.styles.ts
19842
19939
  init_emotion_jsx_shim();
19843
- var import_react115 = require("@emotion/react");
19844
- var previewWrapper = import_react115.css`
19940
+ var import_react116 = require("@emotion/react");
19941
+ var previewWrapper = import_react116.css`
19845
19942
  margin-top: var(--spacing-xs);
19846
19943
  background: var(--gray-50);
19847
19944
  padding: var(--spacing-sm);
19848
19945
  border: solid 1px var(--gray-300);
19849
19946
  border-radius: var(--rounded-sm);
19850
19947
  `;
19851
- var previewLink = import_react115.css`
19948
+ var previewLink = import_react116.css`
19852
19949
  display: block;
19853
19950
  width: 100%;
19854
19951
 
@@ -19856,7 +19953,7 @@ var previewLink = import_react115.css`
19856
19953
  max-height: 9rem;
19857
19954
  }
19858
19955
  `;
19859
- var previewModalWrapper = import_react115.css`
19956
+ var previewModalWrapper = import_react116.css`
19860
19957
  background: var(--gray-50);
19861
19958
  display: flex;
19862
19959
  height: 100%;
@@ -19865,7 +19962,7 @@ var previewModalWrapper = import_react115.css`
19865
19962
  border: solid 1px var(--gray-300);
19866
19963
  border-radius: var(--rounded-sm);
19867
19964
  `;
19868
- var previewModalImage = import_react115.css`
19965
+ var previewModalImage = import_react116.css`
19869
19966
  display: flex;
19870
19967
  height: 100%;
19871
19968
  width: 100%;
@@ -19879,7 +19976,7 @@ var previewModalImage = import_react115.css`
19879
19976
  // src/components/ParameterInputs/ParameterImagePreview.tsx
19880
19977
  var import_jsx_runtime102 = require("@emotion/react/jsx-runtime");
19881
19978
  function ParameterImagePreview({ imageSrc }) {
19882
- const [showModal, setShowModal] = (0, import_react116.useState)(false);
19979
+ const [showModal, setShowModal] = (0, import_react117.useState)(false);
19883
19980
  return imageSrc ? /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)("div", { css: previewWrapper, children: [
19884
19981
  /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(PreviewImageModal, { open: showModal, imageSrc, onRequestClose: () => setShowModal(false) }),
19885
19982
  /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
@@ -19911,8 +20008,8 @@ var PreviewImageModal = ({ open, onRequestClose, imageSrc }) => {
19911
20008
 
19912
20009
  // src/components/ParameterInputs/ParameterShell.tsx
19913
20010
  init_emotion_jsx_shim();
19914
- var import_react119 = require("@emotion/react");
19915
- var import_react120 = require("react");
20011
+ var import_react120 = require("@emotion/react");
20012
+ var import_react121 = require("react");
19916
20013
 
19917
20014
  // src/components/ParameterInputs/ParameterLabel.tsx
19918
20015
  init_emotion_jsx_shim();
@@ -19923,9 +20020,9 @@ var ParameterLabel = ({ id, asSpan, children, ...props }) => {
19923
20020
 
19924
20021
  // src/components/ParameterInputs/ParameterMenuButton.tsx
19925
20022
  init_emotion_jsx_shim();
19926
- var import_react117 = require("react");
20023
+ var import_react118 = require("react");
19927
20024
  var import_jsx_runtime104 = require("@emotion/react/jsx-runtime");
19928
- var ParameterMenuButton = (0, import_react117.forwardRef)(
20025
+ var ParameterMenuButton = (0, import_react118.forwardRef)(
19929
20026
  ({ label, children }, ref) => {
19930
20027
  return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
19931
20028
  Menu,
@@ -19950,14 +20047,14 @@ var ParameterMenuButton = (0, import_react117.forwardRef)(
19950
20047
 
19951
20048
  // src/components/ParameterInputs/styles/ParameterShell.styles.ts
19952
20049
  init_emotion_jsx_shim();
19953
- var import_react118 = require("@emotion/react");
19954
- var emptyParameterShell = import_react118.css`
20050
+ var import_react119 = require("@emotion/react");
20051
+ var emptyParameterShell = import_react119.css`
19955
20052
  border-radius: var(--rounded-sm);
19956
20053
  flex-grow: 1;
19957
20054
  position: relative;
19958
20055
  max-width: 100%;
19959
20056
  `;
19960
- var emptyParameterShellText = import_react118.css`
20057
+ var emptyParameterShellText = import_react119.css`
19961
20058
  background: var(--brand-secondary-6);
19962
20059
  border-radius: var(--rounded-sm);
19963
20060
  padding: var(--spacing-sm);
@@ -19965,7 +20062,7 @@ var emptyParameterShellText = import_react118.css`
19965
20062
  font-size: var(--fs-sm);
19966
20063
  margin: 0;
19967
20064
  `;
19968
- var overrideMarker = import_react118.css`
20065
+ var overrideMarker = import_react119.css`
19969
20066
  border-radius: var(--rounded-sm);
19970
20067
  border: 10px solid var(--gray-300);
19971
20068
  border-left-color: transparent;
@@ -20036,7 +20133,7 @@ var ParameterShell = ({
20036
20133
  isParameterGroup = false,
20037
20134
  ...props
20038
20135
  }) => {
20039
- const [manualErrorMessage, setManualErrorMessage] = (0, import_react120.useState)(void 0);
20136
+ const [manualErrorMessage, setManualErrorMessage] = (0, import_react121.useState)(void 0);
20040
20137
  const setErrorMessage = (message) => setManualErrorMessage(message);
20041
20138
  const errorMessaging = errorMessage || manualErrorMessage;
20042
20139
  return /* @__PURE__ */ (0, import_jsx_runtime105.jsxs)("div", { css: inputContainer2, ...props, id, children: [
@@ -20057,7 +20154,7 @@ var ParameterShell = ({
20057
20154
  css: [
20058
20155
  inputMenu,
20059
20156
  inputActionItems,
20060
- menuItems ? import_react119.css`
20157
+ menuItems ? import_react120.css`
20061
20158
  right: var(--spacing-md);
20062
20159
  ` : void 0
20063
20160
  ],
@@ -20102,7 +20199,7 @@ var ParameterOverrideMarker = (props) => /* @__PURE__ */ (0, import_jsx_runtime1
20102
20199
 
20103
20200
  // src/components/ParameterInputs/ParameterImage.tsx
20104
20201
  var import_jsx_runtime106 = require("@emotion/react/jsx-runtime");
20105
- var ParameterImage = (0, import_react121.forwardRef)(
20202
+ var ParameterImage = (0, import_react122.forwardRef)(
20106
20203
  ({ children, ...props }, ref) => {
20107
20204
  const { shellProps, innerProps } = extractParameterProps(props);
20108
20205
  return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: [
@@ -20111,10 +20208,10 @@ var ParameterImage = (0, import_react121.forwardRef)(
20111
20208
  ] });
20112
20209
  }
20113
20210
  );
20114
- var ParameterImageInner = (0, import_react121.forwardRef)((props, ref) => {
20211
+ var ParameterImageInner = (0, import_react122.forwardRef)((props, ref) => {
20115
20212
  const { value } = props;
20116
20213
  const { id, label, hiddenLabel, errorMessage } = useParameterShell();
20117
- const deferredValue = (0, import_react121.useDeferredValue)(value);
20214
+ const deferredValue = (0, import_react122.useDeferredValue)(value);
20118
20215
  return /* @__PURE__ */ (0, import_jsx_runtime106.jsxs)(import_jsx_runtime106.Fragment, { children: [
20119
20216
  /* @__PURE__ */ (0, import_jsx_runtime106.jsx)(
20120
20217
  "input",
@@ -20134,13 +20231,13 @@ var ParameterImageInner = (0, import_react121.forwardRef)((props, ref) => {
20134
20231
 
20135
20232
  // src/components/ParameterInputs/ParameterInput.tsx
20136
20233
  init_emotion_jsx_shim();
20137
- var import_react122 = require("react");
20234
+ var import_react123 = require("react");
20138
20235
  var import_jsx_runtime107 = require("@emotion/react/jsx-runtime");
20139
- var ParameterInput = (0, import_react122.forwardRef)((props, ref) => {
20236
+ var ParameterInput = (0, import_react123.forwardRef)((props, ref) => {
20140
20237
  const { shellProps, innerProps } = extractParameterProps(props);
20141
20238
  return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(ParameterInputInner, { ref, ...innerProps }) });
20142
20239
  });
20143
- var ParameterInputInner = (0, import_react122.forwardRef)(
20240
+ var ParameterInputInner = (0, import_react123.forwardRef)(
20144
20241
  ({ ...props }, ref) => {
20145
20242
  const { id, label, hiddenLabel } = useParameterShell();
20146
20243
  return /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
@@ -20160,9 +20257,9 @@ var ParameterInputInner = (0, import_react122.forwardRef)(
20160
20257
 
20161
20258
  // src/components/ParameterInputs/ParameterLink.tsx
20162
20259
  init_emotion_jsx_shim();
20163
- var import_react123 = require("react");
20260
+ var import_react124 = require("react");
20164
20261
  var import_jsx_runtime108 = require("@emotion/react/jsx-runtime");
20165
- var ParameterLink = (0, import_react123.forwardRef)(
20262
+ var ParameterLink = (0, import_react124.forwardRef)(
20166
20263
  ({ disabled: disabled2, onConnectLink, externalLink, ...props }, ref) => {
20167
20264
  const { shellProps, innerProps } = extractParameterProps(props);
20168
20265
  return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
@@ -20185,7 +20282,7 @@ var ParameterLink = (0, import_react123.forwardRef)(
20185
20282
  );
20186
20283
  }
20187
20284
  );
20188
- var ParameterLinkInner = (0, import_react123.forwardRef)(
20285
+ var ParameterLinkInner = (0, import_react124.forwardRef)(
20189
20286
  ({ externalLink, onConnectLink, disabled: disabled2, buttonText = "Select link", ...props }, ref) => {
20190
20287
  const { id, label, hiddenLabel } = useParameterShell();
20191
20288
  if (!props.value)
@@ -20231,9 +20328,62 @@ var ParameterLinkInner = (0, import_react123.forwardRef)(
20231
20328
  }
20232
20329
  );
20233
20330
 
20234
- // src/components/ParameterInputs/ParameterNameAndPublicIdInput.tsx
20331
+ // src/components/ParameterInputs/ParameterMultiSelect.tsx
20235
20332
  init_emotion_jsx_shim();
20236
20333
  var import_jsx_runtime109 = require("@emotion/react/jsx-runtime");
20334
+ var ParameterMultiSelect = ({ disabled: disabled2 = false, ...props }) => {
20335
+ const { shellProps, innerProps } = extractParameterProps(props);
20336
+ return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(ParameterMultiSelectInner, { isDisabled: disabled2, ...innerProps }) });
20337
+ };
20338
+ var ParameterMultiSelectInner = (props) => {
20339
+ var _a;
20340
+ const { id, label } = useParameterShell();
20341
+ return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
20342
+ InputComboBox,
20343
+ {
20344
+ ...props,
20345
+ isMulti: true,
20346
+ isClearable: (_a = props.isClearable) != null ? _a : false,
20347
+ id,
20348
+ "aria-label": label,
20349
+ classNamePrefix: "parameter-multi-select-combobox",
20350
+ styles: {
20351
+ valueContainer: (base) => ({
20352
+ ...base,
20353
+ padding: "0 var(--spacing-sm)",
20354
+ fontSize: "var(--fs-sm)"
20355
+ }),
20356
+ control: (base, state) => ({
20357
+ ...base,
20358
+ padding: "var(--spacing-sm) 0",
20359
+ border: state.isFocused ? "1px solid var(--accent-dark-hover)" : "1px solid var(--gray-200)",
20360
+ borderRadius: "var(--rounded-sm)",
20361
+ minHeight: "39px",
20362
+ // matches the min-height of other input fields
20363
+ transition: "border-color var(--duration-xfast) ease-in-out",
20364
+ outline: "none",
20365
+ "&:hover": {
20366
+ boxShadow: "none",
20367
+ borderColor: "var(--accent-dark-hover)",
20368
+ outline: "none"
20369
+ },
20370
+ "&:focus-within": {
20371
+ borderColor: "var(--accent-dark-hover)",
20372
+ outline: "none"
20373
+ }
20374
+ }),
20375
+ indicatorsContainer: (base) => ({
20376
+ ...base,
20377
+ padding: "0"
20378
+ })
20379
+ }
20380
+ }
20381
+ );
20382
+ };
20383
+
20384
+ // src/components/ParameterInputs/ParameterNameAndPublicIdInput.tsx
20385
+ init_emotion_jsx_shim();
20386
+ var import_jsx_runtime110 = require("@emotion/react/jsx-runtime");
20237
20387
  var ParameterNameAndPublicIdInput = ({
20238
20388
  id,
20239
20389
  onBlur,
@@ -20259,8 +20409,8 @@ var ParameterNameAndPublicIdInput = ({
20259
20409
  navigator.clipboard.writeText(values[publicIdFieldName]);
20260
20410
  };
20261
20411
  autoFocus == null ? void 0 : autoFocus();
20262
- return /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_jsx_runtime109.Fragment, { children: [
20263
- /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
20412
+ return /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_jsx_runtime110.Fragment, { children: [
20413
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
20264
20414
  ParameterInput,
20265
20415
  {
20266
20416
  id: nameIdField,
@@ -20279,7 +20429,7 @@ var ParameterNameAndPublicIdInput = ({
20279
20429
  value: values[nameIdField]
20280
20430
  }
20281
20431
  ),
20282
- /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
20432
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
20283
20433
  ParameterInput,
20284
20434
  {
20285
20435
  id: publicIdFieldName,
@@ -20293,11 +20443,11 @@ var ParameterNameAndPublicIdInput = ({
20293
20443
  caption: !publicIdError ? publicIdCaption : void 0,
20294
20444
  placeholder: publicIdPlaceholderText,
20295
20445
  errorMessage: publicIdError,
20296
- menuItems: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
20446
+ menuItems: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
20297
20447
  MenuItem,
20298
20448
  {
20299
20449
  disabled: !values[publicIdFieldName],
20300
- icon: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Icon, { icon: "path-trim", iconColor: "currentColor" }),
20450
+ icon: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Icon, { icon: "path-trim", iconColor: "currentColor" }),
20301
20451
  onClick: handleCopyPidFieldValue,
20302
20452
  children: "Copy"
20303
20453
  }
@@ -20305,13 +20455,13 @@ var ParameterNameAndPublicIdInput = ({
20305
20455
  value: values[publicIdFieldName]
20306
20456
  }
20307
20457
  ),
20308
- (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Callout, { type: "caution", children: warnOverLength.message }) : null
20458
+ (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Callout, { type: "caution", children: warnOverLength.message }) : null
20309
20459
  ] });
20310
20460
  };
20311
20461
 
20312
20462
  // src/components/ParameterInputs/ParameterRichText.tsx
20313
20463
  init_emotion_jsx_shim();
20314
- var import_react130 = require("@emotion/react");
20464
+ var import_react131 = require("@emotion/react");
20315
20465
  var import_list3 = require("@lexical/list");
20316
20466
  var import_markdown = require("@lexical/markdown");
20317
20467
  var import_LexicalComposer = require("@lexical/react/LexicalComposer");
@@ -20418,7 +20568,7 @@ var getLabelForElement = (type) => {
20418
20568
  // src/components/ParameterInputs/ParameterRichText.tsx
20419
20569
  var import_fast_equals2 = require("fast-equals");
20420
20570
  var import_lexical6 = require("lexical");
20421
- var import_react131 = require("react");
20571
+ var import_react132 = require("react");
20422
20572
 
20423
20573
  // src/components/ParameterInputs/rich-text/CustomCodeNode.ts
20424
20574
  init_emotion_jsx_shim();
@@ -20441,10 +20591,10 @@ init_emotion_jsx_shim();
20441
20591
  var import_LexicalComposerContext = require("@lexical/react/LexicalComposerContext");
20442
20592
  var import_utils2 = require("@lexical/utils");
20443
20593
  var import_lexical = require("lexical");
20444
- var import_react124 = require("react");
20594
+ var import_react125 = require("react");
20445
20595
  function DisableStylesPlugin() {
20446
20596
  const [editor] = (0, import_LexicalComposerContext.useLexicalComposerContext)();
20447
- (0, import_react124.useEffect)(() => {
20597
+ (0, import_react125.useEffect)(() => {
20448
20598
  return (0, import_utils2.mergeRegister)(
20449
20599
  // Disable text alignment on paragraph nodes
20450
20600
  editor.registerNodeTransform(import_lexical.ParagraphNode, (node) => {
@@ -20639,13 +20789,13 @@ var codeElement = import_css2.css`
20639
20789
 
20640
20790
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
20641
20791
  init_emotion_jsx_shim();
20642
- var import_react125 = require("@emotion/react");
20792
+ var import_react126 = require("@emotion/react");
20643
20793
  var import_LexicalComposerContext2 = require("@lexical/react/LexicalComposerContext");
20644
20794
  var import_LexicalNodeEventPlugin = require("@lexical/react/LexicalNodeEventPlugin");
20645
20795
  var import_utils3 = require("@lexical/utils");
20646
20796
  var import_fast_equals = require("fast-equals");
20647
20797
  var import_lexical3 = require("lexical");
20648
- var import_react126 = require("react");
20798
+ var import_react127 = require("react");
20649
20799
 
20650
20800
  // src/components/ParameterInputs/rich-text/utils.ts
20651
20801
  init_emotion_jsx_shim();
@@ -20684,7 +20834,7 @@ var getSelectedNode = (selection) => {
20684
20834
  };
20685
20835
 
20686
20836
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
20687
- var import_jsx_runtime110 = require("@emotion/react/jsx-runtime");
20837
+ var import_jsx_runtime111 = require("@emotion/react/jsx-runtime");
20688
20838
  var isProjectMapLinkValue = (value) => {
20689
20839
  return (value == null ? void 0 : value.type) === "projectMapNode" && Boolean(
20690
20840
  value.nodeId && value.path && value.projectMapId
@@ -20971,16 +21121,16 @@ var OPEN_LINK_NODE_MODAL_COMMAND = (0, import_lexical3.createCommand)(
20971
21121
  );
20972
21122
  var LINK_POPOVER_OFFSET_X = 0;
20973
21123
  var LINK_POPOVER_OFFSET_Y = 8;
20974
- var linkPopover = import_react125.css`
21124
+ var linkPopover = import_react126.css`
20975
21125
  position: absolute;
20976
21126
  z-index: 5;
20977
21127
  `;
20978
- var linkPopoverContainer = import_react125.css`
21128
+ var linkPopoverContainer = import_react126.css`
20979
21129
  ${Popover};
20980
21130
  align-items: center;
20981
21131
  display: flex;
20982
21132
  `;
20983
- var linkPopoverAnchor = import_react125.css`
21133
+ var linkPopoverAnchor = import_react126.css`
20984
21134
  ${link}
20985
21135
  ${linkColorDefault}
20986
21136
  `;
@@ -20989,17 +21139,17 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
20989
21139
  return path;
20990
21140
  };
20991
21141
  const [editor] = (0, import_LexicalComposerContext2.useLexicalComposerContext)();
20992
- const [linkPopoverState, setLinkPopoverState] = (0, import_react126.useState)();
20993
- const linkPopoverElRef = (0, import_react126.useRef)(null);
20994
- const [isEditorFocused, setIsEditorFocused] = (0, import_react126.useState)(false);
20995
- const [isLinkPopoverFocused, setIsLinkPopoverFocused] = (0, import_react126.useState)(false);
20996
- (0, import_react126.useEffect)(() => {
21142
+ const [linkPopoverState, setLinkPopoverState] = (0, import_react127.useState)();
21143
+ const linkPopoverElRef = (0, import_react127.useRef)(null);
21144
+ const [isEditorFocused, setIsEditorFocused] = (0, import_react127.useState)(false);
21145
+ const [isLinkPopoverFocused, setIsLinkPopoverFocused] = (0, import_react127.useState)(false);
21146
+ (0, import_react127.useEffect)(() => {
20997
21147
  if (!isEditorFocused && !isLinkPopoverFocused) {
20998
21148
  setLinkPopoverState(void 0);
20999
21149
  return;
21000
21150
  }
21001
21151
  }, [isEditorFocused, isLinkPopoverFocused]);
21002
- (0, import_react126.useEffect)(() => {
21152
+ (0, import_react127.useEffect)(() => {
21003
21153
  if (!editor.hasNodes([LinkNode])) {
21004
21154
  throw new Error("LinkNode not registered on editor");
21005
21155
  }
@@ -21068,7 +21218,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
21068
21218
  )
21069
21219
  );
21070
21220
  }, [editor, onConnectLink]);
21071
- const maybeShowLinkToolbar = (0, import_react126.useCallback)(() => {
21221
+ const maybeShowLinkToolbar = (0, import_react127.useCallback)(() => {
21072
21222
  if (!editor.isEditable()) {
21073
21223
  return;
21074
21224
  }
@@ -21100,7 +21250,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
21100
21250
  }
21101
21251
  });
21102
21252
  }, [editor]);
21103
- (0, import_react126.useEffect)(() => {
21253
+ (0, import_react127.useEffect)(() => {
21104
21254
  return editor.registerUpdateListener(({ editorState }) => {
21105
21255
  requestAnimationFrame(() => {
21106
21256
  editorState.read(() => {
@@ -21127,8 +21277,8 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
21127
21277
  });
21128
21278
  });
21129
21279
  };
21130
- return /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)(import_jsx_runtime110.Fragment, { children: [
21131
- /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
21280
+ return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(import_jsx_runtime111.Fragment, { children: [
21281
+ /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
21132
21282
  import_LexicalNodeEventPlugin.NodeEventPlugin,
21133
21283
  {
21134
21284
  nodeType: LinkNode,
@@ -21138,7 +21288,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
21138
21288
  }
21139
21289
  }
21140
21290
  ),
21141
- linkPopoverState ? /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
21291
+ linkPopoverState ? /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
21142
21292
  "div",
21143
21293
  {
21144
21294
  css: linkPopover,
@@ -21147,8 +21297,8 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
21147
21297
  top: linkPopoverState.position.y
21148
21298
  },
21149
21299
  ref: linkPopoverElRef,
21150
- children: /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("div", { css: linkPopoverContainer, children: [
21151
- linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
21300
+ children: /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { css: linkPopoverContainer, children: [
21301
+ linkPopoverState.node.__link.type === "projectMapNode" ? linkPopoverState.node.__link.path : /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
21152
21302
  "a",
21153
21303
  {
21154
21304
  href: parsePath(
@@ -21160,7 +21310,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
21160
21310
  children: parsePath(linkPopoverState.node.__link.path)
21161
21311
  }
21162
21312
  ),
21163
- /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
21313
+ /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(
21164
21314
  Button,
21165
21315
  {
21166
21316
  size: "xs",
@@ -21168,7 +21318,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
21168
21318
  onEditLinkNode(linkPopoverState.node);
21169
21319
  },
21170
21320
  buttonType: "ghost",
21171
- children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
21321
+ children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Icon, { icon: "pen", size: "1rem", title: "Edit link" })
21172
21322
  }
21173
21323
  )
21174
21324
  ] })
@@ -21188,8 +21338,8 @@ var import_list = require("@lexical/list");
21188
21338
  var import_LexicalComposerContext3 = require("@lexical/react/LexicalComposerContext");
21189
21339
  var import_LexicalTabIndentationPlugin = require("@lexical/react/LexicalTabIndentationPlugin");
21190
21340
  var import_lexical4 = require("lexical");
21191
- var import_react127 = require("react");
21192
- var import_jsx_runtime111 = require("@emotion/react/jsx-runtime");
21341
+ var import_react128 = require("react");
21342
+ var import_jsx_runtime112 = require("@emotion/react/jsx-runtime");
21193
21343
  function isIndentPermitted(maxDepth) {
21194
21344
  const selection = (0, import_lexical4.$getSelection)();
21195
21345
  if (!(0, import_lexical4.$isRangeSelection)(selection)) {
@@ -21212,19 +21362,19 @@ function isIndentPermitted(maxDepth) {
21212
21362
  }
21213
21363
  function ListIndentPlugin({ maxDepth }) {
21214
21364
  const [editor] = (0, import_LexicalComposerContext3.useLexicalComposerContext)();
21215
- (0, import_react127.useEffect)(() => {
21365
+ (0, import_react128.useEffect)(() => {
21216
21366
  return editor.registerCommand(
21217
21367
  import_lexical4.INDENT_CONTENT_COMMAND,
21218
21368
  () => !isIndentPermitted(maxDepth),
21219
21369
  import_lexical4.COMMAND_PRIORITY_CRITICAL
21220
21370
  );
21221
21371
  }, [editor, maxDepth]);
21222
- return /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_LexicalTabIndentationPlugin.TabIndentationPlugin, {});
21372
+ return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(import_LexicalTabIndentationPlugin.TabIndentationPlugin, {});
21223
21373
  }
21224
21374
 
21225
21375
  // src/components/ParameterInputs/rich-text/RichTextToolbar.tsx
21226
21376
  init_emotion_jsx_shim();
21227
- var import_react128 = require("@emotion/react");
21377
+ var import_react129 = require("@emotion/react");
21228
21378
  var import_code2 = require("@lexical/code");
21229
21379
  var import_list2 = require("@lexical/list");
21230
21380
  var import_LexicalComposerContext4 = require("@lexical/react/LexicalComposerContext");
@@ -21232,9 +21382,9 @@ var import_rich_text = require("@lexical/rich-text");
21232
21382
  var import_selection2 = require("@lexical/selection");
21233
21383
  var import_utils6 = require("@lexical/utils");
21234
21384
  var import_lexical5 = require("lexical");
21235
- var import_react129 = require("react");
21236
- var import_jsx_runtime112 = require("@emotion/react/jsx-runtime");
21237
- var toolbar = import_react128.css`
21385
+ var import_react130 = require("react");
21386
+ var import_jsx_runtime113 = require("@emotion/react/jsx-runtime");
21387
+ var toolbar = import_react129.css`
21238
21388
  background: var(--gray-50);
21239
21389
  border-radius: var(--rounded-base);
21240
21390
  display: flex;
@@ -21246,7 +21396,7 @@ var toolbar = import_react128.css`
21246
21396
  top: calc(var(--spacing-sm) * -2);
21247
21397
  z-index: 10;
21248
21398
  `;
21249
- var toolbarGroup = import_react128.css`
21399
+ var toolbarGroup = import_react129.css`
21250
21400
  display: flex;
21251
21401
  gap: var(--spacing-xs);
21252
21402
  position: relative;
@@ -21262,7 +21412,7 @@ var toolbarGroup = import_react128.css`
21262
21412
  width: 1px;
21263
21413
  }
21264
21414
  `;
21265
- var richTextToolbarButton = import_react128.css`
21415
+ var richTextToolbarButton = import_react129.css`
21266
21416
  align-items: center;
21267
21417
  appearance: none;
21268
21418
  border: 0;
@@ -21275,17 +21425,17 @@ var richTextToolbarButton = import_react128.css`
21275
21425
  min-width: 32px;
21276
21426
  padding: 0 var(--spacing-sm);
21277
21427
  `;
21278
- var richTextToolbarButtonActive = import_react128.css`
21428
+ var richTextToolbarButtonActive = import_react129.css`
21279
21429
  background: var(--gray-200);
21280
21430
  `;
21281
- var toolbarIcon = import_react128.css`
21431
+ var toolbarIcon = import_react129.css`
21282
21432
  color: inherit;
21283
21433
  `;
21284
- var toolbarChevron = import_react128.css`
21434
+ var toolbarChevron = import_react129.css`
21285
21435
  margin-left: var(--spacing-xs);
21286
21436
  `;
21287
21437
  var RichTextToolbarIcon = ({ icon }) => {
21288
- return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Icon, { icon, css: toolbarIcon, size: "1rem" });
21438
+ return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Icon, { icon, css: toolbarIcon, size: "1rem" });
21289
21439
  };
21290
21440
  var FORMATS_WITH_ICON = /* @__PURE__ */ new Map([
21291
21441
  ["bold", "format-bold"],
@@ -21336,7 +21486,7 @@ var RichTextToolbar = ({ config, customControls }) => {
21336
21486
  }
21337
21487
  });
21338
21488
  };
21339
- const updateToolbar = (0, import_react129.useCallback)(() => {
21489
+ const updateToolbar = (0, import_react130.useCallback)(() => {
21340
21490
  const selection = (0, import_lexical5.$getSelection)();
21341
21491
  if (!(0, import_lexical5.$isRangeSelection)(selection)) {
21342
21492
  return;
@@ -21375,7 +21525,7 @@ var RichTextToolbar = ({ config, customControls }) => {
21375
21525
  setIsLink(false);
21376
21526
  }
21377
21527
  }, [editor, setActiveElement, setActiveFormats, setIsLink]);
21378
- (0, import_react129.useEffect)(() => {
21528
+ (0, import_react130.useEffect)(() => {
21379
21529
  return editor.registerCommand(
21380
21530
  import_lexical5.SELECTION_CHANGE_COMMAND,
21381
21531
  (_payload) => {
@@ -21385,7 +21535,7 @@ var RichTextToolbar = ({ config, customControls }) => {
21385
21535
  import_lexical5.COMMAND_PRIORITY_CRITICAL
21386
21536
  );
21387
21537
  }, [editor, updateToolbar]);
21388
- (0, import_react129.useEffect)(() => {
21538
+ (0, import_react130.useEffect)(() => {
21389
21539
  return editor.registerUpdateListener(({ editorState }) => {
21390
21540
  requestAnimationFrame(() => {
21391
21541
  editorState.read(() => {
@@ -21394,15 +21544,15 @@ var RichTextToolbar = ({ config, customControls }) => {
21394
21544
  });
21395
21545
  });
21396
21546
  }, [editor, updateToolbar]);
21397
- return /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { css: toolbar, children: [
21398
- /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(
21547
+ return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { css: toolbar, children: [
21548
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
21399
21549
  Menu,
21400
21550
  {
21401
21551
  menuLabel: "Elements",
21402
- menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("button", { css: richTextToolbarButton, title: "Text styles", children: [
21552
+ menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("button", { css: richTextToolbarButton, title: "Text styles", children: [
21403
21553
  visibleTextualElements.some((element) => element.type === activeElement) ? getLabelForElement(activeElement) : getLabelForElement("paragraph"),
21404
21554
  " ",
21405
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
21555
+ /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Icon, { icon: "chevron-down", css: [toolbarIcon, toolbarChevron], size: "1rem" })
21406
21556
  ] }),
21407
21557
  placement: "bottom-start",
21408
21558
  children: [
@@ -21412,7 +21562,7 @@ var RichTextToolbar = ({ config, customControls }) => {
21412
21562
  type: "paragraph"
21413
21563
  },
21414
21564
  ...visibleTextualElements
21415
- ].map((element) => /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
21565
+ ].map((element) => /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
21416
21566
  MenuItem,
21417
21567
  {
21418
21568
  onClick: () => {
@@ -21422,12 +21572,12 @@ var RichTextToolbar = ({ config, customControls }) => {
21422
21572
  },
21423
21573
  element.type
21424
21574
  )),
21425
- visibleTextualElements.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
21575
+ visibleTextualElements.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(MenuItem, { disabled: true, children: "Alternative text styles are not available" }) : null
21426
21576
  ]
21427
21577
  }
21428
21578
  ),
21429
- visibleFormatsWithIcon.length > 0 || visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { css: toolbarGroup, children: [
21430
- visibleFormatsWithIcon.map((format) => /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
21579
+ visibleFormatsWithIcon.length > 0 || visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { css: toolbarGroup, children: [
21580
+ visibleFormatsWithIcon.map((format) => /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Tooltip, { title: format.label, placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
21431
21581
  "button",
21432
21582
  {
21433
21583
  onClick: () => {
@@ -21437,16 +21587,16 @@ var RichTextToolbar = ({ config, customControls }) => {
21437
21587
  richTextToolbarButton,
21438
21588
  activeFormats.includes(format.type) ? richTextToolbarButtonActive : null
21439
21589
  ],
21440
- children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
21590
+ children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(RichTextToolbarIcon, { icon: FORMATS_WITH_ICON.get(format.type) })
21441
21591
  }
21442
21592
  ) }, format.type)),
21443
- visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
21593
+ visibleFormatsWithoutIcon.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
21444
21594
  Menu,
21445
21595
  {
21446
21596
  menuLabel: "Alternative text styles",
21447
- menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("button", { css: richTextToolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Icon, { icon: "more-alt", css: toolbarIcon }) }),
21597
+ menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("button", { css: richTextToolbarButton, title: "Alternative text styles", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Icon, { icon: "more-alt", css: toolbarIcon }) }),
21448
21598
  placement: "bottom-start",
21449
- children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
21599
+ children: visibleFormatsWithoutIcon.map((format) => /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
21450
21600
  MenuItem,
21451
21601
  {
21452
21602
  onClick: () => {
@@ -21459,19 +21609,19 @@ var RichTextToolbar = ({ config, customControls }) => {
21459
21609
  }
21460
21610
  ) : null
21461
21611
  ] }) : null,
21462
- visibleElementsWithIcons.size > 0 ? /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)("div", { css: toolbarGroup, children: [
21463
- linkElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
21612
+ visibleElementsWithIcons.size > 0 ? /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { css: toolbarGroup, children: [
21613
+ linkElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Tooltip, { title: "Link", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
21464
21614
  "button",
21465
21615
  {
21466
21616
  onClick: () => {
21467
21617
  isLink ? editor.dispatchCommand(REMOVE_LINK_NODE_COMMAND, {}) : editor.dispatchCommand(OPEN_LINK_NODE_MODAL_COMMAND, {});
21468
21618
  },
21469
21619
  css: [richTextToolbarButton, isLink ? richTextToolbarButtonActive : null],
21470
- children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(RichTextToolbarIcon, { icon: "link" })
21620
+ children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(RichTextToolbarIcon, { icon: "link" })
21471
21621
  }
21472
21622
  ) }) : null,
21473
- visibleLists.size > 0 ? /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_jsx_runtime112.Fragment, { children: [
21474
- visibleLists.has("unorderedList") ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
21623
+ visibleLists.size > 0 ? /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_jsx_runtime113.Fragment, { children: [
21624
+ visibleLists.has("unorderedList") ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Tooltip, { title: "Bullet List", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
21475
21625
  "button",
21476
21626
  {
21477
21627
  onClick: () => {
@@ -21481,10 +21631,10 @@ var RichTextToolbar = ({ config, customControls }) => {
21481
21631
  richTextToolbarButton,
21482
21632
  activeElement === "unorderedList" ? richTextToolbarButtonActive : null
21483
21633
  ],
21484
- children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(RichTextToolbarIcon, { icon: "layout-list" })
21634
+ children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(RichTextToolbarIcon, { icon: "layout-list" })
21485
21635
  }
21486
21636
  ) }) : null,
21487
- visibleLists.has("orderedList") ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
21637
+ visibleLists.has("orderedList") ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Tooltip, { title: "Ordered List", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
21488
21638
  "button",
21489
21639
  {
21490
21640
  onClick: () => {
@@ -21494,57 +21644,57 @@ var RichTextToolbar = ({ config, customControls }) => {
21494
21644
  richTextToolbarButton,
21495
21645
  activeElement === "orderedList" ? richTextToolbarButtonActive : null
21496
21646
  ],
21497
- children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(RichTextToolbarIcon, { icon: "layout-list-numbered" })
21647
+ children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(RichTextToolbarIcon, { icon: "layout-list-numbered" })
21498
21648
  }
21499
21649
  ) }) : null
21500
21650
  ] }) : null,
21501
- quoteElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
21651
+ quoteElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Tooltip, { title: "Blockquote", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
21502
21652
  "button",
21503
21653
  {
21504
21654
  onClick: () => {
21505
21655
  activeElement === "quote" ? onSelectElement("paragraph") : onSelectElement("quote");
21506
21656
  },
21507
21657
  css: [richTextToolbarButton, activeElement === "quote" ? richTextToolbarButtonActive : null],
21508
- children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(RichTextToolbarIcon, { icon: "quote" })
21658
+ children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(RichTextToolbarIcon, { icon: "quote" })
21509
21659
  }
21510
21660
  ) }) : null,
21511
- codeElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
21661
+ codeElementVisible ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(Tooltip, { title: "Code Block", placement: "top", children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
21512
21662
  "button",
21513
21663
  {
21514
21664
  onClick: () => {
21515
21665
  activeElement === "code" ? onSelectElement("paragraph") : onSelectElement("code");
21516
21666
  },
21517
21667
  css: [richTextToolbarButton, activeElement === "code" ? richTextToolbarButtonActive : null],
21518
- children: /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(RichTextToolbarIcon, { icon: "code-slash" })
21668
+ children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(RichTextToolbarIcon, { icon: "code-slash" })
21519
21669
  }
21520
21670
  ) }) : null
21521
21671
  ] }) : null,
21522
- customControls ? /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("div", { css: toolbarGroup, children: customControls }) : null
21672
+ customControls ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { css: toolbarGroup, children: customControls }) : null
21523
21673
  ] });
21524
21674
  };
21525
21675
  var RichTextToolbar_default = RichTextToolbar;
21526
21676
  var useRichTextToolbarState = ({ config }) => {
21527
21677
  var _a;
21528
- const enabledBuiltInFormats = (0, import_react129.useMemo)(() => {
21678
+ const enabledBuiltInFormats = (0, import_react130.useMemo)(() => {
21529
21679
  return richTextBuiltInFormats.filter((format) => {
21530
21680
  var _a2, _b;
21531
21681
  return (_b = (_a2 = config == null ? void 0 : config.formatting) == null ? void 0 : _a2.builtIn) == null ? void 0 : _b.includes(format.type);
21532
21682
  });
21533
21683
  }, [config]);
21534
- const enabledBuiltInElements = (0, import_react129.useMemo)(() => {
21684
+ const enabledBuiltInElements = (0, import_react130.useMemo)(() => {
21535
21685
  return richTextBuiltInElements.filter((element) => {
21536
21686
  var _a2, _b;
21537
21687
  return (_b = (_a2 = config == null ? void 0 : config.elements) == null ? void 0 : _a2.builtIn) == null ? void 0 : _b.includes(element.type);
21538
21688
  });
21539
21689
  }, [config]);
21540
- const enabledBuiltInFormatsWithIcon = (0, import_react129.useMemo)(() => {
21690
+ const enabledBuiltInFormatsWithIcon = (0, import_react130.useMemo)(() => {
21541
21691
  return enabledBuiltInFormats.filter((format) => FORMATS_WITH_ICON.has(format.type));
21542
21692
  }, [enabledBuiltInFormats]);
21543
21693
  const enabledBuiltInFormatsWithoutIcon = enabledBuiltInFormats.filter(
21544
21694
  (format) => !FORMATS_WITH_ICON.has(format.type)
21545
21695
  );
21546
- const [activeFormats, setActiveFormats] = (0, import_react129.useState)([]);
21547
- const visibleFormatsWithIcon = (0, import_react129.useMemo)(() => {
21696
+ const [activeFormats, setActiveFormats] = (0, import_react130.useState)([]);
21697
+ const visibleFormatsWithIcon = (0, import_react130.useMemo)(() => {
21548
21698
  const visibleFormats = /* @__PURE__ */ new Set();
21549
21699
  activeFormats.filter((type) => FORMATS_WITH_ICON.has(type)).forEach((type) => {
21550
21700
  visibleFormats.add(type);
@@ -21554,7 +21704,7 @@ var useRichTextToolbarState = ({ config }) => {
21554
21704
  });
21555
21705
  return richTextBuiltInFormats.filter((format) => visibleFormats.has(format.type));
21556
21706
  }, [activeFormats, enabledBuiltInFormatsWithIcon]);
21557
- const visibleFormatsWithoutIcon = (0, import_react129.useMemo)(() => {
21707
+ const visibleFormatsWithoutIcon = (0, import_react130.useMemo)(() => {
21558
21708
  const visibleFormats = /* @__PURE__ */ new Set();
21559
21709
  activeFormats.filter((type) => !FORMATS_WITH_ICON.has(type)).forEach((type) => {
21560
21710
  visibleFormats.add(type);
@@ -21564,11 +21714,11 @@ var useRichTextToolbarState = ({ config }) => {
21564
21714
  });
21565
21715
  return richTextBuiltInFormats.filter((format) => visibleFormats.has(format.type));
21566
21716
  }, [activeFormats, enabledBuiltInFormatsWithoutIcon]);
21567
- const [activeElement, setActiveElement] = (0, import_react129.useState)("paragraph");
21717
+ const [activeElement, setActiveElement] = (0, import_react130.useState)("paragraph");
21568
21718
  const enabledTextualElements = enabledBuiltInElements.filter(
21569
21719
  (element) => TEXTUAL_ELEMENTS.includes(element.type)
21570
21720
  );
21571
- const visibleTextualElements = (0, import_react129.useMemo)(() => {
21721
+ const visibleTextualElements = (0, import_react130.useMemo)(() => {
21572
21722
  if (!TEXTUAL_ELEMENTS.includes(activeElement)) {
21573
21723
  return enabledTextualElements;
21574
21724
  }
@@ -21579,24 +21729,24 @@ var useRichTextToolbarState = ({ config }) => {
21579
21729
  }
21580
21730
  );
21581
21731
  }, [activeElement, (_a = config == null ? void 0 : config.elements) == null ? void 0 : _a.builtIn, enabledTextualElements]);
21582
- const [isLink, setIsLink] = (0, import_react129.useState)(false);
21583
- const linkElementVisible = (0, import_react129.useMemo)(() => {
21732
+ const [isLink, setIsLink] = (0, import_react130.useState)(false);
21733
+ const linkElementVisible = (0, import_react130.useMemo)(() => {
21584
21734
  return enabledBuiltInElements.some((element) => element.type === "link") || isLink;
21585
21735
  }, [isLink, enabledBuiltInElements]);
21586
- const visibleLists = (0, import_react129.useMemo)(() => {
21736
+ const visibleLists = (0, import_react130.useMemo)(() => {
21587
21737
  return new Set(
21588
21738
  ["orderedList", "unorderedList"].filter(
21589
21739
  (type) => enabledBuiltInElements.some((element) => element.type === type) || activeElement === type
21590
21740
  )
21591
21741
  );
21592
21742
  }, [activeElement, enabledBuiltInElements]);
21593
- const quoteElementVisible = (0, import_react129.useMemo)(() => {
21743
+ const quoteElementVisible = (0, import_react130.useMemo)(() => {
21594
21744
  return enabledBuiltInElements.some((element) => element.type === "quote") || activeElement === "quote";
21595
21745
  }, [activeElement, enabledBuiltInElements]);
21596
- const codeElementVisible = (0, import_react129.useMemo)(() => {
21746
+ const codeElementVisible = (0, import_react130.useMemo)(() => {
21597
21747
  return enabledBuiltInElements.some((element) => element.type === "code") || activeElement === "code";
21598
21748
  }, [activeElement, enabledBuiltInElements]);
21599
- const visibleElementsWithIcons = (0, import_react129.useMemo)(() => {
21749
+ const visibleElementsWithIcons = (0, import_react130.useMemo)(() => {
21600
21750
  const visibleElements = /* @__PURE__ */ new Set();
21601
21751
  if (linkElementVisible) {
21602
21752
  visibleElements.add("link");
@@ -21633,7 +21783,7 @@ var useRichTextToolbarState = ({ config }) => {
21633
21783
  };
21634
21784
 
21635
21785
  // src/components/ParameterInputs/ParameterRichText.tsx
21636
- var import_jsx_runtime113 = require("@emotion/react/jsx-runtime");
21786
+ var import_jsx_runtime114 = require("@emotion/react/jsx-runtime");
21637
21787
  var ParameterRichText = ({
21638
21788
  label,
21639
21789
  labelLeadingIcon,
@@ -21658,7 +21808,7 @@ var ParameterRichText = ({
21658
21808
  variables,
21659
21809
  customControls
21660
21810
  }) => {
21661
- return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
21811
+ return /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(
21662
21812
  ParameterShell,
21663
21813
  {
21664
21814
  "data-testid": "parameter-richtext",
@@ -21672,7 +21822,7 @@ var ParameterRichText = ({
21672
21822
  captionTestId,
21673
21823
  menuItems,
21674
21824
  children: [
21675
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
21825
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
21676
21826
  ParameterRichTextInner,
21677
21827
  {
21678
21828
  value,
@@ -21690,23 +21840,23 @@ var ParameterRichText = ({
21690
21840
  children
21691
21841
  }
21692
21842
  ),
21693
- menuItems ? /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_jsx_runtime113.Fragment, { children: menuItems }) }) : null
21843
+ menuItems ? /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_jsx_runtime114.Fragment, { children: menuItems }) }) : null
21694
21844
  ]
21695
21845
  }
21696
21846
  );
21697
21847
  };
21698
- var editorWrapper = import_react130.css`
21848
+ var editorWrapper = import_react131.css`
21699
21849
  display: flex;
21700
21850
  flex-flow: column;
21701
21851
  flex-grow: 1;
21702
21852
  `;
21703
- var editorContainer = import_react130.css`
21853
+ var editorContainer = import_react131.css`
21704
21854
  display: flex;
21705
21855
  flex-flow: column;
21706
21856
  flex-grow: 1;
21707
21857
  position: relative;
21708
21858
  `;
21709
- var editorPlaceholder = import_react130.css`
21859
+ var editorPlaceholder = import_react131.css`
21710
21860
  color: var(--gray-500);
21711
21861
  font-style: italic;
21712
21862
  /* 1px is added to make sure caret is clearly visible when field is focused
@@ -21717,7 +21867,7 @@ var editorPlaceholder = import_react130.css`
21717
21867
  top: var(--spacing-sm);
21718
21868
  user-select: none;
21719
21869
  `;
21720
- var editorInput = import_react130.css`
21870
+ var editorInput = import_react131.css`
21721
21871
  background: var(--white);
21722
21872
  border: 1px solid var(--gray-200);
21723
21873
  border-radius: var(--rounded-sm);
@@ -21801,8 +21951,8 @@ var ParameterRichTextInner = ({
21801
21951
  },
21802
21952
  editable: !readOnly
21803
21953
  };
21804
- return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_jsx_runtime113.Fragment, { children: [
21805
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_LexicalComposer.LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
21954
+ return /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_jsx_runtime114.Fragment, { children: [
21955
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { css: [editorWrapper], className: editorWrapperClassName, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_LexicalComposer.LexicalComposer, { initialConfig: lexicalConfig, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
21806
21956
  RichText,
21807
21957
  {
21808
21958
  onChange,
@@ -21839,14 +21989,14 @@ var RichText = ({
21839
21989
  variables,
21840
21990
  customControls
21841
21991
  }) => {
21842
- const editorContainerRef = (0, import_react131.useRef)(null);
21992
+ const editorContainerRef = (0, import_react132.useRef)(null);
21843
21993
  const [editor] = (0, import_LexicalComposerContext5.useLexicalComposerContext)();
21844
- (0, import_react131.useEffect)(() => {
21994
+ (0, import_react132.useEffect)(() => {
21845
21995
  if (onRichTextInit) {
21846
21996
  onRichTextInit(editor);
21847
21997
  }
21848
21998
  }, [editor, onRichTextInit]);
21849
- (0, import_react131.useEffect)(() => {
21999
+ (0, import_react132.useEffect)(() => {
21850
22000
  const removeUpdateListener = editor.registerUpdateListener(({ editorState, prevEditorState }) => {
21851
22001
  requestAnimationFrame(() => {
21852
22002
  if (!(0, import_fast_equals2.deepEqual)(editorState.toJSON(), prevEditorState.toJSON())) {
@@ -21858,23 +22008,23 @@ var RichText = ({
21858
22008
  removeUpdateListener();
21859
22009
  };
21860
22010
  }, [editor, onChange]);
21861
- (0, import_react131.useEffect)(() => {
22011
+ (0, import_react132.useEffect)(() => {
21862
22012
  editor.setEditable(!readOnly);
21863
22013
  }, [editor, readOnly]);
21864
- return /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(import_jsx_runtime113.Fragment, { children: [
21865
- readOnly ? null : /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(RichTextToolbar_default, { config, customControls }),
21866
- /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)("div", { css: editorContainer, ref: editorContainerRef, "data-testid": "value-container", children: [
21867
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
22014
+ return /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(import_jsx_runtime114.Fragment, { children: [
22015
+ readOnly ? null : /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(RichTextToolbar_default, { config, customControls }),
22016
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)("div", { css: editorContainer, ref: editorContainerRef, "data-testid": "value-container", children: [
22017
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
21868
22018
  import_LexicalRichTextPlugin.RichTextPlugin,
21869
22019
  {
21870
- contentEditable: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_LexicalContentEditable.ContentEditable, { css: editorInput, className: editorInputClassName }),
21871
- placeholder: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
22020
+ contentEditable: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_LexicalContentEditable.ContentEditable, { css: editorInput, className: editorInputClassName }),
22021
+ placeholder: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("div", { css: editorPlaceholder, children: readOnly ? "empty" : "start editing..." }),
21872
22022
  ErrorBoundary: import_LexicalErrorBoundary.default
21873
22023
  }
21874
22024
  ),
21875
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_LexicalListPlugin.ListPlugin, {}),
21876
- readOnly ? null : /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_LexicalHistoryPlugin.HistoryPlugin, {}),
21877
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
22025
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_LexicalListPlugin.ListPlugin, {}),
22026
+ readOnly ? null : /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_LexicalHistoryPlugin.HistoryPlugin, {}),
22027
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
21878
22028
  LinkNodePlugin,
21879
22029
  {
21880
22030
  onConnectLink: onConnectLink ? onConnectLink : () => Promise.resolve(),
@@ -21884,28 +22034,28 @@ var RichText = ({
21884
22034
  } : void 0
21885
22035
  }
21886
22036
  ),
21887
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(ListIndentPlugin, { maxDepth: 4 }),
21888
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(DisableStylesPlugin, {}),
21889
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_LexicalMarkdownShortcutPlugin.MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS }),
21890
- /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_jsx_runtime113.Fragment, { children })
22037
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(ListIndentPlugin, { maxDepth: 4 }),
22038
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(DisableStylesPlugin, {}),
22039
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_LexicalMarkdownShortcutPlugin.MarkdownShortcutPlugin, { transformers: MARKDOWN_TRANSFORMERS }),
22040
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(import_jsx_runtime114.Fragment, { children })
21891
22041
  ] })
21892
22042
  ] });
21893
22043
  };
21894
22044
 
21895
22045
  // src/components/ParameterInputs/ParameterSelect.tsx
21896
22046
  init_emotion_jsx_shim();
21897
- var import_react132 = require("react");
21898
- var import_jsx_runtime114 = require("@emotion/react/jsx-runtime");
21899
- var ParameterSelect = (0, import_react132.forwardRef)(
22047
+ var import_react133 = require("react");
22048
+ var import_jsx_runtime115 = require("@emotion/react/jsx-runtime");
22049
+ var ParameterSelect = (0, import_react133.forwardRef)(
21900
22050
  ({ defaultOption, options, ...props }, ref) => {
21901
22051
  const { shellProps, innerProps } = extractParameterProps(props);
21902
- return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
22052
+ return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
21903
22053
  }
21904
22054
  );
21905
- var ParameterSelectInner = (0, import_react132.forwardRef)(
22055
+ var ParameterSelectInner = (0, import_react133.forwardRef)(
21906
22056
  ({ defaultOption, options, ...props }, ref) => {
21907
22057
  const { id, label, hiddenLabel } = useParameterShell();
21908
- return /* @__PURE__ */ (0, import_jsx_runtime114.jsxs)(
22058
+ return /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)(
21909
22059
  "select",
21910
22060
  {
21911
22061
  css: [input3, selectInput],
@@ -21914,10 +22064,10 @@ var ParameterSelectInner = (0, import_react132.forwardRef)(
21914
22064
  ref,
21915
22065
  ...props,
21916
22066
  children: [
21917
- defaultOption ? /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("option", { value: "", children: defaultOption }) : null,
22067
+ defaultOption ? /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("option", { value: "", children: defaultOption }) : null,
21918
22068
  options.map((option) => {
21919
22069
  var _a;
21920
- return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
22070
+ return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
21921
22071
  })
21922
22072
  ]
21923
22073
  }
@@ -21927,15 +22077,15 @@ var ParameterSelectInner = (0, import_react132.forwardRef)(
21927
22077
 
21928
22078
  // src/components/ParameterInputs/ParameterTextarea.tsx
21929
22079
  init_emotion_jsx_shim();
21930
- var import_react133 = require("react");
21931
- var import_jsx_runtime115 = require("@emotion/react/jsx-runtime");
21932
- var ParameterTextarea = (0, import_react133.forwardRef)((props, ref) => {
22080
+ var import_react134 = require("react");
22081
+ var import_jsx_runtime116 = require("@emotion/react/jsx-runtime");
22082
+ var ParameterTextarea = (0, import_react134.forwardRef)((props, ref) => {
21933
22083
  const { shellProps, innerProps } = extractParameterProps(props);
21934
- return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(ParameterTextareaInner, { ref, ...innerProps }) });
22084
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(ParameterTextareaInner, { ref, ...innerProps }) });
21935
22085
  });
21936
- var ParameterTextareaInner = (0, import_react133.forwardRef)(({ ...props }, ref) => {
22086
+ var ParameterTextareaInner = (0, import_react134.forwardRef)(({ ...props }, ref) => {
21937
22087
  const { id, label, hiddenLabel } = useParameterShell();
21938
- return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
22088
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
21939
22089
  "textarea",
21940
22090
  {
21941
22091
  css: [input3, textarea2],
@@ -21949,18 +22099,18 @@ var ParameterTextareaInner = (0, import_react133.forwardRef)(({ ...props }, ref)
21949
22099
 
21950
22100
  // src/components/ParameterInputs/ParameterToggle.tsx
21951
22101
  init_emotion_jsx_shim();
21952
- var import_react134 = require("react");
21953
- var import_jsx_runtime116 = require("@emotion/react/jsx-runtime");
21954
- var ParameterToggle = (0, import_react134.forwardRef)((props, ref) => {
22102
+ var import_react135 = require("react");
22103
+ var import_jsx_runtime117 = require("@emotion/react/jsx-runtime");
22104
+ var ParameterToggle = (0, import_react135.forwardRef)((props, ref) => {
21955
22105
  const { shellProps, innerProps } = extractParameterProps(props);
21956
- return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(ParameterToggleInner, { ref, ...innerProps }) });
22106
+ return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(ParameterToggleInner, { ref, ...innerProps }) });
21957
22107
  });
21958
- var ParameterToggleInner = (0, import_react134.forwardRef)(
22108
+ var ParameterToggleInner = (0, import_react135.forwardRef)(
21959
22109
  ({ children, ...props }, ref) => {
21960
22110
  const { id, label } = useParameterShell();
21961
- return /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)("label", { css: inputToggleLabel2, children: [
21962
- /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
21963
- /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("span", { css: inlineLabel2, children: label }),
22111
+ return /* @__PURE__ */ (0, import_jsx_runtime117.jsxs)("label", { css: inputToggleLabel2, children: [
22112
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
22113
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)("span", { css: inlineLabel2, children: label }),
21964
22114
  children
21965
22115
  ] });
21966
22116
  }
@@ -21971,8 +22121,8 @@ init_emotion_jsx_shim();
21971
22121
 
21972
22122
  // src/components/ProgressBar/ProgressBar.styles.ts
21973
22123
  init_emotion_jsx_shim();
21974
- var import_react135 = require("@emotion/react");
21975
- var container3 = import_react135.css`
22124
+ var import_react136 = require("@emotion/react");
22125
+ var container3 = import_react136.css`
21976
22126
  background: var(--gray-50);
21977
22127
  margin-block: var(--spacing-sm);
21978
22128
  position: relative;
@@ -21982,17 +22132,17 @@ var container3 = import_react135.css`
21982
22132
  border: solid 1px var(--gray-300);
21983
22133
  `;
21984
22134
  var themeMap = {
21985
- primary: import_react135.css`
22135
+ primary: import_react136.css`
21986
22136
  --progress-color: var(--accent-light);
21987
22137
  `,
21988
- secondary: import_react135.css`
22138
+ secondary: import_react136.css`
21989
22139
  --progress-color: var(--accent-alt-light);
21990
22140
  `,
21991
- destructive: import_react135.css`
22141
+ destructive: import_react136.css`
21992
22142
  --progress-color: var(--brand-secondary-5);
21993
22143
  `
21994
22144
  };
21995
- var slidingBackgroundPosition = import_react135.keyframes`
22145
+ var slidingBackgroundPosition = import_react136.keyframes`
21996
22146
  from {
21997
22147
  background-position: 0 0;
21998
22148
  }
@@ -22000,10 +22150,10 @@ var slidingBackgroundPosition = import_react135.keyframes`
22000
22150
  background-position: 64px 0;
22001
22151
  }
22002
22152
  `;
22003
- var determinate = import_react135.css`
22153
+ var determinate = import_react136.css`
22004
22154
  background-color: var(--progress-color);
22005
22155
  `;
22006
- var indeterminate = import_react135.css`
22156
+ var indeterminate = import_react136.css`
22007
22157
  background-image: linear-gradient(
22008
22158
  45deg,
22009
22159
  var(--progress-color) 25%,
@@ -22017,7 +22167,7 @@ var indeterminate = import_react135.css`
22017
22167
  background-size: 64px 64px;
22018
22168
  animation: ${slidingBackgroundPosition} 1s linear infinite;
22019
22169
  `;
22020
- var bar = import_react135.css`
22170
+ var bar = import_react136.css`
22021
22171
  position: absolute;
22022
22172
  inset: 0;
22023
22173
  transition: transform var(--duration-fast) var(--timing-ease-out);
@@ -22025,7 +22175,7 @@ var bar = import_react135.css`
22025
22175
  `;
22026
22176
 
22027
22177
  // src/components/ProgressBar/ProgressBar.tsx
22028
- var import_jsx_runtime117 = require("@emotion/react/jsx-runtime");
22178
+ var import_jsx_runtime118 = require("@emotion/react/jsx-runtime");
22029
22179
  function ProgressBar({
22030
22180
  current,
22031
22181
  max,
@@ -22035,7 +22185,7 @@ function ProgressBar({
22035
22185
  }) {
22036
22186
  const valueNow = Math.min(current, max);
22037
22187
  const valuePercentage = max > 0 ? Math.ceil(100 / max * valueNow) : 0;
22038
- return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
22188
+ return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
22039
22189
  "div",
22040
22190
  {
22041
22191
  css: container3,
@@ -22046,7 +22196,7 @@ function ProgressBar({
22046
22196
  "aria-valuemax": max,
22047
22197
  "aria-valuenow": valueNow,
22048
22198
  ...props,
22049
- children: /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
22199
+ children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
22050
22200
  "div",
22051
22201
  {
22052
22202
  css: [
@@ -22066,31 +22216,31 @@ function ProgressBar({
22066
22216
 
22067
22217
  // src/components/ProgressList/ProgressList.tsx
22068
22218
  init_emotion_jsx_shim();
22069
- var import_react137 = require("@emotion/react");
22219
+ var import_react138 = require("@emotion/react");
22070
22220
  var import_CgCheckO3 = require("@react-icons/all-files/cg/CgCheckO");
22071
22221
  var import_CgRadioCheck2 = require("@react-icons/all-files/cg/CgRadioCheck");
22072
22222
  var import_CgRecord2 = require("@react-icons/all-files/cg/CgRecord");
22073
- var import_react138 = require("react");
22223
+ var import_react139 = require("react");
22074
22224
 
22075
22225
  // src/components/ProgressList/styles/ProgressList.styles.ts
22076
22226
  init_emotion_jsx_shim();
22077
- var import_react136 = require("@emotion/react");
22078
- var progressListStyles = import_react136.css`
22227
+ var import_react137 = require("@emotion/react");
22228
+ var progressListStyles = import_react137.css`
22079
22229
  display: flex;
22080
22230
  flex-direction: column;
22081
22231
  gap: var(--spacing-sm);
22082
22232
  list-style-type: none;
22083
22233
  `;
22084
- var progressListItemStyles = import_react136.css`
22234
+ var progressListItemStyles = import_react137.css`
22085
22235
  display: flex;
22086
22236
  gap: var(--spacing-base);
22087
22237
  align-items: center;
22088
22238
  `;
22089
22239
 
22090
22240
  // src/components/ProgressList/ProgressList.tsx
22091
- var import_jsx_runtime118 = require("@emotion/react/jsx-runtime");
22241
+ var import_jsx_runtime119 = require("@emotion/react/jsx-runtime");
22092
22242
  var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
22093
- const itemsWithStatus = (0, import_react138.useMemo)(() => {
22243
+ const itemsWithStatus = (0, import_react139.useMemo)(() => {
22094
22244
  const indexOfInProgressItem = items.findIndex(({ id }) => id === inProgressId);
22095
22245
  return items.map((item, index) => {
22096
22246
  let status = "queued";
@@ -22102,8 +22252,8 @@ var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
22102
22252
  return { ...item, status };
22103
22253
  });
22104
22254
  }, [items, inProgressId]);
22105
- return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
22106
- return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
22255
+ return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
22256
+ return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
22107
22257
  ProgressListItem,
22108
22258
  {
22109
22259
  status,
@@ -22123,7 +22273,7 @@ var ProgressListItem = ({
22123
22273
  errorLevel = "danger",
22124
22274
  autoEllipsis = false
22125
22275
  }) => {
22126
- const icon = (0, import_react138.useMemo)(() => {
22276
+ const icon = (0, import_react139.useMemo)(() => {
22127
22277
  if (error) {
22128
22278
  return warningIcon;
22129
22279
  }
@@ -22134,14 +22284,14 @@ var ProgressListItem = ({
22134
22284
  };
22135
22285
  return iconPerStatus[status];
22136
22286
  }, [status, error]);
22137
- const statusStyles = (0, import_react138.useMemo)(() => {
22287
+ const statusStyles = (0, import_react139.useMemo)(() => {
22138
22288
  if (error) {
22139
- return errorLevel === "caution" ? import_react137.css`
22289
+ return errorLevel === "caution" ? import_react138.css`
22140
22290
  color: rgb(161, 98, 7);
22141
22291
  & svg {
22142
22292
  color: rgb(250, 204, 21);
22143
22293
  }
22144
- ` : import_react137.css`
22294
+ ` : import_react138.css`
22145
22295
  color: rgb(185, 28, 28);
22146
22296
  & svg {
22147
22297
  color: var(--brand-primary-2);
@@ -22149,37 +22299,37 @@ var ProgressListItem = ({
22149
22299
  `;
22150
22300
  }
22151
22301
  const colorPerStatus = {
22152
- completed: import_react137.css`
22302
+ completed: import_react138.css`
22153
22303
  opacity: 0.75;
22154
22304
  `,
22155
- inProgress: import_react137.css`
22305
+ inProgress: import_react138.css`
22156
22306
  -webkit-text-stroke-width: thin;
22157
22307
  `,
22158
- queued: import_react137.css`
22308
+ queued: import_react138.css`
22159
22309
  opacity: 0.5;
22160
22310
  `
22161
22311
  };
22162
22312
  return colorPerStatus[status];
22163
22313
  }, [status, error, errorLevel]);
22164
- return /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("li", { css: [progressListItemStyles, statusStyles], children: [
22165
- /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(Icon, { icon, size: 20, iconColor: "currentColor" }) }) }),
22166
- /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)("div", { children: [
22314
+ return /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)("li", { css: [progressListItemStyles, statusStyles], children: [
22315
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ (0, import_jsx_runtime119.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(Icon, { icon, size: 20, iconColor: "currentColor" }) }) }),
22316
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)("div", { children: [
22167
22317
  children,
22168
- /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
22318
+ /* @__PURE__ */ (0, import_jsx_runtime119.jsx)("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
22169
22319
  ] })
22170
22320
  ] });
22171
22321
  };
22172
22322
 
22173
22323
  // src/components/SegmentedControl/SegmentedControl.tsx
22174
22324
  init_emotion_jsx_shim();
22175
- var import_react140 = require("@emotion/react");
22325
+ var import_react141 = require("@emotion/react");
22176
22326
  var import_CgCheck5 = require("@react-icons/all-files/cg/CgCheck");
22177
- var import_react141 = require("react");
22327
+ var import_react142 = require("react");
22178
22328
 
22179
22329
  // src/components/SegmentedControl/SegmentedControl.styles.ts
22180
22330
  init_emotion_jsx_shim();
22181
- var import_react139 = require("@emotion/react");
22182
- var segmentedControlStyles = import_react139.css`
22331
+ var import_react140 = require("@emotion/react");
22332
+ var segmentedControlStyles = import_react140.css`
22183
22333
  --segmented-control-rounded-value: var(--rounded-base);
22184
22334
  --segmented-control-border-width: 1px;
22185
22335
  --segmented-control-selected-color: var(--brand-secondary-3);
@@ -22198,14 +22348,14 @@ var segmentedControlStyles = import_react139.css`
22198
22348
  border-radius: calc(var(--segmented-control-rounded-value) + var(--segmented-control-border-width));
22199
22349
  font-size: var(--fs-xs);
22200
22350
  `;
22201
- var segmentedControlVerticalStyles = import_react139.css`
22351
+ var segmentedControlVerticalStyles = import_react140.css`
22202
22352
  flex-direction: column;
22203
22353
  --segmented-control-first-border-radius: var(--segmented-control-rounded-value)
22204
22354
  var(--segmented-control-rounded-value) 0 0;
22205
22355
  --segmented-control-last-border-radius: 0 0 var(--segmented-control-rounded-value)
22206
22356
  var(--segmented-control-rounded-value);
22207
22357
  `;
22208
- var segmentedControlItemStyles = import_react139.css`
22358
+ var segmentedControlItemStyles = import_react140.css`
22209
22359
  &:first-of-type label {
22210
22360
  border-radius: var(--segmented-control-first-border-radius);
22211
22361
  }
@@ -22213,10 +22363,10 @@ var segmentedControlItemStyles = import_react139.css`
22213
22363
  border-radius: var(--segmented-control-last-border-radius);
22214
22364
  }
22215
22365
  `;
22216
- var segmentedControlInputStyles = import_react139.css`
22366
+ var segmentedControlInputStyles = import_react140.css`
22217
22367
  ${accessibleHidden}
22218
22368
  `;
22219
- var segmentedControlLabelStyles = (checked, disabled2) => import_react139.css`
22369
+ var segmentedControlLabelStyles = (checked, disabled2) => import_react140.css`
22220
22370
  position: relative;
22221
22371
  display: flex;
22222
22372
  align-items: center;
@@ -22283,23 +22433,23 @@ var segmentedControlLabelStyles = (checked, disabled2) => import_react139.css`
22283
22433
  `}
22284
22434
  }
22285
22435
  `;
22286
- var segmentedControlLabelIconOnlyStyles = import_react139.css`
22436
+ var segmentedControlLabelIconOnlyStyles = import_react140.css`
22287
22437
  padding-inline: 0.5em;
22288
22438
  `;
22289
- var segmentedControlLabelCheckStyles = import_react139.css`
22439
+ var segmentedControlLabelCheckStyles = import_react140.css`
22290
22440
  opacity: 0.5;
22291
22441
  `;
22292
- var segmentedControlLabelContentStyles = import_react139.css`
22442
+ var segmentedControlLabelContentStyles = import_react140.css`
22293
22443
  display: flex;
22294
22444
  align-items: center;
22295
22445
  justify-content: center;
22296
22446
  gap: var(--spacing-sm);
22297
22447
  height: 100%;
22298
22448
  `;
22299
- var segmentedControlLabelTextStyles = import_react139.css``;
22449
+ var segmentedControlLabelTextStyles = import_react140.css``;
22300
22450
 
22301
22451
  // src/components/SegmentedControl/SegmentedControl.tsx
22302
- var import_jsx_runtime119 = require("@emotion/react/jsx-runtime");
22452
+ var import_jsx_runtime120 = require("@emotion/react/jsx-runtime");
22303
22453
  var SegmentedControl = ({
22304
22454
  name,
22305
22455
  options,
@@ -22313,7 +22463,7 @@ var SegmentedControl = ({
22313
22463
  iconSize = "1.5em",
22314
22464
  ...props
22315
22465
  }) => {
22316
- const onOptionChange = (0, import_react141.useCallback)(
22466
+ const onOptionChange = (0, import_react142.useCallback)(
22317
22467
  (event) => {
22318
22468
  if (event.target.checked) {
22319
22469
  onChange == null ? void 0 : onChange(options[parseInt(event.target.value)].value);
@@ -22321,19 +22471,19 @@ var SegmentedControl = ({
22321
22471
  },
22322
22472
  [options, onChange]
22323
22473
  );
22324
- const sizeStyles = (0, import_react141.useMemo)(() => {
22474
+ const sizeStyles = (0, import_react142.useMemo)(() => {
22325
22475
  const map = {
22326
- sm: (0, import_react140.css)({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
22327
- md: (0, import_react140.css)({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
22328
- lg: (0, import_react140.css)({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" }),
22329
- xl: (0, import_react140.css)({ height: "calc(48px - 2px)", fontSize: "var(--fs-base)" })
22476
+ sm: (0, import_react141.css)({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
22477
+ md: (0, import_react141.css)({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
22478
+ lg: (0, import_react141.css)({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" }),
22479
+ xl: (0, import_react141.css)({ height: "calc(48px - 2px)", fontSize: "var(--fs-base)" })
22330
22480
  };
22331
22481
  return map[size];
22332
22482
  }, [size]);
22333
- const isIconOnly = (0, import_react141.useMemo)(() => {
22483
+ const isIconOnly = (0, import_react142.useMemo)(() => {
22334
22484
  return options.every((option) => option && option.icon && !option.label);
22335
22485
  }, [options]);
22336
- return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
22486
+ return /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
22337
22487
  "div",
22338
22488
  {
22339
22489
  css: [segmentedControlStyles, orientation === "vertical" ? segmentedControlVerticalStyles : void 0],
@@ -22346,12 +22496,12 @@ var SegmentedControl = ({
22346
22496
  }
22347
22497
  const text = option.label ? option.label : option.icon ? null : String(option.value);
22348
22498
  const isDisabled = disabled2 || option.disabled;
22349
- return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(Tooltip, { title: (_a = option.tooltip) != null ? _a : "", children: /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
22499
+ return /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Tooltip, { title: (_a = option.tooltip) != null ? _a : "", children: /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
22350
22500
  "div",
22351
22501
  {
22352
22502
  css: segmentedControlItemStyles,
22353
22503
  "data-testid": option["data-testid"] ? option["data-testid"] : "container-segmented-control",
22354
- children: /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)(
22504
+ children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(
22355
22505
  "label",
22356
22506
  {
22357
22507
  css: [
@@ -22360,7 +22510,7 @@ var SegmentedControl = ({
22360
22510
  isIconOnly ? segmentedControlLabelIconOnlyStyles : void 0
22361
22511
  ],
22362
22512
  children: [
22363
- /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
22513
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
22364
22514
  "input",
22365
22515
  {
22366
22516
  css: segmentedControlInputStyles,
@@ -22372,10 +22522,10 @@ var SegmentedControl = ({
22372
22522
  disabled: isDisabled
22373
22523
  }
22374
22524
  ),
22375
- option.value !== value || noCheckmark ? null : /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_CgCheck5.CgCheck, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
22376
- /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)("span", { css: segmentedControlLabelContentStyles, children: [
22377
- !option.icon ? null : /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(Icon, { icon: option.icon, size: iconSize, iconColor: "currentColor" }),
22378
- !text || hideOptionText ? null : /* @__PURE__ */ (0, import_jsx_runtime119.jsx)("span", { css: segmentedControlLabelTextStyles, children: text })
22525
+ option.value !== value || noCheckmark ? null : /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_CgCheck5.CgCheck, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
22526
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)("span", { css: segmentedControlLabelContentStyles, children: [
22527
+ !option.icon ? null : /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Icon, { icon: option.icon, size: iconSize, iconColor: "currentColor" }),
22528
+ !text || hideOptionText ? null : /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("span", { css: segmentedControlLabelTextStyles, children: text })
22379
22529
  ] })
22380
22530
  ]
22381
22531
  }
@@ -22392,18 +22542,18 @@ init_emotion_jsx_shim();
22392
22542
 
22393
22543
  // src/components/Skeleton/Skeleton.styles.ts
22394
22544
  init_emotion_jsx_shim();
22395
- var import_react142 = require("@emotion/react");
22396
- var lightFadingOut = import_react142.keyframes`
22545
+ var import_react143 = require("@emotion/react");
22546
+ var lightFadingOut = import_react143.keyframes`
22397
22547
  from { opacity: 0.1; }
22398
22548
  to { opacity: 0.025; }
22399
22549
  `;
22400
- var skeletonStyles = import_react142.css`
22550
+ var skeletonStyles = import_react143.css`
22401
22551
  animation: ${lightFadingOut} 1s ease-out infinite alternate;
22402
22552
  background-color: var(--gray-900);
22403
22553
  `;
22404
22554
 
22405
22555
  // src/components/Skeleton/Skeleton.tsx
22406
- var import_jsx_runtime120 = require("@emotion/react/jsx-runtime");
22556
+ var import_jsx_runtime121 = require("@emotion/react/jsx-runtime");
22407
22557
  var Skeleton = ({
22408
22558
  width = "100%",
22409
22559
  height = "1.25rem",
@@ -22411,7 +22561,7 @@ var Skeleton = ({
22411
22561
  circle = false,
22412
22562
  children,
22413
22563
  ...otherProps
22414
- }) => /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
22564
+ }) => /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
22415
22565
  "div",
22416
22566
  {
22417
22567
  css: [
@@ -22432,12 +22582,12 @@ var Skeleton = ({
22432
22582
 
22433
22583
  // src/components/Switch/Switch.tsx
22434
22584
  init_emotion_jsx_shim();
22435
- var React25 = __toESM(require("react"));
22585
+ var React24 = __toESM(require("react"));
22436
22586
 
22437
22587
  // src/components/Switch/Switch.styles.ts
22438
22588
  init_emotion_jsx_shim();
22439
- var import_react143 = require("@emotion/react");
22440
- var SwitchInputContainer = import_react143.css`
22589
+ var import_react144 = require("@emotion/react");
22590
+ var SwitchInputContainer = import_react144.css`
22441
22591
  cursor: pointer;
22442
22592
  display: inline-block;
22443
22593
  position: relative;
@@ -22446,7 +22596,7 @@ var SwitchInputContainer = import_react143.css`
22446
22596
  vertical-align: middle;
22447
22597
  user-select: none;
22448
22598
  `;
22449
- var SwitchInput = import_react143.css`
22599
+ var SwitchInput = import_react144.css`
22450
22600
  appearance: none;
22451
22601
  border-radius: var(--rounded-full);
22452
22602
  background-color: var(--white);
@@ -22484,7 +22634,7 @@ var SwitchInput = import_react143.css`
22484
22634
  cursor: not-allowed;
22485
22635
  }
22486
22636
  `;
22487
- var SwitchInputDisabled = import_react143.css`
22637
+ var SwitchInputDisabled = import_react144.css`
22488
22638
  opacity: var(--opacity-50);
22489
22639
  cursor: not-allowed;
22490
22640
 
@@ -22492,7 +22642,7 @@ var SwitchInputDisabled = import_react143.css`
22492
22642
  cursor: not-allowed;
22493
22643
  }
22494
22644
  `;
22495
- var SwitchInputLabel = import_react143.css`
22645
+ var SwitchInputLabel = import_react144.css`
22496
22646
  align-items: center;
22497
22647
  color: var(--typography-base);
22498
22648
  display: inline-flex;
@@ -22513,26 +22663,26 @@ var SwitchInputLabel = import_react143.css`
22513
22663
  top: 0;
22514
22664
  }
22515
22665
  `;
22516
- var SwitchText = import_react143.css`
22666
+ var SwitchText = import_react144.css`
22517
22667
  color: var(--gray-500);
22518
22668
  font-size: var(--fs-sm);
22519
22669
  padding-inline: var(--spacing-2xl) 0;
22520
22670
  `;
22521
22671
 
22522
22672
  // src/components/Switch/Switch.tsx
22523
- var import_jsx_runtime121 = require("@emotion/react/jsx-runtime");
22524
- var Switch = React25.forwardRef(
22673
+ var import_jsx_runtime122 = require("@emotion/react/jsx-runtime");
22674
+ var Switch = React24.forwardRef(
22525
22675
  ({ label, infoText, toggleText, children, ...inputProps }, ref) => {
22526
22676
  let additionalText = infoText;
22527
22677
  if (infoText && toggleText) {
22528
22678
  additionalText = inputProps.checked ? toggleText : infoText;
22529
22679
  }
22530
- return /* @__PURE__ */ (0, import_jsx_runtime121.jsxs)(import_jsx_runtime121.Fragment, { children: [
22531
- /* @__PURE__ */ (0, import_jsx_runtime121.jsxs)("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
22532
- /* @__PURE__ */ (0, import_jsx_runtime121.jsx)("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
22533
- /* @__PURE__ */ (0, import_jsx_runtime121.jsx)("span", { css: SwitchInputLabel, children: label })
22680
+ return /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_jsx_runtime122.Fragment, { children: [
22681
+ /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
22682
+ /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
22683
+ /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("span", { css: SwitchInputLabel, children: label })
22534
22684
  ] }),
22535
- additionalText ? /* @__PURE__ */ (0, import_jsx_runtime121.jsx)("p", { css: SwitchText, children: additionalText }) : null,
22685
+ additionalText ? /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("p", { css: SwitchText, children: additionalText }) : null,
22536
22686
  children
22537
22687
  ] });
22538
22688
  }
@@ -22540,12 +22690,12 @@ var Switch = React25.forwardRef(
22540
22690
 
22541
22691
  // src/components/Table/Table.tsx
22542
22692
  init_emotion_jsx_shim();
22543
- var React26 = __toESM(require("react"));
22693
+ var React25 = __toESM(require("react"));
22544
22694
 
22545
22695
  // src/components/Table/Table.styles.ts
22546
22696
  init_emotion_jsx_shim();
22547
- var import_react144 = require("@emotion/react");
22548
- var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => import_react144.css`
22697
+ var import_react145 = require("@emotion/react");
22698
+ var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => import_react145.css`
22549
22699
  border-bottom: 1px solid var(--gray-400);
22550
22700
  border-collapse: collapse;
22551
22701
  min-width: 100%;
@@ -22556,67 +22706,67 @@ var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => impor
22556
22706
  padding: ${cellPadding};
22557
22707
  }
22558
22708
  `;
22559
- var tableHead = import_react144.css`
22709
+ var tableHead = import_react145.css`
22560
22710
  background: var(--gray-100);
22561
22711
  color: var(--typography-base);
22562
22712
  text-align: left;
22563
22713
  `;
22564
- var tableRow = import_react144.css`
22714
+ var tableRow = import_react145.css`
22565
22715
  border-bottom: 1px solid var(--gray-200);
22566
22716
  `;
22567
- var tableCellHead = import_react144.css`
22717
+ var tableCellHead = import_react145.css`
22568
22718
  font-size: var(--fs-sm);
22569
22719
  text-transform: uppercase;
22570
22720
  font-weight: var(--fw-bold);
22571
22721
  `;
22572
22722
 
22573
22723
  // src/components/Table/Table.tsx
22574
- var import_jsx_runtime122 = require("@emotion/react/jsx-runtime");
22575
- var Table = React26.forwardRef(
22724
+ var import_jsx_runtime123 = require("@emotion/react/jsx-runtime");
22725
+ var Table = React25.forwardRef(
22576
22726
  ({ children, cellPadding, ...otherProps }, ref) => {
22577
- return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("table", { ref, css: table({ cellPadding }), ...otherProps, children });
22727
+ return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("table", { ref, css: table({ cellPadding }), ...otherProps, children });
22578
22728
  }
22579
22729
  );
22580
- var TableHead = React26.forwardRef(
22730
+ var TableHead = React25.forwardRef(
22581
22731
  ({ children, ...otherProps }, ref) => {
22582
- return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("thead", { ref, css: tableHead, ...otherProps, children });
22732
+ return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("thead", { ref, css: tableHead, ...otherProps, children });
22583
22733
  }
22584
22734
  );
22585
- var TableBody = React26.forwardRef(
22735
+ var TableBody = React25.forwardRef(
22586
22736
  ({ children, ...otherProps }, ref) => {
22587
- return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("tbody", { ref, ...otherProps, children });
22737
+ return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("tbody", { ref, ...otherProps, children });
22588
22738
  }
22589
22739
  );
22590
- var TableFoot = React26.forwardRef(
22740
+ var TableFoot = React25.forwardRef(
22591
22741
  ({ children, ...otherProps }, ref) => {
22592
- return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("tfoot", { ref, ...otherProps, children });
22742
+ return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("tfoot", { ref, ...otherProps, children });
22593
22743
  }
22594
22744
  );
22595
- var TableRow = React26.forwardRef(
22745
+ var TableRow = React25.forwardRef(
22596
22746
  ({ children, ...otherProps }, ref) => {
22597
- return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("tr", { ref, css: tableRow, ...otherProps, children });
22747
+ return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("tr", { ref, css: tableRow, ...otherProps, children });
22598
22748
  }
22599
22749
  );
22600
- var TableCellHead = React26.forwardRef(
22750
+ var TableCellHead = React25.forwardRef(
22601
22751
  ({ children, ...otherProps }, ref) => {
22602
- return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("th", { ref, css: tableCellHead, ...otherProps, children });
22752
+ return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("th", { ref, css: tableCellHead, ...otherProps, children });
22603
22753
  }
22604
22754
  );
22605
- var TableCellData = React26.forwardRef(
22755
+ var TableCellData = React25.forwardRef(
22606
22756
  ({ children, ...otherProps }, ref) => {
22607
- return /* @__PURE__ */ (0, import_jsx_runtime122.jsx)("td", { ref, ...otherProps, children });
22757
+ return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)("td", { ref, ...otherProps, children });
22608
22758
  }
22609
22759
  );
22610
22760
 
22611
22761
  // src/components/Tabs/Tabs.tsx
22612
22762
  init_emotion_jsx_shim();
22613
- var import_react146 = require("@ariakit/react");
22614
- var import_react147 = require("react");
22763
+ var import_react147 = require("@ariakit/react");
22764
+ var import_react148 = require("react");
22615
22765
 
22616
22766
  // src/components/Tabs/Tabs.styles.ts
22617
22767
  init_emotion_jsx_shim();
22618
- var import_react145 = require("@emotion/react");
22619
- var tabButtonStyles = import_react145.css`
22768
+ var import_react146 = require("@emotion/react");
22769
+ var tabButtonStyles = import_react146.css`
22620
22770
  align-items: center;
22621
22771
  border: 0;
22622
22772
  height: 2.5rem;
@@ -22633,16 +22783,16 @@ var tabButtonStyles = import_react145.css`
22633
22783
  box-shadow: inset 0 -2px 0 var(--brand-secondary-3);
22634
22784
  }
22635
22785
  `;
22636
- var tabButtonGroupStyles = import_react145.css`
22786
+ var tabButtonGroupStyles = import_react146.css`
22637
22787
  display: flex;
22638
22788
  gap: var(--spacing-base);
22639
22789
  border-bottom: 1px solid var(--gray-300);
22640
22790
  `;
22641
22791
 
22642
22792
  // src/components/Tabs/Tabs.tsx
22643
- var import_jsx_runtime123 = require("@emotion/react/jsx-runtime");
22793
+ var import_jsx_runtime124 = require("@emotion/react/jsx-runtime");
22644
22794
  var useCurrentTab = () => {
22645
- const context = (0, import_react146.useTabStore)();
22795
+ const context = (0, import_react147.useTabStore)();
22646
22796
  if (!context) {
22647
22797
  throw new Error("This component can only be used inside <Tabs>");
22648
22798
  }
@@ -22656,13 +22806,13 @@ var Tabs = ({
22656
22806
  manual,
22657
22807
  ...props
22658
22808
  }) => {
22659
- const selected = (0, import_react147.useMemo)(() => {
22809
+ const selected = (0, import_react148.useMemo)(() => {
22660
22810
  if (selectedId)
22661
22811
  return selectedId;
22662
22812
  return useHashForState && typeof window !== "undefined" && window.location.hash ? window.location.hash.substring(1) : void 0;
22663
22813
  }, [selectedId, useHashForState]);
22664
- const tab = (0, import_react146.useTabStore)({ ...props, selectOnMove: !manual, selectedId: selected });
22665
- const onTabSelect = (0, import_react147.useCallback)(
22814
+ const tab = (0, import_react147.useTabStore)({ ...props, selectOnMove: !manual, selectedId: selected });
22815
+ const onTabSelect = (0, import_react148.useCallback)(
22666
22816
  (value) => {
22667
22817
  const selectedValueWithoutNull = value != null ? value : void 0;
22668
22818
  onSelectedIdChange == null ? void 0 : onSelectedIdChange(selectedValueWithoutNull);
@@ -22673,28 +22823,28 @@ var Tabs = ({
22673
22823
  },
22674
22824
  [onSelectedIdChange, useHashForState]
22675
22825
  );
22676
- (0, import_react147.useEffect)(() => {
22826
+ (0, import_react148.useEffect)(() => {
22677
22827
  if (selected && selected !== tab.getState().activeId) {
22678
22828
  tab.setSelectedId(selected);
22679
22829
  }
22680
22830
  }, [selected, tab]);
22681
- return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_react146.TabProvider, { store: tab, setSelectedId: onTabSelect, children });
22831
+ return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_react147.TabProvider, { store: tab, setSelectedId: onTabSelect, children });
22682
22832
  };
22683
22833
  var TabButtonGroup = ({ children, ...props }) => {
22684
- return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_react146.TabList, { ...props, css: tabButtonGroupStyles, children });
22834
+ return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_react147.TabList, { ...props, css: tabButtonGroupStyles, children });
22685
22835
  };
22686
22836
  var TabButton = ({
22687
22837
  children,
22688
22838
  id,
22689
22839
  ...props
22690
22840
  }) => {
22691
- return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_react146.Tab, { type: "button", id, ...props, css: tabButtonStyles, children });
22841
+ return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_react147.Tab, { type: "button", id, ...props, css: tabButtonStyles, children });
22692
22842
  };
22693
22843
  var TabContent = ({
22694
22844
  children,
22695
22845
  ...props
22696
22846
  }) => {
22697
- return /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(import_react146.TabPanel, { ...props, children });
22847
+ return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_react147.TabPanel, { ...props, children });
22698
22848
  };
22699
22849
 
22700
22850
  // src/components/Toast/Toast.tsx
@@ -22703,8 +22853,8 @@ var import_react_toastify = require("react-toastify");
22703
22853
 
22704
22854
  // src/components/Toast/Toast.styles.ts
22705
22855
  init_emotion_jsx_shim();
22706
- var import_react148 = require("@emotion/react");
22707
- var toastContainerStyles = import_react148.css`
22856
+ var import_react149 = require("@emotion/react");
22857
+ var toastContainerStyles = import_react149.css`
22708
22858
  ${functionalColors}
22709
22859
 
22710
22860
  --toastify-color-light: white;
@@ -22927,9 +23077,9 @@ var toastContainerStyles = import_react148.css`
22927
23077
  `;
22928
23078
 
22929
23079
  // src/components/Toast/Toast.tsx
22930
- var import_jsx_runtime124 = require("@emotion/react/jsx-runtime");
23080
+ var import_jsx_runtime125 = require("@emotion/react/jsx-runtime");
22931
23081
  var ToastContainer = ({ limit = 4 }) => {
22932
- return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
23082
+ return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
22933
23083
  import_react_toastify.ToastContainer,
22934
23084
  {
22935
23085
  css: toastContainerStyles,
@@ -22947,8 +23097,8 @@ init_emotion_jsx_shim();
22947
23097
 
22948
23098
  // src/components/Validation/StatusBullet.styles.ts
22949
23099
  init_emotion_jsx_shim();
22950
- var import_react149 = require("@emotion/react");
22951
- var StatusBulletContainer = import_react149.css`
23100
+ var import_react150 = require("@emotion/react");
23101
+ var StatusBulletContainer = import_react150.css`
22952
23102
  align-items: center;
22953
23103
  align-self: center;
22954
23104
  color: var(--gray-500);
@@ -22965,33 +23115,33 @@ var StatusBulletContainer = import_react149.css`
22965
23115
  display: block;
22966
23116
  }
22967
23117
  `;
22968
- var StatusBulletBase = import_react149.css`
23118
+ var StatusBulletBase = import_react150.css`
22969
23119
  font-size: var(--fs-sm);
22970
23120
  &:before {
22971
23121
  width: var(--fs-xs);
22972
23122
  height: var(--fs-xs);
22973
23123
  }
22974
23124
  `;
22975
- var StatusBulletSmall = import_react149.css`
23125
+ var StatusBulletSmall = import_react150.css`
22976
23126
  font-size: var(--fs-xs);
22977
23127
  &:before {
22978
23128
  width: var(--fs-xxs);
22979
23129
  height: var(--fs-xxs);
22980
23130
  }
22981
23131
  `;
22982
- var StatusDraft = import_react149.css`
23132
+ var StatusDraft = import_react150.css`
22983
23133
  &:before {
22984
23134
  background: var(--white);
22985
23135
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
22986
23136
  }
22987
23137
  `;
22988
- var StatusModified = import_react149.css`
23138
+ var StatusModified = import_react150.css`
22989
23139
  &:before {
22990
23140
  background: linear-gradient(to right, var(--white) 50%, var(--primary-action-default) 50% 100%);
22991
23141
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
22992
23142
  }
22993
23143
  `;
22994
- var StatusError = import_react149.css`
23144
+ var StatusError = import_react150.css`
22995
23145
  color: var(--error);
22996
23146
  &:before {
22997
23147
  /* TODO: replace this with an svg icon */
@@ -23004,29 +23154,29 @@ var StatusError = import_react149.css`
23004
23154
  );
23005
23155
  }
23006
23156
  `;
23007
- var StatusPublished = import_react149.css`
23157
+ var StatusPublished = import_react150.css`
23008
23158
  &:before {
23009
23159
  background: var(--primary-action-default);
23010
23160
  }
23011
23161
  `;
23012
- var StatusOrphan = import_react149.css`
23162
+ var StatusOrphan = import_react150.css`
23013
23163
  &:before {
23014
23164
  background: var(--brand-secondary-5);
23015
23165
  }
23016
23166
  `;
23017
- var StatusUnknown = import_react149.css`
23167
+ var StatusUnknown = import_react150.css`
23018
23168
  &:before {
23019
23169
  background: var(--gray-800);
23020
23170
  }
23021
23171
  `;
23022
- var StatusDeleted = import_react149.css`
23172
+ var StatusDeleted = import_react150.css`
23023
23173
  &:before {
23024
23174
  background: var(--error);
23025
23175
  }
23026
23176
  `;
23027
23177
 
23028
23178
  // src/components/Validation/StatusBullet.tsx
23029
- var import_jsx_runtime125 = require("@emotion/react/jsx-runtime");
23179
+ var import_jsx_runtime126 = require("@emotion/react/jsx-runtime");
23030
23180
  var StatusBullet = ({
23031
23181
  status,
23032
23182
  hideText = false,
@@ -23046,7 +23196,7 @@ var StatusBullet = ({
23046
23196
  Deleted: StatusDeleted
23047
23197
  };
23048
23198
  const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
23049
- return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
23199
+ return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
23050
23200
  "span",
23051
23201
  {
23052
23202
  role: "status",
@@ -23157,6 +23307,8 @@ var StatusBullet = ({
23157
23307
  ParameterLink,
23158
23308
  ParameterLinkInner,
23159
23309
  ParameterMenuButton,
23310
+ ParameterMultiSelect,
23311
+ ParameterMultiSelectInner,
23160
23312
  ParameterNameAndPublicIdInput,
23161
23313
  ParameterOverrideMarker,
23162
23314
  ParameterRichText,
@@ -23280,6 +23432,11 @@ var StatusBullet = ({
23280
23432
  supports,
23281
23433
  textInput,
23282
23434
  toast,
23435
+ uniformComponentIcon,
23436
+ uniformComponentPatternIcon,
23437
+ uniformContentTypeIcon,
23438
+ uniformEntryIcon,
23439
+ uniformEntryPatternIcon,
23283
23440
  useBreakpoint,
23284
23441
  useCloseCurrentDrawer,
23285
23442
  useCurrentDrawer,