@robuust-digital/vue-components 3.0.1 → 3.1.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,16 @@
|
|
|
1
|
+
## 3.1.1 (07-07-2026)
|
|
2
|
+
|
|
3
|
+
### Fixed
|
|
4
|
+
|
|
5
|
+
* `Pagination`: Align pagination info left and navigation right when `showPerPage` is disabled
|
|
6
|
+
|
|
7
|
+
## 3.1.0 (07-07-2026)
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
* `Pagination`: Added `showPerPage` support for hiding the per-page select while preserving the default behavior
|
|
12
|
+
* `DataTable`: Forward `showPerPage` to built-in pagination
|
|
13
|
+
|
|
1
14
|
## 3.0.1 (06-07-2026)
|
|
2
15
|
|
|
3
16
|
### Added
|
|
@@ -274,10 +274,7 @@ var q = ["value", "disabled"], J = ["value", "disabled"], Y = /* @__PURE__ */ p(
|
|
|
274
274
|
S(n.$slots, "icon", { icon: e.icon }, () => [(y(), s(C(e.icon ?? T(t)), { "aria-hidden": "true" }))])
|
|
275
275
|
], 2));
|
|
276
276
|
}
|
|
277
|
-
}), X = {
|
|
278
|
-
key: 0,
|
|
279
|
-
class: "rvc-pagination"
|
|
280
|
-
}, Z = ["value"], re = { class: "rvc-pagination-info" }, ie = { class: "rvc-pagination-nav-list" }, ae = ["disabled", "onClick"], oe = { key: 2 }, se = { key: 3 }, Q = /* @__PURE__ */ p({
|
|
277
|
+
}), X = ["value"], Z = { class: "rvc-pagination-info" }, re = { class: "rvc-pagination-nav-list" }, ie = ["disabled", "onClick"], ae = { key: 2 }, oe = { key: 3 }, Q = /* @__PURE__ */ p({
|
|
281
278
|
__name: "Pagination",
|
|
282
279
|
props: {
|
|
283
280
|
pagination: {},
|
|
@@ -288,6 +285,10 @@ var q = ["value", "disabled"], J = ["value", "disabled"], Y = /* @__PURE__ */ p(
|
|
|
288
285
|
20,
|
|
289
286
|
50
|
|
290
287
|
] },
|
|
288
|
+
showPerPage: {
|
|
289
|
+
type: Boolean,
|
|
290
|
+
default: !0
|
|
291
|
+
},
|
|
291
292
|
fromLabel: { default: "of" },
|
|
292
293
|
prevIcon: {
|
|
293
294
|
type: [
|
|
@@ -312,8 +313,11 @@ var q = ["value", "disabled"], J = ["value", "disabled"], Y = /* @__PURE__ */ p(
|
|
|
312
313
|
get: () => n.perPage,
|
|
313
314
|
set: (e) => r("pagination:perPage", Number(e))
|
|
314
315
|
});
|
|
315
|
-
return (t, n) => e.pagination?.total ? (y(), l("div",
|
|
316
|
-
|
|
316
|
+
return (t, n) => e.pagination?.total ? (y(), l("div", {
|
|
317
|
+
key: 0,
|
|
318
|
+
class: g(["rvc-pagination", { "rvc-pagination-without-per-page": !e.showPerPage }])
|
|
319
|
+
}, [
|
|
320
|
+
e.showPerPage ? S(t.$slots, "perPage", h({ key: 0 }, e.pagination, { perPage: i.value }), () => [f(Y, {
|
|
317
321
|
modelValue: i.value,
|
|
318
322
|
"onUpdate:modelValue": n[0] ||= (e) => i.value = e,
|
|
319
323
|
size: "sm",
|
|
@@ -322,11 +326,11 @@ var q = ["value", "disabled"], J = ["value", "disabled"], Y = /* @__PURE__ */ p(
|
|
|
322
326
|
default: A(() => [(y(!0), l(a, null, x(e.perPageOptions, (t) => (y(), l("option", {
|
|
323
327
|
key: `pagination-items-per-page-option-${t}`,
|
|
324
328
|
value: t
|
|
325
|
-
}, w(t) + " " + w(e.perPageLabel), 9,
|
|
329
|
+
}, w(t) + " " + w(e.perPageLabel), 9, X))), 128))]),
|
|
326
330
|
_: 1
|
|
327
|
-
}, 8, ["modelValue"])]),
|
|
328
|
-
S(t.$slots, "info", h(e.pagination, { fromLabel: e.fromLabel }), () => [u("div",
|
|
329
|
-
u("nav", null, [u("ol",
|
|
331
|
+
}, 8, ["modelValue"])]) : c("", !0),
|
|
332
|
+
S(t.$slots, "info", h(e.pagination, { fromLabel: e.fromLabel }), () => [u("div", Z, w(e.pagination.from) + " - " + w(e.pagination.to) + " " + w(e.fromLabel) + " " + w(e.pagination.total), 1)]),
|
|
333
|
+
u("nav", null, [u("ol", re, [(y(!0), l(a, null, x(e.pagination.links, (n, i) => (y(), l("li", {
|
|
330
334
|
key: `pagination-link-${n.label}-${i}`,
|
|
331
335
|
class: "rvc-pagination-nav-list-item"
|
|
332
336
|
}, [u("button", {
|
|
@@ -350,10 +354,10 @@ var q = ["value", "disabled"], J = ["value", "disabled"], Y = /* @__PURE__ */ p(
|
|
|
350
354
|
}, () => [(y(), s(C(e.nextIcon || T(ne)), {
|
|
351
355
|
"aria-hidden": "true",
|
|
352
356
|
class: g(["rvc-pagination-button-icon", { "rvc-pagination-button-icon-disabled": !n.url }])
|
|
353
|
-
}, null, 8, ["class"]))]) : n.label === "..." ? (y(), l("span",
|
|
354
|
-
])) : c("", !0);
|
|
357
|
+
}, null, 8, ["class"]))]) : n.label === "..." ? (y(), l("span", ae, " ... ")) : (y(), l("span", oe, w(n.label), 1))], 10, ie)]))), 128))])])
|
|
358
|
+
], 2)) : c("", !0);
|
|
355
359
|
}
|
|
356
|
-
}),
|
|
360
|
+
}), se = { key: 0 }, ce = ["aria-label", "onClick"], le = ["innerHTML"], ue = { key: 2 }, de = ["colspan"], fe = { key: 3 }, pe = ["colspan"], me = { class: "rvc-table-spinner-wrapper" }, he = { key: 4 }, ge = /* @__PURE__ */ p({
|
|
357
361
|
__name: "DataTable",
|
|
358
362
|
props: {
|
|
359
363
|
headers: { default: () => [] },
|
|
@@ -376,6 +380,10 @@ var q = ["value", "disabled"], J = ["value", "disabled"], Y = /* @__PURE__ */ p(
|
|
|
376
380
|
20,
|
|
377
381
|
50
|
|
378
382
|
] },
|
|
383
|
+
showPerPage: {
|
|
384
|
+
type: Boolean,
|
|
385
|
+
default: !0
|
|
386
|
+
},
|
|
379
387
|
fromLabel: { default: "of" },
|
|
380
388
|
prevIcon: {
|
|
381
389
|
type: [
|
|
@@ -412,7 +420,7 @@ var q = ["value", "disabled"], J = ["value", "disabled"], Y = /* @__PURE__ */ p(
|
|
|
412
420
|
} : o.value = null, i("table:sortBy", o.value));
|
|
413
421
|
};
|
|
414
422
|
return (t, r) => (y(), l("div", null, [u("div", { class: g(["rvc-table-wrapper", e.wrapperClass]) }, [u("table", { class: g([{ "rvc-table-striped": e.striped }, "rvc-table"]) }, [
|
|
415
|
-
e.headers.length ? (y(), l("thead",
|
|
423
|
+
e.headers.length ? (y(), l("thead", se, [S(t.$slots, "headers", { headers: e.headers }, () => [u("tr", null, [(y(!0), l(a, null, x(e.headers, (e, n) => S(t.$slots, "header", {
|
|
416
424
|
header: e,
|
|
417
425
|
index: n
|
|
418
426
|
}, () => [(y(), l("th", h({ ref_for: !0 }, {
|
|
@@ -441,7 +449,7 @@ var q = ["value", "disabled"], J = ["value", "disabled"], Y = /* @__PURE__ */ p(
|
|
|
441
449
|
"rvc-table-sort-icon-visible": o.value?.key === e.key,
|
|
442
450
|
"rvc-table-sort-icon-invisible": !o.value || o.value.key !== e.key,
|
|
443
451
|
"rvc-table-sort-icon-rotated": o.value?.key === e.key && o.value.direction === "desc"
|
|
444
|
-
}]) }, null, 8, ["class"])], 10,
|
|
452
|
+
}]) }, null, 8, ["class"])], 10, ce)) : S(t.$slots, "header-label", {
|
|
445
453
|
key: 1,
|
|
446
454
|
sortBy: o.value,
|
|
447
455
|
header: e
|
|
@@ -462,21 +470,21 @@ var q = ["value", "disabled"], J = ["value", "disabled"], Y = /* @__PURE__ */ p(
|
|
|
462
470
|
"rvc-table-text-right": p(String(r))?.align === "right"
|
|
463
471
|
},
|
|
464
472
|
innerHTML: t
|
|
465
|
-
}), null, 16,
|
|
473
|
+
}), null, 16, le))), 128))])]))])), 256))])]) : !e.items.length && !e.spinning ? (y(), l("tbody", ue, [u("tr", null, [u("td", {
|
|
466
474
|
colspan: e.headers.length,
|
|
467
475
|
class: "rvc-table-state"
|
|
468
|
-
}, [u("p", null, w(e.noResultsText), 1)], 8,
|
|
476
|
+
}, [u("p", null, w(e.noResultsText), 1)], 8, de)])])) : (y(), l("tbody", fe, [u("tr", null, [u("td", {
|
|
469
477
|
colspan: e.headers.length,
|
|
470
478
|
class: "rvc-table-state"
|
|
471
479
|
}, [S(t.$slots, "spinner", {
|
|
472
480
|
spinning: e.spinning,
|
|
473
481
|
label: e.loadingText
|
|
474
|
-
}, () => [u("div",
|
|
482
|
+
}, () => [u("div", me, [e.spinning ? (y(), s(T(n), {
|
|
475
483
|
key: 0,
|
|
476
484
|
"aria-hidden": "true",
|
|
477
485
|
class: "rvc-table-spinner"
|
|
478
|
-
})) : c("", !0), d(" " + w(e.loadingText), 1)])])], 8,
|
|
479
|
-
t.$slots.footer ? (y(), l("tfoot",
|
|
486
|
+
})) : c("", !0), d(" " + w(e.loadingText), 1)])])], 8, pe)])])),
|
|
487
|
+
t.$slots.footer ? (y(), l("tfoot", he, [S(t.$slots, "footer", {
|
|
480
488
|
headers: e.headers,
|
|
481
489
|
items: e.items
|
|
482
490
|
})])) : c("", !0)
|
|
@@ -485,6 +493,7 @@ var q = ["value", "disabled"], J = ["value", "disabled"], Y = /* @__PURE__ */ p(
|
|
|
485
493
|
"per-page": e.perPage,
|
|
486
494
|
"per-page-label": e.perPageLabel,
|
|
487
495
|
"per-page-options": e.perPageOptions,
|
|
496
|
+
"show-per-page": e.showPerPage,
|
|
488
497
|
"from-label": e.fromLabel,
|
|
489
498
|
"prev-icon": e.prevIcon,
|
|
490
499
|
"next-icon": e.nextIcon,
|
|
@@ -495,15 +504,16 @@ var q = ["value", "disabled"], J = ["value", "disabled"], Y = /* @__PURE__ */ p(
|
|
|
495
504
|
"per-page",
|
|
496
505
|
"per-page-label",
|
|
497
506
|
"per-page-options",
|
|
507
|
+
"show-per-page",
|
|
498
508
|
"from-label",
|
|
499
509
|
"prev-icon",
|
|
500
510
|
"next-icon"
|
|
501
511
|
])]) : c("", !0)]));
|
|
502
512
|
}
|
|
503
|
-
}),
|
|
513
|
+
}), _e = {
|
|
504
514
|
key: 1,
|
|
505
515
|
class: "rvc-empty-state-title"
|
|
506
|
-
},
|
|
516
|
+
}, ve = /* @__PURE__ */ p({
|
|
507
517
|
__name: "EmptyState",
|
|
508
518
|
props: {
|
|
509
519
|
title: {},
|
|
@@ -520,32 +530,32 @@ var q = ["value", "disabled"], J = ["value", "disabled"], Y = /* @__PURE__ */ p(
|
|
|
520
530
|
key: 0,
|
|
521
531
|
class: "rvc-empty-state-icon"
|
|
522
532
|
})) : c("", !0),
|
|
523
|
-
e.title ? (y(), l("p",
|
|
533
|
+
e.title ? (y(), l("p", _e, w(e.title), 1)) : c("", !0),
|
|
524
534
|
S(t.$slots, "default")
|
|
525
535
|
], 2));
|
|
526
536
|
}
|
|
527
|
-
}),
|
|
537
|
+
}), ye = { class: "rvc-file-upload-control" }, be = [
|
|
528
538
|
"accept",
|
|
529
539
|
"multiple",
|
|
530
540
|
"disabled"
|
|
531
|
-
],
|
|
541
|
+
], xe = ["disabled"], Se = {
|
|
532
542
|
key: 0,
|
|
533
543
|
class: "rvc-file-upload-label"
|
|
534
|
-
},
|
|
544
|
+
}, Ce = {
|
|
535
545
|
key: 1,
|
|
536
546
|
class: "rvc-file-upload-description"
|
|
537
|
-
},
|
|
547
|
+
}, we = { class: "rvc-file-upload-list" }, Te = ["src", "alt"], Ee = ["href"], De = {
|
|
538
548
|
key: 2,
|
|
539
549
|
class: "rvc-file-upload-file"
|
|
540
|
-
},
|
|
550
|
+
}, Oe = [
|
|
541
551
|
"disabled",
|
|
542
552
|
"aria-label",
|
|
543
553
|
"onClick"
|
|
544
|
-
],
|
|
554
|
+
], $ = ["src", "alt"], ke = { class: "rvc-file-upload-file" }, Ae = [
|
|
545
555
|
"disabled",
|
|
546
556
|
"aria-label",
|
|
547
557
|
"onClick"
|
|
548
|
-
],
|
|
558
|
+
], je = /* @__PURE__ */ p({
|
|
549
559
|
inheritAttrs: !1,
|
|
550
560
|
__name: "FileUpload",
|
|
551
561
|
props: {
|
|
@@ -636,7 +646,7 @@ var q = ["value", "disabled"], J = ["value", "disabled"], Y = /* @__PURE__ */ p(
|
|
|
636
646
|
"rvc-file-upload-disabled": e.disabled
|
|
637
647
|
},
|
|
638
648
|
e.rootClass
|
|
639
|
-
]) }, [u("div",
|
|
649
|
+
]) }, [u("div", ye, [u("input", h(T(D), {
|
|
640
650
|
ref_key: "input",
|
|
641
651
|
ref: d,
|
|
642
652
|
class: "rvc-file-upload-input",
|
|
@@ -645,7 +655,7 @@ var q = ["value", "disabled"], J = ["value", "disabled"], Y = /* @__PURE__ */ p(
|
|
|
645
655
|
multiple: e.multiple,
|
|
646
656
|
disabled: e.disabled,
|
|
647
657
|
onChange: F
|
|
648
|
-
}), null, 16,
|
|
658
|
+
}), null, 16, be), e.variant === "area" ? (y(), l("button", {
|
|
649
659
|
key: 0,
|
|
650
660
|
class: "rvc-file-upload-area rvc-file-upload-trigger",
|
|
651
661
|
type: "button",
|
|
@@ -662,9 +672,9 @@ var q = ["value", "disabled"], J = ["value", "disabled"], Y = /* @__PURE__ */ p(
|
|
|
662
672
|
class: "rvc-file-upload-icon",
|
|
663
673
|
"aria-hidden": "true"
|
|
664
674
|
}))]),
|
|
665
|
-
e.label ? (y(), l("span",
|
|
666
|
-
e.description ? (y(), l("span",
|
|
667
|
-
], 40,
|
|
675
|
+
e.label ? (y(), l("span", Se, w(e.label), 1)) : c("", !0),
|
|
676
|
+
e.description ? (y(), l("span", Ce, w(e.description), 1)) : c("", !0)
|
|
677
|
+
], 40, xe)) : (y(), s(r, {
|
|
668
678
|
key: 1,
|
|
669
679
|
class: "rvc-file-upload-trigger",
|
|
670
680
|
label: e.buttonLabel,
|
|
@@ -696,7 +706,7 @@ var q = ["value", "disabled"], J = ["value", "disabled"], Y = /* @__PURE__ */ p(
|
|
|
696
706
|
existingFiles: e.existingFiles,
|
|
697
707
|
removeFile: W,
|
|
698
708
|
removeExistingFile: K
|
|
699
|
-
}, () => [u("ul",
|
|
709
|
+
}, () => [u("ul", we, [(y(!0), l(a, null, x(e.existingFiles, (t) => (y(), l("li", {
|
|
700
710
|
key: `existing-${t.id}`,
|
|
701
711
|
class: "rvc-file-upload-item"
|
|
702
712
|
}, [
|
|
@@ -705,19 +715,19 @@ var q = ["value", "disabled"], J = ["value", "disabled"], Y = /* @__PURE__ */ p(
|
|
|
705
715
|
class: "rvc-file-upload-thumbnail",
|
|
706
716
|
src: R(t),
|
|
707
717
|
alt: t.name
|
|
708
|
-
}, null, 8,
|
|
718
|
+
}, null, 8, Te)) : c("", !0),
|
|
709
719
|
t.url ? (y(), l("a", {
|
|
710
720
|
key: 1,
|
|
711
721
|
class: "rvc-file-upload-file",
|
|
712
722
|
href: t.url
|
|
713
|
-
}, w(t.name), 9,
|
|
723
|
+
}, w(t.name), 9, Ee)) : (y(), l("span", De, w(t.name), 1)),
|
|
714
724
|
u("button", {
|
|
715
725
|
class: "rvc-file-upload-remove",
|
|
716
726
|
type: "button",
|
|
717
727
|
disabled: e.disabled,
|
|
718
728
|
"aria-label": `Remove ${t.name}`,
|
|
719
729
|
onClick: (e) => K(t)
|
|
720
|
-
}, [f(T(G), { "aria-hidden": "true" })], 8,
|
|
730
|
+
}, [f(T(G), { "aria-hidden": "true" })], 8, Oe)
|
|
721
731
|
]))), 128)), (y(!0), l(a, null, x(k.value, (t, n) => (y(), l("li", {
|
|
722
732
|
key: `${t.name}-${t.lastModified}-${n}`,
|
|
723
733
|
class: "rvc-file-upload-item"
|
|
@@ -727,18 +737,18 @@ var q = ["value", "disabled"], J = ["value", "disabled"], Y = /* @__PURE__ */ p(
|
|
|
727
737
|
class: "rvc-file-upload-thumbnail",
|
|
728
738
|
src: _.value.get(t),
|
|
729
739
|
alt: t.name
|
|
730
|
-
}, null, 8,
|
|
731
|
-
u("span",
|
|
740
|
+
}, null, 8, $)) : c("", !0),
|
|
741
|
+
u("span", ke, w(t.name), 1),
|
|
732
742
|
u("button", {
|
|
733
743
|
class: "rvc-file-upload-remove",
|
|
734
744
|
type: "button",
|
|
735
745
|
disabled: e.disabled,
|
|
736
746
|
"aria-label": `Remove ${t.name}`,
|
|
737
747
|
onClick: (e) => W(n)
|
|
738
|
-
}, [f(T(G), { "aria-hidden": "true" })], 8,
|
|
748
|
+
}, [f(T(G), { "aria-hidden": "true" })], 8, Ae)
|
|
739
749
|
]))), 128))])]) : c("", !0)], 2));
|
|
740
750
|
}
|
|
741
|
-
}),
|
|
751
|
+
}), Me = /* @__PURE__ */ p({
|
|
742
752
|
__name: "FormTextarea",
|
|
743
753
|
props: {
|
|
744
754
|
modelValue: { default: void 0 },
|
|
@@ -763,7 +773,7 @@ var q = ["value", "disabled"], J = ["value", "disabled"], Y = /* @__PURE__ */ p(
|
|
|
763
773
|
class: g(u.value)
|
|
764
774
|
}, null, 2));
|
|
765
775
|
}
|
|
766
|
-
}),
|
|
776
|
+
}), Ne = { class: "rvc-radio-input" }, Pe = { class: "rvc-radio-label" }, Fe = /* @__PURE__ */ p({
|
|
767
777
|
inheritAttrs: !1,
|
|
768
778
|
__name: "Radio",
|
|
769
779
|
props: {
|
|
@@ -790,16 +800,16 @@ var q = ["value", "disabled"], J = ["value", "disabled"], Y = /* @__PURE__ */ p(
|
|
|
790
800
|
...c,
|
|
791
801
|
type: "radio"
|
|
792
802
|
})), f = b(null);
|
|
793
|
-
return (t, n) => (y(), l("label", { class: g(["rvc-radio", e.rootClass]) }, [u("div",
|
|
803
|
+
return (t, n) => (y(), l("label", { class: g(["rvc-radio", e.rootClass]) }, [u("div", Ne, [T(s) ? j((y(), l("input", h({ key: 0 }, d.value, {
|
|
794
804
|
ref_key: "input",
|
|
795
805
|
ref: f,
|
|
796
806
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e
|
|
797
807
|
}), null, 16)), [[D, a.value]]) : (y(), l("input", h({ key: 1 }, d.value, {
|
|
798
808
|
ref_key: "input",
|
|
799
809
|
ref: f
|
|
800
|
-
}), null, 16))]), S(t.$slots, "default", {}, () => [u("span",
|
|
810
|
+
}), null, 16))]), S(t.$slots, "default", {}, () => [u("span", Pe, w(e.label), 1)])], 2));
|
|
801
811
|
}
|
|
802
|
-
}),
|
|
812
|
+
}), Ie = { class: "rvc-tabs-nav" }, Le = ["value", "selected"], Re = /* @__PURE__ */ p({
|
|
803
813
|
inheritAttrs: !1,
|
|
804
814
|
__name: "Tabs",
|
|
805
815
|
props: {
|
|
@@ -827,7 +837,7 @@ var q = ["value", "disabled"], J = ["value", "disabled"], Y = /* @__PURE__ */ p(
|
|
|
827
837
|
let { active: t, as: n, bindAs: r, selectEvent: i, name: a, ...o } = e;
|
|
828
838
|
return o;
|
|
829
839
|
};
|
|
830
|
-
return (t, n) => (y(), l(a, null, [u("div", h(t.$attrs, { class: ["rvc-tabs", { "rvc-tabs-buttons": e.tabStyle === "buttons" }] }), [u("nav",
|
|
840
|
+
return (t, n) => (y(), l(a, null, [u("div", h(t.$attrs, { class: ["rvc-tabs", { "rvc-tabs-buttons": e.tabStyle === "buttons" }] }), [u("nav", Ie, [(y(!0), l(a, null, x(e.tabs, (e, t) => (y(), s(C(e.as ? e.as : "button"), h({ ref_for: !0 }, m(e), {
|
|
831
841
|
key: `${t}-tab-item`,
|
|
832
842
|
as: e.bindAs ? e.bindAs : void 0,
|
|
833
843
|
class: ["rvc-tab", { "rvc-tab-active": c.value === t }],
|
|
@@ -848,10 +858,10 @@ var q = ["value", "disabled"], J = ["value", "disabled"], Y = /* @__PURE__ */ p(
|
|
|
848
858
|
key: `${t}-tab-item-select-option`,
|
|
849
859
|
value: t,
|
|
850
860
|
selected: c.value === t
|
|
851
|
-
}, w(e.name), 9,
|
|
861
|
+
}, w(e.name), 9, Le))), 128))]),
|
|
852
862
|
_: 1
|
|
853
863
|
}, 16, ["value"])], 64));
|
|
854
864
|
}
|
|
855
865
|
});
|
|
856
866
|
//#endregion
|
|
857
|
-
export {
|
|
867
|
+
export { ve as a, Y as c, R as d, je as i, U as l, Fe as n, ge as o, Me as r, Q as s, Re as t, B as u };
|
package/dist/core/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "../_shared/core-
|
|
1
|
+
import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "../_shared/core-s0W4Pxm0.js";
|
|
2
2
|
import { n as d } from "../_shared/ChevronDownIcon-Y_yqpwON.js";
|
|
3
3
|
import { t as f } from "../_shared/ButtonBase-DyeIkb-l.js";
|
|
4
4
|
import { t as p } from "../_shared/FormInput-k0vAk3VU.js";
|
package/dist/core/pagination.css
CHANGED
|
@@ -22,12 +22,13 @@
|
|
|
22
22
|
@layer components {
|
|
23
23
|
.rvc-pagination {
|
|
24
24
|
display: grid;
|
|
25
|
-
grid-template-columns:
|
|
25
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
26
26
|
align-items: center;
|
|
27
|
-
justify-content: space-between;
|
|
28
27
|
|
|
29
28
|
@media (width >= theme(--breakpoint-md)) {
|
|
30
|
-
|
|
29
|
+
&:not(.rvc-pagination-without-per-page) {
|
|
30
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
31
|
+
}
|
|
31
32
|
}
|
|
32
33
|
|
|
33
34
|
.rvc-pagination-per-page {
|
|
@@ -67,6 +68,12 @@
|
|
|
67
68
|
|
|
68
69
|
@media (width >= theme(--breakpoint-md)) {
|
|
69
70
|
display: flex;
|
|
71
|
+
justify-content: flex-start;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&:not(.rvc-pagination-without-per-page) .rvc-pagination-info {
|
|
76
|
+
@media (width >= theme(--breakpoint-md)) {
|
|
70
77
|
justify-content: center;
|
|
71
78
|
}
|
|
72
79
|
}
|
package/dist/index/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "../_shared/core-
|
|
1
|
+
import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "../_shared/core-s0W4Pxm0.js";
|
|
2
2
|
import { n as d } from "../_shared/ChevronDownIcon-Y_yqpwON.js";
|
|
3
3
|
import { t as f } from "../_shared/ButtonBase-DyeIkb-l.js";
|
|
4
4
|
import { t as p } from "../_shared/FormInput-k0vAk3VU.js";
|