@robuust-digital/vue-components 2.6.6 → 2.6.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 +20 -0
- package/dist/_shared/{Tabs.vue_vue_type_script_setup_true_lang-CLF0EEY-.js → Tabs.vue_vue_type_script_setup_true_lang-BkxgXUlf.js} +2 -2
- package/dist/core/index.js +1 -1
- package/dist/core/table.css +21 -4
- package/dist/core.d.ts +1 -1
- package/dist/dialogs/drawer.css +2 -0
- package/dist/index/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
## 2.6.8 (18-05-2026)
|
|
2
|
+
|
|
3
|
+
### Added
|
|
4
|
+
|
|
5
|
+
* `DataTable`: Added `--rvc-table-striped-border-radius` to customize rounded striped table rows
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
* `DataTable`: Do not render `id="undefined"` for headers without an `id`
|
|
10
|
+
|
|
11
|
+
## 2.6.7 (13-05-2026)
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
* `Drawer`: Added `--rvc-drawer-panel-bg-color` variable on `.rvc-drawer-panel-inner` so the panel background covers the scroll container, preventing transparent gaps during elastic/overflow scrolling. Defaults to `var(--rvc-drawer-content-bg-color)` for backwards compatibility.
|
|
16
|
+
|
|
17
|
+
### Updated
|
|
18
|
+
|
|
19
|
+
* `Drawer` docs: Documented the new `--rvc-drawer-panel-bg-color` variable
|
|
20
|
+
|
|
1
21
|
## 2.6.6 (06-05-2026)
|
|
2
22
|
|
|
3
23
|
### Fixed
|
|
@@ -399,8 +399,8 @@ const ae = ["value"], le = ["value"], N = /* @__PURE__ */ w({
|
|
|
399
399
|
header: t,
|
|
400
400
|
index: i
|
|
401
401
|
}, () => [
|
|
402
|
-
(l(), n("th", y({ ref_for: !0 }, { ...t, id: String(t.id) }, {
|
|
403
|
-
key: `rvc-table-header-${t.id}`,
|
|
402
|
+
(l(), n("th", y({ ref_for: !0 }, { ...t, id: t.id === void 0 || t.id === null ? void 0 : String(t.id) }, {
|
|
403
|
+
key: `rvc-table-header-${t.id ?? t.key ?? i}`,
|
|
404
404
|
class: {
|
|
405
405
|
"rvc-table-text-left": t.align === "left" || !t.align,
|
|
406
406
|
"rvc-table-text-center": t.align === "center",
|
package/dist/core/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e, a as s, b as t, c as r, d as m, e as p, f as x, g as c, h as f, i } from "../_shared/Tabs.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as e, a as s, b as t, c as r, d as m, e as p, f as x, g as c, h as f, i } from "../_shared/Tabs.vue_vue_type_script_setup_true_lang-BkxgXUlf.js";
|
|
2
2
|
import { _ as b } from "../_shared/ChevronDownIcon-BYWciGnh.js";
|
|
3
3
|
import { _ } from "../_shared/ButtonBase.vue_vue_type_script_setup_true_lang-ZYVNEyNx.js";
|
|
4
4
|
import { _ as l } from "../_shared/FormInput.vue_vue_type_script_setup_true_lang-Bg7YPGyY.js";
|
package/dist/core/table.css
CHANGED
|
@@ -16,9 +16,11 @@
|
|
|
16
16
|
--rvc-table-white-space: nowrap;
|
|
17
17
|
--rvc-table-line-height: 1.1;
|
|
18
18
|
--rvc-table-spinner-size: calc(var(--spacing) * 5);
|
|
19
|
+
--rvc-table-striped-border-radius: 0;
|
|
19
20
|
--rvc-table-striped-cell-border-color: transparent;
|
|
20
21
|
--rvc-table-striped-cell-border-style: solid;
|
|
21
22
|
--rvc-table-striped-cell-border-width: 0;
|
|
23
|
+
--rvc-table-striped-row-bg-color-hover: var(--rvc-table-bg-color);
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
@layer components {
|
|
@@ -30,6 +32,8 @@
|
|
|
30
32
|
|
|
31
33
|
.rvc-table {
|
|
32
34
|
width: 100%;
|
|
35
|
+
border-spacing: 0;
|
|
36
|
+
border-collapse: separate;
|
|
33
37
|
|
|
34
38
|
&.rvc-table-striped {
|
|
35
39
|
thead th {
|
|
@@ -37,18 +41,31 @@
|
|
|
37
41
|
background-color: var(--rvc-table-head-bg-color);
|
|
38
42
|
}
|
|
39
43
|
|
|
44
|
+
th,
|
|
45
|
+
td {
|
|
46
|
+
&:first-child {
|
|
47
|
+
border-start-start-radius: var(--rvc-table-striped-border-radius);
|
|
48
|
+
border-end-start-radius: var(--rvc-table-striped-border-radius);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&:last-child {
|
|
52
|
+
border-start-end-radius: var(--rvc-table-striped-border-radius);
|
|
53
|
+
border-end-end-radius: var(--rvc-table-striped-border-radius);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
40
57
|
tr:nth-of-type(even) td {
|
|
41
58
|
background-color: var(--rvc-table-bg-color);
|
|
59
|
+
|
|
60
|
+
&:hover {
|
|
61
|
+
background-color: var(--rvc-table-striped-row-bg-color-hover);
|
|
62
|
+
}
|
|
42
63
|
}
|
|
43
64
|
|
|
44
65
|
td {
|
|
45
66
|
padding-inline: var(--rvc-table-padding-x);
|
|
46
67
|
border-bottom: var(--rvc-table-striped-cell-border-width) var(--rvc-table-striped-cell-border-style) var(--rvc-table-striped-cell-border-color);
|
|
47
68
|
}
|
|
48
|
-
|
|
49
|
-
tr:hover td {
|
|
50
|
-
background-color: var(--rvc-table-striped-row-bg-color-hover);
|
|
51
|
-
}
|
|
52
69
|
}
|
|
53
70
|
|
|
54
71
|
&:not(.rvc-table-striped) {
|
package/dist/core.d.ts
CHANGED
|
@@ -518,7 +518,7 @@ declare interface CheckboxProps {
|
|
|
518
518
|
export declare const DataTable: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
519
519
|
|
|
520
520
|
declare interface DataTableHeader {
|
|
521
|
-
id
|
|
521
|
+
id?: string | number;
|
|
522
522
|
label: string;
|
|
523
523
|
key?: string;
|
|
524
524
|
align?: 'left' | 'center' | 'right';
|
package/dist/dialogs/drawer.css
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
--rvc-drawer-close-color: var(--rvc-dialog-close-color);
|
|
15
15
|
--rvc-drawer-close-color-hover: var(--rvc-dialog-close-color-hover);
|
|
16
16
|
--rvc-drawer-content-bg-color: var(--rvc-dialog-content-bg-color);
|
|
17
|
+
--rvc-drawer-panel-bg-color: var(--rvc-drawer-content-bg-color);
|
|
17
18
|
--rvc-drawer-footer-bg-color: var(--rvc-dialog-footer-bg-color);
|
|
18
19
|
--rvc-drawer-footer-gap: var(--rvc-dialog-footer-gap);
|
|
19
20
|
--rvc-drawer-footer-justify-content: space-between;
|
|
@@ -71,6 +72,7 @@
|
|
|
71
72
|
display: flex;
|
|
72
73
|
flex-direction: column;
|
|
73
74
|
height: 100%;
|
|
75
|
+
background-color: var(--rvc-drawer-panel-bg-color);
|
|
74
76
|
box-shadow: 0 20px 25px -5px rgb(0 0 0 / 10%), 0 8px 10px -6px rgb(0 0 0 / 10%);
|
|
75
77
|
}
|
|
76
78
|
|
package/dist/index/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as r, a as t, b as e, c as s, d as m, e as p, f as x, g as f, h as _, i } from "../_shared/Tabs.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as r, a as t, b as e, c as s, d as m, e as p, f as x, g as f, h as _, i } from "../_shared/Tabs.vue_vue_type_script_setup_true_lang-BkxgXUlf.js";
|
|
2
2
|
import { _ as d } from "../_shared/ChevronDownIcon-BYWciGnh.js";
|
|
3
3
|
import { _ as n } from "../_shared/ButtonBase.vue_vue_type_script_setup_true_lang-ZYVNEyNx.js";
|
|
4
4
|
import { _ as h } from "../_shared/FormInput.vue_vue_type_script_setup_true_lang-Bg7YPGyY.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -1166,7 +1166,7 @@ declare interface CustomCommand {
|
|
|
1166
1166
|
export declare const DataTable: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
1167
1167
|
|
|
1168
1168
|
declare interface DataTableHeader {
|
|
1169
|
-
id
|
|
1169
|
+
id?: string | number;
|
|
1170
1170
|
label: string;
|
|
1171
1171
|
key?: string;
|
|
1172
1172
|
align?: 'left' | 'center' | 'right';
|