@mirai/ui 1.0.259 → 1.0.261
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.js +2 -3
- package/build/components/Notification/Notification.js.map +1 -1
- package/build/components/Notification/Notification.module.css +17 -31
- package/build/components/Notification/__tests__/__snapshots__/Notification.test.js.snap +34 -50
- 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/build/theme/default.theme.css +8 -8
- 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>
|
|
@@ -34,13 +34,12 @@ var Notification = function Notification(_ref) {
|
|
|
34
34
|
className: (0, _helpers.styles)(_NotificationModule.default.notification, error ? _NotificationModule.default.error : warning ? _NotificationModule.default.warning : success ? _NotificationModule.default.success : info ? _NotificationModule.default.info : undefined, inline ? _NotificationModule.default.inline : _NotificationModule.default.outlined, large ? _NotificationModule.default.large : small ? _NotificationModule.default.small : undefined, wide && _NotificationModule.default.wide, others.className)
|
|
35
35
|
}), /*#__PURE__*/_react.default.createElement(_primitives.Icon, {
|
|
36
36
|
headline: true,
|
|
37
|
-
level: large ? 1 : small
|
|
37
|
+
level: large ? 1 : small && !title ? 3 : 2,
|
|
38
38
|
value: (0, _helpers.getIconState)({
|
|
39
39
|
error: error,
|
|
40
40
|
success: success,
|
|
41
41
|
warning: warning
|
|
42
|
-
})
|
|
43
|
-
className: (0, _helpers.styles)(_NotificationModule.default.icon, (small || !title) && !large && _NotificationModule.default.small)
|
|
42
|
+
})
|
|
44
43
|
}), /*#__PURE__*/_react.default.createElement(_primitives.View, {
|
|
45
44
|
className: _NotificationModule.default.texts
|
|
46
45
|
}, title && /*#__PURE__*/_react.default.createElement(_primitives.Text, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Notification.js","names":["Notification","children","error","info","inline","large","small","success","title","warning","wide","onClose","others","role","styles","style","notification","undefined","outlined","className","getIconState","
|
|
1
|
+
{"version":3,"file":"Notification.js","names":["Notification","children","error","info","inline","large","small","success","title","warning","wide","onClose","others","role","styles","style","notification","undefined","outlined","className","getIconState","texts","testId","ICON","CLOSE","displayName","propTypes","PropTypes","any","isRequired","bool","string","func"],"sources":["../../../src/components/Notification/Notification.jsx"],"sourcesContent":["import PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { getIconState, styles } from '../../helpers';\nimport { Icon, ICON, Pressable, Text, View } from '../../primitives';\nimport style from './Notification.module.css';\n\nconst Notification = ({\n children,\n error,\n info,\n inline = false,\n large,\n small,\n success,\n title,\n warning,\n wide,\n onClose,\n ...others\n}) => (\n <View\n {...others}\n row\n role={others.role || 'notification'}\n className={styles(\n style.notification,\n error ? style.error : warning ? style.warning : success ? style.success : info ? style.info : undefined,\n inline ? style.inline : style.outlined,\n large ? style.large : small ? style.small : undefined,\n wide && style.wide,\n others.className,\n )}\n >\n <Icon headline level={large ? 1 : small && !title ? 3 : 2} value={getIconState({ error, success, warning })} />\n\n <View className={style.texts}>\n {title && (\n <Text action={small} bold headline={large}>\n {title}\n </Text>\n )}\n {children && (\n <Text action={!small} small={small}>\n {children}\n </Text>\n )}\n </View>\n\n {!inline && !large && onClose && (\n <Pressable onPress={onClose} testId={others.testId ? `${others.testId}-button-close` : undefined}>\n <Icon value={ICON.CLOSE} />\n </Pressable>\n )}\n </View>\n);\n\nNotification.displayName = 'Component:Notification';\n\nNotification.propTypes = {\n children: PropTypes.any.isRequired,\n error: PropTypes.bool,\n info: PropTypes.bool,\n inline: PropTypes.bool,\n large: PropTypes.bool,\n small: PropTypes.bool,\n success: PropTypes.bool,\n title: PropTypes.string,\n warning: PropTypes.bool,\n wide: PropTypes.bool,\n onClose: PropTypes.func,\n};\n\nexport { Notification };\n"],"mappings":"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"}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.notification .info {
|
|
24
|
-
color: var(--mirai-ui-
|
|
24
|
+
color: var(--mirai-ui-inysfo);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/* -- outlined ------------------------------------------------------------------------------------------------------ */
|
|
@@ -55,46 +55,32 @@
|
|
|
55
55
|
background-color: var(--mirai-ui-info-background);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
/* -- <
|
|
59
|
-
.notification .
|
|
60
|
-
|
|
61
|
-
border-radius: 50%;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.notification .icon:not(.small) {
|
|
65
|
-
padding: calc(var(--mirai-ui-space-XS) / 2);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.notification .icon.small {
|
|
69
|
-
padding: calc(var(--mirai-ui-space-XS) / 4);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.notification:not(.warning) .icon {
|
|
73
|
-
color: var(--mirai-ui-base);
|
|
58
|
+
/* -- <Text>s ------------------------------------------------------------------------------------------------------- */
|
|
59
|
+
.notification .texts {
|
|
60
|
+
flex: 1;
|
|
74
61
|
}
|
|
75
62
|
|
|
76
|
-
.notification.
|
|
77
|
-
|
|
63
|
+
.notification.large .texts {
|
|
64
|
+
align-items: center;
|
|
65
|
+
gap: var(--mirai-ui-notification-padding-small);
|
|
78
66
|
}
|
|
79
67
|
|
|
80
|
-
.notification.
|
|
81
|
-
|
|
68
|
+
.notification.large .texts * {
|
|
69
|
+
text-align: center;
|
|
82
70
|
}
|
|
83
71
|
|
|
84
|
-
.notification.
|
|
85
|
-
|
|
72
|
+
.notification.error * {
|
|
73
|
+
color: var(--mirai-ui-error);
|
|
86
74
|
}
|
|
87
75
|
|
|
88
|
-
.notification.
|
|
89
|
-
|
|
76
|
+
.notification.warning * {
|
|
77
|
+
color: var(--mirai-ui-warning);
|
|
90
78
|
}
|
|
91
79
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
flex: 1;
|
|
80
|
+
.notification.success * {
|
|
81
|
+
color: var(--mirai-ui-success);
|
|
95
82
|
}
|
|
96
83
|
|
|
97
|
-
.notification.
|
|
98
|
-
|
|
99
|
-
gap: var(--mirai-ui-notification-padding-small);
|
|
84
|
+
.notification.info * {
|
|
85
|
+
color: var(--mirai-ui-info);
|
|
100
86
|
}
|
|
@@ -6,7 +6,7 @@ exports[`component:<Notification> inherit:className 1`] = `
|
|
|
6
6
|
class="view row notification outlined mirai"
|
|
7
7
|
>
|
|
8
8
|
<span
|
|
9
|
-
class="icon headline-
|
|
9
|
+
class="icon headline-2"
|
|
10
10
|
>
|
|
11
11
|
<svg
|
|
12
12
|
fill="currentColor"
|
|
@@ -45,7 +45,7 @@ exports[`component:<Notification> prop:error & inline 1`] = `
|
|
|
45
45
|
class="view row notification error inline"
|
|
46
46
|
>
|
|
47
47
|
<span
|
|
48
|
-
class="icon headline-
|
|
48
|
+
class="icon headline-2"
|
|
49
49
|
>
|
|
50
50
|
<svg
|
|
51
51
|
fill="currentColor"
|
|
@@ -84,7 +84,7 @@ exports[`component:<Notification> prop:error & large 1`] = `
|
|
|
84
84
|
class="view row notification error outlined large"
|
|
85
85
|
>
|
|
86
86
|
<span
|
|
87
|
-
class="icon headline-1
|
|
87
|
+
class="icon headline-1"
|
|
88
88
|
>
|
|
89
89
|
<svg
|
|
90
90
|
fill="currentColor"
|
|
@@ -123,7 +123,7 @@ exports[`component:<Notification> prop:error & small 1`] = `
|
|
|
123
123
|
class="view row notification error outlined small"
|
|
124
124
|
>
|
|
125
125
|
<span
|
|
126
|
-
class="icon headline-3
|
|
126
|
+
class="icon headline-3"
|
|
127
127
|
>
|
|
128
128
|
<svg
|
|
129
129
|
fill="currentColor"
|
|
@@ -162,7 +162,7 @@ exports[`component:<Notification> prop:error 1`] = `
|
|
|
162
162
|
class="view row notification error outlined"
|
|
163
163
|
>
|
|
164
164
|
<span
|
|
165
|
-
class="icon headline-
|
|
165
|
+
class="icon headline-2"
|
|
166
166
|
>
|
|
167
167
|
<svg
|
|
168
168
|
fill="currentColor"
|
|
@@ -201,7 +201,7 @@ exports[`component:<Notification> prop:info & inline 1`] = `
|
|
|
201
201
|
class="view row notification info inline"
|
|
202
202
|
>
|
|
203
203
|
<span
|
|
204
|
-
class="icon headline-
|
|
204
|
+
class="icon headline-2"
|
|
205
205
|
>
|
|
206
206
|
<svg
|
|
207
207
|
fill="currentColor"
|
|
@@ -240,7 +240,7 @@ exports[`component:<Notification> prop:info & large 1`] = `
|
|
|
240
240
|
class="view row notification info outlined large"
|
|
241
241
|
>
|
|
242
242
|
<span
|
|
243
|
-
class="icon headline-1
|
|
243
|
+
class="icon headline-1"
|
|
244
244
|
>
|
|
245
245
|
<svg
|
|
246
246
|
fill="currentColor"
|
|
@@ -279,7 +279,7 @@ exports[`component:<Notification> prop:info & small 1`] = `
|
|
|
279
279
|
class="view row notification info outlined small"
|
|
280
280
|
>
|
|
281
281
|
<span
|
|
282
|
-
class="icon headline-3
|
|
282
|
+
class="icon headline-3"
|
|
283
283
|
>
|
|
284
284
|
<svg
|
|
285
285
|
fill="currentColor"
|
|
@@ -318,7 +318,7 @@ exports[`component:<Notification> prop:info 1`] = `
|
|
|
318
318
|
class="view row notification info outlined"
|
|
319
319
|
>
|
|
320
320
|
<span
|
|
321
|
-
class="icon headline-
|
|
321
|
+
class="icon headline-2"
|
|
322
322
|
>
|
|
323
323
|
<svg
|
|
324
324
|
fill="currentColor"
|
|
@@ -358,7 +358,7 @@ exports[`component:<Notification> prop:onClose 1`] = `
|
|
|
358
358
|
data-testid="mirai-onClose"
|
|
359
359
|
>
|
|
360
360
|
<span
|
|
361
|
-
class="icon headline-
|
|
361
|
+
class="icon headline-2"
|
|
362
362
|
>
|
|
363
363
|
<svg
|
|
364
364
|
fill="currentColor"
|
|
@@ -423,7 +423,7 @@ exports[`component:<Notification> prop:success & inline 1`] = `
|
|
|
423
423
|
class="view row notification success inline"
|
|
424
424
|
>
|
|
425
425
|
<span
|
|
426
|
-
class="icon headline-
|
|
426
|
+
class="icon headline-2"
|
|
427
427
|
>
|
|
428
428
|
<svg
|
|
429
429
|
fill="currentColor"
|
|
@@ -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>
|
|
@@ -462,7 +462,7 @@ exports[`component:<Notification> prop:success & large 1`] = `
|
|
|
462
462
|
class="view row notification success outlined large"
|
|
463
463
|
>
|
|
464
464
|
<span
|
|
465
|
-
class="icon headline-1
|
|
465
|
+
class="icon headline-1"
|
|
466
466
|
>
|
|
467
467
|
<svg
|
|
468
468
|
fill="currentColor"
|
|
@@ -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>
|
|
@@ -501,7 +501,7 @@ exports[`component:<Notification> prop:success & small 1`] = `
|
|
|
501
501
|
class="view row notification success outlined small"
|
|
502
502
|
>
|
|
503
503
|
<span
|
|
504
|
-
class="icon headline-3
|
|
504
|
+
class="icon headline-3"
|
|
505
505
|
>
|
|
506
506
|
<svg
|
|
507
507
|
fill="currentColor"
|
|
@@ -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>
|
|
@@ -540,7 +540,7 @@ exports[`component:<Notification> prop:success 1`] = `
|
|
|
540
540
|
class="view row notification success outlined"
|
|
541
541
|
>
|
|
542
542
|
<span
|
|
543
|
-
class="icon headline-
|
|
543
|
+
class="icon headline-2"
|
|
544
544
|
>
|
|
545
545
|
<svg
|
|
546
546
|
fill="currentColor"
|
|
@@ -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>
|
|
@@ -579,7 +579,7 @@ exports[`component:<Notification> prop:title 1`] = `
|
|
|
579
579
|
class="view row notification outlined"
|
|
580
580
|
>
|
|
581
581
|
<span
|
|
582
|
-
class="icon headline-2
|
|
582
|
+
class="icon headline-2"
|
|
583
583
|
>
|
|
584
584
|
<svg
|
|
585
585
|
fill="currentColor"
|
|
@@ -623,7 +623,7 @@ exports[`component:<Notification> prop:warning & inline 1`] = `
|
|
|
623
623
|
class="view row notification warning inline"
|
|
624
624
|
>
|
|
625
625
|
<span
|
|
626
|
-
class="icon headline-
|
|
626
|
+
class="icon headline-2"
|
|
627
627
|
>
|
|
628
628
|
<svg
|
|
629
629
|
fill="currentColor"
|
|
@@ -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>
|
|
@@ -662,7 +658,7 @@ exports[`component:<Notification> prop:warning & large 1`] = `
|
|
|
662
658
|
class="view row notification warning outlined large"
|
|
663
659
|
>
|
|
664
660
|
<span
|
|
665
|
-
class="icon headline-1
|
|
661
|
+
class="icon headline-1"
|
|
666
662
|
>
|
|
667
663
|
<svg
|
|
668
664
|
fill="currentColor"
|
|
@@ -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>
|
|
@@ -701,7 +693,7 @@ exports[`component:<Notification> prop:warning & small 1`] = `
|
|
|
701
693
|
class="view row notification warning outlined small"
|
|
702
694
|
>
|
|
703
695
|
<span
|
|
704
|
-
class="icon headline-3
|
|
696
|
+
class="icon headline-3"
|
|
705
697
|
>
|
|
706
698
|
<svg
|
|
707
699
|
fill="currentColor"
|
|
@@ -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>
|
|
@@ -740,7 +728,7 @@ exports[`component:<Notification> prop:warning 1`] = `
|
|
|
740
728
|
class="view row notification warning outlined"
|
|
741
729
|
>
|
|
742
730
|
<span
|
|
743
|
-
class="icon headline-
|
|
731
|
+
class="icon headline-2"
|
|
744
732
|
>
|
|
745
733
|
<svg
|
|
746
734
|
fill="currentColor"
|
|
@@ -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>
|
|
@@ -779,7 +763,7 @@ exports[`component:<Notification> prop:wide 1`] = `
|
|
|
779
763
|
class="view row notification outlined wide"
|
|
780
764
|
>
|
|
781
765
|
<span
|
|
782
|
-
class="icon headline-
|
|
766
|
+
class="icon headline-2"
|
|
783
767
|
>
|
|
784
768
|
<svg
|
|
785
769
|
fill="currentColor"
|
|
@@ -818,7 +802,7 @@ exports[`component:<Notification> renders 1`] = `
|
|
|
818
802
|
class="view row notification outlined"
|
|
819
803
|
>
|
|
820
804
|
<span
|
|
821
|
-
class="icon headline-
|
|
805
|
+
class="icon headline-2"
|
|
822
806
|
>
|
|
823
807
|
<svg
|
|
824
808
|
fill="currentColor"
|
|
@@ -858,7 +842,7 @@ exports[`component:<Notification> testId 1`] = `
|
|
|
858
842
|
data-testid="mirai"
|
|
859
843
|
>
|
|
860
844
|
<span
|
|
861
|
-
class="icon headline-
|
|
845
|
+
class="icon headline-2"
|
|
862
846
|
>
|
|
863
847
|
<svg
|
|
864
848
|
fill="currentColor"
|
|
@@ -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>
|
|
@@ -46,17 +46,17 @@
|
|
|
46
46
|
--mirai-ui-accent-light: #88aedc;
|
|
47
47
|
--mirai-ui-accent-dark: #224876;
|
|
48
48
|
|
|
49
|
-
--mirai-ui-error: #
|
|
50
|
-
--mirai-ui-error-background: #
|
|
49
|
+
--mirai-ui-error: #d32f2f;
|
|
50
|
+
--mirai-ui-error-background: #fdeded;
|
|
51
51
|
|
|
52
|
-
--mirai-ui-warning: #
|
|
53
|
-
--mirai-ui-warning-background: #
|
|
52
|
+
--mirai-ui-warning: #663c00;
|
|
53
|
+
--mirai-ui-warning-background: #fff4e5;
|
|
54
54
|
|
|
55
|
-
--mirai-ui-success: #
|
|
56
|
-
--mirai-ui-success-background: #
|
|
55
|
+
--mirai-ui-success: #1e4620;
|
|
56
|
+
--mirai-ui-success-background: #edf7ed;
|
|
57
57
|
|
|
58
|
-
--mirai-ui-info: #
|
|
59
|
-
--mirai-ui-info-background: #
|
|
58
|
+
--mirai-ui-info: #014361;
|
|
59
|
+
--mirai-ui-info-background: #e6f5fd;
|
|
60
60
|
|
|
61
61
|
/* spacing */
|
|
62
62
|
--mirai-ui-space-XS: 8px;
|