@pk-design/react-tailwind 1.1.6 → 1.1.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,5 +1,7 @@
1
- import { type RowComponentProps } from 'react-window';
1
+ import { ListChildComponentProps } from 'react-window';
2
2
  import { VirtualizedRowProps } from './VirtualizedDataTable.types';
3
- export declare const VirtualizedRow: ({ index, style, items, columns, gridTemplate, }: RowComponentProps<VirtualizedRowProps & {
3
+ interface RowData extends VirtualizedRowProps {
4
4
  gridTemplate: string;
5
- }>) => import("react/jsx-runtime").JSX.Element;
5
+ }
6
+ export declare const VirtualizedRow: ({ index, style, data }: ListChildComponentProps<RowData>) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pk-design/react-tailwind",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "main": "dist/react-tailwind.cjs.js",
5
5
  "module": "dist/react-tailwind.es.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -30,8 +30,14 @@
30
30
  "@headlessui/react": "^2.2.9",
31
31
  "react": ">=18",
32
32
  "react-dom": ">=18",
33
+ "react-window": "^1.8.0",
33
34
  "tailwind-merge": "^3.3.1"
34
35
  },
36
+ "peerDependenciesMeta": {
37
+ "react-window": {
38
+ "optional": true
39
+ }
40
+ },
35
41
  "devDependencies": {
36
42
  "@commitlint/config-conventional": "^20.0.0",
37
43
  "@eslint/js": "^9.36.0",
@@ -40,6 +46,7 @@
40
46
  "@rollup/plugin-typescript": "^11.1.6",
41
47
  "@semantic-release/changelog": "~6.0.3",
42
48
  "@semantic-release/git": "^10.0.1",
49
+ "@semantic-release/github": "~10.3.5",
43
50
  "@semantic-release/npm": "^13.1.1",
44
51
  "@semantic-release/release-notes-generator": "^13.0.0",
45
52
  "@svgr/rollup": "^8.1.0",
@@ -105,9 +112,5 @@
105
112
  "overrides": {
106
113
  "conventional-changelog-writer": "6.0.1"
107
114
  }
108
- },
109
- "dependencies": {
110
- "@semantic-release/github": "~10.3.5",
111
- "react-window": "^2.2.3"
112
115
  }
113
116
  }