@solostylist/ui-kit 1.0.165 → 1.0.167

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 (41) hide show
  1. package/README.md +13 -13
  2. package/dist/Download-UsLvGg3y.js +8 -0
  3. package/dist/main.d.ts +4 -0
  4. package/dist/main.js +171 -167
  5. package/dist/s-accordion/package.json +5 -5
  6. package/dist/s-action-overlay/package.json +5 -5
  7. package/dist/s-ai-tool-bar/index.js +4 -0
  8. package/dist/s-ai-tool-bar/package.json +5 -0
  9. package/dist/s-ai-tool-bar/s-ai-tool-bar.d.ts +114 -0
  10. package/dist/s-ai-tool-bar/s-ai-tool-bar.js +513 -0
  11. package/dist/s-avatar/package.json +5 -5
  12. package/dist/s-blur-text/package.json +5 -5
  13. package/dist/s-breadcrumbs/package.json +5 -5
  14. package/dist/s-button/package.json +5 -5
  15. package/dist/s-carousel/package.json +4 -4
  16. package/dist/s-category-card/package.json +4 -4
  17. package/dist/s-chat-input/package.json +5 -5
  18. package/dist/s-chat-message/s-chat-message.js +30 -31
  19. package/dist/s-chip/package.json +5 -5
  20. package/dist/s-comment-message/package.json +5 -5
  21. package/dist/s-image-comparison/package.json +5 -5
  22. package/dist/s-image-modal/package.json +5 -5
  23. package/dist/s-pixel-reveal/index.d.ts +2 -0
  24. package/dist/s-pixel-reveal/index.js +4 -0
  25. package/dist/s-pixel-reveal/package.json +5 -0
  26. package/dist/s-pixel-reveal/s-pixel-reveal.d.ts +13 -0
  27. package/dist/s-pixel-reveal/s-pixel-reveal.js +151 -0
  28. package/dist/s-radial-pulse-animate/package.json +5 -5
  29. package/dist/s-rating/package.json +5 -5
  30. package/dist/s-review/package.json +5 -5
  31. package/dist/s-scroll-reveal/package.json +5 -5
  32. package/dist/s-scroll-to-top/package.json +5 -5
  33. package/dist/s-tabs/package.json +3 -3
  34. package/dist/s-text-shimmer/package.json +4 -4
  35. package/dist/s-theme-demo/package.json +5 -5
  36. package/dist/s-theme-switch/package.json +4 -4
  37. package/dist/s-typewriter-text/package.json +5 -5
  38. package/dist/theme/components/alert.d.ts +1436 -1436
  39. package/dist/theme/components/button.d.ts +2150 -2150
  40. package/dist/theme/components/chip.d.ts +2 -2
  41. package/package.json +113 -113
@@ -0,0 +1,513 @@
1
+ import { j as e } from "../jsx-runtime-OVHDjVDe.js";
2
+ import p, { useEffect as oe, useState as W, useMemo as G, useCallback as v } from "react";
3
+ import { c as L } from "../createSvgIcon-DxwgGAVe.js";
4
+ import { C as se } from "../Close-BRlEKA2Q.js";
5
+ import { D as le } from "../Download-UsLvGg3y.js";
6
+ import { TextField as J, Typography as te, Box as t, Slider as ne, alpha as z, Divider as ae, Tooltip as B, IconButton as P, Dialog as ce, DialogTitle as ie, DialogContent as de } from "@mui/material";
7
+ import { createPortal as xe } from "react-dom";
8
+ import he from "../s-select/s-select.js";
9
+ const me = L(/* @__PURE__ */ e.jsx("path", {
10
+ d: "M19 7v2.99s-1.99.01-2 0V7h-3s.01-1.99 0-2h3V2h2v3h3v2zm-3 4V8h-3V5H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-8zM5 19l3-4 2 3 3-4 4 5z"
11
+ }), "AddPhotoAlternate"), fe = L(/* @__PURE__ */ e.jsx("path", {
12
+ d: "M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L6.7 14.8c-.45-.83-.7-1.79-.7-2.8 0-3.31 2.69-6 6-6m6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26"
13
+ }), "Autorenew"), ue = L(/* @__PURE__ */ e.jsx("path", {
14
+ d: "M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"
15
+ }), "InfoOutlined"), ye = L(/* @__PURE__ */ e.jsx("path", {
16
+ d: "M8 5v14l11-7z"
17
+ }), "PlayArrow"), je = p.memo(({ input: r, value: n, onChange: h, onFocus: l, onBlur: f, disabled: i }) => /* @__PURE__ */ e.jsx(
18
+ J,
19
+ {
20
+ value: n,
21
+ onChange: (d) => h(d.target.value),
22
+ onFocus: l,
23
+ onBlur: f,
24
+ placeholder: r.placeholder || r.label,
25
+ disabled: i,
26
+ multiline: !0,
27
+ minRows: r.minRows ?? 2,
28
+ maxRows: r.maxRows ?? 5,
29
+ fullWidth: !0
30
+ }
31
+ )), _ = p.memo((r) => /* @__PURE__ */ e.jsx(
32
+ te,
33
+ {
34
+ variant: "caption",
35
+ sx: {
36
+ color: "text.secondary",
37
+ whiteSpace: "nowrap",
38
+ overflow: "hidden",
39
+ textOverflow: "ellipsis",
40
+ width: "100% !important",
41
+ textAlign: "center"
42
+ },
43
+ children: r.label
44
+ }
45
+ )), ge = p.memo(({ input: r, value: n, onChange: h, isExpanded: l, onFocus: f, onBlur: i, disabled: d }) => /* @__PURE__ */ e.jsxs(
46
+ t,
47
+ {
48
+ sx: {
49
+ width: l ? 120 : 60,
50
+ transition: "width 0.3s ease",
51
+ display: "flex",
52
+ flexDirection: "column"
53
+ },
54
+ children: [
55
+ /* @__PURE__ */ e.jsx(_, { label: r.label }),
56
+ /* @__PURE__ */ e.jsx(
57
+ J,
58
+ {
59
+ type: "number",
60
+ value: n ?? r.defaultValue ?? 0,
61
+ onChange: (u) => h(Number(u.target.value)),
62
+ onFocus: f,
63
+ onBlur: i,
64
+ disabled: d,
65
+ size: "small",
66
+ slotProps: {
67
+ htmlInput: {
68
+ min: r.min,
69
+ max: r.max,
70
+ step: r.step
71
+ }
72
+ },
73
+ sx: {
74
+ "& input": {
75
+ textAlign: "center"
76
+ }
77
+ }
78
+ }
79
+ )
80
+ ]
81
+ }
82
+ )), pe = p.memo(({ input: r, value: n, onChange: h, isExpanded: l, onFocus: f, onBlur: i, disabled: d }) => /* @__PURE__ */ e.jsxs(
83
+ t,
84
+ {
85
+ sx: {
86
+ width: l ? 180 : 80,
87
+ transition: "width 0.3s ease",
88
+ display: "flex",
89
+ flexDirection: "column"
90
+ },
91
+ children: [
92
+ /* @__PURE__ */ e.jsx(_, { label: r.label }),
93
+ /* @__PURE__ */ e.jsx(
94
+ he,
95
+ {
96
+ value: n ?? r.defaultValue ?? "",
97
+ onChange: (u) => h(u.target.value),
98
+ onFocus: f,
99
+ onBlur: i,
100
+ disabled: d,
101
+ placeholder: r.placeholder,
102
+ options: r.options || [],
103
+ optionLabel: r.optionLabel,
104
+ optionValue: r.optionValue,
105
+ searchable: r.searchable,
106
+ searchPlaceholder: r.searchPlaceholder,
107
+ size: "small"
108
+ }
109
+ )
110
+ ]
111
+ }
112
+ )), Ie = p.memo(({ input: r, value: n, onChange: h, isExpanded: l, onFocus: f, onBlur: i, disabled: d }) => /* @__PURE__ */ e.jsxs(
113
+ t,
114
+ {
115
+ sx: {
116
+ width: l ? 160 : 60,
117
+ transition: "width 0.3s ease",
118
+ display: "flex",
119
+ flexDirection: "column"
120
+ },
121
+ children: [
122
+ /* @__PURE__ */ e.jsx(_, { label: r.label }),
123
+ /* @__PURE__ */ e.jsxs(t, { sx: { display: "flex", alignItems: "center", height: 36 }, children: [
124
+ l && /* @__PURE__ */ e.jsx(
125
+ ne,
126
+ {
127
+ value: n ?? r.defaultValue ?? r.min ?? 0,
128
+ onChange: (u, k) => h(k),
129
+ onMouseDown: f,
130
+ onMouseUp: i,
131
+ disabled: d,
132
+ min: r.min ?? 0,
133
+ max: r.max ?? 100,
134
+ step: r.step ?? 1,
135
+ size: "small",
136
+ sx: { flex: 1 }
137
+ }
138
+ ),
139
+ /* @__PURE__ */ e.jsx(
140
+ t,
141
+ {
142
+ sx: {
143
+ minWidth: 60,
144
+ textAlign: "center",
145
+ fontWeight: 500,
146
+ fontSize: "0.875rem",
147
+ width: l ? "auto" : "100%"
148
+ },
149
+ children: n ?? r.defaultValue ?? r.min ?? 0
150
+ }
151
+ )
152
+ ] })
153
+ ]
154
+ }
155
+ )), we = p.memo(({ input: r, value: n, onChange: h, disabled: l }) => {
156
+ const f = p.useRef(null), [i, d] = p.useState([]), [u, k] = p.useState(null), w = r.multiple ?? !1, b = r.maxImages ?? 5;
157
+ oe(() => {
158
+ let m = [];
159
+ return d(((a) => {
160
+ if (!a) return [];
161
+ const I = Array.isArray(a) ? a : [a], c = [];
162
+ return I.forEach((C) => {
163
+ if (C instanceof File) {
164
+ const M = URL.createObjectURL(C);
165
+ c.push(M), m.push(M);
166
+ } else typeof C == "string" && c.push(C);
167
+ }), c;
168
+ })(n)), () => {
169
+ m.forEach((a) => URL.revokeObjectURL(a));
170
+ };
171
+ }, [n]);
172
+ const y = (m) => {
173
+ const x = m.target.files;
174
+ if (!(!x || x.length === 0)) {
175
+ if (w) {
176
+ const a = Array.isArray(n) ? n : n ? [n] : [], I = Array.from(x).slice(0, b - a.length), c = [...a, ...I];
177
+ h(c);
178
+ } else
179
+ h(x[0]);
180
+ m.target.value = "";
181
+ }
182
+ }, V = (m, x) => {
183
+ if (m.stopPropagation(), w && Array.isArray(n)) {
184
+ const a = n.filter((I, c) => c !== x);
185
+ h(a.length > 0 ? a : null);
186
+ } else
187
+ h(null);
188
+ }, O = () => {
189
+ var m;
190
+ l || w && i.length >= b || (m = f.current) == null || m.click();
191
+ }, T = w && i.length < b;
192
+ return /* @__PURE__ */ e.jsxs(t, { sx: { display: "flex", alignItems: "center", gap: 0.75 }, children: [
193
+ /* @__PURE__ */ e.jsx(
194
+ "input",
195
+ {
196
+ ref: f,
197
+ type: "file",
198
+ accept: "image/*",
199
+ multiple: w,
200
+ onChange: y,
201
+ disabled: l,
202
+ style: { display: "none" }
203
+ }
204
+ ),
205
+ i.map((m, x) => /* @__PURE__ */ e.jsxs(
206
+ t,
207
+ {
208
+ onMouseEnter: () => k(x),
209
+ onMouseLeave: () => k(null),
210
+ sx: {
211
+ width: 50,
212
+ height: 50,
213
+ border: 1,
214
+ borderColor: l ? "action.disabled" : "primary.main",
215
+ borderRadius: 1,
216
+ display: "flex",
217
+ alignItems: "center",
218
+ justifyContent: "center",
219
+ cursor: l ? "not-allowed" : "default",
220
+ position: "relative",
221
+ overflow: "hidden",
222
+ transition: "all 0.2s",
223
+ "&:hover": l ? {} : {
224
+ borderColor: "primary.dark"
225
+ }
226
+ },
227
+ children: [
228
+ /* @__PURE__ */ e.jsx(
229
+ t,
230
+ {
231
+ component: "img",
232
+ src: m,
233
+ alt: `Preview ${x + 1}`,
234
+ sx: {
235
+ width: "100%",
236
+ height: "100%",
237
+ objectFit: "cover"
238
+ }
239
+ }
240
+ ),
241
+ !l && u === x && /* @__PURE__ */ e.jsx(
242
+ t,
243
+ {
244
+ onClick: (a) => V(a, x),
245
+ sx: {
246
+ position: "absolute",
247
+ top: 0,
248
+ left: 0,
249
+ right: 0,
250
+ bottom: 0,
251
+ display: "flex",
252
+ alignItems: "center",
253
+ justifyContent: "center",
254
+ bgcolor: z("#000", 0.5),
255
+ cursor: "pointer",
256
+ transition: "background-color 0.2s",
257
+ "&:hover": {
258
+ bgcolor: z("#000", 0.65)
259
+ }
260
+ },
261
+ children: /* @__PURE__ */ e.jsx(
262
+ se,
263
+ {
264
+ sx: {
265
+ fontSize: 16,
266
+ color: "white"
267
+ }
268
+ }
269
+ )
270
+ }
271
+ )
272
+ ]
273
+ },
274
+ x
275
+ )),
276
+ (i.length === 0 || T) && /* @__PURE__ */ e.jsx(
277
+ t,
278
+ {
279
+ onClick: O,
280
+ sx: {
281
+ width: 50,
282
+ height: 50,
283
+ border: 1,
284
+ borderColor: l ? "action.disabled" : "divider",
285
+ borderRadius: 1,
286
+ display: "flex",
287
+ alignItems: "center",
288
+ justifyContent: "center",
289
+ cursor: l ? "not-allowed" : "pointer",
290
+ bgcolor: z("#000", 0.02),
291
+ transition: "all 0.2s",
292
+ "&:hover": l ? {} : {
293
+ borderColor: "primary.main",
294
+ bgcolor: z("#000", 0.04)
295
+ }
296
+ },
297
+ children: /* @__PURE__ */ e.jsx(
298
+ me,
299
+ {
300
+ sx: {
301
+ fontSize: 20,
302
+ color: l ? "action.disabled" : "text.secondary"
303
+ }
304
+ }
305
+ )
306
+ }
307
+ )
308
+ ] });
309
+ }), H = (r) => {
310
+ switch (r.input.type) {
311
+ case "textarea":
312
+ return /* @__PURE__ */ e.jsx(je, { ...r });
313
+ case "number":
314
+ return /* @__PURE__ */ e.jsx(ge, { ...r });
315
+ case "slider":
316
+ return /* @__PURE__ */ e.jsx(Ie, { ...r });
317
+ case "select":
318
+ return /* @__PURE__ */ e.jsx(pe, { ...r });
319
+ case "image":
320
+ return /* @__PURE__ */ e.jsx(we, { input: r.input, value: r.value, onChange: r.onChange, disabled: r.disabled });
321
+ default:
322
+ return null;
323
+ }
324
+ }, Me = ({
325
+ inputs: r = [],
326
+ onProcess: n,
327
+ onReset: h,
328
+ onDownload: l,
329
+ processing: f = !1,
330
+ uploading: i = !1,
331
+ inputValues: d = {},
332
+ onInputChange: u,
333
+ customActionButtons: k,
334
+ hideProcessButton: w = !1,
335
+ processButtonDisabled: b = !1,
336
+ getInputDisabled: y,
337
+ processTooltip: V = "Process",
338
+ downloadTooltip: O = "Download",
339
+ resetTooltip: T = "Reset",
340
+ infoTooltip: m = "Information",
341
+ infoTitle: x = "Tool Information",
342
+ infoContent: a,
343
+ position: I = "bottom",
344
+ relative: c = !1
345
+ }) => {
346
+ const [C, M] = W(!1), [K, q] = W(!1), [Q, N] = W(!1), A = C || K, D = G(() => r.length === 0 ? !0 : r.every((o) => {
347
+ if (!o.required) return !0;
348
+ const s = d[o.key];
349
+ return o.type === "textarea" ? s && typeof s == "string" && s.trim() !== "" : o.type === "number" || o.type === "slider" ? s != null : o.type === "select" ? s != null && s !== "" : !0;
350
+ }), [r, d]), { imageInputs: E, textareaInputs: X, paramInputs: U } = G(() => r.reduce(
351
+ (o, s) => (s.type === "image" ? o.imageInputs.push(s) : s.type === "textarea" ? o.textareaInputs.push(s) : o.paramInputs.push(s), o),
352
+ {
353
+ imageInputs: [],
354
+ textareaInputs: [],
355
+ paramInputs: []
356
+ }
357
+ ), [r]), Y = v(() => M(!0), []), Z = v(() => M(!1), []), R = v(() => q(!0), []), F = v(() => {
358
+ setTimeout(() => q(!1), 200);
359
+ }, []), S = v(
360
+ (o, s, g) => {
361
+ u == null || u(o, s, g);
362
+ },
363
+ [u]
364
+ ), ee = v(() => N(!0), []), re = v(() => N(!1), []), $ = /* @__PURE__ */ e.jsxs(
365
+ t,
366
+ {
367
+ sx: {
368
+ position: c ? "relative" : "fixed",
369
+ [I]: c ? "auto" : 20,
370
+ left: c ? "auto" : "50%",
371
+ transform: c ? "none" : "translateX(-50%)",
372
+ zIndex: c ? "auto" : 1300,
373
+ display: c ? "flex" : "block",
374
+ justifyContent: c ? "center" : "initial",
375
+ mt: c && I === "top" ? 2 : 0,
376
+ mb: c && I === "bottom" ? 2 : 0
377
+ },
378
+ children: [
379
+ /* @__PURE__ */ e.jsxs(
380
+ t,
381
+ {
382
+ onMouseEnter: Y,
383
+ onMouseLeave: Z,
384
+ sx: {
385
+ display: "flex",
386
+ flexDirection: "column",
387
+ gap: 2,
388
+ p: 2,
389
+ borderRadius: 2,
390
+ border: 1,
391
+ borderColor: "divider"
392
+ },
393
+ children: [
394
+ X.length > 0 && /* @__PURE__ */ e.jsx(t, { sx: { display: "flex", flexDirection: "column", gap: 2 }, children: X.map((o) => {
395
+ const s = d[o.key], g = (y == null ? void 0 : y(o.key)) ?? !1;
396
+ return o.renderInput ? /* @__PURE__ */ e.jsx(t, { children: o.renderInput({
397
+ value: s,
398
+ onChange: (j) => S(o.key, j),
399
+ isExpanded: A,
400
+ onFocus: R,
401
+ onBlur: F,
402
+ disabled: g
403
+ }) }, o.key) : /* @__PURE__ */ e.jsx(
404
+ H,
405
+ {
406
+ input: o,
407
+ value: s,
408
+ onChange: (j) => S(o.key, j),
409
+ isExpanded: A,
410
+ onFocus: R,
411
+ onBlur: F,
412
+ disabled: g
413
+ },
414
+ o.key
415
+ );
416
+ }) }),
417
+ /* @__PURE__ */ e.jsxs(t, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
418
+ /* @__PURE__ */ e.jsx(
419
+ t,
420
+ {
421
+ sx: {
422
+ display: "flex",
423
+ alignItems: "center",
424
+ gap: 2,
425
+ flex: 1
426
+ },
427
+ children: (E.length > 0 || U.length > 0) && /* @__PURE__ */ e.jsxs(t, { sx: { display: "flex", alignItems: "flex-end", gap: 1.5 }, children: [
428
+ E.map((o) => {
429
+ const s = d[o.key], g = (y == null ? void 0 : y(o.key)) ?? !1;
430
+ return o.renderInput ? /* @__PURE__ */ e.jsx(t, { children: o.renderInput({
431
+ value: s,
432
+ onChange: (j) => S(o.key, j),
433
+ isExpanded: A,
434
+ onFocus: R,
435
+ onBlur: F,
436
+ disabled: g
437
+ }) }, o.key) : /* @__PURE__ */ e.jsx(
438
+ H,
439
+ {
440
+ input: o,
441
+ value: s,
442
+ onChange: (j) => S(o.key, j),
443
+ isExpanded: A,
444
+ onFocus: R,
445
+ onBlur: F,
446
+ disabled: g
447
+ },
448
+ o.key
449
+ );
450
+ }),
451
+ U.map((o) => {
452
+ const s = d[o.key], g = (y == null ? void 0 : y(o.key)) ?? !1;
453
+ return o.renderInput ? /* @__PURE__ */ e.jsx(t, { children: o.renderInput({
454
+ value: s,
455
+ onChange: (j) => S(o.key, j),
456
+ isExpanded: A,
457
+ onFocus: R,
458
+ onBlur: F,
459
+ disabled: g
460
+ }) }, o.key) : /* @__PURE__ */ e.jsx(
461
+ H,
462
+ {
463
+ input: o,
464
+ value: s,
465
+ onChange: (j) => S(o.key, j),
466
+ isExpanded: A,
467
+ onFocus: R,
468
+ onBlur: F,
469
+ disabled: g
470
+ },
471
+ o.key
472
+ );
473
+ })
474
+ ] })
475
+ }
476
+ ),
477
+ (E.length > 0 || U.length > 0) && /* @__PURE__ */ e.jsx(ae, { orientation: "vertical", flexItem: !0, sx: { mx: 0.5, flexShrink: 0 } }),
478
+ /* @__PURE__ */ e.jsxs(t, { sx: { display: "flex", alignItems: "center", gap: 0.75, ml: "auto" }, children: [
479
+ k,
480
+ a && /* @__PURE__ */ e.jsx(B, { title: m, children: /* @__PURE__ */ e.jsx(P, { onClick: ee, children: /* @__PURE__ */ e.jsx(ue, {}) }) }),
481
+ /* @__PURE__ */ e.jsx(B, { title: O, children: /* @__PURE__ */ e.jsx(P, { onClick: l, children: /* @__PURE__ */ e.jsx(le, {}) }) }),
482
+ /* @__PURE__ */ e.jsx(B, { title: T, children: /* @__PURE__ */ e.jsx(P, { onClick: h, children: /* @__PURE__ */ e.jsx(fe, {}) }) }),
483
+ !w && /* @__PURE__ */ e.jsx(B, { title: V, children: /* @__PURE__ */ e.jsx("span", { children: /* @__PURE__ */ e.jsx(
484
+ P,
485
+ {
486
+ onClick: n,
487
+ disabled: b || !D || i || f,
488
+ size: "large",
489
+ children: /* @__PURE__ */ e.jsx(
490
+ ye,
491
+ {
492
+ color: b || !D || i || f ? "disabled" : "primary"
493
+ }
494
+ )
495
+ }
496
+ ) }) })
497
+ ] })
498
+ ] })
499
+ ]
500
+ }
501
+ ),
502
+ a && /* @__PURE__ */ e.jsxs(ce, { open: Q, onClose: re, maxWidth: "sm", fullWidth: !0, children: [
503
+ /* @__PURE__ */ e.jsx(ie, { children: x }),
504
+ /* @__PURE__ */ e.jsx(de, { children: a })
505
+ ] })
506
+ ]
507
+ }
508
+ );
509
+ return !c && typeof window < "u" ? xe($, document.body) : $;
510
+ };
511
+ export {
512
+ Me as default
513
+ };
@@ -1,5 +1,5 @@
1
- {
2
- "main": "./index.js",
3
- "types": "./index.d.ts",
4
- "sideEffects": false
5
- }
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }
@@ -1,5 +1,5 @@
1
- {
2
- "main": "./index.js",
3
- "types": "./index.d.ts",
4
- "sideEffects": false
5
- }
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }
@@ -1,5 +1,5 @@
1
- {
2
- "main": "./index.js",
3
- "types": "./index.d.ts",
4
- "sideEffects": false
5
- }
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }
@@ -1,5 +1,5 @@
1
- {
2
- "main": "./index.js",
3
- "types": "./index.d.ts",
4
- "sideEffects": false
5
- }
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }
@@ -1,5 +1,5 @@
1
- {
2
- "main": "./index.js",
3
- "types": "./index.d.ts",
4
- "sideEffects": false
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
- {
2
- "main": "./index.js",
3
- "types": "./index.d.ts",
4
- "sideEffects": false
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
- {
2
- "main": "./index.js",
3
- "types": "./index.d.ts",
4
- "sideEffects": false
5
- }
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }