@react-types/table 3.4.1-nightly.3685 → 3.4.1-nightly.3686

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 (2) hide show
  1. package/package.json +4 -4
  2. package/src/index.d.ts +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-types/table",
3
- "version": "3.4.1-nightly.3685+97ff9f95d",
3
+ "version": "3.4.1-nightly.3686+6fb59578b",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "types": "src/index.d.ts",
@@ -9,8 +9,8 @@
9
9
  "url": "https://github.com/adobe/react-spectrum"
10
10
  },
11
11
  "dependencies": {
12
- "@react-types/grid": "3.1.6-nightly.3685+97ff9f95d",
13
- "@react-types/shared": "3.0.0-nightly.1985+97ff9f95d"
12
+ "@react-types/grid": "3.1.6-nightly.3686+6fb59578b",
13
+ "@react-types/shared": "3.0.0-nightly.1986+6fb59578b"
14
14
  },
15
15
  "peerDependencies": {
16
16
  "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
@@ -18,5 +18,5 @@
18
18
  "publishConfig": {
19
19
  "access": "public"
20
20
  },
21
- "gitHead": "97ff9f95d91befaf87251e52ea484f81daae8f3a"
21
+ "gitHead": "6fb59578b7249bc6ec58a4fe49722c1fb543afc2"
22
22
  }
package/src/index.d.ts CHANGED
@@ -16,7 +16,11 @@ import {Key, ReactElement, ReactNode} from 'react';
16
16
 
17
17
  /** Widths that result in a constant pixel value for the same Table width. */
18
18
  export type ColumnStaticSize = number | `${number}` | `${number}%`; // match regex: /^(\d+)(?=%$)/
19
- /** Widths that change size in relation to the remaining space and in ratio to other dynamic columns. */
19
+ /**
20
+ * Widths that change size in relation to the remaining space and in ratio to other dynamic columns.
21
+ * All numbers must be integers and greater than 0.
22
+ * FR units take up remaining, if any, space in the table.
23
+ */
20
24
  export type ColumnDynamicSize = `${number}fr`; // match regex: /^(\d+)(?=fr$)/
21
25
  /** All possible sizes a column can be assigned. */
22
26
  export type ColumnSize = ColumnStaticSize | ColumnDynamicSize;