adverich-kun-ui 0.1.322 → 0.1.324
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/adverich-kun-ui.css +1 -1
- package/dist/index.js +188 -170
- package/package.json +1 -1
- package/dist/components/KunBadge/examples/Default.vue.js +0 -23
- package/dist/components/KunCardActions/exaples/Default.vue.js +0 -58
- package/dist/components/KunCardItem/exaples/Default.vue.js +0 -37
- package/dist/components/KunCardSubtitle/exaples/Default.vue.js +0 -26
- package/dist/components/KunCardText/exaples/Default.vue.js +0 -26
- package/dist/components/KunCardTitle/exaples/Default.vue.js +0 -41
- package/dist/components/KunInfiniteScroll/examples/Default.vue.js +0 -52
- package/dist/components/KunList/examples/Default.vue.js +0 -46
- package/dist/components/KunList/examples/WhiteGroups.vue.js +0 -72
- package/dist/components/KunListGroup/examples/Default.vue.js +0 -67
- package/dist/components/KunListImg/examples/Default.vue.js +0 -31
- package/dist/components/KunListItem/examples/Default.vue.js +0 -39
- package/dist/components/KunListItem/examples/WithAction.vue.js +0 -104
- package/dist/components/KunListItem/examples/WithAvatar.vue.js +0 -71
- package/dist/components/KunListSubheader/examples/Default.vue.js +0 -49
- package/dist/components/KunSlider/examples/ExampleBasic.vue.js +0 -18
- package/dist/components/KunSlider/examples/ExampleCustomThumb.vue.js +0 -24
- package/dist/components/KunSlider/examples/ExampleRange.vue.js +0 -20
- package/dist/components/KunSlider/examples/ExampleVertical.vue.js +0 -23
- package/dist/components/KunTooltip/examples/Default.vue.js +0 -59
- package/dist/components/KunVirtualScroller/examples/Default.vue.js +0 -29
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ref as a, createElementBlock as o, openBlock as r, createVNode as s, createElementVNode as n, toDisplayString as c } from "vue";
|
|
2
|
-
import m from "../src/components/KunSlider.vue.js";
|
|
3
|
-
const u = { class: "flex gap-4" }, i = { class: "self-end text-sm" }, V = {
|
|
4
|
-
__name: "ExampleVertical",
|
|
5
|
-
setup(d) {
|
|
6
|
-
const e = a(70);
|
|
7
|
-
return (p, l) => (r(), o("div", u, [
|
|
8
|
-
s(m, {
|
|
9
|
-
modelValue: e.value,
|
|
10
|
-
"onUpdate:modelValue": l[0] || (l[0] = (t) => e.value = t),
|
|
11
|
-
min: 0,
|
|
12
|
-
max: 100,
|
|
13
|
-
vertical: !0,
|
|
14
|
-
label: "Vertical",
|
|
15
|
-
class: "h-64"
|
|
16
|
-
}, null, 8, ["modelValue"]),
|
|
17
|
-
n("span", i, c(e.value), 1)
|
|
18
|
-
]));
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
V as default
|
|
23
|
-
};
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { createElementBlock as n, openBlock as p, createElementVNode as o, createVNode as e, withCtx as a, mergeProps as l } from "vue";
|
|
2
|
-
import i from "../src/components/KunTooltip.vue.js";
|
|
3
|
-
const c = { class: "p-8 flex flex-col gap-4 items-center" }, b = {
|
|
4
|
-
__name: "Default",
|
|
5
|
-
setup(s) {
|
|
6
|
-
return (x, r) => (p(), n("div", c, [
|
|
7
|
-
r[0] || (r[0] = o("h2", { class: "text-xl font-bold mb-4" }, "Tooltips con slot activator", -1)),
|
|
8
|
-
e(i, {
|
|
9
|
-
text: "Tooltip arriba",
|
|
10
|
-
location: "top"
|
|
11
|
-
}, {
|
|
12
|
-
activator: a(({ props: t }) => [
|
|
13
|
-
o("button", l(t, { class: "px-4 py-2 bg-blue-500 text-white rounded" }), "Top", 16)
|
|
14
|
-
]),
|
|
15
|
-
_: 1
|
|
16
|
-
}),
|
|
17
|
-
e(i, {
|
|
18
|
-
text: "Tooltip abajo",
|
|
19
|
-
location: "bottom"
|
|
20
|
-
}, {
|
|
21
|
-
activator: a(({ props: t }) => [
|
|
22
|
-
o("button", l(t, { class: "px-4 py-2 bg-green-500 text-white rounded" }), "Bottom", 16)
|
|
23
|
-
]),
|
|
24
|
-
_: 1
|
|
25
|
-
}),
|
|
26
|
-
e(i, {
|
|
27
|
-
text: "Tooltip izquierda",
|
|
28
|
-
location: "left"
|
|
29
|
-
}, {
|
|
30
|
-
activator: a(({ props: t }) => [
|
|
31
|
-
o("button", l(t, { class: "px-4 py-2 bg-yellow-500 text-white rounded" }), "Left", 16)
|
|
32
|
-
]),
|
|
33
|
-
_: 1
|
|
34
|
-
}),
|
|
35
|
-
e(i, {
|
|
36
|
-
text: "Tooltip derecha",
|
|
37
|
-
location: "right"
|
|
38
|
-
}, {
|
|
39
|
-
activator: a(({ props: t }) => [
|
|
40
|
-
o("button", l(t, { class: "px-4 py-2 bg-purple-500 text-white rounded" }), "Right", 16)
|
|
41
|
-
]),
|
|
42
|
-
_: 1
|
|
43
|
-
}),
|
|
44
|
-
e(i, {
|
|
45
|
-
text: "Con delay",
|
|
46
|
-
location: "top",
|
|
47
|
-
delay: 500
|
|
48
|
-
}, {
|
|
49
|
-
activator: a(({ props: t }) => [
|
|
50
|
-
o("button", l(t, { class: "px-4 py-2 bg-indigo-500 text-white rounded" }), "Delay", 16)
|
|
51
|
-
]),
|
|
52
|
-
_: 1
|
|
53
|
-
})
|
|
54
|
-
]));
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
export {
|
|
58
|
-
b as default
|
|
59
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { createElementBlock as m, openBlock as c, createVNode as i, unref as _, withCtx as l, createElementVNode as t, createTextVNode as d, toDisplayString as o } from "vue";
|
|
2
|
-
import f from "../src/components/KunVirtualScroller.vue.js";
|
|
3
|
-
const p = { class: "p-4 max-h-[400px] border overflow-y-auto" }, u = { class: "p-4 border-b bg-white" }, g = {
|
|
4
|
-
__name: "Default",
|
|
5
|
-
setup(h) {
|
|
6
|
-
const r = Array.from({ length: 1e3 }, (a, e) => ({
|
|
7
|
-
id: e,
|
|
8
|
-
name: `Item #${e}`
|
|
9
|
-
}));
|
|
10
|
-
return (a, e) => (c(), m("div", p, [
|
|
11
|
-
i(f, {
|
|
12
|
-
items: _(r),
|
|
13
|
-
"item-height": "auto",
|
|
14
|
-
buffer: 5
|
|
15
|
-
}, {
|
|
16
|
-
default: l(({ item: s, index: n }) => [
|
|
17
|
-
t("div", u, [
|
|
18
|
-
t("strong", null, "#" + o(n), 1),
|
|
19
|
-
d(": " + o(s.name), 1)
|
|
20
|
-
])
|
|
21
|
-
]),
|
|
22
|
-
_: 1
|
|
23
|
-
}, 8, ["items"])
|
|
24
|
-
]));
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
export {
|
|
28
|
-
g as default
|
|
29
|
-
};
|