@sps-woodland/matrix 8.20.6 → 8.20.7

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.
@@ -1,8 +1,15 @@
1
1
  import React from "react";
2
- import { SpsTooltip } from "@spscommerce/ds-react";
3
- import { ComponentProps, Icon } from "@sps-woodland/core";
4
- export declare function MatrixHeader({ icon, tooltip, width, className, children, "data-testid": testId, ...rest }: ComponentProps<{
2
+ import type { SpsTooltipProps } from "@spscommerce/ds-react";
3
+ import type { ComponentProps } from "@sps-woodland/core";
4
+ import type { Color, IconName, IconSize } from "@sps-woodland/tokens";
5
+ interface MatrixHeaderProps {
5
6
  width?: string;
6
- icon?: typeof Icon;
7
- tooltip?: typeof SpsTooltip;
8
- }, HTMLTableCellElement>): React.ReactElement;
7
+ icon?: React.ReactElement<{
8
+ icon: IconName;
9
+ size?: IconSize;
10
+ color?: Color;
11
+ }>;
12
+ tooltip?: React.ReactElement<SpsTooltipProps>;
13
+ }
14
+ export declare function MatrixHeader({ icon, tooltip, width, className, children, "data-testid": testId, ...rest }: ComponentProps<MatrixHeaderProps, HTMLTableCellElement>): React.ReactElement;
15
+ export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sps-woodland/matrix",
3
3
  "description": "SPS Woodland Design System Matrix component",
4
- "version": "8.20.6",
4
+ "version": "8.20.7",
5
5
  "author": "SPS Commerce",
6
6
  "license": "UNLICENSED",
7
7
  "repository": "https://github.com/SPSCommerce/woodland/tree/main/packages/@sps-woodland/matrix",
@@ -29,8 +29,8 @@
29
29
  "@spscommerce/utils": "^7.0.0",
30
30
  "react": "^16.14.0",
31
31
  "react-dom": "^16.14.0",
32
- "@sps-woodland/core": "8.20.6",
33
- "@sps-woodland/tokens": "8.20.6"
32
+ "@sps-woodland/core": "8.20.7",
33
+ "@sps-woodland/tokens": "8.20.7"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@react-stately/collections": "^3.6.0",
@@ -38,9 +38,9 @@
38
38
  "@vanilla-extract/css": "^1.9.3",
39
39
  "react": "^16.14.0",
40
40
  "react-dom": "^16.14.0",
41
- "@sps-woodland/core": "8.20.6",
42
- "@sps-woodland/tabs": "8.20.6",
43
- "@sps-woodland/tokens": "8.20.6"
41
+ "@sps-woodland/core": "8.20.7",
42
+ "@sps-woodland/tabs": "8.20.7",
43
+ "@sps-woodland/tokens": "8.20.7"
44
44
  },
45
45
  "dependencies": {
46
46
  "@spscommerce/ds-react": "^8.16.1",