stone-kit 0.0.56 → 0.0.57
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/App.d.ts +2 -0
- package/dist/App.js +368 -0
- package/dist/Modal-Ch1wdLz_.js +19617 -0
- package/dist/components/Modal/index.js +2 -2
- package/dist/components/Modal/ui/Modal.js +4 -19615
- package/dist/main.d.ts +1 -11
- package/dist/main.js +28 -24
- package/dist/style.css +1 -1
- package/package.json +69 -65
- /package/dist/components/{MobileButton → mobileButton}/index.d.ts +0 -0
- /package/dist/components/{MobileButton → mobileButton}/index.js +0 -0
- /package/dist/components/{MobileButton → mobileButton}/ui/MobileButton.d.ts +0 -0
- /package/dist/components/{MobileButton → mobileButton}/ui/MobileButton.js +0 -0
- /package/dist/components/{MobileButton → mobileButton}/ui/MobileButton.types.d.ts +0 -0
- /package/dist/components/{MobileButton → mobileButton}/ui/MobileButton.types.js +0 -0
package/dist/App.d.ts
ADDED
package/dist/App.js
ADDED
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
import { jsxs as l, Fragment as y, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as r } from "react";
|
|
3
|
+
import { Button as i } from "./components/Button/ui/Button.js";
|
|
4
|
+
import { DestinationTab as _ } from "./components/DestinationTab/ui/DestinationTab.js";
|
|
5
|
+
import { NewIcon as n } from "./components/NewIcon/ui/NewIcon.js";
|
|
6
|
+
import { RoundButton as c } from "./components/RoundButton/ui/RoundButton.js";
|
|
7
|
+
import { Tag as d } from "./components/Tag/ui/Tag.js";
|
|
8
|
+
import { Input as u } from "./components/Input/ui/Input.js";
|
|
9
|
+
import { Switcher as w } from "./components/Switcher/ui/Switcher.js";
|
|
10
|
+
import { Flex as m } from "./components/Flex/ui/Flex.js";
|
|
11
|
+
import { M as C } from "./Modal-Ch1wdLz_.js";
|
|
12
|
+
const x = "_btnAdd_1dczy_1", I = "_modal_1dczy_11", L = "_modalContent_1dczy_17", N = "_menuList_1dczy_25", A = "_menuItem_1dczy_31", o = {
|
|
13
|
+
btnAdd: x,
|
|
14
|
+
"disable-scroll": "_disable-scroll_1dczy_5",
|
|
15
|
+
modal: I,
|
|
16
|
+
modalContent: L,
|
|
17
|
+
menuList: N,
|
|
18
|
+
menuItem: A
|
|
19
|
+
};
|
|
20
|
+
function G() {
|
|
21
|
+
const p = [
|
|
22
|
+
{
|
|
23
|
+
station: "Швабра",
|
|
24
|
+
color: "green",
|
|
25
|
+
routes: [
|
|
26
|
+
{
|
|
27
|
+
text: "100 минут в пути",
|
|
28
|
+
icon: "car"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
text: "часик",
|
|
32
|
+
icon: "walk"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
station: "Метро",
|
|
38
|
+
color: "red",
|
|
39
|
+
routes: [
|
|
40
|
+
{
|
|
41
|
+
text: "часик",
|
|
42
|
+
icon: "walk"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
], [g, k] = r(0), [v, b] = r(!1), [z, s] = r(!1), f = [
|
|
47
|
+
{
|
|
48
|
+
title: "О компании",
|
|
49
|
+
link: "#about"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
title: "Услуги",
|
|
53
|
+
link: "#services"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
title: "Новости",
|
|
57
|
+
link: "#news"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
title: "Вакансии",
|
|
61
|
+
link: "#vacancy"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
title: "Контакты",
|
|
65
|
+
link: "#contacts"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
title: "О компании",
|
|
69
|
+
link: "#about"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
title: "Услуги",
|
|
73
|
+
link: "#services"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
title: "Новости",
|
|
77
|
+
link: "#news"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
title: "Вакансии",
|
|
81
|
+
link: "#vacancy"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
title: "Контакты",
|
|
85
|
+
link: "#contacts"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
title: "О компании",
|
|
89
|
+
link: "#about"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
title: "Услуги",
|
|
93
|
+
link: "#services"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
title: "Новости",
|
|
97
|
+
link: "#news"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
title: "Вакансии",
|
|
101
|
+
link: "#vacancy"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
title: "Контакты",
|
|
105
|
+
link: "#contacts"
|
|
106
|
+
}
|
|
107
|
+
];
|
|
108
|
+
return /* @__PURE__ */ l(y, { children: [
|
|
109
|
+
/* @__PURE__ */ l(
|
|
110
|
+
"div",
|
|
111
|
+
{
|
|
112
|
+
style: {
|
|
113
|
+
width: "100%",
|
|
114
|
+
height: "56px",
|
|
115
|
+
background: "white",
|
|
116
|
+
position: "fixed",
|
|
117
|
+
display: "flex",
|
|
118
|
+
justifyContent: "space-between",
|
|
119
|
+
alignItems: "center"
|
|
120
|
+
},
|
|
121
|
+
children: [
|
|
122
|
+
"Меню",
|
|
123
|
+
/* @__PURE__ */ e("div", { onClick: () => s((t) => !t), children: "нажми" })
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
),
|
|
127
|
+
p.map((t, a) => /* @__PURE__ */ e(
|
|
128
|
+
_,
|
|
129
|
+
{
|
|
130
|
+
checked: a === g,
|
|
131
|
+
onChange: () => k(a),
|
|
132
|
+
destination: { destName: t.station, color: t.color },
|
|
133
|
+
routes: t.routes.map((h) => ({ type: /* @__PURE__ */ e(n, { name: h.icon }), text: h.text })),
|
|
134
|
+
size: "large",
|
|
135
|
+
size_m: "large",
|
|
136
|
+
size_l: "medium"
|
|
137
|
+
},
|
|
138
|
+
a
|
|
139
|
+
)),
|
|
140
|
+
/* @__PURE__ */ e(
|
|
141
|
+
i,
|
|
142
|
+
{
|
|
143
|
+
as: "button",
|
|
144
|
+
variant: "black",
|
|
145
|
+
size: "small",
|
|
146
|
+
children: /* @__PURE__ */ e(
|
|
147
|
+
n,
|
|
148
|
+
{
|
|
149
|
+
name: "phoneFilled",
|
|
150
|
+
size: "16"
|
|
151
|
+
}
|
|
152
|
+
)
|
|
153
|
+
}
|
|
154
|
+
),
|
|
155
|
+
/* @__PURE__ */ e(
|
|
156
|
+
i,
|
|
157
|
+
{
|
|
158
|
+
as: "button",
|
|
159
|
+
variant: "gray",
|
|
160
|
+
size: "small",
|
|
161
|
+
children: /* @__PURE__ */ e(
|
|
162
|
+
n,
|
|
163
|
+
{
|
|
164
|
+
name: "user",
|
|
165
|
+
size: "16",
|
|
166
|
+
color: "#141416"
|
|
167
|
+
}
|
|
168
|
+
)
|
|
169
|
+
}
|
|
170
|
+
),
|
|
171
|
+
/* @__PURE__ */ e(
|
|
172
|
+
i,
|
|
173
|
+
{
|
|
174
|
+
as: "button",
|
|
175
|
+
variant: "gray",
|
|
176
|
+
size: "small",
|
|
177
|
+
children: /* @__PURE__ */ e(
|
|
178
|
+
n,
|
|
179
|
+
{
|
|
180
|
+
name: "burger",
|
|
181
|
+
size: "16",
|
|
182
|
+
color: "#141416"
|
|
183
|
+
}
|
|
184
|
+
)
|
|
185
|
+
}
|
|
186
|
+
),
|
|
187
|
+
/* @__PURE__ */ e(
|
|
188
|
+
i,
|
|
189
|
+
{
|
|
190
|
+
as: "button",
|
|
191
|
+
variant: "black",
|
|
192
|
+
size: "large",
|
|
193
|
+
width: "full",
|
|
194
|
+
children: "Оставить сообщение"
|
|
195
|
+
}
|
|
196
|
+
),
|
|
197
|
+
/* @__PURE__ */ e(
|
|
198
|
+
i,
|
|
199
|
+
{
|
|
200
|
+
as: "link",
|
|
201
|
+
variant: "gray",
|
|
202
|
+
size: "medium",
|
|
203
|
+
href: "https://google.com",
|
|
204
|
+
children: "Подробнее"
|
|
205
|
+
}
|
|
206
|
+
),
|
|
207
|
+
/* @__PURE__ */ e(c, { iconName: "plus" }),
|
|
208
|
+
/* @__PURE__ */ e(
|
|
209
|
+
c,
|
|
210
|
+
{
|
|
211
|
+
iconName: "arrowLong",
|
|
212
|
+
deg: "90"
|
|
213
|
+
}
|
|
214
|
+
),
|
|
215
|
+
/* @__PURE__ */ e(
|
|
216
|
+
c,
|
|
217
|
+
{
|
|
218
|
+
iconName: "arrowLong",
|
|
219
|
+
deg: "-90"
|
|
220
|
+
}
|
|
221
|
+
),
|
|
222
|
+
/* @__PURE__ */ e(
|
|
223
|
+
i,
|
|
224
|
+
{
|
|
225
|
+
as: "link",
|
|
226
|
+
href: "https://google.com",
|
|
227
|
+
variant: "shade",
|
|
228
|
+
size: "large",
|
|
229
|
+
post: /* @__PURE__ */ e(
|
|
230
|
+
n,
|
|
231
|
+
{
|
|
232
|
+
name: "whatsapp",
|
|
233
|
+
size: "24"
|
|
234
|
+
}
|
|
235
|
+
),
|
|
236
|
+
children: "Смотреть вакансии"
|
|
237
|
+
}
|
|
238
|
+
),
|
|
239
|
+
/* @__PURE__ */ e(
|
|
240
|
+
i,
|
|
241
|
+
{
|
|
242
|
+
as: "button",
|
|
243
|
+
variant: "blue",
|
|
244
|
+
size: "large",
|
|
245
|
+
children: "Оставить обращение"
|
|
246
|
+
}
|
|
247
|
+
),
|
|
248
|
+
/* @__PURE__ */ e(
|
|
249
|
+
i,
|
|
250
|
+
{
|
|
251
|
+
as: "button",
|
|
252
|
+
variant: "black",
|
|
253
|
+
size: "large",
|
|
254
|
+
post: /* @__PURE__ */ e(n, { name: "user" }),
|
|
255
|
+
children: "Войти в кабинет"
|
|
256
|
+
}
|
|
257
|
+
),
|
|
258
|
+
/* @__PURE__ */ e(
|
|
259
|
+
i,
|
|
260
|
+
{
|
|
261
|
+
as: "button",
|
|
262
|
+
variant: "gray",
|
|
263
|
+
size: "small",
|
|
264
|
+
children: /* @__PURE__ */ e(
|
|
265
|
+
n,
|
|
266
|
+
{
|
|
267
|
+
name: "close",
|
|
268
|
+
size: "16",
|
|
269
|
+
color: "black"
|
|
270
|
+
}
|
|
271
|
+
)
|
|
272
|
+
}
|
|
273
|
+
),
|
|
274
|
+
/* @__PURE__ */ e(
|
|
275
|
+
d,
|
|
276
|
+
{
|
|
277
|
+
variant: "shade",
|
|
278
|
+
size: "medium",
|
|
279
|
+
size_m: "tiny",
|
|
280
|
+
size_l: "medium",
|
|
281
|
+
children: "2004"
|
|
282
|
+
}
|
|
283
|
+
),
|
|
284
|
+
/* @__PURE__ */ e(d, { variant: "shade", children: "STONE Towers" }),
|
|
285
|
+
/* @__PURE__ */ e(d, { size: "large", variant: "shade", children: "STONE Towers" }),
|
|
286
|
+
/* @__PURE__ */ e("div", { style: { padding: "20px", backgroundColor: "#141416" }, children: /* @__PURE__ */ e(
|
|
287
|
+
u,
|
|
288
|
+
{
|
|
289
|
+
size_s: "small",
|
|
290
|
+
variant: "dark",
|
|
291
|
+
pre: "От",
|
|
292
|
+
post: "м²",
|
|
293
|
+
type: "number",
|
|
294
|
+
placeholder: "шушпинчик"
|
|
295
|
+
}
|
|
296
|
+
) }),
|
|
297
|
+
/* @__PURE__ */ e("div", { style: { padding: "20px", backgroundColor: "gray" }, children: /* @__PURE__ */ e(
|
|
298
|
+
u,
|
|
299
|
+
{
|
|
300
|
+
size_s: "small",
|
|
301
|
+
variant: "light",
|
|
302
|
+
pre: "От",
|
|
303
|
+
post: "м²",
|
|
304
|
+
type: "number",
|
|
305
|
+
placeholder: "шушпинчик"
|
|
306
|
+
}
|
|
307
|
+
) }),
|
|
308
|
+
/* @__PURE__ */ e("div", { style: { padding: "20px", backgroundColor: "orange" }, children: /* @__PURE__ */ e(
|
|
309
|
+
w,
|
|
310
|
+
{
|
|
311
|
+
isActive: v,
|
|
312
|
+
onClick: () => b((t) => !t),
|
|
313
|
+
children: "Приветики"
|
|
314
|
+
}
|
|
315
|
+
) }),
|
|
316
|
+
/* @__PURE__ */ l(
|
|
317
|
+
m,
|
|
318
|
+
{
|
|
319
|
+
jc: "between",
|
|
320
|
+
gap: "1",
|
|
321
|
+
children: [
|
|
322
|
+
/* @__PURE__ */ e("div", { children: "1" }),
|
|
323
|
+
/* @__PURE__ */ e("div", { children: "2" }),
|
|
324
|
+
/* @__PURE__ */ e("div", { children: "3" }),
|
|
325
|
+
/* @__PURE__ */ e("div", { children: "4" }),
|
|
326
|
+
/* @__PURE__ */ e("div", { children: "5" })
|
|
327
|
+
]
|
|
328
|
+
}
|
|
329
|
+
),
|
|
330
|
+
/* @__PURE__ */ e(
|
|
331
|
+
C,
|
|
332
|
+
{
|
|
333
|
+
isOpen: z,
|
|
334
|
+
emitIsOpen: () => {
|
|
335
|
+
s((t) => !t);
|
|
336
|
+
},
|
|
337
|
+
additionalClass: o.modal,
|
|
338
|
+
children: /* @__PURE__ */ l(m, { additionalClass: o.modalContent, children: [
|
|
339
|
+
/* @__PURE__ */ e(m, { additionalClass: o.menuList, children: f.map((t, a) => /* @__PURE__ */ e(
|
|
340
|
+
"a",
|
|
341
|
+
{
|
|
342
|
+
href: t.link,
|
|
343
|
+
className: o.menuItem,
|
|
344
|
+
onClick: () => s(!1),
|
|
345
|
+
children: t.title
|
|
346
|
+
},
|
|
347
|
+
a
|
|
348
|
+
)) }),
|
|
349
|
+
/* @__PURE__ */ e(
|
|
350
|
+
i,
|
|
351
|
+
{
|
|
352
|
+
as: "link",
|
|
353
|
+
href: "https://stone.ru",
|
|
354
|
+
variant: "black",
|
|
355
|
+
size: "large",
|
|
356
|
+
width: "full",
|
|
357
|
+
post: /* @__PURE__ */ e(n, { name: "user" }),
|
|
358
|
+
children: "Войти в кабинет"
|
|
359
|
+
}
|
|
360
|
+
)
|
|
361
|
+
] })
|
|
362
|
+
}
|
|
363
|
+
)
|
|
364
|
+
] });
|
|
365
|
+
}
|
|
366
|
+
export {
|
|
367
|
+
G as default
|
|
368
|
+
};
|