@app-studio/web 0.8.54 → 0.8.57
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/File/File.d.ts +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -0
- package/dist/components/Modal/Modal/Modal.layout.d.ts +1 -1
- package/dist/components/Modal/Modal/Modal.props.d.ts +2 -0
- package/dist/components/Modal/Modal/Modal.store.d.ts +4 -0
- package/dist/web.cjs.development.js +279 -205
- 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 +279 -206
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +279 -205
- 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 +2 -2
package/dist/web.esm.js
CHANGED
|
@@ -140,7 +140,6 @@ var TextView = _ref3 => {
|
|
|
140
140
|
} : {};
|
|
141
141
|
var fontSize = Typography.fontSizes[size];
|
|
142
142
|
return /*#__PURE__*/React.createElement(Element, Object.assign({
|
|
143
|
-
role: "text",
|
|
144
143
|
fontSize: fontSize,
|
|
145
144
|
lineHeight: Typography.lineHeights[size],
|
|
146
145
|
fontStyle: isItalic ? 'italic' : 'normal',
|
|
@@ -236,14 +235,14 @@ var _excluded$4 = ["size", "color", "transform", "orientation", "children"],
|
|
|
236
235
|
_excluded17 = ["size", "color", "filled", "strokeWidth"],
|
|
237
236
|
_excluded18 = ["size", "color", "filled", "strokeWidth"],
|
|
238
237
|
_excluded19 = ["size", "color", "filled", "strokeWidth"],
|
|
239
|
-
_excluded20 = ["size", "color", "
|
|
240
|
-
_excluded21 = ["size", "color", "
|
|
241
|
-
_excluded22 = ["size", "color", "strokeWidth"],
|
|
242
|
-
_excluded23 = ["size", "color", "
|
|
243
|
-
_excluded24 = ["size", "color", "strokeWidth"],
|
|
244
|
-
_excluded25 = ["size", "color", "
|
|
245
|
-
_excluded26 = ["size", "color", "strokeWidth"],
|
|
246
|
-
_excluded27 = ["size", "color", "
|
|
238
|
+
_excluded20 = ["size", "color", "filled", "strokeWidth"],
|
|
239
|
+
_excluded21 = ["size", "color", "strokeWidth", "filled"],
|
|
240
|
+
_excluded22 = ["size", "color", "filled", "strokeWidth"],
|
|
241
|
+
_excluded23 = ["size", "color", "strokeWidth"],
|
|
242
|
+
_excluded24 = ["size", "color", "filled", "strokeWidth"],
|
|
243
|
+
_excluded25 = ["size", "color", "strokeWidth"],
|
|
244
|
+
_excluded26 = ["size", "color", "filled", "strokeWidth"],
|
|
245
|
+
_excluded27 = ["size", "color", "strokeWidth"],
|
|
247
246
|
_excluded28 = ["size", "color", "filled", "strokeWidth"],
|
|
248
247
|
_excluded29 = ["size", "color", "filled", "strokeWidth"],
|
|
249
248
|
_excluded30 = ["size", "color", "filled", "strokeWidth"],
|
|
@@ -255,9 +254,9 @@ var _excluded$4 = ["size", "color", "transform", "orientation", "children"],
|
|
|
255
254
|
_excluded36 = ["size", "color", "filled", "strokeWidth"],
|
|
256
255
|
_excluded37 = ["size", "color", "filled", "strokeWidth"],
|
|
257
256
|
_excluded38 = ["size", "color", "filled", "strokeWidth"],
|
|
258
|
-
_excluded39 = ["size", "color", "strokeWidth"],
|
|
257
|
+
_excluded39 = ["size", "color", "filled", "strokeWidth"],
|
|
259
258
|
_excluded40 = ["size", "color", "strokeWidth"],
|
|
260
|
-
_excluded41 = ["size", "color", "
|
|
259
|
+
_excluded41 = ["size", "color", "strokeWidth"],
|
|
261
260
|
_excluded42 = ["size", "color", "filled", "strokeWidth"],
|
|
262
261
|
_excluded43 = ["size", "color", "filled", "strokeWidth"],
|
|
263
262
|
_excluded44 = ["size", "color", "filled", "strokeWidth"],
|
|
@@ -270,14 +269,15 @@ var _excluded$4 = ["size", "color", "transform", "orientation", "children"],
|
|
|
270
269
|
_excluded51 = ["size", "color", "filled", "strokeWidth"],
|
|
271
270
|
_excluded52 = ["size", "color", "filled", "strokeWidth"],
|
|
272
271
|
_excluded53 = ["size", "color", "filled", "strokeWidth"],
|
|
273
|
-
_excluded54 = ["size", "color", "strokeWidth"]
|
|
272
|
+
_excluded54 = ["size", "color", "filled", "strokeWidth"],
|
|
273
|
+
_excluded55 = ["size", "color", "strokeWidth"];
|
|
274
274
|
// Default wrapper component for consistent sizing and styling
|
|
275
275
|
var IconWrapper = _ref => {
|
|
276
276
|
var {
|
|
277
277
|
size,
|
|
278
278
|
color = 'black',
|
|
279
279
|
transform,
|
|
280
|
-
orientation,
|
|
280
|
+
orientation = 'up',
|
|
281
281
|
children
|
|
282
282
|
} = _ref,
|
|
283
283
|
rest = _objectWithoutPropertiesLoose(_ref, _excluded$4);
|
|
@@ -319,8 +319,8 @@ var ChevronIcon = _ref2 => {
|
|
|
319
319
|
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"
|
|
320
320
|
})));
|
|
321
321
|
};
|
|
322
|
-
// Example of
|
|
323
|
-
var
|
|
322
|
+
// Example of a Twitch Icon
|
|
323
|
+
var TwitchIcon = _ref3 => {
|
|
324
324
|
var {
|
|
325
325
|
size = 24,
|
|
326
326
|
color = 'currentColor',
|
|
@@ -335,6 +335,34 @@ var CloseIcon = _ref3 => {
|
|
|
335
335
|
viewBox: "0 0 24 24",
|
|
336
336
|
"aria-hidden": "true",
|
|
337
337
|
focusable: "false"
|
|
338
|
+
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React.createElement("path", {
|
|
339
|
+
d: "M2 2v16h5v4l4-4h5l6-6V2H2zm18 10-3 3h-5l-3 3v-3H4V4h16v8z",
|
|
340
|
+
fill: filled ? color : 'none',
|
|
341
|
+
stroke: color,
|
|
342
|
+
strokeWidth: filled ? 0 : strokeWidth
|
|
343
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
344
|
+
d: "M14 7h2v5h-2V7zm-4 0h2v5H10V7z",
|
|
345
|
+
fill: filled ? color : 'none',
|
|
346
|
+
stroke: color,
|
|
347
|
+
strokeWidth: filled ? 0 : strokeWidth
|
|
348
|
+
})));
|
|
349
|
+
};
|
|
350
|
+
// Example of another Icon: CloseIcon
|
|
351
|
+
var CloseIcon = _ref4 => {
|
|
352
|
+
var {
|
|
353
|
+
size = 24,
|
|
354
|
+
color = 'currentColor',
|
|
355
|
+
filled = false,
|
|
356
|
+
strokeWidth = 1
|
|
357
|
+
} = _ref4,
|
|
358
|
+
props = _objectWithoutPropertiesLoose(_ref4, _excluded4);
|
|
359
|
+
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
360
|
+
size: size,
|
|
361
|
+
color: color
|
|
362
|
+
}, props), /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
363
|
+
viewBox: "0 0 24 24",
|
|
364
|
+
"aria-hidden": "true",
|
|
365
|
+
focusable: "false"
|
|
338
366
|
}, getSvgProps(filled, color, strokeWidth)), /*#__PURE__*/React.createElement("line", {
|
|
339
367
|
stroke: color,
|
|
340
368
|
x1: "18",
|
|
@@ -349,14 +377,14 @@ var CloseIcon = _ref3 => {
|
|
|
349
377
|
y2: "18"
|
|
350
378
|
})));
|
|
351
379
|
};
|
|
352
|
-
var InstagramIcon =
|
|
380
|
+
var InstagramIcon = _ref5 => {
|
|
353
381
|
var {
|
|
354
382
|
size = 24,
|
|
355
383
|
color = 'currentColor',
|
|
356
384
|
filled = false,
|
|
357
385
|
strokeWidth = 1
|
|
358
|
-
} =
|
|
359
|
-
props = _objectWithoutPropertiesLoose(
|
|
386
|
+
} = _ref5,
|
|
387
|
+
props = _objectWithoutPropertiesLoose(_ref5, _excluded5);
|
|
360
388
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
361
389
|
size: size,
|
|
362
390
|
color: color
|
|
@@ -380,14 +408,14 @@ var InstagramIcon = _ref4 => {
|
|
|
380
408
|
y2: "6.5"
|
|
381
409
|
})));
|
|
382
410
|
};
|
|
383
|
-
var YoutubeIcon =
|
|
411
|
+
var YoutubeIcon = _ref6 => {
|
|
384
412
|
var {
|
|
385
413
|
size = 24,
|
|
386
414
|
color = 'currentColor',
|
|
387
415
|
filled = false,
|
|
388
416
|
strokeWidth = 1
|
|
389
|
-
} =
|
|
390
|
-
props = _objectWithoutPropertiesLoose(
|
|
417
|
+
} = _ref6,
|
|
418
|
+
props = _objectWithoutPropertiesLoose(_ref6, _excluded6);
|
|
391
419
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
392
420
|
size: size,
|
|
393
421
|
color: color
|
|
@@ -399,14 +427,14 @@ var YoutubeIcon = _ref5 => {
|
|
|
399
427
|
points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"
|
|
400
428
|
})));
|
|
401
429
|
};
|
|
402
|
-
var LinkedinIcon =
|
|
430
|
+
var LinkedinIcon = _ref7 => {
|
|
403
431
|
var {
|
|
404
432
|
size = 24,
|
|
405
433
|
color = 'currentColor',
|
|
406
434
|
filled = true,
|
|
407
435
|
strokeWidth = 1
|
|
408
|
-
} =
|
|
409
|
-
props = _objectWithoutPropertiesLoose(
|
|
436
|
+
} = _ref7,
|
|
437
|
+
props = _objectWithoutPropertiesLoose(_ref7, _excluded7);
|
|
410
438
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
411
439
|
size: size,
|
|
412
440
|
color: color
|
|
@@ -425,14 +453,14 @@ var LinkedinIcon = _ref6 => {
|
|
|
425
453
|
r: "2"
|
|
426
454
|
})));
|
|
427
455
|
};
|
|
428
|
-
var ThreadsIcon =
|
|
456
|
+
var ThreadsIcon = _ref8 => {
|
|
429
457
|
var {
|
|
430
458
|
size = 24,
|
|
431
459
|
color = 'currentColor',
|
|
432
460
|
filled = false,
|
|
433
461
|
strokeWidth = 1
|
|
434
|
-
} =
|
|
435
|
-
props = _objectWithoutPropertiesLoose(
|
|
462
|
+
} = _ref8,
|
|
463
|
+
props = _objectWithoutPropertiesLoose(_ref8, _excluded8);
|
|
436
464
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
437
465
|
size: size,
|
|
438
466
|
color: color
|
|
@@ -447,15 +475,15 @@ var ThreadsIcon = _ref7 => {
|
|
|
447
475
|
})));
|
|
448
476
|
};
|
|
449
477
|
// Example Refactored Icon: MinusIcon without undefined 'padding' prop
|
|
450
|
-
var MinusIcon =
|
|
478
|
+
var MinusIcon = _ref9 => {
|
|
451
479
|
var {
|
|
452
480
|
size = 24,
|
|
453
481
|
color = 'currentColor',
|
|
454
482
|
filled = false,
|
|
455
483
|
// Assuming minus can be filled; adjust as needed
|
|
456
484
|
strokeWidth = 1
|
|
457
|
-
} =
|
|
458
|
-
props = _objectWithoutPropertiesLoose(
|
|
485
|
+
} = _ref9,
|
|
486
|
+
props = _objectWithoutPropertiesLoose(_ref9, _excluded9);
|
|
459
487
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
460
488
|
size: size,
|
|
461
489
|
color: color
|
|
@@ -472,14 +500,14 @@ var MinusIcon = _ref8 => {
|
|
|
472
500
|
})));
|
|
473
501
|
};
|
|
474
502
|
// Example Refactored Icon: InfoIcon with accessibility enhancements
|
|
475
|
-
var InfoIcon =
|
|
503
|
+
var InfoIcon = _ref10 => {
|
|
476
504
|
var {
|
|
477
505
|
size = 24,
|
|
478
506
|
color = 'currentColor',
|
|
479
507
|
filled = false,
|
|
480
508
|
strokeWidth = 1
|
|
481
|
-
} =
|
|
482
|
-
props = _objectWithoutPropertiesLoose(
|
|
509
|
+
} = _ref10,
|
|
510
|
+
props = _objectWithoutPropertiesLoose(_ref10, _excluded10);
|
|
483
511
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
484
512
|
size: size,
|
|
485
513
|
color: color
|
|
@@ -493,14 +521,14 @@ var InfoIcon = _ref9 => {
|
|
|
493
521
|
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"
|
|
494
522
|
})));
|
|
495
523
|
};
|
|
496
|
-
var HeartIcon =
|
|
524
|
+
var HeartIcon = _ref11 => {
|
|
497
525
|
var {
|
|
498
526
|
size = 24,
|
|
499
527
|
color = 'currentColor',
|
|
500
528
|
filled = true,
|
|
501
529
|
strokeWidth = 1
|
|
502
|
-
} =
|
|
503
|
-
props = _objectWithoutPropertiesLoose(
|
|
530
|
+
} = _ref11,
|
|
531
|
+
props = _objectWithoutPropertiesLoose(_ref11, _excluded11);
|
|
504
532
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
505
533
|
size: size,
|
|
506
534
|
color: color
|
|
@@ -512,14 +540,14 @@ var HeartIcon = _ref10 => {
|
|
|
512
540
|
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"
|
|
513
541
|
})));
|
|
514
542
|
};
|
|
515
|
-
var StarIcon =
|
|
543
|
+
var StarIcon = _ref12 => {
|
|
516
544
|
var {
|
|
517
545
|
size = 24,
|
|
518
546
|
color = 'currentColor',
|
|
519
547
|
filled = true,
|
|
520
548
|
strokeWidth = 1
|
|
521
|
-
} =
|
|
522
|
-
props = _objectWithoutPropertiesLoose(
|
|
549
|
+
} = _ref12,
|
|
550
|
+
props = _objectWithoutPropertiesLoose(_ref12, _excluded12);
|
|
523
551
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
524
552
|
size: size,
|
|
525
553
|
color: color
|
|
@@ -531,14 +559,14 @@ var StarIcon = _ref11 => {
|
|
|
531
559
|
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"
|
|
532
560
|
})));
|
|
533
561
|
};
|
|
534
|
-
var SaveIcon =
|
|
562
|
+
var SaveIcon = _ref13 => {
|
|
535
563
|
var {
|
|
536
564
|
size = 24,
|
|
537
565
|
color = 'currentColor',
|
|
538
566
|
filled = false,
|
|
539
567
|
strokeWidth = 1
|
|
540
|
-
} =
|
|
541
|
-
props = _objectWithoutPropertiesLoose(
|
|
568
|
+
} = _ref13,
|
|
569
|
+
props = _objectWithoutPropertiesLoose(_ref13, _excluded13);
|
|
542
570
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
543
571
|
size: size,
|
|
544
572
|
color: color
|
|
@@ -554,14 +582,14 @@ var SaveIcon = _ref12 => {
|
|
|
554
582
|
points: "7 3 7 8 15 8"
|
|
555
583
|
})));
|
|
556
584
|
};
|
|
557
|
-
var WarningIcon =
|
|
585
|
+
var WarningIcon = _ref14 => {
|
|
558
586
|
var {
|
|
559
587
|
size = 24,
|
|
560
588
|
color = 'currentColor',
|
|
561
589
|
filled = false,
|
|
562
590
|
strokeWidth = 1
|
|
563
|
-
} =
|
|
564
|
-
props = _objectWithoutPropertiesLoose(
|
|
591
|
+
} = _ref14,
|
|
592
|
+
props = _objectWithoutPropertiesLoose(_ref14, _excluded14);
|
|
565
593
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
566
594
|
size: size,
|
|
567
595
|
color: color
|
|
@@ -585,14 +613,14 @@ var WarningIcon = _ref13 => {
|
|
|
585
613
|
y2: "15"
|
|
586
614
|
})));
|
|
587
615
|
};
|
|
588
|
-
var BatteryIcon =
|
|
616
|
+
var BatteryIcon = _ref15 => {
|
|
589
617
|
var {
|
|
590
618
|
size = 24,
|
|
591
619
|
color = 'currentColor',
|
|
592
620
|
filled = true,
|
|
593
621
|
strokeWidth = 1
|
|
594
|
-
} =
|
|
595
|
-
props = _objectWithoutPropertiesLoose(
|
|
622
|
+
} = _ref15,
|
|
623
|
+
props = _objectWithoutPropertiesLoose(_ref15, _excluded15);
|
|
596
624
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
597
625
|
size: size,
|
|
598
626
|
color: color
|
|
@@ -604,14 +632,14 @@ var BatteryIcon = _ref14 => {
|
|
|
604
632
|
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"
|
|
605
633
|
})));
|
|
606
634
|
};
|
|
607
|
-
var BookmarkIcon =
|
|
635
|
+
var BookmarkIcon = _ref16 => {
|
|
608
636
|
var {
|
|
609
637
|
size = 24,
|
|
610
638
|
color = 'currentColor',
|
|
611
639
|
filled = false,
|
|
612
640
|
strokeWidth = 1
|
|
613
|
-
} =
|
|
614
|
-
props = _objectWithoutPropertiesLoose(
|
|
641
|
+
} = _ref16,
|
|
642
|
+
props = _objectWithoutPropertiesLoose(_ref16, _excluded16);
|
|
615
643
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
616
644
|
size: size,
|
|
617
645
|
color: color
|
|
@@ -623,14 +651,14 @@ var BookmarkIcon = _ref15 => {
|
|
|
623
651
|
d: "M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2z"
|
|
624
652
|
})));
|
|
625
653
|
};
|
|
626
|
-
var CloudIcon =
|
|
654
|
+
var CloudIcon = _ref17 => {
|
|
627
655
|
var {
|
|
628
656
|
size = 24,
|
|
629
657
|
color = 'currentColor',
|
|
630
658
|
filled = false,
|
|
631
659
|
strokeWidth = 1
|
|
632
|
-
} =
|
|
633
|
-
props = _objectWithoutPropertiesLoose(
|
|
660
|
+
} = _ref17,
|
|
661
|
+
props = _objectWithoutPropertiesLoose(_ref17, _excluded17);
|
|
634
662
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
635
663
|
size: size,
|
|
636
664
|
color: color
|
|
@@ -642,14 +670,14 @@ var CloudIcon = _ref16 => {
|
|
|
642
670
|
d: "M18 10h-1.26A8 8 0 109 20h9a5 5 0 000-10z"
|
|
643
671
|
})));
|
|
644
672
|
};
|
|
645
|
-
var CopyIcon =
|
|
673
|
+
var CopyIcon = _ref18 => {
|
|
646
674
|
var {
|
|
647
675
|
size = 24,
|
|
648
676
|
color = 'currentColor',
|
|
649
677
|
filled = false,
|
|
650
678
|
strokeWidth = 1
|
|
651
|
-
} =
|
|
652
|
-
props = _objectWithoutPropertiesLoose(
|
|
679
|
+
} = _ref18,
|
|
680
|
+
props = _objectWithoutPropertiesLoose(_ref18, _excluded18);
|
|
653
681
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
654
682
|
size: size,
|
|
655
683
|
color: color
|
|
@@ -668,14 +696,14 @@ var CopyIcon = _ref17 => {
|
|
|
668
696
|
d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"
|
|
669
697
|
})));
|
|
670
698
|
};
|
|
671
|
-
var DustBinIcon =
|
|
699
|
+
var DustBinIcon = _ref19 => {
|
|
672
700
|
var {
|
|
673
701
|
size = 24,
|
|
674
702
|
color = 'currentColor',
|
|
675
703
|
filled = false,
|
|
676
704
|
strokeWidth = 1
|
|
677
|
-
} =
|
|
678
|
-
props = _objectWithoutPropertiesLoose(
|
|
705
|
+
} = _ref19,
|
|
706
|
+
props = _objectWithoutPropertiesLoose(_ref19, _excluded19);
|
|
679
707
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
680
708
|
size: size,
|
|
681
709
|
color: color
|
|
@@ -687,14 +715,14 @@ var DustBinIcon = _ref18 => {
|
|
|
687
715
|
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"
|
|
688
716
|
})));
|
|
689
717
|
};
|
|
690
|
-
var EditIcon =
|
|
718
|
+
var EditIcon = _ref20 => {
|
|
691
719
|
var {
|
|
692
720
|
size = 24,
|
|
693
721
|
color = 'currentColor',
|
|
694
722
|
filled = false,
|
|
695
723
|
strokeWidth = 1
|
|
696
|
-
} =
|
|
697
|
-
props = _objectWithoutPropertiesLoose(
|
|
724
|
+
} = _ref20,
|
|
725
|
+
props = _objectWithoutPropertiesLoose(_ref20, _excluded20);
|
|
698
726
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
699
727
|
size: size,
|
|
700
728
|
color: color
|
|
@@ -706,14 +734,14 @@ var EditIcon = _ref19 => {
|
|
|
706
734
|
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"
|
|
707
735
|
})));
|
|
708
736
|
};
|
|
709
|
-
var ErrorIcon =
|
|
737
|
+
var ErrorIcon = _ref21 => {
|
|
710
738
|
var {
|
|
711
739
|
size = 24,
|
|
712
740
|
color = 'currentColor',
|
|
713
741
|
strokeWidth = 1,
|
|
714
742
|
filled = true
|
|
715
|
-
} =
|
|
716
|
-
props = _objectWithoutPropertiesLoose(
|
|
743
|
+
} = _ref21,
|
|
744
|
+
props = _objectWithoutPropertiesLoose(_ref21, _excluded21);
|
|
717
745
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
718
746
|
size: size,
|
|
719
747
|
color: color
|
|
@@ -739,14 +767,14 @@ var ErrorIcon = _ref20 => {
|
|
|
739
767
|
stroke: filled ? 'white' : color
|
|
740
768
|
})));
|
|
741
769
|
};
|
|
742
|
-
var DownloadIcon =
|
|
770
|
+
var DownloadIcon = _ref22 => {
|
|
743
771
|
var {
|
|
744
772
|
size = 24,
|
|
745
773
|
color = 'currentColor',
|
|
746
774
|
filled = true,
|
|
747
775
|
strokeWidth = 1
|
|
748
|
-
} =
|
|
749
|
-
props = _objectWithoutPropertiesLoose(
|
|
776
|
+
} = _ref22,
|
|
777
|
+
props = _objectWithoutPropertiesLoose(_ref22, _excluded22);
|
|
750
778
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
751
779
|
size: size,
|
|
752
780
|
color: color
|
|
@@ -758,13 +786,13 @@ var DownloadIcon = _ref21 => {
|
|
|
758
786
|
d: "M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
|
|
759
787
|
})));
|
|
760
788
|
};
|
|
761
|
-
var MenuIcon =
|
|
789
|
+
var MenuIcon = _ref23 => {
|
|
762
790
|
var {
|
|
763
791
|
size = 24,
|
|
764
792
|
color = 'currentColor',
|
|
765
793
|
strokeWidth = 1
|
|
766
|
-
} =
|
|
767
|
-
props = _objectWithoutPropertiesLoose(
|
|
794
|
+
} = _ref23,
|
|
795
|
+
props = _objectWithoutPropertiesLoose(_ref23, _excluded23);
|
|
768
796
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
769
797
|
size: size,
|
|
770
798
|
color: color
|
|
@@ -792,14 +820,14 @@ var MenuIcon = _ref22 => {
|
|
|
792
820
|
y2: "18"
|
|
793
821
|
})));
|
|
794
822
|
};
|
|
795
|
-
var ShareIcon =
|
|
823
|
+
var ShareIcon = _ref24 => {
|
|
796
824
|
var {
|
|
797
825
|
size = 24,
|
|
798
826
|
color = 'currentColor',
|
|
799
827
|
filled = false,
|
|
800
828
|
strokeWidth = 1
|
|
801
|
-
} =
|
|
802
|
-
props = _objectWithoutPropertiesLoose(
|
|
829
|
+
} = _ref24,
|
|
830
|
+
props = _objectWithoutPropertiesLoose(_ref24, _excluded24);
|
|
803
831
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
804
832
|
size: size,
|
|
805
833
|
color: color
|
|
@@ -833,13 +861,13 @@ var ShareIcon = _ref23 => {
|
|
|
833
861
|
y2: "10.49"
|
|
834
862
|
})));
|
|
835
863
|
};
|
|
836
|
-
var RefreshIcon =
|
|
864
|
+
var RefreshIcon = _ref25 => {
|
|
837
865
|
var {
|
|
838
866
|
size = 24,
|
|
839
867
|
color = 'currentColor',
|
|
840
868
|
strokeWidth = 1
|
|
841
|
-
} =
|
|
842
|
-
props = _objectWithoutPropertiesLoose(
|
|
869
|
+
} = _ref25,
|
|
870
|
+
props = _objectWithoutPropertiesLoose(_ref25, _excluded25);
|
|
843
871
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
844
872
|
size: size,
|
|
845
873
|
color: color
|
|
@@ -853,14 +881,14 @@ var RefreshIcon = _ref24 => {
|
|
|
853
881
|
d: "M20.49 15a9 9 0 1 1-2.13-9.36L23 10"
|
|
854
882
|
})));
|
|
855
883
|
};
|
|
856
|
-
var PrintIcon =
|
|
884
|
+
var PrintIcon = _ref26 => {
|
|
857
885
|
var {
|
|
858
886
|
size = 24,
|
|
859
887
|
color = 'currentColor',
|
|
860
888
|
filled = true,
|
|
861
889
|
strokeWidth = 1
|
|
862
|
-
} =
|
|
863
|
-
props = _objectWithoutPropertiesLoose(
|
|
890
|
+
} = _ref26,
|
|
891
|
+
props = _objectWithoutPropertiesLoose(_ref26, _excluded26);
|
|
864
892
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
865
893
|
size: size,
|
|
866
894
|
color: color
|
|
@@ -873,13 +901,13 @@ var PrintIcon = _ref25 => {
|
|
|
873
901
|
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"
|
|
874
902
|
})));
|
|
875
903
|
};
|
|
876
|
-
var PanelIcon =
|
|
904
|
+
var PanelIcon = _ref27 => {
|
|
877
905
|
var {
|
|
878
906
|
size = 24,
|
|
879
907
|
color = 'currentColor',
|
|
880
908
|
strokeWidth = 1
|
|
881
|
-
} =
|
|
882
|
-
props = _objectWithoutPropertiesLoose(
|
|
909
|
+
} = _ref27,
|
|
910
|
+
props = _objectWithoutPropertiesLoose(_ref27, _excluded27);
|
|
883
911
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
884
912
|
size: size,
|
|
885
913
|
color: color
|
|
@@ -943,14 +971,14 @@ var PanelIcon = _ref26 => {
|
|
|
943
971
|
y2: "16"
|
|
944
972
|
})));
|
|
945
973
|
};
|
|
946
|
-
var FilterIcon =
|
|
974
|
+
var FilterIcon = _ref28 => {
|
|
947
975
|
var {
|
|
948
976
|
size = 24,
|
|
949
977
|
color = 'currentColor',
|
|
950
978
|
filled = false,
|
|
951
979
|
strokeWidth = 1
|
|
952
|
-
} =
|
|
953
|
-
props = _objectWithoutPropertiesLoose(
|
|
980
|
+
} = _ref28,
|
|
981
|
+
props = _objectWithoutPropertiesLoose(_ref28, _excluded28);
|
|
954
982
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
955
983
|
size: size,
|
|
956
984
|
color: color
|
|
@@ -962,14 +990,14 @@ var FilterIcon = _ref27 => {
|
|
|
962
990
|
d: "M3 4h18l-7 10v5l-4 2v-7L3 4z"
|
|
963
991
|
})));
|
|
964
992
|
};
|
|
965
|
-
var HomeIcon =
|
|
993
|
+
var HomeIcon = _ref29 => {
|
|
966
994
|
var {
|
|
967
995
|
size = 24,
|
|
968
996
|
color = 'currentColor',
|
|
969
997
|
filled = true,
|
|
970
998
|
strokeWidth = 1
|
|
971
|
-
} =
|
|
972
|
-
props = _objectWithoutPropertiesLoose(
|
|
999
|
+
} = _ref29,
|
|
1000
|
+
props = _objectWithoutPropertiesLoose(_ref29, _excluded29);
|
|
973
1001
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
974
1002
|
size: size,
|
|
975
1003
|
color: color
|
|
@@ -981,14 +1009,14 @@ var HomeIcon = _ref28 => {
|
|
|
981
1009
|
d: "M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z"
|
|
982
1010
|
})));
|
|
983
1011
|
};
|
|
984
|
-
var LocationIcon =
|
|
1012
|
+
var LocationIcon = _ref30 => {
|
|
985
1013
|
var {
|
|
986
1014
|
size = 24,
|
|
987
1015
|
color = 'currentColor',
|
|
988
1016
|
filled = true,
|
|
989
1017
|
strokeWidth = 1
|
|
990
|
-
} =
|
|
991
|
-
props = _objectWithoutPropertiesLoose(
|
|
1018
|
+
} = _ref30,
|
|
1019
|
+
props = _objectWithoutPropertiesLoose(_ref30, _excluded30);
|
|
992
1020
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
993
1021
|
size: size,
|
|
994
1022
|
color: color
|
|
@@ -1000,14 +1028,14 @@ var LocationIcon = _ref29 => {
|
|
|
1000
1028
|
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"
|
|
1001
1029
|
})));
|
|
1002
1030
|
};
|
|
1003
|
-
var LockIcon =
|
|
1031
|
+
var LockIcon = _ref31 => {
|
|
1004
1032
|
var {
|
|
1005
1033
|
size = 24,
|
|
1006
1034
|
color = 'currentColor',
|
|
1007
1035
|
filled = false,
|
|
1008
1036
|
strokeWidth = 1
|
|
1009
|
-
} =
|
|
1010
|
-
props = _objectWithoutPropertiesLoose(
|
|
1037
|
+
} = _ref31,
|
|
1038
|
+
props = _objectWithoutPropertiesLoose(_ref31, _excluded31);
|
|
1011
1039
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1012
1040
|
size: size,
|
|
1013
1041
|
color: color
|
|
@@ -1026,14 +1054,14 @@ var LockIcon = _ref30 => {
|
|
|
1026
1054
|
d: "M7 11V7a5 5 0 0 1 10 0v4"
|
|
1027
1055
|
})));
|
|
1028
1056
|
};
|
|
1029
|
-
var MicrophoneIcon =
|
|
1057
|
+
var MicrophoneIcon = _ref32 => {
|
|
1030
1058
|
var {
|
|
1031
1059
|
size = 24,
|
|
1032
1060
|
color = 'currentColor',
|
|
1033
1061
|
filled = false,
|
|
1034
1062
|
strokeWidth = 1
|
|
1035
|
-
} =
|
|
1036
|
-
props = _objectWithoutPropertiesLoose(
|
|
1063
|
+
} = _ref32,
|
|
1064
|
+
props = _objectWithoutPropertiesLoose(_ref32, _excluded32);
|
|
1037
1065
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1038
1066
|
size: size,
|
|
1039
1067
|
color: color
|
|
@@ -1059,14 +1087,14 @@ var MicrophoneIcon = _ref31 => {
|
|
|
1059
1087
|
y2: "23"
|
|
1060
1088
|
})));
|
|
1061
1089
|
};
|
|
1062
|
-
var MoonIcon =
|
|
1090
|
+
var MoonIcon = _ref33 => {
|
|
1063
1091
|
var {
|
|
1064
1092
|
size = 24,
|
|
1065
1093
|
color = 'currentColor',
|
|
1066
1094
|
filled = true,
|
|
1067
1095
|
strokeWidth = 1
|
|
1068
|
-
} =
|
|
1069
|
-
props = _objectWithoutPropertiesLoose(
|
|
1096
|
+
} = _ref33,
|
|
1097
|
+
props = _objectWithoutPropertiesLoose(_ref33, _excluded33);
|
|
1070
1098
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1071
1099
|
size: size,
|
|
1072
1100
|
color: color
|
|
@@ -1078,14 +1106,14 @@ var MoonIcon = _ref32 => {
|
|
|
1078
1106
|
d: "M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"
|
|
1079
1107
|
})));
|
|
1080
1108
|
};
|
|
1081
|
-
var NotificationIcon =
|
|
1109
|
+
var NotificationIcon = _ref34 => {
|
|
1082
1110
|
var {
|
|
1083
1111
|
size = 24,
|
|
1084
1112
|
color = 'currentColor',
|
|
1085
1113
|
filled = false,
|
|
1086
1114
|
strokeWidth = 1
|
|
1087
|
-
} =
|
|
1088
|
-
props = _objectWithoutPropertiesLoose(
|
|
1115
|
+
} = _ref34,
|
|
1116
|
+
props = _objectWithoutPropertiesLoose(_ref34, _excluded34);
|
|
1089
1117
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1090
1118
|
size: size,
|
|
1091
1119
|
color: color
|
|
@@ -1099,14 +1127,14 @@ var NotificationIcon = _ref33 => {
|
|
|
1099
1127
|
d: "M13.73 21a2 2 0 0 1-3.46 0"
|
|
1100
1128
|
})));
|
|
1101
1129
|
};
|
|
1102
|
-
var OpenEyeIcon =
|
|
1130
|
+
var OpenEyeIcon = _ref35 => {
|
|
1103
1131
|
var {
|
|
1104
1132
|
size = 24,
|
|
1105
1133
|
color = 'currentColor',
|
|
1106
1134
|
filled = true,
|
|
1107
1135
|
strokeWidth = 1
|
|
1108
|
-
} =
|
|
1109
|
-
props = _objectWithoutPropertiesLoose(
|
|
1136
|
+
} = _ref35,
|
|
1137
|
+
props = _objectWithoutPropertiesLoose(_ref35, _excluded35);
|
|
1110
1138
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1111
1139
|
size: size,
|
|
1112
1140
|
color: color
|
|
@@ -1118,14 +1146,14 @@ var OpenEyeIcon = _ref34 => {
|
|
|
1118
1146
|
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"
|
|
1119
1147
|
})));
|
|
1120
1148
|
};
|
|
1121
|
-
var ProfileIcon =
|
|
1149
|
+
var ProfileIcon = _ref36 => {
|
|
1122
1150
|
var {
|
|
1123
1151
|
size = 24,
|
|
1124
1152
|
color = 'currentColor',
|
|
1125
1153
|
filled = true,
|
|
1126
1154
|
strokeWidth = 1
|
|
1127
|
-
} =
|
|
1128
|
-
props = _objectWithoutPropertiesLoose(
|
|
1155
|
+
} = _ref36,
|
|
1156
|
+
props = _objectWithoutPropertiesLoose(_ref36, _excluded36);
|
|
1129
1157
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1130
1158
|
size: size,
|
|
1131
1159
|
color: color
|
|
@@ -1138,14 +1166,14 @@ var ProfileIcon = _ref35 => {
|
|
|
1138
1166
|
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"
|
|
1139
1167
|
}), ' '));
|
|
1140
1168
|
};
|
|
1141
|
-
var SettingsIcon =
|
|
1169
|
+
var SettingsIcon = _ref37 => {
|
|
1142
1170
|
var {
|
|
1143
1171
|
size = 24,
|
|
1144
1172
|
color = 'currentColor',
|
|
1145
1173
|
filled = false,
|
|
1146
1174
|
strokeWidth = 1
|
|
1147
|
-
} =
|
|
1148
|
-
props = _objectWithoutPropertiesLoose(
|
|
1175
|
+
} = _ref37,
|
|
1176
|
+
props = _objectWithoutPropertiesLoose(_ref37, _excluded37);
|
|
1149
1177
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1150
1178
|
size: size,
|
|
1151
1179
|
color: color
|
|
@@ -1157,14 +1185,14 @@ var SettingsIcon = _ref36 => {
|
|
|
1157
1185
|
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"
|
|
1158
1186
|
})));
|
|
1159
1187
|
};
|
|
1160
|
-
var SuccessIcon =
|
|
1188
|
+
var SuccessIcon = _ref38 => {
|
|
1161
1189
|
var {
|
|
1162
1190
|
size = 24,
|
|
1163
1191
|
color = 'currentColor',
|
|
1164
1192
|
filled = true,
|
|
1165
1193
|
strokeWidth = 1
|
|
1166
|
-
} =
|
|
1167
|
-
props = _objectWithoutPropertiesLoose(
|
|
1194
|
+
} = _ref38,
|
|
1195
|
+
props = _objectWithoutPropertiesLoose(_ref38, _excluded38);
|
|
1168
1196
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1169
1197
|
size: size,
|
|
1170
1198
|
color: color
|
|
@@ -1176,14 +1204,14 @@ var SuccessIcon = _ref37 => {
|
|
|
1176
1204
|
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"
|
|
1177
1205
|
})));
|
|
1178
1206
|
};
|
|
1179
|
-
var UnLikeIcon =
|
|
1207
|
+
var UnLikeIcon = _ref39 => {
|
|
1180
1208
|
var {
|
|
1181
1209
|
size = 24,
|
|
1182
1210
|
color = 'currentColor',
|
|
1183
1211
|
filled = true,
|
|
1184
1212
|
strokeWidth = 1
|
|
1185
|
-
} =
|
|
1186
|
-
props = _objectWithoutPropertiesLoose(
|
|
1213
|
+
} = _ref39,
|
|
1214
|
+
props = _objectWithoutPropertiesLoose(_ref39, _excluded39);
|
|
1187
1215
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1188
1216
|
size: size,
|
|
1189
1217
|
color: color
|
|
@@ -1195,13 +1223,13 @@ var UnLikeIcon = _ref38 => {
|
|
|
1195
1223
|
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"
|
|
1196
1224
|
})));
|
|
1197
1225
|
};
|
|
1198
|
-
var ClockIcon =
|
|
1226
|
+
var ClockIcon = _ref40 => {
|
|
1199
1227
|
var {
|
|
1200
1228
|
size = 24,
|
|
1201
1229
|
color = 'currentColor',
|
|
1202
1230
|
strokeWidth = 1
|
|
1203
|
-
} =
|
|
1204
|
-
props = _objectWithoutPropertiesLoose(
|
|
1231
|
+
} = _ref40,
|
|
1232
|
+
props = _objectWithoutPropertiesLoose(_ref40, _excluded40);
|
|
1205
1233
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1206
1234
|
size: size,
|
|
1207
1235
|
color: color
|
|
@@ -1217,13 +1245,13 @@ var ClockIcon = _ref39 => {
|
|
|
1217
1245
|
points: "12 6 12 12 16 14"
|
|
1218
1246
|
})));
|
|
1219
1247
|
};
|
|
1220
|
-
var CameraIcon =
|
|
1248
|
+
var CameraIcon = _ref41 => {
|
|
1221
1249
|
var {
|
|
1222
1250
|
size = 24,
|
|
1223
1251
|
color = 'currentColor',
|
|
1224
1252
|
strokeWidth = 1
|
|
1225
|
-
} =
|
|
1226
|
-
props = _objectWithoutPropertiesLoose(
|
|
1253
|
+
} = _ref41,
|
|
1254
|
+
props = _objectWithoutPropertiesLoose(_ref41, _excluded41);
|
|
1227
1255
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1228
1256
|
size: size,
|
|
1229
1257
|
color: color
|
|
@@ -1239,14 +1267,14 @@ var CameraIcon = _ref40 => {
|
|
|
1239
1267
|
r: "4"
|
|
1240
1268
|
})));
|
|
1241
1269
|
};
|
|
1242
|
-
var BluetoothIcon =
|
|
1270
|
+
var BluetoothIcon = _ref42 => {
|
|
1243
1271
|
var {
|
|
1244
1272
|
size = 24,
|
|
1245
1273
|
color = 'currentColor',
|
|
1246
1274
|
filled = true,
|
|
1247
1275
|
strokeWidth = 1
|
|
1248
|
-
} =
|
|
1249
|
-
props = _objectWithoutPropertiesLoose(
|
|
1276
|
+
} = _ref42,
|
|
1277
|
+
props = _objectWithoutPropertiesLoose(_ref42, _excluded42);
|
|
1250
1278
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1251
1279
|
size: size,
|
|
1252
1280
|
color: color
|
|
@@ -1258,14 +1286,14 @@ var BluetoothIcon = _ref41 => {
|
|
|
1258
1286
|
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"
|
|
1259
1287
|
})));
|
|
1260
1288
|
};
|
|
1261
|
-
var LikeIcon =
|
|
1289
|
+
var LikeIcon = _ref43 => {
|
|
1262
1290
|
var {
|
|
1263
1291
|
size = 24,
|
|
1264
1292
|
color = 'currentColor',
|
|
1265
1293
|
filled = true,
|
|
1266
1294
|
strokeWidth = 1
|
|
1267
|
-
} =
|
|
1268
|
-
props = _objectWithoutPropertiesLoose(
|
|
1295
|
+
} = _ref43,
|
|
1296
|
+
props = _objectWithoutPropertiesLoose(_ref43, _excluded43);
|
|
1269
1297
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1270
1298
|
size: size,
|
|
1271
1299
|
color: color
|
|
@@ -1277,14 +1305,14 @@ var LikeIcon = _ref42 => {
|
|
|
1277
1305
|
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"
|
|
1278
1306
|
})));
|
|
1279
1307
|
};
|
|
1280
|
-
var UnlockIcon =
|
|
1308
|
+
var UnlockIcon = _ref44 => {
|
|
1281
1309
|
var {
|
|
1282
1310
|
size = 24,
|
|
1283
1311
|
color = 'currentColor',
|
|
1284
1312
|
filled = false,
|
|
1285
1313
|
strokeWidth = 1
|
|
1286
|
-
} =
|
|
1287
|
-
props = _objectWithoutPropertiesLoose(
|
|
1314
|
+
} = _ref44,
|
|
1315
|
+
props = _objectWithoutPropertiesLoose(_ref44, _excluded44);
|
|
1288
1316
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1289
1317
|
size: size,
|
|
1290
1318
|
color: color
|
|
@@ -1303,14 +1331,14 @@ var UnlockIcon = _ref43 => {
|
|
|
1303
1331
|
d: "M7 11V7a5 5 0 0 1 9.9-1"
|
|
1304
1332
|
})));
|
|
1305
1333
|
};
|
|
1306
|
-
var WifiIcon =
|
|
1334
|
+
var WifiIcon = _ref45 => {
|
|
1307
1335
|
var {
|
|
1308
1336
|
size = 24,
|
|
1309
1337
|
color = 'currentColor',
|
|
1310
1338
|
filled = false,
|
|
1311
1339
|
strokeWidth = 1
|
|
1312
|
-
} =
|
|
1313
|
-
props = _objectWithoutPropertiesLoose(
|
|
1340
|
+
} = _ref45,
|
|
1341
|
+
props = _objectWithoutPropertiesLoose(_ref45, _excluded45);
|
|
1314
1342
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1315
1343
|
size: size,
|
|
1316
1344
|
color: color
|
|
@@ -1322,14 +1350,14 @@ var WifiIcon = _ref44 => {
|
|
|
1322
1350
|
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"
|
|
1323
1351
|
})));
|
|
1324
1352
|
};
|
|
1325
|
-
var UploadIcon =
|
|
1353
|
+
var UploadIcon = _ref46 => {
|
|
1326
1354
|
var {
|
|
1327
1355
|
size = 24,
|
|
1328
1356
|
color = 'currentColor',
|
|
1329
1357
|
filled = false,
|
|
1330
1358
|
strokeWidth = 1
|
|
1331
|
-
} =
|
|
1332
|
-
props = _objectWithoutPropertiesLoose(
|
|
1359
|
+
} = _ref46,
|
|
1360
|
+
props = _objectWithoutPropertiesLoose(_ref46, _excluded46);
|
|
1333
1361
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1334
1362
|
size: size,
|
|
1335
1363
|
color: color
|
|
@@ -1345,14 +1373,14 @@ var UploadIcon = _ref45 => {
|
|
|
1345
1373
|
d: "M12 12l0 9"
|
|
1346
1374
|
})));
|
|
1347
1375
|
};
|
|
1348
|
-
var SearchIcon =
|
|
1376
|
+
var SearchIcon = _ref47 => {
|
|
1349
1377
|
var {
|
|
1350
1378
|
size = 24,
|
|
1351
1379
|
color = 'currentColor',
|
|
1352
1380
|
filled = true,
|
|
1353
1381
|
strokeWidth = 1
|
|
1354
|
-
} =
|
|
1355
|
-
props = _objectWithoutPropertiesLoose(
|
|
1382
|
+
} = _ref47,
|
|
1383
|
+
props = _objectWithoutPropertiesLoose(_ref47, _excluded47);
|
|
1356
1384
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1357
1385
|
size: size,
|
|
1358
1386
|
color: color
|
|
@@ -1364,14 +1392,14 @@ var SearchIcon = _ref46 => {
|
|
|
1364
1392
|
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"
|
|
1365
1393
|
})));
|
|
1366
1394
|
};
|
|
1367
|
-
var CloseEyeIcon =
|
|
1395
|
+
var CloseEyeIcon = _ref48 => {
|
|
1368
1396
|
var {
|
|
1369
1397
|
size = 24,
|
|
1370
1398
|
color = 'currentColor',
|
|
1371
1399
|
filled = true,
|
|
1372
1400
|
strokeWidth = 1
|
|
1373
|
-
} =
|
|
1374
|
-
props = _objectWithoutPropertiesLoose(
|
|
1401
|
+
} = _ref48,
|
|
1402
|
+
props = _objectWithoutPropertiesLoose(_ref48, _excluded48);
|
|
1375
1403
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1376
1404
|
size: size,
|
|
1377
1405
|
color: color
|
|
@@ -1384,14 +1412,14 @@ var CloseEyeIcon = _ref47 => {
|
|
|
1384
1412
|
fill: "currentColor"
|
|
1385
1413
|
})));
|
|
1386
1414
|
};
|
|
1387
|
-
var ExternalLinkIcon =
|
|
1415
|
+
var ExternalLinkIcon = _ref49 => {
|
|
1388
1416
|
var {
|
|
1389
1417
|
size = 24,
|
|
1390
1418
|
color = 'currentColor',
|
|
1391
1419
|
filled = true,
|
|
1392
1420
|
strokeWidth = 1
|
|
1393
|
-
} =
|
|
1394
|
-
props = _objectWithoutPropertiesLoose(
|
|
1421
|
+
} = _ref49,
|
|
1422
|
+
props = _objectWithoutPropertiesLoose(_ref49, _excluded49);
|
|
1395
1423
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1396
1424
|
size: size,
|
|
1397
1425
|
color: color
|
|
@@ -1403,14 +1431,14 @@ var ExternalLinkIcon = _ref48 => {
|
|
|
1403
1431
|
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"
|
|
1404
1432
|
})));
|
|
1405
1433
|
};
|
|
1406
|
-
var PlusIcon =
|
|
1434
|
+
var PlusIcon = _ref50 => {
|
|
1407
1435
|
var {
|
|
1408
1436
|
size = 24,
|
|
1409
1437
|
color = 'currentColor',
|
|
1410
1438
|
filled = true,
|
|
1411
1439
|
strokeWidth = 1
|
|
1412
|
-
} =
|
|
1413
|
-
props = _objectWithoutPropertiesLoose(
|
|
1440
|
+
} = _ref50,
|
|
1441
|
+
props = _objectWithoutPropertiesLoose(_ref50, _excluded50);
|
|
1414
1442
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1415
1443
|
size: size,
|
|
1416
1444
|
color: color
|
|
@@ -1432,14 +1460,14 @@ var PlusIcon = _ref49 => {
|
|
|
1432
1460
|
y2: "12"
|
|
1433
1461
|
})));
|
|
1434
1462
|
};
|
|
1435
|
-
var TickIcon =
|
|
1463
|
+
var TickIcon = _ref51 => {
|
|
1436
1464
|
var {
|
|
1437
1465
|
size = 24,
|
|
1438
1466
|
color = 'currentColor',
|
|
1439
1467
|
filled = true,
|
|
1440
1468
|
strokeWidth = 1
|
|
1441
|
-
} =
|
|
1442
|
-
props = _objectWithoutPropertiesLoose(
|
|
1469
|
+
} = _ref51,
|
|
1470
|
+
props = _objectWithoutPropertiesLoose(_ref51, _excluded51);
|
|
1443
1471
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1444
1472
|
size: size,
|
|
1445
1473
|
color: color
|
|
@@ -1453,14 +1481,14 @@ var TickIcon = _ref50 => {
|
|
|
1453
1481
|
strokeLinejoin: "round"
|
|
1454
1482
|
})));
|
|
1455
1483
|
};
|
|
1456
|
-
var BoldArrowIcon =
|
|
1484
|
+
var BoldArrowIcon = _ref52 => {
|
|
1457
1485
|
var {
|
|
1458
1486
|
size = 24,
|
|
1459
1487
|
color = 'currentColor',
|
|
1460
1488
|
filled = true,
|
|
1461
1489
|
strokeWidth = 1
|
|
1462
|
-
} =
|
|
1463
|
-
props = _objectWithoutPropertiesLoose(
|
|
1490
|
+
} = _ref52,
|
|
1491
|
+
props = _objectWithoutPropertiesLoose(_ref52, _excluded52);
|
|
1464
1492
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1465
1493
|
size: size,
|
|
1466
1494
|
color: color
|
|
@@ -1472,14 +1500,14 @@ var BoldArrowIcon = _ref51 => {
|
|
|
1472
1500
|
d: "M12 4l7 7h-4v7h-6v-7H5l7-7z"
|
|
1473
1501
|
})));
|
|
1474
1502
|
};
|
|
1475
|
-
var ArrowIcon =
|
|
1503
|
+
var ArrowIcon = _ref53 => {
|
|
1476
1504
|
var {
|
|
1477
1505
|
size = 24,
|
|
1478
1506
|
color = 'currentColor',
|
|
1479
1507
|
filled = true,
|
|
1480
1508
|
strokeWidth = 1
|
|
1481
|
-
} =
|
|
1482
|
-
props = _objectWithoutPropertiesLoose(
|
|
1509
|
+
} = _ref53,
|
|
1510
|
+
props = _objectWithoutPropertiesLoose(_ref53, _excluded53);
|
|
1483
1511
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1484
1512
|
size: size,
|
|
1485
1513
|
color: color
|
|
@@ -1497,14 +1525,14 @@ var ArrowIcon = _ref52 => {
|
|
|
1497
1525
|
points: "6 12 12 6 18 12"
|
|
1498
1526
|
})));
|
|
1499
1527
|
};
|
|
1500
|
-
var SpinnerIcon =
|
|
1528
|
+
var SpinnerIcon = _ref54 => {
|
|
1501
1529
|
var {
|
|
1502
1530
|
size = 24,
|
|
1503
1531
|
color = 'currentColor',
|
|
1504
1532
|
filled = true,
|
|
1505
1533
|
strokeWidth = 1
|
|
1506
|
-
} =
|
|
1507
|
-
props = _objectWithoutPropertiesLoose(
|
|
1534
|
+
} = _ref54,
|
|
1535
|
+
props = _objectWithoutPropertiesLoose(_ref54, _excluded54);
|
|
1508
1536
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1509
1537
|
size: size,
|
|
1510
1538
|
color: color
|
|
@@ -1522,13 +1550,13 @@ var SpinnerIcon = _ref53 => {
|
|
|
1522
1550
|
strokeOpacity: "1"
|
|
1523
1551
|
})));
|
|
1524
1552
|
};
|
|
1525
|
-
var CalendarIcon =
|
|
1553
|
+
var CalendarIcon = _ref55 => {
|
|
1526
1554
|
var {
|
|
1527
1555
|
size = 24,
|
|
1528
1556
|
color = 'currentColor',
|
|
1529
1557
|
strokeWidth = 1
|
|
1530
|
-
} =
|
|
1531
|
-
props = _objectWithoutPropertiesLoose(
|
|
1558
|
+
} = _ref55,
|
|
1559
|
+
props = _objectWithoutPropertiesLoose(_ref55, _excluded55);
|
|
1532
1560
|
return /*#__PURE__*/React.createElement(IconWrapper, Object.assign({
|
|
1533
1561
|
size: size,
|
|
1534
1562
|
color: color
|
|
@@ -1567,6 +1595,7 @@ var CalendarIcon = _ref54 => {
|
|
|
1567
1595
|
var Icon = {
|
|
1568
1596
|
__proto__: null,
|
|
1569
1597
|
ChevronIcon: ChevronIcon,
|
|
1598
|
+
TwitchIcon: TwitchIcon,
|
|
1570
1599
|
CloseIcon: CloseIcon,
|
|
1571
1600
|
InstagramIcon: InstagramIcon,
|
|
1572
1601
|
YoutubeIcon: YoutubeIcon,
|
|
@@ -2221,19 +2250,23 @@ var DefaultSpeeds = {
|
|
|
2221
2250
|
slow: 300
|
|
2222
2251
|
};
|
|
2223
2252
|
|
|
2224
|
-
var _excluded$8 = ["size", "speed", "color"],
|
|
2225
|
-
_excluded2$1 = ["size", "speed", "color"],
|
|
2226
|
-
_excluded3$1 = ["size", "speed", "color"],
|
|
2253
|
+
var _excluded$8 = ["size", "speed", "color", "themeMode"],
|
|
2254
|
+
_excluded2$1 = ["size", "speed", "color", "themeMode"],
|
|
2255
|
+
_excluded3$1 = ["size", "speed", "color", "themeMode"],
|
|
2227
2256
|
_excluded4$1 = ["size", "children", "textColor", "loaderColor", "type", "speed", "textPosition"];
|
|
2228
2257
|
var DefaultSpinner = _ref => {
|
|
2229
2258
|
var {
|
|
2230
2259
|
size = 'md',
|
|
2231
2260
|
speed = 'normal',
|
|
2232
|
-
color = 'theme.loading'
|
|
2261
|
+
color = 'theme.loading',
|
|
2262
|
+
themeMode: elementMode
|
|
2233
2263
|
} = _ref,
|
|
2234
2264
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$8);
|
|
2235
|
-
var
|
|
2236
|
-
|
|
2265
|
+
var {
|
|
2266
|
+
getColor,
|
|
2267
|
+
themeMode
|
|
2268
|
+
} = useTheme();
|
|
2269
|
+
var colorStyle = getColor(color, elementMode ? elementMode : themeMode);
|
|
2237
2270
|
var sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];
|
|
2238
2271
|
var [angle, setAngle] = useState(0);
|
|
2239
2272
|
useEffect(() => {
|
|
@@ -2272,11 +2305,15 @@ var Dotted = _ref2 => {
|
|
|
2272
2305
|
var {
|
|
2273
2306
|
size = 'md',
|
|
2274
2307
|
speed = 'normal',
|
|
2275
|
-
color = 'theme.loading'
|
|
2308
|
+
color = 'theme.loading',
|
|
2309
|
+
themeMode: elementMode
|
|
2276
2310
|
} = _ref2,
|
|
2277
2311
|
props = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
|
|
2278
|
-
var
|
|
2279
|
-
|
|
2312
|
+
var {
|
|
2313
|
+
getColor,
|
|
2314
|
+
themeMode
|
|
2315
|
+
} = useTheme();
|
|
2316
|
+
var colorStyle = getColor(color, elementMode ? elementMode : themeMode);
|
|
2280
2317
|
var sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];
|
|
2281
2318
|
var [angle, setAngle] = useState(0);
|
|
2282
2319
|
useEffect(() => {
|
|
@@ -2314,11 +2351,15 @@ var Quarter = _ref3 => {
|
|
|
2314
2351
|
var {
|
|
2315
2352
|
size = 'md',
|
|
2316
2353
|
speed = 'normal',
|
|
2317
|
-
color = 'theme.loading'
|
|
2354
|
+
color = 'theme.loading',
|
|
2355
|
+
themeMode: elementMode
|
|
2318
2356
|
} = _ref3,
|
|
2319
2357
|
props = _objectWithoutPropertiesLoose(_ref3, _excluded3$1);
|
|
2320
|
-
var
|
|
2321
|
-
|
|
2358
|
+
var {
|
|
2359
|
+
getColor,
|
|
2360
|
+
themeMode
|
|
2361
|
+
} = useTheme();
|
|
2362
|
+
var colorStyle = getColor(color, elementMode ? elementMode : themeMode);
|
|
2322
2363
|
var sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];
|
|
2323
2364
|
var [angle, setAngle] = useState(0);
|
|
2324
2365
|
useEffect(() => {
|
|
@@ -2384,7 +2425,7 @@ React.createElement(LoaderView, Object.assign({}, props)));
|
|
|
2384
2425
|
// Exports the LoaderComponent as Loader, making it available for use in other parts of the application.
|
|
2385
2426
|
var Loader = LoaderComponent;
|
|
2386
2427
|
|
|
2387
|
-
var _excluded$9 = ["icon", "shadow", "children", "ariaLabel", "to", "isAuto", "isFilled", "isIconRounded", "isLoading", "isDisabled", "size", "variant", "iconPosition", "colorScheme", "shape", "onClick", "loaderProps", "loaderPosition", "effect", "isHovered", "setIsHovered", "isExternal"];
|
|
2428
|
+
var _excluded$9 = ["icon", "shadow", "children", "ariaLabel", "to", "isAuto", "isFilled", "isIconRounded", "isLoading", "isDisabled", "size", "variant", "iconPosition", "colorScheme", "shape", "onClick", "loaderProps", "loaderPosition", "effect", "isHovered", "setIsHovered", "isExternal", "themeMode"];
|
|
2388
2429
|
var contrast = /*#__PURE__*/require('contrast');
|
|
2389
2430
|
var ButtonView = _ref => {
|
|
2390
2431
|
var _props$onClick;
|
|
@@ -2418,14 +2459,16 @@ var ButtonView = _ref => {
|
|
|
2418
2459
|
effect = 'default',
|
|
2419
2460
|
isHovered,
|
|
2420
2461
|
setIsHovered = () => {},
|
|
2421
|
-
isExternal = false
|
|
2462
|
+
isExternal = false,
|
|
2463
|
+
themeMode: elementMode
|
|
2422
2464
|
// Defines CSS properties for 'outline' variant of the button with conditional styles based on reverse state.
|
|
2423
2465
|
} = _ref,
|
|
2424
2466
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$9);
|
|
2425
2467
|
var {
|
|
2426
|
-
getColor
|
|
2468
|
+
getColor,
|
|
2469
|
+
themeMode
|
|
2427
2470
|
} = useTheme();
|
|
2428
|
-
var handleHover =
|
|
2471
|
+
var handleHover = over => setIsHovered(over);
|
|
2429
2472
|
var isActive = !(isDisabled || isLoading);
|
|
2430
2473
|
var defaultNativeProps = {
|
|
2431
2474
|
disabled: !isActive
|
|
@@ -2433,7 +2476,7 @@ var ButtonView = _ref => {
|
|
|
2433
2476
|
var buttonColor = isActive ? colorScheme : 'theme.disabled';
|
|
2434
2477
|
var hovering = isHovered && effect === 'hover';
|
|
2435
2478
|
var reverse = isHovered && effect === 'reverse';
|
|
2436
|
-
var isLight = contrast(getColor(buttonColor)) == 'light';
|
|
2479
|
+
var isLight = contrast(getColor(buttonColor, elementMode ? elementMode : themeMode)) == 'light';
|
|
2437
2480
|
var ButtonVariants = {
|
|
2438
2481
|
filled: {
|
|
2439
2482
|
// Defines CSS properties for 'link' variant of the button with conditional styles based on reverse state, includes text decoration.
|
|
@@ -2484,7 +2527,6 @@ var ButtonView = _ref => {
|
|
|
2484
2527
|
return /*#__PURE__*/React.createElement(Element, Object.assign({
|
|
2485
2528
|
gap: 8,
|
|
2486
2529
|
as: "button",
|
|
2487
|
-
role: "button",
|
|
2488
2530
|
border: "none",
|
|
2489
2531
|
color: "color.white",
|
|
2490
2532
|
display: "flex",
|
|
@@ -2494,8 +2536,8 @@ var ButtonView = _ref => {
|
|
|
2494
2536
|
backgroundColor: buttonColor,
|
|
2495
2537
|
borderRadius: ButtonShapes[shape],
|
|
2496
2538
|
onClick: (_props$onClick = props.onClick) != null ? _props$onClick : onClick,
|
|
2497
|
-
onMouseEnter: handleHover,
|
|
2498
|
-
onMouseLeave: handleHover,
|
|
2539
|
+
onMouseEnter: () => handleHover(true),
|
|
2540
|
+
onMouseLeave: () => handleHover(false),
|
|
2499
2541
|
cursor: isActive ? 'pointer' : 'default',
|
|
2500
2542
|
filter: hovering ? 'brightness(0.85)' : 'brightness(1)'
|
|
2501
2543
|
}, hovering && !props.isDisabled ? {
|
|
@@ -2536,20 +2578,22 @@ var ButtonComponent = props => {
|
|
|
2536
2578
|
};
|
|
2537
2579
|
var Button = ButtonComponent;
|
|
2538
2580
|
|
|
2539
|
-
var _excluded$a = ["src", "color"],
|
|
2581
|
+
var _excluded$a = ["src", "color", "themeMode"],
|
|
2540
2582
|
_excluded2$2 = ["path"];
|
|
2541
2583
|
var FileSVG = _ref => {
|
|
2542
2584
|
var {
|
|
2543
2585
|
src,
|
|
2544
|
-
color
|
|
2586
|
+
color,
|
|
2587
|
+
themeMode: elementMode
|
|
2545
2588
|
} = _ref,
|
|
2546
2589
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$a);
|
|
2547
2590
|
var {
|
|
2548
|
-
getColor
|
|
2591
|
+
getColor,
|
|
2592
|
+
themeMode
|
|
2549
2593
|
} = useTheme();
|
|
2550
2594
|
var Colorprops = color ? {
|
|
2551
|
-
fill: getColor(color),
|
|
2552
|
-
stroke: getColor(color)
|
|
2595
|
+
fill: getColor(color, elementMode ? elementMode : themeMode),
|
|
2596
|
+
stroke: getColor(color, elementMode ? elementMode : themeMode)
|
|
2553
2597
|
} : {};
|
|
2554
2598
|
return /*#__PURE__*/React.createElement(Center, Object.assign({}, props), /*#__PURE__*/React.createElement(Image, Object.assign({}, Colorprops, {
|
|
2555
2599
|
content: 'url("' + src + '")',
|
|
@@ -3653,7 +3697,7 @@ var useTextFieldState = _ref => {
|
|
|
3653
3697
|
};
|
|
3654
3698
|
};
|
|
3655
3699
|
|
|
3656
|
-
var _excluded$l = ["id", "name", "label", "hint", "value", "onChange", "left", "right", "helperText", "placeholder", "onChangeText", "shadow", "styles", "size", "shape", "variant", "colorScheme", "error", "isFocused", "isHovered", "isDisabled", "isReadOnly", "isClearable", "isAutoFocus", "setHint", "setIsFocused", "setIsHovered", "setValue", "onClick", "onFocus", "onBlur"];
|
|
3700
|
+
var _excluded$l = ["id", "name", "label", "hint", "value", "onChange", "left", "right", "helperText", "placeholder", "onChangeText", "shadow", "styles", "size", "shape", "variant", "colorScheme", "error", "isFocused", "isHovered", "isDisabled", "isReadOnly", "isClearable", "isAutoFocus", "setHint", "setIsFocused", "setIsHovered", "setValue", "onClick", "onFocus", "onBlur", "themeMode"];
|
|
3657
3701
|
var TextFieldInput = props => /*#__PURE__*/React.createElement(Input, Object.assign({
|
|
3658
3702
|
type: "text"
|
|
3659
3703
|
}, props));
|
|
@@ -3694,13 +3738,15 @@ var TextFieldView = _ref => {
|
|
|
3694
3738
|
setValue = () => {},
|
|
3695
3739
|
onClick = () => {},
|
|
3696
3740
|
onFocus,
|
|
3697
|
-
onBlur = () => {}
|
|
3741
|
+
onBlur = () => {},
|
|
3742
|
+
themeMode: elementMode
|
|
3698
3743
|
} = _ref,
|
|
3699
3744
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
|
|
3700
3745
|
var {
|
|
3701
|
-
getColor
|
|
3746
|
+
getColor,
|
|
3747
|
+
themeMode
|
|
3702
3748
|
} = useTheme();
|
|
3703
|
-
var IconColor = getColor('color.blueGray.700');
|
|
3749
|
+
var IconColor = getColor('color.blueGray.700', elementMode ? elementMode : themeMode);
|
|
3704
3750
|
var isWithLabel = !!(isFocused && label);
|
|
3705
3751
|
var fieldStyles = Object.assign({
|
|
3706
3752
|
margin: 0,
|
|
@@ -5471,7 +5517,7 @@ var IconSizes$4 = {
|
|
|
5471
5517
|
|
|
5472
5518
|
var _excluded$n = ["size"],
|
|
5473
5519
|
_excluded2$4 = ["size"],
|
|
5474
|
-
_excluded3$3 = ["id", "name", "label", "value", "placeholder", "helperText", "hide", "error", "isHovered", "isFocused", "isAutoFocus", "isDisabled", "isReadOnly", "shadow", "newOptions", "size", "variant", "shape", "colorScheme", "onChange", "onBlur", "setHide", "setNewOptions", "setIsHovered", "setIsFocused", "setValue", "styles"];
|
|
5520
|
+
_excluded3$3 = ["id", "name", "label", "value", "placeholder", "helperText", "hide", "error", "isHovered", "isFocused", "isAutoFocus", "isDisabled", "isReadOnly", "shadow", "newOptions", "size", "variant", "shape", "colorScheme", "onChange", "onBlur", "setHide", "setNewOptions", "setIsHovered", "setIsFocused", "setValue", "styles", "themeMode"];
|
|
5475
5521
|
var CountryList = _ref => {
|
|
5476
5522
|
var props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
|
|
5477
5523
|
return /*#__PURE__*/React.createElement(Element, Object.assign({
|
|
@@ -5583,13 +5629,15 @@ var CountryPickerView = _ref5 => {
|
|
|
5583
5629
|
dropDown: {},
|
|
5584
5630
|
helperText: {},
|
|
5585
5631
|
box: {}
|
|
5586
|
-
}
|
|
5632
|
+
},
|
|
5633
|
+
themeMode: elementMode
|
|
5587
5634
|
} = _ref5,
|
|
5588
5635
|
props = _objectWithoutPropertiesLoose(_ref5, _excluded3$3);
|
|
5589
5636
|
var {
|
|
5590
|
-
getColor
|
|
5637
|
+
getColor,
|
|
5638
|
+
themeMode
|
|
5591
5639
|
} = useTheme();
|
|
5592
|
-
var IconColor = getColor('color.blueGray.700');
|
|
5640
|
+
var IconColor = getColor('color.blueGray.700', elementMode ? elementMode : themeMode);
|
|
5593
5641
|
var handleHover = () => setIsHovered(!isHovered);
|
|
5594
5642
|
var handleFocus = () => setIsFocused(true);
|
|
5595
5643
|
var handleCallback = option => {
|
|
@@ -6625,6 +6673,11 @@ var MessageLayout = _ref => {
|
|
|
6625
6673
|
|
|
6626
6674
|
var useModalStore = /*#__PURE__*/create(set => ({
|
|
6627
6675
|
modals: [],
|
|
6676
|
+
onHide: name => name,
|
|
6677
|
+
onShow: (name, props) => ({
|
|
6678
|
+
name,
|
|
6679
|
+
props
|
|
6680
|
+
}),
|
|
6628
6681
|
show: function show(name, modalProps, overlayProps) {
|
|
6629
6682
|
if (modalProps === void 0) {
|
|
6630
6683
|
modalProps = {};
|
|
@@ -6632,7 +6685,7 @@ var useModalStore = /*#__PURE__*/create(set => ({
|
|
|
6632
6685
|
if (overlayProps === void 0) {
|
|
6633
6686
|
overlayProps = {};
|
|
6634
6687
|
}
|
|
6635
|
-
set(state => ({
|
|
6688
|
+
set(state => Object.assign({}, state, {
|
|
6636
6689
|
modals: [...state.modals, {
|
|
6637
6690
|
name,
|
|
6638
6691
|
props: Object.assign({}, modalProps, {
|
|
@@ -6651,10 +6704,20 @@ var useModalStore = /*#__PURE__*/create(set => ({
|
|
|
6651
6704
|
};
|
|
6652
6705
|
}
|
|
6653
6706
|
// Hide specific modal by name
|
|
6654
|
-
return {
|
|
6707
|
+
return Object.assign({}, state, {
|
|
6655
6708
|
modals: state.modals.filter(modal => modal.name !== name)
|
|
6656
|
-
};
|
|
6709
|
+
});
|
|
6657
6710
|
});
|
|
6711
|
+
},
|
|
6712
|
+
setOnHide: onHide => {
|
|
6713
|
+
set(state => Object.assign({}, state, {
|
|
6714
|
+
onHide
|
|
6715
|
+
}));
|
|
6716
|
+
},
|
|
6717
|
+
setOnShow: onShow => {
|
|
6718
|
+
set(state => Object.assign({}, state, {
|
|
6719
|
+
onShow
|
|
6720
|
+
}));
|
|
6658
6721
|
}
|
|
6659
6722
|
}));
|
|
6660
6723
|
var showModal = function showModal(name, modalProps, overlayProps) {
|
|
@@ -6665,9 +6728,11 @@ var showModal = function showModal(name, modalProps, overlayProps) {
|
|
|
6665
6728
|
overlayProps = {};
|
|
6666
6729
|
}
|
|
6667
6730
|
useModalStore.getState().show(name, modalProps, overlayProps);
|
|
6731
|
+
useModalStore.getState().onShow(name, modalProps);
|
|
6668
6732
|
};
|
|
6669
6733
|
var hideModal = name => {
|
|
6670
6734
|
console.log('hideModal', name);
|
|
6735
|
+
useModalStore.getState().onHide(name);
|
|
6671
6736
|
useModalStore.getState().hide(typeof name === 'string' ? name : undefined);
|
|
6672
6737
|
};
|
|
6673
6738
|
|
|
@@ -6838,9 +6903,17 @@ var ModalFooter = _ref5 => {
|
|
|
6838
6903
|
|
|
6839
6904
|
var ModalLayout = _ref => {
|
|
6840
6905
|
var {
|
|
6841
|
-
modals: availableModals
|
|
6906
|
+
modals: availableModals,
|
|
6907
|
+
onShow,
|
|
6908
|
+
onHide
|
|
6842
6909
|
} = _ref;
|
|
6843
6910
|
var activeModals = useModalStore(state => state.modals);
|
|
6911
|
+
if (onShow) {
|
|
6912
|
+
useModalStore.getState().setOnShow(onShow);
|
|
6913
|
+
}
|
|
6914
|
+
if (onHide) {
|
|
6915
|
+
useModalStore.getState().setOnHide(onHide);
|
|
6916
|
+
}
|
|
6844
6917
|
if (activeModals.length === 0) {
|
|
6845
6918
|
return null;
|
|
6846
6919
|
}
|
|
@@ -7317,5 +7390,5 @@ var ToggleGroupComponent = _ref => {
|
|
|
7317
7390
|
// Expose the ToggleGroupComponent for import into other modules
|
|
7318
7391
|
var ToggleGroup = ToggleGroupComponent;
|
|
7319
7392
|
|
|
7320
|
-
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, DustBinIcon, EditIcon, ErrorIcon, ExternalLinkIcon, 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, UnLikeIcon, UnlockIcon, UploadIcon, Vertical, VerticalBase, View, WarningIcon, WifiIcon, YoutubeIcon, hideMessage, hideModal, showMessage, showModal, useMessageStore, useModalStore };
|
|
7393
|
+
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, DustBinIcon, EditIcon, ErrorIcon, ExternalLinkIcon, 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, UnLikeIcon, UnlockIcon, UploadIcon, Vertical, VerticalBase, View, WarningIcon, WifiIcon, YoutubeIcon, hideMessage, hideModal, showMessage, showModal, useMessageStore, useModalStore };
|
|
7321
7394
|
//# sourceMappingURL=web.esm.js.map
|