@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
|
@@ -244,16 +244,16 @@ var _excluded$4 = ["size", "color", "transform", "orientation", "children"],
|
|
|
244
244
|
_excluded19 = ["size", "color", "filled", "strokeWidth"],
|
|
245
245
|
_excluded20 = ["size", "color", "filled", "strokeWidth"],
|
|
246
246
|
_excluded21 = ["size", "color", "filled", "strokeWidth"],
|
|
247
|
-
_excluded22 = ["size", "color", "
|
|
247
|
+
_excluded22 = ["size", "color", "filled", "strokeWidth"],
|
|
248
248
|
_excluded23 = ["size", "color", "filled", "strokeWidth"],
|
|
249
|
-
_excluded24 = ["size", "color", "
|
|
250
|
-
_excluded25 = ["size", "color", "
|
|
251
|
-
_excluded26 = ["size", "color", "
|
|
252
|
-
_excluded27 = ["size", "color", "
|
|
253
|
-
_excluded28 = ["size", "color", "
|
|
254
|
-
_excluded29 = ["size", "color", "
|
|
249
|
+
_excluded24 = ["size", "color", "filled", "strokeWidth"],
|
|
250
|
+
_excluded25 = ["size", "color", "strokeWidth", "filled"],
|
|
251
|
+
_excluded26 = ["size", "color", "filled", "strokeWidth"],
|
|
252
|
+
_excluded27 = ["size", "color", "strokeWidth", "filled"],
|
|
253
|
+
_excluded28 = ["size", "color", "filled", "strokeWidth"],
|
|
254
|
+
_excluded29 = ["size", "color", "strokeWidth", "filled"],
|
|
255
255
|
_excluded30 = ["size", "color", "filled", "strokeWidth"],
|
|
256
|
-
_excluded31 = ["size", "color", "
|
|
256
|
+
_excluded31 = ["size", "color", "strokeWidth", "filled"],
|
|
257
257
|
_excluded32 = ["size", "color", "filled", "strokeWidth"],
|
|
258
258
|
_excluded33 = ["size", "color", "filled", "strokeWidth"],
|
|
259
259
|
_excluded34 = ["size", "color", "filled", "strokeWidth"],
|
|
@@ -263,11 +263,11 @@ var _excluded$4 = ["size", "color", "transform", "orientation", "children"],
|
|
|
263
263
|
_excluded38 = ["size", "color", "filled", "strokeWidth"],
|
|
264
264
|
_excluded39 = ["size", "color", "filled", "strokeWidth"],
|
|
265
265
|
_excluded40 = ["size", "color", "filled", "strokeWidth"],
|
|
266
|
-
_excluded41 = ["size", "color", "
|
|
267
|
-
_excluded42 = ["size", "color", "
|
|
266
|
+
_excluded41 = ["size", "color", "filled", "strokeWidth"],
|
|
267
|
+
_excluded42 = ["size", "color", "filled", "strokeWidth"],
|
|
268
268
|
_excluded43 = ["size", "color", "filled", "strokeWidth"],
|
|
269
|
-
_excluded44 = ["size", "color", "
|
|
270
|
-
_excluded45 = ["size", "color", "
|
|
269
|
+
_excluded44 = ["size", "color", "strokeWidth", "filled"],
|
|
270
|
+
_excluded45 = ["size", "color", "strokeWidth", "filled"],
|
|
271
271
|
_excluded46 = ["size", "color", "filled", "strokeWidth"],
|
|
272
272
|
_excluded47 = ["size", "color", "filled", "strokeWidth"],
|
|
273
273
|
_excluded48 = ["size", "color", "filled", "strokeWidth"],
|
|
@@ -278,7 +278,10 @@ var _excluded$4 = ["size", "color", "transform", "orientation", "children"],
|
|
|
278
278
|
_excluded53 = ["size", "color", "filled", "strokeWidth"],
|
|
279
279
|
_excluded54 = ["size", "color", "filled", "strokeWidth"],
|
|
280
280
|
_excluded55 = ["size", "color", "filled", "strokeWidth"],
|
|
281
|
-
_excluded56 = ["size", "color", "
|
|
281
|
+
_excluded56 = ["size", "color", "filled", "strokeWidth"],
|
|
282
|
+
_excluded57 = ["size", "color", "filled", "strokeWidth"],
|
|
283
|
+
_excluded58 = ["size", "color", "filled", "strokeWidth"],
|
|
284
|
+
_excluded59 = ["size", "color", "strokeWidth", "filled"];
|
|
282
285
|
// Default wrapper component for consistent sizing and styling
|
|
283
286
|
var IconWrapper = _ref => {
|
|
284
287
|
var {
|
|
@@ -327,8 +330,7 @@ var ChevronIcon = _ref2 => {
|
|
|
327
330
|
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"
|
|
328
331
|
})));
|
|
329
332
|
};
|
|
330
|
-
|
|
331
|
-
var TwitchIcon = _ref3 => {
|
|
333
|
+
var DragHandleIcon = _ref3 => {
|
|
332
334
|
var {
|
|
333
335
|
size = 24,
|
|
334
336
|
color = 'currentColor',
|
|
@@ -343,6 +345,92 @@ var TwitchIcon = _ref3 => {
|
|
|
343
345
|
viewBox: "0 0 24 24",
|
|
344
346
|
"aria-hidden": "true",
|
|
345
347
|
focusable: "false"
|
|
348
|
+
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("circle", {
|
|
349
|
+
cx: "9",
|
|
350
|
+
cy: "6",
|
|
351
|
+
r: "2"
|
|
352
|
+
}), /*#__PURE__*/React__default.createElement("circle", {
|
|
353
|
+
cx: "9",
|
|
354
|
+
cy: "12",
|
|
355
|
+
r: "2"
|
|
356
|
+
}), /*#__PURE__*/React__default.createElement("circle", {
|
|
357
|
+
cx: "9",
|
|
358
|
+
cy: "18",
|
|
359
|
+
r: "2"
|
|
360
|
+
}), /*#__PURE__*/React__default.createElement("circle", {
|
|
361
|
+
cx: "15",
|
|
362
|
+
cy: "6",
|
|
363
|
+
r: "2"
|
|
364
|
+
}), /*#__PURE__*/React__default.createElement("circle", {
|
|
365
|
+
cx: "15",
|
|
366
|
+
cy: "12",
|
|
367
|
+
r: "2"
|
|
368
|
+
}), /*#__PURE__*/React__default.createElement("circle", {
|
|
369
|
+
cx: "15",
|
|
370
|
+
cy: "18",
|
|
371
|
+
r: "2"
|
|
372
|
+
}))));
|
|
373
|
+
};
|
|
374
|
+
var TwitterIcon = _ref4 => {
|
|
375
|
+
var {
|
|
376
|
+
size = 24,
|
|
377
|
+
color = 'currentColor',
|
|
378
|
+
filled = true,
|
|
379
|
+
strokeWidth = 1
|
|
380
|
+
} = _ref4,
|
|
381
|
+
props = _objectWithoutPropertiesLoose(_ref4, _excluded4);
|
|
382
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
383
|
+
size: size,
|
|
384
|
+
color: color
|
|
385
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
386
|
+
viewBox: "0 0 24 24",
|
|
387
|
+
"aria-hidden": "true",
|
|
388
|
+
focusable: "false"
|
|
389
|
+
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("path", {
|
|
390
|
+
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",
|
|
391
|
+
fill: filled ? color : 'none',
|
|
392
|
+
stroke: filled ? 'none' : color,
|
|
393
|
+
strokeWidth: filled ? 0 : strokeWidth
|
|
394
|
+
})));
|
|
395
|
+
};
|
|
396
|
+
var XIcon = _ref5 => {
|
|
397
|
+
var {
|
|
398
|
+
size = 24,
|
|
399
|
+
color = 'currentColor',
|
|
400
|
+
filled = true,
|
|
401
|
+
strokeWidth = 1
|
|
402
|
+
} = _ref5,
|
|
403
|
+
props = _objectWithoutPropertiesLoose(_ref5, _excluded5);
|
|
404
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
405
|
+
size: size,
|
|
406
|
+
color: color
|
|
407
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
408
|
+
viewBox: "0 0 24 24",
|
|
409
|
+
"aria-hidden": "true",
|
|
410
|
+
focusable: "false"
|
|
411
|
+
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("path", {
|
|
412
|
+
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",
|
|
413
|
+
fill: filled ? color : 'none',
|
|
414
|
+
stroke: color,
|
|
415
|
+
strokeWidth: strokeWidth
|
|
416
|
+
})));
|
|
417
|
+
};
|
|
418
|
+
// Example of a Twitch Icon
|
|
419
|
+
var TwitchIcon = _ref6 => {
|
|
420
|
+
var {
|
|
421
|
+
size = 24,
|
|
422
|
+
color = 'currentColor',
|
|
423
|
+
filled = true,
|
|
424
|
+
strokeWidth = 1
|
|
425
|
+
} = _ref6,
|
|
426
|
+
props = _objectWithoutPropertiesLoose(_ref6, _excluded6);
|
|
427
|
+
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
428
|
+
size: size,
|
|
429
|
+
color: color
|
|
430
|
+
}, props), /*#__PURE__*/React__default.createElement("svg", Object.assign({
|
|
431
|
+
viewBox: "0 0 24 24",
|
|
432
|
+
"aria-hidden": "true",
|
|
433
|
+
focusable: "false"
|
|
346
434
|
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React__default.createElement("path", {
|
|
347
435
|
d: "M2 2v16h5v4l4-4h5l6-6V2H2zm18 10-3 3h-5l-3 3v-3H4V4h16v8z",
|
|
348
436
|
fill: filled ? color : 'none',
|
|
@@ -356,14 +444,14 @@ var TwitchIcon = _ref3 => {
|
|
|
356
444
|
})));
|
|
357
445
|
};
|
|
358
446
|
// Example of another Icon: CloseIcon
|
|
359
|
-
var CloseIcon =
|
|
447
|
+
var CloseIcon = _ref7 => {
|
|
360
448
|
var {
|
|
361
449
|
size = 24,
|
|
362
450
|
color = 'currentColor',
|
|
363
451
|
filled = false,
|
|
364
452
|
strokeWidth = 1
|
|
365
|
-
} =
|
|
366
|
-
props = _objectWithoutPropertiesLoose(
|
|
453
|
+
} = _ref7,
|
|
454
|
+
props = _objectWithoutPropertiesLoose(_ref7, _excluded7);
|
|
367
455
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
368
456
|
size: size,
|
|
369
457
|
color: color
|
|
@@ -385,14 +473,14 @@ var CloseIcon = _ref4 => {
|
|
|
385
473
|
y2: "18"
|
|
386
474
|
})));
|
|
387
475
|
};
|
|
388
|
-
var InstagramIcon =
|
|
476
|
+
var InstagramIcon = _ref8 => {
|
|
389
477
|
var {
|
|
390
478
|
size = 24,
|
|
391
479
|
color = 'currentColor',
|
|
392
480
|
filled = false,
|
|
393
481
|
strokeWidth = 1
|
|
394
|
-
} =
|
|
395
|
-
props = _objectWithoutPropertiesLoose(
|
|
482
|
+
} = _ref8,
|
|
483
|
+
props = _objectWithoutPropertiesLoose(_ref8, _excluded8);
|
|
396
484
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
397
485
|
size: size,
|
|
398
486
|
color: color
|
|
@@ -416,14 +504,14 @@ var InstagramIcon = _ref5 => {
|
|
|
416
504
|
y2: "6.5"
|
|
417
505
|
})));
|
|
418
506
|
};
|
|
419
|
-
var YoutubeIcon =
|
|
507
|
+
var YoutubeIcon = _ref9 => {
|
|
420
508
|
var {
|
|
421
509
|
size = 24,
|
|
422
510
|
color = 'currentColor',
|
|
423
511
|
filled = true,
|
|
424
512
|
strokeWidth = 1
|
|
425
|
-
} =
|
|
426
|
-
props = _objectWithoutPropertiesLoose(
|
|
513
|
+
} = _ref9,
|
|
514
|
+
props = _objectWithoutPropertiesLoose(_ref9, _excluded9);
|
|
427
515
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
428
516
|
size: size,
|
|
429
517
|
color: color
|
|
@@ -444,14 +532,14 @@ var YoutubeIcon = _ref6 => {
|
|
|
444
532
|
strokeWidth: strokeWidth
|
|
445
533
|
})));
|
|
446
534
|
};
|
|
447
|
-
var FacebookIcon =
|
|
535
|
+
var FacebookIcon = _ref10 => {
|
|
448
536
|
var {
|
|
449
537
|
size = 24,
|
|
450
538
|
color = 'currentColor',
|
|
451
539
|
filled = true,
|
|
452
540
|
strokeWidth = 1
|
|
453
|
-
} =
|
|
454
|
-
props = _objectWithoutPropertiesLoose(
|
|
541
|
+
} = _ref10,
|
|
542
|
+
props = _objectWithoutPropertiesLoose(_ref10, _excluded10);
|
|
455
543
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
456
544
|
size: size,
|
|
457
545
|
color: color
|
|
@@ -466,14 +554,14 @@ var FacebookIcon = _ref7 => {
|
|
|
466
554
|
strokeWidth: filled ? 0 : strokeWidth
|
|
467
555
|
})));
|
|
468
556
|
};
|
|
469
|
-
var LinkedinIcon =
|
|
557
|
+
var LinkedinIcon = _ref11 => {
|
|
470
558
|
var {
|
|
471
559
|
size = 24,
|
|
472
560
|
color = 'currentColor',
|
|
473
561
|
filled = true,
|
|
474
562
|
strokeWidth = 1
|
|
475
|
-
} =
|
|
476
|
-
props = _objectWithoutPropertiesLoose(
|
|
563
|
+
} = _ref11,
|
|
564
|
+
props = _objectWithoutPropertiesLoose(_ref11, _excluded11);
|
|
477
565
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
478
566
|
size: size,
|
|
479
567
|
color: color
|
|
@@ -492,14 +580,14 @@ var LinkedinIcon = _ref8 => {
|
|
|
492
580
|
r: "2"
|
|
493
581
|
})));
|
|
494
582
|
};
|
|
495
|
-
var ThreadsIcon =
|
|
583
|
+
var ThreadsIcon = _ref12 => {
|
|
496
584
|
var {
|
|
497
585
|
size = 24,
|
|
498
586
|
color = 'currentColor',
|
|
499
587
|
filled = false,
|
|
500
588
|
strokeWidth = 1
|
|
501
|
-
} =
|
|
502
|
-
props = _objectWithoutPropertiesLoose(
|
|
589
|
+
} = _ref12,
|
|
590
|
+
props = _objectWithoutPropertiesLoose(_ref12, _excluded12);
|
|
503
591
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
504
592
|
size: size,
|
|
505
593
|
color: color
|
|
@@ -514,15 +602,15 @@ var ThreadsIcon = _ref9 => {
|
|
|
514
602
|
})));
|
|
515
603
|
};
|
|
516
604
|
// Example Refactored Icon: MinusIcon without undefined 'padding' prop
|
|
517
|
-
var MinusIcon =
|
|
605
|
+
var MinusIcon = _ref13 => {
|
|
518
606
|
var {
|
|
519
607
|
size = 24,
|
|
520
608
|
color = 'currentColor',
|
|
521
609
|
filled = false,
|
|
522
610
|
// Assuming minus can be filled; adjust as needed
|
|
523
611
|
strokeWidth = 1
|
|
524
|
-
} =
|
|
525
|
-
props = _objectWithoutPropertiesLoose(
|
|
612
|
+
} = _ref13,
|
|
613
|
+
props = _objectWithoutPropertiesLoose(_ref13, _excluded13);
|
|
526
614
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
527
615
|
size: size,
|
|
528
616
|
color: color
|
|
@@ -539,14 +627,14 @@ var MinusIcon = _ref10 => {
|
|
|
539
627
|
})));
|
|
540
628
|
};
|
|
541
629
|
// Example Refactored Icon: InfoIcon with accessibility enhancements
|
|
542
|
-
var InfoIcon =
|
|
630
|
+
var InfoIcon = _ref14 => {
|
|
543
631
|
var {
|
|
544
632
|
size = 24,
|
|
545
633
|
color = 'currentColor',
|
|
546
634
|
filled = false,
|
|
547
635
|
strokeWidth = 1
|
|
548
|
-
} =
|
|
549
|
-
props = _objectWithoutPropertiesLoose(
|
|
636
|
+
} = _ref14,
|
|
637
|
+
props = _objectWithoutPropertiesLoose(_ref14, _excluded14);
|
|
550
638
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
551
639
|
size: size,
|
|
552
640
|
color: color
|
|
@@ -560,14 +648,14 @@ var InfoIcon = _ref11 => {
|
|
|
560
648
|
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"
|
|
561
649
|
})));
|
|
562
650
|
};
|
|
563
|
-
var HeartIcon =
|
|
651
|
+
var HeartIcon = _ref15 => {
|
|
564
652
|
var {
|
|
565
653
|
size = 24,
|
|
566
654
|
color = 'currentColor',
|
|
567
655
|
filled = true,
|
|
568
656
|
strokeWidth = 1
|
|
569
|
-
} =
|
|
570
|
-
props = _objectWithoutPropertiesLoose(
|
|
657
|
+
} = _ref15,
|
|
658
|
+
props = _objectWithoutPropertiesLoose(_ref15, _excluded15);
|
|
571
659
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
572
660
|
size: size,
|
|
573
661
|
color: color
|
|
@@ -579,14 +667,14 @@ var HeartIcon = _ref12 => {
|
|
|
579
667
|
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"
|
|
580
668
|
})));
|
|
581
669
|
};
|
|
582
|
-
var StarIcon =
|
|
670
|
+
var StarIcon = _ref16 => {
|
|
583
671
|
var {
|
|
584
672
|
size = 24,
|
|
585
673
|
color = 'currentColor',
|
|
586
674
|
filled = true,
|
|
587
675
|
strokeWidth = 1
|
|
588
|
-
} =
|
|
589
|
-
props = _objectWithoutPropertiesLoose(
|
|
676
|
+
} = _ref16,
|
|
677
|
+
props = _objectWithoutPropertiesLoose(_ref16, _excluded16);
|
|
590
678
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
591
679
|
size: size,
|
|
592
680
|
color: color
|
|
@@ -598,14 +686,14 @@ var StarIcon = _ref13 => {
|
|
|
598
686
|
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"
|
|
599
687
|
})));
|
|
600
688
|
};
|
|
601
|
-
var SaveIcon =
|
|
689
|
+
var SaveIcon = _ref17 => {
|
|
602
690
|
var {
|
|
603
691
|
size = 24,
|
|
604
692
|
color = 'currentColor',
|
|
605
693
|
filled = false,
|
|
606
694
|
strokeWidth = 1
|
|
607
|
-
} =
|
|
608
|
-
props = _objectWithoutPropertiesLoose(
|
|
695
|
+
} = _ref17,
|
|
696
|
+
props = _objectWithoutPropertiesLoose(_ref17, _excluded17);
|
|
609
697
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
610
698
|
size: size,
|
|
611
699
|
color: color
|
|
@@ -621,14 +709,14 @@ var SaveIcon = _ref14 => {
|
|
|
621
709
|
points: "7 3 7 8 15 8"
|
|
622
710
|
})));
|
|
623
711
|
};
|
|
624
|
-
var WarningIcon =
|
|
712
|
+
var WarningIcon = _ref18 => {
|
|
625
713
|
var {
|
|
626
714
|
size = 24,
|
|
627
715
|
color = 'currentColor',
|
|
628
716
|
filled = false,
|
|
629
717
|
strokeWidth = 1
|
|
630
|
-
} =
|
|
631
|
-
props = _objectWithoutPropertiesLoose(
|
|
718
|
+
} = _ref18,
|
|
719
|
+
props = _objectWithoutPropertiesLoose(_ref18, _excluded18);
|
|
632
720
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
633
721
|
size: size,
|
|
634
722
|
color: color
|
|
@@ -652,14 +740,14 @@ var WarningIcon = _ref15 => {
|
|
|
652
740
|
y2: "15"
|
|
653
741
|
})));
|
|
654
742
|
};
|
|
655
|
-
var BatteryIcon =
|
|
743
|
+
var BatteryIcon = _ref19 => {
|
|
656
744
|
var {
|
|
657
745
|
size = 24,
|
|
658
746
|
color = 'currentColor',
|
|
659
747
|
filled = true,
|
|
660
748
|
strokeWidth = 1
|
|
661
|
-
} =
|
|
662
|
-
props = _objectWithoutPropertiesLoose(
|
|
749
|
+
} = _ref19,
|
|
750
|
+
props = _objectWithoutPropertiesLoose(_ref19, _excluded19);
|
|
663
751
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
664
752
|
size: size,
|
|
665
753
|
color: color
|
|
@@ -671,14 +759,14 @@ var BatteryIcon = _ref16 => {
|
|
|
671
759
|
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"
|
|
672
760
|
})));
|
|
673
761
|
};
|
|
674
|
-
var BookmarkIcon =
|
|
762
|
+
var BookmarkIcon = _ref20 => {
|
|
675
763
|
var {
|
|
676
764
|
size = 24,
|
|
677
765
|
color = 'currentColor',
|
|
678
766
|
filled = false,
|
|
679
767
|
strokeWidth = 1
|
|
680
|
-
} =
|
|
681
|
-
props = _objectWithoutPropertiesLoose(
|
|
768
|
+
} = _ref20,
|
|
769
|
+
props = _objectWithoutPropertiesLoose(_ref20, _excluded20);
|
|
682
770
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
683
771
|
size: size,
|
|
684
772
|
color: color
|
|
@@ -690,14 +778,14 @@ var BookmarkIcon = _ref17 => {
|
|
|
690
778
|
d: "M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2z"
|
|
691
779
|
})));
|
|
692
780
|
};
|
|
693
|
-
var CloudIcon =
|
|
781
|
+
var CloudIcon = _ref21 => {
|
|
694
782
|
var {
|
|
695
783
|
size = 24,
|
|
696
784
|
color = 'currentColor',
|
|
697
785
|
filled = true,
|
|
698
786
|
strokeWidth = 1
|
|
699
|
-
} =
|
|
700
|
-
props = _objectWithoutPropertiesLoose(
|
|
787
|
+
} = _ref21,
|
|
788
|
+
props = _objectWithoutPropertiesLoose(_ref21, _excluded21);
|
|
701
789
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
702
790
|
size: size,
|
|
703
791
|
color: color
|
|
@@ -709,14 +797,14 @@ var CloudIcon = _ref18 => {
|
|
|
709
797
|
d: "M18 10h-1.26A8 8 0 109 20h9a5 5 0 000-10z"
|
|
710
798
|
})));
|
|
711
799
|
};
|
|
712
|
-
var CopyIcon =
|
|
800
|
+
var CopyIcon = _ref22 => {
|
|
713
801
|
var {
|
|
714
802
|
size = 24,
|
|
715
803
|
color = 'currentColor',
|
|
716
804
|
filled = false,
|
|
717
805
|
strokeWidth = 1
|
|
718
|
-
} =
|
|
719
|
-
props = _objectWithoutPropertiesLoose(
|
|
806
|
+
} = _ref22,
|
|
807
|
+
props = _objectWithoutPropertiesLoose(_ref22, _excluded22);
|
|
720
808
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
721
809
|
size: size,
|
|
722
810
|
color: color
|
|
@@ -735,14 +823,14 @@ var CopyIcon = _ref19 => {
|
|
|
735
823
|
d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"
|
|
736
824
|
})));
|
|
737
825
|
};
|
|
738
|
-
var DustBinIcon =
|
|
826
|
+
var DustBinIcon = _ref23 => {
|
|
739
827
|
var {
|
|
740
828
|
size = 24,
|
|
741
829
|
color = 'currentColor',
|
|
742
830
|
filled = false,
|
|
743
831
|
strokeWidth = 1
|
|
744
|
-
} =
|
|
745
|
-
props = _objectWithoutPropertiesLoose(
|
|
832
|
+
} = _ref23,
|
|
833
|
+
props = _objectWithoutPropertiesLoose(_ref23, _excluded23);
|
|
746
834
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
747
835
|
size: size,
|
|
748
836
|
color: color
|
|
@@ -754,14 +842,14 @@ var DustBinIcon = _ref20 => {
|
|
|
754
842
|
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
|
|
755
843
|
})));
|
|
756
844
|
};
|
|
757
|
-
var EditIcon =
|
|
845
|
+
var EditIcon = _ref24 => {
|
|
758
846
|
var {
|
|
759
847
|
size = 24,
|
|
760
848
|
color = 'currentColor',
|
|
761
849
|
filled = false,
|
|
762
850
|
strokeWidth = 1
|
|
763
|
-
} =
|
|
764
|
-
props = _objectWithoutPropertiesLoose(
|
|
851
|
+
} = _ref24,
|
|
852
|
+
props = _objectWithoutPropertiesLoose(_ref24, _excluded24);
|
|
765
853
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
766
854
|
size: size,
|
|
767
855
|
color: color
|
|
@@ -773,14 +861,14 @@ var EditIcon = _ref21 => {
|
|
|
773
861
|
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"
|
|
774
862
|
})));
|
|
775
863
|
};
|
|
776
|
-
var ErrorIcon =
|
|
864
|
+
var ErrorIcon = _ref25 => {
|
|
777
865
|
var {
|
|
778
866
|
size = 24,
|
|
779
867
|
color = 'currentColor',
|
|
780
868
|
strokeWidth = 1,
|
|
781
869
|
filled = true
|
|
782
|
-
} =
|
|
783
|
-
props = _objectWithoutPropertiesLoose(
|
|
870
|
+
} = _ref25,
|
|
871
|
+
props = _objectWithoutPropertiesLoose(_ref25, _excluded25);
|
|
784
872
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
785
873
|
size: size,
|
|
786
874
|
color: color
|
|
@@ -806,14 +894,14 @@ var ErrorIcon = _ref22 => {
|
|
|
806
894
|
stroke: filled ? 'white' : color
|
|
807
895
|
})));
|
|
808
896
|
};
|
|
809
|
-
var DownloadIcon =
|
|
897
|
+
var DownloadIcon = _ref26 => {
|
|
810
898
|
var {
|
|
811
899
|
size = 24,
|
|
812
900
|
color = 'currentColor',
|
|
813
901
|
filled = true,
|
|
814
902
|
strokeWidth = 1
|
|
815
|
-
} =
|
|
816
|
-
props = _objectWithoutPropertiesLoose(
|
|
903
|
+
} = _ref26,
|
|
904
|
+
props = _objectWithoutPropertiesLoose(_ref26, _excluded26);
|
|
817
905
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
818
906
|
size: size,
|
|
819
907
|
color: color
|
|
@@ -825,14 +913,14 @@ var DownloadIcon = _ref23 => {
|
|
|
825
913
|
d: "M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
|
|
826
914
|
})));
|
|
827
915
|
};
|
|
828
|
-
var MenuIcon =
|
|
916
|
+
var MenuIcon = _ref27 => {
|
|
829
917
|
var {
|
|
830
918
|
size = 24,
|
|
831
919
|
color = 'currentColor',
|
|
832
920
|
strokeWidth = 1,
|
|
833
921
|
filled = false
|
|
834
|
-
} =
|
|
835
|
-
props = _objectWithoutPropertiesLoose(
|
|
922
|
+
} = _ref27,
|
|
923
|
+
props = _objectWithoutPropertiesLoose(_ref27, _excluded27);
|
|
836
924
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
837
925
|
size: size,
|
|
838
926
|
color: color
|
|
@@ -860,14 +948,14 @@ var MenuIcon = _ref24 => {
|
|
|
860
948
|
y2: "18"
|
|
861
949
|
})));
|
|
862
950
|
};
|
|
863
|
-
var ShareIcon =
|
|
951
|
+
var ShareIcon = _ref28 => {
|
|
864
952
|
var {
|
|
865
953
|
size = 24,
|
|
866
954
|
color = 'currentColor',
|
|
867
955
|
filled = false,
|
|
868
956
|
strokeWidth = 1
|
|
869
|
-
} =
|
|
870
|
-
props = _objectWithoutPropertiesLoose(
|
|
957
|
+
} = _ref28,
|
|
958
|
+
props = _objectWithoutPropertiesLoose(_ref28, _excluded28);
|
|
871
959
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
872
960
|
size: size,
|
|
873
961
|
color: color
|
|
@@ -901,14 +989,14 @@ var ShareIcon = _ref25 => {
|
|
|
901
989
|
y2: "10.49"
|
|
902
990
|
})));
|
|
903
991
|
};
|
|
904
|
-
var RefreshIcon =
|
|
992
|
+
var RefreshIcon = _ref29 => {
|
|
905
993
|
var {
|
|
906
994
|
size = 24,
|
|
907
995
|
color = 'currentColor',
|
|
908
996
|
strokeWidth = 1,
|
|
909
997
|
filled = false
|
|
910
|
-
} =
|
|
911
|
-
props = _objectWithoutPropertiesLoose(
|
|
998
|
+
} = _ref29,
|
|
999
|
+
props = _objectWithoutPropertiesLoose(_ref29, _excluded29);
|
|
912
1000
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
913
1001
|
size: size,
|
|
914
1002
|
color: color
|
|
@@ -922,14 +1010,14 @@ var RefreshIcon = _ref26 => {
|
|
|
922
1010
|
d: "M20.49 15a9 9 0 1 1-2.13-9.36L23 10"
|
|
923
1011
|
})));
|
|
924
1012
|
};
|
|
925
|
-
var PrintIcon =
|
|
1013
|
+
var PrintIcon = _ref30 => {
|
|
926
1014
|
var {
|
|
927
1015
|
size = 24,
|
|
928
1016
|
color = 'currentColor',
|
|
929
1017
|
filled = true,
|
|
930
1018
|
strokeWidth = 1
|
|
931
|
-
} =
|
|
932
|
-
props = _objectWithoutPropertiesLoose(
|
|
1019
|
+
} = _ref30,
|
|
1020
|
+
props = _objectWithoutPropertiesLoose(_ref30, _excluded30);
|
|
933
1021
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
934
1022
|
size: size,
|
|
935
1023
|
color: color
|
|
@@ -942,14 +1030,14 @@ var PrintIcon = _ref27 => {
|
|
|
942
1030
|
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"
|
|
943
1031
|
})));
|
|
944
1032
|
};
|
|
945
|
-
var PanelIcon =
|
|
1033
|
+
var PanelIcon = _ref31 => {
|
|
946
1034
|
var {
|
|
947
1035
|
size = 24,
|
|
948
1036
|
color = 'currentColor',
|
|
949
1037
|
strokeWidth = 1,
|
|
950
1038
|
filled = false
|
|
951
|
-
} =
|
|
952
|
-
props = _objectWithoutPropertiesLoose(
|
|
1039
|
+
} = _ref31,
|
|
1040
|
+
props = _objectWithoutPropertiesLoose(_ref31, _excluded31);
|
|
953
1041
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
954
1042
|
size: size,
|
|
955
1043
|
color: color
|
|
@@ -1013,14 +1101,14 @@ var PanelIcon = _ref28 => {
|
|
|
1013
1101
|
y2: "16"
|
|
1014
1102
|
})));
|
|
1015
1103
|
};
|
|
1016
|
-
var FilterIcon =
|
|
1104
|
+
var FilterIcon = _ref32 => {
|
|
1017
1105
|
var {
|
|
1018
1106
|
size = 24,
|
|
1019
1107
|
color = 'currentColor',
|
|
1020
1108
|
filled = false,
|
|
1021
1109
|
strokeWidth = 1
|
|
1022
|
-
} =
|
|
1023
|
-
props = _objectWithoutPropertiesLoose(
|
|
1110
|
+
} = _ref32,
|
|
1111
|
+
props = _objectWithoutPropertiesLoose(_ref32, _excluded32);
|
|
1024
1112
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1025
1113
|
size: size,
|
|
1026
1114
|
color: color
|
|
@@ -1032,14 +1120,14 @@ var FilterIcon = _ref29 => {
|
|
|
1032
1120
|
d: "M3 4h18l-7 10v5l-4 2v-7L3 4z"
|
|
1033
1121
|
})));
|
|
1034
1122
|
};
|
|
1035
|
-
var HomeIcon =
|
|
1123
|
+
var HomeIcon = _ref33 => {
|
|
1036
1124
|
var {
|
|
1037
1125
|
size = 24,
|
|
1038
1126
|
color = 'currentColor',
|
|
1039
1127
|
filled = true,
|
|
1040
1128
|
strokeWidth = 1
|
|
1041
|
-
} =
|
|
1042
|
-
props = _objectWithoutPropertiesLoose(
|
|
1129
|
+
} = _ref33,
|
|
1130
|
+
props = _objectWithoutPropertiesLoose(_ref33, _excluded33);
|
|
1043
1131
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1044
1132
|
size: size,
|
|
1045
1133
|
color: color
|
|
@@ -1051,14 +1139,14 @@ var HomeIcon = _ref30 => {
|
|
|
1051
1139
|
d: "M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z"
|
|
1052
1140
|
})));
|
|
1053
1141
|
};
|
|
1054
|
-
var LocationIcon =
|
|
1142
|
+
var LocationIcon = _ref34 => {
|
|
1055
1143
|
var {
|
|
1056
1144
|
size = 24,
|
|
1057
1145
|
color = 'currentColor',
|
|
1058
1146
|
filled = true,
|
|
1059
1147
|
strokeWidth = 1
|
|
1060
|
-
} =
|
|
1061
|
-
props = _objectWithoutPropertiesLoose(
|
|
1148
|
+
} = _ref34,
|
|
1149
|
+
props = _objectWithoutPropertiesLoose(_ref34, _excluded34);
|
|
1062
1150
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1063
1151
|
size: size,
|
|
1064
1152
|
color: color
|
|
@@ -1070,14 +1158,14 @@ var LocationIcon = _ref31 => {
|
|
|
1070
1158
|
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"
|
|
1071
1159
|
})));
|
|
1072
1160
|
};
|
|
1073
|
-
var LockIcon =
|
|
1161
|
+
var LockIcon = _ref35 => {
|
|
1074
1162
|
var {
|
|
1075
1163
|
size = 24,
|
|
1076
1164
|
color = 'currentColor',
|
|
1077
1165
|
filled = false,
|
|
1078
1166
|
strokeWidth = 1
|
|
1079
|
-
} =
|
|
1080
|
-
props = _objectWithoutPropertiesLoose(
|
|
1167
|
+
} = _ref35,
|
|
1168
|
+
props = _objectWithoutPropertiesLoose(_ref35, _excluded35);
|
|
1081
1169
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1082
1170
|
size: size,
|
|
1083
1171
|
color: color
|
|
@@ -1096,14 +1184,14 @@ var LockIcon = _ref32 => {
|
|
|
1096
1184
|
d: "M7 11V7a5 5 0 0 1 10 0v4"
|
|
1097
1185
|
})));
|
|
1098
1186
|
};
|
|
1099
|
-
var MicrophoneIcon =
|
|
1187
|
+
var MicrophoneIcon = _ref36 => {
|
|
1100
1188
|
var {
|
|
1101
1189
|
size = 24,
|
|
1102
1190
|
color = 'currentColor',
|
|
1103
1191
|
filled = false,
|
|
1104
1192
|
strokeWidth = 1
|
|
1105
|
-
} =
|
|
1106
|
-
props = _objectWithoutPropertiesLoose(
|
|
1193
|
+
} = _ref36,
|
|
1194
|
+
props = _objectWithoutPropertiesLoose(_ref36, _excluded36);
|
|
1107
1195
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1108
1196
|
size: size,
|
|
1109
1197
|
color: color
|
|
@@ -1129,14 +1217,14 @@ var MicrophoneIcon = _ref33 => {
|
|
|
1129
1217
|
y2: "23"
|
|
1130
1218
|
})));
|
|
1131
1219
|
};
|
|
1132
|
-
var MoonIcon =
|
|
1220
|
+
var MoonIcon = _ref37 => {
|
|
1133
1221
|
var {
|
|
1134
1222
|
size = 24,
|
|
1135
1223
|
color = 'currentColor',
|
|
1136
1224
|
filled = true,
|
|
1137
1225
|
strokeWidth = 1
|
|
1138
|
-
} =
|
|
1139
|
-
props = _objectWithoutPropertiesLoose(
|
|
1226
|
+
} = _ref37,
|
|
1227
|
+
props = _objectWithoutPropertiesLoose(_ref37, _excluded37);
|
|
1140
1228
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1141
1229
|
size: size,
|
|
1142
1230
|
color: color
|
|
@@ -1148,14 +1236,14 @@ var MoonIcon = _ref34 => {
|
|
|
1148
1236
|
d: "M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"
|
|
1149
1237
|
})));
|
|
1150
1238
|
};
|
|
1151
|
-
var NotificationIcon =
|
|
1239
|
+
var NotificationIcon = _ref38 => {
|
|
1152
1240
|
var {
|
|
1153
1241
|
size = 24,
|
|
1154
1242
|
color = 'currentColor',
|
|
1155
1243
|
filled = false,
|
|
1156
1244
|
strokeWidth = 1
|
|
1157
|
-
} =
|
|
1158
|
-
props = _objectWithoutPropertiesLoose(
|
|
1245
|
+
} = _ref38,
|
|
1246
|
+
props = _objectWithoutPropertiesLoose(_ref38, _excluded38);
|
|
1159
1247
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1160
1248
|
size: size,
|
|
1161
1249
|
color: color
|
|
@@ -1169,14 +1257,14 @@ var NotificationIcon = _ref35 => {
|
|
|
1169
1257
|
d: "M13.73 21a2 2 0 0 1-3.46 0"
|
|
1170
1258
|
})));
|
|
1171
1259
|
};
|
|
1172
|
-
var OpenEyeIcon =
|
|
1260
|
+
var OpenEyeIcon = _ref39 => {
|
|
1173
1261
|
var {
|
|
1174
1262
|
size = 24,
|
|
1175
1263
|
color = 'currentColor',
|
|
1176
1264
|
filled = true,
|
|
1177
1265
|
strokeWidth = 1
|
|
1178
|
-
} =
|
|
1179
|
-
props = _objectWithoutPropertiesLoose(
|
|
1266
|
+
} = _ref39,
|
|
1267
|
+
props = _objectWithoutPropertiesLoose(_ref39, _excluded39);
|
|
1180
1268
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1181
1269
|
size: size,
|
|
1182
1270
|
color: color
|
|
@@ -1188,14 +1276,14 @@ var OpenEyeIcon = _ref36 => {
|
|
|
1188
1276
|
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"
|
|
1189
1277
|
})));
|
|
1190
1278
|
};
|
|
1191
|
-
var ProfileIcon =
|
|
1279
|
+
var ProfileIcon = _ref40 => {
|
|
1192
1280
|
var {
|
|
1193
1281
|
size = 24,
|
|
1194
1282
|
color = 'currentColor',
|
|
1195
1283
|
filled = true,
|
|
1196
1284
|
strokeWidth = 1
|
|
1197
|
-
} =
|
|
1198
|
-
props = _objectWithoutPropertiesLoose(
|
|
1285
|
+
} = _ref40,
|
|
1286
|
+
props = _objectWithoutPropertiesLoose(_ref40, _excluded40);
|
|
1199
1287
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1200
1288
|
size: size,
|
|
1201
1289
|
color: color
|
|
@@ -1208,14 +1296,14 @@ var ProfileIcon = _ref37 => {
|
|
|
1208
1296
|
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"
|
|
1209
1297
|
}), ' '));
|
|
1210
1298
|
};
|
|
1211
|
-
var SettingsIcon =
|
|
1299
|
+
var SettingsIcon = _ref41 => {
|
|
1212
1300
|
var {
|
|
1213
1301
|
size = 24,
|
|
1214
1302
|
color = 'currentColor',
|
|
1215
1303
|
filled = false,
|
|
1216
1304
|
strokeWidth = 1
|
|
1217
|
-
} =
|
|
1218
|
-
props = _objectWithoutPropertiesLoose(
|
|
1305
|
+
} = _ref41,
|
|
1306
|
+
props = _objectWithoutPropertiesLoose(_ref41, _excluded41);
|
|
1219
1307
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1220
1308
|
size: size,
|
|
1221
1309
|
color: color
|
|
@@ -1227,14 +1315,14 @@ var SettingsIcon = _ref38 => {
|
|
|
1227
1315
|
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"
|
|
1228
1316
|
})));
|
|
1229
1317
|
};
|
|
1230
|
-
var SuccessIcon =
|
|
1318
|
+
var SuccessIcon = _ref42 => {
|
|
1231
1319
|
var {
|
|
1232
1320
|
size = 24,
|
|
1233
1321
|
color = 'currentColor',
|
|
1234
1322
|
filled = true,
|
|
1235
1323
|
strokeWidth = 1
|
|
1236
|
-
} =
|
|
1237
|
-
props = _objectWithoutPropertiesLoose(
|
|
1324
|
+
} = _ref42,
|
|
1325
|
+
props = _objectWithoutPropertiesLoose(_ref42, _excluded42);
|
|
1238
1326
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1239
1327
|
size: size,
|
|
1240
1328
|
color: color
|
|
@@ -1246,14 +1334,14 @@ var SuccessIcon = _ref39 => {
|
|
|
1246
1334
|
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"
|
|
1247
1335
|
})));
|
|
1248
1336
|
};
|
|
1249
|
-
var UnLikeIcon =
|
|
1337
|
+
var UnLikeIcon = _ref43 => {
|
|
1250
1338
|
var {
|
|
1251
1339
|
size = 24,
|
|
1252
1340
|
color = 'currentColor',
|
|
1253
1341
|
filled = true,
|
|
1254
1342
|
strokeWidth = 1
|
|
1255
|
-
} =
|
|
1256
|
-
props = _objectWithoutPropertiesLoose(
|
|
1343
|
+
} = _ref43,
|
|
1344
|
+
props = _objectWithoutPropertiesLoose(_ref43, _excluded43);
|
|
1257
1345
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1258
1346
|
size: size,
|
|
1259
1347
|
color: color
|
|
@@ -1265,14 +1353,14 @@ var UnLikeIcon = _ref40 => {
|
|
|
1265
1353
|
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"
|
|
1266
1354
|
})));
|
|
1267
1355
|
};
|
|
1268
|
-
var ClockIcon =
|
|
1356
|
+
var ClockIcon = _ref44 => {
|
|
1269
1357
|
var {
|
|
1270
1358
|
size = 24,
|
|
1271
1359
|
color = 'currentColor',
|
|
1272
1360
|
strokeWidth = 1,
|
|
1273
1361
|
filled = false
|
|
1274
|
-
} =
|
|
1275
|
-
props = _objectWithoutPropertiesLoose(
|
|
1362
|
+
} = _ref44,
|
|
1363
|
+
props = _objectWithoutPropertiesLoose(_ref44, _excluded44);
|
|
1276
1364
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1277
1365
|
size: size,
|
|
1278
1366
|
color: color
|
|
@@ -1288,14 +1376,14 @@ var ClockIcon = _ref41 => {
|
|
|
1288
1376
|
points: "12 6 12 12 16 14"
|
|
1289
1377
|
})));
|
|
1290
1378
|
};
|
|
1291
|
-
var CameraIcon =
|
|
1379
|
+
var CameraIcon = _ref45 => {
|
|
1292
1380
|
var {
|
|
1293
1381
|
size = 24,
|
|
1294
1382
|
color = 'currentColor',
|
|
1295
1383
|
strokeWidth = 1,
|
|
1296
1384
|
filled = false
|
|
1297
|
-
} =
|
|
1298
|
-
props = _objectWithoutPropertiesLoose(
|
|
1385
|
+
} = _ref45,
|
|
1386
|
+
props = _objectWithoutPropertiesLoose(_ref45, _excluded45);
|
|
1299
1387
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1300
1388
|
size: size,
|
|
1301
1389
|
color: color
|
|
@@ -1311,14 +1399,14 @@ var CameraIcon = _ref42 => {
|
|
|
1311
1399
|
r: "4"
|
|
1312
1400
|
})));
|
|
1313
1401
|
};
|
|
1314
|
-
var BluetoothIcon =
|
|
1402
|
+
var BluetoothIcon = _ref46 => {
|
|
1315
1403
|
var {
|
|
1316
1404
|
size = 24,
|
|
1317
1405
|
color = 'currentColor',
|
|
1318
1406
|
filled = true,
|
|
1319
1407
|
strokeWidth = 1
|
|
1320
|
-
} =
|
|
1321
|
-
props = _objectWithoutPropertiesLoose(
|
|
1408
|
+
} = _ref46,
|
|
1409
|
+
props = _objectWithoutPropertiesLoose(_ref46, _excluded46);
|
|
1322
1410
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1323
1411
|
size: size,
|
|
1324
1412
|
color: color
|
|
@@ -1330,14 +1418,14 @@ var BluetoothIcon = _ref43 => {
|
|
|
1330
1418
|
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"
|
|
1331
1419
|
})));
|
|
1332
1420
|
};
|
|
1333
|
-
var LikeIcon =
|
|
1421
|
+
var LikeIcon = _ref47 => {
|
|
1334
1422
|
var {
|
|
1335
1423
|
size = 24,
|
|
1336
1424
|
color = 'currentColor',
|
|
1337
1425
|
filled = true,
|
|
1338
1426
|
strokeWidth = 1
|
|
1339
|
-
} =
|
|
1340
|
-
props = _objectWithoutPropertiesLoose(
|
|
1427
|
+
} = _ref47,
|
|
1428
|
+
props = _objectWithoutPropertiesLoose(_ref47, _excluded47);
|
|
1341
1429
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1342
1430
|
size: size,
|
|
1343
1431
|
color: color
|
|
@@ -1349,14 +1437,14 @@ var LikeIcon = _ref44 => {
|
|
|
1349
1437
|
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"
|
|
1350
1438
|
})));
|
|
1351
1439
|
};
|
|
1352
|
-
var UnlockIcon =
|
|
1440
|
+
var UnlockIcon = _ref48 => {
|
|
1353
1441
|
var {
|
|
1354
1442
|
size = 24,
|
|
1355
1443
|
color = 'currentColor',
|
|
1356
1444
|
filled = false,
|
|
1357
1445
|
strokeWidth = 1
|
|
1358
|
-
} =
|
|
1359
|
-
props = _objectWithoutPropertiesLoose(
|
|
1446
|
+
} = _ref48,
|
|
1447
|
+
props = _objectWithoutPropertiesLoose(_ref48, _excluded48);
|
|
1360
1448
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1361
1449
|
size: size,
|
|
1362
1450
|
color: color
|
|
@@ -1375,14 +1463,14 @@ var UnlockIcon = _ref45 => {
|
|
|
1375
1463
|
d: "M7 11V7a5 5 0 0 1 9.9-1"
|
|
1376
1464
|
})));
|
|
1377
1465
|
};
|
|
1378
|
-
var WifiIcon =
|
|
1466
|
+
var WifiIcon = _ref49 => {
|
|
1379
1467
|
var {
|
|
1380
1468
|
size = 24,
|
|
1381
1469
|
color = 'currentColor',
|
|
1382
1470
|
filled = false,
|
|
1383
1471
|
strokeWidth = 1
|
|
1384
|
-
} =
|
|
1385
|
-
props = _objectWithoutPropertiesLoose(
|
|
1472
|
+
} = _ref49,
|
|
1473
|
+
props = _objectWithoutPropertiesLoose(_ref49, _excluded49);
|
|
1386
1474
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1387
1475
|
size: size,
|
|
1388
1476
|
color: color
|
|
@@ -1394,14 +1482,14 @@ var WifiIcon = _ref46 => {
|
|
|
1394
1482
|
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"
|
|
1395
1483
|
})));
|
|
1396
1484
|
};
|
|
1397
|
-
var UploadIcon =
|
|
1485
|
+
var UploadIcon = _ref50 => {
|
|
1398
1486
|
var {
|
|
1399
1487
|
size = 24,
|
|
1400
1488
|
color = 'currentColor',
|
|
1401
1489
|
filled = false,
|
|
1402
1490
|
strokeWidth = 1
|
|
1403
|
-
} =
|
|
1404
|
-
props = _objectWithoutPropertiesLoose(
|
|
1491
|
+
} = _ref50,
|
|
1492
|
+
props = _objectWithoutPropertiesLoose(_ref50, _excluded50);
|
|
1405
1493
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1406
1494
|
size: size,
|
|
1407
1495
|
color: color
|
|
@@ -1417,14 +1505,14 @@ var UploadIcon = _ref47 => {
|
|
|
1417
1505
|
d: "M12 12l0 9"
|
|
1418
1506
|
})));
|
|
1419
1507
|
};
|
|
1420
|
-
var SearchIcon =
|
|
1508
|
+
var SearchIcon = _ref51 => {
|
|
1421
1509
|
var {
|
|
1422
1510
|
size = 24,
|
|
1423
1511
|
color = 'currentColor',
|
|
1424
1512
|
filled = true,
|
|
1425
1513
|
strokeWidth = 1
|
|
1426
|
-
} =
|
|
1427
|
-
props = _objectWithoutPropertiesLoose(
|
|
1514
|
+
} = _ref51,
|
|
1515
|
+
props = _objectWithoutPropertiesLoose(_ref51, _excluded51);
|
|
1428
1516
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1429
1517
|
size: size,
|
|
1430
1518
|
color: color
|
|
@@ -1436,14 +1524,14 @@ var SearchIcon = _ref48 => {
|
|
|
1436
1524
|
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"
|
|
1437
1525
|
})));
|
|
1438
1526
|
};
|
|
1439
|
-
var CloseEyeIcon =
|
|
1527
|
+
var CloseEyeIcon = _ref52 => {
|
|
1440
1528
|
var {
|
|
1441
1529
|
size = 24,
|
|
1442
1530
|
color = 'currentColor',
|
|
1443
1531
|
filled = true,
|
|
1444
1532
|
strokeWidth = 1
|
|
1445
|
-
} =
|
|
1446
|
-
props = _objectWithoutPropertiesLoose(
|
|
1533
|
+
} = _ref52,
|
|
1534
|
+
props = _objectWithoutPropertiesLoose(_ref52, _excluded52);
|
|
1447
1535
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1448
1536
|
size: size,
|
|
1449
1537
|
color: color
|
|
@@ -1456,14 +1544,14 @@ var CloseEyeIcon = _ref49 => {
|
|
|
1456
1544
|
fill: "currentColor"
|
|
1457
1545
|
})));
|
|
1458
1546
|
};
|
|
1459
|
-
var ExternalLinkIcon =
|
|
1547
|
+
var ExternalLinkIcon = _ref53 => {
|
|
1460
1548
|
var {
|
|
1461
1549
|
size = 24,
|
|
1462
1550
|
color = 'currentColor',
|
|
1463
1551
|
filled = true,
|
|
1464
1552
|
strokeWidth = 1
|
|
1465
|
-
} =
|
|
1466
|
-
props = _objectWithoutPropertiesLoose(
|
|
1553
|
+
} = _ref53,
|
|
1554
|
+
props = _objectWithoutPropertiesLoose(_ref53, _excluded53);
|
|
1467
1555
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1468
1556
|
size: size,
|
|
1469
1557
|
color: color
|
|
@@ -1475,14 +1563,14 @@ var ExternalLinkIcon = _ref50 => {
|
|
|
1475
1563
|
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"
|
|
1476
1564
|
})));
|
|
1477
1565
|
};
|
|
1478
|
-
var PlusIcon =
|
|
1566
|
+
var PlusIcon = _ref54 => {
|
|
1479
1567
|
var {
|
|
1480
1568
|
size = 24,
|
|
1481
1569
|
color = 'currentColor',
|
|
1482
1570
|
filled = false,
|
|
1483
1571
|
strokeWidth = 1
|
|
1484
|
-
} =
|
|
1485
|
-
props = _objectWithoutPropertiesLoose(
|
|
1572
|
+
} = _ref54,
|
|
1573
|
+
props = _objectWithoutPropertiesLoose(_ref54, _excluded54);
|
|
1486
1574
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1487
1575
|
size: size,
|
|
1488
1576
|
color: color
|
|
@@ -1504,14 +1592,14 @@ var PlusIcon = _ref51 => {
|
|
|
1504
1592
|
y2: "12"
|
|
1505
1593
|
})));
|
|
1506
1594
|
};
|
|
1507
|
-
var TickIcon =
|
|
1595
|
+
var TickIcon = _ref55 => {
|
|
1508
1596
|
var {
|
|
1509
1597
|
size = 24,
|
|
1510
1598
|
color = 'currentColor',
|
|
1511
1599
|
filled = false,
|
|
1512
1600
|
strokeWidth = 1
|
|
1513
|
-
} =
|
|
1514
|
-
props = _objectWithoutPropertiesLoose(
|
|
1601
|
+
} = _ref55,
|
|
1602
|
+
props = _objectWithoutPropertiesLoose(_ref55, _excluded55);
|
|
1515
1603
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1516
1604
|
size: size,
|
|
1517
1605
|
color: color
|
|
@@ -1525,14 +1613,14 @@ var TickIcon = _ref52 => {
|
|
|
1525
1613
|
strokeLinejoin: "round"
|
|
1526
1614
|
})));
|
|
1527
1615
|
};
|
|
1528
|
-
var BoldArrowIcon =
|
|
1616
|
+
var BoldArrowIcon = _ref56 => {
|
|
1529
1617
|
var {
|
|
1530
1618
|
size = 24,
|
|
1531
1619
|
color = 'currentColor',
|
|
1532
1620
|
filled = true,
|
|
1533
1621
|
strokeWidth = 1
|
|
1534
|
-
} =
|
|
1535
|
-
props = _objectWithoutPropertiesLoose(
|
|
1622
|
+
} = _ref56,
|
|
1623
|
+
props = _objectWithoutPropertiesLoose(_ref56, _excluded56);
|
|
1536
1624
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1537
1625
|
size: size,
|
|
1538
1626
|
color: color
|
|
@@ -1544,14 +1632,14 @@ var BoldArrowIcon = _ref53 => {
|
|
|
1544
1632
|
d: "M12 4l7 7h-4v7h-6v-7H5l7-7z"
|
|
1545
1633
|
})));
|
|
1546
1634
|
};
|
|
1547
|
-
var ArrowIcon =
|
|
1635
|
+
var ArrowIcon = _ref57 => {
|
|
1548
1636
|
var {
|
|
1549
1637
|
size = 24,
|
|
1550
1638
|
color = 'currentColor',
|
|
1551
1639
|
filled = false,
|
|
1552
1640
|
strokeWidth = 1
|
|
1553
|
-
} =
|
|
1554
|
-
props = _objectWithoutPropertiesLoose(
|
|
1641
|
+
} = _ref57,
|
|
1642
|
+
props = _objectWithoutPropertiesLoose(_ref57, _excluded57);
|
|
1555
1643
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1556
1644
|
size: size,
|
|
1557
1645
|
color: color
|
|
@@ -1569,14 +1657,14 @@ var ArrowIcon = _ref54 => {
|
|
|
1569
1657
|
points: "6 12 12 6 18 12"
|
|
1570
1658
|
})));
|
|
1571
1659
|
};
|
|
1572
|
-
var SpinnerIcon =
|
|
1660
|
+
var SpinnerIcon = _ref58 => {
|
|
1573
1661
|
var {
|
|
1574
1662
|
size = 24,
|
|
1575
1663
|
color = 'currentColor',
|
|
1576
1664
|
filled = false,
|
|
1577
1665
|
strokeWidth = 1
|
|
1578
|
-
} =
|
|
1579
|
-
props = _objectWithoutPropertiesLoose(
|
|
1666
|
+
} = _ref58,
|
|
1667
|
+
props = _objectWithoutPropertiesLoose(_ref58, _excluded58);
|
|
1580
1668
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1581
1669
|
size: size,
|
|
1582
1670
|
color: color
|
|
@@ -1594,14 +1682,14 @@ var SpinnerIcon = _ref55 => {
|
|
|
1594
1682
|
strokeOpacity: "1"
|
|
1595
1683
|
})));
|
|
1596
1684
|
};
|
|
1597
|
-
var CalendarIcon =
|
|
1685
|
+
var CalendarIcon = _ref59 => {
|
|
1598
1686
|
var {
|
|
1599
1687
|
size = 24,
|
|
1600
1688
|
color = 'currentColor',
|
|
1601
1689
|
strokeWidth = 1,
|
|
1602
1690
|
filled = false
|
|
1603
|
-
} =
|
|
1604
|
-
props = _objectWithoutPropertiesLoose(
|
|
1691
|
+
} = _ref59,
|
|
1692
|
+
props = _objectWithoutPropertiesLoose(_ref59, _excluded59);
|
|
1605
1693
|
return /*#__PURE__*/React__default.createElement(IconWrapper, Object.assign({
|
|
1606
1694
|
size: size,
|
|
1607
1695
|
color: color
|
|
@@ -1640,6 +1728,9 @@ var CalendarIcon = _ref56 => {
|
|
|
1640
1728
|
var Icon = {
|
|
1641
1729
|
__proto__: null,
|
|
1642
1730
|
ChevronIcon: ChevronIcon,
|
|
1731
|
+
DragHandleIcon: DragHandleIcon,
|
|
1732
|
+
TwitterIcon: TwitterIcon,
|
|
1733
|
+
XIcon: XIcon,
|
|
1643
1734
|
TwitchIcon: TwitchIcon,
|
|
1644
1735
|
CloseIcon: CloseIcon,
|
|
1645
1736
|
InstagramIcon: InstagramIcon,
|
|
@@ -7436,6 +7527,135 @@ var ToggleGroupComponent = _ref => {
|
|
|
7436
7527
|
// Expose the ToggleGroupComponent for import into other modules
|
|
7437
7528
|
var ToggleGroup = ToggleGroupComponent;
|
|
7438
7529
|
|
|
7530
|
+
var useDragAndDropState = _ref => {
|
|
7531
|
+
var {
|
|
7532
|
+
items: initialItems,
|
|
7533
|
+
onChange
|
|
7534
|
+
} = _ref;
|
|
7535
|
+
var [items, setItems] = React.useState(initialItems);
|
|
7536
|
+
var [draggedItem, setDraggedItem] = React.useState(null);
|
|
7537
|
+
var [draggedIndex, setDraggedIndex] = React.useState(null);
|
|
7538
|
+
var dragStartPosRef = React.useRef({
|
|
7539
|
+
x: 0,
|
|
7540
|
+
y: 0
|
|
7541
|
+
});
|
|
7542
|
+
var itemRefs = React.useRef([]);
|
|
7543
|
+
var handleDragStart = React.useCallback((e, index) => {
|
|
7544
|
+
e.preventDefault();
|
|
7545
|
+
document.body.style.cursor = 'grabbing';
|
|
7546
|
+
var clientX = 'touches' in e ? e.touches[0].clientX : e.clientX;
|
|
7547
|
+
var clientY = 'touches' in e ? e.touches[0].clientY : e.clientY;
|
|
7548
|
+
dragStartPosRef.current = {
|
|
7549
|
+
x: clientX,
|
|
7550
|
+
y: clientY
|
|
7551
|
+
};
|
|
7552
|
+
setDraggedIndex(index);
|
|
7553
|
+
setDraggedItem(items[index]);
|
|
7554
|
+
}, [items]);
|
|
7555
|
+
var handleDragMove = React.useCallback(e => {
|
|
7556
|
+
if (draggedIndex === null) return;
|
|
7557
|
+
var clientX = 'touches' in e ? e.touches[0].clientX : e.clientX;
|
|
7558
|
+
var clientY = 'touches' in e ? e.touches[0].clientY : e.clientY;
|
|
7559
|
+
var draggedElement = itemRefs.current[draggedIndex];
|
|
7560
|
+
if (!draggedElement) return;
|
|
7561
|
+
var offsetX = clientX - dragStartPosRef.current.x;
|
|
7562
|
+
var offsetY = clientY - dragStartPosRef.current.y;
|
|
7563
|
+
draggedElement.style.transform = "translate(" + offsetX + "px, " + offsetY + "px)";
|
|
7564
|
+
draggedElement.style.zIndex = '1000';
|
|
7565
|
+
// Find the item being hovered over
|
|
7566
|
+
var hoveredIndex = itemRefs.current.findIndex((itemRef, index) => {
|
|
7567
|
+
if (!itemRef || index === draggedIndex) return false;
|
|
7568
|
+
var rect = itemRef.getBoundingClientRect();
|
|
7569
|
+
return clientY >= rect.top && clientY <= rect.bottom;
|
|
7570
|
+
});
|
|
7571
|
+
if (hoveredIndex !== -1 && hoveredIndex !== draggedIndex) {
|
|
7572
|
+
var newItems = [...items];
|
|
7573
|
+
var [removed] = newItems.splice(draggedIndex, 1);
|
|
7574
|
+
newItems.splice(hoveredIndex, 0, removed);
|
|
7575
|
+
setItems(newItems);
|
|
7576
|
+
setDraggedIndex(hoveredIndex);
|
|
7577
|
+
onChange == null || onChange(newItems);
|
|
7578
|
+
dragStartPosRef.current = {
|
|
7579
|
+
x: clientX,
|
|
7580
|
+
y: clientY
|
|
7581
|
+
};
|
|
7582
|
+
}
|
|
7583
|
+
}, [draggedIndex, items, onChange]);
|
|
7584
|
+
var handleDragEnd = React.useCallback(() => {
|
|
7585
|
+
document.body.style.cursor = '';
|
|
7586
|
+
itemRefs.current.forEach(el => {
|
|
7587
|
+
if (el) {
|
|
7588
|
+
el.style.transform = '';
|
|
7589
|
+
el.style.zIndex = '';
|
|
7590
|
+
}
|
|
7591
|
+
});
|
|
7592
|
+
setDraggedIndex(null);
|
|
7593
|
+
setDraggedItem(null);
|
|
7594
|
+
}, [draggedIndex]);
|
|
7595
|
+
React.useEffect(() => {
|
|
7596
|
+
if (draggedIndex !== null) {
|
|
7597
|
+
window.addEventListener('mousemove', handleDragMove);
|
|
7598
|
+
window.addEventListener('touchmove', handleDragMove);
|
|
7599
|
+
window.addEventListener('mouseup', handleDragEnd);
|
|
7600
|
+
window.addEventListener('touchend', handleDragEnd);
|
|
7601
|
+
}
|
|
7602
|
+
return () => {
|
|
7603
|
+
window.removeEventListener('mousemove', handleDragMove);
|
|
7604
|
+
window.removeEventListener('touchmove', handleDragMove);
|
|
7605
|
+
window.removeEventListener('mouseup', handleDragEnd);
|
|
7606
|
+
window.removeEventListener('touchend', handleDragEnd);
|
|
7607
|
+
};
|
|
7608
|
+
}, [draggedIndex, handleDragMove, handleDragEnd]);
|
|
7609
|
+
return {
|
|
7610
|
+
items,
|
|
7611
|
+
draggedItem,
|
|
7612
|
+
draggedIndex,
|
|
7613
|
+
itemRefs,
|
|
7614
|
+
handleDragStart
|
|
7615
|
+
};
|
|
7616
|
+
};
|
|
7617
|
+
|
|
7618
|
+
var DragAndDropView = _ref => {
|
|
7619
|
+
var {
|
|
7620
|
+
items,
|
|
7621
|
+
renderItem,
|
|
7622
|
+
containerProps,
|
|
7623
|
+
itemProps,
|
|
7624
|
+
draggedIndex,
|
|
7625
|
+
itemRefs,
|
|
7626
|
+
handleDragStart
|
|
7627
|
+
} = _ref;
|
|
7628
|
+
return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
7629
|
+
overflow: "hidden",
|
|
7630
|
+
position: "relative"
|
|
7631
|
+
}, containerProps), items.map((item, index) => (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
7632
|
+
key: index,
|
|
7633
|
+
ref: el => itemRefs.current[index] = el,
|
|
7634
|
+
onMouseDown: e => handleDragStart(e, index),
|
|
7635
|
+
onTouchStart: e => handleDragStart(e, index),
|
|
7636
|
+
position: "relative",
|
|
7637
|
+
cursor: "grab",
|
|
7638
|
+
transition: "transform 0.2s",
|
|
7639
|
+
backgroundColor: draggedIndex === index ? 'color.gray.100' : 'transparent'
|
|
7640
|
+
}, itemProps), renderItem ? renderItem(item, index) : item))));
|
|
7641
|
+
};
|
|
7642
|
+
|
|
7643
|
+
var DragAndDropComponent = props => {
|
|
7644
|
+
var {
|
|
7645
|
+
items,
|
|
7646
|
+
draggedIndex,
|
|
7647
|
+
itemRefs,
|
|
7648
|
+
handleDragStart
|
|
7649
|
+
} = useDragAndDropState(props);
|
|
7650
|
+
return /*#__PURE__*/React__default.createElement(DragAndDropView, Object.assign({}, props, {
|
|
7651
|
+
items: items,
|
|
7652
|
+
draggedIndex: draggedIndex,
|
|
7653
|
+
itemRefs: itemRefs,
|
|
7654
|
+
handleDragStart: handleDragStart
|
|
7655
|
+
}));
|
|
7656
|
+
};
|
|
7657
|
+
var DragAndDrop = DragAndDropComponent;
|
|
7658
|
+
|
|
7439
7659
|
exports.Alert = Alert;
|
|
7440
7660
|
exports.ArrowIcon = ArrowIcon;
|
|
7441
7661
|
exports.AspectRatio = AspectRatio;
|
|
@@ -7462,6 +7682,9 @@ exports.CopyIcon = CopyIcon;
|
|
|
7462
7682
|
exports.CountryPicker = CountryPicker;
|
|
7463
7683
|
exports.DatePicker = DatePicker;
|
|
7464
7684
|
exports.DownloadIcon = DownloadIcon;
|
|
7685
|
+
exports.DragAndDrop = DragAndDrop;
|
|
7686
|
+
exports.DragAndDropComponent = DragAndDropComponent;
|
|
7687
|
+
exports.DragHandleIcon = DragHandleIcon;
|
|
7465
7688
|
exports.DustBinIcon = DustBinIcon;
|
|
7466
7689
|
exports.EditIcon = EditIcon;
|
|
7467
7690
|
exports.ErrorIcon = ErrorIcon;
|
|
@@ -7531,6 +7754,7 @@ exports.Toggle = Toggle;
|
|
|
7531
7754
|
exports.ToggleGroup = ToggleGroup;
|
|
7532
7755
|
exports.Top = Top;
|
|
7533
7756
|
exports.TwitchIcon = TwitchIcon;
|
|
7757
|
+
exports.TwitterIcon = TwitterIcon;
|
|
7534
7758
|
exports.UnLikeIcon = UnLikeIcon;
|
|
7535
7759
|
exports.UnlockIcon = UnlockIcon;
|
|
7536
7760
|
exports.UploadIcon = UploadIcon;
|
|
@@ -7539,6 +7763,7 @@ exports.VerticalBase = VerticalBase;
|
|
|
7539
7763
|
exports.View = View;
|
|
7540
7764
|
exports.WarningIcon = WarningIcon;
|
|
7541
7765
|
exports.WifiIcon = WifiIcon;
|
|
7766
|
+
exports.XIcon = XIcon;
|
|
7542
7767
|
exports.YoutubeIcon = YoutubeIcon;
|
|
7543
7768
|
exports.hideMessage = hideMessage;
|
|
7544
7769
|
exports.hideModal = hideModal;
|