@app-studio/web 0.8.59 → 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 +1 -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 +352 -177
- 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 +350 -178
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +352 -177
- 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
package/dist/web.esm.js
CHANGED
|
@@ -239,14 +239,14 @@ var _excluded$4 = ["size", "color", "transform", "orientation", "children"],
|
|
|
239
239
|
_excluded21 = ["size", "color", "filled", "strokeWidth"],
|
|
240
240
|
_excluded22 = ["size", "color", "filled", "strokeWidth"],
|
|
241
241
|
_excluded23 = ["size", "color", "filled", "strokeWidth"],
|
|
242
|
-
_excluded24 = ["size", "color", "
|
|
243
|
-
_excluded25 = ["size", "color", "
|
|
244
|
-
_excluded26 = ["size", "color", "
|
|
245
|
-
_excluded27 = ["size", "color", "
|
|
246
|
-
_excluded28 = ["size", "color", "
|
|
247
|
-
_excluded29 = ["size", "color", "
|
|
248
|
-
_excluded30 = ["size", "color", "
|
|
249
|
-
_excluded31 = ["size", "color", "
|
|
242
|
+
_excluded24 = ["size", "color", "filled", "strokeWidth"],
|
|
243
|
+
_excluded25 = ["size", "color", "strokeWidth", "filled"],
|
|
244
|
+
_excluded26 = ["size", "color", "filled", "strokeWidth"],
|
|
245
|
+
_excluded27 = ["size", "color", "strokeWidth", "filled"],
|
|
246
|
+
_excluded28 = ["size", "color", "filled", "strokeWidth"],
|
|
247
|
+
_excluded29 = ["size", "color", "strokeWidth", "filled"],
|
|
248
|
+
_excluded30 = ["size", "color", "filled", "strokeWidth"],
|
|
249
|
+
_excluded31 = ["size", "color", "strokeWidth", "filled"],
|
|
250
250
|
_excluded32 = ["size", "color", "filled", "strokeWidth"],
|
|
251
251
|
_excluded33 = ["size", "color", "filled", "strokeWidth"],
|
|
252
252
|
_excluded34 = ["size", "color", "filled", "strokeWidth"],
|
|
@@ -258,9 +258,9 @@ var _excluded$4 = ["size", "color", "transform", "orientation", "children"],
|
|
|
258
258
|
_excluded40 = ["size", "color", "filled", "strokeWidth"],
|
|
259
259
|
_excluded41 = ["size", "color", "filled", "strokeWidth"],
|
|
260
260
|
_excluded42 = ["size", "color", "filled", "strokeWidth"],
|
|
261
|
-
_excluded43 = ["size", "color", "
|
|
261
|
+
_excluded43 = ["size", "color", "filled", "strokeWidth"],
|
|
262
262
|
_excluded44 = ["size", "color", "strokeWidth", "filled"],
|
|
263
|
-
_excluded45 = ["size", "color", "
|
|
263
|
+
_excluded45 = ["size", "color", "strokeWidth", "filled"],
|
|
264
264
|
_excluded46 = ["size", "color", "filled", "strokeWidth"],
|
|
265
265
|
_excluded47 = ["size", "color", "filled", "strokeWidth"],
|
|
266
266
|
_excluded48 = ["size", "color", "filled", "strokeWidth"],
|
|
@@ -273,7 +273,8 @@ var _excluded$4 = ["size", "color", "transform", "orientation", "children"],
|
|
|
273
273
|
_excluded55 = ["size", "color", "filled", "strokeWidth"],
|
|
274
274
|
_excluded56 = ["size", "color", "filled", "strokeWidth"],
|
|
275
275
|
_excluded57 = ["size", "color", "filled", "strokeWidth"],
|
|
276
|
-
_excluded58 = ["size", "color", "
|
|
276
|
+
_excluded58 = ["size", "color", "filled", "strokeWidth"],
|
|
277
|
+
_excluded59 = ["size", "color", "strokeWidth", "filled"];
|
|
277
278
|
// Default wrapper component for consistent sizing and styling
|
|
278
279
|
var IconWrapper = _ref => {
|
|
279
280
|
var {
|
|
@@ -322,7 +323,7 @@ var ChevronIcon = _ref2 => {
|
|
|
322
323
|
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"
|
|
323
324
|
})));
|
|
324
325
|
};
|
|
325
|
-
var
|
|
326
|
+
var DragHandleIcon = _ref3 => {
|
|
326
327
|
var {
|
|
327
328
|
size = 24,
|
|
328
329
|
color = 'currentColor',
|
|
@@ -337,6 +338,47 @@ var TwitterIcon = _ref3 => {
|
|
|
337
338
|
viewBox: "0 0 24 24",
|
|
338
339
|
"aria-hidden": "true",
|
|
339
340
|
focusable: "false"
|
|
341
|
+
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("circle", {
|
|
342
|
+
cx: "9",
|
|
343
|
+
cy: "6",
|
|
344
|
+
r: "2"
|
|
345
|
+
}), /*#__PURE__*/React.createElement("circle", {
|
|
346
|
+
cx: "9",
|
|
347
|
+
cy: "12",
|
|
348
|
+
r: "2"
|
|
349
|
+
}), /*#__PURE__*/React.createElement("circle", {
|
|
350
|
+
cx: "9",
|
|
351
|
+
cy: "18",
|
|
352
|
+
r: "2"
|
|
353
|
+
}), /*#__PURE__*/React.createElement("circle", {
|
|
354
|
+
cx: "15",
|
|
355
|
+
cy: "6",
|
|
356
|
+
r: "2"
|
|
357
|
+
}), /*#__PURE__*/React.createElement("circle", {
|
|
358
|
+
cx: "15",
|
|
359
|
+
cy: "12",
|
|
360
|
+
r: "2"
|
|
361
|
+
}), /*#__PURE__*/React.createElement("circle", {
|
|
362
|
+
cx: "15",
|
|
363
|
+
cy: "18",
|
|
364
|
+
r: "2"
|
|
365
|
+
}))));
|
|
366
|
+
};
|
|
367
|
+
var TwitterIcon = _ref4 => {
|
|
368
|
+
var {
|
|
369
|
+
size = 24,
|
|
370
|
+
color = 'currentColor',
|
|
371
|
+
filled = true,
|
|
372
|
+
strokeWidth = 1
|
|
373
|
+
} = _ref4,
|
|
374
|
+
props = _objectWithoutPropertiesLoose(_ref4, _excluded4);
|
|
375
|
+
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
376
|
+
size: size,
|
|
377
|
+
color: color
|
|
378
|
+
}, props), /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
379
|
+
viewBox: "0 0 24 24",
|
|
380
|
+
"aria-hidden": "true",
|
|
381
|
+
focusable: "false"
|
|
340
382
|
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React.createElement("path", {
|
|
341
383
|
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",
|
|
342
384
|
fill: filled ? color : 'none',
|
|
@@ -344,14 +386,14 @@ var TwitterIcon = _ref3 => {
|
|
|
344
386
|
strokeWidth: filled ? 0 : strokeWidth
|
|
345
387
|
})));
|
|
346
388
|
};
|
|
347
|
-
var XIcon =
|
|
389
|
+
var XIcon = _ref5 => {
|
|
348
390
|
var {
|
|
349
391
|
size = 24,
|
|
350
392
|
color = 'currentColor',
|
|
351
393
|
filled = true,
|
|
352
394
|
strokeWidth = 1
|
|
353
|
-
} =
|
|
354
|
-
props = _objectWithoutPropertiesLoose(
|
|
395
|
+
} = _ref5,
|
|
396
|
+
props = _objectWithoutPropertiesLoose(_ref5, _excluded5);
|
|
355
397
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
356
398
|
size: size,
|
|
357
399
|
color: color
|
|
@@ -367,14 +409,14 @@ var XIcon = _ref4 => {
|
|
|
367
409
|
})));
|
|
368
410
|
};
|
|
369
411
|
// Example of a Twitch Icon
|
|
370
|
-
var TwitchIcon =
|
|
412
|
+
var TwitchIcon = _ref6 => {
|
|
371
413
|
var {
|
|
372
414
|
size = 24,
|
|
373
415
|
color = 'currentColor',
|
|
374
416
|
filled = true,
|
|
375
417
|
strokeWidth = 1
|
|
376
|
-
} =
|
|
377
|
-
props = _objectWithoutPropertiesLoose(
|
|
418
|
+
} = _ref6,
|
|
419
|
+
props = _objectWithoutPropertiesLoose(_ref6, _excluded6);
|
|
378
420
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
379
421
|
size: size,
|
|
380
422
|
color: color
|
|
@@ -395,14 +437,14 @@ var TwitchIcon = _ref5 => {
|
|
|
395
437
|
})));
|
|
396
438
|
};
|
|
397
439
|
// Example of another Icon: CloseIcon
|
|
398
|
-
var CloseIcon =
|
|
440
|
+
var CloseIcon = _ref7 => {
|
|
399
441
|
var {
|
|
400
442
|
size = 24,
|
|
401
443
|
color = 'currentColor',
|
|
402
444
|
filled = false,
|
|
403
445
|
strokeWidth = 1
|
|
404
|
-
} =
|
|
405
|
-
props = _objectWithoutPropertiesLoose(
|
|
446
|
+
} = _ref7,
|
|
447
|
+
props = _objectWithoutPropertiesLoose(_ref7, _excluded7);
|
|
406
448
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
407
449
|
size: size,
|
|
408
450
|
color: color
|
|
@@ -424,14 +466,14 @@ var CloseIcon = _ref6 => {
|
|
|
424
466
|
y2: "18"
|
|
425
467
|
})));
|
|
426
468
|
};
|
|
427
|
-
var InstagramIcon =
|
|
469
|
+
var InstagramIcon = _ref8 => {
|
|
428
470
|
var {
|
|
429
471
|
size = 24,
|
|
430
472
|
color = 'currentColor',
|
|
431
473
|
filled = false,
|
|
432
474
|
strokeWidth = 1
|
|
433
|
-
} =
|
|
434
|
-
props = _objectWithoutPropertiesLoose(
|
|
475
|
+
} = _ref8,
|
|
476
|
+
props = _objectWithoutPropertiesLoose(_ref8, _excluded8);
|
|
435
477
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
436
478
|
size: size,
|
|
437
479
|
color: color
|
|
@@ -455,14 +497,14 @@ var InstagramIcon = _ref7 => {
|
|
|
455
497
|
y2: "6.5"
|
|
456
498
|
})));
|
|
457
499
|
};
|
|
458
|
-
var YoutubeIcon =
|
|
500
|
+
var YoutubeIcon = _ref9 => {
|
|
459
501
|
var {
|
|
460
502
|
size = 24,
|
|
461
503
|
color = 'currentColor',
|
|
462
504
|
filled = true,
|
|
463
505
|
strokeWidth = 1
|
|
464
|
-
} =
|
|
465
|
-
props = _objectWithoutPropertiesLoose(
|
|
506
|
+
} = _ref9,
|
|
507
|
+
props = _objectWithoutPropertiesLoose(_ref9, _excluded9);
|
|
466
508
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
467
509
|
size: size,
|
|
468
510
|
color: color
|
|
@@ -483,14 +525,14 @@ var YoutubeIcon = _ref8 => {
|
|
|
483
525
|
strokeWidth: strokeWidth
|
|
484
526
|
})));
|
|
485
527
|
};
|
|
486
|
-
var FacebookIcon =
|
|
528
|
+
var FacebookIcon = _ref10 => {
|
|
487
529
|
var {
|
|
488
530
|
size = 24,
|
|
489
531
|
color = 'currentColor',
|
|
490
532
|
filled = true,
|
|
491
533
|
strokeWidth = 1
|
|
492
|
-
} =
|
|
493
|
-
props = _objectWithoutPropertiesLoose(
|
|
534
|
+
} = _ref10,
|
|
535
|
+
props = _objectWithoutPropertiesLoose(_ref10, _excluded10);
|
|
494
536
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
495
537
|
size: size,
|
|
496
538
|
color: color
|
|
@@ -505,14 +547,14 @@ var FacebookIcon = _ref9 => {
|
|
|
505
547
|
strokeWidth: filled ? 0 : strokeWidth
|
|
506
548
|
})));
|
|
507
549
|
};
|
|
508
|
-
var LinkedinIcon =
|
|
550
|
+
var LinkedinIcon = _ref11 => {
|
|
509
551
|
var {
|
|
510
552
|
size = 24,
|
|
511
553
|
color = 'currentColor',
|
|
512
554
|
filled = true,
|
|
513
555
|
strokeWidth = 1
|
|
514
|
-
} =
|
|
515
|
-
props = _objectWithoutPropertiesLoose(
|
|
556
|
+
} = _ref11,
|
|
557
|
+
props = _objectWithoutPropertiesLoose(_ref11, _excluded11);
|
|
516
558
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
517
559
|
size: size,
|
|
518
560
|
color: color
|
|
@@ -531,14 +573,14 @@ var LinkedinIcon = _ref10 => {
|
|
|
531
573
|
r: "2"
|
|
532
574
|
})));
|
|
533
575
|
};
|
|
534
|
-
var ThreadsIcon =
|
|
576
|
+
var ThreadsIcon = _ref12 => {
|
|
535
577
|
var {
|
|
536
578
|
size = 24,
|
|
537
579
|
color = 'currentColor',
|
|
538
580
|
filled = false,
|
|
539
581
|
strokeWidth = 1
|
|
540
|
-
} =
|
|
541
|
-
props = _objectWithoutPropertiesLoose(
|
|
582
|
+
} = _ref12,
|
|
583
|
+
props = _objectWithoutPropertiesLoose(_ref12, _excluded12);
|
|
542
584
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
543
585
|
size: size,
|
|
544
586
|
color: color
|
|
@@ -553,15 +595,15 @@ var ThreadsIcon = _ref11 => {
|
|
|
553
595
|
})));
|
|
554
596
|
};
|
|
555
597
|
// Example Refactored Icon: MinusIcon without undefined 'padding' prop
|
|
556
|
-
var MinusIcon =
|
|
598
|
+
var MinusIcon = _ref13 => {
|
|
557
599
|
var {
|
|
558
600
|
size = 24,
|
|
559
601
|
color = 'currentColor',
|
|
560
602
|
filled = false,
|
|
561
603
|
// Assuming minus can be filled; adjust as needed
|
|
562
604
|
strokeWidth = 1
|
|
563
|
-
} =
|
|
564
|
-
props = _objectWithoutPropertiesLoose(
|
|
605
|
+
} = _ref13,
|
|
606
|
+
props = _objectWithoutPropertiesLoose(_ref13, _excluded13);
|
|
565
607
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
566
608
|
size: size,
|
|
567
609
|
color: color
|
|
@@ -578,14 +620,14 @@ var MinusIcon = _ref12 => {
|
|
|
578
620
|
})));
|
|
579
621
|
};
|
|
580
622
|
// Example Refactored Icon: InfoIcon with accessibility enhancements
|
|
581
|
-
var InfoIcon =
|
|
623
|
+
var InfoIcon = _ref14 => {
|
|
582
624
|
var {
|
|
583
625
|
size = 24,
|
|
584
626
|
color = 'currentColor',
|
|
585
627
|
filled = false,
|
|
586
628
|
strokeWidth = 1
|
|
587
|
-
} =
|
|
588
|
-
props = _objectWithoutPropertiesLoose(
|
|
629
|
+
} = _ref14,
|
|
630
|
+
props = _objectWithoutPropertiesLoose(_ref14, _excluded14);
|
|
589
631
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
590
632
|
size: size,
|
|
591
633
|
color: color
|
|
@@ -599,14 +641,14 @@ var InfoIcon = _ref13 => {
|
|
|
599
641
|
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"
|
|
600
642
|
})));
|
|
601
643
|
};
|
|
602
|
-
var HeartIcon =
|
|
644
|
+
var HeartIcon = _ref15 => {
|
|
603
645
|
var {
|
|
604
646
|
size = 24,
|
|
605
647
|
color = 'currentColor',
|
|
606
648
|
filled = true,
|
|
607
649
|
strokeWidth = 1
|
|
608
|
-
} =
|
|
609
|
-
props = _objectWithoutPropertiesLoose(
|
|
650
|
+
} = _ref15,
|
|
651
|
+
props = _objectWithoutPropertiesLoose(_ref15, _excluded15);
|
|
610
652
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
611
653
|
size: size,
|
|
612
654
|
color: color
|
|
@@ -618,14 +660,14 @@ var HeartIcon = _ref14 => {
|
|
|
618
660
|
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"
|
|
619
661
|
})));
|
|
620
662
|
};
|
|
621
|
-
var StarIcon =
|
|
663
|
+
var StarIcon = _ref16 => {
|
|
622
664
|
var {
|
|
623
665
|
size = 24,
|
|
624
666
|
color = 'currentColor',
|
|
625
667
|
filled = true,
|
|
626
668
|
strokeWidth = 1
|
|
627
|
-
} =
|
|
628
|
-
props = _objectWithoutPropertiesLoose(
|
|
669
|
+
} = _ref16,
|
|
670
|
+
props = _objectWithoutPropertiesLoose(_ref16, _excluded16);
|
|
629
671
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
630
672
|
size: size,
|
|
631
673
|
color: color
|
|
@@ -637,14 +679,14 @@ var StarIcon = _ref15 => {
|
|
|
637
679
|
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"
|
|
638
680
|
})));
|
|
639
681
|
};
|
|
640
|
-
var SaveIcon =
|
|
682
|
+
var SaveIcon = _ref17 => {
|
|
641
683
|
var {
|
|
642
684
|
size = 24,
|
|
643
685
|
color = 'currentColor',
|
|
644
686
|
filled = false,
|
|
645
687
|
strokeWidth = 1
|
|
646
|
-
} =
|
|
647
|
-
props = _objectWithoutPropertiesLoose(
|
|
688
|
+
} = _ref17,
|
|
689
|
+
props = _objectWithoutPropertiesLoose(_ref17, _excluded17);
|
|
648
690
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
649
691
|
size: size,
|
|
650
692
|
color: color
|
|
@@ -660,14 +702,14 @@ var SaveIcon = _ref16 => {
|
|
|
660
702
|
points: "7 3 7 8 15 8"
|
|
661
703
|
})));
|
|
662
704
|
};
|
|
663
|
-
var WarningIcon =
|
|
705
|
+
var WarningIcon = _ref18 => {
|
|
664
706
|
var {
|
|
665
707
|
size = 24,
|
|
666
708
|
color = 'currentColor',
|
|
667
709
|
filled = false,
|
|
668
710
|
strokeWidth = 1
|
|
669
|
-
} =
|
|
670
|
-
props = _objectWithoutPropertiesLoose(
|
|
711
|
+
} = _ref18,
|
|
712
|
+
props = _objectWithoutPropertiesLoose(_ref18, _excluded18);
|
|
671
713
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
672
714
|
size: size,
|
|
673
715
|
color: color
|
|
@@ -691,14 +733,14 @@ var WarningIcon = _ref17 => {
|
|
|
691
733
|
y2: "15"
|
|
692
734
|
})));
|
|
693
735
|
};
|
|
694
|
-
var BatteryIcon =
|
|
736
|
+
var BatteryIcon = _ref19 => {
|
|
695
737
|
var {
|
|
696
738
|
size = 24,
|
|
697
739
|
color = 'currentColor',
|
|
698
740
|
filled = true,
|
|
699
741
|
strokeWidth = 1
|
|
700
|
-
} =
|
|
701
|
-
props = _objectWithoutPropertiesLoose(
|
|
742
|
+
} = _ref19,
|
|
743
|
+
props = _objectWithoutPropertiesLoose(_ref19, _excluded19);
|
|
702
744
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
703
745
|
size: size,
|
|
704
746
|
color: color
|
|
@@ -710,14 +752,14 @@ var BatteryIcon = _ref18 => {
|
|
|
710
752
|
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"
|
|
711
753
|
})));
|
|
712
754
|
};
|
|
713
|
-
var BookmarkIcon =
|
|
755
|
+
var BookmarkIcon = _ref20 => {
|
|
714
756
|
var {
|
|
715
757
|
size = 24,
|
|
716
758
|
color = 'currentColor',
|
|
717
759
|
filled = false,
|
|
718
760
|
strokeWidth = 1
|
|
719
|
-
} =
|
|
720
|
-
props = _objectWithoutPropertiesLoose(
|
|
761
|
+
} = _ref20,
|
|
762
|
+
props = _objectWithoutPropertiesLoose(_ref20, _excluded20);
|
|
721
763
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
722
764
|
size: size,
|
|
723
765
|
color: color
|
|
@@ -729,14 +771,14 @@ var BookmarkIcon = _ref19 => {
|
|
|
729
771
|
d: "M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2z"
|
|
730
772
|
})));
|
|
731
773
|
};
|
|
732
|
-
var CloudIcon =
|
|
774
|
+
var CloudIcon = _ref21 => {
|
|
733
775
|
var {
|
|
734
776
|
size = 24,
|
|
735
777
|
color = 'currentColor',
|
|
736
778
|
filled = true,
|
|
737
779
|
strokeWidth = 1
|
|
738
|
-
} =
|
|
739
|
-
props = _objectWithoutPropertiesLoose(
|
|
780
|
+
} = _ref21,
|
|
781
|
+
props = _objectWithoutPropertiesLoose(_ref21, _excluded21);
|
|
740
782
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
741
783
|
size: size,
|
|
742
784
|
color: color
|
|
@@ -748,14 +790,14 @@ var CloudIcon = _ref20 => {
|
|
|
748
790
|
d: "M18 10h-1.26A8 8 0 109 20h9a5 5 0 000-10z"
|
|
749
791
|
})));
|
|
750
792
|
};
|
|
751
|
-
var CopyIcon =
|
|
793
|
+
var CopyIcon = _ref22 => {
|
|
752
794
|
var {
|
|
753
795
|
size = 24,
|
|
754
796
|
color = 'currentColor',
|
|
755
797
|
filled = false,
|
|
756
798
|
strokeWidth = 1
|
|
757
|
-
} =
|
|
758
|
-
props = _objectWithoutPropertiesLoose(
|
|
799
|
+
} = _ref22,
|
|
800
|
+
props = _objectWithoutPropertiesLoose(_ref22, _excluded22);
|
|
759
801
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
760
802
|
size: size,
|
|
761
803
|
color: color
|
|
@@ -774,14 +816,14 @@ var CopyIcon = _ref21 => {
|
|
|
774
816
|
d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"
|
|
775
817
|
})));
|
|
776
818
|
};
|
|
777
|
-
var DustBinIcon =
|
|
819
|
+
var DustBinIcon = _ref23 => {
|
|
778
820
|
var {
|
|
779
821
|
size = 24,
|
|
780
822
|
color = 'currentColor',
|
|
781
823
|
filled = false,
|
|
782
824
|
strokeWidth = 1
|
|
783
|
-
} =
|
|
784
|
-
props = _objectWithoutPropertiesLoose(
|
|
825
|
+
} = _ref23,
|
|
826
|
+
props = _objectWithoutPropertiesLoose(_ref23, _excluded23);
|
|
785
827
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
786
828
|
size: size,
|
|
787
829
|
color: color
|
|
@@ -793,14 +835,14 @@ var DustBinIcon = _ref22 => {
|
|
|
793
835
|
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
|
|
794
836
|
})));
|
|
795
837
|
};
|
|
796
|
-
var EditIcon =
|
|
838
|
+
var EditIcon = _ref24 => {
|
|
797
839
|
var {
|
|
798
840
|
size = 24,
|
|
799
841
|
color = 'currentColor',
|
|
800
842
|
filled = false,
|
|
801
843
|
strokeWidth = 1
|
|
802
|
-
} =
|
|
803
|
-
props = _objectWithoutPropertiesLoose(
|
|
844
|
+
} = _ref24,
|
|
845
|
+
props = _objectWithoutPropertiesLoose(_ref24, _excluded24);
|
|
804
846
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
805
847
|
size: size,
|
|
806
848
|
color: color
|
|
@@ -812,14 +854,14 @@ var EditIcon = _ref23 => {
|
|
|
812
854
|
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"
|
|
813
855
|
})));
|
|
814
856
|
};
|
|
815
|
-
var ErrorIcon =
|
|
857
|
+
var ErrorIcon = _ref25 => {
|
|
816
858
|
var {
|
|
817
859
|
size = 24,
|
|
818
860
|
color = 'currentColor',
|
|
819
861
|
strokeWidth = 1,
|
|
820
862
|
filled = true
|
|
821
|
-
} =
|
|
822
|
-
props = _objectWithoutPropertiesLoose(
|
|
863
|
+
} = _ref25,
|
|
864
|
+
props = _objectWithoutPropertiesLoose(_ref25, _excluded25);
|
|
823
865
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
824
866
|
size: size,
|
|
825
867
|
color: color
|
|
@@ -845,14 +887,14 @@ var ErrorIcon = _ref24 => {
|
|
|
845
887
|
stroke: filled ? 'white' : color
|
|
846
888
|
})));
|
|
847
889
|
};
|
|
848
|
-
var DownloadIcon =
|
|
890
|
+
var DownloadIcon = _ref26 => {
|
|
849
891
|
var {
|
|
850
892
|
size = 24,
|
|
851
893
|
color = 'currentColor',
|
|
852
894
|
filled = true,
|
|
853
895
|
strokeWidth = 1
|
|
854
|
-
} =
|
|
855
|
-
props = _objectWithoutPropertiesLoose(
|
|
896
|
+
} = _ref26,
|
|
897
|
+
props = _objectWithoutPropertiesLoose(_ref26, _excluded26);
|
|
856
898
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
857
899
|
size: size,
|
|
858
900
|
color: color
|
|
@@ -864,14 +906,14 @@ var DownloadIcon = _ref25 => {
|
|
|
864
906
|
d: "M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
|
|
865
907
|
})));
|
|
866
908
|
};
|
|
867
|
-
var MenuIcon =
|
|
909
|
+
var MenuIcon = _ref27 => {
|
|
868
910
|
var {
|
|
869
911
|
size = 24,
|
|
870
912
|
color = 'currentColor',
|
|
871
913
|
strokeWidth = 1,
|
|
872
914
|
filled = false
|
|
873
|
-
} =
|
|
874
|
-
props = _objectWithoutPropertiesLoose(
|
|
915
|
+
} = _ref27,
|
|
916
|
+
props = _objectWithoutPropertiesLoose(_ref27, _excluded27);
|
|
875
917
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
876
918
|
size: size,
|
|
877
919
|
color: color
|
|
@@ -899,14 +941,14 @@ var MenuIcon = _ref26 => {
|
|
|
899
941
|
y2: "18"
|
|
900
942
|
})));
|
|
901
943
|
};
|
|
902
|
-
var ShareIcon =
|
|
944
|
+
var ShareIcon = _ref28 => {
|
|
903
945
|
var {
|
|
904
946
|
size = 24,
|
|
905
947
|
color = 'currentColor',
|
|
906
948
|
filled = false,
|
|
907
949
|
strokeWidth = 1
|
|
908
|
-
} =
|
|
909
|
-
props = _objectWithoutPropertiesLoose(
|
|
950
|
+
} = _ref28,
|
|
951
|
+
props = _objectWithoutPropertiesLoose(_ref28, _excluded28);
|
|
910
952
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
911
953
|
size: size,
|
|
912
954
|
color: color
|
|
@@ -940,14 +982,14 @@ var ShareIcon = _ref27 => {
|
|
|
940
982
|
y2: "10.49"
|
|
941
983
|
})));
|
|
942
984
|
};
|
|
943
|
-
var RefreshIcon =
|
|
985
|
+
var RefreshIcon = _ref29 => {
|
|
944
986
|
var {
|
|
945
987
|
size = 24,
|
|
946
988
|
color = 'currentColor',
|
|
947
989
|
strokeWidth = 1,
|
|
948
990
|
filled = false
|
|
949
|
-
} =
|
|
950
|
-
props = _objectWithoutPropertiesLoose(
|
|
991
|
+
} = _ref29,
|
|
992
|
+
props = _objectWithoutPropertiesLoose(_ref29, _excluded29);
|
|
951
993
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
952
994
|
size: size,
|
|
953
995
|
color: color
|
|
@@ -961,14 +1003,14 @@ var RefreshIcon = _ref28 => {
|
|
|
961
1003
|
d: "M20.49 15a9 9 0 1 1-2.13-9.36L23 10"
|
|
962
1004
|
})));
|
|
963
1005
|
};
|
|
964
|
-
var PrintIcon =
|
|
1006
|
+
var PrintIcon = _ref30 => {
|
|
965
1007
|
var {
|
|
966
1008
|
size = 24,
|
|
967
1009
|
color = 'currentColor',
|
|
968
1010
|
filled = true,
|
|
969
1011
|
strokeWidth = 1
|
|
970
|
-
} =
|
|
971
|
-
props = _objectWithoutPropertiesLoose(
|
|
1012
|
+
} = _ref30,
|
|
1013
|
+
props = _objectWithoutPropertiesLoose(_ref30, _excluded30);
|
|
972
1014
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
973
1015
|
size: size,
|
|
974
1016
|
color: color
|
|
@@ -981,14 +1023,14 @@ var PrintIcon = _ref29 => {
|
|
|
981
1023
|
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"
|
|
982
1024
|
})));
|
|
983
1025
|
};
|
|
984
|
-
var PanelIcon =
|
|
1026
|
+
var PanelIcon = _ref31 => {
|
|
985
1027
|
var {
|
|
986
1028
|
size = 24,
|
|
987
1029
|
color = 'currentColor',
|
|
988
1030
|
strokeWidth = 1,
|
|
989
1031
|
filled = false
|
|
990
|
-
} =
|
|
991
|
-
props = _objectWithoutPropertiesLoose(
|
|
1032
|
+
} = _ref31,
|
|
1033
|
+
props = _objectWithoutPropertiesLoose(_ref31, _excluded31);
|
|
992
1034
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
993
1035
|
size: size,
|
|
994
1036
|
color: color
|
|
@@ -1052,14 +1094,14 @@ var PanelIcon = _ref30 => {
|
|
|
1052
1094
|
y2: "16"
|
|
1053
1095
|
})));
|
|
1054
1096
|
};
|
|
1055
|
-
var FilterIcon =
|
|
1097
|
+
var FilterIcon = _ref32 => {
|
|
1056
1098
|
var {
|
|
1057
1099
|
size = 24,
|
|
1058
1100
|
color = 'currentColor',
|
|
1059
1101
|
filled = false,
|
|
1060
1102
|
strokeWidth = 1
|
|
1061
|
-
} =
|
|
1062
|
-
props = _objectWithoutPropertiesLoose(
|
|
1103
|
+
} = _ref32,
|
|
1104
|
+
props = _objectWithoutPropertiesLoose(_ref32, _excluded32);
|
|
1063
1105
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1064
1106
|
size: size,
|
|
1065
1107
|
color: color
|
|
@@ -1071,14 +1113,14 @@ var FilterIcon = _ref31 => {
|
|
|
1071
1113
|
d: "M3 4h18l-7 10v5l-4 2v-7L3 4z"
|
|
1072
1114
|
})));
|
|
1073
1115
|
};
|
|
1074
|
-
var HomeIcon =
|
|
1116
|
+
var HomeIcon = _ref33 => {
|
|
1075
1117
|
var {
|
|
1076
1118
|
size = 24,
|
|
1077
1119
|
color = 'currentColor',
|
|
1078
1120
|
filled = true,
|
|
1079
1121
|
strokeWidth = 1
|
|
1080
|
-
} =
|
|
1081
|
-
props = _objectWithoutPropertiesLoose(
|
|
1122
|
+
} = _ref33,
|
|
1123
|
+
props = _objectWithoutPropertiesLoose(_ref33, _excluded33);
|
|
1082
1124
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1083
1125
|
size: size,
|
|
1084
1126
|
color: color
|
|
@@ -1090,14 +1132,14 @@ var HomeIcon = _ref32 => {
|
|
|
1090
1132
|
d: "M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z"
|
|
1091
1133
|
})));
|
|
1092
1134
|
};
|
|
1093
|
-
var LocationIcon =
|
|
1135
|
+
var LocationIcon = _ref34 => {
|
|
1094
1136
|
var {
|
|
1095
1137
|
size = 24,
|
|
1096
1138
|
color = 'currentColor',
|
|
1097
1139
|
filled = true,
|
|
1098
1140
|
strokeWidth = 1
|
|
1099
|
-
} =
|
|
1100
|
-
props = _objectWithoutPropertiesLoose(
|
|
1141
|
+
} = _ref34,
|
|
1142
|
+
props = _objectWithoutPropertiesLoose(_ref34, _excluded34);
|
|
1101
1143
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1102
1144
|
size: size,
|
|
1103
1145
|
color: color
|
|
@@ -1109,14 +1151,14 @@ var LocationIcon = _ref33 => {
|
|
|
1109
1151
|
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"
|
|
1110
1152
|
})));
|
|
1111
1153
|
};
|
|
1112
|
-
var LockIcon =
|
|
1154
|
+
var LockIcon = _ref35 => {
|
|
1113
1155
|
var {
|
|
1114
1156
|
size = 24,
|
|
1115
1157
|
color = 'currentColor',
|
|
1116
1158
|
filled = false,
|
|
1117
1159
|
strokeWidth = 1
|
|
1118
|
-
} =
|
|
1119
|
-
props = _objectWithoutPropertiesLoose(
|
|
1160
|
+
} = _ref35,
|
|
1161
|
+
props = _objectWithoutPropertiesLoose(_ref35, _excluded35);
|
|
1120
1162
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1121
1163
|
size: size,
|
|
1122
1164
|
color: color
|
|
@@ -1135,14 +1177,14 @@ var LockIcon = _ref34 => {
|
|
|
1135
1177
|
d: "M7 11V7a5 5 0 0 1 10 0v4"
|
|
1136
1178
|
})));
|
|
1137
1179
|
};
|
|
1138
|
-
var MicrophoneIcon =
|
|
1180
|
+
var MicrophoneIcon = _ref36 => {
|
|
1139
1181
|
var {
|
|
1140
1182
|
size = 24,
|
|
1141
1183
|
color = 'currentColor',
|
|
1142
1184
|
filled = false,
|
|
1143
1185
|
strokeWidth = 1
|
|
1144
|
-
} =
|
|
1145
|
-
props = _objectWithoutPropertiesLoose(
|
|
1186
|
+
} = _ref36,
|
|
1187
|
+
props = _objectWithoutPropertiesLoose(_ref36, _excluded36);
|
|
1146
1188
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1147
1189
|
size: size,
|
|
1148
1190
|
color: color
|
|
@@ -1168,14 +1210,14 @@ var MicrophoneIcon = _ref35 => {
|
|
|
1168
1210
|
y2: "23"
|
|
1169
1211
|
})));
|
|
1170
1212
|
};
|
|
1171
|
-
var MoonIcon =
|
|
1213
|
+
var MoonIcon = _ref37 => {
|
|
1172
1214
|
var {
|
|
1173
1215
|
size = 24,
|
|
1174
1216
|
color = 'currentColor',
|
|
1175
1217
|
filled = true,
|
|
1176
1218
|
strokeWidth = 1
|
|
1177
|
-
} =
|
|
1178
|
-
props = _objectWithoutPropertiesLoose(
|
|
1219
|
+
} = _ref37,
|
|
1220
|
+
props = _objectWithoutPropertiesLoose(_ref37, _excluded37);
|
|
1179
1221
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1180
1222
|
size: size,
|
|
1181
1223
|
color: color
|
|
@@ -1187,14 +1229,14 @@ var MoonIcon = _ref36 => {
|
|
|
1187
1229
|
d: "M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"
|
|
1188
1230
|
})));
|
|
1189
1231
|
};
|
|
1190
|
-
var NotificationIcon =
|
|
1232
|
+
var NotificationIcon = _ref38 => {
|
|
1191
1233
|
var {
|
|
1192
1234
|
size = 24,
|
|
1193
1235
|
color = 'currentColor',
|
|
1194
1236
|
filled = false,
|
|
1195
1237
|
strokeWidth = 1
|
|
1196
|
-
} =
|
|
1197
|
-
props = _objectWithoutPropertiesLoose(
|
|
1238
|
+
} = _ref38,
|
|
1239
|
+
props = _objectWithoutPropertiesLoose(_ref38, _excluded38);
|
|
1198
1240
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1199
1241
|
size: size,
|
|
1200
1242
|
color: color
|
|
@@ -1208,14 +1250,14 @@ var NotificationIcon = _ref37 => {
|
|
|
1208
1250
|
d: "M13.73 21a2 2 0 0 1-3.46 0"
|
|
1209
1251
|
})));
|
|
1210
1252
|
};
|
|
1211
|
-
var OpenEyeIcon =
|
|
1253
|
+
var OpenEyeIcon = _ref39 => {
|
|
1212
1254
|
var {
|
|
1213
1255
|
size = 24,
|
|
1214
1256
|
color = 'currentColor',
|
|
1215
1257
|
filled = true,
|
|
1216
1258
|
strokeWidth = 1
|
|
1217
|
-
} =
|
|
1218
|
-
props = _objectWithoutPropertiesLoose(
|
|
1259
|
+
} = _ref39,
|
|
1260
|
+
props = _objectWithoutPropertiesLoose(_ref39, _excluded39);
|
|
1219
1261
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1220
1262
|
size: size,
|
|
1221
1263
|
color: color
|
|
@@ -1227,14 +1269,14 @@ var OpenEyeIcon = _ref38 => {
|
|
|
1227
1269
|
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"
|
|
1228
1270
|
})));
|
|
1229
1271
|
};
|
|
1230
|
-
var ProfileIcon =
|
|
1272
|
+
var ProfileIcon = _ref40 => {
|
|
1231
1273
|
var {
|
|
1232
1274
|
size = 24,
|
|
1233
1275
|
color = 'currentColor',
|
|
1234
1276
|
filled = true,
|
|
1235
1277
|
strokeWidth = 1
|
|
1236
|
-
} =
|
|
1237
|
-
props = _objectWithoutPropertiesLoose(
|
|
1278
|
+
} = _ref40,
|
|
1279
|
+
props = _objectWithoutPropertiesLoose(_ref40, _excluded40);
|
|
1238
1280
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1239
1281
|
size: size,
|
|
1240
1282
|
color: color
|
|
@@ -1247,14 +1289,14 @@ var ProfileIcon = _ref39 => {
|
|
|
1247
1289
|
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"
|
|
1248
1290
|
}), ' '));
|
|
1249
1291
|
};
|
|
1250
|
-
var SettingsIcon =
|
|
1292
|
+
var SettingsIcon = _ref41 => {
|
|
1251
1293
|
var {
|
|
1252
1294
|
size = 24,
|
|
1253
1295
|
color = 'currentColor',
|
|
1254
1296
|
filled = false,
|
|
1255
1297
|
strokeWidth = 1
|
|
1256
|
-
} =
|
|
1257
|
-
props = _objectWithoutPropertiesLoose(
|
|
1298
|
+
} = _ref41,
|
|
1299
|
+
props = _objectWithoutPropertiesLoose(_ref41, _excluded41);
|
|
1258
1300
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1259
1301
|
size: size,
|
|
1260
1302
|
color: color
|
|
@@ -1266,14 +1308,14 @@ var SettingsIcon = _ref40 => {
|
|
|
1266
1308
|
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"
|
|
1267
1309
|
})));
|
|
1268
1310
|
};
|
|
1269
|
-
var SuccessIcon =
|
|
1311
|
+
var SuccessIcon = _ref42 => {
|
|
1270
1312
|
var {
|
|
1271
1313
|
size = 24,
|
|
1272
1314
|
color = 'currentColor',
|
|
1273
1315
|
filled = true,
|
|
1274
1316
|
strokeWidth = 1
|
|
1275
|
-
} =
|
|
1276
|
-
props = _objectWithoutPropertiesLoose(
|
|
1317
|
+
} = _ref42,
|
|
1318
|
+
props = _objectWithoutPropertiesLoose(_ref42, _excluded42);
|
|
1277
1319
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1278
1320
|
size: size,
|
|
1279
1321
|
color: color
|
|
@@ -1285,14 +1327,14 @@ var SuccessIcon = _ref41 => {
|
|
|
1285
1327
|
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"
|
|
1286
1328
|
})));
|
|
1287
1329
|
};
|
|
1288
|
-
var UnLikeIcon =
|
|
1330
|
+
var UnLikeIcon = _ref43 => {
|
|
1289
1331
|
var {
|
|
1290
1332
|
size = 24,
|
|
1291
1333
|
color = 'currentColor',
|
|
1292
1334
|
filled = true,
|
|
1293
1335
|
strokeWidth = 1
|
|
1294
|
-
} =
|
|
1295
|
-
props = _objectWithoutPropertiesLoose(
|
|
1336
|
+
} = _ref43,
|
|
1337
|
+
props = _objectWithoutPropertiesLoose(_ref43, _excluded43);
|
|
1296
1338
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1297
1339
|
size: size,
|
|
1298
1340
|
color: color
|
|
@@ -1304,14 +1346,14 @@ var UnLikeIcon = _ref42 => {
|
|
|
1304
1346
|
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"
|
|
1305
1347
|
})));
|
|
1306
1348
|
};
|
|
1307
|
-
var ClockIcon =
|
|
1349
|
+
var ClockIcon = _ref44 => {
|
|
1308
1350
|
var {
|
|
1309
1351
|
size = 24,
|
|
1310
1352
|
color = 'currentColor',
|
|
1311
1353
|
strokeWidth = 1,
|
|
1312
1354
|
filled = false
|
|
1313
|
-
} =
|
|
1314
|
-
props = _objectWithoutPropertiesLoose(
|
|
1355
|
+
} = _ref44,
|
|
1356
|
+
props = _objectWithoutPropertiesLoose(_ref44, _excluded44);
|
|
1315
1357
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1316
1358
|
size: size,
|
|
1317
1359
|
color: color
|
|
@@ -1327,14 +1369,14 @@ var ClockIcon = _ref43 => {
|
|
|
1327
1369
|
points: "12 6 12 12 16 14"
|
|
1328
1370
|
})));
|
|
1329
1371
|
};
|
|
1330
|
-
var CameraIcon =
|
|
1372
|
+
var CameraIcon = _ref45 => {
|
|
1331
1373
|
var {
|
|
1332
1374
|
size = 24,
|
|
1333
1375
|
color = 'currentColor',
|
|
1334
1376
|
strokeWidth = 1,
|
|
1335
1377
|
filled = false
|
|
1336
|
-
} =
|
|
1337
|
-
props = _objectWithoutPropertiesLoose(
|
|
1378
|
+
} = _ref45,
|
|
1379
|
+
props = _objectWithoutPropertiesLoose(_ref45, _excluded45);
|
|
1338
1380
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1339
1381
|
size: size,
|
|
1340
1382
|
color: color
|
|
@@ -1350,14 +1392,14 @@ var CameraIcon = _ref44 => {
|
|
|
1350
1392
|
r: "4"
|
|
1351
1393
|
})));
|
|
1352
1394
|
};
|
|
1353
|
-
var BluetoothIcon =
|
|
1395
|
+
var BluetoothIcon = _ref46 => {
|
|
1354
1396
|
var {
|
|
1355
1397
|
size = 24,
|
|
1356
1398
|
color = 'currentColor',
|
|
1357
1399
|
filled = true,
|
|
1358
1400
|
strokeWidth = 1
|
|
1359
|
-
} =
|
|
1360
|
-
props = _objectWithoutPropertiesLoose(
|
|
1401
|
+
} = _ref46,
|
|
1402
|
+
props = _objectWithoutPropertiesLoose(_ref46, _excluded46);
|
|
1361
1403
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1362
1404
|
size: size,
|
|
1363
1405
|
color: color
|
|
@@ -1369,14 +1411,14 @@ var BluetoothIcon = _ref45 => {
|
|
|
1369
1411
|
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"
|
|
1370
1412
|
})));
|
|
1371
1413
|
};
|
|
1372
|
-
var LikeIcon =
|
|
1414
|
+
var LikeIcon = _ref47 => {
|
|
1373
1415
|
var {
|
|
1374
1416
|
size = 24,
|
|
1375
1417
|
color = 'currentColor',
|
|
1376
1418
|
filled = true,
|
|
1377
1419
|
strokeWidth = 1
|
|
1378
|
-
} =
|
|
1379
|
-
props = _objectWithoutPropertiesLoose(
|
|
1420
|
+
} = _ref47,
|
|
1421
|
+
props = _objectWithoutPropertiesLoose(_ref47, _excluded47);
|
|
1380
1422
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1381
1423
|
size: size,
|
|
1382
1424
|
color: color
|
|
@@ -1388,14 +1430,14 @@ var LikeIcon = _ref46 => {
|
|
|
1388
1430
|
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"
|
|
1389
1431
|
})));
|
|
1390
1432
|
};
|
|
1391
|
-
var UnlockIcon =
|
|
1433
|
+
var UnlockIcon = _ref48 => {
|
|
1392
1434
|
var {
|
|
1393
1435
|
size = 24,
|
|
1394
1436
|
color = 'currentColor',
|
|
1395
1437
|
filled = false,
|
|
1396
1438
|
strokeWidth = 1
|
|
1397
|
-
} =
|
|
1398
|
-
props = _objectWithoutPropertiesLoose(
|
|
1439
|
+
} = _ref48,
|
|
1440
|
+
props = _objectWithoutPropertiesLoose(_ref48, _excluded48);
|
|
1399
1441
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1400
1442
|
size: size,
|
|
1401
1443
|
color: color
|
|
@@ -1414,14 +1456,14 @@ var UnlockIcon = _ref47 => {
|
|
|
1414
1456
|
d: "M7 11V7a5 5 0 0 1 9.9-1"
|
|
1415
1457
|
})));
|
|
1416
1458
|
};
|
|
1417
|
-
var WifiIcon =
|
|
1459
|
+
var WifiIcon = _ref49 => {
|
|
1418
1460
|
var {
|
|
1419
1461
|
size = 24,
|
|
1420
1462
|
color = 'currentColor',
|
|
1421
1463
|
filled = false,
|
|
1422
1464
|
strokeWidth = 1
|
|
1423
|
-
} =
|
|
1424
|
-
props = _objectWithoutPropertiesLoose(
|
|
1465
|
+
} = _ref49,
|
|
1466
|
+
props = _objectWithoutPropertiesLoose(_ref49, _excluded49);
|
|
1425
1467
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1426
1468
|
size: size,
|
|
1427
1469
|
color: color
|
|
@@ -1433,14 +1475,14 @@ var WifiIcon = _ref48 => {
|
|
|
1433
1475
|
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"
|
|
1434
1476
|
})));
|
|
1435
1477
|
};
|
|
1436
|
-
var UploadIcon =
|
|
1478
|
+
var UploadIcon = _ref50 => {
|
|
1437
1479
|
var {
|
|
1438
1480
|
size = 24,
|
|
1439
1481
|
color = 'currentColor',
|
|
1440
1482
|
filled = false,
|
|
1441
1483
|
strokeWidth = 1
|
|
1442
|
-
} =
|
|
1443
|
-
props = _objectWithoutPropertiesLoose(
|
|
1484
|
+
} = _ref50,
|
|
1485
|
+
props = _objectWithoutPropertiesLoose(_ref50, _excluded50);
|
|
1444
1486
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1445
1487
|
size: size,
|
|
1446
1488
|
color: color
|
|
@@ -1456,14 +1498,14 @@ var UploadIcon = _ref49 => {
|
|
|
1456
1498
|
d: "M12 12l0 9"
|
|
1457
1499
|
})));
|
|
1458
1500
|
};
|
|
1459
|
-
var SearchIcon =
|
|
1501
|
+
var SearchIcon = _ref51 => {
|
|
1460
1502
|
var {
|
|
1461
1503
|
size = 24,
|
|
1462
1504
|
color = 'currentColor',
|
|
1463
1505
|
filled = true,
|
|
1464
1506
|
strokeWidth = 1
|
|
1465
|
-
} =
|
|
1466
|
-
props = _objectWithoutPropertiesLoose(
|
|
1507
|
+
} = _ref51,
|
|
1508
|
+
props = _objectWithoutPropertiesLoose(_ref51, _excluded51);
|
|
1467
1509
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1468
1510
|
size: size,
|
|
1469
1511
|
color: color
|
|
@@ -1475,14 +1517,14 @@ var SearchIcon = _ref50 => {
|
|
|
1475
1517
|
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"
|
|
1476
1518
|
})));
|
|
1477
1519
|
};
|
|
1478
|
-
var CloseEyeIcon =
|
|
1520
|
+
var CloseEyeIcon = _ref52 => {
|
|
1479
1521
|
var {
|
|
1480
1522
|
size = 24,
|
|
1481
1523
|
color = 'currentColor',
|
|
1482
1524
|
filled = true,
|
|
1483
1525
|
strokeWidth = 1
|
|
1484
|
-
} =
|
|
1485
|
-
props = _objectWithoutPropertiesLoose(
|
|
1526
|
+
} = _ref52,
|
|
1527
|
+
props = _objectWithoutPropertiesLoose(_ref52, _excluded52);
|
|
1486
1528
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1487
1529
|
size: size,
|
|
1488
1530
|
color: color
|
|
@@ -1495,14 +1537,14 @@ var CloseEyeIcon = _ref51 => {
|
|
|
1495
1537
|
fill: "currentColor"
|
|
1496
1538
|
})));
|
|
1497
1539
|
};
|
|
1498
|
-
var ExternalLinkIcon =
|
|
1540
|
+
var ExternalLinkIcon = _ref53 => {
|
|
1499
1541
|
var {
|
|
1500
1542
|
size = 24,
|
|
1501
1543
|
color = 'currentColor',
|
|
1502
1544
|
filled = true,
|
|
1503
1545
|
strokeWidth = 1
|
|
1504
|
-
} =
|
|
1505
|
-
props = _objectWithoutPropertiesLoose(
|
|
1546
|
+
} = _ref53,
|
|
1547
|
+
props = _objectWithoutPropertiesLoose(_ref53, _excluded53);
|
|
1506
1548
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1507
1549
|
size: size,
|
|
1508
1550
|
color: color
|
|
@@ -1514,14 +1556,14 @@ var ExternalLinkIcon = _ref52 => {
|
|
|
1514
1556
|
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"
|
|
1515
1557
|
})));
|
|
1516
1558
|
};
|
|
1517
|
-
var PlusIcon =
|
|
1559
|
+
var PlusIcon = _ref54 => {
|
|
1518
1560
|
var {
|
|
1519
1561
|
size = 24,
|
|
1520
1562
|
color = 'currentColor',
|
|
1521
1563
|
filled = false,
|
|
1522
1564
|
strokeWidth = 1
|
|
1523
|
-
} =
|
|
1524
|
-
props = _objectWithoutPropertiesLoose(
|
|
1565
|
+
} = _ref54,
|
|
1566
|
+
props = _objectWithoutPropertiesLoose(_ref54, _excluded54);
|
|
1525
1567
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1526
1568
|
size: size,
|
|
1527
1569
|
color: color
|
|
@@ -1543,14 +1585,14 @@ var PlusIcon = _ref53 => {
|
|
|
1543
1585
|
y2: "12"
|
|
1544
1586
|
})));
|
|
1545
1587
|
};
|
|
1546
|
-
var TickIcon =
|
|
1588
|
+
var TickIcon = _ref55 => {
|
|
1547
1589
|
var {
|
|
1548
1590
|
size = 24,
|
|
1549
1591
|
color = 'currentColor',
|
|
1550
1592
|
filled = false,
|
|
1551
1593
|
strokeWidth = 1
|
|
1552
|
-
} =
|
|
1553
|
-
props = _objectWithoutPropertiesLoose(
|
|
1594
|
+
} = _ref55,
|
|
1595
|
+
props = _objectWithoutPropertiesLoose(_ref55, _excluded55);
|
|
1554
1596
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1555
1597
|
size: size,
|
|
1556
1598
|
color: color
|
|
@@ -1564,14 +1606,14 @@ var TickIcon = _ref54 => {
|
|
|
1564
1606
|
strokeLinejoin: "round"
|
|
1565
1607
|
})));
|
|
1566
1608
|
};
|
|
1567
|
-
var BoldArrowIcon =
|
|
1609
|
+
var BoldArrowIcon = _ref56 => {
|
|
1568
1610
|
var {
|
|
1569
1611
|
size = 24,
|
|
1570
1612
|
color = 'currentColor',
|
|
1571
1613
|
filled = true,
|
|
1572
1614
|
strokeWidth = 1
|
|
1573
|
-
} =
|
|
1574
|
-
props = _objectWithoutPropertiesLoose(
|
|
1615
|
+
} = _ref56,
|
|
1616
|
+
props = _objectWithoutPropertiesLoose(_ref56, _excluded56);
|
|
1575
1617
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1576
1618
|
size: size,
|
|
1577
1619
|
color: color
|
|
@@ -1583,14 +1625,14 @@ var BoldArrowIcon = _ref55 => {
|
|
|
1583
1625
|
d: "M12 4l7 7h-4v7h-6v-7H5l7-7z"
|
|
1584
1626
|
})));
|
|
1585
1627
|
};
|
|
1586
|
-
var ArrowIcon =
|
|
1628
|
+
var ArrowIcon = _ref57 => {
|
|
1587
1629
|
var {
|
|
1588
1630
|
size = 24,
|
|
1589
1631
|
color = 'currentColor',
|
|
1590
1632
|
filled = false,
|
|
1591
1633
|
strokeWidth = 1
|
|
1592
|
-
} =
|
|
1593
|
-
props = _objectWithoutPropertiesLoose(
|
|
1634
|
+
} = _ref57,
|
|
1635
|
+
props = _objectWithoutPropertiesLoose(_ref57, _excluded57);
|
|
1594
1636
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1595
1637
|
size: size,
|
|
1596
1638
|
color: color
|
|
@@ -1608,14 +1650,14 @@ var ArrowIcon = _ref56 => {
|
|
|
1608
1650
|
points: "6 12 12 6 18 12"
|
|
1609
1651
|
})));
|
|
1610
1652
|
};
|
|
1611
|
-
var SpinnerIcon =
|
|
1653
|
+
var SpinnerIcon = _ref58 => {
|
|
1612
1654
|
var {
|
|
1613
1655
|
size = 24,
|
|
1614
1656
|
color = 'currentColor',
|
|
1615
1657
|
filled = false,
|
|
1616
1658
|
strokeWidth = 1
|
|
1617
|
-
} =
|
|
1618
|
-
props = _objectWithoutPropertiesLoose(
|
|
1659
|
+
} = _ref58,
|
|
1660
|
+
props = _objectWithoutPropertiesLoose(_ref58, _excluded58);
|
|
1619
1661
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1620
1662
|
size: size,
|
|
1621
1663
|
color: color
|
|
@@ -1633,14 +1675,14 @@ var SpinnerIcon = _ref57 => {
|
|
|
1633
1675
|
strokeOpacity: "1"
|
|
1634
1676
|
})));
|
|
1635
1677
|
};
|
|
1636
|
-
var CalendarIcon =
|
|
1678
|
+
var CalendarIcon = _ref59 => {
|
|
1637
1679
|
var {
|
|
1638
1680
|
size = 24,
|
|
1639
1681
|
color = 'currentColor',
|
|
1640
1682
|
strokeWidth = 1,
|
|
1641
1683
|
filled = false
|
|
1642
|
-
} =
|
|
1643
|
-
props = _objectWithoutPropertiesLoose(
|
|
1684
|
+
} = _ref59,
|
|
1685
|
+
props = _objectWithoutPropertiesLoose(_ref59, _excluded59);
|
|
1644
1686
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1645
1687
|
size: size,
|
|
1646
1688
|
color: color
|
|
@@ -1679,6 +1721,7 @@ var CalendarIcon = _ref58 => {
|
|
|
1679
1721
|
var Icon = {
|
|
1680
1722
|
__proto__: null,
|
|
1681
1723
|
ChevronIcon: ChevronIcon,
|
|
1724
|
+
DragHandleIcon: DragHandleIcon,
|
|
1682
1725
|
TwitterIcon: TwitterIcon,
|
|
1683
1726
|
XIcon: XIcon,
|
|
1684
1727
|
TwitchIcon: TwitchIcon,
|
|
@@ -7477,5 +7520,134 @@ var ToggleGroupComponent = _ref => {
|
|
|
7477
7520
|
// Expose the ToggleGroupComponent for import into other modules
|
|
7478
7521
|
var ToggleGroup = ToggleGroupComponent;
|
|
7479
7522
|
|
|
7480
|
-
|
|
7523
|
+
var useDragAndDropState = _ref => {
|
|
7524
|
+
var {
|
|
7525
|
+
items: initialItems,
|
|
7526
|
+
onChange
|
|
7527
|
+
} = _ref;
|
|
7528
|
+
var [items, setItems] = useState(initialItems);
|
|
7529
|
+
var [draggedItem, setDraggedItem] = useState(null);
|
|
7530
|
+
var [draggedIndex, setDraggedIndex] = useState(null);
|
|
7531
|
+
var dragStartPosRef = useRef({
|
|
7532
|
+
x: 0,
|
|
7533
|
+
y: 0
|
|
7534
|
+
});
|
|
7535
|
+
var itemRefs = useRef([]);
|
|
7536
|
+
var handleDragStart = useCallback((e, index) => {
|
|
7537
|
+
e.preventDefault();
|
|
7538
|
+
document.body.style.cursor = 'grabbing';
|
|
7539
|
+
var clientX = 'touches' in e ? e.touches[0].clientX : e.clientX;
|
|
7540
|
+
var clientY = 'touches' in e ? e.touches[0].clientY : e.clientY;
|
|
7541
|
+
dragStartPosRef.current = {
|
|
7542
|
+
x: clientX,
|
|
7543
|
+
y: clientY
|
|
7544
|
+
};
|
|
7545
|
+
setDraggedIndex(index);
|
|
7546
|
+
setDraggedItem(items[index]);
|
|
7547
|
+
}, [items]);
|
|
7548
|
+
var handleDragMove = useCallback(e => {
|
|
7549
|
+
if (draggedIndex === null) return;
|
|
7550
|
+
var clientX = 'touches' in e ? e.touches[0].clientX : e.clientX;
|
|
7551
|
+
var clientY = 'touches' in e ? e.touches[0].clientY : e.clientY;
|
|
7552
|
+
var draggedElement = itemRefs.current[draggedIndex];
|
|
7553
|
+
if (!draggedElement) return;
|
|
7554
|
+
var offsetX = clientX - dragStartPosRef.current.x;
|
|
7555
|
+
var offsetY = clientY - dragStartPosRef.current.y;
|
|
7556
|
+
draggedElement.style.transform = "translate(" + offsetX + "px, " + offsetY + "px)";
|
|
7557
|
+
draggedElement.style.zIndex = '1000';
|
|
7558
|
+
// Find the item being hovered over
|
|
7559
|
+
var hoveredIndex = itemRefs.current.findIndex((itemRef, index) => {
|
|
7560
|
+
if (!itemRef || index === draggedIndex) return false;
|
|
7561
|
+
var rect = itemRef.getBoundingClientRect();
|
|
7562
|
+
return clientY >= rect.top && clientY <= rect.bottom;
|
|
7563
|
+
});
|
|
7564
|
+
if (hoveredIndex !== -1 && hoveredIndex !== draggedIndex) {
|
|
7565
|
+
var newItems = [...items];
|
|
7566
|
+
var [removed] = newItems.splice(draggedIndex, 1);
|
|
7567
|
+
newItems.splice(hoveredIndex, 0, removed);
|
|
7568
|
+
setItems(newItems);
|
|
7569
|
+
setDraggedIndex(hoveredIndex);
|
|
7570
|
+
onChange == null || onChange(newItems);
|
|
7571
|
+
dragStartPosRef.current = {
|
|
7572
|
+
x: clientX,
|
|
7573
|
+
y: clientY
|
|
7574
|
+
};
|
|
7575
|
+
}
|
|
7576
|
+
}, [draggedIndex, items, onChange]);
|
|
7577
|
+
var handleDragEnd = useCallback(() => {
|
|
7578
|
+
document.body.style.cursor = '';
|
|
7579
|
+
itemRefs.current.forEach(el => {
|
|
7580
|
+
if (el) {
|
|
7581
|
+
el.style.transform = '';
|
|
7582
|
+
el.style.zIndex = '';
|
|
7583
|
+
}
|
|
7584
|
+
});
|
|
7585
|
+
setDraggedIndex(null);
|
|
7586
|
+
setDraggedItem(null);
|
|
7587
|
+
}, [draggedIndex]);
|
|
7588
|
+
useEffect(() => {
|
|
7589
|
+
if (draggedIndex !== null) {
|
|
7590
|
+
window.addEventListener('mousemove', handleDragMove);
|
|
7591
|
+
window.addEventListener('touchmove', handleDragMove);
|
|
7592
|
+
window.addEventListener('mouseup', handleDragEnd);
|
|
7593
|
+
window.addEventListener('touchend', handleDragEnd);
|
|
7594
|
+
}
|
|
7595
|
+
return () => {
|
|
7596
|
+
window.removeEventListener('mousemove', handleDragMove);
|
|
7597
|
+
window.removeEventListener('touchmove', handleDragMove);
|
|
7598
|
+
window.removeEventListener('mouseup', handleDragEnd);
|
|
7599
|
+
window.removeEventListener('touchend', handleDragEnd);
|
|
7600
|
+
};
|
|
7601
|
+
}, [draggedIndex, handleDragMove, handleDragEnd]);
|
|
7602
|
+
return {
|
|
7603
|
+
items,
|
|
7604
|
+
draggedItem,
|
|
7605
|
+
draggedIndex,
|
|
7606
|
+
itemRefs,
|
|
7607
|
+
handleDragStart
|
|
7608
|
+
};
|
|
7609
|
+
};
|
|
7610
|
+
|
|
7611
|
+
var DragAndDropView = _ref => {
|
|
7612
|
+
var {
|
|
7613
|
+
items,
|
|
7614
|
+
renderItem,
|
|
7615
|
+
containerProps,
|
|
7616
|
+
itemProps,
|
|
7617
|
+
draggedIndex,
|
|
7618
|
+
itemRefs,
|
|
7619
|
+
handleDragStart
|
|
7620
|
+
} = _ref;
|
|
7621
|
+
return /*#__PURE__*/React.createElement(View$1, Object.assign({
|
|
7622
|
+
overflow: "hidden",
|
|
7623
|
+
position: "relative"
|
|
7624
|
+
}, containerProps), items.map((item, index) => (/*#__PURE__*/React.createElement(View$1, Object.assign({
|
|
7625
|
+
key: index,
|
|
7626
|
+
ref: el => itemRefs.current[index] = el,
|
|
7627
|
+
onMouseDown: e => handleDragStart(e, index),
|
|
7628
|
+
onTouchStart: e => handleDragStart(e, index),
|
|
7629
|
+
position: "relative",
|
|
7630
|
+
cursor: "grab",
|
|
7631
|
+
transition: "transform 0.2s",
|
|
7632
|
+
backgroundColor: draggedIndex === index ? 'color.gray.100' : 'transparent'
|
|
7633
|
+
}, itemProps), renderItem ? renderItem(item, index) : item))));
|
|
7634
|
+
};
|
|
7635
|
+
|
|
7636
|
+
var DragAndDropComponent = props => {
|
|
7637
|
+
var {
|
|
7638
|
+
items,
|
|
7639
|
+
draggedIndex,
|
|
7640
|
+
itemRefs,
|
|
7641
|
+
handleDragStart
|
|
7642
|
+
} = useDragAndDropState(props);
|
|
7643
|
+
return /*#__PURE__*/React.createElement(DragAndDropView, Object.assign({}, props, {
|
|
7644
|
+
items: items,
|
|
7645
|
+
draggedIndex: draggedIndex,
|
|
7646
|
+
itemRefs: itemRefs,
|
|
7647
|
+
handleDragStart: handleDragStart
|
|
7648
|
+
}));
|
|
7649
|
+
};
|
|
7650
|
+
var DragAndDrop = DragAndDropComponent;
|
|
7651
|
+
|
|
7652
|
+
export { Alert, ArrowIcon, AspectRatio, Avatar, Badge, BatteryIcon, BluetoothIcon, BoldArrowIcon, BookmarkIcon, Bottom, Button, CalendarIcon, CameraIcon, Center, CenterBase, Checkbox, ChevronIcon, ClockIcon, CloseEyeIcon, CloseIcon, CloudIcon, ComboBox, CopyIcon, CountryPicker, DatePicker, DownloadIcon, DragAndDrop, DragAndDropComponent, DragHandleIcon, DustBinIcon, EditIcon, ErrorIcon, ExternalLinkIcon, FacebookIcon, FileImage, FileSVG, FilterIcon, FormikCheckbox, FormikComboBox, FormikCountryPicker, FormikDatePicker, FormikForm, FormikPassword, FormikSelect, FormikSwitch, FormikTextArea, FormikTextField, HeartIcon, HomeIcon, Horizontal, HorizontalBase, Icon, InfoIcon, Inline, InstagramIcon, Left, LikeIcon, Link, LinkedinIcon, Loader, LocationIcon, LockIcon, MenuIcon, MessageLayout, MessageView, MicrophoneIcon, MinusIcon, Modal, MoonIcon, NotificationIcon, OpenEyeIcon, PanelIcon, Password, PlusIcon, PrintIcon, ProfileIcon, RefreshIcon, Right, SaveIcon, SearchIcon, Select, SettingsIcon, ShareIcon, SpinnerIcon, StarIcon, SuccessIcon, Switch, Table, Tabs, Text, TextArea, TextField, ThreadsIcon, TickIcon, Toggle, ToggleGroup, Top, TwitchIcon, TwitterIcon, UnLikeIcon, UnlockIcon, UploadIcon, Vertical, VerticalBase, View, WarningIcon, WifiIcon, XIcon, YoutubeIcon, hideMessage, hideModal, showMessage, showModal, useMessageStore, useModalStore };
|
|
7481
7653
|
//# sourceMappingURL=web.esm.js.map
|