@mirai/ui 1.1.0-f → 1.1.1
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/README.md +109 -60
- package/build/components/Action/Action.js +1 -1
- package/build/components/Action/Action.js.map +1 -1
- package/build/components/Action/Action.module.css +4 -7
- package/build/components/Action/Action.stories.js +1 -1
- package/build/components/Action/Action.stories.js.map +1 -1
- package/build/components/Action/__tests__/__snapshots__/Action.test.js.snap +26 -40
- package/build/components/Button/Button.module.css +30 -33
- package/build/components/Button/Button.stories.js +9 -0
- package/build/components/Button/Button.stories.js.map +1 -1
- package/build/components/Button/__tests__/__snapshots__/Button.test.js.snap +21 -30
- package/build/components/Calendar/Calendar.Month.js +12 -8
- package/build/components/Calendar/Calendar.Month.js.map +1 -1
- package/build/components/Calendar/Calendar.Week.js +7 -10
- package/build/components/Calendar/Calendar.Week.js.map +1 -1
- package/build/components/Calendar/Calendar.js +10 -2
- package/build/components/Calendar/Calendar.js.map +1 -1
- package/build/components/Calendar/Calendar.module.css +8 -9
- package/build/components/Calendar/__tests__/__snapshots__/Calendar.test.jsx.snap +15768 -15800
- package/build/components/Form/Form.constants.js +1 -1
- package/build/components/Form/Form.constants.js.map +1 -1
- package/build/components/Form/Form.js +3 -1
- package/build/components/Form/Form.js.map +1 -1
- package/build/components/Form/Form.stories.js +6 -1
- package/build/components/Form/Form.stories.js.map +1 -1
- package/build/components/Form/__tests__/__snapshots__/Form.test.jsx.snap +9 -9
- package/build/components/InputDate/__tests__/__snapshots__/InputDate.test.js.snap +42 -42
- package/build/components/InputNumber/InputNumber.js +2 -1
- package/build/components/InputNumber/InputNumber.js.map +1 -1
- package/build/components/InputNumber/__tests__/__snapshots__/InputNumber.test.js.snap +138 -153
- package/build/components/InputOption/InputOption.js +8 -1
- package/build/components/InputOption/InputOption.js.map +1 -1
- package/build/components/InputOption/InputOption.module.css +13 -2
- package/build/components/InputOption/InputOption.stories.js +2 -1
- package/build/components/InputOption/InputOption.stories.js.map +1 -1
- package/build/components/InputOption/__tests__/__snapshots__/InputOption.test.js.snap +96 -90
- package/build/components/InputPhone/InputPhone.js +23 -20
- package/build/components/InputPhone/InputPhone.js.map +1 -1
- package/build/components/InputPhone/InputPhone.module.css +19 -6
- package/build/components/InputPhone/InputPhone.stories.js +3 -3
- package/build/components/InputPhone/InputPhone.stories.js.map +1 -1
- package/build/components/InputPhone/__tests__/__snapshots__/InputPhone.test.js.snap +410 -410
- package/build/components/InputPhone/helpers/index.js +11 -0
- package/build/components/InputPhone/helpers/index.js.map +1 -1
- package/build/components/InputPhone/helpers/sanitizePrefixes.js +24 -0
- package/build/components/InputPhone/helpers/sanitizePrefixes.js.map +1 -0
- package/build/components/InputSelect/InputSelect.js +3 -5
- package/build/components/InputSelect/InputSelect.js.map +1 -1
- package/build/components/InputSelect/InputSelect.stories.js +1 -0
- package/build/components/InputSelect/InputSelect.stories.js.map +1 -1
- package/build/components/InputSelect/__tests__/__snapshots__/InputSelect.test.js.snap +136 -136
- package/build/components/InputSelect/partials/InputSelect.Expand.js +23 -0
- package/build/components/InputSelect/partials/InputSelect.Expand.js.map +1 -0
- package/build/components/InputSelect/partials/index.js +17 -0
- package/build/components/InputSelect/partials/index.js.map +1 -0
- package/build/components/InputText/InputText.js +6 -4
- package/build/components/InputText/InputText.js.map +1 -1
- package/build/components/InputText/InputText.module.css +18 -6
- package/build/components/InputText/InputText.stories.js +7 -2
- package/build/components/InputText/InputText.stories.js.map +1 -1
- package/build/components/InputText/__tests__/__snapshots__/InputText.test.js.snap +142 -143
- package/build/components/Menu/__tests__/__snapshots__/Menu.test.jsx.snap +72 -70
- package/build/components/Modal/Modal.js +15 -8
- package/build/components/Modal/Modal.js.map +1 -1
- package/build/components/Modal/Modal.module.css +30 -14
- package/build/components/Modal/Modal.stories.js +1 -0
- package/build/components/Modal/Modal.stories.js.map +1 -1
- package/build/components/Modal/__tests__/__snapshots__/Modal.test.js.snap +92 -98
- package/build/components/Notification/Notification.js +20 -12
- package/build/components/Notification/Notification.js.map +1 -1
- package/build/components/Notification/Notification.module.css +44 -58
- package/build/components/Notification/Notification.stories.js +15 -2
- package/build/components/Notification/Notification.stories.js.map +1 -1
- package/build/components/Notification/__tests__/__snapshots__/Notification.test.js.snap +600 -254
- package/build/components/Progress/Progress.js +2 -0
- package/build/components/Progress/Progress.js.map +1 -1
- package/build/components/Progress/__tests__/__snapshots__/Progress.test.jsx.snap +18 -18
- package/build/components/Slider/Slider.constants.js +3 -1
- package/build/components/Slider/Slider.constants.js.map +1 -1
- package/build/components/Slider/Slider.js +67 -66
- package/build/components/Slider/Slider.js.map +1 -1
- package/build/components/Slider/Slider.module.css +55 -52
- package/build/components/Slider/Slider.stories.js +9 -6
- package/build/components/Slider/Slider.stories.js.map +1 -1
- package/build/components/Slider/__tests__/__snapshots__/Slider.test.js.snap +714 -333
- package/build/components/Table/Table.ColumnFilter.js +17 -14
- package/build/components/Table/Table.ColumnFilter.js.map +1 -1
- package/build/components/Table/Table.Row.js +2 -1
- package/build/components/Table/Table.Row.js.map +1 -1
- package/build/components/Table/Table.constants.js +3 -1
- package/build/components/Table/Table.constants.js.map +1 -1
- package/build/components/Table/Table.js +54 -17
- package/build/components/Table/Table.js.map +1 -1
- package/build/components/Table/Table.module.css +12 -6
- package/build/components/Table/Table.stories.js +39 -19
- package/build/components/Table/Table.stories.js.map +1 -1
- package/build/components/Table/Table.stories.module.css +4 -5
- package/build/components/Table/__tests__/__snapshots__/Table.ColumnFilter.test.js.snap +221 -240
- package/build/components/Table/__tests__/__snapshots__/Table.test.js.snap +1725 -1085
- package/build/components/Table/helpers/exists.js +2 -3
- package/build/components/Table/helpers/exists.js.map +1 -1
- package/build/components/Table/helpers/select.js +24 -16
- package/build/components/Table/helpers/select.js.map +1 -1
- package/build/components/Tooltip/Tooltip.js +29 -6
- package/build/components/Tooltip/Tooltip.js.map +1 -1
- package/build/components/Tooltip/__tests__/__snapshots__/Tooltip.test.jsx.snap +51 -44
- package/build/components/index.js +11 -0
- package/build/components/index.js.map +1 -1
- package/build/helpers/getInputPhoneErrors.js +3 -2
- package/build/helpers/getInputPhoneErrors.js.map +1 -1
- package/build/hooks/useDevice.js +1 -1
- package/build/hooks/useDevice.js.map +1 -1
- package/build/primitives/Checkbox/Checkbox.js +4 -3
- package/build/primitives/Checkbox/Checkbox.js.map +1 -1
- package/build/primitives/Checkbox/Checkbox.module.css +42 -6
- package/build/primitives/Checkbox/__tests__/__snapshots__/Checkbox.test.js.snap +47 -16
- package/build/primitives/Icon/Icon.constants.js +43 -21
- package/build/primitives/Icon/Icon.constants.js.map +1 -1
- package/build/primitives/Icon/Icon.js +15 -5
- package/build/primitives/Icon/Icon.js.map +1 -1
- package/build/primitives/Icon/Icon.module.css +32 -19
- package/build/primitives/Icon/Icon.stories.js +5 -0
- package/build/primitives/Icon/Icon.stories.js.map +1 -1
- package/build/primitives/Icon/__tests__/__snapshots__/Icon.test.js.snap +291 -100
- package/build/primitives/Input/Input.js +9 -3
- package/build/primitives/Input/Input.js.map +1 -1
- package/build/primitives/Input/Input.stories.js +2 -0
- package/build/primitives/Input/Input.stories.js.map +1 -1
- package/build/primitives/Input/__tests__/__snapshots__/Input.test.js.snap +22 -0
- package/build/primitives/Layer/Layer.js +11 -5
- package/build/primitives/Layer/Layer.js.map +1 -1
- package/build/primitives/Layer/Layer.module.css +4 -0
- package/build/primitives/Layer/__tests__/__snapshots__/Layer.test.js.snap +78 -42
- package/build/primitives/Layer/helpers/index.js +11 -0
- package/build/primitives/Layer/helpers/index.js.map +1 -1
- package/build/primitives/Layer/helpers/isComponentFixed.js +32 -0
- package/build/primitives/Layer/helpers/isComponentFixed.js.map +1 -0
- package/build/primitives/Pressable/Pressable.constants.js +1 -1
- package/build/primitives/Pressable/Pressable.constants.js.map +1 -1
- package/build/primitives/Pressable/Pressable.js +3 -7
- package/build/primitives/Pressable/Pressable.js.map +1 -1
- package/build/primitives/Pressable/Pressable.module.css +0 -1
- package/build/primitives/Pressable/__tests__/__snapshots__/Pressable.test.js.snap +10 -14
- package/build/primitives/Primitive/Primitive.js +2 -2
- package/build/primitives/Primitive/Primitive.js.map +1 -1
- package/build/primitives/Primitive/__tests__/__snapshots__/Primitive.test.js.snap +7 -7
- package/build/primitives/Primitive/helpers/index.js +0 -11
- package/build/primitives/Primitive/helpers/index.js.map +1 -1
- package/build/primitives/Radio/Radio.js +1 -1
- package/build/primitives/Radio/Radio.js.map +1 -1
- package/build/primitives/Radio/Radio.module.css +18 -2
- package/build/primitives/Radio/__tests__/__snapshots__/Radio.test.js.snap +21 -21
- package/build/primitives/ScrollView/ScrollView.js +1 -1
- package/build/primitives/ScrollView/ScrollView.js.map +1 -1
- package/build/primitives/ScrollView/ScrollView.module.css +1 -0
- package/build/primitives/ScrollView/ScrollView.stories.js +5 -6
- package/build/primitives/ScrollView/ScrollView.stories.js.map +1 -1
- package/build/primitives/ScrollView/__tests__/__snapshots__/ScrollView.test.js.snap +20 -20
- package/build/primitives/Select/Select.js +13 -6
- package/build/primitives/Select/Select.js.map +1 -1
- package/build/primitives/Select/Select.stories.js +1 -0
- package/build/primitives/Select/Select.stories.js.map +1 -1
- package/build/primitives/Select/__tests__/__snapshots__/Select.test.js.snap +36 -0
- package/build/primitives/Switch/Switch.js +5 -3
- package/build/primitives/Switch/Switch.js.map +1 -1
- package/build/primitives/Switch/Switch.module.css +36 -8
- package/build/primitives/Switch/Switch.stories.js +1 -0
- package/build/primitives/Switch/Switch.stories.js.map +1 -1
- package/build/primitives/Switch/__tests__/__snapshots__/Switch.test.js.snap +88 -25
- package/build/primitives/Text/Text.js +12 -5
- package/build/primitives/Text/Text.js.map +1 -1
- package/build/primitives/Text/Text.module.css +29 -14
- package/build/primitives/Text/Text.stories.js +4 -0
- package/build/primitives/Text/Text.stories.js.map +1 -1
- package/build/primitives/Text/__tests__/__snapshots__/Text.test.js.snap +78 -38
- package/build/primitives/View/View.js +1 -1
- package/build/primitives/View/View.js.map +1 -1
- package/build/primitives/View/__tests__/__snapshots__/View.test.js.snap +10 -10
- package/build/theme/default.theme.css +54 -53
- package/build/theme/theme.constants.js +3 -1
- package/build/theme/theme.constants.js.map +1 -1
- package/build/theme/theme.js +34 -11
- package/build/theme/theme.js.map +1 -1
- package/package.json +4 -5
- package/build/primitives/Primitive/helpers/getTag.js +0 -33
- package/build/primitives/Primitive/helpers/getTag.js.map +0 -1
|
@@ -2,26 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`component:<Modal> Mobile environment prop:onClose 1`] = `
|
|
4
4
|
<DocumentFragment>
|
|
5
|
-
<
|
|
5
|
+
<div
|
|
6
6
|
class="pressable container overflow visible"
|
|
7
7
|
data-testid="mirai-onClose-overflow"
|
|
8
8
|
style="height: 768px;"
|
|
9
|
-
tabindex="0"
|
|
10
9
|
>
|
|
11
|
-
<
|
|
10
|
+
<div
|
|
12
11
|
class="view fit modal calcWidth visible"
|
|
13
12
|
data-testid="mirai-onClose"
|
|
14
13
|
>
|
|
15
|
-
<
|
|
16
|
-
class="view
|
|
14
|
+
<div
|
|
15
|
+
class="view row header hideBack"
|
|
17
16
|
>
|
|
18
17
|
<button
|
|
19
18
|
class="pressable button small squared transparent button"
|
|
20
19
|
data-testid="mirai-onClose-button-close"
|
|
21
|
-
tabindex="0"
|
|
22
20
|
>
|
|
23
|
-
<
|
|
24
|
-
class="icon
|
|
21
|
+
<span
|
|
22
|
+
class="icon headline-3 icon"
|
|
25
23
|
>
|
|
26
24
|
<svg
|
|
27
25
|
fill="currentColor"
|
|
@@ -38,53 +36,50 @@ exports[`component:<Modal> Mobile environment prop:onClose 1`] = `
|
|
|
38
36
|
opacity=".87"
|
|
39
37
|
/>
|
|
40
38
|
<path
|
|
41
|
-
d="M16.59 8.
|
|
39
|
+
d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
|
|
42
40
|
/>
|
|
43
41
|
</svg>
|
|
44
|
-
</
|
|
42
|
+
</span>
|
|
45
43
|
</button>
|
|
46
|
-
</
|
|
47
|
-
</
|
|
48
|
-
</
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
49
47
|
</DocumentFragment>
|
|
50
48
|
`;
|
|
51
49
|
|
|
52
50
|
exports[`component:<Modal> Mobile environment prop:visible 1`] = `
|
|
53
51
|
<DocumentFragment>
|
|
54
|
-
<
|
|
52
|
+
<div
|
|
55
53
|
class="pressable container overflow visible"
|
|
56
54
|
style="height: 768px;"
|
|
57
|
-
tabindex="0"
|
|
58
55
|
>
|
|
59
|
-
<
|
|
56
|
+
<div
|
|
60
57
|
class="view fit modal calcWidth visible"
|
|
61
58
|
/>
|
|
62
|
-
</
|
|
59
|
+
</div>
|
|
63
60
|
</DocumentFragment>
|
|
64
61
|
`;
|
|
65
62
|
|
|
66
63
|
exports[`component:<Modal> inherit:className 1`] = `
|
|
67
64
|
<DocumentFragment>
|
|
68
|
-
<
|
|
65
|
+
<div
|
|
69
66
|
class="pressable container overflow"
|
|
70
67
|
style="height: 768px;"
|
|
71
|
-
tabindex="0"
|
|
72
68
|
>
|
|
73
|
-
<
|
|
69
|
+
<div
|
|
74
70
|
class="view fit modal calcWidth mirai"
|
|
75
71
|
/>
|
|
76
|
-
</
|
|
72
|
+
</div>
|
|
77
73
|
</DocumentFragment>
|
|
78
74
|
`;
|
|
79
75
|
|
|
80
76
|
exports[`component:<Modal> prop:children 1`] = `
|
|
81
77
|
<DocumentFragment>
|
|
82
|
-
<
|
|
78
|
+
<div
|
|
83
79
|
class="pressable container overflow"
|
|
84
80
|
style="height: 768px;"
|
|
85
|
-
tabindex="0"
|
|
86
81
|
>
|
|
87
|
-
<
|
|
82
|
+
<div
|
|
88
83
|
class="view fit modal calcWidth"
|
|
89
84
|
>
|
|
90
85
|
<span
|
|
@@ -92,47 +87,57 @@ exports[`component:<Modal> prop:children 1`] = `
|
|
|
92
87
|
>
|
|
93
88
|
children
|
|
94
89
|
</span>
|
|
95
|
-
</
|
|
96
|
-
</
|
|
90
|
+
</div>
|
|
91
|
+
</div>
|
|
97
92
|
</DocumentFragment>
|
|
98
93
|
`;
|
|
99
94
|
|
|
100
95
|
exports[`component:<Modal> prop:fit 1`] = `
|
|
101
96
|
<DocumentFragment>
|
|
102
|
-
<
|
|
97
|
+
<div
|
|
103
98
|
class="pressable container overflow"
|
|
104
99
|
style="height: 768px;"
|
|
105
|
-
tabindex="0"
|
|
106
100
|
>
|
|
107
|
-
<
|
|
101
|
+
<div
|
|
108
102
|
class="view fit modal"
|
|
109
103
|
/>
|
|
110
|
-
</
|
|
104
|
+
</div>
|
|
105
|
+
</DocumentFragment>
|
|
106
|
+
`;
|
|
107
|
+
|
|
108
|
+
exports[`component:<Modal> prop:mobileBehavior 1`] = `
|
|
109
|
+
<DocumentFragment>
|
|
110
|
+
<div
|
|
111
|
+
class="pressable container overflow"
|
|
112
|
+
style="height: 768px;"
|
|
113
|
+
>
|
|
114
|
+
<div
|
|
115
|
+
class="view fit modal calcWidth"
|
|
116
|
+
/>
|
|
117
|
+
</div>
|
|
111
118
|
</DocumentFragment>
|
|
112
119
|
`;
|
|
113
120
|
|
|
114
121
|
exports[`component:<Modal> prop:onBack 1`] = `
|
|
115
122
|
<DocumentFragment>
|
|
116
|
-
<
|
|
123
|
+
<div
|
|
117
124
|
class="pressable container overflow visible"
|
|
118
125
|
data-testid="mirai-onBack-overflow"
|
|
119
126
|
style="height: 768px;"
|
|
120
|
-
tabindex="0"
|
|
121
127
|
>
|
|
122
|
-
<
|
|
128
|
+
<div
|
|
123
129
|
class="view fit modal calcWidth visible"
|
|
124
130
|
data-testid="mirai-onBack"
|
|
125
131
|
>
|
|
126
|
-
<
|
|
127
|
-
class="view
|
|
132
|
+
<div
|
|
133
|
+
class="view row header hideClose"
|
|
128
134
|
>
|
|
129
135
|
<button
|
|
130
136
|
class="pressable button small squared transparent"
|
|
131
137
|
data-testid="mirai-onBack-button-back"
|
|
132
|
-
tabindex="0"
|
|
133
138
|
>
|
|
134
|
-
<
|
|
135
|
-
class="icon
|
|
139
|
+
<span
|
|
140
|
+
class="icon headline-3 icon"
|
|
136
141
|
>
|
|
137
142
|
<svg
|
|
138
143
|
fill="currentColor"
|
|
@@ -151,36 +156,34 @@ exports[`component:<Modal> prop:onBack 1`] = `
|
|
|
151
156
|
d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
|
|
152
157
|
/>
|
|
153
158
|
</svg>
|
|
154
|
-
</
|
|
159
|
+
</span>
|
|
155
160
|
</button>
|
|
156
|
-
</
|
|
157
|
-
</
|
|
158
|
-
</
|
|
161
|
+
</div>
|
|
162
|
+
</div>
|
|
163
|
+
</div>
|
|
159
164
|
</DocumentFragment>
|
|
160
165
|
`;
|
|
161
166
|
|
|
162
167
|
exports[`component:<Modal> prop:onClose 1`] = `
|
|
163
168
|
<DocumentFragment>
|
|
164
|
-
<
|
|
169
|
+
<div
|
|
165
170
|
class="pressable container overflow visible"
|
|
166
171
|
data-testid="mirai-onClose-overflow"
|
|
167
172
|
style="height: 768px;"
|
|
168
|
-
tabindex="0"
|
|
169
173
|
>
|
|
170
|
-
<
|
|
174
|
+
<div
|
|
171
175
|
class="view fit modal calcWidth visible"
|
|
172
176
|
data-testid="mirai-onClose"
|
|
173
177
|
>
|
|
174
|
-
<
|
|
175
|
-
class="view
|
|
178
|
+
<div
|
|
179
|
+
class="view row header hideBack"
|
|
176
180
|
>
|
|
177
181
|
<button
|
|
178
182
|
class="pressable button small squared transparent button"
|
|
179
183
|
data-testid="mirai-onClose-button-close"
|
|
180
|
-
tabindex="0"
|
|
181
184
|
>
|
|
182
|
-
<
|
|
183
|
-
class="icon
|
|
185
|
+
<span
|
|
186
|
+
class="icon headline-3 icon"
|
|
184
187
|
>
|
|
185
188
|
<svg
|
|
186
189
|
fill="currentColor"
|
|
@@ -197,153 +200,144 @@ exports[`component:<Modal> prop:onClose 1`] = `
|
|
|
197
200
|
opacity=".87"
|
|
198
201
|
/>
|
|
199
202
|
<path
|
|
200
|
-
d="M16.59 8.
|
|
203
|
+
d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
|
|
201
204
|
/>
|
|
202
205
|
</svg>
|
|
203
|
-
</
|
|
206
|
+
</span>
|
|
204
207
|
</button>
|
|
205
|
-
</
|
|
206
|
-
</
|
|
207
|
-
</
|
|
208
|
+
</div>
|
|
209
|
+
</div>
|
|
210
|
+
</div>
|
|
208
211
|
</DocumentFragment>
|
|
209
212
|
`;
|
|
210
213
|
|
|
211
214
|
exports[`component:<Modal> prop:onOverflow 1`] = `
|
|
212
215
|
<DocumentFragment>
|
|
213
|
-
<
|
|
216
|
+
<div
|
|
214
217
|
class="pressable container overflow visible onOverflow"
|
|
215
218
|
data-testid="mirai-onOverflow-overflow"
|
|
216
219
|
style="height: 768px;"
|
|
217
|
-
tabindex="0"
|
|
218
220
|
>
|
|
219
|
-
<
|
|
221
|
+
<div
|
|
220
222
|
class="view fit modal calcWidth visible"
|
|
221
223
|
data-testid="mirai-onOverflow"
|
|
222
224
|
/>
|
|
223
|
-
</
|
|
225
|
+
</div>
|
|
224
226
|
</DocumentFragment>
|
|
225
227
|
`;
|
|
226
228
|
|
|
227
229
|
exports[`component:<Modal> prop:portal 1`] = `
|
|
228
230
|
<DocumentFragment>
|
|
229
|
-
<
|
|
231
|
+
<div
|
|
230
232
|
class="pressable container overflow"
|
|
231
233
|
style="height: 768px;"
|
|
232
|
-
tabindex="0"
|
|
233
234
|
>
|
|
234
|
-
<
|
|
235
|
+
<div
|
|
235
236
|
class="view fit modal calcWidth"
|
|
236
237
|
/>
|
|
237
|
-
</
|
|
238
|
+
</div>
|
|
238
239
|
</DocumentFragment>
|
|
239
240
|
`;
|
|
240
241
|
|
|
241
242
|
exports[`component:<Modal> prop:title 1`] = `
|
|
242
243
|
<DocumentFragment>
|
|
243
|
-
<
|
|
244
|
+
<div
|
|
244
245
|
class="pressable container overflow"
|
|
245
246
|
style="height: 768px;"
|
|
246
|
-
tabindex="0"
|
|
247
247
|
>
|
|
248
|
-
<
|
|
248
|
+
<div
|
|
249
249
|
class="view fit modal calcWidth"
|
|
250
250
|
>
|
|
251
|
-
<
|
|
252
|
-
class="view
|
|
251
|
+
<div
|
|
252
|
+
class="view row header hideBack hideClose"
|
|
253
253
|
>
|
|
254
|
-
<
|
|
255
|
-
class="text
|
|
254
|
+
<span
|
|
255
|
+
class="text paragraph title"
|
|
256
256
|
>
|
|
257
257
|
Modal
|
|
258
|
-
</
|
|
259
|
-
</
|
|
260
|
-
</
|
|
261
|
-
</
|
|
258
|
+
</span>
|
|
259
|
+
</div>
|
|
260
|
+
</div>
|
|
261
|
+
</div>
|
|
262
262
|
</DocumentFragment>
|
|
263
263
|
`;
|
|
264
264
|
|
|
265
265
|
exports[`component:<Modal> prop:visible & prop:blur 1`] = `
|
|
266
266
|
<DocumentFragment>
|
|
267
|
-
<
|
|
267
|
+
<div
|
|
268
268
|
class="pressable container overflow blur visible"
|
|
269
269
|
style="height: 768px;"
|
|
270
|
-
tabindex="0"
|
|
271
270
|
>
|
|
272
|
-
<
|
|
271
|
+
<div
|
|
273
272
|
class="view fit modal calcWidth visible"
|
|
274
273
|
/>
|
|
275
|
-
</
|
|
274
|
+
</div>
|
|
276
275
|
</DocumentFragment>
|
|
277
276
|
`;
|
|
278
277
|
|
|
279
278
|
exports[`component:<Modal> prop:visible & prop:onOverflow 1`] = `
|
|
280
279
|
<DocumentFragment>
|
|
281
|
-
<
|
|
280
|
+
<div
|
|
282
281
|
class="pressable container overflow visible onOverflow"
|
|
283
282
|
style="height: 768px;"
|
|
284
|
-
tabindex="0"
|
|
285
283
|
>
|
|
286
|
-
<
|
|
284
|
+
<div
|
|
287
285
|
class="view fit modal calcWidth visible"
|
|
288
286
|
/>
|
|
289
|
-
</
|
|
287
|
+
</div>
|
|
290
288
|
</DocumentFragment>
|
|
291
289
|
`;
|
|
292
290
|
|
|
293
291
|
exports[`component:<Modal> prop:visible & prop:overflow (false) 1`] = `
|
|
294
292
|
<DocumentFragment>
|
|
295
|
-
<
|
|
293
|
+
<div
|
|
296
294
|
class="pressable container visible"
|
|
297
295
|
style="height: 768px;"
|
|
298
|
-
tabindex="0"
|
|
299
296
|
>
|
|
300
|
-
<
|
|
297
|
+
<div
|
|
301
298
|
class="view fit modal calcWidth visible"
|
|
302
299
|
/>
|
|
303
|
-
</
|
|
300
|
+
</div>
|
|
304
301
|
</DocumentFragment>
|
|
305
302
|
`;
|
|
306
303
|
|
|
307
304
|
exports[`component:<Modal> prop:visible renders 1`] = `
|
|
308
305
|
<DocumentFragment>
|
|
309
|
-
<
|
|
306
|
+
<div
|
|
310
307
|
class="pressable container overflow visible"
|
|
311
308
|
style="height: 768px;"
|
|
312
|
-
tabindex="0"
|
|
313
309
|
>
|
|
314
|
-
<
|
|
310
|
+
<div
|
|
315
311
|
class="view fit modal calcWidth visible"
|
|
316
312
|
/>
|
|
317
|
-
</
|
|
313
|
+
</div>
|
|
318
314
|
</DocumentFragment>
|
|
319
315
|
`;
|
|
320
316
|
|
|
321
317
|
exports[`component:<Modal> renders 1`] = `
|
|
322
318
|
<DocumentFragment>
|
|
323
|
-
<
|
|
319
|
+
<div
|
|
324
320
|
class="pressable container overflow"
|
|
325
321
|
style="height: 768px;"
|
|
326
|
-
tabindex="0"
|
|
327
322
|
>
|
|
328
|
-
<
|
|
323
|
+
<div
|
|
329
324
|
class="view fit modal calcWidth"
|
|
330
325
|
/>
|
|
331
|
-
</
|
|
326
|
+
</div>
|
|
332
327
|
</DocumentFragment>
|
|
333
328
|
`;
|
|
334
329
|
|
|
335
330
|
exports[`component:<Modal> testId 1`] = `
|
|
336
331
|
<DocumentFragment>
|
|
337
|
-
<
|
|
332
|
+
<div
|
|
338
333
|
class="pressable container overflow"
|
|
339
334
|
data-testid="mirai-overflow"
|
|
340
335
|
style="height: 768px;"
|
|
341
|
-
tabindex="0"
|
|
342
336
|
>
|
|
343
|
-
<
|
|
337
|
+
<div
|
|
344
338
|
class="view fit modal calcWidth"
|
|
345
339
|
data-testid="mirai"
|
|
346
340
|
/>
|
|
347
|
-
</
|
|
341
|
+
</div>
|
|
348
342
|
</DocumentFragment>
|
|
349
343
|
`;
|
|
@@ -9,7 +9,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
var _helpers = require("../../helpers");
|
|
10
10
|
var _primitives = require("../../primitives");
|
|
11
11
|
var _NotificationModule = _interopRequireDefault(require("./Notification.module.css"));
|
|
12
|
-
var _excluded = ["children", "error", "info", "inline", "large", "small", "success", "warning", "wide", "onClose"];
|
|
12
|
+
var _excluded = ["children", "error", "info", "inline", "large", "small", "success", "title", "warning", "wide", "onClose"];
|
|
13
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
14
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
15
15
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
@@ -23,6 +23,7 @@ var Notification = function Notification(_ref) {
|
|
|
23
23
|
large = _ref.large,
|
|
24
24
|
small = _ref.small,
|
|
25
25
|
success = _ref.success,
|
|
26
|
+
title = _ref.title,
|
|
26
27
|
warning = _ref.warning,
|
|
27
28
|
wide = _ref.wide,
|
|
28
29
|
onClose = _ref.onClose,
|
|
@@ -30,27 +31,33 @@ var Notification = function Notification(_ref) {
|
|
|
30
31
|
return /*#__PURE__*/_react.default.createElement(_primitives.View, _extends({}, others, {
|
|
31
32
|
row: true,
|
|
32
33
|
role: others.role || 'notification',
|
|
33
|
-
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,
|
|
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)
|
|
34
35
|
}), /*#__PURE__*/_react.default.createElement(_primitives.Icon, {
|
|
35
36
|
headline: large,
|
|
36
|
-
level: large ? 1 : undefined,
|
|
37
37
|
paragraph: small,
|
|
38
|
+
level: large ? 1 : 3,
|
|
38
39
|
value: (0, _helpers.getIconState)({
|
|
39
40
|
error: error,
|
|
40
41
|
success: success,
|
|
41
42
|
warning: warning
|
|
42
|
-
})
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
})
|
|
44
|
+
}), /*#__PURE__*/_react.default.createElement(_primitives.View, {
|
|
45
|
+
className: _NotificationModule.default.texts
|
|
46
|
+
}, title && /*#__PURE__*/_react.default.createElement(_primitives.Text, {
|
|
47
|
+
action: small,
|
|
48
|
+
bold: true,
|
|
49
|
+
headline: large
|
|
50
|
+
}, title), children && /*#__PURE__*/_react.default.createElement(_primitives.Text, {
|
|
51
|
+
action: !small && !large,
|
|
52
|
+
small: small
|
|
53
|
+
}, children)), !inline && !large && onClose && /*#__PURE__*/_react.default.createElement(_primitives.Pressable, {
|
|
48
54
|
onPress: onClose,
|
|
49
|
-
className: (0, _helpers.styles)(_NotificationModule.default.pressable, _NotificationModule.default.icon),
|
|
50
55
|
testId: others.testId ? "".concat(others.testId, "-button-close") : undefined
|
|
51
56
|
}, /*#__PURE__*/_react.default.createElement(_primitives.Icon, {
|
|
52
|
-
|
|
53
|
-
paragraph: small
|
|
57
|
+
headline: large,
|
|
58
|
+
paragraph: small,
|
|
59
|
+
level: large ? 1 : 3,
|
|
60
|
+
value: _primitives.ICON.CLOSE
|
|
54
61
|
})));
|
|
55
62
|
};
|
|
56
63
|
exports.Notification = Notification;
|
|
@@ -63,6 +70,7 @@ Notification.propTypes = {
|
|
|
63
70
|
large: _propTypes.default.bool,
|
|
64
71
|
small: _propTypes.default.bool,
|
|
65
72
|
success: _propTypes.default.bool,
|
|
73
|
+
title: _propTypes.default.string,
|
|
66
74
|
warning: _propTypes.default.bool,
|
|
67
75
|
wide: _propTypes.default.bool,
|
|
68
76
|
onClose: _propTypes.default.func
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Notification.js","names":["Notification","children","error","info","inline","large","small","success","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={large} paragraph={small} level={large ? 1 : 3} 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 && !large} 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 headline={large} paragraph={small} level={large ? 1 : 3} 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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"}
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
.notification {
|
|
2
|
-
width: fit-content;
|
|
3
2
|
align-items: flex-start;
|
|
3
|
+
width: fit-content;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
.notification.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
.notification:not(.large):not(.small) {
|
|
7
|
+
gap: var(--mirai-ui-space-XS);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.notification.small {
|
|
11
|
+
gap: var(--mirai-ui-space-XXS);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.notification.large {
|
|
15
|
+
gap: var(--mirai-ui-notification-padding);
|
|
11
16
|
}
|
|
12
17
|
|
|
13
18
|
.notification.large {
|
|
@@ -19,91 +24,72 @@
|
|
|
19
24
|
width: 100%;
|
|
20
25
|
}
|
|
21
26
|
|
|
22
|
-
.notification.
|
|
23
|
-
|
|
27
|
+
.notification .info {
|
|
28
|
+
color: var(--mirai-ui-inysfo);
|
|
24
29
|
}
|
|
25
30
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
/* -- outlined ------------------------------------------------------------------------------------------------------ */
|
|
32
|
+
.notification.outlined {
|
|
33
|
+
background-color: var(--mirai-ui-content-background);
|
|
34
|
+
border-radius: var(--mirai-ui-notification-border-radius);
|
|
35
|
+
padding: var(--mirai-ui-notification-padding);
|
|
36
|
+
border: solid var(--mirai-ui-border-width) var(--mirai-ui-content-border);
|
|
32
37
|
}
|
|
33
38
|
|
|
34
|
-
.notification.
|
|
35
|
-
|
|
36
|
-
border-color: var(--mirai-ui-success-border);
|
|
39
|
+
.notification.outlined.large {
|
|
40
|
+
padding: var(--mirai-ui-notification-padding-large);
|
|
37
41
|
}
|
|
38
42
|
|
|
39
|
-
.notification.
|
|
40
|
-
|
|
43
|
+
.notification.outlined.small {
|
|
44
|
+
padding: var(--mirai-ui-notification-padding-small);
|
|
41
45
|
}
|
|
42
46
|
|
|
43
|
-
.notification.error
|
|
47
|
+
.notification.outlined.error {
|
|
44
48
|
background-color: var(--mirai-ui-error-background);
|
|
45
49
|
border-color: var(--mirai-ui-error-border);
|
|
46
50
|
}
|
|
47
51
|
|
|
48
|
-
.notification.
|
|
49
|
-
color: var(--mirai-ui-error);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.notification.warning:not(.inline) {
|
|
52
|
+
.notification.outlined.warning {
|
|
53
53
|
background-color: var(--mirai-ui-warning-background);
|
|
54
54
|
border-color: var(--mirai-ui-warning-border);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.notification.
|
|
58
|
-
color: var(--mirai-ui-
|
|
57
|
+
.notification.outlined.success {
|
|
58
|
+
background-color: var(--mirai-ui-success-background);
|
|
59
|
+
border-color: var(--mirai-ui-success-border);
|
|
59
60
|
}
|
|
60
61
|
|
|
61
|
-
.notification.info
|
|
62
|
+
.notification.outlined.info {
|
|
62
63
|
background-color: var(--mirai-ui-info-background);
|
|
63
64
|
border-color: var(--mirai-ui-info-border);
|
|
64
65
|
}
|
|
65
66
|
|
|
66
|
-
|
|
67
|
-
|
|
67
|
+
/* -- <Text>s ------------------------------------------------------------------------------------------------------- */
|
|
68
|
+
.notification .texts {
|
|
69
|
+
flex: 1;
|
|
68
70
|
}
|
|
69
71
|
|
|
70
|
-
.notification
|
|
71
|
-
|
|
72
|
-
|
|
72
|
+
.notification.large .texts {
|
|
73
|
+
align-items: center;
|
|
74
|
+
gap: var(--mirai-ui-notification-padding-small);
|
|
73
75
|
}
|
|
74
76
|
|
|
75
|
-
.notification.large .
|
|
76
|
-
margin-top: var(--mirai-ui-notification-padding-large);
|
|
77
|
+
.notification.large .texts * {
|
|
77
78
|
text-align: center;
|
|
78
79
|
}
|
|
79
80
|
|
|
80
|
-
.notification.
|
|
81
|
-
|
|
82
|
-
margin-right: var(--mirai-ui-notification-padding-small);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.notification.outlined .text {
|
|
86
|
-
flex: 1;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.notification.large:not(.outlined) .text {
|
|
90
|
-
color: var(--mirai-ui-content);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.notification:not(.large):not(.small) .icon {
|
|
94
|
-
margin-top: calc(calc(var(--mirai-ui-line-height-headline-3) - var(--mirai-ui-font-size-headline-3)) / 2);
|
|
81
|
+
.notification.error * {
|
|
82
|
+
color: var(--mirai-ui-error);
|
|
95
83
|
}
|
|
96
84
|
|
|
97
|
-
.notification.
|
|
98
|
-
|
|
99
|
-
line-height: var(--mirai-ui-space-XL);
|
|
100
|
-
height: var(--mirai-ui-space-XL);
|
|
101
|
-
width: var(--mirai-ui-space-XL);
|
|
85
|
+
.notification.warning * {
|
|
86
|
+
color: var(--mirai-ui-warning);
|
|
102
87
|
}
|
|
103
88
|
|
|
104
|
-
.notification.
|
|
105
|
-
|
|
89
|
+
.notification.success * {
|
|
90
|
+
color: var(--mirai-ui-success);
|
|
106
91
|
}
|
|
107
92
|
|
|
108
|
-
.notification
|
|
93
|
+
.notification.info * {
|
|
94
|
+
color: var(--mirai-ui-info);
|
|
109
95
|
}
|