@youcan/celeste 0.6.57 → 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.
Files changed (102) hide show
  1. package/dist/celeste.css +155 -18
  2. package/dist/cjs/chunks/index.js +245 -1
  3. package/dist/cjs/chunks/pagination-first.js +32 -0
  4. package/dist/cjs/chunks/pagination-item.js +32 -0
  5. package/dist/cjs/chunks/pagination-last.js +32 -0
  6. package/dist/cjs/chunks/pagination-next.js +32 -0
  7. package/dist/cjs/chunks/pagination-previous.js +32 -0
  8. package/dist/cjs/index.js +24 -0
  9. package/dist/cjs/pagination-content.js +30 -0
  10. package/dist/cjs/pagination-ellipsis.js +34 -0
  11. package/dist/cjs/pagination-first.js +3 -0
  12. package/dist/cjs/pagination-item.js +3 -0
  13. package/dist/cjs/pagination-last.js +3 -0
  14. package/dist/cjs/pagination-next.js +3 -0
  15. package/dist/cjs/pagination-previous.js +3 -0
  16. package/dist/cjs/pagination.js +59 -0
  17. package/dist/components/index.d.ts +1 -0
  18. package/dist/components/pagination/index.d.ts +16 -0
  19. package/dist/components/pagination/pagination-content.d.ts +21 -0
  20. package/dist/components/pagination/pagination-ellipsis.d.ts +14 -0
  21. package/dist/components/pagination/pagination-first.d.ts +14 -0
  22. package/dist/components/pagination/pagination-item.d.ts +16 -0
  23. package/dist/components/pagination/pagination-last.d.ts +14 -0
  24. package/dist/components/pagination/pagination-next.d.ts +14 -0
  25. package/dist/components/pagination/pagination-previous.d.ts +14 -0
  26. package/dist/components/pagination/pagination.d.ts +32 -0
  27. package/dist/es/checkbox-card.js +1 -1
  28. package/dist/es/checkbox-label.js +1 -1
  29. package/dist/es/chunks/index.js +309 -65
  30. package/dist/es/chunks/index3.js +1 -1
  31. package/dist/es/chunks/pagination-first.js +33 -0
  32. package/dist/es/chunks/pagination-item.js +33 -0
  33. package/dist/es/chunks/pagination-last.js +33 -0
  34. package/dist/es/chunks/pagination-next.js +33 -0
  35. package/dist/es/chunks/pagination-previous.js +33 -0
  36. package/dist/es/combobox-group.js +1 -1
  37. package/dist/es/combobox-input.js +1 -1
  38. package/dist/es/combobox-item.js +1 -1
  39. package/dist/es/combobox-list.js +1 -1
  40. package/dist/es/combobox-root.js +1 -1
  41. package/dist/es/combobox-separator.js +1 -1
  42. package/dist/es/combobox-trigger.js +1 -1
  43. package/dist/es/command-group.js +1 -1
  44. package/dist/es/command-input.js +1 -1
  45. package/dist/es/command-item.js +1 -1
  46. package/dist/es/command-list.js +1 -1
  47. package/dist/es/command-root.js +1 -1
  48. package/dist/es/command-separator.js +1 -1
  49. package/dist/es/digit-input-slot.js +1 -1
  50. package/dist/es/digit-input.js +1 -1
  51. package/dist/es/dropdown-menu-content.js +1 -1
  52. package/dist/es/dropdown-menu-group.js +1 -1
  53. package/dist/es/dropdown-menu-item.js +1 -1
  54. package/dist/es/dropdown-menu-label.js +1 -1
  55. package/dist/es/dropdown-menu-separator.js +1 -1
  56. package/dist/es/dropdown-menu-sub-content.js +1 -1
  57. package/dist/es/dropdown-menu-sub-trigger.js +1 -1
  58. package/dist/es/dropdown-menu-trigger.js +1 -1
  59. package/dist/es/dropdown-menu.js +1 -1
  60. package/dist/es/index.js +51 -27
  61. package/dist/es/label.js +1 -1
  62. package/dist/es/modal-content.js +1 -1
  63. package/dist/es/modal-header.js +1 -1
  64. package/dist/es/pagination-content.js +31 -0
  65. package/dist/es/pagination-ellipsis.js +35 -0
  66. package/dist/es/pagination-first.js +4 -0
  67. package/dist/es/pagination-item.js +4 -0
  68. package/dist/es/pagination-last.js +4 -0
  69. package/dist/es/pagination-next.js +4 -0
  70. package/dist/es/pagination-previous.js +4 -0
  71. package/dist/es/pagination.js +60 -0
  72. package/dist/es/popover-content.js +1 -1
  73. package/dist/es/popover-trigger.js +1 -1
  74. package/dist/es/progress-bar.js +1 -1
  75. package/dist/es/progress-circle.js +1 -1
  76. package/dist/es/radio-group-card.js +1 -1
  77. package/dist/es/radio-group-label.js +1 -1
  78. package/dist/es/scroll-bar.js +1 -1
  79. package/dist/es/segmented-control-item.js +1 -1
  80. package/dist/es/segmented-control.js +1 -1
  81. package/dist/es/select-content.js +1 -1
  82. package/dist/es/select-item.js +1 -1
  83. package/dist/es/select-trigger.js +1 -1
  84. package/dist/es/select-value.js +1 -1
  85. package/dist/es/tab-menu-content.js +1 -1
  86. package/dist/es/tab-menu-item.js +1 -1
  87. package/dist/es/tab-menu-list.js +1 -1
  88. package/dist/es/tab-menu.js +1 -1
  89. package/dist/es/tooltip.js +1 -1
  90. package/package.json +3 -3
  91. package/src/components/index.ts +1 -0
  92. package/src/components/pagination/index.ts +23 -0
  93. package/src/components/pagination/pagination-content.vue +36 -0
  94. package/src/components/pagination/pagination-ellipsis.vue +47 -0
  95. package/src/components/pagination/pagination-first.vue +29 -0
  96. package/src/components/pagination/pagination-item.vue +28 -0
  97. package/src/components/pagination/pagination-last.vue +29 -0
  98. package/src/components/pagination/pagination-next.vue +29 -0
  99. package/src/components/pagination/pagination-previous.vue +33 -0
  100. package/src/components/pagination/pagination.vue +157 -0
  101. package/src/components/pagination/stories/pagination.stories.ts +154 -0
  102. package/src/components/switch/switch.vue +34 -16
@@ -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,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 { S as qv, Y as Yv } from "./chunks/index.js";
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 { U as Wv } from "./chunks/index.js";
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({
@@ -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, V as Qv } from "./chunks/index.js";
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"];
@@ -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, X as nm, _ as Xv, $ as Jv } from "./chunks/index.js";
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",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
2
- import { x as xe, a0 as Hv } from "./chunks/index.js";
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 { a1 as tm } from "./chunks/index.js";
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, a2 as Uv } from "./chunks/index.js";
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",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, createTextVNode, toDisplayString, createCommentVNode, renderSlot } from "vue";
2
- import { S as qv, Y as Yv } from "./chunks/index.js";
2
+ import { Y as qv, $ as Yv } 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: "command-group",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, createVNode, unref, mergeProps } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
- import { A as At, U as Wv } from "./chunks/index.js";
3
+ import { A as At, a0 as Wv } from "./chunks/index.js";
4
4
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
5
5
  const _hoisted_1 = {
6
6
  class: "celeste-command-input",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
2
- import { x as xe, V as Qv } from "./chunks/index.js";
2
+ import { x as xe, a1 as Qv } from "./chunks/index.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "command-item",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, createElementVNode, renderSlot } from "vue";
2
- import { x as xe, _ as Xv } from "./chunks/index.js";
2
+ import { x as xe, a3 as Xv } from "./chunks/index.js";
3
3
  const _hoisted_1 = { role: "presentation" };
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "command-list",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
2
- import { x as xe, a0 as Hv } from "./chunks/index.js";
2
+ import { x as xe, a5 as Hv } from "./chunks/index.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "command-root",
5
5
  props: {
@@ -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 { a1 as tm } from "./chunks/index.js";
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: "command-separator",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, mergeProps } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
- import { A as At, a3 as $y } from "./chunks/index.js";
3
+ import { A as At, a8 as $y } from "./chunks/index.js";
4
4
  import { r as reactiveOmit } from "./chunks/index2.js";
5
5
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
2
2
  import { c as clsx } from "./chunks/clsx.js";
3
- import { x as xe, a4 as Dy } from "./chunks/index.js";
3
+ import { x as xe, a9 as Dy } from "./chunks/index.js";
4
4
  import { r as reactiveOmit } from "./chunks/index2.js";
5
5
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, withCtx, createVNode, mergeProps, renderSlot } from "vue";
2
2
  import { useDelegatedProps } from "./use-delegated-props.js";
3
3
  import { c as clsx } from "./chunks/clsx.js";
4
- import { x as xe, a5 as ih, a6 as uh } from "./chunks/index.js";
4
+ import { x as xe, aa as ih, ab as uh } from "./chunks/index.js";
5
5
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "dropdown-menu-content",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
2
- import { a7 as fh } from "./chunks/index.js";
2
+ import { ac as fh } 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: "dropdown-menu-group",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, createElementBlock, renderSlot, createCommentVNode, createElementVNode } from "vue";
2
2
  import { useDelegatedProps } from "./use-delegated-props.js";
3
3
  import { c as clsx } from "./chunks/clsx.js";
4
- import { A as At, a8 as ch } from "./chunks/index.js";
4
+ import { A as At, ad as ch } from "./chunks/index.js";
5
5
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
6
6
  const _hoisted_1 = {
7
7
  key: 0,
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
2
2
  import { useDelegatedProps } from "./use-delegated-props.js";
3
3
  import { c as clsx } from "./chunks/clsx.js";
4
- import { A as At, a9 as hh } from "./chunks/index.js";
4
+ import { A as At, ae as hh } from "./chunks/index.js";
5
5
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "dropdown-menu-label",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, mergeProps } from "vue";
2
2
  import { useDelegatedProps } from "./use-delegated-props.js";
3
3
  import { c as clsx } from "./chunks/clsx.js";
4
- import { aa as ph } from "./chunks/index.js";
4
+ import { af as ph } from "./chunks/index.js";
5
5
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "dropdown-menu-separator",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, withCtx, createVNode, mergeProps, renderSlot } from "vue";
2
2
  import { useDelegatedProps } from "./use-delegated-props.js";
3
3
  import { c as clsx } from "./chunks/clsx.js";
4
- import { x as xe, a5 as ih, ab as Ch } from "./chunks/index.js";
4
+ import { x as xe, aa as ih, ag as Ch } from "./chunks/index.js";
5
5
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "dropdown-menu-sub-content",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, createElementBlock, renderSlot, createCommentVNode, createElementVNode } from "vue";
2
2
  import { useDelegatedProps } from "./use-delegated-props.js";
3
3
  import { c as clsx } from "./chunks/clsx.js";
4
- import { A as At, ac as wh } from "./chunks/index.js";
4
+ import { A as At, ah as wh } from "./chunks/index.js";
5
5
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
6
6
  const _hoisted_1 = {
7
7
  key: 0,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
2
- import { A as At, ad as rh } from "./chunks/index.js";
2
+ import { A as At, ai as rh } 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: "dropdown-menu-trigger",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
2
2
  import { useDelegatedProps } from "./use-delegated-props.js";
3
- import { ae as sh } from "./chunks/index.js";
3
+ import { aj as sh } 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: "dropdown-menu",
package/dist/es/index.js CHANGED
@@ -49,32 +49,40 @@ import modalFooter from "./modal-footer.js";
49
49
  import modalHeader from "./modal-header.js";
50
50
  import { _ as _sfc_main$8 } from "./chunks/modal-trigger.js";
51
51
  import { _ as _sfc_main$6 } from "./chunks/modal.js";
52
+ import paginationContent from "./pagination-content.js";
53
+ import paginationEllipsis from "./pagination-ellipsis.js";
54
+ import { _ as _sfc_main$9 } from "./chunks/pagination-first.js";
55
+ import { _ as _sfc_main$a } from "./chunks/pagination-item.js";
56
+ import { _ as _sfc_main$b } from "./chunks/pagination-last.js";
57
+ import { _ as _sfc_main$c } from "./chunks/pagination-next.js";
58
+ import { _ as _sfc_main$d } from "./chunks/pagination-previous.js";
59
+ import pagination from "./pagination.js";
52
60
  import PopoverContent from "./popover-content.js";
53
61
  import PopoverTrigger from "./popover-trigger.js";
54
- import { _ as _sfc_main$9 } from "./chunks/popover.js";
62
+ import { _ as _sfc_main$e } from "./chunks/popover.js";
55
63
  import progressBar from "./progress-bar.js";
56
64
  import progressCircle from "./progress-circle.js";
57
65
  import radioGroupCard from "./radio-group-card.js";
58
- import { _ as _sfc_main$b } from "./chunks/radio-group-item.vue_vue_type_style_index_0_lang.js";
66
+ import { _ as _sfc_main$g } from "./chunks/radio-group-item.vue_vue_type_style_index_0_lang.js";
59
67
  import radioGroupLabel from "./radio-group-label.js";
60
- import { _ as _sfc_main$a } from "./chunks/radio-group.vue_vue_type_style_index_0_lang.js";
68
+ import { _ as _sfc_main$f } from "./chunks/radio-group.vue_vue_type_style_index_0_lang.js";
61
69
  import richEditor from "./rich-editor.js";
62
- import { _ as _sfc_main$c } from "./chunks/scroll-area.js";
70
+ import { _ as _sfc_main$h } from "./chunks/scroll-area.js";
63
71
  import segmentedControlItem from "./segmented-control-item.js";
64
72
  import segmentedControl from "./segmented-control.js";
65
73
  import SelectContent from "./select-content.js";
66
- import { _ as _sfc_main$e } from "./chunks/select-group.js";
74
+ import { _ as _sfc_main$j } from "./chunks/select-group.js";
67
75
  import SelectIcon from "./select-icon.js";
68
76
  import SelectItem from "./select-item.js";
69
77
  import selectLabel from "./select-label.js";
70
78
  import selectSeparator from "./select-separator.js";
71
79
  import SelectTrigger from "./select-trigger.js";
72
80
  import SelectValue from "./select-value.js";
73
- import { _ as _sfc_main$d } from "./chunks/select.js";
74
- import { _ as _sfc_main$f } from "./chunks/slider.vue_vue_type_style_index_0_lang.js";
81
+ import { _ as _sfc_main$i } from "./chunks/select.js";
82
+ import { _ as _sfc_main$k } from "./chunks/slider.vue_vue_type_style_index_0_lang.js";
75
83
  import SonnerAlert from "./sonner-alert.js";
76
- import { _ as _sfc_main$g, t as toast$1 } from "./chunks/sonner.js";
77
- import { _ as _sfc_main$h } from "./chunks/switch.vue_vue_type_style_index_0_lang.js";
84
+ import { _ as _sfc_main$l, t as toast$1 } from "./chunks/sonner.js";
85
+ import { _ as _sfc_main$m } from "./chunks/switch.vue_vue_type_style_index_0_lang.js";
78
86
  import tabMenuContent from "./tab-menu-content.js";
79
87
  import tabMenuItem from "./tab-menu-item.js";
80
88
  import tabMenuList from "./tab-menu-list.js";
@@ -139,34 +147,42 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
139
147
  ModalFooter: modalFooter,
140
148
  ModalHeader: modalHeader,
141
149
  ModalTrigger: _sfc_main$8,
142
- Popover: _sfc_main$9,
150
+ Pagination: pagination,
151
+ PaginationContent: paginationContent,
152
+ PaginationEllipsis: paginationEllipsis,
153
+ PaginationFirst: _sfc_main$9,
154
+ PaginationItem: _sfc_main$a,
155
+ PaginationLast: _sfc_main$b,
156
+ PaginationNext: _sfc_main$c,
157
+ PaginationPrevious: _sfc_main$d,
158
+ Popover: _sfc_main$e,
143
159
  PopoverContent,
144
160
  PopoverTrigger,
145
161
  ProgressBar: progressBar,
146
162
  ProgressCircle: progressCircle,
147
- RadioGroup: _sfc_main$a,
163
+ RadioGroup: _sfc_main$f,
148
164
  RadioGroupCard: radioGroupCard,
149
- RadioGroupItem: _sfc_main$b,
165
+ RadioGroupItem: _sfc_main$g,
150
166
  RadioGroupLabel: radioGroupLabel,
151
167
  RichEditor: richEditor,
152
- ScrollArea: _sfc_main$c,
168
+ ScrollArea: _sfc_main$h,
153
169
  SegmentedControl: segmentedControl,
154
170
  SegmentedControlItem: segmentedControlItem,
155
- Select: _sfc_main$d,
171
+ Select: _sfc_main$i,
156
172
  SelectContent,
157
- SelectGroup: _sfc_main$e,
173
+ SelectGroup: _sfc_main$j,
158
174
  SelectIcon,
159
175
  SelectItem,
160
176
  SelectLabel: selectLabel,
161
177
  SelectSeparator: selectSeparator,
162
178
  SelectTrigger,
163
179
  SelectValue,
164
- Slider: _sfc_main$f,
180
+ Slider: _sfc_main$k,
165
181
  SocialButton: socialButton,
166
- Sonner: _sfc_main$g,
182
+ Sonner: _sfc_main$l,
167
183
  SonnerAlert,
168
184
  StatusBadge: statusBadge,
169
- Switch: _sfc_main$h,
185
+ Switch: _sfc_main$m,
170
186
  TabMenu: tabMenu,
171
187
  TabMenuContent: tabMenuContent,
172
188
  TabMenuItem: tabMenuItem,
@@ -288,34 +304,42 @@ export {
288
304
  modalFooter as ModalFooter,
289
305
  modalHeader as ModalHeader,
290
306
  _sfc_main$8 as ModalTrigger,
291
- _sfc_main$9 as Popover,
307
+ pagination as Pagination,
308
+ paginationContent as PaginationContent,
309
+ paginationEllipsis as PaginationEllipsis,
310
+ _sfc_main$9 as PaginationFirst,
311
+ _sfc_main$a as PaginationItem,
312
+ _sfc_main$b as PaginationLast,
313
+ _sfc_main$c as PaginationNext,
314
+ _sfc_main$d as PaginationPrevious,
315
+ _sfc_main$e as Popover,
292
316
  PopoverContent,
293
317
  PopoverTrigger,
294
318
  progressBar as ProgressBar,
295
319
  progressCircle as ProgressCircle,
296
- _sfc_main$a as RadioGroup,
320
+ _sfc_main$f as RadioGroup,
297
321
  radioGroupCard as RadioGroupCard,
298
- _sfc_main$b as RadioGroupItem,
322
+ _sfc_main$g as RadioGroupItem,
299
323
  radioGroupLabel as RadioGroupLabel,
300
324
  richEditor as RichEditor,
301
- _sfc_main$c as ScrollArea,
325
+ _sfc_main$h as ScrollArea,
302
326
  segmentedControl as SegmentedControl,
303
327
  segmentedControlItem as SegmentedControlItem,
304
- _sfc_main$d as Select,
328
+ _sfc_main$i as Select,
305
329
  SelectContent,
306
- _sfc_main$e as SelectGroup,
330
+ _sfc_main$j as SelectGroup,
307
331
  SelectIcon,
308
332
  SelectItem,
309
333
  selectLabel as SelectLabel,
310
334
  selectSeparator as SelectSeparator,
311
335
  SelectTrigger,
312
336
  SelectValue,
313
- _sfc_main$f as Slider,
337
+ _sfc_main$k as Slider,
314
338
  socialButton as SocialButton,
315
- _sfc_main$g as Sonner,
339
+ _sfc_main$l as Sonner,
316
340
  SonnerAlert,
317
341
  statusBadge as StatusBadge,
318
- _sfc_main$h as Switch,
342
+ _sfc_main$m as Switch,
319
343
  tabMenu as TabMenu,
320
344
  tabMenuContent as TabMenuContent,
321
345
  tabMenuItem as TabMenuItem,
package/dist/es/label.js CHANGED
@@ -2,7 +2,7 @@ import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, re
2
2
  import Tooltip from "./tooltip.js";
3
3
  import { useDelegatedProps } from "./use-delegated-props.js";
4
4
  import { c as clsx } from "./chunks/clsx.js";
5
- import { P as Oh } from "./chunks/index.js";
5
+ import { X as Oh } from "./chunks/index.js";
6
6
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
7
7
  const _hoisted_1 = {
8
8
  key: 0,
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, withCtx, createVNode, Transition, mergeProps, renderSlot } from "vue";
2
2
  import { useDelegatedProps } from "./use-delegated-props.js";
3
3
  import { c as clsx } from "./chunks/clsx.js";
4
- import { x as xe, af as Dv, ag as Eu, ah as xu } from "./chunks/index.js";
4
+ import { x as xe, ak as Dv, al as Eu, am as xu } from "./chunks/index.js";
5
5
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  __name: "modal-content",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, createCommentVNode, createBlock, withCtx, toDisplayString, createVNode } from "vue";
2
2
  import CompactButton from "./compact-button.js";
3
3
  import { c as clsx } from "./chunks/clsx.js";
4
- import { ai as Pu, aj as Du, G as Gl } from "./chunks/index.js";
4
+ import { an as Pu, ao as Du, G as Gl } from "./chunks/index.js";
5
5
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
6
6
  const _hoisted_1 = ["data-dismissible", "data-alignment", "data-type"];
7
7
  const _hoisted_2 = {
@@ -0,0 +1,31 @@
1
+ import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
+ import { c as clsx } from "./chunks/clsx.js";
3
+ import { ap as xy } from "./chunks/index.js";
4
+ import { r as reactiveOmit } from "./chunks/index2.js";
5
+ import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ __name: "pagination-content",
8
+ props: {
9
+ class: {},
10
+ asChild: { type: Boolean },
11
+ as: {}
12
+ },
13
+ setup(__props) {
14
+ const props = __props;
15
+ const delegated = reactiveOmit(props, "class");
16
+ return (_ctx, _cache) => {
17
+ return openBlock(), createBlock(unref(xy), mergeProps({ "data-slot": "pagination-content" }, unref(delegated), {
18
+ class: unref(clsx)("celeste-pagination-content", props.class)
19
+ }), {
20
+ default: withCtx((sprops) => [
21
+ renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(sprops)), void 0, true)
22
+ ]),
23
+ _: 3
24
+ }, 16, ["class"]);
25
+ };
26
+ }
27
+ });
28
+ const paginationContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9a600a5d"]]);
29
+ export {
30
+ paginationContent as default
31
+ };
@@ -0,0 +1,35 @@
1
+ import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createElementVNode } from "vue";
2
+ import { c as clsx } from "./chunks/clsx.js";
3
+ import { aq as Cy } from "./chunks/index.js";
4
+ import { r as reactiveOmit } from "./chunks/index2.js";
5
+ import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ __name: "pagination-ellipsis",
8
+ props: {
9
+ class: {},
10
+ asChild: { type: Boolean },
11
+ as: {}
12
+ },
13
+ setup(__props) {
14
+ const props = __props;
15
+ const delegated = reactiveOmit(props, "class");
16
+ return (_ctx, _cache) => {
17
+ return openBlock(), createBlock(unref(Cy), mergeProps(unref(delegated), {
18
+ class: unref(clsx)("celeste-pagination-element", "celeste-pagination-ellipsis", props.class),
19
+ "data-slot": "pagination-ellipsis"
20
+ }), {
21
+ default: withCtx(() => [
22
+ renderSlot(_ctx.$slots, "default", {}, () => [
23
+ _cache[0] || (_cache[0] = createElementVNode("span", { class: "celeste-pagination-ellipsis-dots" }, "...", -1)),
24
+ _cache[1] || (_cache[1] = createElementVNode("span", { class: "celeste-pagination-ellipsis-sr" }, "More pages", -1))
25
+ ], true)
26
+ ]),
27
+ _: 3
28
+ }, 16, ["class"]);
29
+ };
30
+ }
31
+ });
32
+ const paginationEllipsis = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b7b0cb53"]]);
33
+ export {
34
+ paginationEllipsis as default
35
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as _sfc_main } from "./chunks/pagination-first.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as _sfc_main } from "./chunks/pagination-item.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as _sfc_main } from "./chunks/pagination-last.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as _sfc_main } from "./chunks/pagination-next.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1,4 @@
1
+ import { _ as _sfc_main } from "./chunks/pagination-previous.js";
2
+ export {
3
+ _sfc_main as default
4
+ };