@youcan/celeste 0.6.75 → 0.6.76
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 +94 -94
- package/dist/cjs/chunks/sidebar-separator.vue_vue_type_style_index_0_lang.js +8 -0
- package/dist/cjs/chunks/table-header.js +20 -0
- package/dist/cjs/index.js +27 -0
- package/dist/cjs/table-cell.js +1 -0
- package/dist/cjs/table-empty.js +1 -0
- package/dist/cjs/table-header.js +2 -19
- package/dist/cjs/table-row.js +3 -2
- package/dist/components/index.d.ts +1 -0
- package/dist/es/chunks/sidebar-separator.vue_vue_type_style_index_0_lang.js +8 -0
- package/dist/es/chunks/table-header.js +21 -0
- package/dist/es/index.js +39 -12
- package/dist/es/table-cell.js +1 -0
- package/dist/es/table-empty.js +3 -2
- package/dist/es/table-header.js +1 -18
- package/dist/es/table-row.js +3 -2
- package/package.json +3 -3
- package/src/components/index.ts +1 -0
package/dist/celeste.css
CHANGED
|
@@ -4962,6 +4962,100 @@ to {
|
|
|
4962
4962
|
.celeste-tab-menu-root[data-orientation='horizontal'][data-v-b5afb6cc] {
|
|
4963
4963
|
flex-direction: column;
|
|
4964
4964
|
}
|
|
4965
|
+
|
|
4966
|
+
.celeste-table-body[data-v-b9eb0cd1] {
|
|
4967
|
+
font: var(--paragraph-sm);
|
|
4968
|
+
}
|
|
4969
|
+
|
|
4970
|
+
.celeste-table-caption[data-v-13a21605] {
|
|
4971
|
+
padding-block: var(--spacing-16);
|
|
4972
|
+
color: var(--color-text-soft-400);
|
|
4973
|
+
font: var(--paragraph-sm);
|
|
4974
|
+
}
|
|
4975
|
+
|
|
4976
|
+
.celeste-table-cell[data-v-5f65ee4a] {
|
|
4977
|
+
padding: var(--spacing-12) var(--spacing-12);
|
|
4978
|
+
transition: background-color var(--animation-fast) ease;
|
|
4979
|
+
background-color: var(--color-bg-white-0);
|
|
4980
|
+
}
|
|
4981
|
+
.celeste-table-cell[data-v-5f65ee4a]:first-child {
|
|
4982
|
+
position: relative;
|
|
4983
|
+
border-start-start-radius: var(--radius-12);
|
|
4984
|
+
border-end-start-radius: var(--radius-12);
|
|
4985
|
+
}
|
|
4986
|
+
.celeste-table-cell[data-v-5f65ee4a]:last-child {
|
|
4987
|
+
border-start-end-radius: var(--radius-12);
|
|
4988
|
+
border-end-end-radius: var(--radius-12);
|
|
4989
|
+
}
|
|
4990
|
+
.celeste-table-cell-align-end[data-v-5f65ee4a] {
|
|
4991
|
+
text-align: end;
|
|
4992
|
+
}
|
|
4993
|
+
|
|
4994
|
+
.celeste-table-empty[data-v-1c0042ab] {
|
|
4995
|
+
align-self: middle;
|
|
4996
|
+
white-space: nowrap;
|
|
4997
|
+
}
|
|
4998
|
+
.celeste-table-empty-content[data-v-1c0042ab] {
|
|
4999
|
+
display: flex;
|
|
5000
|
+
place-items: center;
|
|
5001
|
+
justify-content: center;
|
|
5002
|
+
}
|
|
5003
|
+
|
|
5004
|
+
.celeste-table-footer[data-v-50b76b8f] {
|
|
5005
|
+
background-color: var(--color-bg-weak-50);
|
|
5006
|
+
}
|
|
5007
|
+
|
|
5008
|
+
.celeste-table-head[data-v-76a52252] {
|
|
5009
|
+
padding: var(--spacing-8) var(--spacing-12);
|
|
5010
|
+
background: var(--color-bg-weak-50);
|
|
5011
|
+
color: var(--color-text-sub-600);
|
|
5012
|
+
font: var(--paragraph-sm);
|
|
5013
|
+
}
|
|
5014
|
+
.celeste-table-head-align-end[data-v-76a52252] {
|
|
5015
|
+
text-align: end;
|
|
5016
|
+
}
|
|
5017
|
+
.celeste-table-head[data-v-76a52252]:first-child {
|
|
5018
|
+
border-start-start-radius: var(--radius-8);
|
|
5019
|
+
border-end-start-radius: var(--radius-8);
|
|
5020
|
+
}
|
|
5021
|
+
.celeste-table-head[data-v-76a52252]:last-child {
|
|
5022
|
+
border-start-end-radius: var(--radius-8);
|
|
5023
|
+
border-end-end-radius: var(--radius-8);
|
|
5024
|
+
}
|
|
5025
|
+
|
|
5026
|
+
.celeste-table-row[data-v-5a7011d2] {
|
|
5027
|
+
transition:
|
|
5028
|
+
color,
|
|
5029
|
+
background-color var(--animation-fast) ease;
|
|
5030
|
+
}
|
|
5031
|
+
.celeste-table-row-divider[data-v-5a7011d2] {
|
|
5032
|
+
height: 0;
|
|
5033
|
+
}
|
|
5034
|
+
.celeste-table-row-divider td[data-v-5a7011d2] {
|
|
5035
|
+
height: 0;
|
|
5036
|
+
padding: var(--spacing-0);
|
|
5037
|
+
border-bottom: 1px solid var(--color-stroke-soft-200);
|
|
5038
|
+
line-height: 0;
|
|
5039
|
+
}
|
|
5040
|
+
.celeste-table-row-divider[data-v-5a7011d2]:last-child {
|
|
5041
|
+
display: none;
|
|
5042
|
+
}
|
|
5043
|
+
.celeste-table-row-hoverable[data-v-5a7011d2]:hover .celeste-table-cell {
|
|
5044
|
+
background-color: var(--color-bg-weak-50);
|
|
5045
|
+
}
|
|
5046
|
+
|
|
5047
|
+
.celeste-table-wrapper[data-v-8ed967fe] {
|
|
5048
|
+
position: relative;
|
|
5049
|
+
width: 100%;
|
|
5050
|
+
overflow: auto;
|
|
5051
|
+
}
|
|
5052
|
+
.celeste-table-wrapper .celeste-table[data-v-8ed967fe] {
|
|
5053
|
+
width: 100%;
|
|
5054
|
+
caption-side: bottom;
|
|
5055
|
+
border-spacing: var(--spacing-0) var(--spacing-4);
|
|
5056
|
+
border-collapse: separate;
|
|
5057
|
+
font: var(--paragraph-sm);
|
|
5058
|
+
}
|
|
4965
5059
|
.celeste-tag[data-v-368b7ec0] {
|
|
4966
5060
|
display: inline-flex;
|
|
4967
5061
|
align-items: center;
|
|
@@ -5131,100 +5225,6 @@ to {
|
|
|
5131
5225
|
margin-inline: var(--spacing-4);
|
|
5132
5226
|
}
|
|
5133
5227
|
|
|
5134
|
-
.celeste-table-wrapper[data-v-8ed967fe] {
|
|
5135
|
-
position: relative;
|
|
5136
|
-
width: 100%;
|
|
5137
|
-
overflow: auto;
|
|
5138
|
-
}
|
|
5139
|
-
.celeste-table-wrapper .celeste-table[data-v-8ed967fe] {
|
|
5140
|
-
width: 100%;
|
|
5141
|
-
caption-side: bottom;
|
|
5142
|
-
border-spacing: var(--spacing-0) var(--spacing-4);
|
|
5143
|
-
border-collapse: separate;
|
|
5144
|
-
font: var(--paragraph-sm);
|
|
5145
|
-
}
|
|
5146
|
-
|
|
5147
|
-
.celeste-table-head[data-v-76a52252] {
|
|
5148
|
-
padding: var(--spacing-8) var(--spacing-12);
|
|
5149
|
-
background: var(--color-bg-weak-50);
|
|
5150
|
-
color: var(--color-text-sub-600);
|
|
5151
|
-
font: var(--paragraph-sm);
|
|
5152
|
-
}
|
|
5153
|
-
.celeste-table-head-align-end[data-v-76a52252] {
|
|
5154
|
-
text-align: end;
|
|
5155
|
-
}
|
|
5156
|
-
.celeste-table-head[data-v-76a52252]:first-child {
|
|
5157
|
-
border-start-start-radius: var(--radius-8);
|
|
5158
|
-
border-end-start-radius: var(--radius-8);
|
|
5159
|
-
}
|
|
5160
|
-
.celeste-table-head[data-v-76a52252]:last-child {
|
|
5161
|
-
border-start-end-radius: var(--radius-8);
|
|
5162
|
-
border-end-end-radius: var(--radius-8);
|
|
5163
|
-
}
|
|
5164
|
-
|
|
5165
|
-
.celeste-table-footer[data-v-50b76b8f] {
|
|
5166
|
-
background-color: var(--color-bg-weak-50);
|
|
5167
|
-
}
|
|
5168
|
-
|
|
5169
|
-
.celeste-table-caption[data-v-13a21605] {
|
|
5170
|
-
padding-block: var(--spacing-16);
|
|
5171
|
-
color: var(--color-text-soft-400);
|
|
5172
|
-
font: var(--paragraph-sm);
|
|
5173
|
-
}
|
|
5174
|
-
|
|
5175
|
-
.celeste-table-body[data-v-b9eb0cd1] {
|
|
5176
|
-
font: var(--paragraph-sm);
|
|
5177
|
-
}
|
|
5178
|
-
|
|
5179
|
-
.celeste-table-cell[data-v-5f65ee4a] {
|
|
5180
|
-
padding: var(--spacing-12) var(--spacing-12);
|
|
5181
|
-
transition: background-color var(--animation-fast) ease;
|
|
5182
|
-
background-color: var(--color-bg-white-0);
|
|
5183
|
-
}
|
|
5184
|
-
.celeste-table-cell[data-v-5f65ee4a]:first-child {
|
|
5185
|
-
position: relative;
|
|
5186
|
-
border-start-start-radius: var(--radius-12);
|
|
5187
|
-
border-end-start-radius: var(--radius-12);
|
|
5188
|
-
}
|
|
5189
|
-
.celeste-table-cell[data-v-5f65ee4a]:last-child {
|
|
5190
|
-
border-start-end-radius: var(--radius-12);
|
|
5191
|
-
border-end-end-radius: var(--radius-12);
|
|
5192
|
-
}
|
|
5193
|
-
.celeste-table-cell-align-end[data-v-5f65ee4a] {
|
|
5194
|
-
text-align: end;
|
|
5195
|
-
}
|
|
5196
|
-
|
|
5197
|
-
.celeste-table-row[data-v-5a7011d2] {
|
|
5198
|
-
transition:
|
|
5199
|
-
color,
|
|
5200
|
-
background-color var(--animation-fast) ease;
|
|
5201
|
-
}
|
|
5202
|
-
.celeste-table-row-divider[data-v-5a7011d2] {
|
|
5203
|
-
height: 0;
|
|
5204
|
-
}
|
|
5205
|
-
.celeste-table-row-divider td[data-v-5a7011d2] {
|
|
5206
|
-
height: 0;
|
|
5207
|
-
padding: var(--spacing-0);
|
|
5208
|
-
border-bottom: 1px solid var(--color-stroke-soft-200);
|
|
5209
|
-
line-height: 0;
|
|
5210
|
-
}
|
|
5211
|
-
.celeste-table-row-divider[data-v-5a7011d2]:last-child {
|
|
5212
|
-
display: none;
|
|
5213
|
-
}
|
|
5214
|
-
.celeste-table-row-hoverable[data-v-5a7011d2]:hover .celeste-table-cell {
|
|
5215
|
-
background-color: var(--color-bg-weak-50);
|
|
5216
|
-
}
|
|
5217
|
-
|
|
5218
|
-
.celeste-table-empty[data-v-1c0042ab] {
|
|
5219
|
-
align-self: middle;
|
|
5220
|
-
white-space: nowrap;
|
|
5221
|
-
}
|
|
5222
|
-
.celeste-table-empty-content[data-v-1c0042ab] {
|
|
5223
|
-
display: flex;
|
|
5224
|
-
place-items: center;
|
|
5225
|
-
justify-content: center;
|
|
5226
|
-
}
|
|
5227
|
-
|
|
5228
5228
|
.celeste-command-separator[data-v-547148a7] {
|
|
5229
5229
|
width: 100%;
|
|
5230
5230
|
height: 1px;
|
|
@@ -109,6 +109,14 @@ require("./sidebar-provider.vue_vue_type_style_index_0_lang.js");
|
|
|
109
109
|
;/* empty css */
|
|
110
110
|
;/* empty css */
|
|
111
111
|
;/* empty css */
|
|
112
|
+
;/* empty css */
|
|
113
|
+
;/* empty css */
|
|
114
|
+
;/* empty css */
|
|
115
|
+
;/* empty css */
|
|
116
|
+
;/* empty css */
|
|
117
|
+
;/* empty css */
|
|
118
|
+
;/* empty css */
|
|
119
|
+
;/* empty css */
|
|
112
120
|
;/* empty css */
|
|
113
121
|
;/* empty css */
|
|
114
122
|
const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const No = require("vue");
|
|
3
|
+
const clsx = require("./clsx.js");
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
5
|
+
__name: "table-header",
|
|
6
|
+
props: {
|
|
7
|
+
class: {}
|
|
8
|
+
},
|
|
9
|
+
setup(__props) {
|
|
10
|
+
const props = __props;
|
|
11
|
+
return (_ctx, _cache) => {
|
|
12
|
+
return No.openBlock(), No.createElementBlock("thead", {
|
|
13
|
+
class: No.normalizeClass(No.unref(clsx.clsx)("celeste-table-header", props.class))
|
|
14
|
+
}, [
|
|
15
|
+
No.renderSlot(_ctx.$slots, "default")
|
|
16
|
+
], 2);
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
exports._sfc_main = _sfc_main;
|
package/dist/cjs/index.js
CHANGED
|
@@ -141,6 +141,15 @@ const tabMenuContent = require("./tab-menu-content.js");
|
|
|
141
141
|
const tabMenuItem = require("./tab-menu-item.js");
|
|
142
142
|
const tabMenuList = require("./tab-menu-list.js");
|
|
143
143
|
const tabMenu = require("./tab-menu.js");
|
|
144
|
+
const tableBody = require("./table-body.js");
|
|
145
|
+
const tableCaption = require("./table-caption.js");
|
|
146
|
+
const tableCell = require("./table-cell.js");
|
|
147
|
+
const tableEmpty = require("./table-empty.js");
|
|
148
|
+
const tableFooter = require("./table-footer.js");
|
|
149
|
+
const tableHead = require("./table-head.js");
|
|
150
|
+
const tableHeader_vue_vue_type_script_setup_true_lang = require("./chunks/table-header.js");
|
|
151
|
+
const tableRow = require("./table-row.js");
|
|
152
|
+
const table = require("./table.js");
|
|
144
153
|
const tag = require("./tag.js");
|
|
145
154
|
const textInputAffix = require("./text-input-affix.js");
|
|
146
155
|
const textInputButton = require("./text-input-button.js");
|
|
@@ -277,6 +286,15 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
|
|
|
277
286
|
TabMenuContent: tabMenuContent,
|
|
278
287
|
TabMenuItem: tabMenuItem,
|
|
279
288
|
TabMenuList: tabMenuList,
|
|
289
|
+
Table: table,
|
|
290
|
+
TableBody: tableBody,
|
|
291
|
+
TableCaption: tableCaption,
|
|
292
|
+
TableCell: tableCell,
|
|
293
|
+
TableEmpty: tableEmpty,
|
|
294
|
+
TableFooter: tableFooter,
|
|
295
|
+
TableHead: tableHead,
|
|
296
|
+
TableHeader: tableHeader_vue_vue_type_script_setup_true_lang._sfc_main,
|
|
297
|
+
TableRow: tableRow,
|
|
280
298
|
Tag: tag,
|
|
281
299
|
TextInput: textInput,
|
|
282
300
|
TextInputAffix: textInputAffix,
|
|
@@ -463,6 +481,15 @@ exports.TabMenuContent = tabMenuContent;
|
|
|
463
481
|
exports.TabMenuItem = tabMenuItem;
|
|
464
482
|
exports.TabMenuList = tabMenuList;
|
|
465
483
|
exports.TabMenu = tabMenu;
|
|
484
|
+
exports.TableBody = tableBody;
|
|
485
|
+
exports.TableCaption = tableCaption;
|
|
486
|
+
exports.TableCell = tableCell;
|
|
487
|
+
exports.TableEmpty = tableEmpty;
|
|
488
|
+
exports.TableFooter = tableFooter;
|
|
489
|
+
exports.TableHead = tableHead;
|
|
490
|
+
exports.TableHeader = tableHeader_vue_vue_type_script_setup_true_lang._sfc_main;
|
|
491
|
+
exports.TableRow = tableRow;
|
|
492
|
+
exports.Table = table;
|
|
466
493
|
exports.Tag = tag;
|
|
467
494
|
exports.TextInputAffix = textInputAffix;
|
|
468
495
|
exports.TextInputButton = textInputButton;
|
package/dist/cjs/table-cell.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const No = require("vue");
|
|
3
3
|
const clsx = require("./chunks/clsx.js");
|
|
4
|
+
;/* empty css */
|
|
4
5
|
const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
|
|
5
6
|
const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
6
7
|
__name: "table-cell",
|
package/dist/cjs/table-empty.js
CHANGED
|
@@ -5,6 +5,7 @@ const clsx = require("./chunks/clsx.js");
|
|
|
5
5
|
;/* empty css */
|
|
6
6
|
const tableCell = require("./table-cell.js");
|
|
7
7
|
const useDelegatedProps = require("./use-delegated-props.js");
|
|
8
|
+
;/* empty css */
|
|
8
9
|
;/* empty css */
|
|
9
10
|
;/* empty css */
|
|
10
11
|
const tableRow = require("./table-row.js");
|
package/dist/cjs/table-header.js
CHANGED
|
@@ -1,20 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
5
|
-
__name: "table-header",
|
|
6
|
-
props: {
|
|
7
|
-
class: {}
|
|
8
|
-
},
|
|
9
|
-
setup(__props) {
|
|
10
|
-
const props = __props;
|
|
11
|
-
return (_ctx, _cache) => {
|
|
12
|
-
return No.openBlock(), No.createElementBlock("thead", {
|
|
13
|
-
class: No.normalizeClass(No.unref(clsx.clsx)("celeste-table-header", props.class))
|
|
14
|
-
}, [
|
|
15
|
-
No.renderSlot(_ctx.$slots, "default")
|
|
16
|
-
], 2);
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
module.exports = _sfc_main;
|
|
2
|
+
const tableHeader_vue_vue_type_script_setup_true_lang = require("./chunks/table-header.js");
|
|
3
|
+
module.exports = tableHeader_vue_vue_type_script_setup_true_lang._sfc_main;
|
package/dist/cjs/table-row.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const No = require("vue");
|
|
3
3
|
const clsx = require("./chunks/clsx.js");
|
|
4
|
+
;/* empty css */
|
|
4
5
|
const _pluginVue_exportHelper = require("./chunks/_plugin-vue_export-helper.js");
|
|
5
6
|
const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
6
7
|
__name: "table-row",
|
|
@@ -27,5 +28,5 @@ const _sfc_main = /* @__PURE__ */ No.defineComponent({
|
|
|
27
28
|
};
|
|
28
29
|
}
|
|
29
30
|
});
|
|
30
|
-
const
|
|
31
|
-
module.exports =
|
|
31
|
+
const tableRow = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-5a7011d2"]]);
|
|
32
|
+
module.exports = tableRow;
|
|
@@ -108,6 +108,14 @@ import "./sidebar-provider.vue_vue_type_style_index_0_lang.js";
|
|
|
108
108
|
/* empty css */
|
|
109
109
|
/* empty css */
|
|
110
110
|
/* empty css */
|
|
111
|
+
/* empty css */
|
|
112
|
+
/* empty css */
|
|
113
|
+
/* empty css */
|
|
114
|
+
/* empty css */
|
|
115
|
+
/* empty css */
|
|
116
|
+
/* empty css */
|
|
117
|
+
/* empty css */
|
|
118
|
+
/* empty css */
|
|
111
119
|
/* empty css */
|
|
112
120
|
/* empty css */
|
|
113
121
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
|
|
2
|
+
import { c as clsx } from "./clsx.js";
|
|
3
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
+
__name: "table-header",
|
|
5
|
+
props: {
|
|
6
|
+
class: {}
|
|
7
|
+
},
|
|
8
|
+
setup(__props) {
|
|
9
|
+
const props = __props;
|
|
10
|
+
return (_ctx, _cache) => {
|
|
11
|
+
return openBlock(), createElementBlock("thead", {
|
|
12
|
+
class: normalizeClass(unref(clsx)("celeste-table-header", props.class))
|
|
13
|
+
}, [
|
|
14
|
+
renderSlot(_ctx.$slots, "default")
|
|
15
|
+
], 2);
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
export {
|
|
20
|
+
_sfc_main as _
|
|
21
|
+
};
|
package/dist/es/index.js
CHANGED
|
@@ -139,16 +139,25 @@ import tabMenuContent from "./tab-menu-content.js";
|
|
|
139
139
|
import tabMenuItem from "./tab-menu-item.js";
|
|
140
140
|
import tabMenuList from "./tab-menu-list.js";
|
|
141
141
|
import tabMenu from "./tab-menu.js";
|
|
142
|
+
import tableBody from "./table-body.js";
|
|
143
|
+
import tableCaption from "./table-caption.js";
|
|
144
|
+
import TableCell from "./table-cell.js";
|
|
145
|
+
import tableEmpty from "./table-empty.js";
|
|
146
|
+
import tableFooter from "./table-footer.js";
|
|
147
|
+
import tableHead from "./table-head.js";
|
|
148
|
+
import { _ as _sfc_main$I } from "./chunks/table-header.js";
|
|
149
|
+
import tableRow from "./table-row.js";
|
|
150
|
+
import table from "./table.js";
|
|
142
151
|
import tag from "./tag.js";
|
|
143
152
|
import TextInputAffix from "./text-input-affix.js";
|
|
144
153
|
import TextInputButton from "./text-input-button.js";
|
|
145
154
|
import TextInput from "./text-input.js";
|
|
146
155
|
import textarea from "./textarea.js";
|
|
147
156
|
import TooltipContent from "./tooltip-content.js";
|
|
148
|
-
import { _ as _sfc_main$
|
|
149
|
-
import { _ as _sfc_main$
|
|
150
|
-
import { _ as _sfc_main$
|
|
151
|
-
import { _ as _sfc_main$
|
|
157
|
+
import { _ as _sfc_main$K } from "./chunks/tooltip-provider.js";
|
|
158
|
+
import { _ as _sfc_main$L } from "./chunks/tooltip-root.js";
|
|
159
|
+
import { _ as _sfc_main$M } from "./chunks/tooltip-trigger.js";
|
|
160
|
+
import { _ as _sfc_main$J } from "./chunks/tooltip.js";
|
|
152
161
|
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
153
162
|
import { SIDEBAR_COOKIE_MAX_AGE, SIDEBAR_COOKIE_NAME, SIDEBAR_KEYBOARD_SHORTCUT, SIDEBAR_WIDTH, SIDEBAR_WIDTH_ICON, SIDEBAR_WIDTH_MOBILE, provideSidebarContext, useSidebar } from "./use-sidebar.js";
|
|
154
163
|
import { COLOR_NUMBER_VALIDATION_PATTERN, DEFAULT_SWATCH, HEX_VALIDATION_PATTERN, bumpColorValue, clamp, getAbsolutePosition, getColorConstraints, getFractionDigit, getPageXYFromEvent, getScrollXY, resolveArrowDirection, truncColorValue } from "./color.js";
|
|
@@ -275,16 +284,25 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
|
|
|
275
284
|
TabMenuContent: tabMenuContent,
|
|
276
285
|
TabMenuItem: tabMenuItem,
|
|
277
286
|
TabMenuList: tabMenuList,
|
|
287
|
+
Table: table,
|
|
288
|
+
TableBody: tableBody,
|
|
289
|
+
TableCaption: tableCaption,
|
|
290
|
+
TableCell,
|
|
291
|
+
TableEmpty: tableEmpty,
|
|
292
|
+
TableFooter: tableFooter,
|
|
293
|
+
TableHead: tableHead,
|
|
294
|
+
TableHeader: _sfc_main$I,
|
|
295
|
+
TableRow: tableRow,
|
|
278
296
|
Tag: tag,
|
|
279
297
|
TextInput,
|
|
280
298
|
TextInputAffix,
|
|
281
299
|
TextInputButton,
|
|
282
300
|
Textarea: textarea,
|
|
283
|
-
Tooltip: _sfc_main$
|
|
301
|
+
Tooltip: _sfc_main$J,
|
|
284
302
|
TooltipContent,
|
|
285
|
-
TooltipProvider: _sfc_main$
|
|
286
|
-
TooltipRoot: _sfc_main$
|
|
287
|
-
TooltipTrigger: _sfc_main$
|
|
303
|
+
TooltipProvider: _sfc_main$K,
|
|
304
|
+
TooltipRoot: _sfc_main$L,
|
|
305
|
+
TooltipTrigger: _sfc_main$M
|
|
288
306
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
289
307
|
function createToast(title, data) {
|
|
290
308
|
const {
|
|
@@ -472,16 +490,25 @@ export {
|
|
|
472
490
|
tabMenuContent as TabMenuContent,
|
|
473
491
|
tabMenuItem as TabMenuItem,
|
|
474
492
|
tabMenuList as TabMenuList,
|
|
493
|
+
table as Table,
|
|
494
|
+
tableBody as TableBody,
|
|
495
|
+
tableCaption as TableCaption,
|
|
496
|
+
TableCell,
|
|
497
|
+
tableEmpty as TableEmpty,
|
|
498
|
+
tableFooter as TableFooter,
|
|
499
|
+
tableHead as TableHead,
|
|
500
|
+
_sfc_main$I as TableHeader,
|
|
501
|
+
tableRow as TableRow,
|
|
475
502
|
tag as Tag,
|
|
476
503
|
TextInput,
|
|
477
504
|
TextInputAffix,
|
|
478
505
|
TextInputButton,
|
|
479
506
|
textarea as Textarea,
|
|
480
|
-
_sfc_main$
|
|
507
|
+
_sfc_main$J as Tooltip,
|
|
481
508
|
TooltipContent,
|
|
482
|
-
_sfc_main$
|
|
483
|
-
_sfc_main$
|
|
484
|
-
_sfc_main$
|
|
509
|
+
_sfc_main$K as TooltipProvider,
|
|
510
|
+
_sfc_main$L as TooltipRoot,
|
|
511
|
+
_sfc_main$M as TooltipTrigger,
|
|
485
512
|
bumpColorValue,
|
|
486
513
|
clamp,
|
|
487
514
|
getAbsolutePosition,
|
package/dist/es/table-cell.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
+
/* empty css */
|
|
3
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
4
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
6
|
__name: "table-cell",
|
package/dist/es/table-empty.js
CHANGED
|
@@ -4,9 +4,10 @@ import { c as clsx } from "./chunks/clsx.js";
|
|
|
4
4
|
/* empty css */
|
|
5
5
|
import TableCell from "./table-cell.js";
|
|
6
6
|
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
7
|
+
/* empty css */
|
|
7
8
|
/* empty css */
|
|
8
9
|
/* empty css */
|
|
9
|
-
import
|
|
10
|
+
import tableRow from "./table-row.js";
|
|
10
11
|
/* empty css */
|
|
11
12
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
12
13
|
const _hoisted_1 = { class: "celeste-table-empty-content" };
|
|
@@ -20,7 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20
21
|
const props = __props;
|
|
21
22
|
const delegated = useDelegatedProps(props, "class");
|
|
22
23
|
return (_ctx, _cache) => {
|
|
23
|
-
return openBlock(), createBlock(unref(
|
|
24
|
+
return openBlock(), createBlock(unref(tableRow), null, {
|
|
24
25
|
default: withCtx(() => [
|
|
25
26
|
createVNode(unref(TableCell), mergeProps(unref(delegated), {
|
|
26
27
|
class: unref(clsx)("celeste-table-empty", props.class)
|
package/dist/es/table-header.js
CHANGED
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
-
__name: "table-header",
|
|
5
|
-
props: {
|
|
6
|
-
class: {}
|
|
7
|
-
},
|
|
8
|
-
setup(__props) {
|
|
9
|
-
const props = __props;
|
|
10
|
-
return (_ctx, _cache) => {
|
|
11
|
-
return openBlock(), createElementBlock("thead", {
|
|
12
|
-
class: normalizeClass(unref(clsx)("celeste-table-header", props.class))
|
|
13
|
-
}, [
|
|
14
|
-
renderSlot(_ctx.$slots, "default")
|
|
15
|
-
], 2);
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
});
|
|
1
|
+
import { _ as _sfc_main } from "./chunks/table-header.js";
|
|
19
2
|
export {
|
|
20
3
|
_sfc_main as default
|
|
21
4
|
};
|
package/dist/es/table-row.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, Fragment, createElementVNode, normalizeClass, unref, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
+
/* empty css */
|
|
3
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
4
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
6
|
__name: "table-row",
|
|
@@ -26,7 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
27
|
};
|
|
27
28
|
}
|
|
28
29
|
});
|
|
29
|
-
const
|
|
30
|
+
const tableRow = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5a7011d2"]]);
|
|
30
31
|
export {
|
|
31
|
-
|
|
32
|
+
tableRow as default
|
|
32
33
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@youcan/celeste",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.76",
|
|
5
5
|
"author": "YouCan <tech@youcan.shop>",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"youcan",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"radix-vue": "^1.9.17",
|
|
45
45
|
"tinycolor2": "^1.6.0",
|
|
46
46
|
"vue-sonner": "^2.0.9",
|
|
47
|
-
"@youcan/celeste-icons": "0.6.
|
|
48
|
-
"@youcan/celeste-tokens": "0.6.
|
|
47
|
+
"@youcan/celeste-icons": "0.6.76",
|
|
48
|
+
"@youcan/celeste-tokens": "0.6.76"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@chromatic-com/storybook": "^4.1.3",
|
package/src/components/index.ts
CHANGED