@public-ui/react-hook-form-adapter 4.0.0-alpha.1 → 4.0.0-alpha.2
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/dist/index.d.cts +5 -3
- package/dist/index.d.mts +5 -3
- package/dist/index.d.ts +5 -3
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -1424,6 +1424,8 @@ type KoliBriTableRender = <T>(domNode: HTMLElement, cell: KoliBriTableCell, tupe
|
|
|
1424
1424
|
type KoliBriTableCellTextAlign = 'center' | 'left' | 'right' | 'justify';
|
|
1425
1425
|
type KoliBriSortDirection = 'ASC' | 'DESC' | 'NOS';
|
|
1426
1426
|
type KoliBriTableDataType = Record<string, unknown>;
|
|
1427
|
+
type KoliBriTableSelectionKey = string | number;
|
|
1428
|
+
type KoliBriTableSelectionKeys = KoliBriTableSelectionKey[];
|
|
1427
1429
|
type KoliBriTableCell = {
|
|
1428
1430
|
colSpan?: number;
|
|
1429
1431
|
label: string;
|
|
@@ -1442,8 +1444,8 @@ type KoliBriTableSelection = {
|
|
|
1442
1444
|
label: (row: KoliBriTableDataType) => string;
|
|
1443
1445
|
keyPropertyName?: string;
|
|
1444
1446
|
multiple?: boolean;
|
|
1445
|
-
selectedKeys?:
|
|
1446
|
-
disabledKeys?:
|
|
1447
|
+
selectedKeys?: KoliBriTableSelectionKeys;
|
|
1448
|
+
disabledKeys?: KoliBriTableSelectionKeys;
|
|
1447
1449
|
};
|
|
1448
1450
|
|
|
1449
1451
|
interface ColumnSettings {
|
|
@@ -1628,7 +1630,7 @@ type SortEventPayload = {
|
|
|
1628
1630
|
key: string;
|
|
1629
1631
|
currentSortDirection: KoliBriSortDirection;
|
|
1630
1632
|
};
|
|
1631
|
-
type SelectionChangeEventPayload =
|
|
1633
|
+
type SelectionChangeEventPayload = KoliBriTableSelectionKeys | KoliBriTableSelectionKey;
|
|
1632
1634
|
type StatefulSelectionChangeEventPayload = KoliBriTableDataType[] | KoliBriTableDataType | null;
|
|
1633
1635
|
type TableCallbacksPropType = {
|
|
1634
1636
|
[Callback$1.onSort]?: EventValueOrEventCallback<MouseEvent, SortEventPayload>;
|
package/dist/index.d.mts
CHANGED
|
@@ -1424,6 +1424,8 @@ type KoliBriTableRender = <T>(domNode: HTMLElement, cell: KoliBriTableCell, tupe
|
|
|
1424
1424
|
type KoliBriTableCellTextAlign = 'center' | 'left' | 'right' | 'justify';
|
|
1425
1425
|
type KoliBriSortDirection = 'ASC' | 'DESC' | 'NOS';
|
|
1426
1426
|
type KoliBriTableDataType = Record<string, unknown>;
|
|
1427
|
+
type KoliBriTableSelectionKey = string | number;
|
|
1428
|
+
type KoliBriTableSelectionKeys = KoliBriTableSelectionKey[];
|
|
1427
1429
|
type KoliBriTableCell = {
|
|
1428
1430
|
colSpan?: number;
|
|
1429
1431
|
label: string;
|
|
@@ -1442,8 +1444,8 @@ type KoliBriTableSelection = {
|
|
|
1442
1444
|
label: (row: KoliBriTableDataType) => string;
|
|
1443
1445
|
keyPropertyName?: string;
|
|
1444
1446
|
multiple?: boolean;
|
|
1445
|
-
selectedKeys?:
|
|
1446
|
-
disabledKeys?:
|
|
1447
|
+
selectedKeys?: KoliBriTableSelectionKeys;
|
|
1448
|
+
disabledKeys?: KoliBriTableSelectionKeys;
|
|
1447
1449
|
};
|
|
1448
1450
|
|
|
1449
1451
|
interface ColumnSettings {
|
|
@@ -1628,7 +1630,7 @@ type SortEventPayload = {
|
|
|
1628
1630
|
key: string;
|
|
1629
1631
|
currentSortDirection: KoliBriSortDirection;
|
|
1630
1632
|
};
|
|
1631
|
-
type SelectionChangeEventPayload =
|
|
1633
|
+
type SelectionChangeEventPayload = KoliBriTableSelectionKeys | KoliBriTableSelectionKey;
|
|
1632
1634
|
type StatefulSelectionChangeEventPayload = KoliBriTableDataType[] | KoliBriTableDataType | null;
|
|
1633
1635
|
type TableCallbacksPropType = {
|
|
1634
1636
|
[Callback$1.onSort]?: EventValueOrEventCallback<MouseEvent, SortEventPayload>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1424,6 +1424,8 @@ type KoliBriTableRender = <T>(domNode: HTMLElement, cell: KoliBriTableCell, tupe
|
|
|
1424
1424
|
type KoliBriTableCellTextAlign = 'center' | 'left' | 'right' | 'justify';
|
|
1425
1425
|
type KoliBriSortDirection = 'ASC' | 'DESC' | 'NOS';
|
|
1426
1426
|
type KoliBriTableDataType = Record<string, unknown>;
|
|
1427
|
+
type KoliBriTableSelectionKey = string | number;
|
|
1428
|
+
type KoliBriTableSelectionKeys = KoliBriTableSelectionKey[];
|
|
1427
1429
|
type KoliBriTableCell = {
|
|
1428
1430
|
colSpan?: number;
|
|
1429
1431
|
label: string;
|
|
@@ -1442,8 +1444,8 @@ type KoliBriTableSelection = {
|
|
|
1442
1444
|
label: (row: KoliBriTableDataType) => string;
|
|
1443
1445
|
keyPropertyName?: string;
|
|
1444
1446
|
multiple?: boolean;
|
|
1445
|
-
selectedKeys?:
|
|
1446
|
-
disabledKeys?:
|
|
1447
|
+
selectedKeys?: KoliBriTableSelectionKeys;
|
|
1448
|
+
disabledKeys?: KoliBriTableSelectionKeys;
|
|
1447
1449
|
};
|
|
1448
1450
|
|
|
1449
1451
|
interface ColumnSettings {
|
|
@@ -1628,7 +1630,7 @@ type SortEventPayload = {
|
|
|
1628
1630
|
key: string;
|
|
1629
1631
|
currentSortDirection: KoliBriSortDirection;
|
|
1630
1632
|
};
|
|
1631
|
-
type SelectionChangeEventPayload =
|
|
1633
|
+
type SelectionChangeEventPayload = KoliBriTableSelectionKeys | KoliBriTableSelectionKey;
|
|
1632
1634
|
type StatefulSelectionChangeEventPayload = KoliBriTableDataType[] | KoliBriTableDataType | null;
|
|
1633
1635
|
type TableCallbacksPropType = {
|
|
1634
1636
|
[Callback$1.onSort]?: EventValueOrEventCallback<MouseEvent, SortEventPayload>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@public-ui/react-hook-form-adapter",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.2",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"homepage": "https://public-ui.github.io",
|
|
6
6
|
"repository": {
|
|
@@ -57,13 +57,13 @@
|
|
|
57
57
|
"react-hook-form": "7.63.0",
|
|
58
58
|
"typescript": "5.9.2",
|
|
59
59
|
"unbuild": "3.6.1",
|
|
60
|
-
"@public-ui/components": "4.0.0-alpha.
|
|
61
|
-
"@public-ui/react-v19": "4.0.0-alpha.
|
|
60
|
+
"@public-ui/components": "4.0.0-alpha.2",
|
|
61
|
+
"@public-ui/react-v19": "4.0.0-alpha.2"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"react": "^19",
|
|
65
65
|
"react-hook-form": "^7",
|
|
66
|
-
"@public-ui/react-v19": "4.0.0-alpha.
|
|
66
|
+
"@public-ui/react-v19": "4.0.0-alpha.2"
|
|
67
67
|
},
|
|
68
68
|
"sideEffects": false,
|
|
69
69
|
"type": "module",
|