@app-studio/web 0.8.58 → 0.8.60
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/components/DragAndDrop/DragAndDrop/DragAndDrop.props.d.ts +9 -0
- package/dist/components/DragAndDrop/DragAndDrop/DragAndDrop.state.d.ts +9 -0
- package/dist/components/DragAndDrop/DragAndDrop/DragAndDrop.view.d.ts +10 -0
- package/dist/components/DragAndDrop/DragAndDrop.d.ts +4 -0
- package/dist/components/DragAndDrop/examples/Simple.d.ts +2 -0
- package/dist/components/Icon/Icon.d.ts +3 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/pages/dragAndDrop.page.d.ts +3 -0
- package/dist/pages/icon.page.d.ts +2 -2
- package/dist/web.cjs.development.js +399 -174
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +395 -175
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +399 -174
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -231,16 +231,16 @@
|
|
|
231
231
|
_excluded19 = ["size", "color", "filled", "strokeWidth"],
|
|
232
232
|
_excluded20 = ["size", "color", "filled", "strokeWidth"],
|
|
233
233
|
_excluded21 = ["size", "color", "filled", "strokeWidth"],
|
|
234
|
-
_excluded22 = ["size", "color", "
|
|
234
|
+
_excluded22 = ["size", "color", "filled", "strokeWidth"],
|
|
235
235
|
_excluded23 = ["size", "color", "filled", "strokeWidth"],
|
|
236
|
-
_excluded24 = ["size", "color", "
|
|
237
|
-
_excluded25 = ["size", "color", "
|
|
238
|
-
_excluded26 = ["size", "color", "
|
|
239
|
-
_excluded27 = ["size", "color", "
|
|
240
|
-
_excluded28 = ["size", "color", "
|
|
241
|
-
_excluded29 = ["size", "color", "
|
|
236
|
+
_excluded24 = ["size", "color", "filled", "strokeWidth"],
|
|
237
|
+
_excluded25 = ["size", "color", "strokeWidth", "filled"],
|
|
238
|
+
_excluded26 = ["size", "color", "filled", "strokeWidth"],
|
|
239
|
+
_excluded27 = ["size", "color", "strokeWidth", "filled"],
|
|
240
|
+
_excluded28 = ["size", "color", "filled", "strokeWidth"],
|
|
241
|
+
_excluded29 = ["size", "color", "strokeWidth", "filled"],
|
|
242
242
|
_excluded30 = ["size", "color", "filled", "strokeWidth"],
|
|
243
|
-
_excluded31 = ["size", "color", "
|
|
243
|
+
_excluded31 = ["size", "color", "strokeWidth", "filled"],
|
|
244
244
|
_excluded32 = ["size", "color", "filled", "strokeWidth"],
|
|
245
245
|
_excluded33 = ["size", "color", "filled", "strokeWidth"],
|
|
246
246
|
_excluded34 = ["size", "color", "filled", "strokeWidth"],
|
|
@@ -250,11 +250,11 @@
|
|
|
250
250
|
_excluded38 = ["size", "color", "filled", "strokeWidth"],
|
|
251
251
|
_excluded39 = ["size", "color", "filled", "strokeWidth"],
|
|
252
252
|
_excluded40 = ["size", "color", "filled", "strokeWidth"],
|
|
253
|
-
_excluded41 = ["size", "color", "
|
|
254
|
-
_excluded42 = ["size", "color", "
|
|
253
|
+
_excluded41 = ["size", "color", "filled", "strokeWidth"],
|
|
254
|
+
_excluded42 = ["size", "color", "filled", "strokeWidth"],
|
|
255
255
|
_excluded43 = ["size", "color", "filled", "strokeWidth"],
|
|
256
|
-
_excluded44 = ["size", "color", "
|
|
257
|
-
_excluded45 = ["size", "color", "
|
|
256
|
+
_excluded44 = ["size", "color", "strokeWidth", "filled"],
|
|
257
|
+
_excluded45 = ["size", "color", "strokeWidth", "filled"],
|
|
258
258
|
_excluded46 = ["size", "color", "filled", "strokeWidth"],
|
|
259
259
|
_excluded47 = ["size", "color", "filled", "strokeWidth"],
|
|
260
260
|
_excluded48 = ["size", "color", "filled", "strokeWidth"],
|
|
@@ -265,7 +265,10 @@
|
|
|
265
265
|
_excluded53 = ["size", "color", "filled", "strokeWidth"],
|
|
266
266
|
_excluded54 = ["size", "color", "filled", "strokeWidth"],
|
|
267
267
|
_excluded55 = ["size", "color", "filled", "strokeWidth"],
|
|
268
|
-
_excluded56 = ["size", "color", "
|
|
268
|
+
_excluded56 = ["size", "color", "filled", "strokeWidth"],
|
|
269
|
+
_excluded57 = ["size", "color", "filled", "strokeWidth"],
|
|
270
|
+
_excluded58 = ["size", "color", "filled", "strokeWidth"],
|
|
271
|
+
_excluded59 = ["size", "color", "strokeWidth", "filled"];
|
|
269
272
|
// Default wrapper component for consistent sizing and styling
|
|
270
273
|
var IconWrapper = _ref => {
|
|
271
274
|
var {
|
|
@@ -314,8 +317,7 @@
|
|
|
314
317
|
d: "M12.771 7.115a.829.829 0 0 0-1.2 0L3 15.686l1.2 1.2 7.971-7.971 7.972 7.971 1.2-1.2-8.572-8.571Z"
|
|
315
318
|
})));
|
|
316
319
|
};
|
|
317
|
-
|
|
318
|
-
var TwitchIcon = _ref3 => {
|
|
320
|
+
var DragHandleIcon = _ref3 => {
|
|
319
321
|
var {
|
|
320
322
|
size = 24,
|
|
321
323
|
color = 'currentColor',
|
|
@@ -330,6 +332,92 @@
|
|
|
330
332
|
viewBox: "0 0 24 24",
|
|
331
333
|
"aria-hidden": "true",
|
|
332
334
|
focusable: "false"
|
|
335
|
+
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("circle", {
|
|
336
|
+
cx: "9",
|
|
337
|
+
cy: "6",
|
|
338
|
+
r: "2"
|
|
339
|
+
}), /*#__PURE__*/React__default.createElement("circle", {
|
|
340
|
+
cx: "9",
|
|
341
|
+
cy: "12",
|
|
342
|
+
r: "2"
|
|
343
|
+
}), /*#__PURE__*/React__default.createElement("circle", {
|
|
344
|
+
cx: "9",
|
|
345
|
+
cy: "18",
|
|
346
|
+
r: "2"
|
|
347
|
+
}), /*#__PURE__*/React__default.createElement("circle", {
|
|
348
|
+
cx: "15",
|
|
349
|
+
cy: "6",
|
|
350
|
+
r: "2"
|
|
351
|
+
}), /*#__PURE__*/React__default.createElement("circle", {
|
|
352
|
+
cx: "15",
|
|
353
|
+
cy: "12",
|
|
354
|
+
r: "2"
|
|
355
|
+
}), /*#__PURE__*/React__default.createElement("circle", {
|
|
356
|
+
cx: "15",
|
|
357
|
+
cy: "18",
|
|
358
|
+
r: "2"
|
|
359
|
+
}))));
|
|
360
|
+
};
|
|
361
|
+
var TwitterIcon = _ref4 => {
|
|
362
|
+
var {
|
|
363
|
+
size = 24,
|
|
364
|
+
color = 'currentColor',
|
|
365
|
+
filled = true,
|
|
366
|
+
strokeWidth = 1
|
|
367
|
+
} = _ref4,
|
|
368
|
+
props = _objectWithoutPropertiesLoose(_ref4, _excluded4);
|
|
369
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
370
|
+
size: size,
|
|
371
|
+
color: color
|
|
372
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
373
|
+
viewBox: "0 0 24 24",
|
|
374
|
+
"aria-hidden": "true",
|
|
375
|
+
focusable: "false"
|
|
376
|
+
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("path", {
|
|
377
|
+
d: "M22.46 6.01c-.83.37-1.72.62-2.65.74a4.6 4.6 0 0 0 2.01-2.54 9.2 9.2 0 0 1-2.91 1.11 4.54 4.54 0 0 0-7.75 4.14A12.86 12.86 0 0 1 3.15 4.47a4.54 4.54 0 0 0 1.4 6.06 4.5 4.5 0 0 1-2.06-.57v.06a4.54 4.54 0 0 0 3.64 4.45 4.61 4.61 0 0 1-2.05.08 4.54 4.54 0 0 0 4.23 3.15 9.12 9.12 0 0 1-5.64 1.94c-.37 0-.74-.02-1.1-.07A12.86 12.86 0 0 0 8.21 21c8.38 0 12.96-6.94 12.96-12.96 0-.2 0-.4-.01-.6a9.28 9.28 0 0 0 2.3-2.37z",
|
|
378
|
+
fill: filled ? color : 'none',
|
|
379
|
+
stroke: filled ? 'none' : color,
|
|
380
|
+
strokeWidth: filled ? 0 : strokeWidth
|
|
381
|
+
})));
|
|
382
|
+
};
|
|
383
|
+
var XIcon = _ref5 => {
|
|
384
|
+
var {
|
|
385
|
+
size = 24,
|
|
386
|
+
color = 'currentColor',
|
|
387
|
+
filled = true,
|
|
388
|
+
strokeWidth = 1
|
|
389
|
+
} = _ref5,
|
|
390
|
+
props = _objectWithoutPropertiesLoose(_ref5, _excluded5);
|
|
391
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
392
|
+
size: size,
|
|
393
|
+
color: color
|
|
394
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
395
|
+
viewBox: "0 0 24 24",
|
|
396
|
+
"aria-hidden": "true",
|
|
397
|
+
focusable: "false"
|
|
398
|
+
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("path", {
|
|
399
|
+
d: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z",
|
|
400
|
+
fill: filled ? color : 'none',
|
|
401
|
+
stroke: color,
|
|
402
|
+
strokeWidth: strokeWidth
|
|
403
|
+
})));
|
|
404
|
+
};
|
|
405
|
+
// Example of a Twitch Icon
|
|
406
|
+
var TwitchIcon = _ref6 => {
|
|
407
|
+
var {
|
|
408
|
+
size = 24,
|
|
409
|
+
color = 'currentColor',
|
|
410
|
+
filled = true,
|
|
411
|
+
strokeWidth = 1
|
|
412
|
+
} = _ref6,
|
|
413
|
+
props = _objectWithoutPropertiesLoose(_ref6, _excluded6);
|
|
414
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
415
|
+
size: size,
|
|
416
|
+
color: color
|
|
417
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
418
|
+
viewBox: "0 0 24 24",
|
|
419
|
+
"aria-hidden": "true",
|
|
420
|
+
focusable: "false"
|
|
333
421
|
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("path", {
|
|
334
422
|
d: "M2 2v16h5v4l4-4h5l6-6V2H2zm18 10-3 3h-5l-3 3v-3H4V4h16v8z",
|
|
335
423
|
fill: filled ? color : 'none',
|
|
@@ -343,14 +431,14 @@
|
|
|
343
431
|
})));
|
|
344
432
|
};
|
|
345
433
|
// Example of another Icon: CloseIcon
|
|
346
|
-
var CloseIcon =
|
|
434
|
+
var CloseIcon = _ref7 => {
|
|
347
435
|
var {
|
|
348
436
|
size = 24,
|
|
349
437
|
color = 'currentColor',
|
|
350
438
|
filled = false,
|
|
351
439
|
strokeWidth = 1
|
|
352
|
-
} =
|
|
353
|
-
props = _objectWithoutPropertiesLoose(
|
|
440
|
+
} = _ref7,
|
|
441
|
+
props = _objectWithoutPropertiesLoose(_ref7, _excluded7);
|
|
354
442
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
355
443
|
size: size,
|
|
356
444
|
color: color
|
|
@@ -372,14 +460,14 @@
|
|
|
372
460
|
y2: "18"
|
|
373
461
|
})));
|
|
374
462
|
};
|
|
375
|
-
var InstagramIcon =
|
|
463
|
+
var InstagramIcon = _ref8 => {
|
|
376
464
|
var {
|
|
377
465
|
size = 24,
|
|
378
466
|
color = 'currentColor',
|
|
379
467
|
filled = false,
|
|
380
468
|
strokeWidth = 1
|
|
381
|
-
} =
|
|
382
|
-
props = _objectWithoutPropertiesLoose(
|
|
469
|
+
} = _ref8,
|
|
470
|
+
props = _objectWithoutPropertiesLoose(_ref8, _excluded8);
|
|
383
471
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
384
472
|
size: size,
|
|
385
473
|
color: color
|
|
@@ -403,14 +491,14 @@
|
|
|
403
491
|
y2: "6.5"
|
|
404
492
|
})));
|
|
405
493
|
};
|
|
406
|
-
var YoutubeIcon =
|
|
494
|
+
var YoutubeIcon = _ref9 => {
|
|
407
495
|
var {
|
|
408
496
|
size = 24,
|
|
409
497
|
color = 'currentColor',
|
|
410
498
|
filled = true,
|
|
411
499
|
strokeWidth = 1
|
|
412
|
-
} =
|
|
413
|
-
props = _objectWithoutPropertiesLoose(
|
|
500
|
+
} = _ref9,
|
|
501
|
+
props = _objectWithoutPropertiesLoose(_ref9, _excluded9);
|
|
414
502
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
415
503
|
size: size,
|
|
416
504
|
color: color
|
|
@@ -431,14 +519,14 @@
|
|
|
431
519
|
strokeWidth: strokeWidth
|
|
432
520
|
})));
|
|
433
521
|
};
|
|
434
|
-
var FacebookIcon =
|
|
522
|
+
var FacebookIcon = _ref10 => {
|
|
435
523
|
var {
|
|
436
524
|
size = 24,
|
|
437
525
|
color = 'currentColor',
|
|
438
526
|
filled = true,
|
|
439
527
|
strokeWidth = 1
|
|
440
|
-
} =
|
|
441
|
-
props = _objectWithoutPropertiesLoose(
|
|
528
|
+
} = _ref10,
|
|
529
|
+
props = _objectWithoutPropertiesLoose(_ref10, _excluded10);
|
|
442
530
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
443
531
|
size: size,
|
|
444
532
|
color: color
|
|
@@ -453,14 +541,14 @@
|
|
|
453
541
|
strokeWidth: filled ? 0 : strokeWidth
|
|
454
542
|
})));
|
|
455
543
|
};
|
|
456
|
-
var LinkedinIcon =
|
|
544
|
+
var LinkedinIcon = _ref11 => {
|
|
457
545
|
var {
|
|
458
546
|
size = 24,
|
|
459
547
|
color = 'currentColor',
|
|
460
548
|
filled = true,
|
|
461
549
|
strokeWidth = 1
|
|
462
|
-
} =
|
|
463
|
-
props = _objectWithoutPropertiesLoose(
|
|
550
|
+
} = _ref11,
|
|
551
|
+
props = _objectWithoutPropertiesLoose(_ref11, _excluded11);
|
|
464
552
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
465
553
|
size: size,
|
|
466
554
|
color: color
|
|
@@ -479,14 +567,14 @@
|
|
|
479
567
|
r: "2"
|
|
480
568
|
})));
|
|
481
569
|
};
|
|
482
|
-
var ThreadsIcon =
|
|
570
|
+
var ThreadsIcon = _ref12 => {
|
|
483
571
|
var {
|
|
484
572
|
size = 24,
|
|
485
573
|
color = 'currentColor',
|
|
486
574
|
filled = false,
|
|
487
575
|
strokeWidth = 1
|
|
488
|
-
} =
|
|
489
|
-
props = _objectWithoutPropertiesLoose(
|
|
576
|
+
} = _ref12,
|
|
577
|
+
props = _objectWithoutPropertiesLoose(_ref12, _excluded12);
|
|
490
578
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
491
579
|
size: size,
|
|
492
580
|
color: color
|
|
@@ -501,15 +589,15 @@
|
|
|
501
589
|
})));
|
|
502
590
|
};
|
|
503
591
|
// Example Refactored Icon: MinusIcon without undefined 'padding' prop
|
|
504
|
-
var MinusIcon =
|
|
592
|
+
var MinusIcon = _ref13 => {
|
|
505
593
|
var {
|
|
506
594
|
size = 24,
|
|
507
595
|
color = 'currentColor',
|
|
508
596
|
filled = false,
|
|
509
597
|
// Assuming minus can be filled; adjust as needed
|
|
510
598
|
strokeWidth = 1
|
|
511
|
-
} =
|
|
512
|
-
props = _objectWithoutPropertiesLoose(
|
|
599
|
+
} = _ref13,
|
|
600
|
+
props = _objectWithoutPropertiesLoose(_ref13, _excluded13);
|
|
513
601
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
514
602
|
size: size,
|
|
515
603
|
color: color
|
|
@@ -526,14 +614,14 @@
|
|
|
526
614
|
})));
|
|
527
615
|
};
|
|
528
616
|
// Example Refactored Icon: InfoIcon with accessibility enhancements
|
|
529
|
-
var InfoIcon =
|
|
617
|
+
var InfoIcon = _ref14 => {
|
|
530
618
|
var {
|
|
531
619
|
size = 24,
|
|
532
620
|
color = 'currentColor',
|
|
533
621
|
filled = false,
|
|
534
622
|
strokeWidth = 1
|
|
535
|
-
} =
|
|
536
|
-
props = _objectWithoutPropertiesLoose(
|
|
623
|
+
} = _ref14,
|
|
624
|
+
props = _objectWithoutPropertiesLoose(_ref14, _excluded14);
|
|
537
625
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
538
626
|
size: size,
|
|
539
627
|
color: color
|
|
@@ -547,14 +635,14 @@
|
|
|
547
635
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"
|
|
548
636
|
})));
|
|
549
637
|
};
|
|
550
|
-
var HeartIcon =
|
|
638
|
+
var HeartIcon = _ref15 => {
|
|
551
639
|
var {
|
|
552
640
|
size = 24,
|
|
553
641
|
color = 'currentColor',
|
|
554
642
|
filled = true,
|
|
555
643
|
strokeWidth = 1
|
|
556
|
-
} =
|
|
557
|
-
props = _objectWithoutPropertiesLoose(
|
|
644
|
+
} = _ref15,
|
|
645
|
+
props = _objectWithoutPropertiesLoose(_ref15, _excluded15);
|
|
558
646
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
559
647
|
size: size,
|
|
560
648
|
color: color
|
|
@@ -566,14 +654,14 @@
|
|
|
566
654
|
d: "M20.84 4.61c-1.54-1.56-4.04-1.56-5.59 0l-.7.72-.7-.72a3.95 3.95 0 0 0-5.59 0c-1.56 1.56-1.56 4.09 0 5.66l6.29 6.36 6.29-6.36c1.56-1.56 1.56-4.09 0-5.66z"
|
|
567
655
|
})));
|
|
568
656
|
};
|
|
569
|
-
var StarIcon =
|
|
657
|
+
var StarIcon = _ref16 => {
|
|
570
658
|
var {
|
|
571
659
|
size = 24,
|
|
572
660
|
color = 'currentColor',
|
|
573
661
|
filled = true,
|
|
574
662
|
strokeWidth = 1
|
|
575
|
-
} =
|
|
576
|
-
props = _objectWithoutPropertiesLoose(
|
|
663
|
+
} = _ref16,
|
|
664
|
+
props = _objectWithoutPropertiesLoose(_ref16, _excluded16);
|
|
577
665
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
578
666
|
size: size,
|
|
579
667
|
color: color
|
|
@@ -585,14 +673,14 @@
|
|
|
585
673
|
points: "12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"
|
|
586
674
|
})));
|
|
587
675
|
};
|
|
588
|
-
var SaveIcon =
|
|
676
|
+
var SaveIcon = _ref17 => {
|
|
589
677
|
var {
|
|
590
678
|
size = 24,
|
|
591
679
|
color = 'currentColor',
|
|
592
680
|
filled = false,
|
|
593
681
|
strokeWidth = 1
|
|
594
|
-
} =
|
|
595
|
-
props = _objectWithoutPropertiesLoose(
|
|
682
|
+
} = _ref17,
|
|
683
|
+
props = _objectWithoutPropertiesLoose(_ref17, _excluded17);
|
|
596
684
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
597
685
|
size: size,
|
|
598
686
|
color: color
|
|
@@ -608,14 +696,14 @@
|
|
|
608
696
|
points: "7 3 7 8 15 8"
|
|
609
697
|
})));
|
|
610
698
|
};
|
|
611
|
-
var WarningIcon =
|
|
699
|
+
var WarningIcon = _ref18 => {
|
|
612
700
|
var {
|
|
613
701
|
size = 24,
|
|
614
702
|
color = 'currentColor',
|
|
615
703
|
filled = false,
|
|
616
704
|
strokeWidth = 1
|
|
617
|
-
} =
|
|
618
|
-
props = _objectWithoutPropertiesLoose(
|
|
705
|
+
} = _ref18,
|
|
706
|
+
props = _objectWithoutPropertiesLoose(_ref18, _excluded18);
|
|
619
707
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
620
708
|
size: size,
|
|
621
709
|
color: color
|
|
@@ -639,14 +727,14 @@
|
|
|
639
727
|
y2: "15"
|
|
640
728
|
})));
|
|
641
729
|
};
|
|
642
|
-
var BatteryIcon =
|
|
730
|
+
var BatteryIcon = _ref19 => {
|
|
643
731
|
var {
|
|
644
732
|
size = 24,
|
|
645
733
|
color = 'currentColor',
|
|
646
734
|
filled = true,
|
|
647
735
|
strokeWidth = 1
|
|
648
|
-
} =
|
|
649
|
-
props = _objectWithoutPropertiesLoose(
|
|
736
|
+
} = _ref19,
|
|
737
|
+
props = _objectWithoutPropertiesLoose(_ref19, _excluded19);
|
|
650
738
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
651
739
|
size: size,
|
|
652
740
|
color: color
|
|
@@ -658,14 +746,14 @@
|
|
|
658
746
|
d: "M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4z"
|
|
659
747
|
})));
|
|
660
748
|
};
|
|
661
|
-
var BookmarkIcon =
|
|
749
|
+
var BookmarkIcon = _ref20 => {
|
|
662
750
|
var {
|
|
663
751
|
size = 24,
|
|
664
752
|
color = 'currentColor',
|
|
665
753
|
filled = false,
|
|
666
754
|
strokeWidth = 1
|
|
667
|
-
} =
|
|
668
|
-
props = _objectWithoutPropertiesLoose(
|
|
755
|
+
} = _ref20,
|
|
756
|
+
props = _objectWithoutPropertiesLoose(_ref20, _excluded20);
|
|
669
757
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
670
758
|
size: size,
|
|
671
759
|
color: color
|
|
@@ -677,14 +765,14 @@
|
|
|
677
765
|
d: "M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2z"
|
|
678
766
|
})));
|
|
679
767
|
};
|
|
680
|
-
var CloudIcon =
|
|
768
|
+
var CloudIcon = _ref21 => {
|
|
681
769
|
var {
|
|
682
770
|
size = 24,
|
|
683
771
|
color = 'currentColor',
|
|
684
772
|
filled = true,
|
|
685
773
|
strokeWidth = 1
|
|
686
|
-
} =
|
|
687
|
-
props = _objectWithoutPropertiesLoose(
|
|
774
|
+
} = _ref21,
|
|
775
|
+
props = _objectWithoutPropertiesLoose(_ref21, _excluded21);
|
|
688
776
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
689
777
|
size: size,
|
|
690
778
|
color: color
|
|
@@ -696,14 +784,14 @@
|
|
|
696
784
|
d: "M18 10h-1.26A8 8 0 109 20h9a5 5 0 000-10z"
|
|
697
785
|
})));
|
|
698
786
|
};
|
|
699
|
-
var CopyIcon =
|
|
787
|
+
var CopyIcon = _ref22 => {
|
|
700
788
|
var {
|
|
701
789
|
size = 24,
|
|
702
790
|
color = 'currentColor',
|
|
703
791
|
filled = false,
|
|
704
792
|
strokeWidth = 1
|
|
705
|
-
} =
|
|
706
|
-
props = _objectWithoutPropertiesLoose(
|
|
793
|
+
} = _ref22,
|
|
794
|
+
props = _objectWithoutPropertiesLoose(_ref22, _excluded22);
|
|
707
795
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
708
796
|
size: size,
|
|
709
797
|
color: color
|
|
@@ -722,14 +810,14 @@
|
|
|
722
810
|
d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"
|
|
723
811
|
})));
|
|
724
812
|
};
|
|
725
|
-
var DustBinIcon =
|
|
813
|
+
var DustBinIcon = _ref23 => {
|
|
726
814
|
var {
|
|
727
815
|
size = 24,
|
|
728
816
|
color = 'currentColor',
|
|
729
817
|
filled = false,
|
|
730
818
|
strokeWidth = 1
|
|
731
|
-
} =
|
|
732
|
-
props = _objectWithoutPropertiesLoose(
|
|
819
|
+
} = _ref23,
|
|
820
|
+
props = _objectWithoutPropertiesLoose(_ref23, _excluded23);
|
|
733
821
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
734
822
|
size: size,
|
|
735
823
|
color: color
|
|
@@ -741,14 +829,14 @@
|
|
|
741
829
|
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
|
|
742
830
|
})));
|
|
743
831
|
};
|
|
744
|
-
var EditIcon =
|
|
832
|
+
var EditIcon = _ref24 => {
|
|
745
833
|
var {
|
|
746
834
|
size = 24,
|
|
747
835
|
color = 'currentColor',
|
|
748
836
|
filled = false,
|
|
749
837
|
strokeWidth = 1
|
|
750
|
-
} =
|
|
751
|
-
props = _objectWithoutPropertiesLoose(
|
|
838
|
+
} = _ref24,
|
|
839
|
+
props = _objectWithoutPropertiesLoose(_ref24, _excluded24);
|
|
752
840
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
753
841
|
size: size,
|
|
754
842
|
color: color
|
|
@@ -760,14 +848,14 @@
|
|
|
760
848
|
d: "M18.3785 8.44975L8.9636 17.8648C8.6844 18.144 8.3288 18.3343 7.94161 18.4117L4.99988 19.0001L5.58823 16.0583C5.66566 15.6711 5.85597 15.3155 6.13517 15.0363L15.5501 5.62132M18.3785 8.44975L19.7927 7.03553C20.1832 6.64501 20.1832 6.01184 19.7927 5.62132L18.3785 4.20711C17.988 3.81658 17.3548 3.81658 16.9643 4.20711L15.5501 5.62132M18.3785 8.44975L15.5501 5.62132"
|
|
761
849
|
})));
|
|
762
850
|
};
|
|
763
|
-
var ErrorIcon =
|
|
851
|
+
var ErrorIcon = _ref25 => {
|
|
764
852
|
var {
|
|
765
853
|
size = 24,
|
|
766
854
|
color = 'currentColor',
|
|
767
855
|
strokeWidth = 1,
|
|
768
856
|
filled = true
|
|
769
|
-
} =
|
|
770
|
-
props = _objectWithoutPropertiesLoose(
|
|
857
|
+
} = _ref25,
|
|
858
|
+
props = _objectWithoutPropertiesLoose(_ref25, _excluded25);
|
|
771
859
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
772
860
|
size: size,
|
|
773
861
|
color: color
|
|
@@ -793,14 +881,14 @@
|
|
|
793
881
|
stroke: filled ? 'white' : color
|
|
794
882
|
})));
|
|
795
883
|
};
|
|
796
|
-
var DownloadIcon =
|
|
884
|
+
var DownloadIcon = _ref26 => {
|
|
797
885
|
var {
|
|
798
886
|
size = 24,
|
|
799
887
|
color = 'currentColor',
|
|
800
888
|
filled = true,
|
|
801
889
|
strokeWidth = 1
|
|
802
|
-
} =
|
|
803
|
-
props = _objectWithoutPropertiesLoose(
|
|
890
|
+
} = _ref26,
|
|
891
|
+
props = _objectWithoutPropertiesLoose(_ref26, _excluded26);
|
|
804
892
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
805
893
|
size: size,
|
|
806
894
|
color: color
|
|
@@ -812,14 +900,14 @@
|
|
|
812
900
|
d: "M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
|
|
813
901
|
})));
|
|
814
902
|
};
|
|
815
|
-
var MenuIcon =
|
|
903
|
+
var MenuIcon = _ref27 => {
|
|
816
904
|
var {
|
|
817
905
|
size = 24,
|
|
818
906
|
color = 'currentColor',
|
|
819
907
|
strokeWidth = 1,
|
|
820
908
|
filled = false
|
|
821
|
-
} =
|
|
822
|
-
props = _objectWithoutPropertiesLoose(
|
|
909
|
+
} = _ref27,
|
|
910
|
+
props = _objectWithoutPropertiesLoose(_ref27, _excluded27);
|
|
823
911
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
824
912
|
size: size,
|
|
825
913
|
color: color
|
|
@@ -847,14 +935,14 @@
|
|
|
847
935
|
y2: "18"
|
|
848
936
|
})));
|
|
849
937
|
};
|
|
850
|
-
var ShareIcon =
|
|
938
|
+
var ShareIcon = _ref28 => {
|
|
851
939
|
var {
|
|
852
940
|
size = 24,
|
|
853
941
|
color = 'currentColor',
|
|
854
942
|
filled = false,
|
|
855
943
|
strokeWidth = 1
|
|
856
|
-
} =
|
|
857
|
-
props = _objectWithoutPropertiesLoose(
|
|
944
|
+
} = _ref28,
|
|
945
|
+
props = _objectWithoutPropertiesLoose(_ref28, _excluded28);
|
|
858
946
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
859
947
|
size: size,
|
|
860
948
|
color: color
|
|
@@ -888,14 +976,14 @@
|
|
|
888
976
|
y2: "10.49"
|
|
889
977
|
})));
|
|
890
978
|
};
|
|
891
|
-
var RefreshIcon =
|
|
979
|
+
var RefreshIcon = _ref29 => {
|
|
892
980
|
var {
|
|
893
981
|
size = 24,
|
|
894
982
|
color = 'currentColor',
|
|
895
983
|
strokeWidth = 1,
|
|
896
984
|
filled = false
|
|
897
|
-
} =
|
|
898
|
-
props = _objectWithoutPropertiesLoose(
|
|
985
|
+
} = _ref29,
|
|
986
|
+
props = _objectWithoutPropertiesLoose(_ref29, _excluded29);
|
|
899
987
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
900
988
|
size: size,
|
|
901
989
|
color: color
|
|
@@ -909,14 +997,14 @@
|
|
|
909
997
|
d: "M20.49 15a9 9 0 1 1-2.13-9.36L23 10"
|
|
910
998
|
})));
|
|
911
999
|
};
|
|
912
|
-
var PrintIcon =
|
|
1000
|
+
var PrintIcon = _ref30 => {
|
|
913
1001
|
var {
|
|
914
1002
|
size = 24,
|
|
915
1003
|
color = 'currentColor',
|
|
916
1004
|
filled = true,
|
|
917
1005
|
strokeWidth = 1
|
|
918
|
-
} =
|
|
919
|
-
props = _objectWithoutPropertiesLoose(
|
|
1006
|
+
} = _ref30,
|
|
1007
|
+
props = _objectWithoutPropertiesLoose(_ref30, _excluded30);
|
|
920
1008
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
921
1009
|
size: size,
|
|
922
1010
|
color: color
|
|
@@ -929,14 +1017,14 @@
|
|
|
929
1017
|
d: "M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"
|
|
930
1018
|
})));
|
|
931
1019
|
};
|
|
932
|
-
var PanelIcon =
|
|
1020
|
+
var PanelIcon = _ref31 => {
|
|
933
1021
|
var {
|
|
934
1022
|
size = 24,
|
|
935
1023
|
color = 'currentColor',
|
|
936
1024
|
strokeWidth = 1,
|
|
937
1025
|
filled = false
|
|
938
|
-
} =
|
|
939
|
-
props = _objectWithoutPropertiesLoose(
|
|
1026
|
+
} = _ref31,
|
|
1027
|
+
props = _objectWithoutPropertiesLoose(_ref31, _excluded31);
|
|
940
1028
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
941
1029
|
size: size,
|
|
942
1030
|
color: color
|
|
@@ -1000,14 +1088,14 @@
|
|
|
1000
1088
|
y2: "16"
|
|
1001
1089
|
})));
|
|
1002
1090
|
};
|
|
1003
|
-
var FilterIcon =
|
|
1091
|
+
var FilterIcon = _ref32 => {
|
|
1004
1092
|
var {
|
|
1005
1093
|
size = 24,
|
|
1006
1094
|
color = 'currentColor',
|
|
1007
1095
|
filled = false,
|
|
1008
1096
|
strokeWidth = 1
|
|
1009
|
-
} =
|
|
1010
|
-
props = _objectWithoutPropertiesLoose(
|
|
1097
|
+
} = _ref32,
|
|
1098
|
+
props = _objectWithoutPropertiesLoose(_ref32, _excluded32);
|
|
1011
1099
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1012
1100
|
size: size,
|
|
1013
1101
|
color: color
|
|
@@ -1019,14 +1107,14 @@
|
|
|
1019
1107
|
d: "M3 4h18l-7 10v5l-4 2v-7L3 4z"
|
|
1020
1108
|
})));
|
|
1021
1109
|
};
|
|
1022
|
-
var HomeIcon =
|
|
1110
|
+
var HomeIcon = _ref33 => {
|
|
1023
1111
|
var {
|
|
1024
1112
|
size = 24,
|
|
1025
1113
|
color = 'currentColor',
|
|
1026
1114
|
filled = true,
|
|
1027
1115
|
strokeWidth = 1
|
|
1028
|
-
} =
|
|
1029
|
-
props = _objectWithoutPropertiesLoose(
|
|
1116
|
+
} = _ref33,
|
|
1117
|
+
props = _objectWithoutPropertiesLoose(_ref33, _excluded33);
|
|
1030
1118
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1031
1119
|
size: size,
|
|
1032
1120
|
color: color
|
|
@@ -1038,14 +1126,14 @@
|
|
|
1038
1126
|
d: "M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z"
|
|
1039
1127
|
})));
|
|
1040
1128
|
};
|
|
1041
|
-
var LocationIcon =
|
|
1129
|
+
var LocationIcon = _ref34 => {
|
|
1042
1130
|
var {
|
|
1043
1131
|
size = 24,
|
|
1044
1132
|
color = 'currentColor',
|
|
1045
1133
|
filled = true,
|
|
1046
1134
|
strokeWidth = 1
|
|
1047
|
-
} =
|
|
1048
|
-
props = _objectWithoutPropertiesLoose(
|
|
1135
|
+
} = _ref34,
|
|
1136
|
+
props = _objectWithoutPropertiesLoose(_ref34, _excluded34);
|
|
1049
1137
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1050
1138
|
size: size,
|
|
1051
1139
|
color: color
|
|
@@ -1057,14 +1145,14 @@
|
|
|
1057
1145
|
d: "M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"
|
|
1058
1146
|
})));
|
|
1059
1147
|
};
|
|
1060
|
-
var LockIcon =
|
|
1148
|
+
var LockIcon = _ref35 => {
|
|
1061
1149
|
var {
|
|
1062
1150
|
size = 24,
|
|
1063
1151
|
color = 'currentColor',
|
|
1064
1152
|
filled = false,
|
|
1065
1153
|
strokeWidth = 1
|
|
1066
|
-
} =
|
|
1067
|
-
props = _objectWithoutPropertiesLoose(
|
|
1154
|
+
} = _ref35,
|
|
1155
|
+
props = _objectWithoutPropertiesLoose(_ref35, _excluded35);
|
|
1068
1156
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1069
1157
|
size: size,
|
|
1070
1158
|
color: color
|
|
@@ -1083,14 +1171,14 @@
|
|
|
1083
1171
|
d: "M7 11V7a5 5 0 0 1 10 0v4"
|
|
1084
1172
|
})));
|
|
1085
1173
|
};
|
|
1086
|
-
var MicrophoneIcon =
|
|
1174
|
+
var MicrophoneIcon = _ref36 => {
|
|
1087
1175
|
var {
|
|
1088
1176
|
size = 24,
|
|
1089
1177
|
color = 'currentColor',
|
|
1090
1178
|
filled = false,
|
|
1091
1179
|
strokeWidth = 1
|
|
1092
|
-
} =
|
|
1093
|
-
props = _objectWithoutPropertiesLoose(
|
|
1180
|
+
} = _ref36,
|
|
1181
|
+
props = _objectWithoutPropertiesLoose(_ref36, _excluded36);
|
|
1094
1182
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1095
1183
|
size: size,
|
|
1096
1184
|
color: color
|
|
@@ -1116,14 +1204,14 @@
|
|
|
1116
1204
|
y2: "23"
|
|
1117
1205
|
})));
|
|
1118
1206
|
};
|
|
1119
|
-
var MoonIcon =
|
|
1207
|
+
var MoonIcon = _ref37 => {
|
|
1120
1208
|
var {
|
|
1121
1209
|
size = 24,
|
|
1122
1210
|
color = 'currentColor',
|
|
1123
1211
|
filled = true,
|
|
1124
1212
|
strokeWidth = 1
|
|
1125
|
-
} =
|
|
1126
|
-
props = _objectWithoutPropertiesLoose(
|
|
1213
|
+
} = _ref37,
|
|
1214
|
+
props = _objectWithoutPropertiesLoose(_ref37, _excluded37);
|
|
1127
1215
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1128
1216
|
size: size,
|
|
1129
1217
|
color: color
|
|
@@ -1135,14 +1223,14 @@
|
|
|
1135
1223
|
d: "M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"
|
|
1136
1224
|
})));
|
|
1137
1225
|
};
|
|
1138
|
-
var NotificationIcon =
|
|
1226
|
+
var NotificationIcon = _ref38 => {
|
|
1139
1227
|
var {
|
|
1140
1228
|
size = 24,
|
|
1141
1229
|
color = 'currentColor',
|
|
1142
1230
|
filled = false,
|
|
1143
1231
|
strokeWidth = 1
|
|
1144
|
-
} =
|
|
1145
|
-
props = _objectWithoutPropertiesLoose(
|
|
1232
|
+
} = _ref38,
|
|
1233
|
+
props = _objectWithoutPropertiesLoose(_ref38, _excluded38);
|
|
1146
1234
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1147
1235
|
size: size,
|
|
1148
1236
|
color: color
|
|
@@ -1156,14 +1244,14 @@
|
|
|
1156
1244
|
d: "M13.73 21a2 2 0 0 1-3.46 0"
|
|
1157
1245
|
})));
|
|
1158
1246
|
};
|
|
1159
|
-
var OpenEyeIcon =
|
|
1247
|
+
var OpenEyeIcon = _ref39 => {
|
|
1160
1248
|
var {
|
|
1161
1249
|
size = 24,
|
|
1162
1250
|
color = 'currentColor',
|
|
1163
1251
|
filled = true,
|
|
1164
1252
|
strokeWidth = 1
|
|
1165
|
-
} =
|
|
1166
|
-
props = _objectWithoutPropertiesLoose(
|
|
1253
|
+
} = _ref39,
|
|
1254
|
+
props = _objectWithoutPropertiesLoose(_ref39, _excluded39);
|
|
1167
1255
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1168
1256
|
size: size,
|
|
1169
1257
|
color: color
|
|
@@ -1175,14 +1263,14 @@
|
|
|
1175
1263
|
d: "M12 4C7 4 2.73 7.11 1 12c1.73 4.89 6 8 11 8s9.27-3.11 11-8c-1.73-4.89-6-8-11-8zm0 12.5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"
|
|
1176
1264
|
})));
|
|
1177
1265
|
};
|
|
1178
|
-
var ProfileIcon =
|
|
1266
|
+
var ProfileIcon = _ref40 => {
|
|
1179
1267
|
var {
|
|
1180
1268
|
size = 24,
|
|
1181
1269
|
color = 'currentColor',
|
|
1182
1270
|
filled = true,
|
|
1183
1271
|
strokeWidth = 1
|
|
1184
|
-
} =
|
|
1185
|
-
props = _objectWithoutPropertiesLoose(
|
|
1272
|
+
} = _ref40,
|
|
1273
|
+
props = _objectWithoutPropertiesLoose(_ref40, _excluded40);
|
|
1186
1274
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1187
1275
|
size: size,
|
|
1188
1276
|
color: color
|
|
@@ -1195,14 +1283,14 @@
|
|
|
1195
1283
|
d: "M12 13c-2.67 0-8 1.34-8 4v2c0 .55.45 1 1 1h14c.55 0 1-.45 1-1v-2c0-2.66-5.33-4-8-4zm0-9c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z M12 2C9.79 2 8 3.79 8 6s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z M12 13c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"
|
|
1196
1284
|
}), ' '));
|
|
1197
1285
|
};
|
|
1198
|
-
var SettingsIcon =
|
|
1286
|
+
var SettingsIcon = _ref41 => {
|
|
1199
1287
|
var {
|
|
1200
1288
|
size = 24,
|
|
1201
1289
|
color = 'currentColor',
|
|
1202
1290
|
filled = false,
|
|
1203
1291
|
strokeWidth = 1
|
|
1204
|
-
} =
|
|
1205
|
-
props = _objectWithoutPropertiesLoose(
|
|
1292
|
+
} = _ref41,
|
|
1293
|
+
props = _objectWithoutPropertiesLoose(_ref41, _excluded41);
|
|
1206
1294
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1207
1295
|
size: size,
|
|
1208
1296
|
color: color
|
|
@@ -1214,14 +1302,14 @@
|
|
|
1214
1302
|
d: "M19.4 13c0-.3.1-.6.1-1s0-.7-.1-1l2.1-1.6c.2-.2.2-.4.1-.6l-2-3.5c-.1-.2-.4-.3-.6-.2l-2.5 1c-.5-.4-1.1-.7-1.7-.9l-.4-2.6c0-.2-.3-.4-.5-.4h-4c-.2 0-.5.2-.5.4l-.4 2.6c-.6.2-1.2.5-1.7.9l-2.5-1c-.2-.1-.5 0-.6.2l-2 3.5c-.1.2-.1.4.1.6L4.6 11c0 .3-.1.6-.1 1s0 .7.1 1l-2.1 1.6c-.2.2-.2.4-.1.6l2 3.5c.1.2.4.3.6.2l2.5-1c.5.4 1.1.7 1.7.9l.4 2.6c0 .2.3.4.5.4h4c.2 0 .5-.2.5-.4l.4-2.6c.6-.2 1.2-.5 1.7-.9l2.5 1c.2.1.5 0 .6-.2l2-3.5c.1-.2.1-.4-.1-.6L19.4 13zM12 15.5c-1.9 0-3.5-1.6-3.5-3.5s1.6-3.5 3.5-3.5 3.5 1.6 3.5 3.5-1.6 3.5-3.5 3.5z"
|
|
1215
1303
|
})));
|
|
1216
1304
|
};
|
|
1217
|
-
var SuccessIcon =
|
|
1305
|
+
var SuccessIcon = _ref42 => {
|
|
1218
1306
|
var {
|
|
1219
1307
|
size = 24,
|
|
1220
1308
|
color = 'currentColor',
|
|
1221
1309
|
filled = true,
|
|
1222
1310
|
strokeWidth = 1
|
|
1223
|
-
} =
|
|
1224
|
-
props = _objectWithoutPropertiesLoose(
|
|
1311
|
+
} = _ref42,
|
|
1312
|
+
props = _objectWithoutPropertiesLoose(_ref42, _excluded42);
|
|
1225
1313
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1226
1314
|
size: size,
|
|
1227
1315
|
color: color
|
|
@@ -1233,14 +1321,14 @@
|
|
|
1233
1321
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
|
|
1234
1322
|
})));
|
|
1235
1323
|
};
|
|
1236
|
-
var UnLikeIcon =
|
|
1324
|
+
var UnLikeIcon = _ref43 => {
|
|
1237
1325
|
var {
|
|
1238
1326
|
size = 24,
|
|
1239
1327
|
color = 'currentColor',
|
|
1240
1328
|
filled = true,
|
|
1241
1329
|
strokeWidth = 1
|
|
1242
|
-
} =
|
|
1243
|
-
props = _objectWithoutPropertiesLoose(
|
|
1330
|
+
} = _ref43,
|
|
1331
|
+
props = _objectWithoutPropertiesLoose(_ref43, _excluded43);
|
|
1244
1332
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1245
1333
|
size: size,
|
|
1246
1334
|
color: color
|
|
@@ -1252,14 +1340,14 @@
|
|
|
1252
1340
|
d: "M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z"
|
|
1253
1341
|
})));
|
|
1254
1342
|
};
|
|
1255
|
-
var ClockIcon =
|
|
1343
|
+
var ClockIcon = _ref44 => {
|
|
1256
1344
|
var {
|
|
1257
1345
|
size = 24,
|
|
1258
1346
|
color = 'currentColor',
|
|
1259
1347
|
strokeWidth = 1,
|
|
1260
1348
|
filled = false
|
|
1261
|
-
} =
|
|
1262
|
-
props = _objectWithoutPropertiesLoose(
|
|
1349
|
+
} = _ref44,
|
|
1350
|
+
props = _objectWithoutPropertiesLoose(_ref44, _excluded44);
|
|
1263
1351
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1264
1352
|
size: size,
|
|
1265
1353
|
color: color
|
|
@@ -1275,14 +1363,14 @@
|
|
|
1275
1363
|
points: "12 6 12 12 16 14"
|
|
1276
1364
|
})));
|
|
1277
1365
|
};
|
|
1278
|
-
var CameraIcon =
|
|
1366
|
+
var CameraIcon = _ref45 => {
|
|
1279
1367
|
var {
|
|
1280
1368
|
size = 24,
|
|
1281
1369
|
color = 'currentColor',
|
|
1282
1370
|
strokeWidth = 1,
|
|
1283
1371
|
filled = false
|
|
1284
|
-
} =
|
|
1285
|
-
props = _objectWithoutPropertiesLoose(
|
|
1372
|
+
} = _ref45,
|
|
1373
|
+
props = _objectWithoutPropertiesLoose(_ref45, _excluded45);
|
|
1286
1374
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1287
1375
|
size: size,
|
|
1288
1376
|
color: color
|
|
@@ -1298,14 +1386,14 @@
|
|
|
1298
1386
|
r: "4"
|
|
1299
1387
|
})));
|
|
1300
1388
|
};
|
|
1301
|
-
var BluetoothIcon =
|
|
1389
|
+
var BluetoothIcon = _ref46 => {
|
|
1302
1390
|
var {
|
|
1303
1391
|
size = 24,
|
|
1304
1392
|
color = 'currentColor',
|
|
1305
1393
|
filled = true,
|
|
1306
1394
|
strokeWidth = 1
|
|
1307
|
-
} =
|
|
1308
|
-
props = _objectWithoutPropertiesLoose(
|
|
1395
|
+
} = _ref46,
|
|
1396
|
+
props = _objectWithoutPropertiesLoose(_ref46, _excluded46);
|
|
1309
1397
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1310
1398
|
size: size,
|
|
1311
1399
|
color: color
|
|
@@ -1317,14 +1405,14 @@
|
|
|
1317
1405
|
d: "M17.71 7.71L12 2h-1v7.59L6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 11 14.41V22h1l5.71-5.71-4.3-4.29 4.3-4.29zM13 5.83l1.88 1.88L13 9.59V5.83zm1.88 10.46L13 18.17v-3.76l1.88 1.88z"
|
|
1318
1406
|
})));
|
|
1319
1407
|
};
|
|
1320
|
-
var LikeIcon =
|
|
1408
|
+
var LikeIcon = _ref47 => {
|
|
1321
1409
|
var {
|
|
1322
1410
|
size = 24,
|
|
1323
1411
|
color = 'currentColor',
|
|
1324
1412
|
filled = true,
|
|
1325
1413
|
strokeWidth = 1
|
|
1326
|
-
} =
|
|
1327
|
-
props = _objectWithoutPropertiesLoose(
|
|
1414
|
+
} = _ref47,
|
|
1415
|
+
props = _objectWithoutPropertiesLoose(_ref47, _excluded47);
|
|
1328
1416
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1329
1417
|
size: size,
|
|
1330
1418
|
color: color
|
|
@@ -1336,14 +1424,14 @@
|
|
|
1336
1424
|
d: "M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-2z"
|
|
1337
1425
|
})));
|
|
1338
1426
|
};
|
|
1339
|
-
var UnlockIcon =
|
|
1427
|
+
var UnlockIcon = _ref48 => {
|
|
1340
1428
|
var {
|
|
1341
1429
|
size = 24,
|
|
1342
1430
|
color = 'currentColor',
|
|
1343
1431
|
filled = false,
|
|
1344
1432
|
strokeWidth = 1
|
|
1345
|
-
} =
|
|
1346
|
-
props = _objectWithoutPropertiesLoose(
|
|
1433
|
+
} = _ref48,
|
|
1434
|
+
props = _objectWithoutPropertiesLoose(_ref48, _excluded48);
|
|
1347
1435
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1348
1436
|
size: size,
|
|
1349
1437
|
color: color
|
|
@@ -1362,14 +1450,14 @@
|
|
|
1362
1450
|
d: "M7 11V7a5 5 0 0 1 9.9-1"
|
|
1363
1451
|
})));
|
|
1364
1452
|
};
|
|
1365
|
-
var WifiIcon =
|
|
1453
|
+
var WifiIcon = _ref49 => {
|
|
1366
1454
|
var {
|
|
1367
1455
|
size = 24,
|
|
1368
1456
|
color = 'currentColor',
|
|
1369
1457
|
filled = false,
|
|
1370
1458
|
strokeWidth = 1
|
|
1371
|
-
} =
|
|
1372
|
-
props = _objectWithoutPropertiesLoose(
|
|
1459
|
+
} = _ref49,
|
|
1460
|
+
props = _objectWithoutPropertiesLoose(_ref49, _excluded49);
|
|
1373
1461
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1374
1462
|
size: size,
|
|
1375
1463
|
color: color
|
|
@@ -1381,14 +1469,14 @@
|
|
|
1381
1469
|
d: "M1 9l2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9zm8 8l3 3 3-3c-1.65-1.66-4.34-1.66-6 0zm-4-4l2 2c2.76-2.76 7.24-2.76 10 0l2-2C15.14 9.14 8.87 9.14 5 13z"
|
|
1382
1470
|
})));
|
|
1383
1471
|
};
|
|
1384
|
-
var UploadIcon =
|
|
1472
|
+
var UploadIcon = _ref50 => {
|
|
1385
1473
|
var {
|
|
1386
1474
|
size = 24,
|
|
1387
1475
|
color = 'currentColor',
|
|
1388
1476
|
filled = false,
|
|
1389
1477
|
strokeWidth = 1
|
|
1390
|
-
} =
|
|
1391
|
-
props = _objectWithoutPropertiesLoose(
|
|
1478
|
+
} = _ref50,
|
|
1479
|
+
props = _objectWithoutPropertiesLoose(_ref50, _excluded50);
|
|
1392
1480
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1393
1481
|
size: size,
|
|
1394
1482
|
color: color
|
|
@@ -1404,14 +1492,14 @@
|
|
|
1404
1492
|
d: "M12 12l0 9"
|
|
1405
1493
|
})));
|
|
1406
1494
|
};
|
|
1407
|
-
var SearchIcon =
|
|
1495
|
+
var SearchIcon = _ref51 => {
|
|
1408
1496
|
var {
|
|
1409
1497
|
size = 24,
|
|
1410
1498
|
color = 'currentColor',
|
|
1411
1499
|
filled = true,
|
|
1412
1500
|
strokeWidth = 1
|
|
1413
|
-
} =
|
|
1414
|
-
props = _objectWithoutPropertiesLoose(
|
|
1501
|
+
} = _ref51,
|
|
1502
|
+
props = _objectWithoutPropertiesLoose(_ref51, _excluded51);
|
|
1415
1503
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1416
1504
|
size: size,
|
|
1417
1505
|
color: color
|
|
@@ -1423,14 +1511,14 @@
|
|
|
1423
1511
|
d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"
|
|
1424
1512
|
})));
|
|
1425
1513
|
};
|
|
1426
|
-
var CloseEyeIcon =
|
|
1514
|
+
var CloseEyeIcon = _ref52 => {
|
|
1427
1515
|
var {
|
|
1428
1516
|
size = 24,
|
|
1429
1517
|
color = 'currentColor',
|
|
1430
1518
|
filled = true,
|
|
1431
1519
|
strokeWidth = 1
|
|
1432
|
-
} =
|
|
1433
|
-
props = _objectWithoutPropertiesLoose(
|
|
1520
|
+
} = _ref52,
|
|
1521
|
+
props = _objectWithoutPropertiesLoose(_ref52, _excluded52);
|
|
1434
1522
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1435
1523
|
size: size,
|
|
1436
1524
|
color: color
|
|
@@ -1443,14 +1531,14 @@
|
|
|
1443
1531
|
fill: "currentColor"
|
|
1444
1532
|
})));
|
|
1445
1533
|
};
|
|
1446
|
-
var ExternalLinkIcon =
|
|
1534
|
+
var ExternalLinkIcon = _ref53 => {
|
|
1447
1535
|
var {
|
|
1448
1536
|
size = 24,
|
|
1449
1537
|
color = 'currentColor',
|
|
1450
1538
|
filled = true,
|
|
1451
1539
|
strokeWidth = 1
|
|
1452
|
-
} =
|
|
1453
|
-
props = _objectWithoutPropertiesLoose(
|
|
1540
|
+
} = _ref53,
|
|
1541
|
+
props = _objectWithoutPropertiesLoose(_ref53, _excluded53);
|
|
1454
1542
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1455
1543
|
size: size,
|
|
1456
1544
|
color: color
|
|
@@ -1462,14 +1550,14 @@
|
|
|
1462
1550
|
d: "M14 3h7v7h-2V5.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3ZM5 5h5v2H6v11h11v-4h2v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z"
|
|
1463
1551
|
})));
|
|
1464
1552
|
};
|
|
1465
|
-
var PlusIcon =
|
|
1553
|
+
var PlusIcon = _ref54 => {
|
|
1466
1554
|
var {
|
|
1467
1555
|
size = 24,
|
|
1468
1556
|
color = 'currentColor',
|
|
1469
1557
|
filled = false,
|
|
1470
1558
|
strokeWidth = 1
|
|
1471
|
-
} =
|
|
1472
|
-
props = _objectWithoutPropertiesLoose(
|
|
1559
|
+
} = _ref54,
|
|
1560
|
+
props = _objectWithoutPropertiesLoose(_ref54, _excluded54);
|
|
1473
1561
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1474
1562
|
size: size,
|
|
1475
1563
|
color: color
|
|
@@ -1491,14 +1579,14 @@
|
|
|
1491
1579
|
y2: "12"
|
|
1492
1580
|
})));
|
|
1493
1581
|
};
|
|
1494
|
-
var TickIcon =
|
|
1582
|
+
var TickIcon = _ref55 => {
|
|
1495
1583
|
var {
|
|
1496
1584
|
size = 24,
|
|
1497
1585
|
color = 'currentColor',
|
|
1498
1586
|
filled = false,
|
|
1499
1587
|
strokeWidth = 1
|
|
1500
|
-
} =
|
|
1501
|
-
props = _objectWithoutPropertiesLoose(
|
|
1588
|
+
} = _ref55,
|
|
1589
|
+
props = _objectWithoutPropertiesLoose(_ref55, _excluded55);
|
|
1502
1590
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1503
1591
|
size: size,
|
|
1504
1592
|
color: color
|
|
@@ -1512,14 +1600,14 @@
|
|
|
1512
1600
|
strokeLinejoin: "round"
|
|
1513
1601
|
})));
|
|
1514
1602
|
};
|
|
1515
|
-
var BoldArrowIcon =
|
|
1603
|
+
var BoldArrowIcon = _ref56 => {
|
|
1516
1604
|
var {
|
|
1517
1605
|
size = 24,
|
|
1518
1606
|
color = 'currentColor',
|
|
1519
1607
|
filled = true,
|
|
1520
1608
|
strokeWidth = 1
|
|
1521
|
-
} =
|
|
1522
|
-
props = _objectWithoutPropertiesLoose(
|
|
1609
|
+
} = _ref56,
|
|
1610
|
+
props = _objectWithoutPropertiesLoose(_ref56, _excluded56);
|
|
1523
1611
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1524
1612
|
size: size,
|
|
1525
1613
|
color: color
|
|
@@ -1531,14 +1619,14 @@
|
|
|
1531
1619
|
d: "M12 4l7 7h-4v7h-6v-7H5l7-7z"
|
|
1532
1620
|
})));
|
|
1533
1621
|
};
|
|
1534
|
-
var ArrowIcon =
|
|
1622
|
+
var ArrowIcon = _ref57 => {
|
|
1535
1623
|
var {
|
|
1536
1624
|
size = 24,
|
|
1537
1625
|
color = 'currentColor',
|
|
1538
1626
|
filled = false,
|
|
1539
1627
|
strokeWidth = 1
|
|
1540
|
-
} =
|
|
1541
|
-
props = _objectWithoutPropertiesLoose(
|
|
1628
|
+
} = _ref57,
|
|
1629
|
+
props = _objectWithoutPropertiesLoose(_ref57, _excluded57);
|
|
1542
1630
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1543
1631
|
size: size,
|
|
1544
1632
|
color: color
|
|
@@ -1556,14 +1644,14 @@
|
|
|
1556
1644
|
points: "6 12 12 6 18 12"
|
|
1557
1645
|
})));
|
|
1558
1646
|
};
|
|
1559
|
-
var SpinnerIcon =
|
|
1647
|
+
var SpinnerIcon = _ref58 => {
|
|
1560
1648
|
var {
|
|
1561
1649
|
size = 24,
|
|
1562
1650
|
color = 'currentColor',
|
|
1563
1651
|
filled = false,
|
|
1564
1652
|
strokeWidth = 1
|
|
1565
|
-
} =
|
|
1566
|
-
props = _objectWithoutPropertiesLoose(
|
|
1653
|
+
} = _ref58,
|
|
1654
|
+
props = _objectWithoutPropertiesLoose(_ref58, _excluded58);
|
|
1567
1655
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1568
1656
|
size: size,
|
|
1569
1657
|
color: color
|
|
@@ -1581,14 +1669,14 @@
|
|
|
1581
1669
|
strokeOpacity: "1"
|
|
1582
1670
|
})));
|
|
1583
1671
|
};
|
|
1584
|
-
var CalendarIcon =
|
|
1672
|
+
var CalendarIcon = _ref59 => {
|
|
1585
1673
|
var {
|
|
1586
1674
|
size = 24,
|
|
1587
1675
|
color = 'currentColor',
|
|
1588
1676
|
strokeWidth = 1,
|
|
1589
1677
|
filled = false
|
|
1590
|
-
} =
|
|
1591
|
-
props = _objectWithoutPropertiesLoose(
|
|
1678
|
+
} = _ref59,
|
|
1679
|
+
props = _objectWithoutPropertiesLoose(_ref59, _excluded59);
|
|
1592
1680
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1593
1681
|
size: size,
|
|
1594
1682
|
color: color
|
|
@@ -1627,6 +1715,9 @@
|
|
|
1627
1715
|
var Icon = {
|
|
1628
1716
|
__proto__: null,
|
|
1629
1717
|
ChevronIcon: ChevronIcon,
|
|
1718
|
+
DragHandleIcon: DragHandleIcon,
|
|
1719
|
+
TwitterIcon: TwitterIcon,
|
|
1720
|
+
XIcon: XIcon,
|
|
1630
1721
|
TwitchIcon: TwitchIcon,
|
|
1631
1722
|
CloseIcon: CloseIcon,
|
|
1632
1723
|
InstagramIcon: InstagramIcon,
|
|
@@ -7423,6 +7514,135 @@
|
|
|
7423
7514
|
// Expose the ToggleGroupComponent for import into other modules
|
|
7424
7515
|
var ToggleGroup = ToggleGroupComponent;
|
|
7425
7516
|
|
|
7517
|
+
var useDragAndDropState = _ref => {
|
|
7518
|
+
var {
|
|
7519
|
+
items: initialItems,
|
|
7520
|
+
onChange
|
|
7521
|
+
} = _ref;
|
|
7522
|
+
var [items, setItems] = React.useState(initialItems);
|
|
7523
|
+
var [draggedItem, setDraggedItem] = React.useState(null);
|
|
7524
|
+
var [draggedIndex, setDraggedIndex] = React.useState(null);
|
|
7525
|
+
var dragStartPosRef = React.useRef({
|
|
7526
|
+
x: 0,
|
|
7527
|
+
y: 0
|
|
7528
|
+
});
|
|
7529
|
+
var itemRefs = React.useRef([]);
|
|
7530
|
+
var handleDragStart = React.useCallback((e, index) => {
|
|
7531
|
+
e.preventDefault();
|
|
7532
|
+
document.body.style.cursor = 'grabbing';
|
|
7533
|
+
var clientX = 'touches' in e ? e.touches[0].clientX : e.clientX;
|
|
7534
|
+
var clientY = 'touches' in e ? e.touches[0].clientY : e.clientY;
|
|
7535
|
+
dragStartPosRef.current = {
|
|
7536
|
+
x: clientX,
|
|
7537
|
+
y: clientY
|
|
7538
|
+
};
|
|
7539
|
+
setDraggedIndex(index);
|
|
7540
|
+
setDraggedItem(items[index]);
|
|
7541
|
+
}, [items]);
|
|
7542
|
+
var handleDragMove = React.useCallback(e => {
|
|
7543
|
+
if (draggedIndex === null) return;
|
|
7544
|
+
var clientX = 'touches' in e ? e.touches[0].clientX : e.clientX;
|
|
7545
|
+
var clientY = 'touches' in e ? e.touches[0].clientY : e.clientY;
|
|
7546
|
+
var draggedElement = itemRefs.current[draggedIndex];
|
|
7547
|
+
if (!draggedElement) return;
|
|
7548
|
+
var offsetX = clientX - dragStartPosRef.current.x;
|
|
7549
|
+
var offsetY = clientY - dragStartPosRef.current.y;
|
|
7550
|
+
draggedElement.style.transform = "translate(" + offsetX + "px, " + offsetY + "px)";
|
|
7551
|
+
draggedElement.style.zIndex = '1000';
|
|
7552
|
+
// Find the item being hovered over
|
|
7553
|
+
var hoveredIndex = itemRefs.current.findIndex((itemRef, index) => {
|
|
7554
|
+
if (!itemRef || index === draggedIndex) return false;
|
|
7555
|
+
var rect = itemRef.getBoundingClientRect();
|
|
7556
|
+
return clientY >= rect.top && clientY <= rect.bottom;
|
|
7557
|
+
});
|
|
7558
|
+
if (hoveredIndex !== -1 && hoveredIndex !== draggedIndex) {
|
|
7559
|
+
var newItems = [...items];
|
|
7560
|
+
var [removed] = newItems.splice(draggedIndex, 1);
|
|
7561
|
+
newItems.splice(hoveredIndex, 0, removed);
|
|
7562
|
+
setItems(newItems);
|
|
7563
|
+
setDraggedIndex(hoveredIndex);
|
|
7564
|
+
onChange == null || onChange(newItems);
|
|
7565
|
+
dragStartPosRef.current = {
|
|
7566
|
+
x: clientX,
|
|
7567
|
+
y: clientY
|
|
7568
|
+
};
|
|
7569
|
+
}
|
|
7570
|
+
}, [draggedIndex, items, onChange]);
|
|
7571
|
+
var handleDragEnd = React.useCallback(() => {
|
|
7572
|
+
document.body.style.cursor = '';
|
|
7573
|
+
itemRefs.current.forEach(el => {
|
|
7574
|
+
if (el) {
|
|
7575
|
+
el.style.transform = '';
|
|
7576
|
+
el.style.zIndex = '';
|
|
7577
|
+
}
|
|
7578
|
+
});
|
|
7579
|
+
setDraggedIndex(null);
|
|
7580
|
+
setDraggedItem(null);
|
|
7581
|
+
}, [draggedIndex]);
|
|
7582
|
+
React.useEffect(() => {
|
|
7583
|
+
if (draggedIndex !== null) {
|
|
7584
|
+
window.addEventListener('mousemove', handleDragMove);
|
|
7585
|
+
window.addEventListener('touchmove', handleDragMove);
|
|
7586
|
+
window.addEventListener('mouseup', handleDragEnd);
|
|
7587
|
+
window.addEventListener('touchend', handleDragEnd);
|
|
7588
|
+
}
|
|
7589
|
+
return () => {
|
|
7590
|
+
window.removeEventListener('mousemove', handleDragMove);
|
|
7591
|
+
window.removeEventListener('touchmove', handleDragMove);
|
|
7592
|
+
window.removeEventListener('mouseup', handleDragEnd);
|
|
7593
|
+
window.removeEventListener('touchend', handleDragEnd);
|
|
7594
|
+
};
|
|
7595
|
+
}, [draggedIndex, handleDragMove, handleDragEnd]);
|
|
7596
|
+
return {
|
|
7597
|
+
items,
|
|
7598
|
+
draggedItem,
|
|
7599
|
+
draggedIndex,
|
|
7600
|
+
itemRefs,
|
|
7601
|
+
handleDragStart
|
|
7602
|
+
};
|
|
7603
|
+
};
|
|
7604
|
+
|
|
7605
|
+
var DragAndDropView = _ref => {
|
|
7606
|
+
var {
|
|
7607
|
+
items,
|
|
7608
|
+
renderItem,
|
|
7609
|
+
containerProps,
|
|
7610
|
+
itemProps,
|
|
7611
|
+
draggedIndex,
|
|
7612
|
+
itemRefs,
|
|
7613
|
+
handleDragStart
|
|
7614
|
+
} = _ref;
|
|
7615
|
+
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
7616
|
+
overflow: "hidden",
|
|
7617
|
+
position: "relative"
|
|
7618
|
+
}, containerProps), items.map((item, index) => (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
7619
|
+
key: index,
|
|
7620
|
+
ref: el => itemRefs.current[index] = el,
|
|
7621
|
+
onMouseDown: e => handleDragStart(e, index),
|
|
7622
|
+
onTouchStart: e => handleDragStart(e, index),
|
|
7623
|
+
position: "relative",
|
|
7624
|
+
cursor: "grab",
|
|
7625
|
+
transition: "transform 0.2s",
|
|
7626
|
+
backgroundColor: draggedIndex === index ? 'color.gray.100' : 'transparent'
|
|
7627
|
+
}, itemProps), renderItem ? renderItem(item, index) : item))));
|
|
7628
|
+
};
|
|
7629
|
+
|
|
7630
|
+
var DragAndDropComponent = props => {
|
|
7631
|
+
var {
|
|
7632
|
+
items,
|
|
7633
|
+
draggedIndex,
|
|
7634
|
+
itemRefs,
|
|
7635
|
+
handleDragStart
|
|
7636
|
+
} = useDragAndDropState(props);
|
|
7637
|
+
return /*#__PURE__*/React__default.createElement(DragAndDropView, Object.assign({}, props, {
|
|
7638
|
+
items: items,
|
|
7639
|
+
draggedIndex: draggedIndex,
|
|
7640
|
+
itemRefs: itemRefs,
|
|
7641
|
+
handleDragStart: handleDragStart
|
|
7642
|
+
}));
|
|
7643
|
+
};
|
|
7644
|
+
var DragAndDrop = DragAndDropComponent;
|
|
7645
|
+
|
|
7426
7646
|
exports.Alert = Alert;
|
|
7427
7647
|
exports.ArrowIcon = ArrowIcon;
|
|
7428
7648
|
exports.AspectRatio = AspectRatio;
|
|
@@ -7449,6 +7669,9 @@
|
|
|
7449
7669
|
exports.CountryPicker = CountryPicker;
|
|
7450
7670
|
exports.DatePicker = DatePicker;
|
|
7451
7671
|
exports.DownloadIcon = DownloadIcon;
|
|
7672
|
+
exports.DragAndDrop = DragAndDrop;
|
|
7673
|
+
exports.DragAndDropComponent = DragAndDropComponent;
|
|
7674
|
+
exports.DragHandleIcon = DragHandleIcon;
|
|
7452
7675
|
exports.DustBinIcon = DustBinIcon;
|
|
7453
7676
|
exports.EditIcon = EditIcon;
|
|
7454
7677
|
exports.ErrorIcon = ErrorIcon;
|
|
@@ -7518,6 +7741,7 @@
|
|
|
7518
7741
|
exports.ToggleGroup = ToggleGroup;
|
|
7519
7742
|
exports.Top = Top;
|
|
7520
7743
|
exports.TwitchIcon = TwitchIcon;
|
|
7744
|
+
exports.TwitterIcon = TwitterIcon;
|
|
7521
7745
|
exports.UnLikeIcon = UnLikeIcon;
|
|
7522
7746
|
exports.UnlockIcon = UnlockIcon;
|
|
7523
7747
|
exports.UploadIcon = UploadIcon;
|
|
@@ -7526,6 +7750,7 @@
|
|
|
7526
7750
|
exports.View = View;
|
|
7527
7751
|
exports.WarningIcon = WarningIcon;
|
|
7528
7752
|
exports.WifiIcon = WifiIcon;
|
|
7753
|
+
exports.XIcon = XIcon;
|
|
7529
7754
|
exports.YoutubeIcon = YoutubeIcon;
|
|
7530
7755
|
exports.hideMessage = hideMessage;
|
|
7531
7756
|
exports.hideModal = hideModal;
|