rei-kit 2.11.0 → 2.12.0
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/README.md +1 -1
- package/dist/components/BaseTable.vue.d.ts +5 -2
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/styles.css +55 -29
- package/dist/web.js +3 -3
- package/dist/web.js.map +1 -1
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -643,20 +643,20 @@ to {
|
|
|
643
643
|
}
|
|
644
644
|
}
|
|
645
645
|
|
|
646
|
-
.rk-table-scroll[data-v-
|
|
646
|
+
.rk-table-scroll[data-v-ab10e9fa] {
|
|
647
647
|
overflow-x: auto;
|
|
648
648
|
}
|
|
649
|
-
.rk-table-scroll[data-v-
|
|
649
|
+
.rk-table-scroll[data-v-ab10e9fa]:focus-visible {
|
|
650
650
|
outline: 2px solid var(--color-primary);
|
|
651
651
|
outline-offset: 2px;
|
|
652
652
|
border-radius: var(--radius-cell);
|
|
653
653
|
}
|
|
654
|
-
.rk-table[data-v-
|
|
654
|
+
.rk-table[data-v-ab10e9fa] {
|
|
655
655
|
width: 100%;
|
|
656
656
|
border-collapse: collapse;
|
|
657
657
|
font-size: 0.875rem;
|
|
658
658
|
}
|
|
659
|
-
.rk-table-caption[data-v-
|
|
659
|
+
.rk-table-caption[data-v-ab10e9fa] {
|
|
660
660
|
padding-bottom: 0.75rem;
|
|
661
661
|
text-align: left;
|
|
662
662
|
font-size: 0.8125rem;
|
|
@@ -664,7 +664,7 @@ to {
|
|
|
664
664
|
}
|
|
665
665
|
|
|
666
666
|
/* Off screen rather than `display: none`, which is not announced at all. */
|
|
667
|
-
.rk-table-caption-hidden[data-v-
|
|
667
|
+
.rk-table-caption-hidden[data-v-ab10e9fa] {
|
|
668
668
|
position: absolute;
|
|
669
669
|
width: 1px;
|
|
670
670
|
height: 1px;
|
|
@@ -672,7 +672,7 @@ to {
|
|
|
672
672
|
clip-path: inset(50%);
|
|
673
673
|
white-space: nowrap;
|
|
674
674
|
}
|
|
675
|
-
.rk-table th[data-v-
|
|
675
|
+
.rk-table th[data-v-ab10e9fa] {
|
|
676
676
|
border-bottom: 1px solid var(--color-hair);
|
|
677
677
|
padding: 0.625rem 0.75rem;
|
|
678
678
|
text-align: left;
|
|
@@ -680,25 +680,37 @@ to {
|
|
|
680
680
|
color: var(--color-ink-soft);
|
|
681
681
|
white-space: nowrap;
|
|
682
682
|
}
|
|
683
|
-
.rk-table td[data-v-
|
|
683
|
+
.rk-table td[data-v-ab10e9fa] {
|
|
684
684
|
border-bottom: 1px solid color-mix(in srgb, var(--color-hair) 50%, transparent);
|
|
685
685
|
padding: 0.75rem;
|
|
686
686
|
color: var(--color-ink);
|
|
687
687
|
vertical-align: top;
|
|
688
688
|
}
|
|
689
|
-
.rk-table tbody tr:last-child td[data-v-
|
|
689
|
+
.rk-table tbody tr:last-child td[data-v-ab10e9fa] {
|
|
690
690
|
border-bottom: 0;
|
|
691
691
|
}
|
|
692
692
|
|
|
693
|
-
/* Numbers line up on their last digit, which is the one being compared.
|
|
694
|
-
|
|
693
|
+
/* Numbers line up on their last digit, which is the one being compared.
|
|
694
|
+
Both the heading and the cells, and named against `.rk-table th` rather
|
|
695
|
+
than on its own: a bare `.is-end` loses to it, and the column then reads as
|
|
696
|
+
two columns — a heading on the left and its numbers far off to the right. */
|
|
697
|
+
.rk-table th.is-end[data-v-ab10e9fa],
|
|
698
|
+
.rk-table td.is-end[data-v-ab10e9fa] {
|
|
695
699
|
text-align: right;
|
|
696
700
|
font-variant-numeric: tabular-nums;
|
|
697
701
|
}
|
|
698
|
-
.is-
|
|
702
|
+
.rk-table th.is-center[data-v-ab10e9fa],
|
|
703
|
+
.rk-table td.is-center[data-v-ab10e9fa] {
|
|
704
|
+
text-align: center;
|
|
705
|
+
}
|
|
706
|
+
.rk-table th.is-start[data-v-ab10e9fa],
|
|
707
|
+
.rk-table td.is-start[data-v-ab10e9fa] {
|
|
708
|
+
text-align: left;
|
|
709
|
+
}
|
|
710
|
+
.is-nowrap[data-v-ab10e9fa] {
|
|
699
711
|
white-space: nowrap;
|
|
700
712
|
}
|
|
701
|
-
.rk-table-empty[data-v-
|
|
713
|
+
.rk-table-empty[data-v-ab10e9fa] {
|
|
702
714
|
padding: 2rem 0.75rem;
|
|
703
715
|
text-align: center;
|
|
704
716
|
color: var(--color-ink-soft);
|
|
@@ -2677,26 +2689,26 @@ to {
|
|
|
2677
2689
|
|
|
2678
2690
|
/* The scroller is focusable: a region only a drag can reach is a region a
|
|
2679
2691
|
keyboard cannot read at all. */
|
|
2680
|
-
.rk-data-scroll[data-v-
|
|
2692
|
+
.rk-data-scroll[data-v-f95c586b] {
|
|
2681
2693
|
overflow-x: auto;
|
|
2682
2694
|
border-radius: var(--radius-card);
|
|
2683
2695
|
}
|
|
2684
|
-
.rk-data-scroll[data-v-
|
|
2696
|
+
.rk-data-scroll[data-v-f95c586b]:focus-visible {
|
|
2685
2697
|
outline: 2px solid var(--color-primary);
|
|
2686
2698
|
outline-offset: 2px;
|
|
2687
2699
|
}
|
|
2688
|
-
.rk-data[data-v-
|
|
2700
|
+
.rk-data[data-v-f95c586b] {
|
|
2689
2701
|
width: 100%;
|
|
2690
2702
|
border-collapse: collapse;
|
|
2691
2703
|
font-size: 0.875rem;
|
|
2692
2704
|
}
|
|
2693
|
-
.rk-data-caption[data-v-
|
|
2705
|
+
.rk-data-caption[data-v-f95c586b] {
|
|
2694
2706
|
padding-bottom: 0.5rem;
|
|
2695
2707
|
text-align: left;
|
|
2696
2708
|
font-size: 0.8125rem;
|
|
2697
2709
|
color: var(--color-ink-soft);
|
|
2698
2710
|
}
|
|
2699
|
-
.rk-data-caption-hidden[data-v-
|
|
2711
|
+
.rk-data-caption-hidden[data-v-f95c586b] {
|
|
2700
2712
|
position: absolute;
|
|
2701
2713
|
width: 1px;
|
|
2702
2714
|
height: 1px;
|
|
@@ -2704,7 +2716,7 @@ to {
|
|
|
2704
2716
|
clip-path: inset(50%);
|
|
2705
2717
|
white-space: nowrap;
|
|
2706
2718
|
}
|
|
2707
|
-
.rk-data th[data-v-
|
|
2719
|
+
.rk-data th[data-v-f95c586b] {
|
|
2708
2720
|
border-bottom: 1px solid var(--color-hair);
|
|
2709
2721
|
padding: 0.625rem 0.75rem;
|
|
2710
2722
|
text-align: left;
|
|
@@ -2714,32 +2726,46 @@ to {
|
|
|
2714
2726
|
color: var(--color-ink-soft);
|
|
2715
2727
|
white-space: nowrap;
|
|
2716
2728
|
}
|
|
2717
|
-
.rk-data.is-sticky thead th[data-v-
|
|
2729
|
+
.rk-data.is-sticky thead th[data-v-f95c586b] {
|
|
2718
2730
|
position: sticky;
|
|
2719
2731
|
top: 0;
|
|
2720
2732
|
z-index: 1;
|
|
2721
2733
|
background: var(--color-surface);
|
|
2722
2734
|
}
|
|
2723
|
-
.rk-data td[data-v-
|
|
2735
|
+
.rk-data td[data-v-f95c586b] {
|
|
2724
2736
|
border-bottom: 1px solid color-mix(in oklab, var(--color-hair) 60%, transparent);
|
|
2725
2737
|
padding: 0.625rem 0.75rem;
|
|
2726
2738
|
color: var(--color-ink);
|
|
2727
2739
|
vertical-align: middle;
|
|
2728
2740
|
}
|
|
2729
|
-
.rk-data tbody tr:last-child td[data-v-
|
|
2741
|
+
.rk-data tbody tr:last-child td[data-v-f95c586b] {
|
|
2730
2742
|
border-bottom: 0;
|
|
2731
2743
|
}
|
|
2732
|
-
.rk-data tbody tr.is-chosen td[data-v-
|
|
2744
|
+
.rk-data tbody tr.is-chosen td[data-v-f95c586b] {
|
|
2733
2745
|
background: color-mix(in oklab, var(--color-primary) 8%, transparent);
|
|
2734
2746
|
}
|
|
2735
|
-
|
|
2747
|
+
|
|
2748
|
+
/* Named against `.rk-data th`, which sets `text-align: left` and would
|
|
2749
|
+
otherwise win: the heading stayed on the left while its numbers sat at the
|
|
2750
|
+
far edge, so one column read as two. The sort button is inline-flex, so it
|
|
2751
|
+
follows the heading's alignment and carries the arrow with it. */
|
|
2752
|
+
.rk-data th.is-end[data-v-f95c586b],
|
|
2753
|
+
.rk-data td.is-end[data-v-f95c586b] {
|
|
2736
2754
|
text-align: right;
|
|
2737
2755
|
font-variant-numeric: tabular-nums;
|
|
2738
2756
|
}
|
|
2739
|
-
.is-
|
|
2757
|
+
.rk-data th.is-center[data-v-f95c586b],
|
|
2758
|
+
.rk-data td.is-center[data-v-f95c586b] {
|
|
2759
|
+
text-align: center;
|
|
2760
|
+
}
|
|
2761
|
+
.rk-data th.is-start[data-v-f95c586b],
|
|
2762
|
+
.rk-data td.is-start[data-v-f95c586b] {
|
|
2763
|
+
text-align: left;
|
|
2764
|
+
}
|
|
2765
|
+
.is-nowrap[data-v-f95c586b] {
|
|
2740
2766
|
white-space: nowrap;
|
|
2741
2767
|
}
|
|
2742
|
-
.rk-data-sort[data-v-
|
|
2768
|
+
.rk-data-sort[data-v-f95c586b] {
|
|
2743
2769
|
display: inline-flex;
|
|
2744
2770
|
align-items: center;
|
|
2745
2771
|
gap: 0.25rem;
|
|
@@ -2747,19 +2773,19 @@ to {
|
|
|
2747
2773
|
color: inherit;
|
|
2748
2774
|
transition: color var(--duration-fast) var(--ease-standard);
|
|
2749
2775
|
}
|
|
2750
|
-
.rk-data-sort[data-v-
|
|
2776
|
+
.rk-data-sort[data-v-f95c586b]:hover {
|
|
2751
2777
|
color: var(--color-ink);
|
|
2752
2778
|
}
|
|
2753
|
-
.rk-data-pick[data-v-
|
|
2779
|
+
.rk-data-pick[data-v-f95c586b] {
|
|
2754
2780
|
width: 2.75rem;
|
|
2755
2781
|
padding-right: 0;
|
|
2756
2782
|
}
|
|
2757
|
-
.rk-data-box[data-v-
|
|
2783
|
+
.rk-data-box[data-v-f95c586b] {
|
|
2758
2784
|
width: 1rem;
|
|
2759
2785
|
height: 1rem;
|
|
2760
2786
|
accent-color: var(--color-primary);
|
|
2761
2787
|
}
|
|
2762
|
-
.rk-data-empty[data-v-
|
|
2788
|
+
.rk-data-empty[data-v-f95c586b] {
|
|
2763
2789
|
padding: 2rem 0.75rem;
|
|
2764
2790
|
text-align: center;
|
|
2765
2791
|
color: var(--color-ink-soft);
|
package/dist/web.js
CHANGED
|
@@ -726,7 +726,7 @@ var DataTable_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
726
726
|
key: column.key,
|
|
727
727
|
scope: "col",
|
|
728
728
|
"aria-sort": ariaSort(column),
|
|
729
|
-
class: normalizeClass([column.align
|
|
729
|
+
class: normalizeClass([column.align && `is-${column.align}`, column.nowrap && "is-nowrap"])
|
|
730
730
|
}, [column.sortable ? (openBlock(), createElementBlock("button", {
|
|
731
731
|
key: 0,
|
|
732
732
|
type: "button",
|
|
@@ -767,7 +767,7 @@ var DataTable_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
767
767
|
}, null, 40, _hoisted_10)])) : createCommentVNode("", true), (openBlock(true), createElementBlock(Fragment, null, renderList(__props.columns, (column) => {
|
|
768
768
|
return openBlock(), createElementBlock("td", {
|
|
769
769
|
key: column.key,
|
|
770
|
-
class: normalizeClass([column.align
|
|
770
|
+
class: normalizeClass([column.align && `is-${column.align}`, column.nowrap && "is-nowrap"])
|
|
771
771
|
}, [renderSlot(_ctx.$slots, column.key, {
|
|
772
772
|
row,
|
|
773
773
|
value: row[column.key]
|
|
@@ -780,7 +780,7 @@ var DataTable_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
780
780
|
], 2)], 8, _hoisted_1$8);
|
|
781
781
|
};
|
|
782
782
|
}
|
|
783
|
-
}), [["__scopeId", "data-v-
|
|
783
|
+
}), [["__scopeId", "data-v-f95c586b"]]);
|
|
784
784
|
//#endregion
|
|
785
785
|
//#region src/web/BaseSplitter.vue?vue&type=script&setup=true&lang.ts
|
|
786
786
|
var _hoisted_1$7 = { class: "rk-split-pane is-start" };
|