stone-kit 0.0.427 → 0.0.428

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.
@@ -1,65 +1,65 @@
1
- import { jsxs as f, jsx as s } from "react/jsx-runtime";
2
- import { RoundButton as r } from "../../RoundButton/ui/RoundButton.js";
1
+ import { jsxs as f, jsx as r } from "react/jsx-runtime";
2
+ import { RoundButton as d } from "../../RoundButton/ui/RoundButton.js";
3
3
  import { Tag as C } from "../../Tag/ui/Tag.js";
4
4
  import { useClientWidth as T } from "../../../shared/useClientWidth.js";
5
5
  import { c as N } from "../../../index-rKuIKazb.js";
6
- const k = "_sliderTag_1rvl9_1", d = {
6
+ const k = "_sliderTag_1rvl9_1", l = {
7
7
  sliderTag: k
8
- }, v = N.bind(d), x = ({
9
- indexSlide: i,
10
- isDisabledOff: e,
11
- goPrev: l,
12
- goNext: m,
13
- arr: o,
14
- isNeedTag: c = !0,
15
- additionalClassTag: g = "",
16
- navigationClassName: p = "",
8
+ }, v = N.bind(l), $ = ({
9
+ indexSlide: o,
10
+ isDisabledOff: s,
11
+ goPrev: m,
12
+ goNext: c,
13
+ arr: e,
14
+ isNeedTag: g = !0,
15
+ additionalClassTag: p = "",
16
+ navigationClassName: u = "",
17
17
  additionalClassNavButton: t = "",
18
- size: u = "medium",
19
- size_m: a = "medium",
20
- size_l: n = "large"
18
+ size: n = "medium",
19
+ size_m: i = "medium",
20
+ size_l: a = "large"
21
21
  }) => {
22
22
  const { isDesktop: h } = T();
23
- return /* @__PURE__ */ f("div", { className: p, children: [
24
- /* @__PURE__ */ s(
25
- r,
23
+ return /* @__PURE__ */ f("div", { className: u, children: [
24
+ /* @__PURE__ */ r(
25
+ d,
26
26
  {
27
27
  iconName: "directionDown",
28
28
  deg: "90",
29
- size: u,
30
- size_m: a,
31
- size_l: n,
32
- disabled: e ? !1 : i === 0,
29
+ size: n,
30
+ size_m: i,
31
+ size_l: a,
32
+ disabled: s ? !1 : o === 0,
33
33
  additionalClass: t,
34
- onClick: l
34
+ onClick: m
35
35
  }
36
36
  ),
37
- c && /* @__PURE__ */ s(
37
+ g && /* @__PURE__ */ r(
38
38
  C,
39
39
  {
40
- additionalClass: v(d.sliderTag, g),
40
+ additionalClass: v(l.sliderTag, p),
41
41
  variant: "shade",
42
42
  size: h ? "large" : "medium",
43
- size_m: a,
44
- size_l: n,
45
- children: `${i + 1} из ${o.length}`
43
+ size_m: i,
44
+ size_l: a,
45
+ children: `${o + 1} из ${e.length}`
46
46
  }
47
47
  ),
48
- /* @__PURE__ */ s(
49
- r,
48
+ /* @__PURE__ */ r(
49
+ d,
50
50
  {
51
- disabled: e ? !1 : i === o.length - 1,
52
- size: "tiny",
53
- size_m: "tiny",
54
- size_l: "tiny",
51
+ disabled: s ? !1 : o === e.length - 1,
52
+ size: n,
53
+ size_m: i,
54
+ size_l: a,
55
55
  iconName: "directionDown",
56
56
  deg: "-90",
57
57
  additionalClass: t,
58
- onClick: m
58
+ onClick: c
59
59
  }
60
60
  )
61
61
  ] });
62
62
  };
63
63
  export {
64
- x as SliderNavigation
64
+ $ as SliderNavigation
65
65
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "stone-kit",
3
3
  "description": "uikit for redesign",
4
4
  "private": false,
5
- "version": "0.0.427",
5
+ "version": "0.0.428",
6
6
  "author": "Mollycodd1e",
7
7
  "license": "ISC",
8
8
  "type": "module",