@robuust-digital/vue-components 2.6.0 → 2.6.1
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
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## 2.6.1 (14-04-2026)
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
|
|
5
|
+
* `DataTable`: Move the `tbody` slot to a body-level override so consumers can render a custom `<tbody>` without nested `<tbody>` markup
|
|
6
|
+
|
|
7
|
+
### Updated
|
|
8
|
+
|
|
9
|
+
* `DataTable` docs: Clarified that `#tbody` should return valid body markup (typically `<tbody>...</tbody>`)
|
|
10
|
+
|
|
1
11
|
## 2.6.0 (14-04-2026)
|
|
2
12
|
|
|
3
13
|
### Added
|
|
@@ -355,7 +355,7 @@ const ae = ["value"], le = ["value"], N = /* @__PURE__ */ w({
|
|
|
355
355
|
])
|
|
356
356
|
])) : $("", !0);
|
|
357
357
|
}
|
|
358
|
-
}), ve = { key: 0 }, fe = ["aria-label", "onClick"], ge = ["innerHTML"], be = { key:
|
|
358
|
+
}), ve = { key: 0 }, fe = ["aria-label", "onClick"], ge = ["innerHTML"], be = { key: 2 }, me = ["colspan"], pe = { key: 3 }, ye = ["colspan"], $e = { class: "rvc-table-spinner-wrapper" }, he = { key: 4 }, Fe = /* @__PURE__ */ w({
|
|
359
359
|
__name: "DataTable",
|
|
360
360
|
props: {
|
|
361
361
|
headers: { default: () => [] },
|
|
@@ -448,11 +448,11 @@ const ae = ["value"], le = ["value"], N = /* @__PURE__ */ w({
|
|
|
448
448
|
])
|
|
449
449
|
])
|
|
450
450
|
])) : $("", !0),
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
451
|
+
e.items.length && !e.spinning ? c(a.$slots, "tbody", {
|
|
452
|
+
key: 1,
|
|
453
|
+
items: e.items
|
|
454
|
+
}, () => [
|
|
455
|
+
u("tbody", null, [
|
|
456
456
|
(l(!0), n(k, null, V(e.items, (t, i) => c(a.$slots, "items", {
|
|
457
457
|
item: t,
|
|
458
458
|
index: i
|
|
@@ -477,14 +477,18 @@ const ae = ["value"], le = ["value"], N = /* @__PURE__ */ w({
|
|
|
477
477
|
])
|
|
478
478
|
]))
|
|
479
479
|
])), 256))
|
|
480
|
-
])
|
|
480
|
+
])
|
|
481
|
+
]) : !e.items.length && !e.spinning ? (l(), n("tbody", be, [
|
|
482
|
+
u("tr", null, [
|
|
481
483
|
u("td", {
|
|
482
484
|
colspan: e.headers.length,
|
|
483
485
|
class: "rvc-table-state"
|
|
484
486
|
}, [
|
|
485
487
|
u("p", null, g(e.noResultsText), 1)
|
|
486
488
|
], 8, me)
|
|
487
|
-
])
|
|
489
|
+
])
|
|
490
|
+
])) : (l(), n("tbody", pe, [
|
|
491
|
+
u("tr", null, [
|
|
488
492
|
u("td", {
|
|
489
493
|
colspan: e.headers.length,
|
|
490
494
|
class: "rvc-table-state"
|
|
@@ -503,8 +507,8 @@ const ae = ["value"], le = ["value"], N = /* @__PURE__ */ w({
|
|
|
503
507
|
])
|
|
504
508
|
])
|
|
505
509
|
], 8, ye)
|
|
506
|
-
])
|
|
507
|
-
]),
|
|
510
|
+
])
|
|
511
|
+
])),
|
|
508
512
|
a.$slots.footer ? (l(), n("tfoot", he, [
|
|
509
513
|
c(a.$slots, "footer", {
|
|
510
514
|
headers: e.headers,
|
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-CLF0EEY-.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/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-CLF0EEY-.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";
|