@synopackageland/ui 0.19.1 → 0.19.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/CHANGELOG.md +5 -0
- package/README.md +10 -0
- package/dist/components/composite/data-grid/DataGrid.vue.d.ts +4 -4
- package/dist/components/composite/data-table/DataTable.vue.d.ts +18 -1
- package/dist/index.js +6754 -6670
- package/dist/json-preview/preview.js +5094 -4969
- package/dist/reka-runtime.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.19.2 (2026-11-01)
|
|
4
|
+
|
|
5
|
+
- Fix `FacetPanel` values showing no box until picked: a filter list read as blank space beside its labels. Every value now shows the Checkbox's box, empty until picked and ticked once picked, in the panel and in the phone sheet.
|
|
6
|
+
- `DataTable` columns resize: drag a header's right edge or press Left/Right on it, never below the column's `minWidth`. `state-key` remembers the widths in this browser and `v-model:column-widths` binds them; `:resizable="false"` (or `resizable: false` on a column) turns it off.
|
|
7
|
+
|
|
3
8
|
## 0.19.1 (2026-11-01)
|
|
4
9
|
|
|
5
10
|
- Fix the hand cursor and hover wash blinking when the pointer rests between two `AppSidebar` rows, top navigation items, `Tabs` or `SegmentControl` segments that a theme spaces apart. These rows now carry `data-ui-hit-row`, whose invisible `::after` makes the room up to the next row (`--ui-hit-row-slop`, 6px) part of the row; nothing is drawn and nothing moves ([theme hooks](docs/theme-hooks.md#hover-hit-areas)).
|
package/README.md
CHANGED
|
@@ -774,6 +774,16 @@ column chooser, column reorder, resize, quick filter, paging and saved view
|
|
|
774
774
|
state. `DataTable` stays the small read-only table that becomes cards on a
|
|
775
775
|
phone; use `DataGrid` for anything a user searches or arranges.
|
|
776
776
|
|
|
777
|
+
`DataTable` columns resize too: drag the right edge of a header, or focus it
|
|
778
|
+
and press the left/right arrows (10px). The first resize fixes every column at
|
|
779
|
+
the width it shows and an empty filler column takes the rest, so the table
|
|
780
|
+
still fills its box and scrolls sideways once the columns outgrow it. A column
|
|
781
|
+
never goes below its `minWidth` (40px with a `width`, 80px without).
|
|
782
|
+
`state-key` remembers the widths in this browser (put the signed-in user in
|
|
783
|
+
the key to keep them per viewer); `v-model:column-widths` keeps them
|
|
784
|
+
yourself. `:resizable="false"` turns it off for the table, `resizable: false`
|
|
785
|
+
for one column.
|
|
786
|
+
|
|
777
787
|
```vue
|
|
778
788
|
<SearchField v-model="filter" variant="filter" />
|
|
779
789
|
<DataGrid
|
|
@@ -233,10 +233,10 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
233
233
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
234
234
|
refresh: () => any;
|
|
235
235
|
"update:pageSize": (value: number) => any;
|
|
236
|
+
"update:columnWidths": (value: DataGridColumnWidths) => any;
|
|
236
237
|
"update:sort": (value: DataGridSort | null) => any;
|
|
237
238
|
"update:selectedKeys": (value: string[]) => any;
|
|
238
239
|
"update:page": (value: number) => any;
|
|
239
|
-
"update:columnWidths": (value: DataGridColumnWidths) => any;
|
|
240
240
|
"update:columnOrder": (value: string[]) => any;
|
|
241
241
|
"update:hiddenColumns": (value: string[]) => any;
|
|
242
242
|
"update:rows": (value: Record<string, unknown>[]) => any;
|
|
@@ -266,10 +266,10 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
266
266
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
267
267
|
onRefresh?: (() => any) | undefined;
|
|
268
268
|
"onUpdate:pageSize"?: ((value: number) => any) | undefined;
|
|
269
|
+
"onUpdate:columnWidths"?: ((value: DataGridColumnWidths) => any) | undefined;
|
|
269
270
|
"onUpdate:sort"?: ((value: DataGridSort | null) => any) | undefined;
|
|
270
271
|
"onUpdate:selectedKeys"?: ((value: string[]) => any) | undefined;
|
|
271
272
|
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
272
|
-
"onUpdate:columnWidths"?: ((value: DataGridColumnWidths) => any) | undefined;
|
|
273
273
|
"onUpdate:columnOrder"?: ((value: string[]) => any) | undefined;
|
|
274
274
|
"onUpdate:hiddenColumns"?: ((value: string[]) => any) | undefined;
|
|
275
275
|
"onUpdate:rows"?: ((value: Record<string, unknown>[]) => any) | undefined;
|
|
@@ -308,9 +308,10 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
308
308
|
page: number;
|
|
309
309
|
pageSize: number;
|
|
310
310
|
selectable: boolean;
|
|
311
|
-
rowKey: string;
|
|
312
311
|
columnOrder: string[];
|
|
313
312
|
hiddenColumns: string[];
|
|
313
|
+
rowKey: string;
|
|
314
|
+
resizable: boolean;
|
|
314
315
|
defaultSort: DataGridSort | null;
|
|
315
316
|
selectedKeys: string[];
|
|
316
317
|
selectOnRowClick: boolean;
|
|
@@ -323,7 +324,6 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
|
|
|
323
324
|
localPagination: boolean;
|
|
324
325
|
loadingRows: number;
|
|
325
326
|
stickyHeader: boolean;
|
|
326
|
-
resizable: boolean;
|
|
327
327
|
columnChooser: boolean;
|
|
328
328
|
columnReorder: boolean;
|
|
329
329
|
refreshable: boolean;
|
|
@@ -7,6 +7,10 @@ export type DataTableColumn = {
|
|
|
7
7
|
type?: TableColumnType;
|
|
8
8
|
/** Overrides the alignment the type sets. */
|
|
9
9
|
align?: TableColumnAlign;
|
|
10
|
+
/** The narrowest a drag can make it, in px; defaults to 40, or 80 without a `width`. */
|
|
11
|
+
minWidth?: string | number;
|
|
12
|
+
/** Overrides the table's `resizable` for this column. */
|
|
13
|
+
resizable?: boolean;
|
|
10
14
|
};
|
|
11
15
|
type __VLS_Props = {
|
|
12
16
|
columns: DataTableColumn[];
|
|
@@ -24,6 +28,12 @@ type __VLS_Props = {
|
|
|
24
28
|
* rows, for a short table inside a form or a dialog.
|
|
25
29
|
*/
|
|
26
30
|
fill?: boolean;
|
|
31
|
+
/** Drag a header's right edge (or press Left/Right on it) to resize the column. `false` turns it off. */
|
|
32
|
+
resizable?: boolean;
|
|
33
|
+
/** Column widths in px, by column key; bind to keep them yourself. */
|
|
34
|
+
columnWidths?: Record<string, number>;
|
|
35
|
+
/** Remembers the user's column widths in this browser under this key. */
|
|
36
|
+
stateKey?: string;
|
|
27
37
|
};
|
|
28
38
|
declare var __VLS_2: `cell-${string}`, __VLS_3: {
|
|
29
39
|
row: Record<string, unknown>;
|
|
@@ -45,12 +55,19 @@ type __VLS_Slots = {} & {
|
|
|
45
55
|
} & {
|
|
46
56
|
[K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any;
|
|
47
57
|
};
|
|
48
|
-
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
58
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
59
|
+
"update:columnWidths": (value: Record<string, number>) => any;
|
|
60
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
61
|
+
"onUpdate:columnWidths"?: ((value: Record<string, number>) => any) | undefined;
|
|
62
|
+
}>, {
|
|
49
63
|
fill: boolean;
|
|
50
64
|
compact: boolean;
|
|
65
|
+
columnWidths: Record<string, number>;
|
|
51
66
|
rowKey: string;
|
|
52
67
|
mobileView: "auto" | "cards" | "table" | "container";
|
|
53
68
|
containerBreakpoint: number;
|
|
69
|
+
resizable: boolean;
|
|
70
|
+
stateKey: string;
|
|
54
71
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
55
72
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
56
73
|
declare const _default: typeof __VLS_export;
|