sera-components 1.6.8 → 1.6.10
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/form/embedded-form.d.ts +1 -0
- package/dist/form/form.d.ts +1 -0
- package/dist/index.js +373 -368
- package/dist/index.umd.cjs +7 -7
- package/dist/table/embedded-table.d.ts +1 -1
- package/dist/table/table.d.ts +2 -0
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ export interface SeraEmbeddedTableProps<R> {
|
|
|
10
10
|
actions?: SeraActionConfig<number>;
|
|
11
11
|
/** Whether to show striped rows, defaults to true */
|
|
12
12
|
striped?: boolean;
|
|
13
|
-
/** Whether to show selection checkboxes. Defaults to true if
|
|
13
|
+
/** Whether to show selection checkboxes. Defaults to true if hasSelectAction, otherwise false. */
|
|
14
14
|
selectable?: boolean;
|
|
15
15
|
}
|
|
16
16
|
export declare const DEFAULT_PAGINATION_POSITIONS: Set<"topRight" | "bottomLeft" | "bottomRight">;
|
package/dist/table/table.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ export interface SeraTableProps<ID extends string | number, Q extends {
|
|
|
15
15
|
actions?: SeraActionConfig<ID>;
|
|
16
16
|
getRowId: (row: R) => ID;
|
|
17
17
|
normalizeRowId: (id: string) => ID;
|
|
18
|
+
/** Whether to show selection checkboxes. Defaults to true if hasSelectAction, otherwise false. */
|
|
19
|
+
selectable?: boolean;
|
|
18
20
|
}
|
|
19
21
|
export declare const DEFAULT_PAGINATION_POSITIONS: Set<"topRight" | "bottomLeft" | "bottomRight">;
|
|
20
22
|
export declare const SeraTable: <ID extends string | number, Q extends {
|