@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.
Files changed (141) hide show
  1. package/dist/celeste.css +301 -70
  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/chunks/use-color-model.js +3 -0
  9. package/dist/cjs/index.js +24 -0
  10. package/dist/cjs/pagination-content.js +30 -0
  11. package/dist/cjs/pagination-ellipsis.js +34 -0
  12. package/dist/cjs/pagination-first.js +3 -0
  13. package/dist/cjs/pagination-item.js +3 -0
  14. package/dist/cjs/pagination-last.js +3 -0
  15. package/dist/cjs/pagination-next.js +3 -0
  16. package/dist/cjs/pagination-previous.js +3 -0
  17. package/dist/cjs/pagination.js +59 -0
  18. package/dist/cjs/table-body.js +23 -0
  19. package/dist/cjs/table-caption.js +23 -0
  20. package/dist/cjs/table-cell.js +25 -0
  21. package/dist/cjs/table-empty.js +43 -0
  22. package/dist/cjs/table-footer.js +23 -0
  23. package/dist/cjs/table-head.js +24 -0
  24. package/dist/cjs/table-header.js +20 -0
  25. package/dist/cjs/table-row.js +31 -0
  26. package/dist/cjs/table.js +26 -0
  27. package/dist/components/index.d.ts +1 -0
  28. package/dist/components/pagination/index.d.ts +16 -0
  29. package/dist/components/pagination/pagination-content.d.ts +21 -0
  30. package/dist/components/pagination/pagination-ellipsis.d.ts +14 -0
  31. package/dist/components/pagination/pagination-first.d.ts +14 -0
  32. package/dist/components/pagination/pagination-item.d.ts +16 -0
  33. package/dist/components/pagination/pagination-last.d.ts +14 -0
  34. package/dist/components/pagination/pagination-next.d.ts +14 -0
  35. package/dist/components/pagination/pagination-previous.d.ts +14 -0
  36. package/dist/components/pagination/pagination.d.ts +32 -0
  37. package/dist/components/table/index.d.ts +18 -0
  38. package/dist/components/table/table-body.d.ts +13 -0
  39. package/dist/components/table/table-caption.d.ts +13 -0
  40. package/dist/components/table/table-cell.d.ts +16 -0
  41. package/dist/components/table/table-empty.d.ts +16 -0
  42. package/dist/components/table/table-footer.d.ts +13 -0
  43. package/dist/components/table/table-head.d.ts +16 -0
  44. package/dist/components/table/table-header.d.ts +13 -0
  45. package/dist/components/table/table-row.d.ts +16 -0
  46. package/dist/components/table/table.d.ts +13 -0
  47. package/dist/es/chunks/index.js +309 -65
  48. package/dist/es/chunks/index3.js +1 -1
  49. package/dist/es/chunks/modal-close.js +1 -1
  50. package/dist/es/chunks/pagination-first.js +33 -0
  51. package/dist/es/chunks/pagination-item.js +33 -0
  52. package/dist/es/chunks/pagination-last.js +33 -0
  53. package/dist/es/chunks/pagination-next.js +33 -0
  54. package/dist/es/chunks/pagination-previous.js +33 -0
  55. package/dist/es/chunks/select-group.js +1 -1
  56. package/dist/es/chunks/use-color-model.js +3 -0
  57. package/dist/es/combobox-group.js +1 -1
  58. package/dist/es/combobox-input.js +1 -1
  59. package/dist/es/combobox-item.js +1 -1
  60. package/dist/es/combobox-list.js +1 -1
  61. package/dist/es/combobox-root.js +1 -1
  62. package/dist/es/combobox-separator.js +1 -1
  63. package/dist/es/combobox-trigger.js +1 -1
  64. package/dist/es/command-group.js +1 -1
  65. package/dist/es/command-input.js +1 -1
  66. package/dist/es/command-item.js +1 -1
  67. package/dist/es/command-list.js +1 -1
  68. package/dist/es/command-root.js +1 -1
  69. package/dist/es/command-separator.js +1 -1
  70. package/dist/es/digit-input-slot.js +1 -1
  71. package/dist/es/digit-input.js +1 -1
  72. package/dist/es/dropdown-menu-content.js +1 -1
  73. package/dist/es/dropdown-menu-group.js +1 -1
  74. package/dist/es/dropdown-menu-item.js +1 -1
  75. package/dist/es/dropdown-menu-label.js +1 -1
  76. package/dist/es/dropdown-menu-separator.js +1 -1
  77. package/dist/es/dropdown-menu-sub-content.js +1 -1
  78. package/dist/es/dropdown-menu-sub-trigger.js +1 -1
  79. package/dist/es/dropdown-menu-trigger.js +1 -1
  80. package/dist/es/dropdown-menu.js +1 -1
  81. package/dist/es/index.js +51 -27
  82. package/dist/es/modal-content.js +1 -1
  83. package/dist/es/modal-header.js +1 -1
  84. package/dist/es/pagination-content.js +31 -0
  85. package/dist/es/pagination-ellipsis.js +35 -0
  86. package/dist/es/pagination-first.js +4 -0
  87. package/dist/es/pagination-item.js +4 -0
  88. package/dist/es/pagination-last.js +4 -0
  89. package/dist/es/pagination-next.js +4 -0
  90. package/dist/es/pagination-previous.js +4 -0
  91. package/dist/es/pagination.js +60 -0
  92. package/dist/es/popover-content.js +1 -1
  93. package/dist/es/popover-trigger.js +1 -1
  94. package/dist/es/progress-bar.js +1 -1
  95. package/dist/es/progress-circle.js +1 -1
  96. package/dist/es/scroll-bar.js +1 -1
  97. package/dist/es/segmented-control-item.js +1 -1
  98. package/dist/es/segmented-control.js +1 -1
  99. package/dist/es/select-content.js +1 -1
  100. package/dist/es/select-item.js +1 -1
  101. package/dist/es/select-trigger.js +1 -1
  102. package/dist/es/select-value.js +1 -1
  103. package/dist/es/tab-menu-content.js +1 -1
  104. package/dist/es/tab-menu-item.js +1 -1
  105. package/dist/es/tab-menu-list.js +1 -1
  106. package/dist/es/tab-menu.js +1 -1
  107. package/dist/es/table-body.js +24 -0
  108. package/dist/es/table-caption.js +24 -0
  109. package/dist/es/table-cell.js +26 -0
  110. package/dist/es/table-empty.js +44 -0
  111. package/dist/es/table-footer.js +24 -0
  112. package/dist/es/table-head.js +25 -0
  113. package/dist/es/table-header.js +21 -0
  114. package/dist/es/table-row.js +32 -0
  115. package/dist/es/table.js +27 -0
  116. package/dist/es/tooltip.js +1 -1
  117. package/package.json +4 -3
  118. package/src/components/color-picker/composable/use-color-model.ts +4 -0
  119. package/src/components/index.ts +1 -0
  120. package/src/components/pagination/index.ts +23 -0
  121. package/src/components/pagination/pagination-content.vue +36 -0
  122. package/src/components/pagination/pagination-ellipsis.vue +47 -0
  123. package/src/components/pagination/pagination-first.vue +29 -0
  124. package/src/components/pagination/pagination-item.vue +28 -0
  125. package/src/components/pagination/pagination-last.vue +29 -0
  126. package/src/components/pagination/pagination-next.vue +29 -0
  127. package/src/components/pagination/pagination-previous.vue +33 -0
  128. package/src/components/pagination/pagination.vue +157 -0
  129. package/src/components/pagination/stories/pagination.stories.ts +154 -0
  130. package/src/components/switch/switch.vue +34 -16
  131. package/src/components/table/index.ts +26 -0
  132. package/src/components/table/stories/table.stories.ts +138 -0
  133. package/src/components/table/table-body.vue +24 -0
  134. package/src/components/table/table-caption.vue +26 -0
  135. package/src/components/table/table-cell.vue +49 -0
  136. package/src/components/table/table-empty.vue +43 -0
  137. package/src/components/table/table-footer.vue +24 -0
  138. package/src/components/table/table-head.vue +47 -0
  139. package/src/components/table/table-header.vue +18 -0
  140. package/src/components/table/table-row.vue +52 -0
  141. package/src/components/table/table.vue +36 -0
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ const Mo = require("vue");
3
+ const clsx = require("./chunks/clsx.js");
4
+ ;/* empty css */
5
+ const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
6
+ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
7
+ __name: "table-body",
8
+ props: {
9
+ class: {}
10
+ },
11
+ setup(__props) {
12
+ const props = __props;
13
+ return (_ctx, _cache) => {
14
+ return Mo.openBlock(), Mo.createElementBlock("tbody", {
15
+ class: Mo.normalizeClass(Mo.unref(clsx.clsx)("celeste-table-body", props.class))
16
+ }, [
17
+ Mo.renderSlot(_ctx.$slots, "default", {}, void 0, true)
18
+ ], 2);
19
+ };
20
+ }
21
+ });
22
+ const tableBody = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-b9eb0cd1"]]);
23
+ module.exports = tableBody;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ const Mo = require("vue");
3
+ const clsx = require("./chunks/clsx.js");
4
+ ;/* empty css */
5
+ const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
6
+ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
7
+ __name: "table-caption",
8
+ props: {
9
+ class: {}
10
+ },
11
+ setup(__props) {
12
+ const props = __props;
13
+ return (_ctx, _cache) => {
14
+ return Mo.openBlock(), Mo.createElementBlock("caption", {
15
+ class: Mo.normalizeClass(Mo.unref(clsx.clsx)("celeste-table-caption", props.class))
16
+ }, [
17
+ Mo.renderSlot(_ctx.$slots, "default", {}, void 0, true)
18
+ ], 2);
19
+ };
20
+ }
21
+ });
22
+ const tableCaption = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-13a21605"]]);
23
+ module.exports = tableCaption;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ const Mo = require("vue");
3
+ const clsx = require("./chunks/clsx.js");
4
+ const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
5
+ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
6
+ __name: "table-cell",
7
+ props: {
8
+ class: {},
9
+ end: { type: Boolean, default: false }
10
+ },
11
+ setup(__props) {
12
+ const props = __props;
13
+ return (_ctx, _cache) => {
14
+ return Mo.openBlock(), Mo.createElementBlock("td", {
15
+ class: Mo.normalizeClass(Mo.unref(clsx.clsx)("celeste-table-cell", props.class, {
16
+ "celeste-table-cell-align-end": props.end
17
+ }))
18
+ }, [
19
+ Mo.renderSlot(_ctx.$slots, "default", {}, void 0, true)
20
+ ], 2);
21
+ };
22
+ }
23
+ });
24
+ const TableCell = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-5f65ee4a"]]);
25
+ module.exports = TableCell;
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ const Mo = require("vue");
3
+ const clsx = require("./chunks/clsx.js");
4
+ ;/* empty css */
5
+ ;/* empty css */
6
+ const tableCell = require("./table-cell.js");
7
+ const useDelegatedProps = require("./use-delegated-props.js");
8
+ ;/* empty css */
9
+ ;/* empty css */
10
+ const tableRow = require("./table-row.js");
11
+ ;/* empty css */
12
+ const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
13
+ const _hoisted_1 = { class: "celeste-table-empty-content" };
14
+ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
15
+ __name: "table-empty",
16
+ props: {
17
+ colspan: { default: 1 },
18
+ class: {}
19
+ },
20
+ setup(__props) {
21
+ const props = __props;
22
+ const delegated = useDelegatedProps.useDelegatedProps(props, "class");
23
+ return (_ctx, _cache) => {
24
+ return Mo.openBlock(), Mo.createBlock(Mo.unref(tableRow), null, {
25
+ default: Mo.withCtx(() => [
26
+ Mo.createVNode(Mo.unref(tableCell), Mo.mergeProps(Mo.unref(delegated), {
27
+ class: Mo.unref(clsx.clsx)("celeste-table-empty", props.class)
28
+ }), {
29
+ default: Mo.withCtx(() => [
30
+ Mo.createElementVNode("div", _hoisted_1, [
31
+ Mo.renderSlot(_ctx.$slots, "default", {}, void 0, true)
32
+ ])
33
+ ]),
34
+ _: 3
35
+ }, 16, ["class"])
36
+ ]),
37
+ _: 3
38
+ });
39
+ };
40
+ }
41
+ });
42
+ const tableEmpty = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-1c0042ab"]]);
43
+ module.exports = tableEmpty;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ const Mo = require("vue");
3
+ const clsx = require("./chunks/clsx.js");
4
+ ;/* empty css */
5
+ const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
6
+ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
7
+ __name: "table-footer",
8
+ props: {
9
+ class: {}
10
+ },
11
+ setup(__props) {
12
+ const props = __props;
13
+ return (_ctx, _cache) => {
14
+ return Mo.openBlock(), Mo.createElementBlock("tfoot", {
15
+ class: Mo.normalizeClass(Mo.unref(clsx.clsx)("celeste-table-footer", props.class))
16
+ }, [
17
+ Mo.renderSlot(_ctx.$slots, "default", {}, void 0, true)
18
+ ], 2);
19
+ };
20
+ }
21
+ });
22
+ const tableFooter = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-50b76b8f"]]);
23
+ module.exports = tableFooter;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ const Mo = require("vue");
3
+ const clsx = require("./chunks/clsx.js");
4
+ ;/* empty css */
5
+ const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
6
+ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
7
+ __name: "table-head",
8
+ props: {
9
+ class: {},
10
+ end: { type: Boolean, default: false }
11
+ },
12
+ setup(__props) {
13
+ const props = __props;
14
+ return (_ctx, _cache) => {
15
+ return Mo.openBlock(), Mo.createElementBlock("th", {
16
+ class: Mo.normalizeClass(Mo.unref(clsx.clsx)("celeste-table-head", props.class, { "celeste-table-head-align-end": props.end }))
17
+ }, [
18
+ Mo.renderSlot(_ctx.$slots, "default", {}, void 0, true)
19
+ ], 2);
20
+ };
21
+ }
22
+ });
23
+ const tableHead = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-76a52252"]]);
24
+ module.exports = tableHead;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ const Mo = require("vue");
3
+ const clsx = require("./chunks/clsx.js");
4
+ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
5
+ __name: "table-header",
6
+ props: {
7
+ class: {}
8
+ },
9
+ setup(__props) {
10
+ const props = __props;
11
+ return (_ctx, _cache) => {
12
+ return Mo.openBlock(), Mo.createElementBlock("thead", {
13
+ class: Mo.normalizeClass(Mo.unref(clsx.clsx)("celeste-table-header", props.class))
14
+ }, [
15
+ Mo.renderSlot(_ctx.$slots, "default")
16
+ ], 2);
17
+ };
18
+ }
19
+ });
20
+ module.exports = _sfc_main;
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ const Mo = require("vue");
3
+ const clsx = require("./chunks/clsx.js");
4
+ const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
5
+ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
6
+ __name: "table-row",
7
+ props: {
8
+ class: {},
9
+ hoverable: { type: Boolean, default: true }
10
+ },
11
+ setup(__props) {
12
+ const props = __props;
13
+ return (_ctx, _cache) => {
14
+ return Mo.openBlock(), Mo.createElementBlock(Mo.Fragment, null, [
15
+ Mo.createElementVNode("tr", {
16
+ class: Mo.normalizeClass(Mo.unref(clsx.clsx)("celeste-table-row", props.class, { "celeste-table-row-hoverable": props.hoverable }))
17
+ }, [
18
+ Mo.renderSlot(_ctx.$slots, "default", {}, void 0, true)
19
+ ], 2),
20
+ _cache[0] || (_cache[0] = Mo.createElementVNode("tr", {
21
+ "aria-hidden": "true",
22
+ class: "celeste-table-row-divider"
23
+ }, [
24
+ Mo.createElementVNode("td", { colspan: "100" })
25
+ ], -1))
26
+ ], 64);
27
+ };
28
+ }
29
+ });
30
+ const TableRow = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-5a7011d2"]]);
31
+ module.exports = TableRow;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ const Mo = require("vue");
3
+ const clsx = require("./chunks/clsx.js");
4
+ ;/* empty css */
5
+ const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
6
+ const _hoisted_1 = { class: "celeste-table-wrapper" };
7
+ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
8
+ __name: "table",
9
+ props: {
10
+ class: {}
11
+ },
12
+ setup(__props) {
13
+ const props = __props;
14
+ return (_ctx, _cache) => {
15
+ return Mo.openBlock(), Mo.createElementBlock("div", _hoisted_1, [
16
+ Mo.createElementVNode("table", {
17
+ class: Mo.normalizeClass(Mo.unref(clsx.clsx)("celeste-table", props.class))
18
+ }, [
19
+ Mo.renderSlot(_ctx.$slots, "default", {}, void 0, true)
20
+ ], 2)
21
+ ]);
22
+ };
23
+ }
24
+ });
25
+ const table = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-8ed967fe"]]);
26
+ module.exports = table;
@@ -12,6 +12,7 @@ export * from './file-upload';
12
12
  export * from './hint-text';
13
13
  export * from './label';
14
14
  export * from './modal';
15
+ export * from './pagination';
15
16
  export * from './popover';
16
17
  export * from './progress';
17
18
  export * from './radio-group';
@@ -0,0 +1,16 @@
1
+ export * from './pagination-content';
2
+ export { default as PaginationContent } from './pagination-content';
3
+ export * from './pagination-ellipsis';
4
+ export { default as PaginationEllipsis } from './pagination-ellipsis';
5
+ export * from './pagination-first';
6
+ export { default as PaginationFirst } from './pagination-first';
7
+ export * from './pagination-item';
8
+ export { default as PaginationItem } from './pagination-item';
9
+ export * from './pagination-last';
10
+ export { default as PaginationLast } from './pagination-last';
11
+ export * from './pagination-next';
12
+ export { default as PaginationNext } from './pagination-next';
13
+ export * from './pagination-previous';
14
+ export { default as PaginationPrevious } from './pagination-previous';
15
+ export * from './pagination';
16
+ export { default as Pagination } from './pagination';
@@ -0,0 +1,21 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { PaginationListProps } from 'radix-vue';
3
+ export interface PaginationContentProps extends PaginationListProps {
4
+ class?: HTMLAttributes['class'];
5
+ }
6
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<PaginationContentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PaginationContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
7
+ default?(_: {
8
+ items: ({
9
+ type: "ellipsis";
10
+ } | {
11
+ type: "page";
12
+ value: number;
13
+ })[];
14
+ }): any;
15
+ }>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,14 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { PaginationEllipsisProps as PrimitivePaginationEllipsisProps } from 'radix-vue';
3
+ export interface PaginationEllipsisProps extends PrimitivePaginationEllipsisProps {
4
+ class?: HTMLAttributes['class'];
5
+ }
6
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<PaginationEllipsisProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PaginationEllipsisProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
7
+ default?(_: {}): any;
8
+ }>;
9
+ export default _default;
10
+ type __VLS_WithTemplateSlots<T, S> = T & {
11
+ new (): {
12
+ $slots: S;
13
+ };
14
+ };
@@ -0,0 +1,14 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { PaginationFirstProps as PrimitivePaginationFirstProps } from 'radix-vue';
3
+ export interface PaginationFirstProps extends PrimitivePaginationFirstProps {
4
+ class?: HTMLAttributes['class'];
5
+ }
6
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<PaginationFirstProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PaginationFirstProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
7
+ default?(_: {}): any;
8
+ }>;
9
+ export default _default;
10
+ type __VLS_WithTemplateSlots<T, S> = T & {
11
+ new (): {
12
+ $slots: S;
13
+ };
14
+ };
@@ -0,0 +1,16 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { PaginationListItemProps } from 'radix-vue';
3
+ export interface PaginationItemProps extends PaginationListItemProps {
4
+ class?: HTMLAttributes['class'];
5
+ isActive?: boolean;
6
+ disabled?: boolean;
7
+ }
8
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<PaginationItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PaginationItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
9
+ default?(_: {}): any;
10
+ }>;
11
+ export default _default;
12
+ type __VLS_WithTemplateSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -0,0 +1,14 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { PaginationLastProps as PrimitivePaginationLastProps } from 'radix-vue';
3
+ export interface PaginationLastProps extends PrimitivePaginationLastProps {
4
+ class?: HTMLAttributes['class'];
5
+ }
6
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<PaginationLastProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PaginationLastProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
7
+ default?(_: {}): any;
8
+ }>;
9
+ export default _default;
10
+ type __VLS_WithTemplateSlots<T, S> = T & {
11
+ new (): {
12
+ $slots: S;
13
+ };
14
+ };
@@ -0,0 +1,14 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { PaginationNextProps as PrimitivePaginationNextProps } from 'radix-vue';
3
+ export interface PaginationNextProps extends PrimitivePaginationNextProps {
4
+ class?: HTMLAttributes['class'];
5
+ }
6
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<PaginationNextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PaginationNextProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
7
+ default?(_: {}): any;
8
+ }>;
9
+ export default _default;
10
+ type __VLS_WithTemplateSlots<T, S> = T & {
11
+ new (): {
12
+ $slots: S;
13
+ };
14
+ };
@@ -0,0 +1,14 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { PaginationPrevProps as PrimitivePaginationPreviousProps } from 'radix-vue';
3
+ export interface PaginationPreviousProps extends PrimitivePaginationPreviousProps {
4
+ class?: HTMLAttributes['class'];
5
+ }
6
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<PaginationPreviousProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PaginationPreviousProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
7
+ default?(_: {}): any;
8
+ }>;
9
+ export default _default;
10
+ type __VLS_WithTemplateSlots<T, S> = T & {
11
+ new (): {
12
+ $slots: S;
13
+ };
14
+ };
@@ -0,0 +1,32 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { PaginationRootProps } from 'radix-vue';
3
+ export interface PaginationProps extends PaginationRootProps {
4
+ class?: HTMLAttributes['class'];
5
+ variant: 'basic' | 'rounded' | 'group';
6
+ }
7
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<PaginationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ "update:page": (value: number) => any;
9
+ }, string, import('vue').PublicProps, Readonly<PaginationProps> & Readonly<{
10
+ "onUpdate:page"?: ((value: number) => any) | undefined;
11
+ }>, {
12
+ variant: "basic" | "rounded" | "group";
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
14
+ leading?(_: {
15
+ page: number;
16
+ pageCount: number;
17
+ }): any;
18
+ default?(_: {
19
+ page: number;
20
+ pageCount: number;
21
+ }): any;
22
+ trailing?(_: {
23
+ page: number;
24
+ pageCount: number;
25
+ }): any;
26
+ }>;
27
+ export default _default;
28
+ type __VLS_WithTemplateSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
31
+ };
32
+ };
@@ -0,0 +1,18 @@
1
+ export * from './table-body';
2
+ export { default as TableBody } from './table-body';
3
+ export * from './table-caption';
4
+ export { default as TableCaption } from './table-caption';
5
+ export * from './table-cell';
6
+ export { default as TableCell } from './table-cell';
7
+ export * from './table-empty';
8
+ export { default as TableEmpty } from './table-empty';
9
+ export * from './table-footer';
10
+ export { default as TableFooter } from './table-footer';
11
+ export * from './table-head';
12
+ export { default as TableHead } from './table-head';
13
+ export * from './table-header';
14
+ export { default as TableHeader } from './table-header';
15
+ export * from './table-row';
16
+ export { default as TableRow } from './table-row';
17
+ export * from './table';
18
+ export { default as Table } from './table';
@@ -0,0 +1,13 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export interface TableBodyProps {
3
+ class?: HTMLAttributes['class'];
4
+ }
5
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TableBodyProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TableBodyProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableSectionElement>, {
6
+ default?(_: {}): any;
7
+ }>;
8
+ export default _default;
9
+ type __VLS_WithTemplateSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,13 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export interface TableCaptionProps {
3
+ class?: HTMLAttributes['class'];
4
+ }
5
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TableCaptionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TableCaptionProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableCaptionElement>, {
6
+ default?(_: {}): any;
7
+ }>;
8
+ export default _default;
9
+ type __VLS_WithTemplateSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,16 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export interface TableCellProps {
3
+ class?: HTMLAttributes['class'];
4
+ end?: boolean;
5
+ }
6
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TableCellProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TableCellProps> & Readonly<{}>, {
7
+ end: boolean;
8
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableCellElement>, {
9
+ default?(_: {}): any;
10
+ }>;
11
+ export default _default;
12
+ type __VLS_WithTemplateSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -0,0 +1,16 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export interface TableEmptyProps {
3
+ colspan?: number;
4
+ class?: HTMLAttributes['class'];
5
+ }
6
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TableEmptyProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TableEmptyProps> & Readonly<{}>, {
7
+ colspan: number;
8
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
9
+ default?(_: {}): any;
10
+ }>;
11
+ export default _default;
12
+ type __VLS_WithTemplateSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -0,0 +1,13 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export interface TableFooterProps {
3
+ class?: HTMLAttributes['class'];
4
+ }
5
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TableFooterProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TableFooterProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableSectionElement>, {
6
+ default?(_: {}): any;
7
+ }>;
8
+ export default _default;
9
+ type __VLS_WithTemplateSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,16 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export interface TableHeadProps {
3
+ class?: HTMLAttributes['class'];
4
+ end?: boolean;
5
+ }
6
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TableHeadProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TableHeadProps> & Readonly<{}>, {
7
+ end: boolean;
8
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableCellElement>, {
9
+ default?(_: {}): any;
10
+ }>;
11
+ export default _default;
12
+ type __VLS_WithTemplateSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -0,0 +1,13 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export interface TableHeaderProps {
3
+ class?: HTMLAttributes['class'];
4
+ }
5
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TableHeaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TableHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableSectionElement>, {
6
+ default?(_: {}): any;
7
+ }>;
8
+ export default _default;
9
+ type __VLS_WithTemplateSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,16 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export interface TableRowProps {
3
+ class?: HTMLAttributes['class'];
4
+ hoverable?: boolean;
5
+ }
6
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TableRowProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TableRowProps> & Readonly<{}>, {
7
+ hoverable: boolean;
8
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
9
+ default?(_: {}): any;
10
+ }>;
11
+ export default _default;
12
+ type __VLS_WithTemplateSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -0,0 +1,13 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export interface TableProps {
3
+ class?: HTMLAttributes['class'];
4
+ }
5
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<TableProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TableProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
6
+ default?(_: {}): any;
7
+ }>;
8
+ export default _default;
9
+ type __VLS_WithTemplateSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };