@youcan/celeste 0.6.3 → 0.6.5
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 +1076 -1076
- package/dist/cjs/alert.js +2 -2
- package/dist/cjs/color-picker.js +3 -3
- package/dist/cjs/command-input.js +2 -5
- package/dist/es/alert.js +2 -2
- package/dist/es/color-picker.js +3 -3
- package/dist/es/command-input.js +2 -5
- package/package.json +4 -5
- package/src/components/alert/alert.vue +1 -1
- package/src/components/color-picker/color-picker.vue +1 -1
- package/src/components/command/command-input.vue +1 -1
- package/src/index.ts +0 -1
package/dist/cjs/alert.js
CHANGED
|
@@ -101,11 +101,11 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
101
101
|
class: Mo.normalizeClass(["celeste-alert-close", [`celeste-alert-close--${_ctx.variant}`]]),
|
|
102
102
|
onClick: _cache[0] || (_cache[0] = Mo.withModifiers(($event) => _ctx.$emit("dismiss"), ["prevent"]))
|
|
103
103
|
}, _cache[1] || (_cache[1] = [
|
|
104
|
-
Mo.createElementVNode("i", { "i-celeste-close-line"
|
|
104
|
+
Mo.createElementVNode("i", { class: "i-celeste-close-line" }, null, -1)
|
|
105
105
|
]), 2)) : Mo.createCommentVNode("", true)
|
|
106
106
|
], 10, _hoisted_1);
|
|
107
107
|
};
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
|
-
const alert = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
110
|
+
const alert = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-a07f0877"]]);
|
|
111
111
|
module.exports = alert;
|
package/dist/cjs/color-picker.js
CHANGED
|
@@ -47,7 +47,7 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
47
47
|
emits: ["update:modelValue"],
|
|
48
48
|
setup(__props, { emit: __emit }) {
|
|
49
49
|
Mo.useCssVars((_ctx) => ({
|
|
50
|
-
"
|
|
50
|
+
"88e786d6": _ctx.modelValue
|
|
51
51
|
}));
|
|
52
52
|
const props = __props;
|
|
53
53
|
const emit = __emit;
|
|
@@ -307,7 +307,7 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
307
307
|
onClick: sipColor
|
|
308
308
|
}, {
|
|
309
309
|
default: Mo.withCtx(() => _cache[54] || (_cache[54] = [
|
|
310
|
-
Mo.createElementVNode("i", { "i-celeste-sip-line"
|
|
310
|
+
Mo.createElementVNode("i", { class: "i-celeste-sip-line" }, null, -1)
|
|
311
311
|
])),
|
|
312
312
|
_: 1
|
|
313
313
|
})) : Mo.createCommentVNode("", true),
|
|
@@ -511,5 +511,5 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
511
511
|
};
|
|
512
512
|
}
|
|
513
513
|
});
|
|
514
|
-
const colorPicker = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
514
|
+
const colorPicker = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-5d801c64"]]);
|
|
515
515
|
module.exports = colorPicker;
|
|
@@ -29,10 +29,7 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
29
29
|
const forwardedProps = index.At(delegatedProps);
|
|
30
30
|
return (_ctx, _cache) => {
|
|
31
31
|
return Mo.openBlock(), Mo.createElementBlock("div", _hoisted_1, [
|
|
32
|
-
_cache[0] || (_cache[0] = Mo.createElementVNode("i", {
|
|
33
|
-
"i-celeste-search-line": "",
|
|
34
|
-
class: "celeste-command-input-icon"
|
|
35
|
-
}, null, -1)),
|
|
32
|
+
_cache[0] || (_cache[0] = Mo.createElementVNode("i", { class: "celeste-command-input-icon i-celeste-search-line" }, null, -1)),
|
|
36
33
|
Mo.createVNode(Mo.unref(index.Wv), Mo.mergeProps({ ...Mo.unref(forwardedProps), ..._ctx.$attrs }, {
|
|
37
34
|
"auto-focus": "",
|
|
38
35
|
class: Mo.unref(clsx.clsx)("celeste-command-input-primitive", props.class)
|
|
@@ -41,5 +38,5 @@ const _sfc_main = /* @__PURE__ */ Mo.defineComponent({
|
|
|
41
38
|
};
|
|
42
39
|
}
|
|
43
40
|
});
|
|
44
|
-
const commandInput = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
41
|
+
const commandInput = /* @__PURE__ */ _pluginVue_exportHelper._export_sfc(_sfc_main, [["__scopeId", "data-v-0407a5d5"]]);
|
|
45
42
|
module.exports = commandInput;
|
package/dist/es/alert.js
CHANGED
|
@@ -100,13 +100,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
100
100
|
class: normalizeClass(["celeste-alert-close", [`celeste-alert-close--${_ctx.variant}`]]),
|
|
101
101
|
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.$emit("dismiss"), ["prevent"]))
|
|
102
102
|
}, _cache[1] || (_cache[1] = [
|
|
103
|
-
createElementVNode("i", { "i-celeste-close-line"
|
|
103
|
+
createElementVNode("i", { class: "i-celeste-close-line" }, null, -1)
|
|
104
104
|
]), 2)) : createCommentVNode("", true)
|
|
105
105
|
], 10, _hoisted_1);
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
108
|
});
|
|
109
|
-
const alert = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
109
|
+
const alert = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a07f0877"]]);
|
|
110
110
|
export {
|
|
111
111
|
alert as default
|
|
112
112
|
};
|
package/dist/es/color-picker.js
CHANGED
|
@@ -46,7 +46,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
46
46
|
emits: ["update:modelValue"],
|
|
47
47
|
setup(__props, { emit: __emit }) {
|
|
48
48
|
useCssVars((_ctx) => ({
|
|
49
|
-
"
|
|
49
|
+
"88e786d6": _ctx.modelValue
|
|
50
50
|
}));
|
|
51
51
|
const props = __props;
|
|
52
52
|
const emit = __emit;
|
|
@@ -306,7 +306,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
306
306
|
onClick: sipColor
|
|
307
307
|
}, {
|
|
308
308
|
default: withCtx(() => _cache[54] || (_cache[54] = [
|
|
309
|
-
createElementVNode("i", { "i-celeste-sip-line"
|
|
309
|
+
createElementVNode("i", { class: "i-celeste-sip-line" }, null, -1)
|
|
310
310
|
])),
|
|
311
311
|
_: 1
|
|
312
312
|
})) : createCommentVNode("", true),
|
|
@@ -510,7 +510,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
510
510
|
};
|
|
511
511
|
}
|
|
512
512
|
});
|
|
513
|
-
const colorPicker = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
513
|
+
const colorPicker = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5d801c64"]]);
|
|
514
514
|
export {
|
|
515
515
|
colorPicker as default
|
|
516
516
|
};
|
package/dist/es/command-input.js
CHANGED
|
@@ -28,10 +28,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28
28
|
const forwardedProps = At(delegatedProps);
|
|
29
29
|
return (_ctx, _cache) => {
|
|
30
30
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
31
|
-
_cache[0] || (_cache[0] = createElementVNode("i", {
|
|
32
|
-
"i-celeste-search-line": "",
|
|
33
|
-
class: "celeste-command-input-icon"
|
|
34
|
-
}, null, -1)),
|
|
31
|
+
_cache[0] || (_cache[0] = createElementVNode("i", { class: "celeste-command-input-icon i-celeste-search-line" }, null, -1)),
|
|
35
32
|
createVNode(unref(Wv), mergeProps({ ...unref(forwardedProps), ..._ctx.$attrs }, {
|
|
36
33
|
"auto-focus": "",
|
|
37
34
|
class: unref(clsx)("celeste-command-input-primitive", props.class)
|
|
@@ -40,7 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
40
37
|
};
|
|
41
38
|
}
|
|
42
39
|
});
|
|
43
|
-
const commandInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
40
|
+
const commandInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0407a5d5"]]);
|
|
44
41
|
export {
|
|
45
42
|
commandInput as default
|
|
46
43
|
};
|
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.5",
|
|
5
5
|
"author": "YouCan <tech@youcan.shop>",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"youcan",
|
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
"types": "./dist/index.d.ts",
|
|
13
13
|
"import": "./dist/es/index.js",
|
|
14
14
|
"require": "./dist/cjs/index.cjs"
|
|
15
|
-
}
|
|
16
|
-
"./assets/celeste-vue.css": "./dist/celeste-vue.css"
|
|
15
|
+
}
|
|
17
16
|
},
|
|
18
17
|
"main": "./dist/cjs/index.cjs",
|
|
19
18
|
"module": "./dist/es/index.js",
|
|
@@ -32,8 +31,8 @@
|
|
|
32
31
|
"clsx": "^2.1.1",
|
|
33
32
|
"radix-vue": "^1.9.12",
|
|
34
33
|
"tinycolor2": "^1.6.0",
|
|
35
|
-
"@youcan/celeste-icons": "0.6.
|
|
36
|
-
"@youcan/celeste-tokens": "0.6.
|
|
34
|
+
"@youcan/celeste-icons": "0.6.5",
|
|
35
|
+
"@youcan/celeste-tokens": "0.6.5"
|
|
37
36
|
},
|
|
38
37
|
"devDependencies": {
|
|
39
38
|
"@chromatic-com/storybook": "^4.0.0",
|
|
@@ -22,7 +22,7 @@ const forwardedProps = useForwardProps(delegatedProps);
|
|
|
22
22
|
|
|
23
23
|
<template>
|
|
24
24
|
<div class="celeste-command-input" cmdk-input-wrapper>
|
|
25
|
-
<i
|
|
25
|
+
<i class="celeste-command-input-icon i-celeste-search-line" />
|
|
26
26
|
<ComboboxInput
|
|
27
27
|
v-bind="{ ...forwardedProps, ...$attrs }"
|
|
28
28
|
auto-focus
|