@mirai/ui 2.1.69 → 2.1.70
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/Calendar/__tests__/__snapshots__/Calendar.test.jsx.snap +2802 -2802
- package/build/components/Form/__tests__/__snapshots__/Form.test.jsx.snap +1 -1
- package/build/components/InputList/__tests__/__snapshots__/InputList.test.js.snap +5 -5
- package/build/components/InputNumber/__tests__/__snapshots__/InputNumber.test.js.snap +14 -14
- package/build/components/InputOption/__tests__/__snapshots__/InputOption.test.js.snap +5 -5
- package/build/components/InputPhone/__tests__/__snapshots__/InputPhone.test.js.snap +8 -8
- package/build/components/InputSelect/__tests__/__snapshots__/InputSelect.test.js.snap +5 -5
- package/build/components/InputText/__tests__/__snapshots__/InputText.test.js.snap +5 -5
- package/build/components/Menu/__tests__/__snapshots__/Menu.test.jsx.snap +10 -10
- package/build/components/Modal/__tests__/__snapshots__/Modal.test.js.snap +1 -1
- package/build/components/Notification/__tests__/__snapshots__/Notification.test.js.snap +40 -40
- package/build/components/Slider/__tests__/__snapshots__/Slider.test.js.snap +7 -7
- package/build/components/Table/__tests__/__snapshots__/Table.ColumnFilter.test.js.snap +6 -6
- package/build/components/Table/__tests__/__snapshots__/Table.test.js.snap +10 -10
- package/build/components/Tooltip/__tests__/__snapshots__/Tooltip.test.jsx.snap +1 -1
- package/build/primitives/Layer/__tests__/__snapshots__/Layer.test.js.snap +5 -5
- package/build/primitives/Primitive/Primitive.constants.js +1 -1
- package/build/primitives/Primitive/Primitive.constants.js.map +1 -1
- package/build/primitives/Primitive/Primitive.js +4 -3
- package/build/primitives/Primitive/Primitive.js.map +1 -1
- package/build/primitives/Text/Text.js +1 -1
- package/build/primitives/Text/Text.js.map +1 -1
- package/build/primitives/Text/__tests__/__snapshots__/Text.test.js.snap +30 -30
- package/package.json +1 -1
|
@@ -30,7 +30,7 @@ exports[`component:<Notification> inherit:className 1`] = `
|
|
|
30
30
|
class="view texts"
|
|
31
31
|
>
|
|
32
32
|
<ui-text
|
|
33
|
-
class="text action
|
|
33
|
+
class="text action"
|
|
34
34
|
>
|
|
35
35
|
Lorem Ipsum...
|
|
36
36
|
</ui-text>
|
|
@@ -69,7 +69,7 @@ exports[`component:<Notification> prop:contrast & inline 1`] = `
|
|
|
69
69
|
class="view texts"
|
|
70
70
|
>
|
|
71
71
|
<ui-text
|
|
72
|
-
class="text action
|
|
72
|
+
class="text action"
|
|
73
73
|
>
|
|
74
74
|
Lorem Ipsum...
|
|
75
75
|
</ui-text>
|
|
@@ -108,7 +108,7 @@ exports[`component:<Notification> prop:contrast & large 1`] = `
|
|
|
108
108
|
class="view texts"
|
|
109
109
|
>
|
|
110
110
|
<ui-text
|
|
111
|
-
class="text paragraph
|
|
111
|
+
class="text paragraph"
|
|
112
112
|
>
|
|
113
113
|
Lorem Ipsum...
|
|
114
114
|
</ui-text>
|
|
@@ -147,7 +147,7 @@ exports[`component:<Notification> prop:contrast & small 1`] = `
|
|
|
147
147
|
class="view texts"
|
|
148
148
|
>
|
|
149
149
|
<ui-text
|
|
150
|
-
class="text small
|
|
150
|
+
class="text small"
|
|
151
151
|
>
|
|
152
152
|
Lorem Ipsum...
|
|
153
153
|
</ui-text>
|
|
@@ -186,7 +186,7 @@ exports[`component:<Notification> prop:contrast 1`] = `
|
|
|
186
186
|
class="view texts"
|
|
187
187
|
>
|
|
188
188
|
<ui-text
|
|
189
|
-
class="text action
|
|
189
|
+
class="text action"
|
|
190
190
|
>
|
|
191
191
|
Lorem Ipsum...
|
|
192
192
|
</ui-text>
|
|
@@ -225,7 +225,7 @@ exports[`component:<Notification> prop:error & inline 1`] = `
|
|
|
225
225
|
class="view texts"
|
|
226
226
|
>
|
|
227
227
|
<ui-text
|
|
228
|
-
class="text action
|
|
228
|
+
class="text action"
|
|
229
229
|
>
|
|
230
230
|
Lorem Ipsum...
|
|
231
231
|
</ui-text>
|
|
@@ -264,7 +264,7 @@ exports[`component:<Notification> prop:error & large 1`] = `
|
|
|
264
264
|
class="view texts"
|
|
265
265
|
>
|
|
266
266
|
<ui-text
|
|
267
|
-
class="text paragraph
|
|
267
|
+
class="text paragraph"
|
|
268
268
|
>
|
|
269
269
|
Lorem Ipsum...
|
|
270
270
|
</ui-text>
|
|
@@ -303,7 +303,7 @@ exports[`component:<Notification> prop:error & small 1`] = `
|
|
|
303
303
|
class="view texts"
|
|
304
304
|
>
|
|
305
305
|
<ui-text
|
|
306
|
-
class="text small
|
|
306
|
+
class="text small"
|
|
307
307
|
>
|
|
308
308
|
Lorem Ipsum...
|
|
309
309
|
</ui-text>
|
|
@@ -342,7 +342,7 @@ exports[`component:<Notification> prop:error 1`] = `
|
|
|
342
342
|
class="view texts"
|
|
343
343
|
>
|
|
344
344
|
<ui-text
|
|
345
|
-
class="text action
|
|
345
|
+
class="text action"
|
|
346
346
|
>
|
|
347
347
|
Lorem Ipsum...
|
|
348
348
|
</ui-text>
|
|
@@ -381,7 +381,7 @@ exports[`component:<Notification> prop:info & inline 1`] = `
|
|
|
381
381
|
class="view texts"
|
|
382
382
|
>
|
|
383
383
|
<ui-text
|
|
384
|
-
class="text action
|
|
384
|
+
class="text action"
|
|
385
385
|
>
|
|
386
386
|
Lorem Ipsum...
|
|
387
387
|
</ui-text>
|
|
@@ -420,7 +420,7 @@ exports[`component:<Notification> prop:info & large 1`] = `
|
|
|
420
420
|
class="view texts"
|
|
421
421
|
>
|
|
422
422
|
<ui-text
|
|
423
|
-
class="text paragraph
|
|
423
|
+
class="text paragraph"
|
|
424
424
|
>
|
|
425
425
|
Lorem Ipsum...
|
|
426
426
|
</ui-text>
|
|
@@ -459,7 +459,7 @@ exports[`component:<Notification> prop:info & small 1`] = `
|
|
|
459
459
|
class="view texts"
|
|
460
460
|
>
|
|
461
461
|
<ui-text
|
|
462
|
-
class="text small
|
|
462
|
+
class="text small"
|
|
463
463
|
>
|
|
464
464
|
Lorem Ipsum...
|
|
465
465
|
</ui-text>
|
|
@@ -498,7 +498,7 @@ exports[`component:<Notification> prop:info 1`] = `
|
|
|
498
498
|
class="view texts"
|
|
499
499
|
>
|
|
500
500
|
<ui-text
|
|
501
|
-
class="text action
|
|
501
|
+
class="text action"
|
|
502
502
|
>
|
|
503
503
|
Lorem Ipsum...
|
|
504
504
|
</ui-text>
|
|
@@ -537,7 +537,7 @@ exports[`component:<Notification> prop:inline 1`] = `
|
|
|
537
537
|
class="view texts"
|
|
538
538
|
>
|
|
539
539
|
<ui-text
|
|
540
|
-
class="text action
|
|
540
|
+
class="text action"
|
|
541
541
|
>
|
|
542
542
|
Lorem Ipsum...
|
|
543
543
|
</ui-text>
|
|
@@ -576,7 +576,7 @@ exports[`component:<Notification> prop:large 1`] = `
|
|
|
576
576
|
class="view texts"
|
|
577
577
|
>
|
|
578
578
|
<ui-text
|
|
579
|
-
class="text paragraph
|
|
579
|
+
class="text paragraph"
|
|
580
580
|
>
|
|
581
581
|
Lorem Ipsum...
|
|
582
582
|
</ui-text>
|
|
@@ -616,7 +616,7 @@ exports[`component:<Notification> prop:onClose 1`] = `
|
|
|
616
616
|
class="view texts"
|
|
617
617
|
>
|
|
618
618
|
<ui-text
|
|
619
|
-
class="text action
|
|
619
|
+
class="text action"
|
|
620
620
|
>
|
|
621
621
|
Lorem Ipsum...
|
|
622
622
|
</ui-text>
|
|
@@ -682,7 +682,7 @@ exports[`component:<Notification> prop:small 1`] = `
|
|
|
682
682
|
class="view texts"
|
|
683
683
|
>
|
|
684
684
|
<ui-text
|
|
685
|
-
class="text small
|
|
685
|
+
class="text small"
|
|
686
686
|
>
|
|
687
687
|
Lorem Ipsum...
|
|
688
688
|
</ui-text>
|
|
@@ -721,7 +721,7 @@ exports[`component:<Notification> prop:success & inline 1`] = `
|
|
|
721
721
|
class="view texts"
|
|
722
722
|
>
|
|
723
723
|
<ui-text
|
|
724
|
-
class="text action
|
|
724
|
+
class="text action"
|
|
725
725
|
>
|
|
726
726
|
Lorem Ipsum...
|
|
727
727
|
</ui-text>
|
|
@@ -760,7 +760,7 @@ exports[`component:<Notification> prop:success & large 1`] = `
|
|
|
760
760
|
class="view texts"
|
|
761
761
|
>
|
|
762
762
|
<ui-text
|
|
763
|
-
class="text paragraph
|
|
763
|
+
class="text paragraph"
|
|
764
764
|
>
|
|
765
765
|
Lorem Ipsum...
|
|
766
766
|
</ui-text>
|
|
@@ -799,7 +799,7 @@ exports[`component:<Notification> prop:success & small 1`] = `
|
|
|
799
799
|
class="view texts"
|
|
800
800
|
>
|
|
801
801
|
<ui-text
|
|
802
|
-
class="text small
|
|
802
|
+
class="text small"
|
|
803
803
|
>
|
|
804
804
|
Lorem Ipsum...
|
|
805
805
|
</ui-text>
|
|
@@ -838,7 +838,7 @@ exports[`component:<Notification> prop:success 1`] = `
|
|
|
838
838
|
class="view texts"
|
|
839
839
|
>
|
|
840
840
|
<ui-text
|
|
841
|
-
class="text action
|
|
841
|
+
class="text action"
|
|
842
842
|
>
|
|
843
843
|
Lorem Ipsum...
|
|
844
844
|
</ui-text>
|
|
@@ -877,12 +877,12 @@ exports[`component:<Notification> prop:title 1`] = `
|
|
|
877
877
|
class="view texts"
|
|
878
878
|
>
|
|
879
879
|
<ui-text
|
|
880
|
-
class="text bold paragraph
|
|
880
|
+
class="text bold paragraph"
|
|
881
881
|
>
|
|
882
882
|
Title
|
|
883
883
|
</ui-text>
|
|
884
884
|
<ui-text
|
|
885
|
-
class="text action
|
|
885
|
+
class="text action"
|
|
886
886
|
>
|
|
887
887
|
Lorem Ipsum...
|
|
888
888
|
</ui-text>
|
|
@@ -921,12 +921,12 @@ exports[`component:<Notification> prop:title 2`] = `
|
|
|
921
921
|
class="view texts"
|
|
922
922
|
>
|
|
923
923
|
<ui-text
|
|
924
|
-
class="text bold paragraph
|
|
924
|
+
class="text bold paragraph"
|
|
925
925
|
>
|
|
926
926
|
Title
|
|
927
927
|
</ui-text>
|
|
928
928
|
<ui-text
|
|
929
|
-
class="text action
|
|
929
|
+
class="text action"
|
|
930
930
|
>
|
|
931
931
|
Lorem Ipsum...
|
|
932
932
|
</ui-text>
|
|
@@ -965,12 +965,12 @@ exports[`component:<Notification> prop:title 3`] = `
|
|
|
965
965
|
class="view texts"
|
|
966
966
|
>
|
|
967
967
|
<ui-text
|
|
968
|
-
class="text bold paragraph
|
|
968
|
+
class="text bold paragraph"
|
|
969
969
|
>
|
|
970
970
|
Title
|
|
971
971
|
</ui-text>
|
|
972
972
|
<ui-text
|
|
973
|
-
class="text action
|
|
973
|
+
class="text action"
|
|
974
974
|
>
|
|
975
975
|
Lorem Ipsum...
|
|
976
976
|
</ui-text>
|
|
@@ -1005,12 +1005,12 @@ exports[`component:<Notification> prop:title 4`] = `
|
|
|
1005
1005
|
class="view texts"
|
|
1006
1006
|
>
|
|
1007
1007
|
<ui-text
|
|
1008
|
-
class="text bold paragraph
|
|
1008
|
+
class="text bold paragraph"
|
|
1009
1009
|
>
|
|
1010
1010
|
Title
|
|
1011
1011
|
</ui-text>
|
|
1012
1012
|
<ui-text
|
|
1013
|
-
class="text action
|
|
1013
|
+
class="text action"
|
|
1014
1014
|
>
|
|
1015
1015
|
Lorem Ipsum...
|
|
1016
1016
|
</ui-text>
|
|
@@ -1049,12 +1049,12 @@ exports[`component:<Notification> prop:title 5`] = `
|
|
|
1049
1049
|
class="view texts"
|
|
1050
1050
|
>
|
|
1051
1051
|
<ui-text
|
|
1052
|
-
class="text bold paragraph
|
|
1052
|
+
class="text bold paragraph"
|
|
1053
1053
|
>
|
|
1054
1054
|
Title
|
|
1055
1055
|
</ui-text>
|
|
1056
1056
|
<ui-text
|
|
1057
|
-
class="text action
|
|
1057
|
+
class="text action"
|
|
1058
1058
|
>
|
|
1059
1059
|
Lorem Ipsum...
|
|
1060
1060
|
</ui-text>
|
|
@@ -1093,12 +1093,12 @@ exports[`component:<Notification> prop:title 6`] = `
|
|
|
1093
1093
|
class="view texts"
|
|
1094
1094
|
>
|
|
1095
1095
|
<ui-text
|
|
1096
|
-
class="text bold paragraph
|
|
1096
|
+
class="text bold paragraph"
|
|
1097
1097
|
>
|
|
1098
1098
|
Title
|
|
1099
1099
|
</ui-text>
|
|
1100
1100
|
<ui-text
|
|
1101
|
-
class="text action
|
|
1101
|
+
class="text action"
|
|
1102
1102
|
>
|
|
1103
1103
|
Lorem Ipsum...
|
|
1104
1104
|
</ui-text>
|
|
@@ -1133,7 +1133,7 @@ exports[`component:<Notification> prop:warning & inline 1`] = `
|
|
|
1133
1133
|
class="view texts"
|
|
1134
1134
|
>
|
|
1135
1135
|
<ui-text
|
|
1136
|
-
class="text action
|
|
1136
|
+
class="text action"
|
|
1137
1137
|
>
|
|
1138
1138
|
Lorem Ipsum...
|
|
1139
1139
|
</ui-text>
|
|
@@ -1168,7 +1168,7 @@ exports[`component:<Notification> prop:warning & large 1`] = `
|
|
|
1168
1168
|
class="view texts"
|
|
1169
1169
|
>
|
|
1170
1170
|
<ui-text
|
|
1171
|
-
class="text paragraph
|
|
1171
|
+
class="text paragraph"
|
|
1172
1172
|
>
|
|
1173
1173
|
Lorem Ipsum...
|
|
1174
1174
|
</ui-text>
|
|
@@ -1203,7 +1203,7 @@ exports[`component:<Notification> prop:warning & small 1`] = `
|
|
|
1203
1203
|
class="view texts"
|
|
1204
1204
|
>
|
|
1205
1205
|
<ui-text
|
|
1206
|
-
class="text small
|
|
1206
|
+
class="text small"
|
|
1207
1207
|
>
|
|
1208
1208
|
Lorem Ipsum...
|
|
1209
1209
|
</ui-text>
|
|
@@ -1238,7 +1238,7 @@ exports[`component:<Notification> prop:warning 1`] = `
|
|
|
1238
1238
|
class="view texts"
|
|
1239
1239
|
>
|
|
1240
1240
|
<ui-text
|
|
1241
|
-
class="text action
|
|
1241
|
+
class="text action"
|
|
1242
1242
|
>
|
|
1243
1243
|
Lorem Ipsum...
|
|
1244
1244
|
</ui-text>
|
|
@@ -1277,7 +1277,7 @@ exports[`component:<Notification> prop:wide 1`] = `
|
|
|
1277
1277
|
class="view texts"
|
|
1278
1278
|
>
|
|
1279
1279
|
<ui-text
|
|
1280
|
-
class="text action
|
|
1280
|
+
class="text action"
|
|
1281
1281
|
>
|
|
1282
1282
|
Lorem Ipsum...
|
|
1283
1283
|
</ui-text>
|
|
@@ -1316,7 +1316,7 @@ exports[`component:<Notification> renders 1`] = `
|
|
|
1316
1316
|
class="view texts"
|
|
1317
1317
|
>
|
|
1318
1318
|
<ui-text
|
|
1319
|
-
class="text action
|
|
1319
|
+
class="text action"
|
|
1320
1320
|
>
|
|
1321
1321
|
Lorem Ipsum...
|
|
1322
1322
|
</ui-text>
|
|
@@ -1356,7 +1356,7 @@ exports[`component:<Notification> testId 1`] = `
|
|
|
1356
1356
|
class="view texts"
|
|
1357
1357
|
>
|
|
1358
1358
|
<ui-text
|
|
1359
|
-
class="text action
|
|
1359
|
+
class="text action"
|
|
1360
1360
|
>
|
|
1361
1361
|
Lorem Ipsum...
|
|
1362
1362
|
</ui-text>
|
|
@@ -392,7 +392,7 @@ exports[`component:<Slider> prop:captions 1`] = `
|
|
|
392
392
|
class="view caption"
|
|
393
393
|
>
|
|
394
394
|
<ui-text
|
|
395
|
-
class="text bold small
|
|
395
|
+
class="text bold small overlay text"
|
|
396
396
|
>
|
|
397
397
|
javi
|
|
398
398
|
</ui-text>
|
|
@@ -409,7 +409,7 @@ exports[`component:<Slider> prop:captions 1`] = `
|
|
|
409
409
|
class="view caption"
|
|
410
410
|
>
|
|
411
411
|
<ui-text
|
|
412
|
-
class="text bold small
|
|
412
|
+
class="text bold small overlay text"
|
|
413
413
|
>
|
|
414
414
|
jose
|
|
415
415
|
</ui-text>
|
|
@@ -434,7 +434,7 @@ exports[`component:<Slider> prop:captions 1`] = `
|
|
|
434
434
|
class="view caption"
|
|
435
435
|
>
|
|
436
436
|
<ui-text
|
|
437
|
-
class="text bold small
|
|
437
|
+
class="text bold small overlay text"
|
|
438
438
|
>
|
|
439
439
|
victor
|
|
440
440
|
</ui-text>
|
|
@@ -451,7 +451,7 @@ exports[`component:<Slider> prop:captions 1`] = `
|
|
|
451
451
|
class="view caption"
|
|
452
452
|
>
|
|
453
453
|
<ui-text
|
|
454
|
-
class="text bold small
|
|
454
|
+
class="text bold small overlay text"
|
|
455
455
|
>
|
|
456
456
|
svet
|
|
457
457
|
</ui-text>
|
|
@@ -468,7 +468,7 @@ exports[`component:<Slider> prop:captions 1`] = `
|
|
|
468
468
|
class="view caption"
|
|
469
469
|
>
|
|
470
470
|
<ui-text
|
|
471
|
-
class="text bold small
|
|
471
|
+
class="text bold small overlay text"
|
|
472
472
|
>
|
|
473
473
|
mario2
|
|
474
474
|
</ui-text>
|
|
@@ -641,7 +641,7 @@ exports[`component:<Slider> prop:counter 1`] = `
|
|
|
641
641
|
</svg>
|
|
642
642
|
</ui-icon>
|
|
643
643
|
<ui-text
|
|
644
|
-
class="text bold small
|
|
644
|
+
class="text bold small"
|
|
645
645
|
>
|
|
646
646
|
6
|
|
647
647
|
</ui-text>
|
|
@@ -1025,7 +1025,7 @@ exports[`component:<Slider> prop:onCounter 1`] = `
|
|
|
1025
1025
|
</svg>
|
|
1026
1026
|
</ui-icon>
|
|
1027
1027
|
<ui-text
|
|
1028
|
-
class="text bold small
|
|
1028
|
+
class="text bold small"
|
|
1029
1029
|
>
|
|
1030
1030
|
6
|
|
1031
1031
|
</ui-text>
|
|
@@ -48,7 +48,7 @@ exports[`component:<Table>:<ColumnFilter> inherit:className 1`] = `
|
|
|
48
48
|
class="view row wide content"
|
|
49
49
|
>
|
|
50
50
|
<ui-text
|
|
51
|
-
class="text bold small
|
|
51
|
+
class="text bold small"
|
|
52
52
|
>
|
|
53
53
|
field
|
|
54
54
|
</ui-text>
|
|
@@ -180,7 +180,7 @@ exports[`component:<Table>:<ColumnFilter> prop:l10n 1`] = `
|
|
|
180
180
|
class="view row wide content"
|
|
181
181
|
>
|
|
182
182
|
<ui-text
|
|
183
|
-
class="text bold small
|
|
183
|
+
class="text bold small"
|
|
184
184
|
>
|
|
185
185
|
field
|
|
186
186
|
</ui-text>
|
|
@@ -312,7 +312,7 @@ exports[`component:<Table>:<ColumnFilter> prop:schema type:number 1`] = `
|
|
|
312
312
|
class="view row wide content"
|
|
313
313
|
>
|
|
314
314
|
<ui-text
|
|
315
|
-
class="text bold small
|
|
315
|
+
class="text bold small"
|
|
316
316
|
>
|
|
317
317
|
field
|
|
318
318
|
</ui-text>
|
|
@@ -444,7 +444,7 @@ exports[`component:<Table>:<ColumnFilter> prop:schema type:text 1`] = `
|
|
|
444
444
|
class="view row wide content"
|
|
445
445
|
>
|
|
446
446
|
<ui-text
|
|
447
|
-
class="text bold small
|
|
447
|
+
class="text bold small"
|
|
448
448
|
>
|
|
449
449
|
field
|
|
450
450
|
</ui-text>
|
|
@@ -576,7 +576,7 @@ exports[`component:<Table>:<ColumnFilter> renders 1`] = `
|
|
|
576
576
|
class="view row wide content"
|
|
577
577
|
>
|
|
578
578
|
<ui-text
|
|
579
|
-
class="text bold small
|
|
579
|
+
class="text bold small"
|
|
580
580
|
>
|
|
581
581
|
field
|
|
582
582
|
</ui-text>
|
|
@@ -710,7 +710,7 @@ exports[`component:<Table>:<ColumnFilter> testId 1`] = `
|
|
|
710
710
|
class="view row wide content"
|
|
711
711
|
>
|
|
712
712
|
<ui-text
|
|
713
|
-
class="text bold small
|
|
713
|
+
class="text bold small"
|
|
714
714
|
>
|
|
715
715
|
field
|
|
716
716
|
</ui-text>
|
|
@@ -436,12 +436,12 @@ exports[`component:<Table> prop:filter 1`] = `
|
|
|
436
436
|
class="view row item"
|
|
437
437
|
>
|
|
438
438
|
<ui-text
|
|
439
|
-
class="text light tiny
|
|
439
|
+
class="text light tiny"
|
|
440
440
|
>
|
|
441
441
|
email
|
|
442
442
|
</ui-text>
|
|
443
443
|
<ui-text
|
|
444
|
-
class="text bold small
|
|
444
|
+
class="text bold small"
|
|
445
445
|
>
|
|
446
446
|
@mirai.com
|
|
447
447
|
</ui-text>
|
|
@@ -476,12 +476,12 @@ exports[`component:<Table> prop:filter 1`] = `
|
|
|
476
476
|
class="view row item"
|
|
477
477
|
>
|
|
478
478
|
<ui-text
|
|
479
|
-
class="text light tiny
|
|
479
|
+
class="text light tiny"
|
|
480
480
|
>
|
|
481
481
|
email
|
|
482
482
|
</ui-text>
|
|
483
483
|
<ui-text
|
|
484
|
-
class="text bold small
|
|
484
|
+
class="text bold small"
|
|
485
485
|
>
|
|
486
486
|
@soyjavi.com
|
|
487
487
|
</ui-text>
|
|
@@ -516,17 +516,17 @@ exports[`component:<Table> prop:filter 1`] = `
|
|
|
516
516
|
class="view row item"
|
|
517
517
|
>
|
|
518
518
|
<ui-text
|
|
519
|
-
class="text light tiny
|
|
519
|
+
class="text light tiny"
|
|
520
520
|
>
|
|
521
521
|
year
|
|
522
522
|
</ui-text>
|
|
523
523
|
<ui-text
|
|
524
|
-
class="text bold small
|
|
524
|
+
class="text bold small"
|
|
525
525
|
>
|
|
526
526
|
2020
|
|
527
527
|
</ui-text>
|
|
528
528
|
<ui-text
|
|
529
|
-
class="text bold small
|
|
529
|
+
class="text bold small"
|
|
530
530
|
>
|
|
531
531
|
- 2023
|
|
532
532
|
</ui-text>
|
|
@@ -3907,17 +3907,17 @@ exports[`component:<Table> prop:store 1`] = `
|
|
|
3907
3907
|
class="view row item"
|
|
3908
3908
|
>
|
|
3909
3909
|
<ui-text
|
|
3910
|
-
class="text light tiny
|
|
3910
|
+
class="text light tiny"
|
|
3911
3911
|
>
|
|
3912
3912
|
year
|
|
3913
3913
|
</ui-text>
|
|
3914
3914
|
<ui-text
|
|
3915
|
-
class="text bold small
|
|
3915
|
+
class="text bold small"
|
|
3916
3916
|
>
|
|
3917
3917
|
2020
|
|
3918
3918
|
</ui-text>
|
|
3919
3919
|
<ui-text
|
|
3920
|
-
class="text bold small
|
|
3920
|
+
class="text bold small"
|
|
3921
3921
|
>
|
|
3922
3922
|
- 2020
|
|
3923
3923
|
</ui-text>
|
|
@@ -66,7 +66,7 @@ exports[`primitive:<Layer> w/ centered && visible 1`] = `
|
|
|
66
66
|
style="left: 0px; top: 0px;"
|
|
67
67
|
>
|
|
68
68
|
<ui-text
|
|
69
|
-
class="text paragraph
|
|
69
|
+
class="text paragraph"
|
|
70
70
|
>
|
|
71
71
|
Mirai
|
|
72
72
|
</ui-text>
|
|
@@ -92,7 +92,7 @@ exports[`primitive:<Layer> w/ child fixed 1`] = `
|
|
|
92
92
|
style="left: 0px; top: 0px;"
|
|
93
93
|
>
|
|
94
94
|
<ui-text
|
|
95
|
-
class="text paragraph
|
|
95
|
+
class="text paragraph"
|
|
96
96
|
>
|
|
97
97
|
Mirai
|
|
98
98
|
</ui-text>
|
|
@@ -117,7 +117,7 @@ exports[`primitive:<Layer> w/ component & <LayerContent> 1`] = `
|
|
|
117
117
|
style="left: 0px; top: 0px;"
|
|
118
118
|
>
|
|
119
119
|
<ui-text
|
|
120
|
-
class="text paragraph
|
|
120
|
+
class="text paragraph"
|
|
121
121
|
>
|
|
122
122
|
Mirai
|
|
123
123
|
</ui-text>
|
|
@@ -161,7 +161,7 @@ exports[`primitive:<Layer> w/ fixed 1`] = `
|
|
|
161
161
|
style="left: 0px; top: 0px;"
|
|
162
162
|
>
|
|
163
163
|
<ui-text
|
|
164
|
-
class="text paragraph
|
|
164
|
+
class="text paragraph"
|
|
165
165
|
>
|
|
166
166
|
Mirai
|
|
167
167
|
</ui-text>
|
|
@@ -201,7 +201,7 @@ exports[`primitive:<Layer> w/ visible 1`] = `
|
|
|
201
201
|
style="left: 0px; top: 0px;"
|
|
202
202
|
>
|
|
203
203
|
<ui-text
|
|
204
|
-
class="text paragraph
|
|
204
|
+
class="text paragraph"
|
|
205
205
|
>
|
|
206
206
|
Mirai
|
|
207
207
|
</ui-text>
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.TESTING_PROPS = exports.NATIVE_TAGS = exports.COMMON_PROPS = exports.BANNED_JEST_PROPS = void 0;
|
|
7
|
-
var BANNED_JEST_PROPS = ['is', 'role', 'aria-hidden', 'aria-label'];
|
|
7
|
+
var BANNED_JEST_PROPS = ['is', 'role', 'aria-hidden', 'aria-label', 'translate'];
|
|
8
8
|
exports.BANNED_JEST_PROPS = BANNED_JEST_PROPS;
|
|
9
9
|
var COMMON_PROPS = {
|
|
10
10
|
"for": 'htmlFor',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Primitive.constants.js","names":["BANNED_JEST_PROPS","exports","COMMON_PROPS","role","testId","NATIVE_TAGS","TESTING_PROPS"],"sources":["../../../src/primitives/Primitive/Primitive.constants.js"],"sourcesContent":["const BANNED_JEST_PROPS = ['is', 'role', 'aria-hidden', 'aria-label'];\n\nconst COMMON_PROPS = {\n for: 'htmlFor',\n role: 'data-role',\n testId: 'data-testid',\n};\n\nconst NATIVE_TAGS = [\n // -- PRIMITIVES -------------------------------------------------------------\n 'iframe',\n 'img',\n // <Input>\n 'input',\n 'textarea',\n // <Select>\n 'select',\n 'option',\n // -- COMPONENTS -------------------------------------------------------------\n // <Table>\n 'table',\n 'thead',\n 'tbody',\n 'tr',\n 'th',\n 'td',\n];\n\nconst TESTING_PROPS = ['testId'];\n\nexport { BANNED_JEST_PROPS, COMMON_PROPS, NATIVE_TAGS, TESTING_PROPS };\n"],"mappings":";;;;;;AAAA,IAAMA,iBAAiB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,YAAY,CAAC;AAACC,OAAA,CAAAD,iBAAA,GAAAA,iBAAA;
|
|
1
|
+
{"version":3,"file":"Primitive.constants.js","names":["BANNED_JEST_PROPS","exports","COMMON_PROPS","role","testId","NATIVE_TAGS","TESTING_PROPS"],"sources":["../../../src/primitives/Primitive/Primitive.constants.js"],"sourcesContent":["const BANNED_JEST_PROPS = ['is', 'role', 'aria-hidden', 'aria-label', 'translate'];\n\nconst COMMON_PROPS = {\n for: 'htmlFor',\n role: 'data-role',\n testId: 'data-testid',\n};\n\nconst NATIVE_TAGS = [\n // -- PRIMITIVES -------------------------------------------------------------\n 'iframe',\n 'img',\n // <Input>\n 'input',\n 'textarea',\n // <Select>\n 'select',\n 'option',\n // -- COMPONENTS -------------------------------------------------------------\n // <Table>\n 'table',\n 'thead',\n 'tbody',\n 'tr',\n 'th',\n 'td',\n];\n\nconst TESTING_PROPS = ['testId'];\n\nexport { BANNED_JEST_PROPS, COMMON_PROPS, NATIVE_TAGS, TESTING_PROPS };\n"],"mappings":";;;;;;AAAA,IAAMA,iBAAiB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,YAAY,EAAE,WAAW,CAAC;AAACC,OAAA,CAAAD,iBAAA,GAAAA,iBAAA;AAEnF,IAAME,YAAY,GAAG;EACnB,OAAK,SAAS;EACdC,IAAI,EAAE,WAAW;EACjBC,MAAM,EAAE;AACV,CAAC;AAACH,OAAA,CAAAC,YAAA,GAAAA,YAAA;AAEF,IAAMG,WAAW,GAAG;AAClB;AACA,QAAQ,EACR,KAAK;AACL;AACA,OAAO,EACP,UAAU;AACV;AACA,QAAQ,EACR,QAAQ;AACR;AACA;AACA,OAAO,EACP,OAAO,EACP,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,IAAI,CACL;AAACJ,OAAA,CAAAI,WAAA,GAAAA,WAAA;AAEF,IAAMC,aAAa,GAAG,CAAC,QAAQ,CAAC;AAACL,OAAA,CAAAK,aAAA,GAAAA,aAAA","ignoreList":[]}
|
|
@@ -27,15 +27,16 @@ var Primitive = /*#__PURE__*/_react["default"].forwardRef(function (_ref, ref) {
|
|
|
27
27
|
tag = _ref$tag === void 0 ? 'primitive' : _ref$tag,
|
|
28
28
|
others = _objectWithoutProperties(_ref, _excluded);
|
|
29
29
|
var customTag = !nativeTag && !_Primitive.NATIVE_TAGS.includes(tag) ? (0, _helpers.getTag)(tag) : undefined;
|
|
30
|
-
return /*#__PURE__*/_react["default"].createElement(customTag || tag, (0, _helpers.getProps)(_objectSpread(_objectSpread(_objectSpread({}, others), customTag ? {
|
|
30
|
+
return /*#__PURE__*/_react["default"].createElement(customTag || tag, _objectSpread({}, (0, _helpers.getProps)(_objectSpread(_objectSpread(_objectSpread({}, others), customTag ? {
|
|
31
31
|
is: customTag,
|
|
32
32
|
"class": className
|
|
33
33
|
} : {
|
|
34
34
|
className: className
|
|
35
35
|
}), {}, {
|
|
36
36
|
role: others.role || tag,
|
|
37
|
-
ref: ref
|
|
38
|
-
|
|
37
|
+
ref: ref,
|
|
38
|
+
translate: 'no'
|
|
39
|
+
}))), children);
|
|
39
40
|
});
|
|
40
41
|
exports.Primitive = Primitive;
|
|
41
42
|
Primitive.displayName = 'Primitive';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Primitive.js","names":["_propTypes","_interopRequireDefault","require","_react","_helpers","_Primitive","_excluded","e","__esModule","ownKeys","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","_toPropertyKey","value","configurable","writable","i","_toPrimitive","_typeof","Symbol","toPrimitive","call","TypeError","String","Number","_objectWithoutProperties","_objectWithoutPropertiesLoose","s","includes","propertyIsEnumerable","n","hasOwnProperty","Primitive","React","forwardRef","_ref","ref","children","className","_ref$nativeTag","nativeTag","_ref$tag","tag","others","customTag","NATIVE_TAGS","getTag","undefined","createElement","getProps","is","role","exports","displayName","propTypes","PropTypes","any","bool","string","testId"],"sources":["../../../src/primitives/Primitive/Primitive.jsx"],"sourcesContent":["import PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { getProps, getTag } from './helpers';\nimport { NATIVE_TAGS } from './Primitive.constants';\n\nconst Primitive = React.forwardRef(({ children, className, nativeTag = false, tag = 'primitive', ...others }, ref) => {\n const customTag = !nativeTag && !NATIVE_TAGS.includes(tag) ? getTag(tag) : undefined;\n\n return React.createElement(\n customTag || tag,\n getProps({\n
|
|
1
|
+
{"version":3,"file":"Primitive.js","names":["_propTypes","_interopRequireDefault","require","_react","_helpers","_Primitive","_excluded","e","__esModule","ownKeys","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","_toPropertyKey","value","configurable","writable","i","_toPrimitive","_typeof","Symbol","toPrimitive","call","TypeError","String","Number","_objectWithoutProperties","_objectWithoutPropertiesLoose","s","includes","propertyIsEnumerable","n","hasOwnProperty","Primitive","React","forwardRef","_ref","ref","children","className","_ref$nativeTag","nativeTag","_ref$tag","tag","others","customTag","NATIVE_TAGS","getTag","undefined","createElement","getProps","is","role","translate","exports","displayName","propTypes","PropTypes","any","bool","string","testId"],"sources":["../../../src/primitives/Primitive/Primitive.jsx"],"sourcesContent":["import PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { getProps, getTag } from './helpers';\nimport { NATIVE_TAGS } from './Primitive.constants';\n\nconst Primitive = React.forwardRef(({ children, className, nativeTag = false, tag = 'primitive', ...others }, ref) => {\n const customTag = !nativeTag && !NATIVE_TAGS.includes(tag) ? getTag(tag) : undefined;\n\n return React.createElement(\n customTag || tag,\n {\n ...getProps({\n ...others,\n ...(customTag ? { is: customTag, class: className } : { className }),\n role: others.role || tag,\n ref,\n translate: 'no',\n }),\n },\n children,\n );\n});\n\nPrimitive.displayName = 'Primitive';\n\nPrimitive.propTypes = {\n children: PropTypes.any,\n className: PropTypes.any,\n nativeTag: PropTypes.bool,\n role: PropTypes.string,\n tag: PropTypes.string,\n testId: PropTypes.string,\n};\n\nexport { Primitive };\n"],"mappings":";;;;;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AAAoD,IAAAI,SAAA;AAAA,SAAAL,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAAA,CAAA;AAAA,SAAAE,QAAAF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,SAAS,EAAEgB,qBAAS,CAACE,IAAI;EACzBP,IAAI,EAAEK,qBAAS,CAACG,MAAM;EACtBjB,GAAG,EAAEc,qBAAS,CAACG,MAAM;EACrBC,MAAM,EAAEJ,qBAAS,CAACG;AACpB,CAAC","ignoreList":[]}
|
|
@@ -62,7 +62,7 @@ var Text = function Text(_ref) {
|
|
|
62
62
|
light: light,
|
|
63
63
|
success: success,
|
|
64
64
|
warning: warning
|
|
65
|
-
}), headline ? _TextModule["default"]["headline-".concat(level)] : action ? _TextModule["default"].action : small ? _TextModule["default"].small : tiny ? _TextModule["default"].tiny : _TextModule["default"].paragraph, underline && _TextModule["default"].underline, upperCase && _TextModule["default"].upperCase, wide && _TextModule["default"].wide,
|
|
65
|
+
}), headline ? _TextModule["default"]["headline-".concat(level)] : action ? _TextModule["default"].action : small ? _TextModule["default"].small : tiny ? _TextModule["default"].tiny : _TextModule["default"].paragraph, underline && _TextModule["default"].underline, upperCase && _TextModule["default"].upperCase, wide && _TextModule["default"].wide, others.className)
|
|
66
66
|
}), markdown ? Array.isArray(children) ? children.map(function (value) {
|
|
67
67
|
return (0, _helpers2.parseMarkdown)(value);
|
|
68
68
|
}) : (0, _helpers2.parseMarkdown)(children, tag) : children);
|