@balikjs/mobile 0.1.11 → 0.1.12
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/Alert/Alert.module.css.js +18 -18
- package/dist/Avatar/Avatar.module.css.js +16 -16
- package/dist/BackToTop/BackToTop.module.css.js +6 -6
- package/dist/Badge/Badge.js +44 -43
- package/dist/Badge/Badge.module.css.js +36 -42
- package/dist/BottomNavigation/BottomNavigation.module.css.js +3 -3
- package/dist/BottomSheet/BottomSheet.js +52 -41
- package/dist/BottomSheet/BottomSheet.module.css.js +8 -8
- package/dist/Button/Button.js +29 -24
- package/dist/Button/Button.module.css.js +21 -19
- package/dist/Checkbox/Checkbox.module.css.js +10 -10
- package/dist/Clipboard/Clipboard.module.css.js +16 -16
- package/dist/CloseButton/CloseButton.js +1 -2
- package/dist/CloseButton/CloseButton.module.css.js +12 -12
- package/dist/DatePicker/DatePicker.js +71 -59
- package/dist/DatePicker/DatePicker.module.css.js +34 -22
- package/dist/Dialog/Dialog.js +3 -3
- package/dist/Dialog/Dialog.module.css.js +16 -16
- package/dist/Divider/Divider.module.css.js +2 -2
- package/dist/Drawer/Drawer.module.css.js +9 -9
- package/dist/Fab/Fab.module.css.js +16 -16
- package/dist/Field/Field.module.css.js +14 -14
- package/dist/Fieldset/Fieldset.module.css.js +1 -1
- package/dist/FileUpload/FileUpload.module.css.js +22 -22
- package/dist/FilterGroup/FilterGroup.js +61 -58
- package/dist/FilterGroup/FilterGroup.module.css.js +12 -20
- package/dist/Input/Input.js +62 -40
- package/dist/Input/Input.module.css.js +36 -30
- package/dist/Link/Link.module.css.js +1 -1
- package/dist/MoneyInput/MoneyInput.module.css.js +6 -6
- package/dist/Pagination/Pagination.module.css.js +4 -4
- package/dist/Picker/Picker.module.css.js +1 -1
- package/dist/PickerView/PickerView.module.css.js +11 -11
- package/dist/PinInput/PinInput.module.css.js +18 -18
- package/dist/Popover/Popover.module.css.js +10 -10
- package/dist/Progress/Progress.module.css.js +14 -14
- package/dist/QrCode/QrCode.module.css.js +6 -6
- package/dist/RadioGroup/Radio.module.css.js +11 -11
- package/dist/RatingGroup/RatingGroup.js +6 -6
- package/dist/RatingGroup/RatingGroup.module.css.js +6 -6
- package/dist/SearchInput/SearchInput.module.css.js +1 -1
- package/dist/Select/Select.js +45 -44
- package/dist/Select/Select.module.css.js +24 -22
- package/dist/SelectPc/Select.js +50 -44
- package/dist/SelectPc/SelectPc.module.css.js +29 -23
- package/dist/SignaturePad/SignaturePad.module.css.js +4 -4
- package/dist/Slider/Slider.module.css.js +10 -10
- package/dist/Spinner/Spinner.module.css.js +4 -4
- package/dist/Steps/Steps.js +87 -77
- package/dist/Steps/Steps.module.css.js +18 -20
- package/dist/Switch/Switch.js +22 -18
- package/dist/Switch/Switch.module.css.js +20 -18
- package/dist/Tabs/Tabs.module.css.js +5 -5
- package/dist/Tag/Tag.js +34 -26
- package/dist/Tag/Tag.module.css.js +36 -32
- package/dist/Textarea/Textarea.module.css.js +15 -15
- package/dist/Toast/Toast.module.css.js +34 -34
- package/dist/Toggle/Toggle.module.css.js +1 -1
- package/dist/ToggleGroup/ToggleGroup.js +36 -21
- package/dist/ToggleGroup/ToggleGroup.module.css.js +20 -14
- package/dist/styles.css +1 -1
- package/package.json +4 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
const s = "
|
|
1
|
+
const s = "_base_m42lz_1", e = "_solid_m42lz_30", _ = "_outline_m42lz_39", z = "_sizeXs_m42lz_48", i = "_sizeSm_m42lz_56", l = "_sizeMd_m42lz_64", o = "_sizeLg_m42lz_72", t = "_sizeXl_m42lz_80", n = {
|
|
2
2
|
base: s,
|
|
3
|
-
solid:
|
|
4
|
-
outline:
|
|
5
|
-
sizeXs:
|
|
6
|
-
sizeSm:
|
|
7
|
-
sizeMd:
|
|
8
|
-
sizeLg:
|
|
9
|
-
sizeXl:
|
|
3
|
+
solid: e,
|
|
4
|
+
outline: _,
|
|
5
|
+
sizeXs: z,
|
|
6
|
+
sizeSm: i,
|
|
7
|
+
sizeMd: l,
|
|
8
|
+
sizeLg: o,
|
|
9
|
+
sizeXl: t
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
12
|
s as base,
|
|
13
13
|
n as default,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
_ as outline,
|
|
15
|
+
o as sizeLg,
|
|
16
|
+
l as sizeMd,
|
|
17
|
+
i as sizeSm,
|
|
18
|
+
t as sizeXl,
|
|
19
|
+
z as sizeXs,
|
|
20
|
+
e as solid
|
|
21
21
|
};
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
const t = "
|
|
1
|
+
const t = "_region_q6ste_1", o = "_positionTopLeft_q6ste_13", i = "_positionTopCenter_q6ste_19", n = "_positionTopRight_q6ste_26", e = "_positionBottomLeft_q6ste_32", s = "_positionBottomCenter_q6ste_39", _ = "_positionBottomRight_q6ste_47", c = "_item_q6ste_54", p = "_itemVisible_q6ste_72", q = "_itemExit_q6ste_77", r = "_icon_q6ste_82", m = "_body_q6ste_95", g = "_title_q6ste_100", l = "_description_q6ste_109", f = "_close_q6ste_118", B = "_intentSuccess_q6ste_140", T = "_intentWarning_q6ste_144", a = "_intentDanger_q6ste_148", d = "_intentInfo_q6ste_152", b = {
|
|
2
2
|
region: t,
|
|
3
|
-
positionTopLeft:
|
|
4
|
-
positionTopCenter:
|
|
3
|
+
positionTopLeft: o,
|
|
4
|
+
positionTopCenter: i,
|
|
5
5
|
positionTopRight: n,
|
|
6
6
|
positionBottomLeft: e,
|
|
7
|
-
positionBottomCenter:
|
|
8
|
-
positionBottomRight:
|
|
9
|
-
item:
|
|
10
|
-
itemVisible:
|
|
11
|
-
itemExit:
|
|
12
|
-
icon:
|
|
13
|
-
body:
|
|
14
|
-
title:
|
|
15
|
-
description:
|
|
16
|
-
close:
|
|
17
|
-
intentSuccess:
|
|
18
|
-
intentWarning:
|
|
19
|
-
intentDanger:
|
|
20
|
-
intentInfo:
|
|
7
|
+
positionBottomCenter: s,
|
|
8
|
+
positionBottomRight: _,
|
|
9
|
+
item: c,
|
|
10
|
+
itemVisible: p,
|
|
11
|
+
itemExit: q,
|
|
12
|
+
icon: r,
|
|
13
|
+
body: m,
|
|
14
|
+
title: g,
|
|
15
|
+
description: l,
|
|
16
|
+
close: f,
|
|
17
|
+
intentSuccess: B,
|
|
18
|
+
intentWarning: T,
|
|
19
|
+
intentDanger: a,
|
|
20
|
+
intentInfo: d
|
|
21
21
|
};
|
|
22
22
|
export {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
23
|
+
m as body,
|
|
24
|
+
f as close,
|
|
25
|
+
b as default,
|
|
26
|
+
l as description,
|
|
27
|
+
r as icon,
|
|
28
|
+
a as intentDanger,
|
|
29
|
+
d as intentInfo,
|
|
30
|
+
B as intentSuccess,
|
|
31
|
+
T as intentWarning,
|
|
32
|
+
c as item,
|
|
33
|
+
q as itemExit,
|
|
34
|
+
p as itemVisible,
|
|
35
|
+
s as positionBottomCenter,
|
|
36
36
|
e as positionBottomLeft,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
_ as positionBottomRight,
|
|
38
|
+
i as positionTopCenter,
|
|
39
|
+
o as positionTopLeft,
|
|
40
40
|
n as positionTopRight,
|
|
41
41
|
t as region,
|
|
42
|
-
|
|
42
|
+
g as title
|
|
43
43
|
};
|
|
@@ -1,42 +1,57 @@
|
|
|
1
|
-
import { createComponent as
|
|
2
|
-
import { splitProps as m, mergeProps as
|
|
3
|
-
import { ToggleGroup as
|
|
4
|
-
import { cn as
|
|
5
|
-
import { bem as
|
|
1
|
+
import { createComponent as c, mergeProps as d } from "solid-js/web";
|
|
2
|
+
import { splitProps as m, mergeProps as p } from "solid-js";
|
|
3
|
+
import { useFieldContext as f, ToggleGroup as a } from "@ark-ui/solid";
|
|
4
|
+
import { cn as g } from "../utils/cn.js";
|
|
5
|
+
import { bem as u } from "../utils/bem.js";
|
|
6
6
|
import e from "./ToggleGroup.module.css.js";
|
|
7
|
-
const
|
|
7
|
+
const v = {
|
|
8
8
|
xs: e.sizeXs,
|
|
9
9
|
sm: e.sizeSm,
|
|
10
10
|
md: e.sizeMd,
|
|
11
11
|
lg: e.sizeLg,
|
|
12
12
|
xl: e.sizeXl
|
|
13
|
-
},
|
|
14
|
-
|
|
13
|
+
}, z = {
|
|
14
|
+
default: e.intentAccent,
|
|
15
|
+
neutral: e.intentNeutral,
|
|
16
|
+
accent: e.intentAccent
|
|
17
|
+
}, h = {
|
|
18
|
+
size: "md",
|
|
19
|
+
intent: "default",
|
|
20
|
+
invalid: !1
|
|
15
21
|
};
|
|
16
|
-
function
|
|
17
|
-
const [
|
|
18
|
-
|
|
22
|
+
function P(r) {
|
|
23
|
+
const [t, o] = m(p(h, r), ["class", "children", "size", "defaultValue", "intent", "invalid"]), s = f(), i = (n) => typeof n == "function" ? n() : n, l = () => {
|
|
24
|
+
var n;
|
|
25
|
+
return i(t.invalid) || (((n = s == null ? void 0 : s()) == null ? void 0 : n.invalid) ?? !1);
|
|
26
|
+
};
|
|
27
|
+
return c(a.Root, d(o, {
|
|
28
|
+
get "aria-invalid"() {
|
|
29
|
+
return l() || void 0;
|
|
30
|
+
},
|
|
31
|
+
get "data-invalid"() {
|
|
32
|
+
return l() ? "" : void 0;
|
|
33
|
+
},
|
|
19
34
|
get class() {
|
|
20
|
-
return
|
|
35
|
+
return g(u("balik-toggle-group", i(t.intent)), e.root, z[i(t.intent)], v[i(t.size)], l() && e.invalid, t.class);
|
|
21
36
|
},
|
|
22
37
|
get children() {
|
|
23
|
-
return
|
|
38
|
+
return t.children;
|
|
24
39
|
}
|
|
25
40
|
}));
|
|
26
41
|
}
|
|
27
|
-
function
|
|
28
|
-
const [
|
|
29
|
-
return
|
|
42
|
+
function y(r) {
|
|
43
|
+
const [t, o] = m(r, ["class", "children"]);
|
|
44
|
+
return c(a.Item, d(o, {
|
|
30
45
|
get class() {
|
|
31
|
-
return
|
|
46
|
+
return g(u(), e.item, t.class);
|
|
32
47
|
},
|
|
33
48
|
get children() {
|
|
34
|
-
return
|
|
49
|
+
return t.children;
|
|
35
50
|
}
|
|
36
51
|
}));
|
|
37
52
|
}
|
|
38
|
-
|
|
53
|
+
P.Original = a;
|
|
39
54
|
export {
|
|
40
|
-
|
|
41
|
-
|
|
55
|
+
P as ToggleGroup,
|
|
56
|
+
y as ToggleGroupItem
|
|
42
57
|
};
|
|
@@ -1,19 +1,25 @@
|
|
|
1
|
-
const
|
|
2
|
-
root:
|
|
3
|
-
|
|
1
|
+
const n = "_root_jfcqn_1", t = "_intentNeutral_jfcqn_8", e = "_intentAccent_jfcqn_12", s = "_invalid_jfcqn_16", i = "_item_jfcqn_20", _ = "_sizeXs_jfcqn_76", c = "_sizeSm_jfcqn_87", o = "_sizeMd_jfcqn_98", z = "_sizeLg_jfcqn_109", f = "_sizeXl_jfcqn_120", l = {
|
|
2
|
+
root: n,
|
|
3
|
+
intentNeutral: t,
|
|
4
|
+
intentAccent: e,
|
|
5
|
+
invalid: s,
|
|
6
|
+
item: i,
|
|
4
7
|
sizeXs: _,
|
|
5
|
-
sizeSm:
|
|
6
|
-
sizeMd:
|
|
7
|
-
sizeLg:
|
|
8
|
-
sizeXl:
|
|
8
|
+
sizeSm: c,
|
|
9
|
+
sizeMd: o,
|
|
10
|
+
sizeLg: z,
|
|
11
|
+
sizeXl: f
|
|
9
12
|
};
|
|
10
13
|
export {
|
|
11
|
-
|
|
12
|
-
e as
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
l as default,
|
|
15
|
+
e as intentAccent,
|
|
16
|
+
t as intentNeutral,
|
|
17
|
+
s as invalid,
|
|
18
|
+
i as item,
|
|
19
|
+
n as root,
|
|
20
|
+
z as sizeLg,
|
|
21
|
+
o as sizeMd,
|
|
22
|
+
c as sizeSm,
|
|
23
|
+
f as sizeXl,
|
|
18
24
|
_ as sizeXs
|
|
19
25
|
};
|