@uniformdev/design-system 19.55.1-alpha.8 → 19.56.1-alpha.10

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
@@ -2,7 +2,7 @@ import "./chunk-6NI3O2RY.js";
2
2
 
3
3
  // src/styles/Theme.tsx
4
4
  import { Fragment, jsx as jsx2, jsxs } from "@emotion/react/jsx-runtime";
5
- var Theme = ({ disableReset = false }) => {
5
+ var Theme = ({ disableReset = false, disableGlobalReset = false }) => {
6
6
  return /* @__PURE__ */ jsxs(Fragment, { children: [
7
7
  /* @__PURE__ */ jsx2(
8
8
  "link",
@@ -68,7 +68,7 @@ var Theme = ({ disableReset = false }) => {
68
68
  --tertiary-action-hover: var(--gray-600);
69
69
  --tertiary-action-active: var(--gray-50);
70
70
  --tertiary-action-disabled: var(--gray-400);
71
-
71
+
72
72
  /* accent dark */
73
73
  --accent-dark: var(--purple-rain-500);
74
74
  --accent-dark-hover: var(--purple-rain-400);
@@ -193,64 +193,72 @@ var Theme = ({ disableReset = false }) => {
193
193
  --duration-fast: 0.25s;
194
194
  --duration-xfast: 0.15s;
195
195
  }
196
-
197
- html,
198
- body {
199
- color: var(--brand-secondary-1);
200
- font-family: var(--ff-base);
201
- scroll-behavior: smooth;
202
- font-weight: var(--fw-regular);
203
- line-height: 1.5;
196
+ `
204
197
  }
198
+ }
199
+ ),
200
+ disableGlobalReset ? null : /* @__PURE__ */ jsx2(
201
+ "style",
202
+ {
203
+ dangerouslySetInnerHTML: {
204
+ __html: `
205
+ html,
206
+ body {
207
+ color: var(--brand-secondary-1);
208
+ font-family: var(--ff-base);
209
+ scroll-behavior: smooth;
210
+ font-weight: var(--fw-regular);
211
+ line-height: 1.5;
212
+ }
205
213
 
206
- li {
207
- line-height: 1.5rem;
208
- }
214
+ li {
215
+ line-height: 1.5rem;
216
+ }
209
217
 
210
- a, button {
211
- cursor: pointer;
212
- }
218
+ a, button {
219
+ cursor: pointer;
220
+ }
213
221
 
214
- fieldset {
215
- border: 0;
216
- padding: 0;
217
- margin: 0;
218
- min-width: 0;
219
- }
222
+ fieldset {
223
+ border: 0;
224
+ padding: 0;
225
+ margin: 0;
226
+ min-width: 0;
227
+ }
220
228
 
221
- legend {
222
- margin: 0;
223
- padding: 0;
224
- }
229
+ legend {
230
+ margin: 0;
231
+ padding: 0;
232
+ }
225
233
 
226
- button, input, optgroup, select, textarea {
227
- font-family: inherit;
228
- font-size: inherit;
229
- color: inherit;
230
- line-height: 1.25rem;
231
- }
234
+ button, input, optgroup, select, textarea {
235
+ font-family: inherit;
236
+ font-size: inherit;
237
+ color: inherit;
238
+ line-height: 1.25rem;
239
+ }
232
240
 
233
- [role=button], button {
234
- cursor: pointer;
235
- }
241
+ [role=button], button {
242
+ cursor: pointer;
243
+ }
236
244
 
237
- audio, canvas, embed, iframe, img, object, svg, video {
238
- display: block;
239
- vertical-align: middle;
240
- }
245
+ audio, canvas, embed, iframe, img, object, svg, video {
246
+ display: block;
247
+ vertical-align: middle;
248
+ }
241
249
 
242
- pre {
243
- white-space: pre;
244
- }
250
+ pre {
251
+ white-space: pre;
252
+ }
245
253
 
246
- *:where(ul, ol) {
247
- all: unset;
248
- }
254
+ *:where(ul, ol) {
255
+ all: unset;
256
+ }
249
257
 
250
- ul, ol {
251
- list-style: none;
252
- }
253
- `
258
+ ul, ol {
259
+ list-style: none;
260
+ }
261
+ `
254
262
  }
255
263
  }
256
264
  )
@@ -272,7 +280,7 @@ var supports = (cssProp) => `@supports (${cssProp})`;
272
280
  var cq = (size) => `@container (min-width: ${size})`;
273
281
 
274
282
  // src/utils/replaceUnderscoreInString.ts
275
- var replaceUnderscoreInString = (title) => (title == null ? void 0 : title.includes("_")) ? title.replaceAll("_", " ") : title;
283
+ var replaceUnderscoreInString = (title2) => (title2 == null ? void 0 : title2.includes("_")) ? title2.replaceAll("_", " ") : title2;
276
284
 
277
285
  // src/utils/url.ts
278
286
  var isSecureURL = (value = "") => {
@@ -2264,7 +2272,7 @@ var IntegrationHeaderSectionHexImage = ({ ...props }) => {
2264
2272
  ] });
2265
2273
  };
2266
2274
  var IntegrationHeaderSection = ({
2267
- title,
2275
+ title: title2,
2268
2276
  description,
2269
2277
  icon,
2270
2278
  docsLink,
@@ -2279,10 +2287,10 @@ var IntegrationHeaderSection = ({
2279
2287
  /* @__PURE__ */ jsxs5("div", { css: IntegrationHeaderSectionTitleContainer, children: [
2280
2288
  icon ? /* @__PURE__ */ jsxs5("div", { css: IntegrationHeaderSectionIconContainer, children: [
2281
2289
  /* @__PURE__ */ jsx13(IntegrationHeaderSectionHexImage, { css: IntegrationHeaderSectionHexIcon }),
2282
- CompIcon ? /* @__PURE__ */ jsx13(CompIcon, { css: IntegrationHeaderSectionIcon }) : icon ? /* @__PURE__ */ jsx13("img", { src: icon, alt: title, css: IntegrationHeaderSectionIcon }) : null
2290
+ CompIcon ? /* @__PURE__ */ jsx13(CompIcon, { css: IntegrationHeaderSectionIcon }) : icon ? /* @__PURE__ */ jsx13("img", { src: icon, alt: title2, css: IntegrationHeaderSectionIcon }) : null
2283
2291
  ] }) : null,
2284
2292
  /* @__PURE__ */ jsxs5("div", { css: IntegrationHeaderSectionTitleGroup, "data-testid": "integration-header-text", children: [
2285
- /* @__PURE__ */ jsx13("h1", { css: IntegrationHeaderSectionTitle, children: title }),
2293
+ /* @__PURE__ */ jsx13("h1", { css: IntegrationHeaderSectionTitle, children: title2 }),
2286
2294
  badgeText ? /* @__PURE__ */ jsx13(Badge, { text: badgeText }) : null,
2287
2295
  menu2 ? /* @__PURE__ */ jsx13("div", { children: menu2 }) : null,
2288
2296
  docsLink ? /* @__PURE__ */ jsx13(
@@ -2382,7 +2390,7 @@ var PageHeaderSectionTitle = css15`
2382
2390
  // src/components/Typography/PageHeaderSection.tsx
2383
2391
  import { jsx as jsx14, jsxs as jsxs6 } from "@emotion/react/jsx-runtime";
2384
2392
  var PageHeaderSection = ({
2385
- title,
2393
+ title: title2,
2386
2394
  desc,
2387
2395
  children,
2388
2396
  linkText,
@@ -2409,7 +2417,7 @@ var PageHeaderSection = ({
2409
2417
  }
2410
2418
  )
2411
2419
  ] }) : null,
2412
- /* @__PURE__ */ jsx14(Heading, { level, css: PageHeaderSectionTitle, ...htmlProps, "data-testid": "page-header-section", children: title }),
2420
+ /* @__PURE__ */ jsx14(Heading, { level, css: PageHeaderSectionTitle, ...htmlProps, "data-testid": "page-header-section", children: title2 }),
2413
2421
  desc
2414
2422
  ] }),
2415
2423
  children ? /* @__PURE__ */ jsx14("div", { css: PageHeaderSectionChildContainer, children }) : null
@@ -2504,7 +2512,7 @@ var InlineAlertParagraph = css16`
2504
2512
  import { jsx as jsx15, jsxs as jsxs7 } from "@emotion/react/jsx-runtime";
2505
2513
  var InlineAlert = ({
2506
2514
  id,
2507
- title,
2515
+ title: title2,
2508
2516
  text,
2509
2517
  arrowPosition = "left-top",
2510
2518
  positionCss,
@@ -2512,7 +2520,7 @@ var InlineAlert = ({
2512
2520
  }) => {
2513
2521
  return /* @__PURE__ */ jsxs7("div", { role: "alert", id, css: [InlineAlertContainer, InlineAlertTriangle(arrowPosition), positionCss], children: [
2514
2522
  /* @__PURE__ */ jsx15("button", { type: "button", "aria-controls": id, title: "close alert", css: InlineAlertCloseBtn, ...btnProps, children: /* @__PURE__ */ jsx15(Icon, { icon: CgClose, iconColor: "currentColor", size: 24 }) }),
2515
- /* @__PURE__ */ jsx15(Heading, { level: 3, css: InlineAlertTitle, children: title }),
2523
+ /* @__PURE__ */ jsx15(Heading, { level: 3, css: InlineAlertTitle, children: title2 }),
2516
2524
  /* @__PURE__ */ jsx15("p", { css: InlineAlertParagraph, children: text })
2517
2525
  ] });
2518
2526
  };
@@ -11005,13 +11013,13 @@ var TooltipArrowStyles = css17`
11005
11013
 
11006
11014
  // src/components/Tooltip/Tooltip.tsx
11007
11015
  import { Fragment as Fragment4, jsx as jsx17, jsxs as jsxs8 } from "@emotion/react/jsx-runtime";
11008
- function Tooltip({ children, title, placement = "bottom", visible, ...props }) {
11016
+ function Tooltip({ children, title: title2, placement = "bottom", visible, ...props }) {
11009
11017
  const tooltip = useTooltipState({ placement });
11010
- return !title ? children : /* @__PURE__ */ jsxs8(Fragment4, { children: [
11018
+ return !title2 ? children : /* @__PURE__ */ jsxs8(Fragment4, { children: [
11011
11019
  /* @__PURE__ */ jsx17(TooltipReference, { ...tooltip, ...children.props, children: (referenceProps) => React5.cloneElement(children, referenceProps) }),
11012
11020
  /* @__PURE__ */ jsxs8(ReakitTooltip, { ...tooltip, ...props, css: TooltipContainer, visible: visible != null ? visible : tooltip.visible, children: [
11013
11021
  /* @__PURE__ */ jsx17(TooltipArrow, { ...tooltip, css: TooltipArrowStyles }),
11014
- title
11022
+ title2
11015
11023
  ] })
11016
11024
  ] });
11017
11025
  }
@@ -11483,9 +11491,9 @@ var MenuTitle = css23`
11483
11491
 
11484
11492
  // src/components/Menu/MenuGroup.tsx
11485
11493
  import { jsx as jsx23, jsxs as jsxs14 } from "@emotion/react/jsx-runtime";
11486
- var MenuGroup = ({ title, children }) => {
11487
- return /* @__PURE__ */ jsxs14("div", { css: MenuGroupContainer(!!title), "data-testid": "menu-group", children: [
11488
- title ? /* @__PURE__ */ jsx23("span", { css: MenuTitle, children: title }) : null,
11494
+ var MenuGroup = ({ title: title2, children }) => {
11495
+ return /* @__PURE__ */ jsxs14("div", { css: MenuGroupContainer(!!title2), "data-testid": "menu-group", children: [
11496
+ title2 ? /* @__PURE__ */ jsx23("span", { css: MenuTitle, children: title2 }) : null,
11489
11497
  children
11490
11498
  ] });
11491
11499
  };
@@ -12208,7 +12216,7 @@ var calloutTypeDataMap = {
12208
12216
  var Callout = ({
12209
12217
  type = "info",
12210
12218
  compact = false,
12211
- title,
12219
+ title: title2,
12212
12220
  children,
12213
12221
  className,
12214
12222
  testId
@@ -12232,7 +12240,7 @@ var Callout = ({
12232
12240
  children: /* @__PURE__ */ jsxs18("div", { css: calloutInner, children: [
12233
12241
  compact ? null : /* @__PURE__ */ jsx29("div", { css: calloutIconWrap, children: /* @__PURE__ */ jsx29(Icon2, { css: [calloutIcon, calloutTypeData.iconColor] }) }),
12234
12242
  /* @__PURE__ */ jsxs18("div", { css: [calloutBody, compact ? calloutBodyCompact : void 0], children: [
12235
- title ? /* @__PURE__ */ jsx29("div", { css: [calloutTitle], "data-testid": "callout-title", children: title }) : null,
12243
+ title2 ? /* @__PURE__ */ jsx29("div", { css: [calloutTitle], "data-testid": "callout-title", children: title2 }) : null,
12236
12244
  children ? /* @__PURE__ */ jsx29("div", { css: [calloutTypeData.descriptionColor], "data-testid": "callout-description", children }) : null
12237
12245
  ] })
12238
12246
  ] })
@@ -12289,7 +12297,7 @@ var CardMenu = css29`
12289
12297
  // src/components/Card/Card.tsx
12290
12298
  import { jsx as jsx30, jsxs as jsxs19 } from "@emotion/react/jsx-runtime";
12291
12299
  var Card = ({
12292
- title,
12300
+ title: title2,
12293
12301
  menuItems,
12294
12302
  children,
12295
12303
  titleWithMarginBottom = true,
@@ -12299,7 +12307,7 @@ var Card = ({
12299
12307
  ...props
12300
12308
  }) => {
12301
12309
  return /* @__PURE__ */ jsxs19(Tag, { css: CardContainer, ...props, children: [
12302
- title ? /* @__PURE__ */ jsx30(CardTitle2, { title, titleWithMarginBottom }) : null,
12310
+ title2 ? /* @__PURE__ */ jsx30(CardTitle2, { title: title2, titleWithMarginBottom }) : null,
12303
12311
  menuItems ? /* @__PURE__ */ jsx30(
12304
12312
  Menu,
12305
12313
  {
@@ -12321,8 +12329,8 @@ var Card = ({
12321
12329
  children
12322
12330
  ] });
12323
12331
  };
12324
- var CardTitle2 = ({ title, titleWithMarginBottom, children }) => {
12325
- const normalizeTitle = replaceUnderscoreInString(title);
12332
+ var CardTitle2 = ({ title: title2, titleWithMarginBottom, children }) => {
12333
+ const normalizeTitle = replaceUnderscoreInString(title2);
12326
12334
  return /* @__PURE__ */ jsxs19(Heading, { level: 3, css: CardTitle(titleWithMarginBottom), children: [
12327
12335
  normalizeTitle,
12328
12336
  children
@@ -14750,14 +14758,14 @@ var IntegrationTileFloatingButtonMessage = (clicked) => css55`
14750
14758
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
14751
14759
  import { jsx as jsx66, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
14752
14760
  var CreateTeamIntegrationTile = ({
14753
- title = "Create a custom integration for your team",
14761
+ title: title2 = "Create a custom integration for your team",
14754
14762
  buttonText = "Add Integration",
14755
14763
  onClick,
14756
14764
  asDeepLink = false,
14757
14765
  ...props
14758
14766
  }) => {
14759
14767
  return /* @__PURE__ */ jsxs42("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
14760
- /* @__PURE__ */ jsx66("span", { css: IntegrationTileTitle, title, children: title }),
14768
+ /* @__PURE__ */ jsx66("span", { css: IntegrationTileTitle, title: title2, children: title2 }),
14761
14769
  /* @__PURE__ */ jsxs42(
14762
14770
  Button,
14763
14771
  {
@@ -15410,9 +15418,9 @@ var LinkListTitle = css65`
15410
15418
 
15411
15419
  // src/components/LinkList/LinkList.tsx
15412
15420
  import { jsx as jsx80, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
15413
- var LinkList = ({ title, padding = "var(--spacing-md)", children, ...props }) => {
15421
+ var LinkList = ({ title: title2, padding = "var(--spacing-md)", children, ...props }) => {
15414
15422
  return /* @__PURE__ */ jsxs51("div", { css: LinkListContainer(padding), ...props, children: [
15415
- /* @__PURE__ */ jsx80(Heading, { level: 3, css: LinkListTitle, children: title }),
15423
+ /* @__PURE__ */ jsx80(Heading, { level: 3, css: LinkListTitle, children: title2 }),
15416
15424
  children
15417
15425
  ] });
15418
15426
  };
@@ -15799,6 +15807,9 @@ var LoadingIcon = ({ height, width, ...props }) => {
15799
15807
  );
15800
15808
  };
15801
15809
 
15810
+ // src/components/MediaCard/MediaCard.tsx
15811
+ import { useCallback as useCallback4 } from "react";
15812
+
15802
15813
  // src/components/Popover/Popover.tsx
15803
15814
  import {
15804
15815
  Popover as ReakitPopover,
@@ -15870,7 +15881,7 @@ var Popover2 = ({
15870
15881
 
15871
15882
  // src/components/MediaCard/MediaCard.styles.ts
15872
15883
  import { css as css72 } from "@emotion/react";
15873
- var cardBaseStyles = css72`
15884
+ var cardBase = css72`
15874
15885
  display: flex;
15875
15886
  flex-direction: column;
15876
15887
  justify-content: flex-start;
@@ -15879,12 +15890,9 @@ var cardBaseStyles = css72`
15879
15890
  padding: 0;
15880
15891
  min-height: unset;
15881
15892
  outline: none;
15882
-
15883
- &:focus-visible {
15884
- outline: 2px solid var(--primary-action-default);
15885
- }
15893
+ cursor: pointer;
15886
15894
  `;
15887
- var cardBaseCoverIconWrapperStyles = css72`
15895
+ var coverWrapper = css72`
15888
15896
  position: relative;
15889
15897
  display: flex;
15890
15898
  align-items: center;
@@ -15894,27 +15902,43 @@ var cardBaseCoverIconWrapperStyles = css72`
15894
15902
  overflow: hidden;
15895
15903
  border-radius: 3px 3px 0 0;
15896
15904
  padding: var(--spacing-sm);
15897
- cursor: pointer;
15905
+ outline: none;
15906
+ border: 0;
15898
15907
  `;
15899
- var cardBaseContentStyles = css72`
15908
+ var contentWrapper = css72`
15900
15909
  padding: var(--spacing-sm);
15901
15910
  `;
15902
- var cardBaseTitleStyles = css72`
15911
+ var title = css72`
15903
15912
  font-size: var(--fs-sm);
15904
15913
  color: var(--gray-500);
15905
- cursor: pointer;
15906
15914
  white-space: nowrap;
15907
15915
  overflow: hidden;
15908
15916
  text-overflow: ellipsis;
15917
+ outline: none;
15918
+ border: 0;
15919
+ background-color: transparent;
15920
+
15921
+ &:focus-visible {
15922
+ outline: 2px solid var(--primary-action-default);
15923
+ }
15909
15924
  `;
15910
- var cardBaseSubtitleStyles = css72`
15925
+ var subtitle = css72`
15911
15926
  font-size: var(--fs-xs);
15912
15927
  color: var(--gray-500);
15913
15928
  white-space: nowrap;
15914
15929
  overflow: hidden;
15915
15930
  text-overflow: ellipsis;
15931
+ outline: none;
15932
+ border: 0;
15933
+ background-color: transparent;
15934
+ `;
15935
+ var sideSection = css72`
15936
+ cursor: default;
15937
+ `;
15938
+ var menuSection = css72`
15939
+ cursor: default;
15916
15940
  `;
15917
- var cardBaseMenuButtonStyles = css72`
15941
+ var menuButton = css72`
15918
15942
  padding: var(--spacing-2xs);
15919
15943
  border-radius: var(--rounded-sm);
15920
15944
  border-width: 0;
@@ -15928,25 +15952,29 @@ var cardBaseMenuButtonStyles = css72`
15928
15952
  // src/components/MediaCard/MediaCard.tsx
15929
15953
  import { jsx as jsx87, jsxs as jsxs58 } from "@emotion/react/jsx-runtime";
15930
15954
  var MediaCard = ({
15931
- title,
15932
- subtitle,
15955
+ title: title2,
15956
+ subtitle: subtitle2,
15933
15957
  infoPopover,
15934
15958
  cover,
15935
15959
  menuItems,
15936
- sideSection,
15960
+ sideSection: sideSection2,
15937
15961
  onClick,
15938
15962
  ...cardProps
15939
15963
  }) => {
15940
- return /* @__PURE__ */ jsxs58(Card, { tag: "button", css: cardBaseStyles, ...cardProps, onClick, children: [
15941
- /* @__PURE__ */ jsx87("div", { css: cardBaseCoverIconWrapperStyles, children: cover }),
15942
- /* @__PURE__ */ jsx87("div", { css: cardBaseContentStyles, children: /* @__PURE__ */ jsxs58(HorizontalRhythm, { gap: "sm", justify: "space-between", align: "center", css: { width: "100%" }, children: [
15964
+ const onStopPropogation = useCallback4((e) => {
15965
+ e.stopPropagation();
15966
+ }, []);
15967
+ const hasMenuItems = Array.isArray(menuItems) ? menuItems.length > 0 : Boolean(menuItems);
15968
+ return /* @__PURE__ */ jsxs58(Card, { css: cardBase, ...cardProps, onClick, children: [
15969
+ /* @__PURE__ */ jsx87("button", { tabIndex: -1, css: coverWrapper, children: cover }),
15970
+ /* @__PURE__ */ jsx87("div", { css: contentWrapper, children: /* @__PURE__ */ jsxs58(HorizontalRhythm, { gap: "sm", justify: "space-between", align: "center", css: { width: "100%" }, children: [
15943
15971
  /* @__PURE__ */ jsxs58(VerticalRhythm, { gap: "0", align: "flex-start", css: { flex: 1, minWidth: 0 }, children: [
15944
15972
  /* @__PURE__ */ jsxs58(HorizontalRhythm, { gap: "xs", align: "center", css: { maxWidth: "100%" }, children: [
15945
- /* @__PURE__ */ jsx87("div", { css: cardBaseTitleStyles, "data-testid": "card-title", children: title }),
15946
- !infoPopover ? null : /* @__PURE__ */ jsx87("div", { css: { display: "flex", cursor: "default" }, onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ jsx87(
15973
+ /* @__PURE__ */ jsx87("button", { css: title, "data-testid": "card-title", children: title2 }),
15974
+ !infoPopover ? null : /* @__PURE__ */ jsx87("div", { css: { display: "flex", cursor: "default" }, onClick: onStopPropogation, children: /* @__PURE__ */ jsx87(
15947
15975
  Popover2,
15948
15976
  {
15949
- baseId: `info-of-${title}`,
15977
+ baseId: `info-of-${title2}`,
15950
15978
  buttonText: "Details",
15951
15979
  ariaLabel: "Details",
15952
15980
  iconColor: "default",
@@ -15956,17 +15984,26 @@ var MediaCard = ({
15956
15984
  }
15957
15985
  ) })
15958
15986
  ] }),
15959
- subtitle ? /* @__PURE__ */ jsx87("div", { css: cardBaseSubtitleStyles, children: subtitle }) : null
15987
+ subtitle2 ? /* @__PURE__ */ jsx87("button", { tabIndex: -1, css: subtitle, children: subtitle2 }) : null
15960
15988
  ] }),
15961
- sideSection ? /* @__PURE__ */ jsx87("div", { css: { cursor: "default" }, onClick: (e) => e.stopPropagation(), children: sideSection }) : null,
15962
- /* @__PURE__ */ jsx87(VerticalRhythm, { align: "center", justify: "center", onClick: (e) => e.stopPropagation(), children: !menuItems || Array.isArray(menuItems) && !menuItems.length ? null : /* @__PURE__ */ jsx87(
15963
- Menu,
15989
+ sideSection2 ? /* @__PURE__ */ jsx87("div", { css: sideSection, onClick: onStopPropogation, children: sideSection2 }) : null,
15990
+ hasMenuItems ? /* @__PURE__ */ jsx87(
15991
+ VerticalRhythm,
15964
15992
  {
15965
- menuTrigger: /* @__PURE__ */ jsx87("button", { type: "button", "aria-label": "More options", css: cardBaseMenuButtonStyles, children: /* @__PURE__ */ jsx87(Icon, { icon: "more-alt", iconColor: "gray", size: 16 }) }),
15966
- menuLabel: `Menu of ${title}`,
15967
- children: menuItems
15993
+ css: menuSection,
15994
+ align: "center",
15995
+ justify: "center",
15996
+ onClick: onStopPropogation,
15997
+ children: /* @__PURE__ */ jsx87(
15998
+ Menu,
15999
+ {
16000
+ menuTrigger: /* @__PURE__ */ jsx87("button", { type: "button", "aria-label": "More options", css: menuButton, children: /* @__PURE__ */ jsx87(Icon, { icon: "more-alt", iconColor: "gray", size: 16 }) }),
16001
+ menuLabel: `Menu of ${title2}`,
16002
+ children: menuItems
16003
+ }
16004
+ )
15968
16005
  }
15969
- ) })
16006
+ ) : null
15970
16007
  ] }) })
15971
16008
  ] });
15972
16009
  };
@@ -16131,10 +16168,10 @@ var LabelLeadingIcon = ({
16131
16168
  isBound,
16132
16169
  isActive,
16133
16170
  isLocked,
16134
- title,
16171
+ title: title2,
16135
16172
  ...props
16136
16173
  }) => {
16137
- const titleFr = title != null ? title : isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
16174
+ const titleFr = title2 != null ? title2 : isLocked ? "Read-only pattern parameter" : isBound ? "Connected to external content. Click to edit" : "Click to connect to external content";
16138
16175
  return /* @__PURE__ */ jsx89(Tooltip, { title: titleFr, children: /* @__PURE__ */ jsxs60(
16139
16176
  "button",
16140
16177
  {
@@ -16474,11 +16511,11 @@ var ParameterDrawerHeaderTitle = css76`
16474
16511
 
16475
16512
  // src/components/ParameterInputs/ParameterDrawerHeader.tsx
16476
16513
  import { jsx as jsx91, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
16477
- var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
16514
+ var ParameterDrawerHeader = ({ title: title2, iconBeforeTitle, children }) => {
16478
16515
  return /* @__PURE__ */ jsxs62("div", { css: ParameterDrawerHeaderContainer, children: [
16479
16516
  /* @__PURE__ */ jsxs62("header", { css: ParameterDrawerHeaderTitleGroup, children: [
16480
16517
  iconBeforeTitle,
16481
- /* @__PURE__ */ jsx91(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
16518
+ /* @__PURE__ */ jsx91(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title: title2, children: title2 })
16482
16519
  ] }),
16483
16520
  children
16484
16521
  ] });
@@ -16597,6 +16634,7 @@ var PreviewImageModal = ({ open, onRequestClose, imageSrc }) => {
16597
16634
  };
16598
16635
 
16599
16636
  // src/components/ParameterInputs/ParameterShell.tsx
16637
+ import { css as css80 } from "@emotion/react";
16600
16638
  import { useState as useState11 } from "react";
16601
16639
 
16602
16640
  // src/components/ParameterInputs/ParameterLabel.tsx
@@ -16674,7 +16712,7 @@ var extractParameterProps = (props) => {
16674
16712
  hiddenLabel,
16675
16713
  labelLeadingIcon,
16676
16714
  menuItems,
16677
- title,
16715
+ title: title2,
16678
16716
  hasOverriddenValue,
16679
16717
  onResetOverriddenValue,
16680
16718
  ...innerProps
@@ -16692,7 +16730,7 @@ var extractParameterProps = (props) => {
16692
16730
  hiddenLabel,
16693
16731
  labelLeadingIcon,
16694
16732
  menuItems,
16695
- title,
16733
+ title: title2,
16696
16734
  hasOverriddenValue,
16697
16735
  onResetOverriddenValue
16698
16736
  },
@@ -16712,9 +16750,10 @@ var ParameterShell = ({
16712
16750
  errorTestId,
16713
16751
  captionTestId,
16714
16752
  menuItems,
16753
+ actionItems,
16715
16754
  hasOverriddenValue,
16716
16755
  onResetOverriddenValue,
16717
- title,
16756
+ title: title2,
16718
16757
  children,
16719
16758
  ...props
16720
16759
  }) => {
@@ -16722,17 +16761,29 @@ var ParameterShell = ({
16722
16761
  const setErrorMessage = (message) => setManualErrorMessage(message);
16723
16762
  const errorMessaging = errorMessage || manualErrorMessage;
16724
16763
  return /* @__PURE__ */ jsxs65("div", { css: inputContainer2, ...props, children: [
16725
- hiddenLabel || title ? null : /* @__PURE__ */ jsxs65(ParameterLabel, { id, css: labelText2, children: [
16764
+ hiddenLabel || title2 ? null : /* @__PURE__ */ jsxs65(ParameterLabel, { id, css: labelText2, children: [
16726
16765
  labelLeadingIcon != null ? labelLeadingIcon : null,
16727
16766
  label,
16728
16767
  labelTrailingIcon != null ? labelTrailingIcon : null
16729
16768
  ] }),
16730
- !title ? null : /* @__PURE__ */ jsxs65(ParameterLabel, { id, asSpan: true, children: [
16769
+ !title2 ? null : /* @__PURE__ */ jsxs65(ParameterLabel, { id, asSpan: true, children: [
16731
16770
  labelLeadingIcon != null ? labelLeadingIcon : null,
16732
- title,
16771
+ title2,
16733
16772
  labelTrailingIcon != null ? labelTrailingIcon : null
16734
16773
  ] }),
16735
16774
  /* @__PURE__ */ jsxs65("div", { css: inputWrapper, children: [
16775
+ actionItems ? /* @__PURE__ */ jsx96(
16776
+ "div",
16777
+ {
16778
+ css: [
16779
+ inputMenu,
16780
+ menuItems ? css80`
16781
+ right: var(--spacing-md);
16782
+ ` : void 0
16783
+ ],
16784
+ children: actionItems
16785
+ }
16786
+ ) : null,
16736
16787
  menuItems ? /* @__PURE__ */ jsx96(ParameterMenuButton, { label: `${label} menu`, children: menuItems }) : null,
16737
16788
  /* @__PURE__ */ jsx96(
16738
16789
  ParameterShellContext.Provider,
@@ -16969,7 +17020,7 @@ var ParameterNameAndPublicIdInput = ({
16969
17020
  };
16970
17021
 
16971
17022
  // src/components/ParameterInputs/ParameterRichText.tsx
16972
- import { css as css83 } from "@emotion/react";
17023
+ import { css as css84 } from "@emotion/react";
16973
17024
  import { ListItemNode, ListNode as ListNode2 } from "@lexical/list";
16974
17025
  import {
16975
17026
  CODE,
@@ -17121,23 +17172,23 @@ function DisableStylesPlugin() {
17121
17172
  }
17122
17173
 
17123
17174
  // src/components/ParameterInputs/rich-text/editorStyles.ts
17124
- import { css as css80 } from "@emotion/css";
17125
- var textBold = css80`
17175
+ import { css as css81 } from "@emotion/css";
17176
+ var textBold = css81`
17126
17177
  font-weight: 700;
17127
17178
  `;
17128
- var textItalic = css80`
17179
+ var textItalic = css81`
17129
17180
  font-style: italic;
17130
17181
  `;
17131
- var textUnderline = css80`
17182
+ var textUnderline = css81`
17132
17183
  text-decoration: underline;
17133
17184
  `;
17134
- var textStrikethrough = css80`
17185
+ var textStrikethrough = css81`
17135
17186
  text-decoration: line-through;
17136
17187
  `;
17137
- var textUnderlineStrikethrough = css80`
17188
+ var textUnderlineStrikethrough = css81`
17138
17189
  text-decoration: underline line-through;
17139
17190
  `;
17140
- var textCode = css80`
17191
+ var textCode = css81`
17141
17192
  background-color: var(--gray-100);
17142
17193
  border-radius: var(--rounded-sm);
17143
17194
  display: inline-block;
@@ -17148,68 +17199,68 @@ var textCode = css80`
17148
17199
  padding-left: var(--spacing-xs);
17149
17200
  padding-right: var(--spacing-xs);
17150
17201
  `;
17151
- var textSuperscript = css80`
17202
+ var textSuperscript = css81`
17152
17203
  vertical-align: super;
17153
17204
  font-size: smaller;
17154
17205
  `;
17155
- var textSubscript = css80`
17206
+ var textSubscript = css81`
17156
17207
  vertical-align: sub;
17157
17208
  font-size: smaller;
17158
17209
  `;
17159
- var linkElement = css80`
17210
+ var linkElement = css81`
17160
17211
  ${link}
17161
17212
  ${linkColorDefault}
17162
17213
  text-decoration: underline;
17163
17214
  `;
17164
- var h12 = css80`
17215
+ var h12 = css81`
17165
17216
  font-size: clamp(1.35rem, var(--fluid-font-base), 1.7rem);
17166
17217
  `;
17167
- var h22 = css80`
17218
+ var h22 = css81`
17168
17219
  font-size: clamp(1.35rem, var(--fluid-font-base), 1.6rem);
17169
17220
  `;
17170
- var h32 = css80`
17221
+ var h32 = css81`
17171
17222
  font-size: clamp(1.25rem, var(--fluid-font-base), 1.5rem);
17172
17223
  `;
17173
- var h42 = css80`
17224
+ var h42 = css81`
17174
17225
  font-size: clamp(1.15rem, var(--fluid-font-base), 1.25rem);
17175
17226
  `;
17176
- var h52 = css80`
17227
+ var h52 = css81`
17177
17228
  font-size: clamp(var(--fs-base), var(--fluid-font-base), 1.15rem);
17178
17229
  `;
17179
- var h62 = css80`
17230
+ var h62 = css81`
17180
17231
  font-size: var(--fs-base);
17181
17232
  `;
17182
- var heading1Element = css80`
17233
+ var heading1Element = css81`
17183
17234
  ${h12}
17184
17235
  ${commonHeadingAttr(true)}
17185
17236
  ${commonLineHeight}
17186
17237
  `;
17187
- var heading2Element = css80`
17238
+ var heading2Element = css81`
17188
17239
  ${h22}
17189
17240
  ${commonHeadingAttr(true)}
17190
17241
  ${commonLineHeight}
17191
17242
  `;
17192
- var heading3Element = css80`
17243
+ var heading3Element = css81`
17193
17244
  ${h32}
17194
17245
  ${commonHeadingAttr(true)}
17195
17246
  ${commonLineHeight}
17196
17247
  `;
17197
- var heading4Element = css80`
17248
+ var heading4Element = css81`
17198
17249
  ${h42}
17199
17250
  ${commonHeadingAttr(true)}
17200
17251
  ${commonLineHeight}
17201
17252
  `;
17202
- var heading5Element = css80`
17253
+ var heading5Element = css81`
17203
17254
  ${h52}
17204
17255
  ${commonHeadingAttr(true)}
17205
17256
  ${commonLineHeight}
17206
17257
  `;
17207
- var heading6Element = css80`
17258
+ var heading6Element = css81`
17208
17259
  ${h62}
17209
17260
  ${commonHeadingAttr(true)}
17210
17261
  ${commonLineHeight}
17211
17262
  `;
17212
- var paragraphElement = css80`
17263
+ var paragraphElement = css81`
17213
17264
  line-height: 1.5;
17214
17265
  margin-bottom: var(--spacing-base);
17215
17266
 
@@ -17217,7 +17268,7 @@ var paragraphElement = css80`
17217
17268
  margin-bottom: 0;
17218
17269
  }
17219
17270
  `;
17220
- var orderedListElement = css80`
17271
+ var orderedListElement = css81`
17221
17272
  ${commonLineHeight}
17222
17273
  display: block;
17223
17274
  list-style: decimal;
@@ -17246,7 +17297,7 @@ var orderedListElement = css80`
17246
17297
  }
17247
17298
  }
17248
17299
  `;
17249
- var unorderedListElement = css80`
17300
+ var unorderedListElement = css81`
17250
17301
  ${commonLineHeight}
17251
17302
  display: block;
17252
17303
  list-style: disc;
@@ -17267,13 +17318,13 @@ var unorderedListElement = css80`
17267
17318
  }
17268
17319
  }
17269
17320
  `;
17270
- var listItemElement = css80`
17321
+ var listItemElement = css81`
17271
17322
  margin-left: var(--spacing-md);
17272
17323
  `;
17273
- var nestedListItemElement = css80`
17324
+ var nestedListItemElement = css81`
17274
17325
  list-style-type: none;
17275
17326
  `;
17276
- var blockquoteElement = css80`
17327
+ var blockquoteElement = css81`
17277
17328
  border-left: 0.25rem solid var(--gray-300);
17278
17329
  color: var(--gray-600);
17279
17330
  margin-bottom: var(--spacing-base);
@@ -17283,7 +17334,7 @@ var blockquoteElement = css80`
17283
17334
  margin-bottom: 0;
17284
17335
  }
17285
17336
  `;
17286
- var codeElement = css80`
17337
+ var codeElement = css81`
17287
17338
  background-color: var(--gray-100);
17288
17339
  border-radius: var(--rounded-sm);
17289
17340
  display: block;
@@ -17300,7 +17351,7 @@ var codeElement = css80`
17300
17351
  `;
17301
17352
 
17302
17353
  // src/components/ParameterInputs/rich-text/LinkNodePlugin.tsx
17303
- import { css as css81 } from "@emotion/react";
17354
+ import { css as css82 } from "@emotion/react";
17304
17355
  import { useLexicalComposerContext as useLexicalComposerContext2 } from "@lexical/react/LexicalComposerContext";
17305
17356
  import { NodeEventPlugin } from "@lexical/react/LexicalNodeEventPlugin";
17306
17357
  import { addClassNamesToElement, isHTMLAnchorElement, mergeRegister as mergeRegister2 } from "@lexical/utils";
@@ -17316,7 +17367,7 @@ import {
17316
17367
  ElementNode as ElementNode2,
17317
17368
  FOCUS_COMMAND
17318
17369
  } from "lexical";
17319
- import { useCallback as useCallback4, useEffect as useEffect11, useRef as useRef6, useState as useState12 } from "react";
17370
+ import { useCallback as useCallback5, useEffect as useEffect11, useRef as useRef6, useState as useState12 } from "react";
17320
17371
 
17321
17372
  // src/components/ParameterInputs/rich-text/utils.ts
17322
17373
  import { $isAtNodeEnd } from "@lexical/selection";
@@ -17641,16 +17692,16 @@ var OPEN_LINK_NODE_MODAL_COMMAND = createCommand(
17641
17692
  );
17642
17693
  var LINK_POPOVER_OFFSET_X = 0;
17643
17694
  var LINK_POPOVER_OFFSET_Y = 8;
17644
- var linkPopover = css81`
17695
+ var linkPopover = css82`
17645
17696
  position: absolute;
17646
17697
  z-index: 5;
17647
17698
  `;
17648
- var linkPopoverContainer = css81`
17699
+ var linkPopoverContainer = css82`
17649
17700
  ${Popover};
17650
17701
  align-items: center;
17651
17702
  display: flex;
17652
17703
  `;
17653
- var linkPopoverAnchor = css81`
17704
+ var linkPopoverAnchor = css82`
17654
17705
  ${link}
17655
17706
  ${linkColorDefault}
17656
17707
  `;
@@ -17738,7 +17789,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17738
17789
  )
17739
17790
  );
17740
17791
  }, [editor, onConnectLink]);
17741
- const maybeShowLinkToolbar = useCallback4(() => {
17792
+ const maybeShowLinkToolbar = useCallback5(() => {
17742
17793
  if (!editor.isEditable()) {
17743
17794
  return;
17744
17795
  }
@@ -17897,7 +17948,7 @@ function ListIndentPlugin({ maxDepth }) {
17897
17948
  }
17898
17949
 
17899
17950
  // src/components/ParameterInputs/rich-text/RichTextToolbar.tsx
17900
- import { css as css82 } from "@emotion/react";
17951
+ import { css as css83 } from "@emotion/react";
17901
17952
  import { $createCodeNode } from "@lexical/code";
17902
17953
  import {
17903
17954
  $isListNode as $isListNode2,
@@ -17919,9 +17970,9 @@ import {
17919
17970
  FORMAT_TEXT_COMMAND,
17920
17971
  SELECTION_CHANGE_COMMAND
17921
17972
  } from "lexical";
17922
- import { useCallback as useCallback5, useEffect as useEffect13, useMemo as useMemo3, useState as useState13 } from "react";
17973
+ import { useCallback as useCallback6, useEffect as useEffect13, useMemo as useMemo3, useState as useState13 } from "react";
17923
17974
  import { Fragment as Fragment18, jsx as jsx103, jsxs as jsxs70 } from "@emotion/react/jsx-runtime";
17924
- var toolbar = css82`
17975
+ var toolbar = css83`
17925
17976
  background: var(--gray-50);
17926
17977
  border-radius: var(--rounded-base);
17927
17978
  display: flex;
@@ -17933,7 +17984,7 @@ var toolbar = css82`
17933
17984
  top: calc(var(--spacing-sm) * -2);
17934
17985
  z-index: 10;
17935
17986
  `;
17936
- var toolbarGroup = css82`
17987
+ var toolbarGroup = css83`
17937
17988
  display: flex;
17938
17989
  gap: var(--spacing-xs);
17939
17990
  position: relative;
@@ -17949,7 +18000,7 @@ var toolbarGroup = css82`
17949
18000
  width: 1px;
17950
18001
  }
17951
18002
  `;
17952
- var richTextToolbarButton = css82`
18003
+ var richTextToolbarButton = css83`
17953
18004
  align-items: center;
17954
18005
  appearance: none;
17955
18006
  border: 0;
@@ -17962,13 +18013,13 @@ var richTextToolbarButton = css82`
17962
18013
  min-width: 32px;
17963
18014
  padding: 0 var(--spacing-sm);
17964
18015
  `;
17965
- var richTextToolbarButtonActive = css82`
18016
+ var richTextToolbarButtonActive = css83`
17966
18017
  background: var(--gray-200);
17967
18018
  `;
17968
- var toolbarIcon = css82`
18019
+ var toolbarIcon = css83`
17969
18020
  color: inherit;
17970
18021
  `;
17971
- var toolbarChevron = css82`
18022
+ var toolbarChevron = css83`
17972
18023
  margin-left: var(--spacing-xs);
17973
18024
  `;
17974
18025
  var RichTextToolbarIcon = ({ icon }) => {
@@ -18023,7 +18074,7 @@ var RichTextToolbar = ({ config, customControls }) => {
18023
18074
  }
18024
18075
  });
18025
18076
  };
18026
- const updateToolbar = useCallback5(() => {
18077
+ const updateToolbar = useCallback6(() => {
18027
18078
  const selection = $getSelection3();
18028
18079
  if (!$isRangeSelection3(selection)) {
18029
18080
  return;
@@ -18382,18 +18433,18 @@ var ParameterRichText = ({
18382
18433
  }
18383
18434
  );
18384
18435
  };
18385
- var editorWrapper = css83`
18436
+ var editorWrapper = css84`
18386
18437
  display: flex;
18387
18438
  flex-flow: column;
18388
18439
  flex-grow: 1;
18389
18440
  `;
18390
- var editorContainer = css83`
18441
+ var editorContainer = css84`
18391
18442
  display: flex;
18392
18443
  flex-flow: column;
18393
18444
  flex-grow: 1;
18394
18445
  position: relative;
18395
18446
  `;
18396
- var editorPlaceholder = css83`
18447
+ var editorPlaceholder = css84`
18397
18448
  color: var(--gray-500);
18398
18449
  font-style: italic;
18399
18450
  /* 1px is added to make sure caret is clearly visible when field is focused
@@ -18404,7 +18455,7 @@ var editorPlaceholder = css83`
18404
18455
  top: var(--spacing-xs);
18405
18456
  user-select: none;
18406
18457
  `;
18407
- var editorInput = css83`
18458
+ var editorInput = css84`
18408
18459
  background: var(--white);
18409
18460
  border: 1px solid var(--white);
18410
18461
  border-radius: var(--rounded-sm);
@@ -18647,8 +18698,8 @@ var ParameterToggleInner = forwardRef17(
18647
18698
  );
18648
18699
 
18649
18700
  // src/components/ProgressBar/ProgressBar.styles.ts
18650
- import { css as css84 } from "@emotion/react";
18651
- var container = css84`
18701
+ import { css as css85 } from "@emotion/react";
18702
+ var container = css85`
18652
18703
  background: var(--gray-50);
18653
18704
  margin-block: var(--spacing-sm);
18654
18705
  position: relative;
@@ -18658,14 +18709,14 @@ var container = css84`
18658
18709
  border: solid 1px var(--gray-300);
18659
18710
  `;
18660
18711
  var themeMap = {
18661
- primary: css84`
18712
+ primary: css85`
18662
18713
  background-color: var(--accent-light);
18663
18714
  `,
18664
- secondary: css84`
18715
+ secondary: css85`
18665
18716
  background-color: var(--brand-secondary-5);
18666
18717
  `
18667
18718
  };
18668
- var bar = css84`
18719
+ var bar = css85`
18669
18720
  position: absolute;
18670
18721
  inset: 0;
18671
18722
  transition: transform var(--duration-fast) var(--timing-ease-out);
@@ -18703,21 +18754,21 @@ function ProgressBar({ className, current, max, theme = "primary" }) {
18703
18754
  }
18704
18755
 
18705
18756
  // src/components/ProgressList/ProgressList.tsx
18706
- import { css as css86 } from "@emotion/react";
18757
+ import { css as css87 } from "@emotion/react";
18707
18758
  import { CgCheckO as CgCheckO2 } from "@react-icons/all-files/cg/CgCheckO";
18708
18759
  import { CgRadioCheck } from "@react-icons/all-files/cg/CgRadioCheck";
18709
18760
  import { CgRecord } from "@react-icons/all-files/cg/CgRecord";
18710
18761
  import { useMemo as useMemo4 } from "react";
18711
18762
 
18712
18763
  // src/components/ProgressList/styles/ProgressList.styles.ts
18713
- import { css as css85 } from "@emotion/react";
18714
- var progressListStyles = css85`
18764
+ import { css as css86 } from "@emotion/react";
18765
+ var progressListStyles = css86`
18715
18766
  display: flex;
18716
18767
  flex-direction: column;
18717
18768
  gap: var(--spacing-sm);
18718
18769
  list-style-type: none;
18719
18770
  `;
18720
- var progressListItemStyles = css85`
18771
+ var progressListItemStyles = css86`
18721
18772
  display: flex;
18722
18773
  gap: var(--spacing-base);
18723
18774
  align-items: center;
@@ -18772,12 +18823,12 @@ var ProgressListItem = ({
18772
18823
  }, [status, error]);
18773
18824
  const statusStyles = useMemo4(() => {
18774
18825
  if (error) {
18775
- return errorLevel === "caution" ? css86`
18826
+ return errorLevel === "caution" ? css87`
18776
18827
  color: rgb(161, 98, 7);
18777
18828
  & svg {
18778
18829
  color: rgb(250, 204, 21);
18779
18830
  }
18780
- ` : css86`
18831
+ ` : css87`
18781
18832
  color: rgb(185, 28, 28);
18782
18833
  & svg {
18783
18834
  color: var(--brand-primary-2);
@@ -18785,13 +18836,13 @@ var ProgressListItem = ({
18785
18836
  `;
18786
18837
  }
18787
18838
  const colorPerStatus = {
18788
- completed: css86`
18839
+ completed: css87`
18789
18840
  opacity: 0.75;
18790
18841
  `,
18791
- inProgress: css86`
18842
+ inProgress: css87`
18792
18843
  -webkit-text-stroke-width: thin;
18793
18844
  `,
18794
- queued: css86`
18845
+ queued: css87`
18795
18846
  opacity: 0.5;
18796
18847
  `
18797
18848
  };
@@ -18807,13 +18858,13 @@ var ProgressListItem = ({
18807
18858
  };
18808
18859
 
18809
18860
  // src/components/SegmentedControl/SegmentedControl.tsx
18810
- import { css as css88 } from "@emotion/react";
18861
+ import { css as css89 } from "@emotion/react";
18811
18862
  import { CgCheck as CgCheck4 } from "@react-icons/all-files/cg/CgCheck";
18812
- import { useCallback as useCallback6, useMemo as useMemo5 } from "react";
18863
+ import { useCallback as useCallback7, useMemo as useMemo5 } from "react";
18813
18864
 
18814
18865
  // src/components/SegmentedControl/SegmentedControl.styles.ts
18815
- import { css as css87 } from "@emotion/react";
18816
- var segmentedControlStyles = css87`
18866
+ import { css as css88 } from "@emotion/react";
18867
+ var segmentedControlStyles = css88`
18817
18868
  --segmented-control-rounded-value: var(--rounded-base);
18818
18869
  --segmented-control-border-width: 1px;
18819
18870
  --segmented-control-selected-color: var(--brand-secondary-3);
@@ -18832,14 +18883,14 @@ var segmentedControlStyles = css87`
18832
18883
  border-radius: calc(var(--segmented-control-rounded-value) + var(--segmented-control-border-width));
18833
18884
  font-size: var(--fs-xs);
18834
18885
  `;
18835
- var segmentedControlVerticalStyles = css87`
18886
+ var segmentedControlVerticalStyles = css88`
18836
18887
  flex-direction: column;
18837
18888
  --segmented-control-first-border-radius: var(--segmented-control-rounded-value)
18838
18889
  var(--segmented-control-rounded-value) 0 0;
18839
18890
  --segmented-control-last-border-radius: 0 0 var(--segmented-control-rounded-value)
18840
18891
  var(--segmented-control-rounded-value);
18841
18892
  `;
18842
- var segmentedControlItemStyles = css87`
18893
+ var segmentedControlItemStyles = css88`
18843
18894
  &:first-of-type label {
18844
18895
  border-radius: var(--segmented-control-first-border-radius);
18845
18896
  }
@@ -18847,10 +18898,10 @@ var segmentedControlItemStyles = css87`
18847
18898
  border-radius: var(--segmented-control-last-border-radius);
18848
18899
  }
18849
18900
  `;
18850
- var segmentedControlInputStyles = css87`
18901
+ var segmentedControlInputStyles = css88`
18851
18902
  ${accessibleHidden}
18852
18903
  `;
18853
- var segmentedControlLabelStyles = (checked, disabled) => css87`
18904
+ var segmentedControlLabelStyles = (checked, disabled) => css88`
18854
18905
  position: relative;
18855
18906
  display: flex;
18856
18907
  align-items: center;
@@ -18917,20 +18968,20 @@ var segmentedControlLabelStyles = (checked, disabled) => css87`
18917
18968
  `}
18918
18969
  }
18919
18970
  `;
18920
- var segmentedControlLabelIconOnlyStyles = css87`
18971
+ var segmentedControlLabelIconOnlyStyles = css88`
18921
18972
  padding-inline: 0.5em;
18922
18973
  `;
18923
- var segmentedControlLabelCheckStyles = css87`
18974
+ var segmentedControlLabelCheckStyles = css88`
18924
18975
  opacity: 0.5;
18925
18976
  `;
18926
- var segmentedControlLabelContentStyles = css87`
18977
+ var segmentedControlLabelContentStyles = css88`
18927
18978
  display: flex;
18928
18979
  align-items: center;
18929
18980
  justify-content: center;
18930
18981
  gap: var(--spacing-sm);
18931
18982
  height: 100%;
18932
18983
  `;
18933
- var segmentedControlLabelTextStyles = css87``;
18984
+ var segmentedControlLabelTextStyles = css88``;
18934
18985
 
18935
18986
  // src/components/SegmentedControl/SegmentedControl.tsx
18936
18987
  import { jsx as jsx110, jsxs as jsxs75 } from "@emotion/react/jsx-runtime";
@@ -18945,7 +18996,7 @@ var SegmentedControl = ({
18945
18996
  size = "md",
18946
18997
  ...props
18947
18998
  }) => {
18948
- const onOptionChange = useCallback6(
18999
+ const onOptionChange = useCallback7(
18949
19000
  (event) => {
18950
19001
  if (event.target.checked) {
18951
19002
  onChange == null ? void 0 : onChange(options[parseInt(event.target.value)].value);
@@ -18955,9 +19006,9 @@ var SegmentedControl = ({
18955
19006
  );
18956
19007
  const sizeStyles = useMemo5(() => {
18957
19008
  const map = {
18958
- sm: css88({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
18959
- md: css88({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
18960
- lg: css88({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
19009
+ sm: css89({ height: "calc(24px - 2px)", fontSize: "var(--fs-xs)" }),
19010
+ md: css89({ height: "calc(32px - 2px)", fontSize: "var(--fs-sm)" }),
19011
+ lg: css89({ height: "calc(40px - 2px)", fontSize: "var(--fs-base)" })
18961
19012
  };
18962
19013
  return map[size];
18963
19014
  }, [size]);
@@ -19014,12 +19065,12 @@ var SegmentedControl = ({
19014
19065
  };
19015
19066
 
19016
19067
  // src/components/Skeleton/Skeleton.styles.ts
19017
- import { css as css89, keyframes as keyframes4 } from "@emotion/react";
19068
+ import { css as css90, keyframes as keyframes4 } from "@emotion/react";
19018
19069
  var lightFadingOut = keyframes4`
19019
19070
  from { opacity: 0.1; }
19020
19071
  to { opacity: 0.025; }
19021
19072
  `;
19022
- var skeletonStyles = css89`
19073
+ var skeletonStyles = css90`
19023
19074
  animation: ${lightFadingOut} 1s ease-out infinite alternate;
19024
19075
  background-color: var(--gray-900);
19025
19076
  `;
@@ -19056,8 +19107,8 @@ var Skeleton = ({
19056
19107
  import * as React23 from "react";
19057
19108
 
19058
19109
  // src/components/Switch/Switch.styles.ts
19059
- import { css as css90 } from "@emotion/react";
19060
- var SwitchInputContainer = css90`
19110
+ import { css as css91 } from "@emotion/react";
19111
+ var SwitchInputContainer = css91`
19061
19112
  cursor: pointer;
19062
19113
  display: inline-block;
19063
19114
  position: relative;
@@ -19066,7 +19117,7 @@ var SwitchInputContainer = css90`
19066
19117
  vertical-align: middle;
19067
19118
  user-select: none;
19068
19119
  `;
19069
- var SwitchInput = css90`
19120
+ var SwitchInput = css91`
19070
19121
  appearance: none;
19071
19122
  border-radius: var(--rounded-full);
19072
19123
  background-color: var(--white);
@@ -19104,7 +19155,7 @@ var SwitchInput = css90`
19104
19155
  cursor: not-allowed;
19105
19156
  }
19106
19157
  `;
19107
- var SwitchInputDisabled = css90`
19158
+ var SwitchInputDisabled = css91`
19108
19159
  opacity: var(--opacity-50);
19109
19160
  cursor: not-allowed;
19110
19161
 
@@ -19112,7 +19163,7 @@ var SwitchInputDisabled = css90`
19112
19163
  cursor: not-allowed;
19113
19164
  }
19114
19165
  `;
19115
- var SwitchInputLabel = css90`
19166
+ var SwitchInputLabel = css91`
19116
19167
  align-items: center;
19117
19168
  color: var(--brand-secondary-1);
19118
19169
  display: inline-flex;
@@ -19134,7 +19185,7 @@ var SwitchInputLabel = css90`
19134
19185
  top: 0;
19135
19186
  }
19136
19187
  `;
19137
- var SwitchText = css90`
19188
+ var SwitchText = css91`
19138
19189
  color: var(--gray-500);
19139
19190
  font-size: var(--fs-sm);
19140
19191
  padding-inline: var(--spacing-2xl) 0;
@@ -19163,8 +19214,8 @@ var Switch = React23.forwardRef(
19163
19214
  import * as React24 from "react";
19164
19215
 
19165
19216
  // src/components/Table/Table.styles.ts
19166
- import { css as css91 } from "@emotion/react";
19167
- var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css91`
19217
+ import { css as css92 } from "@emotion/react";
19218
+ var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css92`
19168
19219
  border-bottom: 1px solid var(--gray-400);
19169
19220
  border-collapse: collapse;
19170
19221
  min-width: 100%;
@@ -19175,15 +19226,15 @@ var table = ({ cellPadding = "var(--spacing-base) var(--spacing-md)" }) => css91
19175
19226
  padding: ${cellPadding};
19176
19227
  }
19177
19228
  `;
19178
- var tableHead = css91`
19229
+ var tableHead = css92`
19179
19230
  background: var(--gray-100);
19180
19231
  color: var(--brand-secondary-1);
19181
19232
  text-align: left;
19182
19233
  `;
19183
- var tableRow = css91`
19234
+ var tableRow = css92`
19184
19235
  border-bottom: 1px solid var(--gray-200);
19185
19236
  `;
19186
- var tableCellHead = css91`
19237
+ var tableCellHead = css92`
19187
19238
  font-size: var(--fs-sm);
19188
19239
  text-transform: uppercase;
19189
19240
  font-weight: var(--fw-bold);
@@ -19237,8 +19288,8 @@ import {
19237
19288
  } from "reakit/Tab";
19238
19289
 
19239
19290
  // src/components/Tabs/Tabs.styles.ts
19240
- import { css as css92 } from "@emotion/react";
19241
- var tabButtonStyles = css92`
19291
+ import { css as css93 } from "@emotion/react";
19292
+ var tabButtonStyles = css93`
19242
19293
  align-items: center;
19243
19294
  border: 0;
19244
19295
  height: 2.5rem;
@@ -19255,7 +19306,7 @@ var tabButtonStyles = css92`
19255
19306
  box-shadow: inset 0 -2px 0 var(--brand-secondary-3);
19256
19307
  }
19257
19308
  `;
19258
- var tabButtonGroupStyles = css92`
19309
+ var tabButtonGroupStyles = css93`
19259
19310
  display: flex;
19260
19311
  gap: var(--spacing-base);
19261
19312
  border-bottom: 1px solid var(--gray-300);
@@ -19307,8 +19358,8 @@ var TabContent = ({ children, ...props }) => {
19307
19358
  };
19308
19359
 
19309
19360
  // src/components/Validation/StatusBullet.styles.ts
19310
- import { css as css93 } from "@emotion/react";
19311
- var StatusBulletContainer = css93`
19361
+ import { css as css94 } from "@emotion/react";
19362
+ var StatusBulletContainer = css94`
19312
19363
  align-items: center;
19313
19364
  align-self: center;
19314
19365
  color: var(--gray-500);
@@ -19325,33 +19376,33 @@ var StatusBulletContainer = css93`
19325
19376
  display: block;
19326
19377
  }
19327
19378
  `;
19328
- var StatusBulletBase = css93`
19379
+ var StatusBulletBase = css94`
19329
19380
  font-size: var(--fs-sm);
19330
19381
  &:before {
19331
19382
  width: var(--fs-xs);
19332
19383
  height: var(--fs-xs);
19333
19384
  }
19334
19385
  `;
19335
- var StatusBulletSmall = css93`
19386
+ var StatusBulletSmall = css94`
19336
19387
  font-size: var(--fs-xs);
19337
19388
  &:before {
19338
19389
  width: var(--fs-xxs);
19339
19390
  height: var(--fs-xxs);
19340
19391
  }
19341
19392
  `;
19342
- var StatusDraft = css93`
19393
+ var StatusDraft = css94`
19343
19394
  &:before {
19344
19395
  background: var(--white);
19345
19396
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
19346
19397
  }
19347
19398
  `;
19348
- var StatusModified = css93`
19399
+ var StatusModified = css94`
19349
19400
  &:before {
19350
19401
  background: linear-gradient(to right, var(--white) 50%, var(--primary-action-default) 50% 100%);
19351
19402
  box-shadow: inset 0 0 0 0.125rem var(--primary-action-default);
19352
19403
  }
19353
19404
  `;
19354
- var StatusError = css93`
19405
+ var StatusError = css94`
19355
19406
  color: var(--error);
19356
19407
  &:before {
19357
19408
  /* TODO: replace this with an svg icon */
@@ -19364,12 +19415,12 @@ var StatusError = css93`
19364
19415
  );
19365
19416
  }
19366
19417
  `;
19367
- var StatusPublished = css93`
19418
+ var StatusPublished = css94`
19368
19419
  &:before {
19369
19420
  background: var(--primary-action-default);
19370
19421
  }
19371
19422
  `;
19372
- var StatusOrphan = css93`
19423
+ var StatusOrphan = css94`
19373
19424
  &:before {
19374
19425
  background: var(--brand-secondary-5);
19375
19426
  }