@chumsinc/sortable-tables 2.0.7 → 2.0.8
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.
- package/CHANGELOG.md +12 -1
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
- package/src/types.ts +1 -1
- package/test/TestTable.tsx +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,7 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
9
9
|
|
|
10
|
-
#### [v2.0.
|
|
10
|
+
#### [v2.0.8](https://github.com/ChumsInc/sortable-tables/compare/v2.0.7...v2.0.8)
|
|
11
|
+
|
|
12
|
+
> 2025-03-13
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Commits
|
|
18
|
+
|
|
19
|
+
- [`ad120cd`](https://github.com/ChumsInc/sortable-tables/commit/ad120cd7f521d194613370aa91befd24582aef5d) fix: allow React.ReactNode for rowsPerPage label
|
|
20
|
+
|
|
21
|
+
#### [v2.0.7](https://github.com/ChumsInc/sortable-tables/compare/v2.0.6...v2.0.7) - 2025-02-27
|
|
11
22
|
|
|
12
23
|
> 2025-02-27
|
|
13
24
|
|
package/dist/types.d.ts
CHANGED
|
@@ -87,7 +87,7 @@ export interface SortableTableTHProps<T = unknown> extends Omit<DataTableTHProps
|
|
|
87
87
|
export interface RowsPerPageProps extends Omit<HTMLAttributes<HTMLSelectElement>, 'onChange'> {
|
|
88
88
|
value: number;
|
|
89
89
|
pageValues?: number[];
|
|
90
|
-
label?: string;
|
|
90
|
+
label?: string | React.ReactNode;
|
|
91
91
|
size?: UISize;
|
|
92
92
|
className?: string;
|
|
93
93
|
onChange: (value: number) => void;
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -108,7 +108,7 @@ export interface SortableTableTHProps<T = unknown> extends Omit<DataTableTHProps
|
|
|
108
108
|
export interface RowsPerPageProps extends Omit<HTMLAttributes<HTMLSelectElement>, 'onChange'> {
|
|
109
109
|
value: number;
|
|
110
110
|
pageValues?: number[];
|
|
111
|
-
label?: string;
|
|
111
|
+
label?: string|React.ReactNode;
|
|
112
112
|
size?: UISize;
|
|
113
113
|
className?: string;
|
|
114
114
|
onChange: (value: number) => void;
|
package/test/TestTable.tsx
CHANGED