@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.
Files changed (62) hide show
  1. package/dist/Alert/Alert.module.css.js +18 -18
  2. package/dist/Avatar/Avatar.module.css.js +16 -16
  3. package/dist/BackToTop/BackToTop.module.css.js +6 -6
  4. package/dist/Badge/Badge.js +44 -43
  5. package/dist/Badge/Badge.module.css.js +36 -42
  6. package/dist/BottomNavigation/BottomNavigation.module.css.js +3 -3
  7. package/dist/BottomSheet/BottomSheet.js +52 -41
  8. package/dist/BottomSheet/BottomSheet.module.css.js +8 -8
  9. package/dist/Button/Button.js +29 -24
  10. package/dist/Button/Button.module.css.js +21 -19
  11. package/dist/Checkbox/Checkbox.module.css.js +10 -10
  12. package/dist/Clipboard/Clipboard.module.css.js +16 -16
  13. package/dist/CloseButton/CloseButton.js +1 -2
  14. package/dist/CloseButton/CloseButton.module.css.js +12 -12
  15. package/dist/DatePicker/DatePicker.js +71 -59
  16. package/dist/DatePicker/DatePicker.module.css.js +34 -22
  17. package/dist/Dialog/Dialog.js +3 -3
  18. package/dist/Dialog/Dialog.module.css.js +16 -16
  19. package/dist/Divider/Divider.module.css.js +2 -2
  20. package/dist/Drawer/Drawer.module.css.js +9 -9
  21. package/dist/Fab/Fab.module.css.js +16 -16
  22. package/dist/Field/Field.module.css.js +14 -14
  23. package/dist/Fieldset/Fieldset.module.css.js +1 -1
  24. package/dist/FileUpload/FileUpload.module.css.js +22 -22
  25. package/dist/FilterGroup/FilterGroup.js +61 -58
  26. package/dist/FilterGroup/FilterGroup.module.css.js +12 -20
  27. package/dist/Input/Input.js +62 -40
  28. package/dist/Input/Input.module.css.js +36 -30
  29. package/dist/Link/Link.module.css.js +1 -1
  30. package/dist/MoneyInput/MoneyInput.module.css.js +6 -6
  31. package/dist/Pagination/Pagination.module.css.js +4 -4
  32. package/dist/Picker/Picker.module.css.js +1 -1
  33. package/dist/PickerView/PickerView.module.css.js +11 -11
  34. package/dist/PinInput/PinInput.module.css.js +18 -18
  35. package/dist/Popover/Popover.module.css.js +10 -10
  36. package/dist/Progress/Progress.module.css.js +14 -14
  37. package/dist/QrCode/QrCode.module.css.js +6 -6
  38. package/dist/RadioGroup/Radio.module.css.js +11 -11
  39. package/dist/RatingGroup/RatingGroup.js +6 -6
  40. package/dist/RatingGroup/RatingGroup.module.css.js +6 -6
  41. package/dist/SearchInput/SearchInput.module.css.js +1 -1
  42. package/dist/Select/Select.js +45 -44
  43. package/dist/Select/Select.module.css.js +24 -22
  44. package/dist/SelectPc/Select.js +50 -44
  45. package/dist/SelectPc/SelectPc.module.css.js +29 -23
  46. package/dist/SignaturePad/SignaturePad.module.css.js +4 -4
  47. package/dist/Slider/Slider.module.css.js +10 -10
  48. package/dist/Spinner/Spinner.module.css.js +4 -4
  49. package/dist/Steps/Steps.js +87 -77
  50. package/dist/Steps/Steps.module.css.js +18 -20
  51. package/dist/Switch/Switch.js +22 -18
  52. package/dist/Switch/Switch.module.css.js +20 -18
  53. package/dist/Tabs/Tabs.module.css.js +5 -5
  54. package/dist/Tag/Tag.js +34 -26
  55. package/dist/Tag/Tag.module.css.js +36 -32
  56. package/dist/Textarea/Textarea.module.css.js +15 -15
  57. package/dist/Toast/Toast.module.css.js +34 -34
  58. package/dist/Toggle/Toggle.module.css.js +1 -1
  59. package/dist/ToggleGroup/ToggleGroup.js +36 -21
  60. package/dist/ToggleGroup/ToggleGroup.module.css.js +20 -14
  61. package/dist/styles.css +1 -1
  62. package/package.json +4 -1
@@ -1,21 +1,21 @@
1
- const s = "_base_1iod0_1", i = "_solid_1iod0_32", e = "_outline_1iod0_41", o = "_sizeXs_1iod0_51", _ = "_sizeSm_1iod0_59", d = "_sizeMd_1iod0_67", t = "_sizeLg_1iod0_75", z = "_sizeXl_1iod0_83", n = {
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: i,
4
- outline: e,
5
- sizeXs: o,
6
- sizeSm: _,
7
- sizeMd: d,
8
- sizeLg: t,
9
- sizeXl: z
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
- e as outline,
15
- t as sizeLg,
16
- d as sizeMd,
17
- _ as sizeSm,
18
- z as sizeXl,
19
- o as sizeXs,
20
- i as solid
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 = "_region_yhirm_1", i = "_positionTopLeft_yhirm_13", o = "_positionTopCenter_yhirm_19", n = "_positionTopRight_yhirm_26", e = "_positionBottomLeft_yhirm_32", _ = "_positionBottomCenter_yhirm_39", s = "_positionBottomRight_yhirm_47", r = "_item_yhirm_54", m = "_itemVisible_yhirm_72", c = "_itemExit_yhirm_77", p = "_icon_yhirm_82", h = "_body_yhirm_95", y = "_title_yhirm_100", g = "_description_yhirm_109", l = "_close_yhirm_118", f = "_intentSuccess_yhirm_140", B = "_intentWarning_yhirm_144", T = "_intentDanger_yhirm_148", a = "_intentInfo_yhirm_152", d = {
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: i,
4
- positionTopCenter: o,
3
+ positionTopLeft: o,
4
+ positionTopCenter: i,
5
5
  positionTopRight: n,
6
6
  positionBottomLeft: e,
7
- positionBottomCenter: _,
8
- positionBottomRight: s,
9
- item: r,
10
- itemVisible: m,
11
- itemExit: c,
12
- icon: p,
13
- body: h,
14
- title: y,
15
- description: g,
16
- close: l,
17
- intentSuccess: f,
18
- intentWarning: B,
19
- intentDanger: T,
20
- intentInfo: a
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
- h as body,
24
- l as close,
25
- d as default,
26
- g as description,
27
- p as icon,
28
- T as intentDanger,
29
- a as intentInfo,
30
- f as intentSuccess,
31
- B as intentWarning,
32
- r as item,
33
- c as itemExit,
34
- m as itemVisible,
35
- _ as positionBottomCenter,
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
- s as positionBottomRight,
38
- o as positionTopCenter,
39
- i as positionTopLeft,
37
+ _ as positionBottomRight,
38
+ i as positionTopCenter,
39
+ o as positionTopLeft,
40
40
  n as positionTopRight,
41
41
  t as region,
42
- y as title
42
+ g as title
43
43
  };
@@ -1,4 +1,4 @@
1
- const o = "_root_1b4uj_1", t = "_indicator_1b4uj_40", r = {
1
+ const o = "_root_5orfy_1", t = "_indicator_5orfy_34", r = {
2
2
  root: o,
3
3
  indicator: t
4
4
  };
@@ -1,42 +1,57 @@
1
- import { createComponent as l, mergeProps as i } from "solid-js/web";
2
- import { splitProps as m, mergeProps as g } from "solid-js";
3
- import { ToggleGroup as t } from "@ark-ui/solid";
4
- import { cn as n } from "../utils/cn.js";
5
- import { bem as c } from "../utils/bem.js";
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 p = {
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
- }, a = {
14
- size: "md"
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 u(s) {
17
- const [r, o] = m(g(a, s), ["class", "children", "size", "defaultValue"]);
18
- return l(t.Root, i(o, {
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 n(c(), e.root, p[r.size], r.class);
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 r.children;
38
+ return t.children;
24
39
  }
25
40
  }));
26
41
  }
27
- function G(s) {
28
- const [r, o] = m(s, ["class", "children"]);
29
- return l(t.Item, i(o, {
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 n(c(), e.item, r.class);
46
+ return g(u(), e.item, t.class);
32
47
  },
33
48
  get children() {
34
- return r.children;
49
+ return t.children;
35
50
  }
36
51
  }));
37
52
  }
38
- u.Original = t;
53
+ P.Original = a;
39
54
  export {
40
- u as ToggleGroup,
41
- G as ToggleGroupItem
55
+ P as ToggleGroup,
56
+ y as ToggleGroupItem
42
57
  };
@@ -1,19 +1,25 @@
1
- const s = "_root_51nam_1", e = "_item_51nam_6", _ = "_sizeXs_51nam_64", i = "_sizeSm_51nam_75", t = "_sizeMd_51nam_86", n = "_sizeLg_51nam_97", o = "_sizeXl_51nam_108", z = {
2
- root: s,
3
- item: e,
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: i,
6
- sizeMd: t,
7
- sizeLg: n,
8
- sizeXl: o
8
+ sizeSm: c,
9
+ sizeMd: o,
10
+ sizeLg: z,
11
+ sizeXl: f
9
12
  };
10
13
  export {
11
- z as default,
12
- e as item,
13
- s as root,
14
- n as sizeLg,
15
- t as sizeMd,
16
- i as sizeSm,
17
- o as sizeXl,
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
  };