@youcan/celeste 0.6.32 → 0.6.34
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 +300 -234
- package/dist/cjs/chunks/index.js +95 -0
- package/dist/cjs/dropdown-menu-content.js +52 -2
- package/dist/cjs/dropdown-menu-item.js +13 -25
- package/dist/cjs/dropdown-menu-sub-content.js +49 -2
- package/dist/cjs/dropdown-menu-sub-trigger.js +43 -2
- package/dist/cjs/dropdown-menu-trigger.js +2 -2
- package/dist/cjs/dropdown.js +1 -2
- package/dist/cjs/index.js +15 -9
- package/dist/cjs/progress-bar.js +84 -0
- package/dist/cjs/progress-circle.js +92 -0
- package/dist/components/dropdown-menu/dropdown-menu-item.d.ts +1 -0
- package/dist/components/dropdown-menu/dropdown-menu-sub-trigger.d.ts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/progress/index.d.ts +4 -0
- package/dist/components/progress/progress-bar.d.ts +31 -0
- package/dist/components/progress/progress-circle.d.ts +27 -0
- package/dist/es/checkbox-label.js +1 -1
- package/dist/es/chunks/index.js +142 -47
- package/dist/es/chunks/index2.js +1 -1
- package/dist/es/combobox-group.js +1 -1
- package/dist/es/combobox-input.js +1 -1
- package/dist/es/combobox-item.js +1 -1
- package/dist/es/combobox-list.js +1 -1
- package/dist/es/combobox-root.js +1 -1
- package/dist/es/combobox-separator.js +1 -1
- package/dist/es/combobox-trigger.js +1 -1
- package/dist/es/command-group.js +1 -1
- package/dist/es/command-input.js +1 -1
- package/dist/es/command-item.js +1 -1
- package/dist/es/command-list.js +1 -1
- package/dist/es/command-root.js +1 -1
- package/dist/es/command-separator.js +1 -1
- package/dist/es/dropdown-menu-content.js +52 -2
- package/dist/es/dropdown-menu-group.js +1 -1
- package/dist/es/dropdown-menu-item.js +15 -27
- package/dist/es/dropdown-menu-label.js +1 -1
- package/dist/es/dropdown-menu-separator.js +1 -1
- package/dist/es/dropdown-menu-sub-content.js +49 -2
- package/dist/es/dropdown-menu-sub-trigger.js +43 -2
- package/dist/es/dropdown-menu-trigger.js +2 -2
- package/dist/es/dropdown.js +2 -3
- package/dist/es/index.js +48 -42
- package/dist/es/label.js +1 -1
- package/dist/es/progress-bar.js +85 -0
- package/dist/es/progress-circle.js +93 -0
- package/dist/es/scroll-bar.js +1 -1
- package/dist/es/segmented-control-item.js +1 -1
- package/dist/es/segmented-control.js +1 -1
- package/dist/es/select-content.js +1 -1
- package/dist/es/select-item.js +1 -1
- package/dist/es/select-trigger.js +1 -1
- package/dist/es/select-value.js +1 -1
- package/dist/es/tab-menu-content.js +1 -1
- package/dist/es/tab-menu-item.js +1 -1
- package/dist/es/tab-menu-list.js +1 -1
- package/dist/es/tab-menu.js +1 -1
- package/dist/es/tooltip.js +1 -1
- package/package.json +3 -3
- package/src/components/dropdown/dropdown.vue +0 -1
- package/src/components/dropdown-menu/dropdown-menu-content.vue +31 -21
- package/src/components/dropdown-menu/dropdown-menu-item.vue +8 -62
- package/src/components/dropdown-menu/dropdown-menu-sub-content.vue +32 -21
- package/src/components/dropdown-menu/dropdown-menu-sub-trigger.vue +30 -6
- package/src/components/dropdown-menu/dropdown-menu-trigger.vue +6 -20
- package/src/components/dropdown-menu/stories/dropdown-menu.stories.ts +150 -54
- package/src/components/index.ts +1 -0
- package/src/components/progress/index.ts +5 -0
- package/src/components/progress/progress-bar.vue +167 -0
- package/src/components/progress/progress-circle.vue +126 -0
- package/src/components/progress/stories/progress-bar.stories.ts +328 -0
- package/src/components/progress/stories/progress-circular.stories.ts +152 -0
- package/dist/cjs/chunks/dropdown-menu-content.vue_vue_type_style_index_0_lang.js +0 -51
- package/dist/cjs/chunks/dropdown-menu-sub-content.vue_vue_type_style_index_0_lang.js +0 -49
- package/dist/cjs/chunks/dropdown-menu-sub-trigger.vue_vue_type_style_index_0_lang.js +0 -32
- package/dist/es/chunks/dropdown-menu-content.vue_vue_type_style_index_0_lang.js +0 -52
- package/dist/es/chunks/dropdown-menu-sub-content.vue_vue_type_style_index_0_lang.js +0 -50
- package/dist/es/chunks/dropdown-menu-sub-trigger.vue_vue_type_style_index_0_lang.js +0 -33
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ProgressRootProps } from 'radix-vue';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = ProgressRootProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
color?: 'blue' | 'red' | 'orange' | 'green' | 'primary';
|
|
6
|
+
title?: string;
|
|
7
|
+
layout?: 'default' | 'no-description' | 'inline' | 'bare';
|
|
8
|
+
};
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
label?(_: {}): any;
|
|
13
|
+
description?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {};
|
|
16
|
+
rootEl: HTMLDivElement;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
20
|
+
color: "blue" | "red" | "orange" | "green" | "primary";
|
|
21
|
+
modelValue: number | null;
|
|
22
|
+
max: number;
|
|
23
|
+
layout: "default" | "no-description" | "inline" | "bare";
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { ProgressRootProps } from 'radix-vue';
|
|
3
|
+
type __VLS_Props = ProgressRootProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
size?: 80 | 72 | 64 | 56 | 48;
|
|
6
|
+
};
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: any;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
|
+
size: 80 | 72 | 64 | 56 | 48;
|
|
18
|
+
modelValue: number | null;
|
|
19
|
+
max: number;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -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 {
|
|
4
|
+
import { J as Oh, f 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 = {
|
package/dist/es/chunks/index.js
CHANGED
|
@@ -6406,6 +6406,99 @@ const [Nt, Xc] = Q("PopoverRoot"), ys = /* @__PURE__ */ defineComponent({
|
|
|
6406
6406
|
_: 3
|
|
6407
6407
|
}, 8, ["type", "as", "as-child"]));
|
|
6408
6408
|
}
|
|
6409
|
+
}), da = 100, [Qc, ef] = Q("ProgressRoot"), Po = (a2) => typeof a2 == "number";
|
|
6410
|
+
function tf(a2, t) {
|
|
6411
|
+
return vt(a2) || Po(a2) && !Number.isNaN(a2) && a2 <= t && a2 >= 0 ? a2 : (console.error(`Invalid prop \`value\` of value \`${a2}\` supplied to \`ProgressRoot\`. The \`value\` prop must be:
|
|
6412
|
+
- a positive number
|
|
6413
|
+
- less than the value passed to \`max\` (or ${da} if no \`max\` prop is set)
|
|
6414
|
+
- \`null\` or \`undefined\` if the progress is indeterminate.
|
|
6415
|
+
|
|
6416
|
+
Defaulting to \`null\`.`), null);
|
|
6417
|
+
}
|
|
6418
|
+
function af(a2) {
|
|
6419
|
+
return Po(a2) && !Number.isNaN(a2) && a2 > 0 ? a2 : (console.error(
|
|
6420
|
+
`Invalid prop \`max\` of value \`${a2}\` supplied to \`ProgressRoot\`. Only numbers greater than 0 are valid max values. Defaulting to \`${da}\`.`
|
|
6421
|
+
), da);
|
|
6422
|
+
}
|
|
6423
|
+
const By = /* @__PURE__ */ defineComponent({
|
|
6424
|
+
__name: "ProgressRoot",
|
|
6425
|
+
props: {
|
|
6426
|
+
modelValue: {},
|
|
6427
|
+
max: { default: da },
|
|
6428
|
+
getValueLabel: { type: Function, default: (a2, t) => `${Math.round(a2 / t * da)}%` },
|
|
6429
|
+
asChild: { type: Boolean },
|
|
6430
|
+
as: {}
|
|
6431
|
+
},
|
|
6432
|
+
emits: ["update:modelValue", "update:max"],
|
|
6433
|
+
setup(a2, { emit: t }) {
|
|
6434
|
+
const e = a2, n = t;
|
|
6435
|
+
R();
|
|
6436
|
+
const l = ne(e, "modelValue", n, {
|
|
6437
|
+
passive: e.modelValue === void 0
|
|
6438
|
+
}), s = ne(e, "max", n, {
|
|
6439
|
+
passive: e.max === void 0
|
|
6440
|
+
});
|
|
6441
|
+
watch(
|
|
6442
|
+
() => l.value,
|
|
6443
|
+
async (i) => {
|
|
6444
|
+
const u = tf(i, e.max);
|
|
6445
|
+
u !== i && (await nextTick(), l.value = u);
|
|
6446
|
+
},
|
|
6447
|
+
{ immediate: true }
|
|
6448
|
+
), watch(
|
|
6449
|
+
() => e.max,
|
|
6450
|
+
(i) => {
|
|
6451
|
+
const u = af(e.max);
|
|
6452
|
+
u !== i && (s.value = u);
|
|
6453
|
+
},
|
|
6454
|
+
{ immediate: true }
|
|
6455
|
+
);
|
|
6456
|
+
const r = computed(() => vt(l.value) ? "indeterminate" : l.value === s.value ? "complete" : "loading");
|
|
6457
|
+
return ef({
|
|
6458
|
+
modelValue: l,
|
|
6459
|
+
max: s,
|
|
6460
|
+
progressState: r
|
|
6461
|
+
}), (i, u) => (openBlock(), createBlock(unref(O), {
|
|
6462
|
+
"as-child": i.asChild,
|
|
6463
|
+
as: i.as,
|
|
6464
|
+
"aria-valuemax": unref(s),
|
|
6465
|
+
"aria-valuemin": 0,
|
|
6466
|
+
"aria-valuenow": Po(unref(l)) ? unref(l) : void 0,
|
|
6467
|
+
"aria-valuetext": i.getValueLabel(unref(l), unref(s)),
|
|
6468
|
+
"aria-label": i.getValueLabel(unref(l), unref(s)),
|
|
6469
|
+
role: "progressbar",
|
|
6470
|
+
"data-state": r.value,
|
|
6471
|
+
"data-value": unref(l) ?? void 0,
|
|
6472
|
+
"data-max": unref(s)
|
|
6473
|
+
}, {
|
|
6474
|
+
default: withCtx(() => [
|
|
6475
|
+
renderSlot(i.$slots, "default", { modelValue: unref(l) })
|
|
6476
|
+
]),
|
|
6477
|
+
_: 3
|
|
6478
|
+
}, 8, ["as-child", "as", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-label", "data-state", "data-value", "data-max"]));
|
|
6479
|
+
}
|
|
6480
|
+
}), Iy = /* @__PURE__ */ defineComponent({
|
|
6481
|
+
__name: "ProgressIndicator",
|
|
6482
|
+
props: {
|
|
6483
|
+
asChild: { type: Boolean },
|
|
6484
|
+
as: {}
|
|
6485
|
+
},
|
|
6486
|
+
setup(a2) {
|
|
6487
|
+
const t = a2, e = Qc();
|
|
6488
|
+
return R(), (n, l) => {
|
|
6489
|
+
var s;
|
|
6490
|
+
return openBlock(), createBlock(unref(O), mergeProps(t, {
|
|
6491
|
+
"data-state": unref(e).progressState.value,
|
|
6492
|
+
"data-value": ((s = unref(e).modelValue) == null ? void 0 : s.value) ?? void 0,
|
|
6493
|
+
"data-max": unref(e).max.value
|
|
6494
|
+
}), {
|
|
6495
|
+
default: withCtx(() => [
|
|
6496
|
+
renderSlot(n.$slots, "default")
|
|
6497
|
+
]),
|
|
6498
|
+
_: 3
|
|
6499
|
+
}, 16, ["data-state", "data-value", "data-max"]);
|
|
6500
|
+
};
|
|
6501
|
+
}
|
|
6409
6502
|
});
|
|
6410
6503
|
const [He, Pf] = Q("ScrollAreaRoot"), Oy = /* @__PURE__ */ defineComponent({
|
|
6411
6504
|
__name: "ScrollAreaRoot",
|
|
@@ -9193,45 +9286,46 @@ const av = /* @__PURE__ */ defineComponent({
|
|
|
9193
9286
|
}
|
|
9194
9287
|
});
|
|
9195
9288
|
export {
|
|
9196
|
-
|
|
9289
|
+
Uv as $,
|
|
9197
9290
|
At as A,
|
|
9198
|
-
|
|
9199
|
-
|
|
9200
|
-
|
|
9201
|
-
|
|
9291
|
+
yg as B,
|
|
9292
|
+
gg as C,
|
|
9293
|
+
Cg as D,
|
|
9294
|
+
bg as E,
|
|
9202
9295
|
Fy as F,
|
|
9203
9296
|
Gy as G,
|
|
9204
|
-
|
|
9205
|
-
|
|
9206
|
-
|
|
9297
|
+
lv as H,
|
|
9298
|
+
sv as I,
|
|
9299
|
+
Oh as J,
|
|
9207
9300
|
Kv as K,
|
|
9208
|
-
|
|
9209
|
-
|
|
9301
|
+
qv as L,
|
|
9302
|
+
My as M,
|
|
9210
9303
|
Ny as N,
|
|
9211
9304
|
Oy as O,
|
|
9212
|
-
|
|
9305
|
+
Wv as P,
|
|
9213
9306
|
Qf as Q,
|
|
9214
|
-
|
|
9215
|
-
|
|
9216
|
-
|
|
9217
|
-
|
|
9307
|
+
Qv as R,
|
|
9308
|
+
nm as S,
|
|
9309
|
+
Jv as T,
|
|
9310
|
+
Hv as U,
|
|
9218
9311
|
Vy as V,
|
|
9219
9312
|
Wy as W,
|
|
9220
|
-
|
|
9313
|
+
Xv as X,
|
|
9221
9314
|
Yv as Y,
|
|
9222
9315
|
Zv as Z,
|
|
9223
|
-
|
|
9316
|
+
tm as _,
|
|
9224
9317
|
Gl as a,
|
|
9225
|
-
|
|
9226
|
-
|
|
9227
|
-
|
|
9228
|
-
|
|
9229
|
-
|
|
9230
|
-
|
|
9231
|
-
|
|
9232
|
-
|
|
9318
|
+
ih as a0,
|
|
9319
|
+
uh as a1,
|
|
9320
|
+
fh as a2,
|
|
9321
|
+
ch as a3,
|
|
9322
|
+
hh as a4,
|
|
9323
|
+
ph as a5,
|
|
9324
|
+
Ch as a6,
|
|
9325
|
+
wh as a7,
|
|
9233
9326
|
rh as a8,
|
|
9234
9327
|
sh as a9,
|
|
9328
|
+
Wg as aA,
|
|
9235
9329
|
Dv as aa,
|
|
9236
9330
|
Eu as ab,
|
|
9237
9331
|
xu as ac,
|
|
@@ -9242,21 +9336,22 @@ export {
|
|
|
9242
9336
|
_s as ah,
|
|
9243
9337
|
xs as ai,
|
|
9244
9338
|
gs as aj,
|
|
9245
|
-
|
|
9246
|
-
|
|
9247
|
-
|
|
9248
|
-
|
|
9249
|
-
|
|
9250
|
-
|
|
9251
|
-
|
|
9252
|
-
|
|
9253
|
-
|
|
9254
|
-
|
|
9255
|
-
|
|
9256
|
-
|
|
9257
|
-
|
|
9258
|
-
|
|
9259
|
-
|
|
9339
|
+
By as ak,
|
|
9340
|
+
Iy as al,
|
|
9341
|
+
zy as am,
|
|
9342
|
+
Ky as an,
|
|
9343
|
+
Xy as ao,
|
|
9344
|
+
jy as ap,
|
|
9345
|
+
Yy as aq,
|
|
9346
|
+
Uy as ar,
|
|
9347
|
+
Ly as as,
|
|
9348
|
+
eg as at,
|
|
9349
|
+
Qy as au,
|
|
9350
|
+
Lg as av,
|
|
9351
|
+
zg as aw,
|
|
9352
|
+
Kg as ax,
|
|
9353
|
+
jg as ay,
|
|
9354
|
+
Hg as az,
|
|
9260
9355
|
bh as b,
|
|
9261
9356
|
tg as c,
|
|
9262
9357
|
ag as d,
|
|
@@ -9264,21 +9359,21 @@ export {
|
|
|
9264
9359
|
O as f,
|
|
9265
9360
|
flip as g,
|
|
9266
9361
|
hg as h,
|
|
9267
|
-
|
|
9362
|
+
offset as i,
|
|
9268
9363
|
jv as j,
|
|
9269
9364
|
ky as k,
|
|
9270
|
-
|
|
9365
|
+
arrow$1 as l,
|
|
9271
9366
|
mg as m,
|
|
9272
9367
|
ng as n,
|
|
9273
9368
|
og as o,
|
|
9274
|
-
|
|
9369
|
+
size as p,
|
|
9275
9370
|
qy as q,
|
|
9276
|
-
|
|
9371
|
+
autoPlacement as r,
|
|
9277
9372
|
shift as s,
|
|
9278
9373
|
tu as t,
|
|
9279
|
-
|
|
9280
|
-
|
|
9281
|
-
|
|
9374
|
+
hide as u,
|
|
9375
|
+
inline as v,
|
|
9376
|
+
computePosition as w,
|
|
9282
9377
|
xe as x,
|
|
9283
9378
|
ys as y,
|
|
9284
9379
|
zv as z
|
package/dist/es/chunks/index2.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { P as PluginKey, S as Selection, k as keydownHandler, a as SelectionRange, T as TextSelection, F as Fragment, b as Slice, E as Extension, c as Plugin, i as isTextSelection, p as posToDOMRect, g as getText, d as getTextSerializersFromSchema } from "./index3.js";
|
|
2
|
-
import { g as flip, s as shift,
|
|
2
|
+
import { g as flip, s as shift, i as offset, l as arrow$1, p as size, r as autoPlacement, u as hide, v as inline, w as computePosition } from "./index.js";
|
|
3
3
|
import { defineComponent, ref, onMounted, onBeforeUnmount, h, Teleport } from "vue";
|
|
4
4
|
var readFromCache;
|
|
5
5
|
var addToCache;
|
|
@@ -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 {
|
|
3
|
+
import { L 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",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, mergeModels, useModel, computed, openBlock, createBlock, unref, mergeProps, withCtx, createVNode, createElementVNode } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { P as Wv } from "./chunks/index.js";
|
|
4
4
|
import TextInput from "./text-input.js";
|
|
5
5
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
package/dist/es/combobox-item.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, createElementVNode, normalizeClass, createCommentVNode, createElementBlock, renderSlot, toDisplayString } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import { x as xe,
|
|
3
|
+
import { x as xe, R as Qv } from "./chunks/index.js";
|
|
4
4
|
import { _ as _sfc_main$1 } from "./chunks/checkbox.vue_vue_type_style_index_0_lang.js";
|
|
5
5
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
6
|
const _hoisted_1 = ["aria-disabled"];
|
package/dist/es/combobox-list.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createVNode, mergeProps, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import { x as xe,
|
|
3
|
+
import { x as xe, S as nm, X as Xv, T as Jv } from "./chunks/index.js";
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "combobox-list",
|
package/dist/es/combobox-root.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
-
import { x as xe,
|
|
2
|
+
import { x as xe, U as Hv } from "./chunks/index.js";
|
|
3
3
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "combobox-root",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { _ as tm } from "./chunks/index.js";
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "combobox-separator",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import { A as At,
|
|
3
|
+
import { A as At, $ as Uv } from "./chunks/index.js";
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "combobox-trigger",
|
package/dist/es/command-group.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, createTextVNode, toDisplayString, createCommentVNode, renderSlot } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { L as qv, Y as Yv } from "./chunks/index.js";
|
|
3
3
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "command-group",
|
package/dist/es/command-input.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, createElementVNode, createVNode, unref, mergeProps } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import { A as At,
|
|
3
|
+
import { A as At, P as Wv } from "./chunks/index.js";
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
5
5
|
const _hoisted_1 = {
|
|
6
6
|
class: "celeste-command-input",
|
package/dist/es/command-item.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
-
import { x as xe,
|
|
2
|
+
import { x as xe, R as Qv } from "./chunks/index.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "command-item",
|
|
5
5
|
props: {
|
package/dist/es/command-list.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, createElementVNode, renderSlot } from "vue";
|
|
2
|
-
import { x as xe,
|
|
2
|
+
import { x as xe, X as Xv } from "./chunks/index.js";
|
|
3
3
|
const _hoisted_1 = { role: "presentation" };
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "command-list",
|
package/dist/es/command-root.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
-
import { x as xe,
|
|
2
|
+
import { x as xe, U as Hv } from "./chunks/index.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "command-root",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { c as clsx } from "./chunks/clsx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { _ as tm } from "./chunks/index.js";
|
|
4
4
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "command-separator",
|
|
@@ -1,4 +1,54 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, withCtx, createVNode, mergeProps, renderSlot } from "vue";
|
|
2
|
+
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
3
|
+
import { c as clsx } from "./chunks/clsx.js";
|
|
4
|
+
import { x as xe, a0 as ih, a1 as uh } from "./chunks/index.js";
|
|
5
|
+
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "dropdown-menu-content",
|
|
8
|
+
props: {
|
|
9
|
+
forceMount: { type: Boolean },
|
|
10
|
+
loop: { type: Boolean },
|
|
11
|
+
side: {},
|
|
12
|
+
sideOffset: { default: 4 },
|
|
13
|
+
align: {},
|
|
14
|
+
alignOffset: {},
|
|
15
|
+
avoidCollisions: { type: Boolean },
|
|
16
|
+
collisionBoundary: {},
|
|
17
|
+
collisionPadding: {},
|
|
18
|
+
arrowPadding: {},
|
|
19
|
+
sticky: {},
|
|
20
|
+
hideWhenDetached: { type: Boolean },
|
|
21
|
+
updatePositionStrategy: {},
|
|
22
|
+
prioritizePosition: { type: Boolean },
|
|
23
|
+
asChild: { type: Boolean },
|
|
24
|
+
as: {},
|
|
25
|
+
class: {}
|
|
26
|
+
},
|
|
27
|
+
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "closeAutoFocus"],
|
|
28
|
+
setup(__props, { emit: __emit }) {
|
|
29
|
+
const props = __props;
|
|
30
|
+
const emits = __emit;
|
|
31
|
+
const delegatedProps = useDelegatedProps(props, "class");
|
|
32
|
+
const forwarded = xe(delegatedProps, emits);
|
|
33
|
+
return (_ctx, _cache) => {
|
|
34
|
+
return openBlock(), createBlock(unref(ih), null, {
|
|
35
|
+
default: withCtx(() => [
|
|
36
|
+
createVNode(unref(uh), mergeProps(unref(forwarded), {
|
|
37
|
+
class: unref(clsx)("celeste-dropdown-menu-content", props.class),
|
|
38
|
+
"side-offset": 8
|
|
39
|
+
}), {
|
|
40
|
+
default: withCtx(() => [
|
|
41
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
42
|
+
]),
|
|
43
|
+
_: 3
|
|
44
|
+
}, 16, ["class"])
|
|
45
|
+
]),
|
|
46
|
+
_: 3
|
|
47
|
+
});
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
const dropdownMenuContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3bd71ed1"]]);
|
|
2
52
|
export {
|
|
3
|
-
|
|
53
|
+
dropdownMenuContent as default
|
|
4
54
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a2 as fh } from "./chunks/index.js";
|
|
3
3
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "dropdown-menu-group",
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, createElementBlock, renderSlot, createCommentVNode, createElementVNode } from "vue";
|
|
2
2
|
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
3
3
|
import { c as clsx } from "./chunks/clsx.js";
|
|
4
|
-
import { A as At,
|
|
4
|
+
import { A as At, a3 as ch } from "./chunks/index.js";
|
|
5
5
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
|
-
const _hoisted_1 = {
|
|
7
|
-
const _hoisted_2 = { class: "celeste-dropdown-menu-item-body" };
|
|
8
|
-
const _hoisted_3 = { class: "celeste-dropdown-menu-item-text" };
|
|
9
|
-
const _hoisted_4 = ["title"];
|
|
10
|
-
const _hoisted_5 = ["title"];
|
|
11
|
-
const _hoisted_6 = {
|
|
6
|
+
const _hoisted_1 = {
|
|
12
7
|
key: 0,
|
|
13
|
-
class: "celeste-dropdown-menu-item-
|
|
8
|
+
class: "celeste-dropdown-menu-item-prefix"
|
|
9
|
+
};
|
|
10
|
+
const _hoisted_2 = { class: "celeste-dropdown-menu-item-body" };
|
|
11
|
+
const _hoisted_3 = {
|
|
12
|
+
key: 1,
|
|
13
|
+
class: "celeste-dropdown-menu-item-suffix"
|
|
14
14
|
};
|
|
15
|
-
const _hoisted_7 = { class: "celeste-dropdown-menu-item-suffix" };
|
|
16
15
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
16
|
__name: "dropdown-menu-item",
|
|
18
17
|
props: {
|
|
@@ -37,33 +36,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
37
36
|
)
|
|
38
37
|
}), {
|
|
39
38
|
default: withCtx(() => [
|
|
40
|
-
|
|
39
|
+
_ctx.$slots.prefix ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
41
40
|
renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
|
|
42
|
-
]),
|
|
41
|
+
])) : createCommentVNode("", true),
|
|
43
42
|
createElementVNode("div", _hoisted_2, [
|
|
44
|
-
|
|
45
|
-
createElementVNode("span", {
|
|
46
|
-
class: "celeste-dropdown-menu-item-label",
|
|
47
|
-
title: _ctx.label
|
|
48
|
-
}, toDisplayString(_ctx.label), 9, _hoisted_4),
|
|
49
|
-
_ctx.sublabel ? (openBlock(), createElementBlock("span", {
|
|
50
|
-
key: 0,
|
|
51
|
-
title: _ctx.sublabel,
|
|
52
|
-
class: "celeste-dropdown-menu-item-sublabel"
|
|
53
|
-
}, toDisplayString(_ctx.sublabel), 9, _hoisted_5)) : createCommentVNode("", true)
|
|
54
|
-
]),
|
|
55
|
-
_ctx.description ? (openBlock(), createElementBlock("div", _hoisted_6, toDisplayString(_ctx.description), 1)) : createCommentVNode("", true)
|
|
43
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
56
44
|
]),
|
|
57
|
-
|
|
45
|
+
_ctx.$slots.suffix ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
58
46
|
renderSlot(_ctx.$slots, "suffix", {}, void 0, true)
|
|
59
|
-
])
|
|
47
|
+
])) : createCommentVNode("", true)
|
|
60
48
|
]),
|
|
61
49
|
_: 3
|
|
62
50
|
}, 16, ["class"]);
|
|
63
51
|
};
|
|
64
52
|
}
|
|
65
53
|
});
|
|
66
|
-
const dropdownMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
54
|
+
const dropdownMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b374fad1"]]);
|
|
67
55
|
export {
|
|
68
56
|
dropdownMenuItem as default
|
|
69
57
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
|
|
2
2
|
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
3
3
|
import { c as clsx } from "./chunks/clsx.js";
|
|
4
|
-
import { A as At,
|
|
4
|
+
import { A as At, a4 as hh } from "./chunks/index.js";
|
|
5
5
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "dropdown-menu-label",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, unref, mergeProps } from "vue";
|
|
2
2
|
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
3
3
|
import { c as clsx } from "./chunks/clsx.js";
|
|
4
|
-
import {
|
|
4
|
+
import { a5 as ph } from "./chunks/index.js";
|
|
5
5
|
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "dropdown-menu-separator",
|
|
@@ -1,4 +1,51 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent, openBlock, createBlock, unref, withCtx, createVNode, mergeProps, renderSlot } from "vue";
|
|
2
|
+
import { useDelegatedProps } from "./use-delegated-props.js";
|
|
3
|
+
import { c as clsx } from "./chunks/clsx.js";
|
|
4
|
+
import { x as xe, a0 as ih, a6 as Ch } from "./chunks/index.js";
|
|
5
|
+
import { _ as _export_sfc } from "./chunks/_plugin-vue_export-helper.js";
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "dropdown-menu-sub-content",
|
|
8
|
+
props: {
|
|
9
|
+
forceMount: { type: Boolean },
|
|
10
|
+
loop: { type: Boolean },
|
|
11
|
+
sideOffset: {},
|
|
12
|
+
alignOffset: {},
|
|
13
|
+
avoidCollisions: { type: Boolean },
|
|
14
|
+
collisionBoundary: {},
|
|
15
|
+
collisionPadding: {},
|
|
16
|
+
arrowPadding: {},
|
|
17
|
+
sticky: {},
|
|
18
|
+
hideWhenDetached: { type: Boolean },
|
|
19
|
+
updatePositionStrategy: {},
|
|
20
|
+
prioritizePosition: { type: Boolean },
|
|
21
|
+
asChild: { type: Boolean },
|
|
22
|
+
as: {},
|
|
23
|
+
class: {}
|
|
24
|
+
},
|
|
25
|
+
emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "entryFocus", "openAutoFocus", "closeAutoFocus"],
|
|
26
|
+
setup(__props, { emit: __emit }) {
|
|
27
|
+
const props = __props;
|
|
28
|
+
const emits = __emit;
|
|
29
|
+
const delegatedProps = useDelegatedProps(props, "class");
|
|
30
|
+
const forwarded = xe(delegatedProps, emits);
|
|
31
|
+
return (_ctx, _cache) => {
|
|
32
|
+
return openBlock(), createBlock(unref(ih), null, {
|
|
33
|
+
default: withCtx(() => [
|
|
34
|
+
createVNode(unref(Ch), mergeProps(unref(forwarded), {
|
|
35
|
+
class: unref(clsx)(props.class, "celeste-dropdown-menu-sub-content")
|
|
36
|
+
}), {
|
|
37
|
+
default: withCtx(() => [
|
|
38
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
39
|
+
]),
|
|
40
|
+
_: 3
|
|
41
|
+
}, 16, ["class"])
|
|
42
|
+
]),
|
|
43
|
+
_: 3
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
const dropdownMenuSubContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ba978953"]]);
|
|
2
49
|
export {
|
|
3
|
-
|
|
50
|
+
dropdownMenuSubContent as default
|
|
4
51
|
};
|