@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,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`component:<InputText> inherit:className 1`] = `
|
|
4
4
|
<DocumentFragment>
|
|
5
|
-
<
|
|
5
|
+
<div
|
|
6
6
|
class="view inputContainer mirai"
|
|
7
7
|
>
|
|
8
|
-
<
|
|
8
|
+
<div
|
|
9
9
|
class="view row inputBorder"
|
|
10
10
|
>
|
|
11
|
-
<
|
|
11
|
+
<div
|
|
12
12
|
class="view wide content"
|
|
13
13
|
>
|
|
14
14
|
<input
|
|
@@ -17,26 +17,26 @@ exports[`component:<InputText> inherit:className 1`] = `
|
|
|
17
17
|
type="text"
|
|
18
18
|
value=""
|
|
19
19
|
/>
|
|
20
|
-
</
|
|
21
|
-
</
|
|
22
|
-
</
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
23
|
</DocumentFragment>
|
|
24
24
|
`;
|
|
25
25
|
|
|
26
26
|
exports[`component:<InputText> prop:caption 1`] = `
|
|
27
27
|
<DocumentFragment>
|
|
28
|
-
<
|
|
28
|
+
<div
|
|
29
29
|
class="view inputContainer"
|
|
30
30
|
>
|
|
31
|
-
<
|
|
31
|
+
<div
|
|
32
32
|
class="view row inputBorder"
|
|
33
33
|
>
|
|
34
|
-
<
|
|
34
|
+
<span
|
|
35
35
|
class="text action lighten caption"
|
|
36
36
|
>
|
|
37
37
|
caption
|
|
38
|
-
</
|
|
39
|
-
<
|
|
38
|
+
</span>
|
|
39
|
+
<div
|
|
40
40
|
class="view wide content"
|
|
41
41
|
>
|
|
42
42
|
<input
|
|
@@ -45,21 +45,21 @@ exports[`component:<InputText> prop:caption 1`] = `
|
|
|
45
45
|
type="text"
|
|
46
46
|
value=""
|
|
47
47
|
/>
|
|
48
|
-
</
|
|
49
|
-
</
|
|
50
|
-
</
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
51
|
</DocumentFragment>
|
|
52
52
|
`;
|
|
53
53
|
|
|
54
54
|
exports[`component:<InputText> prop:disabled 1`] = `
|
|
55
55
|
<DocumentFragment>
|
|
56
|
-
<
|
|
56
|
+
<div
|
|
57
57
|
class="view inputContainer"
|
|
58
58
|
>
|
|
59
|
-
<
|
|
59
|
+
<div
|
|
60
60
|
class="view row inputBorder disabled"
|
|
61
61
|
>
|
|
62
|
-
<
|
|
62
|
+
<div
|
|
63
63
|
class="view wide content"
|
|
64
64
|
>
|
|
65
65
|
<input
|
|
@@ -69,21 +69,21 @@ exports[`component:<InputText> prop:disabled 1`] = `
|
|
|
69
69
|
type="text"
|
|
70
70
|
value=""
|
|
71
71
|
/>
|
|
72
|
-
</
|
|
73
|
-
</
|
|
74
|
-
</
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
75
|
</DocumentFragment>
|
|
76
76
|
`;
|
|
77
77
|
|
|
78
78
|
exports[`component:<InputText> prop:error 1`] = `
|
|
79
79
|
<DocumentFragment>
|
|
80
|
-
<
|
|
80
|
+
<div
|
|
81
81
|
class="view inputContainer"
|
|
82
82
|
>
|
|
83
|
-
<
|
|
83
|
+
<div
|
|
84
84
|
class="view row inputBorder error"
|
|
85
85
|
>
|
|
86
|
-
<
|
|
86
|
+
<div
|
|
87
87
|
class="view wide content"
|
|
88
88
|
>
|
|
89
89
|
<input
|
|
@@ -92,9 +92,9 @@ exports[`component:<InputText> prop:error 1`] = `
|
|
|
92
92
|
type="text"
|
|
93
93
|
value=""
|
|
94
94
|
/>
|
|
95
|
-
</
|
|
96
|
-
<
|
|
97
|
-
class="icon
|
|
95
|
+
</div>
|
|
96
|
+
<span
|
|
97
|
+
class="icon headline-3 icon error"
|
|
98
98
|
>
|
|
99
99
|
<svg
|
|
100
100
|
fill="currentColor"
|
|
@@ -113,21 +113,21 @@ exports[`component:<InputText> prop:error 1`] = `
|
|
|
113
113
|
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"
|
|
114
114
|
/>
|
|
115
115
|
</svg>
|
|
116
|
-
</
|
|
117
|
-
</
|
|
118
|
-
</
|
|
116
|
+
</span>
|
|
117
|
+
</div>
|
|
118
|
+
</div>
|
|
119
119
|
</DocumentFragment>
|
|
120
120
|
`;
|
|
121
121
|
|
|
122
122
|
exports[`component:<InputText> prop:hint 1`] = `
|
|
123
123
|
<DocumentFragment>
|
|
124
|
-
<
|
|
124
|
+
<div
|
|
125
125
|
class="view inputContainer"
|
|
126
126
|
>
|
|
127
|
-
<
|
|
127
|
+
<div
|
|
128
128
|
class="view row inputBorder"
|
|
129
129
|
>
|
|
130
|
-
<
|
|
130
|
+
<div
|
|
131
131
|
class="view wide content"
|
|
132
132
|
>
|
|
133
133
|
<input
|
|
@@ -136,27 +136,27 @@ exports[`component:<InputText> prop:hint 1`] = `
|
|
|
136
136
|
type="text"
|
|
137
137
|
value=""
|
|
138
138
|
/>
|
|
139
|
-
</
|
|
140
|
-
</
|
|
141
|
-
<
|
|
139
|
+
</div>
|
|
140
|
+
</div>
|
|
141
|
+
<span
|
|
142
142
|
class="text small text hint"
|
|
143
143
|
>
|
|
144
144
|
hint
|
|
145
|
-
</
|
|
146
|
-
</
|
|
145
|
+
</span>
|
|
146
|
+
</div>
|
|
147
147
|
</DocumentFragment>
|
|
148
148
|
`;
|
|
149
149
|
|
|
150
150
|
exports[`component:<InputText> prop:icon 1`] = `
|
|
151
151
|
<DocumentFragment>
|
|
152
|
-
<
|
|
152
|
+
<div
|
|
153
153
|
class="view inputContainer"
|
|
154
154
|
>
|
|
155
|
-
<
|
|
155
|
+
<div
|
|
156
156
|
class="view row inputBorder"
|
|
157
157
|
>
|
|
158
|
-
<
|
|
159
|
-
class="icon
|
|
158
|
+
<span
|
|
159
|
+
class="icon headline-3 icon left"
|
|
160
160
|
>
|
|
161
161
|
<svg
|
|
162
162
|
fill="currentColor"
|
|
@@ -172,11 +172,11 @@ exports[`component:<InputText> prop:icon 1`] = `
|
|
|
172
172
|
fill="none"
|
|
173
173
|
/>
|
|
174
174
|
<path
|
|
175
|
-
d="M12 6a9.77 9.77 0
|
|
175
|
+
d="M12 6a9.77 9.77 0 0 1 8.82 5.5C19.17 14.87 15.79 17 12 17s-7.17-2.13-8.82-5.5A9.77 9.77 0 0 1 12 6m0-2C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4zm0 5a2.5 2.5 0 0 1 0 5 2.5 2.5 0 0 1 0-5m0-2c-2.48 0-4.5 2.02-4.5 4.5S9.52 16 12 16s4.5-2.02 4.5-4.5S14.48 7 12 7z"
|
|
176
176
|
/>
|
|
177
177
|
</svg>
|
|
178
|
-
</
|
|
179
|
-
<
|
|
178
|
+
</span>
|
|
179
|
+
<div
|
|
180
180
|
class="view wide content"
|
|
181
181
|
>
|
|
182
182
|
<input
|
|
@@ -185,49 +185,49 @@ exports[`component:<InputText> prop:icon 1`] = `
|
|
|
185
185
|
type="text"
|
|
186
186
|
value=""
|
|
187
187
|
/>
|
|
188
|
-
</
|
|
189
|
-
</
|
|
190
|
-
</
|
|
188
|
+
</div>
|
|
189
|
+
</div>
|
|
190
|
+
</div>
|
|
191
191
|
</DocumentFragment>
|
|
192
192
|
`;
|
|
193
193
|
|
|
194
194
|
exports[`component:<InputText> prop:label 1`] = `
|
|
195
195
|
<DocumentFragment>
|
|
196
|
-
<
|
|
196
|
+
<div
|
|
197
197
|
class="view inputContainer"
|
|
198
198
|
>
|
|
199
|
-
<
|
|
199
|
+
<div
|
|
200
200
|
class="view row inputBorder"
|
|
201
201
|
>
|
|
202
|
-
<
|
|
202
|
+
<div
|
|
203
203
|
class="view wide content"
|
|
204
204
|
>
|
|
205
|
-
<
|
|
205
|
+
<span
|
|
206
206
|
class="text paragraph text label"
|
|
207
207
|
>
|
|
208
208
|
label
|
|
209
|
-
</
|
|
209
|
+
</span>
|
|
210
210
|
<input
|
|
211
211
|
class="input input withLabel"
|
|
212
212
|
name="name"
|
|
213
213
|
type="text"
|
|
214
214
|
value=""
|
|
215
215
|
/>
|
|
216
|
-
</
|
|
217
|
-
</
|
|
218
|
-
</
|
|
216
|
+
</div>
|
|
217
|
+
</div>
|
|
218
|
+
</div>
|
|
219
219
|
</DocumentFragment>
|
|
220
220
|
`;
|
|
221
221
|
|
|
222
222
|
exports[`component:<InputText> prop:markdown 1`] = `
|
|
223
223
|
<DocumentFragment>
|
|
224
|
-
<
|
|
224
|
+
<div
|
|
225
225
|
class="view inputContainer"
|
|
226
226
|
>
|
|
227
|
-
<
|
|
227
|
+
<div
|
|
228
228
|
class="view row inputBorder"
|
|
229
229
|
>
|
|
230
|
-
<
|
|
230
|
+
<div
|
|
231
231
|
class="view wide content"
|
|
232
232
|
>
|
|
233
233
|
<input
|
|
@@ -236,13 +236,12 @@ exports[`component:<InputText> prop:markdown 1`] = `
|
|
|
236
236
|
type="text"
|
|
237
237
|
value=""
|
|
238
238
|
/>
|
|
239
|
-
</
|
|
240
|
-
<
|
|
239
|
+
</div>
|
|
240
|
+
<div
|
|
241
241
|
class="pressable"
|
|
242
|
-
tabindex="0"
|
|
243
242
|
>
|
|
244
|
-
<
|
|
245
|
-
class="icon
|
|
243
|
+
<span
|
|
244
|
+
class="icon headline-3 icon disabled"
|
|
246
245
|
>
|
|
247
246
|
<svg
|
|
248
247
|
fill="currentColor"
|
|
@@ -257,46 +256,46 @@ exports[`component:<InputText> prop:markdown 1`] = `
|
|
|
257
256
|
d="M 2.875 6 C 1.320313 6 0 7.253906 0 8.8125 L 0 23.1875 C 0 24.746094 1.320313 26 2.875 26 L 29.125 26 C 30.679688 26 32 24.746094 32 23.1875 L 32 8.8125 C 32 7.253906 30.679688 6 29.125 6 Z M 2.875 8 L 29.125 8 C 29.640625 8 30 8.382813 30 8.8125 L 30 23.1875 C 30 23.617188 29.640625 24 29.125 24 L 2.875 24 C 2.359375 24 2 23.617188 2 23.1875 L 2 8.8125 C 2 8.382813 2.359375 8 2.875 8 Z M 5 11 L 5 21 L 8 21 L 8 14.34375 L 11 18.3125 L 14 14.34375 L 14 21 L 17 21 L 17 11 L 14 11 L 11 15 L 8 11 Z M 22 11 L 22 16 L 19 16 L 23.5 21 L 28 16 L 25 16 L 25 11 Z"
|
|
258
257
|
/>
|
|
259
258
|
</svg>
|
|
260
|
-
</
|
|
261
|
-
</
|
|
262
|
-
</
|
|
263
|
-
</
|
|
259
|
+
</span>
|
|
260
|
+
</div>
|
|
261
|
+
</div>
|
|
262
|
+
</div>
|
|
264
263
|
</DocumentFragment>
|
|
265
264
|
`;
|
|
266
265
|
|
|
267
266
|
exports[`component:<InputText> prop:multiLine 1`] = `
|
|
268
267
|
<DocumentFragment>
|
|
269
|
-
<
|
|
268
|
+
<div
|
|
270
269
|
class="view inputContainer"
|
|
271
270
|
>
|
|
272
|
-
<
|
|
271
|
+
<div
|
|
273
272
|
class="view row inputBorder"
|
|
274
273
|
>
|
|
275
|
-
<
|
|
274
|
+
<div
|
|
276
275
|
class="view wide content"
|
|
277
276
|
>
|
|
278
277
|
<textarea
|
|
279
278
|
class="input input multiLine"
|
|
280
279
|
name="name"
|
|
281
280
|
/>
|
|
282
|
-
</
|
|
283
|
-
</
|
|
284
|
-
</
|
|
281
|
+
</div>
|
|
282
|
+
</div>
|
|
283
|
+
</div>
|
|
285
284
|
</DocumentFragment>
|
|
286
285
|
`;
|
|
287
286
|
|
|
288
287
|
exports[`component:<InputText> prop:required & prop:showRequired (true) 1`] = `
|
|
289
288
|
<DocumentFragment>
|
|
290
|
-
<
|
|
289
|
+
<div
|
|
291
290
|
class="view inputContainer"
|
|
292
291
|
>
|
|
293
|
-
<
|
|
292
|
+
<div
|
|
294
293
|
class="view row inputBorder"
|
|
295
294
|
>
|
|
296
|
-
<
|
|
295
|
+
<div
|
|
297
296
|
class="view wide content"
|
|
298
297
|
>
|
|
299
|
-
<
|
|
298
|
+
<span
|
|
300
299
|
class="text paragraph text label"
|
|
301
300
|
>
|
|
302
301
|
label
|
|
@@ -305,7 +304,7 @@ exports[`component:<InputText> prop:required & prop:showRequired (true) 1`] = `
|
|
|
305
304
|
>
|
|
306
305
|
*
|
|
307
306
|
</span>
|
|
308
|
-
</
|
|
307
|
+
</span>
|
|
309
308
|
<input
|
|
310
309
|
class="input input withLabel"
|
|
311
310
|
name="name"
|
|
@@ -313,28 +312,28 @@ exports[`component:<InputText> prop:required & prop:showRequired (true) 1`] = `
|
|
|
313
312
|
type="text"
|
|
314
313
|
value=""
|
|
315
314
|
/>
|
|
316
|
-
</
|
|
317
|
-
</
|
|
318
|
-
</
|
|
315
|
+
</div>
|
|
316
|
+
</div>
|
|
317
|
+
</div>
|
|
319
318
|
</DocumentFragment>
|
|
320
319
|
`;
|
|
321
320
|
|
|
322
321
|
exports[`component:<InputText> prop:required 1`] = `
|
|
323
322
|
<DocumentFragment>
|
|
324
|
-
<
|
|
323
|
+
<div
|
|
325
324
|
class="view inputContainer"
|
|
326
325
|
>
|
|
327
|
-
<
|
|
326
|
+
<div
|
|
328
327
|
class="view row inputBorder"
|
|
329
328
|
>
|
|
330
|
-
<
|
|
329
|
+
<div
|
|
331
330
|
class="view wide content"
|
|
332
331
|
>
|
|
333
|
-
<
|
|
332
|
+
<span
|
|
334
333
|
class="text paragraph text label"
|
|
335
334
|
>
|
|
336
335
|
label
|
|
337
|
-
</
|
|
336
|
+
</span>
|
|
338
337
|
<input
|
|
339
338
|
class="input input withLabel"
|
|
340
339
|
name="name"
|
|
@@ -342,21 +341,21 @@ exports[`component:<InputText> prop:required 1`] = `
|
|
|
342
341
|
type="text"
|
|
343
342
|
value=""
|
|
344
343
|
/>
|
|
345
|
-
</
|
|
346
|
-
</
|
|
347
|
-
</
|
|
344
|
+
</div>
|
|
345
|
+
</div>
|
|
346
|
+
</div>
|
|
348
347
|
</DocumentFragment>
|
|
349
348
|
`;
|
|
350
349
|
|
|
351
350
|
exports[`component:<InputText> prop:showState (false) 1`] = `
|
|
352
351
|
<DocumentFragment>
|
|
353
|
-
<
|
|
352
|
+
<div
|
|
354
353
|
class="view inputContainer"
|
|
355
354
|
>
|
|
356
|
-
<
|
|
355
|
+
<div
|
|
357
356
|
class="view row inputBorder error"
|
|
358
357
|
>
|
|
359
|
-
<
|
|
358
|
+
<div
|
|
360
359
|
class="view wide content"
|
|
361
360
|
>
|
|
362
361
|
<input
|
|
@@ -365,9 +364,9 @@ exports[`component:<InputText> prop:showState (false) 1`] = `
|
|
|
365
364
|
type="text"
|
|
366
365
|
value=""
|
|
367
366
|
/>
|
|
368
|
-
</
|
|
369
|
-
<
|
|
370
|
-
class="icon
|
|
367
|
+
</div>
|
|
368
|
+
<span
|
|
369
|
+
class="icon headline-3 icon error"
|
|
371
370
|
>
|
|
372
371
|
<svg
|
|
373
372
|
fill="currentColor"
|
|
@@ -386,21 +385,21 @@ exports[`component:<InputText> prop:showState (false) 1`] = `
|
|
|
386
385
|
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"
|
|
387
386
|
/>
|
|
388
387
|
</svg>
|
|
389
|
-
</
|
|
390
|
-
</
|
|
391
|
-
</
|
|
388
|
+
</span>
|
|
389
|
+
</div>
|
|
390
|
+
</div>
|
|
392
391
|
</DocumentFragment>
|
|
393
392
|
`;
|
|
394
393
|
|
|
395
394
|
exports[`component:<InputText> prop:success 1`] = `
|
|
396
395
|
<DocumentFragment>
|
|
397
|
-
<
|
|
396
|
+
<div
|
|
398
397
|
class="view inputContainer"
|
|
399
398
|
>
|
|
400
|
-
<
|
|
399
|
+
<div
|
|
401
400
|
class="view row inputBorder"
|
|
402
401
|
>
|
|
403
|
-
<
|
|
402
|
+
<div
|
|
404
403
|
class="view wide content"
|
|
405
404
|
>
|
|
406
405
|
<input
|
|
@@ -409,9 +408,9 @@ exports[`component:<InputText> prop:success 1`] = `
|
|
|
409
408
|
type="text"
|
|
410
409
|
value=""
|
|
411
410
|
/>
|
|
412
|
-
</
|
|
413
|
-
<
|
|
414
|
-
class="icon
|
|
411
|
+
</div>
|
|
412
|
+
<span
|
|
413
|
+
class="icon headline-3 icon success"
|
|
415
414
|
>
|
|
416
415
|
<svg
|
|
417
416
|
fill="currentColor"
|
|
@@ -423,28 +422,28 @@ exports[`component:<InputText> prop:success 1`] = `
|
|
|
423
422
|
xmlns="http://www.w3.org/2000/svg"
|
|
424
423
|
>
|
|
425
424
|
<path
|
|
426
|
-
d="M0 0h24v24H0V0z"
|
|
425
|
+
d="M0 0h24v24H0V0zm0 0h24v24H0V0z"
|
|
427
426
|
fill="none"
|
|
428
427
|
/>
|
|
429
428
|
<path
|
|
430
|
-
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"
|
|
431
430
|
/>
|
|
432
431
|
</svg>
|
|
433
|
-
</
|
|
434
|
-
</
|
|
435
|
-
</
|
|
432
|
+
</span>
|
|
433
|
+
</div>
|
|
434
|
+
</div>
|
|
436
435
|
</DocumentFragment>
|
|
437
436
|
`;
|
|
438
437
|
|
|
439
438
|
exports[`component:<InputText> prop:type 1`] = `
|
|
440
439
|
<DocumentFragment>
|
|
441
|
-
<
|
|
440
|
+
<div
|
|
442
441
|
class="view inputContainer"
|
|
443
442
|
>
|
|
444
|
-
<
|
|
443
|
+
<div
|
|
445
444
|
class="view row inputBorder"
|
|
446
445
|
>
|
|
447
|
-
<
|
|
446
|
+
<div
|
|
448
447
|
class="view wide content"
|
|
449
448
|
>
|
|
450
449
|
<input
|
|
@@ -453,13 +452,13 @@ exports[`component:<InputText> prop:type 1`] = `
|
|
|
453
452
|
type="password"
|
|
454
453
|
value=""
|
|
455
454
|
/>
|
|
456
|
-
</
|
|
457
|
-
<
|
|
455
|
+
</div>
|
|
456
|
+
<div
|
|
458
457
|
class="pressable"
|
|
459
458
|
tabindex="-1"
|
|
460
459
|
>
|
|
461
|
-
<
|
|
462
|
-
class="icon
|
|
460
|
+
<span
|
|
461
|
+
class="icon headline-3 icon password"
|
|
463
462
|
>
|
|
464
463
|
<svg
|
|
465
464
|
fill="currentColor"
|
|
@@ -475,25 +474,25 @@ exports[`component:<InputText> prop:type 1`] = `
|
|
|
475
474
|
fill="none"
|
|
476
475
|
/>
|
|
477
476
|
<path
|
|
478
|
-
d="M12 6a9.77 9.77 0
|
|
477
|
+
d="M12 6a9.77 9.77 0 0 1 8.82 5.5 9.647 9.647 0 0 1-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6zm-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14zM2.01 3.87l2.68 2.68A11.738 11.738 0 0 0 1 11.5C2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45 2.01 3.87zm7.5 7.5 2.61 2.61c-.04.01-.08.02-.12.02a2.5 2.5 0 0 1-2.5-2.5c0-.05.01-.08.01-.13zm-3.4-3.4 1.75 1.75a4.6 4.6 0 0 0-.36 1.78 4.507 4.507 0 0 0 6.27 4.14l.98.98c-.88.24-1.8.38-2.75.38a9.77 9.77 0 0 1-8.82-5.5c.7-1.43 1.72-2.61 2.93-3.53z"
|
|
479
478
|
/>
|
|
480
479
|
</svg>
|
|
481
|
-
</
|
|
482
|
-
</
|
|
483
|
-
</
|
|
484
|
-
</
|
|
480
|
+
</span>
|
|
481
|
+
</div>
|
|
482
|
+
</div>
|
|
483
|
+
</div>
|
|
485
484
|
</DocumentFragment>
|
|
486
485
|
`;
|
|
487
486
|
|
|
488
487
|
exports[`component:<InputText> prop:warning 1`] = `
|
|
489
488
|
<DocumentFragment>
|
|
490
|
-
<
|
|
489
|
+
<div
|
|
491
490
|
class="view inputContainer"
|
|
492
491
|
>
|
|
493
|
-
<
|
|
492
|
+
<div
|
|
494
493
|
class="view row inputBorder"
|
|
495
494
|
>
|
|
496
|
-
<
|
|
495
|
+
<div
|
|
497
496
|
class="view wide content"
|
|
498
497
|
>
|
|
499
498
|
<input
|
|
@@ -502,9 +501,9 @@ exports[`component:<InputText> prop:warning 1`] = `
|
|
|
502
501
|
type="text"
|
|
503
502
|
value=""
|
|
504
503
|
/>
|
|
505
|
-
</
|
|
506
|
-
<
|
|
507
|
-
class="icon
|
|
504
|
+
</div>
|
|
505
|
+
<span
|
|
506
|
+
class="icon headline-3 icon warning"
|
|
508
507
|
>
|
|
509
508
|
<svg
|
|
510
509
|
fill="currentColor"
|
|
@@ -516,24 +515,24 @@ exports[`component:<InputText> prop:warning 1`] = `
|
|
|
516
515
|
xmlns="http://www.w3.org/2000/svg"
|
|
517
516
|
>
|
|
518
517
|
<path
|
|
519
|
-
d="M12 5.
|
|
518
|
+
d="M12 5.99 19.53 19H4.47L12 5.99M12 2 1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
|
|
520
519
|
/>
|
|
521
520
|
</svg>
|
|
522
|
-
</
|
|
523
|
-
</
|
|
524
|
-
</
|
|
521
|
+
</span>
|
|
522
|
+
</div>
|
|
523
|
+
</div>
|
|
525
524
|
</DocumentFragment>
|
|
526
525
|
`;
|
|
527
526
|
|
|
528
527
|
exports[`component:<InputText> renders 1`] = `
|
|
529
528
|
<DocumentFragment>
|
|
530
|
-
<
|
|
529
|
+
<div
|
|
531
530
|
class="view inputContainer"
|
|
532
531
|
>
|
|
533
|
-
<
|
|
532
|
+
<div
|
|
534
533
|
class="view row inputBorder"
|
|
535
534
|
>
|
|
536
|
-
<
|
|
535
|
+
<div
|
|
537
536
|
class="view wide content"
|
|
538
537
|
>
|
|
539
538
|
<input
|
|
@@ -542,21 +541,21 @@ exports[`component:<InputText> renders 1`] = `
|
|
|
542
541
|
type="text"
|
|
543
542
|
value=""
|
|
544
543
|
/>
|
|
545
|
-
</
|
|
546
|
-
</
|
|
547
|
-
</
|
|
544
|
+
</div>
|
|
545
|
+
</div>
|
|
546
|
+
</div>
|
|
548
547
|
</DocumentFragment>
|
|
549
548
|
`;
|
|
550
549
|
|
|
551
550
|
exports[`component:<InputText> testId 1`] = `
|
|
552
551
|
<DocumentFragment>
|
|
553
|
-
<
|
|
552
|
+
<div
|
|
554
553
|
class="view inputContainer"
|
|
555
554
|
>
|
|
556
|
-
<
|
|
555
|
+
<div
|
|
557
556
|
class="view row inputBorder"
|
|
558
557
|
>
|
|
559
|
-
<
|
|
558
|
+
<div
|
|
560
559
|
class="view wide content"
|
|
561
560
|
>
|
|
562
561
|
<input
|
|
@@ -566,8 +565,8 @@ exports[`component:<InputText> testId 1`] = `
|
|
|
566
565
|
type="text"
|
|
567
566
|
value=""
|
|
568
567
|
/>
|
|
569
|
-
</
|
|
570
|
-
</
|
|
571
|
-
</
|
|
568
|
+
</div>
|
|
569
|
+
</div>
|
|
570
|
+
</div>
|
|
572
571
|
</DocumentFragment>
|
|
573
572
|
`;
|