@xsolla/xui-context-menu 0.158.0 → 0.159.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/native/index.mjs CHANGED
@@ -28649,6 +28649,7 @@ var OptionCell = ({
28649
28649
  hasSubmenu,
28650
28650
  submenu,
28651
28651
  onSelect,
28652
+ testID,
28652
28653
  themeMode,
28653
28654
  themeProductContext,
28654
28655
  "data-testid": testId
@@ -28788,7 +28789,7 @@ var OptionCell = ({
28788
28789
  "aria-haspopup": hasSubmenu ? "menu" : void 0,
28789
28790
  "aria-expanded": hasSubmenu ? submenuOpen ? "true" : "false" : void 0,
28790
28791
  tabIndex: 0,
28791
- "data-testid": testId,
28792
+ "data-testid": testId || testID,
28792
28793
  "data-state": inHoverState ? "hover" : void 0,
28793
28794
  "data-destructive": destructive ? "true" : void 0,
28794
28795
  "aria-keyshortcuts": keyboardShortcut,
@@ -28964,6 +28965,7 @@ var HeadingCell = ({
28964
28965
  size: propSize,
28965
28966
  label,
28966
28967
  description,
28968
+ testID,
28967
28969
  themeMode,
28968
28970
  themeProductContext,
28969
28971
  "data-testid": testId
@@ -29023,6 +29025,7 @@ var SearchCell = ({
29023
29025
  autoFocus,
29024
29026
  "aria-label": ariaLabel = "Search options",
29025
29027
  "data-testid": testId,
29028
+ testID,
29026
29029
  themeMode,
29027
29030
  themeProductContext
29028
29031
  }) => {
@@ -29316,6 +29319,7 @@ var ContextMenu = (props) => {
29316
29319
  onSelect,
29317
29320
  "aria-label": ariaLabel,
29318
29321
  "data-testid": testId,
29322
+ testID,
29319
29323
  themeMode,
29320
29324
  themeProductContext
29321
29325
  } = props;
@@ -29635,7 +29639,7 @@ var ContextMenu = (props) => {
29635
29639
  ref: panelRef,
29636
29640
  role: "menu",
29637
29641
  "aria-label": ariaLabel,
29638
- "data-testid": testId,
29642
+ "data-testid": testId || testID,
29639
29643
  "data-placement": usePortal ? resolvedPlacement : void 0,
29640
29644
  tabIndex: -1,
29641
29645
  onKeyDown: handleKeyDown,