@uniformdev/design-system 19.54.3-alpha.5 → 19.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/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 = "") => {
@@ -2264,7 +2264,7 @@ var IntegrationHeaderSectionHexImage = ({ ...props }) => {
2264
2264
  ] });
2265
2265
  };
2266
2266
  var IntegrationHeaderSection = ({
2267
- title,
2267
+ title: title2,
2268
2268
  description,
2269
2269
  icon,
2270
2270
  docsLink,
@@ -2279,10 +2279,10 @@ var IntegrationHeaderSection = ({
2279
2279
  /* @__PURE__ */ jsxs5("div", { css: IntegrationHeaderSectionTitleContainer, children: [
2280
2280
  icon ? /* @__PURE__ */ jsxs5("div", { css: IntegrationHeaderSectionIconContainer, children: [
2281
2281
  /* @__PURE__ */ jsx13(IntegrationHeaderSectionHexImage, { css: IntegrationHeaderSectionHexIcon }),
2282
- 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
2283
2283
  ] }) : null,
2284
2284
  /* @__PURE__ */ jsxs5("div", { css: IntegrationHeaderSectionTitleGroup, "data-testid": "integration-header-text", children: [
2285
- /* @__PURE__ */ jsx13("h1", { css: IntegrationHeaderSectionTitle, children: title }),
2285
+ /* @__PURE__ */ jsx13("h1", { css: IntegrationHeaderSectionTitle, children: title2 }),
2286
2286
  badgeText ? /* @__PURE__ */ jsx13(Badge, { text: badgeText }) : null,
2287
2287
  menu2 ? /* @__PURE__ */ jsx13("div", { children: menu2 }) : null,
2288
2288
  docsLink ? /* @__PURE__ */ jsx13(
@@ -2382,7 +2382,7 @@ var PageHeaderSectionTitle = css15`
2382
2382
  // src/components/Typography/PageHeaderSection.tsx
2383
2383
  import { jsx as jsx14, jsxs as jsxs6 } from "@emotion/react/jsx-runtime";
2384
2384
  var PageHeaderSection = ({
2385
- title,
2385
+ title: title2,
2386
2386
  desc,
2387
2387
  children,
2388
2388
  linkText,
@@ -2409,7 +2409,7 @@ var PageHeaderSection = ({
2409
2409
  }
2410
2410
  )
2411
2411
  ] }) : null,
2412
- /* @__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 }),
2413
2413
  desc
2414
2414
  ] }),
2415
2415
  children ? /* @__PURE__ */ jsx14("div", { css: PageHeaderSectionChildContainer, children }) : null
@@ -2504,7 +2504,7 @@ var InlineAlertParagraph = css16`
2504
2504
  import { jsx as jsx15, jsxs as jsxs7 } from "@emotion/react/jsx-runtime";
2505
2505
  var InlineAlert = ({
2506
2506
  id,
2507
- title,
2507
+ title: title2,
2508
2508
  text,
2509
2509
  arrowPosition = "left-top",
2510
2510
  positionCss,
@@ -2512,7 +2512,7 @@ var InlineAlert = ({
2512
2512
  }) => {
2513
2513
  return /* @__PURE__ */ jsxs7("div", { role: "alert", id, css: [InlineAlertContainer, InlineAlertTriangle(arrowPosition), positionCss], children: [
2514
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 }) }),
2515
- /* @__PURE__ */ jsx15(Heading, { level: 3, css: InlineAlertTitle, children: title }),
2515
+ /* @__PURE__ */ jsx15(Heading, { level: 3, css: InlineAlertTitle, children: title2 }),
2516
2516
  /* @__PURE__ */ jsx15("p", { css: InlineAlertParagraph, children: text })
2517
2517
  ] });
2518
2518
  };
@@ -11005,13 +11005,13 @@ var TooltipArrowStyles = css17`
11005
11005
 
11006
11006
  // src/components/Tooltip/Tooltip.tsx
11007
11007
  import { Fragment as Fragment4, jsx as jsx17, jsxs as jsxs8 } from "@emotion/react/jsx-runtime";
11008
- function Tooltip({ children, title, placement = "bottom", visible, ...props }) {
11008
+ function Tooltip({ children, title: title2, placement = "bottom", visible, ...props }) {
11009
11009
  const tooltip = useTooltipState({ placement });
11010
- return !title ? children : /* @__PURE__ */ jsxs8(Fragment4, { children: [
11010
+ return !title2 ? children : /* @__PURE__ */ jsxs8(Fragment4, { children: [
11011
11011
  /* @__PURE__ */ jsx17(TooltipReference, { ...tooltip, ...children.props, children: (referenceProps) => React5.cloneElement(children, referenceProps) }),
11012
11012
  /* @__PURE__ */ jsxs8(ReakitTooltip, { ...tooltip, ...props, css: TooltipContainer, visible: visible != null ? visible : tooltip.visible, children: [
11013
11013
  /* @__PURE__ */ jsx17(TooltipArrow, { ...tooltip, css: TooltipArrowStyles }),
11014
- title
11014
+ title2
11015
11015
  ] })
11016
11016
  ] });
11017
11017
  }
@@ -11483,9 +11483,9 @@ var MenuTitle = css23`
11483
11483
 
11484
11484
  // src/components/Menu/MenuGroup.tsx
11485
11485
  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,
11486
+ var MenuGroup = ({ title: title2, children }) => {
11487
+ return /* @__PURE__ */ jsxs14("div", { css: MenuGroupContainer(!!title2), "data-testid": "menu-group", children: [
11488
+ title2 ? /* @__PURE__ */ jsx23("span", { css: MenuTitle, children: title2 }) : null,
11489
11489
  children
11490
11490
  ] });
11491
11491
  };
@@ -12208,7 +12208,7 @@ var calloutTypeDataMap = {
12208
12208
  var Callout = ({
12209
12209
  type = "info",
12210
12210
  compact = false,
12211
- title,
12211
+ title: title2,
12212
12212
  children,
12213
12213
  className,
12214
12214
  testId
@@ -12232,7 +12232,7 @@ var Callout = ({
12232
12232
  children: /* @__PURE__ */ jsxs18("div", { css: calloutInner, children: [
12233
12233
  compact ? null : /* @__PURE__ */ jsx29("div", { css: calloutIconWrap, children: /* @__PURE__ */ jsx29(Icon2, { css: [calloutIcon, calloutTypeData.iconColor] }) }),
12234
12234
  /* @__PURE__ */ jsxs18("div", { css: [calloutBody, compact ? calloutBodyCompact : void 0], children: [
12235
- title ? /* @__PURE__ */ jsx29("div", { css: [calloutTitle], "data-testid": "callout-title", children: title }) : null,
12235
+ title2 ? /* @__PURE__ */ jsx29("div", { css: [calloutTitle], "data-testid": "callout-title", children: title2 }) : null,
12236
12236
  children ? /* @__PURE__ */ jsx29("div", { css: [calloutTypeData.descriptionColor], "data-testid": "callout-description", children }) : null
12237
12237
  ] })
12238
12238
  ] })
@@ -12289,7 +12289,7 @@ var CardMenu = css29`
12289
12289
  // src/components/Card/Card.tsx
12290
12290
  import { jsx as jsx30, jsxs as jsxs19 } from "@emotion/react/jsx-runtime";
12291
12291
  var Card = ({
12292
- title,
12292
+ title: title2,
12293
12293
  menuItems,
12294
12294
  children,
12295
12295
  titleWithMarginBottom = true,
@@ -12299,7 +12299,7 @@ var Card = ({
12299
12299
  ...props
12300
12300
  }) => {
12301
12301
  return /* @__PURE__ */ jsxs19(Tag, { css: CardContainer, ...props, children: [
12302
- title ? /* @__PURE__ */ jsx30(CardTitle2, { title, titleWithMarginBottom }) : null,
12302
+ title2 ? /* @__PURE__ */ jsx30(CardTitle2, { title: title2, titleWithMarginBottom }) : null,
12303
12303
  menuItems ? /* @__PURE__ */ jsx30(
12304
12304
  Menu,
12305
12305
  {
@@ -12321,8 +12321,8 @@ var Card = ({
12321
12321
  children
12322
12322
  ] });
12323
12323
  };
12324
- var CardTitle2 = ({ title, titleWithMarginBottom, children }) => {
12325
- const normalizeTitle = replaceUnderscoreInString(title);
12324
+ var CardTitle2 = ({ title: title2, titleWithMarginBottom, children }) => {
12325
+ const normalizeTitle = replaceUnderscoreInString(title2);
12326
12326
  return /* @__PURE__ */ jsxs19(Heading, { level: 3, css: CardTitle(titleWithMarginBottom), children: [
12327
12327
  normalizeTitle,
12328
12328
  children
@@ -14750,14 +14750,14 @@ var IntegrationTileFloatingButtonMessage = (clicked) => css55`
14750
14750
  // src/components/Tiles/CreateTeamIntegrationTile.tsx
14751
14751
  import { jsx as jsx66, jsxs as jsxs42 } from "@emotion/react/jsx-runtime";
14752
14752
  var CreateTeamIntegrationTile = ({
14753
- title = "Create a custom integration for your team",
14753
+ title: title2 = "Create a custom integration for your team",
14754
14754
  buttonText = "Add Integration",
14755
14755
  onClick,
14756
14756
  asDeepLink = false,
14757
14757
  ...props
14758
14758
  }) => {
14759
14759
  return /* @__PURE__ */ jsxs42("div", { css: [IntegrationTileContainer, IntegrationTileBtnDashedBorder], ...props, children: [
14760
- /* @__PURE__ */ jsx66("span", { css: IntegrationTileTitle, title, children: title }),
14760
+ /* @__PURE__ */ jsx66("span", { css: IntegrationTileTitle, title: title2, children: title2 }),
14761
14761
  /* @__PURE__ */ jsxs42(
14762
14762
  Button,
14763
14763
  {
@@ -15410,9 +15410,9 @@ var LinkListTitle = css65`
15410
15410
 
15411
15411
  // src/components/LinkList/LinkList.tsx
15412
15412
  import { jsx as jsx80, jsxs as jsxs51 } from "@emotion/react/jsx-runtime";
15413
- var LinkList = ({ title, padding = "var(--spacing-md)", children, ...props }) => {
15413
+ var LinkList = ({ title: title2, padding = "var(--spacing-md)", children, ...props }) => {
15414
15414
  return /* @__PURE__ */ jsxs51("div", { css: LinkListContainer(padding), ...props, children: [
15415
- /* @__PURE__ */ jsx80(Heading, { level: 3, css: LinkListTitle, children: title }),
15415
+ /* @__PURE__ */ jsx80(Heading, { level: 3, css: LinkListTitle, children: title2 }),
15416
15416
  children
15417
15417
  ] });
15418
15418
  };
@@ -15799,6 +15799,9 @@ var LoadingIcon = ({ height, width, ...props }) => {
15799
15799
  );
15800
15800
  };
15801
15801
 
15802
+ // src/components/MediaCard/MediaCard.tsx
15803
+ import { useCallback as useCallback4 } from "react";
15804
+
15802
15805
  // src/components/Popover/Popover.tsx
15803
15806
  import {
15804
15807
  Popover as ReakitPopover,
@@ -15870,7 +15873,7 @@ var Popover2 = ({
15870
15873
 
15871
15874
  // src/components/MediaCard/MediaCard.styles.ts
15872
15875
  import { css as css72 } from "@emotion/react";
15873
- var cardBaseStyles = css72`
15876
+ var cardBase = css72`
15874
15877
  display: flex;
15875
15878
  flex-direction: column;
15876
15879
  justify-content: flex-start;
@@ -15879,12 +15882,9 @@ var cardBaseStyles = css72`
15879
15882
  padding: 0;
15880
15883
  min-height: unset;
15881
15884
  outline: none;
15882
-
15883
- &:focus-visible {
15884
- outline: 2px solid var(--primary-action-default);
15885
- }
15885
+ cursor: pointer;
15886
15886
  `;
15887
- var cardBaseCoverIconWrapperStyles = css72`
15887
+ var coverWrapper = css72`
15888
15888
  position: relative;
15889
15889
  display: flex;
15890
15890
  align-items: center;
@@ -15894,27 +15894,43 @@ var cardBaseCoverIconWrapperStyles = css72`
15894
15894
  overflow: hidden;
15895
15895
  border-radius: 3px 3px 0 0;
15896
15896
  padding: var(--spacing-sm);
15897
- cursor: pointer;
15897
+ outline: none;
15898
+ border: 0;
15898
15899
  `;
15899
- var cardBaseContentStyles = css72`
15900
+ var contentWrapper = css72`
15900
15901
  padding: var(--spacing-sm);
15901
15902
  `;
15902
- var cardBaseTitleStyles = css72`
15903
+ var title = css72`
15903
15904
  font-size: var(--fs-sm);
15904
15905
  color: var(--gray-500);
15905
- cursor: pointer;
15906
15906
  white-space: nowrap;
15907
15907
  overflow: hidden;
15908
15908
  text-overflow: ellipsis;
15909
+ outline: none;
15910
+ border: 0;
15911
+ background-color: transparent;
15912
+
15913
+ &:focus-visible {
15914
+ outline: 2px solid var(--primary-action-default);
15915
+ }
15909
15916
  `;
15910
- var cardBaseSubtitleStyles = css72`
15917
+ var subtitle = css72`
15911
15918
  font-size: var(--fs-xs);
15912
15919
  color: var(--gray-500);
15913
15920
  white-space: nowrap;
15914
15921
  overflow: hidden;
15915
15922
  text-overflow: ellipsis;
15923
+ outline: none;
15924
+ border: 0;
15925
+ background-color: transparent;
15926
+ `;
15927
+ var sideSection = css72`
15928
+ cursor: default;
15916
15929
  `;
15917
- var cardBaseMenuButtonStyles = css72`
15930
+ var menuSection = css72`
15931
+ cursor: default;
15932
+ `;
15933
+ var menuButton = css72`
15918
15934
  padding: var(--spacing-2xs);
15919
15935
  border-radius: var(--rounded-sm);
15920
15936
  border-width: 0;
@@ -15928,25 +15944,29 @@ var cardBaseMenuButtonStyles = css72`
15928
15944
  // src/components/MediaCard/MediaCard.tsx
15929
15945
  import { jsx as jsx87, jsxs as jsxs58 } from "@emotion/react/jsx-runtime";
15930
15946
  var MediaCard = ({
15931
- title,
15932
- subtitle,
15947
+ title: title2,
15948
+ subtitle: subtitle2,
15933
15949
  infoPopover,
15934
15950
  cover,
15935
15951
  menuItems,
15936
- sideSection,
15952
+ sideSection: sideSection2,
15937
15953
  onClick,
15938
15954
  ...cardProps
15939
15955
  }) => {
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: [
15956
+ const onStopPropogation = useCallback4((e) => {
15957
+ e.stopPropagation();
15958
+ }, []);
15959
+ const hasMenuItems = Array.isArray(menuItems) ? menuItems.length > 0 : Boolean(menuItems);
15960
+ return /* @__PURE__ */ jsxs58(Card, { css: cardBase, ...cardProps, onClick, children: [
15961
+ /* @__PURE__ */ jsx87("button", { tabIndex: -1, css: coverWrapper, children: cover }),
15962
+ /* @__PURE__ */ jsx87("div", { css: contentWrapper, children: /* @__PURE__ */ jsxs58(HorizontalRhythm, { gap: "sm", justify: "space-between", align: "center", css: { width: "100%" }, children: [
15943
15963
  /* @__PURE__ */ jsxs58(VerticalRhythm, { gap: "0", align: "flex-start", css: { flex: 1, minWidth: 0 }, children: [
15944
15964
  /* @__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(
15965
+ /* @__PURE__ */ jsx87("button", { css: title, "data-testid": "card-title", children: title2 }),
15966
+ !infoPopover ? null : /* @__PURE__ */ jsx87("div", { css: { display: "flex", cursor: "default" }, onClick: onStopPropogation, children: /* @__PURE__ */ jsx87(
15947
15967
  Popover2,
15948
15968
  {
15949
- baseId: `info-of-${title}`,
15969
+ baseId: `info-of-${title2}`,
15950
15970
  buttonText: "Details",
15951
15971
  ariaLabel: "Details",
15952
15972
  iconColor: "default",
@@ -15956,17 +15976,26 @@ var MediaCard = ({
15956
15976
  }
15957
15977
  ) })
15958
15978
  ] }),
15959
- subtitle ? /* @__PURE__ */ jsx87("div", { css: cardBaseSubtitleStyles, children: subtitle }) : null
15979
+ subtitle2 ? /* @__PURE__ */ jsx87("button", { tabIndex: -1, css: subtitle, children: subtitle2 }) : null
15960
15980
  ] }),
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,
15981
+ sideSection2 ? /* @__PURE__ */ jsx87("div", { css: sideSection, onClick: onStopPropogation, children: sideSection2 }) : null,
15982
+ hasMenuItems ? /* @__PURE__ */ jsx87(
15983
+ VerticalRhythm,
15964
15984
  {
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
15985
+ css: menuSection,
15986
+ align: "center",
15987
+ justify: "center",
15988
+ onClick: onStopPropogation,
15989
+ children: /* @__PURE__ */ jsx87(
15990
+ Menu,
15991
+ {
15992
+ menuTrigger: /* @__PURE__ */ jsx87("button", { type: "button", "aria-label": "More options", css: menuButton, children: /* @__PURE__ */ jsx87(Icon, { icon: "more-alt", iconColor: "gray", size: 16 }) }),
15993
+ menuLabel: `Menu of ${title2}`,
15994
+ children: menuItems
15995
+ }
15996
+ )
15968
15997
  }
15969
- ) })
15998
+ ) : null
15970
15999
  ] }) })
15971
16000
  ] });
15972
16001
  };
@@ -16131,10 +16160,10 @@ var LabelLeadingIcon = ({
16131
16160
  isBound,
16132
16161
  isActive,
16133
16162
  isLocked,
16134
- title,
16163
+ title: title2,
16135
16164
  ...props
16136
16165
  }) => {
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";
16166
+ 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
16167
  return /* @__PURE__ */ jsx89(Tooltip, { title: titleFr, children: /* @__PURE__ */ jsxs60(
16139
16168
  "button",
16140
16169
  {
@@ -16474,11 +16503,11 @@ var ParameterDrawerHeaderTitle = css76`
16474
16503
 
16475
16504
  // src/components/ParameterInputs/ParameterDrawerHeader.tsx
16476
16505
  import { jsx as jsx91, jsxs as jsxs62 } from "@emotion/react/jsx-runtime";
16477
- var ParameterDrawerHeader = ({ title, iconBeforeTitle, children }) => {
16506
+ var ParameterDrawerHeader = ({ title: title2, iconBeforeTitle, children }) => {
16478
16507
  return /* @__PURE__ */ jsxs62("div", { css: ParameterDrawerHeaderContainer, children: [
16479
16508
  /* @__PURE__ */ jsxs62("header", { css: ParameterDrawerHeaderTitleGroup, children: [
16480
16509
  iconBeforeTitle,
16481
- /* @__PURE__ */ jsx91(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title, children: title })
16510
+ /* @__PURE__ */ jsx91(Heading, { level: 3, withMarginBottom: false, css: ParameterDrawerHeaderTitle, title: title2, children: title2 })
16482
16511
  ] }),
16483
16512
  children
16484
16513
  ] });
@@ -16674,7 +16703,7 @@ var extractParameterProps = (props) => {
16674
16703
  hiddenLabel,
16675
16704
  labelLeadingIcon,
16676
16705
  menuItems,
16677
- title,
16706
+ title: title2,
16678
16707
  hasOverriddenValue,
16679
16708
  onResetOverriddenValue,
16680
16709
  ...innerProps
@@ -16692,7 +16721,7 @@ var extractParameterProps = (props) => {
16692
16721
  hiddenLabel,
16693
16722
  labelLeadingIcon,
16694
16723
  menuItems,
16695
- title,
16724
+ title: title2,
16696
16725
  hasOverriddenValue,
16697
16726
  onResetOverriddenValue
16698
16727
  },
@@ -16714,7 +16743,7 @@ var ParameterShell = ({
16714
16743
  menuItems,
16715
16744
  hasOverriddenValue,
16716
16745
  onResetOverriddenValue,
16717
- title,
16746
+ title: title2,
16718
16747
  children,
16719
16748
  ...props
16720
16749
  }) => {
@@ -16722,14 +16751,14 @@ var ParameterShell = ({
16722
16751
  const setErrorMessage = (message) => setManualErrorMessage(message);
16723
16752
  const errorMessaging = errorMessage || manualErrorMessage;
16724
16753
  return /* @__PURE__ */ jsxs65("div", { css: inputContainer2, ...props, children: [
16725
- hiddenLabel || title ? null : /* @__PURE__ */ jsxs65(ParameterLabel, { id, css: labelText2, children: [
16754
+ hiddenLabel || title2 ? null : /* @__PURE__ */ jsxs65(ParameterLabel, { id, css: labelText2, children: [
16726
16755
  labelLeadingIcon != null ? labelLeadingIcon : null,
16727
16756
  label,
16728
16757
  labelTrailingIcon != null ? labelTrailingIcon : null
16729
16758
  ] }),
16730
- !title ? null : /* @__PURE__ */ jsxs65(ParameterLabel, { id, asSpan: true, children: [
16759
+ !title2 ? null : /* @__PURE__ */ jsxs65(ParameterLabel, { id, asSpan: true, children: [
16731
16760
  labelLeadingIcon != null ? labelLeadingIcon : null,
16732
- title,
16761
+ title2,
16733
16762
  labelTrailingIcon != null ? labelTrailingIcon : null
16734
16763
  ] }),
16735
16764
  /* @__PURE__ */ jsxs65("div", { css: inputWrapper, children: [
@@ -17316,7 +17345,7 @@ import {
17316
17345
  ElementNode as ElementNode2,
17317
17346
  FOCUS_COMMAND
17318
17347
  } from "lexical";
17319
- import { useCallback as useCallback4, useEffect as useEffect11, useRef as useRef6, useState as useState12 } from "react";
17348
+ import { useCallback as useCallback5, useEffect as useEffect11, useRef as useRef6, useState as useState12 } from "react";
17320
17349
 
17321
17350
  // src/components/ParameterInputs/rich-text/utils.ts
17322
17351
  import { $isAtNodeEnd } from "@lexical/selection";
@@ -17738,7 +17767,7 @@ function LinkNodePlugin({ onConnectLink, getBoundPath }) {
17738
17767
  )
17739
17768
  );
17740
17769
  }, [editor, onConnectLink]);
17741
- const maybeShowLinkToolbar = useCallback4(() => {
17770
+ const maybeShowLinkToolbar = useCallback5(() => {
17742
17771
  if (!editor.isEditable()) {
17743
17772
  return;
17744
17773
  }
@@ -17919,7 +17948,7 @@ import {
17919
17948
  FORMAT_TEXT_COMMAND,
17920
17949
  SELECTION_CHANGE_COMMAND
17921
17950
  } from "lexical";
17922
- import { useCallback as useCallback5, useEffect as useEffect13, useMemo as useMemo3, useState as useState13 } from "react";
17951
+ import { useCallback as useCallback6, useEffect as useEffect13, useMemo as useMemo3, useState as useState13 } from "react";
17923
17952
  import { Fragment as Fragment18, jsx as jsx103, jsxs as jsxs70 } from "@emotion/react/jsx-runtime";
17924
17953
  var toolbar = css82`
17925
17954
  background: var(--gray-50);
@@ -18023,7 +18052,7 @@ var RichTextToolbar = ({ config, customControls }) => {
18023
18052
  }
18024
18053
  });
18025
18054
  };
18026
- const updateToolbar = useCallback5(() => {
18055
+ const updateToolbar = useCallback6(() => {
18027
18056
  const selection = $getSelection3();
18028
18057
  if (!$isRangeSelection3(selection)) {
18029
18058
  return;
@@ -18809,7 +18838,7 @@ var ProgressListItem = ({
18809
18838
  // src/components/SegmentedControl/SegmentedControl.tsx
18810
18839
  import { css as css88 } from "@emotion/react";
18811
18840
  import { CgCheck as CgCheck4 } from "@react-icons/all-files/cg/CgCheck";
18812
- import { useCallback as useCallback6, useMemo as useMemo5 } from "react";
18841
+ import { useCallback as useCallback7, useMemo as useMemo5 } from "react";
18813
18842
 
18814
18843
  // src/components/SegmentedControl/SegmentedControl.styles.ts
18815
18844
  import { css as css87 } from "@emotion/react";
@@ -18945,7 +18974,7 @@ var SegmentedControl = ({
18945
18974
  size = "md",
18946
18975
  ...props
18947
18976
  }) => {
18948
- const onOptionChange = useCallback6(
18977
+ const onOptionChange = useCallback7(
18949
18978
  (event) => {
18950
18979
  if (event.target.checked) {
18951
18980
  onChange == null ? void 0 : onChange(options[parseInt(event.target.value)].value);