@wikicasa-dev/components 2.2.9-alpha.9 → 2.3.1-alpha.0
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/Swiper/autoplay.js +1 -1
- package/dist/Swiper/controller.js +1 -1
- package/dist/Swiper/keyboard.js +1 -1
- package/dist/Swiper/thumbs.js +1 -1
- package/dist/UIKit/AccessibleSelect.d.ts +5 -4
- package/dist/UIKit/AccessibleSelect.js +3 -2
- package/dist/UIKit/Autocomplete/ClearableAutocomplete.d.ts +7 -2
- package/dist/UIKit/BaseAutocomplete.d.ts +4 -4
- package/dist/UIKit/BaseButton.d.ts +14 -8
- package/dist/UIKit/BaseCard.js +1 -3
- package/dist/UIKit/BaseDropDown.d.ts +19 -13
- package/dist/UIKit/BaseFloatingLabel.js +4 -4
- package/dist/UIKit/BaseInput.d.ts +3 -2
- package/dist/UIKit/BaseInput.js +1 -1
- package/dist/UIKit/BaseSnackbar.d.ts +2 -2
- package/dist/UIKit/BaseTextarea.d.ts +2 -2
- package/dist/UIKit/BaseToggle.d.ts +5 -8
- package/dist/UIKit/BaseToggle.js +1 -4
- package/dist/UIKit/Checkbox/CheckboxBtn.d.ts +14 -7
- package/dist/UIKit/Checkbox/CheckboxGroup.d.ts +5 -2
- package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.d.ts +40 -0
- package/dist/UIKit/Checkbox/v2/CheckboxButtonGroup.js +4 -0
- package/dist/UIKit/Radio/RadioButton.d.ts +28 -23
- package/dist/UIKit/Radio/RadioGroup.d.ts +49 -50
- package/dist/UIKit/Radio/v2/RadioButtonGroup.d.ts +29 -0
- package/dist/UIKit/Radio/v2/RadioButtonGroup.js +4 -0
- package/dist/UIKit/Radio/v2/RadioButtonItem.d.ts +16 -0
- package/dist/UIKit/Radio/v2/RadioButtonItem.js +5 -0
- package/dist/assets/AccessibleSelect.css +1 -0
- package/dist/assets/BaseCard.css +1 -1
- package/dist/assets/BaseDropDown.css +1 -1
- package/dist/assets/BaseFloatingLabel.css +1 -1
- package/dist/assets/BaseInput.css +1 -1
- package/dist/assets/RadioButtonItem.css +1 -0
- package/dist/assets/tailwind.css +1 -1
- package/dist/composables/mock.d.ts +25 -0
- package/dist/composables/mock.js +49 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +94 -83
- package/dist/packages/components/lib/UIKit/AccessibleSelect.vue.js +158 -160
- package/dist/packages/components/lib/UIKit/Accordion/BaseAccordionItem.vue.js +4 -6
- package/dist/packages/components/lib/UIKit/Autocomplete/ClearableAutocomplete.vue.js +112 -106
- package/dist/packages/components/lib/UIKit/BaseAutocomplete.vue.js +36 -36
- package/dist/packages/components/lib/UIKit/BaseButton.vue.js +28 -24
- package/dist/packages/components/lib/UIKit/BaseCard.vue.js +13 -13
- package/dist/packages/components/lib/UIKit/BaseDropDown.vue.js +102 -105
- package/dist/packages/components/lib/UIKit/BaseFloatingLabel.vue.js +8 -8
- package/dist/packages/components/lib/UIKit/BaseInput.vue.js +65 -64
- package/dist/packages/components/lib/UIKit/BaseModal.vue.js +42 -36
- package/dist/packages/components/lib/UIKit/BaseSelect/SelectItem.vue.js +18 -17
- package/dist/packages/components/lib/UIKit/BaseToggle.vue.js +25 -29
- package/dist/packages/components/lib/UIKit/Checkbox/CheckboxBtn.vue.js +48 -41
- package/dist/packages/components/lib/UIKit/Checkbox/CheckboxGroup.vue.js +60 -55
- package/dist/packages/components/lib/UIKit/Checkbox/v2/CheckboxButtonGroup.vue.js +78 -0
- package/dist/packages/components/lib/UIKit/Radio/RadioButton.vue.js +16 -14
- package/dist/packages/components/lib/UIKit/Radio/RadioGroup.vue.js +37 -33
- package/dist/packages/components/lib/UIKit/Radio/v2/RadioButtonGroup.vue.js +49 -0
- package/dist/packages/components/lib/UIKit/Radio/v2/RadioButtonItem.vue.js +45 -0
- package/dist/types/index.d.ts +3 -0
- package/package.json +8 -7
- package/dist/assets/BaseToggle.css +0 -1
- /package/dist/assets/{swiper-thumbs.css → swiper-controller.css} +0 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { defineComponent as v, mergeModels as k, useModel as f, provide as m, watch as y, createElementBlock as h, openBlock as n, renderSlot as C, Fragment as g, renderList as B, createBlock as x, withCtx as M, createTextVNode as b, toDisplayString as U } from "vue";
|
|
2
|
+
import q from "../CheckboxBtn.vue.js";
|
|
3
|
+
import '../../../../../../assets/CheckboxBtn.css';/* empty css */
|
|
4
|
+
const w = ["data-cy"], I = /* @__PURE__ */ v({
|
|
5
|
+
__name: "CheckboxButtonGroup",
|
|
6
|
+
props: /* @__PURE__ */ k({
|
|
7
|
+
dataCy: {},
|
|
8
|
+
items: { default: () => [] },
|
|
9
|
+
resetValue: {}
|
|
10
|
+
}, {
|
|
11
|
+
modelValue: {
|
|
12
|
+
default: () => []
|
|
13
|
+
},
|
|
14
|
+
modelModifiers: {},
|
|
15
|
+
reset: { type: Boolean, default: !1 },
|
|
16
|
+
resetModifiers: {}
|
|
17
|
+
}),
|
|
18
|
+
emits: ["update:modelValue", "update:reset"],
|
|
19
|
+
setup(l) {
|
|
20
|
+
const a = f(l, "modelValue"), o = f(l, "reset"), r = /* @__PURE__ */ new Map(), c = (e) => e ? a.value.includes(e) : !1, i = (e, u) => {
|
|
21
|
+
if (!e) return;
|
|
22
|
+
let t = [];
|
|
23
|
+
if (u ? t = [...a.value, e] : t = a.value.filter((d) => d !== e), !l.resetValue) {
|
|
24
|
+
a.value = t;
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
t = t.filter((d) => d !== l.resetValue);
|
|
28
|
+
const s = Array.from(r.keys()).filter(
|
|
29
|
+
(d) => !t.includes(d)
|
|
30
|
+
);
|
|
31
|
+
console.log("DEBUG:handleCheck => update", {
|
|
32
|
+
registeredItems: r,
|
|
33
|
+
checkedList: t,
|
|
34
|
+
uncheckedList: s
|
|
35
|
+
}), s.length === r.size && (t = [l.resetValue], r.get(l.resetValue)?.focus?.()), t.length === r.size - 1 && (t = [l.resetValue], r.get(l.resetValue)?.focus?.()), a.value = t;
|
|
36
|
+
}, V = (e) => {
|
|
37
|
+
if (l.resetValue) {
|
|
38
|
+
if (console.log("DEBUG:handleResetCheck", { resetValue: l.resetValue }), e) {
|
|
39
|
+
a.value = [l.resetValue];
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
a.value = a.value.filter((u) => u !== l.resetValue);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
return m(
|
|
46
|
+
"addItem",
|
|
47
|
+
(e, u) => {
|
|
48
|
+
!e || !u || r.set(e, u);
|
|
49
|
+
}
|
|
50
|
+
), m("removeItem", (e) => {
|
|
51
|
+
e && r.delete(e);
|
|
52
|
+
}), y(o, (e) => {
|
|
53
|
+
e && (a.value = [], o.value = !1);
|
|
54
|
+
}), (e, u) => (n(), h("div", { "data-cy": l.dataCy }, [
|
|
55
|
+
C(e.$slots, "default", {
|
|
56
|
+
isChecked: c,
|
|
57
|
+
handleCheck: i,
|
|
58
|
+
handleResetCheck: V
|
|
59
|
+
}, () => [
|
|
60
|
+
(n(!0), h(g, null, B(l.items, (t) => (n(), x(q, {
|
|
61
|
+
key: `checkbox-item-${t.value}`,
|
|
62
|
+
required: t.required,
|
|
63
|
+
"data-cy": t.dataCy,
|
|
64
|
+
"model-value": c(t.value),
|
|
65
|
+
"onUpdate:modelValue": (s) => i(t.value, s)
|
|
66
|
+
}, {
|
|
67
|
+
label: M(() => [
|
|
68
|
+
b(U(t.label), 1)
|
|
69
|
+
]),
|
|
70
|
+
_: 2
|
|
71
|
+
}, 1032, ["required", "data-cy", "model-value", "onUpdate:modelValue"]))), 128))
|
|
72
|
+
])
|
|
73
|
+
], 8, w));
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
export {
|
|
77
|
+
I as default
|
|
78
|
+
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const V = ["id", "name", "checked"], x = ["for"],
|
|
1
|
+
import { defineComponent as c, useId as k, computed as m, createElementBlock as f, openBlock as b, withModifiers as t, createElementVNode as a, normalizeClass as u, createTextVNode as h, toDisplayString as C } from "vue";
|
|
2
|
+
const y = ["data-cy"], V = ["id", "name", "checked"], x = ["for"], g = /* @__PURE__ */ c({
|
|
3
3
|
__name: "RadioButton",
|
|
4
4
|
props: {
|
|
5
5
|
id: {},
|
|
6
|
+
dataCy: {},
|
|
6
7
|
name: {},
|
|
7
8
|
label: {},
|
|
8
9
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -11,20 +12,21 @@ const V = ["id", "name", "checked"], x = ["for"], y = /* @__PURE__ */ k({
|
|
|
11
12
|
},
|
|
12
13
|
emits: ["change", "update:modelValue"],
|
|
13
14
|
setup(e, { emit: s }) {
|
|
14
|
-
const
|
|
15
|
+
const l = s, n = k(), o = m(() => `${e.id ?? n}`), r = () => {
|
|
15
16
|
if (e.modelValue) return;
|
|
16
|
-
const
|
|
17
|
-
id: e.id ??
|
|
17
|
+
const d = {
|
|
18
|
+
id: e.id ?? n,
|
|
18
19
|
label: e.label,
|
|
19
20
|
name: e.name
|
|
20
21
|
};
|
|
21
|
-
|
|
22
|
+
l("change", d), l("update:modelValue", !e.modelValue);
|
|
22
23
|
};
|
|
23
|
-
return (
|
|
24
|
+
return (d, i) => (b(), f("div", {
|
|
24
25
|
class: "uikit-inline-block",
|
|
26
|
+
"data-cy": e.dataCy,
|
|
25
27
|
onClick: t(r, ["stop"])
|
|
26
28
|
}, [
|
|
27
|
-
|
|
29
|
+
a("input", {
|
|
28
30
|
id: o.value,
|
|
29
31
|
ref: "checkbox",
|
|
30
32
|
type: "radio",
|
|
@@ -36,12 +38,12 @@ const V = ["id", "name", "checked"], x = ["for"], y = /* @__PURE__ */ k({
|
|
|
36
38
|
onClick: i[1] || (i[1] = t(() => {
|
|
37
39
|
}, ["prevent"]))
|
|
38
40
|
}, null, 40, V),
|
|
39
|
-
|
|
40
|
-
class:
|
|
41
|
+
a("label", {
|
|
42
|
+
class: u([e.labelClasses, "uikit-flex uikit-cursor-pointer uikit-items-center uikit-text-sm"]),
|
|
41
43
|
for: o.value
|
|
42
44
|
}, [
|
|
43
|
-
|
|
44
|
-
class:
|
|
45
|
+
a("span", {
|
|
46
|
+
class: u(["uikit-flex-no-shrink uikit-mr-2 uikit-inline-block uikit-h-4 uikit-w-4 uikit-transform uikit-rounded-full uikit-border uikit-border-solid uikit-border-w-secondary uikit-transition-colors uikit-duration-200", [
|
|
45
47
|
{
|
|
46
48
|
"checked uikit-border-w-primary uikit-bg-w-primary uikit-shadow-[0_0_0_2px_white_inset]": e.modelValue
|
|
47
49
|
},
|
|
@@ -50,9 +52,9 @@ const V = ["id", "name", "checked"], x = ["for"], y = /* @__PURE__ */ k({
|
|
|
50
52
|
}, null, 2),
|
|
51
53
|
h(" " + C(e.label), 1)
|
|
52
54
|
], 10, x)
|
|
53
|
-
]));
|
|
55
|
+
], 8, y));
|
|
54
56
|
}
|
|
55
57
|
});
|
|
56
58
|
export {
|
|
57
|
-
|
|
59
|
+
g as default
|
|
58
60
|
};
|
|
@@ -1,60 +1,64 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as k, mergeModels as f, useModel as m, ref as R, watch as v, renderSlot as h, createElementVNode as g, normalizeClass as C, createElementBlock as B, openBlock as $, Fragment as M, renderList as b, createBlock as A } from "vue";
|
|
2
|
+
import E from "./RadioButton.vue.js";
|
|
3
|
+
const w = ["data-cy"], G = /* @__PURE__ */ k({
|
|
4
4
|
inheritAttrs: !1,
|
|
5
5
|
__name: "RadioGroup",
|
|
6
|
-
props: /* @__PURE__ */
|
|
6
|
+
props: /* @__PURE__ */ f({
|
|
7
7
|
radioValues: { default: () => [] },
|
|
8
8
|
dataCy: {},
|
|
9
9
|
radioContainerClasses: {}
|
|
10
10
|
}, {
|
|
11
11
|
resetRadio: { type: Boolean, default: !1 },
|
|
12
|
-
resetRadioModifiers: {}
|
|
12
|
+
resetRadioModifiers: {},
|
|
13
|
+
refresh: { type: Boolean, default: !1 },
|
|
14
|
+
refreshModifiers: {}
|
|
13
15
|
}),
|
|
14
|
-
emits: /* @__PURE__ */
|
|
15
|
-
setup(
|
|
16
|
-
const n =
|
|
17
|
-
a.value = e,
|
|
16
|
+
emits: /* @__PURE__ */ f(["update:modelValue"], ["update:resetRadio", "update:refresh"]),
|
|
17
|
+
setup(l, { emit: V }) {
|
|
18
|
+
const o = V, n = m(l, "resetRadio"), i = m(l, "refresh"), a = R(null), t = (e) => {
|
|
19
|
+
a.value = e, o("update:modelValue", e);
|
|
18
20
|
}, s = () => {
|
|
19
|
-
a.value = null,
|
|
20
|
-
},
|
|
21
|
-
|
|
22
|
-
for (const e of t.radioValues)
|
|
21
|
+
a.value = null, n.value = !1, o("update:modelValue", null);
|
|
22
|
+
}, d = (e) => a.value ? `${a.value.id}` == `${e.id}` : !1, u = () => {
|
|
23
|
+
for (const e of l.radioValues)
|
|
23
24
|
if (e.active) {
|
|
24
|
-
|
|
25
|
+
t(e);
|
|
25
26
|
return;
|
|
26
27
|
}
|
|
27
|
-
}
|
|
28
|
+
};
|
|
29
|
+
return u(), v(n, (e) => {
|
|
28
30
|
e && s();
|
|
29
|
-
}), (
|
|
30
|
-
|
|
31
|
+
}), v(i, (e) => {
|
|
32
|
+
e && (u(), i.value = !1);
|
|
33
|
+
}), (e, c) => h(e.$slots, "default", {
|
|
34
|
+
handleClick: t,
|
|
31
35
|
activeValue: a.value,
|
|
32
36
|
reset: s,
|
|
33
|
-
isActive:
|
|
37
|
+
isActive: d
|
|
34
38
|
}, () => [
|
|
35
|
-
|
|
36
|
-
class:
|
|
37
|
-
"data-cy":
|
|
39
|
+
g("div", {
|
|
40
|
+
class: C(["radio-group-container", e.$attrs.class]),
|
|
41
|
+
"data-cy": l.dataCy
|
|
38
42
|
}, [
|
|
39
|
-
|
|
40
|
-
handleClick:
|
|
43
|
+
h(e.$slots, "radio_elements", {
|
|
44
|
+
handleClick: t,
|
|
41
45
|
activeValue: a.value,
|
|
42
46
|
reset: s,
|
|
43
|
-
isActive:
|
|
47
|
+
isActive: d
|
|
44
48
|
}, () => [
|
|
45
|
-
(
|
|
46
|
-
id:
|
|
47
|
-
key:
|
|
48
|
-
class:
|
|
49
|
-
label: `${
|
|
50
|
-
"model-value": `${
|
|
51
|
-
onChange:
|
|
49
|
+
($(!0), B(M, null, b(l.radioValues, (r, p) => ($(), A(E, {
|
|
50
|
+
id: r.id,
|
|
51
|
+
key: p,
|
|
52
|
+
class: C(l.radioContainerClasses),
|
|
53
|
+
label: `${r.label}`,
|
|
54
|
+
"model-value": `${r.id}` == `${a.value?.id}`,
|
|
55
|
+
onChange: c[0] || (c[0] = (y) => t(y))
|
|
52
56
|
}, null, 8, ["id", "class", "label", "model-value"]))), 128))
|
|
53
57
|
])
|
|
54
|
-
], 10,
|
|
58
|
+
], 10, w)
|
|
55
59
|
]);
|
|
56
60
|
}
|
|
57
61
|
});
|
|
58
62
|
export {
|
|
59
|
-
|
|
63
|
+
G as default
|
|
60
64
|
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { defineComponent as s, mergeModels as f, createPropsRestProxy as p, useModel as c, createBlock as d, openBlock as o, unref as y, mergeProps as u, withCtx as m, renderSlot as V, createElementBlock as B, Fragment as C, renderList as g, createTextVNode as k, toDisplayString as x } from "vue";
|
|
2
|
+
import { RadioGroupRoot as R } from "reka-ui";
|
|
3
|
+
import v from "./RadioButtonItem.vue.js";
|
|
4
|
+
import '../../../../../../assets/RadioButtonItem.css';/* empty css */
|
|
5
|
+
const S = /* @__PURE__ */ s({
|
|
6
|
+
__name: "RadioButtonGroup",
|
|
7
|
+
props: /* @__PURE__ */ f({
|
|
8
|
+
dataCy: {},
|
|
9
|
+
items: { default: () => [] },
|
|
10
|
+
modelValue: {},
|
|
11
|
+
defaultValue: {},
|
|
12
|
+
disabled: { type: Boolean },
|
|
13
|
+
orientation: {},
|
|
14
|
+
dir: {},
|
|
15
|
+
loop: { type: Boolean },
|
|
16
|
+
asChild: { type: Boolean },
|
|
17
|
+
as: {},
|
|
18
|
+
name: {},
|
|
19
|
+
required: { type: Boolean }
|
|
20
|
+
}, {
|
|
21
|
+
modelValue: {},
|
|
22
|
+
modelModifiers: {}
|
|
23
|
+
}),
|
|
24
|
+
emits: ["update:modelValue"],
|
|
25
|
+
setup(e) {
|
|
26
|
+
const n = p(e, ["dataCy", "items"]), a = c(e, "modelValue");
|
|
27
|
+
return (i, l) => (o(), d(y(R), u({ "data-cy": e.dataCy }, n, {
|
|
28
|
+
modelValue: a.value,
|
|
29
|
+
"onUpdate:modelValue": l[0] || (l[0] = (t) => a.value = t)
|
|
30
|
+
}), {
|
|
31
|
+
default: m(() => [
|
|
32
|
+
V(i.$slots, "default", {}, () => [
|
|
33
|
+
(o(!0), B(C, null, g(e.items, ({ label: t, ...r }) => (o(), d(v, u({ ref_for: !0 }, r, {
|
|
34
|
+
key: `radio-item-${r.value}`
|
|
35
|
+
}), {
|
|
36
|
+
default: m(() => [
|
|
37
|
+
k(x(t), 1)
|
|
38
|
+
]),
|
|
39
|
+
_: 2
|
|
40
|
+
}, 1040))), 128))
|
|
41
|
+
])
|
|
42
|
+
]),
|
|
43
|
+
_: 3
|
|
44
|
+
}, 16, ["data-cy", "modelValue"]));
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
export {
|
|
48
|
+
S as default
|
|
49
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { defineComponent as l, createPropsRestProxy as n, useId as c, computed as k, createElementBlock as a, openBlock as s, createVNode as r, createCommentVNode as m, unref as u, mergeProps as p, withCtx as f, normalizeClass as y, renderSlot as C } from "vue";
|
|
2
|
+
import { RadioGroupItem as b, RadioGroupIndicator as h } from "reka-ui";
|
|
3
|
+
const x = { class: "uikit-radio-btn uikit-flex uikit-items-center uikit-gap-x-[8px]" }, g = ["for"], v = /* @__PURE__ */ l({
|
|
4
|
+
__name: "RadioButtonItem",
|
|
5
|
+
props: {
|
|
6
|
+
itemClasses: {},
|
|
7
|
+
labelClasses: {},
|
|
8
|
+
dataCy: {},
|
|
9
|
+
id: {},
|
|
10
|
+
value: {},
|
|
11
|
+
disabled: { type: Boolean },
|
|
12
|
+
asChild: { type: Boolean },
|
|
13
|
+
as: {},
|
|
14
|
+
name: {},
|
|
15
|
+
required: { type: Boolean }
|
|
16
|
+
},
|
|
17
|
+
setup(e) {
|
|
18
|
+
const i = n(e, ["itemClasses", "labelClasses", "dataCy"]), d = c(), t = k(() => i.id ?? d);
|
|
19
|
+
return (o, w) => (s(), a("div", x, [
|
|
20
|
+
r(u(b), p(i, {
|
|
21
|
+
id: t.value,
|
|
22
|
+
"data-cy": e.dataCy,
|
|
23
|
+
class: [
|
|
24
|
+
"uikit-radio-group-item uikit-inline-flex uikit-size-[18px] uikit-shrink-0 uikit-cursor-default uikit-items-center uikit-justify-center uikit-rounded-full uikit-border uikit-border-solid uikit-border-w-secondary uikit-bg-white uikit-p-0 uikit-shadow-sm uikit-outline-none focus:uikit-border-2 focus:uikit-border-w-primary",
|
|
25
|
+
e.itemClasses
|
|
26
|
+
]
|
|
27
|
+
}), {
|
|
28
|
+
default: f(() => [
|
|
29
|
+
r(u(h), { class: "uikit-radio-group-indicator uikit-size-[12px] uikit-rounded-[50%] uikit-bg-w-primary" })
|
|
30
|
+
]),
|
|
31
|
+
_: 1
|
|
32
|
+
}, 16, ["id", "data-cy", "class"]),
|
|
33
|
+
o.$slots.default ? (s(), a("label", {
|
|
34
|
+
key: 0,
|
|
35
|
+
for: t.value,
|
|
36
|
+
class: y(e.labelClasses)
|
|
37
|
+
}, [
|
|
38
|
+
C(o.$slots, "default")
|
|
39
|
+
], 10, g)) : m("", !0)
|
|
40
|
+
]));
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
export {
|
|
44
|
+
v as default
|
|
45
|
+
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -8,3 +8,6 @@ export type { BaseComplexToggleProps, ToggleType, } from '../UIKit/BaseComplexTo
|
|
|
8
8
|
export type { SnackbarProps } from '../UIKit/BaseSnackbar';
|
|
9
9
|
export type { ChartOptions, ChartData } from 'chart.js';
|
|
10
10
|
export type { BaseAutocompleteThemes } from '../UIKit/BaseAutocomplete';
|
|
11
|
+
export type { RadioButtonGroupProps } from '../UIKit/Radio/v2/RadioButtonGroup';
|
|
12
|
+
export type { RadioButtonItemProps } from '../UIKit/Radio/v2/RadioButtonItem';
|
|
13
|
+
export type { CheckboxButtonGroupProps, CheckboxButtonItem, } from '../UIKit/Checkbox/v2/CheckboxButtonGroup';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wikicasa-dev/components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.1-alpha.0",
|
|
4
4
|
"description": "Wikicasa frontend components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"default": "./dist/index.js"
|
|
18
18
|
},
|
|
19
19
|
"./style": "./dist/assets/tailwind.css",
|
|
20
|
+
"./css/*": "./dist/assets/*.css",
|
|
20
21
|
"./generic/*": {
|
|
21
22
|
"import": "./dist/components/*.js",
|
|
22
23
|
"types": "./dist/components/*.d.ts"
|
|
@@ -43,9 +44,9 @@
|
|
|
43
44
|
"peerDependencies": {
|
|
44
45
|
"vue": "^3.5.0",
|
|
45
46
|
"date-fns": "^4.0.0",
|
|
46
|
-
"@wikicasa-dev/svg-icons": "^1.2.
|
|
47
|
-
"@wikicasa-dev/vue-composables": "
|
|
48
|
-
"@wikicasa-dev/types": "^2.
|
|
47
|
+
"@wikicasa-dev/svg-icons": "^1.2.28-alpha.1",
|
|
48
|
+
"@wikicasa-dev/vue-composables": "0.0.33-alpha.4",
|
|
49
|
+
"@wikicasa-dev/types": "^2.5.0",
|
|
49
50
|
"@wikicasa-dev/utilities": "^1.2.0"
|
|
50
51
|
},
|
|
51
52
|
"dependencies": {
|
|
@@ -63,10 +64,10 @@
|
|
|
63
64
|
"@vitejs/plugin-vue": "^6.0.2",
|
|
64
65
|
"@vue/eslint-config-prettier": "^10.2.0",
|
|
65
66
|
"@vue/eslint-config-typescript": "^14.6.0",
|
|
66
|
-
"@wikicasa-dev/svg-icons": "1.
|
|
67
|
-
"@wikicasa-dev/vue-composables": "0.0
|
|
67
|
+
"@wikicasa-dev/svg-icons": "1.3.0",
|
|
68
|
+
"@wikicasa-dev/vue-composables": "0.1.0",
|
|
68
69
|
"@wikicasa-dev/tailwind-plugins": "^0.0.3",
|
|
69
|
-
"@wikicasa-dev/types": "2.
|
|
70
|
+
"@wikicasa-dev/types": "2.5.0",
|
|
70
71
|
"@wikicasa-dev/utilities": "1.2.0",
|
|
71
72
|
"autoprefixer": "^10.4.22",
|
|
72
73
|
"date-fns": "4.1.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.switch-container[data-v-1e6f488b]{--switch-width: 40px;--switch-height: 22px;--switch-border-radius: 20px;--switch-circle-dim: 22px;--switch-active-transition-x-offset: 1px;--switch-active-transition-x: translateX( calc( var(--switch-width) - var(--switch-circle-dim) + var(--switch-active-transition-x-offset) ) )}.switch[data-v-1e6f488b]{width:var(--switch-width);height:var(--switch-height)}.switch input:checked+.slider[data-v-1e6f488b]:before{transform:var(--switch-active-transition-x)}.slider.round[data-v-1e6f488b]{border-radius:var(--switch-border-radius)}
|
|
File without changes
|