@uniformdev/design-system 19.10.0 → 19.12.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
@@ -130,6 +130,7 @@ __export(src_exports, {
130
130
  ShortcutRevealer: () => ShortcutRevealer,
131
131
  Skeleton: () => Skeleton,
132
132
  StatusBullet: () => StatusBullet,
133
+ SuccessMessage: () => SuccessMessage,
133
134
  Switch: () => Switch,
134
135
  TabButton: () => TabButton,
135
136
  TabButtonGroup: () => TabButtonGroup,
@@ -348,6 +349,7 @@ var Theme = ({ disableReset = false }) => {
348
349
  --prose: 65ch;
349
350
 
350
351
  /* brand shadow styles */
352
+ --shadow-sm: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
351
353
  --shadow-base: rgba(50, 50, 93, 0.25) 0 2px 5px -1px,
352
354
  rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
353
355
  --shadow-md: 0px 4px 4px rgba(0, 0, 0, 0.25), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
@@ -10738,6 +10740,7 @@ var AnimationFile = ({
10738
10740
  import_lottie_react.default,
10739
10741
  {
10740
10742
  role: "graphics-symbol",
10743
+ "data-test-id": "graphic-loader",
10741
10744
  "aria-label": label,
10742
10745
  autoPlay: autoplay,
10743
10746
  loop,
@@ -11658,7 +11661,14 @@ var calloutTypeDataMap = {
11658
11661
  `
11659
11662
  }
11660
11663
  };
11661
- var Callout = ({ type = "info", compact = false, title, children, className }) => {
11664
+ var Callout = ({
11665
+ type = "info",
11666
+ compact = false,
11667
+ title,
11668
+ children,
11669
+ className,
11670
+ testId
11671
+ }) => {
11662
11672
  const calloutTypeData = calloutTypeDataMap[type];
11663
11673
  if (!calloutTypeData) {
11664
11674
  return null;
@@ -11667,7 +11677,7 @@ var Callout = ({ type = "info", compact = false, title, children, className }) =
11667
11677
  return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
11668
11678
  "div",
11669
11679
  {
11670
- "data-testid": "sdk-ui-callout",
11680
+ "data-testid": testId ? testId : "sdk-ui-callout",
11671
11681
  css: [
11672
11682
  calloutContainer,
11673
11683
  calloutTypeData.containerStyles,
@@ -11847,6 +11857,9 @@ var Container2 = ({
11847
11857
  );
11848
11858
  };
11849
11859
 
11860
+ // src/components/Layout/HorizontalRhythm.tsx
11861
+ var import_react37 = require("@emotion/react");
11862
+
11850
11863
  // src/components/Layout/styles/HorizontalRhythm.styles.ts
11851
11864
  var import_react36 = require("@emotion/react");
11852
11865
  var HorizontalRhythmContainer = (size) => import_react36.css`
@@ -11856,22 +11869,29 @@ var HorizontalRhythmContainer = (size) => import_react36.css`
11856
11869
 
11857
11870
  // src/components/Layout/HorizontalRhythm.tsx
11858
11871
  var import_jsx_runtime30 = require("@emotion/react/jsx-runtime");
11859
- var HorizontalRhythm = ({
11860
- tag = "div",
11861
- gap = "base",
11862
- children,
11863
- ...props
11864
- }) => {
11872
+ var HorizontalRhythm = ({ align, tag = "div", gap = "base", children, ...props }) => {
11865
11873
  const Tag = tag;
11866
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Tag, { css: HorizontalRhythmContainer(gap), ...props, children });
11874
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
11875
+ Tag,
11876
+ {
11877
+ css: [
11878
+ HorizontalRhythmContainer(gap),
11879
+ align ? import_react37.css`
11880
+ align-items: ${align};
11881
+ ` : void 0
11882
+ ],
11883
+ ...props,
11884
+ children
11885
+ }
11886
+ );
11867
11887
  };
11868
11888
 
11869
11889
  // src/components/Layout/styles/TwoColumnLayout.styles.ts
11870
- var import_react37 = require("@emotion/react");
11871
- var TwoColumnLayoutContainer = (bgColor) => import_react37.css`
11890
+ var import_react38 = require("@emotion/react");
11891
+ var TwoColumnLayoutContainer = (bgColor) => import_react38.css`
11872
11892
  background: ${bgColor};
11873
11893
  `;
11874
- var TwoColumnLayoutInner = (invertLayout) => import_react37.css`
11894
+ var TwoColumnLayoutInner = (invertLayout) => import_react38.css`
11875
11895
  display: grid;
11876
11896
  max-width: var(--site-width);
11877
11897
  margin-inline: auto;
@@ -11887,8 +11907,8 @@ var TwoColumnLayoutInner = (invertLayout) => import_react37.css`
11887
11907
  }`}
11888
11908
  }
11889
11909
  `;
11890
- var TwoColumnLayoutMain = import_react37.css``;
11891
- var TwoColumnLayoutSupporting = import_react37.css`
11910
+ var TwoColumnLayoutMain = import_react38.css``;
11911
+ var TwoColumnLayoutSupporting = import_react38.css`
11892
11912
  display: flex;
11893
11913
  flex-direction: column;
11894
11914
  gap: var(--spacing-lg);
@@ -11908,9 +11928,12 @@ var TwoColumnLayout = ({
11908
11928
  ] }) });
11909
11929
  };
11910
11930
 
11931
+ // src/components/Layout/VerticalRhythm.tsx
11932
+ var import_react40 = require("@emotion/react");
11933
+
11911
11934
  // src/components/Layout/styles/VerticalRhythm.styles.ts
11912
- var import_react38 = require("@emotion/react");
11913
- var VerticalRhythmContainer = (size) => import_react38.css`
11935
+ var import_react39 = require("@emotion/react");
11936
+ var VerticalRhythmContainer = (size) => import_react39.css`
11914
11937
  display: flex;
11915
11938
  flex-direction: column;
11916
11939
  gap: var(--spacing-${size});
@@ -11918,14 +11941,26 @@ var VerticalRhythmContainer = (size) => import_react38.css`
11918
11941
 
11919
11942
  // src/components/Layout/VerticalRhythm.tsx
11920
11943
  var import_jsx_runtime32 = require("@emotion/react/jsx-runtime");
11921
- var VerticalRhythm = ({ tag = "div", gap = "base", children, ...props }) => {
11944
+ var VerticalRhythm = ({ align, tag = "div", gap = "base", children, ...props }) => {
11922
11945
  const Tag = tag;
11923
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Tag, { css: VerticalRhythmContainer(gap), ...props, children });
11946
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
11947
+ Tag,
11948
+ {
11949
+ css: [
11950
+ VerticalRhythmContainer(gap),
11951
+ align ? import_react40.css`
11952
+ align-items: ${align};
11953
+ ` : void 0
11954
+ ],
11955
+ ...props,
11956
+ children
11957
+ }
11958
+ );
11924
11959
  };
11925
11960
 
11926
11961
  // src/components/Card/LoadingCardSkeleton.styles.ts
11927
- var import_react39 = require("@emotion/react");
11928
- var LoadingCardSkeleton = import_react39.css`
11962
+ var import_react41 = require("@emotion/react");
11963
+ var LoadingCardSkeleton = import_react41.css`
11929
11964
  animation: ${skeletonLoading} 1s linear infinite alternate;
11930
11965
  color: var(--gray-400);
11931
11966
  border-radius: var(--rounded-base);
@@ -11933,21 +11968,21 @@ var LoadingCardSkeleton = import_react39.css`
11933
11968
  min-height: 160px;
11934
11969
  position: relative;
11935
11970
  `;
11936
- var LoadingText = import_react39.css`
11971
+ var LoadingText = import_react41.css`
11937
11972
  animation: ${fadeIn} 1s linear infinite alternate;
11938
11973
  border-radius: var(--rounded-base);
11939
11974
  background: var(--gray-300);
11940
11975
  display: block;
11941
11976
  `;
11942
- var LoadingTitle = import_react39.css`
11977
+ var LoadingTitle = import_react41.css`
11943
11978
  width: clamp(200px, 100vw, 60%);
11944
11979
  height: var(--spacing-md);
11945
11980
  `;
11946
- var LoadingTimeStamp = import_react39.css`
11981
+ var LoadingTimeStamp = import_react41.css`
11947
11982
  width: clamp(200px, 100vw, 30%);
11948
11983
  height: var(--spacing-sm);
11949
11984
  `;
11950
- var LoadingMenuIcon = import_react39.css`
11985
+ var LoadingMenuIcon = import_react41.css`
11951
11986
  animation: ${fadeIn} 1s linear infinite alternate;
11952
11987
  position: absolute;
11953
11988
  top: var(--spacing-md);
@@ -11968,8 +12003,8 @@ var LoadingCardSkeleton2 = () => {
11968
12003
  var import_cg9 = require("react-icons/cg");
11969
12004
 
11970
12005
  // src/components/Chip/Chip.styles.ts
11971
- var import_react40 = require("@emotion/react");
11972
- var ChipContainer = import_react40.css`
12006
+ var import_react42 = require("@emotion/react");
12007
+ var ChipContainer = import_react42.css`
11973
12008
  border-radius: var(--rounded-full);
11974
12009
  background: lime;
11975
12010
  cursor: pointer;
@@ -11987,20 +12022,20 @@ var ChipContainer = import_react40.css`
11987
12022
  }
11988
12023
  }
11989
12024
  `;
11990
- var ChipText = import_react40.css`
12025
+ var ChipText = import_react42.css`
11991
12026
  line-height: 1;
11992
12027
  `;
11993
- var ChipIcon = import_react40.css`
12028
+ var ChipIcon = import_react42.css`
11994
12029
  align-items: center;
11995
12030
  display: flex;
11996
12031
  opacity: var(--opacity-50);
11997
12032
  `;
11998
- var ChipSeparator = import_react40.css`
12033
+ var ChipSeparator = import_react42.css`
11999
12034
  display: flex;
12000
12035
  border-right: 1px solid var(--white);
12001
12036
  opacity: var(--opacity-50);
12002
12037
  `;
12003
- var ChipTiny = import_react40.css`
12038
+ var ChipTiny = import_react42.css`
12004
12039
  font-size: var(--fs-xs);
12005
12040
  padding-inline: var(--spacing-sm);
12006
12041
 
@@ -12008,7 +12043,7 @@ var ChipTiny = import_react40.css`
12008
12043
  padding-block: var(--spacing-xs);
12009
12044
  }
12010
12045
  `;
12011
- var ChipSmall = import_react40.css`
12046
+ var ChipSmall = import_react42.css`
12012
12047
  font-size: var(--fs-sm);
12013
12048
  padding-inline: var(--spacing-base);
12014
12049
 
@@ -12016,7 +12051,7 @@ var ChipSmall = import_react40.css`
12016
12051
  padding-block: var(--spacing-sm);
12017
12052
  }
12018
12053
  `;
12019
- var ChipMedium = import_react40.css`
12054
+ var ChipMedium = import_react42.css`
12020
12055
  font-size: var(--fs-base);
12021
12056
  padding-inline: var(--spacing-base);
12022
12057
 
@@ -12024,7 +12059,7 @@ var ChipMedium = import_react40.css`
12024
12059
  padding-block: var(--spacing-sm);
12025
12060
  }
12026
12061
  `;
12027
- var ChipThemeAccentLight = import_react40.css`
12062
+ var ChipThemeAccentLight = import_react42.css`
12028
12063
  background: var(--accent-light);
12029
12064
  color: var(--brand-secondary-1);
12030
12065
 
@@ -12047,7 +12082,7 @@ var ChipThemeAccentLight = import_react40.css`
12047
12082
  color: var(--accent-light);
12048
12083
  }
12049
12084
  `;
12050
- var ChipThemeAccentDark = import_react40.css`
12085
+ var ChipThemeAccentDark = import_react42.css`
12051
12086
  background: var(--accent-dark);
12052
12087
  color: var(--white);
12053
12088
 
@@ -12066,7 +12101,7 @@ var ChipThemeAccentDark = import_react40.css`
12066
12101
  color: var(--white);
12067
12102
  }
12068
12103
  `;
12069
- var ChipAltThemeAccentLight = import_react40.css`
12104
+ var ChipAltThemeAccentLight = import_react42.css`
12070
12105
  background: var(--accent-alt-light);
12071
12106
  color: var(--brand-secondary-1);
12072
12107
 
@@ -12089,7 +12124,7 @@ var ChipAltThemeAccentLight = import_react40.css`
12089
12124
  color: var(--accent-alt-light);
12090
12125
  }
12091
12126
  `;
12092
- var ChipAltThemeAccentDark = import_react40.css`
12127
+ var ChipAltThemeAccentDark = import_react42.css`
12093
12128
  background: var(--accent-alt-dark);
12094
12129
  color: var(--white);
12095
12130
 
@@ -12108,7 +12143,7 @@ var ChipAltThemeAccentDark = import_react40.css`
12108
12143
  color: var(--white);
12109
12144
  }
12110
12145
  `;
12111
- var ChipThemeNeutralLight = import_react40.css`
12146
+ var ChipThemeNeutralLight = import_react42.css`
12112
12147
  background: var(--gray-100);
12113
12148
  color: var(--brand-secondary-1);
12114
12149
 
@@ -12117,7 +12152,7 @@ var ChipThemeNeutralLight = import_react40.css`
12117
12152
  background: var(--gray-400);
12118
12153
  }
12119
12154
  `;
12120
- var ChipThemeNeutralDark = import_react40.css`
12155
+ var ChipThemeNeutralDark = import_react42.css`
12121
12156
  background: var(--gray-700);
12122
12157
  color: var(--white);
12123
12158
 
@@ -12130,7 +12165,7 @@ var ChipThemeNeutralDark = import_react40.css`
12130
12165
  background: var(--gray-900);
12131
12166
  }
12132
12167
  `;
12133
- var ChipActionButton = import_react40.css`
12168
+ var ChipActionButton = import_react42.css`
12134
12169
  background: transparent;
12135
12170
  border: none;
12136
12171
  border-radius: 0 var(--rounded-full) var(--rounded-full) 0;
@@ -12184,8 +12219,8 @@ var DismissibleChipAction = ({ onDismiss, ...props }) => {
12184
12219
  };
12185
12220
 
12186
12221
  // src/components/Counter/Counter.styles.ts
12187
- var import_react41 = require("@emotion/react");
12188
- var counterContainer = (bgColor) => import_react41.css`
12222
+ var import_react43 = require("@emotion/react");
12223
+ var counterContainer = (bgColor) => import_react43.css`
12189
12224
  align-items: center;
12190
12225
  border-radius: var(--rounded-full);
12191
12226
  border: 1px solid var(--gray-300);
@@ -12198,16 +12233,16 @@ var counterContainer = (bgColor) => import_react41.css`
12198
12233
  width: var(--spacing-base);
12199
12234
  height: var(--spacing-base);
12200
12235
  `;
12201
- var counterZeroValue = import_react41.css`
12236
+ var counterZeroValue = import_react43.css`
12202
12237
  background: var(--brand-secondary-1);
12203
12238
  border-radius: var(--rounded-full);
12204
12239
  width: 2px;
12205
12240
  height: 2px;
12206
12241
  `;
12207
- var counterTripleValue = import_react41.css`
12242
+ var counterTripleValue = import_react43.css`
12208
12243
  position: relative;
12209
12244
  `;
12210
- var counterIcon = import_react41.css`
12245
+ var counterIcon = import_react43.css`
12211
12246
  border-radius: var(--rounded-full);
12212
12247
  background: var(--white);
12213
12248
  color: var(--brand-secondary-3);
@@ -12232,7 +12267,7 @@ var Counter = ({ count, bgColor = "transparent", ...props }) => {
12232
12267
  };
12233
12268
 
12234
12269
  // src/components/DashedBox/DashedBox.styles.ts
12235
- var import_react42 = require("@emotion/react");
12270
+ var import_react44 = require("@emotion/react");
12236
12271
  var minHeight = (prop) => {
12237
12272
  const values = {
12238
12273
  auto: "auto",
@@ -12251,7 +12286,7 @@ var alignItemsConvert = (props) => {
12251
12286
  };
12252
12287
  return alignment[props];
12253
12288
  };
12254
- var DashedBoxContainer = ({ textAlign, boxHeight, bgColor }) => import_react42.css`
12289
+ var DashedBoxContainer = ({ textAlign, boxHeight, bgColor }) => import_react44.css`
12255
12290
  align-items: ${alignItemsConvert(textAlign)};
12256
12291
  border: 2px dashed var(--gray-300);
12257
12292
  border-radius: var(--rounded-base);
@@ -12281,8 +12316,8 @@ var DashedBox = ({
12281
12316
  var React8 = __toESM(require("react"));
12282
12317
 
12283
12318
  // src/components/Details/Details.styles.ts
12284
- var import_react43 = require("@emotion/react");
12285
- var details = import_react43.css`
12319
+ var import_react45 = require("@emotion/react");
12320
+ var details = import_react45.css`
12286
12321
  cursor: pointer;
12287
12322
  &[open] {
12288
12323
  & > summary svg {
@@ -12290,11 +12325,11 @@ var details = import_react43.css`
12290
12325
  }
12291
12326
  }
12292
12327
  `;
12293
- var detailsContent = import_react43.css`
12328
+ var detailsContent = import_react45.css`
12294
12329
  animation: ${fadeInRtl} var(--duration-fast) var(--timing-ease-out) forwards;
12295
12330
  will-change: height;
12296
12331
  `;
12297
- var summary = import_react43.css`
12332
+ var summary = import_react45.css`
12298
12333
  align-items: center;
12299
12334
  display: grid;
12300
12335
  grid-template-columns: 1.25rem 1fr;
@@ -12307,11 +12342,11 @@ var summary = import_react43.css`
12307
12342
  display: none;
12308
12343
  }
12309
12344
  `;
12310
- var summaryIcon = import_react43.css`
12345
+ var summaryIcon = import_react45.css`
12311
12346
  transition: rotate var(--duration-fast) var(--timing-ease-out);
12312
12347
  rotate: -90deg;
12313
12348
  `;
12314
- var summaryIconVisiblyHidden = import_react43.css`
12349
+ var summaryIconVisiblyHidden = import_react45.css`
12315
12350
  visibility: hidden;
12316
12351
  `;
12317
12352
 
@@ -12354,12 +12389,12 @@ var Details = ({ summary: summary2, children, isOpenByDefault = false, ...props
12354
12389
  };
12355
12390
 
12356
12391
  // src/components/Drawer/Drawer.tsx
12357
- var import_react47 = __toESM(require("react"));
12392
+ var import_react49 = __toESM(require("react"));
12358
12393
  var import_cg10 = require("react-icons/cg");
12359
12394
 
12360
12395
  // src/components/Drawer/Drawer.styles.ts
12361
- var import_react44 = require("@emotion/react");
12362
- var drawerStyles = (bgColor = "var(--white)") => import_react44.css`
12396
+ var import_react46 = require("@emotion/react");
12397
+ var drawerStyles = (bgColor = "var(--white)") => import_react46.css`
12363
12398
  background-color: ${bgColor};
12364
12399
  display: flex;
12365
12400
  gap: var(--spacing-sm);
@@ -12369,7 +12404,7 @@ var drawerStyles = (bgColor = "var(--white)") => import_react44.css`
12369
12404
  padding-top: var(--spacing-sm);
12370
12405
  height: 100%;
12371
12406
  `;
12372
- var drawerCloseButtonStyles = import_react44.css`
12407
+ var drawerCloseButtonStyles = import_react46.css`
12373
12408
  align-self: flex-end;
12374
12409
  background: transparent;
12375
12410
  border: none;
@@ -12377,23 +12412,23 @@ var drawerCloseButtonStyles = import_react44.css`
12377
12412
  padding: var(--spacing-xs);
12378
12413
  margin-right: var(--spacing-sm);
12379
12414
  `;
12380
- var drawerHeaderStyles = import_react44.css`
12415
+ var drawerHeaderStyles = import_react46.css`
12381
12416
  font-size: var(--fs-lg);
12382
12417
  font-weight: var(--fw-bold);
12383
12418
  padding-inline: var(--spacing-base);
12384
12419
  `;
12385
- var drawerRendererStyles = import_react44.css`
12420
+ var drawerRendererStyles = import_react46.css`
12386
12421
  inset: 0;
12387
12422
  overflow: hidden;
12388
12423
  z-index: 40;
12389
12424
  `;
12390
- var drawerInnerStyles = import_react44.css`
12425
+ var drawerInnerStyles = import_react46.css`
12391
12426
  height: 100%;
12392
12427
  padding: 0 var(--spacing-base) var(--spacing-base);
12393
12428
  overflow: auto;
12394
12429
  ${scrollbarStyles}
12395
12430
  `;
12396
- var slideDrawerIn = import_react44.keyframes`
12431
+ var slideDrawerIn = import_react46.keyframes`
12397
12432
  0% {
12398
12433
  transform: translate(0);
12399
12434
  opacity: 0;
@@ -12408,7 +12443,7 @@ var slideDrawerIn = import_react44.keyframes`
12408
12443
  transform: translate(0);
12409
12444
  }
12410
12445
  `;
12411
- var drawerWrapperStyles = import_react44.css`
12446
+ var drawerWrapperStyles = import_react46.css`
12412
12447
  position: absolute;
12413
12448
  inset-block: 0;
12414
12449
  right: 0;
@@ -12419,7 +12454,7 @@ var drawerWrapperStyles = import_react44.css`
12419
12454
  transition: width var(--duration-fast) ease-out;
12420
12455
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
12421
12456
  `;
12422
- var drawerWrapperOverlayStyles = import_react44.css`
12457
+ var drawerWrapperOverlayStyles = import_react46.css`
12423
12458
  position: absolute;
12424
12459
  inset: 0;
12425
12460
  background: rgba(31, 43, 52, 0.4);
@@ -12427,9 +12462,9 @@ var drawerWrapperOverlayStyles = import_react44.css`
12427
12462
  `;
12428
12463
 
12429
12464
  // src/components/Drawer/DrawerProvider.tsx
12430
- var import_react45 = require("react");
12465
+ var import_react47 = require("react");
12431
12466
  var import_jsx_runtime38 = require("@emotion/react/jsx-runtime");
12432
- var DrawerContext = (0, import_react45.createContext)({
12467
+ var DrawerContext = (0, import_react47.createContext)({
12433
12468
  drawersRegistry: [],
12434
12469
  registerDrawer: () => {
12435
12470
  },
@@ -12437,7 +12472,7 @@ var DrawerContext = (0, import_react45.createContext)({
12437
12472
  }
12438
12473
  });
12439
12474
  var DrawerProvider = ({ children }) => {
12440
- const [drawersRegistry, setDrawersRegistry] = (0, import_react45.useState)([]);
12475
+ const [drawersRegistry, setDrawersRegistry] = (0, import_react47.useState)([]);
12441
12476
  useShortcut({
12442
12477
  handler: () => {
12443
12478
  var _a, _b;
@@ -12445,7 +12480,7 @@ var DrawerProvider = ({ children }) => {
12445
12480
  },
12446
12481
  shortcut: "escape"
12447
12482
  });
12448
- const registerDrawer = (0, import_react45.useCallback)(
12483
+ const registerDrawer = (0, import_react47.useCallback)(
12449
12484
  ({ drawer, onFirstRender }) => {
12450
12485
  setDrawersRegistry((currentValue) => {
12451
12486
  var _a;
@@ -12467,7 +12502,7 @@ var DrawerProvider = ({ children }) => {
12467
12502
  },
12468
12503
  [setDrawersRegistry]
12469
12504
  );
12470
- const unregisterDrawer = (0, import_react45.useCallback)(
12505
+ const unregisterDrawer = (0, import_react47.useCallback)(
12471
12506
  (drawer) => {
12472
12507
  setDrawersRegistry((currentValue) => {
12473
12508
  return currentValue.filter((d) => {
@@ -12480,7 +12515,7 @@ var DrawerProvider = ({ children }) => {
12480
12515
  return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(DrawerContext.Provider, { value: { drawersRegistry, registerDrawer, unregisterDrawer }, children });
12481
12516
  };
12482
12517
  var useDrawer = () => {
12483
- return (0, import_react45.useContext)(DrawerContext);
12518
+ return (0, import_react47.useContext)(DrawerContext);
12484
12519
  };
12485
12520
  var useCloseCurrentDrawer = () => {
12486
12521
  const context = useDrawer();
@@ -12497,13 +12532,13 @@ function isEqualDrawerInstance(a, b) {
12497
12532
  }
12498
12533
 
12499
12534
  // src/components/Drawer/DrawerRenderer.tsx
12500
- var import_react46 = require("react");
12535
+ var import_react48 = require("react");
12501
12536
  var import_jsx_runtime39 = require("@emotion/react/jsx-runtime");
12502
12537
  var maxLayeringInPx = 64;
12503
12538
  var idealDistanceBetweenLayersInPx = 16;
12504
- var CurrentDrawerRendererContext = (0, import_react46.createContext)({});
12539
+ var CurrentDrawerRendererContext = (0, import_react48.createContext)({});
12505
12540
  var useCurrentDrawerRenderer = () => {
12506
- return (0, import_react46.useContext)(CurrentDrawerRendererContext);
12541
+ return (0, import_react48.useContext)(CurrentDrawerRendererContext);
12507
12542
  };
12508
12543
  var DrawerRenderer = ({
12509
12544
  stackId,
@@ -12567,7 +12602,7 @@ var DrawerWrapper = ({
12567
12602
  // src/components/Drawer/Drawer.tsx
12568
12603
  var import_jsx_runtime40 = require("@emotion/react/jsx-runtime");
12569
12604
  var defaultSackId = "_default";
12570
- var Drawer = import_react47.default.forwardRef(
12605
+ var Drawer = import_react49.default.forwardRef(
12571
12606
  ({ width, minWidth, maxWidth, position, ...drawerProps }, ref) => {
12572
12607
  const drawerRendererProps = { width, minWidth, maxWidth, position };
12573
12608
  const { stackId: inheritedStackId } = useCurrentDrawerRenderer();
@@ -12589,8 +12624,8 @@ var DrawerInner = ({
12589
12624
  testId = "side-dialog"
12590
12625
  }) => {
12591
12626
  const { registerDrawer, unregisterDrawer } = useDrawer();
12592
- const closeButtonRef = (0, import_react47.useRef)(null);
12593
- const component = (0, import_react47.useMemo)(() => {
12627
+ const closeButtonRef = (0, import_react49.useRef)(null);
12628
+ const component = (0, import_react49.useMemo)(() => {
12594
12629
  const headerId = `dialog-header-${stackId}-${id}`;
12595
12630
  return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
12596
12631
  "div",
@@ -12621,7 +12656,7 @@ var DrawerInner = ({
12621
12656
  }
12622
12657
  );
12623
12658
  }, [children, header, id, stackId, bgColor, onRequestClose, ref, testId]);
12624
- (0, import_react47.useEffect)(() => {
12659
+ (0, import_react49.useEffect)(() => {
12625
12660
  registerDrawer({
12626
12661
  drawer: {
12627
12662
  id,
@@ -12638,15 +12673,15 @@ var DrawerInner = ({
12638
12673
  }
12639
12674
  });
12640
12675
  }, [component, instanceKey, registerDrawer]);
12641
- (0, import_react47.useEffect)(() => {
12676
+ (0, import_react49.useEffect)(() => {
12642
12677
  return () => unregisterDrawer({ id, stackId, instanceKey });
12643
12678
  }, [id, stackId, instanceKey, unregisterDrawer]);
12644
12679
  return null;
12645
12680
  };
12646
12681
 
12647
12682
  // src/components/Input/styles/CaptionText.styles.ts
12648
- var import_react48 = require("@emotion/react");
12649
- var CaptionText = (dynamicSize) => import_react48.css`
12683
+ var import_react50 = require("@emotion/react");
12684
+ var CaptionText = (dynamicSize) => import_react50.css`
12650
12685
  color: var(--gray-500);
12651
12686
  display: block;
12652
12687
  font-size: ${dynamicSize ? "clamp(var(--fs-xs), 87.5%,var(--fs-sm))" : "var(--fs-sm)"};
@@ -12661,23 +12696,23 @@ var Caption = ({ children, testId, dynamicSize = false, ...props }) => {
12661
12696
  };
12662
12697
 
12663
12698
  // src/components/Input/CheckboxWithInfo.tsx
12664
- var import_react50 = require("react");
12699
+ var import_react52 = require("react");
12665
12700
 
12666
12701
  // src/components/Input/styles/CheckboxWithInfo.styles.ts
12667
- var import_react49 = require("@emotion/react");
12668
- var CheckboxWithInfoContainer = import_react49.css`
12702
+ var import_react51 = require("@emotion/react");
12703
+ var CheckboxWithInfoContainer = import_react51.css`
12669
12704
  align-items: center;
12670
12705
  display: flex;
12671
12706
  gap: var(--spacing-sm);
12672
12707
  `;
12673
- var CheckboxWithInfoLabel = import_react49.css`
12708
+ var CheckboxWithInfoLabel = import_react51.css`
12674
12709
  align-items: center;
12675
12710
  color: var(--gray-500);
12676
12711
  display: flex;
12677
12712
  font-size: var(--fs-xs);
12678
12713
  gap: var(--spacing-sm);
12679
12714
  `;
12680
- var CheckboxWithInfoInput = import_react49.css`
12715
+ var CheckboxWithInfoInput = import_react51.css`
12681
12716
  appearance: none;
12682
12717
  border: 1px solid var(--gray-300);
12683
12718
  background: var(--white) no-repeat bottom center;
@@ -12710,7 +12745,7 @@ var CheckboxWithInfoInput = import_react49.css`
12710
12745
  border-color: var(--gray-200);
12711
12746
  }
12712
12747
  `;
12713
- var InfoDialogContainer = import_react49.css`
12748
+ var InfoDialogContainer = import_react51.css`
12714
12749
  position: relative;
12715
12750
 
12716
12751
  &:hover {
@@ -12719,7 +12754,7 @@ var InfoDialogContainer = import_react49.css`
12719
12754
  }
12720
12755
  }
12721
12756
  `;
12722
- var InfoDialogMessage = import_react49.css`
12757
+ var InfoDialogMessage = import_react51.css`
12723
12758
  background: var(--white);
12724
12759
  box-shadow: var(--shadow-base);
12725
12760
  border-radius: var(--rounded-md);
@@ -12743,7 +12778,7 @@ var InfoDialog = ({ message }) => {
12743
12778
  /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { role: "paragraph", css: InfoDialogMessage, className: "info-message", children: message })
12744
12779
  ] });
12745
12780
  };
12746
- var CheckboxWithInfo = (0, import_react50.forwardRef)(
12781
+ var CheckboxWithInfo = (0, import_react52.forwardRef)(
12747
12782
  ({ label, name, info, ...props }, ref) => {
12748
12783
  return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { css: CheckboxWithInfoContainer, children: [
12749
12784
  /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("label", { css: CheckboxWithInfoLabel, children: [
@@ -12759,8 +12794,8 @@ var CheckboxWithInfo = (0, import_react50.forwardRef)(
12759
12794
  var import_md2 = require("react-icons/md");
12760
12795
 
12761
12796
  // src/components/Input/styles/ErrorMessage.styles.ts
12762
- var import_react51 = require("@emotion/react");
12763
- var ErrorText = import_react51.css`
12797
+ var import_react53 = require("@emotion/react");
12798
+ var ErrorText = import_react53.css`
12764
12799
  align-items: center;
12765
12800
  color: var(--brand-secondary-5);
12766
12801
  display: flex;
@@ -12771,7 +12806,7 @@ var ErrorText = import_react51.css`
12771
12806
  var import_jsx_runtime43 = require("@emotion/react/jsx-runtime");
12772
12807
  var ErrorMessage = ({ message, testId, ...otherProps }) => {
12773
12808
  return message ? /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("span", { role: "alert", css: ErrorText, "data-test-id": testId, ...otherProps, children: [
12774
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Icon, { icon: import_md2.MdWarning, size: 16, iconColor: "currentColor" }),
12809
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Icon, { icon: import_md2.MdWarning, size: "1rem", iconColor: "currentColor" }) }),
12775
12810
  message
12776
12811
  ] }) : null;
12777
12812
  };
@@ -12780,9 +12815,9 @@ var ErrorMessage = ({ message, testId, ...otherProps }) => {
12780
12815
  var React12 = __toESM(require("react"));
12781
12816
 
12782
12817
  // src/components/Input/styles/Fieldset.styles.ts
12783
- var import_react52 = require("@emotion/react");
12818
+ var import_react54 = require("@emotion/react");
12784
12819
  function fieldsetContainer(invert) {
12785
- const base = import_react52.css`
12820
+ const base = import_react54.css`
12786
12821
  border-radius: var(--rounded-base);
12787
12822
  border: 1px solid var(--gray-300);
12788
12823
 
@@ -12794,18 +12829,18 @@ function fieldsetContainer(invert) {
12794
12829
  }
12795
12830
  `;
12796
12831
  return invert ? [
12797
- import_react52.css`
12832
+ import_react54.css`
12798
12833
  background: white;
12799
12834
  `,
12800
12835
  base
12801
12836
  ] : [
12802
- import_react52.css`
12837
+ import_react54.css`
12803
12838
  background: var(--gray-50);
12804
12839
  `,
12805
12840
  base
12806
12841
  ];
12807
12842
  }
12808
- var fieldsetLegend = import_react52.css`
12843
+ var fieldsetLegend = import_react54.css`
12809
12844
  align-items: center;
12810
12845
  color: var(--brand-secondary-1);
12811
12846
  display: flex;
@@ -12815,7 +12850,7 @@ var fieldsetLegend = import_react52.css`
12815
12850
  margin-bottom: var(--spacing-base);
12816
12851
  float: left; // allows the legend to be inside the fieldset and not sat on the border line
12817
12852
  `;
12818
- var fieldsetBody = import_react52.css`
12853
+ var fieldsetBody = import_react54.css`
12819
12854
  clear: left;
12820
12855
  `;
12821
12856
 
@@ -12834,8 +12869,8 @@ var Fieldset = React12.forwardRef(
12834
12869
  var import_md3 = require("react-icons/md");
12835
12870
 
12836
12871
  // src/components/Input/styles/InfoMessage.styles.tsx
12837
- var import_react53 = require("@emotion/react");
12838
- var InfoText = import_react53.css`
12872
+ var import_react55 = require("@emotion/react");
12873
+ var InfoText = import_react55.css`
12839
12874
  --info-desc: rgb(29, 78, 216);
12840
12875
  --info-icon: rgb(96, 165, 250);
12841
12876
 
@@ -12844,7 +12879,7 @@ var InfoText = import_react53.css`
12844
12879
  display: flex;
12845
12880
  gap: var(--spacing-sm);
12846
12881
  `;
12847
- var InfoIcon2 = import_react53.css`
12882
+ var InfoIcon2 = import_react55.css`
12848
12883
  color: var(--info-icon);
12849
12884
  `;
12850
12885
 
@@ -12852,7 +12887,7 @@ var InfoIcon2 = import_react53.css`
12852
12887
  var import_jsx_runtime45 = require("@emotion/react/jsx-runtime");
12853
12888
  var InfoMessage = ({ message, testId, ...props }) => {
12854
12889
  return message ? /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("span", { role: "status", css: InfoText, "data-test-id": testId, ...props, children: [
12855
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Icon, { css: InfoIcon2, icon: import_md3.MdInfoOutline, size: "1rem", iconColor: "currentColor" }),
12890
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Icon, { css: InfoIcon2, icon: import_md3.MdInfoOutline, size: "1rem", iconColor: "currentColor" }) }),
12856
12891
  message
12857
12892
  ] }) : null;
12858
12893
  };
@@ -12879,14 +12914,14 @@ var Label = ({ children, className, testId, ...props }) => {
12879
12914
  var import_md4 = require("react-icons/md");
12880
12915
 
12881
12916
  // src/components/Input/styles/WarningMessage.styles.tsx
12882
- var import_react54 = require("@emotion/react");
12883
- var WarningText = import_react54.css`
12917
+ var import_react56 = require("@emotion/react");
12918
+ var WarningText = import_react56.css`
12884
12919
  align-items: center;
12885
12920
  color: var(--alert-text);
12886
12921
  display: flex;
12887
12922
  gap: var(--spacing-sm);
12888
12923
  `;
12889
- var WarningIcon = import_react54.css`
12924
+ var WarningIcon = import_react56.css`
12890
12925
  color: var(--alert);
12891
12926
  `;
12892
12927
 
@@ -12894,7 +12929,7 @@ var WarningIcon = import_react54.css`
12894
12929
  var import_jsx_runtime47 = require("@emotion/react/jsx-runtime");
12895
12930
  var WarningMessage = ({ message, testId, ...props }) => {
12896
12931
  return message ? /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("span", { role: "status", css: WarningText, "data-test-id": testId, ...props, children: [
12897
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Icon, { css: WarningIcon, icon: import_md4.MdWarning, size: "1rem", iconColor: "currentColor" }),
12932
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Icon, { css: WarningIcon, icon: import_md4.MdWarning, size: "1rem", iconColor: "currentColor" }) }),
12898
12933
  message
12899
12934
  ] }) : null;
12900
12935
  };
@@ -13097,17 +13132,17 @@ function InputComboBox(props) {
13097
13132
  }
13098
13133
 
13099
13134
  // src/components/Input/InputInlineSelect.tsx
13100
- var import_react56 = require("@emotion/react");
13101
- var import_react57 = require("react");
13135
+ var import_react58 = require("@emotion/react");
13136
+ var import_react59 = require("react");
13102
13137
  var import_cg11 = require("react-icons/cg");
13103
13138
 
13104
13139
  // src/components/Input/styles/InputInlineSelect.styles.ts
13105
- var import_react55 = require("@emotion/react");
13106
- var inlineSelectContainer = import_react55.css`
13140
+ var import_react57 = require("@emotion/react");
13141
+ var inlineSelectContainer = import_react57.css`
13107
13142
  margin-inline: auto;
13108
13143
  max-width: fit-content;
13109
13144
  `;
13110
- var inlineSelectBtn = import_react55.css`
13145
+ var inlineSelectBtn = import_react57.css`
13111
13146
  align-items: center;
13112
13147
  background: var(--brand-secondary-3);
13113
13148
  border: 2px solid var(--brand-secondary-3);
@@ -13131,7 +13166,7 @@ var inlineSelectBtn = import_react55.css`
13131
13166
  outline: 2px solid var(--brand-secondary-1);
13132
13167
  }
13133
13168
  `;
13134
- var inlineSelectMenu = import_react55.css`
13169
+ var inlineSelectMenu = import_react57.css`
13135
13170
  background: var(--white);
13136
13171
  border: 1px solid var(--brand-secondary-3);
13137
13172
  border-top: none;
@@ -13142,7 +13177,7 @@ var inlineSelectMenu = import_react55.css`
13142
13177
  inset: auto 0;
13143
13178
  transform: translateY(-0.2rem);
13144
13179
  `;
13145
- var inlineSelectBtnOptions = import_react55.css`
13180
+ var inlineSelectBtnOptions = import_react57.css`
13146
13181
  cursor: pointer;
13147
13182
  display: block;
13148
13183
  font-size: var(--fs-sm);
@@ -13158,7 +13193,7 @@ var inlineSelectBtnOptions = import_react55.css`
13158
13193
  background: var(--gray-50);
13159
13194
  }
13160
13195
  `;
13161
- var inlineSelectMenuClosed = import_react55.css`
13196
+ var inlineSelectMenuClosed = import_react57.css`
13162
13197
  position: absolute;
13163
13198
  overflow: hidden;
13164
13199
  height: 1px;
@@ -13178,15 +13213,15 @@ var InputInlineSelect = ({
13178
13213
  ...props
13179
13214
  }) => {
13180
13215
  var _a;
13181
- const [menuVisible, setMenuVisible] = (0, import_react57.useState)(false);
13182
- const divRef = (0, import_react57.useRef)(null);
13216
+ const [menuVisible, setMenuVisible] = (0, import_react59.useState)(false);
13217
+ const divRef = (0, import_react59.useRef)(null);
13183
13218
  useOutsideClick(divRef, () => setMenuVisible(false));
13184
13219
  const selected = options.find((option) => option.value === value);
13185
13220
  return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
13186
13221
  "div",
13187
13222
  {
13188
13223
  ref: divRef,
13189
- css: !classNameContainer ? inlineSelectContainer : import_react56.css`
13224
+ css: !classNameContainer ? inlineSelectContainer : import_react58.css`
13190
13225
  max-width: fit-content;
13191
13226
  ${typeof classNameContainer === "object" ? classNameContainer : void 0}
13192
13227
  `,
@@ -13384,8 +13419,35 @@ var Legend = ({ children }) => {
13384
13419
  return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("legend", { css: fieldsetLegend, children });
13385
13420
  };
13386
13421
 
13387
- // src/components/Input/Textarea.tsx
13422
+ // src/components/Input/SuccessMessage.tsx
13423
+ var import_cg12 = require("react-icons/cg");
13424
+
13425
+ // src/components/Input/styles/SuccessMessage.styles.ts
13426
+ var import_react60 = require("@emotion/react");
13427
+ var SuccessText = import_react60.css`
13428
+ --info-desc: var(--brand-secondary-3);
13429
+ --info-icon: var(--brand-secondary-3);
13430
+
13431
+ align-items: center;
13432
+ color: var(--info-desc);
13433
+ display: flex;
13434
+ gap: var(--spacing-sm);
13435
+ `;
13436
+ var SuccessIcon2 = import_react60.css`
13437
+ color: var(--info-icon);
13438
+ `;
13439
+
13440
+ // src/components/Input/SuccessMessage.tsx
13388
13441
  var import_jsx_runtime55 = require("@emotion/react/jsx-runtime");
13442
+ var SuccessMessage = ({ message, testId, ...props }) => {
13443
+ return message ? /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("span", { role: "status", css: SuccessText, "data-test-id": testId, ...props, children: [
13444
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Icon, { css: SuccessIcon2, icon: import_cg12.CgCheckO, size: "1rem", iconColor: "currentColor" }) }),
13445
+ message
13446
+ ] }) : null;
13447
+ };
13448
+
13449
+ // src/components/Input/Textarea.tsx
13450
+ var import_jsx_runtime56 = require("@emotion/react/jsx-runtime");
13389
13451
  var Textarea = ({
13390
13452
  label,
13391
13453
  icon,
@@ -13396,10 +13458,10 @@ var Textarea = ({
13396
13458
  warningMessage,
13397
13459
  ...props
13398
13460
  }) => {
13399
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx_runtime55.Fragment, { children: [
13400
- showLabel ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("label", { htmlFor: id, css: [labelText], children: label }) : null,
13401
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { css: [inputContainer], children: [
13402
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
13461
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_jsx_runtime56.Fragment, { children: [
13462
+ showLabel ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("label", { htmlFor: id, css: [labelText], children: label }) : null,
13463
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { css: [inputContainer], children: [
13464
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
13403
13465
  "textarea",
13404
13466
  {
13405
13467
  id,
@@ -13408,17 +13470,17 @@ var Textarea = ({
13408
13470
  ...props
13409
13471
  }
13410
13472
  ),
13411
- icon ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { css: inputIcon, children: icon }) : null
13473
+ icon ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { css: inputIcon, children: icon }) : null
13412
13474
  ] }),
13413
- caption ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Caption, { children: caption }) : null,
13414
- errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ErrorMessage, { message: errorMessage }) : null,
13415
- warningMessage && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(WarningMessage, { message: warningMessage }) : null
13475
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Caption, { children: caption }) : null,
13476
+ errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(ErrorMessage, { message: errorMessage }) : null,
13477
+ warningMessage && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(WarningMessage, { message: warningMessage }) : null
13416
13478
  ] });
13417
13479
  };
13418
13480
 
13419
13481
  // src/components/JsonEditor/JsonEditor.tsx
13420
- var import_react58 = __toESM(require("@monaco-editor/react"));
13421
- var import_jsx_runtime56 = require("@emotion/react/jsx-runtime");
13482
+ var import_react61 = __toESM(require("@monaco-editor/react"));
13483
+ var import_jsx_runtime57 = require("@emotion/react/jsx-runtime");
13422
13484
  var minEditorHeightPx = 150;
13423
13485
  var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
13424
13486
  let effectiveHeight = height;
@@ -13428,8 +13490,8 @@ var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
13428
13490
  if (typeof effectiveHeight === "number" && effectiveHeight < minEditorHeightPx) {
13429
13491
  effectiveHeight = minEditorHeightPx;
13430
13492
  }
13431
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
13432
- import_react58.default,
13493
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
13494
+ import_react61.default,
13433
13495
  {
13434
13496
  height: effectiveHeight,
13435
13497
  className: "uniform-json-editor",
@@ -13465,39 +13527,39 @@ var JsonEditor = ({ defaultValue, onChange, jsonSchema, height, readOnly }) => {
13465
13527
  };
13466
13528
 
13467
13529
  // src/components/LimitsBar/LimitsBar.styles.ts
13468
- var import_react59 = require("@emotion/react");
13469
- var LimitsBarContainer = import_react59.css`
13530
+ var import_react62 = require("@emotion/react");
13531
+ var LimitsBarContainer = import_react62.css`
13470
13532
  margin-block: var(--spacing-sm);
13471
13533
  `;
13472
- var LimitsBarProgressBar = import_react59.css`
13534
+ var LimitsBarProgressBar = import_react62.css`
13473
13535
  background: var(--gray-100);
13474
13536
  margin-top: var(--spacing-sm);
13475
13537
  position: relative;
13476
13538
  overflow: hidden;
13477
13539
  height: 0.25rem;
13478
13540
  `;
13479
- var LimitsBarProgressBarLine = import_react59.css`
13541
+ var LimitsBarProgressBarLine = import_react62.css`
13480
13542
  position: absolute;
13481
13543
  inset: 0;
13482
13544
  transition: transform var(--duration-fast) var(--timing-ease-out);
13483
13545
  `;
13484
- var LimitsBarLabelContainer = import_react59.css`
13546
+ var LimitsBarLabelContainer = import_react62.css`
13485
13547
  display: flex;
13486
13548
  justify-content: space-between;
13487
13549
  font-weight: var(--fw-bold);
13488
13550
  `;
13489
- var LimitsBarLabel = import_react59.css`
13551
+ var LimitsBarLabel = import_react62.css`
13490
13552
  font-size: var(--fs-baase);
13491
13553
  `;
13492
- var LimitsBarBgColor = (statusColor) => import_react59.css`
13554
+ var LimitsBarBgColor = (statusColor) => import_react62.css`
13493
13555
  background: ${statusColor};
13494
13556
  `;
13495
- var LimitsBarTextColor = (statusColor) => import_react59.css`
13557
+ var LimitsBarTextColor = (statusColor) => import_react62.css`
13496
13558
  color: ${statusColor};
13497
13559
  `;
13498
13560
 
13499
13561
  // src/components/LimitsBar/LimitsBar.tsx
13500
- var import_jsx_runtime57 = require("@emotion/react/jsx-runtime");
13562
+ var import_jsx_runtime58 = require("@emotion/react/jsx-runtime");
13501
13563
  var LimitsBar = ({ current, max, label }) => {
13502
13564
  const maxPercentage = 100;
13503
13565
  const progressBarValue = Math.ceil(current / max * maxPercentage);
@@ -13508,16 +13570,16 @@ var LimitsBar = ({ current, max, label }) => {
13508
13570
  danger: "var(--brand-secondary-5)"
13509
13571
  };
13510
13572
  const statusColor = progressBarValue === 100 ? colorMap.danger : progressBarValue >= 75 ? colorMap.warn : colorMap.base;
13511
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { css: LimitsBarContainer, children: [
13512
- /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { css: LimitsBarLabelContainer, children: [
13513
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("span", { css: LimitsBarLabel, children: label }),
13514
- /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("span", { css: [LimitsBarLabel, LimitsBarTextColor(statusColor)], children: [
13573
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { css: LimitsBarContainer, children: [
13574
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { css: LimitsBarLabelContainer, children: [
13575
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { css: LimitsBarLabel, children: label }),
13576
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("span", { css: [LimitsBarLabel, LimitsBarTextColor(statusColor)], children: [
13515
13577
  current,
13516
13578
  " of ",
13517
13579
  max
13518
13580
  ] })
13519
13581
  ] }),
13520
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
13582
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
13521
13583
  "div",
13522
13584
  {
13523
13585
  role: "progressbar",
@@ -13526,7 +13588,7 @@ var LimitsBar = ({ current, max, label }) => {
13526
13588
  "aria-valuemax": max,
13527
13589
  "aria-valuetext": `${current} of ${max}`,
13528
13590
  css: LimitsBarProgressBar,
13529
- children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
13591
+ children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
13530
13592
  "span",
13531
13593
  {
13532
13594
  role: "presentation",
@@ -13542,8 +13604,8 @@ var LimitsBar = ({ current, max, label }) => {
13542
13604
  };
13543
13605
 
13544
13606
  // src/components/LinkList/LinkList.styles.ts
13545
- var import_react60 = require("@emotion/react");
13546
- var LinkListContainer = (padding) => import_react60.css`
13607
+ var import_react63 = require("@emotion/react");
13608
+ var LinkListContainer = (padding) => import_react63.css`
13547
13609
  padding: ${padding};
13548
13610
 
13549
13611
  ${mq("sm")} {
@@ -13553,23 +13615,23 @@ var LinkListContainer = (padding) => import_react60.css`
13553
13615
  `;
13554
13616
 
13555
13617
  // src/components/LinkList/LinkList.tsx
13556
- var import_jsx_runtime58 = require("@emotion/react/jsx-runtime");
13618
+ var import_jsx_runtime59 = require("@emotion/react/jsx-runtime");
13557
13619
  var LinkList = ({ title, padding = "var(--spacing-md)", children, ...props }) => {
13558
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { css: LinkListContainer(padding), ...props, children: [
13559
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Heading, { level: 3, children: title }),
13620
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { css: LinkListContainer(padding), ...props, children: [
13621
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Heading, { level: 3, children: title }),
13560
13622
  children
13561
13623
  ] });
13562
13624
  };
13563
13625
 
13564
13626
  // src/components/List/ScrollableList.tsx
13565
- var import_react62 = require("@emotion/react");
13627
+ var import_react65 = require("@emotion/react");
13566
13628
 
13567
13629
  // src/components/List/styles/ScrollableList.styles.ts
13568
- var import_react61 = require("@emotion/react");
13569
- var ScrollableListContainer = import_react61.css`
13630
+ var import_react64 = require("@emotion/react");
13631
+ var ScrollableListContainer = import_react64.css`
13570
13632
  position: relative;
13571
13633
  `;
13572
- var ScrollableListInner = import_react61.css`
13634
+ var ScrollableListInner = import_react64.css`
13573
13635
  background: var(--gray-50);
13574
13636
  border-top: 1px solid var(--gray-200);
13575
13637
  border-bottom: 1px solid var(--gray-200);
@@ -13592,28 +13654,28 @@ var ScrollableListInner = import_react61.css`
13592
13654
  `;
13593
13655
 
13594
13656
  // src/components/List/ScrollableList.tsx
13595
- var import_jsx_runtime59 = require("@emotion/react/jsx-runtime");
13657
+ var import_jsx_runtime60 = require("@emotion/react/jsx-runtime");
13596
13658
  var ScrollableList = ({ label, children, ...props }) => {
13597
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { css: [ScrollableListContainer, scrollbarStyles], ...props, children: [
13598
- label ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
13659
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { css: [ScrollableListContainer, scrollbarStyles], ...props, children: [
13660
+ label ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
13599
13661
  "span",
13600
13662
  {
13601
- css: import_react62.css`
13663
+ css: import_react65.css`
13602
13664
  ${labelText}
13603
13665
  `,
13604
13666
  children: label
13605
13667
  }
13606
13668
  ) : null,
13607
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { css: [ScrollableListInner, scrollbarStyles], children })
13669
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { css: [ScrollableListInner, scrollbarStyles], children })
13608
13670
  ] });
13609
13671
  };
13610
13672
 
13611
13673
  // src/components/List/ScrollableListInputItem.tsx
13612
- var import_cg12 = require("react-icons/cg");
13674
+ var import_cg13 = require("react-icons/cg");
13613
13675
 
13614
13676
  // src/components/List/styles/ScrollableListItem.styles.ts
13615
- var import_react63 = require("@emotion/react");
13616
- var ScrollableListItemContainer = import_react63.css`
13677
+ var import_react66 = require("@emotion/react");
13678
+ var ScrollableListItemContainer = import_react66.css`
13617
13679
  align-items: center;
13618
13680
  background: var(--white);
13619
13681
  border-radius: var(--rounded-base);
@@ -13622,13 +13684,13 @@ var ScrollableListItemContainer = import_react63.css`
13622
13684
  min-height: 52px;
13623
13685
  transition: border-color var(--duration-fast) var(--timing-ease-out);
13624
13686
  `;
13625
- var ScrollableListItemShadow = import_react63.css`
13687
+ var ScrollableListItemShadow = import_react66.css`
13626
13688
  box-shadow: var(--shadow-base);
13627
13689
  `;
13628
- var ScrollableListItemActive = import_react63.css`
13690
+ var ScrollableListItemActive = import_react66.css`
13629
13691
  border-color: var(--brand-secondary-3);
13630
13692
  `;
13631
- var ScrollableListItemBtn = import_react63.css`
13693
+ var ScrollableListItemBtn = import_react66.css`
13632
13694
  align-items: center;
13633
13695
  border: none;
13634
13696
  background: transparent;
@@ -13643,27 +13705,27 @@ var ScrollableListItemBtn = import_react63.css`
13643
13705
  outline: none;
13644
13706
  }
13645
13707
  `;
13646
- var ScrollableListInputLabel = import_react63.css`
13708
+ var ScrollableListInputLabel = import_react66.css`
13647
13709
  align-items: center;
13648
13710
  cursor: pointer;
13649
13711
  display: flex;
13650
13712
  padding: var(--spacing-xs) var(--spacing-base) var(--spacing-xs);
13651
13713
  flex-grow: 1;
13652
13714
  `;
13653
- var ScrollableListInputText = import_react63.css`
13715
+ var ScrollableListInputText = import_react66.css`
13654
13716
  align-items: center;
13655
13717
  display: flex;
13656
13718
  gap: var(--spacing-sm);
13657
13719
  flex-grow: 1;
13658
13720
  flex-wrap: wrap;
13659
13721
  `;
13660
- var ScrollableListHiddenInput = import_react63.css`
13722
+ var ScrollableListHiddenInput = import_react66.css`
13661
13723
  position: absolute;
13662
13724
  height: 0;
13663
13725
  width: 0;
13664
13726
  opacity: 0;
13665
13727
  `;
13666
- var ScrollableListIcon = import_react63.css`
13728
+ var ScrollableListIcon = import_react66.css`
13667
13729
  border-radius: var(--rounded-full);
13668
13730
  background: var(--brand-secondary-3);
13669
13731
  color: var(--white);
@@ -13671,12 +13733,12 @@ var ScrollableListIcon = import_react63.css`
13671
13733
  min-width: 24px;
13672
13734
  opacity: 0;
13673
13735
  `;
13674
- var ScrollableListIconVisible = import_react63.css`
13736
+ var ScrollableListIconVisible = import_react66.css`
13675
13737
  animation: ${fadeInBottom} var(--duration-fast) var(--timing-ease-out) forwards;
13676
13738
  `;
13677
13739
 
13678
13740
  // src/components/List/ScrollableListInputItem.tsx
13679
- var import_jsx_runtime60 = require("@emotion/react/jsx-runtime");
13741
+ var import_jsx_runtime61 = require("@emotion/react/jsx-runtime");
13680
13742
  var ScrollableListInputItem = ({
13681
13743
  label,
13682
13744
  icon,
@@ -13686,7 +13748,7 @@ var ScrollableListInputItem = ({
13686
13748
  labelTestId,
13687
13749
  ...props
13688
13750
  }) => {
13689
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
13751
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
13690
13752
  "div",
13691
13753
  {
13692
13754
  css: [
@@ -13695,16 +13757,16 @@ var ScrollableListInputItem = ({
13695
13757
  active ? ScrollableListItemActive : void 0
13696
13758
  ],
13697
13759
  ...props,
13698
- children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("label", { "data-test-id": labelTestId, css: ScrollableListInputLabel, children: [
13699
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("span", { css: ScrollableListInputText, children: [
13760
+ children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("label", { "data-test-id": labelTestId, css: ScrollableListInputLabel, children: [
13761
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("span", { css: ScrollableListInputText, children: [
13700
13762
  icon,
13701
13763
  label
13702
13764
  ] }),
13703
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { css: ScrollableListHiddenInput, children }),
13704
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
13765
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { css: ScrollableListHiddenInput, children }),
13766
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
13705
13767
  Icon,
13706
13768
  {
13707
- icon: import_cg12.CgCheck,
13769
+ icon: import_cg13.CgCheck,
13708
13770
  iconColor: "currentColor",
13709
13771
  css: [ScrollableListIcon, active ? ScrollableListIconVisible : void 0],
13710
13772
  size: 24,
@@ -13718,15 +13780,15 @@ var ScrollableListInputItem = ({
13718
13780
  };
13719
13781
 
13720
13782
  // src/components/List/ScrollableListItem.tsx
13721
- var import_cg13 = require("react-icons/cg");
13722
- var import_jsx_runtime61 = require("@emotion/react/jsx-runtime");
13783
+ var import_cg14 = require("react-icons/cg");
13784
+ var import_jsx_runtime62 = require("@emotion/react/jsx-runtime");
13723
13785
  var ScrollableListItem = ({
13724
13786
  buttonText,
13725
13787
  active,
13726
13788
  disableShadow,
13727
13789
  ...props
13728
13790
  }) => {
13729
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
13791
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
13730
13792
  "div",
13731
13793
  {
13732
13794
  css: [
@@ -13734,12 +13796,12 @@ var ScrollableListItem = ({
13734
13796
  disableShadow ? void 0 : ScrollableListItemShadow,
13735
13797
  active ? ScrollableListItemActive : void 0
13736
13798
  ],
13737
- children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
13738
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { children: buttonText }),
13739
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
13799
+ children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
13800
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { children: buttonText }),
13801
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
13740
13802
  Icon,
13741
13803
  {
13742
- icon: import_cg13.CgCheck,
13804
+ icon: import_cg14.CgCheck,
13743
13805
  iconColor: "currentColor",
13744
13806
  css: [ScrollableListIcon, active ? ScrollableListIconVisible : void 0],
13745
13807
  size: 24
@@ -13751,8 +13813,8 @@ var ScrollableListItem = ({
13751
13813
  };
13752
13814
 
13753
13815
  // src/components/LoadingIndicator/LoadingIndicator.styles.ts
13754
- var import_react64 = require("@emotion/react");
13755
- var bounceFade = import_react64.keyframes`
13816
+ var import_react67 = require("@emotion/react");
13817
+ var bounceFade = import_react67.keyframes`
13756
13818
  0%, 100% {
13757
13819
  opacity: 1.0;
13758
13820
  transform: translateY(0);
@@ -13769,11 +13831,11 @@ var bounceFade = import_react64.keyframes`
13769
13831
  transform: translateY(-5px);
13770
13832
  }
13771
13833
  `;
13772
- var loader = import_react64.css`
13834
+ var loader = import_react67.css`
13773
13835
  display: inline-flex;
13774
13836
  justify-content: center;
13775
13837
  `;
13776
- var loadingDot = import_react64.css`
13838
+ var loadingDot = import_react67.css`
13777
13839
  background-color: var(--gray-700);
13778
13840
  display: block;
13779
13841
  border-radius: var(--rounded-full);
@@ -13797,21 +13859,21 @@ var loadingDot = import_react64.css`
13797
13859
  `;
13798
13860
 
13799
13861
  // src/components/LoadingIndicator/LoadingIndicator.tsx
13800
- var import_jsx_runtime62 = require("@emotion/react/jsx-runtime");
13862
+ var import_jsx_runtime63 = require("@emotion/react/jsx-runtime");
13801
13863
  var LoadingIndicator = ({ ...props }) => {
13802
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { role: "alert", css: loader, "data-test-id": "loading-indicator", ...props, children: [
13803
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { css: loadingDot }),
13804
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { css: loadingDot }),
13805
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { css: loadingDot })
13864
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { role: "alert", css: loader, "data-test-id": "loading-indicator", ...props, children: [
13865
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { css: loadingDot }),
13866
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { css: loadingDot }),
13867
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { css: loadingDot })
13806
13868
  ] });
13807
13869
  };
13808
13870
 
13809
13871
  // src/components/LoadingOverlay/LoadingOverlay.tsx
13810
- var import_react66 = require("react");
13872
+ var import_react69 = require("react");
13811
13873
 
13812
13874
  // src/components/LoadingOverlay/LoadingOverlay.styles.ts
13813
- var import_react65 = require("@emotion/react");
13814
- var loadingOverlayContainer = import_react65.css`
13875
+ var import_react68 = require("@emotion/react");
13876
+ var loadingOverlayContainer = import_react68.css`
13815
13877
  position: absolute;
13816
13878
  inset: 0;
13817
13879
  overflow: hidden;
@@ -13819,30 +13881,30 @@ var loadingOverlayContainer = import_react65.css`
13819
13881
  padding: var(--spacing-xl);
13820
13882
  overflow-y: auto;
13821
13883
  `;
13822
- var loadingOverlayVisible = import_react65.css`
13884
+ var loadingOverlayVisible = import_react68.css`
13823
13885
  display: flex;
13824
13886
  `;
13825
- var loadingOverlayHidden = import_react65.css`
13887
+ var loadingOverlayHidden = import_react68.css`
13826
13888
  display: none;
13827
13889
  `;
13828
- var loadingOverlayBackground = (bgColor) => import_react65.css`
13890
+ var loadingOverlayBackground = (bgColor) => import_react68.css`
13829
13891
  background: ${bgColor};
13830
13892
  opacity: 0.92;
13831
13893
  position: absolute;
13832
13894
  inset: 0 0;
13833
13895
  `;
13834
- var loadingOverlayBody = import_react65.css`
13896
+ var loadingOverlayBody = import_react68.css`
13835
13897
  align-items: center;
13836
13898
  display: flex;
13837
13899
  flex-direction: column;
13838
13900
  `;
13839
- var loadingOverlayMessage = import_react65.css`
13901
+ var loadingOverlayMessage = import_react68.css`
13840
13902
  color: var(--gray-600);
13841
13903
  margin: var(--spacing-base) 0 0;
13842
13904
  `;
13843
13905
 
13844
13906
  // src/components/LoadingOverlay/LoadingOverlay.tsx
13845
- var import_jsx_runtime63 = require("@emotion/react/jsx-runtime");
13907
+ var import_jsx_runtime64 = require("@emotion/react/jsx-runtime");
13846
13908
  var LoadingOverlay = ({
13847
13909
  isActive,
13848
13910
  statusMessage,
@@ -13853,14 +13915,14 @@ var LoadingOverlay = ({
13853
13915
  isPaused = false,
13854
13916
  children
13855
13917
  }) => {
13856
- const lottieRef = (0, import_react66.useRef)(null);
13857
- const onLoopComplete = (0, import_react66.useCallback)(() => {
13918
+ const lottieRef = (0, import_react69.useRef)(null);
13919
+ const onLoopComplete = (0, import_react69.useCallback)(() => {
13858
13920
  var _a, _b, _c;
13859
13921
  if (isPaused && !((_b = (_a = lottieRef.current) == null ? void 0 : _a.animationItem) == null ? void 0 : _b.isPaused)) {
13860
13922
  (_c = lottieRef.current) == null ? void 0 : _c.stop();
13861
13923
  }
13862
13924
  }, [isPaused]);
13863
- (0, import_react66.useEffect)(() => {
13925
+ (0, import_react69.useEffect)(() => {
13864
13926
  var _a, _b, _c, _d, _e, _f;
13865
13927
  if (!isPaused && ((_b = (_a = lottieRef.current) == null ? void 0 : _a.animationItem) == null ? void 0 : _b.isPaused)) {
13866
13928
  (_c = lottieRef.current) == null ? void 0 : _c.play();
@@ -13868,7 +13930,7 @@ var LoadingOverlay = ({
13868
13930
  (_f = lottieRef.current) == null ? void 0 : _f.stop();
13869
13931
  }
13870
13932
  }, [isPaused]);
13871
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
13933
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
13872
13934
  "div",
13873
13935
  {
13874
13936
  role: "alert",
@@ -13876,9 +13938,9 @@ var LoadingOverlay = ({
13876
13938
  "aria-hidden": !isActive,
13877
13939
  "aria-busy": isActive && !isPaused,
13878
13940
  children: [
13879
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
13880
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { css: loadingOverlayBody, children: [
13881
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
13941
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { css: loadingOverlayBackground(overlayBackgroundColor) }),
13942
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { css: { position: "relative", maxWidth: "100%", margin: isTopAligned ? "0" : "auto" }, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { css: loadingOverlayBody, children: [
13943
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
13882
13944
  AnimationFile,
13883
13945
  {
13884
13946
  lottieRef,
@@ -13893,15 +13955,15 @@ var LoadingOverlay = ({
13893
13955
  }
13894
13956
  }
13895
13957
  ),
13896
- statusMessage ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { css: loadingOverlayMessage, children: statusMessage }) : null,
13897
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { css: { width: "100%", marginTop: "var(--spacing-md)" }, children })
13958
+ statusMessage ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { css: loadingOverlayMessage, children: statusMessage }) : null,
13959
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { css: { width: "100%", marginTop: "var(--spacing-md)" }, children })
13898
13960
  ] }) })
13899
13961
  ]
13900
13962
  }
13901
13963
  );
13902
13964
  };
13903
13965
  var LoadingIcon = ({ height, width, ...props }) => {
13904
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
13966
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
13905
13967
  "svg",
13906
13968
  {
13907
13969
  "data-testid": "svg",
@@ -13912,9 +13974,9 @@ var LoadingIcon = ({ height, width, ...props }) => {
13912
13974
  stroke: "currentColor",
13913
13975
  ...props,
13914
13976
  "data-test-id": "loading-icon",
13915
- children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
13916
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
13917
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
13977
+ children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
13978
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
13979
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
13918
13980
  "animateTransform",
13919
13981
  {
13920
13982
  attributeName: "transform",
@@ -13931,12 +13993,12 @@ var LoadingIcon = ({ height, width, ...props }) => {
13931
13993
  };
13932
13994
 
13933
13995
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
13934
- var import_react68 = require("@emotion/react");
13935
- var import_cg14 = require("react-icons/cg");
13996
+ var import_react71 = require("@emotion/react");
13997
+ var import_cg15 = require("react-icons/cg");
13936
13998
 
13937
13999
  // src/components/Tiles/styles/IntegrationTile.styles.ts
13938
- var import_react67 = require("@emotion/react");
13939
- var IntegrationTileContainer = import_react67.css`
14000
+ var import_react70 = require("@emotion/react");
14001
+ var IntegrationTileContainer = import_react70.css`
13940
14002
  align-items: center;
13941
14003
  box-sizing: border-box;
13942
14004
  border-radius: var(--rounded-base);
@@ -13967,22 +14029,22 @@ var IntegrationTileContainer = import_react67.css`
13967
14029
  }
13968
14030
  }
13969
14031
  `;
13970
- var IntegrationTileBtnDashedBorder = import_react67.css`
14032
+ var IntegrationTileBtnDashedBorder = import_react70.css`
13971
14033
  border: 1px dashed var(--brand-secondary-1);
13972
14034
  `;
13973
- var IntegrationTileTitle = import_react67.css`
14035
+ var IntegrationTileTitle = import_react70.css`
13974
14036
  display: block;
13975
14037
  font-weight: var(--fw-bold);
13976
14038
  margin: 0 0 var(--spacing-base);
13977
14039
  max-width: 13rem;
13978
14040
  `;
13979
- var IntegrationTitleLogo = import_react67.css`
14041
+ var IntegrationTitleLogo = import_react70.css`
13980
14042
  display: block;
13981
14043
  max-width: 10rem;
13982
14044
  max-height: 4rem;
13983
14045
  margin: 0 auto;
13984
14046
  `;
13985
- var IntegrationTileName = import_react67.css`
14047
+ var IntegrationTileName = import_react70.css`
13986
14048
  color: var(--gray-500);
13987
14049
  display: -webkit-box;
13988
14050
  -webkit-line-clamp: 1;
@@ -13995,7 +14057,7 @@ var IntegrationTileName = import_react67.css`
13995
14057
  position: absolute;
13996
14058
  bottom: calc(var(--spacing-base) * 3.8);
13997
14059
  `;
13998
- var IntegrationAddedText = import_react67.css`
14060
+ var IntegrationAddedText = import_react70.css`
13999
14061
  align-items: center;
14000
14062
  background: var(--brand-secondary-3);
14001
14063
  border-radius: 0 var(--rounded-md) 0 var(--rounded-md);
@@ -14010,7 +14072,7 @@ var IntegrationAddedText = import_react67.css`
14010
14072
  top: 0;
14011
14073
  right: 0;
14012
14074
  `;
14013
- var IntegrationCustomBadgeText = (theme) => import_react67.css`
14075
+ var IntegrationCustomBadgeText = (theme) => import_react70.css`
14014
14076
  align-items: center;
14015
14077
  border-radius: var(--rounded-sm) 0 var(--rounded-sm) 0;
14016
14078
  background: ${theme === "gray" ? "var(--brand-secondary-2)" : "var(--brand-secondary-1)"};
@@ -14024,26 +14086,26 @@ var IntegrationCustomBadgeText = (theme) => import_react67.css`
14024
14086
  top: 0;
14025
14087
  left: 0;
14026
14088
  `;
14027
- var IntegrationAuthorBadgeIcon = import_react67.css`
14089
+ var IntegrationAuthorBadgeIcon = import_react70.css`
14028
14090
  position: absolute;
14029
14091
  bottom: var(--spacing-sm);
14030
14092
  right: var(--spacing-xs);
14031
14093
  max-height: 1rem;
14032
14094
  `;
14033
- var IntegrationTitleFakeButton = import_react67.css`
14095
+ var IntegrationTitleFakeButton = import_react70.css`
14034
14096
  font-size: var(--fs-xs);
14035
14097
  gap: var(--spacing-sm);
14036
14098
  padding: var(--spacing-sm) var(--spacing-base);
14037
14099
  text-transform: uppercase;
14038
14100
  `;
14039
- var IntegrationTileFloatingButton = import_react67.css`
14101
+ var IntegrationTileFloatingButton = import_react70.css`
14040
14102
  position: absolute;
14041
14103
  bottom: var(--spacing-base);
14042
14104
  gap: var(--spacing-sm);
14043
14105
  font-size: var(--fs-xs);
14044
14106
  overflow: hidden;
14045
14107
  `;
14046
- var IntegrationTileFloatingButtonMessage = (clicked) => import_react67.css`
14108
+ var IntegrationTileFloatingButtonMessage = (clicked) => import_react70.css`
14047
14109
  strong,
14048
14110
  span:first-of-type {
14049
14111
  transition: opacity var(--duration-fast) var(--timing-ease-out);
@@ -14064,7 +14126,7 @@ var IntegrationTileFloatingButtonMessage = (clicked) => import_react67.css`
14064
14126
  `;
14065
14127
 
14066
14128
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
14067
- var import_jsx_runtime64 = require("@emotion/react/jsx-runtime");
14129
+ var import_jsx_runtime65 = require("@emotion/react/jsx-runtime");
14068
14130
  var CreateTeamIntegrationTile = ({
14069
14131
  title = "Create a custom integration for your team",
14070
14132
  buttonText = "Add Integration",
@@ -14072,9 +14134,9 @@ var CreateTeamIntegrationTile = ({
14072
14134
  asDeepLink = false,
14073
14135
  ...props
14074
14136
  }) => {
14075
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
14076
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { css: IntegrationTileTitle, title, children: title }),
14077
- /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
14137
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
14138
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { css: IntegrationTileTitle, title, children: title }),
14139
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
14078
14140
  Button,
14079
14141
  {
14080
14142
  buttonType: "tertiary",
@@ -14084,23 +14146,23 @@ var CreateTeamIntegrationTile = ({
14084
14146
  css: IntegrationTitleFakeButton,
14085
14147
  children: [
14086
14148
  buttonText,
14087
- asDeepLink ? /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
14149
+ asDeepLink ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
14088
14150
  Icon,
14089
14151
  {
14090
- icon: import_cg14.CgChevronRight,
14152
+ icon: import_cg15.CgChevronRight,
14091
14153
  iconColor: "currentColor",
14092
14154
  size: 20,
14093
- css: import_react68.css`
14155
+ css: import_react71.css`
14094
14156
  order: 1;
14095
14157
  `
14096
14158
  }
14097
- ) : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
14159
+ ) : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
14098
14160
  Icon,
14099
14161
  {
14100
- icon: import_cg14.CgAdd,
14162
+ icon: import_cg15.CgAdd,
14101
14163
  iconColor: "currentColor",
14102
14164
  size: 16,
14103
- css: import_react68.css`
14165
+ css: import_react71.css`
14104
14166
  order: -1;
14105
14167
  `
14106
14168
  }
@@ -14112,32 +14174,32 @@ var CreateTeamIntegrationTile = ({
14112
14174
  };
14113
14175
 
14114
14176
  // src/components/Tiles/IntegrationBadges.tsx
14115
- var import_cg15 = require("react-icons/cg");
14116
- var import_jsx_runtime65 = require("@emotion/react/jsx-runtime");
14177
+ var import_cg16 = require("react-icons/cg");
14178
+ var import_jsx_runtime66 = require("@emotion/react/jsx-runtime");
14117
14179
  var IntegrationedAddedBadge = ({ text = "Added" }) => {
14118
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("span", { "data-testid": "integration-icon-installed", css: IntegrationAddedText, children: [
14119
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Icon, { icon: import_cg15.CgCheck, iconColor: "currentColor" }),
14180
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("span", { "data-testid": "integration-icon-installed", css: IntegrationAddedText, children: [
14181
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Icon, { icon: import_cg16.CgCheck, iconColor: "currentColor" }),
14120
14182
  text
14121
14183
  ] });
14122
14184
  };
14123
14185
  var IntegrationCustomBadge = ({ text = "Custom" }) => {
14124
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
14186
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { "data-testid": "integration-is-private", css: IntegrationCustomBadgeText("gray"), children: text });
14125
14187
  };
14126
14188
  var IntegrationPremiumBadge = ({ text = "Premium" }) => {
14127
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("span", { css: IntegrationCustomBadgeText("blue"), children: [
14128
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Icon, { icon: import_cg15.CgLock, iconColor: "currentColor", size: 12 }),
14189
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("span", { css: IntegrationCustomBadgeText("blue"), children: [
14190
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Icon, { icon: import_cg16.CgLock, iconColor: "currentColor", size: 12 }),
14129
14191
  text
14130
14192
  ] });
14131
14193
  };
14132
14194
  var IntegrationComingSoonBadge = ({ text = "Coming soon" }) => {
14133
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("span", { css: IntegrationCustomBadgeText("blue"), children: [
14134
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Icon, { icon: import_cg15.CgSandClock, iconColor: "currentColor", size: 12 }),
14195
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("span", { css: IntegrationCustomBadgeText("blue"), children: [
14196
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Icon, { icon: import_cg16.CgSandClock, iconColor: "currentColor", size: 12 }),
14135
14197
  text
14136
14198
  ] });
14137
14199
  };
14138
14200
 
14139
14201
  // src/components/Tiles/ResolveIcon.tsx
14140
- var import_jsx_runtime66 = require("@emotion/react/jsx-runtime");
14202
+ var import_jsx_runtime67 = require("@emotion/react/jsx-runtime");
14141
14203
  var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
14142
14204
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
14143
14205
  const mapClassName = {
@@ -14145,13 +14207,13 @@ var ResolveIcon = ({ icon, name, styleType = "logo", ...props }) => {
14145
14207
  logo: IntegrationTitleLogo
14146
14208
  };
14147
14209
  if (icon) {
14148
- return CompIcon ? /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
14210
+ return CompIcon ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(CompIcon, { css: mapClassName[styleType], ...props }) : /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("img", { src: icon, alt: name, css: mapClassName[styleType], ...props });
14149
14211
  }
14150
14212
  return null;
14151
14213
  };
14152
14214
 
14153
14215
  // src/components/Tiles/EditTeamIntegrationTile.tsx
14154
- var import_jsx_runtime67 = require("@emotion/react/jsx-runtime");
14216
+ var import_jsx_runtime68 = require("@emotion/react/jsx-runtime");
14155
14217
  var EditTeamIntegrationTile = ({
14156
14218
  id,
14157
14219
  icon,
@@ -14160,17 +14222,17 @@ var EditTeamIntegrationTile = ({
14160
14222
  isPublic,
14161
14223
  canEdit = false
14162
14224
  }) => {
14163
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
14225
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
14164
14226
  "div",
14165
14227
  {
14166
14228
  css: IntegrationTileContainer,
14167
14229
  "data-testid": "configure-integration-container",
14168
14230
  "integration-id": `${id.toLocaleLowerCase()}`,
14169
14231
  children: [
14170
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(ResolveIcon, { icon, name, "data-test-id": "integration-logo" }),
14171
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { css: IntegrationTileName, "data-test-id": "integration-card-name", children: name }),
14172
- !isPublic ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(IntegrationCustomBadge, {}) : null,
14173
- canEdit ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
14232
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(ResolveIcon, { icon, name, "data-test-id": "integration-logo" }),
14233
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { css: IntegrationTileName, "data-test-id": "integration-card-name", children: name }),
14234
+ !isPublic ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(IntegrationCustomBadge, {}) : null,
14235
+ canEdit ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
14174
14236
  Button,
14175
14237
  {
14176
14238
  buttonType: "unimportant",
@@ -14188,10 +14250,10 @@ var EditTeamIntegrationTile = ({
14188
14250
  };
14189
14251
 
14190
14252
  // src/components/Tiles/IntegrationComingSoon.tsx
14191
- var import_react69 = require("@emotion/react");
14192
- var import_react70 = require("react");
14193
- var import_cg16 = require("react-icons/cg");
14194
- var import_jsx_runtime68 = require("@emotion/react/jsx-runtime");
14253
+ var import_react72 = require("@emotion/react");
14254
+ var import_react73 = require("react");
14255
+ var import_cg17 = require("react-icons/cg");
14256
+ var import_jsx_runtime69 = require("@emotion/react/jsx-runtime");
14195
14257
  var IntegrationComingSoon = ({
14196
14258
  name,
14197
14259
  icon,
@@ -14200,12 +14262,12 @@ var IntegrationComingSoon = ({
14200
14262
  timing = 1e3,
14201
14263
  ...props
14202
14264
  }) => {
14203
- const [upVote, setUpVote] = (0, import_react70.useState)(false);
14265
+ const [upVote, setUpVote] = (0, import_react73.useState)(false);
14204
14266
  const handleUpVoteInteraction = () => {
14205
14267
  setUpVote((prev) => !prev);
14206
14268
  onUpVoteClick();
14207
14269
  };
14208
- (0, import_react70.useEffect)(() => {
14270
+ (0, import_react73.useEffect)(() => {
14209
14271
  if (upVote) {
14210
14272
  const timer = setTimeout(() => setUpVote(false), timing);
14211
14273
  return () => {
@@ -14213,17 +14275,17 @@ var IntegrationComingSoon = ({
14213
14275
  };
14214
14276
  }
14215
14277
  }, [upVote, setUpVote, timing]);
14216
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
14278
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
14217
14279
  "div",
14218
14280
  {
14219
14281
  css: IntegrationTileContainer,
14220
14282
  "data-testid": `coming-soon-${id.toLowerCase()}-integration`,
14221
14283
  ...props,
14222
14284
  children: [
14223
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(IntegrationComingSoonBadge, {}),
14224
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(ResolveIcon, { icon, name }),
14225
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { css: IntegrationTileName, title: name, children: name }),
14226
- /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
14285
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(IntegrationComingSoonBadge, {}),
14286
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ResolveIcon, { icon, name }),
14287
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("span", { css: IntegrationTileName, title: name, children: name }),
14288
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
14227
14289
  Button,
14228
14290
  {
14229
14291
  buttonType: "unimportant",
@@ -14233,19 +14295,19 @@ var IntegrationComingSoon = ({
14233
14295
  role: "link",
14234
14296
  css: [IntegrationTileFloatingButton, IntegrationTileFloatingButtonMessage(upVote)],
14235
14297
  children: [
14236
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("strong", { children: "+1" }),
14237
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
14298
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("strong", { children: "+1" }),
14299
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
14238
14300
  "span",
14239
14301
  {
14240
- css: import_react69.css`
14302
+ css: import_react72.css`
14241
14303
  text-transform: uppercase;
14242
14304
  color: var(--gray-500);
14243
14305
  `,
14244
14306
  children: "(I want this)"
14245
14307
  }
14246
14308
  ),
14247
- /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("span", { "aria-hidden": !upVote, children: [
14248
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Icon, { icon: import_cg16.CgHeart, iconColor: "currentColor", size: 18 }),
14309
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("span", { "aria-hidden": !upVote, children: [
14310
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Icon, { icon: import_cg17.CgHeart, iconColor: "currentColor", size: 18 }),
14249
14311
  "Thanks!"
14250
14312
  ] })
14251
14313
  ]
@@ -14257,8 +14319,8 @@ var IntegrationComingSoon = ({
14257
14319
  };
14258
14320
 
14259
14321
  // src/components/Tiles/styles/IntegrationLoadingTile.styles.ts
14260
- var import_react71 = require("@emotion/react");
14261
- var IntegrationLoadingTileContainer = import_react71.css`
14322
+ var import_react74 = require("@emotion/react");
14323
+ var IntegrationLoadingTileContainer = import_react74.css`
14262
14324
  align-items: center;
14263
14325
  box-sizing: border-box;
14264
14326
  border-radius: var(--rounded-base);
@@ -14285,39 +14347,39 @@ var IntegrationLoadingTileContainer = import_react71.css`
14285
14347
  }
14286
14348
  }
14287
14349
  `;
14288
- var IntegrationLoadingTileImg = import_react71.css`
14350
+ var IntegrationLoadingTileImg = import_react74.css`
14289
14351
  width: 10rem;
14290
14352
  height: 4rem;
14291
14353
  margin: 0 auto;
14292
14354
  `;
14293
- var IntegrationLoadingTileText = import_react71.css`
14355
+ var IntegrationLoadingTileText = import_react74.css`
14294
14356
  width: 5rem;
14295
14357
  height: var(--spacing-sm);
14296
14358
  margin: var(--spacing-sm) 0;
14297
14359
  `;
14298
- var IntegrationLoadingFrame = import_react71.css`
14360
+ var IntegrationLoadingFrame = import_react74.css`
14299
14361
  animation: ${skeletonLoading} 1s linear infinite alternate;
14300
14362
  border-radius: var(--rounded-base);
14301
14363
  `;
14302
14364
 
14303
14365
  // src/components/Tiles/IntegrationLoadingTile.tsx
14304
- var import_jsx_runtime69 = require("@emotion/react/jsx-runtime");
14366
+ var import_jsx_runtime70 = require("@emotion/react/jsx-runtime");
14305
14367
  var IntegrationLoadingTile = ({ count = 1 }) => {
14306
14368
  const componentCount = Array.from(Array(count).keys());
14307
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_jsx_runtime69.Fragment, { children: componentCount.map((i) => /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { css: IntegrationLoadingTileContainer, children: [
14308
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
14309
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
14369
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_jsx_runtime70.Fragment, { children: componentCount.map((i) => /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { css: IntegrationLoadingTileContainer, children: [
14370
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { css: [IntegrationLoadingTileImg, IntegrationLoadingFrame], role: "presentation" }),
14371
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { css: [IntegrationLoadingTileText, IntegrationLoadingFrame] })
14310
14372
  ] }, i)) });
14311
14373
  };
14312
14374
 
14313
14375
  // src/components/Tiles/styles/IntegrationModalIcon.styles.ts
14314
- var import_react72 = require("@emotion/react");
14315
- var IntegrationModalIconContainer = import_react72.css`
14376
+ var import_react75 = require("@emotion/react");
14377
+ var IntegrationModalIconContainer = import_react75.css`
14316
14378
  position: relative;
14317
14379
  width: 50px;
14318
14380
  margin-bottom: var(--spacing-base);
14319
14381
  `;
14320
- var IntegrationModalImage = import_react72.css`
14382
+ var IntegrationModalImage = import_react75.css`
14321
14383
  position: absolute;
14322
14384
  inset: 0;
14323
14385
  margin: auto;
@@ -14326,7 +14388,7 @@ var IntegrationModalImage = import_react72.css`
14326
14388
  `;
14327
14389
 
14328
14390
  // src/components/Tiles/IntegrationModalIcon.tsx
14329
- var import_jsx_runtime70 = require("@emotion/react/jsx-runtime");
14391
+ var import_jsx_runtime71 = require("@emotion/react/jsx-runtime");
14330
14392
  var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
14331
14393
  const CompIcon = icon && typeof icon !== "string" ? icon : null;
14332
14394
  let iconSrc = void 0;
@@ -14342,9 +14404,9 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
14342
14404
  }
14343
14405
  }
14344
14406
  }
14345
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("div", { css: IntegrationModalIconContainer, children: [
14346
- /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("svg", { width: "49", height: "57", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
14347
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
14407
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { css: IntegrationModalIconContainer, children: [
14408
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("svg", { width: "49", height: "57", fill: "none", xmlns: "http://www.w3.org/2000/svg", role: "img", children: [
14409
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
14348
14410
  "path",
14349
14411
  {
14350
14412
  d: "m24.367 1.813 22.786 13.322V41.78L24.367 55.102 1.581 41.78V15.135L24.367 1.814Z",
@@ -14353,12 +14415,12 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
14353
14415
  strokeWidth: "2"
14354
14416
  }
14355
14417
  ),
14356
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
14357
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("stop", { stopColor: "#1768B2" }),
14358
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("stop", { offset: "1", stopColor: "#B3EFE4" })
14418
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("linearGradient", { id: "a", x1: "41.353", y1: "49.107", x2: "8.048", y2: "4.478", gradientUnits: "userSpaceOnUse", children: [
14419
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("stop", { stopColor: "#1768B2" }),
14420
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("stop", { offset: "1", stopColor: "#B3EFE4" })
14359
14421
  ] }) })
14360
14422
  ] }),
14361
- CompIcon ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : iconSrc ? /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
14423
+ CompIcon ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(CompIcon, { role: "img", css: IntegrationModalImage, ...imgProps }) : iconSrc ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
14362
14424
  "img",
14363
14425
  {
14364
14426
  src: iconSrc,
@@ -14372,7 +14434,7 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
14372
14434
  };
14373
14435
 
14374
14436
  // src/components/Tiles/IntegrationTile.tsx
14375
- var import_jsx_runtime71 = require("@emotion/react/jsx-runtime");
14437
+ var import_jsx_runtime72 = require("@emotion/react/jsx-runtime");
14376
14438
  var IntegrationTile = ({
14377
14439
  id,
14378
14440
  icon,
@@ -14384,7 +14446,7 @@ var IntegrationTile = ({
14384
14446
  authorIcon,
14385
14447
  ...btnProps
14386
14448
  }) => {
14387
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
14449
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
14388
14450
  "button",
14389
14451
  {
14390
14452
  type: "button",
@@ -14394,70 +14456,70 @@ var IntegrationTile = ({
14394
14456
  "aria-label": name,
14395
14457
  ...btnProps,
14396
14458
  children: [
14397
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ResolveIcon, { icon, name }),
14398
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { css: IntegrationTileName, title: name, children: name }),
14399
- isInstalled ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(IntegrationedAddedBadge, {}) : null,
14400
- requiedEntitlement && isPublic ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(IntegrationPremiumBadge, {}) : null,
14401
- !isPublic ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(IntegrationCustomBadge, {}) : null,
14402
- authorIcon ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ResolveIcon, { icon: authorIcon, name }) : null
14459
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(ResolveIcon, { icon, name }),
14460
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { css: IntegrationTileName, title: name, children: name }),
14461
+ isInstalled ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(IntegrationedAddedBadge, {}) : null,
14462
+ requiedEntitlement && isPublic ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(IntegrationPremiumBadge, {}) : null,
14463
+ !isPublic ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(IntegrationCustomBadge, {}) : null,
14464
+ authorIcon ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(ResolveIcon, { icon: authorIcon, name }) : null
14403
14465
  ]
14404
14466
  }
14405
14467
  );
14406
14468
  };
14407
14469
 
14408
14470
  // src/components/Tiles/styles/TileContainer.styles.ts
14409
- var import_react73 = require("@emotion/react");
14410
- var TileContainerWrapper = import_react73.css`
14471
+ var import_react76 = require("@emotion/react");
14472
+ var TileContainerWrapper = import_react76.css`
14411
14473
  background: var(--brand-secondary-2);
14412
14474
  padding: var(--spacing-base);
14413
14475
  margin-bottom: var(--spacing-lg);
14414
14476
  `;
14415
- var TileContainerInner = import_react73.css`
14477
+ var TileContainerInner = import_react76.css`
14416
14478
  display: grid;
14417
14479
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
14418
14480
  gap: var(--spacing-base);
14419
14481
  `;
14420
14482
 
14421
14483
  // src/components/Tiles/TileContainer.tsx
14422
- var import_jsx_runtime72 = require("@emotion/react/jsx-runtime");
14484
+ var import_jsx_runtime73 = require("@emotion/react/jsx-runtime");
14423
14485
  var TileContainer = ({ children, ...props }) => {
14424
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { css: TileContainerWrapper, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { css: TileContainerInner, children }) });
14486
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { css: TileContainerWrapper, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { css: TileContainerInner, children }) });
14425
14487
  };
14426
14488
 
14427
14489
  // src/components/Modal/IntegrationModalHeader.styles.ts
14428
- var import_react74 = require("@emotion/react");
14429
- var IntegrationModalHeaderSVGBackground = import_react74.css`
14490
+ var import_react77 = require("@emotion/react");
14491
+ var IntegrationModalHeaderSVGBackground = import_react77.css`
14430
14492
  position: absolute;
14431
14493
  top: 0;
14432
14494
  left: 0;
14433
14495
  `;
14434
- var IntegrationModalHeaderGroup = import_react74.css`
14496
+ var IntegrationModalHeaderGroup = import_react77.css`
14435
14497
  align-items: center;
14436
14498
  display: flex;
14437
14499
  gap: var(--spacing-sm);
14438
14500
  margin: 0 0 var(--spacing-md);
14439
14501
  position: relative;
14440
14502
  `;
14441
- var IntegrationModalHeaderTitleGroup = import_react74.css`
14503
+ var IntegrationModalHeaderTitleGroup = import_react77.css`
14442
14504
  align-items: center;
14443
14505
  display: flex;
14444
14506
  gap: var(--spacing-base);
14445
14507
  `;
14446
- var IntegrationModalHeaderTitle = import_react74.css`
14508
+ var IntegrationModalHeaderTitle = import_react77.css`
14447
14509
  margin-top: 0;
14448
14510
  `;
14449
- var IntegrationModalHeaderMenuPlacement = import_react74.css`
14511
+ var IntegrationModalHeaderMenuPlacement = import_react77.css`
14450
14512
  margin-bottom: var(--spacing-base);
14451
14513
  `;
14452
- var IntegrationModalHeaderContentWrapper = import_react74.css`
14514
+ var IntegrationModalHeaderContentWrapper = import_react77.css`
14453
14515
  position: relative;
14454
14516
  z-index: var(--z-10);
14455
14517
  `;
14456
14518
 
14457
14519
  // src/components/Modal/IntegrationModalHeader.tsx
14458
- var import_jsx_runtime73 = require("@emotion/react/jsx-runtime");
14520
+ var import_jsx_runtime74 = require("@emotion/react/jsx-runtime");
14459
14521
  var HexModalBackground = ({ ...props }) => {
14460
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
14522
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
14461
14523
  "svg",
14462
14524
  {
14463
14525
  width: "236",
@@ -14467,7 +14529,7 @@ var HexModalBackground = ({ ...props }) => {
14467
14529
  xmlns: "http://www.w3.org/2000/svg",
14468
14530
  ...props,
14469
14531
  children: [
14470
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
14532
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
14471
14533
  "path",
14472
14534
  {
14473
14535
  fillRule: "evenodd",
@@ -14476,7 +14538,7 @@ var HexModalBackground = ({ ...props }) => {
14476
14538
  fill: "url(#paint0_linear_196_2737)"
14477
14539
  }
14478
14540
  ),
14479
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
14541
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(
14480
14542
  "linearGradient",
14481
14543
  {
14482
14544
  id: "paint0_linear_196_2737",
@@ -14486,8 +14548,8 @@ var HexModalBackground = ({ ...props }) => {
14486
14548
  y2: "-95.2742",
14487
14549
  gradientUnits: "userSpaceOnUse",
14488
14550
  children: [
14489
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("stop", { stopColor: "#81DCDE" }),
14490
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("stop", { offset: "1", stopColor: "#428ED4" })
14551
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("stop", { stopColor: "#81DCDE" }),
14552
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("stop", { offset: "1", stopColor: "#428ED4" })
14491
14553
  ]
14492
14554
  }
14493
14555
  ) })
@@ -14496,27 +14558,27 @@ var HexModalBackground = ({ ...props }) => {
14496
14558
  );
14497
14559
  };
14498
14560
  var IntegrationModalHeader = ({ icon, name, menu: menu2, children }) => {
14499
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(import_jsx_runtime73.Fragment, { children: [
14500
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
14501
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { css: IntegrationModalHeaderTitleGroup, children: [
14502
- icon ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(IntegrationModalIcon, { icon, name: name || "" }) : null,
14503
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-test-id": "integration-modal-title", children: name || "Create Team Integration" }),
14504
- menu2 ? /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { css: IntegrationModalHeaderMenuPlacement, children: [
14561
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_jsx_runtime74.Fragment, { children: [
14562
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
14563
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { css: IntegrationModalHeaderTitleGroup, children: [
14564
+ icon ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(IntegrationModalIcon, { icon, name: name || "" }) : null,
14565
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-test-id": "integration-modal-title", children: name || "Create Team Integration" }),
14566
+ menu2 ? /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { css: IntegrationModalHeaderMenuPlacement, children: [
14505
14567
  menu2,
14506
14568
  " "
14507
14569
  ] }) : null
14508
14570
  ] }) }),
14509
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { css: IntegrationModalHeaderContentWrapper, children })
14571
+ /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { css: IntegrationModalHeaderContentWrapper, children })
14510
14572
  ] });
14511
14573
  };
14512
14574
 
14513
14575
  // src/components/Tooltip/Tooltip.tsx
14514
- var import_react76 = __toESM(require("react"));
14576
+ var import_react79 = __toESM(require("react"));
14515
14577
  var import_Tooltip = require("reakit/Tooltip");
14516
14578
 
14517
14579
  // src/components/Tooltip/Tooltip.styles.ts
14518
- var import_react75 = require("@emotion/react");
14519
- var TooltipContainer = import_react75.css`
14580
+ var import_react78 = require("@emotion/react");
14581
+ var TooltipContainer = import_react78.css`
14520
14582
  border: 2px solid var(--gray-300);
14521
14583
  border-radius: var(--rounded-base);
14522
14584
  padding: var(--spacing-xs) var(--spacing-sm);
@@ -14524,31 +14586,32 @@ var TooltipContainer = import_react75.css`
14524
14586
  font-size: var(--fs-xs);
14525
14587
  background: var(--white);
14526
14588
  `;
14527
- var TooltipArrowStyles = import_react75.css`
14589
+ var TooltipArrowStyles = import_react78.css`
14528
14590
  svg {
14529
14591
  fill: var(--gray-300);
14530
14592
  }
14531
14593
  `;
14532
14594
 
14533
14595
  // src/components/Tooltip/Tooltip.tsx
14534
- var import_jsx_runtime74 = require("@emotion/react/jsx-runtime");
14596
+ var import_jsx_runtime75 = require("@emotion/react/jsx-runtime");
14535
14597
  function Tooltip({ children, title, placement = "bottom", visible, ...props }) {
14536
14598
  const tooltip = (0, import_Tooltip.useTooltipState)({ placement });
14537
- return !title ? children : /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_jsx_runtime74.Fragment, { children: [
14538
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_Tooltip.TooltipReference, { ...tooltip, ...children.props, children: (referenceProps) => import_react76.default.cloneElement(children, referenceProps) }),
14539
- /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_Tooltip.Tooltip, { ...tooltip, ...props, css: TooltipContainer, visible: visible != null ? visible : tooltip.visible, children: [
14540
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_Tooltip.TooltipArrow, { ...tooltip, css: TooltipArrowStyles }),
14599
+ return !title ? children : /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_jsx_runtime75.Fragment, { children: [
14600
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_Tooltip.TooltipReference, { ...tooltip, ...children.props, children: (referenceProps) => import_react79.default.cloneElement(children, referenceProps) }),
14601
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_Tooltip.Tooltip, { ...tooltip, ...props, css: TooltipContainer, visible: visible != null ? visible : tooltip.visible, children: [
14602
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_Tooltip.TooltipArrow, { ...tooltip, css: TooltipArrowStyles }),
14541
14603
  title
14542
14604
  ] })
14543
14605
  ] });
14544
14606
  }
14545
14607
 
14546
14608
  // src/components/ParameterInputs/styles/ParameterBindingButton.styles.ts
14547
- var import_react77 = require("@emotion/react");
14548
- var inputIconBtn = import_react77.css`
14609
+ var import_react80 = require("@emotion/react");
14610
+ var inputIconBtn = import_react80.css`
14549
14611
  align-items: center;
14550
14612
  border: none;
14551
14613
  border-radius: var(--rounded-base);
14614
+ color: var(--gray-500);
14552
14615
  background: none;
14553
14616
  display: flex;
14554
14617
  padding: var(--spacing-2xs);
@@ -14568,7 +14631,7 @@ var inputIconBtn = import_react77.css`
14568
14631
  `;
14569
14632
 
14570
14633
  // src/components/ParameterInputs/ConnectToDataElementButton.tsx
14571
- var import_jsx_runtime75 = require("@emotion/react/jsx-runtime");
14634
+ var import_jsx_runtime76 = require("@emotion/react/jsx-runtime");
14572
14635
  var ConnectToDataElementButton = ({
14573
14636
  icon,
14574
14637
  iconColor,
@@ -14578,7 +14641,7 @@ var ConnectToDataElementButton = ({
14578
14641
  ...props
14579
14642
  }) => {
14580
14643
  const title = isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
14581
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Tooltip, { title, children: /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
14644
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Tooltip, { title, children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
14582
14645
  "button",
14583
14646
  {
14584
14647
  css: inputIconBtn,
@@ -14587,7 +14650,7 @@ var ConnectToDataElementButton = ({
14587
14650
  "aria-disabled": isLocked,
14588
14651
  ...props,
14589
14652
  children: [
14590
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
14653
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
14591
14654
  Icon,
14592
14655
  {
14593
14656
  icon: isLocked ? "lock" : icon ? icon : "arrows-expand-down-right",
@@ -14602,29 +14665,29 @@ var ConnectToDataElementButton = ({
14602
14665
  };
14603
14666
 
14604
14667
  // src/components/ParameterInputs/hooks/ParameterShellContext.tsx
14605
- var import_react78 = require("react");
14606
- var ParameterShellContext = (0, import_react78.createContext)({
14668
+ var import_react81 = require("react");
14669
+ var ParameterShellContext = (0, import_react81.createContext)({
14607
14670
  id: "",
14608
14671
  label: "",
14609
14672
  hiddenLabel: void 0,
14610
14673
  errorMessage: void 0,
14611
- onManuallySetErrorMessage: () => {
14674
+ handleManuallySetErrorMessage: () => {
14612
14675
  }
14613
14676
  });
14614
14677
  var useParameterShell = () => {
14615
- const { id, label, hiddenLabel, errorMessage, onManuallySetErrorMessage } = (0, import_react78.useContext)(ParameterShellContext);
14678
+ const { id, label, hiddenLabel, errorMessage, handleManuallySetErrorMessage } = (0, import_react81.useContext)(ParameterShellContext);
14616
14679
  return {
14617
14680
  id,
14618
14681
  label,
14619
14682
  hiddenLabel,
14620
14683
  errorMessage,
14621
- onManuallySetErrorMessage
14684
+ handleManuallySetErrorMessage
14622
14685
  };
14623
14686
  };
14624
14687
 
14625
14688
  // src/components/ParameterInputs/styles/ParameterInput.styles.ts
14626
- var import_react79 = require("@emotion/react");
14627
- var inputContainer2 = import_react79.css`
14689
+ var import_react82 = require("@emotion/react");
14690
+ var inputContainer2 = import_react82.css`
14628
14691
  position: relative;
14629
14692
 
14630
14693
  &:hover,
@@ -14636,14 +14699,14 @@ var inputContainer2 = import_react79.css`
14636
14699
  }
14637
14700
  }
14638
14701
  `;
14639
- var labelText2 = import_react79.css`
14702
+ var labelText2 = import_react82.css`
14640
14703
  align-items: center;
14641
14704
  display: flex;
14642
14705
  gap: var(--spacing-xs);
14643
14706
  font-weight: var(--fw-regular);
14644
14707
  margin: 0 0 var(--spacing-xs);
14645
14708
  `;
14646
- var input2 = import_react79.css`
14709
+ var input2 = import_react82.css`
14647
14710
  display: block;
14648
14711
  appearance: none;
14649
14712
  box-sizing: border-box;
@@ -14687,23 +14750,23 @@ var input2 = import_react79.css`
14687
14750
  color: var(--gray-400);
14688
14751
  }
14689
14752
  `;
14690
- var selectInput = import_react79.css`
14753
+ var selectInput = import_react82.css`
14691
14754
  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");
14692
14755
  background-position: right var(--spacing-sm) center;
14693
14756
  background-repeat: no-repeat;
14694
14757
  background-size: 1rem;
14695
14758
  padding-right: var(--spacing-xl);
14696
14759
  `;
14697
- var inputWrapper = import_react79.css`
14760
+ var inputWrapper = import_react82.css`
14698
14761
  display: flex; // used to correct overflow with chrome textarea
14699
14762
  position: relative;
14700
14763
  `;
14701
- var inputIcon2 = import_react79.css`
14764
+ var inputIcon2 = import_react82.css`
14702
14765
  align-items: center;
14703
14766
  background: var(--white);
14704
14767
  border-radius: var(--rounded-md) 0 0 var(--rounded-md);
14705
14768
  border-right: 1px solid var(--gray-100);
14706
- color: var(--gray-300);
14769
+ color: var(--gray-500);
14707
14770
  display: flex;
14708
14771
  justify-content: center;
14709
14772
  transition: background var(--duration-fast) var(--timing-ease-out);
@@ -14714,7 +14777,7 @@ var inputIcon2 = import_react79.css`
14714
14777
  width: var(--spacing-lg);
14715
14778
  z-index: var(--z-10);
14716
14779
  `;
14717
- var inputToggleLabel2 = import_react79.css`
14780
+ var inputToggleLabel2 = import_react82.css`
14718
14781
  align-items: center;
14719
14782
  background: var(--white);
14720
14783
  cursor: pointer;
@@ -14725,7 +14788,7 @@ var inputToggleLabel2 = import_react79.css`
14725
14788
  min-height: var(--spacing-md);
14726
14789
  position: relative;
14727
14790
  `;
14728
- var toggleInput2 = import_react79.css`
14791
+ var toggleInput2 = import_react82.css`
14729
14792
  appearance: none;
14730
14793
  border: 1px solid var(--gray-300);
14731
14794
  background: var(--white);
@@ -14764,7 +14827,7 @@ var toggleInput2 = import_react79.css`
14764
14827
  border-color: var(--gray-300);
14765
14828
  }
14766
14829
  `;
14767
- var inlineLabel2 = import_react79.css`
14830
+ var inlineLabel2 = import_react82.css`
14768
14831
  padding-left: var(--spacing-lg);
14769
14832
  font-size: var(--fs-sm);
14770
14833
  font-weight: var(--fw-regular);
@@ -14780,7 +14843,7 @@ var inlineLabel2 = import_react79.css`
14780
14843
  }
14781
14844
  }
14782
14845
  `;
14783
- var inputMenu = import_react79.css`
14846
+ var inputMenu = import_react82.css`
14784
14847
  background: none;
14785
14848
  border: none;
14786
14849
  padding: var(--spacing-2xs);
@@ -14796,14 +14859,14 @@ var inputMenu = import_react79.css`
14796
14859
  background-color: var(--gray-200);
14797
14860
  }
14798
14861
  `;
14799
- var textarea2 = import_react79.css`
14862
+ var textarea2 = import_react82.css`
14800
14863
  resize: vertical;
14801
14864
  min-height: 2rem;
14802
14865
  `;
14803
- var imageWrapper = import_react79.css`
14866
+ var imageWrapper = import_react82.css`
14804
14867
  background: var(--white);
14805
14868
  `;
14806
- var img = import_react79.css`
14869
+ var img = import_react82.css`
14807
14870
  animation: ${fadeIn} var(--duration-fast) var(--timing-ease-out) forwards;
14808
14871
  object-fit: contain;
14809
14872
  max-width: 100%;
@@ -14811,7 +14874,7 @@ var img = import_react79.css`
14811
14874
  opacity: var(--opacity-0);
14812
14875
  margin: var(--spacing-sm) auto 0;
14813
14876
  `;
14814
- var dataConnectButton = import_react79.css`
14877
+ var dataConnectButton = import_react82.css`
14815
14878
  align-items: center;
14816
14879
  appearance: none;
14817
14880
  box-sizing: border-box;
@@ -14846,7 +14909,7 @@ var dataConnectButton = import_react79.css`
14846
14909
  pointer-events: none;
14847
14910
  }
14848
14911
  `;
14849
- var linkParameterBtn = import_react79.css`
14912
+ var linkParameterBtn = import_react82.css`
14850
14913
  border-radius: var(--rounded-base);
14851
14914
  background: var(--white);
14852
14915
  border: none;
@@ -14855,7 +14918,7 @@ var linkParameterBtn = import_react79.css`
14855
14918
  font-size: var(--fs-sm);
14856
14919
  line-height: 1;
14857
14920
  `;
14858
- var linkParameterControls = import_react79.css`
14921
+ var linkParameterControls = import_react82.css`
14859
14922
  position: absolute;
14860
14923
  inset: 0 0 0 auto;
14861
14924
  padding: 0 var(--spacing-base);
@@ -14864,13 +14927,13 @@ var linkParameterControls = import_react79.css`
14864
14927
  justify-content: center;
14865
14928
  gap: var(--spacing-base);
14866
14929
  `;
14867
- var linkParameterInput = (withExternalLinkIcon) => import_react79.css`
14930
+ var linkParameterInput = (withExternalLinkIcon) => import_react82.css`
14868
14931
  padding-right: calc(
14869
14932
  ${withExternalLinkIcon ? "calc(var(--spacing-lg) * 2 + var(--spacing-xs))" : "var(--spacing-xl)"} +
14870
14933
  var(--spacing-base)
14871
14934
  );
14872
14935
  `;
14873
- var linkParameterIcon = import_react79.css`
14936
+ var linkParameterIcon = import_react82.css`
14874
14937
  align-items: center;
14875
14938
  color: var(--brand-secondary-3);
14876
14939
  display: flex;
@@ -14885,7 +14948,7 @@ var linkParameterIcon = import_react79.css`
14885
14948
  `;
14886
14949
 
14887
14950
  // src/components/ParameterInputs/ParameterDataResource.tsx
14888
- var import_jsx_runtime76 = require("@emotion/react/jsx-runtime");
14951
+ var import_jsx_runtime77 = require("@emotion/react/jsx-runtime");
14889
14952
  function ParameterDataResource({
14890
14953
  label,
14891
14954
  labelLeadingIcon,
@@ -14895,12 +14958,12 @@ function ParameterDataResource({
14895
14958
  disabled,
14896
14959
  children
14897
14960
  }) {
14898
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { "data-testid": "parameter-data-connect-button", children: [
14899
- /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("span", { css: labelText2, children: [
14961
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { "data-testid": "parameter-data-connect-button", children: [
14962
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("span", { css: labelText2, children: [
14900
14963
  labelLeadingIcon ? labelLeadingIcon : null,
14901
14964
  label
14902
14965
  ] }),
14903
- /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
14966
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
14904
14967
  "button",
14905
14968
  {
14906
14969
  type: "button",
@@ -14909,30 +14972,30 @@ function ParameterDataResource({
14909
14972
  disabled,
14910
14973
  onClick: onConnectDatasource,
14911
14974
  children: [
14912
- /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
14975
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "advance-input-icon", css: [inputIcon2], children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(Icon, { icon: "stack", iconColor: "currentColor", size: "1rem" }) }),
14913
14976
  children
14914
14977
  ]
14915
14978
  }
14916
14979
  ),
14917
- caption ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Caption, { children: caption }) : null
14980
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(Caption, { children: caption }) : null
14918
14981
  ] });
14919
14982
  }
14920
14983
 
14921
14984
  // src/components/ParameterInputs/styles/ParameterDrawerHeader.styles.ts
14922
- var import_react80 = require("@emotion/react");
14923
- var ParameterDrawerHeaderContainer = import_react80.css`
14985
+ var import_react83 = require("@emotion/react");
14986
+ var ParameterDrawerHeaderContainer = import_react83.css`
14924
14987
  align-items: center;
14925
14988
  display: flex;
14926
14989
  gap: var(--spacing-base);
14927
14990
  justify-content: space-between;
14928
14991
  margin-bottom: var(--spacing-sm);
14929
14992
  `;
14930
- var ParameterDrawerHeaderTitleGroup = import_react80.css`
14993
+ var ParameterDrawerHeaderTitleGroup = import_react83.css`
14931
14994
  align-items: center;
14932
14995
  display: flex;
14933
14996
  gap: var(--spacing-sm);
14934
14997
  `;
14935
- var ParameterDrawerHeaderTitle = import_react80.css`
14998
+ var ParameterDrawerHeaderTitle = import_react83.css`
14936
14999
  text-overflow: ellipsis;
14937
15000
  white-space: nowrap;
14938
15001
  overflow: hidden;
@@ -14940,23 +15003,23 @@ var ParameterDrawerHeaderTitle = import_react80.css`
14940
15003
  `;
14941
15004
 
14942
15005
  // src/components/ParameterInputs/ParameterDrawerHeader.tsx
14943
- var import_jsx_runtime77 = require("@emotion/react/jsx-runtime");
15006
+ var import_jsx_runtime78 = require("@emotion/react/jsx-runtime");
14944
15007
  var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
14945
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { css: ParameterDrawerHeaderContainer, children: [
14946
- /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("header", { css: ParameterDrawerHeaderTitleGroup, children: [
15008
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("div", { css: ParameterDrawerHeaderContainer, children: [
15009
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("header", { css: ParameterDrawerHeaderTitleGroup, children: [
14947
15010
  iconBeforeTitle,
14948
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
15011
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
14949
15012
  ] }),
14950
15013
  children
14951
15014
  ] });
14952
15015
  };
14953
15016
 
14954
15017
  // src/components/ParameterInputs/ParameterGroup.tsx
14955
- var import_react82 = require("react");
15018
+ var import_react85 = require("react");
14956
15019
 
14957
15020
  // src/components/ParameterInputs/styles/ParameterGroup.styles.ts
14958
- var import_react81 = require("@emotion/react");
14959
- var fieldsetStyles = import_react81.css`
15021
+ var import_react84 = require("@emotion/react");
15022
+ var fieldsetStyles = import_react84.css`
14960
15023
  &:disabled,
14961
15024
  [readonly] {
14962
15025
  pointer-events: none;
@@ -14967,7 +15030,7 @@ var fieldsetStyles = import_react81.css`
14967
15030
  }
14968
15031
  }
14969
15032
  `;
14970
- var fieldsetLegend2 = import_react81.css`
15033
+ var fieldsetLegend2 = import_react84.css`
14971
15034
  display: block;
14972
15035
  font-weight: var(--fw-medium);
14973
15036
  margin-bottom: var(--spacing-sm);
@@ -14975,38 +15038,38 @@ var fieldsetLegend2 = import_react81.css`
14975
15038
  `;
14976
15039
 
14977
15040
  // src/components/ParameterInputs/ParameterGroup.tsx
14978
- var import_jsx_runtime78 = require("@emotion/react/jsx-runtime");
14979
- var ParameterGroup = (0, import_react82.forwardRef)(
15041
+ var import_jsx_runtime79 = require("@emotion/react/jsx-runtime");
15042
+ var ParameterGroup = (0, import_react85.forwardRef)(
14980
15043
  ({ legend, isDisabled, children, ...props }, ref) => {
14981
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
14982
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("legend", { css: fieldsetLegend2, children: legend }),
15044
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("fieldset", { css: fieldsetStyles, disabled: isDisabled, ref, ...props, children: [
15045
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("legend", { css: fieldsetLegend2, children: legend }),
14983
15046
  children
14984
15047
  ] });
14985
15048
  }
14986
15049
  );
14987
15050
 
14988
15051
  // src/components/ParameterInputs/ParameterImage.tsx
14989
- var import_react86 = require("react");
15052
+ var import_react89 = require("react");
14990
15053
 
14991
15054
  // src/components/ParameterInputs/ParameterShell.tsx
14992
- var import_react85 = require("react");
15055
+ var import_react88 = require("react");
14993
15056
 
14994
15057
  // src/components/ParameterInputs/ParameterLabel.tsx
14995
- var import_jsx_runtime79 = require("@emotion/react/jsx-runtime");
15058
+ var import_jsx_runtime80 = require("@emotion/react/jsx-runtime");
14996
15059
  var ParameterLabel = ({ id, asSpan, children, ...props }) => {
14997
- return !asSpan ? /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { "aria-labelledby": id, css: labelText2, children });
15060
+ return !asSpan ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("label", { ...props, htmlFor: id, css: labelText2, children }) : /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { "aria-labelledby": id, css: labelText2, children });
14998
15061
  };
14999
15062
 
15000
15063
  // src/components/ParameterInputs/ParameterMenuButton.tsx
15001
- var import_react83 = require("react");
15002
- var import_jsx_runtime80 = require("@emotion/react/jsx-runtime");
15003
- var ParameterMenuButton = (0, import_react83.forwardRef)(
15064
+ var import_react86 = require("react");
15065
+ var import_jsx_runtime81 = require("@emotion/react/jsx-runtime");
15066
+ var ParameterMenuButton = (0, import_react86.forwardRef)(
15004
15067
  ({ label, children }, ref) => {
15005
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
15068
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
15006
15069
  Menu,
15007
15070
  {
15008
15071
  menuLabel: `${label} menu`,
15009
- menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
15072
+ menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
15010
15073
  "button",
15011
15074
  {
15012
15075
  className: "parameter-menu",
@@ -15014,7 +15077,7 @@ var ParameterMenuButton = (0, import_react83.forwardRef)(
15014
15077
  type: "button",
15015
15078
  "aria-label": `${label} options`,
15016
15079
  ref,
15017
- children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
15080
+ children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Icon, { icon: "more-alt", iconColor: "currentColor", size: "0.9rem" })
15018
15081
  }
15019
15082
  ),
15020
15083
  children
@@ -15024,15 +15087,15 @@ var ParameterMenuButton = (0, import_react83.forwardRef)(
15024
15087
  );
15025
15088
 
15026
15089
  // src/components/ParameterInputs/styles/ParameterShell.styles.ts
15027
- var import_react84 = require("@emotion/react");
15028
- var emptyParameterShell = import_react84.css`
15090
+ var import_react87 = require("@emotion/react");
15091
+ var emptyParameterShell = import_react87.css`
15029
15092
  border-radius: var(--rounded-sm);
15030
15093
  background: var(--white);
15031
15094
  flex-grow: 1;
15032
15095
  padding: var(--spacing-xs);
15033
15096
  position: relative;
15034
15097
  `;
15035
- var emptyParameterShellText = import_react84.css`
15098
+ var emptyParameterShellText = import_react87.css`
15036
15099
  background: var(--brand-secondary-6);
15037
15100
  border-radius: var(--rounded-sm);
15038
15101
  padding: var(--spacing-sm);
@@ -15040,7 +15103,7 @@ var emptyParameterShellText = import_react84.css`
15040
15103
  font-size: var(--fs-sm);
15041
15104
  margin: 0;
15042
15105
  `;
15043
- var overrideMarker = import_react84.css`
15106
+ var overrideMarker = import_react87.css`
15044
15107
  border-radius: var(--rounded-sm);
15045
15108
  border: 10px solid var(--gray-300);
15046
15109
  border-left-color: transparent;
@@ -15051,7 +15114,7 @@ var overrideMarker = import_react84.css`
15051
15114
  `;
15052
15115
 
15053
15116
  // src/components/ParameterInputs/ParameterShell.tsx
15054
- var import_jsx_runtime81 = require("@emotion/react/jsx-runtime");
15117
+ var import_jsx_runtime82 = require("@emotion/react/jsx-runtime");
15055
15118
  var extractParameterProps = (props) => {
15056
15119
  const {
15057
15120
  id,
@@ -15065,7 +15128,7 @@ var extractParameterProps = (props) => {
15065
15128
  hiddenLabel,
15066
15129
  labelLeadingIcon,
15067
15130
  menuItems,
15068
- onManuallySetErrorMessage,
15131
+ handleManuallySetErrorMessage,
15069
15132
  title,
15070
15133
  hasOverriddenValue,
15071
15134
  onResetOverriddenValue,
@@ -15084,7 +15147,7 @@ var extractParameterProps = (props) => {
15084
15147
  hiddenLabel,
15085
15148
  labelLeadingIcon,
15086
15149
  menuItems,
15087
- onManuallySetErrorMessage,
15150
+ handleManuallySetErrorMessage,
15088
15151
  title,
15089
15152
  hasOverriddenValue,
15090
15153
  onResetOverriddenValue
@@ -15110,21 +15173,21 @@ var ParameterShell = ({
15110
15173
  children,
15111
15174
  ...props
15112
15175
  }) => {
15113
- const [manualErrorMessage, setManualErrorMessage] = (0, import_react85.useState)(void 0);
15176
+ const [manualErrorMessage, setManualErrorMessage] = (0, import_react88.useState)(void 0);
15114
15177
  const setErrorMessage = (message) => setManualErrorMessage(message);
15115
15178
  const errorMessaging = errorMessage || manualErrorMessage;
15116
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { css: inputContainer2, ...props, children: [
15117
- hiddenLabel || title ? null : /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(ParameterLabel, { id, css: labelText2, children: [
15179
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { css: inputContainer2, ...props, children: [
15180
+ hiddenLabel || title ? null : /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(ParameterLabel, { id, css: labelText2, children: [
15118
15181
  labelLeadingIcon ? labelLeadingIcon : null,
15119
15182
  label
15120
15183
  ] }),
15121
- !title ? null : /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(ParameterLabel, { id, asSpan: true, children: [
15184
+ !title ? null : /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(ParameterLabel, { id, asSpan: true, children: [
15122
15185
  labelLeadingIcon ? labelLeadingIcon : null,
15123
15186
  title
15124
15187
  ] }),
15125
- /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { css: inputWrapper, children: [
15126
- menuItems ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
15127
- /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
15188
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { css: inputWrapper, children: [
15189
+ menuItems ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
15190
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
15128
15191
  ParameterShellContext.Provider,
15129
15192
  {
15130
15193
  value: {
@@ -15132,36 +15195,37 @@ var ParameterShell = ({
15132
15195
  label,
15133
15196
  hiddenLabel,
15134
15197
  errorMessage: errorMessaging,
15135
- onManuallySetErrorMessage: (message) => setErrorMessage(message)
15198
+ handleManuallySetErrorMessage: (message) => setErrorMessage(message)
15136
15199
  },
15137
- children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(ParameterShellPlaceholder, { children: [
15200
+ children: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(ParameterShellPlaceholder, { children: [
15138
15201
  children,
15139
- hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
15202
+ hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
15140
15203
  ] })
15141
15204
  }
15142
15205
  )
15143
15206
  ] }),
15144
- caption ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Caption, { testId: captionTestId, children: caption }) : null,
15145
- errorMessaging ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null,
15146
- warningMessage ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(WarningMessage, { message: warningMessage }) : null,
15147
- infoMessage ? /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(InfoMessage, { message: infoMessage }) : null
15207
+ caption ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Caption, { testId: captionTestId, children: caption }) : null,
15208
+ errorMessaging ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null,
15209
+ warningMessage ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(WarningMessage, { message: warningMessage }) : null,
15210
+ infoMessage ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(InfoMessage, { message: infoMessage }) : null
15148
15211
  ] });
15149
15212
  };
15150
15213
  var ParameterShellPlaceholder = ({ children }) => {
15151
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { css: emptyParameterShell, children });
15214
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("div", { css: emptyParameterShell, children });
15152
15215
  };
15153
- var ParameterOverrideMarker = (props) => /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("span", { hidden: true, children: "reset overridden value to default" }) }) });
15216
+ var ParameterOverrideMarker = (props) => /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("span", { hidden: true, children: "reset overridden value to default" }) }) });
15154
15217
 
15155
15218
  // src/components/ParameterInputs/ParameterImage.tsx
15156
- var import_jsx_runtime82 = require("@emotion/react/jsx-runtime");
15157
- var ParameterImage = (0, import_react86.forwardRef)((props, ref) => {
15219
+ var import_jsx_runtime83 = require("@emotion/react/jsx-runtime");
15220
+ var ParameterImage = (0, import_react89.forwardRef)((props, ref) => {
15158
15221
  const { shellProps, innerProps } = extractParameterProps(props);
15159
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(ParameterImageInner, { ref, ...innerProps }) });
15222
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(ParameterImageInner, { ref, ...innerProps }) });
15160
15223
  });
15161
15224
  var BrokenImage = ({ ...props }) => {
15162
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
15225
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
15163
15226
  "svg",
15164
15227
  {
15228
+ role: "img",
15165
15229
  width: "214",
15166
15230
  height: "214",
15167
15231
  viewBox: "0 0 214 214",
@@ -15170,11 +15234,11 @@ var BrokenImage = ({ ...props }) => {
15170
15234
  xmlnsXlink: "http://www.w3.org/1999/xlink",
15171
15235
  ...props,
15172
15236
  children: [
15173
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
15174
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
15175
- /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("defs", { children: [
15176
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
15177
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
15237
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("rect", { width: "214", height: "214", fill: "#F9FAFB" }),
15238
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("rect", { width: "214", height: "214", fill: "url(#pattern0)" }),
15239
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("defs", { children: [
15240
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("pattern", { id: "pattern0", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)("use", { xlinkHref: "#image0_761_4353", transform: "scale(0.0025)" }) }),
15241
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
15178
15242
  "image",
15179
15243
  {
15180
15244
  id: "image0_761_4353",
@@ -15188,27 +15252,34 @@ var BrokenImage = ({ ...props }) => {
15188
15252
  }
15189
15253
  );
15190
15254
  };
15191
- var ParameterImageInner = (0, import_react86.forwardRef)(
15255
+ var ParameterImageInner = (0, import_react89.forwardRef)(
15192
15256
  ({ ...props }, ref) => {
15193
15257
  const { value } = props;
15194
- const { id, label, hiddenLabel, errorMessage, onManuallySetErrorMessage } = useParameterShell();
15195
- const [loading, setLoading] = (0, import_react86.useState)(false);
15196
- const deferredValue = (0, import_react86.useDeferredValue)(value);
15258
+ const { id, label, hiddenLabel, errorMessage, handleManuallySetErrorMessage } = useParameterShell();
15259
+ const [loading, setLoading] = (0, import_react89.useState)(false);
15260
+ const deferredValue = (0, import_react89.useDeferredValue)(value);
15197
15261
  const errorText = "The text you provided is not a valid URL";
15198
- const updateImageSrc = (0, import_react86.useCallback)(() => {
15262
+ const updateImageSrc = (0, import_react89.useCallback)(() => {
15263
+ const validUrl = new RegExp(
15264
+ "^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$",
15265
+ "i"
15266
+ );
15199
15267
  let message = void 0;
15200
15268
  try {
15201
15269
  if (value !== "") {
15202
- new URL(value);
15270
+ const url = String(value).startsWith("//") ? `${location.protocol}${value}` : String(value);
15271
+ if (!url.match(validUrl) || !url.startsWith("https")) {
15272
+ throw Error(errorText);
15273
+ }
15203
15274
  }
15204
15275
  message = void 0;
15205
15276
  } catch (e) {
15206
15277
  message = errorText;
15207
15278
  }
15208
- if (onManuallySetErrorMessage) {
15209
- onManuallySetErrorMessage(message);
15279
+ if (handleManuallySetErrorMessage) {
15280
+ handleManuallySetErrorMessage(message);
15210
15281
  }
15211
- }, [onManuallySetErrorMessage, value]);
15282
+ }, [handleManuallySetErrorMessage, value]);
15212
15283
  const handleLoadEvent = () => {
15213
15284
  if (deferredValue) {
15214
15285
  setLoading(true);
@@ -15219,15 +15290,15 @@ var ParameterImageInner = (0, import_react86.forwardRef)(
15219
15290
  return () => clearTimeout(timer);
15220
15291
  };
15221
15292
  const handleErrorEvent = () => {
15222
- if (onManuallySetErrorMessage) {
15223
- onManuallySetErrorMessage(errorText);
15293
+ if (handleManuallySetErrorMessage) {
15294
+ handleManuallySetErrorMessage(errorText);
15224
15295
  }
15225
15296
  };
15226
- (0, import_react86.useEffect)(() => {
15297
+ (0, import_react89.useEffect)(() => {
15227
15298
  updateImageSrc();
15228
- }, [value]);
15229
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(import_jsx_runtime82.Fragment, { children: [
15230
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
15299
+ }, [deferredValue]);
15300
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_jsx_runtime83.Fragment, { children: [
15301
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
15231
15302
  "input",
15232
15303
  {
15233
15304
  css: input2,
@@ -15239,35 +15310,36 @@ var ParameterImageInner = (0, import_react86.forwardRef)(
15239
15310
  ...props
15240
15311
  }
15241
15312
  ),
15242
- /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("div", { css: imageWrapper, children: [
15243
- deferredValue && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
15313
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)("div", { css: imageWrapper, children: [
15314
+ deferredValue && !errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
15244
15315
  "img",
15245
15316
  {
15246
15317
  src: deferredValue,
15318
+ alt: "image preview",
15247
15319
  css: img,
15248
15320
  onLoad: handleLoadEvent,
15249
15321
  onError: handleErrorEvent,
15250
15322
  loading: "lazy"
15251
15323
  }
15252
15324
  ) : null,
15253
- deferredValue && errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(BrokenImage, { css: img }) : null
15325
+ deferredValue && errorMessage ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(BrokenImage, { css: img }) : null
15254
15326
  ] }),
15255
- loading ? /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(LoadingIcon, {}) : null
15327
+ loading ? /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(LoadingIcon, {}) : null
15256
15328
  ] });
15257
15329
  }
15258
15330
  );
15259
15331
 
15260
15332
  // src/components/ParameterInputs/ParameterInput.tsx
15261
- var import_react87 = require("react");
15262
- var import_jsx_runtime83 = require("@emotion/react/jsx-runtime");
15263
- var ParameterInput = (0, import_react87.forwardRef)((props, ref) => {
15333
+ var import_react90 = require("react");
15334
+ var import_jsx_runtime84 = require("@emotion/react/jsx-runtime");
15335
+ var ParameterInput = (0, import_react90.forwardRef)((props, ref) => {
15264
15336
  const { shellProps, innerProps } = extractParameterProps(props);
15265
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(ParameterShell, { "data-test-id": "parameter-input", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(ParameterInputInner, { ref, ...innerProps }) });
15337
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(ParameterShell, { "data-test-id": "parameter-input", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(ParameterInputInner, { ref, ...innerProps }) });
15266
15338
  });
15267
- var ParameterInputInner = (0, import_react87.forwardRef)(
15339
+ var ParameterInputInner = (0, import_react90.forwardRef)(
15268
15340
  ({ ...props }, ref) => {
15269
15341
  const { id, label, hiddenLabel } = useParameterShell();
15270
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
15342
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
15271
15343
  "input",
15272
15344
  {
15273
15345
  css: input2,
@@ -15283,19 +15355,19 @@ var ParameterInputInner = (0, import_react87.forwardRef)(
15283
15355
  );
15284
15356
 
15285
15357
  // src/components/ParameterInputs/ParameterLink.tsx
15286
- var import_react88 = require("react");
15287
- var import_jsx_runtime84 = require("@emotion/react/jsx-runtime");
15288
- var ParameterLink = (0, import_react88.forwardRef)(
15358
+ var import_react91 = require("react");
15359
+ var import_jsx_runtime85 = require("@emotion/react/jsx-runtime");
15360
+ var ParameterLink = (0, import_react91.forwardRef)(
15289
15361
  ({ buttonText = "Select link", disabled, onConnectLink, externalLink, ...props }, ref) => {
15290
15362
  const { shellProps, innerProps } = extractParameterProps(props);
15291
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
15363
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
15292
15364
  ParameterShell,
15293
15365
  {
15294
15366
  "data-test-id": "link-parameter-editor",
15295
15367
  ...shellProps,
15296
15368
  label: innerProps.value ? shellProps.label : "",
15297
15369
  title: !innerProps.value ? shellProps.label : void 0,
15298
- children: !innerProps.value ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("button", { type: "button", css: dataConnectButton, disabled, onClick: onConnectLink, children: buttonText }) : /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
15370
+ children: !innerProps.value ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("button", { type: "button", css: dataConnectButton, disabled, onClick: onConnectLink, children: buttonText }) : /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
15299
15371
  ParameterLinkInner,
15300
15372
  {
15301
15373
  onConnectLink,
@@ -15308,11 +15380,11 @@ var ParameterLink = (0, import_react88.forwardRef)(
15308
15380
  );
15309
15381
  }
15310
15382
  );
15311
- var ParameterLinkInner = (0, import_react88.forwardRef)(
15383
+ var ParameterLinkInner = (0, import_react91.forwardRef)(
15312
15384
  ({ externalLink, onConnectLink, disabled, ...props }, ref) => {
15313
15385
  const { id, label, hiddenLabel } = useParameterShell();
15314
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { css: inputWrapper, children: [
15315
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
15386
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { css: inputWrapper, children: [
15387
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
15316
15388
  "input",
15317
15389
  {
15318
15390
  type: "text",
@@ -15324,8 +15396,8 @@ var ParameterLinkInner = (0, import_react88.forwardRef)(
15324
15396
  ...props
15325
15397
  }
15326
15398
  ),
15327
- /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { css: linkParameterControls, children: [
15328
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
15399
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { css: linkParameterControls, children: [
15400
+ /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
15329
15401
  "button",
15330
15402
  {
15331
15403
  type: "button",
@@ -15336,7 +15408,7 @@ var ParameterLinkInner = (0, import_react88.forwardRef)(
15336
15408
  children: "edit"
15337
15409
  }
15338
15410
  ),
15339
- externalLink ? /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
15411
+ externalLink ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
15340
15412
  "a",
15341
15413
  {
15342
15414
  href: externalLink,
@@ -15344,7 +15416,7 @@ var ParameterLinkInner = (0, import_react88.forwardRef)(
15344
15416
  title: "Open link in new tab",
15345
15417
  target: "_blank",
15346
15418
  rel: "noopener noreferrer",
15347
- children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
15419
+ children: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Icon, { icon: "arrows-expand-up-right", iconColor: "currentColor", size: "1rem" })
15348
15420
  }
15349
15421
  ) : null
15350
15422
  ] })
@@ -15353,7 +15425,7 @@ var ParameterLinkInner = (0, import_react88.forwardRef)(
15353
15425
  );
15354
15426
 
15355
15427
  // src/components/ParameterInputs/ParameterNameAndPublicIdInput.tsx
15356
- var import_jsx_runtime85 = require("@emotion/react/jsx-runtime");
15428
+ var import_jsx_runtime86 = require("@emotion/react/jsx-runtime");
15357
15429
  var ParameterNameAndPublicIdInput = ({
15358
15430
  id,
15359
15431
  onBlur,
@@ -15379,8 +15451,8 @@ var ParameterNameAndPublicIdInput = ({
15379
15451
  navigator.clipboard.writeText(values[publicIdFieldName]);
15380
15452
  };
15381
15453
  autoFocus == null ? void 0 : autoFocus();
15382
- return /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)(import_jsx_runtime85.Fragment, { children: [
15383
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
15454
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(import_jsx_runtime86.Fragment, { children: [
15455
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
15384
15456
  ParameterInput,
15385
15457
  {
15386
15458
  id: nameIdField,
@@ -15399,7 +15471,7 @@ var ParameterNameAndPublicIdInput = ({
15399
15471
  value: values[nameIdField]
15400
15472
  }
15401
15473
  ),
15402
- /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
15474
+ /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
15403
15475
  ParameterInput,
15404
15476
  {
15405
15477
  id: publicIdFieldName,
@@ -15413,11 +15485,11 @@ var ParameterNameAndPublicIdInput = ({
15413
15485
  caption: publicIdCaption,
15414
15486
  placeholder: publicIdPlaceholderText,
15415
15487
  errorMessage: publicIdError,
15416
- menuItems: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
15488
+ menuItems: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
15417
15489
  MenuItem,
15418
15490
  {
15419
15491
  disabled: !values[publicIdFieldName],
15420
- icon: /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Icon, { icon: "path-trim", iconColor: "currentColor" }),
15492
+ icon: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Icon, { icon: "path-trim", iconColor: "currentColor" }),
15421
15493
  onClick: handleCopyPidFieldValue,
15422
15494
  children: "Copy"
15423
15495
  }
@@ -15425,14 +15497,14 @@ var ParameterNameAndPublicIdInput = ({
15425
15497
  value: values[publicIdFieldName]
15426
15498
  }
15427
15499
  ),
15428
- (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(Callout, { type: "caution", children: warnOverLength.message }) : null
15500
+ (warnOverLength == null ? void 0 : warnOverLength.length) && values[publicIdFieldName].length > warnOverLength.length ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Callout, { type: "caution", children: warnOverLength.message }) : null
15429
15501
  ] });
15430
15502
  };
15431
15503
 
15432
15504
  // src/components/ParameterInputs/ParameterRichText.tsx
15433
- var import_react89 = require("react");
15434
- var import_jsx_runtime86 = require("@emotion/react/jsx-runtime");
15435
- var ParameterRichText = (0, import_react89.forwardRef)(
15505
+ var import_react92 = require("react");
15506
+ var import_jsx_runtime87 = require("@emotion/react/jsx-runtime");
15507
+ var ParameterRichText = (0, import_react92.forwardRef)(
15436
15508
  ({
15437
15509
  label,
15438
15510
  labelLeadingIcon,
@@ -15445,7 +15517,7 @@ var ParameterRichText = (0, import_react89.forwardRef)(
15445
15517
  menuItems,
15446
15518
  ...props
15447
15519
  }, ref) => {
15448
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
15520
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
15449
15521
  ParameterShell,
15450
15522
  {
15451
15523
  "data-test-id": "parameter-input",
@@ -15458,16 +15530,16 @@ var ParameterRichText = (0, import_react89.forwardRef)(
15458
15530
  captionTestId,
15459
15531
  menuItems,
15460
15532
  children: [
15461
- /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(ParameterRichTextInner, { ref, ...props }),
15462
- menuItems ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(import_jsx_runtime86.Fragment, { children: menuItems }) }) : null
15533
+ /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ParameterRichTextInner, { ref, ...props }),
15534
+ menuItems ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ParameterMenuButton, { label: `${label} menu`, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(import_jsx_runtime87.Fragment, { children: menuItems }) }) : null
15463
15535
  ]
15464
15536
  }
15465
15537
  );
15466
15538
  }
15467
15539
  );
15468
- var ParameterRichTextInner = (0, import_react89.forwardRef)(({ ...props }, ref) => {
15540
+ var ParameterRichTextInner = (0, import_react92.forwardRef)(({ ...props }, ref) => {
15469
15541
  const { id, label, hiddenLabel } = useParameterShell();
15470
- return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
15542
+ return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
15471
15543
  "textarea",
15472
15544
  {
15473
15545
  css: [input2, textarea2],
@@ -15480,18 +15552,18 @@ var ParameterRichTextInner = (0, import_react89.forwardRef)(({ ...props }, ref)
15480
15552
  });
15481
15553
 
15482
15554
  // src/components/ParameterInputs/ParameterSelect.tsx
15483
- var import_react90 = require("react");
15484
- var import_jsx_runtime87 = require("@emotion/react/jsx-runtime");
15485
- var ParameterSelect = (0, import_react90.forwardRef)(
15555
+ var import_react93 = require("react");
15556
+ var import_jsx_runtime88 = require("@emotion/react/jsx-runtime");
15557
+ var ParameterSelect = (0, import_react93.forwardRef)(
15486
15558
  ({ defaultOption, options, ...props }, ref) => {
15487
15559
  const { shellProps, innerProps } = extractParameterProps(props);
15488
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
15560
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(ParameterSelectInner, { options, defaultOption, ...innerProps, ref }) });
15489
15561
  }
15490
15562
  );
15491
- var ParameterSelectInner = (0, import_react90.forwardRef)(
15563
+ var ParameterSelectInner = (0, import_react93.forwardRef)(
15492
15564
  ({ defaultOption, options, ...props }, ref) => {
15493
15565
  const { id, label, hiddenLabel } = useParameterShell();
15494
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
15566
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
15495
15567
  "select",
15496
15568
  {
15497
15569
  css: [input2, selectInput],
@@ -15500,10 +15572,10 @@ var ParameterSelectInner = (0, import_react90.forwardRef)(
15500
15572
  ref,
15501
15573
  ...props,
15502
15574
  children: [
15503
- defaultOption ? /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("option", { value: "", children: defaultOption }) : null,
15575
+ defaultOption ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("option", { value: "", children: defaultOption }) : null,
15504
15576
  options.map((option) => {
15505
15577
  var _a;
15506
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
15578
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("option", { value: (_a = option.value) != null ? _a : option.label, children: option.label }, option.label);
15507
15579
  })
15508
15580
  ]
15509
15581
  }
@@ -15512,15 +15584,15 @@ var ParameterSelectInner = (0, import_react90.forwardRef)(
15512
15584
  );
15513
15585
 
15514
15586
  // src/components/ParameterInputs/ParameterTextarea.tsx
15515
- var import_react91 = require("react");
15516
- var import_jsx_runtime88 = require("@emotion/react/jsx-runtime");
15517
- var ParameterTextarea = (0, import_react91.forwardRef)((props, ref) => {
15587
+ var import_react94 = require("react");
15588
+ var import_jsx_runtime89 = require("@emotion/react/jsx-runtime");
15589
+ var ParameterTextarea = (0, import_react94.forwardRef)((props, ref) => {
15518
15590
  const { shellProps, innerProps } = extractParameterProps(props);
15519
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(ParameterShell, { "data-test-id": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(ParameterTextareaInner, { ref, ...innerProps }) });
15591
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(ParameterShell, { "data-test-id": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(ParameterTextareaInner, { ref, ...innerProps }) });
15520
15592
  });
15521
- var ParameterTextareaInner = (0, import_react91.forwardRef)(({ ...props }, ref) => {
15593
+ var ParameterTextareaInner = (0, import_react94.forwardRef)(({ ...props }, ref) => {
15522
15594
  const { id, label, hiddenLabel } = useParameterShell();
15523
- return /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
15595
+ return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(
15524
15596
  "textarea",
15525
15597
  {
15526
15598
  css: [input2, textarea2],
@@ -15533,18 +15605,18 @@ var ParameterTextareaInner = (0, import_react91.forwardRef)(({ ...props }, ref)
15533
15605
  });
15534
15606
 
15535
15607
  // src/components/ParameterInputs/ParameterToggle.tsx
15536
- var import_react92 = require("react");
15537
- var import_jsx_runtime89 = require("@emotion/react/jsx-runtime");
15538
- var ParameterToggle = (0, import_react92.forwardRef)((props, ref) => {
15608
+ var import_react95 = require("react");
15609
+ var import_jsx_runtime90 = require("@emotion/react/jsx-runtime");
15610
+ var ParameterToggle = (0, import_react95.forwardRef)((props, ref) => {
15539
15611
  const { shellProps, innerProps } = extractParameterProps(props);
15540
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime89.jsx)(ParameterToggleInner, { ref, ...innerProps }) });
15612
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(ParameterShell, { ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(ParameterToggleInner, { ref, ...innerProps }) });
15541
15613
  });
15542
- var ParameterToggleInner = (0, import_react92.forwardRef)(
15614
+ var ParameterToggleInner = (0, import_react95.forwardRef)(
15543
15615
  ({ ...props }, ref) => {
15544
15616
  const { id, label } = useParameterShell();
15545
- return /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("label", { css: inputToggleLabel2, children: [
15546
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
15547
- /* @__PURE__ */ (0, import_jsx_runtime89.jsx)("span", { css: inlineLabel2, children: label })
15617
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("label", { css: inputToggleLabel2, children: [
15618
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("input", { css: toggleInput2, type: props.type, id, ref, ...props }),
15619
+ /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("span", { css: inlineLabel2, children: label })
15548
15620
  ] });
15549
15621
  }
15550
15622
  );
@@ -15554,13 +15626,13 @@ var import_Popover = require("reakit/Popover");
15554
15626
  var import_Portal2 = require("reakit/Portal");
15555
15627
 
15556
15628
  // src/components/Popover/Popover.styles.ts
15557
- var import_react93 = require("@emotion/react");
15558
- var PopoverBtn = import_react93.css`
15629
+ var import_react96 = require("@emotion/react");
15630
+ var PopoverBtn = import_react96.css`
15559
15631
  border: none;
15560
15632
  background: none;
15561
15633
  padding: 0;
15562
15634
  `;
15563
- var Popover = import_react93.css`
15635
+ var Popover = import_react96.css`
15564
15636
  border-left: var(--spacing-xs) solid var(--brand-secondary-3);
15565
15637
  border-radius: var(--rounded-base);
15566
15638
  box-shadow: var(--shadow-base);
@@ -15573,7 +15645,7 @@ var Popover = import_react93.css`
15573
15645
  `;
15574
15646
 
15575
15647
  // src/components/Popover/Popover.tsx
15576
- var import_jsx_runtime90 = require("@emotion/react/jsx-runtime");
15648
+ var import_jsx_runtime91 = require("@emotion/react/jsx-runtime");
15577
15649
  var Popover2 = ({
15578
15650
  iconColor = "action",
15579
15651
  icon = "info",
@@ -15585,38 +15657,38 @@ var Popover2 = ({
15585
15657
  children
15586
15658
  }) => {
15587
15659
  const popover = (0, import_Popover.usePopoverState)({ placement });
15588
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_jsx_runtime90.Fragment, { children: [
15589
- /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(import_Popover.PopoverDisclosure, { ...popover, css: PopoverBtn, title: buttonText, "data-test-id": testId, children: [
15590
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(Icon, { icon, iconColor, size: iconSize }),
15591
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)("span", { hidden: true, children: buttonText })
15660
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_jsx_runtime91.Fragment, { children: [
15661
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_Popover.PopoverDisclosure, { ...popover, css: PopoverBtn, title: buttonText, "data-test-id": testId, children: [
15662
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Icon, { icon, iconColor, size: iconSize }),
15663
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { hidden: true, children: buttonText })
15592
15664
  ] }),
15593
- /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_Portal2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(import_Popover.Popover, { css: Popover, ...popover, "aria-label": ariaLabel, children }) })
15665
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_Portal2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_Popover.Popover, { css: Popover, ...popover, "aria-label": ariaLabel, children }) })
15594
15666
  ] });
15595
15667
  };
15596
15668
 
15597
15669
  // src/components/ProgressList/ProgressList.tsx
15598
- var import_react95 = require("@emotion/react");
15599
- var import_react96 = require("react");
15600
- var import_cg17 = require("react-icons/cg");
15670
+ var import_react98 = require("@emotion/react");
15671
+ var import_react99 = require("react");
15672
+ var import_cg18 = require("react-icons/cg");
15601
15673
 
15602
15674
  // src/components/ProgressList/styles/ProgressList.styles.ts
15603
- var import_react94 = require("@emotion/react");
15604
- var progressListStyles = import_react94.css`
15675
+ var import_react97 = require("@emotion/react");
15676
+ var progressListStyles = import_react97.css`
15605
15677
  display: flex;
15606
15678
  flex-direction: column;
15607
15679
  gap: var(--spacing-sm);
15608
15680
  list-style-type: none;
15609
15681
  `;
15610
- var progressListItemStyles = import_react94.css`
15682
+ var progressListItemStyles = import_react97.css`
15611
15683
  display: flex;
15612
15684
  gap: var(--spacing-base);
15613
15685
  align-items: center;
15614
15686
  `;
15615
15687
 
15616
15688
  // src/components/ProgressList/ProgressList.tsx
15617
- var import_jsx_runtime91 = require("@emotion/react/jsx-runtime");
15689
+ var import_jsx_runtime92 = require("@emotion/react/jsx-runtime");
15618
15690
  var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
15619
- const itemsWithStatus = (0, import_react96.useMemo)(() => {
15691
+ const itemsWithStatus = (0, import_react99.useMemo)(() => {
15620
15692
  const indexOfInProgressItem = items.findIndex(({ id }) => id === inProgressId);
15621
15693
  return items.map((item, index) => {
15622
15694
  let status = "queued";
@@ -15628,8 +15700,8 @@ var ProgressList = ({ inProgressId, items, autoEllipsis, ...htmlProps }) => {
15628
15700
  return { ...item, status };
15629
15701
  });
15630
15702
  }, [items, inProgressId]);
15631
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
15632
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
15703
+ return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("ol", { css: progressListStyles, ...htmlProps, children: itemsWithStatus.map(({ id, label, status, error, errorLevel }) => {
15704
+ return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
15633
15705
  ProgressListItem,
15634
15706
  {
15635
15707
  status,
@@ -15649,25 +15721,25 @@ var ProgressListItem = ({
15649
15721
  errorLevel = "danger",
15650
15722
  autoEllipsis = false
15651
15723
  }) => {
15652
- const Icon2 = (0, import_react96.useMemo)(() => {
15724
+ const Icon2 = (0, import_react99.useMemo)(() => {
15653
15725
  if (error) {
15654
15726
  return warningIcon;
15655
15727
  }
15656
15728
  const iconPerStatus = {
15657
- completed: import_cg17.CgCheckO,
15658
- inProgress: import_cg17.CgRecord,
15659
- queued: import_cg17.CgRadioCheck
15729
+ completed: import_cg18.CgCheckO,
15730
+ inProgress: import_cg18.CgRecord,
15731
+ queued: import_cg18.CgRadioCheck
15660
15732
  };
15661
15733
  return iconPerStatus[status];
15662
15734
  }, [status, error]);
15663
- const statusStyles = (0, import_react96.useMemo)(() => {
15735
+ const statusStyles = (0, import_react99.useMemo)(() => {
15664
15736
  if (error) {
15665
- return errorLevel === "caution" ? import_react95.css`
15737
+ return errorLevel === "caution" ? import_react98.css`
15666
15738
  color: rgb(161, 98, 7);
15667
15739
  & svg {
15668
15740
  color: rgb(250, 204, 21);
15669
15741
  }
15670
- ` : import_react95.css`
15742
+ ` : import_react98.css`
15671
15743
  color: rgb(185, 28, 28);
15672
15744
  & svg {
15673
15745
  color: var(--brand-primary-2);
@@ -15675,35 +15747,35 @@ var ProgressListItem = ({
15675
15747
  `;
15676
15748
  }
15677
15749
  const colorPerStatus = {
15678
- completed: import_react95.css`
15750
+ completed: import_react98.css`
15679
15751
  opacity: 0.75;
15680
15752
  `,
15681
- inProgress: import_react95.css`
15753
+ inProgress: import_react98.css`
15682
15754
  -webkit-text-stroke-width: thin;
15683
15755
  `,
15684
- queued: import_react95.css`
15756
+ queued: import_react98.css`
15685
15757
  opacity: 0.5;
15686
15758
  `
15687
15759
  };
15688
15760
  return colorPerStatus[status];
15689
15761
  }, [status, error, errorLevel]);
15690
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("li", { css: [progressListItemStyles, statusStyles], children: [
15691
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Icon2, { size: 20 }) }) }),
15692
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { children: [
15762
+ return /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("li", { css: [progressListItemStyles, statusStyles], children: [
15763
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Tooltip, { title: error != null ? error : "", children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Icon2, { size: 20 }) }) }),
15764
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { children: [
15693
15765
  children,
15694
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
15766
+ /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { css: { visibility: autoEllipsis && status === "inProgress" && !error ? "visible" : "hidden" }, children: "..." })
15695
15767
  ] })
15696
15768
  ] });
15697
15769
  };
15698
15770
 
15699
15771
  // src/components/SegmentedControl/SegmentedControl.tsx
15700
- var import_react98 = require("@emotion/react");
15701
- var import_react99 = require("react");
15702
- var import_cg18 = require("react-icons/cg");
15772
+ var import_react101 = require("@emotion/react");
15773
+ var import_react102 = require("react");
15774
+ var import_cg19 = require("react-icons/cg");
15703
15775
 
15704
15776
  // src/components/SegmentedControl/SegmentedControl.styles.ts
15705
- var import_react97 = require("@emotion/react");
15706
- var segmentedControlStyles = import_react97.css`
15777
+ var import_react100 = require("@emotion/react");
15778
+ var segmentedControlStyles = import_react100.css`
15707
15779
  --segmented-control-rounded-value: var(--rounded-base);
15708
15780
  --segmented-control-border-width: 1px;
15709
15781
  --segmented-control-selected-color: var(--brand-secondary-3);
@@ -15722,14 +15794,14 @@ var segmentedControlStyles = import_react97.css`
15722
15794
  border-radius: calc(var(--segmented-control-rounded-value) + var(--segmented-control-border-width));
15723
15795
  font-size: var(--fs-xs);
15724
15796
  `;
15725
- var segmentedControlVerticalStyles = import_react97.css`
15797
+ var segmentedControlVerticalStyles = import_react100.css`
15726
15798
  flex-direction: column;
15727
15799
  --segmented-control-first-border-radius: var(--segmented-control-rounded-value)
15728
15800
  var(--segmented-control-rounded-value) 0 0;
15729
15801
  --segmented-control-last-border-radius: 0 0 var(--segmented-control-rounded-value)
15730
15802
  var(--segmented-control-rounded-value);
15731
15803
  `;
15732
- var segmentedControlItemStyles = import_react97.css`
15804
+ var segmentedControlItemStyles = import_react100.css`
15733
15805
  &:first-of-type label {
15734
15806
  border-radius: var(--segmented-control-first-border-radius);
15735
15807
  }
@@ -15737,10 +15809,10 @@ var segmentedControlItemStyles = import_react97.css`
15737
15809
  border-radius: var(--segmented-control-last-border-radius);
15738
15810
  }
15739
15811
  `;
15740
- var segmentedControlInputStyles = import_react97.css`
15812
+ var segmentedControlInputStyles = import_react100.css`
15741
15813
  ${accessibleHidden}
15742
15814
  `;
15743
- var segmentedControlLabelStyles = import_react97.css`
15815
+ var segmentedControlLabelStyles = import_react100.css`
15744
15816
  position: relative;
15745
15817
  display: flex;
15746
15818
  align-items: center;
@@ -15777,23 +15849,23 @@ var segmentedControlLabelStyles = import_react97.css`
15777
15849
  background-color: var(--gray-400);
15778
15850
  }
15779
15851
  `;
15780
- var segmentedControlLabelIconOnlyStyles = import_react97.css`
15852
+ var segmentedControlLabelIconOnlyStyles = import_react100.css`
15781
15853
  padding-inline: 0.5em;
15782
15854
  `;
15783
- var segmentedControlLabelCheckStyles = import_react97.css`
15855
+ var segmentedControlLabelCheckStyles = import_react100.css`
15784
15856
  opacity: 0.5;
15785
15857
  `;
15786
- var segmentedControlLabelContentStyles = import_react97.css`
15858
+ var segmentedControlLabelContentStyles = import_react100.css`
15787
15859
  display: flex;
15788
15860
  align-items: center;
15789
15861
  justify-content: center;
15790
15862
  gap: var(--spacing-sm);
15791
15863
  height: 100%;
15792
15864
  `;
15793
- var segmentedControlLabelTextStyles = import_react97.css``;
15865
+ var segmentedControlLabelTextStyles = import_react100.css``;
15794
15866
 
15795
15867
  // src/components/SegmentedControl/SegmentedControl.tsx
15796
- var import_jsx_runtime92 = require("@emotion/react/jsx-runtime");
15868
+ var import_jsx_runtime93 = require("@emotion/react/jsx-runtime");
15797
15869
  var SegmentedControl = ({
15798
15870
  name,
15799
15871
  options,
@@ -15805,7 +15877,7 @@ var SegmentedControl = ({
15805
15877
  size = "md",
15806
15878
  ...props
15807
15879
  }) => {
15808
- const onOptionChange = (0, import_react99.useCallback)(
15880
+ const onOptionChange = (0, import_react102.useCallback)(
15809
15881
  (event) => {
15810
15882
  if (event.target.checked) {
15811
15883
  onChange == null ? void 0 : onChange(options[parseInt(event.target.value)].value);
@@ -15813,18 +15885,18 @@ var SegmentedControl = ({
15813
15885
  },
15814
15886
  [options, onChange]
15815
15887
  );
15816
- const sizeStyles = (0, import_react99.useMemo)(() => {
15888
+ const sizeStyles = (0, import_react102.useMemo)(() => {
15817
15889
  const map = {
15818
- sm: (0, import_react98.css)({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
15819
- md: (0, import_react98.css)({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
15820
- lg: (0, import_react98.css)({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
15890
+ sm: (0, import_react101.css)({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
15891
+ md: (0, import_react101.css)({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
15892
+ lg: (0, import_react101.css)({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
15821
15893
  };
15822
15894
  return map[size];
15823
15895
  }, [size]);
15824
- const isIconOnly = (0, import_react99.useMemo)(() => {
15896
+ const isIconOnly = (0, import_react102.useMemo)(() => {
15825
15897
  return options.every((option) => option.icon && !option.label);
15826
15898
  }, [options]);
15827
- return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
15899
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
15828
15900
  "div",
15829
15901
  {
15830
15902
  css: [segmentedControlStyles, orientation === "vertical" ? segmentedControlVerticalStyles : void 0],
@@ -15832,11 +15904,11 @@ var SegmentedControl = ({
15832
15904
  children: options.map((option, index) => {
15833
15905
  const text = option.label ? option.label : option.icon ? null : String(option.value);
15834
15906
  const isDisabled = disabled || option.disabled;
15835
- return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
15907
+ return /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
15836
15908
  Tooltip,
15837
15909
  {
15838
15910
  title: isDisabled || !option.tooltip ? "" : option.tooltip,
15839
- children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("div", { css: segmentedControlItemStyles, "data-test-id": "container-segmented-control", children: /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)(
15911
+ children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { css: segmentedControlItemStyles, "data-test-id": "container-segmented-control", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)(
15840
15912
  "label",
15841
15913
  {
15842
15914
  css: [
@@ -15845,7 +15917,7 @@ var SegmentedControl = ({
15845
15917
  isIconOnly ? segmentedControlLabelIconOnlyStyles : void 0
15846
15918
  ],
15847
15919
  children: [
15848
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
15920
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
15849
15921
  "input",
15850
15922
  {
15851
15923
  css: segmentedControlInputStyles,
@@ -15857,10 +15929,10 @@ var SegmentedControl = ({
15857
15929
  disabled: isDisabled
15858
15930
  }
15859
15931
  ),
15860
- option.value !== value || noCheckmark ? null : /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(import_cg18.CgCheck, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
15861
- /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("span", { css: segmentedControlLabelContentStyles, children: [
15862
- !option.icon ? null : /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(option.icon, { size: "1.5em" }),
15863
- !text ? null : /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { css: segmentedControlLabelTextStyles, children: text })
15932
+ option.value !== value || noCheckmark ? null : /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(import_cg19.CgCheck, { css: segmentedControlLabelCheckStyles, "aria-label": "Selected", size: "1.5em" }),
15933
+ /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("span", { css: segmentedControlLabelContentStyles, children: [
15934
+ !option.icon ? null : /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(option.icon, { size: "1.5em" }),
15935
+ !text ? null : /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("span", { css: segmentedControlLabelTextStyles, children: text })
15864
15936
  ] })
15865
15937
  ]
15866
15938
  }
@@ -15874,18 +15946,18 @@ var SegmentedControl = ({
15874
15946
  };
15875
15947
 
15876
15948
  // src/components/Skeleton/Skeleton.styles.ts
15877
- var import_react100 = require("@emotion/react");
15878
- var lightFadingOut = import_react100.keyframes`
15949
+ var import_react103 = require("@emotion/react");
15950
+ var lightFadingOut = import_react103.keyframes`
15879
15951
  from { opacity: 0.1; }
15880
15952
  to { opacity: 0.025; }
15881
15953
  `;
15882
- var skeletonStyles = import_react100.css`
15954
+ var skeletonStyles = import_react103.css`
15883
15955
  animation: ${lightFadingOut} 1s ease-out infinite alternate;
15884
15956
  background-color: var(--gray-900);
15885
15957
  `;
15886
15958
 
15887
15959
  // src/components/Skeleton/Skeleton.tsx
15888
- var import_jsx_runtime93 = require("@emotion/react/jsx-runtime");
15960
+ var import_jsx_runtime94 = require("@emotion/react/jsx-runtime");
15889
15961
  var Skeleton = ({
15890
15962
  width = "100%",
15891
15963
  height = "1.25rem",
@@ -15893,7 +15965,7 @@ var Skeleton = ({
15893
15965
  circle = false,
15894
15966
  children,
15895
15967
  ...otherProps
15896
- }) => /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
15968
+ }) => /* @__PURE__ */ (0, import_jsx_runtime94.jsx)(
15897
15969
  "div",
15898
15970
  {
15899
15971
  css: [
@@ -15916,8 +15988,8 @@ var Skeleton = ({
15916
15988
  var React19 = __toESM(require("react"));
15917
15989
 
15918
15990
  // src/components/Switch/Switch.styles.ts
15919
- var import_react101 = require("@emotion/react");
15920
- var SwitchInputContainer = import_react101.css`
15991
+ var import_react104 = require("@emotion/react");
15992
+ var SwitchInputContainer = import_react104.css`
15921
15993
  cursor: pointer;
15922
15994
  display: inline-block;
15923
15995
  position: relative;
@@ -15926,7 +15998,7 @@ var SwitchInputContainer = import_react101.css`
15926
15998
  vertical-align: middle;
15927
15999
  user-select: none;
15928
16000
  `;
15929
- var SwitchInput = import_react101.css`
16001
+ var SwitchInput = import_react104.css`
15930
16002
  appearance: none;
15931
16003
  border-radius: var(--rounded-full);
15932
16004
  background-color: var(--white);
@@ -15964,7 +16036,7 @@ var SwitchInput = import_react101.css`
15964
16036
  cursor: not-allowed;
15965
16037
  }
15966
16038
  `;
15967
- var SwitchInputDisabled = import_react101.css`
16039
+ var SwitchInputDisabled = import_react104.css`
15968
16040
  opacity: var(--opacity-50);
15969
16041
  cursor: not-allowed;
15970
16042
 
@@ -15972,7 +16044,7 @@ var SwitchInputDisabled = import_react101.css`
15972
16044
  cursor: not-allowed;
15973
16045
  }
15974
16046
  `;
15975
- var SwitchInputLabel = import_react101.css`
16047
+ var SwitchInputLabel = import_react104.css`
15976
16048
  align-items: center;
15977
16049
  color: var(--brand-secondary-1);
15978
16050
  display: inline-flex;
@@ -15994,26 +16066,26 @@ var SwitchInputLabel = import_react101.css`
15994
16066
  top: 0;
15995
16067
  }
15996
16068
  `;
15997
- var SwitchText = import_react101.css`
16069
+ var SwitchText = import_react104.css`
15998
16070
  color: var(--gray-500);
15999
16071
  font-size: var(--fs-sm);
16000
16072
  padding-inline: var(--spacing-2xl) 0;
16001
16073
  `;
16002
16074
 
16003
16075
  // src/components/Switch/Switch.tsx
16004
- var import_jsx_runtime94 = require("@emotion/react/jsx-runtime");
16076
+ var import_jsx_runtime95 = require("@emotion/react/jsx-runtime");
16005
16077
  var Switch = React19.forwardRef(
16006
16078
  ({ label, infoText, toggleText, children, ...inputProps }, ref) => {
16007
16079
  let additionalText = infoText;
16008
16080
  if (infoText && toggleText) {
16009
16081
  additionalText = inputProps.checked ? toggleText : infoText;
16010
16082
  }
16011
- return /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)(import_jsx_runtime94.Fragment, { children: [
16012
- /* @__PURE__ */ (0, import_jsx_runtime94.jsxs)("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
16013
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
16014
- /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("span", { css: SwitchInputLabel, children: label })
16083
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_jsx_runtime95.Fragment, { children: [
16084
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
16085
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
16086
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("span", { css: SwitchInputLabel, children: label })
16015
16087
  ] }),
16016
- additionalText ? /* @__PURE__ */ (0, import_jsx_runtime94.jsx)("p", { css: SwitchText, children: additionalText }) : null,
16088
+ additionalText ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("p", { css: SwitchText, children: additionalText }) : null,
16017
16089
  children
16018
16090
  ] });
16019
16091
  }
@@ -16023,74 +16095,74 @@ var Switch = React19.forwardRef(
16023
16095
  var React20 = __toESM(require("react"));
16024
16096
 
16025
16097
  // src/components/Table/Table.styles.ts
16026
- var import_react102 = require("@emotion/react");
16027
- var table = import_react102.css`
16098
+ var import_react105 = require("@emotion/react");
16099
+ var table = import_react105.css`
16028
16100
  border-bottom: 1px solid var(--gray-400);
16029
16101
  border-collapse: collapse;
16030
16102
  min-width: 100%;
16031
16103
  table-layout: auto;
16032
16104
  `;
16033
- var tableHead = import_react102.css`
16105
+ var tableHead = import_react105.css`
16034
16106
  background: var(--gray-100);
16035
16107
  color: var(--brand-secondary-1);
16036
16108
  text-align: left;
16037
16109
  `;
16038
- var tableRow = import_react102.css`
16110
+ var tableRow = import_react105.css`
16039
16111
  border-bottom: 1px solid var(--gray-200);
16040
16112
  `;
16041
- var tableCellHead = import_react102.css`
16113
+ var tableCellHead = import_react105.css`
16042
16114
  font-size: var(--fs-sm);
16043
16115
  padding: var(--spacing-base) var(--spacing-md);
16044
16116
  text-transform: uppercase;
16045
16117
  font-weight: var(--fw-bold);
16046
16118
  `;
16047
- var tableCellData = import_react102.css`
16119
+ var tableCellData = import_react105.css`
16048
16120
  padding: var(--spacing-base) var(--spacing-md);
16049
16121
  `;
16050
16122
 
16051
16123
  // src/components/Table/Table.tsx
16052
- var import_jsx_runtime95 = require("@emotion/react/jsx-runtime");
16124
+ var import_jsx_runtime96 = require("@emotion/react/jsx-runtime");
16053
16125
  var Table = React20.forwardRef(({ children, ...otherProps }, ref) => {
16054
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("table", { ref, css: table, ...otherProps, children });
16126
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("table", { ref, css: table, ...otherProps, children });
16055
16127
  });
16056
16128
  var TableHead = React20.forwardRef(
16057
16129
  ({ children, ...otherProps }, ref) => {
16058
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("thead", { ref, css: tableHead, ...otherProps, children });
16130
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("thead", { ref, css: tableHead, ...otherProps, children });
16059
16131
  }
16060
16132
  );
16061
16133
  var TableBody = React20.forwardRef(
16062
16134
  ({ children, ...otherProps }, ref) => {
16063
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("tbody", { ref, ...otherProps, children });
16135
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("tbody", { ref, ...otherProps, children });
16064
16136
  }
16065
16137
  );
16066
16138
  var TableFoot = React20.forwardRef(
16067
16139
  ({ children, ...otherProps }, ref) => {
16068
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("tfoot", { ref, ...otherProps, children });
16140
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("tfoot", { ref, ...otherProps, children });
16069
16141
  }
16070
16142
  );
16071
16143
  var TableRow = React20.forwardRef(
16072
16144
  ({ children, ...otherProps }, ref) => {
16073
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("tr", { ref, css: tableRow, ...otherProps, children });
16145
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("tr", { ref, css: tableRow, ...otherProps, children });
16074
16146
  }
16075
16147
  );
16076
16148
  var TableCellHead = React20.forwardRef(
16077
16149
  ({ children, ...otherProps }, ref) => {
16078
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("th", { ref, css: tableCellHead, ...otherProps, children });
16150
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("th", { ref, css: tableCellHead, ...otherProps, children });
16079
16151
  }
16080
16152
  );
16081
16153
  var TableCellData = React20.forwardRef(
16082
16154
  ({ children, ...otherProps }, ref) => {
16083
- return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("td", { ref, css: tableCellData, ...otherProps, children });
16155
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("td", { ref, css: tableCellData, ...otherProps, children });
16084
16156
  }
16085
16157
  );
16086
16158
 
16087
16159
  // src/components/Tabs/Tabs.tsx
16088
- var import_react104 = require("react");
16160
+ var import_react107 = require("react");
16089
16161
  var import_Tab = require("reakit/Tab");
16090
16162
 
16091
16163
  // src/components/Tabs/Tabs.styles.ts
16092
- var import_react103 = require("@emotion/react");
16093
- var tabButtonStyles = import_react103.css`
16164
+ var import_react106 = require("@emotion/react");
16165
+ var tabButtonStyles = import_react106.css`
16094
16166
  align-items: center;
16095
16167
  border: 0;
16096
16168
  height: 2.5rem;
@@ -16107,30 +16179,30 @@ var tabButtonStyles = import_react103.css`
16107
16179
  box-shadow: inset 0 -2px 0 var(--brand-secondary-3);
16108
16180
  }
16109
16181
  `;
16110
- var tabButtonGroupStyles = import_react103.css`
16182
+ var tabButtonGroupStyles = import_react106.css`
16111
16183
  display: flex;
16112
16184
  gap: var(--spacing-base);
16113
16185
  border-bottom: 1px solid var(--gray-300);
16114
16186
  `;
16115
16187
 
16116
16188
  // src/components/Tabs/Tabs.tsx
16117
- var import_jsx_runtime96 = require("@emotion/react/jsx-runtime");
16118
- var CurrentTabContext = (0, import_react104.createContext)(null);
16189
+ var import_jsx_runtime97 = require("@emotion/react/jsx-runtime");
16190
+ var CurrentTabContext = (0, import_react107.createContext)(null);
16119
16191
  var useCurrentTab = () => {
16120
- const context = (0, import_react104.useContext)(CurrentTabContext);
16192
+ const context = (0, import_react107.useContext)(CurrentTabContext);
16121
16193
  if (!context) {
16122
16194
  throw new Error("This component can only be used inside <Tabs>");
16123
16195
  }
16124
16196
  return context;
16125
16197
  };
16126
16198
  var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...props }) => {
16127
- const selected = (0, import_react104.useMemo)(() => {
16199
+ const selected = (0, import_react107.useMemo)(() => {
16128
16200
  if (selectedId)
16129
16201
  return selectedId;
16130
16202
  return useHashForState && typeof window !== "undefined" && window.location.hash ? window.location.hash.substring(1) : void 0;
16131
16203
  }, [selectedId, useHashForState]);
16132
16204
  const tab = (0, import_Tab.useTabState)({ ...props, selectedId: selected });
16133
- (0, import_react104.useEffect)(() => {
16205
+ (0, import_react107.useEffect)(() => {
16134
16206
  var _a;
16135
16207
  const selectedValueWithoutNull = (_a = tab.selectedId) != null ? _a : void 0;
16136
16208
  onSelectedIdChange == null ? void 0 : onSelectedIdChange(selectedValueWithoutNull);
@@ -16138,29 +16210,29 @@ var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...prop
16138
16210
  window.location.hash = selectedValueWithoutNull != null ? selectedValueWithoutNull : "";
16139
16211
  }
16140
16212
  }, [tab.selectedId, onSelectedIdChange, useHashForState]);
16141
- (0, import_react104.useEffect)(() => {
16213
+ (0, import_react107.useEffect)(() => {
16142
16214
  if (selected && selected !== tab.selectedId) {
16143
16215
  tab.setSelectedId(selected);
16144
16216
  }
16145
16217
  }, [selected]);
16146
- return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(CurrentTabContext.Provider, { value: tab, children });
16218
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(CurrentTabContext.Provider, { value: tab, children });
16147
16219
  };
16148
16220
  var TabButtonGroup = ({ children, ...props }) => {
16149
16221
  const currentTab = useCurrentTab();
16150
- return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_Tab.TabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
16222
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_Tab.TabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
16151
16223
  };
16152
16224
  var TabButton = ({ children, id, ...props }) => {
16153
16225
  const currentTab = useCurrentTab();
16154
- return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_Tab.Tab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
16226
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_Tab.Tab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
16155
16227
  };
16156
16228
  var TabContent = ({ children, ...props }) => {
16157
16229
  const currentTab = useCurrentTab();
16158
- return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_Tab.TabPanel, { ...props, ...currentTab, children });
16230
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(import_Tab.TabPanel, { ...props, ...currentTab, children });
16159
16231
  };
16160
16232
 
16161
16233
  // src/components/Validation/StatusBullet.styles.ts
16162
- var import_react105 = require("@emotion/react");
16163
- var StatusBulletContainer = import_react105.css`
16234
+ var import_react108 = require("@emotion/react");
16235
+ var StatusBulletContainer = import_react108.css`
16164
16236
  align-items: center;
16165
16237
  align-self: center;
16166
16238
  color: var(--gray-500);
@@ -16177,51 +16249,51 @@ var StatusBulletContainer = import_react105.css`
16177
16249
  display: block;
16178
16250
  }
16179
16251
  `;
16180
- var StatusBulletBase = import_react105.css`
16252
+ var StatusBulletBase = import_react108.css`
16181
16253
  font-size: var(--fs-sm);
16182
16254
  &:before {
16183
16255
  width: var(--fs-xs);
16184
16256
  height: var(--fs-xs);
16185
16257
  }
16186
16258
  `;
16187
- var StatusBulletSmall = import_react105.css`
16259
+ var StatusBulletSmall = import_react108.css`
16188
16260
  font-size: var(--fs-xs);
16189
16261
  &:before {
16190
16262
  width: var(--fs-xxs);
16191
16263
  height: var(--fs-xxs);
16192
16264
  }
16193
16265
  `;
16194
- var StatusDraft = import_react105.css`
16266
+ var StatusDraft = import_react108.css`
16195
16267
  &:before {
16196
16268
  background: var(--white);
16197
- box-shadow: inset 0 0 0 0.125rem var(--brand-primary-1);
16269
+ box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
16198
16270
  }
16199
16271
  `;
16200
- var StatusModified = import_react105.css`
16272
+ var StatusModified = import_react108.css`
16201
16273
  &:before {
16202
- background: linear-gradient(to right, var(--white) 50%, var(--brand-primary-1) 50% 100%);
16203
- box-shadow: inset 0 0 0 0.125rem var(--brand-primary-1);
16274
+ background: linear-gradient(to right, var(--white) 50%, var(--primary-action-default) 50% 100%);
16275
+ box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
16204
16276
  }
16205
16277
  `;
16206
- var StatusError = import_react105.css`
16278
+ var StatusError = import_react108.css`
16207
16279
  color: var(--error);
16208
16280
  &:before {
16209
16281
  background: linear-gradient(120deg, var(--error) 40%, var(--white) 50%, var(--error) 60%);
16210
16282
  }
16211
16283
  `;
16212
- var StatusPublished = import_react105.css`
16284
+ var StatusPublished = import_react108.css`
16213
16285
  &:before {
16214
- background: var(--brand-secondary-3);
16286
+ background: var(--primary-action-default);
16215
16287
  }
16216
16288
  `;
16217
- var StatusOrphan = import_react105.css`
16289
+ var StatusOrphan = import_react108.css`
16218
16290
  &:before {
16219
16291
  background: var(--brand-secondary-5);
16220
16292
  }
16221
16293
  `;
16222
16294
 
16223
16295
  // src/components/Validation/StatusBullet.tsx
16224
- var import_jsx_runtime97 = require("@emotion/react/jsx-runtime");
16296
+ var import_jsx_runtime98 = require("@emotion/react/jsx-runtime");
16225
16297
  var StatusBullet = ({
16226
16298
  status,
16227
16299
  hideText = false,
@@ -16238,7 +16310,7 @@ var StatusBullet = ({
16238
16310
  Draft: StatusDraft
16239
16311
  };
16240
16312
  const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
16241
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
16313
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
16242
16314
  "span",
16243
16315
  {
16244
16316
  role: "status",
@@ -16351,6 +16423,7 @@ var StatusBullet = ({
16351
16423
  ShortcutRevealer,
16352
16424
  Skeleton,
16353
16425
  StatusBullet,
16426
+ SuccessMessage,
16354
16427
  Switch,
16355
16428
  TabButton,
16356
16429
  TabButtonGroup,