@uniformdev/design-system 19.51.1-alpha.1 → 19.51.1-alpha.22

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
@@ -272,7 +272,7 @@ var supports = (cssProp) => `@supports (${cssProp})`;
272
272
  var cq = (size) => `@container (min-width: ${size})`;
273
273
 
274
274
  // src/utils/replaceUnderscoreInString.ts
275
- var replaceUnderscoreInString = (title) => (title == null ? void 0 : title.includes("_")) ? title.replaceAll("_", " ") : title;
275
+ var replaceUnderscoreInString = (title2) => (title2 == null ? void 0 : title2.includes("_")) ? title2.replaceAll("_", " ") : title2;
276
276
 
277
277
  // src/utils/url.ts
278
278
  var isSecureURL = (value = "") => {
@@ -285,11 +285,7 @@ var isSecureURL = (value = "") => {
285
285
  };
286
286
  var isValidUrl = (urlString, options = {}) => {
287
287
  try {
288
- const isRelativeToLocation = /^([/.])/.test(urlString);
289
- const url = new URL(
290
- urlString,
291
- options.allowRelative && isRelativeToLocation ? "https://defaultbaseurl.com" : void 0
292
- );
288
+ const url = new URL(urlString, options.allowRelative ? "https://defaultbaseurl.com" : void 0);
293
289
  if (options.isSecure) {
294
290
  return url.protocol === "https:";
295
291
  }
@@ -372,6 +368,34 @@ var buttonRippleEffect = (props) => css`
372
368
  transition: background 0s;
373
369
  }
374
370
  `;
371
+ var buttonAccentAltDark = css`
372
+ background: var(--accent-alt-dark);
373
+ color: var(--white);
374
+
375
+ &:disabled {
376
+ background: var(--gray-300);
377
+ color: var(--white);
378
+ }
379
+
380
+ ${buttonRippleEffect({ hoverColor: "var(--brand-secondary-1)" })}
381
+ `;
382
+ var buttonAccentAltDarkOutline = css`
383
+ background: var(--white);
384
+ color: var(--accent-alt-dark);
385
+ box-shadow: 0 0 0 1px var(--accent-alt-dark);
386
+ transition: box-shadow var(--duration-fast) var(--timing-ease-out);
387
+
388
+ &:hover {
389
+ color: var(--primary-action-hover);
390
+ }
391
+
392
+ &:disabled {
393
+ color: var(--gray-300);
394
+ box-shadow: 0 0 0 1px var(--gray-300);
395
+ }
396
+
397
+ ${buttonRippleEffect({ hoverColor: "var(--gray-50)" })}
398
+ `;
375
399
  var buttonPrimary = css`
376
400
  background: var(--brand-secondary-1);
377
401
  color: var(--white);
@@ -1069,6 +1093,9 @@ var IconImg = css8`
1069
1093
  vertical-align: middle;
1070
1094
  }
1071
1095
  `;
1096
+ var IconWhite = css8`
1097
+ color: var(--white);
1098
+ `;
1072
1099
  var IconColorDefault = css8`
1073
1100
  color: var(--brand-secondary-3);
1074
1101
  `;
@@ -1123,6 +1150,7 @@ var IconInner = ({ icon, iconColor = "default", size = "1.5rem", ...otherProps }
1123
1150
  const isIconName = typeof icon === "string";
1124
1151
  const { iconsMap, isLoading } = useIconContext();
1125
1152
  const customColor = {
1153
+ white: IconWhite,
1126
1154
  action: IconColorAction,
1127
1155
  default: IconColorDefault,
1128
1156
  gray: IconColorGray,
@@ -1732,6 +1760,60 @@ var diamondFill = GenIcon({
1732
1760
  }
1733
1761
  ]
1734
1762
  });
1763
+ var magicWand = GenIcon({
1764
+ tag: "svg",
1765
+ attr: {
1766
+ role: "img",
1767
+ viewBox: "0 0 24 24"
1768
+ },
1769
+ child: [
1770
+ {
1771
+ tag: "path",
1772
+ attr: {
1773
+ fill: "currentColor",
1774
+ fillOpacity: "0.5",
1775
+ d: "M12.6021 0.799316C12.5443 0.799316 12.487 0.802204 12.4305 0.807862C12.3484 1.91145 11.5902 2.79082 10.6387 2.88601C10.6338 2.9516 10.6313 3.01798 10.6313 3.08503C10.6313 3.15208 10.6338 3.21846 10.6387 3.28405C11.5902 3.37924 12.3484 4.25862 12.4305 5.3622C12.487 5.36786 12.5443 5.37074 12.6021 5.37074C12.6599 5.37074 12.7171 5.36786 12.7737 5.3622C12.8558 4.25862 13.614 3.37924 14.5655 3.28405C14.5704 3.21846 14.5729 3.15208 14.5729 3.08503C14.5729 3.01798 14.5704 2.9516 14.5655 2.88601C13.614 2.79082 12.8558 1.91145 12.7737 0.807862C12.7171 0.802204 12.6599 0.799316 12.6021 0.799316Z"
1776
+ },
1777
+ child: []
1778
+ },
1779
+ {
1780
+ tag: "path",
1781
+ attr: {
1782
+ fill: "currentColor",
1783
+ fillOpacity: "0.5",
1784
+ d: "M17.8945 12.4247C17.8367 12.4247 17.7795 12.4276 17.7229 12.4332C17.6409 13.5368 16.8826 14.4162 15.9311 14.5114C15.9262 14.577 15.9237 14.6433 15.9237 14.7104C15.9237 14.7774 15.9262 14.8438 15.9311 14.9094C16.8826 15.0046 17.6409 15.884 17.7229 16.9876C17.7795 16.9932 17.8367 16.9961 17.8945 16.9961C17.9523 16.9961 18.0096 16.9932 18.0661 16.9876C18.1482 15.884 18.9064 15.0046 19.858 14.9094C19.8628 14.8438 19.8653 14.7774 19.8653 14.7104C19.8653 14.6433 19.8628 14.577 19.858 14.5114C18.9064 14.4162 18.1482 13.5368 18.0661 12.4332C18.0096 12.4276 17.9523 12.4247 17.8945 12.4247Z"
1785
+ },
1786
+ child: []
1787
+ },
1788
+ {
1789
+ tag: "path",
1790
+ attr: {
1791
+ fill: "currentColor",
1792
+ fillOpacity: "0.5",
1793
+ d: "M21.571 1.6413C21.509 1.6413 21.4476 1.6449 21.387 1.65195C21.299 3.02718 20.4858 4.12302 19.4653 4.24164C19.4601 4.32337 19.4574 4.40609 19.4574 4.48965C19.4574 4.57321 19.4601 4.65592 19.4653 4.73766C20.4858 4.85628 21.299 5.95211 21.387 7.32734C21.4476 7.33439 21.509 7.33799 21.571 7.33799C21.633 7.33799 21.6944 7.33439 21.755 7.32734C21.8431 5.95211 22.6562 4.85628 23.6767 4.73766C23.6819 4.65592 23.6846 4.57321 23.6846 4.48965C23.6846 4.40609 23.6819 4.32337 23.6767 4.24164C22.6562 4.12302 21.8431 3.02718 21.755 1.65195C21.6944 1.6449 21.633 1.6413 21.571 1.6413Z"
1794
+ },
1795
+ child: []
1796
+ },
1797
+ {
1798
+ tag: "path",
1799
+ attr: {
1800
+ fill: "currentColor",
1801
+ d: "M15.6875 11.9141L12.5116 8.73823L2.07262 19.1773C1.9166 19.3333 1.9166 19.5862 2.07262 19.7422L4.68354 22.3532C4.83956 22.5092 5.0925 22.5092 5.24852 22.3532L15.6875 11.9141Z"
1802
+ },
1803
+ child: []
1804
+ },
1805
+ {
1806
+ tag: "path",
1807
+ attr: {
1808
+ fill: "currentColor",
1809
+ fillRule: "evenodd",
1810
+ clipRule: "evenodd",
1811
+ d: "M16.8929 4.92196L19.5038 7.53288L14.8688 12.1679L12.2578 9.55702L16.8929 4.92196ZM19.7863 7.2504C19.9423 7.40641 19.9423 7.65936 19.7863 7.81537L15.6875 11.9141L12.5116 8.73823L16.6104 4.63947C16.7664 4.48346 17.0194 4.48346 17.1754 4.63947L19.7863 7.2504Z"
1812
+ },
1813
+ child: []
1814
+ }
1815
+ ]
1816
+ });
1735
1817
  var customIcons = {
1736
1818
  "rectangle-rounded": rectangleRoundedIcon,
1737
1819
  card: cardIcon,
@@ -1755,7 +1837,8 @@ var customIcons = {
1755
1837
  "clear-formatting": clearFormatting,
1756
1838
  "yes-no": yesNoIcon,
1757
1839
  "diamond-outline": diamondOutline,
1758
- "diamond-fill": diamondFill
1840
+ "diamond-fill": diamondFill,
1841
+ "magic-wand": magicWand
1759
1842
  };
1760
1843
 
1761
1844
  // src/components/AddListButton/AddListButton.styles.ts
@@ -2181,7 +2264,7 @@ var IntegrationHeaderSectionHexImage = ({ ...props }) => {
2181
2264
  ] });
2182
2265
  };
2183
2266
  var IntegrationHeaderSection = ({
2184
- title,
2267
+ title: title2,
2185
2268
  description,
2186
2269
  icon,
2187
2270
  docsLink,
@@ -2196,10 +2279,10 @@ var IntegrationHeaderSection = ({
2196
2279
  /* @__PURE__ */ jsxs5("div", { css: IntegrationHeaderSectionTitleContainer, children: [
2197
2280
  icon ? /* @__PURE__ */ jsxs5("div", { css: IntegrationHeaderSectionIconContainer, children: [
2198
2281
  /* @__PURE__ */ jsx13(IntegrationHeaderSectionHexImage, { css: IntegrationHeaderSectionHexIcon }),
2199
- CompIcon ? /* @__PURE__ */ jsx13(CompIcon, { css: IntegrationHeaderSectionIcon }) : icon ? /* @__PURE__ */ jsx13("img", { src: icon, alt: title, css: IntegrationHeaderSectionIcon }) : null
2282
+ CompIcon ? /* @__PURE__ */ jsx13(CompIcon, { css: IntegrationHeaderSectionIcon }) : icon ? /* @__PURE__ */ jsx13("img", { src: icon, alt: title2, css: IntegrationHeaderSectionIcon }) : null
2200
2283
  ] }) : null,
2201
2284
  /* @__PURE__ */ jsxs5("div", { css: IntegrationHeaderSectionTitleGroup, "data-testid": "integration-header-text", children: [
2202
- /* @__PURE__ */ jsx13("h1", { css: IntegrationHeaderSectionTitle, children: title }),
2285
+ /* @__PURE__ */ jsx13("h1", { css: IntegrationHeaderSectionTitle, children: title2 }),
2203
2286
  badgeText ? /* @__PURE__ */ jsx13(Badge, { text: badgeText }) : null,
2204
2287
  menu2 ? /* @__PURE__ */ jsx13("div", { children: menu2 }) : null,
2205
2288
  docsLink ? /* @__PURE__ */ jsx13(
@@ -2299,7 +2382,7 @@ var PageHeaderSectionTitle = css15`
2299
2382
  // src/components/Typography/PageHeaderSection.tsx
2300
2383
  import { jsx as jsx14, jsxs as jsxs6 } from "@emotion/react/jsx-runtime";
2301
2384
  var PageHeaderSection = ({
2302
- title,
2385
+ title: title2,
2303
2386
  desc,
2304
2387
  children,
2305
2388
  linkText,
@@ -2326,7 +2409,7 @@ var PageHeaderSection = ({
2326
2409
  }
2327
2410
  )
2328
2411
  ] }) : null,
2329
- /* @__PURE__ */ jsx14(Heading, { level, css: PageHeaderSectionTitle, ...htmlProps, "data-testid": "page-header-section", children: title }),
2412
+ /* @__PURE__ */ jsx14(Heading, { level, css: PageHeaderSectionTitle, ...htmlProps, "data-testid": "page-header-section", children: title2 }),
2330
2413
  desc
2331
2414
  ] }),
2332
2415
  children ? /* @__PURE__ */ jsx14("div", { css: PageHeaderSectionChildContainer, children }) : null
@@ -2421,7 +2504,7 @@ var InlineAlertParagraph = css16`
2421
2504
  import { jsx as jsx15, jsxs as jsxs7 } from "@emotion/react/jsx-runtime";
2422
2505
  var InlineAlert = ({
2423
2506
  id,
2424
- title,
2507
+ title: title2,
2425
2508
  text,
2426
2509
  arrowPosition = "left-top",
2427
2510
  positionCss,
@@ -2429,7 +2512,7 @@ var InlineAlert = ({
2429
2512
  }) => {
2430
2513
  return /* @__PURE__ */ jsxs7("div", { role: "alert", id, css: [InlineAlertContainer, InlineAlertTriangle(arrowPosition), positionCss], children: [
2431
2514
  /* @__PURE__ */ jsx15("button", { type: "button", "aria-controls": id, title: "close alert", css: InlineAlertCloseBtn, ...btnProps, children: /* @__PURE__ */ jsx15(Icon, { icon: CgClose, iconColor: "currentColor", size: 24 }) }),
2432
- /* @__PURE__ */ jsx15(Heading, { level: 3, css: InlineAlertTitle, children: title }),
2515
+ /* @__PURE__ */ jsx15(Heading, { level: 3, css: InlineAlertTitle, children: title2 }),
2433
2516
  /* @__PURE__ */ jsx15("p", { css: InlineAlertParagraph, children: text })
2434
2517
  ] });
2435
2518
  };
@@ -10924,14 +11007,14 @@ var TooltipArrowStyles = css17`
10924
11007
  import { Fragment as Fragment4, jsx as jsx17, jsxs as jsxs8 } from "@emotion/react/jsx-runtime";
10925
11008
  function Tooltip({
10926
11009
  children,
10927
- title,
11010
+ title: title2,
10928
11011
  placement = "bottom",
10929
11012
  visible,
10930
11013
  withoutPortal = false,
10931
11014
  ...props
10932
11015
  }) {
10933
11016
  const tooltip = useTooltipState({ placement });
10934
- return !title ? children : /* @__PURE__ */ jsxs8(Fragment4, { children: [
11017
+ return !title2 ? children : /* @__PURE__ */ jsxs8(Fragment4, { children: [
10935
11018
  /* @__PURE__ */ jsx17(TooltipReference, { ...tooltip, ...children.props, children: (referenceProps) => React5.cloneElement(children, referenceProps) }),
10936
11019
  /* @__PURE__ */ jsxs8(
10937
11020
  ReakitTooltip,
@@ -10943,7 +11026,7 @@ function Tooltip({
10943
11026
  visible: visible != null ? visible : tooltip.visible,
10944
11027
  children: [
10945
11028
  /* @__PURE__ */ jsx17(TooltipArrow, { ...tooltip, css: TooltipArrowStyles }),
10946
- title
11029
+ title2
10947
11030
  ]
10948
11031
  }
10949
11032
  )
@@ -11361,6 +11444,8 @@ var Button = React6.forwardRef(
11361
11444
  const buttonTheme = {
11362
11445
  primary: buttonPrimary,
11363
11446
  primaryInvert: buttonPrimaryInvert,
11447
+ "accent-alt-dark": buttonAccentAltDark,
11448
+ "accent-alt-dark-outline": buttonAccentAltDarkOutline,
11364
11449
  destructive: buttonDestructive,
11365
11450
  secondary: buttonSecondary,
11366
11451
  secondaryInvert: buttonSecondaryInvert,
@@ -11415,9 +11500,9 @@ var MenuTitle = css23`
11415
11500
 
11416
11501
  // src/components/Menu/MenuGroup.tsx
11417
11502
  import { jsx as jsx23, jsxs as jsxs14 } from "@emotion/react/jsx-runtime";
11418
- var MenuGroup = ({ title, children }) => {
11419
- return /* @__PURE__ */ jsxs14("div", { css: MenuGroupContainer(!!title), "data-testid": "menu-group", children: [
11420
- title ? /* @__PURE__ */ jsx23("span", { css: MenuTitle, children: title }) : null,
11503
+ var MenuGroup = ({ title: title2, children }) => {
11504
+ return /* @__PURE__ */ jsxs14("div", { css: MenuGroupContainer(!!title2), "data-testid": "menu-group", children: [
11505
+ title2 ? /* @__PURE__ */ jsx23("span", { css: MenuTitle, children: title2 }) : null,
11421
11506
  children
11422
11507
  ] });
11423
11508
  };
@@ -12140,7 +12225,7 @@ var calloutTypeDataMap = {
12140
12225
  var Callout = ({
12141
12226
  type = "info",
12142
12227
  compact = false,
12143
- title,
12228
+ title: title2,
12144
12229
  children,
12145
12230
  className,
12146
12231
  testId
@@ -12164,7 +12249,7 @@ var Callout = ({
12164
12249
  children: /* @__PURE__ */ jsxs18("div", { css: calloutInner, children: [
12165
12250
  compact ? null : /* @__PURE__ */ jsx29("div", { css: calloutIconWrap, children: /* @__PURE__ */ jsx29(Icon2, { css: [calloutIcon, calloutTypeData.iconColor] }) }),
12166
12251
  /* @__PURE__ */ jsxs18("div", { css: [calloutBody, compact ? calloutBodyCompact : void 0], children: [
12167
- title ? /* @__PURE__ */ jsx29("div", { css: [calloutTitle], "data-testid": "callout-title", children: title }) : null,
12252
+ title2 ? /* @__PURE__ */ jsx29("div", { css: [calloutTitle], "data-testid": "callout-title", children: title2 }) : null,
12168
12253
  children ? /* @__PURE__ */ jsx29("div", { css: [calloutTypeData.descriptionColor], "data-testid": "callout-description", children }) : null
12169
12254
  ] })
12170
12255
  ] })
@@ -12221,7 +12306,7 @@ var CardMenu = css29`
12221
12306
  // src/components/Card/Card.tsx
12222
12307
  import { jsx as jsx30, jsxs as jsxs19 } from "@emotion/react/jsx-runtime";
12223
12308
  var Card = ({
12224
- title,
12309
+ title: title2,
12225
12310
  menuItems,
12226
12311
  children,
12227
12312
  titleWithMarginBottom = true,
@@ -12231,7 +12316,7 @@ var Card = ({
12231
12316
  ...props
12232
12317
  }) => {
12233
12318
  return /* @__PURE__ */ jsxs19(Tag, { css: CardContainer, ...props, children: [
12234
- title ? /* @__PURE__ */ jsx30(CardTitle2, { title, titleWithMarginBottom }) : null,
12319
+ title2 ? /* @__PURE__ */ jsx30(CardTitle2, { title: title2, titleWithMarginBottom }) : null,
12235
12320
  menuItems ? /* @__PURE__ */ jsx30(
12236
12321
  Menu,
12237
12322
  {
@@ -12253,8 +12338,8 @@ var Card = ({
12253
12338
  children
12254
12339
  ] });
12255
12340
  };
12256
- var CardTitle2 = ({ title, titleWithMarginBottom, children }) => {
12257
- const normalizeTitle = replaceUnderscoreInString(title);
12341
+ var CardTitle2 = ({ title: title2, titleWithMarginBottom, children }) => {
12342
+ const normalizeTitle = replaceUnderscoreInString(title2);
12258
12343
  return /* @__PURE__ */ jsxs19(Heading, { level: 3, css: CardTitle(titleWithMarginBottom), children: [
12259
12344
  normalizeTitle,
12260
12345
  children
@@ -14682,14 +14767,14 @@ var IntegrationTileFloatingButtonMessage = (clicked) => css55`
14682
14767
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
14683
14768
  import { jsx as jsx66, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
14684
14769
  var CreateTeamIntegrationTile = ({
14685
- title = "Create a custom integration for your team",
14770
+ title: title2 = "Create a custom integration for your team",
14686
14771
  buttonText = "Add Integration",
14687
14772
  onClick,
14688
14773
  asDeepLink = false,
14689
14774
  ...props
14690
14775
  }) => {
14691
14776
  return /* @__PURE__ */ jsxs42("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
14692
- /* @__PURE__ */ jsx66("span", { css: IntegrationTileTitle, title, children: title }),
14777
+ /* @__PURE__ */ jsx66("span", { css: IntegrationTileTitle, title: title2, children: title2 }),
14693
14778
  /* @__PURE__ */ jsxs42(
14694
14779
  Button,
14695
14780
  {
@@ -15342,9 +15427,9 @@ var LinkListTitle = css65`
15342
15427
 
15343
15428
  // src/components/LinkList/LinkList.tsx
15344
15429
  import { jsx as jsx80, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
15345
- var LinkList = ({ title, padding = "var(--spacing-md)", children, ...props }) => {
15430
+ var LinkList = ({ title: title2, padding = "var(--spacing-md)", children, ...props }) => {
15346
15431
  return /* @__PURE__ */ jsxs51("div", { css: LinkListContainer(padding), ...props, children: [
15347
- /* @__PURE__ */ jsx80(Heading, { level: 3, css: LinkListTitle, children: title }),
15432
+ /* @__PURE__ */ jsx80(Heading, { level: 3, css: LinkListTitle, children: title2 }),
15348
15433
  children
15349
15434
  ] });
15350
15435
  };
@@ -15510,6 +15595,7 @@ import { CgCheck as CgCheck3 } from "@react-icons/all-files/cg/CgCheck";
15510
15595
  import { jsx as jsx83, jsxs as jsxs54 } from "@emotion/react/jsx-runtime";
15511
15596
  var ScrollableListItem = ({
15512
15597
  buttonText,
15598
+ icon,
15513
15599
  active,
15514
15600
  disableShadow,
15515
15601
  ...props
@@ -15523,7 +15609,10 @@ var ScrollableListItem = ({
15523
15609
  active ? ScrollableListItemActive : void 0
15524
15610
  ],
15525
15611
  children: /* @__PURE__ */ jsxs54("button", { css: ScrollableListItemBtn, type: "button", ...props, children: [
15526
- /* @__PURE__ */ jsx83("span", { children: buttonText }),
15612
+ /* @__PURE__ */ jsxs54(HorizontalRhythm, { gap: "xs", align: "center", children: [
15613
+ icon,
15614
+ /* @__PURE__ */ jsx83("span", { children: buttonText })
15615
+ ] }),
15527
15616
  /* @__PURE__ */ jsx83(
15528
15617
  Icon,
15529
15618
  {
@@ -15727,6 +15816,9 @@ var LoadingIcon = ({ height, width, ...props }) => {
15727
15816
  );
15728
15817
  };
15729
15818
 
15819
+ // src/components/MediaCard/MediaCard.tsx
15820
+ import { useCallback as useCallback4 } from "react";
15821
+
15730
15822
  // src/components/Popover/Popover.tsx
15731
15823
  import {
15732
15824
  Popover as ReakitPopover,
@@ -15798,7 +15890,7 @@ var Popover2 = ({
15798
15890
 
15799
15891
  // src/components/MediaCard/MediaCard.styles.ts
15800
15892
  import { css as css72 } from "@emotion/react";
15801
- var cardBaseStyles = css72`
15893
+ var cardBase = css72`
15802
15894
  display: flex;
15803
15895
  flex-direction: column;
15804
15896
  justify-content: flex-start;
@@ -15807,12 +15899,9 @@ var cardBaseStyles = css72`
15807
15899
  padding: 0;
15808
15900
  min-height: unset;
15809
15901
  outline: none;
15810
-
15811
- &:focus-visible {
15812
- outline: 2px solid var(--primary-action-default);
15813
- }
15902
+ cursor: pointer;
15814
15903
  `;
15815
- var cardBaseCoverIconWrapperStyles = css72`
15904
+ var coverWrapper = css72`
15816
15905
  position: relative;
15817
15906
  display: flex;
15818
15907
  align-items: center;
@@ -15822,21 +15911,43 @@ var cardBaseCoverIconWrapperStyles = css72`
15822
15911
  overflow: hidden;
15823
15912
  border-radius: 3px 3px 0 0;
15824
15913
  padding: var(--spacing-sm);
15825
- cursor: pointer;
15914
+ outline: none;
15915
+ border: 0;
15826
15916
  `;
15827
- var cardBaseContentStyles = css72`
15917
+ var contentWrapper = css72`
15828
15918
  padding: var(--spacing-sm);
15829
15919
  `;
15830
- var cardBaseTitleStyles = css72`
15920
+ var title = css72`
15831
15921
  font-size: var(--fs-sm);
15832
15922
  color: var(--gray-500);
15833
- cursor: pointer;
15923
+ white-space: nowrap;
15924
+ overflow: hidden;
15925
+ text-overflow: ellipsis;
15926
+ outline: none;
15927
+ border: 0;
15928
+ background-color: transparent;
15929
+
15930
+ &:focus-visible {
15931
+ outline: 2px solid var(--primary-action-default);
15932
+ }
15834
15933
  `;
15835
- var cardBaseSubtitleStyles = css72`
15934
+ var subtitle = css72`
15836
15935
  font-size: var(--fs-xs);
15837
15936
  color: var(--gray-500);
15937
+ white-space: nowrap;
15938
+ overflow: hidden;
15939
+ text-overflow: ellipsis;
15940
+ outline: none;
15941
+ border: 0;
15942
+ background-color: transparent;
15943
+ `;
15944
+ var sideSection = css72`
15945
+ cursor: default;
15946
+ `;
15947
+ var menuSection = css72`
15948
+ cursor: default;
15838
15949
  `;
15839
- var cardBaseMenuButtonStyles = css72`
15950
+ var menuButton = css72`
15840
15951
  padding: var(--spacing-2xs);
15841
15952
  border-radius: var(--rounded-sm);
15842
15953
  border-width: 0;
@@ -15850,25 +15961,29 @@ var cardBaseMenuButtonStyles = css72`
15850
15961
  // src/components/MediaCard/MediaCard.tsx
15851
15962
  import { jsx as jsx87, jsxs as jsxs58 } from "@emotion/react/jsx-runtime";
15852
15963
  var MediaCard = ({
15853
- title,
15854
- subtitle,
15964
+ title: title2,
15965
+ subtitle: subtitle2,
15855
15966
  infoPopover,
15856
15967
  cover,
15857
15968
  menuItems,
15858
- sideSection,
15969
+ sideSection: sideSection2,
15859
15970
  onClick,
15860
15971
  ...cardProps
15861
15972
  }) => {
15862
- return /* @__PURE__ */ jsxs58(Card, { tag: "button", css: cardBaseStyles, ...cardProps, onClick, children: [
15863
- /* @__PURE__ */ jsx87("div", { css: cardBaseCoverIconWrapperStyles, children: cover }),
15864
- /* @__PURE__ */ jsx87("div", { css: cardBaseContentStyles, children: /* @__PURE__ */ jsxs58(HorizontalRhythm, { gap: "sm", justify: "space-between", align: "center", css: { width: "100%" }, children: [
15865
- /* @__PURE__ */ jsxs58(VerticalRhythm, { gap: "0", align: "flex-start", css: { flex: 1 }, children: [
15866
- /* @__PURE__ */ jsxs58(HorizontalRhythm, { gap: "xs", align: "center", children: [
15867
- /* @__PURE__ */ jsx87("div", { css: cardBaseTitleStyles, "data-testid": "card-title", children: title }),
15868
- !infoPopover ? null : /* @__PURE__ */ jsx87("div", { css: { display: "flex", cursor: "default" }, onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ jsx87(
15973
+ const onStopPropogation = useCallback4((e) => {
15974
+ e.stopPropagation();
15975
+ }, []);
15976
+ const hasMenuItems = Array.isArray(menuItems) ? menuItems.length > 0 : Boolean(menuItems);
15977
+ return /* @__PURE__ */ jsxs58(Card, { css: cardBase, ...cardProps, onClick, children: [
15978
+ /* @__PURE__ */ jsx87("button", { tabIndex: -1, css: coverWrapper, children: cover }),
15979
+ /* @__PURE__ */ jsx87("div", { css: contentWrapper, children: /* @__PURE__ */ jsxs58(HorizontalRhythm, { gap: "sm", justify: "space-between", align: "center", css: { width: "100%" }, children: [
15980
+ /* @__PURE__ */ jsxs58(VerticalRhythm, { gap: "0", align: "flex-start", css: { flex: 1, minWidth: 0 }, children: [
15981
+ /* @__PURE__ */ jsxs58(HorizontalRhythm, { gap: "xs", align: "center", css: { maxWidth: "100%" }, children: [
15982
+ /* @__PURE__ */ jsx87("button", { css: title, "data-testid": "card-title", children: title2 }),
15983
+ !infoPopover ? null : /* @__PURE__ */ jsx87("div", { css: { display: "flex", cursor: "default" }, onClick: onStopPropogation, children: /* @__PURE__ */ jsx87(
15869
15984
  Popover2,
15870
15985
  {
15871
- baseId: `info-of-${title}`,
15986
+ baseId: `info-of-${title2}`,
15872
15987
  buttonText: "Details",
15873
15988
  ariaLabel: "Details",
15874
15989
  iconColor: "default",
@@ -15878,17 +15993,26 @@ var MediaCard = ({
15878
15993
  }
15879
15994
  ) })
15880
15995
  ] }),
15881
- !subtitle ? null : /* @__PURE__ */ jsx87("div", { css: cardBaseSubtitleStyles, children: subtitle })
15996
+ subtitle2 ? /* @__PURE__ */ jsx87("button", { tabIndex: -1, css: subtitle, children: subtitle2 }) : null
15882
15997
  ] }),
15883
- /* @__PURE__ */ jsx87("div", { css: { cursor: "default" }, onClick: (e) => e.stopPropagation(), children: sideSection }),
15884
- /* @__PURE__ */ jsx87(VerticalRhythm, { align: "center", justify: "center", onClick: (e) => e.stopPropagation(), children: !menuItems || Array.isArray(menuItems) && !menuItems.length ? null : /* @__PURE__ */ jsx87(
15885
- Menu,
15998
+ sideSection2 ? /* @__PURE__ */ jsx87("div", { css: sideSection, onClick: onStopPropogation, children: sideSection2 }) : null,
15999
+ hasMenuItems ? /* @__PURE__ */ jsx87(
16000
+ VerticalRhythm,
15886
16001
  {
15887
- menuTrigger: /* @__PURE__ */ jsx87("button", { type: "button", "aria-label": "More options", css: cardBaseMenuButtonStyles, children: /* @__PURE__ */ jsx87(Icon, { icon: "more-alt", iconColor: "gray", size: 16 }) }),
15888
- menuLabel: `Menu of ${title}`,
15889
- children: menuItems
16002
+ css: menuSection,
16003
+ align: "center",
16004
+ justify: "center",
16005
+ onClick: onStopPropogation,
16006
+ children: /* @__PURE__ */ jsx87(
16007
+ Menu,
16008
+ {
16009
+ menuTrigger: /* @__PURE__ */ jsx87("button", { type: "button", "aria-label": "More options", css: menuButton, children: /* @__PURE__ */ jsx87(Icon, { icon: "more-alt", iconColor: "gray", size: 16 }) }),
16010
+ menuLabel: `Menu of ${title2}`,
16011
+ children: menuItems
16012
+ }
16013
+ )
15890
16014
  }
15891
- ) })
16015
+ ) : null
15892
16016
  ] }) })
15893
16017
  ] });
15894
16018
  };
@@ -16053,10 +16177,10 @@ var LabelLeadingIcon = ({
16053
16177
  isBound,
16054
16178
  isActive,
16055
16179
  isLocked,
16056
- title,
16180
+ title: title2,
16057
16181
  ...props
16058
16182
  }) => {
16059
- const titleFr = title != null ? title : isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
16183
+ const titleFr = title2 != null ? title2 : isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
16060
16184
  return /* @__PURE__ */ jsx89(Tooltip, { title: titleFr, children: /* @__PURE__ */ jsxs60(
16061
16185
  "button",
16062
16186
  {
@@ -16085,6 +16209,7 @@ var ConnectToDataElementButton = LabelLeadingIcon;
16085
16209
  import { css as css75 } from "@emotion/react";
16086
16210
  var inputContainer2 = css75`
16087
16211
  position: relative;
16212
+ scroll-margin: var(--spacing-2xl);
16088
16213
 
16089
16214
  &:hover,
16090
16215
  &:focus,
@@ -16396,11 +16521,11 @@ var ParameterDrawerHeaderTitle = css76`
16396
16521
 
16397
16522
  // src/components/ParameterInputs/ParameterDrawerHeader.tsx
16398
16523
  import { jsx as jsx91, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
16399
- var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
16524
+ var ParameterDrawerHeader = ({ title: title2, iconBeforeTitle, children }) => {
16400
16525
  return /* @__PURE__ */ jsxs62("div", { css: ParameterDrawerHeaderContainer, children: [
16401
16526
  /* @__PURE__ */ jsxs62("header", { css: ParameterDrawerHeaderTitleGroup, children: [
16402
16527
  iconBeforeTitle,
16403
- /* @__PURE__ */ jsx91(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
16528
+ /* @__PURE__ */ jsx91(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title: title2, children: title2 })
16404
16529
  ] }),
16405
16530
  children
16406
16531
  ] });
@@ -16519,6 +16644,7 @@ var PreviewImageModal = ({ open, onRequestClose, imageSrc }) => {
16519
16644
  };
16520
16645
 
16521
16646
  // src/components/ParameterInputs/ParameterShell.tsx
16647
+ import { css as css80 } from "@emotion/react";
16522
16648
  import { useState as useState11 } from "react";
16523
16649
 
16524
16650
  // src/components/ParameterInputs/ParameterLabel.tsx
@@ -16596,7 +16722,7 @@ var extractParameterProps = (props) => {
16596
16722
  hiddenLabel,
16597
16723
  labelLeadingIcon,
16598
16724
  menuItems,
16599
- title,
16725
+ title: title2,
16600
16726
  hasOverriddenValue,
16601
16727
  onResetOverriddenValue,
16602
16728
  ...innerProps
@@ -16614,7 +16740,7 @@ var extractParameterProps = (props) => {
16614
16740
  hiddenLabel,
16615
16741
  labelLeadingIcon,
16616
16742
  menuItems,
16617
- title,
16743
+ title: title2,
16618
16744
  hasOverriddenValue,
16619
16745
  onResetOverriddenValue
16620
16746
  },
@@ -16634,27 +16760,40 @@ var ParameterShell = ({
16634
16760
  errorTestId,
16635
16761
  captionTestId,
16636
16762
  menuItems,
16763
+ actionItems,
16637
16764
  hasOverriddenValue,
16638
16765
  onResetOverriddenValue,
16639
- title,
16766
+ title: title2,
16640
16767
  children,
16641
16768
  ...props
16642
16769
  }) => {
16643
16770
  const [manualErrorMessage, setManualErrorMessage] = useState11(void 0);
16644
16771
  const setErrorMessage = (message) => setManualErrorMessage(message);
16645
16772
  const errorMessaging = errorMessage || manualErrorMessage;
16646
- return /* @__PURE__ */ jsxs65("div", { css: inputContainer2, ...props, children: [
16647
- hiddenLabel || title ? null : /* @__PURE__ */ jsxs65(ParameterLabel, { id, css: labelText2, children: [
16773
+ return /* @__PURE__ */ jsxs65("div", { css: inputContainer2, ...props, id, children: [
16774
+ hiddenLabel || title2 ? null : /* @__PURE__ */ jsxs65(ParameterLabel, { id, css: labelText2, children: [
16648
16775
  labelLeadingIcon != null ? labelLeadingIcon : null,
16649
16776
  label,
16650
16777
  labelTrailingIcon != null ? labelTrailingIcon : null
16651
16778
  ] }),
16652
- !title ? null : /* @__PURE__ */ jsxs65(ParameterLabel, { id, asSpan: true, children: [
16779
+ !title2 ? null : /* @__PURE__ */ jsxs65(ParameterLabel, { id, asSpan: true, children: [
16653
16780
  labelLeadingIcon != null ? labelLeadingIcon : null,
16654
- title,
16781
+ title2,
16655
16782
  labelTrailingIcon != null ? labelTrailingIcon : null
16656
16783
  ] }),
16657
16784
  /* @__PURE__ */ jsxs65("div", { css: inputWrapper, children: [
16785
+ actionItems ? /* @__PURE__ */ jsx96(
16786
+ "div",
16787
+ {
16788
+ css: [
16789
+ inputMenu,
16790
+ menuItems ? css80`
16791
+ right: var(--spacing-md);
16792
+ ` : void 0
16793
+ ],
16794
+ children: actionItems
16795
+ }
16796
+ ) : null,
16658
16797
  menuItems ? /* @__PURE__ */ jsx96(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
16659
16798
  /* @__PURE__ */ jsx96(
16660
16799
  ParameterShellContext.Provider,
@@ -16891,7 +17030,7 @@ var ParameterNameAndPublicIdInput = ({
16891
17030
  };
16892
17031
 
16893
17032
  // src/components/ParameterInputs/ParameterRichText.tsx
16894
- import { css as css83 } from "@emotion/react";
17033
+ import { css as css84 } from "@emotion/react";
16895
17034
  import { ListItemNode, ListNode as ListNode2 } from "@lexical/list";
16896
17035
  import {
16897
17036
  CODE,
@@ -17043,23 +17182,23 @@ function DisableStylesPlugin() {
17043
17182
  }
17044
17183
 
17045
17184
  // src/components/ParameterInputs/rich-text/editorStyles.ts
17046
- import { css as css80 } from "@emotion/css";
17047
- var textBold = css80`
17185
+ import { css as css81 } from "@emotion/css";
17186
+ var textBold = css81`
17048
17187
  font-weight: 700;
17049
17188
  `;
17050
- var textItalic = css80`
17189
+ var textItalic = css81`
17051
17190
  font-style: italic;
17052
17191
  `;
17053
- var textUnderline = css80`
17192
+ var textUnderline = css81`
17054
17193
  text-decoration: underline;
17055
17194
  `;
17056
- var textStrikethrough = css80`
17195
+ var textStrikethrough = css81`
17057
17196
  text-decoration: line-through;
17058
17197
  `;
17059
- var textUnderlineStrikethrough = css80`
17198
+ var textUnderlineStrikethrough = css81`
17060
17199
  text-decoration: underline line-through;
17061
17200
  `;
17062
- var textCode = css80`
17201
+ var textCode = css81`
17063
17202
  background-color: var(--gray-100);
17064
17203
  border-radius: var(--rounded-sm);
17065
17204
  display: inline-block;
@@ -17070,68 +17209,68 @@ var textCode = css80`
17070
17209
  padding-left: var(--spacing-xs);
17071
17210
  padding-right: var(--spacing-xs);
17072
17211
  `;
17073
- var textSuperscript = css80`
17212
+ var textSuperscript = css81`
17074
17213
  vertical-align: super;
17075
17214
  font-size: smaller;
17076
17215
  `;
17077
- var textSubscript = css80`
17216
+ var textSubscript = css81`
17078
17217
  vertical-align: sub;
17079
17218
  font-size: smaller;
17080
17219
  `;
17081
- var linkElement = css80`
17220
+ var linkElement = css81`
17082
17221
  ${link}
17083
17222
  ${linkColorDefault}
17084
17223
  text-decoration: underline;
17085
17224
  `;
17086
- var h12 = css80`
17225
+ var h12 = css81`
17087
17226
  font-size: clamp(1.35rem, var(--fluid-font-base), 1.7rem);
17088
17227
  `;
17089
- var h22 = css80`
17228
+ var h22 = css81`
17090
17229
  font-size: clamp(1.35rem, var(--fluid-font-base), 1.6rem);
17091
17230
  `;
17092
- var h32 = css80`
17231
+ var h32 = css81`
17093
17232
  font-size: clamp(1.25rem, var(--fluid-font-base), 1.5rem);
17094
17233
  `;
17095
- var h42 = css80`
17234
+ var h42 = css81`
17096
17235
  font-size: clamp(1.15rem, var(--fluid-font-base), 1.25rem);
17097
17236
  `;
17098
- var h52 = css80`
17237
+ var h52 = css81`
17099
17238
  font-size: clamp(var(--fs-base), var(--fluid-font-base), 1.15rem);
17100
17239
  `;
17101
- var h62 = css80`
17240
+ var h62 = css81`
17102
17241
  font-size: var(--fs-base);
17103
17242
  `;
17104
- var heading1Element = css80`
17243
+ var heading1Element = css81`
17105
17244
  ${h12}
17106
17245
  ${commonHeadingAttr(true)}
17107
17246
  ${commonLineHeight}
17108
17247
  `;
17109
- var heading2Element = css80`
17248
+ var heading2Element = css81`
17110
17249
  ${h22}
17111
17250
  ${commonHeadingAttr(true)}
17112
17251
  ${commonLineHeight}
17113
17252
  `;
17114
- var heading3Element = css80`
17253
+ var heading3Element = css81`
17115
17254
  ${h32}
17116
17255
  ${commonHeadingAttr(true)}
17117
17256
  ${commonLineHeight}
17118
17257
  `;
17119
- var heading4Element = css80`
17258
+ var heading4Element = css81`
17120
17259
  ${h42}
17121
17260
  ${commonHeadingAttr(true)}
17122
17261
  ${commonLineHeight}
17123
17262
  `;
17124
- var heading5Element = css80`
17263
+ var heading5Element = css81`
17125
17264
  ${h52}
17126
17265
  ${commonHeadingAttr(true)}
17127
17266
  ${commonLineHeight}
17128
17267
  `;
17129
- var heading6Element = css80`
17268
+ var heading6Element = css81`
17130
17269
  ${h62}
17131
17270
  ${commonHeadingAttr(true)}
17132
17271
  ${commonLineHeight}
17133
17272
  `;
17134
- var paragraphElement = css80`
17273
+ var paragraphElement = css81`
17135
17274
  line-height: 1.5;
17136
17275
  margin-bottom: var(--spacing-base);
17137
17276
 
@@ -17139,7 +17278,7 @@ var paragraphElement = css80`
17139
17278
  margin-bottom: 0;
17140
17279
  }
17141
17280
  `;
17142
- var orderedListElement = css80`
17281
+ var orderedListElement = css81`
17143
17282
  ${commonLineHeight}
17144
17283
  display: block;
17145
17284
  list-style: decimal;
@@ -17168,7 +17307,7 @@ var orderedListElement = css80`
17168
17307
  }
17169
17308
  }
17170
17309
  `;
17171
- var unorderedListElement = css80`
17310
+ var unorderedListElement = css81`
17172
17311
  ${commonLineHeight}
17173
17312
  display: block;
17174
17313
  list-style: disc;
@@ -17189,13 +17328,13 @@ var unorderedListElement = css80`
17189
17328
  }
17190
17329
  }
17191
17330
  `;
17192
- var listItemElement = css80`
17331
+ var listItemElement = css81`
17193
17332
  margin-left: var(--spacing-md);
17194
17333
  `;
17195
- var nestedListItemElement = css80`
17334
+ var nestedListItemElement = css81`
17196
17335
  list-style-type: none;
17197
17336
  `;
17198
- var blockquoteElement = css80`
17337
+ var blockquoteElement = css81`
17199
17338
  border-left: 0.25rem solid var(--gray-300);
17200
17339
  color: var(--gray-600);
17201
17340
  margin-bottom: var(--spacing-base);
@@ -17205,7 +17344,7 @@ var blockquoteElement = css80`
17205
17344
  margin-bottom: 0;
17206
17345
  }
17207
17346
  `;
17208
- var codeElement = css80`
17347
+ var codeElement = css81`
17209
17348
  background-color: var(--gray-100);
17210
17349
  border-radius: var(--rounded-sm);
17211
17350
  display: block;
@@ -17222,7 +17361,7 @@ var codeElement = css80`
17222
17361
  `;
17223
17362
 
17224
17363
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
17225
- import { css as css81 } from "@emotion/react";
17364
+ import { css as css82 } from "@emotion/react";
17226
17365
  import { useLexicalComposerContext as useLexicalComposerContext2 } from "@lexical/react/LexicalComposerContext";
17227
17366
  import { NodeEventPlugin } from "@lexical/react/LexicalNodeEventPlugin";
17228
17367
  import { addClassNamesToElement, isHTMLAnchorElement, mergeRegister as mergeRegister2 } from "@lexical/utils";
@@ -17238,7 +17377,7 @@ import {
17238
17377
  ElementNode as ElementNode2,
17239
17378
  FOCUS_COMMAND
17240
17379
  } from "lexical";
17241
- import { useCallback as useCallback4, useEffect as useEffect11, useRef as useRef6, useState as useState12 } from "react";
17380
+ import { useCallback as useCallback5, useEffect as useEffect11, useRef as useRef6, useState as useState12 } from "react";
17242
17381
 
17243
17382
  // src/components/ParameterInputs/rich-text/utils.ts
17244
17383
  import { $isAtNodeEnd } from "@lexical/selection";
@@ -17563,16 +17702,16 @@ var OPEN_LINK_NODE_MODAL_COMMAND = createCommand(
17563
17702
  );
17564
17703
  var LINK_POPOVER_OFFSET_X = 0;
17565
17704
  var LINK_POPOVER_OFFSET_Y = 8;
17566
- var linkPopover = css81`
17705
+ var linkPopover = css82`
17567
17706
  position: absolute;
17568
17707
  z-index: 5;
17569
17708
  `;
17570
- var linkPopoverContainer = css81`
17709
+ var linkPopoverContainer = css82`
17571
17710
  ${Popover};
17572
17711
  align-items: center;
17573
17712
  display: flex;
17574
17713
  `;
17575
- var linkPopoverAnchor = css81`
17714
+ var linkPopoverAnchor = css82`
17576
17715
  ${link}
17577
17716
  ${linkColorDefault}
17578
17717
  `;
@@ -17660,7 +17799,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17660
17799
  )
17661
17800
  );
17662
17801
  }, [editor, onConnectLink]);
17663
- const maybeShowLinkToolbar = useCallback4(() => {
17802
+ const maybeShowLinkToolbar = useCallback5(() => {
17664
17803
  if (!editor.isEditable()) {
17665
17804
  return;
17666
17805
  }
@@ -17819,7 +17958,7 @@ function ListIndentPlugin({ maxDepth }) {
17819
17958
  }
17820
17959
 
17821
17960
  // src/components/ParameterInputs/rich-text/RichTextToolbar.tsx
17822
- import { css as css82 } from "@emotion/react";
17961
+ import { css as css83 } from "@emotion/react";
17823
17962
  import { $createCodeNode } from "@lexical/code";
17824
17963
  import {
17825
17964
  $isListNode as $isListNode2,
@@ -17841,9 +17980,9 @@ import {
17841
17980
  FORMAT_TEXT_COMMAND,
17842
17981
  SELECTION_CHANGE_COMMAND
17843
17982
  } from "lexical";
17844
- import { useCallback as useCallback5, useEffect as useEffect13, useMemo as useMemo3, useState as useState13 } from "react";
17983
+ import { useCallback as useCallback6, useEffect as useEffect13, useMemo as useMemo3, useState as useState13 } from "react";
17845
17984
  import { Fragment as Fragment18, jsx as jsx103, jsxs as jsxs70 } from "@emotion/react/jsx-runtime";
17846
- var toolbar = css82`
17985
+ var toolbar = css83`
17847
17986
  background: var(--gray-50);
17848
17987
  border-radius: var(--rounded-base);
17849
17988
  display: flex;
@@ -17855,7 +17994,7 @@ var toolbar = css82`
17855
17994
  top: calc(var(--spacing-sm) * -2);
17856
17995
  z-index: 10;
17857
17996
  `;
17858
- var toolbarGroup = css82`
17997
+ var toolbarGroup = css83`
17859
17998
  display: flex;
17860
17999
  gap: var(--spacing-xs);
17861
18000
  position: relative;
@@ -17871,7 +18010,7 @@ var toolbarGroup = css82`
17871
18010
  width: 1px;
17872
18011
  }
17873
18012
  `;
17874
- var richTextToolbarButton = css82`
18013
+ var richTextToolbarButton = css83`
17875
18014
  align-items: center;
17876
18015
  appearance: none;
17877
18016
  border: 0;
@@ -17884,13 +18023,13 @@ var richTextToolbarButton = css82`
17884
18023
  min-width: 32px;
17885
18024
  padding: 0 var(--spacing-sm);
17886
18025
  `;
17887
- var richTextToolbarButtonActive = css82`
18026
+ var richTextToolbarButtonActive = css83`
17888
18027
  background: var(--gray-200);
17889
18028
  `;
17890
- var toolbarIcon = css82`
18029
+ var toolbarIcon = css83`
17891
18030
  color: inherit;
17892
18031
  `;
17893
- var toolbarChevron = css82`
18032
+ var toolbarChevron = css83`
17894
18033
  margin-left: var(--spacing-xs);
17895
18034
  `;
17896
18035
  var RichTextToolbarIcon = ({ icon }) => {
@@ -17945,7 +18084,7 @@ var RichTextToolbar = ({ config, customControls }) => {
17945
18084
  }
17946
18085
  });
17947
18086
  };
17948
- const updateToolbar = useCallback5(() => {
18087
+ const updateToolbar = useCallback6(() => {
17949
18088
  const selection = $getSelection3();
17950
18089
  if (!$isRangeSelection3(selection)) {
17951
18090
  return;
@@ -18304,18 +18443,18 @@ var ParameterRichText = ({
18304
18443
  }
18305
18444
  );
18306
18445
  };
18307
- var editorWrapper = css83`
18446
+ var editorWrapper = css84`
18308
18447
  display: flex;
18309
18448
  flex-flow: column;
18310
18449
  flex-grow: 1;
18311
18450
  `;
18312
- var editorContainer = css83`
18451
+ var editorContainer = css84`
18313
18452
  display: flex;
18314
18453
  flex-flow: column;
18315
18454
  flex-grow: 1;
18316
18455
  position: relative;
18317
18456
  `;
18318
- var editorPlaceholder = css83`
18457
+ var editorPlaceholder = css84`
18319
18458
  color: var(--gray-500);
18320
18459
  font-style: italic;
18321
18460
  /* 1px is added to make sure caret is clearly visible when field is focused
@@ -18326,7 +18465,7 @@ var editorPlaceholder = css83`
18326
18465
  top: var(--spacing-xs);
18327
18466
  user-select: none;
18328
18467
  `;
18329
- var editorInput = css83`
18468
+ var editorInput = css84`
18330
18469
  background: var(--white);
18331
18470
  border: 1px solid var(--white);
18332
18471
  border-radius: var(--rounded-sm);
@@ -18569,8 +18708,8 @@ var ParameterToggleInner = forwardRef17(
18569
18708
  );
18570
18709
 
18571
18710
  // src/components/ProgressBar/ProgressBar.styles.ts
18572
- import { css as css84 } from "@emotion/react";
18573
- var container = css84`
18711
+ import { css as css85 } from "@emotion/react";
18712
+ var container = css85`
18574
18713
  background: var(--gray-50);
18575
18714
  margin-block: var(--spacing-sm);
18576
18715
  position: relative;
@@ -18580,14 +18719,14 @@ var container = css84`
18580
18719
  border: solid 1px var(--gray-300);
18581
18720
  `;
18582
18721
  var themeMap = {
18583
- primary: css84`
18722
+ primary: css85`
18584
18723
  background-color: var(--accent-light);
18585
18724
  `,
18586
- secondary: css84`
18725
+ secondary: css85`
18587
18726
  background-color: var(--brand-secondary-5);
18588
18727
  `
18589
18728
  };
18590
- var bar = css84`
18729
+ var bar = css85`
18591
18730
  position: absolute;
18592
18731
  inset: 0;
18593
18732
  transition: transform var(--duration-fast) var(--timing-ease-out);
@@ -18625,21 +18764,21 @@ function ProgressBar({ className, current, max, theme = "primary" }) {
18625
18764
  }
18626
18765
 
18627
18766
  // src/components/ProgressList/ProgressList.tsx
18628
- import { css as css86 } from "@emotion/react";
18767
+ import { css as css87 } from "@emotion/react";
18629
18768
  import { CgCheckO as CgCheckO2 } from "@react-icons/all-files/cg/CgCheckO";
18630
18769
  import { CgRadioCheck } from "@react-icons/all-files/cg/CgRadioCheck";
18631
18770
  import { CgRecord } from "@react-icons/all-files/cg/CgRecord";
18632
18771
  import { useMemo as useMemo4 } from "react";
18633
18772
 
18634
18773
  // src/components/ProgressList/styles/ProgressList.styles.ts
18635
- import { css as css85 } from "@emotion/react";
18636
- var progressListStyles = css85`
18774
+ import { css as css86 } from "@emotion/react";
18775
+ var progressListStyles = css86`
18637
18776
  display: flex;
18638
18777
  flex-direction: column;
18639
18778
  gap: var(--spacing-sm);
18640
18779
  list-style-type: none;
18641
18780
  `;
18642
- var progressListItemStyles = css85`
18781
+ var progressListItemStyles = css86`
18643
18782
  display: flex;
18644
18783
  gap: var(--spacing-base);
18645
18784
  align-items: center;
@@ -18694,12 +18833,12 @@ var ProgressListItem = ({
18694
18833
  }, [status, error]);
18695
18834
  const statusStyles = useMemo4(() => {
18696
18835
  if (error) {
18697
- return errorLevel === "caution" ? css86`
18836
+ return errorLevel === "caution" ? css87`
18698
18837
  color: rgb(161, 98, 7);
18699
18838
  & svg {
18700
18839
  color: rgb(250, 204, 21);
18701
18840
  }
18702
- ` : css86`
18841
+ ` : css87`
18703
18842
  color: rgb(185, 28, 28);
18704
18843
  & svg {
18705
18844
  color: var(--brand-primary-2);
@@ -18707,13 +18846,13 @@ var ProgressListItem = ({
18707
18846
  `;
18708
18847
  }
18709
18848
  const colorPerStatus = {
18710
- completed: css86`
18849
+ completed: css87`
18711
18850
  opacity: 0.75;
18712
18851
  `,
18713
- inProgress: css86`
18852
+ inProgress: css87`
18714
18853
  -webkit-text-stroke-width: thin;
18715
18854
  `,
18716
- queued: css86`
18855
+ queued: css87`
18717
18856
  opacity: 0.5;
18718
18857
  `
18719
18858
  };
@@ -18729,13 +18868,13 @@ var ProgressListItem = ({
18729
18868
  };
18730
18869
 
18731
18870
  // src/components/SegmentedControl/SegmentedControl.tsx
18732
- import { css as css88 } from "@emotion/react";
18871
+ import { css as css89 } from "@emotion/react";
18733
18872
  import { CgCheck as CgCheck4 } from "@react-icons/all-files/cg/CgCheck";
18734
- import { useCallback as useCallback6, useMemo as useMemo5 } from "react";
18873
+ import { useCallback as useCallback7, useMemo as useMemo5 } from "react";
18735
18874
 
18736
18875
  // src/components/SegmentedControl/SegmentedControl.styles.ts
18737
- import { css as css87 } from "@emotion/react";
18738
- var segmentedControlStyles = css87`
18876
+ import { css as css88 } from "@emotion/react";
18877
+ var segmentedControlStyles = css88`
18739
18878
  --segmented-control-rounded-value: var(--rounded-base);
18740
18879
  --segmented-control-border-width: 1px;
18741
18880
  --segmented-control-selected-color: var(--brand-secondary-3);
@@ -18754,14 +18893,14 @@ var segmentedControlStyles = css87`
18754
18893
  border-radius: calc(var(--segmented-control-rounded-value) + var(--segmented-control-border-width));
18755
18894
  font-size: var(--fs-xs);
18756
18895
  `;
18757
- var segmentedControlVerticalStyles = css87`
18896
+ var segmentedControlVerticalStyles = css88`
18758
18897
  flex-direction: column;
18759
18898
  --segmented-control-first-border-radius: var(--segmented-control-rounded-value)
18760
18899
  var(--segmented-control-rounded-value) 0 0;
18761
18900
  --segmented-control-last-border-radius: 0 0 var(--segmented-control-rounded-value)
18762
18901
  var(--segmented-control-rounded-value);
18763
18902
  `;
18764
- var segmentedControlItemStyles = css87`
18903
+ var segmentedControlItemStyles = css88`
18765
18904
  &:first-of-type label {
18766
18905
  border-radius: var(--segmented-control-first-border-radius);
18767
18906
  }
@@ -18769,10 +18908,10 @@ var segmentedControlItemStyles = css87`
18769
18908
  border-radius: var(--segmented-control-last-border-radius);
18770
18909
  }
18771
18910
  `;
18772
- var segmentedControlInputStyles = css87`
18911
+ var segmentedControlInputStyles = css88`
18773
18912
  ${accessibleHidden}
18774
18913
  `;
18775
- var segmentedControlLabelStyles = (checked, disabled) => css87`
18914
+ var segmentedControlLabelStyles = (checked, disabled) => css88`
18776
18915
  position: relative;
18777
18916
  display: flex;
18778
18917
  align-items: center;
@@ -18839,20 +18978,20 @@ var segmentedControlLabelStyles = (checked, disabled) => css87`
18839
18978
  `}
18840
18979
  }
18841
18980
  `;
18842
- var segmentedControlLabelIconOnlyStyles = css87`
18981
+ var segmentedControlLabelIconOnlyStyles = css88`
18843
18982
  padding-inline: 0.5em;
18844
18983
  `;
18845
- var segmentedControlLabelCheckStyles = css87`
18984
+ var segmentedControlLabelCheckStyles = css88`
18846
18985
  opacity: 0.5;
18847
18986
  `;
18848
- var segmentedControlLabelContentStyles = css87`
18987
+ var segmentedControlLabelContentStyles = css88`
18849
18988
  display: flex;
18850
18989
  align-items: center;
18851
18990
  justify-content: center;
18852
18991
  gap: var(--spacing-sm);
18853
18992
  height: 100%;
18854
18993
  `;
18855
- var segmentedControlLabelTextStyles = css87``;
18994
+ var segmentedControlLabelTextStyles = css88``;
18856
18995
 
18857
18996
  // src/components/SegmentedControl/SegmentedControl.tsx
18858
18997
  import { jsx as jsx110, jsxs as jsxs75 } from "@emotion/react/jsx-runtime";
@@ -18867,7 +19006,7 @@ var SegmentedControl = ({
18867
19006
  size = "md",
18868
19007
  ...props
18869
19008
  }) => {
18870
- const onOptionChange = useCallback6(
19009
+ const onOptionChange = useCallback7(
18871
19010
  (event) => {
18872
19011
  if (event.target.checked) {
18873
19012
  onChange == null ? void 0 : onChange(options[parseInt(event.target.value)].value);
@@ -18877,9 +19016,9 @@ var SegmentedControl = ({
18877
19016
  );
18878
19017
  const sizeStyles = useMemo5(() => {
18879
19018
  const map = {
18880
- sm: css88({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
18881
- md: css88({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
18882
- lg: css88({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
19019
+ sm: css89({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
19020
+ md: css89({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
19021
+ lg: css89({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
18883
19022
  };
18884
19023
  return map[size];
18885
19024
  }, [size]);
@@ -18936,12 +19075,12 @@ var SegmentedControl = ({
18936
19075
  };
18937
19076
 
18938
19077
  // src/components/Skeleton/Skeleton.styles.ts
18939
- import { css as css89, keyframes as keyframes4 } from "@emotion/react";
19078
+ import { css as css90, keyframes as keyframes4 } from "@emotion/react";
18940
19079
  var lightFadingOut = keyframes4`
18941
19080
  from { opacity: 0.1; }
18942
19081
  to { opacity: 0.025; }
18943
19082
  `;
18944
- var skeletonStyles = css89`
19083
+ var skeletonStyles = css90`
18945
19084
  animation: ${lightFadingOut} 1s ease-out infinite alternate;
18946
19085
  background-color: var(--gray-900);
18947
19086
  `;
@@ -18978,8 +19117,8 @@ var Skeleton = ({
18978
19117
  import * as React23 from "react";
18979
19118
 
18980
19119
  // src/components/Switch/Switch.styles.ts
18981
- import { css as css90 } from "@emotion/react";
18982
- var SwitchInputContainer = css90`
19120
+ import { css as css91 } from "@emotion/react";
19121
+ var SwitchInputContainer = css91`
18983
19122
  cursor: pointer;
18984
19123
  display: inline-block;
18985
19124
  position: relative;
@@ -18988,7 +19127,7 @@ var SwitchInputContainer = css90`
18988
19127
  vertical-align: middle;
18989
19128
  user-select: none;
18990
19129
  `;
18991
- var SwitchInput = css90`
19130
+ var SwitchInput = css91`
18992
19131
  appearance: none;
18993
19132
  border-radius: var(--rounded-full);
18994
19133
  background-color: var(--white);
@@ -19026,7 +19165,7 @@ var SwitchInput = css90`
19026
19165
  cursor: not-allowed;
19027
19166
  }
19028
19167
  `;
19029
- var SwitchInputDisabled = css90`
19168
+ var SwitchInputDisabled = css91`
19030
19169
  opacity: var(--opacity-50);
19031
19170
  cursor: not-allowed;
19032
19171
 
@@ -19034,7 +19173,7 @@ var SwitchInputDisabled = css90`
19034
19173
  cursor: not-allowed;
19035
19174
  }
19036
19175
  `;
19037
- var SwitchInputLabel = css90`
19176
+ var SwitchInputLabel = css91`
19038
19177
  align-items: center;
19039
19178
  color: var(--brand-secondary-1);
19040
19179
  display: inline-flex;
@@ -19056,7 +19195,7 @@ var SwitchInputLabel = css90`
19056
19195
  top: 0;
19057
19196
  }
19058
19197
  `;
19059
- var SwitchText = css90`
19198
+ var SwitchText = css91`
19060
19199
  color: var(--gray-500);
19061
19200
  font-size: var(--fs-sm);
19062
19201
  padding-inline: var(--spacing-2xl) 0;
@@ -19085,8 +19224,8 @@ var Switch = React23.forwardRef(
19085
19224
  import * as React24 from "react";
19086
19225
 
19087
19226
  // src/components/Table/Table.styles.ts
19088
- import { css as css91 } from "@emotion/react";
19089
- var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css91`
19227
+ import { css as css92 } from "@emotion/react";
19228
+ var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css92`
19090
19229
  border-bottom: 1px solid var(--gray-400);
19091
19230
  border-collapse: collapse;
19092
19231
  min-width: 100%;
@@ -19097,15 +19236,15 @@ var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css91
19097
19236
  padding: ${cellPadding};
19098
19237
  }
19099
19238
  `;
19100
- var tableHead = css91`
19239
+ var tableHead = css92`
19101
19240
  background: var(--gray-100);
19102
19241
  color: var(--brand-secondary-1);
19103
19242
  text-align: left;
19104
19243
  `;
19105
- var tableRow = css91`
19244
+ var tableRow = css92`
19106
19245
  border-bottom: 1px solid var(--gray-200);
19107
19246
  `;
19108
- var tableCellHead = css91`
19247
+ var tableCellHead = css92`
19109
19248
  font-size: var(--fs-sm);
19110
19249
  text-transform: uppercase;
19111
19250
  font-weight: var(--fw-bold);
@@ -19159,8 +19298,8 @@ import {
19159
19298
  } from "reakit/Tab";
19160
19299
 
19161
19300
  // src/components/Tabs/Tabs.styles.ts
19162
- import { css as css92 } from "@emotion/react";
19163
- var tabButtonStyles = css92`
19301
+ import { css as css93 } from "@emotion/react";
19302
+ var tabButtonStyles = css93`
19164
19303
  align-items: center;
19165
19304
  border: 0;
19166
19305
  height: 2.5rem;
@@ -19177,7 +19316,7 @@ var tabButtonStyles = css92`
19177
19316
  box-shadow: inset 0 -2px 0 var(--brand-secondary-3);
19178
19317
  }
19179
19318
  `;
19180
- var tabButtonGroupStyles = css92`
19319
+ var tabButtonGroupStyles = css93`
19181
19320
  display: flex;
19182
19321
  gap: var(--spacing-base);
19183
19322
  border-bottom: 1px solid var(--gray-300);
@@ -19229,8 +19368,8 @@ var TabContent = ({ children, ...props }) => {
19229
19368
  };
19230
19369
 
19231
19370
  // src/components/Validation/StatusBullet.styles.ts
19232
- import { css as css93 } from "@emotion/react";
19233
- var StatusBulletContainer = css93`
19371
+ import { css as css94 } from "@emotion/react";
19372
+ var StatusBulletContainer = css94`
19234
19373
  align-items: center;
19235
19374
  align-self: center;
19236
19375
  color: var(--gray-500);
@@ -19247,33 +19386,33 @@ var StatusBulletContainer = css93`
19247
19386
  display: block;
19248
19387
  }
19249
19388
  `;
19250
- var StatusBulletBase = css93`
19389
+ var StatusBulletBase = css94`
19251
19390
  font-size: var(--fs-sm);
19252
19391
  &:before {
19253
19392
  width: var(--fs-xs);
19254
19393
  height: var(--fs-xs);
19255
19394
  }
19256
19395
  `;
19257
- var StatusBulletSmall = css93`
19396
+ var StatusBulletSmall = css94`
19258
19397
  font-size: var(--fs-xs);
19259
19398
  &:before {
19260
19399
  width: var(--fs-xxs);
19261
19400
  height: var(--fs-xxs);
19262
19401
  }
19263
19402
  `;
19264
- var StatusDraft = css93`
19403
+ var StatusDraft = css94`
19265
19404
  &:before {
19266
19405
  background: var(--white);
19267
19406
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
19268
19407
  }
19269
19408
  `;
19270
- var StatusModified = css93`
19409
+ var StatusModified = css94`
19271
19410
  &:before {
19272
19411
  background: linear-gradient(to right, var(--white) 50%, var(--primary-action-default) 50% 100%);
19273
19412
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
19274
19413
  }
19275
19414
  `;
19276
- var StatusError = css93`
19415
+ var StatusError = css94`
19277
19416
  color: var(--error);
19278
19417
  &:before {
19279
19418
  /* TODO: replace this with an svg icon */
@@ -19286,12 +19425,12 @@ var StatusError = css93`
19286
19425
  );
19287
19426
  }
19288
19427
  `;
19289
- var StatusPublished = css93`
19428
+ var StatusPublished = css94`
19290
19429
  &:before {
19291
19430
  background: var(--primary-action-default);
19292
19431
  }
19293
19432
  `;
19294
- var StatusOrphan = css93`
19433
+ var StatusOrphan = css94`
19295
19434
  &:before {
19296
19435
  background: var(--brand-secondary-5);
19297
19436
  }
@@ -19474,6 +19613,8 @@ export {
19474
19613
  borderTopIcon,
19475
19614
  breakpoints,
19476
19615
  button,
19616
+ buttonAccentAltDark,
19617
+ buttonAccentAltDarkOutline,
19477
19618
  buttonDestructive,
19478
19619
  buttonGhost,
19479
19620
  buttonGhostDestructive,