@youcan/celeste 0.6.56 → 0.6.59
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/dist/celeste.css +301 -70
- package/dist/cjs/chunks/index.js +245 -1
- package/dist/cjs/chunks/pagination-first.js +32 -0
- package/dist/cjs/chunks/pagination-item.js +32 -0
- package/dist/cjs/chunks/pagination-last.js +32 -0
- package/dist/cjs/chunks/pagination-next.js +32 -0
- package/dist/cjs/chunks/pagination-previous.js +32 -0
- package/dist/cjs/chunks/use-color-model.js +3 -0
- package/dist/cjs/index.js +24 -0
- package/dist/cjs/pagination-content.js +30 -0
- package/dist/cjs/pagination-ellipsis.js +34 -0
- package/dist/cjs/pagination-first.js +3 -0
- package/dist/cjs/pagination-item.js +3 -0
- package/dist/cjs/pagination-last.js +3 -0
- package/dist/cjs/pagination-next.js +3 -0
- package/dist/cjs/pagination-previous.js +3 -0
- package/dist/cjs/pagination.js +59 -0
- package/dist/cjs/table-body.js +23 -0
- package/dist/cjs/table-caption.js +23 -0
- package/dist/cjs/table-cell.js +25 -0
- package/dist/cjs/table-empty.js +43 -0
- package/dist/cjs/table-footer.js +23 -0
- package/dist/cjs/table-head.js +24 -0
- package/dist/cjs/table-header.js +20 -0
- package/dist/cjs/table-row.js +31 -0
- package/dist/cjs/table.js +26 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/pagination/index.d.ts +16 -0
- package/dist/components/pagination/pagination-content.d.ts +21 -0
- package/dist/components/pagination/pagination-ellipsis.d.ts +14 -0
- package/dist/components/pagination/pagination-first.d.ts +14 -0
- package/dist/components/pagination/pagination-item.d.ts +16 -0
- package/dist/components/pagination/pagination-last.d.ts +14 -0
- package/dist/components/pagination/pagination-next.d.ts +14 -0
- package/dist/components/pagination/pagination-previous.d.ts +14 -0
- package/dist/components/pagination/pagination.d.ts +32 -0
- package/dist/components/table/index.d.ts +18 -0
- package/dist/components/table/table-body.d.ts +13 -0
- package/dist/components/table/table-caption.d.ts +13 -0
- package/dist/components/table/table-cell.d.ts +16 -0
- package/dist/components/table/table-empty.d.ts +16 -0
- package/dist/components/table/table-footer.d.ts +13 -0
- package/dist/components/table/table-head.d.ts +16 -0
- package/dist/components/table/table-header.d.ts +13 -0
- package/dist/components/table/table-row.d.ts +16 -0
- package/dist/components/table/table.d.ts +13 -0
- package/dist/es/chunks/index.js +309 -65
- package/dist/es/chunks/index3.js +1 -1
- package/dist/es/chunks/modal-close.js +1 -1
- package/dist/es/chunks/pagination-first.js +33 -0
- package/dist/es/chunks/pagination-item.js +33 -0
- package/dist/es/chunks/pagination-last.js +33 -0
- package/dist/es/chunks/pagination-next.js +33 -0
- package/dist/es/chunks/pagination-previous.js +33 -0
- package/dist/es/chunks/select-group.js +1 -1
- package/dist/es/chunks/use-color-model.js +3 -0
- package/dist/es/combobox-group.js +1 -1
- package/dist/es/combobox-input.js +1 -1
- package/dist/es/combobox-item.js +1 -1
- package/dist/es/combobox-list.js +1 -1
- package/dist/es/combobox-root.js +1 -1
- package/dist/es/combobox-separator.js +1 -1
- package/dist/es/combobox-trigger.js +1 -1
- package/dist/es/command-group.js +1 -1
- package/dist/es/command-input.js +1 -1
- package/dist/es/command-item.js +1 -1
- package/dist/es/command-list.js +1 -1
- package/dist/es/command-root.js +1 -1
- package/dist/es/command-separator.js +1 -1
- package/dist/es/digit-input-slot.js +1 -1
- package/dist/es/digit-input.js +1 -1
- package/dist/es/dropdown-menu-content.js +1 -1
- package/dist/es/dropdown-menu-group.js +1 -1
- package/dist/es/dropdown-menu-item.js +1 -1
- package/dist/es/dropdown-menu-label.js +1 -1
- package/dist/es/dropdown-menu-separator.js +1 -1
- package/dist/es/dropdown-menu-sub-content.js +1 -1
- package/dist/es/dropdown-menu-sub-trigger.js +1 -1
- package/dist/es/dropdown-menu-trigger.js +1 -1
- package/dist/es/dropdown-menu.js +1 -1
- package/dist/es/index.js +51 -27
- package/dist/es/modal-content.js +1 -1
- package/dist/es/modal-header.js +1 -1
- package/dist/es/pagination-content.js +31 -0
- package/dist/es/pagination-ellipsis.js +35 -0
- package/dist/es/pagination-first.js +4 -0
- package/dist/es/pagination-item.js +4 -0
- package/dist/es/pagination-last.js +4 -0
- package/dist/es/pagination-next.js +4 -0
- package/dist/es/pagination-previous.js +4 -0
- package/dist/es/pagination.js +60 -0
- package/dist/es/popover-content.js +1 -1
- package/dist/es/popover-trigger.js +1 -1
- package/dist/es/progress-bar.js +1 -1
- package/dist/es/progress-circle.js +1 -1
- package/dist/es/scroll-bar.js +1 -1
- package/dist/es/segmented-control-item.js +1 -1
- package/dist/es/segmented-control.js +1 -1
- package/dist/es/select-content.js +1 -1
- package/dist/es/select-item.js +1 -1
- package/dist/es/select-trigger.js +1 -1
- package/dist/es/select-value.js +1 -1
- package/dist/es/tab-menu-content.js +1 -1
- package/dist/es/tab-menu-item.js +1 -1
- package/dist/es/tab-menu-list.js +1 -1
- package/dist/es/tab-menu.js +1 -1
- package/dist/es/table-body.js +24 -0
- package/dist/es/table-caption.js +24 -0
- package/dist/es/table-cell.js +26 -0
- package/dist/es/table-empty.js +44 -0
- package/dist/es/table-footer.js +24 -0
- package/dist/es/table-head.js +25 -0
- package/dist/es/table-header.js +21 -0
- package/dist/es/table-row.js +32 -0
- package/dist/es/table.js +27 -0
- package/dist/es/tooltip.js +1 -1
- package/package.json +4 -3
- package/src/components/color-picker/composable/use-color-model.ts +4 -0
- package/src/components/index.ts +1 -0
- package/src/components/pagination/index.ts +23 -0
- package/src/components/pagination/pagination-content.vue +36 -0
- package/src/components/pagination/pagination-ellipsis.vue +47 -0
- package/src/components/pagination/pagination-first.vue +29 -0
- package/src/components/pagination/pagination-item.vue +28 -0
- package/src/components/pagination/pagination-last.vue +29 -0
- package/src/components/pagination/pagination-next.vue +29 -0
- package/src/components/pagination/pagination-previous.vue +33 -0
- package/src/components/pagination/pagination.vue +157 -0
- package/src/components/pagination/stories/pagination.stories.ts +154 -0
- package/src/components/switch/switch.vue +34 -16
- package/src/components/table/index.ts +26 -0
- package/src/components/table/stories/table.stories.ts +138 -0
- package/src/components/table/table-body.vue +24 -0
- package/src/components/table/table-caption.vue +26 -0
- package/src/components/table/table-cell.vue +49 -0
- package/src/components/table/table-empty.vue +43 -0
- package/src/components/table/table-footer.vue +24 -0
- package/src/components/table/table-head.vue +47 -0
- package/src/components/table/table-header.vue +18 -0
- package/src/components/table/table-row.vue +52 -0
- package/src/components/table/table.vue +36 -0
package/dist/es/chunks/index.js
CHANGED
|
@@ -6764,8 +6764,244 @@ const Kc = ["value", "name", "disabled", "required"], [Eo, Hc] = Q("NumberFieldR
|
|
|
6764
6764
|
_: 3
|
|
6765
6765
|
}, 16, ["type", "style", "disabled", "data-disabled", "data-pressed"]));
|
|
6766
6766
|
}
|
|
6767
|
+
}), [ta, Wc] = Q("PaginationRoot"), by = /* @__PURE__ */ defineComponent({
|
|
6768
|
+
__name: "PaginationRoot",
|
|
6769
|
+
props: {
|
|
6770
|
+
page: {},
|
|
6771
|
+
defaultPage: { default: 1 },
|
|
6772
|
+
itemsPerPage: { default: 10 },
|
|
6773
|
+
total: { default: 0 },
|
|
6774
|
+
siblingCount: { default: 2 },
|
|
6775
|
+
disabled: { type: Boolean },
|
|
6776
|
+
showEdges: { type: Boolean, default: false },
|
|
6777
|
+
asChild: { type: Boolean },
|
|
6778
|
+
as: { default: "nav" }
|
|
6779
|
+
},
|
|
6780
|
+
emits: ["update:page"],
|
|
6781
|
+
setup(a2, { emit: t }) {
|
|
6782
|
+
const e = a2, n = t, { siblingCount: l, disabled: s, showEdges: r } = toRefs(e);
|
|
6783
|
+
R();
|
|
6784
|
+
const i = ne(e, "page", n, {
|
|
6785
|
+
defaultValue: e.defaultPage,
|
|
6786
|
+
passive: e.page === void 0
|
|
6787
|
+
}), u = computed(() => Math.max(1, Math.ceil(e.total / e.itemsPerPage)));
|
|
6788
|
+
return Wc({
|
|
6789
|
+
page: i,
|
|
6790
|
+
onPageChange(d) {
|
|
6791
|
+
i.value = d;
|
|
6792
|
+
},
|
|
6793
|
+
pageCount: u,
|
|
6794
|
+
siblingCount: l,
|
|
6795
|
+
disabled: s,
|
|
6796
|
+
showEdges: r
|
|
6797
|
+
}), (d, c) => (openBlock(), createBlock(unref(O), {
|
|
6798
|
+
as: d.as,
|
|
6799
|
+
"as-child": d.asChild
|
|
6800
|
+
}, {
|
|
6801
|
+
default: withCtx(() => [
|
|
6802
|
+
renderSlot(d.$slots, "default", {
|
|
6803
|
+
page: unref(i),
|
|
6804
|
+
pageCount: u.value
|
|
6805
|
+
})
|
|
6806
|
+
]),
|
|
6807
|
+
_: 3
|
|
6808
|
+
}, 8, ["as", "as-child"]));
|
|
6809
|
+
}
|
|
6810
|
+
}), Cy = /* @__PURE__ */ defineComponent({
|
|
6811
|
+
__name: "PaginationEllipsis",
|
|
6812
|
+
props: {
|
|
6813
|
+
asChild: { type: Boolean },
|
|
6814
|
+
as: {}
|
|
6815
|
+
},
|
|
6816
|
+
setup(a2) {
|
|
6817
|
+
const t = a2;
|
|
6818
|
+
return R(), (e, n) => (openBlock(), createBlock(unref(O), mergeProps(t, { "data-type": "ellipsis" }), {
|
|
6819
|
+
default: withCtx(() => [
|
|
6820
|
+
renderSlot(e.$slots, "default", {}, () => [
|
|
6821
|
+
createTextVNode("…")
|
|
6822
|
+
])
|
|
6823
|
+
]),
|
|
6824
|
+
_: 3
|
|
6825
|
+
}, 16));
|
|
6826
|
+
}
|
|
6827
|
+
}), wy = /* @__PURE__ */ defineComponent({
|
|
6828
|
+
__name: "PaginationFirst",
|
|
6829
|
+
props: {
|
|
6830
|
+
asChild: { type: Boolean },
|
|
6831
|
+
as: { default: "button" }
|
|
6832
|
+
},
|
|
6833
|
+
setup(a2) {
|
|
6834
|
+
const t = a2, e = ta();
|
|
6835
|
+
R();
|
|
6836
|
+
const n = computed(() => e.page.value === 1 || e.disabled.value);
|
|
6837
|
+
return (l, s) => (openBlock(), createBlock(unref(O), mergeProps(t, {
|
|
6838
|
+
"aria-label": "First Page",
|
|
6839
|
+
type: l.as === "button" ? "button" : void 0,
|
|
6840
|
+
disabled: n.value,
|
|
6841
|
+
onClick: s[0] || (s[0] = (r) => !n.value && unref(e).onPageChange(1))
|
|
6842
|
+
}), {
|
|
6843
|
+
default: withCtx(() => [
|
|
6844
|
+
renderSlot(l.$slots, "default", {}, () => [
|
|
6845
|
+
createTextVNode("First page")
|
|
6846
|
+
])
|
|
6847
|
+
]),
|
|
6848
|
+
_: 3
|
|
6849
|
+
}, 16, ["type", "disabled"]));
|
|
6850
|
+
}
|
|
6851
|
+
}), _y = /* @__PURE__ */ defineComponent({
|
|
6852
|
+
__name: "PaginationLast",
|
|
6853
|
+
props: {
|
|
6854
|
+
asChild: { type: Boolean },
|
|
6855
|
+
as: { default: "button" }
|
|
6856
|
+
},
|
|
6857
|
+
setup(a2) {
|
|
6858
|
+
const t = a2, e = ta();
|
|
6859
|
+
R();
|
|
6860
|
+
const n = computed(() => e.page.value === e.pageCount.value || e.disabled.value);
|
|
6861
|
+
return (l, s) => (openBlock(), createBlock(unref(O), mergeProps(t, {
|
|
6862
|
+
"aria-label": "Last Page",
|
|
6863
|
+
type: l.as === "button" ? "button" : void 0,
|
|
6864
|
+
disabled: n.value,
|
|
6865
|
+
onClick: s[0] || (s[0] = (r) => !n.value && unref(e).onPageChange(unref(e).pageCount.value))
|
|
6866
|
+
}), {
|
|
6867
|
+
default: withCtx(() => [
|
|
6868
|
+
renderSlot(l.$slots, "default", {}, () => [
|
|
6869
|
+
createTextVNode("Last page")
|
|
6870
|
+
])
|
|
6871
|
+
]),
|
|
6872
|
+
_: 3
|
|
6873
|
+
}, 16, ["type", "disabled"]));
|
|
6874
|
+
}
|
|
6767
6875
|
});
|
|
6768
|
-
|
|
6876
|
+
function it(a2, t) {
|
|
6877
|
+
const e = t - a2 + 1;
|
|
6878
|
+
return Array.from({ length: e }, (n, l) => l + a2);
|
|
6879
|
+
}
|
|
6880
|
+
function jc(a2) {
|
|
6881
|
+
return a2.map((t) => typeof t == "number" ? { type: "page", value: t } : { type: "ellipsis" });
|
|
6882
|
+
}
|
|
6883
|
+
const Ba = "ellipsis";
|
|
6884
|
+
function Uc(a2, t, e, n) {
|
|
6885
|
+
const s = t, r = Math.max(a2 - e, 1), i = Math.min(a2 + e, s);
|
|
6886
|
+
if (n) {
|
|
6887
|
+
const d = Math.min(2 * e + 5, t) - 2, c = r > 3 && Math.abs(s - d - 1 + 1) > 2 && Math.abs(r - 1) > 2, f = i < s - 2 && Math.abs(s - d) > 2 && Math.abs(s - i) > 2;
|
|
6888
|
+
if (!c && f)
|
|
6889
|
+
return [...it(1, d), Ba, s];
|
|
6890
|
+
if (c && !f) {
|
|
6891
|
+
const p = it(s - d + 1, s);
|
|
6892
|
+
return [1, Ba, ...p];
|
|
6893
|
+
}
|
|
6894
|
+
if (c && f) {
|
|
6895
|
+
const p = it(r, i);
|
|
6896
|
+
return [1, Ba, ...p, Ba, s];
|
|
6897
|
+
}
|
|
6898
|
+
return it(1, s);
|
|
6899
|
+
} else {
|
|
6900
|
+
const u = e * 2 + 1;
|
|
6901
|
+
return t < u ? it(1, s) : a2 <= e + 1 ? it(1, u) : t - a2 <= e ? it(t - u + 1, s) : it(r, i);
|
|
6902
|
+
}
|
|
6903
|
+
}
|
|
6904
|
+
const xy = /* @__PURE__ */ defineComponent({
|
|
6905
|
+
__name: "PaginationList",
|
|
6906
|
+
props: {
|
|
6907
|
+
asChild: { type: Boolean },
|
|
6908
|
+
as: {}
|
|
6909
|
+
},
|
|
6910
|
+
setup(a2) {
|
|
6911
|
+
const t = a2;
|
|
6912
|
+
R();
|
|
6913
|
+
const e = ta(), n = computed(() => jc(
|
|
6914
|
+
Uc(
|
|
6915
|
+
e.page.value,
|
|
6916
|
+
e.pageCount.value,
|
|
6917
|
+
e.siblingCount.value,
|
|
6918
|
+
e.showEdges.value
|
|
6919
|
+
)
|
|
6920
|
+
));
|
|
6921
|
+
return (l, s) => (openBlock(), createBlock(unref(O), normalizeProps(guardReactiveProps(t)), {
|
|
6922
|
+
default: withCtx(() => [
|
|
6923
|
+
renderSlot(l.$slots, "default", { items: n.value })
|
|
6924
|
+
]),
|
|
6925
|
+
_: 3
|
|
6926
|
+
}, 16));
|
|
6927
|
+
}
|
|
6928
|
+
}), Sy = /* @__PURE__ */ defineComponent({
|
|
6929
|
+
__name: "PaginationListItem",
|
|
6930
|
+
props: {
|
|
6931
|
+
value: {},
|
|
6932
|
+
asChild: { type: Boolean },
|
|
6933
|
+
as: { default: "button" }
|
|
6934
|
+
},
|
|
6935
|
+
setup(a2) {
|
|
6936
|
+
const t = a2;
|
|
6937
|
+
R();
|
|
6938
|
+
const e = ta(), n = computed(() => e.page.value === t.value), l = computed(() => e.disabled.value);
|
|
6939
|
+
return (s, r) => (openBlock(), createBlock(unref(O), mergeProps(t, {
|
|
6940
|
+
"data-type": "page",
|
|
6941
|
+
"aria-label": `Page ${s.value}`,
|
|
6942
|
+
"aria-current": n.value ? "page" : void 0,
|
|
6943
|
+
"data-selected": n.value ? "true" : void 0,
|
|
6944
|
+
disabled: l.value,
|
|
6945
|
+
type: s.as === "button" ? "button" : void 0,
|
|
6946
|
+
onClick: r[0] || (r[0] = (i) => !l.value && unref(e).onPageChange(s.value))
|
|
6947
|
+
}), {
|
|
6948
|
+
default: withCtx(() => [
|
|
6949
|
+
renderSlot(s.$slots, "default", {}, () => [
|
|
6950
|
+
createTextVNode(toDisplayString(s.value), 1)
|
|
6951
|
+
])
|
|
6952
|
+
]),
|
|
6953
|
+
_: 3
|
|
6954
|
+
}, 16, ["aria-label", "aria-current", "data-selected", "disabled", "type"]));
|
|
6955
|
+
}
|
|
6956
|
+
}), Ey = /* @__PURE__ */ defineComponent({
|
|
6957
|
+
__name: "PaginationNext",
|
|
6958
|
+
props: {
|
|
6959
|
+
asChild: { type: Boolean },
|
|
6960
|
+
as: { default: "button" }
|
|
6961
|
+
},
|
|
6962
|
+
setup(a2) {
|
|
6963
|
+
const t = a2;
|
|
6964
|
+
R();
|
|
6965
|
+
const e = ta(), n = computed(() => e.page.value === e.pageCount.value || e.disabled.value);
|
|
6966
|
+
return (l, s) => (openBlock(), createBlock(unref(O), mergeProps(t, {
|
|
6967
|
+
"aria-label": "Next Page",
|
|
6968
|
+
type: l.as === "button" ? "button" : void 0,
|
|
6969
|
+
disabled: n.value,
|
|
6970
|
+
onClick: s[0] || (s[0] = (r) => !n.value && unref(e).onPageChange(unref(e).page.value + 1))
|
|
6971
|
+
}), {
|
|
6972
|
+
default: withCtx(() => [
|
|
6973
|
+
renderSlot(l.$slots, "default", {}, () => [
|
|
6974
|
+
createTextVNode("Next page")
|
|
6975
|
+
])
|
|
6976
|
+
]),
|
|
6977
|
+
_: 3
|
|
6978
|
+
}, 16, ["type", "disabled"]));
|
|
6979
|
+
}
|
|
6980
|
+
}), Py = /* @__PURE__ */ defineComponent({
|
|
6981
|
+
__name: "PaginationPrev",
|
|
6982
|
+
props: {
|
|
6983
|
+
asChild: { type: Boolean },
|
|
6984
|
+
as: { default: "button" }
|
|
6985
|
+
},
|
|
6986
|
+
setup(a2) {
|
|
6987
|
+
const t = a2;
|
|
6988
|
+
R();
|
|
6989
|
+
const e = ta(), n = computed(() => e.page.value === 1 || e.disabled.value);
|
|
6990
|
+
return (l, s) => (openBlock(), createBlock(unref(O), mergeProps(t, {
|
|
6991
|
+
"aria-label": "Previous Page",
|
|
6992
|
+
type: l.as === "button" ? "button" : void 0,
|
|
6993
|
+
disabled: n.value,
|
|
6994
|
+
onClick: s[0] || (s[0] = (r) => !n.value && unref(e).onPageChange(unref(e).page.value - 1))
|
|
6995
|
+
}), {
|
|
6996
|
+
default: withCtx(() => [
|
|
6997
|
+
renderSlot(l.$slots, "default", {}, () => [
|
|
6998
|
+
createTextVNode("Prev page")
|
|
6999
|
+
])
|
|
7000
|
+
]),
|
|
7001
|
+
_: 3
|
|
7002
|
+
}, 16, ["type", "disabled"]));
|
|
7003
|
+
}
|
|
7004
|
+
}), Gc = ["id", "value", "name", "disabled", "required"], [qc, Yc] = Q("PinInputRoot"), Dy = /* @__PURE__ */ defineComponent({
|
|
6769
7005
|
inheritAttrs: false,
|
|
6770
7006
|
__name: "PinInputRoot",
|
|
6771
7007
|
props: {
|
|
@@ -10374,81 +10610,89 @@ const av = /* @__PURE__ */ defineComponent({
|
|
|
10374
10610
|
}
|
|
10375
10611
|
});
|
|
10376
10612
|
export {
|
|
10377
|
-
|
|
10613
|
+
Yv as $,
|
|
10378
10614
|
At as A,
|
|
10379
|
-
|
|
10380
|
-
|
|
10381
|
-
|
|
10382
|
-
|
|
10615
|
+
arrow$1 as B,
|
|
10616
|
+
size as C,
|
|
10617
|
+
autoPlacement as D,
|
|
10618
|
+
Ey as E,
|
|
10383
10619
|
Fy as F,
|
|
10384
|
-
|
|
10385
|
-
|
|
10386
|
-
|
|
10387
|
-
|
|
10620
|
+
Gl as G,
|
|
10621
|
+
hide as H,
|
|
10622
|
+
inline as I,
|
|
10623
|
+
computePosition as J,
|
|
10388
10624
|
Kv as K,
|
|
10389
|
-
|
|
10390
|
-
|
|
10625
|
+
yg as L,
|
|
10626
|
+
gg as M,
|
|
10391
10627
|
Ny as N,
|
|
10392
10628
|
Oy as O,
|
|
10393
|
-
|
|
10629
|
+
Py as P,
|
|
10394
10630
|
Qf as Q,
|
|
10395
10631
|
Ry as R,
|
|
10396
|
-
|
|
10632
|
+
Sy as S,
|
|
10397
10633
|
Ty as T,
|
|
10398
|
-
|
|
10399
|
-
|
|
10634
|
+
Cg as U,
|
|
10635
|
+
bg as V,
|
|
10400
10636
|
Wy as W,
|
|
10401
10637
|
Oh as X,
|
|
10402
10638
|
qv as Y,
|
|
10403
10639
|
Zv as Z,
|
|
10404
|
-
|
|
10405
|
-
|
|
10406
|
-
|
|
10407
|
-
|
|
10408
|
-
|
|
10409
|
-
|
|
10410
|
-
|
|
10411
|
-
|
|
10412
|
-
|
|
10413
|
-
|
|
10414
|
-
|
|
10415
|
-
|
|
10416
|
-
|
|
10417
|
-
|
|
10418
|
-
|
|
10419
|
-
|
|
10420
|
-
|
|
10421
|
-
|
|
10422
|
-
|
|
10423
|
-
|
|
10424
|
-
|
|
10425
|
-
|
|
10426
|
-
|
|
10427
|
-
|
|
10428
|
-
|
|
10429
|
-
|
|
10430
|
-
|
|
10431
|
-
|
|
10432
|
-
|
|
10433
|
-
|
|
10434
|
-
|
|
10435
|
-
|
|
10436
|
-
|
|
10437
|
-
|
|
10438
|
-
|
|
10439
|
-
|
|
10440
|
-
|
|
10441
|
-
|
|
10442
|
-
|
|
10443
|
-
|
|
10444
|
-
|
|
10445
|
-
|
|
10446
|
-
|
|
10447
|
-
|
|
10448
|
-
|
|
10449
|
-
|
|
10450
|
-
|
|
10451
|
-
|
|
10640
|
+
_y as _,
|
|
10641
|
+
Gy as a,
|
|
10642
|
+
Wv as a0,
|
|
10643
|
+
Qv as a1,
|
|
10644
|
+
nm as a2,
|
|
10645
|
+
Xv as a3,
|
|
10646
|
+
Jv as a4,
|
|
10647
|
+
Hv as a5,
|
|
10648
|
+
tm as a6,
|
|
10649
|
+
Uv as a7,
|
|
10650
|
+
$y as a8,
|
|
10651
|
+
Dy as a9,
|
|
10652
|
+
lv as aA,
|
|
10653
|
+
zy as aB,
|
|
10654
|
+
Ky as aC,
|
|
10655
|
+
Xy as aD,
|
|
10656
|
+
jy as aE,
|
|
10657
|
+
Yy as aF,
|
|
10658
|
+
Uy as aG,
|
|
10659
|
+
Ly as aH,
|
|
10660
|
+
eg as aI,
|
|
10661
|
+
Qy as aJ,
|
|
10662
|
+
Lg as aK,
|
|
10663
|
+
zg as aL,
|
|
10664
|
+
Kg as aM,
|
|
10665
|
+
jg as aN,
|
|
10666
|
+
Hg as aO,
|
|
10667
|
+
Wg as aP,
|
|
10668
|
+
My as aQ,
|
|
10669
|
+
Vy as aR,
|
|
10670
|
+
ih as aa,
|
|
10671
|
+
uh as ab,
|
|
10672
|
+
fh as ac,
|
|
10673
|
+
ch as ad,
|
|
10674
|
+
hh as ae,
|
|
10675
|
+
ph as af,
|
|
10676
|
+
Ch as ag,
|
|
10677
|
+
wh as ah,
|
|
10678
|
+
rh as ai,
|
|
10679
|
+
sh as aj,
|
|
10680
|
+
Dv as ak,
|
|
10681
|
+
Eu as al,
|
|
10682
|
+
xu as am,
|
|
10683
|
+
Pu as an,
|
|
10684
|
+
Du as ao,
|
|
10685
|
+
xy as ap,
|
|
10686
|
+
Cy as aq,
|
|
10687
|
+
by as ar,
|
|
10688
|
+
bs as as,
|
|
10689
|
+
ws as at,
|
|
10690
|
+
_s as au,
|
|
10691
|
+
xs as av,
|
|
10692
|
+
gs as aw,
|
|
10693
|
+
By as ax,
|
|
10694
|
+
Iy as ay,
|
|
10695
|
+
sv as az,
|
|
10452
10696
|
bh as b,
|
|
10453
10697
|
tg as c,
|
|
10454
10698
|
ag as d,
|
|
@@ -10470,7 +10714,7 @@ export {
|
|
|
10470
10714
|
tu as t,
|
|
10471
10715
|
shift as u,
|
|
10472
10716
|
offset as v,
|
|
10473
|
-
|
|
10717
|
+
wy as w,
|
|
10474
10718
|
xe as x,
|
|
10475
10719
|
ys as y,
|
|
10476
10720
|
zv as z
|
package/dist/es/chunks/index3.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { P as PluginKey, S as Selection, k as keydownHandler, a as SelectionRange, T as TextSelection, F as Fragment, b as Slice, E as Extension, c as Plugin, i as isTextSelection, p as posToDOMRect, g as getText, d as getTextSerializersFromSchema } from "./index4.js";
|
|
2
|
-
import { s as flip, u as shift, v as offset,
|
|
2
|
+
import { s as flip, u as shift, v as offset, B as arrow$1, C as size, D as autoPlacement, H as hide, I as inline, J as computePosition } from "./index.js";
|
|
3
3
|
import { defineComponent, ref, onMounted, onBeforeUnmount, h, Teleport } from "vue";
|
|
4
4
|
var readFromCache;
|
|
5
5
|
var addToCache;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { G as Gl } from "./index.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "modal-close",
|
|
5
5
|
props: {
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createElementVNode } from "vue";
|
|
2
|
+
import { c as clsx } from "./clsx.js";
|
|
3
|
+
import { A as At, w as wy } from "./index.js";
|
|
4
|
+
import { r as reactiveOmit } from "./index2.js";
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "pagination-first",
|
|
7
|
+
props: {
|
|
8
|
+
class: {},
|
|
9
|
+
asChild: { type: Boolean },
|
|
10
|
+
as: {}
|
|
11
|
+
},
|
|
12
|
+
setup(__props) {
|
|
13
|
+
const props = __props;
|
|
14
|
+
const delegated = reactiveOmit(props, "class");
|
|
15
|
+
const forwarded = At(delegated);
|
|
16
|
+
return (_ctx, _cache) => {
|
|
17
|
+
return openBlock(), createBlock(unref(wy), mergeProps({
|
|
18
|
+
class: unref(clsx)("celeste-pagination-element", "celeste-pagination-first", props.class),
|
|
19
|
+
"data-slot": "pagination-first"
|
|
20
|
+
}, unref(forwarded)), {
|
|
21
|
+
default: withCtx(() => [
|
|
22
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
23
|
+
_cache[0] || (_cache[0] = createElementVNode("i", { class: "i-celeste-arrow-left-double-line" }, null, -1))
|
|
24
|
+
])
|
|
25
|
+
]),
|
|
26
|
+
_: 3
|
|
27
|
+
}, 16, ["class"]);
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
export {
|
|
32
|
+
_sfc_main as _
|
|
33
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
+
import { c as clsx } from "./clsx.js";
|
|
3
|
+
import { S as Sy } from "./index.js";
|
|
4
|
+
import { r as reactiveOmit } from "./index2.js";
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "pagination-item",
|
|
7
|
+
props: {
|
|
8
|
+
class: {},
|
|
9
|
+
isActive: { type: Boolean },
|
|
10
|
+
disabled: { type: Boolean },
|
|
11
|
+
value: {},
|
|
12
|
+
asChild: { type: Boolean },
|
|
13
|
+
as: {}
|
|
14
|
+
},
|
|
15
|
+
setup(__props) {
|
|
16
|
+
const props = __props;
|
|
17
|
+
const delegated = reactiveOmit(props, "class", "isActive", "disabled");
|
|
18
|
+
return (_ctx, _cache) => {
|
|
19
|
+
return openBlock(), createBlock(unref(Sy), mergeProps(unref(delegated), {
|
|
20
|
+
"data-slot": "pagination-item",
|
|
21
|
+
class: unref(clsx)("celeste-pagination-element", "celeste-pagination-item", props.class, { "celeste-pagination-item-active": props.isActive }, props.disabled && "celeste-pagination-item-disabled")
|
|
22
|
+
}), {
|
|
23
|
+
default: withCtx(() => [
|
|
24
|
+
renderSlot(_ctx.$slots, "default")
|
|
25
|
+
]),
|
|
26
|
+
_: 3
|
|
27
|
+
}, 16, ["class"]);
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
export {
|
|
32
|
+
_sfc_main as _
|
|
33
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createElementVNode } from "vue";
|
|
2
|
+
import { c as clsx } from "./clsx.js";
|
|
3
|
+
import { A as At, _ as _y } from "./index.js";
|
|
4
|
+
import { r as reactiveOmit } from "./index2.js";
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "pagination-last",
|
|
7
|
+
props: {
|
|
8
|
+
class: {},
|
|
9
|
+
asChild: { type: Boolean },
|
|
10
|
+
as: {}
|
|
11
|
+
},
|
|
12
|
+
setup(__props) {
|
|
13
|
+
const props = __props;
|
|
14
|
+
const delegated = reactiveOmit(props, "class");
|
|
15
|
+
const forwarded = At(delegated);
|
|
16
|
+
return (_ctx, _cache) => {
|
|
17
|
+
return openBlock(), createBlock(unref(_y), mergeProps({
|
|
18
|
+
class: unref(clsx)("celeste-pagination-element", "celeste-pagination-last", props.class),
|
|
19
|
+
"data-slot": "pagination-last"
|
|
20
|
+
}, unref(forwarded)), {
|
|
21
|
+
default: withCtx(() => [
|
|
22
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
23
|
+
_cache[0] || (_cache[0] = createElementVNode("i", { class: "i-celeste-arrow-right-double-line" }, null, -1))
|
|
24
|
+
])
|
|
25
|
+
]),
|
|
26
|
+
_: 3
|
|
27
|
+
}, 16, ["class"]);
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
export {
|
|
32
|
+
_sfc_main as _
|
|
33
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createElementVNode } from "vue";
|
|
2
|
+
import { c as clsx } from "./clsx.js";
|
|
3
|
+
import { A as At, E as Ey } from "./index.js";
|
|
4
|
+
import { r as reactiveOmit } from "./index2.js";
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "pagination-next",
|
|
7
|
+
props: {
|
|
8
|
+
class: {},
|
|
9
|
+
asChild: { type: Boolean },
|
|
10
|
+
as: {}
|
|
11
|
+
},
|
|
12
|
+
setup(__props) {
|
|
13
|
+
const props = __props;
|
|
14
|
+
const delegated = reactiveOmit(props, "class");
|
|
15
|
+
const forwarded = At(delegated);
|
|
16
|
+
return (_ctx, _cache) => {
|
|
17
|
+
return openBlock(), createBlock(unref(Ey), mergeProps({
|
|
18
|
+
class: unref(clsx)("celeste-pagination-element", "celeste-pagination-next", props.class),
|
|
19
|
+
"data-slot": "pagination-next"
|
|
20
|
+
}, unref(forwarded)), {
|
|
21
|
+
default: withCtx(() => [
|
|
22
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
23
|
+
_cache[0] || (_cache[0] = createElementVNode("i", { class: "i-celeste-arrow-right-s-line" }, null, -1))
|
|
24
|
+
])
|
|
25
|
+
]),
|
|
26
|
+
_: 3
|
|
27
|
+
}, 16, ["class"]);
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
export {
|
|
32
|
+
_sfc_main as _
|
|
33
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createElementVNode } from "vue";
|
|
2
|
+
import { c as clsx } from "./clsx.js";
|
|
3
|
+
import { A as At, P as Py } from "./index.js";
|
|
4
|
+
import { r as reactiveOmit } from "./index2.js";
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "pagination-previous",
|
|
7
|
+
props: {
|
|
8
|
+
class: {},
|
|
9
|
+
asChild: { type: Boolean },
|
|
10
|
+
as: {}
|
|
11
|
+
},
|
|
12
|
+
setup(__props) {
|
|
13
|
+
const props = __props;
|
|
14
|
+
const delegated = reactiveOmit(props, "class");
|
|
15
|
+
const forwarded = At(delegated);
|
|
16
|
+
return (_ctx, _cache) => {
|
|
17
|
+
return openBlock(), createBlock(unref(Py), mergeProps({
|
|
18
|
+
class: unref(clsx)("celeste-pagination-element", "celeste-pagination-previous", props.class),
|
|
19
|
+
"data-slot": "pagination-previous"
|
|
20
|
+
}, unref(forwarded)), {
|
|
21
|
+
default: withCtx(() => [
|
|
22
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
23
|
+
_cache[0] || (_cache[0] = createElementVNode("i", { class: "i-celeste-arrow-left-s-line" }, null, -1))
|
|
24
|
+
])
|
|
25
|
+
]),
|
|
26
|
+
_: 3
|
|
27
|
+
}, 16, ["class"]);
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
export {
|
|
32
|
+
_sfc_main as _
|
|
33
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, unref, normalizeProps, guardReactiveProps, withCtx, renderSlot } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a as Gy } from "./index.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "select-group",
|
|
5
5
|
props: {
|
|
@@ -984,6 +984,9 @@ function defineColorModel(props, emit) {
|
|
|
984
984
|
return tinyColorRef;
|
|
985
985
|
}
|
|
986
986
|
function transformToOriginalInputFormat(color, originalFormat) {
|
|
987
|
+
if (originalFormat === "hex" && color.getAlpha() < 1) {
|
|
988
|
+
return color.toString("hex8");
|
|
989
|
+
}
|
|
987
990
|
return color.toString(originalFormat);
|
|
988
991
|
}
|
|
989
992
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, createTextVNode, toDisplayString, createCommentVNode, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import { Y as qv,
|
|
3
|
+
import { Y as qv, $ as Yv } from "./chunks/index.js";
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "combobox-group",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, mergeModels, useModel, computed, openBlock, createBlock, unref, mergeProps, withCtx, createVNode, createElementVNode } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { a0 as Wv } from "./chunks/index.js";
|
|
4
4
|
import TextInput from "./text-input.js";
|
|
5
5
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
package/dist/es/combobox-item.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, createElementVNode, normalizeClass, createCommentVNode, createElementBlock, renderSlot, toDisplayString } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import { x as xe,
|
|
3
|
+
import { x as xe, a1 as Qv } from "./chunks/index.js";
|
|
4
4
|
import { _ as _sfc_main$1 } from "./chunks/checkbox.vue_vue_type_style_index_0_lang.js";
|
|
5
5
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
6
|
const _hoisted_1 = ["aria-disabled"];
|
package/dist/es/combobox-list.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createVNode, mergeProps, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import { x as xe,
|
|
3
|
+
import { x as xe, a2 as nm, a3 as Xv, a4 as Jv } from "./chunks/index.js";
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "combobox-list",
|
package/dist/es/combobox-root.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
-
import { x as xe,
|
|
2
|
+
import { x as xe, a5 as Hv } from "./chunks/index.js";
|
|
3
3
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "combobox-root",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { a6 as tm } from "./chunks/index.js";
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "combobox-separator",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import { A as At,
|
|
3
|
+
import { A as At, a7 as Uv } from "./chunks/index.js";
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "combobox-trigger",
|