@coxwave/tap-kit-types 2.0.0 → 2.0.1

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/dist/index.d.ts +3 -0
  2. package/package.json +13 -1
package/dist/index.d.ts CHANGED
@@ -1467,6 +1467,9 @@ interface TapKitAttributes {
1467
1467
  /** React key for list rendering */
1468
1468
  key?: string | number;
1469
1469
 
1470
+ /** React ref for element access */
1471
+ ref?: React.Ref<TapKitElement>;
1472
+
1470
1473
  /** Element ID attribute */
1471
1474
  id?: string;
1472
1475
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coxwave/tap-kit-types",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "type": "module",
5
5
  "description": "Shared TypeScript types for TapKit SDK packages",
6
6
  "main": "dist/index.js",
@@ -38,6 +38,18 @@
38
38
  "dependencies": {
39
39
  "csstype": "^3.1.3"
40
40
  },
41
+ "peerDependencies": {
42
+ "@types/react": ">=18.0.0",
43
+ "react": ">=18.0.0"
44
+ },
45
+ "peerDependenciesMeta": {
46
+ "@types/react": {
47
+ "optional": true
48
+ },
49
+ "react": {
50
+ "optional": true
51
+ }
52
+ },
41
53
  "scripts": {
42
54
  "build": "tsup",
43
55
  "dev": "tsup --watch",