@uniformdev/design-system 19.37.1 → 19.38.2

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
@@ -2122,7 +2122,7 @@ var IntegrationHeaderSection = ({
2122
2122
  /* @__PURE__ */ jsx13(IntegrationHeaderSectionHexImage, { css: IntegrationHeaderSectionHexIcon }),
2123
2123
  CompIcon ? /* @__PURE__ */ jsx13(CompIcon, { css: IntegrationHeaderSectionIcon }) : icon ? /* @__PURE__ */ jsx13("img", { src: icon, alt: title, css: IntegrationHeaderSectionIcon }) : null
2124
2124
  ] }) : null,
2125
- /* @__PURE__ */ jsxs5("div", { css: IntegrationHeaderSectionTitleGroup, "data-test-id": "integration-header-text", children: [
2125
+ /* @__PURE__ */ jsxs5("div", { css: IntegrationHeaderSectionTitleGroup, "data-testid": "integration-header-text", children: [
2126
2126
  /* @__PURE__ */ jsx13("h1", { css: IntegrationHeaderSectionTitle, children: title }),
2127
2127
  badgeText ? /* @__PURE__ */ jsx13(Badge, { text: badgeText }) : null,
2128
2128
  menu2 ? /* @__PURE__ */ jsx13("div", { children: menu2 }) : null,
@@ -2144,7 +2144,7 @@ var IntegrationHeaderSection = ({
2144
2144
  {
2145
2145
  css: IntegrationHeaderSectionText,
2146
2146
  htmlContent: description,
2147
- "data-test-id": "integration-description"
2147
+ "data-testid": "integration-description"
2148
2148
  }
2149
2149
  ) : null
2150
2150
  ] }),
@@ -2249,7 +2249,7 @@ var PageHeaderSection = ({
2249
2249
  }
2250
2250
  )
2251
2251
  ] }) : null,
2252
- /* @__PURE__ */ jsx14(Heading, { level, css: PageHeaderSectionTitle, ...htmlProps, "data-test-id": "page-header-section", children: title }),
2252
+ /* @__PURE__ */ jsx14(Heading, { level, css: PageHeaderSectionTitle, ...htmlProps, "data-testid": "page-header-section", children: title }),
2253
2253
  desc
2254
2254
  ] }),
2255
2255
  children ? /* @__PURE__ */ jsx14("div", { css: PageHeaderSectionChildContainer, children }) : null
@@ -10804,7 +10804,7 @@ var AnimationFile = ({
10804
10804
  Lottie,
10805
10805
  {
10806
10806
  role: "graphics-symbol",
10807
- "data-test-id": "graphic-loader",
10807
+ "data-testid": "graphic-loader",
10808
10808
  "aria-label": label,
10809
10809
  autoPlay: autoplay,
10810
10810
  loop,
@@ -11113,7 +11113,7 @@ var UniformBadge = ({
11113
11113
  viewBox: "0 0 51 52",
11114
11114
  fill: "none",
11115
11115
  xmlns: "http://www.w3.org/2000/svg",
11116
- "data-test-id": "uniform-Badge",
11116
+ "data-testid": "uniform-Badge",
11117
11117
  css: [SVG, theme === "dark" ? SVGDark : SVGLight],
11118
11118
  ...props,
11119
11119
  children: [
@@ -11149,7 +11149,7 @@ var UniformLogo = ({
11149
11149
  theme = "light",
11150
11150
  ...props
11151
11151
  }) => {
11152
- return /* @__PURE__ */ jsx21("div", { "data-test-id": "uniform-Logo", children: /* @__PURE__ */ jsxs13(
11152
+ return /* @__PURE__ */ jsx21("div", { "data-testid": "uniform-Logo", children: /* @__PURE__ */ jsxs13(
11153
11153
  "svg",
11154
11154
  {
11155
11155
  width: "153",
@@ -11322,7 +11322,7 @@ var MenuTitle = css23`
11322
11322
  // src/components/Menu/MenuGroup.tsx
11323
11323
  import { jsx as jsx23, jsxs as jsxs14 } from "@emotion/react/jsx-runtime";
11324
11324
  var MenuGroup = ({ title, children }) => {
11325
- return /* @__PURE__ */ jsxs14("div", { css: MenuGroupContainer, "data-test-id": "menu-group", children: [
11325
+ return /* @__PURE__ */ jsxs14("div", { css: MenuGroupContainer, "data-testid": "menu-group", children: [
11326
11326
  /* @__PURE__ */ jsx23("span", { css: MenuTitle, children: title }),
11327
11327
  children
11328
11328
  ] });
@@ -11437,9 +11437,19 @@ var menu = css25`
11437
11437
  flex-direction: column;
11438
11438
  padding: var(--spacing-sm);
11439
11439
  outline: none;
11440
- overflow: hidden;
11440
+ overflow-x: hidden;
11441
+ overflow-y: auto;
11441
11442
  position: relative;
11442
11443
  z-index: var(--z-50);
11444
+
11445
+ // work around for smaller screens not being able to access large menus
11446
+ // see uni-2997
11447
+ max-height: 55vh; // firefox support
11448
+
11449
+ ${supports("max-height: 60dvh")} {
11450
+ max-height: 55dvh; // modern browser support
11451
+ }
11452
+ ${scrollbarStyles}
11443
11453
  `;
11444
11454
 
11445
11455
  // src/components/Menu/Menu.tsx
@@ -11507,7 +11517,7 @@ var MenuItem = React9.forwardRef(
11507
11517
  {
11508
11518
  ref,
11509
11519
  type: "button",
11510
- "data-test-id": "button-menu",
11520
+ "data-testid": "button-menu",
11511
11521
  ...menuState,
11512
11522
  ...resolvedProps,
11513
11523
  css: [menuItem(textColor, active), typeof className === "object" ? className : void 0],
@@ -11641,7 +11651,7 @@ var ButtonWithMenu = ({
11641
11651
  "div",
11642
11652
  {
11643
11653
  css: [ButtonWithMenuContainer, disabled ? buttonDisabledTheme[buttonType] : buttonTheme[buttonType]],
11644
- "data-test-id": "multioptions-button",
11654
+ "data-testid": "multioptions-button",
11645
11655
  children: [
11646
11656
  /* @__PURE__ */ jsx27(
11647
11657
  "button",
@@ -11650,7 +11660,7 @@ var ButtonWithMenu = ({
11650
11660
  css: ButtonWithMenuBtn,
11651
11661
  disabled,
11652
11662
  onClick: onButtonClick,
11653
- "data-test-id": "multioptions-button-main",
11663
+ "data-testid": "multioptions-button-main",
11654
11664
  ...buttonProps,
11655
11665
  children: buttonText
11656
11666
  }
@@ -11660,7 +11670,7 @@ var ButtonWithMenu = ({
11660
11670
  {
11661
11671
  menuLabel: "buttonMenu",
11662
11672
  placement,
11663
- menuTrigger: /* @__PURE__ */ jsx27("div", { css: ButtonWithMenuIcon, "data-test-id": "multioptions-button-call-menu", children: /* @__PURE__ */ jsx27(Icon, { icon: CgChevronDown, size: 24, iconColor: "currentColor" }) }),
11673
+ menuTrigger: /* @__PURE__ */ jsx27("div", { css: ButtonWithMenuIcon, "data-testid": "multioptions-button-call-menu", children: /* @__PURE__ */ jsx27(Icon, { icon: CgChevronDown, size: 24, iconColor: "currentColor" }) }),
11664
11674
  children
11665
11675
  }
11666
11676
  )
@@ -11963,8 +11973,8 @@ var Callout = ({
11963
11973
  children: /* @__PURE__ */ jsxs18("div", { css: calloutInner, children: [
11964
11974
  compact ? null : /* @__PURE__ */ jsx29("div", { css: calloutIconWrap, children: /* @__PURE__ */ jsx29(Icon2, { css: [calloutIcon, calloutTypeData.iconColor] }) }),
11965
11975
  /* @__PURE__ */ jsxs18("div", { css: [calloutBody, compact ? calloutBodyCompact : void 0], children: [
11966
- title ? /* @__PURE__ */ jsx29("div", { css: [calloutTitle], "data-test-id": "callout-title", children: title }) : null,
11967
- children ? /* @__PURE__ */ jsx29("div", { css: [calloutTypeData.descriptionColor], "data-test-id": "callout-description", children }) : null
11976
+ title ? /* @__PURE__ */ jsx29("div", { css: [calloutTitle], "data-testid": "callout-title", children: title }) : null,
11977
+ children ? /* @__PURE__ */ jsx29("div", { css: [calloutTypeData.descriptionColor], "data-testid": "callout-description", children }) : null
11968
11978
  ] })
11969
11979
  ] })
11970
11980
  }
@@ -12042,7 +12052,7 @@ var Card = ({
12042
12052
  type: "button",
12043
12053
  disabled,
12044
12054
  css: CardMenu,
12045
- "data-test-id": menuButtonTestId != null ? menuButtonTestId : "list-card-menu",
12055
+ "data-testid": menuButtonTestId != null ? menuButtonTestId : "list-card-menu",
12046
12056
  children: /* @__PURE__ */ jsx30(Icon, { icon: CgMoreAlt, iconColor: "currentColor", size: 32 })
12047
12057
  }
12048
12058
  ),
@@ -13015,7 +13025,7 @@ var DrawerInner = ({
13015
13025
  tabIndex: -1,
13016
13026
  "aria-labelledby": headerId,
13017
13027
  css: drawerStyles(bgColor),
13018
- "data-test-id": testId,
13028
+ "data-testid": testId,
13019
13029
  children: [
13020
13030
  /* @__PURE__ */ jsxs26("div", { css: headerWrapperStyles, children: [
13021
13031
  header ? /* @__PURE__ */ jsx43("div", { id: headerId, css: drawerHeaderStyles, children: header }) : null,
@@ -13200,7 +13210,7 @@ var CaptionText = (dynamicSize) => css43`
13200
13210
  // src/components/Input/Caption.tsx
13201
13211
  import { jsx as jsx46 } from "@emotion/react/jsx-runtime";
13202
13212
  var Caption = ({ children, testId, dynamicSize = false, ...props }) => {
13203
- return /* @__PURE__ */ jsx46("small", { css: CaptionText(dynamicSize), "data-test-id": testId, ...props, children });
13213
+ return /* @__PURE__ */ jsx46("small", { css: CaptionText(dynamicSize), "data-testid": testId, ...props, children });
13204
13214
  };
13205
13215
 
13206
13216
  // src/components/Input/CheckboxWithInfo.tsx
@@ -13313,7 +13323,7 @@ var ErrorText = css45`
13313
13323
  // src/components/Input/ErrorMessage.tsx
13314
13324
  import { jsx as jsx48, jsxs as jsxs30 } from "@emotion/react/jsx-runtime";
13315
13325
  var ErrorMessage = ({ message, testId, ...otherProps }) => {
13316
- return message ? /* @__PURE__ */ jsxs30("span", { role: "alert", css: ErrorText, "data-test-id": testId, ...otherProps, children: [
13326
+ return message ? /* @__PURE__ */ jsxs30("span", { role: "alert", css: ErrorText, "data-testid": testId, ...otherProps, children: [
13317
13327
  /* @__PURE__ */ jsx48("span", { children: /* @__PURE__ */ jsx48(Icon, { icon: MdWarning, size: "1rem", iconColor: "currentColor" }) }),
13318
13328
  message
13319
13329
  ] }) : null;
@@ -13394,7 +13404,7 @@ var InfoIcon2 = css47`
13394
13404
  // src/components/Input/InfoMessage.tsx
13395
13405
  import { jsx as jsx50, jsxs as jsxs32 } from "@emotion/react/jsx-runtime";
13396
13406
  var InfoMessage = ({ message, testId, ...props }) => {
13397
- return message ? /* @__PURE__ */ jsxs32("span", { role: "status", css: InfoText, "data-test-id": testId, ...props, children: [
13407
+ return message ? /* @__PURE__ */ jsxs32("span", { role: "status", css: InfoText, "data-testid": testId, ...props, children: [
13398
13408
  /* @__PURE__ */ jsx50("span", { children: /* @__PURE__ */ jsx50(Icon, { css: InfoIcon2, icon: MdInfoOutline, size: "1rem", iconColor: "currentColor" }) }),
13399
13409
  message
13400
13410
  ] }) : null;
@@ -13411,7 +13421,7 @@ var Label = ({ children, className, testId, ...props }) => {
13411
13421
  {
13412
13422
  css: [labelText, typeof className === "object" ? className : void 0],
13413
13423
  className: typeof className === "string" ? className : "",
13414
- "data-test-id": testId,
13424
+ "data-testid": testId,
13415
13425
  ...props,
13416
13426
  children
13417
13427
  }
@@ -13436,7 +13446,7 @@ var WarningIcon = css48`
13436
13446
  // src/components/Input/WarningMessage.tsx
13437
13447
  import { jsx as jsx52, jsxs as jsxs33 } from "@emotion/react/jsx-runtime";
13438
13448
  var WarningMessage = ({ message, testId, ...props }) => {
13439
- return message ? /* @__PURE__ */ jsxs33("span", { role: "status", css: WarningText, "data-test-id": testId, ...props, children: [
13449
+ return message ? /* @__PURE__ */ jsxs33("span", { role: "status", css: WarningText, "data-testid": testId, ...props, children: [
13440
13450
  /* @__PURE__ */ jsx52("span", { children: /* @__PURE__ */ jsx52(Icon, { css: WarningIcon, icon: MdWarning2, size: "1rem", iconColor: "currentColor" }) }),
13441
13451
  message
13442
13452
  ] }) : null;
@@ -13462,7 +13472,7 @@ var Input = React16.forwardRef(
13462
13472
  classNameLabel,
13463
13473
  ...props
13464
13474
  }, ref) => {
13465
- return /* @__PURE__ */ jsxs34("div", { css: inputContainer, "data-test-id": containerTestId ? containerTestId : "container-input-field", children: [
13475
+ return /* @__PURE__ */ jsxs34("div", { css: inputContainer, "data-testid": containerTestId ? containerTestId : "container-input-field", children: [
13466
13476
  showLabel ? /* @__PURE__ */ jsx53(
13467
13477
  Label,
13468
13478
  {
@@ -13912,7 +13922,7 @@ var InputToggle = React17.forwardRef(
13912
13922
  Label,
13913
13923
  {
13914
13924
  css: [inputToggleLabel, disabled ? inputDisabled : void 0],
13915
- "data-test-id": testId ? testId : "input-toggle",
13925
+ "data-testid": testId ? testId : "input-toggle",
13916
13926
  children: [
13917
13927
  /* @__PURE__ */ jsx58(
13918
13928
  "input",
@@ -13965,7 +13975,7 @@ var SuccessIcon2 = css51`
13965
13975
  // src/components/Input/SuccessMessage.tsx
13966
13976
  import { jsx as jsx60, jsxs as jsxs38 } from "@emotion/react/jsx-runtime";
13967
13977
  var SuccessMessage = ({ message, testId, ...props }) => {
13968
- return message ? /* @__PURE__ */ jsxs38("span", { role: "status", css: SuccessText, "data-test-id": testId, ...props, children: [
13978
+ return message ? /* @__PURE__ */ jsxs38("span", { role: "status", css: SuccessText, "data-testid": testId, ...props, children: [
13969
13979
  /* @__PURE__ */ jsx60("span", { children: /* @__PURE__ */ jsx60(Icon, { css: SuccessIcon2, icon: CgCheckO, size: "1rem", iconColor: "currentColor" }) }),
13970
13980
  message
13971
13981
  ] }) : null;
@@ -14240,8 +14250,8 @@ var EditTeamIntegrationTile = ({
14240
14250
  "data-testid": "configure-integration-container",
14241
14251
  "integration-id": `${id.toLocaleLowerCase()}`,
14242
14252
  children: [
14243
- /* @__PURE__ */ jsx65(ResolveIcon, { icon, name, "data-test-id": "integration-logo" }),
14244
- /* @__PURE__ */ jsx65("span", { css: IntegrationTileName, "data-test-id": "integration-card-name", children: name }),
14253
+ /* @__PURE__ */ jsx65(ResolveIcon, { icon, name, "data-testid": "integration-logo" }),
14254
+ /* @__PURE__ */ jsx65("span", { css: IntegrationTileName, "data-testid": "integration-card-name", children: name }),
14245
14255
  !isPublic ? /* @__PURE__ */ jsx65(IntegrationCustomBadge, {}) : null,
14246
14256
  canEdit ? /* @__PURE__ */ jsx65(
14247
14257
  Button,
@@ -14436,7 +14446,7 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
14436
14446
  {
14437
14447
  src: iconSrc,
14438
14448
  alt: name,
14439
- "data-test-id": "integration-modal-icon",
14449
+ "data-testid": "integration-modal-icon",
14440
14450
  css: IntegrationModalImage,
14441
14451
  ...imgProps
14442
14452
  }
@@ -14644,7 +14654,7 @@ var IntegrationModalHeader = ({ icon, name, menu: menu2, children }) => {
14644
14654
  /* @__PURE__ */ jsx73(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
14645
14655
  /* @__PURE__ */ jsx73("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ jsxs47("div", { css: IntegrationModalHeaderTitleGroup, children: [
14646
14656
  icon ? /* @__PURE__ */ jsx73(IntegrationModalIcon, { icon, name: name || "" }) : null,
14647
- /* @__PURE__ */ jsx73(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-test-id": "integration-modal-title", children: name || "Create Team Integration" }),
14657
+ /* @__PURE__ */ jsx73(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-testid": "integration-modal-title", children: name || "Create Team Integration" }),
14648
14658
  menu2 ? /* @__PURE__ */ jsxs47("div", { css: IntegrationModalHeaderMenuPlacement, children: [
14649
14659
  menu2,
14650
14660
  " "
@@ -14938,7 +14948,7 @@ var ScrollableListInputItem = ({
14938
14948
  active ? ScrollableListItemActive : void 0
14939
14949
  ],
14940
14950
  ...props,
14941
- children: /* @__PURE__ */ jsxs51("label", { "data-test-id": labelTestId, css: ScrollableListInputLabel, children: [
14951
+ children: /* @__PURE__ */ jsxs51("label", { "data-testid": labelTestId, css: ScrollableListInputLabel, children: [
14942
14952
  /* @__PURE__ */ jsxs51("span", { css: ScrollableListInputText, children: [
14943
14953
  icon,
14944
14954
  label
@@ -14951,7 +14961,7 @@ var ScrollableListInputItem = ({
14951
14961
  iconColor: "currentColor",
14952
14962
  css: [ScrollableListIcon, active ? ScrollableListIconVisible : void 0],
14953
14963
  size: 24,
14954
- "data-test-id": "check-mark",
14964
+ "data-testid": "check-mark",
14955
14965
  "data-test-active": active
14956
14966
  }
14957
14967
  )
@@ -15042,7 +15052,7 @@ var loadingDot = css66`
15042
15052
  // src/components/LoadingIndicator/LoadingIndicator.tsx
15043
15053
  import { jsx as jsx80, jsxs as jsxs53 } from "@emotion/react/jsx-runtime";
15044
15054
  var LoadingIndicator = ({ ...props }) => {
15045
- return /* @__PURE__ */ jsxs53("div", { role: "alert", css: loader, "data-test-id": "loading-indicator", ...props, children: [
15055
+ return /* @__PURE__ */ jsxs53("div", { role: "alert", css: loader, "data-testid": "loading-indicator", ...props, children: [
15046
15056
  /* @__PURE__ */ jsx80("span", { css: loadingDot }),
15047
15057
  /* @__PURE__ */ jsx80("span", { css: loadingDot }),
15048
15058
  /* @__PURE__ */ jsx80("span", { css: loadingDot })
@@ -15147,14 +15157,13 @@ var LoadingIcon = ({ height, width, ...props }) => {
15147
15157
  return /* @__PURE__ */ jsx81(
15148
15158
  "svg",
15149
15159
  {
15150
- "data-testid": "svg",
15151
15160
  viewBox: "0 0 38 38",
15152
15161
  xmlns: "http://www.w3.org/2000/svg",
15153
15162
  width: width != null ? width : 40,
15154
15163
  height: height != null ? height : 40,
15155
15164
  stroke: "currentColor",
15156
15165
  ...props,
15157
- "data-test-id": "loading-icon",
15166
+ "data-testid": "loading-icon",
15158
15167
  children: /* @__PURE__ */ jsx81("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ jsxs54("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
15159
15168
  /* @__PURE__ */ jsx81("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
15160
15169
  /* @__PURE__ */ jsx81("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ jsx81(
@@ -15904,7 +15913,7 @@ var ParameterOverrideMarker = (props) => /* @__PURE__ */ jsx89(Tooltip, { title:
15904
15913
  import { Fragment as Fragment11, jsx as jsx90, jsxs as jsxs61 } from "@emotion/react/jsx-runtime";
15905
15914
  var ParameterImage = forwardRef11((props, ref) => {
15906
15915
  const { shellProps, innerProps } = extractParameterProps(props);
15907
- return /* @__PURE__ */ jsx90(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: /* @__PURE__ */ jsx90(ParameterImageInner, { ref, ...innerProps }) });
15916
+ return /* @__PURE__ */ jsx90(ParameterShell, { "data-testid": "parameter-image", ...shellProps, children: /* @__PURE__ */ jsx90(ParameterImageInner, { ref, ...innerProps }) });
15908
15917
  });
15909
15918
  var BrokenImage = ({ ...props }) => {
15910
15919
  return /* @__PURE__ */ jsxs61(
@@ -16021,7 +16030,7 @@ import { forwardRef as forwardRef12 } from "react";
16021
16030
  import { jsx as jsx91 } from "@emotion/react/jsx-runtime";
16022
16031
  var ParameterInput = forwardRef12((props, ref) => {
16023
16032
  const { shellProps, innerProps } = extractParameterProps(props);
16024
- return /* @__PURE__ */ jsx91(ParameterShell, { "data-test-id": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx91(ParameterInputInner, { ref, ...innerProps }) });
16033
+ return /* @__PURE__ */ jsx91(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ jsx91(ParameterInputInner, { ref, ...innerProps }) });
16025
16034
  });
16026
16035
  var ParameterInputInner = forwardRef12(
16027
16036
  ({ ...props }, ref) => {
@@ -16050,7 +16059,7 @@ var ParameterLink = forwardRef13(
16050
16059
  return /* @__PURE__ */ jsx92(
16051
16060
  ParameterShell,
16052
16061
  {
16053
- "data-test-id": "link-parameter-editor",
16062
+ "data-testid": "link-parameter-editor",
16054
16063
  ...shellProps,
16055
16064
  label: innerProps.value ? shellProps.label : "",
16056
16065
  title: !innerProps.value ? shellProps.label : void 0,
@@ -16145,7 +16154,7 @@ var ParameterNameAndPublicIdInput = ({
16145
16154
  id: nameIdField,
16146
16155
  name: nameIdField,
16147
16156
  label,
16148
- "data-test-id": "name-field",
16157
+ "data-testid": "name-field",
16149
16158
  autoComplete: "off",
16150
16159
  "data-af": "true",
16151
16160
  onBlur,
@@ -16165,7 +16174,7 @@ var ParameterNameAndPublicIdInput = ({
16165
16174
  name: publicIdFieldName,
16166
16175
  label: "Public ID",
16167
16176
  disabled: Boolean(id) || isReadonly,
16168
- "data-test-id": "public-id-field",
16177
+ "data-testid": "public-id-field",
16169
16178
  autoComplete: "off",
16170
16179
  onBlur,
16171
16180
  onChange: onPublicIdChange,
@@ -17570,7 +17579,7 @@ var ParameterRichText = ({
17570
17579
  return /* @__PURE__ */ jsxs66(
17571
17580
  ParameterShell,
17572
17581
  {
17573
- "data-test-id": "parameter-input",
17582
+ "data-testid": "parameter-input",
17574
17583
  label,
17575
17584
  hiddenLabel,
17576
17585
  labelLeadingIcon,
@@ -17802,7 +17811,7 @@ import { forwardRef as forwardRef15 } from "react";
17802
17811
  import { jsx as jsx99 } from "@emotion/react/jsx-runtime";
17803
17812
  var ParameterTextarea = forwardRef15((props, ref) => {
17804
17813
  const { shellProps, innerProps } = extractParameterProps(props);
17805
- return /* @__PURE__ */ jsx99(ParameterShell, { "data-test-id": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx99(ParameterTextareaInner, { ref, ...innerProps }) });
17814
+ return /* @__PURE__ */ jsx99(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ jsx99(ParameterTextareaInner, { ref, ...innerProps }) });
17806
17815
  });
17807
17816
  var ParameterTextareaInner = forwardRef15(({ ...props }, ref) => {
17808
17817
  const { id, label, hiddenLabel } = useParameterShell();
@@ -17855,7 +17864,7 @@ var Popover2 = ({
17855
17864
  }) => {
17856
17865
  const popover = usePopoverState({ placement });
17857
17866
  return /* @__PURE__ */ jsxs69(Fragment16, { children: [
17858
- /* @__PURE__ */ jsxs69(PopoverDisclosure, { ...popover, css: PopoverBtn, title: buttonText, "data-test-id": testId, children: [
17867
+ /* @__PURE__ */ jsxs69(PopoverDisclosure, { ...popover, css: PopoverBtn, title: buttonText, "data-testid": testId, children: [
17859
17868
  /* @__PURE__ */ jsx101(Icon, { icon, iconColor, size: iconSize }),
17860
17869
  /* @__PURE__ */ jsx101("span", { hidden: true, children: buttonText })
17861
17870
  ] }),
@@ -18135,7 +18144,7 @@ var SegmentedControl = ({
18135
18144
  Tooltip,
18136
18145
  {
18137
18146
  title: isDisabled || !option.tooltip ? "" : option.tooltip,
18138
- children: /* @__PURE__ */ jsx103("div", { css: segmentedControlItemStyles, "data-test-id": "container-segmented-control", children: /* @__PURE__ */ jsxs71(
18147
+ children: /* @__PURE__ */ jsx103("div", { css: segmentedControlItemStyles, "data-testid": "container-segmented-control", children: /* @__PURE__ */ jsxs71(
18139
18148
  "label",
18140
18149
  {
18141
18150
  css: [
package/dist/index.d.mts CHANGED
@@ -20334,7 +20334,7 @@ type ButtonWithMenuProps = ActionButtonsProps & React$1.ButtonHTMLAttributes<HTM
20334
20334
  className="flex gap-2 items-center"
20335
20335
  data-testid="save-menu-item-button"
20336
20336
  >
20337
- <span className="whitespace-nowrap" data-test-id="save-menu-item">
20337
+ <span className="whitespace-nowrap" data-testid="save-menu-item">
20338
20338
  Save
20339
20339
  </span>
20340
20340
  </MenuItem>
@@ -20359,7 +20359,7 @@ interface CalloutProps {
20359
20359
  children?: React$1.ReactNode;
20360
20360
  /** sets additional css classes or emotion styles on the callout */
20361
20361
  className?: SerializedStyles | string;
20362
- /** sets the data-test-id on the callout element */
20362
+ /** sets the data-testid on the callout element */
20363
20363
  testId?: string;
20364
20364
  }
20365
20365
  /**
@@ -20379,7 +20379,7 @@ type CardProps = React$1.HTMLAttributes<HTMLDivElement> & {
20379
20379
  children?: React$1.ReactNode;
20380
20380
  /** (optional) sets options for a dropdown menu */
20381
20381
  menuItems?: JSX.Element;
20382
- /** (optional) sets the data-test-id attribute on the button element
20382
+ /** (optional) sets the data-testid attribute on the button element
20383
20383
  * @default 'list-card-menu'
20384
20384
  */
20385
20385
  menuButtonTestId?: string;
@@ -20713,7 +20713,7 @@ type CaptionProps = React$1.HTMLAttributes<HTMLElement> & {
20713
20713
  children: React$1.ReactNode;
20714
20714
  /** Makes the font size relative to the inherited font size */
20715
20715
  dynamicSize?: boolean;
20716
- /** sets data-test-id attribute for test automation */
20716
+ /** sets data-testid attribute for test automation */
20717
20717
  testId?: string;
20718
20718
  };
20719
20719
  /**
@@ -21267,7 +21267,7 @@ type ScrollableItemProps = {
21267
21267
  icon?: React.ReactElement;
21268
21268
  /**sets the label value */
21269
21269
  label: string | React.ReactElement;
21270
- /** sets a data-test-id on the label */
21270
+ /** sets a data-testid on the label */
21271
21271
  labelTestId?: string;
21272
21272
  /** recommended to use a form input element of type radio or checkbox */
21273
21273
  children: React.ReactNode;
package/dist/index.d.ts CHANGED
@@ -20334,7 +20334,7 @@ type ButtonWithMenuProps = ActionButtonsProps & React$1.ButtonHTMLAttributes<HTM
20334
20334
  className="flex gap-2 items-center"
20335
20335
  data-testid="save-menu-item-button"
20336
20336
  >
20337
- <span className="whitespace-nowrap" data-test-id="save-menu-item">
20337
+ <span className="whitespace-nowrap" data-testid="save-menu-item">
20338
20338
  Save
20339
20339
  </span>
20340
20340
  </MenuItem>
@@ -20359,7 +20359,7 @@ interface CalloutProps {
20359
20359
  children?: React$1.ReactNode;
20360
20360
  /** sets additional css classes or emotion styles on the callout */
20361
20361
  className?: SerializedStyles | string;
20362
- /** sets the data-test-id on the callout element */
20362
+ /** sets the data-testid on the callout element */
20363
20363
  testId?: string;
20364
20364
  }
20365
20365
  /**
@@ -20379,7 +20379,7 @@ type CardProps = React$1.HTMLAttributes<HTMLDivElement> & {
20379
20379
  children?: React$1.ReactNode;
20380
20380
  /** (optional) sets options for a dropdown menu */
20381
20381
  menuItems?: JSX.Element;
20382
- /** (optional) sets the data-test-id attribute on the button element
20382
+ /** (optional) sets the data-testid attribute on the button element
20383
20383
  * @default 'list-card-menu'
20384
20384
  */
20385
20385
  menuButtonTestId?: string;
@@ -20713,7 +20713,7 @@ type CaptionProps = React$1.HTMLAttributes<HTMLElement> & {
20713
20713
  children: React$1.ReactNode;
20714
20714
  /** Makes the font size relative to the inherited font size */
20715
20715
  dynamicSize?: boolean;
20716
- /** sets data-test-id attribute for test automation */
20716
+ /** sets data-testid attribute for test automation */
20717
20717
  testId?: string;
20718
20718
  };
20719
20719
  /**
@@ -21267,7 +21267,7 @@ type ScrollableItemProps = {
21267
21267
  icon?: React.ReactElement;
21268
21268
  /**sets the label value */
21269
21269
  label: string | React.ReactElement;
21270
- /** sets a data-test-id on the label */
21270
+ /** sets a data-testid on the label */
21271
21271
  labelTestId?: string;
21272
21272
  /** recommended to use a form input element of type radio or checkbox */
21273
21273
  children: React.ReactNode;
package/dist/index.js CHANGED
@@ -2360,7 +2360,7 @@ var IntegrationHeaderSection = ({
2360
2360
  /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(IntegrationHeaderSectionHexImage, { css: IntegrationHeaderSectionHexIcon }),
2361
2361
  CompIcon ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(CompIcon, { css: IntegrationHeaderSectionIcon }) : icon ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("img", { src: icon, alt: title, css: IntegrationHeaderSectionIcon }) : null
2362
2362
  ] }) : null,
2363
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { css: IntegrationHeaderSectionTitleGroup, "data-test-id": "integration-header-text", children: [
2363
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { css: IntegrationHeaderSectionTitleGroup, "data-testid": "integration-header-text", children: [
2364
2364
  /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("h1", { css: IntegrationHeaderSectionTitle, children: title }),
2365
2365
  badgeText ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Badge, { text: badgeText }) : null,
2366
2366
  menu2 ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { children: menu2 }) : null,
@@ -2382,7 +2382,7 @@ var IntegrationHeaderSection = ({
2382
2382
  {
2383
2383
  css: IntegrationHeaderSectionText,
2384
2384
  htmlContent: description,
2385
- "data-test-id": "integration-description"
2385
+ "data-testid": "integration-description"
2386
2386
  }
2387
2387
  ) : null
2388
2388
  ] }),
@@ -2487,7 +2487,7 @@ var PageHeaderSection = ({
2487
2487
  }
2488
2488
  )
2489
2489
  ] }) : null,
2490
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Heading, { level, css: PageHeaderSectionTitle, ...htmlProps, "data-test-id": "page-header-section", children: title }),
2490
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Heading, { level, css: PageHeaderSectionTitle, ...htmlProps, "data-testid": "page-header-section", children: title }),
2491
2491
  desc
2492
2492
  ] }),
2493
2493
  children ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { css: PageHeaderSectionChildContainer, children }) : null
@@ -11042,7 +11042,7 @@ var AnimationFile = ({
11042
11042
  import_lottie_react.default,
11043
11043
  {
11044
11044
  role: "graphics-symbol",
11045
- "data-test-id": "graphic-loader",
11045
+ "data-testid": "graphic-loader",
11046
11046
  "aria-label": label,
11047
11047
  autoPlay: autoplay,
11048
11048
  loop,
@@ -11346,7 +11346,7 @@ var UniformBadge = ({
11346
11346
  viewBox: "0 0 51 52",
11347
11347
  fill: "none",
11348
11348
  xmlns: "http://www.w3.org/2000/svg",
11349
- "data-test-id": "uniform-Badge",
11349
+ "data-testid": "uniform-Badge",
11350
11350
  css: [SVG, theme === "dark" ? SVGDark : SVGLight],
11351
11351
  ...props,
11352
11352
  children: [
@@ -11382,7 +11382,7 @@ var UniformLogo = ({
11382
11382
  theme = "light",
11383
11383
  ...props
11384
11384
  }) => {
11385
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { "data-test-id": "uniform-Logo", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
11385
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { "data-testid": "uniform-Logo", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
11386
11386
  "svg",
11387
11387
  {
11388
11388
  width: "153",
@@ -11551,7 +11551,7 @@ var MenuTitle = import_react31.css`
11551
11551
  // src/components/Menu/MenuGroup.tsx
11552
11552
  var import_jsx_runtime23 = require("@emotion/react/jsx-runtime");
11553
11553
  var MenuGroup = ({ title, children }) => {
11554
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { css: MenuGroupContainer, "data-test-id": "menu-group", children: [
11554
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { css: MenuGroupContainer, "data-testid": "menu-group", children: [
11555
11555
  /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { css: MenuTitle, children: title }),
11556
11556
  children
11557
11557
  ] });
@@ -11666,9 +11666,19 @@ var menu = import_react34.css`
11666
11666
  flex-direction: column;
11667
11667
  padding: var(--spacing-sm);
11668
11668
  outline: none;
11669
- overflow: hidden;
11669
+ overflow-x: hidden;
11670
+ overflow-y: auto;
11670
11671
  position: relative;
11671
11672
  z-index: var(--z-50);
11673
+
11674
+ // work around for smaller screens not being able to access large menus
11675
+ // see uni-2997
11676
+ max-height: 55vh; // firefox support
11677
+
11678
+ ${supports("max-height: 60dvh")} {
11679
+ max-height: 55dvh; // modern browser support
11680
+ }
11681
+ ${scrollbarStyles}
11672
11682
  `;
11673
11683
 
11674
11684
  // src/components/Menu/Menu.tsx
@@ -11736,7 +11746,7 @@ var MenuItem = React9.forwardRef(
11736
11746
  {
11737
11747
  ref,
11738
11748
  type: "button",
11739
- "data-test-id": "button-menu",
11749
+ "data-testid": "button-menu",
11740
11750
  ...menuState,
11741
11751
  ...resolvedProps,
11742
11752
  css: [menuItem(textColor, active), typeof className === "object" ? className : void 0],
@@ -11870,7 +11880,7 @@ var ButtonWithMenu = ({
11870
11880
  "div",
11871
11881
  {
11872
11882
  css: [ButtonWithMenuContainer, disabled ? buttonDisabledTheme[buttonType] : buttonTheme[buttonType]],
11873
- "data-test-id": "multioptions-button",
11883
+ "data-testid": "multioptions-button",
11874
11884
  children: [
11875
11885
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
11876
11886
  "button",
@@ -11879,7 +11889,7 @@ var ButtonWithMenu = ({
11879
11889
  css: ButtonWithMenuBtn,
11880
11890
  disabled,
11881
11891
  onClick: onButtonClick,
11882
- "data-test-id": "multioptions-button-main",
11892
+ "data-testid": "multioptions-button-main",
11883
11893
  ...buttonProps,
11884
11894
  children: buttonText
11885
11895
  }
@@ -11889,7 +11899,7 @@ var ButtonWithMenu = ({
11889
11899
  {
11890
11900
  menuLabel: "buttonMenu",
11891
11901
  placement,
11892
- menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { css: ButtonWithMenuIcon, "data-test-id": "multioptions-button-call-menu", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Icon, { icon: import_cg6.CgChevronDown, size: 24, iconColor: "currentColor" }) }),
11902
+ menuTrigger: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { css: ButtonWithMenuIcon, "data-testid": "multioptions-button-call-menu", children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Icon, { icon: import_cg6.CgChevronDown, size: 24, iconColor: "currentColor" }) }),
11893
11903
  children
11894
11904
  }
11895
11905
  )
@@ -12192,8 +12202,8 @@ var Callout = ({
12192
12202
  children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { css: calloutInner, children: [
12193
12203
  compact ? null : /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { css: calloutIconWrap, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Icon2, { css: [calloutIcon, calloutTypeData.iconColor] }) }),
12194
12204
  /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { css: [calloutBody, compact ? calloutBodyCompact : void 0], children: [
12195
- title ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { css: [calloutTitle], "data-test-id": "callout-title", children: title }) : null,
12196
- children ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { css: [calloutTypeData.descriptionColor], "data-test-id": "callout-description", children }) : null
12205
+ title ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { css: [calloutTitle], "data-testid": "callout-title", children: title }) : null,
12206
+ children ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { css: [calloutTypeData.descriptionColor], "data-testid": "callout-description", children }) : null
12197
12207
  ] })
12198
12208
  ] })
12199
12209
  }
@@ -12271,7 +12281,7 @@ var Card = ({
12271
12281
  type: "button",
12272
12282
  disabled,
12273
12283
  css: CardMenu,
12274
- "data-test-id": menuButtonTestId != null ? menuButtonTestId : "list-card-menu",
12284
+ "data-testid": menuButtonTestId != null ? menuButtonTestId : "list-card-menu",
12275
12285
  children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Icon, { icon: import_cg7.CgMoreAlt, iconColor: "currentColor", size: 32 })
12276
12286
  }
12277
12287
  ),
@@ -13244,7 +13254,7 @@ var DrawerInner = ({
13244
13254
  tabIndex: -1,
13245
13255
  "aria-labelledby": headerId,
13246
13256
  css: drawerStyles(bgColor),
13247
- "data-test-id": testId,
13257
+ "data-testid": testId,
13248
13258
  children: [
13249
13259
  /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { css: headerWrapperStyles, children: [
13250
13260
  header ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { id: headerId, css: drawerHeaderStyles, children: header }) : null,
@@ -13429,7 +13439,7 @@ var CaptionText = (dynamicSize) => import_react56.css`
13429
13439
  // src/components/Input/Caption.tsx
13430
13440
  var import_jsx_runtime46 = require("@emotion/react/jsx-runtime");
13431
13441
  var Caption = ({ children, testId, dynamicSize = false, ...props }) => {
13432
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("small", { css: CaptionText(dynamicSize), "data-test-id": testId, ...props, children });
13442
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("small", { css: CaptionText(dynamicSize), "data-testid": testId, ...props, children });
13433
13443
  };
13434
13444
 
13435
13445
  // src/components/Input/CheckboxWithInfo.tsx
@@ -13542,7 +13552,7 @@ var ErrorText = import_react59.css`
13542
13552
  // src/components/Input/ErrorMessage.tsx
13543
13553
  var import_jsx_runtime48 = require("@emotion/react/jsx-runtime");
13544
13554
  var ErrorMessage = ({ message, testId, ...otherProps }) => {
13545
- return message ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("span", { role: "alert", css: ErrorText, "data-test-id": testId, ...otherProps, children: [
13555
+ return message ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("span", { role: "alert", css: ErrorText, "data-testid": testId, ...otherProps, children: [
13546
13556
  /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Icon, { icon: import_md2.MdWarning, size: "1rem", iconColor: "currentColor" }) }),
13547
13557
  message
13548
13558
  ] }) : null;
@@ -13623,7 +13633,7 @@ var InfoIcon2 = import_react61.css`
13623
13633
  // src/components/Input/InfoMessage.tsx
13624
13634
  var import_jsx_runtime50 = require("@emotion/react/jsx-runtime");
13625
13635
  var InfoMessage = ({ message, testId, ...props }) => {
13626
- return message ? /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("span", { role: "status", css: InfoText, "data-test-id": testId, ...props, children: [
13636
+ return message ? /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("span", { role: "status", css: InfoText, "data-testid": testId, ...props, children: [
13627
13637
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Icon, { css: InfoIcon2, icon: import_md3.MdInfoOutline, size: "1rem", iconColor: "currentColor" }) }),
13628
13638
  message
13629
13639
  ] }) : null;
@@ -13640,7 +13650,7 @@ var Label = ({ children, className, testId, ...props }) => {
13640
13650
  {
13641
13651
  css: [labelText, typeof className === "object" ? className : void 0],
13642
13652
  className: typeof className === "string" ? className : "",
13643
- "data-test-id": testId,
13653
+ "data-testid": testId,
13644
13654
  ...props,
13645
13655
  children
13646
13656
  }
@@ -13665,7 +13675,7 @@ var WarningIcon = import_react62.css`
13665
13675
  // src/components/Input/WarningMessage.tsx
13666
13676
  var import_jsx_runtime52 = require("@emotion/react/jsx-runtime");
13667
13677
  var WarningMessage = ({ message, testId, ...props }) => {
13668
- return message ? /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("span", { role: "status", css: WarningText, "data-test-id": testId, ...props, children: [
13678
+ return message ? /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("span", { role: "status", css: WarningText, "data-testid": testId, ...props, children: [
13669
13679
  /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon, { css: WarningIcon, icon: import_md4.MdWarning, size: "1rem", iconColor: "currentColor" }) }),
13670
13680
  message
13671
13681
  ] }) : null;
@@ -13691,7 +13701,7 @@ var Input = React16.forwardRef(
13691
13701
  classNameLabel,
13692
13702
  ...props
13693
13703
  }, ref) => {
13694
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { css: inputContainer, "data-test-id": containerTestId ? containerTestId : "container-input-field", children: [
13704
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { css: inputContainer, "data-testid": containerTestId ? containerTestId : "container-input-field", children: [
13695
13705
  showLabel ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
13696
13706
  Label,
13697
13707
  {
@@ -14141,7 +14151,7 @@ var InputToggle = React17.forwardRef(
14141
14151
  Label,
14142
14152
  {
14143
14153
  css: [inputToggleLabel, disabled ? inputDisabled : void 0],
14144
- "data-test-id": testId ? testId : "input-toggle",
14154
+ "data-testid": testId ? testId : "input-toggle",
14145
14155
  children: [
14146
14156
  /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
14147
14157
  "input",
@@ -14194,7 +14204,7 @@ var SuccessIcon2 = import_react66.css`
14194
14204
  // src/components/Input/SuccessMessage.tsx
14195
14205
  var import_jsx_runtime60 = require("@emotion/react/jsx-runtime");
14196
14206
  var SuccessMessage = ({ message, testId, ...props }) => {
14197
- return message ? /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("span", { role: "status", css: SuccessText, "data-test-id": testId, ...props, children: [
14207
+ return message ? /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("span", { role: "status", css: SuccessText, "data-testid": testId, ...props, children: [
14198
14208
  /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Icon, { css: SuccessIcon2, icon: import_cg13.CgCheckO, size: "1rem", iconColor: "currentColor" }) }),
14199
14209
  message
14200
14210
  ] }) : null;
@@ -14469,8 +14479,8 @@ var EditTeamIntegrationTile = ({
14469
14479
  "data-testid": "configure-integration-container",
14470
14480
  "integration-id": `${id.toLocaleLowerCase()}`,
14471
14481
  children: [
14472
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ResolveIcon, { icon, name, "data-test-id": "integration-logo" }),
14473
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { css: IntegrationTileName, "data-test-id": "integration-card-name", children: name }),
14482
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(ResolveIcon, { icon, name, "data-testid": "integration-logo" }),
14483
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { css: IntegrationTileName, "data-testid": "integration-card-name", children: name }),
14474
14484
  !isPublic ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(IntegrationCustomBadge, {}) : null,
14475
14485
  canEdit ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
14476
14486
  Button,
@@ -14665,7 +14675,7 @@ var IntegrationModalIcon = ({ icon, name, ...imgProps }) => {
14665
14675
  {
14666
14676
  src: iconSrc,
14667
14677
  alt: name,
14668
- "data-test-id": "integration-modal-icon",
14678
+ "data-testid": "integration-modal-icon",
14669
14679
  css: IntegrationModalImage,
14670
14680
  ...imgProps
14671
14681
  }
@@ -14873,7 +14883,7 @@ var IntegrationModalHeader = ({ icon, name, menu: menu2, children }) => {
14873
14883
  /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(HexModalBackground, { css: IntegrationModalHeaderSVGBackground, role: "presentation" }),
14874
14884
  /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { css: IntegrationModalHeaderGroup, children: /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { css: IntegrationModalHeaderTitleGroup, children: [
14875
14885
  icon ? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(IntegrationModalIcon, { icon, name: name || "" }) : null,
14876
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-test-id": "integration-modal-title", children: name || "Create Team Integration" }),
14886
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Heading, { level: 3, css: IntegrationModalHeaderTitle, "data-testid": "integration-modal-title", children: name || "Create Team Integration" }),
14877
14887
  menu2 ? /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)("div", { css: IntegrationModalHeaderMenuPlacement, children: [
14878
14888
  menu2,
14879
14889
  " "
@@ -15167,7 +15177,7 @@ var ScrollableListInputItem = ({
15167
15177
  active ? ScrollableListItemActive : void 0
15168
15178
  ],
15169
15179
  ...props,
15170
- children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("label", { "data-test-id": labelTestId, css: ScrollableListInputLabel, children: [
15180
+ children: /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("label", { "data-testid": labelTestId, css: ScrollableListInputLabel, children: [
15171
15181
  /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)("span", { css: ScrollableListInputText, children: [
15172
15182
  icon,
15173
15183
  label
@@ -15180,7 +15190,7 @@ var ScrollableListInputItem = ({
15180
15190
  iconColor: "currentColor",
15181
15191
  css: [ScrollableListIcon, active ? ScrollableListIconVisible : void 0],
15182
15192
  size: 24,
15183
- "data-test-id": "check-mark",
15193
+ "data-testid": "check-mark",
15184
15194
  "data-test-active": active
15185
15195
  }
15186
15196
  )
@@ -15271,7 +15281,7 @@ var loadingDot = import_react84.css`
15271
15281
  // src/components/LoadingIndicator/LoadingIndicator.tsx
15272
15282
  var import_jsx_runtime80 = require("@emotion/react/jsx-runtime");
15273
15283
  var LoadingIndicator = ({ ...props }) => {
15274
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { role: "alert", css: loader, "data-test-id": "loading-indicator", ...props, children: [
15284
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { role: "alert", css: loader, "data-testid": "loading-indicator", ...props, children: [
15275
15285
  /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { css: loadingDot }),
15276
15286
  /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { css: loadingDot }),
15277
15287
  /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { css: loadingDot })
@@ -15376,14 +15386,13 @@ var LoadingIcon = ({ height, width, ...props }) => {
15376
15386
  return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
15377
15387
  "svg",
15378
15388
  {
15379
- "data-testid": "svg",
15380
15389
  viewBox: "0 0 38 38",
15381
15390
  xmlns: "http://www.w3.org/2000/svg",
15382
15391
  width: width != null ? width : 40,
15383
15392
  height: height != null ? height : 40,
15384
15393
  stroke: "currentColor",
15385
15394
  ...props,
15386
- "data-test-id": "loading-icon",
15395
+ "data-testid": "loading-icon",
15387
15396
  children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("g", { fill: "none", fillRule: "evenodd", children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("g", { transform: "translate(1 1)", strokeWidth: "2", children: [
15388
15397
  /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("circle", { strokeOpacity: ".25", cx: "18", cy: "18", r: "18" }),
15389
15398
  /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("path", { d: "M36 18c0-9.94-8.06-18-18-18", transform: "rotate(166.645 18 18)", children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
@@ -16133,7 +16142,7 @@ var ParameterOverrideMarker = (props) => /* @__PURE__ */ (0, import_jsx_runtime8
16133
16142
  var import_jsx_runtime90 = require("@emotion/react/jsx-runtime");
16134
16143
  var ParameterImage = (0, import_react98.forwardRef)((props, ref) => {
16135
16144
  const { shellProps, innerProps } = extractParameterProps(props);
16136
- return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(ParameterShell, { "data-test-id": "parameter-image", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(ParameterImageInner, { ref, ...innerProps }) });
16145
+ return /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(ParameterShell, { "data-testid": "parameter-image", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(ParameterImageInner, { ref, ...innerProps }) });
16137
16146
  });
16138
16147
  var BrokenImage = ({ ...props }) => {
16139
16148
  return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)(
@@ -16250,7 +16259,7 @@ var import_react99 = require("react");
16250
16259
  var import_jsx_runtime91 = require("@emotion/react/jsx-runtime");
16251
16260
  var ParameterInput = (0, import_react99.forwardRef)((props, ref) => {
16252
16261
  const { shellProps, innerProps } = extractParameterProps(props);
16253
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(ParameterShell, { "data-test-id": "parameter-input", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(ParameterInputInner, { ref, ...innerProps }) });
16262
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(ParameterShell, { "data-testid": "parameter-input", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(ParameterInputInner, { ref, ...innerProps }) });
16254
16263
  });
16255
16264
  var ParameterInputInner = (0, import_react99.forwardRef)(
16256
16265
  ({ ...props }, ref) => {
@@ -16279,7 +16288,7 @@ var ParameterLink = (0, import_react100.forwardRef)(
16279
16288
  return /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
16280
16289
  ParameterShell,
16281
16290
  {
16282
- "data-test-id": "link-parameter-editor",
16291
+ "data-testid": "link-parameter-editor",
16283
16292
  ...shellProps,
16284
16293
  label: innerProps.value ? shellProps.label : "",
16285
16294
  title: !innerProps.value ? shellProps.label : void 0,
@@ -16374,7 +16383,7 @@ var ParameterNameAndPublicIdInput = ({
16374
16383
  id: nameIdField,
16375
16384
  name: nameIdField,
16376
16385
  label,
16377
- "data-test-id": "name-field",
16386
+ "data-testid": "name-field",
16378
16387
  autoComplete: "off",
16379
16388
  "data-af": "true",
16380
16389
  onBlur,
@@ -16394,7 +16403,7 @@ var ParameterNameAndPublicIdInput = ({
16394
16403
  name: publicIdFieldName,
16395
16404
  label: "Public ID",
16396
16405
  disabled: Boolean(id) || isReadonly,
16397
- "data-test-id": "public-id-field",
16406
+ "data-testid": "public-id-field",
16398
16407
  autoComplete: "off",
16399
16408
  onBlur,
16400
16409
  onChange: onPublicIdChange,
@@ -17762,7 +17771,7 @@ var ParameterRichText = ({
17762
17771
  return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(
17763
17772
  ParameterShell,
17764
17773
  {
17765
- "data-test-id": "parameter-input",
17774
+ "data-testid": "parameter-input",
17766
17775
  label,
17767
17776
  hiddenLabel,
17768
17777
  labelLeadingIcon,
@@ -17994,7 +18003,7 @@ var import_react111 = require("react");
17994
18003
  var import_jsx_runtime99 = require("@emotion/react/jsx-runtime");
17995
18004
  var ParameterTextarea = (0, import_react111.forwardRef)((props, ref) => {
17996
18005
  const { shellProps, innerProps } = extractParameterProps(props);
17997
- return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(ParameterShell, { "data-test-id": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(ParameterTextareaInner, { ref, ...innerProps }) });
18006
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(ParameterShell, { "data-testid": "parameter-textarea", ...shellProps, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(ParameterTextareaInner, { ref, ...innerProps }) });
17998
18007
  });
17999
18008
  var ParameterTextareaInner = (0, import_react111.forwardRef)(({ ...props }, ref) => {
18000
18009
  const { id, label, hiddenLabel } = useParameterShell();
@@ -18043,7 +18052,7 @@ var Popover2 = ({
18043
18052
  }) => {
18044
18053
  const popover = (0, import_Popover.usePopoverState)({ placement });
18045
18054
  return /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_jsx_runtime101.Fragment, { children: [
18046
- /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_Popover.PopoverDisclosure, { ...popover, css: PopoverBtn, title: buttonText, "data-test-id": testId, children: [
18055
+ /* @__PURE__ */ (0, import_jsx_runtime101.jsxs)(import_Popover.PopoverDisclosure, { ...popover, css: PopoverBtn, title: buttonText, "data-testid": testId, children: [
18047
18056
  /* @__PURE__ */ (0, import_jsx_runtime101.jsx)(Icon, { icon, iconColor, size: iconSize }),
18048
18057
  /* @__PURE__ */ (0, import_jsx_runtime101.jsx)("span", { hidden: true, children: buttonText })
18049
18058
  ] }),
@@ -18323,7 +18332,7 @@ var SegmentedControl = ({
18323
18332
  Tooltip,
18324
18333
  {
18325
18334
  title: isDisabled || !option.tooltip ? "" : option.tooltip,
18326
- children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { css: segmentedControlItemStyles, "data-test-id": "container-segmented-control", children: /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(
18335
+ children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)("div", { css: segmentedControlItemStyles, "data-testid": "container-segmented-control", children: /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(
18327
18336
  "label",
18328
18337
  {
18329
18338
  css: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/design-system",
3
- "version": "19.37.1",
3
+ "version": "19.38.2",
4
4
  "description": "Uniform design system components",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -24,8 +24,8 @@
24
24
  "@storybook/react": "6.5.16",
25
25
  "@types/react": "18.2.7",
26
26
  "@types/react-dom": "18.2.4",
27
- "@uniformdev/canvas": "^19.37.1",
28
- "@uniformdev/richtext": "^19.37.1",
27
+ "@uniformdev/canvas": "^19.38.2",
28
+ "@uniformdev/richtext": "^19.38.2",
29
29
  "autoprefixer": "10.4.14",
30
30
  "hygen": "6.2.11",
31
31
  "postcss": "8.4.27",
@@ -50,13 +50,13 @@
50
50
  "lottie-react": "^2.3.1",
51
51
  "monaco-editor": "0.40.0",
52
52
  "param-case": "3.0.4",
53
- "react-hotkeys-hook": "4.4.0",
53
+ "react-hotkeys-hook": "4.4.1",
54
54
  "react-icons": "4.10.1",
55
55
  "react-paginate": "8.1.5",
56
- "react-select": "5.7.3",
56
+ "react-select": "5.7.4",
57
57
  "react-use": "17.4.0",
58
58
  "reakit": "1.3.11",
59
- "zod-to-json-schema": "3.21.3"
59
+ "zod-to-json-schema": "3.21.4"
60
60
  },
61
61
  "peerDependencies": {
62
62
  "react": ">=17 || 17 || 18",
@@ -68,5 +68,5 @@
68
68
  "publishConfig": {
69
69
  "access": "public"
70
70
  },
71
- "gitHead": "9de2a3f7515d658d07d7d1fb8ebf4805172e655c"
71
+ "gitHead": "b97fd17fd44e0f5bd3806e942b516cb2bd218096"
72
72
  }