stone-kit 0.0.291 → 0.0.293

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.
@@ -37,11 +37,11 @@ const m = ({
37
37
  title: t,
38
38
  titleId: l,
39
39
  ...r
40
- }, a) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: a, "aria-labelledby": l, ...r }, t ? /* @__PURE__ */ e.createElement("title", { id: l }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M19 7L9.66667 17L5 12", stroke: "currentColor", strokeLinecap: "square", strokeLinejoin: "round" })), z = o(y), R = ({
40
+ }, a) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: a, "aria-labelledby": l, ...r }, t ? /* @__PURE__ */ e.createElement("title", { id: l }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M19 7L9.66667 17L5 12", stroke: "currentColor", strokeLinecap: "square", strokeLinejoin: "round" })), R = o(y), z = ({
41
41
  title: t,
42
42
  titleId: l,
43
43
  ...r
44
- }, a) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: a, "aria-labelledby": l, ...r }, t ? /* @__PURE__ */ e.createElement("title", { id: l }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M5.99997 6L18 18.0001", stroke: "currentColor" }), /* @__PURE__ */ e.createElement("path", { d: "M18.0001 6L6.00003 18.0001", stroke: "currentColor" })), S = o(R), B = ({
44
+ }, a) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: a, "aria-labelledby": l, ...r }, t ? /* @__PURE__ */ e.createElement("title", { id: l }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M5.99997 6L18 18.0001", stroke: "currentColor" }), /* @__PURE__ */ e.createElement("path", { d: "M18.0001 6L6.00003 18.0001", stroke: "currentColor" })), S = o(z), B = ({
45
45
  title: t,
46
46
  titleId: l,
47
47
  ...r
@@ -145,11 +145,11 @@ const m = ({
145
145
  title: t,
146
146
  titleId: l,
147
147
  ...r
148
- }, a) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: a, "aria-labelledby": l, ...r }, t ? /* @__PURE__ */ e.createElement("title", { id: l }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M15.446 6.052h-.151l-3.218 6.097L8.744 6 4.179 17.108H3V18h6.462v-.892H8.18l1.282-3.472L12.077 18l2.513-4.364 1.282 3.472H14.59V18H21v-.892h-1.11L15.446 6.052z", fill: "#EC5353" })), z1 = o(y1), R1 = ({
148
+ }, a) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: a, "aria-labelledby": l, ...r }, t ? /* @__PURE__ */ e.createElement("title", { id: l }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M15.446 6.052h-.151l-3.218 6.097L8.744 6 4.179 17.108H3V18h6.462v-.892H8.18l1.282-3.472L12.077 18l2.513-4.364 1.282 3.472H14.59V18H21v-.892h-1.11L15.446 6.052z", fill: "#EC5353" })), R1 = o(y1), z1 = ({
149
149
  title: t,
150
150
  titleId: l,
151
151
  ...r
152
- }, a) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: a, "aria-labelledby": l, ...r }, t ? /* @__PURE__ */ e.createElement("title", { id: l }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M19.819 18.875a.668.668 0 0 1-.972.915l-3.655-3.895c-.691.022-3.872.117-2.875-1.387a.656.656 0 0 1 .654-.17 5.368 5.368 0 0 0 2.305.194.837.837 0 0 1 .727.267l3.816 4.076zm-5.82-5.545a3.323 3.323 0 0 0 2.358-.975l3.447-3.45a.668.668 0 0 0-.942-.945l-3.448 3.45a2 2 0 0 1-2.27.384l4.66-4.663a.668.668 0 1 0-.942-.943L12.2 10.851a2.002 2.002 0 0 1 .384-2.272l3.449-3.449a.667.667 0 0 0-.943-.943l-3.447 3.45a3.342 3.342 0 0 0-.424 4.197L4.195 18.86a.667.667 0 0 0 .943.944l7.024-7.028c.545.36 1.184.553 1.838.553zm-6.364-.69c.552.52 1.062-.171 1.434-.541a1.334 1.334 0 0 0 .359-1.201c-.411-1.149.594-2.49-.238-3.413L6.22 4.374a1.308 1.308 0 0 0-2.22.92C4.158 8.37 5.29 9.94 7.635 12.64z", fill: "currentColor" })), S1 = o(R1), B1 = ({
152
+ }, a) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: a, "aria-labelledby": l, ...r }, t ? /* @__PURE__ */ e.createElement("title", { id: l }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M19.819 18.875a.668.668 0 0 1-.972.915l-3.655-3.895c-.691.022-3.872.117-2.875-1.387a.656.656 0 0 1 .654-.17 5.368 5.368 0 0 0 2.305.194.837.837 0 0 1 .727.267l3.816 4.076zm-5.82-5.545a3.323 3.323 0 0 0 2.358-.975l3.447-3.45a.668.668 0 0 0-.942-.945l-3.448 3.45a2 2 0 0 1-2.27.384l4.66-4.663a.668.668 0 1 0-.942-.943L12.2 10.851a2.002 2.002 0 0 1 .384-2.272l3.449-3.449a.667.667 0 0 0-.943-.943l-3.447 3.45a3.342 3.342 0 0 0-.424 4.197L4.195 18.86a.667.667 0 0 0 .943.944l7.024-7.028c.545.36 1.184.553 1.838.553zm-6.364-.69c.552.52 1.062-.171 1.434-.541a1.334 1.334 0 0 0 .359-1.201c-.411-1.149.594-2.49-.238-3.413L6.22 4.374a1.308 1.308 0 0 0-2.22.92C4.158 8.37 5.29 9.94 7.635 12.64z", fill: "currentColor" })), S1 = o(z1), B1 = ({
153
153
  title: t,
154
154
  titleId: l,
155
155
  ...r
@@ -189,7 +189,11 @@ const m = ({
189
189
  title: t,
190
190
  titleId: l,
191
191
  ...r
192
- }, a) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: a, "aria-labelledby": l, ...r }, t ? /* @__PURE__ */ e.createElement("title", { id: l }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M10 6L16 12L10 18", stroke: "currentColor" })), K1 = o(J1), Q1 = {
192
+ }, a) => /* @__PURE__ */ e.createElement("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: a, "aria-labelledby": l, ...r }, t ? /* @__PURE__ */ e.createElement("title", { id: l }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M10 6L16 12L10 18", stroke: "currentColor" })), K1 = o(J1), Q1 = ({
193
+ title: t,
194
+ titleId: l,
195
+ ...r
196
+ }, a) => /* @__PURE__ */ e.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: a, "aria-labelledby": l, ...r }, t ? /* @__PURE__ */ e.createElement("title", { id: l }, t) : null, /* @__PURE__ */ e.createElement("path", { d: "M19.0027 9.24264C18.1929 7.84012 15.9814 6.01912 14.4658 5.44866C12.9501 4.87819 11.2835 4.85092 9.74994 5.37149C8.21639 5.89206 6.9108 6.92825 6.0556 8.30353C5.2004 9.6788 4.84851 11.3081 5.0599 12.9137C5.27128 14.5193 6.03286 16.002 7.21487 17.109C8.39687 18.2161 9.92617 18.8791 11.5422 18.985C13.1582 19.0909 14.761 18.6332 16.0774 17.6899C17.3938 16.7466 18.3423 15.376 18.7615 13.8117M19.0027 9.24264H14.76M19.0027 9.24264V5", stroke: "#777E91", strokeLinecap: "round", strokeLinejoin: "round" })), X1 = o(Q1), Y1 = {
193
197
  arrowRight: () => /* @__PURE__ */ n(K1, {}),
194
198
  loader: () => /* @__PURE__ */ n(w, {}),
195
199
  filter: () => /* @__PURE__ */ n(h, {}),
@@ -199,7 +203,7 @@ const m = ({
199
203
  download: () => /* @__PURE__ */ n(x, {}),
200
204
  user: () => /* @__PURE__ */ n(b, {}),
201
205
  squareMeter: () => /* @__PURE__ */ n(k, {}),
202
- check: () => /* @__PURE__ */ n(z, {}),
206
+ check: () => /* @__PURE__ */ n(R, {}),
203
207
  close: () => /* @__PURE__ */ n(S, {}),
204
208
  layers: () => /* @__PURE__ */ n($, {}),
205
209
  layersFilled: () => /* @__PURE__ */ n(V, {}),
@@ -225,7 +229,7 @@ const m = ({
225
229
  auto: () => /* @__PURE__ */ n(x1, {}),
226
230
  pedestrian: () => /* @__PURE__ */ n(b1, {}),
227
231
  park: () => /* @__PURE__ */ n(k1, {}),
228
- metro: () => /* @__PURE__ */ n(z1, {}),
232
+ metro: () => /* @__PURE__ */ n(R1, {}),
229
233
  food: () => /* @__PURE__ */ n(S1, {}),
230
234
  building: () => /* @__PURE__ */ n(F1, {}),
231
235
  case: () => /* @__PURE__ */ n($1, {}),
@@ -236,8 +240,9 @@ const m = ({
236
240
  selectUnchecked: () => /* @__PURE__ */ n(G1, {}),
237
241
  arrowShort: () => /* @__PURE__ */ n(_1, {}),
238
242
  search: () => /* @__PURE__ */ n(N1, {}),
239
- circle: () => /* @__PURE__ */ n(F, {})
240
- }, I1 = ({
243
+ circle: () => /* @__PURE__ */ n(F, {}),
244
+ redo: () => /* @__PURE__ */ n(X1, {})
245
+ }, l0 = ({
241
246
  name: t,
242
247
  size: l = "24",
243
248
  color: r,
@@ -245,7 +250,7 @@ const m = ({
245
250
  additionalClass: c,
246
251
  deg: s
247
252
  }) => {
248
- const i = Q1[t];
253
+ const i = Y1[t];
249
254
  return /* @__PURE__ */ n(
250
255
  "div",
251
256
  {
@@ -271,6 +276,6 @@ const m = ({
271
276
  );
272
277
  };
273
278
  export {
274
- I1 as NewIcon,
275
- Q1 as iconTypes
279
+ l0 as NewIcon,
280
+ Y1 as iconTypes
276
281
  };
@@ -0,0 +1 @@
1
+ export { SummarySelect } from './ui/SummarySelect.tsx';
@@ -0,0 +1,4 @@
1
+ import { SummarySelect as r } from "./ui/SummarySelect.js";
2
+ export {
3
+ r as SummarySelect
4
+ };
@@ -0,0 +1,4 @@
1
+ interface ISummarySelectProps {
2
+ }
3
+ export declare const SummarySelect: ({}: ISummarySelectProps) => import("react/jsx-runtime").JSX.Element;
4
+ export {};
@@ -0,0 +1,34 @@
1
+ import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
+ import { useState as p } from "react";
3
+ import { Select as c } from "../../Select/ui/Select.js";
4
+ const s = {}, v = ({}) => {
5
+ const l = [
6
+ { value: "option1", label: "Option 1" },
7
+ { value: "option2", label: "Option 2" },
8
+ { value: "option3", label: "Option 3" },
9
+ { value: "option4", label: "Option 4" }
10
+ ], [e, n] = p([]), a = (o) => {
11
+ !o || o.length === 0 || n(o);
12
+ };
13
+ return /* @__PURE__ */ i("div", { className: s.root, children: [
14
+ /* @__PURE__ */ t(
15
+ c,
16
+ {
17
+ selectedValues: e,
18
+ options: l,
19
+ onChange: (o) => a(o)
20
+ }
21
+ ),
22
+ e && e.length > 0 && (e == null ? void 0 : e.map((o) => /* @__PURE__ */ t(
23
+ "div",
24
+ {
25
+ onClick: (r) => console.log(r.target),
26
+ children: o.label
27
+ },
28
+ o.value
29
+ )))
30
+ ] });
31
+ };
32
+ export {
33
+ v as SummarySelect
34
+ };
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.291",
5
+ "version": "0.0.293",
6
6
  "author": "Mollycodd1e",
7
7
  "license": "ISC",
8
8
  "type": "module",