@uniformdev/design-system 19.45.0 → 19.45.2-alpha.6

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
@@ -15181,57 +15181,67 @@ var ScrollableListItem = ({
15181
15181
 
15182
15182
  // src/components/LoadingIndicator/LoadingIndicator.styles.ts
15183
15183
  import { css as css67, keyframes as keyframes3 } from "@emotion/react";
15184
- var bounceFade = keyframes3`
15184
+ function bounceFade(size) {
15185
+ const bounceHeight = size === "lg" ? 10 : 5;
15186
+ return keyframes3`
15185
15187
  0%, 100% {
15186
- opacity: 1.0;
15187
- transform: translateY(0);
15188
+ opacity: 1.0;
15189
+ transform: translateY(0);
15188
15190
  }
15189
15191
  30% {
15190
- opacity: 0.6;
15192
+ opacity: 0.6;
15191
15193
  }
15192
15194
  80% {
15193
- opacity: 0.4;
15194
- transform: translateY(-10px);
15195
+ opacity: 0.4;
15196
+ transform: translateY(-${bounceHeight}px);
15195
15197
  }
15196
15198
  90% {
15197
15199
  opacity: 0.2;
15198
- transform: translateY(-5px);
15200
+ transform: translateY(-${bounceHeight / 2}px);
15199
15201
  }
15200
15202
  `;
15203
+ }
15201
15204
  var loader = css67`
15202
15205
  display: inline-flex;
15203
15206
  justify-content: center;
15204
15207
  `;
15205
- var loadingDot = css67`
15206
- background-color: var(--gray-700);
15207
- display: block;
15208
- border-radius: var(--rounded-full);
15209
- animation: ${bounceFade} 0.75s infinite ease-in-out;
15210
- width: 8px;
15211
- height: 8px;
15212
- margin: 0 var(--spacing-xs);
15213
- transform: translateY(0);
15208
+ function loadingDot(size) {
15209
+ const dotSize = size === "lg" ? 8 : 4;
15210
+ return css67`
15211
+ background-color: var(--gray-700);
15212
+ display: block;
15213
+ border-radius: var(--rounded-full);
15214
+ animation: ${bounceFade(size)} 0.75s infinite ease-in-out;
15215
+ width: ${dotSize}px;
15216
+ height: ${dotSize}px;
15217
+ margin: 0 var(--spacing-${size === "lg" ? "xs" : "2xs"});
15218
+ transform: translateY(0);
15214
15219
 
15215
- &:nth-of-type(1) {
15216
- animation-delay: 0.15s;
15217
- }
15220
+ &:nth-of-type(1) {
15221
+ animation-delay: 0.15s;
15222
+ }
15218
15223
 
15219
- &:nth-of-type(2) {
15220
- animation-delay: 0.3s;
15221
- }
15224
+ &:nth-of-type(2) {
15225
+ animation-delay: 0.3s;
15226
+ }
15222
15227
 
15223
- &:nth-of-type(3) {
15224
- animation-delay: 0.6s;
15225
- }
15226
- `;
15228
+ &:nth-of-type(3) {
15229
+ animation-delay: 0.6s;
15230
+ }
15231
+ `;
15232
+ }
15227
15233
 
15228
15234
  // src/components/LoadingIndicator/LoadingIndicator.tsx
15229
15235
  import { jsx as jsx81, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
15230
- var LoadingIndicator = ({ ...props }) => {
15236
+ var LoadingIndicator = ({
15237
+ size = "lg",
15238
+ ...props
15239
+ }) => {
15240
+ const dotStyle = loadingDot(size);
15231
15241
  return /* @__PURE__ */ jsxs53("div", { role: "alert", css: loader, "data-testid": "loading-indicator", ...props, children: [
15232
- /* @__PURE__ */ jsx81("span", { css: loadingDot }),
15233
- /* @__PURE__ */ jsx81("span", { css: loadingDot }),
15234
- /* @__PURE__ */ jsx81("span", { css: loadingDot })
15242
+ /* @__PURE__ */ jsx81("span", { css: dotStyle }),
15243
+ /* @__PURE__ */ jsx81("span", { css: dotStyle }),
15244
+ /* @__PURE__ */ jsx81("span", { css: dotStyle })
15235
15245
  ] });
15236
15246
  };
15237
15247
 
@@ -15724,17 +15734,6 @@ var textarea2 = css71`
15724
15734
  resize: vertical;
15725
15735
  min-height: 2rem;
15726
15736
  `;
15727
- var imageWrapper = css71`
15728
- background: var(--white);
15729
- `;
15730
- var img = css71`
15731
- animation: ${fadeIn} var(--duration-fast) var(--timing-ease-out) forwards;
15732
- object-fit: contain;
15733
- max-width: 100%;
15734
- height: auto;
15735
- opacity: var(--opacity-0);
15736
- margin: var(--spacing-sm) auto 0;
15737
- `;
15738
15737
  var dataConnectButton = css71`
15739
15738
  align-items: center;
15740
15739
  appearance: none;
@@ -15921,6 +15920,7 @@ import { forwardRef as forwardRef11, useDeferredValue } from "react";
15921
15920
 
15922
15921
  // src/components/ParameterInputs/ParameterImagePreview.tsx
15923
15922
  import { useCallback as useCallback3, useEffect as useEffect9, useState as useState9 } from "react";
15923
+ import { createPortal as createPortal2 } from "react-dom";
15924
15924
 
15925
15925
  // src/utils/url.ts
15926
15926
  var isValidUrl = (url, options = {}) => {
@@ -15932,17 +15932,113 @@ var isValidUrl = (url, options = {}) => {
15932
15932
  }
15933
15933
  };
15934
15934
 
15935
+ // src/components/ParameterInputs/styles/ParameterImage.styles.ts
15936
+ import { css as css74 } from "@emotion/react";
15937
+ var imageWrapper = css74`
15938
+ position: relative;
15939
+ display: flex;
15940
+ flex-direction: column;
15941
+ background: var(--gray-50);
15942
+ max-width: 100%;
15943
+ max-height: 100%;
15944
+ `;
15945
+ var imageWrapperLoading = css74`
15946
+ animation: ${skeletonLoading} var(--duration-slow) linear infinite alternate;
15947
+ `;
15948
+ var img = css74`
15949
+ object-fit: contain;
15950
+ max-width: 100%;
15951
+ height: auto;
15952
+ opacity: var(--opacity-0);
15953
+ margin: 0 auto;
15954
+ `;
15955
+ var imgLoading = css74`
15956
+ opacity: 0;
15957
+ `;
15958
+ var imgLoaded = css74`
15959
+ animation: ${fadeIn} var(--duration-slow) var(--timing-ease-out) forwards;
15960
+ opacity: 1;
15961
+ `;
15962
+ var brokenImage = css74`
15963
+ height: 160px;
15964
+ `;
15965
+ var previewWrapper = css74`
15966
+ margin-top: var(--spacing-xs);
15967
+ background: var(--gray-50);
15968
+ padding: var(--spacing-sm);
15969
+ border: solid 1px var(--gray-300);
15970
+ border-radius: var(--rounded-sm);
15971
+ `;
15972
+ var previewLink = css74`
15973
+ display: block;
15974
+ width: 100%;
15975
+
15976
+ img {
15977
+ max-height: 9rem;
15978
+ }
15979
+ `;
15980
+ var previewModalWrapper = css74`
15981
+ background: var(--gray-50);
15982
+ display: flex;
15983
+ height: 100%;
15984
+ justify-content: center;
15985
+ align-items: center;
15986
+ border: solid 1px var(--gray-300);
15987
+ border-radius: var(--rounded-sm);
15988
+ `;
15989
+ var previewModalImage = css74`
15990
+ display: flex;
15991
+ height: 100%;
15992
+ width: 100%;
15993
+ justify-content: center;
15994
+ align-items: center;
15995
+ img {
15996
+ max-height: 100%;
15997
+ }
15998
+ `;
15999
+
15935
16000
  // src/components/ParameterInputs/ParameterImagePreview.tsx
15936
16001
  import { Fragment as Fragment12, jsx as jsx88, jsxs as jsxs60 } from "@emotion/react/jsx-runtime";
15937
16002
  function ParameterImagePreview({ imageSrc }) {
16003
+ const [showModal, setShowModal] = useState9(false);
16004
+ return imageSrc ? /* @__PURE__ */ jsxs60("div", { css: previewWrapper, children: [
16005
+ /* @__PURE__ */ jsx88(PreviewImageModal, { open: showModal, imageSrc, onRequestClose: () => setShowModal(false) }),
16006
+ /* @__PURE__ */ jsx88(
16007
+ "button",
16008
+ {
16009
+ css: previewLink,
16010
+ onClick: () => {
16011
+ setShowModal(true);
16012
+ },
16013
+ children: /* @__PURE__ */ jsx88(Image, { src: imageSrc })
16014
+ }
16015
+ )
16016
+ ] }) : null;
16017
+ }
16018
+ var PreviewImageModal = ({ open, onRequestClose, imageSrc }) => {
16019
+ return open ? /* @__PURE__ */ jsx88(Fragment12, { children: createPortal2(
16020
+ /* @__PURE__ */ jsx88(
16021
+ Modal,
16022
+ {
16023
+ header: "Image Preview",
16024
+ onRequestClose,
16025
+ withoutContentPadding: true,
16026
+ buttonGroup: /* @__PURE__ */ jsx88(Button, { buttonType: "secondary", onClick: onRequestClose, children: "Ok" }),
16027
+ children: /* @__PURE__ */ jsx88("div", { css: previewModalWrapper, children: /* @__PURE__ */ jsx88(Image, { src: imageSrc, css: previewModalImage }) })
16028
+ }
16029
+ ),
16030
+ document.body
16031
+ ) }) : null;
16032
+ };
16033
+ var Image = ({ src, className }) => {
15938
16034
  const [loading, setLoading] = useState9(false);
15939
16035
  const [loadErrorText, setLoadErrorText] = useState9("");
15940
16036
  const errorText = "The text you provided is not a valid URL";
15941
16037
  const updateImageSrc = useCallback3(() => {
15942
16038
  let message = "";
15943
16039
  try {
15944
- if (imageSrc !== "") {
15945
- const url = String(imageSrc).startsWith("//") ? `${location.protocol}${imageSrc}` : String(imageSrc);
16040
+ if (src !== "") {
16041
+ const url = String(src).startsWith("//") ? `${location.protocol}${src}` : String(src);
15946
16042
  if (!isValidUrl(url) || !url.startsWith("https")) {
15947
16043
  throw Error(errorText);
15948
16044
  }
@@ -15952,43 +16048,49 @@ function ParameterImagePreview({ imageSrc }) {
15952
16048
  message = errorText;
15953
16049
  }
15954
16050
  setLoadErrorText(message);
15955
- }, [setLoadErrorText, imageSrc]);
16051
+ }, [setLoadErrorText, src]);
15956
16052
  useEffect9(() => {
15957
16053
  updateImageSrc();
15958
- }, [imageSrc]);
16054
+ }, [src]);
15959
16055
  const handleLoadEvent = () => {
15960
16056
  setLoadErrorText("");
15961
- if (imageSrc) {
16057
+ if (src) {
15962
16058
  setLoading(true);
15963
16059
  }
15964
16060
  const timer = setTimeout(() => {
15965
16061
  setLoading(false);
15966
- }, 200);
16062
+ }, 1e3);
15967
16063
  return () => clearTimeout(timer);
15968
16064
  };
15969
16065
  const handleErrorEvent = () => {
15970
16066
  setLoadErrorText("The value you provided is not a valid image URL");
15971
16067
  };
15972
- return /* @__PURE__ */ jsxs60("div", { css: imageWrapper, children: [
15973
- imageSrc && !loadErrorText ? /* @__PURE__ */ jsx88(
15974
- "img",
15975
- {
15976
- src: imageSrc,
15977
- css: img,
15978
- alt: "image preview",
15979
- onLoad: handleLoadEvent,
15980
- onError: handleErrorEvent,
15981
- loading: "lazy",
15982
- "data-testid": "parameter-image-preview"
15983
- }
15984
- ) : null,
15985
- imageSrc && loadErrorText ? /* @__PURE__ */ jsxs60(Fragment12, { children: [
15986
- /* @__PURE__ */ jsx88(BrokenImage, { css: img }),
15987
- /* @__PURE__ */ jsx88(ErrorMessage, { message: loadErrorText })
15988
- ] }) : null,
15989
- loading && /* @__PURE__ */ jsx88(LoadingIcon, {})
15990
- ] });
15991
- }
16068
+ return /* @__PURE__ */ jsxs60(
16069
+ "span",
16070
+ {
16071
+ className,
16072
+ css: [imageWrapper, loading ? imageWrapperLoading : null],
16073
+ children: [
16074
+ src && !loadErrorText ? /* @__PURE__ */ jsx88(
16075
+ "img",
16076
+ {
16077
+ src,
16078
+ css: [img, loading ? imgLoading : imgLoaded],
16079
+ alt: "image preview",
16080
+ onLoad: handleLoadEvent,
16081
+ onError: handleErrorEvent,
16082
+ loading: "lazy",
16083
+ "data-testid": "parameter-image-preview"
16084
+ }
16085
+ ) : null,
16086
+ src && loadErrorText ? /* @__PURE__ */ jsxs60(Fragment12, { children: [
16087
+ /* @__PURE__ */ jsx88(BrokenImage, { css: [brokenImage, img, imgLoaded] }),
16088
+ /* @__PURE__ */ jsx88(ErrorMessage, { message: loadErrorText })
16089
+ ] }) : null
16090
+ ]
16091
+ }
16092
+ );
16093
+ };
15992
16094
  var BrokenImage = ({ ...props }) => {
15993
16095
  return /* @__PURE__ */ jsxs60(
15994
16096
  "svg",
@@ -16058,8 +16160,8 @@ var ParameterMenuButton = forwardRef10(
16058
16160
  );
16059
16161
 
16060
16162
  // src/components/ParameterInputs/styles/ParameterShell.styles.ts
16061
- import { css as css74 } from "@emotion/react";
16062
- var emptyParameterShell = css74`
16163
+ import { css as css75 } from "@emotion/react";
16164
+ var emptyParameterShell = css75`
16063
16165
  border-radius: var(--rounded-sm);
16064
16166
  background: var(--white);
16065
16167
  flex-grow: 1;
@@ -16067,7 +16169,7 @@ var emptyParameterShell = css74`
16067
16169
  position: relative;
16068
16170
  max-width: 100%;
16069
16171
  `;
16070
- var emptyParameterShellText = css74`
16172
+ var emptyParameterShellText = css75`
16071
16173
  background: var(--brand-secondary-6);
16072
16174
  border-radius: var(--rounded-sm);
16073
16175
  padding: var(--spacing-sm);
@@ -16075,7 +16177,7 @@ var emptyParameterShellText = css74`
16075
16177
  font-size: var(--fs-sm);
16076
16178
  margin: 0;
16077
16179
  `;
16078
- var overrideMarker = css74`
16180
+ var overrideMarker = css75`
16079
16181
  border-radius: var(--rounded-sm);
16080
16182
  border: 10px solid var(--gray-300);
16081
16183
  border-left-color: transparent;
@@ -16128,6 +16230,7 @@ var extractParameterProps = (props) => {
16128
16230
  var ParameterShell = ({
16129
16231
  label,
16130
16232
  labelLeadingIcon,
16233
+ labelTrailingIcon,
16131
16234
  hiddenLabel,
16132
16235
  id,
16133
16236
  errorMessage,
@@ -16148,12 +16251,14 @@ var ParameterShell = ({
16148
16251
  const errorMessaging = errorMessage || manualErrorMessage;
16149
16252
  return /* @__PURE__ */ jsxs61("div", { css: inputContainer2, ...props, children: [
16150
16253
  hiddenLabel || title ? null : /* @__PURE__ */ jsxs61(ParameterLabel, { id, css: labelText2, children: [
16151
- labelLeadingIcon ? labelLeadingIcon : null,
16152
- label
16254
+ labelLeadingIcon != null ? labelLeadingIcon : null,
16255
+ label,
16256
+ labelTrailingIcon != null ? labelTrailingIcon : null
16153
16257
  ] }),
16154
16258
  !title ? null : /* @__PURE__ */ jsxs61(ParameterLabel, { id, asSpan: true, children: [
16155
- labelLeadingIcon ? labelLeadingIcon : null,
16156
- title
16259
+ labelLeadingIcon != null ? labelLeadingIcon : null,
16260
+ title,
16261
+ labelTrailingIcon != null ? labelTrailingIcon : null
16157
16262
  ] }),
16158
16263
  /* @__PURE__ */ jsxs61("div", { css: inputWrapper, children: [
16159
16264
  menuItems ? /* @__PURE__ */ jsx91(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
@@ -16187,10 +16292,15 @@ var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx91(Tooltip, { title:
16187
16292
 
16188
16293
  // src/components/ParameterInputs/ParameterImage.tsx
16189
16294
  import { Fragment as Fragment13, jsx as jsx92, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
16190
- var ParameterImage = forwardRef11((props, ref) => {
16191
- const { shellProps, innerProps } = extractParameterProps(props);
16192
- return /* @__PURE__ */ jsx92(ParameterShell, { "data-testid": "parameter-image", ...shellProps, children: /* @__PURE__ */ jsx92(ParameterImageInner, { ref, ...innerProps, disablePreview: props.disablePreview }) });
16193
- });
16295
+ var ParameterImage = forwardRef11(
16296
+ ({ children, ...props }, ref) => {
16297
+ const { shellProps, innerProps } = extractParameterProps(props);
16298
+ return /* @__PURE__ */ jsxs62(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: [
16299
+ /* @__PURE__ */ jsx92(ParameterImageInner, { ref, ...innerProps }),
16300
+ children
16301
+ ] });
16302
+ }
16303
+ );
16194
16304
  var ParameterImageInner = forwardRef11((props, ref) => {
16195
16305
  const { value } = props;
16196
16306
  const { id, label, hiddenLabel, errorMessage } = useParameterShell();
@@ -16387,7 +16497,7 @@ var ParameterNameAndPublicIdInput = ({
16387
16497
  };
16388
16498
 
16389
16499
  // src/components/ParameterInputs/ParameterRichText.tsx
16390
- import { css as css79 } from "@emotion/react";
16500
+ import { css as css80 } from "@emotion/react";
16391
16501
  import { ListItemNode, ListNode as ListNode2 } from "@lexical/list";
16392
16502
  import {
16393
16503
  CODE,
@@ -16539,23 +16649,23 @@ function DisableStylesPlugin() {
16539
16649
  }
16540
16650
 
16541
16651
  // src/components/ParameterInputs/rich-text/editorStyles.ts
16542
- import { css as css75 } from "@emotion/css";
16543
- var textBold = css75`
16652
+ import { css as css76 } from "@emotion/css";
16653
+ var textBold = css76`
16544
16654
  font-weight: 700;
16545
16655
  `;
16546
- var textItalic = css75`
16656
+ var textItalic = css76`
16547
16657
  font-style: italic;
16548
16658
  `;
16549
- var textUnderline = css75`
16659
+ var textUnderline = css76`
16550
16660
  text-decoration: underline;
16551
16661
  `;
16552
- var textStrikethrough = css75`
16662
+ var textStrikethrough = css76`
16553
16663
  text-decoration: line-through;
16554
16664
  `;
16555
- var textUnderlineStrikethrough = css75`
16665
+ var textUnderlineStrikethrough = css76`
16556
16666
  text-decoration: underline line-through;
16557
16667
  `;
16558
- var textCode = css75`
16668
+ var textCode = css76`
16559
16669
  background-color: var(--gray-100);
16560
16670
  border-radius: var(--rounded-sm);
16561
16671
  display: inline-block;
@@ -16566,68 +16676,68 @@ var textCode = css75`
16566
16676
  padding-left: var(--spacing-xs);
16567
16677
  padding-right: var(--spacing-xs);
16568
16678
  `;
16569
- var textSuperscript = css75`
16679
+ var textSuperscript = css76`
16570
16680
  vertical-align: super;
16571
16681
  font-size: smaller;
16572
16682
  `;
16573
- var textSubscript = css75`
16683
+ var textSubscript = css76`
16574
16684
  vertical-align: sub;
16575
16685
  font-size: smaller;
16576
16686
  `;
16577
- var linkElement = css75`
16687
+ var linkElement = css76`
16578
16688
  ${link}
16579
16689
  ${linkColorDefault}
16580
16690
  text-decoration: underline;
16581
16691
  `;
16582
- var h12 = css75`
16692
+ var h12 = css76`
16583
16693
  font-size: clamp(1.35rem, var(--fluid-font-base), 1.7rem);
16584
16694
  `;
16585
- var h22 = css75`
16695
+ var h22 = css76`
16586
16696
  font-size: clamp(1.35rem, var(--fluid-font-base), 1.6rem);
16587
16697
  `;
16588
- var h32 = css75`
16698
+ var h32 = css76`
16589
16699
  font-size: clamp(1.25rem, var(--fluid-font-base), 1.5rem);
16590
16700
  `;
16591
- var h42 = css75`
16701
+ var h42 = css76`
16592
16702
  font-size: clamp(1.15rem, var(--fluid-font-base), 1.25rem);
16593
16703
  `;
16594
- var h52 = css75`
16704
+ var h52 = css76`
16595
16705
  font-size: clamp(var(--fs-base), var(--fluid-font-base), 1.15rem);
16596
16706
  `;
16597
- var h62 = css75`
16707
+ var h62 = css76`
16598
16708
  font-size: var(--fs-base);
16599
16709
  `;
16600
- var heading1Element = css75`
16710
+ var heading1Element = css76`
16601
16711
  ${h12}
16602
16712
  ${commonHeadingAttr(true)}
16603
16713
  ${commonLineHeight}
16604
16714
  `;
16605
- var heading2Element = css75`
16715
+ var heading2Element = css76`
16606
16716
  ${h22}
16607
16717
  ${commonHeadingAttr(true)}
16608
16718
  ${commonLineHeight}
16609
16719
  `;
16610
- var heading3Element = css75`
16720
+ var heading3Element = css76`
16611
16721
  ${h32}
16612
16722
  ${commonHeadingAttr(true)}
16613
16723
  ${commonLineHeight}
16614
16724
  `;
16615
- var heading4Element = css75`
16725
+ var heading4Element = css76`
16616
16726
  ${h42}
16617
16727
  ${commonHeadingAttr(true)}
16618
16728
  ${commonLineHeight}
16619
16729
  `;
16620
- var heading5Element = css75`
16730
+ var heading5Element = css76`
16621
16731
  ${h52}
16622
16732
  ${commonHeadingAttr(true)}
16623
16733
  ${commonLineHeight}
16624
16734
  `;
16625
- var heading6Element = css75`
16735
+ var heading6Element = css76`
16626
16736
  ${h62}
16627
16737
  ${commonHeadingAttr(true)}
16628
16738
  ${commonLineHeight}
16629
16739
  `;
16630
- var paragraphElement = css75`
16740
+ var paragraphElement = css76`
16631
16741
  line-height: 1.5;
16632
16742
  margin-bottom: var(--spacing-base);
16633
16743
 
@@ -16635,7 +16745,7 @@ var paragraphElement = css75`
16635
16745
  margin-bottom: 0;
16636
16746
  }
16637
16747
  `;
16638
- var orderedListElement = css75`
16748
+ var orderedListElement = css76`
16639
16749
  ${commonLineHeight}
16640
16750
  display: block;
16641
16751
  list-style: decimal;
@@ -16664,7 +16774,7 @@ var orderedListElement = css75`
16664
16774
  }
16665
16775
  }
16666
16776
  `;
16667
- var unorderedListElement = css75`
16777
+ var unorderedListElement = css76`
16668
16778
  ${commonLineHeight}
16669
16779
  display: block;
16670
16780
  list-style: disc;
@@ -16685,13 +16795,13 @@ var unorderedListElement = css75`
16685
16795
  }
16686
16796
  }
16687
16797
  `;
16688
- var listItemElement = css75`
16798
+ var listItemElement = css76`
16689
16799
  margin-left: var(--spacing-md);
16690
16800
  `;
16691
- var nestedListItemElement = css75`
16801
+ var nestedListItemElement = css76`
16692
16802
  list-style-type: none;
16693
16803
  `;
16694
- var blockquoteElement = css75`
16804
+ var blockquoteElement = css76`
16695
16805
  border-left: 0.25rem solid var(--gray-300);
16696
16806
  color: var(--gray-600);
16697
16807
  margin-bottom: var(--spacing-base);
@@ -16701,7 +16811,7 @@ var blockquoteElement = css75`
16701
16811
  margin-bottom: 0;
16702
16812
  }
16703
16813
  `;
16704
- var codeElement = css75`
16814
+ var codeElement = css76`
16705
16815
  background-color: var(--gray-100);
16706
16816
  border-radius: var(--rounded-sm);
16707
16817
  display: block;
@@ -16718,7 +16828,7 @@ var codeElement = css75`
16718
16828
  `;
16719
16829
 
16720
16830
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
16721
- import { css as css77 } from "@emotion/react";
16831
+ import { css as css78 } from "@emotion/react";
16722
16832
  import { useLexicalComposerContext as useLexicalComposerContext2 } from "@lexical/react/LexicalComposerContext";
16723
16833
  import { NodeEventPlugin } from "@lexical/react/LexicalNodeEventPlugin";
16724
16834
  import { addClassNamesToElement, isHTMLAnchorElement, mergeRegister as mergeRegister2 } from "@lexical/utils";
@@ -16737,12 +16847,12 @@ import {
16737
16847
  import { useCallback as useCallback4, useEffect as useEffect11, useRef as useRef6, useState as useState11 } from "react";
16738
16848
 
16739
16849
  // src/components/Popover/Popover.styles.ts
16740
- import { css as css76 } from "@emotion/react";
16741
- var PopoverBtn = css76`
16850
+ import { css as css77 } from "@emotion/react";
16851
+ var PopoverBtn = css77`
16742
16852
  border: none;
16743
16853
  background: none;
16744
16854
  `;
16745
- var PopoverDefaulterTriggerBtn = css76`
16855
+ var PopoverDefaulterTriggerBtn = css77`
16746
16856
  border: none;
16747
16857
  background: none;
16748
16858
  padding: var(--spacing-2xs);
@@ -16752,7 +16862,7 @@ var PopoverDefaulterTriggerBtn = css76`
16752
16862
  background-color: rgba(0, 0, 0, 0.05);
16753
16863
  }
16754
16864
  `;
16755
- var Popover = css76`
16865
+ var Popover = css77`
16756
16866
  border-left: var(--spacing-xs) solid var(--brand-secondary-3);
16757
16867
  border-radius: var(--rounded-base);
16758
16868
  box-shadow: var(--shadow-base);
@@ -17088,16 +17198,16 @@ var OPEN_LINK_NODE_MODAL_COMMAND = createCommand(
17088
17198
  );
17089
17199
  var LINK_POPOVER_OFFSET_X = 0;
17090
17200
  var LINK_POPOVER_OFFSET_Y = 8;
17091
- var linkPopover = css77`
17201
+ var linkPopover = css78`
17092
17202
  position: absolute;
17093
17203
  z-index: 5;
17094
17204
  `;
17095
- var linkPopoverContainer = css77`
17205
+ var linkPopoverContainer = css78`
17096
17206
  ${Popover};
17097
17207
  align-items: center;
17098
17208
  display: flex;
17099
17209
  `;
17100
- var linkPopoverAnchor = css77`
17210
+ var linkPopoverAnchor = css78`
17101
17211
  ${link}
17102
17212
  ${linkColorDefault}
17103
17213
  `;
@@ -17344,7 +17454,7 @@ function ListIndentPlugin({ maxDepth }) {
17344
17454
  }
17345
17455
 
17346
17456
  // src/components/ParameterInputs/rich-text/RichTextToolbar.tsx
17347
- import { css as css78 } from "@emotion/react";
17457
+ import { css as css79 } from "@emotion/react";
17348
17458
  import { $createCodeNode } from "@lexical/code";
17349
17459
  import {
17350
17460
  $isListNode as $isListNode2,
@@ -17368,7 +17478,7 @@ import {
17368
17478
  } from "lexical";
17369
17479
  import { useCallback as useCallback5, useEffect as useEffect13, useMemo as useMemo3, useState as useState12 } from "react";
17370
17480
  import { Fragment as Fragment16, jsx as jsx98, jsxs as jsxs66 } from "@emotion/react/jsx-runtime";
17371
- var toolbar = css78`
17481
+ var toolbar = css79`
17372
17482
  background: var(--gray-50);
17373
17483
  border-radius: var(--rounded-base);
17374
17484
  display: flex;
@@ -17380,7 +17490,7 @@ var toolbar = css78`
17380
17490
  top: calc(var(--spacing-sm) * -2);
17381
17491
  z-index: 10;
17382
17492
  `;
17383
- var toolbarGroup = css78`
17493
+ var toolbarGroup = css79`
17384
17494
  display: flex;
17385
17495
  gap: var(--spacing-xs);
17386
17496
  position: relative;
@@ -17396,7 +17506,7 @@ var toolbarGroup = css78`
17396
17506
  width: 1px;
17397
17507
  }
17398
17508
  `;
17399
- var richTextToolbarButton = css78`
17509
+ var richTextToolbarButton = css79`
17400
17510
  align-items: center;
17401
17511
  appearance: none;
17402
17512
  border: 0;
@@ -17409,13 +17519,13 @@ var richTextToolbarButton = css78`
17409
17519
  min-width: 32px;
17410
17520
  padding: 0 var(--spacing-sm);
17411
17521
  `;
17412
- var richTextToolbarButtonActive = css78`
17522
+ var richTextToolbarButtonActive = css79`
17413
17523
  background: var(--gray-200);
17414
17524
  `;
17415
- var toolbarIcon = css78`
17525
+ var toolbarIcon = css79`
17416
17526
  color: inherit;
17417
17527
  `;
17418
- var toolbarChevron = css78`
17528
+ var toolbarChevron = css79`
17419
17529
  margin-left: var(--spacing-xs);
17420
17530
  `;
17421
17531
  var RichTextToolbarIcon = ({ icon }) => {
@@ -17829,18 +17939,18 @@ var ParameterRichText = ({
17829
17939
  }
17830
17940
  );
17831
17941
  };
17832
- var editorWrapper = css79`
17942
+ var editorWrapper = css80`
17833
17943
  display: flex;
17834
17944
  flex-flow: column;
17835
17945
  flex-grow: 1;
17836
17946
  `;
17837
- var editorContainer = css79`
17947
+ var editorContainer = css80`
17838
17948
  display: flex;
17839
17949
  flex-flow: column;
17840
17950
  flex-grow: 1;
17841
17951
  position: relative;
17842
17952
  `;
17843
- var editorPlaceholder = css79`
17953
+ var editorPlaceholder = css80`
17844
17954
  color: var(--gray-500);
17845
17955
  font-style: italic;
17846
17956
  /* 1px is added to make sure caret is clearly visible when field is focused
@@ -17851,7 +17961,7 @@ var editorPlaceholder = css79`
17851
17961
  top: var(--spacing-xs);
17852
17962
  user-select: none;
17853
17963
  `;
17854
- var editorInput = css79`
17964
+ var editorInput = css80`
17855
17965
  background: var(--white);
17856
17966
  border: 1px solid var(--white);
17857
17967
  border-radius: var(--rounded-sm);
@@ -18132,21 +18242,21 @@ var Popover2 = ({
18132
18242
  };
18133
18243
 
18134
18244
  // src/components/ProgressList/ProgressList.tsx
18135
- import { css as css81 } from "@emotion/react";
18245
+ import { css as css82 } from "@emotion/react";
18136
18246
  import { CgCheckO as CgCheckO2 } from "@react-icons/all-files/cg/CgCheckO";
18137
18247
  import { CgRadioCheck } from "@react-icons/all-files/cg/CgRadioCheck";
18138
18248
  import { CgRecord } from "@react-icons/all-files/cg/CgRecord";
18139
18249
  import { useMemo as useMemo4 } from "react";
18140
18250
 
18141
18251
  // src/components/ProgressList/styles/ProgressList.styles.ts
18142
- import { css as css80 } from "@emotion/react";
18143
- var progressListStyles = css80`
18252
+ import { css as css81 } from "@emotion/react";
18253
+ var progressListStyles = css81`
18144
18254
  display: flex;
18145
18255
  flex-direction: column;
18146
18256
  gap: var(--spacing-sm);
18147
18257
  list-style-type: none;
18148
18258
  `;
18149
- var progressListItemStyles = css80`
18259
+ var progressListItemStyles = css81`
18150
18260
  display: flex;
18151
18261
  gap: var(--spacing-base);
18152
18262
  align-items: center;
@@ -18201,12 +18311,12 @@ var ProgressListItem = ({
18201
18311
  }, [status, error]);
18202
18312
  const statusStyles = useMemo4(() => {
18203
18313
  if (error) {
18204
- return errorLevel === "caution" ? css81`
18314
+ return errorLevel === "caution" ? css82`
18205
18315
  color: rgb(161, 98, 7);
18206
18316
  & svg {
18207
18317
  color: rgb(250, 204, 21);
18208
18318
  }
18209
- ` : css81`
18319
+ ` : css82`
18210
18320
  color: rgb(185, 28, 28);
18211
18321
  & svg {
18212
18322
  color: var(--brand-primary-2);
@@ -18214,13 +18324,13 @@ var ProgressListItem = ({
18214
18324
  `;
18215
18325
  }
18216
18326
  const colorPerStatus = {
18217
- completed: css81`
18327
+ completed: css82`
18218
18328
  opacity: 0.75;
18219
18329
  `,
18220
- inProgress: css81`
18330
+ inProgress: css82`
18221
18331
  -webkit-text-stroke-width: thin;
18222
18332
  `,
18223
- queued: css81`
18333
+ queued: css82`
18224
18334
  opacity: 0.5;
18225
18335
  `
18226
18336
  };
@@ -18236,13 +18346,13 @@ var ProgressListItem = ({
18236
18346
  };
18237
18347
 
18238
18348
  // src/components/SegmentedControl/SegmentedControl.tsx
18239
- import { css as css83 } from "@emotion/react";
18349
+ import { css as css84 } from "@emotion/react";
18240
18350
  import { CgCheck as CgCheck4 } from "@react-icons/all-files/cg/CgCheck";
18241
18351
  import { useCallback as useCallback6, useMemo as useMemo5 } from "react";
18242
18352
 
18243
18353
  // src/components/SegmentedControl/SegmentedControl.styles.ts
18244
- import { css as css82 } from "@emotion/react";
18245
- var segmentedControlStyles = css82`
18354
+ import { css as css83 } from "@emotion/react";
18355
+ var segmentedControlStyles = css83`
18246
18356
  --segmented-control-rounded-value: var(--rounded-base);
18247
18357
  --segmented-control-border-width: 1px;
18248
18358
  --segmented-control-selected-color: var(--brand-secondary-3);
@@ -18261,14 +18371,14 @@ var segmentedControlStyles = css82`
18261
18371
  border-radius: calc(var(--segmented-control-rounded-value) + var(--segmented-control-border-width));
18262
18372
  font-size: var(--fs-xs);
18263
18373
  `;
18264
- var segmentedControlVerticalStyles = css82`
18374
+ var segmentedControlVerticalStyles = css83`
18265
18375
  flex-direction: column;
18266
18376
  --segmented-control-first-border-radius: var(--segmented-control-rounded-value)
18267
18377
  var(--segmented-control-rounded-value) 0 0;
18268
18378
  --segmented-control-last-border-radius: 0 0 var(--segmented-control-rounded-value)
18269
18379
  var(--segmented-control-rounded-value);
18270
18380
  `;
18271
- var segmentedControlItemStyles = css82`
18381
+ var segmentedControlItemStyles = css83`
18272
18382
  &:first-of-type label {
18273
18383
  border-radius: var(--segmented-control-first-border-radius);
18274
18384
  }
@@ -18276,10 +18386,10 @@ var segmentedControlItemStyles = css82`
18276
18386
  border-radius: var(--segmented-control-last-border-radius);
18277
18387
  }
18278
18388
  `;
18279
- var segmentedControlInputStyles = css82`
18389
+ var segmentedControlInputStyles = css83`
18280
18390
  ${accessibleHidden}
18281
18391
  `;
18282
- var segmentedControlLabelStyles = (checked, disabled) => css82`
18392
+ var segmentedControlLabelStyles = (checked, disabled) => css83`
18283
18393
  position: relative;
18284
18394
  display: flex;
18285
18395
  align-items: center;
@@ -18346,20 +18456,20 @@ var segmentedControlLabelStyles = (checked, disabled) => css82`
18346
18456
  `}
18347
18457
  }
18348
18458
  `;
18349
- var segmentedControlLabelIconOnlyStyles = css82`
18459
+ var segmentedControlLabelIconOnlyStyles = css83`
18350
18460
  padding-inline: 0.5em;
18351
18461
  `;
18352
- var segmentedControlLabelCheckStyles = css82`
18462
+ var segmentedControlLabelCheckStyles = css83`
18353
18463
  opacity: 0.5;
18354
18464
  `;
18355
- var segmentedControlLabelContentStyles = css82`
18465
+ var segmentedControlLabelContentStyles = css83`
18356
18466
  display: flex;
18357
18467
  align-items: center;
18358
18468
  justify-content: center;
18359
18469
  gap: var(--spacing-sm);
18360
18470
  height: 100%;
18361
18471
  `;
18362
- var segmentedControlLabelTextStyles = css82``;
18472
+ var segmentedControlLabelTextStyles = css83``;
18363
18473
 
18364
18474
  // src/components/SegmentedControl/SegmentedControl.tsx
18365
18475
  import { jsx as jsx105, jsxs as jsxs72 } from "@emotion/react/jsx-runtime";
@@ -18384,9 +18494,9 @@ var SegmentedControl = ({
18384
18494
  );
18385
18495
  const sizeStyles = useMemo5(() => {
18386
18496
  const map = {
18387
- sm: css83({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
18388
- md: css83({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
18389
- lg: css83({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
18497
+ sm: css84({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
18498
+ md: css84({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
18499
+ lg: css84({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
18390
18500
  };
18391
18501
  return map[size];
18392
18502
  }, [size]);
@@ -18443,12 +18553,12 @@ var SegmentedControl = ({
18443
18553
  };
18444
18554
 
18445
18555
  // src/components/Skeleton/Skeleton.styles.ts
18446
- import { css as css84, keyframes as keyframes4 } from "@emotion/react";
18556
+ import { css as css85, keyframes as keyframes4 } from "@emotion/react";
18447
18557
  var lightFadingOut = keyframes4`
18448
18558
  from { opacity: 0.1; }
18449
18559
  to { opacity: 0.025; }
18450
18560
  `;
18451
- var skeletonStyles = css84`
18561
+ var skeletonStyles = css85`
18452
18562
  animation: ${lightFadingOut} 1s ease-out infinite alternate;
18453
18563
  background-color: var(--gray-900);
18454
18564
  `;
@@ -18485,8 +18595,8 @@ var Skeleton = ({
18485
18595
  import * as React23 from "react";
18486
18596
 
18487
18597
  // src/components/Switch/Switch.styles.ts
18488
- import { css as css85 } from "@emotion/react";
18489
- var SwitchInputContainer = css85`
18598
+ import { css as css86 } from "@emotion/react";
18599
+ var SwitchInputContainer = css86`
18490
18600
  cursor: pointer;
18491
18601
  display: inline-block;
18492
18602
  position: relative;
@@ -18495,7 +18605,7 @@ var SwitchInputContainer = css85`
18495
18605
  vertical-align: middle;
18496
18606
  user-select: none;
18497
18607
  `;
18498
- var SwitchInput = css85`
18608
+ var SwitchInput = css86`
18499
18609
  appearance: none;
18500
18610
  border-radius: var(--rounded-full);
18501
18611
  background-color: var(--white);
@@ -18533,7 +18643,7 @@ var SwitchInput = css85`
18533
18643
  cursor: not-allowed;
18534
18644
  }
18535
18645
  `;
18536
- var SwitchInputDisabled = css85`
18646
+ var SwitchInputDisabled = css86`
18537
18647
  opacity: var(--opacity-50);
18538
18648
  cursor: not-allowed;
18539
18649
 
@@ -18541,7 +18651,7 @@ var SwitchInputDisabled = css85`
18541
18651
  cursor: not-allowed;
18542
18652
  }
18543
18653
  `;
18544
- var SwitchInputLabel = css85`
18654
+ var SwitchInputLabel = css86`
18545
18655
  align-items: center;
18546
18656
  color: var(--brand-secondary-1);
18547
18657
  display: inline-flex;
@@ -18563,7 +18673,7 @@ var SwitchInputLabel = css85`
18563
18673
  top: 0;
18564
18674
  }
18565
18675
  `;
18566
- var SwitchText = css85`
18676
+ var SwitchText = css86`
18567
18677
  color: var(--gray-500);
18568
18678
  font-size: var(--fs-sm);
18569
18679
  padding-inline: var(--spacing-2xl) 0;
@@ -18592,8 +18702,8 @@ var Switch = React23.forwardRef(
18592
18702
  import * as React24 from "react";
18593
18703
 
18594
18704
  // src/components/Table/Table.styles.ts
18595
- import { css as css86 } from "@emotion/react";
18596
- var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css86`
18705
+ import { css as css87 } from "@emotion/react";
18706
+ var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css87`
18597
18707
  border-bottom: 1px solid var(--gray-400);
18598
18708
  border-collapse: collapse;
18599
18709
  min-width: 100%;
@@ -18604,15 +18714,15 @@ var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css86
18604
18714
  padding: ${cellPadding};
18605
18715
  }
18606
18716
  `;
18607
- var tableHead = css86`
18717
+ var tableHead = css87`
18608
18718
  background: var(--gray-100);
18609
18719
  color: var(--brand-secondary-1);
18610
18720
  text-align: left;
18611
18721
  `;
18612
- var tableRow = css86`
18722
+ var tableRow = css87`
18613
18723
  border-bottom: 1px solid var(--gray-200);
18614
18724
  `;
18615
- var tableCellHead = css86`
18725
+ var tableCellHead = css87`
18616
18726
  font-size: var(--fs-sm);
18617
18727
  text-transform: uppercase;
18618
18728
  font-weight: var(--fw-bold);
@@ -18666,8 +18776,8 @@ import {
18666
18776
  } from "reakit/Tab";
18667
18777
 
18668
18778
  // src/components/Tabs/Tabs.styles.ts
18669
- import { css as css87 } from "@emotion/react";
18670
- var tabButtonStyles = css87`
18779
+ import { css as css88 } from "@emotion/react";
18780
+ var tabButtonStyles = css88`
18671
18781
  align-items: center;
18672
18782
  border: 0;
18673
18783
  height: 2.5rem;
@@ -18684,7 +18794,7 @@ var tabButtonStyles = css87`
18684
18794
  box-shadow: inset 0 -2px 0 var(--brand-secondary-3);
18685
18795
  }
18686
18796
  `;
18687
- var tabButtonGroupStyles = css87`
18797
+ var tabButtonGroupStyles = css88`
18688
18798
  display: flex;
18689
18799
  gap: var(--spacing-base);
18690
18800
  border-bottom: 1px solid var(--gray-300);
@@ -18736,8 +18846,8 @@ var TabContent = ({ children, ...props }) => {
18736
18846
  };
18737
18847
 
18738
18848
  // src/components/Validation/StatusBullet.styles.ts
18739
- import { css as css88 } from "@emotion/react";
18740
- var StatusBulletContainer = css88`
18849
+ import { css as css89 } from "@emotion/react";
18850
+ var StatusBulletContainer = css89`
18741
18851
  align-items: center;
18742
18852
  align-self: center;
18743
18853
  color: var(--gray-500);
@@ -18754,33 +18864,33 @@ var StatusBulletContainer = css88`
18754
18864
  display: block;
18755
18865
  }
18756
18866
  `;
18757
- var StatusBulletBase = css88`
18867
+ var StatusBulletBase = css89`
18758
18868
  font-size: var(--fs-sm);
18759
18869
  &:before {
18760
18870
  width: var(--fs-xs);
18761
18871
  height: var(--fs-xs);
18762
18872
  }
18763
18873
  `;
18764
- var StatusBulletSmall = css88`
18874
+ var StatusBulletSmall = css89`
18765
18875
  font-size: var(--fs-xs);
18766
18876
  &:before {
18767
18877
  width: var(--fs-xxs);
18768
18878
  height: var(--fs-xxs);
18769
18879
  }
18770
18880
  `;
18771
- var StatusDraft = css88`
18881
+ var StatusDraft = css89`
18772
18882
  &:before {
18773
18883
  background: var(--white);
18774
18884
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
18775
18885
  }
18776
18886
  `;
18777
- var StatusModified = css88`
18887
+ var StatusModified = css89`
18778
18888
  &:before {
18779
18889
  background: linear-gradient(to right, var(--white) 50%, var(--primary-action-default) 50% 100%);
18780
18890
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
18781
18891
  }
18782
18892
  `;
18783
- var StatusError = css88`
18893
+ var StatusError = css89`
18784
18894
  color: var(--error);
18785
18895
  &:before {
18786
18896
  /* TODO: replace this with an svg icon */
@@ -18793,12 +18903,12 @@ var StatusError = css88`
18793
18903
  );
18794
18904
  }
18795
18905
  `;
18796
- var StatusPublished = css88`
18906
+ var StatusPublished = css89`
18797
18907
  &:before {
18798
18908
  background: var(--primary-action-default);
18799
18909
  }
18800
18910
  `;
18801
- var StatusOrphan = css88`
18911
+ var StatusOrphan = css89`
18802
18912
  &:before {
18803
18913
  background: var(--brand-secondary-5);
18804
18914
  }