@youcan/celeste 0.6.55 → 0.6.57

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 (94) hide show
  1. package/dist/celeste.css +198 -104
  2. package/dist/cjs/chunks/use-color-model.js +3 -0
  3. package/dist/cjs/index.js +3 -0
  4. package/dist/cjs/table-body.js +23 -0
  5. package/dist/cjs/table-caption.js +23 -0
  6. package/dist/cjs/table-cell.js +25 -0
  7. package/dist/cjs/table-empty.js +43 -0
  8. package/dist/cjs/table-footer.js +23 -0
  9. package/dist/cjs/table-head.js +24 -0
  10. package/dist/cjs/table-header.js +20 -0
  11. package/dist/cjs/table-row.js +31 -0
  12. package/dist/cjs/table.js +26 -0
  13. package/dist/components/index.d.ts +1 -0
  14. package/dist/components/table/index.d.ts +18 -0
  15. package/dist/components/table/table-body.d.ts +13 -0
  16. package/dist/components/table/table-caption.d.ts +13 -0
  17. package/dist/components/table/table-cell.d.ts +16 -0
  18. package/dist/components/table/table-empty.d.ts +16 -0
  19. package/dist/components/table/table-footer.d.ts +13 -0
  20. package/dist/components/table/table-head.d.ts +16 -0
  21. package/dist/components/table/table-header.d.ts +13 -0
  22. package/dist/components/table/table-row.d.ts +16 -0
  23. package/dist/components/table/table.d.ts +13 -0
  24. package/dist/es/checkbox-card.js +1 -1
  25. package/dist/es/checkbox-label.js +1 -1
  26. package/dist/es/chunks/index.js +56 -56
  27. package/dist/es/chunks/modal-close.js +1 -1
  28. package/dist/es/chunks/select-group.js +1 -1
  29. package/dist/es/chunks/use-color-model.js +3 -0
  30. package/dist/es/combobox-group.js +1 -1
  31. package/dist/es/combobox-input.js +1 -1
  32. package/dist/es/combobox-item.js +1 -1
  33. package/dist/es/combobox-list.js +1 -1
  34. package/dist/es/combobox-root.js +1 -1
  35. package/dist/es/combobox-separator.js +1 -1
  36. package/dist/es/combobox-trigger.js +1 -1
  37. package/dist/es/command-group.js +1 -1
  38. package/dist/es/command-input.js +1 -1
  39. package/dist/es/command-item.js +1 -1
  40. package/dist/es/command-list.js +1 -1
  41. package/dist/es/command-root.js +1 -1
  42. package/dist/es/command-separator.js +1 -1
  43. package/dist/es/digit-input-slot.js +1 -1
  44. package/dist/es/digit-input.js +1 -1
  45. package/dist/es/dropdown-menu-content.js +1 -1
  46. package/dist/es/dropdown-menu-group.js +1 -1
  47. package/dist/es/dropdown-menu-item.js +1 -1
  48. package/dist/es/dropdown-menu-label.js +1 -1
  49. package/dist/es/dropdown-menu-separator.js +1 -1
  50. package/dist/es/dropdown-menu-sub-content.js +1 -1
  51. package/dist/es/dropdown-menu-sub-trigger.js +1 -1
  52. package/dist/es/dropdown-menu-trigger.js +1 -1
  53. package/dist/es/dropdown-menu.js +1 -1
  54. package/dist/es/index.js +3 -0
  55. package/dist/es/label.js +1 -1
  56. package/dist/es/modal-content.js +1 -1
  57. package/dist/es/modal-header.js +1 -1
  58. package/dist/es/popover-content.js +1 -1
  59. package/dist/es/popover-trigger.js +1 -1
  60. package/dist/es/progress-bar.js +1 -1
  61. package/dist/es/progress-circle.js +1 -1
  62. package/dist/es/radio-group-card.js +1 -1
  63. package/dist/es/radio-group-label.js +1 -1
  64. package/dist/es/scroll-bar.js +1 -1
  65. package/dist/es/segmented-control-item.js +1 -1
  66. package/dist/es/segmented-control.js +1 -1
  67. package/dist/es/select-content.js +1 -1
  68. package/dist/es/select-item.js +1 -1
  69. package/dist/es/select-trigger.js +1 -1
  70. package/dist/es/select-value.js +1 -1
  71. package/dist/es/table-body.js +24 -0
  72. package/dist/es/table-caption.js +24 -0
  73. package/dist/es/table-cell.js +26 -0
  74. package/dist/es/table-empty.js +44 -0
  75. package/dist/es/table-footer.js +24 -0
  76. package/dist/es/table-head.js +25 -0
  77. package/dist/es/table-header.js +21 -0
  78. package/dist/es/table-row.js +32 -0
  79. package/dist/es/table.js +27 -0
  80. package/dist/es/tooltip.js +1 -1
  81. package/package.json +4 -3
  82. package/src/components/color-picker/composable/use-color-model.ts +4 -0
  83. package/src/components/index.ts +1 -0
  84. package/src/components/table/index.ts +26 -0
  85. package/src/components/table/stories/table.stories.ts +138 -0
  86. package/src/components/table/table-body.vue +24 -0
  87. package/src/components/table/table-caption.vue +26 -0
  88. package/src/components/table/table-cell.vue +49 -0
  89. package/src/components/table/table-empty.vue +43 -0
  90. package/src/components/table/table-footer.vue +24 -0
  91. package/src/components/table/table-head.vue +47 -0
  92. package/src/components/table/table-header.vue +18 -0
  93. package/src/components/table/table-row.vue +52 -0
  94. package/src/components/table/table.vue +36 -0
@@ -985,6 +985,9 @@ function defineColorModel(props, emit) {
985
985
  return tinyColorRef;
986
986
  }
987
987
  function transformToOriginalInputFormat(color, originalFormat) {
988
+ if (originalFormat === "hex" && color.getAlpha() < 1) {
989
+ return color.toString("hex8");
990
+ }
988
991
  return color.toString(originalFormat);
989
992
  }
990
993
  exports.ColorPickerEmits = ColorPickerEmits;
package/dist/cjs/index.js CHANGED
@@ -41,6 +41,7 @@ const dropdownMenuSubTrigger = require("./dropdown-menu-sub-trigger.js");
41
41
  const dropdownMenuSub_vue_vue_type_script_setup_true_lang = require("./chunks/dropdown-menu-sub.js");
42
42
  const dropdownMenuTrigger = require("./dropdown-menu-trigger.js");
43
43
  const dropdownMenu = require("./dropdown-menu.js");
44
+ const fileUploadArea = require("./file-upload-area.js");
44
45
  const hintText = require("./hint-text.js");
45
46
  const label = require("./label.js");
46
47
  const modalBody = require("./modal-body.js");
@@ -128,6 +129,7 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
128
129
  DropdownMenuSubTrigger: dropdownMenuSubTrigger,
129
130
  DropdownMenuTrigger: dropdownMenuTrigger,
130
131
  FancyButton: fancyButton,
132
+ FileUploadArea: fileUploadArea,
131
133
  HintText: hintText,
132
134
  HueSlider: hueSlider,
133
135
  Label: label,
@@ -275,6 +277,7 @@ exports.DropdownMenuSubTrigger = dropdownMenuSubTrigger;
275
277
  exports.DropdownMenuSub = dropdownMenuSub_vue_vue_type_script_setup_true_lang._sfc_main;
276
278
  exports.DropdownMenuTrigger = dropdownMenuTrigger;
277
279
  exports.DropdownMenu = dropdownMenu;
280
+ exports.FileUploadArea = fileUploadArea;
278
281
  exports.HintText = hintText;
279
282
  exports.Label = label;
280
283
  exports.ModalBody = modalBody;
@@ -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;
@@ -8,6 +8,7 @@ export * from './content-divider';
8
8
  export * from './counter-input';
9
9
  export * from './digit-input';
10
10
  export * from './dropdown-menu';
11
+ export * from './file-upload';
11
12
  export * from './hint-text';
12
13
  export * from './label';
13
14
  export * from './modal';
@@ -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
+ };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, createElementBlock, normalizeClass, Fragment, createElementVNode, renderSlot, createCommentVNode, createVNode } 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 Oh, l as O } from "./chunks/index.js";
4
+ import { P as Oh, l as O } from "./chunks/index.js";
5
5
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
6
6
  const _hoisted_1 = { class: "celeste-checkbox-card-content" };
7
7
  const _hoisted_2 = { role: "presentation" };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, createVNode, renderSlot, createElementVNode, createCommentVNode } 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 Oh, l as O } from "./chunks/index.js";
4
+ import { P as Oh, l as O } from "./chunks/index.js";
5
5
  import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
6
6
  const _hoisted_1 = { role: "presentation" };
7
7
  const _hoisted_2 = {
@@ -10374,14 +10374,14 @@ const av = /* @__PURE__ */ defineComponent({
10374
10374
  }
10375
10375
  });
10376
10376
  export {
10377
- Wv as $,
10377
+ Jv as $,
10378
10378
  At as A,
10379
10379
  size as B,
10380
10380
  autoPlacement as C,
10381
10381
  hide as D,
10382
10382
  inline as E,
10383
10383
  Fy as F,
10384
- Gy as G,
10384
+ Gl as G,
10385
10385
  computePosition as H,
10386
10386
  yg as I,
10387
10387
  gg as J,
@@ -10390,65 +10390,65 @@ export {
10390
10390
  bg as M,
10391
10391
  Ny as N,
10392
10392
  Oy as O,
10393
- lv as P,
10393
+ Oh as P,
10394
10394
  Qf as Q,
10395
10395
  Ry as R,
10396
- sv as S,
10396
+ qv as S,
10397
10397
  Ty as T,
10398
- My as U,
10399
- Vy as V,
10398
+ Wv as U,
10399
+ Qv as V,
10400
10400
  Wy as W,
10401
- Oh as X,
10402
- qv as Y,
10401
+ nm as X,
10402
+ Yv as Y,
10403
10403
  Zv as Z,
10404
- Yv as _,
10405
- Gl as a,
10406
- Qv as a0,
10407
- nm as a1,
10408
- Xv as a2,
10409
- Jv as a3,
10410
- Hv as a4,
10411
- tm as a5,
10412
- Uv as a6,
10413
- $y as a7,
10414
- Dy as a8,
10415
- ih as a9,
10416
- Uy as aA,
10417
- Ly as aB,
10418
- eg as aC,
10419
- Qy as aD,
10420
- Lg as aE,
10421
- zg as aF,
10422
- Kg as aG,
10423
- jg as aH,
10424
- Hg as aI,
10425
- Wg as aJ,
10426
- uh as aa,
10427
- fh as ab,
10428
- ch as ac,
10429
- hh as ad,
10430
- ph as ae,
10431
- Ch as af,
10432
- wh as ag,
10433
- rh as ah,
10434
- sh as ai,
10435
- Dv as aj,
10436
- Eu as ak,
10437
- xu as al,
10438
- Pu as am,
10439
- Du as an,
10440
- bs as ao,
10441
- ws as ap,
10442
- _s as aq,
10443
- xs as ar,
10444
- gs as as,
10445
- By as at,
10446
- Iy as au,
10447
- zy as av,
10448
- Ky as aw,
10449
- Xy as ax,
10450
- jy as ay,
10451
- Yy as az,
10404
+ Xv as _,
10405
+ Gy as a,
10406
+ Hv as a0,
10407
+ tm as a1,
10408
+ Uv as a2,
10409
+ $y as a3,
10410
+ Dy as a4,
10411
+ ih as a5,
10412
+ uh as a6,
10413
+ fh as a7,
10414
+ ch as a8,
10415
+ hh as a9,
10416
+ eg as aA,
10417
+ Qy as aB,
10418
+ Lg as aC,
10419
+ zg as aD,
10420
+ Kg as aE,
10421
+ jg as aF,
10422
+ Hg as aG,
10423
+ Wg as aH,
10424
+ My as aI,
10425
+ Vy as aJ,
10426
+ ph as aa,
10427
+ Ch as ab,
10428
+ wh as ac,
10429
+ rh as ad,
10430
+ sh as ae,
10431
+ Dv as af,
10432
+ Eu as ag,
10433
+ xu as ah,
10434
+ Pu as ai,
10435
+ Du as aj,
10436
+ bs as ak,
10437
+ ws as al,
10438
+ _s as am,
10439
+ xs as an,
10440
+ gs as ao,
10441
+ By as ap,
10442
+ Iy as aq,
10443
+ sv as ar,
10444
+ lv as as,
10445
+ zy as at,
10446
+ Ky as au,
10447
+ Xy as av,
10448
+ jy as aw,
10449
+ Yy as ax,
10450
+ Uy as ay,
10451
+ Ly as az,
10452
10452
  bh as b,
10453
10453
  tg as c,
10454
10454
  ag as d,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
2
- import { a as Gl } from "./index.js";
2
+ import { G as Gl } from "./index.js";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "modal-close",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createBlock, unref, normalizeProps, guardReactiveProps, withCtx, renderSlot } from "vue";
2
- import { G as Gy } from "./index.js";
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, _ as Yv } from "./chunks/index.js";
3
+ import { S as qv, Y 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",