@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
package/dist/web.esm.js
CHANGED
|
@@ -237,16 +237,16 @@ var _excluded$4 = ["size", "color", "transform", "orientation", "children"],
|
|
|
237
237
|
_excluded19 = ["size", "color", "filled", "strokeWidth"],
|
|
238
238
|
_excluded20 = ["size", "color", "filled", "strokeWidth"],
|
|
239
239
|
_excluded21 = ["size", "color", "filled", "strokeWidth"],
|
|
240
|
-
_excluded22 = ["size", "color", "
|
|
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", "
|
|
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
248
|
_excluded30 = ["size", "color", "filled", "strokeWidth"],
|
|
249
|
-
_excluded31 = ["size", "color", "
|
|
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"],
|
|
@@ -256,11 +256,11 @@ var _excluded$4 = ["size", "color", "transform", "orientation", "children"],
|
|
|
256
256
|
_excluded38 = ["size", "color", "filled", "strokeWidth"],
|
|
257
257
|
_excluded39 = ["size", "color", "filled", "strokeWidth"],
|
|
258
258
|
_excluded40 = ["size", "color", "filled", "strokeWidth"],
|
|
259
|
-
_excluded41 = ["size", "color", "
|
|
260
|
-
_excluded42 = ["size", "color", "
|
|
259
|
+
_excluded41 = ["size", "color", "filled", "strokeWidth"],
|
|
260
|
+
_excluded42 = ["size", "color", "filled", "strokeWidth"],
|
|
261
261
|
_excluded43 = ["size", "color", "filled", "strokeWidth"],
|
|
262
|
-
_excluded44 = ["size", "color", "
|
|
263
|
-
_excluded45 = ["size", "color", "
|
|
262
|
+
_excluded44 = ["size", "color", "strokeWidth", "filled"],
|
|
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"],
|
|
@@ -271,7 +271,10 @@ var _excluded$4 = ["size", "color", "transform", "orientation", "children"],
|
|
|
271
271
|
_excluded53 = ["size", "color", "filled", "strokeWidth"],
|
|
272
272
|
_excluded54 = ["size", "color", "filled", "strokeWidth"],
|
|
273
273
|
_excluded55 = ["size", "color", "filled", "strokeWidth"],
|
|
274
|
-
_excluded56 = ["size", "color", "
|
|
274
|
+
_excluded56 = ["size", "color", "filled", "strokeWidth"],
|
|
275
|
+
_excluded57 = ["size", "color", "filled", "strokeWidth"],
|
|
276
|
+
_excluded58 = ["size", "color", "filled", "strokeWidth"],
|
|
277
|
+
_excluded59 = ["size", "color", "strokeWidth", "filled"];
|
|
275
278
|
// Default wrapper component for consistent sizing and styling
|
|
276
279
|
var IconWrapper = _ref => {
|
|
277
280
|
var {
|
|
@@ -320,8 +323,7 @@ var ChevronIcon = _ref2 => {
|
|
|
320
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"
|
|
321
324
|
})));
|
|
322
325
|
};
|
|
323
|
-
|
|
324
|
-
var TwitchIcon = _ref3 => {
|
|
326
|
+
var DragHandleIcon = _ref3 => {
|
|
325
327
|
var {
|
|
326
328
|
size = 24,
|
|
327
329
|
color = 'currentColor',
|
|
@@ -336,6 +338,92 @@ var TwitchIcon = _ref3 => {
|
|
|
336
338
|
viewBox: "0 0 24 24",
|
|
337
339
|
"aria-hidden": "true",
|
|
338
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"
|
|
382
|
+
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React.createElement("path", {
|
|
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",
|
|
384
|
+
fill: filled ? color : 'none',
|
|
385
|
+
stroke: filled ? 'none' : color,
|
|
386
|
+
strokeWidth: filled ? 0 : strokeWidth
|
|
387
|
+
})));
|
|
388
|
+
};
|
|
389
|
+
var XIcon = _ref5 => {
|
|
390
|
+
var {
|
|
391
|
+
size = 24,
|
|
392
|
+
color = 'currentColor',
|
|
393
|
+
filled = true,
|
|
394
|
+
strokeWidth = 1
|
|
395
|
+
} = _ref5,
|
|
396
|
+
props = _objectWithoutPropertiesLoose(_ref5, _excluded5);
|
|
397
|
+
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
398
|
+
size: size,
|
|
399
|
+
color: color
|
|
400
|
+
}, props), /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
401
|
+
viewBox: "0 0 24 24",
|
|
402
|
+
"aria-hidden": "true",
|
|
403
|
+
focusable: "false"
|
|
404
|
+
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React.createElement("path", {
|
|
405
|
+
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",
|
|
406
|
+
fill: filled ? color : 'none',
|
|
407
|
+
stroke: color,
|
|
408
|
+
strokeWidth: strokeWidth
|
|
409
|
+
})));
|
|
410
|
+
};
|
|
411
|
+
// Example of a Twitch Icon
|
|
412
|
+
var TwitchIcon = _ref6 => {
|
|
413
|
+
var {
|
|
414
|
+
size = 24,
|
|
415
|
+
color = 'currentColor',
|
|
416
|
+
filled = true,
|
|
417
|
+
strokeWidth = 1
|
|
418
|
+
} = _ref6,
|
|
419
|
+
props = _objectWithoutPropertiesLoose(_ref6, _excluded6);
|
|
420
|
+
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
421
|
+
size: size,
|
|
422
|
+
color: color
|
|
423
|
+
}, props), /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
424
|
+
viewBox: "0 0 24 24",
|
|
425
|
+
"aria-hidden": "true",
|
|
426
|
+
focusable: "false"
|
|
339
427
|
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React.createElement("path", {
|
|
340
428
|
d: "M2 2v16h5v4l4-4h5l6-6V2H2zm18 10-3 3h-5l-3 3v-3H4V4h16v8z",
|
|
341
429
|
fill: filled ? color : 'none',
|
|
@@ -349,14 +437,14 @@ var TwitchIcon = _ref3 => {
|
|
|
349
437
|
})));
|
|
350
438
|
};
|
|
351
439
|
// Example of another Icon: CloseIcon
|
|
352
|
-
var CloseIcon =
|
|
440
|
+
var CloseIcon = _ref7 => {
|
|
353
441
|
var {
|
|
354
442
|
size = 24,
|
|
355
443
|
color = 'currentColor',
|
|
356
444
|
filled = false,
|
|
357
445
|
strokeWidth = 1
|
|
358
|
-
} =
|
|
359
|
-
props = _objectWithoutPropertiesLoose(
|
|
446
|
+
} = _ref7,
|
|
447
|
+
props = _objectWithoutPropertiesLoose(_ref7, _excluded7);
|
|
360
448
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
361
449
|
size: size,
|
|
362
450
|
color: color
|
|
@@ -378,14 +466,14 @@ var CloseIcon = _ref4 => {
|
|
|
378
466
|
y2: "18"
|
|
379
467
|
})));
|
|
380
468
|
};
|
|
381
|
-
var InstagramIcon =
|
|
469
|
+
var InstagramIcon = _ref8 => {
|
|
382
470
|
var {
|
|
383
471
|
size = 24,
|
|
384
472
|
color = 'currentColor',
|
|
385
473
|
filled = false,
|
|
386
474
|
strokeWidth = 1
|
|
387
|
-
} =
|
|
388
|
-
props = _objectWithoutPropertiesLoose(
|
|
475
|
+
} = _ref8,
|
|
476
|
+
props = _objectWithoutPropertiesLoose(_ref8, _excluded8);
|
|
389
477
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
390
478
|
size: size,
|
|
391
479
|
color: color
|
|
@@ -409,14 +497,14 @@ var InstagramIcon = _ref5 => {
|
|
|
409
497
|
y2: "6.5"
|
|
410
498
|
})));
|
|
411
499
|
};
|
|
412
|
-
var YoutubeIcon =
|
|
500
|
+
var YoutubeIcon = _ref9 => {
|
|
413
501
|
var {
|
|
414
502
|
size = 24,
|
|
415
503
|
color = 'currentColor',
|
|
416
504
|
filled = true,
|
|
417
505
|
strokeWidth = 1
|
|
418
|
-
} =
|
|
419
|
-
props = _objectWithoutPropertiesLoose(
|
|
506
|
+
} = _ref9,
|
|
507
|
+
props = _objectWithoutPropertiesLoose(_ref9, _excluded9);
|
|
420
508
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
421
509
|
size: size,
|
|
422
510
|
color: color
|
|
@@ -437,14 +525,14 @@ var YoutubeIcon = _ref6 => {
|
|
|
437
525
|
strokeWidth: strokeWidth
|
|
438
526
|
})));
|
|
439
527
|
};
|
|
440
|
-
var FacebookIcon =
|
|
528
|
+
var FacebookIcon = _ref10 => {
|
|
441
529
|
var {
|
|
442
530
|
size = 24,
|
|
443
531
|
color = 'currentColor',
|
|
444
532
|
filled = true,
|
|
445
533
|
strokeWidth = 1
|
|
446
|
-
} =
|
|
447
|
-
props = _objectWithoutPropertiesLoose(
|
|
534
|
+
} = _ref10,
|
|
535
|
+
props = _objectWithoutPropertiesLoose(_ref10, _excluded10);
|
|
448
536
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
449
537
|
size: size,
|
|
450
538
|
color: color
|
|
@@ -459,14 +547,14 @@ var FacebookIcon = _ref7 => {
|
|
|
459
547
|
strokeWidth: filled ? 0 : strokeWidth
|
|
460
548
|
})));
|
|
461
549
|
};
|
|
462
|
-
var LinkedinIcon =
|
|
550
|
+
var LinkedinIcon = _ref11 => {
|
|
463
551
|
var {
|
|
464
552
|
size = 24,
|
|
465
553
|
color = 'currentColor',
|
|
466
554
|
filled = true,
|
|
467
555
|
strokeWidth = 1
|
|
468
|
-
} =
|
|
469
|
-
props = _objectWithoutPropertiesLoose(
|
|
556
|
+
} = _ref11,
|
|
557
|
+
props = _objectWithoutPropertiesLoose(_ref11, _excluded11);
|
|
470
558
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
471
559
|
size: size,
|
|
472
560
|
color: color
|
|
@@ -485,14 +573,14 @@ var LinkedinIcon = _ref8 => {
|
|
|
485
573
|
r: "2"
|
|
486
574
|
})));
|
|
487
575
|
};
|
|
488
|
-
var ThreadsIcon =
|
|
576
|
+
var ThreadsIcon = _ref12 => {
|
|
489
577
|
var {
|
|
490
578
|
size = 24,
|
|
491
579
|
color = 'currentColor',
|
|
492
580
|
filled = false,
|
|
493
581
|
strokeWidth = 1
|
|
494
|
-
} =
|
|
495
|
-
props = _objectWithoutPropertiesLoose(
|
|
582
|
+
} = _ref12,
|
|
583
|
+
props = _objectWithoutPropertiesLoose(_ref12, _excluded12);
|
|
496
584
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
497
585
|
size: size,
|
|
498
586
|
color: color
|
|
@@ -507,15 +595,15 @@ var ThreadsIcon = _ref9 => {
|
|
|
507
595
|
})));
|
|
508
596
|
};
|
|
509
597
|
// Example Refactored Icon: MinusIcon without undefined 'padding' prop
|
|
510
|
-
var MinusIcon =
|
|
598
|
+
var MinusIcon = _ref13 => {
|
|
511
599
|
var {
|
|
512
600
|
size = 24,
|
|
513
601
|
color = 'currentColor',
|
|
514
602
|
filled = false,
|
|
515
603
|
// Assuming minus can be filled; adjust as needed
|
|
516
604
|
strokeWidth = 1
|
|
517
|
-
} =
|
|
518
|
-
props = _objectWithoutPropertiesLoose(
|
|
605
|
+
} = _ref13,
|
|
606
|
+
props = _objectWithoutPropertiesLoose(_ref13, _excluded13);
|
|
519
607
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
520
608
|
size: size,
|
|
521
609
|
color: color
|
|
@@ -532,14 +620,14 @@ var MinusIcon = _ref10 => {
|
|
|
532
620
|
})));
|
|
533
621
|
};
|
|
534
622
|
// Example Refactored Icon: InfoIcon with accessibility enhancements
|
|
535
|
-
var InfoIcon =
|
|
623
|
+
var InfoIcon = _ref14 => {
|
|
536
624
|
var {
|
|
537
625
|
size = 24,
|
|
538
626
|
color = 'currentColor',
|
|
539
627
|
filled = false,
|
|
540
628
|
strokeWidth = 1
|
|
541
|
-
} =
|
|
542
|
-
props = _objectWithoutPropertiesLoose(
|
|
629
|
+
} = _ref14,
|
|
630
|
+
props = _objectWithoutPropertiesLoose(_ref14, _excluded14);
|
|
543
631
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
544
632
|
size: size,
|
|
545
633
|
color: color
|
|
@@ -553,14 +641,14 @@ var InfoIcon = _ref11 => {
|
|
|
553
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"
|
|
554
642
|
})));
|
|
555
643
|
};
|
|
556
|
-
var HeartIcon =
|
|
644
|
+
var HeartIcon = _ref15 => {
|
|
557
645
|
var {
|
|
558
646
|
size = 24,
|
|
559
647
|
color = 'currentColor',
|
|
560
648
|
filled = true,
|
|
561
649
|
strokeWidth = 1
|
|
562
|
-
} =
|
|
563
|
-
props = _objectWithoutPropertiesLoose(
|
|
650
|
+
} = _ref15,
|
|
651
|
+
props = _objectWithoutPropertiesLoose(_ref15, _excluded15);
|
|
564
652
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
565
653
|
size: size,
|
|
566
654
|
color: color
|
|
@@ -572,14 +660,14 @@ var HeartIcon = _ref12 => {
|
|
|
572
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"
|
|
573
661
|
})));
|
|
574
662
|
};
|
|
575
|
-
var StarIcon =
|
|
663
|
+
var StarIcon = _ref16 => {
|
|
576
664
|
var {
|
|
577
665
|
size = 24,
|
|
578
666
|
color = 'currentColor',
|
|
579
667
|
filled = true,
|
|
580
668
|
strokeWidth = 1
|
|
581
|
-
} =
|
|
582
|
-
props = _objectWithoutPropertiesLoose(
|
|
669
|
+
} = _ref16,
|
|
670
|
+
props = _objectWithoutPropertiesLoose(_ref16, _excluded16);
|
|
583
671
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
584
672
|
size: size,
|
|
585
673
|
color: color
|
|
@@ -591,14 +679,14 @@ var StarIcon = _ref13 => {
|
|
|
591
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"
|
|
592
680
|
})));
|
|
593
681
|
};
|
|
594
|
-
var SaveIcon =
|
|
682
|
+
var SaveIcon = _ref17 => {
|
|
595
683
|
var {
|
|
596
684
|
size = 24,
|
|
597
685
|
color = 'currentColor',
|
|
598
686
|
filled = false,
|
|
599
687
|
strokeWidth = 1
|
|
600
|
-
} =
|
|
601
|
-
props = _objectWithoutPropertiesLoose(
|
|
688
|
+
} = _ref17,
|
|
689
|
+
props = _objectWithoutPropertiesLoose(_ref17, _excluded17);
|
|
602
690
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
603
691
|
size: size,
|
|
604
692
|
color: color
|
|
@@ -614,14 +702,14 @@ var SaveIcon = _ref14 => {
|
|
|
614
702
|
points: "7 3 7 8 15 8"
|
|
615
703
|
})));
|
|
616
704
|
};
|
|
617
|
-
var WarningIcon =
|
|
705
|
+
var WarningIcon = _ref18 => {
|
|
618
706
|
var {
|
|
619
707
|
size = 24,
|
|
620
708
|
color = 'currentColor',
|
|
621
709
|
filled = false,
|
|
622
710
|
strokeWidth = 1
|
|
623
|
-
} =
|
|
624
|
-
props = _objectWithoutPropertiesLoose(
|
|
711
|
+
} = _ref18,
|
|
712
|
+
props = _objectWithoutPropertiesLoose(_ref18, _excluded18);
|
|
625
713
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
626
714
|
size: size,
|
|
627
715
|
color: color
|
|
@@ -645,14 +733,14 @@ var WarningIcon = _ref15 => {
|
|
|
645
733
|
y2: "15"
|
|
646
734
|
})));
|
|
647
735
|
};
|
|
648
|
-
var BatteryIcon =
|
|
736
|
+
var BatteryIcon = _ref19 => {
|
|
649
737
|
var {
|
|
650
738
|
size = 24,
|
|
651
739
|
color = 'currentColor',
|
|
652
740
|
filled = true,
|
|
653
741
|
strokeWidth = 1
|
|
654
|
-
} =
|
|
655
|
-
props = _objectWithoutPropertiesLoose(
|
|
742
|
+
} = _ref19,
|
|
743
|
+
props = _objectWithoutPropertiesLoose(_ref19, _excluded19);
|
|
656
744
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
657
745
|
size: size,
|
|
658
746
|
color: color
|
|
@@ -664,14 +752,14 @@ var BatteryIcon = _ref16 => {
|
|
|
664
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"
|
|
665
753
|
})));
|
|
666
754
|
};
|
|
667
|
-
var BookmarkIcon =
|
|
755
|
+
var BookmarkIcon = _ref20 => {
|
|
668
756
|
var {
|
|
669
757
|
size = 24,
|
|
670
758
|
color = 'currentColor',
|
|
671
759
|
filled = false,
|
|
672
760
|
strokeWidth = 1
|
|
673
|
-
} =
|
|
674
|
-
props = _objectWithoutPropertiesLoose(
|
|
761
|
+
} = _ref20,
|
|
762
|
+
props = _objectWithoutPropertiesLoose(_ref20, _excluded20);
|
|
675
763
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
676
764
|
size: size,
|
|
677
765
|
color: color
|
|
@@ -683,14 +771,14 @@ var BookmarkIcon = _ref17 => {
|
|
|
683
771
|
d: "M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2z"
|
|
684
772
|
})));
|
|
685
773
|
};
|
|
686
|
-
var CloudIcon =
|
|
774
|
+
var CloudIcon = _ref21 => {
|
|
687
775
|
var {
|
|
688
776
|
size = 24,
|
|
689
777
|
color = 'currentColor',
|
|
690
778
|
filled = true,
|
|
691
779
|
strokeWidth = 1
|
|
692
|
-
} =
|
|
693
|
-
props = _objectWithoutPropertiesLoose(
|
|
780
|
+
} = _ref21,
|
|
781
|
+
props = _objectWithoutPropertiesLoose(_ref21, _excluded21);
|
|
694
782
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
695
783
|
size: size,
|
|
696
784
|
color: color
|
|
@@ -702,14 +790,14 @@ var CloudIcon = _ref18 => {
|
|
|
702
790
|
d: "M18 10h-1.26A8 8 0 109 20h9a5 5 0 000-10z"
|
|
703
791
|
})));
|
|
704
792
|
};
|
|
705
|
-
var CopyIcon =
|
|
793
|
+
var CopyIcon = _ref22 => {
|
|
706
794
|
var {
|
|
707
795
|
size = 24,
|
|
708
796
|
color = 'currentColor',
|
|
709
797
|
filled = false,
|
|
710
798
|
strokeWidth = 1
|
|
711
|
-
} =
|
|
712
|
-
props = _objectWithoutPropertiesLoose(
|
|
799
|
+
} = _ref22,
|
|
800
|
+
props = _objectWithoutPropertiesLoose(_ref22, _excluded22);
|
|
713
801
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
714
802
|
size: size,
|
|
715
803
|
color: color
|
|
@@ -728,14 +816,14 @@ var CopyIcon = _ref19 => {
|
|
|
728
816
|
d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"
|
|
729
817
|
})));
|
|
730
818
|
};
|
|
731
|
-
var DustBinIcon =
|
|
819
|
+
var DustBinIcon = _ref23 => {
|
|
732
820
|
var {
|
|
733
821
|
size = 24,
|
|
734
822
|
color = 'currentColor',
|
|
735
823
|
filled = false,
|
|
736
824
|
strokeWidth = 1
|
|
737
|
-
} =
|
|
738
|
-
props = _objectWithoutPropertiesLoose(
|
|
825
|
+
} = _ref23,
|
|
826
|
+
props = _objectWithoutPropertiesLoose(_ref23, _excluded23);
|
|
739
827
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
740
828
|
size: size,
|
|
741
829
|
color: color
|
|
@@ -747,14 +835,14 @@ var DustBinIcon = _ref20 => {
|
|
|
747
835
|
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
|
|
748
836
|
})));
|
|
749
837
|
};
|
|
750
|
-
var EditIcon =
|
|
838
|
+
var EditIcon = _ref24 => {
|
|
751
839
|
var {
|
|
752
840
|
size = 24,
|
|
753
841
|
color = 'currentColor',
|
|
754
842
|
filled = false,
|
|
755
843
|
strokeWidth = 1
|
|
756
|
-
} =
|
|
757
|
-
props = _objectWithoutPropertiesLoose(
|
|
844
|
+
} = _ref24,
|
|
845
|
+
props = _objectWithoutPropertiesLoose(_ref24, _excluded24);
|
|
758
846
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
759
847
|
size: size,
|
|
760
848
|
color: color
|
|
@@ -766,14 +854,14 @@ var EditIcon = _ref21 => {
|
|
|
766
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"
|
|
767
855
|
})));
|
|
768
856
|
};
|
|
769
|
-
var ErrorIcon =
|
|
857
|
+
var ErrorIcon = _ref25 => {
|
|
770
858
|
var {
|
|
771
859
|
size = 24,
|
|
772
860
|
color = 'currentColor',
|
|
773
861
|
strokeWidth = 1,
|
|
774
862
|
filled = true
|
|
775
|
-
} =
|
|
776
|
-
props = _objectWithoutPropertiesLoose(
|
|
863
|
+
} = _ref25,
|
|
864
|
+
props = _objectWithoutPropertiesLoose(_ref25, _excluded25);
|
|
777
865
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
778
866
|
size: size,
|
|
779
867
|
color: color
|
|
@@ -799,14 +887,14 @@ var ErrorIcon = _ref22 => {
|
|
|
799
887
|
stroke: filled ? 'white' : color
|
|
800
888
|
})));
|
|
801
889
|
};
|
|
802
|
-
var DownloadIcon =
|
|
890
|
+
var DownloadIcon = _ref26 => {
|
|
803
891
|
var {
|
|
804
892
|
size = 24,
|
|
805
893
|
color = 'currentColor',
|
|
806
894
|
filled = true,
|
|
807
895
|
strokeWidth = 1
|
|
808
|
-
} =
|
|
809
|
-
props = _objectWithoutPropertiesLoose(
|
|
896
|
+
} = _ref26,
|
|
897
|
+
props = _objectWithoutPropertiesLoose(_ref26, _excluded26);
|
|
810
898
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
811
899
|
size: size,
|
|
812
900
|
color: color
|
|
@@ -818,14 +906,14 @@ var DownloadIcon = _ref23 => {
|
|
|
818
906
|
d: "M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
|
|
819
907
|
})));
|
|
820
908
|
};
|
|
821
|
-
var MenuIcon =
|
|
909
|
+
var MenuIcon = _ref27 => {
|
|
822
910
|
var {
|
|
823
911
|
size = 24,
|
|
824
912
|
color = 'currentColor',
|
|
825
913
|
strokeWidth = 1,
|
|
826
914
|
filled = false
|
|
827
|
-
} =
|
|
828
|
-
props = _objectWithoutPropertiesLoose(
|
|
915
|
+
} = _ref27,
|
|
916
|
+
props = _objectWithoutPropertiesLoose(_ref27, _excluded27);
|
|
829
917
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
830
918
|
size: size,
|
|
831
919
|
color: color
|
|
@@ -853,14 +941,14 @@ var MenuIcon = _ref24 => {
|
|
|
853
941
|
y2: "18"
|
|
854
942
|
})));
|
|
855
943
|
};
|
|
856
|
-
var ShareIcon =
|
|
944
|
+
var ShareIcon = _ref28 => {
|
|
857
945
|
var {
|
|
858
946
|
size = 24,
|
|
859
947
|
color = 'currentColor',
|
|
860
948
|
filled = false,
|
|
861
949
|
strokeWidth = 1
|
|
862
|
-
} =
|
|
863
|
-
props = _objectWithoutPropertiesLoose(
|
|
950
|
+
} = _ref28,
|
|
951
|
+
props = _objectWithoutPropertiesLoose(_ref28, _excluded28);
|
|
864
952
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
865
953
|
size: size,
|
|
866
954
|
color: color
|
|
@@ -894,14 +982,14 @@ var ShareIcon = _ref25 => {
|
|
|
894
982
|
y2: "10.49"
|
|
895
983
|
})));
|
|
896
984
|
};
|
|
897
|
-
var RefreshIcon =
|
|
985
|
+
var RefreshIcon = _ref29 => {
|
|
898
986
|
var {
|
|
899
987
|
size = 24,
|
|
900
988
|
color = 'currentColor',
|
|
901
989
|
strokeWidth = 1,
|
|
902
990
|
filled = false
|
|
903
|
-
} =
|
|
904
|
-
props = _objectWithoutPropertiesLoose(
|
|
991
|
+
} = _ref29,
|
|
992
|
+
props = _objectWithoutPropertiesLoose(_ref29, _excluded29);
|
|
905
993
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
906
994
|
size: size,
|
|
907
995
|
color: color
|
|
@@ -915,14 +1003,14 @@ var RefreshIcon = _ref26 => {
|
|
|
915
1003
|
d: "M20.49 15a9 9 0 1 1-2.13-9.36L23 10"
|
|
916
1004
|
})));
|
|
917
1005
|
};
|
|
918
|
-
var PrintIcon =
|
|
1006
|
+
var PrintIcon = _ref30 => {
|
|
919
1007
|
var {
|
|
920
1008
|
size = 24,
|
|
921
1009
|
color = 'currentColor',
|
|
922
1010
|
filled = true,
|
|
923
1011
|
strokeWidth = 1
|
|
924
|
-
} =
|
|
925
|
-
props = _objectWithoutPropertiesLoose(
|
|
1012
|
+
} = _ref30,
|
|
1013
|
+
props = _objectWithoutPropertiesLoose(_ref30, _excluded30);
|
|
926
1014
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
927
1015
|
size: size,
|
|
928
1016
|
color: color
|
|
@@ -935,14 +1023,14 @@ var PrintIcon = _ref27 => {
|
|
|
935
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"
|
|
936
1024
|
})));
|
|
937
1025
|
};
|
|
938
|
-
var PanelIcon =
|
|
1026
|
+
var PanelIcon = _ref31 => {
|
|
939
1027
|
var {
|
|
940
1028
|
size = 24,
|
|
941
1029
|
color = 'currentColor',
|
|
942
1030
|
strokeWidth = 1,
|
|
943
1031
|
filled = false
|
|
944
|
-
} =
|
|
945
|
-
props = _objectWithoutPropertiesLoose(
|
|
1032
|
+
} = _ref31,
|
|
1033
|
+
props = _objectWithoutPropertiesLoose(_ref31, _excluded31);
|
|
946
1034
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
947
1035
|
size: size,
|
|
948
1036
|
color: color
|
|
@@ -1006,14 +1094,14 @@ var PanelIcon = _ref28 => {
|
|
|
1006
1094
|
y2: "16"
|
|
1007
1095
|
})));
|
|
1008
1096
|
};
|
|
1009
|
-
var FilterIcon =
|
|
1097
|
+
var FilterIcon = _ref32 => {
|
|
1010
1098
|
var {
|
|
1011
1099
|
size = 24,
|
|
1012
1100
|
color = 'currentColor',
|
|
1013
1101
|
filled = false,
|
|
1014
1102
|
strokeWidth = 1
|
|
1015
|
-
} =
|
|
1016
|
-
props = _objectWithoutPropertiesLoose(
|
|
1103
|
+
} = _ref32,
|
|
1104
|
+
props = _objectWithoutPropertiesLoose(_ref32, _excluded32);
|
|
1017
1105
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1018
1106
|
size: size,
|
|
1019
1107
|
color: color
|
|
@@ -1025,14 +1113,14 @@ var FilterIcon = _ref29 => {
|
|
|
1025
1113
|
d: "M3 4h18l-7 10v5l-4 2v-7L3 4z"
|
|
1026
1114
|
})));
|
|
1027
1115
|
};
|
|
1028
|
-
var HomeIcon =
|
|
1116
|
+
var HomeIcon = _ref33 => {
|
|
1029
1117
|
var {
|
|
1030
1118
|
size = 24,
|
|
1031
1119
|
color = 'currentColor',
|
|
1032
1120
|
filled = true,
|
|
1033
1121
|
strokeWidth = 1
|
|
1034
|
-
} =
|
|
1035
|
-
props = _objectWithoutPropertiesLoose(
|
|
1122
|
+
} = _ref33,
|
|
1123
|
+
props = _objectWithoutPropertiesLoose(_ref33, _excluded33);
|
|
1036
1124
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1037
1125
|
size: size,
|
|
1038
1126
|
color: color
|
|
@@ -1044,14 +1132,14 @@ var HomeIcon = _ref30 => {
|
|
|
1044
1132
|
d: "M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z"
|
|
1045
1133
|
})));
|
|
1046
1134
|
};
|
|
1047
|
-
var LocationIcon =
|
|
1135
|
+
var LocationIcon = _ref34 => {
|
|
1048
1136
|
var {
|
|
1049
1137
|
size = 24,
|
|
1050
1138
|
color = 'currentColor',
|
|
1051
1139
|
filled = true,
|
|
1052
1140
|
strokeWidth = 1
|
|
1053
|
-
} =
|
|
1054
|
-
props = _objectWithoutPropertiesLoose(
|
|
1141
|
+
} = _ref34,
|
|
1142
|
+
props = _objectWithoutPropertiesLoose(_ref34, _excluded34);
|
|
1055
1143
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1056
1144
|
size: size,
|
|
1057
1145
|
color: color
|
|
@@ -1063,14 +1151,14 @@ var LocationIcon = _ref31 => {
|
|
|
1063
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"
|
|
1064
1152
|
})));
|
|
1065
1153
|
};
|
|
1066
|
-
var LockIcon =
|
|
1154
|
+
var LockIcon = _ref35 => {
|
|
1067
1155
|
var {
|
|
1068
1156
|
size = 24,
|
|
1069
1157
|
color = 'currentColor',
|
|
1070
1158
|
filled = false,
|
|
1071
1159
|
strokeWidth = 1
|
|
1072
|
-
} =
|
|
1073
|
-
props = _objectWithoutPropertiesLoose(
|
|
1160
|
+
} = _ref35,
|
|
1161
|
+
props = _objectWithoutPropertiesLoose(_ref35, _excluded35);
|
|
1074
1162
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1075
1163
|
size: size,
|
|
1076
1164
|
color: color
|
|
@@ -1089,14 +1177,14 @@ var LockIcon = _ref32 => {
|
|
|
1089
1177
|
d: "M7 11V7a5 5 0 0 1 10 0v4"
|
|
1090
1178
|
})));
|
|
1091
1179
|
};
|
|
1092
|
-
var MicrophoneIcon =
|
|
1180
|
+
var MicrophoneIcon = _ref36 => {
|
|
1093
1181
|
var {
|
|
1094
1182
|
size = 24,
|
|
1095
1183
|
color = 'currentColor',
|
|
1096
1184
|
filled = false,
|
|
1097
1185
|
strokeWidth = 1
|
|
1098
|
-
} =
|
|
1099
|
-
props = _objectWithoutPropertiesLoose(
|
|
1186
|
+
} = _ref36,
|
|
1187
|
+
props = _objectWithoutPropertiesLoose(_ref36, _excluded36);
|
|
1100
1188
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1101
1189
|
size: size,
|
|
1102
1190
|
color: color
|
|
@@ -1122,14 +1210,14 @@ var MicrophoneIcon = _ref33 => {
|
|
|
1122
1210
|
y2: "23"
|
|
1123
1211
|
})));
|
|
1124
1212
|
};
|
|
1125
|
-
var MoonIcon =
|
|
1213
|
+
var MoonIcon = _ref37 => {
|
|
1126
1214
|
var {
|
|
1127
1215
|
size = 24,
|
|
1128
1216
|
color = 'currentColor',
|
|
1129
1217
|
filled = true,
|
|
1130
1218
|
strokeWidth = 1
|
|
1131
|
-
} =
|
|
1132
|
-
props = _objectWithoutPropertiesLoose(
|
|
1219
|
+
} = _ref37,
|
|
1220
|
+
props = _objectWithoutPropertiesLoose(_ref37, _excluded37);
|
|
1133
1221
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1134
1222
|
size: size,
|
|
1135
1223
|
color: color
|
|
@@ -1141,14 +1229,14 @@ var MoonIcon = _ref34 => {
|
|
|
1141
1229
|
d: "M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"
|
|
1142
1230
|
})));
|
|
1143
1231
|
};
|
|
1144
|
-
var NotificationIcon =
|
|
1232
|
+
var NotificationIcon = _ref38 => {
|
|
1145
1233
|
var {
|
|
1146
1234
|
size = 24,
|
|
1147
1235
|
color = 'currentColor',
|
|
1148
1236
|
filled = false,
|
|
1149
1237
|
strokeWidth = 1
|
|
1150
|
-
} =
|
|
1151
|
-
props = _objectWithoutPropertiesLoose(
|
|
1238
|
+
} = _ref38,
|
|
1239
|
+
props = _objectWithoutPropertiesLoose(_ref38, _excluded38);
|
|
1152
1240
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1153
1241
|
size: size,
|
|
1154
1242
|
color: color
|
|
@@ -1162,14 +1250,14 @@ var NotificationIcon = _ref35 => {
|
|
|
1162
1250
|
d: "M13.73 21a2 2 0 0 1-3.46 0"
|
|
1163
1251
|
})));
|
|
1164
1252
|
};
|
|
1165
|
-
var OpenEyeIcon =
|
|
1253
|
+
var OpenEyeIcon = _ref39 => {
|
|
1166
1254
|
var {
|
|
1167
1255
|
size = 24,
|
|
1168
1256
|
color = 'currentColor',
|
|
1169
1257
|
filled = true,
|
|
1170
1258
|
strokeWidth = 1
|
|
1171
|
-
} =
|
|
1172
|
-
props = _objectWithoutPropertiesLoose(
|
|
1259
|
+
} = _ref39,
|
|
1260
|
+
props = _objectWithoutPropertiesLoose(_ref39, _excluded39);
|
|
1173
1261
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1174
1262
|
size: size,
|
|
1175
1263
|
color: color
|
|
@@ -1181,14 +1269,14 @@ var OpenEyeIcon = _ref36 => {
|
|
|
1181
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"
|
|
1182
1270
|
})));
|
|
1183
1271
|
};
|
|
1184
|
-
var ProfileIcon =
|
|
1272
|
+
var ProfileIcon = _ref40 => {
|
|
1185
1273
|
var {
|
|
1186
1274
|
size = 24,
|
|
1187
1275
|
color = 'currentColor',
|
|
1188
1276
|
filled = true,
|
|
1189
1277
|
strokeWidth = 1
|
|
1190
|
-
} =
|
|
1191
|
-
props = _objectWithoutPropertiesLoose(
|
|
1278
|
+
} = _ref40,
|
|
1279
|
+
props = _objectWithoutPropertiesLoose(_ref40, _excluded40);
|
|
1192
1280
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1193
1281
|
size: size,
|
|
1194
1282
|
color: color
|
|
@@ -1201,14 +1289,14 @@ var ProfileIcon = _ref37 => {
|
|
|
1201
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"
|
|
1202
1290
|
}), ' '));
|
|
1203
1291
|
};
|
|
1204
|
-
var SettingsIcon =
|
|
1292
|
+
var SettingsIcon = _ref41 => {
|
|
1205
1293
|
var {
|
|
1206
1294
|
size = 24,
|
|
1207
1295
|
color = 'currentColor',
|
|
1208
1296
|
filled = false,
|
|
1209
1297
|
strokeWidth = 1
|
|
1210
|
-
} =
|
|
1211
|
-
props = _objectWithoutPropertiesLoose(
|
|
1298
|
+
} = _ref41,
|
|
1299
|
+
props = _objectWithoutPropertiesLoose(_ref41, _excluded41);
|
|
1212
1300
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1213
1301
|
size: size,
|
|
1214
1302
|
color: color
|
|
@@ -1220,14 +1308,14 @@ var SettingsIcon = _ref38 => {
|
|
|
1220
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"
|
|
1221
1309
|
})));
|
|
1222
1310
|
};
|
|
1223
|
-
var SuccessIcon =
|
|
1311
|
+
var SuccessIcon = _ref42 => {
|
|
1224
1312
|
var {
|
|
1225
1313
|
size = 24,
|
|
1226
1314
|
color = 'currentColor',
|
|
1227
1315
|
filled = true,
|
|
1228
1316
|
strokeWidth = 1
|
|
1229
|
-
} =
|
|
1230
|
-
props = _objectWithoutPropertiesLoose(
|
|
1317
|
+
} = _ref42,
|
|
1318
|
+
props = _objectWithoutPropertiesLoose(_ref42, _excluded42);
|
|
1231
1319
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1232
1320
|
size: size,
|
|
1233
1321
|
color: color
|
|
@@ -1239,14 +1327,14 @@ var SuccessIcon = _ref39 => {
|
|
|
1239
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"
|
|
1240
1328
|
})));
|
|
1241
1329
|
};
|
|
1242
|
-
var UnLikeIcon =
|
|
1330
|
+
var UnLikeIcon = _ref43 => {
|
|
1243
1331
|
var {
|
|
1244
1332
|
size = 24,
|
|
1245
1333
|
color = 'currentColor',
|
|
1246
1334
|
filled = true,
|
|
1247
1335
|
strokeWidth = 1
|
|
1248
|
-
} =
|
|
1249
|
-
props = _objectWithoutPropertiesLoose(
|
|
1336
|
+
} = _ref43,
|
|
1337
|
+
props = _objectWithoutPropertiesLoose(_ref43, _excluded43);
|
|
1250
1338
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1251
1339
|
size: size,
|
|
1252
1340
|
color: color
|
|
@@ -1258,14 +1346,14 @@ var UnLikeIcon = _ref40 => {
|
|
|
1258
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"
|
|
1259
1347
|
})));
|
|
1260
1348
|
};
|
|
1261
|
-
var ClockIcon =
|
|
1349
|
+
var ClockIcon = _ref44 => {
|
|
1262
1350
|
var {
|
|
1263
1351
|
size = 24,
|
|
1264
1352
|
color = 'currentColor',
|
|
1265
1353
|
strokeWidth = 1,
|
|
1266
1354
|
filled = false
|
|
1267
|
-
} =
|
|
1268
|
-
props = _objectWithoutPropertiesLoose(
|
|
1355
|
+
} = _ref44,
|
|
1356
|
+
props = _objectWithoutPropertiesLoose(_ref44, _excluded44);
|
|
1269
1357
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1270
1358
|
size: size,
|
|
1271
1359
|
color: color
|
|
@@ -1281,14 +1369,14 @@ var ClockIcon = _ref41 => {
|
|
|
1281
1369
|
points: "12 6 12 12 16 14"
|
|
1282
1370
|
})));
|
|
1283
1371
|
};
|
|
1284
|
-
var CameraIcon =
|
|
1372
|
+
var CameraIcon = _ref45 => {
|
|
1285
1373
|
var {
|
|
1286
1374
|
size = 24,
|
|
1287
1375
|
color = 'currentColor',
|
|
1288
1376
|
strokeWidth = 1,
|
|
1289
1377
|
filled = false
|
|
1290
|
-
} =
|
|
1291
|
-
props = _objectWithoutPropertiesLoose(
|
|
1378
|
+
} = _ref45,
|
|
1379
|
+
props = _objectWithoutPropertiesLoose(_ref45, _excluded45);
|
|
1292
1380
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1293
1381
|
size: size,
|
|
1294
1382
|
color: color
|
|
@@ -1304,14 +1392,14 @@ var CameraIcon = _ref42 => {
|
|
|
1304
1392
|
r: "4"
|
|
1305
1393
|
})));
|
|
1306
1394
|
};
|
|
1307
|
-
var BluetoothIcon =
|
|
1395
|
+
var BluetoothIcon = _ref46 => {
|
|
1308
1396
|
var {
|
|
1309
1397
|
size = 24,
|
|
1310
1398
|
color = 'currentColor',
|
|
1311
1399
|
filled = true,
|
|
1312
1400
|
strokeWidth = 1
|
|
1313
|
-
} =
|
|
1314
|
-
props = _objectWithoutPropertiesLoose(
|
|
1401
|
+
} = _ref46,
|
|
1402
|
+
props = _objectWithoutPropertiesLoose(_ref46, _excluded46);
|
|
1315
1403
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1316
1404
|
size: size,
|
|
1317
1405
|
color: color
|
|
@@ -1323,14 +1411,14 @@ var BluetoothIcon = _ref43 => {
|
|
|
1323
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"
|
|
1324
1412
|
})));
|
|
1325
1413
|
};
|
|
1326
|
-
var LikeIcon =
|
|
1414
|
+
var LikeIcon = _ref47 => {
|
|
1327
1415
|
var {
|
|
1328
1416
|
size = 24,
|
|
1329
1417
|
color = 'currentColor',
|
|
1330
1418
|
filled = true,
|
|
1331
1419
|
strokeWidth = 1
|
|
1332
|
-
} =
|
|
1333
|
-
props = _objectWithoutPropertiesLoose(
|
|
1420
|
+
} = _ref47,
|
|
1421
|
+
props = _objectWithoutPropertiesLoose(_ref47, _excluded47);
|
|
1334
1422
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1335
1423
|
size: size,
|
|
1336
1424
|
color: color
|
|
@@ -1342,14 +1430,14 @@ var LikeIcon = _ref44 => {
|
|
|
1342
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"
|
|
1343
1431
|
})));
|
|
1344
1432
|
};
|
|
1345
|
-
var UnlockIcon =
|
|
1433
|
+
var UnlockIcon = _ref48 => {
|
|
1346
1434
|
var {
|
|
1347
1435
|
size = 24,
|
|
1348
1436
|
color = 'currentColor',
|
|
1349
1437
|
filled = false,
|
|
1350
1438
|
strokeWidth = 1
|
|
1351
|
-
} =
|
|
1352
|
-
props = _objectWithoutPropertiesLoose(
|
|
1439
|
+
} = _ref48,
|
|
1440
|
+
props = _objectWithoutPropertiesLoose(_ref48, _excluded48);
|
|
1353
1441
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1354
1442
|
size: size,
|
|
1355
1443
|
color: color
|
|
@@ -1368,14 +1456,14 @@ var UnlockIcon = _ref45 => {
|
|
|
1368
1456
|
d: "M7 11V7a5 5 0 0 1 9.9-1"
|
|
1369
1457
|
})));
|
|
1370
1458
|
};
|
|
1371
|
-
var WifiIcon =
|
|
1459
|
+
var WifiIcon = _ref49 => {
|
|
1372
1460
|
var {
|
|
1373
1461
|
size = 24,
|
|
1374
1462
|
color = 'currentColor',
|
|
1375
1463
|
filled = false,
|
|
1376
1464
|
strokeWidth = 1
|
|
1377
|
-
} =
|
|
1378
|
-
props = _objectWithoutPropertiesLoose(
|
|
1465
|
+
} = _ref49,
|
|
1466
|
+
props = _objectWithoutPropertiesLoose(_ref49, _excluded49);
|
|
1379
1467
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1380
1468
|
size: size,
|
|
1381
1469
|
color: color
|
|
@@ -1387,14 +1475,14 @@ var WifiIcon = _ref46 => {
|
|
|
1387
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"
|
|
1388
1476
|
})));
|
|
1389
1477
|
};
|
|
1390
|
-
var UploadIcon =
|
|
1478
|
+
var UploadIcon = _ref50 => {
|
|
1391
1479
|
var {
|
|
1392
1480
|
size = 24,
|
|
1393
1481
|
color = 'currentColor',
|
|
1394
1482
|
filled = false,
|
|
1395
1483
|
strokeWidth = 1
|
|
1396
|
-
} =
|
|
1397
|
-
props = _objectWithoutPropertiesLoose(
|
|
1484
|
+
} = _ref50,
|
|
1485
|
+
props = _objectWithoutPropertiesLoose(_ref50, _excluded50);
|
|
1398
1486
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1399
1487
|
size: size,
|
|
1400
1488
|
color: color
|
|
@@ -1410,14 +1498,14 @@ var UploadIcon = _ref47 => {
|
|
|
1410
1498
|
d: "M12 12l0 9"
|
|
1411
1499
|
})));
|
|
1412
1500
|
};
|
|
1413
|
-
var SearchIcon =
|
|
1501
|
+
var SearchIcon = _ref51 => {
|
|
1414
1502
|
var {
|
|
1415
1503
|
size = 24,
|
|
1416
1504
|
color = 'currentColor',
|
|
1417
1505
|
filled = true,
|
|
1418
1506
|
strokeWidth = 1
|
|
1419
|
-
} =
|
|
1420
|
-
props = _objectWithoutPropertiesLoose(
|
|
1507
|
+
} = _ref51,
|
|
1508
|
+
props = _objectWithoutPropertiesLoose(_ref51, _excluded51);
|
|
1421
1509
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1422
1510
|
size: size,
|
|
1423
1511
|
color: color
|
|
@@ -1429,14 +1517,14 @@ var SearchIcon = _ref48 => {
|
|
|
1429
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"
|
|
1430
1518
|
})));
|
|
1431
1519
|
};
|
|
1432
|
-
var CloseEyeIcon =
|
|
1520
|
+
var CloseEyeIcon = _ref52 => {
|
|
1433
1521
|
var {
|
|
1434
1522
|
size = 24,
|
|
1435
1523
|
color = 'currentColor',
|
|
1436
1524
|
filled = true,
|
|
1437
1525
|
strokeWidth = 1
|
|
1438
|
-
} =
|
|
1439
|
-
props = _objectWithoutPropertiesLoose(
|
|
1526
|
+
} = _ref52,
|
|
1527
|
+
props = _objectWithoutPropertiesLoose(_ref52, _excluded52);
|
|
1440
1528
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1441
1529
|
size: size,
|
|
1442
1530
|
color: color
|
|
@@ -1449,14 +1537,14 @@ var CloseEyeIcon = _ref49 => {
|
|
|
1449
1537
|
fill: "currentColor"
|
|
1450
1538
|
})));
|
|
1451
1539
|
};
|
|
1452
|
-
var ExternalLinkIcon =
|
|
1540
|
+
var ExternalLinkIcon = _ref53 => {
|
|
1453
1541
|
var {
|
|
1454
1542
|
size = 24,
|
|
1455
1543
|
color = 'currentColor',
|
|
1456
1544
|
filled = true,
|
|
1457
1545
|
strokeWidth = 1
|
|
1458
|
-
} =
|
|
1459
|
-
props = _objectWithoutPropertiesLoose(
|
|
1546
|
+
} = _ref53,
|
|
1547
|
+
props = _objectWithoutPropertiesLoose(_ref53, _excluded53);
|
|
1460
1548
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1461
1549
|
size: size,
|
|
1462
1550
|
color: color
|
|
@@ -1468,14 +1556,14 @@ var ExternalLinkIcon = _ref50 => {
|
|
|
1468
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"
|
|
1469
1557
|
})));
|
|
1470
1558
|
};
|
|
1471
|
-
var PlusIcon =
|
|
1559
|
+
var PlusIcon = _ref54 => {
|
|
1472
1560
|
var {
|
|
1473
1561
|
size = 24,
|
|
1474
1562
|
color = 'currentColor',
|
|
1475
1563
|
filled = false,
|
|
1476
1564
|
strokeWidth = 1
|
|
1477
|
-
} =
|
|
1478
|
-
props = _objectWithoutPropertiesLoose(
|
|
1565
|
+
} = _ref54,
|
|
1566
|
+
props = _objectWithoutPropertiesLoose(_ref54, _excluded54);
|
|
1479
1567
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1480
1568
|
size: size,
|
|
1481
1569
|
color: color
|
|
@@ -1497,14 +1585,14 @@ var PlusIcon = _ref51 => {
|
|
|
1497
1585
|
y2: "12"
|
|
1498
1586
|
})));
|
|
1499
1587
|
};
|
|
1500
|
-
var TickIcon =
|
|
1588
|
+
var TickIcon = _ref55 => {
|
|
1501
1589
|
var {
|
|
1502
1590
|
size = 24,
|
|
1503
1591
|
color = 'currentColor',
|
|
1504
1592
|
filled = false,
|
|
1505
1593
|
strokeWidth = 1
|
|
1506
|
-
} =
|
|
1507
|
-
props = _objectWithoutPropertiesLoose(
|
|
1594
|
+
} = _ref55,
|
|
1595
|
+
props = _objectWithoutPropertiesLoose(_ref55, _excluded55);
|
|
1508
1596
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1509
1597
|
size: size,
|
|
1510
1598
|
color: color
|
|
@@ -1518,14 +1606,14 @@ var TickIcon = _ref52 => {
|
|
|
1518
1606
|
strokeLinejoin: "round"
|
|
1519
1607
|
})));
|
|
1520
1608
|
};
|
|
1521
|
-
var BoldArrowIcon =
|
|
1609
|
+
var BoldArrowIcon = _ref56 => {
|
|
1522
1610
|
var {
|
|
1523
1611
|
size = 24,
|
|
1524
1612
|
color = 'currentColor',
|
|
1525
1613
|
filled = true,
|
|
1526
1614
|
strokeWidth = 1
|
|
1527
|
-
} =
|
|
1528
|
-
props = _objectWithoutPropertiesLoose(
|
|
1615
|
+
} = _ref56,
|
|
1616
|
+
props = _objectWithoutPropertiesLoose(_ref56, _excluded56);
|
|
1529
1617
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1530
1618
|
size: size,
|
|
1531
1619
|
color: color
|
|
@@ -1537,14 +1625,14 @@ var BoldArrowIcon = _ref53 => {
|
|
|
1537
1625
|
d: "M12 4l7 7h-4v7h-6v-7H5l7-7z"
|
|
1538
1626
|
})));
|
|
1539
1627
|
};
|
|
1540
|
-
var ArrowIcon =
|
|
1628
|
+
var ArrowIcon = _ref57 => {
|
|
1541
1629
|
var {
|
|
1542
1630
|
size = 24,
|
|
1543
1631
|
color = 'currentColor',
|
|
1544
1632
|
filled = false,
|
|
1545
1633
|
strokeWidth = 1
|
|
1546
|
-
} =
|
|
1547
|
-
props = _objectWithoutPropertiesLoose(
|
|
1634
|
+
} = _ref57,
|
|
1635
|
+
props = _objectWithoutPropertiesLoose(_ref57, _excluded57);
|
|
1548
1636
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1549
1637
|
size: size,
|
|
1550
1638
|
color: color
|
|
@@ -1562,14 +1650,14 @@ var ArrowIcon = _ref54 => {
|
|
|
1562
1650
|
points: "6 12 12 6 18 12"
|
|
1563
1651
|
})));
|
|
1564
1652
|
};
|
|
1565
|
-
var SpinnerIcon =
|
|
1653
|
+
var SpinnerIcon = _ref58 => {
|
|
1566
1654
|
var {
|
|
1567
1655
|
size = 24,
|
|
1568
1656
|
color = 'currentColor',
|
|
1569
1657
|
filled = false,
|
|
1570
1658
|
strokeWidth = 1
|
|
1571
|
-
} =
|
|
1572
|
-
props = _objectWithoutPropertiesLoose(
|
|
1659
|
+
} = _ref58,
|
|
1660
|
+
props = _objectWithoutPropertiesLoose(_ref58, _excluded58);
|
|
1573
1661
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1574
1662
|
size: size,
|
|
1575
1663
|
color: color
|
|
@@ -1587,14 +1675,14 @@ var SpinnerIcon = _ref55 => {
|
|
|
1587
1675
|
strokeOpacity: "1"
|
|
1588
1676
|
})));
|
|
1589
1677
|
};
|
|
1590
|
-
var CalendarIcon =
|
|
1678
|
+
var CalendarIcon = _ref59 => {
|
|
1591
1679
|
var {
|
|
1592
1680
|
size = 24,
|
|
1593
1681
|
color = 'currentColor',
|
|
1594
1682
|
strokeWidth = 1,
|
|
1595
1683
|
filled = false
|
|
1596
|
-
} =
|
|
1597
|
-
props = _objectWithoutPropertiesLoose(
|
|
1684
|
+
} = _ref59,
|
|
1685
|
+
props = _objectWithoutPropertiesLoose(_ref59, _excluded59);
|
|
1598
1686
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1599
1687
|
size: size,
|
|
1600
1688
|
color: color
|
|
@@ -1633,6 +1721,9 @@ var CalendarIcon = _ref56 => {
|
|
|
1633
1721
|
var Icon = {
|
|
1634
1722
|
__proto__: null,
|
|
1635
1723
|
ChevronIcon: ChevronIcon,
|
|
1724
|
+
DragHandleIcon: DragHandleIcon,
|
|
1725
|
+
TwitterIcon: TwitterIcon,
|
|
1726
|
+
XIcon: XIcon,
|
|
1636
1727
|
TwitchIcon: TwitchIcon,
|
|
1637
1728
|
CloseIcon: CloseIcon,
|
|
1638
1729
|
InstagramIcon: InstagramIcon,
|
|
@@ -7429,5 +7520,134 @@ var ToggleGroupComponent = _ref => {
|
|
|
7429
7520
|
// Expose the ToggleGroupComponent for import into other modules
|
|
7430
7521
|
var ToggleGroup = ToggleGroupComponent;
|
|
7431
7522
|
|
|
7432
|
-
|
|
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 };
|
|
7433
7653
|
//# sourceMappingURL=web.esm.js.map
|