stone-kit 0.0.394 → 0.0.395

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,17 +1,17 @@
1
1
  import { jsxs as l, jsx as c } from "react/jsx-runtime";
2
2
  import { c as j } from "../../../index-rKuIKazb.js";
3
3
  import { NewIcon as r } from "../../NewIcon/ui/NewIcon.js";
4
- const N = "_root_1aljy_1", v = "_iconsWrapper_1aljy_17", b = "_metroColor_1aljy_27", x = "_route_1aljy_37", T = "_auto_1aljy_47", $ = "_full_1aljy_51", w = "_transparent_1aljy_55", W = "_long_1aljy_60", z = "_withBg_1aljy_64", a = {
4
+ const N = "_root_1aljy_1", v = "_iconsWrapper_1aljy_17", $ = "_metroColor_1aljy_27", b = "_route_1aljy_37", x = "_auto_1aljy_47", T = "_full_1aljy_51", w = "_transparent_1aljy_55", W = "_long_1aljy_60", z = "_withBg_1aljy_64", a = {
5
5
  root: N,
6
6
  iconsWrapper: v,
7
- metroColor: b,
8
- route: x,
9
- auto: T,
10
- full: $,
7
+ metroColor: $,
8
+ route: b,
9
+ auto: x,
10
+ full: T,
11
11
  transparent: w,
12
12
  long: W,
13
13
  withBg: z
14
- }, s = j.bind(a), k = ({
14
+ }, i = j.bind(a), k = ({
15
15
  addClassName: e,
16
16
  addClassNameColor: t,
17
17
  addClassNameTimeTo: y,
@@ -27,7 +27,7 @@ const N = "_root_1aljy_1", v = "_iconsWrapper_1aljy_17", b = "_metroColor_1aljy_
27
27
  return Array.isArray(o) ? /* @__PURE__ */ l(
28
28
  "div",
29
29
  {
30
- className: s(
30
+ className: i(
31
31
  a.root,
32
32
  a[u],
33
33
  a[_ ? "long" : ""],
@@ -37,8 +37,8 @@ const N = "_root_1aljy_1", v = "_iconsWrapper_1aljy_17", b = "_metroColor_1aljy_
37
37
  ),
38
38
  ...g,
39
39
  children: [
40
- /* @__PURE__ */ l("div", { className: s(a.metroColor, t), children: [
41
- /* @__PURE__ */ c("div", { className: a.iconsWrapper, children: o.map((n, i) => n.icon ? /* @__PURE__ */ c(
40
+ /* @__PURE__ */ l("div", { className: i(a.metroColor, t), children: [
41
+ /* @__PURE__ */ c("div", { className: a.iconsWrapper, children: o.map((n, s) => n.icon ? /* @__PURE__ */ c(
42
42
  "div",
43
43
  {
44
44
  className: a.icon,
@@ -51,19 +51,20 @@ const N = "_root_1aljy_1", v = "_iconsWrapper_1aljy_17", b = "_metroColor_1aljy_
51
51
  }
52
52
  )
53
53
  },
54
- `metro + ${n.name} + ${i}`
54
+ `metro + ${n.name} + ${s}`
55
55
  ) : /* @__PURE__ */ c(
56
56
  "span",
57
57
  {
58
58
  style: {
59
59
  background: (n == null ? void 0 : n.color) ?? "",
60
- border: i > 0 ? `1px solid ${f}` : ""
60
+ border: s > 0 ? `1px solid ${f}` : ""
61
61
  }
62
- }
62
+ },
63
+ `color + ${n.name} + ${s}`
63
64
  )) }),
64
65
  o.map((n) => n.name).join(", ")
65
66
  ] }),
66
- o == null ? void 0 : o.map((n, i) => !n.mode || !n.timeTo ? null : /* @__PURE__ */ l(
67
+ o == null ? void 0 : o.map((n, s) => !n.mode || !n.timeTo ? null : /* @__PURE__ */ l(
67
68
  "div",
68
69
  {
69
70
  className: a.route,
@@ -79,14 +80,14 @@ const N = "_root_1aljy_1", v = "_iconsWrapper_1aljy_17", b = "_metroColor_1aljy_
79
80
  n.timeTo + " мин"
80
81
  ]
81
82
  },
82
- `route - ${n.name} - ${i}`
83
+ `route - ${n.name} - ${s}`
83
84
  ))
84
85
  ]
85
86
  }
86
87
  ) : /* @__PURE__ */ l(
87
88
  "div",
88
89
  {
89
- className: s(
90
+ className: i(
90
91
  a.root,
91
92
  a[u],
92
93
  a[_ ? "long" : ""],
@@ -96,7 +97,7 @@ const N = "_root_1aljy_1", v = "_iconsWrapper_1aljy_17", b = "_metroColor_1aljy_
96
97
  ),
97
98
  ...g,
98
99
  children: [
99
- /* @__PURE__ */ l("div", { className: s(a.metroColor, t), children: [
100
+ /* @__PURE__ */ l("div", { className: i(a.metroColor, t), children: [
100
101
  (o == null ? void 0 : o.icon) && /* @__PURE__ */ c(
101
102
  "img",
102
103
  {
@@ -108,7 +109,7 @@ const N = "_root_1aljy_1", v = "_iconsWrapper_1aljy_17", b = "_metroColor_1aljy_
108
109
  (o == null ? void 0 : o.color) && !(o != null && o.icon) && /* @__PURE__ */ c("span", { style: { background: (o == null ? void 0 : o.color) ?? "" } }),
109
110
  o.name
110
111
  ] }),
111
- o.timeTo && /* @__PURE__ */ l("div", { className: s(a.route, y), children: [
112
+ o.timeTo && /* @__PURE__ */ l("div", { className: i(a.route, y), children: [
112
113
  o.mode && h.includes(o.mode) && /* @__PURE__ */ c(
113
114
  r,
114
115
  {
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.394",
5
+ "version": "0.0.395",
6
6
  "author": "Mollycodd1e",
7
7
  "license": "ISC",
8
8
  "type": "module",