@uniformdev/design-system 18.22.0 → 18.23.1-alpha.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -8209,19 +8209,19 @@ var UniformBadge = ({
8209
8209
  css: [SVG, theme === "dark" ? SVGDark : SVGLight],
8210
8210
  ...props,
8211
8211
  children: [
8212
- /* @__PURE__ */ jsx16("path", { d: "M28.998 0 0 16.744V50.23l28.998-16.744 29.004-16.743L28.998 0Z", fill: "#83C6E1" }),
8212
+ /* @__PURE__ */ jsx16("path", { d: "M28.998 0 0 16.744V50.23l28.998-16.744 29.004-16.743L28.998 0Z", fill: "#7BB3FF" }),
8213
8213
  /* @__PURE__ */ jsx16(
8214
8214
  "path",
8215
8215
  {
8216
8216
  d: "M28.998 66.974V33.487L0 50.231v33.487l28.998 16.744 29.004-16.744V50.23L28.998 66.974Z",
8217
- fill: "#438FD5"
8217
+ fill: "#498DFF"
8218
8218
  }
8219
8219
  ),
8220
8220
  /* @__PURE__ */ jsx16(
8221
8221
  "path",
8222
8222
  {
8223
8223
  d: "M58.002 16.744 28.998 33.487l29.004 16.744v33.487L87 66.975V33.487L58.002 16.744Z",
8224
- fill: "#F4220B"
8224
+ fill: "#E61408"
8225
8225
  }
8226
8226
  )
8227
8227
  ]
@@ -8246,15 +8246,15 @@ var UniformLogo = ({
8246
8246
  css: [SVG, theme === "dark" ? SVGDark : SVGLight],
8247
8247
  ...props,
8248
8248
  children: [
8249
- /* @__PURE__ */ jsx17("path", { d: "M11.249 0 0 6.495v12.99l11.249-6.495L22.5 6.495 11.25 0Z", fill: "#83C6E1" }),
8249
+ /* @__PURE__ */ jsx17("path", { d: "M11.249 0 0 6.495v12.99l11.249-6.495L22.5 6.495 11.25 0Z", fill: "#7BB3FF" }),
8250
8250
  /* @__PURE__ */ jsx17(
8251
8251
  "path",
8252
8252
  {
8253
8253
  d: "M11.249 25.98V12.99L0 19.486v12.99l11.249 6.495L22.5 32.476v-12.99L11.25 25.98Z",
8254
- fill: "#438FD5"
8254
+ fill: "#498DFF"
8255
8255
  }
8256
8256
  ),
8257
- /* @__PURE__ */ jsx17("path", { d: "m22.5 6.495-11.25 6.496 11.25 6.495v12.99l11.25-6.495V12.99L22.5 6.495Z", fill: "#F4220B" }),
8257
+ /* @__PURE__ */ jsx17("path", { d: "m22.5 6.495-11.25 6.496 11.25 6.495v12.99l11.25-6.495V12.99L22.5 6.495Z", fill: "#E61408" }),
8258
8258
  /* @__PURE__ */ jsx17(
8259
8259
  "path",
8260
8260
  {
@@ -9103,7 +9103,7 @@ var summary = css26`
9103
9103
  display: grid;
9104
9104
  grid-template-columns: 1.25rem 1fr;
9105
9105
  gap: var(--spacing-sm);
9106
- padding: var(--spacing-sm);
9106
+ padding: var(--spacing-sm) 0;
9107
9107
 
9108
9108
  // hides the native arrow icon
9109
9109
  list-style: none;
@@ -11192,6 +11192,11 @@ var inputIconBtn = css52`
11192
11192
  background: var(--brand-secondary-3);
11193
11193
  color: var(--white);
11194
11194
  }
11195
+
11196
+ &[aria-disabled='true'] {
11197
+ background: none;
11198
+ color: currentColor;
11199
+ }
11195
11200
  `;
11196
11201
 
11197
11202
  // src/components/ParameterInputs/ConnectToDataElementButton.tsx
@@ -11205,17 +11210,27 @@ var ConnectToDataElementButton = ({
11205
11210
  ...props
11206
11211
  }) => {
11207
11212
  const title = isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
11208
- return /* @__PURE__ */ jsx65(Tooltip, { title, children: /* @__PURE__ */ jsxs45("button", { css: inputIconBtn, type: "button", "aria-pressed": isBound, ...props, disabled: isLocked, children: [
11209
- /* @__PURE__ */ jsx65(
11210
- Icon,
11211
- {
11212
- icon: isLocked ? "lock" : icon ? icon : "arrows-expand-down-right",
11213
- iconColor: iconColor ? iconColor : "currentColor",
11214
- size: "1rem"
11215
- }
11216
- ),
11217
- children
11218
- ] }) });
11213
+ return /* @__PURE__ */ jsx65(Tooltip, { title, children: /* @__PURE__ */ jsxs45(
11214
+ "button",
11215
+ {
11216
+ css: inputIconBtn,
11217
+ type: "button",
11218
+ "aria-pressed": isBound,
11219
+ "aria-disabled": isLocked,
11220
+ ...props,
11221
+ children: [
11222
+ /* @__PURE__ */ jsx65(
11223
+ Icon,
11224
+ {
11225
+ icon: isLocked ? "lock" : icon ? icon : "arrows-expand-down-right",
11226
+ iconColor: iconColor ? iconColor : "currentColor",
11227
+ size: "1rem"
11228
+ }
11229
+ ),
11230
+ children
11231
+ ]
11232
+ }
11233
+ ) });
11219
11234
  };
11220
11235
 
11221
11236
  // src/components/ParameterInputs/hooks/ParameterShellContext.tsx
@@ -11427,11 +11442,11 @@ var imageWrapper = css53`
11427
11442
  `;
11428
11443
  var img = css53`
11429
11444
  animation: ${fadeIn} var(--duration-fast) var(--timing-ease-out) forwards;
11430
- aspect-ratio: 1 / 1;
11445
+ object-fit: contain;
11431
11446
  max-width: 100%;
11432
11447
  height: auto;
11433
11448
  opacity: var(--opacity-0);
11434
- margin-top: var(--spacing-sm);
11449
+ margin: var(--spacing-sm) auto 0;
11435
11450
  `;
11436
11451
  var dataConnectButton = css53`
11437
11452
  align-items: center;
@@ -11549,7 +11564,7 @@ var ParameterDrawerHeaderTitle = css54`
11549
11564
  text-overflow: ellipsis;
11550
11565
  white-space: nowrap;
11551
11566
  overflow: hidden;
11552
- max-width: 16ch;
11567
+ max-width: 22ch;
11553
11568
  `;
11554
11569
 
11555
11570
  // src/components/ParameterInputs/ParameterDrawerHeader.tsx
@@ -11584,6 +11599,7 @@ var fieldsetLegend2 = css55`
11584
11599
  display: block;
11585
11600
  font-weight: var(--fw-medium);
11586
11601
  margin-bottom: var(--spacing-sm);
11602
+ width: 100%;
11587
11603
  `;
11588
11604
 
11589
11605
  // src/components/ParameterInputs/ParameterGroup.tsx
@@ -11598,7 +11614,7 @@ var ParameterGroup = forwardRef7(
11598
11614
  );
11599
11615
 
11600
11616
  // src/components/ParameterInputs/ParameterImage.tsx
11601
- import { forwardRef as forwardRef9, useCallback as useCallback2, useDeferredValue, useState as useState8 } from "react";
11617
+ import { forwardRef as forwardRef9, useCallback as useCallback2, useDeferredValue, useEffect as useEffect7, useState as useState8 } from "react";
11602
11618
 
11603
11619
  // src/components/ParameterInputs/ParameterShell.tsx
11604
11620
  import { useState as useState7 } from "react";
@@ -11677,7 +11693,8 @@ var extractParameterProps = (props) => {
11677
11693
  menuItems,
11678
11694
  onManuallySetErrorMessage,
11679
11695
  title,
11680
- hasOverridingParams,
11696
+ hasOverriddenValue,
11697
+ onResetOverriddenValue,
11681
11698
  ...innerProps
11682
11699
  } = props;
11683
11700
  return {
@@ -11693,7 +11710,8 @@ var extractParameterProps = (props) => {
11693
11710
  menuItems,
11694
11711
  onManuallySetErrorMessage,
11695
11712
  title,
11696
- hasOverridingParams
11713
+ hasOverriddenValue,
11714
+ onResetOverriddenValue
11697
11715
  },
11698
11716
  innerProps
11699
11717
  };
@@ -11708,7 +11726,8 @@ var ParameterShell = ({
11708
11726
  errorTestId,
11709
11727
  captionTestId,
11710
11728
  menuItems,
11711
- hasOverridingParams,
11729
+ hasOverriddenValue,
11730
+ onResetOverriddenValue,
11712
11731
  title,
11713
11732
  children,
11714
11733
  ...props
@@ -11737,10 +11756,10 @@ var ParameterShell = ({
11737
11756
  errorMessage: errorMessaging,
11738
11757
  onManuallySetErrorMessage: (message) => setErrorMessage(message)
11739
11758
  },
11740
- children: children ? /* @__PURE__ */ jsxs49("div", { css: emptyParameterShell, children: [
11759
+ children: /* @__PURE__ */ jsxs49(ParameterShellPlaceholder, { children: [
11741
11760
  children,
11742
- hasOverridingParams ? /* @__PURE__ */ jsx71(ParameterOverrideMarker, {}) : null
11743
- ] }) : /* @__PURE__ */ jsx71(ParameterShellPlaceholder, { hasOverridingParams: true })
11761
+ hasOverriddenValue && onResetOverriddenValue ? /* @__PURE__ */ jsx71(ParameterOverrideMarker, { onClick: onResetOverriddenValue }) : null
11762
+ ] })
11744
11763
  }
11745
11764
  )
11746
11765
  ] }),
@@ -11748,13 +11767,10 @@ var ParameterShell = ({
11748
11767
  errorMessaging ? /* @__PURE__ */ jsx71(ErrorMessage, { message: errorMessaging, testId: errorTestId }) : null
11749
11768
  ] });
11750
11769
  };
11751
- var ParameterShellPlaceholder = ({ hasOverridingParams }) => {
11752
- return /* @__PURE__ */ jsxs49("div", { role: "note", css: emptyParameterShell, children: [
11753
- /* @__PURE__ */ jsx71("p", { css: emptyParameterShellText, children: "Use component swap to replace with a parameter slot component" }),
11754
- hasOverridingParams ? /* @__PURE__ */ jsx71(ParameterOverrideMarker, {}) : null
11755
- ] });
11770
+ var ParameterShellPlaceholder = ({ children }) => {
11771
+ return /* @__PURE__ */ jsx71("div", { css: emptyParameterShell, children });
11756
11772
  };
11757
- var ParameterOverrideMarker = () => /* @__PURE__ */ jsx71(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx71("span", { role: "presentation", css: overrideMarker }) });
11773
+ var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx71(Tooltip, { title: "The default value has been overridden", children: /* @__PURE__ */ jsx71("button", { type: "button", css: overrideMarker, ...props, children: /* @__PURE__ */ jsx71("span", { hidden: true, children: "reset overridden value to default" }) }) });
11758
11774
 
11759
11775
  // src/components/ParameterInputs/ParameterImage.tsx
11760
11776
  import { Fragment as Fragment10, jsx as jsx72, jsxs as jsxs50 } from "@emotion/react/jsx-runtime";
@@ -11794,29 +11810,25 @@ var BrokenImage = ({ ...props }) => {
11794
11810
  };
11795
11811
  var ParameterImageInner = forwardRef9(
11796
11812
  ({ ...props }, ref) => {
11813
+ const { value } = props;
11797
11814
  const { id, label, hiddenLabel, errorMessage, onManuallySetErrorMessage } = useParameterShell();
11798
- const [imageSrc, setImageSrc] = useState8();
11799
11815
  const [loading, setLoading] = useState8(false);
11800
- const deferredValue = useDeferredValue(imageSrc);
11816
+ const deferredValue = useDeferredValue(value);
11801
11817
  const errorText = "The text you provided is not a valid URL";
11802
- const updateImageSrc = useCallback2(
11803
- (e) => {
11804
- let message = void 0;
11805
- try {
11806
- if (e.currentTarget.value !== "") {
11807
- new URL(e.currentTarget.value);
11808
- setImageSrc(e.currentTarget.value);
11809
- }
11810
- message = void 0;
11811
- } catch (e2) {
11812
- message = errorText;
11818
+ const updateImageSrc = useCallback2(() => {
11819
+ let message = void 0;
11820
+ try {
11821
+ if (value !== "") {
11822
+ new URL(value);
11813
11823
  }
11814
- if (onManuallySetErrorMessage) {
11815
- onManuallySetErrorMessage(message);
11816
- }
11817
- },
11818
- [onManuallySetErrorMessage]
11819
- );
11824
+ message = void 0;
11825
+ } catch (e) {
11826
+ message = errorText;
11827
+ }
11828
+ if (onManuallySetErrorMessage) {
11829
+ onManuallySetErrorMessage(message);
11830
+ }
11831
+ }, [onManuallySetErrorMessage, value]);
11820
11832
  const handleLoadEvent = () => {
11821
11833
  if (deferredValue) {
11822
11834
  setLoading(true);
@@ -11831,6 +11843,9 @@ var ParameterImageInner = forwardRef9(
11831
11843
  onManuallySetErrorMessage(errorText);
11832
11844
  }
11833
11845
  };
11846
+ useEffect7(() => {
11847
+ updateImageSrc();
11848
+ }, [value]);
11834
11849
  return /* @__PURE__ */ jsxs50(Fragment10, { children: [
11835
11850
  /* @__PURE__ */ jsx72(
11836
11851
  "input",
@@ -11841,7 +11856,6 @@ var ParameterImageInner = forwardRef9(
11841
11856
  ref,
11842
11857
  "aria-label": hiddenLabel ? label : void 0,
11843
11858
  autoComplete: "off",
11844
- onChange: (e) => updateImageSrc(e),
11845
11859
  ...props
11846
11860
  }
11847
11861
  ),
@@ -11853,8 +11867,6 @@ var ParameterImageInner = forwardRef9(
11853
11867
  css: img,
11854
11868
  onLoad: handleLoadEvent,
11855
11869
  onError: handleErrorEvent,
11856
- width: 214,
11857
- height: 214,
11858
11870
  loading: "lazy"
11859
11871
  }
11860
11872
  ) : null,
@@ -12155,19 +12167,65 @@ var ParameterToggleInner = forwardRef15(
12155
12167
  }
12156
12168
  );
12157
12169
 
12170
+ // src/components/Popover/Popover.tsx
12171
+ import {
12172
+ Popover as ReakitPopover,
12173
+ PopoverDisclosure,
12174
+ usePopoverState
12175
+ } from "reakit/Popover";
12176
+ import { Portal as Portal2 } from "reakit/Portal";
12177
+
12178
+ // src/components/Popover/Popover.styles.ts
12179
+ import { css as css57 } from "@emotion/react";
12180
+ var PopoverBtn = css57`
12181
+ border: none;
12182
+ background: none;
12183
+ padding: 0;
12184
+ `;
12185
+ var Popover = css57`
12186
+ border-left: var(--spacing-xs) solid var(--brand-secondary-3);
12187
+ border-radius: var(--rounded-base);
12188
+ box-shadow: var(--shadow-base);
12189
+ background: var(--white);
12190
+ display: grid;
12191
+ gap: var(--spacing-sm);
12192
+ padding: var(--spacing-sm);
12193
+ font-size: var(--fs-sm);
12194
+ max-width: 220px;
12195
+ `;
12196
+
12197
+ // src/components/Popover/Popover.tsx
12198
+ import { Fragment as Fragment13, jsx as jsx80, jsxs as jsxs56 } from "@emotion/react/jsx-runtime";
12199
+ var Popover2 = ({
12200
+ iconColor = "green",
12201
+ buttonText,
12202
+ ariaLabel,
12203
+ placement = "bottom",
12204
+ children
12205
+ }) => {
12206
+ const popover = usePopoverState({ placement });
12207
+ return /* @__PURE__ */ jsxs56(Fragment13, { children: [
12208
+ /* @__PURE__ */ jsxs56(PopoverDisclosure, { ...popover, css: PopoverBtn, title: buttonText, children: [
12209
+ /* @__PURE__ */ jsx80(Icon, { icon: "info", iconColor, size: "1rem" }),
12210
+ /* @__PURE__ */ jsx80("span", { hidden: true, children: buttonText })
12211
+ ] }),
12212
+ /* @__PURE__ */ jsx80(Portal2, { children: /* @__PURE__ */ jsx80(ReakitPopover, { css: Popover, ...popover, "aria-label": ariaLabel, children }) })
12213
+ ] });
12214
+ };
12215
+
12158
12216
  // src/components/Skeleton/Skeleton.styles.ts
12159
- import { css as css57, keyframes as keyframes4 } from "@emotion/react";
12217
+ import { css as css58, keyframes as keyframes4 } from "@emotion/react";
12160
12218
  var lightFadingOut = keyframes4`
12161
12219
  from { opacity: 0.1; }
12162
12220
  to { opacity: 0.025; }
12163
12221
  `;
12164
- var skeletonStyles = css57`
12222
+ var skeletonStyles = css58`
12165
12223
  animation: ${lightFadingOut} 1s ease-out infinite alternate;
12166
12224
  background-color: var(--gray-900);
12167
12225
  `;
12168
12226
 
12169
12227
  // src/components/Skeleton/Skeleton.tsx
12170
- import { jsx as jsx80 } from "@emotion/react/jsx-runtime";
12228
+ import { jsx as jsx81 } from "@emotion/react/jsx-runtime";
12171
12229
  var Skeleton = ({
12172
12230
  width = "100%",
12173
12231
  height = "1.25rem",
@@ -12175,7 +12233,7 @@ var Skeleton = ({
12175
12233
  circle = false,
12176
12234
  children,
12177
12235
  ...otherProps
12178
- }) => /* @__PURE__ */ jsx80(
12236
+ }) => /* @__PURE__ */ jsx81(
12179
12237
  "div",
12180
12238
  {
12181
12239
  css: [
@@ -12198,8 +12256,8 @@ var Skeleton = ({
12198
12256
  import * as React15 from "react";
12199
12257
 
12200
12258
  // src/components/Switch/Switch.styles.ts
12201
- import { css as css58 } from "@emotion/react";
12202
- var SwitchInputContainer = css58`
12259
+ import { css as css59 } from "@emotion/react";
12260
+ var SwitchInputContainer = css59`
12203
12261
  cursor: pointer;
12204
12262
  display: inline-block;
12205
12263
  position: relative;
@@ -12208,7 +12266,7 @@ var SwitchInputContainer = css58`
12208
12266
  vertical-align: middle;
12209
12267
  user-select: none;
12210
12268
  `;
12211
- var SwitchInput = css58`
12269
+ var SwitchInput = css59`
12212
12270
  appearance: none;
12213
12271
  border-radius: var(--rounded-full);
12214
12272
  background-color: var(--white);
@@ -12246,7 +12304,7 @@ var SwitchInput = css58`
12246
12304
  cursor: not-allowed;
12247
12305
  }
12248
12306
  `;
12249
- var SwitchInputDisabled = css58`
12307
+ var SwitchInputDisabled = css59`
12250
12308
  opacity: var(--opacity-50);
12251
12309
  cursor: not-allowed;
12252
12310
 
@@ -12254,7 +12312,7 @@ var SwitchInputDisabled = css58`
12254
12312
  cursor: not-allowed;
12255
12313
  }
12256
12314
  `;
12257
- var SwitchInputLabel = css58`
12315
+ var SwitchInputLabel = css59`
12258
12316
  align-items: center;
12259
12317
  color: var(--brand-secondary-1);
12260
12318
  display: inline-flex;
@@ -12276,26 +12334,26 @@ var SwitchInputLabel = css58`
12276
12334
  top: 0;
12277
12335
  }
12278
12336
  `;
12279
- var SwitchText = css58`
12337
+ var SwitchText = css59`
12280
12338
  color: var(--gray-500);
12281
12339
  font-size: var(--fs-sm);
12282
12340
  padding-inline: var(--spacing-2xl) 0;
12283
12341
  `;
12284
12342
 
12285
12343
  // src/components/Switch/Switch.tsx
12286
- import { Fragment as Fragment13, jsx as jsx81, jsxs as jsxs56 } from "@emotion/react/jsx-runtime";
12344
+ import { Fragment as Fragment14, jsx as jsx82, jsxs as jsxs57 } from "@emotion/react/jsx-runtime";
12287
12345
  var Switch = React15.forwardRef(
12288
12346
  ({ label, infoText, toggleText, children, ...inputProps }, ref) => {
12289
12347
  let additionalText = infoText;
12290
12348
  if (infoText && toggleText) {
12291
12349
  additionalText = inputProps.checked ? toggleText : infoText;
12292
12350
  }
12293
- return /* @__PURE__ */ jsxs56(Fragment13, { children: [
12294
- /* @__PURE__ */ jsxs56("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
12295
- /* @__PURE__ */ jsx81("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
12296
- /* @__PURE__ */ jsx81("span", { css: SwitchInputLabel, children: label })
12351
+ return /* @__PURE__ */ jsxs57(Fragment14, { children: [
12352
+ /* @__PURE__ */ jsxs57("label", { css: [SwitchInputContainer, inputProps.disabled ? SwitchInputDisabled : void 0], children: [
12353
+ /* @__PURE__ */ jsx82("input", { type: "checkbox", css: SwitchInput, ...inputProps, ref }),
12354
+ /* @__PURE__ */ jsx82("span", { css: SwitchInputLabel, children: label })
12297
12355
  ] }),
12298
- additionalText ? /* @__PURE__ */ jsx81("p", { css: SwitchText, children: additionalText }) : null,
12356
+ additionalText ? /* @__PURE__ */ jsx82("p", { css: SwitchText, children: additionalText }) : null,
12299
12357
  children
12300
12358
  ] });
12301
12359
  }
@@ -12305,69 +12363,69 @@ var Switch = React15.forwardRef(
12305
12363
  import * as React16 from "react";
12306
12364
 
12307
12365
  // src/components/Table/Table.styles.ts
12308
- import { css as css59 } from "@emotion/react";
12309
- var table = css59`
12366
+ import { css as css60 } from "@emotion/react";
12367
+ var table = css60`
12310
12368
  border-bottom: 1px solid var(--gray-400);
12311
12369
  border-collapse: collapse;
12312
12370
  min-width: 100%;
12313
12371
  table-layout: auto;
12314
12372
  `;
12315
- var tableHead = css59`
12373
+ var tableHead = css60`
12316
12374
  background: var(--gray-100);
12317
12375
  color: var(--brand-secondary-1);
12318
12376
  text-align: left;
12319
12377
  `;
12320
- var tableRow = css59`
12378
+ var tableRow = css60`
12321
12379
  border-bottom: 1px solid var(--gray-200);
12322
12380
  `;
12323
- var tableCellHead = css59`
12381
+ var tableCellHead = css60`
12324
12382
  font-size: var(--fs-sm);
12325
12383
  padding: var(--spacing-base) var(--spacing-md);
12326
12384
  text-transform: uppercase;
12327
12385
  font-weight: var(--fw-bold);
12328
12386
  `;
12329
- var tableCellData = css59`
12387
+ var tableCellData = css60`
12330
12388
  padding: var(--spacing-base) var(--spacing-md);
12331
12389
  `;
12332
12390
 
12333
12391
  // src/components/Table/Table.tsx
12334
- import { jsx as jsx82 } from "@emotion/react/jsx-runtime";
12392
+ import { jsx as jsx83 } from "@emotion/react/jsx-runtime";
12335
12393
  var Table = React16.forwardRef(({ children, ...otherProps }, ref) => {
12336
- return /* @__PURE__ */ jsx82("table", { ref, css: table, ...otherProps, children });
12394
+ return /* @__PURE__ */ jsx83("table", { ref, css: table, ...otherProps, children });
12337
12395
  });
12338
12396
  var TableHead = React16.forwardRef(
12339
12397
  ({ children, ...otherProps }, ref) => {
12340
- return /* @__PURE__ */ jsx82("thead", { ref, css: tableHead, ...otherProps, children });
12398
+ return /* @__PURE__ */ jsx83("thead", { ref, css: tableHead, ...otherProps, children });
12341
12399
  }
12342
12400
  );
12343
12401
  var TableBody = React16.forwardRef(
12344
12402
  ({ children, ...otherProps }, ref) => {
12345
- return /* @__PURE__ */ jsx82("tbody", { ref, ...otherProps, children });
12403
+ return /* @__PURE__ */ jsx83("tbody", { ref, ...otherProps, children });
12346
12404
  }
12347
12405
  );
12348
12406
  var TableFoot = React16.forwardRef(
12349
12407
  ({ children, ...otherProps }, ref) => {
12350
- return /* @__PURE__ */ jsx82("tfoot", { ref, ...otherProps, children });
12408
+ return /* @__PURE__ */ jsx83("tfoot", { ref, ...otherProps, children });
12351
12409
  }
12352
12410
  );
12353
12411
  var TableRow = React16.forwardRef(
12354
12412
  ({ children, ...otherProps }, ref) => {
12355
- return /* @__PURE__ */ jsx82("tr", { ref, css: tableRow, ...otherProps, children });
12413
+ return /* @__PURE__ */ jsx83("tr", { ref, css: tableRow, ...otherProps, children });
12356
12414
  }
12357
12415
  );
12358
12416
  var TableCellHead = React16.forwardRef(
12359
12417
  ({ children, ...otherProps }, ref) => {
12360
- return /* @__PURE__ */ jsx82("th", { ref, css: tableCellHead, ...otherProps, children });
12418
+ return /* @__PURE__ */ jsx83("th", { ref, css: tableCellHead, ...otherProps, children });
12361
12419
  }
12362
12420
  );
12363
12421
  var TableCellData = React16.forwardRef(
12364
12422
  ({ children, ...otherProps }, ref) => {
12365
- return /* @__PURE__ */ jsx82("td", { ref, css: tableCellData, ...otherProps, children });
12423
+ return /* @__PURE__ */ jsx83("td", { ref, css: tableCellData, ...otherProps, children });
12366
12424
  }
12367
12425
  );
12368
12426
 
12369
12427
  // src/components/Tabs/Tabs.tsx
12370
- import { createContext as createContext6, useContext as useContext7, useEffect as useEffect7, useMemo as useMemo2 } from "react";
12428
+ import { createContext as createContext6, useContext as useContext7, useEffect as useEffect8, useMemo as useMemo2 } from "react";
12371
12429
  import {
12372
12430
  Tab as ReakitTab,
12373
12431
  TabList as ReakitTabList,
@@ -12376,8 +12434,8 @@ import {
12376
12434
  } from "reakit/Tab";
12377
12435
 
12378
12436
  // src/components/Tabs/Tabs.styles.ts
12379
- import { css as css60 } from "@emotion/react";
12380
- var tabButtonStyles = css60`
12437
+ import { css as css61 } from "@emotion/react";
12438
+ var tabButtonStyles = css61`
12381
12439
  align-items: center;
12382
12440
  border: 0;
12383
12441
  height: 2.5rem;
@@ -12394,14 +12452,14 @@ var tabButtonStyles = css60`
12394
12452
  -webkit-text-stroke-width: thin;
12395
12453
  }
12396
12454
  `;
12397
- var tabButtonGroupStyles = css60`
12455
+ var tabButtonGroupStyles = css61`
12398
12456
  display: flex;
12399
12457
  gap: var(--spacing-base);
12400
12458
  border-bottom: 1px solid var(--gray-300);
12401
12459
  `;
12402
12460
 
12403
12461
  // src/components/Tabs/Tabs.tsx
12404
- import { jsx as jsx83 } from "@emotion/react/jsx-runtime";
12462
+ import { jsx as jsx84 } from "@emotion/react/jsx-runtime";
12405
12463
  var CurrentTabContext = createContext6(null);
12406
12464
  var useCurrentTab = () => {
12407
12465
  const context = useContext7(CurrentTabContext);
@@ -12417,7 +12475,7 @@ var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...prop
12417
12475
  return useHashForState && typeof window !== "undefined" && window.location.hash ? window.location.hash.substring(1) : void 0;
12418
12476
  }, [selectedId, useHashForState]);
12419
12477
  const tab = useTabState({ ...props, selectedId: selected });
12420
- useEffect7(() => {
12478
+ useEffect8(() => {
12421
12479
  var _a;
12422
12480
  const selectedValueWithoutNull = (_a = tab.selectedId) != null ? _a : void 0;
12423
12481
  onSelectedIdChange == null ? void 0 : onSelectedIdChange(selectedValueWithoutNull);
@@ -12425,29 +12483,29 @@ var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...prop
12425
12483
  window.location.hash = selectedValueWithoutNull != null ? selectedValueWithoutNull : "";
12426
12484
  }
12427
12485
  }, [tab.selectedId, onSelectedIdChange, useHashForState]);
12428
- useEffect7(() => {
12486
+ useEffect8(() => {
12429
12487
  if (selected && selected !== tab.selectedId) {
12430
12488
  tab.setSelectedId(selected);
12431
12489
  }
12432
12490
  }, [selected]);
12433
- return /* @__PURE__ */ jsx83(CurrentTabContext.Provider, { value: tab, children });
12491
+ return /* @__PURE__ */ jsx84(CurrentTabContext.Provider, { value: tab, children });
12434
12492
  };
12435
12493
  var TabButtonGroup = ({ children, ...props }) => {
12436
12494
  const currentTab = useCurrentTab();
12437
- return /* @__PURE__ */ jsx83(ReakitTabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
12495
+ return /* @__PURE__ */ jsx84(ReakitTabList, { ...props, ...currentTab, css: tabButtonGroupStyles, children });
12438
12496
  };
12439
12497
  var TabButton = ({ children, id, ...props }) => {
12440
12498
  const currentTab = useCurrentTab();
12441
- return /* @__PURE__ */ jsx83(ReakitTab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
12499
+ return /* @__PURE__ */ jsx84(ReakitTab, { type: "button", id, ...currentTab, ...props, css: tabButtonStyles, children });
12442
12500
  };
12443
12501
  var TabContent = ({ children, ...props }) => {
12444
12502
  const currentTab = useCurrentTab();
12445
- return /* @__PURE__ */ jsx83(ReakitTabPanel, { ...props, ...currentTab, children });
12503
+ return /* @__PURE__ */ jsx84(ReakitTabPanel, { ...props, ...currentTab, children });
12446
12504
  };
12447
12505
 
12448
12506
  // src/components/Validation/StatusBullet.styles.ts
12449
- import { css as css61 } from "@emotion/react";
12450
- var StatusBulletContainer = css61`
12507
+ import { css as css62 } from "@emotion/react";
12508
+ var StatusBulletContainer = css62`
12451
12509
  align-items: center;
12452
12510
  align-self: center;
12453
12511
  color: var(--gray-500);
@@ -12467,19 +12525,19 @@ var StatusBulletContainer = css61`
12467
12525
  height: var(--fs-xs);
12468
12526
  }
12469
12527
  `;
12470
- var StatusDraft = css61`
12528
+ var StatusDraft = css62`
12471
12529
  &:before {
12472
12530
  background: var(--white);
12473
12531
  box-shadow: inset 0 0 0 0.125rem var(--brand-primary-1);
12474
12532
  }
12475
12533
  `;
12476
- var StatusModified = css61`
12534
+ var StatusModified = css62`
12477
12535
  &:before {
12478
12536
  background: linear-gradient(to right, var(--white) 50%, var(--brand-primary-1) 50% 100%);
12479
12537
  box-shadow: inset 0 0 0 0.125rem var(--brand-primary-1);
12480
12538
  }
12481
12539
  `;
12482
- var StatusError = css61`
12540
+ var StatusError = css62`
12483
12541
  color: var(--error);
12484
12542
  &:before {
12485
12543
  background: var(--error);
@@ -12495,19 +12553,19 @@ var StatusError = css61`
12495
12553
  rotate: -45deg;
12496
12554
  }
12497
12555
  `;
12498
- var StatusPublished = css61`
12556
+ var StatusPublished = css62`
12499
12557
  &:before {
12500
12558
  background: var(--brand-secondary-3);
12501
12559
  }
12502
12560
  `;
12503
- var StatusOrphan = css61`
12561
+ var StatusOrphan = css62`
12504
12562
  &:before {
12505
12563
  background: var(--brand-secondary-5);
12506
12564
  }
12507
12565
  `;
12508
12566
 
12509
12567
  // src/components/Validation/StatusBullet.tsx
12510
- import { jsx as jsx84 } from "@emotion/react/jsx-runtime";
12568
+ import { jsx as jsx85 } from "@emotion/react/jsx-runtime";
12511
12569
  var StatusBullet = ({ status, hideText = false, message, ...props }) => {
12512
12570
  const currentStateStyles = {
12513
12571
  Error: StatusError,
@@ -12517,7 +12575,7 @@ var StatusBullet = ({ status, hideText = false, message, ...props }) => {
12517
12575
  Published: StatusPublished,
12518
12576
  Draft: StatusDraft
12519
12577
  };
12520
- return /* @__PURE__ */ jsx84(
12578
+ return /* @__PURE__ */ jsx85(
12521
12579
  "span",
12522
12580
  {
12523
12581
  css: [StatusBulletContainer, currentStateStyles[status]],
@@ -12607,6 +12665,7 @@ export {
12607
12665
  ParameterTextareaInner,
12608
12666
  ParameterToggle,
12609
12667
  ParameterToggleInner,
12668
+ Popover2 as Popover,
12610
12669
  ResolveIcon,
12611
12670
  ScrollableList,
12612
12671
  ScrollableListInputItem,