@mirai/ui 2.0.6 → 2.0.8
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/Action/Action.js +1 -2
- package/build/components/Action/Action.js.map +1 -1
- package/build/components/Action/Action.module.css +4 -0
- package/build/components/Action/__tests__/__snapshots__/Action.test.js.snap +21 -32
- package/build/components/Button/Button.js +1 -2
- package/build/components/Button/Button.js.map +1 -1
- package/build/components/Button/Button.module.css +27 -27
- package/build/components/Button/__tests__/__snapshots__/Button.test.js.snap +49 -60
- package/build/components/Calendar/Calendar.Month.js +1 -0
- package/build/components/Calendar/Calendar.Month.js.map +1 -1
- package/build/components/Calendar/Calendar.Weekdays.js +1 -0
- package/build/components/Calendar/Calendar.Weekdays.js.map +1 -1
- package/build/components/Calendar/Calendar.js +3 -0
- package/build/components/Calendar/Calendar.js.map +1 -1
- package/build/components/Calendar/__tests__/__snapshots__/Calendar.test.jsx.snap +18348 -18226
- package/build/components/Form/Form.js +1 -2
- package/build/components/Form/Form.js.map +1 -1
- package/build/components/Form/__tests__/__snapshots__/Form.test.jsx.snap +9 -15
- package/build/components/InputDate/InputDate.js +1 -2
- package/build/components/InputDate/InputDate.js.map +1 -1
- package/build/components/InputDate/__tests__/__snapshots__/InputDate.test.js.snap +42 -67
- package/build/components/InputNumber/InputNumber.js +5 -4
- package/build/components/InputNumber/InputNumber.js.map +1 -1
- package/build/components/InputNumber/__tests__/__snapshots__/InputNumber.test.js.snap +195 -240
- package/build/components/InputOption/InputOption.js +3 -3
- package/build/components/InputOption/InputOption.js.map +1 -1
- package/build/components/InputOption/__tests__/__snapshots__/InputOption.test.js.snap +80 -100
- package/build/components/InputPhone/InputPhone.js +10 -5
- package/build/components/InputPhone/InputPhone.js.map +1 -1
- package/build/components/InputPhone/__tests__/__snapshots__/InputPhone.test.js.snap +339 -421
- package/build/components/InputSelect/InputSelect.js +4 -2
- package/build/components/InputSelect/InputSelect.js.map +1 -1
- package/build/components/InputSelect/__tests__/__snapshots__/InputSelect.test.js.snap +115 -115
- package/build/components/InputText/InputText.js +4 -3
- package/build/components/InputText/InputText.js.map +1 -1
- package/build/components/InputText/__tests__/__snapshots__/InputText.test.js.snap +133 -156
- package/build/components/Menu/Menu.js +1 -2
- package/build/components/Menu/Menu.js.map +1 -1
- package/build/components/Menu/__tests__/__snapshots__/Menu.test.jsx.snap +69 -77
- package/build/components/Modal/Modal.js +10 -7
- package/build/components/Modal/Modal.js.map +1 -1
- package/build/components/Modal/__tests__/__snapshots__/Modal.test.js.snap +78 -92
- package/build/components/Notification/Notification.js +1 -2
- package/build/components/Notification/Notification.js.map +1 -1
- package/build/components/Notification/__tests__/__snapshots__/Notification.test.js.snap +288 -327
- package/build/components/Progress/Progress.js +2 -3
- package/build/components/Progress/Progress.js.map +1 -1
- package/build/components/Progress/__tests__/__snapshots__/Progress.test.jsx.snap +18 -31
- package/build/components/Slider/Slider.js +8 -5
- package/build/components/Slider/Slider.js.map +1 -1
- package/build/components/Slider/Slider.module.css +3 -3
- package/build/components/Slider/__tests__/__snapshots__/Slider.test.js.snap +349 -464
- package/build/components/Table/Table.Filter.js +1 -0
- package/build/components/Table/Table.Filter.js.map +1 -1
- package/build/components/Table/Table.Row.js +0 -1
- package/build/components/Table/Table.Row.js.map +1 -1
- package/build/components/Table/Table.js +1 -2
- package/build/components/Table/Table.js.map +1 -1
- package/build/components/Table/__tests__/__snapshots__/Table.ColumnFilter.test.js.snap +222 -222
- package/build/components/Table/__tests__/__snapshots__/Table.test.js.snap +1092 -1516
- package/build/components/Tooltip/Tooltip.js +1 -2
- package/build/components/Tooltip/Tooltip.js.map +1 -1
- package/build/components/Tooltip/__tests__/__snapshots__/Tooltip.test.jsx.snap +48 -48
- package/build/components/components.customElements.js +6 -0
- package/build/components/components.customElements.js.map +1 -0
- package/build/components/index.js +1 -0
- package/build/components/index.js.map +1 -1
- package/build/helpers/CustomElement.js +39 -0
- package/build/helpers/CustomElement.js.map +1 -0
- package/build/helpers/index.js +11 -0
- package/build/helpers/index.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/__tests__/__snapshots__/Checkbox.test.js.snap +20 -35
- package/build/primitives/Icon/Icon.js +1 -2
- package/build/primitives/Icon/Icon.js.map +1 -1
- package/build/primitives/Icon/__tests__/__snapshots__/Icon.test.js.snap +82 -108
- package/build/primitives/Input/Input.js +0 -1
- package/build/primitives/Input/Input.js.map +1 -1
- package/build/primitives/Layer/Layer.js +8 -5
- package/build/primitives/Layer/Layer.js.map +1 -1
- package/build/primitives/Layer/__tests__/__snapshots__/Layer.test.js.snap +58 -58
- package/build/primitives/Pressable/Pressable.js +7 -5
- package/build/primitives/Pressable/Pressable.js.map +1 -1
- package/build/primitives/Pressable/Pressable.module.css +8 -0
- package/build/primitives/Pressable/__tests__/__snapshots__/Pressable.test.js.snap +11 -11
- package/build/primitives/Primitive/Primitive.constants.js +18 -2
- package/build/primitives/Primitive/Primitive.constants.js.map +1 -1
- package/build/primitives/Primitive/Primitive.js +13 -3
- package/build/primitives/Primitive/Primitive.js.map +1 -1
- package/build/primitives/Primitive/__tests__/__snapshots__/Primitive.test.js.snap +18 -12
- package/build/primitives/Primitive/helpers/getTag.js +3 -24
- package/build/primitives/Primitive/helpers/getTag.js.map +1 -1
- package/build/primitives/Radio/Radio.js +4 -3
- package/build/primitives/Radio/Radio.js.map +1 -1
- package/build/primitives/Radio/__tests__/__snapshots__/Radio.test.js.snap +21 -39
- package/build/primitives/ScrollView/ScrollView.js +8 -4
- package/build/primitives/ScrollView/ScrollView.js.map +1 -1
- package/build/primitives/ScrollView/ScrollView.module.css +1 -1
- package/build/primitives/ScrollView/__tests__/__snapshots__/ScrollView.test.js.snap +20 -20
- package/build/primitives/Select/Select.js +1 -2
- package/build/primitives/Select/Select.js.map +1 -1
- package/build/primitives/Select/__tests__/__snapshots__/Select.test.js.snap +0 -35
- package/build/primitives/Switch/Switch.js +1 -2
- package/build/primitives/Switch/Switch.js.map +1 -1
- package/build/primitives/Switch/__tests__/__snapshots__/Switch.test.js.snap +40 -60
- package/build/primitives/Text/Text.js +0 -1
- package/build/primitives/Text/Text.js.map +1 -1
- package/build/primitives/Text/Text.module.css +0 -4
- package/build/primitives/Text/__tests__/__snapshots__/Text.test.js.snap +62 -62
- package/build/primitives/View/View.js +5 -3
- package/build/primitives/View/View.js.map +1 -1
- package/build/primitives/View/__tests__/__snapshots__/View.test.js.snap +10 -10
- package/build/primitives/index.js +1 -0
- package/build/primitives/index.js.map +1 -1
- package/build/primitives/primitives.customElements.js +20 -0
- package/build/primitives/primitives.customElements.js.map +1 -0
- package/package.json +1 -1
|
@@ -2,17 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`component:<InputNumber> inherit:className 1`] = `
|
|
4
4
|
<DocumentFragment>
|
|
5
|
-
<
|
|
5
|
+
<ui-input-number
|
|
6
6
|
class="view row inputNumber mirai"
|
|
7
7
|
>
|
|
8
|
-
<
|
|
8
|
+
<ui-view
|
|
9
9
|
class="view texts"
|
|
10
10
|
/>
|
|
11
|
-
<button
|
|
11
|
+
<ui-button
|
|
12
12
|
class="pressable disabled button small rounded squared disabled"
|
|
13
|
-
|
|
13
|
+
data-testid="button-min"
|
|
14
|
+
disabled="true"
|
|
14
15
|
>
|
|
15
|
-
<
|
|
16
|
+
<ui-icon
|
|
16
17
|
class="icon headline-3"
|
|
17
18
|
>
|
|
18
19
|
<svg
|
|
@@ -32,18 +33,19 @@ exports[`component:<InputNumber> inherit:className 1`] = `
|
|
|
32
33
|
d="M19 13H5v-2h14v2z"
|
|
33
34
|
/>
|
|
34
35
|
</svg>
|
|
35
|
-
</
|
|
36
|
-
</button>
|
|
37
|
-
<
|
|
36
|
+
</ui-icon>
|
|
37
|
+
</ui-button>
|
|
38
|
+
<ui-text
|
|
38
39
|
class="text paragraph value"
|
|
39
40
|
>
|
|
40
41
|
0
|
|
41
|
-
</
|
|
42
|
-
<button
|
|
42
|
+
</ui-text>
|
|
43
|
+
<ui-button
|
|
43
44
|
class="pressable button small rounded squared secondary"
|
|
45
|
+
data-testid="button-max"
|
|
44
46
|
tabindex="0"
|
|
45
47
|
>
|
|
46
|
-
<
|
|
48
|
+
<ui-icon
|
|
47
49
|
class="icon headline-3"
|
|
48
50
|
>
|
|
49
51
|
<svg
|
|
@@ -63,25 +65,26 @@ exports[`component:<InputNumber> inherit:className 1`] = `
|
|
|
63
65
|
d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
|
|
64
66
|
/>
|
|
65
67
|
</svg>
|
|
66
|
-
</
|
|
67
|
-
</button>
|
|
68
|
-
</
|
|
68
|
+
</ui-icon>
|
|
69
|
+
</ui-button>
|
|
70
|
+
</ui-input-number>
|
|
69
71
|
</DocumentFragment>
|
|
70
72
|
`;
|
|
71
73
|
|
|
72
74
|
exports[`component:<InputNumber> prop:disabled 1`] = `
|
|
73
75
|
<DocumentFragment>
|
|
74
|
-
<
|
|
76
|
+
<ui-input-number
|
|
75
77
|
class="view row inputNumber"
|
|
76
78
|
>
|
|
77
|
-
<
|
|
79
|
+
<ui-view
|
|
78
80
|
class="view texts"
|
|
79
81
|
/>
|
|
80
|
-
<button
|
|
82
|
+
<ui-button
|
|
81
83
|
class="pressable disabled button small rounded squared disabled"
|
|
82
|
-
|
|
84
|
+
data-testid="button-min"
|
|
85
|
+
disabled="true"
|
|
83
86
|
>
|
|
84
|
-
<
|
|
87
|
+
<ui-icon
|
|
85
88
|
class="icon headline-3"
|
|
86
89
|
>
|
|
87
90
|
<svg
|
|
@@ -101,18 +104,19 @@ exports[`component:<InputNumber> prop:disabled 1`] = `
|
|
|
101
104
|
d="M19 13H5v-2h14v2z"
|
|
102
105
|
/>
|
|
103
106
|
</svg>
|
|
104
|
-
</
|
|
105
|
-
</button>
|
|
106
|
-
<
|
|
107
|
+
</ui-icon>
|
|
108
|
+
</ui-button>
|
|
109
|
+
<ui-text
|
|
107
110
|
class="text paragraph value disabled"
|
|
108
111
|
>
|
|
109
112
|
0
|
|
110
|
-
</
|
|
111
|
-
<button
|
|
113
|
+
</ui-text>
|
|
114
|
+
<ui-button
|
|
112
115
|
class="pressable disabled button small rounded squared disabled"
|
|
113
|
-
|
|
116
|
+
data-testid="button-max"
|
|
117
|
+
disabled="true"
|
|
114
118
|
>
|
|
115
|
-
<
|
|
119
|
+
<ui-icon
|
|
116
120
|
class="icon headline-3"
|
|
117
121
|
>
|
|
118
122
|
<svg
|
|
@@ -132,31 +136,32 @@ exports[`component:<InputNumber> prop:disabled 1`] = `
|
|
|
132
136
|
d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
|
|
133
137
|
/>
|
|
134
138
|
</svg>
|
|
135
|
-
</
|
|
136
|
-
</button>
|
|
137
|
-
</
|
|
139
|
+
</ui-icon>
|
|
140
|
+
</ui-button>
|
|
141
|
+
</ui-input-number>
|
|
138
142
|
</DocumentFragment>
|
|
139
143
|
`;
|
|
140
144
|
|
|
141
145
|
exports[`component:<InputNumber> prop:hint 1`] = `
|
|
142
146
|
<DocumentFragment>
|
|
143
|
-
<
|
|
147
|
+
<ui-input-number
|
|
144
148
|
class="view row inputNumber"
|
|
145
149
|
>
|
|
146
|
-
<
|
|
150
|
+
<ui-view
|
|
147
151
|
class="view texts"
|
|
148
152
|
>
|
|
149
|
-
<
|
|
153
|
+
<ui-text
|
|
150
154
|
class="text small text hint hint"
|
|
151
155
|
>
|
|
152
156
|
hint
|
|
153
|
-
</
|
|
154
|
-
</
|
|
155
|
-
<button
|
|
157
|
+
</ui-text>
|
|
158
|
+
</ui-view>
|
|
159
|
+
<ui-button
|
|
156
160
|
class="pressable disabled button small rounded squared disabled"
|
|
157
|
-
|
|
161
|
+
data-testid="button-min"
|
|
162
|
+
disabled="true"
|
|
158
163
|
>
|
|
159
|
-
<
|
|
164
|
+
<ui-icon
|
|
160
165
|
class="icon headline-3"
|
|
161
166
|
>
|
|
162
167
|
<svg
|
|
@@ -176,18 +181,19 @@ exports[`component:<InputNumber> prop:hint 1`] = `
|
|
|
176
181
|
d="M19 13H5v-2h14v2z"
|
|
177
182
|
/>
|
|
178
183
|
</svg>
|
|
179
|
-
</
|
|
180
|
-
</button>
|
|
181
|
-
<
|
|
184
|
+
</ui-icon>
|
|
185
|
+
</ui-button>
|
|
186
|
+
<ui-text
|
|
182
187
|
class="text paragraph value"
|
|
183
188
|
>
|
|
184
189
|
0
|
|
185
|
-
</
|
|
186
|
-
<button
|
|
190
|
+
</ui-text>
|
|
191
|
+
<ui-button
|
|
187
192
|
class="pressable button small rounded squared secondary"
|
|
193
|
+
data-testid="button-max"
|
|
188
194
|
tabindex="0"
|
|
189
195
|
>
|
|
190
|
-
<
|
|
196
|
+
<ui-icon
|
|
191
197
|
class="icon headline-3"
|
|
192
198
|
>
|
|
193
199
|
<svg
|
|
@@ -207,31 +213,32 @@ exports[`component:<InputNumber> prop:hint 1`] = `
|
|
|
207
213
|
d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
|
|
208
214
|
/>
|
|
209
215
|
</svg>
|
|
210
|
-
</
|
|
211
|
-
</button>
|
|
212
|
-
</
|
|
216
|
+
</ui-icon>
|
|
217
|
+
</ui-button>
|
|
218
|
+
</ui-input-number>
|
|
213
219
|
</DocumentFragment>
|
|
214
220
|
`;
|
|
215
221
|
|
|
216
222
|
exports[`component:<InputNumber> prop:label 1`] = `
|
|
217
223
|
<DocumentFragment>
|
|
218
|
-
<
|
|
224
|
+
<ui-input-number
|
|
219
225
|
class="view row inputNumber"
|
|
220
226
|
>
|
|
221
|
-
<
|
|
227
|
+
<ui-view
|
|
222
228
|
class="view texts"
|
|
223
229
|
>
|
|
224
|
-
<label
|
|
230
|
+
<ui-label
|
|
225
231
|
class="text paragraph text label"
|
|
226
232
|
>
|
|
227
233
|
label
|
|
228
|
-
</label>
|
|
229
|
-
</
|
|
230
|
-
<button
|
|
234
|
+
</ui-label>
|
|
235
|
+
</ui-view>
|
|
236
|
+
<ui-button
|
|
231
237
|
class="pressable disabled button small rounded squared disabled"
|
|
232
|
-
|
|
238
|
+
data-testid="button-min"
|
|
239
|
+
disabled="true"
|
|
233
240
|
>
|
|
234
|
-
<
|
|
241
|
+
<ui-icon
|
|
235
242
|
class="icon headline-3"
|
|
236
243
|
>
|
|
237
244
|
<svg
|
|
@@ -251,18 +258,19 @@ exports[`component:<InputNumber> prop:label 1`] = `
|
|
|
251
258
|
d="M19 13H5v-2h14v2z"
|
|
252
259
|
/>
|
|
253
260
|
</svg>
|
|
254
|
-
</
|
|
255
|
-
</button>
|
|
256
|
-
<
|
|
261
|
+
</ui-icon>
|
|
262
|
+
</ui-button>
|
|
263
|
+
<ui-text
|
|
257
264
|
class="text paragraph value"
|
|
258
265
|
>
|
|
259
266
|
0
|
|
260
|
-
</
|
|
261
|
-
<button
|
|
267
|
+
</ui-text>
|
|
268
|
+
<ui-button
|
|
262
269
|
class="pressable button small rounded squared secondary"
|
|
270
|
+
data-testid="button-max"
|
|
263
271
|
tabindex="0"
|
|
264
272
|
>
|
|
265
|
-
<
|
|
273
|
+
<ui-icon
|
|
266
274
|
class="icon headline-3"
|
|
267
275
|
>
|
|
268
276
|
<svg
|
|
@@ -282,25 +290,26 @@ exports[`component:<InputNumber> prop:label 1`] = `
|
|
|
282
290
|
d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
|
|
283
291
|
/>
|
|
284
292
|
</svg>
|
|
285
|
-
</
|
|
286
|
-
</button>
|
|
287
|
-
</
|
|
293
|
+
</ui-icon>
|
|
294
|
+
</ui-button>
|
|
295
|
+
</ui-input-number>
|
|
288
296
|
</DocumentFragment>
|
|
289
297
|
`;
|
|
290
298
|
|
|
291
299
|
exports[`component:<InputNumber> prop:max 1`] = `
|
|
292
300
|
<DocumentFragment>
|
|
293
|
-
<
|
|
301
|
+
<ui-input-number
|
|
294
302
|
class="view row inputNumber"
|
|
295
303
|
>
|
|
296
|
-
<
|
|
304
|
+
<ui-view
|
|
297
305
|
class="view texts"
|
|
298
306
|
/>
|
|
299
|
-
<button
|
|
307
|
+
<ui-button
|
|
300
308
|
class="pressable button small rounded squared secondary"
|
|
309
|
+
data-testid="button-min"
|
|
301
310
|
tabindex="0"
|
|
302
311
|
>
|
|
303
|
-
<
|
|
312
|
+
<ui-icon
|
|
304
313
|
class="icon headline-3"
|
|
305
314
|
>
|
|
306
315
|
<svg
|
|
@@ -320,18 +329,19 @@ exports[`component:<InputNumber> prop:max 1`] = `
|
|
|
320
329
|
d="M19 13H5v-2h14v2z"
|
|
321
330
|
/>
|
|
322
331
|
</svg>
|
|
323
|
-
</
|
|
324
|
-
</button>
|
|
325
|
-
<
|
|
332
|
+
</ui-icon>
|
|
333
|
+
</ui-button>
|
|
334
|
+
<ui-text
|
|
326
335
|
class="text paragraph value"
|
|
327
336
|
>
|
|
328
337
|
10
|
|
329
|
-
</
|
|
330
|
-
<button
|
|
338
|
+
</ui-text>
|
|
339
|
+
<ui-button
|
|
331
340
|
class="pressable disabled button small rounded squared disabled"
|
|
332
|
-
|
|
341
|
+
data-testid="button-max"
|
|
342
|
+
disabled="true"
|
|
333
343
|
>
|
|
334
|
-
<
|
|
344
|
+
<ui-icon
|
|
335
345
|
class="icon headline-3"
|
|
336
346
|
>
|
|
337
347
|
<svg
|
|
@@ -351,25 +361,26 @@ exports[`component:<InputNumber> prop:max 1`] = `
|
|
|
351
361
|
d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
|
|
352
362
|
/>
|
|
353
363
|
</svg>
|
|
354
|
-
</
|
|
355
|
-
</button>
|
|
356
|
-
</
|
|
364
|
+
</ui-icon>
|
|
365
|
+
</ui-button>
|
|
366
|
+
</ui-input-number>
|
|
357
367
|
</DocumentFragment>
|
|
358
368
|
`;
|
|
359
369
|
|
|
360
370
|
exports[`component:<InputNumber> prop:min 1`] = `
|
|
361
371
|
<DocumentFragment>
|
|
362
|
-
<
|
|
372
|
+
<ui-input-number
|
|
363
373
|
class="view row inputNumber"
|
|
364
374
|
>
|
|
365
|
-
<
|
|
375
|
+
<ui-view
|
|
366
376
|
class="view texts"
|
|
367
377
|
/>
|
|
368
|
-
<button
|
|
378
|
+
<ui-button
|
|
369
379
|
class="pressable disabled button small rounded squared disabled"
|
|
370
|
-
|
|
380
|
+
data-testid="button-min"
|
|
381
|
+
disabled="true"
|
|
371
382
|
>
|
|
372
|
-
<
|
|
383
|
+
<ui-icon
|
|
373
384
|
class="icon headline-3"
|
|
374
385
|
>
|
|
375
386
|
<svg
|
|
@@ -389,18 +400,19 @@ exports[`component:<InputNumber> prop:min 1`] = `
|
|
|
389
400
|
d="M19 13H5v-2h14v2z"
|
|
390
401
|
/>
|
|
391
402
|
</svg>
|
|
392
|
-
</
|
|
393
|
-
</button>
|
|
394
|
-
<
|
|
403
|
+
</ui-icon>
|
|
404
|
+
</ui-button>
|
|
405
|
+
<ui-text
|
|
395
406
|
class="text paragraph value"
|
|
396
407
|
>
|
|
397
408
|
10
|
|
398
|
-
</
|
|
399
|
-
<button
|
|
409
|
+
</ui-text>
|
|
410
|
+
<ui-button
|
|
400
411
|
class="pressable button small rounded squared secondary"
|
|
412
|
+
data-testid="button-max"
|
|
401
413
|
tabindex="0"
|
|
402
414
|
>
|
|
403
|
-
<
|
|
415
|
+
<ui-icon
|
|
404
416
|
class="icon headline-3"
|
|
405
417
|
>
|
|
406
418
|
<svg
|
|
@@ -420,25 +432,26 @@ exports[`component:<InputNumber> prop:min 1`] = `
|
|
|
420
432
|
d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
|
|
421
433
|
/>
|
|
422
434
|
</svg>
|
|
423
|
-
</
|
|
424
|
-
</button>
|
|
425
|
-
</
|
|
435
|
+
</ui-icon>
|
|
436
|
+
</ui-button>
|
|
437
|
+
</ui-input-number>
|
|
426
438
|
</DocumentFragment>
|
|
427
439
|
`;
|
|
428
440
|
|
|
429
441
|
exports[`component:<InputNumber> prop:required & prop:showRequired (true) 1`] = `
|
|
430
442
|
<DocumentFragment>
|
|
431
|
-
<
|
|
443
|
+
<ui-input-number
|
|
432
444
|
class="view row inputNumber"
|
|
433
445
|
>
|
|
434
|
-
<
|
|
446
|
+
<ui-view
|
|
435
447
|
class="view texts"
|
|
436
448
|
/>
|
|
437
|
-
<button
|
|
449
|
+
<ui-button
|
|
438
450
|
class="pressable button small rounded squared secondary"
|
|
451
|
+
data-testid="button-min"
|
|
439
452
|
tabindex="0"
|
|
440
453
|
>
|
|
441
|
-
<
|
|
454
|
+
<ui-icon
|
|
442
455
|
class="icon headline-3"
|
|
443
456
|
>
|
|
444
457
|
<svg
|
|
@@ -458,18 +471,19 @@ exports[`component:<InputNumber> prop:required & prop:showRequired (true) 1`] =
|
|
|
458
471
|
d="M19 13H5v-2h14v2z"
|
|
459
472
|
/>
|
|
460
473
|
</svg>
|
|
461
|
-
</
|
|
462
|
-
</button>
|
|
463
|
-
<
|
|
474
|
+
</ui-icon>
|
|
475
|
+
</ui-button>
|
|
476
|
+
<ui-text
|
|
464
477
|
class="text paragraph value"
|
|
465
478
|
>
|
|
466
479
|
10
|
|
467
|
-
</
|
|
468
|
-
<button
|
|
480
|
+
</ui-text>
|
|
481
|
+
<ui-button
|
|
469
482
|
class="pressable button small rounded squared secondary"
|
|
483
|
+
data-testid="button-max"
|
|
470
484
|
tabindex="0"
|
|
471
485
|
>
|
|
472
|
-
<
|
|
486
|
+
<ui-icon
|
|
473
487
|
class="icon headline-3"
|
|
474
488
|
>
|
|
475
489
|
<svg
|
|
@@ -489,25 +503,26 @@ exports[`component:<InputNumber> prop:required & prop:showRequired (true) 1`] =
|
|
|
489
503
|
d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
|
|
490
504
|
/>
|
|
491
505
|
</svg>
|
|
492
|
-
</
|
|
493
|
-
</button>
|
|
494
|
-
</
|
|
506
|
+
</ui-icon>
|
|
507
|
+
</ui-button>
|
|
508
|
+
</ui-input-number>
|
|
495
509
|
</DocumentFragment>
|
|
496
510
|
`;
|
|
497
511
|
|
|
498
512
|
exports[`component:<InputNumber> prop:required 1`] = `
|
|
499
513
|
<DocumentFragment>
|
|
500
|
-
<
|
|
514
|
+
<ui-input-number
|
|
501
515
|
class="view row inputNumber"
|
|
502
516
|
>
|
|
503
|
-
<
|
|
517
|
+
<ui-view
|
|
504
518
|
class="view texts"
|
|
505
519
|
/>
|
|
506
|
-
<button
|
|
520
|
+
<ui-button
|
|
507
521
|
class="pressable button small rounded squared secondary"
|
|
522
|
+
data-testid="button-min"
|
|
508
523
|
tabindex="0"
|
|
509
524
|
>
|
|
510
|
-
<
|
|
525
|
+
<ui-icon
|
|
511
526
|
class="icon headline-3"
|
|
512
527
|
>
|
|
513
528
|
<svg
|
|
@@ -527,18 +542,19 @@ exports[`component:<InputNumber> prop:required 1`] = `
|
|
|
527
542
|
d="M19 13H5v-2h14v2z"
|
|
528
543
|
/>
|
|
529
544
|
</svg>
|
|
530
|
-
</
|
|
531
|
-
</button>
|
|
532
|
-
<
|
|
545
|
+
</ui-icon>
|
|
546
|
+
</ui-button>
|
|
547
|
+
<ui-text
|
|
533
548
|
class="text paragraph value"
|
|
534
549
|
>
|
|
535
550
|
10
|
|
536
|
-
</
|
|
537
|
-
<button
|
|
551
|
+
</ui-text>
|
|
552
|
+
<ui-button
|
|
538
553
|
class="pressable button small rounded squared secondary"
|
|
554
|
+
data-testid="button-max"
|
|
539
555
|
tabindex="0"
|
|
540
556
|
>
|
|
541
|
-
<
|
|
557
|
+
<ui-icon
|
|
542
558
|
class="icon headline-3"
|
|
543
559
|
>
|
|
544
560
|
<svg
|
|
@@ -558,25 +574,26 @@ exports[`component:<InputNumber> prop:required 1`] = `
|
|
|
558
574
|
d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
|
|
559
575
|
/>
|
|
560
576
|
</svg>
|
|
561
|
-
</
|
|
562
|
-
</button>
|
|
563
|
-
</
|
|
577
|
+
</ui-icon>
|
|
578
|
+
</ui-button>
|
|
579
|
+
</ui-input-number>
|
|
564
580
|
</DocumentFragment>
|
|
565
581
|
`;
|
|
566
582
|
|
|
567
583
|
exports[`component:<InputNumber> prop:rounded 1`] = `
|
|
568
584
|
<DocumentFragment>
|
|
569
|
-
<
|
|
585
|
+
<ui-input-number
|
|
570
586
|
class="view row inputNumber"
|
|
571
587
|
>
|
|
572
|
-
<
|
|
588
|
+
<ui-view
|
|
573
589
|
class="view texts"
|
|
574
590
|
/>
|
|
575
|
-
<button
|
|
591
|
+
<ui-button
|
|
576
592
|
class="pressable button small rounded squared secondary"
|
|
593
|
+
data-testid="button-min"
|
|
577
594
|
tabindex="0"
|
|
578
595
|
>
|
|
579
|
-
<
|
|
596
|
+
<ui-icon
|
|
580
597
|
class="icon headline-3"
|
|
581
598
|
>
|
|
582
599
|
<svg
|
|
@@ -596,18 +613,19 @@ exports[`component:<InputNumber> prop:rounded 1`] = `
|
|
|
596
613
|
d="M19 13H5v-2h14v2z"
|
|
597
614
|
/>
|
|
598
615
|
</svg>
|
|
599
|
-
</
|
|
600
|
-
</button>
|
|
601
|
-
<
|
|
616
|
+
</ui-icon>
|
|
617
|
+
</ui-button>
|
|
618
|
+
<ui-text
|
|
602
619
|
class="text paragraph value"
|
|
603
620
|
>
|
|
604
621
|
10
|
|
605
|
-
</
|
|
606
|
-
<button
|
|
622
|
+
</ui-text>
|
|
623
|
+
<ui-button
|
|
607
624
|
class="pressable button small rounded squared secondary"
|
|
625
|
+
data-testid="button-max"
|
|
608
626
|
tabindex="0"
|
|
609
627
|
>
|
|
610
|
-
<
|
|
628
|
+
<ui-icon
|
|
611
629
|
class="icon headline-3"
|
|
612
630
|
>
|
|
613
631
|
<svg
|
|
@@ -627,25 +645,26 @@ exports[`component:<InputNumber> prop:rounded 1`] = `
|
|
|
627
645
|
d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
|
|
628
646
|
/>
|
|
629
647
|
</svg>
|
|
630
|
-
</
|
|
631
|
-
</button>
|
|
632
|
-
</
|
|
648
|
+
</ui-icon>
|
|
649
|
+
</ui-button>
|
|
650
|
+
</ui-input-number>
|
|
633
651
|
</DocumentFragment>
|
|
634
652
|
`;
|
|
635
653
|
|
|
636
654
|
exports[`component:<InputNumber> prop:value 1`] = `
|
|
637
655
|
<DocumentFragment>
|
|
638
|
-
<
|
|
656
|
+
<ui-input-number
|
|
639
657
|
class="view row inputNumber"
|
|
640
658
|
>
|
|
641
|
-
<
|
|
659
|
+
<ui-view
|
|
642
660
|
class="view texts"
|
|
643
661
|
/>
|
|
644
|
-
<button
|
|
662
|
+
<ui-button
|
|
645
663
|
class="pressable button small rounded squared secondary"
|
|
664
|
+
data-testid="button-min"
|
|
646
665
|
tabindex="0"
|
|
647
666
|
>
|
|
648
|
-
<
|
|
667
|
+
<ui-icon
|
|
649
668
|
class="icon headline-3"
|
|
650
669
|
>
|
|
651
670
|
<svg
|
|
@@ -665,18 +684,19 @@ exports[`component:<InputNumber> prop:value 1`] = `
|
|
|
665
684
|
d="M19 13H5v-2h14v2z"
|
|
666
685
|
/>
|
|
667
686
|
</svg>
|
|
668
|
-
</
|
|
669
|
-
</button>
|
|
670
|
-
<
|
|
687
|
+
</ui-icon>
|
|
688
|
+
</ui-button>
|
|
689
|
+
<ui-text
|
|
671
690
|
class="text paragraph value"
|
|
672
691
|
>
|
|
673
692
|
10
|
|
674
|
-
</
|
|
675
|
-
<button
|
|
693
|
+
</ui-text>
|
|
694
|
+
<ui-button
|
|
676
695
|
class="pressable button small rounded squared secondary"
|
|
696
|
+
data-testid="button-max"
|
|
677
697
|
tabindex="0"
|
|
678
698
|
>
|
|
679
|
-
<
|
|
699
|
+
<ui-icon
|
|
680
700
|
class="icon headline-3"
|
|
681
701
|
>
|
|
682
702
|
<svg
|
|
@@ -696,25 +716,26 @@ exports[`component:<InputNumber> prop:value 1`] = `
|
|
|
696
716
|
d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
|
|
697
717
|
/>
|
|
698
718
|
</svg>
|
|
699
|
-
</
|
|
700
|
-
</button>
|
|
701
|
-
</
|
|
719
|
+
</ui-icon>
|
|
720
|
+
</ui-button>
|
|
721
|
+
</ui-input-number>
|
|
702
722
|
</DocumentFragment>
|
|
703
723
|
`;
|
|
704
724
|
|
|
705
725
|
exports[`component:<InputNumber> renders 1`] = `
|
|
706
726
|
<DocumentFragment>
|
|
707
|
-
<
|
|
727
|
+
<ui-input-number
|
|
708
728
|
class="view row inputNumber"
|
|
709
729
|
>
|
|
710
|
-
<
|
|
730
|
+
<ui-view
|
|
711
731
|
class="view texts"
|
|
712
732
|
/>
|
|
713
|
-
<button
|
|
733
|
+
<ui-button
|
|
714
734
|
class="pressable disabled button small rounded squared disabled"
|
|
715
|
-
|
|
735
|
+
data-testid="button-min"
|
|
736
|
+
disabled="true"
|
|
716
737
|
>
|
|
717
|
-
<
|
|
738
|
+
<ui-icon
|
|
718
739
|
class="icon headline-3"
|
|
719
740
|
>
|
|
720
741
|
<svg
|
|
@@ -734,18 +755,19 @@ exports[`component:<InputNumber> renders 1`] = `
|
|
|
734
755
|
d="M19 13H5v-2h14v2z"
|
|
735
756
|
/>
|
|
736
757
|
</svg>
|
|
737
|
-
</
|
|
738
|
-
</button>
|
|
739
|
-
<
|
|
758
|
+
</ui-icon>
|
|
759
|
+
</ui-button>
|
|
760
|
+
<ui-text
|
|
740
761
|
class="text paragraph value"
|
|
741
762
|
>
|
|
742
763
|
0
|
|
743
|
-
</
|
|
744
|
-
<button
|
|
764
|
+
</ui-text>
|
|
765
|
+
<ui-button
|
|
745
766
|
class="pressable button small rounded squared secondary"
|
|
767
|
+
data-testid="button-max"
|
|
746
768
|
tabindex="0"
|
|
747
769
|
>
|
|
748
|
-
<
|
|
770
|
+
<ui-icon
|
|
749
771
|
class="icon headline-3"
|
|
750
772
|
>
|
|
751
773
|
<svg
|
|
@@ -765,95 +787,27 @@ exports[`component:<InputNumber> renders 1`] = `
|
|
|
765
787
|
d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
|
|
766
788
|
/>
|
|
767
789
|
</svg>
|
|
768
|
-
</
|
|
769
|
-
</button>
|
|
770
|
-
</
|
|
771
|
-
</DocumentFragment>
|
|
772
|
-
`;
|
|
773
|
-
|
|
774
|
-
exports[`component:<InputNumber> tag 1`] = `
|
|
775
|
-
<DocumentFragment>
|
|
776
|
-
<ui_tag
|
|
777
|
-
class="view row inputNumber"
|
|
778
|
-
>
|
|
779
|
-
<ui_view
|
|
780
|
-
class="view texts"
|
|
781
|
-
/>
|
|
782
|
-
<button
|
|
783
|
-
class="pressable disabled button small rounded squared disabled"
|
|
784
|
-
disabled=""
|
|
785
|
-
>
|
|
786
|
-
<ui_icon
|
|
787
|
-
class="icon headline-3"
|
|
788
|
-
>
|
|
789
|
-
<svg
|
|
790
|
-
fill="currentColor"
|
|
791
|
-
height="1em"
|
|
792
|
-
stroke="currentColor"
|
|
793
|
-
stroke-width="0"
|
|
794
|
-
viewBox="0 0 24 24"
|
|
795
|
-
width="1em"
|
|
796
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
797
|
-
>
|
|
798
|
-
<path
|
|
799
|
-
d="M0 0h24v24H0V0z"
|
|
800
|
-
fill="none"
|
|
801
|
-
/>
|
|
802
|
-
<path
|
|
803
|
-
d="M19 13H5v-2h14v2z"
|
|
804
|
-
/>
|
|
805
|
-
</svg>
|
|
806
|
-
</ui_icon>
|
|
807
|
-
</button>
|
|
808
|
-
<ui_text
|
|
809
|
-
class="text paragraph value"
|
|
810
|
-
>
|
|
811
|
-
0
|
|
812
|
-
</ui_text>
|
|
813
|
-
<button
|
|
814
|
-
class="pressable button small rounded squared secondary"
|
|
815
|
-
tabindex="0"
|
|
816
|
-
>
|
|
817
|
-
<ui_icon
|
|
818
|
-
class="icon headline-3"
|
|
819
|
-
>
|
|
820
|
-
<svg
|
|
821
|
-
fill="currentColor"
|
|
822
|
-
height="1em"
|
|
823
|
-
stroke="currentColor"
|
|
824
|
-
stroke-width="0"
|
|
825
|
-
viewBox="0 0 24 24"
|
|
826
|
-
width="1em"
|
|
827
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
828
|
-
>
|
|
829
|
-
<path
|
|
830
|
-
d="M0 0h24v24H0V0z"
|
|
831
|
-
fill="none"
|
|
832
|
-
/>
|
|
833
|
-
<path
|
|
834
|
-
d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
|
|
835
|
-
/>
|
|
836
|
-
</svg>
|
|
837
|
-
</ui_icon>
|
|
838
|
-
</button>
|
|
839
|
-
</ui_tag>
|
|
790
|
+
</ui-icon>
|
|
791
|
+
</ui-button>
|
|
792
|
+
</ui-input-number>
|
|
840
793
|
</DocumentFragment>
|
|
841
794
|
`;
|
|
842
795
|
|
|
843
796
|
exports[`component:<InputNumber> testId 1`] = `
|
|
844
797
|
<DocumentFragment>
|
|
845
|
-
<
|
|
798
|
+
<ui-input-number
|
|
846
799
|
class="view row inputNumber"
|
|
847
800
|
data-testid="mirai"
|
|
848
801
|
>
|
|
849
|
-
<
|
|
802
|
+
<ui-view
|
|
850
803
|
class="view texts"
|
|
851
804
|
/>
|
|
852
|
-
<button
|
|
805
|
+
<ui-button
|
|
853
806
|
class="pressable disabled button small rounded squared disabled"
|
|
854
|
-
|
|
807
|
+
data-testid="button-min"
|
|
808
|
+
disabled="true"
|
|
855
809
|
>
|
|
856
|
-
<
|
|
810
|
+
<ui-icon
|
|
857
811
|
class="icon headline-3"
|
|
858
812
|
>
|
|
859
813
|
<svg
|
|
@@ -873,18 +827,19 @@ exports[`component:<InputNumber> testId 1`] = `
|
|
|
873
827
|
d="M19 13H5v-2h14v2z"
|
|
874
828
|
/>
|
|
875
829
|
</svg>
|
|
876
|
-
</
|
|
877
|
-
</button>
|
|
878
|
-
<
|
|
830
|
+
</ui-icon>
|
|
831
|
+
</ui-button>
|
|
832
|
+
<ui-text
|
|
879
833
|
class="text paragraph value"
|
|
880
834
|
>
|
|
881
835
|
0
|
|
882
|
-
</
|
|
883
|
-
<button
|
|
836
|
+
</ui-text>
|
|
837
|
+
<ui-button
|
|
884
838
|
class="pressable button small rounded squared secondary"
|
|
839
|
+
data-testid="button-max"
|
|
885
840
|
tabindex="0"
|
|
886
841
|
>
|
|
887
|
-
<
|
|
842
|
+
<ui-icon
|
|
888
843
|
class="icon headline-3"
|
|
889
844
|
>
|
|
890
845
|
<svg
|
|
@@ -904,8 +859,8 @@ exports[`component:<InputNumber> testId 1`] = `
|
|
|
904
859
|
d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
|
|
905
860
|
/>
|
|
906
861
|
</svg>
|
|
907
|
-
</
|
|
908
|
-
</button>
|
|
909
|
-
</
|
|
862
|
+
</ui-icon>
|
|
863
|
+
</ui-button>
|
|
864
|
+
</ui-input-number>
|
|
910
865
|
</DocumentFragment>
|
|
911
866
|
`;
|