@maxio-com/react-ui-components 9.32.0 → 9.33.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.
Files changed (117) hide show
  1. package/dist/index.esm.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/index.js.map +1 -1
  4. package/dist/skills/maxio-react/SKILL.md +1 -0
  5. package/dist/skills/maxio-react/references/components-action-menu.md +9 -1
  6. package/dist/skills/maxio-react/references/components-avatar.md +1 -0
  7. package/dist/skills/maxio-react/references/components-copy-to-clipboard.md +1 -1
  8. package/dist/skills/maxio-react/references/components-data-table.md +9 -2
  9. package/dist/skills/maxio-react/references/components-drawer.md +7 -1
  10. package/dist/skills/maxio-react/references/components-flex.md +4 -4
  11. package/dist/skills/maxio-react/references/components-grid.md +11 -11
  12. package/dist/skills/maxio-react/references/components-icon.md +1 -0
  13. package/dist/skills/maxio-react/references/components-loading-spinner.md +1 -0
  14. package/dist/skills/maxio-react/references/components-logo.md +1 -0
  15. package/dist/skills/maxio-react/references/components-notifications-alert.md +6 -0
  16. package/dist/skills/maxio-react/references/components-notifications-banner.md +6 -0
  17. package/dist/skills/maxio-react/references/components-notifications-toast.md +6 -0
  18. package/dist/skills/maxio-react/references/components-pagination.md +6 -0
  19. package/dist/skills/maxio-react/references/components-progressbar.md +2 -1
  20. package/dist/skills/maxio-react/references/components-tabs.md +7 -0
  21. package/dist/skills/maxio-react/references/components-tag.md +1 -0
  22. package/dist/skills/maxio-react/references/components-tile.md +1 -0
  23. package/dist/skills/maxio-react/references/components-toggle.md +7 -1
  24. package/dist/skills/maxio-react/references/components-tooltip.md +8 -1
  25. package/dist/skills/maxio-react/references/foundations-testing.md +191 -0
  26. package/dist/skills/maxio-react/references/patterns-side-nav.md +6 -0
  27. package/dist/skills/maxio-react/references/patterns-top-bar.md +1 -0
  28. package/dist/temporary-typings/src/components/ActionMenu/components/Menu/Menu.d.ts +3 -2
  29. package/dist/temporary-typings/src/components/ActionMenu/components/Menu/Menu.d.ts.map +1 -1
  30. package/dist/temporary-typings/src/components/ActionMenu/components/MenuButton/MenuButton.d.ts +1 -1
  31. package/dist/temporary-typings/src/components/ActionMenu/components/MenuButton/MenuButton.d.ts.map +1 -1
  32. package/dist/temporary-typings/src/components/ActionMenu/components/MenuButton/types.d.ts +2 -1
  33. package/dist/temporary-typings/src/components/ActionMenu/components/MenuButton/types.d.ts.map +1 -1
  34. package/dist/temporary-typings/src/components/ActionMenu/components/MenuList/MenuList.d.ts +3 -2
  35. package/dist/temporary-typings/src/components/ActionMenu/components/MenuList/MenuList.d.ts.map +1 -1
  36. package/dist/temporary-typings/src/components/ActionMenu/contexts/MenuContext.d.ts +3 -1
  37. package/dist/temporary-typings/src/components/ActionMenu/contexts/MenuContext.d.ts.map +1 -1
  38. package/dist/temporary-typings/src/components/Avatar/Avatar.d.ts +1 -1
  39. package/dist/temporary-typings/src/components/Avatar/Avatar.d.ts.map +1 -1
  40. package/dist/temporary-typings/src/components/Avatar/Avatar.types.d.ts +2 -1
  41. package/dist/temporary-typings/src/components/Avatar/Avatar.types.d.ts.map +1 -1
  42. package/dist/temporary-typings/src/components/DataTable/DataTable.d.ts +1 -1
  43. package/dist/temporary-typings/src/components/DataTable/DataTable.d.ts.map +1 -1
  44. package/dist/temporary-typings/src/components/DataTable/DataTable.types.d.ts +2 -1
  45. package/dist/temporary-typings/src/components/DataTable/DataTable.types.d.ts.map +1 -1
  46. package/dist/temporary-typings/src/components/DataTable/components/RowRenderer/RowRenderer.d.ts +2 -1
  47. package/dist/temporary-typings/src/components/DataTable/components/RowRenderer/RowRenderer.d.ts.map +1 -1
  48. package/dist/temporary-typings/src/components/DataTable/components/Table/Table.d.ts +1 -1
  49. package/dist/temporary-typings/src/components/DataTable/components/Table/Table.d.ts.map +1 -1
  50. package/dist/temporary-typings/src/components/DataTable/components/Table/Table.types.d.ts +1 -0
  51. package/dist/temporary-typings/src/components/DataTable/components/Table/Table.types.d.ts.map +1 -1
  52. package/dist/temporary-typings/src/components/Drawer/Drawer.d.ts +1 -1
  53. package/dist/temporary-typings/src/components/Drawer/Drawer.d.ts.map +1 -1
  54. package/dist/temporary-typings/src/components/Drawer/types.d.ts +2 -1
  55. package/dist/temporary-typings/src/components/Drawer/types.d.ts.map +1 -1
  56. package/dist/temporary-typings/src/components/Icon/Icon.d.ts +1 -1
  57. package/dist/temporary-typings/src/components/Icon/Icon.d.ts.map +1 -1
  58. package/dist/temporary-typings/src/components/Icon/Icon.types.d.ts +2 -1
  59. package/dist/temporary-typings/src/components/Icon/Icon.types.d.ts.map +1 -1
  60. package/dist/temporary-typings/src/components/LoadingSpinner/LoadingSpinner.d.ts +1 -1
  61. package/dist/temporary-typings/src/components/LoadingSpinner/LoadingSpinner.d.ts.map +1 -1
  62. package/dist/temporary-typings/src/components/LoadingSpinner/types.d.ts +2 -1
  63. package/dist/temporary-typings/src/components/LoadingSpinner/types.d.ts.map +1 -1
  64. package/dist/temporary-typings/src/components/Logo/Logo.d.ts.map +1 -1
  65. package/dist/temporary-typings/src/components/Logo/Logo.types.d.ts +2 -1
  66. package/dist/temporary-typings/src/components/Logo/Logo.types.d.ts.map +1 -1
  67. package/dist/temporary-typings/src/components/Notifications/Alert/Alert.d.ts +1 -1
  68. package/dist/temporary-typings/src/components/Notifications/Alert/Alert.d.ts.map +1 -1
  69. package/dist/temporary-typings/src/components/Notifications/Alert/Alert.types.d.ts +2 -1
  70. package/dist/temporary-typings/src/components/Notifications/Alert/Alert.types.d.ts.map +1 -1
  71. package/dist/temporary-typings/src/components/Notifications/Banner/Banner.d.ts +1 -1
  72. package/dist/temporary-typings/src/components/Notifications/Banner/Banner.d.ts.map +1 -1
  73. package/dist/temporary-typings/src/components/Notifications/Banner/Banner.types.d.ts +2 -1
  74. package/dist/temporary-typings/src/components/Notifications/Banner/Banner.types.d.ts.map +1 -1
  75. package/dist/temporary-typings/src/components/Notifications/Toast/Toast/Toast.d.ts.map +1 -1
  76. package/dist/temporary-typings/src/components/Notifications/Toast/Toast/Toast.types.d.ts +1 -0
  77. package/dist/temporary-typings/src/components/Notifications/Toast/Toast/Toast.types.d.ts.map +1 -1
  78. package/dist/temporary-typings/src/components/OverlayTrigger/OverlayTrigger.d.ts +1 -0
  79. package/dist/temporary-typings/src/components/OverlayTrigger/OverlayTrigger.d.ts.map +1 -1
  80. package/dist/temporary-typings/src/components/Pagination/Pagination.d.ts +1 -1
  81. package/dist/temporary-typings/src/components/Pagination/Pagination.d.ts.map +1 -1
  82. package/dist/temporary-typings/src/components/Pagination/Pagination.types.d.ts +2 -1
  83. package/dist/temporary-typings/src/components/Pagination/Pagination.types.d.ts.map +1 -1
  84. package/dist/temporary-typings/src/components/ProgressBar/ProgressBar.d.ts +3 -2
  85. package/dist/temporary-typings/src/components/ProgressBar/ProgressBar.d.ts.map +1 -1
  86. package/dist/temporary-typings/src/components/SideNav/contexts/types.d.ts +1 -0
  87. package/dist/temporary-typings/src/components/SideNav/contexts/types.d.ts.map +1 -1
  88. package/dist/temporary-typings/src/components/Tabs/Tab/types.d.ts +2 -1
  89. package/dist/temporary-typings/src/components/Tabs/Tab/types.d.ts.map +1 -1
  90. package/dist/temporary-typings/src/components/Tabs/TabPanel/TabPanel.d.ts +2 -1
  91. package/dist/temporary-typings/src/components/Tabs/TabPanel/TabPanel.d.ts.map +1 -1
  92. package/dist/temporary-typings/src/components/Tabs/Tabs/Tabs.d.ts +1 -1
  93. package/dist/temporary-typings/src/components/Tabs/Tabs/Tabs.d.ts.map +1 -1
  94. package/dist/temporary-typings/src/components/Tabs/contexts/types.d.ts +1 -0
  95. package/dist/temporary-typings/src/components/Tabs/contexts/types.d.ts.map +1 -1
  96. package/dist/temporary-typings/src/components/Tag/Tag.d.ts +1 -1
  97. package/dist/temporary-typings/src/components/Tag/Tag.d.ts.map +1 -1
  98. package/dist/temporary-typings/src/components/Tag/Tag.types.d.ts +2 -1
  99. package/dist/temporary-typings/src/components/Tag/Tag.types.d.ts.map +1 -1
  100. package/dist/temporary-typings/src/components/Tile/Tile.d.ts +3 -2
  101. package/dist/temporary-typings/src/components/Tile/Tile.d.ts.map +1 -1
  102. package/dist/temporary-typings/src/components/Toggle/Toggle.d.ts +2 -1
  103. package/dist/temporary-typings/src/components/Toggle/Toggle.d.ts.map +1 -1
  104. package/dist/temporary-typings/src/components/Tooltip/Tooltip.d.ts +1 -0
  105. package/dist/temporary-typings/src/components/Tooltip/Tooltip.d.ts.map +1 -1
  106. package/dist/temporary-typings/src/components/TooltipTrigger/TooltipTrigger.d.ts +1 -1
  107. package/dist/temporary-typings/src/components/TooltipTrigger/TooltipTrigger.d.ts.map +1 -1
  108. package/dist/temporary-typings/src/components/TopBar/TopBar.d.ts +1 -1
  109. package/dist/temporary-typings/src/components/TopBar/TopBar.d.ts.map +1 -1
  110. package/dist/temporary-typings/src/components/TopBar/types.d.ts +2 -1
  111. package/dist/temporary-typings/src/components/TopBar/types.d.ts.map +1 -1
  112. package/dist/temporary-typings/src/utils/index.d.ts +2 -0
  113. package/dist/temporary-typings/src/utils/index.d.ts.map +1 -1
  114. package/dist/temporary-typings/src/utils/testId.d.ts +5 -0
  115. package/dist/temporary-typings/src/utils/testId.d.ts.map +1 -0
  116. package/package.json +2 -2
  117. package/typings/index.d.ts +47 -36
@@ -1,8 +1,9 @@
1
+ import type { TestIdProps } from '../../utils/testId';
1
2
  import { IconVariant } from '../Icon';
2
3
  type TagSize = 'sm';
3
4
  type TagKind = 'primary' | 'secondary' | 'tertiary';
4
5
  type TagSentiment = 'info' | 'success' | 'warning' | 'danger' | 'highlight';
5
- export type TagProps = {
6
+ export type TagProps = TestIdProps & {
6
7
  children: React.ReactNode;
7
8
  leadingIcon?: IconVariant;
8
9
  trailingIcon?: IconVariant;
@@ -1 +1 @@
1
- {"version":3,"file":"Tag.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tag/Tag.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,KAAK,OAAO,GAAG,IAAI,CAAC;AACpB,KAAK,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;AACpD,KAAK,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,CAAC;AAE5E,MAAM,MAAM,QAAQ,GAAG;IAIrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAI1B,WAAW,CAAC,EAAE,WAAW,CAAC;IAI1B,YAAY,CAAC,EAAE,WAAW,CAAC;IAI3B,IAAI,CAAC,EAAE,OAAO,CAAC;IAIf,SAAS,CAAC,EAAE,YAAY,CAAC;IAIzB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC"}
1
+ {"version":3,"file":"Tag.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tag/Tag.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,KAAK,OAAO,GAAG,IAAI,CAAC;AACpB,KAAK,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;AACpD,KAAK,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,CAAC;AAE5E,MAAM,MAAM,QAAQ,GAAG,WAAW,GAAG;IAInC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAI1B,WAAW,CAAC,EAAE,WAAW,CAAC;IAI1B,YAAY,CAAC,EAAE,WAAW,CAAC;IAI3B,IAAI,CAAC,EAAE,OAAO,CAAC;IAIf,SAAS,CAAC,EAAE,YAAY,CAAC;IAIzB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC"}
@@ -1,10 +1,11 @@
1
1
  import React from 'react';
2
+ import type { TestIdProps } from '../../utils/testId';
2
3
  type TileProps = {
3
4
  disabled?: boolean;
4
5
  href?: string;
5
6
  target?: 'string';
6
7
  onClick?: () => void;
7
- } & React.HTMLAttributes<HTMLDivElement>;
8
- declare const Tile: ({ children, className, href, onClick, target, disabled, }: TileProps) => React.JSX.Element;
8
+ } & React.HTMLAttributes<HTMLDivElement> & TestIdProps;
9
+ declare const Tile: ({ children, className, href, onClick, target, disabled, "data-testid": testId, }: TileProps) => React.JSX.Element;
9
10
  export default Tile;
10
11
  //# sourceMappingURL=Tile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tile.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tile/Tile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAGjD,KAAK,SAAS,GAAG;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,QAAQ,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AAEzC,QAAA,MAAM,IAAI,GAAI,2DAOX,SAAS,sBAgCX,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Tile.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tile/Tile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,KAAK,SAAS,GAAG;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,QAAQ,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,GACtC,WAAW,CAAC;AAEd,QAAA,MAAM,IAAI,GAAI,kFAQX,SAAS,sBAqCX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -10,7 +10,8 @@ export type ToggleProps = {
10
10
  className?: string;
11
11
  id?: string;
12
12
  'aria-label'?: string;
13
+ 'data-testid'?: string;
13
14
  };
14
- declare const Toggle: ({ defaultChecked, checked, onChange, disabled, valueDescription, valueDescriptionPosition, className, name, id, ...props }: ToggleProps) => React.JSX.Element;
15
+ declare const Toggle: ({ defaultChecked, checked, onChange, disabled, valueDescription, valueDescriptionPosition, className, name, id, "data-testid": testId, ...props }: ToggleProps) => React.JSX.Element;
15
16
  export default Toggle;
16
17
  //# sourceMappingURL=Toggle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toggle/Toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAGlD,MAAM,MAAM,WAAW,GAAG;IAIxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAIlB,cAAc,CAAC,EAAE,OAAO,CAAC;IAIzB,QAAQ,CAAC,EAAE,CACT,KAAK,EAAE,OAAO,EACd,KAAK,CAAC,EACF,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,GACnC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,KACtC,IAAI,CAAC;IAIV,QAAQ,CAAC,EAAE,OAAO,CAAC;IAInB,IAAI,CAAC,EAAE,MAAM,CAAC;IAId,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAI1B,wBAAwB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAI5C,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,EAAE,CAAC,EAAE,MAAM,CAAC;IAIZ,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AACF,QAAA,MAAM,MAAM,GAAI,4HAWb,WAAW,sBA+Eb,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toggle/Toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAGlD,MAAM,MAAM,WAAW,GAAG;IAIxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAIlB,cAAc,CAAC,EAAE,OAAO,CAAC;IAIzB,QAAQ,CAAC,EAAE,CACT,KAAK,EAAE,OAAO,EACd,KAAK,CAAC,EACF,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,GACnC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,KACtC,IAAI,CAAC;IAIV,QAAQ,CAAC,EAAE,OAAO,CAAC;IAInB,IAAI,CAAC,EAAE,MAAM,CAAC;IAId,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAI1B,wBAAwB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAI5C,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,EAAE,CAAC,EAAE,MAAM,CAAC;IAIZ,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AACF,QAAA,MAAM,MAAM,GAAI,mJAYb,WAAW,sBA+Eb,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -5,6 +5,7 @@ export type TooltipProps = {
5
5
  size?: 'regular' | 'small';
6
6
  arrowPosition?: ArrowPosition;
7
7
  maxWidth?: number | 'none';
8
+ 'data-testid'?: string;
8
9
  };
9
10
  declare const Tooltip: FC<TooltipProps>;
10
11
  export default Tooltip;
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,MAAM,MAAM,YAAY,GAAG;IAIzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAI1B,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAI3B,aAAa,CAAC,EAAE,aAAa,CAAC;IAI9B,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAgB7B,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIlC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,MAAM,MAAM,YAAY,GAAG;IAIzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAI1B,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAI3B,aAAa,CAAC,EAAE,aAAa,CAAC;IAI9B,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAK3B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAiB7B,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -7,7 +7,7 @@ export type TooltipTriggerProps = {
7
7
  onVisibilityUpdate?: (isVisible: boolean) => void;
8
8
  renderContent: () => React.ReactNode;
9
9
  floatingElementOffset?: number;
10
- } & Pick<OverlayTriggerProps, 'placement' | 'interactions' | 'usePortal' | 'autoHideMs' | 'className'> & Pick<TooltipProps, 'size' | 'maxWidth'>;
10
+ } & Pick<OverlayTriggerProps, 'placement' | 'interactions' | 'usePortal' | 'autoHideMs' | 'className' | 'data-testid'> & Pick<TooltipProps, 'size' | 'maxWidth'>;
11
11
  declare const TooltipTrigger: FC<TooltipTriggerProps>;
12
12
  export default TooltipTrigger;
13
13
  //# sourceMappingURL=TooltipTrigger.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TooltipTrigger.d.ts","sourceRoot":"","sources":["../../../../../src/components/TooltipTrigger/TooltipTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,EAAE,EAMH,MAAM,OAAO,CAAC;AAEf,OAAgB,EAAE,YAAY,EAA6B,MAAM,YAAY,CAAC;AAC9E,OAAuB,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAKxE,MAAM,MAAM,mBAAmB,GAAG;IAIhC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAI1B,SAAS,CAAC,EAAE,OAAO,CAAC;IAIpB,kBAAkB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IAIlD,aAAa,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC;IAIrC,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,GAAG,IAAI,CACN,mBAAmB,EACnB,WAAW,GAAG,cAAc,GAAG,WAAW,GAAG,YAAY,GAAG,WAAW,CACxE,GACC,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,UAAU,CAAC,CAAC;AAI1C,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAuE3C,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"TooltipTrigger.d.ts","sourceRoot":"","sources":["../../../../../src/components/TooltipTrigger/TooltipTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,EAAE,EAMH,MAAM,OAAO,CAAC;AAEf,OAAgB,EAAE,YAAY,EAA6B,MAAM,YAAY,CAAC;AAC9E,OAAuB,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAMxE,MAAM,MAAM,mBAAmB,GAAG;IAIhC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAI1B,SAAS,CAAC,EAAE,OAAO,CAAC;IAIpB,kBAAkB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IAIlD,aAAa,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC;IAIrC,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,GAAG,IAAI,CACN,mBAAmB,EACjB,WAAW,GACX,cAAc,GACd,WAAW,GACX,YAAY,GACZ,WAAW,GACX,aAAa,CAChB,GACC,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,UAAU,CAAC,CAAC;AAI1C,QAAA,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CA0E3C,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { TopBarProps } from './types';
3
- export declare const TopBar: ({ children, actions, sideNavIsClosed, openSideNav, }: TopBarProps) => React.JSX.Element;
3
+ export declare const TopBar: ({ children, actions, sideNavIsClosed, openSideNav, "data-testid": testId, }: TopBarProps) => React.JSX.Element;
4
4
  export default TopBar;
5
5
  //# sourceMappingURL=TopBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TopBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/TopBar/TopBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAKtC,eAAO,MAAM,MAAM,GAAI,sDAKpB,WAAW,sBAiBb,CAAC;AACF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"TopBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/TopBar/TopBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAKtC,eAAO,MAAM,MAAM,GAAI,6EAMpB,WAAW,sBAiBb,CAAC;AACF,eAAe,MAAM,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
- export type TopBarProps = {
2
+ import type { TestIdProps } from '../../utils/testId';
3
+ export type TopBarProps = TestIdProps & {
3
4
  actions: React.ReactNode;
4
5
  children?: React.ReactNode;
5
6
  sideNavIsClosed?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/TopBar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,MAAM,WAAW,GAAG;IAIxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IAIzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAI3B,eAAe,CAAC,EAAE,OAAO,CAAC;IAI1B,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/TopBar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG;IAItC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IAIzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAI3B,eAAe,CAAC,EAAE,OAAO,CAAC;IAI1B,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC"}
@@ -1,2 +1,4 @@
1
1
  export { ICONS_MAPPING } from './utils';
2
+ export { childTestId } from './testId';
3
+ export type { TestIdProps } from './testId';
2
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,5 @@
1
+ export type TestIdProps = {
2
+ 'data-testid'?: string;
3
+ };
4
+ export declare const childTestId: (base: string | undefined, ...parts: Array<string | number>) => string | undefined;
5
+ //# sourceMappingURL=testId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"testId.d.ts","sourceRoot":"","sources":["../../../../src/utils/testId.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IAKxB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAMF,eAAO,MAAM,WAAW,GACtB,MAAM,MAAM,GAAG,SAAS,EACxB,GAAG,OAAO,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,uBACkB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxio-com/react-ui-components",
3
- "version": "9.32.0",
3
+ "version": "9.33.0",
4
4
  "description": "React UI components",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -65,5 +65,5 @@
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "gitHead": "e8629df12f3edae85b83cadd04bf2b6eb894fd4e"
68
+ "gitHead": "9249e6be2b8310020b454eaf2806062760747e2c"
69
69
  }
@@ -8,17 +8,21 @@ import { MotionProps } from 'framer-motion';
8
8
  import { ToastState, ToastQueue as ToastQueue$1 } from '@react-stately/toast';
9
9
  import { AriaCheckboxGroupProps, AriaRadioGroupProps, AriaToggleButtonProps } from 'react-aria';
10
10
 
11
+ type TestIdProps = {
12
+ 'data-testid'?: string;
13
+ };
14
+
11
15
  declare const ICONS: readonly ["address-card", "arrow-down", "arrow-down-left", "arrow-down-left-long", "arrow-down-long", "arrow-down-right", "arrow-down-right-long", "arrow-down-up", "arrow-left", "arrow-left-long", "arrow-left-right", "arrow-right", "arrow-right-long", "arrow-turn-down-right", "arrow-up", "arrow-up-left", "arrow-up-left-long", "arrow-up-long", "arrow-up-right", "arrow-up-right-long", "bank", "bar-chart", "briefcase", "building", "business-intelligence", "calendar", "caret-down", "caret-left", "caret-right", "caret-up", "chat", "check", "check-box", "check-box-checked", "check-box-checked-fill", "check-box-indeterminate-fill", "check-circle", "check-circle-fill", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "chevron-up-down", "circle", "circle-half-stroke-small", "circle-small-dash", "circle-small-fill", "circle-small-stroke", "clipboard", "cog", "copy-file", "credit-card", "cross", "cross-circle", "cross-circle-fill", "dashboard", "diamond-small-fill", "document", "document-blank", "dollar", "dot-circle-fill", "dot-fill", "error", "error-fill", "error-small-fill", "graph", "home", "info-circle", "info-circle-fill", "line-vertical", "list", "login", "logout", "megaphone", "menu", "menu-chevron-left", "menu-chevron-right", "notification", "notification-unread", "pen", "plus", "plus-circle", "plus-circle-fill", "question-circle", "question-circle-fill", "recently-viewed", "search", "square-small-fill", "trash", "triangle-small-fill", "user", "warning-circle", "warning-circle-fill"];
12
16
 
13
17
  type IconVariant = (typeof ICONS)[number] | string;
14
- type IconProps = {
18
+ type IconProps = TestIdProps & {
15
19
  className?: string;
16
20
  size?: 'xs' | 'md' | 'lg';
17
21
  variant: IconVariant;
18
22
  color?: string;
19
23
  };
20
24
 
21
- declare const Icon: ({ variant, color, className, size }: IconProps) => React$1.JSX.Element;
25
+ declare const Icon: ({ variant, color, className, size, "data-testid": testId, }: IconProps) => React$1.JSX.Element;
22
26
 
23
27
  interface DividerListItem {
24
28
  id: string | number;
@@ -52,7 +56,7 @@ interface ActionListProps extends React.HTMLAttributes<HTMLDivElement> {
52
56
  declare const ActionList: ({ items, isShadowed, itemProps, className, truncateLabels, small, ...props }: ActionListProps) => React$1.JSX.Element | null;
53
57
 
54
58
  type Sentiment$3 = 'info' | 'success' | 'warning' | 'danger';
55
- type AlertProps = {
59
+ type AlertProps = TestIdProps & {
56
60
  title?: string;
57
61
  children?: string;
58
62
  onDismiss?: () => void;
@@ -64,21 +68,21 @@ type AlertProps = {
64
68
  display?: 'inline' | 'block';
65
69
  };
66
70
 
67
- declare const Alert: ({ children, title, linkText, linkExternal, href, display, sentiment, onDismiss, className, }: AlertProps) => React$1.JSX.Element | null;
71
+ declare const Alert: ({ children, title, linkText, linkExternal, href, display, sentiment, onDismiss, className, "data-testid": testId, }: AlertProps) => React$1.JSX.Element | null;
68
72
 
69
- interface MenuProps {
73
+ interface MenuProps extends TestIdProps {
70
74
  children: ReactNode | (({ isOpen, onClose, }: {
71
75
  isOpen: boolean;
72
76
  onClose: () => void;
73
77
  }) => ReactNode);
74
78
  }
75
- declare const Menu: ({ children }: MenuProps) => React$1.JSX.Element;
79
+ declare const Menu: ({ children, "data-testid": testId }: MenuProps) => React$1.JSX.Element;
76
80
 
77
- interface MenuListProps {
81
+ interface MenuListProps extends TestIdProps {
78
82
  items: ActionListItem[];
79
83
  alignItemsEnd?: boolean;
80
84
  }
81
- declare const MenuList: ({ items, alignItemsEnd }: MenuListProps) => React$1.JSX.Element;
85
+ declare const MenuList: ({ items, alignItemsEnd, "data-testid": ownTestId, }: MenuListProps) => React$1.JSX.Element;
82
86
 
83
87
  type ButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'danger' | 'skeleton';
84
88
  type ButtonSize$1 = 'sm' | 'md' | 'lg' | 'xl';
@@ -101,23 +105,23 @@ interface InternalLinkProps extends CommonButtonProps, React.HTMLAttributes<HTML
101
105
  }
102
106
  type ButtonProps = InternalButtonProps | InternalLinkProps;
103
107
 
104
- type MenuButtonProps = Omit<ButtonProps, 'onClick' | 'children' | 'disabled' | 'loading' | 'icon'> & {
108
+ type MenuButtonProps = Omit<ButtonProps, 'onClick' | 'children' | 'disabled' | 'loading' | 'icon'> & TestIdProps & {
105
109
  children?: React.ReactNode;
106
110
  iconName?: IconVariant | null;
107
111
  };
108
112
 
109
- declare const MenuButton: ({ children, iconName, "aria-label": ariaLabel, size, variant, }: MenuButtonProps) => React$1.JSX.Element;
113
+ declare const MenuButton: ({ children, iconName, "aria-label": ariaLabel, size, variant, "data-testid": ownTestId, }: MenuButtonProps) => React$1.JSX.Element;
110
114
 
111
- type AvatarProps = {
115
+ type AvatarProps = TestIdProps & {
112
116
  className?: string;
113
117
  src: string;
114
118
  alt?: string;
115
119
  };
116
120
 
117
- declare const Avatar: ({ className, src, alt }: AvatarProps) => React$1.JSX.Element;
121
+ declare const Avatar: ({ className, src, alt, "data-testid": testId, }: AvatarProps) => React$1.JSX.Element;
118
122
 
119
123
  type Sentiment$2 = 'info' | 'success' | 'warning' | 'danger';
120
- type BannerProps = {
124
+ type BannerProps = TestIdProps & {
121
125
  title?: string;
122
126
  children: string;
123
127
  onDismiss?: () => void;
@@ -129,7 +133,7 @@ type BannerProps = {
129
133
  display?: 'inline' | 'block';
130
134
  };
131
135
 
132
- declare const Banner: ({ children, title, linkText, linkExternal, href, display, sentiment, onDismiss, className, }: BannerProps) => React$1.JSX.Element | null;
136
+ declare const Banner: ({ children, title, linkText, linkExternal, href, display, sentiment, onDismiss, className, "data-testid": testId, }: BannerProps) => React$1.JSX.Element | null;
133
137
 
134
138
  type BreadcrumbsProps = HTMLAttributes<HTMLElement>;
135
139
  type BreadcrumbsItemProps = {
@@ -211,7 +215,7 @@ type RowReorderingOptions<TData extends RowData> = {
211
215
  onRowReorder: (event: RowReorderEvent<TData>) => void;
212
216
  rowReorderMode?: RowReorderMode;
213
217
  };
214
- type DataTableBaseProps<TData extends RowData> = {
218
+ type DataTableBaseProps<TData extends RowData> = TestIdProps & {
215
219
  size?: TableSize;
216
220
  pattern?: boolean;
217
221
  align?: ColumnAlign;
@@ -235,7 +239,7 @@ declare module '@tanstack/react-table' {
235
239
  }
236
240
  }
237
241
 
238
- declare const DataTable: <TData extends RowData>({ pattern, size, SubRowComponent, onExpand, onSelect, onSort, enableSorting, enableRowSelection, enableExpanding, columns: originalColumns, actions, actionsColumnSize, onRowAction, enableRowReordering, getRowReorderLabel, onRowReorder, rowReorderMode, getRowId, getSubRows, state: userState, ...props }: DataTableProps<TData>) => React$1.JSX.Element;
242
+ declare const DataTable: <TData extends RowData>({ pattern, size, SubRowComponent, onExpand, onSelect, onSort, enableSorting, enableRowSelection, enableExpanding, columns: originalColumns, actions, actionsColumnSize, onRowAction, enableRowReordering, getRowReorderLabel, onRowReorder, rowReorderMode, getRowId, getSubRows, state: userState, "data-testid": testId, ...props }: DataTableProps<TData>) => React$1.JSX.Element;
239
243
 
240
244
  interface DialogProps extends Omit<DialogProps$1, 'children' | 'className'> {
241
245
  title: ReactNode;
@@ -255,7 +259,7 @@ declare const Dialog: ({ title, description, children, footer, role, showCloseBu
255
259
  type DrawerPlacement = 'left' | 'right' | 'top' | 'bottom';
256
260
  type DrawerBackdrop = 'dim' | 'none';
257
261
  type DrawerSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
258
- interface DrawerProps {
262
+ interface DrawerProps extends TestIdProps {
259
263
  title: string;
260
264
  description?: string;
261
265
  children: React$1.ReactNode;
@@ -268,7 +272,7 @@ interface DrawerProps {
268
272
  className?: string;
269
273
  }
270
274
 
271
- declare const Drawer: ({ open, onOpenChange, placement, backdrop, size, className, title, description, children, footer, }: DrawerProps) => React$1.JSX.Element;
275
+ declare const Drawer: ({ open, onOpenChange, placement, backdrop, size, className, title, description, children, footer, "data-testid": testId, }: DrawerProps) => React$1.JSX.Element;
272
276
 
273
277
  type EmptyStateHeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
274
278
  type EmptyStateProps = {
@@ -297,13 +301,13 @@ interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
297
301
  declare const Link: React$1.FC<LinkProps>;
298
302
 
299
303
  type LoadingSpinnerSize = 'sm' | 'md' | 'lg' | 'xl';
300
- type LoadingSpinnerProps = {
304
+ type LoadingSpinnerProps = TestIdProps & {
301
305
  size?: LoadingSpinnerSize;
302
306
  white?: boolean;
303
307
  className?: string;
304
308
  };
305
309
 
306
- declare const LoadingSpinner: ({ size, white, className, }: LoadingSpinnerProps) => React$1.JSX.Element;
310
+ declare const LoadingSpinner: ({ size, white, className, "data-testid": testId, }: LoadingSpinnerProps) => React$1.JSX.Element;
307
311
 
308
312
  type ModalSize = 'sm' | 'md' | 'lg';
309
313
  interface ModalProps extends Omit<ModalOverlayProps, 'children' | 'className' | 'style'> {
@@ -362,6 +366,7 @@ type OverlayTriggerProps = {
362
366
  motionSettings?: MotionProps;
363
367
  autoHideMs?: number;
364
368
  className?: string;
369
+ 'data-testid'?: string;
365
370
  };
366
371
  declare const OverlayTrigger: FC<OverlayTriggerProps>;
367
372
 
@@ -369,7 +374,8 @@ type PageInfo = {
369
374
  currentPage: number;
370
375
  itemsPerPage: number;
371
376
  };
372
- type PaginationProps = {
377
+
378
+ type PaginationProps = TestIdProps & {
373
379
  totalItems?: number;
374
380
  currentPage?: number;
375
381
  itemsPerPage?: number;
@@ -379,7 +385,7 @@ type PaginationProps = {
379
385
  manualPageInput?: boolean;
380
386
  };
381
387
 
382
- declare const Pagination: ({ size, onChange, totalItems, itemsPerPage: itemsPerPageProp, currentPage: currentPageProp, pageSizeOptions, manualPageInput, }: PaginationProps) => React$1.JSX.Element;
388
+ declare const Pagination: ({ size, onChange, totalItems, itemsPerPage: itemsPerPageProp, currentPage: currentPageProp, pageSizeOptions, manualPageInput, "data-testid": testId, }: PaginationProps) => React$1.JSX.Element;
383
389
 
384
390
  interface PopoverProps extends Omit<PopoverProps$1, 'children'> {
385
391
  children: ReactNode;
@@ -388,7 +394,7 @@ interface PopoverProps extends Omit<PopoverProps$1, 'children'> {
388
394
 
389
395
  declare const Popover: ({ className, hideArrow, children, offset, ...props }: PopoverProps) => React$1.JSX.Element;
390
396
 
391
- interface ProgressBarProps {
397
+ interface ProgressBarProps extends TestIdProps {
392
398
  label: string;
393
399
  helperText?: string;
394
400
  size?: 'md' | 'lg';
@@ -397,7 +403,7 @@ interface ProgressBarProps {
397
403
  value?: number;
398
404
  maxValue?: number;
399
405
  }
400
- declare const ProgressBar: ({ label, helperText, size, variant, status, value, maxValue, }: ProgressBarProps) => React$1.JSX.Element;
406
+ declare const ProgressBar: ({ label, helperText, size, variant, status, value, maxValue, "data-testid": testId, }: ProgressBarProps) => React$1.JSX.Element;
401
407
 
402
408
  type SegmentedControlSize = 'sm' | 'md' | 'lg';
403
409
  interface SegmentedControlProps extends ToggleButtonGroupProps {
@@ -424,6 +430,7 @@ interface SingleSection {
424
430
  key: string;
425
431
  isCurrent?: boolean;
426
432
  type?: 'regular';
433
+ testId?: string;
427
434
  render?: LinkProps$1['render'];
428
435
  }
429
436
  interface SingleSectionWithItems extends SingleSection {
@@ -468,7 +475,7 @@ interface SideNavTopDropdownItem extends AnchorHTMLAttributes<HTMLAnchorElement>
468
475
  type SideNavWrapperProps = Omit<SideNavProviderProps, 'children'>;
469
476
  declare const SideNavWrapper: ({ withIcons, shouldToggleSidebar, topDropdownItems, sections, collapseBreakpoint, isOpen, onChange, }: SideNavWrapperProps) => React$1.JSX.Element;
470
477
 
471
- type CommonTabProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'id'> & {
478
+ type CommonTabProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'id'> & TestIdProps & {
472
479
  disabled?: boolean;
473
480
  value?: number;
474
481
  id?: string;
@@ -494,6 +501,7 @@ interface TabsContext {
494
501
  withDivider: boolean;
495
502
  }
496
503
  type TabsProviderProps = Partial<TabsContext> & {
504
+ 'data-testid'?: string;
497
505
  children: ReactNode;
498
506
  defaultIndex?: number;
499
507
  index?: number;
@@ -501,9 +509,9 @@ type TabsProviderProps = Partial<TabsContext> & {
501
509
  };
502
510
 
503
511
  type TabsProps = TabsProviderProps;
504
- declare const Tabs: ({ children, variant, withDivider, defaultIndex, index, onChange, }: TabsProps) => React$1.JSX.Element;
512
+ declare const Tabs: ({ children, variant, withDivider, defaultIndex, index, onChange, "data-testid": testId, }: TabsProps) => React$1.JSX.Element;
505
513
 
506
- interface TabPanelProps extends Omit<React$1.HtmlHTMLAttributes<HTMLDivElement>, 'children' | 'id'> {
514
+ interface TabPanelProps extends Omit<React$1.HtmlHTMLAttributes<HTMLDivElement>, 'children' | 'id'>, TestIdProps {
507
515
  children: ReactNode;
508
516
  value?: number;
509
517
  id?: string;
@@ -526,7 +534,7 @@ declare const TabList: ({ children, className, ariaLabel, overflow, moreLabel, .
526
534
  type TagSize = 'sm';
527
535
  type TagKind = 'primary' | 'secondary' | 'tertiary';
528
536
  type TagSentiment = 'info' | 'success' | 'warning' | 'danger' | 'highlight';
529
- type TagProps = {
537
+ type TagProps = TestIdProps & {
530
538
  children: React.ReactNode;
531
539
  leadingIcon?: IconVariant;
532
540
  trailingIcon?: IconVariant;
@@ -535,7 +543,7 @@ type TagProps = {
535
543
  kind?: TagKind;
536
544
  };
537
545
 
538
- declare const Tag: ({ children, size, sentiment, kind, leadingIcon, trailingIcon, }: TagProps) => React$1.JSX.Element;
546
+ declare const Tag: ({ children, size, sentiment, kind, leadingIcon, trailingIcon, "data-testid": testId, }: TagProps) => React$1.JSX.Element;
539
547
 
540
548
  type CardVariant = 'primary' | 'secondary';
541
549
  type CardProps = {
@@ -570,10 +578,10 @@ type TileProps = {
570
578
  href?: string;
571
579
  target?: 'string';
572
580
  onClick?: () => void;
573
- } & React$1.HTMLAttributes<HTMLDivElement>;
574
- declare const Tile: ({ children, className, href, onClick, target, disabled, }: TileProps) => React$1.JSX.Element;
581
+ } & React$1.HTMLAttributes<HTMLDivElement> & TestIdProps;
582
+ declare const Tile: ({ children, className, href, onClick, target, disabled, "data-testid": testId, }: TileProps) => React$1.JSX.Element;
575
583
 
576
- type LogoProps = {
584
+ type LogoProps = TestIdProps & {
577
585
  className?: string;
578
586
  variant?: 'lockup' | 'mark';
579
587
  alt?: string;
@@ -592,6 +600,7 @@ interface ToastContent extends Omit<LinkProps, 'children'> {
592
600
  };
593
601
  sentiment?: Sentiment$1;
594
602
  closable?: boolean;
603
+ testId?: string;
595
604
  }
596
605
 
597
606
  type ToastProviderProps = {
@@ -630,8 +639,9 @@ type ToggleProps = {
630
639
  className?: string;
631
640
  id?: string;
632
641
  'aria-label'?: string;
642
+ 'data-testid'?: string;
633
643
  };
634
- declare const Toggle: ({ defaultChecked, checked, onChange, disabled, valueDescription, valueDescriptionPosition, className, name, id, ...props }: ToggleProps) => React$1.JSX.Element;
644
+ declare const Toggle: ({ defaultChecked, checked, onChange, disabled, valueDescription, valueDescriptionPosition, className, name, id, "data-testid": testId, ...props }: ToggleProps) => React$1.JSX.Element;
635
645
 
636
646
  type ArrowPosition = 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right' | 'left' | 'left-top' | 'left-bottom' | 'right' | 'right-top' | 'right-bottom';
637
647
 
@@ -640,6 +650,7 @@ type TooltipProps = {
640
650
  size?: 'regular' | 'small';
641
651
  arrowPosition?: ArrowPosition;
642
652
  maxWidth?: number | 'none';
653
+ 'data-testid'?: string;
643
654
  };
644
655
  declare const Tooltip: FC<TooltipProps>;
645
656
 
@@ -649,17 +660,17 @@ type TooltipTriggerProps = {
649
660
  onVisibilityUpdate?: (isVisible: boolean) => void;
650
661
  renderContent: () => React$1.ReactNode;
651
662
  floatingElementOffset?: number;
652
- } & Pick<OverlayTriggerProps, 'placement' | 'interactions' | 'usePortal' | 'autoHideMs' | 'className'> & Pick<TooltipProps, 'size' | 'maxWidth'>;
663
+ } & Pick<OverlayTriggerProps, 'placement' | 'interactions' | 'usePortal' | 'autoHideMs' | 'className' | 'data-testid'> & Pick<TooltipProps, 'size' | 'maxWidth'>;
653
664
  declare const TooltipTrigger: FC<TooltipTriggerProps>;
654
665
 
655
- type TopBarProps = {
666
+ type TopBarProps = TestIdProps & {
656
667
  actions: React$1.ReactNode;
657
668
  children?: React$1.ReactNode;
658
669
  sideNavIsClosed?: boolean;
659
670
  openSideNav?: () => void;
660
671
  };
661
672
 
662
- declare const TopBar: ({ children, actions, sideNavIsClosed, openSideNav, }: TopBarProps) => React$1.JSX.Element;
673
+ declare const TopBar: ({ children, actions, sideNavIsClosed, openSideNav, "data-testid": testId, }: TopBarProps) => React$1.JSX.Element;
663
674
 
664
675
  type BaseTypographyProps = {
665
676
  id?: string;