@public-ui/react-hook-form-adapter 4.0.0-alpha.2 → 5.0.0-alpha.0

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 CHANGED
@@ -1424,8 +1424,6 @@ 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[];
1429
1427
  type KoliBriTableCell = {
1430
1428
  colSpan?: number;
1431
1429
  label: string;
@@ -1444,8 +1442,8 @@ type KoliBriTableSelection = {
1444
1442
  label: (row: KoliBriTableDataType) => string;
1445
1443
  keyPropertyName?: string;
1446
1444
  multiple?: boolean;
1447
- selectedKeys?: KoliBriTableSelectionKeys;
1448
- disabledKeys?: KoliBriTableSelectionKeys;
1445
+ selectedKeys?: string[];
1446
+ disabledKeys?: string[];
1449
1447
  };
1450
1448
 
1451
1449
  interface ColumnSettings {
@@ -1630,7 +1628,7 @@ type SortEventPayload = {
1630
1628
  key: string;
1631
1629
  currentSortDirection: KoliBriSortDirection;
1632
1630
  };
1633
- type SelectionChangeEventPayload = KoliBriTableSelectionKeys | KoliBriTableSelectionKey;
1631
+ type SelectionChangeEventPayload = string[] | string;
1634
1632
  type StatefulSelectionChangeEventPayload = KoliBriTableDataType[] | KoliBriTableDataType | null;
1635
1633
  type TableCallbacksPropType = {
1636
1634
  [Callback$1.onSort]?: EventValueOrEventCallback<MouseEvent, SortEventPayload>;
package/dist/index.d.mts CHANGED
@@ -1424,8 +1424,6 @@ 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[];
1429
1427
  type KoliBriTableCell = {
1430
1428
  colSpan?: number;
1431
1429
  label: string;
@@ -1444,8 +1442,8 @@ type KoliBriTableSelection = {
1444
1442
  label: (row: KoliBriTableDataType) => string;
1445
1443
  keyPropertyName?: string;
1446
1444
  multiple?: boolean;
1447
- selectedKeys?: KoliBriTableSelectionKeys;
1448
- disabledKeys?: KoliBriTableSelectionKeys;
1445
+ selectedKeys?: string[];
1446
+ disabledKeys?: string[];
1449
1447
  };
1450
1448
 
1451
1449
  interface ColumnSettings {
@@ -1630,7 +1628,7 @@ type SortEventPayload = {
1630
1628
  key: string;
1631
1629
  currentSortDirection: KoliBriSortDirection;
1632
1630
  };
1633
- type SelectionChangeEventPayload = KoliBriTableSelectionKeys | KoliBriTableSelectionKey;
1631
+ type SelectionChangeEventPayload = string[] | string;
1634
1632
  type StatefulSelectionChangeEventPayload = KoliBriTableDataType[] | KoliBriTableDataType | null;
1635
1633
  type TableCallbacksPropType = {
1636
1634
  [Callback$1.onSort]?: EventValueOrEventCallback<MouseEvent, SortEventPayload>;
package/dist/index.d.ts CHANGED
@@ -1424,8 +1424,6 @@ 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[];
1429
1427
  type KoliBriTableCell = {
1430
1428
  colSpan?: number;
1431
1429
  label: string;
@@ -1444,8 +1442,8 @@ type KoliBriTableSelection = {
1444
1442
  label: (row: KoliBriTableDataType) => string;
1445
1443
  keyPropertyName?: string;
1446
1444
  multiple?: boolean;
1447
- selectedKeys?: KoliBriTableSelectionKeys;
1448
- disabledKeys?: KoliBriTableSelectionKeys;
1445
+ selectedKeys?: string[];
1446
+ disabledKeys?: string[];
1449
1447
  };
1450
1448
 
1451
1449
  interface ColumnSettings {
@@ -1630,7 +1628,7 @@ type SortEventPayload = {
1630
1628
  key: string;
1631
1629
  currentSortDirection: KoliBriSortDirection;
1632
1630
  };
1633
- type SelectionChangeEventPayload = KoliBriTableSelectionKeys | KoliBriTableSelectionKey;
1631
+ type SelectionChangeEventPayload = string[] | string;
1634
1632
  type StatefulSelectionChangeEventPayload = KoliBriTableDataType[] | KoliBriTableDataType | null;
1635
1633
  type TableCallbacksPropType = {
1636
1634
  [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.2",
3
+ "version": "5.0.0-alpha.0",
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.2",
61
- "@public-ui/react-v19": "4.0.0-alpha.2"
60
+ "@public-ui/components": "5.0.0-alpha.0",
61
+ "@public-ui/react-v19": "5.0.0-alpha.0"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "react": "^19",
65
65
  "react-hook-form": "^7",
66
- "@public-ui/react-v19": "4.0.0-alpha.2"
66
+ "@public-ui/react-v19": "5.0.0-alpha.0"
67
67
  },
68
68
  "sideEffects": false,
69
69
  "type": "module",