@mirai/ui 1.0.259 → 1.0.260
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/build/components/InputPhone/__tests__/__snapshots__/InputPhone.test.js.snap +6 -14
- package/build/components/InputSelect/__tests__/__snapshots__/InputSelect.test.js.snap +1 -5
- package/build/components/InputText/__tests__/__snapshots__/InputText.test.js.snap +3 -7
- package/build/components/Notification/Notification.module.css +2 -5
- package/build/components/Notification/__tests__/__snapshots__/Notification.test.js.snap +12 -28
- package/build/helpers/getIconState.js +1 -1
- package/build/helpers/getIconState.js.map +1 -1
- package/build/primitives/Icon/Icon.constants.js +2 -1
- package/build/primitives/Icon/Icon.constants.js.map +1 -1
- package/build/primitives/Icon/__tests__/__snapshots__/Icon.test.js.snap +2 -2
- package/package.json +1 -1
|
@@ -1191,11 +1191,11 @@ exports[`component:<InputPhone> prop:showState (false) & success 1`] = `
|
|
|
1191
1191
|
xmlns="http://www.w3.org/2000/svg"
|
|
1192
1192
|
>
|
|
1193
1193
|
<path
|
|
1194
|
-
d="M0 0h24v24H0V0z"
|
|
1194
|
+
d="M0 0h24v24H0V0zm0 0h24v24H0V0z"
|
|
1195
1195
|
fill="none"
|
|
1196
1196
|
/>
|
|
1197
1197
|
<path
|
|
1198
|
-
d="
|
|
1198
|
+
d="M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
1199
1199
|
/>
|
|
1200
1200
|
</svg>
|
|
1201
1201
|
</span>
|
|
@@ -1293,11 +1293,7 @@ exports[`component:<InputPhone> prop:showState (false) & warning 1`] = `
|
|
|
1293
1293
|
xmlns="http://www.w3.org/2000/svg"
|
|
1294
1294
|
>
|
|
1295
1295
|
<path
|
|
1296
|
-
d="
|
|
1297
|
-
fill="none"
|
|
1298
|
-
/>
|
|
1299
|
-
<path
|
|
1300
|
-
d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
1296
|
+
d="M12 5.99 19.53 19H4.47L12 5.99M12 2 1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
|
|
1301
1297
|
/>
|
|
1302
1298
|
</svg>
|
|
1303
1299
|
</span>
|
|
@@ -1395,11 +1391,11 @@ exports[`component:<InputPhone> prop:success 1`] = `
|
|
|
1395
1391
|
xmlns="http://www.w3.org/2000/svg"
|
|
1396
1392
|
>
|
|
1397
1393
|
<path
|
|
1398
|
-
d="M0 0h24v24H0V0z"
|
|
1394
|
+
d="M0 0h24v24H0V0zm0 0h24v24H0V0z"
|
|
1399
1395
|
fill="none"
|
|
1400
1396
|
/>
|
|
1401
1397
|
<path
|
|
1402
|
-
d="
|
|
1398
|
+
d="M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
1403
1399
|
/>
|
|
1404
1400
|
</svg>
|
|
1405
1401
|
</span>
|
|
@@ -1611,11 +1607,7 @@ exports[`component:<InputPhone> prop:warning 1`] = `
|
|
|
1611
1607
|
xmlns="http://www.w3.org/2000/svg"
|
|
1612
1608
|
>
|
|
1613
1609
|
<path
|
|
1614
|
-
d="
|
|
1615
|
-
fill="none"
|
|
1616
|
-
/>
|
|
1617
|
-
<path
|
|
1618
|
-
d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
1610
|
+
d="M12 5.99 19.53 19H4.47L12 5.99M12 2 1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
|
|
1619
1611
|
/>
|
|
1620
1612
|
</svg>
|
|
1621
1613
|
</span>
|
|
@@ -757,11 +757,7 @@ exports[`component:<InputSelect> prop:warning 1`] = `
|
|
|
757
757
|
xmlns="http://www.w3.org/2000/svg"
|
|
758
758
|
>
|
|
759
759
|
<path
|
|
760
|
-
d="
|
|
761
|
-
fill="none"
|
|
762
|
-
/>
|
|
763
|
-
<path
|
|
764
|
-
d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
760
|
+
d="M12 5.99 19.53 19H4.47L12 5.99M12 2 1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
|
|
765
761
|
/>
|
|
766
762
|
</svg>
|
|
767
763
|
</span>
|
|
@@ -422,11 +422,11 @@ exports[`component:<InputText> prop:success 1`] = `
|
|
|
422
422
|
xmlns="http://www.w3.org/2000/svg"
|
|
423
423
|
>
|
|
424
424
|
<path
|
|
425
|
-
d="M0 0h24v24H0V0z"
|
|
425
|
+
d="M0 0h24v24H0V0zm0 0h24v24H0V0z"
|
|
426
426
|
fill="none"
|
|
427
427
|
/>
|
|
428
428
|
<path
|
|
429
|
-
d="
|
|
429
|
+
d="M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
430
430
|
/>
|
|
431
431
|
</svg>
|
|
432
432
|
</span>
|
|
@@ -515,11 +515,7 @@ exports[`component:<InputText> prop:warning 1`] = `
|
|
|
515
515
|
xmlns="http://www.w3.org/2000/svg"
|
|
516
516
|
>
|
|
517
517
|
<path
|
|
518
|
-
d="
|
|
519
|
-
fill="none"
|
|
520
|
-
/>
|
|
521
|
-
<path
|
|
522
|
-
d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
518
|
+
d="M12 5.99 19.53 19H4.47L12 5.99M12 2 1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
|
|
523
519
|
/>
|
|
524
520
|
</svg>
|
|
525
521
|
</span>
|
|
@@ -59,14 +59,11 @@
|
|
|
59
59
|
.notification .icon {
|
|
60
60
|
background-color: var(--mirai-ui-content);
|
|
61
61
|
border-radius: 50%;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.notification .icon:not(.small) {
|
|
65
62
|
padding: calc(var(--mirai-ui-space-XS) / 2);
|
|
66
63
|
}
|
|
67
64
|
|
|
68
|
-
.notification .icon
|
|
69
|
-
padding:
|
|
65
|
+
.notification.large .icon {
|
|
66
|
+
padding: var(--mirai-ui-space-XS);
|
|
70
67
|
}
|
|
71
68
|
|
|
72
69
|
.notification:not(.warning) .icon {
|
|
@@ -435,11 +435,11 @@ exports[`component:<Notification> prop:success & inline 1`] = `
|
|
|
435
435
|
xmlns="http://www.w3.org/2000/svg"
|
|
436
436
|
>
|
|
437
437
|
<path
|
|
438
|
-
d="M0 0h24v24H0V0z"
|
|
438
|
+
d="M0 0h24v24H0V0zm0 0h24v24H0V0z"
|
|
439
439
|
fill="none"
|
|
440
440
|
/>
|
|
441
441
|
<path
|
|
442
|
-
d="
|
|
442
|
+
d="M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
443
443
|
/>
|
|
444
444
|
</svg>
|
|
445
445
|
</span>
|
|
@@ -474,11 +474,11 @@ exports[`component:<Notification> prop:success & large 1`] = `
|
|
|
474
474
|
xmlns="http://www.w3.org/2000/svg"
|
|
475
475
|
>
|
|
476
476
|
<path
|
|
477
|
-
d="M0 0h24v24H0V0z"
|
|
477
|
+
d="M0 0h24v24H0V0zm0 0h24v24H0V0z"
|
|
478
478
|
fill="none"
|
|
479
479
|
/>
|
|
480
480
|
<path
|
|
481
|
-
d="
|
|
481
|
+
d="M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
482
482
|
/>
|
|
483
483
|
</svg>
|
|
484
484
|
</span>
|
|
@@ -513,11 +513,11 @@ exports[`component:<Notification> prop:success & small 1`] = `
|
|
|
513
513
|
xmlns="http://www.w3.org/2000/svg"
|
|
514
514
|
>
|
|
515
515
|
<path
|
|
516
|
-
d="M0 0h24v24H0V0z"
|
|
516
|
+
d="M0 0h24v24H0V0zm0 0h24v24H0V0z"
|
|
517
517
|
fill="none"
|
|
518
518
|
/>
|
|
519
519
|
<path
|
|
520
|
-
d="
|
|
520
|
+
d="M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
521
521
|
/>
|
|
522
522
|
</svg>
|
|
523
523
|
</span>
|
|
@@ -552,11 +552,11 @@ exports[`component:<Notification> prop:success 1`] = `
|
|
|
552
552
|
xmlns="http://www.w3.org/2000/svg"
|
|
553
553
|
>
|
|
554
554
|
<path
|
|
555
|
-
d="M0 0h24v24H0V0z"
|
|
555
|
+
d="M0 0h24v24H0V0zm0 0h24v24H0V0z"
|
|
556
556
|
fill="none"
|
|
557
557
|
/>
|
|
558
558
|
<path
|
|
559
|
-
d="
|
|
559
|
+
d="M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
560
560
|
/>
|
|
561
561
|
</svg>
|
|
562
562
|
</span>
|
|
@@ -635,11 +635,7 @@ exports[`component:<Notification> prop:warning & inline 1`] = `
|
|
|
635
635
|
xmlns="http://www.w3.org/2000/svg"
|
|
636
636
|
>
|
|
637
637
|
<path
|
|
638
|
-
d="
|
|
639
|
-
fill="none"
|
|
640
|
-
/>
|
|
641
|
-
<path
|
|
642
|
-
d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
638
|
+
d="M12 5.99 19.53 19H4.47L12 5.99M12 2 1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
|
|
643
639
|
/>
|
|
644
640
|
</svg>
|
|
645
641
|
</span>
|
|
@@ -674,11 +670,7 @@ exports[`component:<Notification> prop:warning & large 1`] = `
|
|
|
674
670
|
xmlns="http://www.w3.org/2000/svg"
|
|
675
671
|
>
|
|
676
672
|
<path
|
|
677
|
-
d="
|
|
678
|
-
fill="none"
|
|
679
|
-
/>
|
|
680
|
-
<path
|
|
681
|
-
d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
673
|
+
d="M12 5.99 19.53 19H4.47L12 5.99M12 2 1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
|
|
682
674
|
/>
|
|
683
675
|
</svg>
|
|
684
676
|
</span>
|
|
@@ -713,11 +705,7 @@ exports[`component:<Notification> prop:warning & small 1`] = `
|
|
|
713
705
|
xmlns="http://www.w3.org/2000/svg"
|
|
714
706
|
>
|
|
715
707
|
<path
|
|
716
|
-
d="
|
|
717
|
-
fill="none"
|
|
718
|
-
/>
|
|
719
|
-
<path
|
|
720
|
-
d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
708
|
+
d="M12 5.99 19.53 19H4.47L12 5.99M12 2 1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
|
|
721
709
|
/>
|
|
722
710
|
</svg>
|
|
723
711
|
</span>
|
|
@@ -752,11 +740,7 @@ exports[`component:<Notification> prop:warning 1`] = `
|
|
|
752
740
|
xmlns="http://www.w3.org/2000/svg"
|
|
753
741
|
>
|
|
754
742
|
<path
|
|
755
|
-
d="
|
|
756
|
-
fill="none"
|
|
757
|
-
/>
|
|
758
|
-
<path
|
|
759
|
-
d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
743
|
+
d="M12 5.99 19.53 19H4.47L12 5.99M12 2 1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
|
|
760
744
|
/>
|
|
761
745
|
</svg>
|
|
762
746
|
</span>
|
|
@@ -10,7 +10,7 @@ var getIconState = function getIconState() {
|
|
|
10
10
|
error = _ref.error,
|
|
11
11
|
success = _ref.success,
|
|
12
12
|
warning = _ref.warning;
|
|
13
|
-
return error ? _primitives.ICON.ERROR : warning ? _primitives.ICON.
|
|
13
|
+
return error ? _primitives.ICON.ERROR : warning ? _primitives.ICON.WARNING : success ? _primitives.ICON.SUCCESS : _primitives.ICON.INFO;
|
|
14
14
|
};
|
|
15
15
|
exports.getIconState = getIconState;
|
|
16
16
|
//# sourceMappingURL=getIconState.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getIconState.js","names":["getIconState","error","success","warning","ICON","ERROR","SUCCESS","INFO"],"sources":["../../src/helpers/getIconState.js"],"sourcesContent":["import { ICON } from '../primitives';\n\nexport const getIconState = ({ error, success, warning } = {}) =>\n error ? ICON.ERROR : warning ? ICON.
|
|
1
|
+
{"version":3,"file":"getIconState.js","names":["getIconState","error","success","warning","ICON","ERROR","WARNING","SUCCESS","INFO"],"sources":["../../src/helpers/getIconState.js"],"sourcesContent":["import { ICON } from '../primitives';\n\nexport const getIconState = ({ error, success, warning } = {}) =>\n error ? ICON.ERROR : warning ? ICON.WARNING : success ? ICON.SUCCESS : ICON.INFO;\n"],"mappings":";;;;;;AAAA;AAEO,IAAMA,YAAY,GAAG,SAAfA,YAAY;EAAA,+EAAkC,CAAC,CAAC;IAA9BC,KAAK,QAALA,KAAK;IAAEC,OAAO,QAAPA,OAAO;IAAEC,OAAO,QAAPA,OAAO;EAAA,OACpDF,KAAK,GAAGG,gBAAI,CAACC,KAAK,GAAGF,OAAO,GAAGC,gBAAI,CAACE,OAAO,GAAGJ,OAAO,GAAGE,gBAAI,CAACG,OAAO,GAAGH,gBAAI,CAACI,IAAI;AAAA;AAAC"}
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.ICON = void 0;
|
|
7
7
|
var _LiaMarkdown = require("@react-icons/all-files/lia/LiaMarkdown");
|
|
8
|
+
var _MdCheckCircleOutline = require("@react-icons/all-files/md/MdCheckCircleOutline");
|
|
8
9
|
var _MdErrorOutline = require("@react-icons/all-files/md/MdErrorOutline");
|
|
9
10
|
var _MdOutlineAdd = require("@react-icons/all-files/md/MdOutlineAdd");
|
|
10
11
|
var _MdOutlineArrowBack = require("@react-icons/all-files/md/MdOutlineArrowBack");
|
|
@@ -46,7 +47,7 @@ var ICON = {
|
|
|
46
47
|
// <Notification> & <InputText>
|
|
47
48
|
ERROR: _MdErrorOutline.MdErrorOutline,
|
|
48
49
|
INFO: _MdOutlineInfo.MdOutlineInfo,
|
|
49
|
-
SUCCESS:
|
|
50
|
+
SUCCESS: _MdCheckCircleOutline.MdCheckCircleOutline,
|
|
50
51
|
WARNING: _MdOutlineWarningAmber.MdOutlineWarningAmber,
|
|
51
52
|
// <Slider>
|
|
52
53
|
PHOTO_LIBRARY: _MdOutlinePhotoLibrary.MdOutlinePhotoLibrary,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.constants.js","names":["ICON","LEFT","RIGHT","UP","DOWN","CHECK","ADD","REMOVE","EXPAND_LESS","EXPAND_MORE","SEARCH","EYE_OPEN","EYE_CLOSE","CLOSE","ERROR","INFO","SUCCESS","WARNING","PHOTO_LIBRARY","FILTER","MARKDOWN"],"sources":["../../../src/primitives/Icon/Icon.constants.js"],"sourcesContent":["import { LiaMarkdown as MARKDOWN } from '@react-icons/all-files/lia/LiaMarkdown';\nimport { MdErrorOutline as ERROR } from '@react-icons/all-files/md/MdErrorOutline';\nimport { MdOutlineAdd as ADD } from '@react-icons/all-files/md/MdOutlineAdd';\nimport { MdOutlineArrowBack as LEFT } from '@react-icons/all-files/md/MdOutlineArrowBack';\nimport { MdOutlineArrowDownward as DOWN } from '@react-icons/all-files/md/MdOutlineArrowDownward';\nimport { MdOutlineArrowForward as RIGHT } from '@react-icons/all-files/md/MdOutlineArrowForward';\nimport { MdOutlineArrowUpward as UP } from '@react-icons/all-files/md/MdOutlineArrowUpward';\nimport { MdOutlineCheck as CHECK } from '@react-icons/all-files/md/MdOutlineCheck';\nimport { MdOutlineClose as CLOSE } from '@react-icons/all-files/md/MdOutlineClose';\nimport { MdOutlineExpandLess as EXPAND_LESS } from '@react-icons/all-files/md/MdOutlineExpandLess';\nimport { MdOutlineExpandMore as EXPAND_MORE } from '@react-icons/all-files/md/MdOutlineExpandMore';\nimport { MdOutlineFilterList as FILTER } from '@react-icons/all-files/md/MdOutlineFilterList';\nimport { MdOutlineInfo as INFO } from '@react-icons/all-files/md/MdOutlineInfo';\nimport { MdOutlinePhotoLibrary as PHOTO_LIBRARY } from '@react-icons/all-files/md/MdOutlinePhotoLibrary';\nimport { MdOutlineRemove as REMOVE } from '@react-icons/all-files/md/MdOutlineRemove';\nimport { MdOutlineSearch as SEARCH } from '@react-icons/all-files/md/MdOutlineSearch';\nimport { MdOutlineVisibility as EYE_OPEN } from '@react-icons/all-files/md/MdOutlineVisibility';\nimport { MdOutlineVisibilityOff as EYE_CLOSE } from '@react-icons/all-files/md/MdOutlineVisibilityOff';\nimport { MdOutlineWarningAmber as WARNING } from '@react-icons/all-files/md/MdOutlineWarningAmber';\n\nexport const ICON = {\n // <Calendar>\n LEFT,\n RIGHT,\n UP,\n DOWN,\n // <Check>\n CHECK,\n // <InputOption>\n ADD,\n REMOVE,\n // <InputSelect>\n EXPAND_LESS,\n EXPAND_MORE,\n // <InputText>\n SEARCH,\n EYE_OPEN,\n EYE_CLOSE,\n // <Modal>\n CLOSE,\n // <Notification> & <InputText>\n ERROR,\n INFO,\n SUCCESS
|
|
1
|
+
{"version":3,"file":"Icon.constants.js","names":["ICON","LEFT","RIGHT","UP","DOWN","CHECK","ADD","REMOVE","EXPAND_LESS","EXPAND_MORE","SEARCH","EYE_OPEN","EYE_CLOSE","CLOSE","ERROR","INFO","SUCCESS","WARNING","PHOTO_LIBRARY","FILTER","MARKDOWN"],"sources":["../../../src/primitives/Icon/Icon.constants.js"],"sourcesContent":["import { LiaMarkdown as MARKDOWN } from '@react-icons/all-files/lia/LiaMarkdown';\nimport { MdCheckCircleOutline as SUCCESS } from '@react-icons/all-files/md/MdCheckCircleOutline';\nimport { MdErrorOutline as ERROR } from '@react-icons/all-files/md/MdErrorOutline';\nimport { MdOutlineAdd as ADD } from '@react-icons/all-files/md/MdOutlineAdd';\nimport { MdOutlineArrowBack as LEFT } from '@react-icons/all-files/md/MdOutlineArrowBack';\nimport { MdOutlineArrowDownward as DOWN } from '@react-icons/all-files/md/MdOutlineArrowDownward';\nimport { MdOutlineArrowForward as RIGHT } from '@react-icons/all-files/md/MdOutlineArrowForward';\nimport { MdOutlineArrowUpward as UP } from '@react-icons/all-files/md/MdOutlineArrowUpward';\nimport { MdOutlineCheck as CHECK } from '@react-icons/all-files/md/MdOutlineCheck';\nimport { MdOutlineClose as CLOSE } from '@react-icons/all-files/md/MdOutlineClose';\nimport { MdOutlineExpandLess as EXPAND_LESS } from '@react-icons/all-files/md/MdOutlineExpandLess';\nimport { MdOutlineExpandMore as EXPAND_MORE } from '@react-icons/all-files/md/MdOutlineExpandMore';\nimport { MdOutlineFilterList as FILTER } from '@react-icons/all-files/md/MdOutlineFilterList';\nimport { MdOutlineInfo as INFO } from '@react-icons/all-files/md/MdOutlineInfo';\nimport { MdOutlinePhotoLibrary as PHOTO_LIBRARY } from '@react-icons/all-files/md/MdOutlinePhotoLibrary';\nimport { MdOutlineRemove as REMOVE } from '@react-icons/all-files/md/MdOutlineRemove';\nimport { MdOutlineSearch as SEARCH } from '@react-icons/all-files/md/MdOutlineSearch';\nimport { MdOutlineVisibility as EYE_OPEN } from '@react-icons/all-files/md/MdOutlineVisibility';\nimport { MdOutlineVisibilityOff as EYE_CLOSE } from '@react-icons/all-files/md/MdOutlineVisibilityOff';\nimport { MdOutlineWarningAmber as WARNING } from '@react-icons/all-files/md/MdOutlineWarningAmber';\n\nexport const ICON = {\n // <Calendar>\n LEFT,\n RIGHT,\n UP,\n DOWN,\n // <Check>\n CHECK,\n // <InputOption>\n ADD,\n REMOVE,\n // <InputSelect>\n EXPAND_LESS,\n EXPAND_MORE,\n // <InputText>\n SEARCH,\n EYE_OPEN,\n EYE_CLOSE,\n // <Modal>\n CLOSE,\n // <Notification> & <InputText>\n ERROR,\n INFO,\n SUCCESS,\n WARNING,\n // <Slider>\n PHOTO_LIBRARY,\n // <Table>\n FILTER,\n // Filetype\n MARKDOWN,\n};\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEO,IAAMA,IAAI,GAAG;EAClB;EACAC,IAAI,EAAJA,sCAAI;EACJC,KAAK,EAALA,4CAAK;EACLC,EAAE,EAAFA,0CAAE;EACFC,IAAI,EAAJA,8CAAI;EACJ;EACAC,KAAK,EAALA,8BAAK;EACL;EACAC,GAAG,EAAHA,0BAAG;EACHC,MAAM,EAANA,gCAAM;EACN;EACAC,WAAW,EAAXA,wCAAW;EACXC,WAAW,EAAXA,wCAAW;EACX;EACAC,MAAM,EAANA,gCAAM;EACNC,QAAQ,EAARA,wCAAQ;EACRC,SAAS,EAATA,8CAAS;EACT;EACAC,KAAK,EAALA,8BAAK;EACL;EACAC,KAAK,EAALA,8BAAK;EACLC,IAAI,EAAJA,4BAAI;EACJC,OAAO,EAAPA,0CAAO;EACPC,OAAO,EAAPA,4CAAO;EACP;EACAC,aAAa,EAAbA,4CAAa;EACb;EACAC,MAAM,EAANA,wCAAM;EACN;EACAC,QAAQ,EAARA;AACF,CAAC;AAAC"}
|
|
@@ -792,11 +792,11 @@ exports[`primitive:<Icon> prop:value prop:value (SUCCESS) 1`] = `
|
|
|
792
792
|
xmlns="http://www.w3.org/2000/svg"
|
|
793
793
|
>
|
|
794
794
|
<path
|
|
795
|
-
d="M0 0h24v24H0V0z"
|
|
795
|
+
d="M0 0h24v24H0V0zm0 0h24v24H0V0z"
|
|
796
796
|
fill="none"
|
|
797
797
|
/>
|
|
798
798
|
<path
|
|
799
|
-
d="
|
|
799
|
+
d="M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
800
800
|
/>
|
|
801
801
|
</svg>
|
|
802
802
|
</span>
|