@mirai/ui 1.1.16 → 2.0.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.
Files changed (105) hide show
  1. package/build/components/Action/Action.js +2 -5
  2. package/build/components/Action/Action.js.map +1 -1
  3. package/build/components/Action/Action.stories.js +1 -1
  4. package/build/components/Action/Action.stories.js.map +1 -1
  5. package/build/components/Action/__tests__/__snapshots__/Action.test.js.snap +42 -30
  6. package/build/components/Button/Button.js +4 -6
  7. package/build/components/Button/Button.js.map +1 -1
  8. package/build/components/Button/__tests__/__snapshots__/Button.test.js.snap +38 -27
  9. package/build/components/Calendar/Calendar.js +1 -1
  10. package/build/components/Calendar/Calendar.js.map +1 -1
  11. package/build/components/Calendar/Calendar.module.css +5 -5
  12. package/build/components/Calendar/__tests__/__snapshots__/Calendar.test.jsx.snap +15576 -15544
  13. package/build/components/Form/Form.js +2 -5
  14. package/build/components/Form/Form.js.map +1 -1
  15. package/build/components/Form/__tests__/__snapshots__/Form.test.jsx.snap +14 -12
  16. package/build/components/InputDate/InputDate.js +1 -0
  17. package/build/components/InputDate/InputDate.js.map +1 -1
  18. package/build/components/InputDate/__tests__/__snapshots__/InputDate.test.js.snap +67 -42
  19. package/build/components/InputNumber/InputNumber.js +17 -4
  20. package/build/components/InputNumber/InputNumber.js.map +1 -1
  21. package/build/components/InputNumber/__tests__/__snapshots__/InputNumber.test.js.snap +198 -114
  22. package/build/components/InputOption/InputOption.js +6 -2
  23. package/build/components/InputOption/InputOption.js.map +1 -1
  24. package/build/components/InputOption/__tests__/__snapshots__/InputOption.test.js.snap +114 -75
  25. package/build/components/InputPhone/InputPhone.js +8 -1
  26. package/build/components/InputPhone/InputPhone.js.map +1 -1
  27. package/build/components/InputPhone/InputPhone.module.css +1 -1
  28. package/build/components/InputPhone/__tests__/__snapshots__/InputPhone.test.js.snap +448 -354
  29. package/build/components/InputSelect/InputSelect.js +10 -1
  30. package/build/components/InputSelect/InputSelect.js.map +1 -1
  31. package/build/components/InputSelect/__tests__/__snapshots__/InputSelect.test.js.snap +118 -112
  32. package/build/components/InputText/InputText.js +6 -2
  33. package/build/components/InputText/InputText.js.map +1 -1
  34. package/build/components/InputText/__tests__/__snapshots__/InputText.test.js.snap +160 -130
  35. package/build/components/InputText/partials/InputText.Label.js +1 -0
  36. package/build/components/InputText/partials/InputText.Label.js.map +1 -1
  37. package/build/components/Menu/Menu.js +1 -0
  38. package/build/components/Menu/Menu.js.map +1 -1
  39. package/build/components/Menu/__tests__/__snapshots__/Menu.test.jsx.snap +76 -55
  40. package/build/components/Modal/Modal.js +20 -6
  41. package/build/components/Modal/Modal.js.map +1 -1
  42. package/build/components/Modal/__tests__/__snapshots__/Modal.test.js.snap +106 -72
  43. package/build/components/Notification/Notification.js +1 -0
  44. package/build/components/Notification/Notification.js.map +1 -1
  45. package/build/components/Notification/__tests__/__snapshots__/Notification.test.js.snap +328 -288
  46. package/build/components/Progress/Progress.js +1 -0
  47. package/build/components/Progress/Progress.js.map +1 -1
  48. package/build/components/Progress/__tests__/__snapshots__/Progress.test.jsx.snap +31 -18
  49. package/build/components/Slider/Slider.js +3 -2
  50. package/build/components/Slider/Slider.js.map +1 -1
  51. package/build/components/Slider/Slider.module.css +1 -1
  52. package/build/components/Slider/__tests__/__snapshots__/Slider.test.js.snap +475 -339
  53. package/build/components/Table/Table.js +2 -4
  54. package/build/components/Table/Table.js.map +1 -1
  55. package/build/components/Table/__tests__/__snapshots__/Table.ColumnFilter.test.js.snap +222 -192
  56. package/build/components/Table/__tests__/__snapshots__/Table.test.js.snap +878 -432
  57. package/build/components/Tooltip/Tooltip.js +3 -4
  58. package/build/components/Tooltip/Tooltip.js.map +1 -1
  59. package/build/components/Tooltip/__tests__/__snapshots__/Tooltip.test.jsx.snap +38 -28
  60. package/build/primitives/Checkbox/Checkbox.js +1 -0
  61. package/build/primitives/Checkbox/Checkbox.js.map +1 -1
  62. package/build/primitives/Checkbox/__tests__/__snapshots__/Checkbox.test.js.snap +35 -20
  63. package/build/primitives/Icon/Icon.js +1 -1
  64. package/build/primitives/Icon/Icon.js.map +1 -1
  65. package/build/primitives/Icon/__tests__/__snapshots__/Icon.test.js.snap +108 -82
  66. package/build/primitives/Layer/Layer.js +2 -1
  67. package/build/primitives/Layer/Layer.js.map +1 -1
  68. package/build/primitives/Layer/__tests__/__snapshots__/Layer.test.js.snap +60 -42
  69. package/build/primitives/Pressable/Pressable.constants.js +1 -1
  70. package/build/primitives/Pressable/Pressable.constants.js.map +1 -1
  71. package/build/primitives/Pressable/Pressable.js +7 -6
  72. package/build/primitives/Pressable/Pressable.js.map +1 -1
  73. package/build/primitives/Pressable/__tests__/__snapshots__/Pressable.test.js.snap +16 -12
  74. package/build/primitives/Primitive/Primitive.constants.js +1 -1
  75. package/build/primitives/Primitive/Primitive.constants.js.map +1 -1
  76. package/build/primitives/Primitive/Primitive.js +2 -2
  77. package/build/primitives/Primitive/Primitive.js.map +1 -1
  78. package/build/primitives/Primitive/__tests__/__snapshots__/Primitive.test.js.snap +12 -12
  79. package/build/primitives/Primitive/helpers/getTag.js +35 -0
  80. package/build/primitives/Primitive/helpers/getTag.js.map +1 -0
  81. package/build/primitives/Primitive/helpers/index.js +11 -0
  82. package/build/primitives/Primitive/helpers/index.js.map +1 -1
  83. package/build/primitives/Radio/Radio.js +1 -1
  84. package/build/primitives/Radio/Radio.js.map +1 -1
  85. package/build/primitives/Radio/__tests__/__snapshots__/Radio.test.js.snap +39 -21
  86. package/build/primitives/ScrollView/ScrollView.js +2 -5
  87. package/build/primitives/ScrollView/ScrollView.js.map +1 -1
  88. package/build/primitives/ScrollView/ScrollView.stories.js +6 -5
  89. package/build/primitives/ScrollView/ScrollView.stories.js.map +1 -1
  90. package/build/primitives/ScrollView/__tests__/__snapshots__/ScrollView.test.js.snap +24 -24
  91. package/build/primitives/Select/Select.js +7 -4
  92. package/build/primitives/Select/Select.js.map +1 -1
  93. package/build/primitives/Select/__tests__/__snapshots__/Select.test.js.snap +35 -0
  94. package/build/primitives/Switch/Switch.js +1 -1
  95. package/build/primitives/Switch/Switch.js.map +1 -1
  96. package/build/primitives/Switch/__tests__/__snapshots__/Switch.test.js.snap +60 -40
  97. package/build/primitives/Text/Text.js +4 -3
  98. package/build/primitives/Text/Text.js.map +1 -1
  99. package/build/primitives/Text/__tests__/__snapshots__/Text.test.js.snap +68 -68
  100. package/build/primitives/Text/helpers/parseMarkdown.js +3 -1
  101. package/build/primitives/Text/helpers/parseMarkdown.js.map +1 -1
  102. package/build/primitives/View/View.js +2 -5
  103. package/build/primitives/View/View.js.map +1 -1
  104. package/build/primitives/View/__tests__/__snapshots__/View.test.js.snap +15 -15
  105. package/package.json +1 -1
@@ -2,16 +2,16 @@
2
2
 
3
3
  exports[`component:<InputPhone> inherit:className 1`] = `
4
4
  <DocumentFragment>
5
- <div
6
- class="view container mirai"
5
+ <ui_input_phone
6
+ class="view inputPhone mirai"
7
7
  >
8
- <div
8
+ <ui_view
9
9
  class="view row inputBorder"
10
10
  >
11
- <div
11
+ <ui_view
12
12
  class="view row"
13
13
  >
14
- <div
14
+ <ui_view
15
15
  class="view content"
16
16
  >
17
17
  <select
@@ -34,8 +34,8 @@ exports[`component:<InputPhone> inherit:className 1`] = `
34
34
  +001
35
35
  </option>
36
36
  </select>
37
- </div>
38
- <span
37
+ </ui_view>
38
+ <ui_icon
39
39
  class="icon headline-3 icon expand"
40
40
  >
41
41
  <svg
@@ -56,15 +56,15 @@ exports[`component:<InputPhone> inherit:className 1`] = `
56
56
  d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
57
57
  />
58
58
  </svg>
59
- </span>
60
- </div>
61
- <div
59
+ </ui_icon>
60
+ </ui_view>
61
+ <ui_view
62
62
  class="view forceRow separator"
63
63
  />
64
- <div
64
+ <ui_view
65
65
  class="view row wide"
66
66
  >
67
- <div
67
+ <ui_view
68
68
  class="view wide content"
69
69
  >
70
70
  <input
@@ -74,25 +74,25 @@ exports[`component:<InputPhone> inherit:className 1`] = `
74
74
  type="tel"
75
75
  value=""
76
76
  />
77
- </div>
78
- </div>
79
- </div>
80
- </div>
77
+ </ui_view>
78
+ </ui_view>
79
+ </ui_view>
80
+ </ui_input_phone>
81
81
  </DocumentFragment>
82
82
  `;
83
83
 
84
84
  exports[`component:<InputPhone> prop:disabled 1`] = `
85
85
  <DocumentFragment>
86
- <div
87
- class="view container"
86
+ <ui_input_phone
87
+ class="view inputPhone"
88
88
  >
89
- <div
89
+ <ui_view
90
90
  class="view row inputBorder disabled"
91
91
  >
92
- <div
92
+ <ui_view
93
93
  class="view row"
94
94
  >
95
- <div
95
+ <ui_view
96
96
  class="view content"
97
97
  >
98
98
  <select
@@ -116,15 +116,15 @@ exports[`component:<InputPhone> prop:disabled 1`] = `
116
116
  +001
117
117
  </option>
118
118
  </select>
119
- </div>
120
- </div>
121
- <div
119
+ </ui_view>
120
+ </ui_view>
121
+ <ui_view
122
122
  class="view forceRow separator"
123
123
  />
124
- <div
124
+ <ui_view
125
125
  class="view row wide"
126
126
  >
127
- <div
127
+ <ui_view
128
128
  class="view wide content"
129
129
  >
130
130
  <input
@@ -135,25 +135,25 @@ exports[`component:<InputPhone> prop:disabled 1`] = `
135
135
  type="tel"
136
136
  value=""
137
137
  />
138
- </div>
139
- </div>
140
- </div>
141
- </div>
138
+ </ui_view>
139
+ </ui_view>
140
+ </ui_view>
141
+ </ui_input_phone>
142
142
  </DocumentFragment>
143
143
  `;
144
144
 
145
145
  exports[`component:<InputPhone> prop:error 1`] = `
146
146
  <DocumentFragment>
147
- <div
148
- class="view container"
147
+ <ui_input_phone
148
+ class="view inputPhone"
149
149
  >
150
- <div
150
+ <ui_view
151
151
  class="view row inputBorder error"
152
152
  >
153
- <div
153
+ <ui_view
154
154
  class="view row"
155
155
  >
156
- <div
156
+ <ui_view
157
157
  class="view content"
158
158
  >
159
159
  <select
@@ -176,8 +176,8 @@ exports[`component:<InputPhone> prop:error 1`] = `
176
176
  +001
177
177
  </option>
178
178
  </select>
179
- </div>
180
- <span
179
+ </ui_view>
180
+ <ui_icon
181
181
  class="icon headline-3 icon expand"
182
182
  >
183
183
  <svg
@@ -198,15 +198,15 @@ exports[`component:<InputPhone> prop:error 1`] = `
198
198
  d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
199
199
  />
200
200
  </svg>
201
- </span>
202
- </div>
203
- <div
201
+ </ui_icon>
202
+ </ui_view>
203
+ <ui_view
204
204
  class="view forceRow separator"
205
205
  />
206
- <div
206
+ <ui_view
207
207
  class="view row wide"
208
208
  >
209
- <div
209
+ <ui_view
210
210
  class="view wide content"
211
211
  >
212
212
  <input
@@ -216,9 +216,9 @@ exports[`component:<InputPhone> prop:error 1`] = `
216
216
  type="tel"
217
217
  value=""
218
218
  />
219
- </div>
220
- </div>
221
- <span
219
+ </ui_view>
220
+ </ui_view>
221
+ <ui_icon
222
222
  class="icon headline-3 icon error"
223
223
  >
224
224
  <svg
@@ -238,24 +238,24 @@ exports[`component:<InputPhone> prop:error 1`] = `
238
238
  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"
239
239
  />
240
240
  </svg>
241
- </span>
242
- </div>
243
- </div>
241
+ </ui_icon>
242
+ </ui_view>
243
+ </ui_input_phone>
244
244
  </DocumentFragment>
245
245
  `;
246
246
 
247
247
  exports[`component:<InputPhone> prop:hint 1`] = `
248
248
  <DocumentFragment>
249
- <div
250
- class="view container"
249
+ <ui_input_phone
250
+ class="view inputPhone"
251
251
  >
252
- <div
252
+ <ui_view
253
253
  class="view row inputBorder"
254
254
  >
255
- <div
255
+ <ui_view
256
256
  class="view row"
257
257
  >
258
- <div
258
+ <ui_view
259
259
  class="view content"
260
260
  >
261
261
  <select
@@ -278,8 +278,8 @@ exports[`component:<InputPhone> prop:hint 1`] = `
278
278
  +001
279
279
  </option>
280
280
  </select>
281
- </div>
282
- <span
281
+ </ui_view>
282
+ <ui_icon
283
283
  class="icon headline-3 icon expand"
284
284
  >
285
285
  <svg
@@ -300,15 +300,15 @@ exports[`component:<InputPhone> prop:hint 1`] = `
300
300
  d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
301
301
  />
302
302
  </svg>
303
- </span>
304
- </div>
305
- <div
303
+ </ui_icon>
304
+ </ui_view>
305
+ <ui_view
306
306
  class="view forceRow separator"
307
307
  />
308
- <div
308
+ <ui_view
309
309
  class="view row wide"
310
310
  >
311
- <div
311
+ <ui_view
312
312
  class="view wide content"
313
313
  >
314
314
  <input
@@ -318,30 +318,30 @@ exports[`component:<InputPhone> prop:hint 1`] = `
318
318
  type="tel"
319
319
  value=""
320
320
  />
321
- </div>
322
- </div>
323
- </div>
324
- <span
321
+ </ui_view>
322
+ </ui_view>
323
+ </ui_view>
324
+ <ui_text
325
325
  class="text small text hint"
326
326
  >
327
327
  hint
328
- </span>
329
- </div>
328
+ </ui_text>
329
+ </ui_input_phone>
330
330
  </DocumentFragment>
331
331
  `;
332
332
 
333
333
  exports[`component:<InputPhone> prop:icon & disabled 1`] = `
334
334
  <DocumentFragment>
335
- <div
336
- class="view container"
335
+ <ui_input_phone
336
+ class="view inputPhone"
337
337
  >
338
- <div
338
+ <ui_view
339
339
  class="view row inputBorder disabled"
340
340
  >
341
- <div
341
+ <ui_view
342
342
  class="view row"
343
343
  >
344
- <div
344
+ <ui_view
345
345
  class="view content"
346
346
  >
347
347
  <select
@@ -365,15 +365,15 @@ exports[`component:<InputPhone> prop:icon & disabled 1`] = `
365
365
  +001
366
366
  </option>
367
367
  </select>
368
- </div>
369
- </div>
370
- <div
368
+ </ui_view>
369
+ </ui_view>
370
+ <ui_view
371
371
  class="view forceRow separator"
372
372
  />
373
- <div
373
+ <ui_view
374
374
  class="view row wide"
375
375
  >
376
- <span
376
+ <ui_icon
377
377
  class="icon headline-3 icon left disabled"
378
378
  >
379
379
  <svg
@@ -393,8 +393,8 @@ exports[`component:<InputPhone> prop:icon & disabled 1`] = `
393
393
  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"
394
394
  />
395
395
  </svg>
396
- </span>
397
- <div
396
+ </ui_icon>
397
+ <ui_view
398
398
  class="view wide content"
399
399
  >
400
400
  <input
@@ -405,25 +405,25 @@ exports[`component:<InputPhone> prop:icon & disabled 1`] = `
405
405
  type="tel"
406
406
  value=""
407
407
  />
408
- </div>
409
- </div>
410
- </div>
411
- </div>
408
+ </ui_view>
409
+ </ui_view>
410
+ </ui_view>
411
+ </ui_input_phone>
412
412
  </DocumentFragment>
413
413
  `;
414
414
 
415
415
  exports[`component:<InputPhone> prop:icon & error 1`] = `
416
416
  <DocumentFragment>
417
- <div
418
- class="view container"
417
+ <ui_input_phone
418
+ class="view inputPhone"
419
419
  >
420
- <div
420
+ <ui_view
421
421
  class="view row inputBorder error"
422
422
  >
423
- <div
423
+ <ui_view
424
424
  class="view row"
425
425
  >
426
- <div
426
+ <ui_view
427
427
  class="view content"
428
428
  >
429
429
  <select
@@ -446,8 +446,8 @@ exports[`component:<InputPhone> prop:icon & error 1`] = `
446
446
  +001
447
447
  </option>
448
448
  </select>
449
- </div>
450
- <span
449
+ </ui_view>
450
+ <ui_icon
451
451
  class="icon headline-3 icon expand"
452
452
  >
453
453
  <svg
@@ -468,15 +468,15 @@ exports[`component:<InputPhone> prop:icon & error 1`] = `
468
468
  d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
469
469
  />
470
470
  </svg>
471
- </span>
472
- </div>
473
- <div
471
+ </ui_icon>
472
+ </ui_view>
473
+ <ui_view
474
474
  class="view forceRow separator"
475
475
  />
476
- <div
476
+ <ui_view
477
477
  class="view row wide"
478
478
  >
479
- <span
479
+ <ui_icon
480
480
  class="icon headline-3 icon left error"
481
481
  >
482
482
  <svg
@@ -496,8 +496,8 @@ exports[`component:<InputPhone> prop:icon & error 1`] = `
496
496
  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"
497
497
  />
498
498
  </svg>
499
- </span>
500
- <div
499
+ </ui_icon>
500
+ <ui_view
501
501
  class="view wide content"
502
502
  >
503
503
  <input
@@ -507,9 +507,9 @@ exports[`component:<InputPhone> prop:icon & error 1`] = `
507
507
  type="tel"
508
508
  value=""
509
509
  />
510
- </div>
511
- </div>
512
- <span
510
+ </ui_view>
511
+ </ui_view>
512
+ <ui_icon
513
513
  class="icon headline-3 icon error"
514
514
  >
515
515
  <svg
@@ -529,24 +529,24 @@ exports[`component:<InputPhone> prop:icon & error 1`] = `
529
529
  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"
530
530
  />
531
531
  </svg>
532
- </span>
533
- </div>
534
- </div>
532
+ </ui_icon>
533
+ </ui_view>
534
+ </ui_input_phone>
535
535
  </DocumentFragment>
536
536
  `;
537
537
 
538
538
  exports[`component:<InputPhone> prop:icon 1`] = `
539
539
  <DocumentFragment>
540
- <div
541
- class="view container"
540
+ <ui_input_phone
541
+ class="view inputPhone"
542
542
  >
543
- <div
543
+ <ui_view
544
544
  class="view row inputBorder"
545
545
  >
546
- <div
546
+ <ui_view
547
547
  class="view row"
548
548
  >
549
- <div
549
+ <ui_view
550
550
  class="view content"
551
551
  >
552
552
  <select
@@ -569,8 +569,8 @@ exports[`component:<InputPhone> prop:icon 1`] = `
569
569
  +001
570
570
  </option>
571
571
  </select>
572
- </div>
573
- <span
572
+ </ui_view>
573
+ <ui_icon
574
574
  class="icon headline-3 icon expand"
575
575
  >
576
576
  <svg
@@ -591,15 +591,15 @@ exports[`component:<InputPhone> prop:icon 1`] = `
591
591
  d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
592
592
  />
593
593
  </svg>
594
- </span>
595
- </div>
596
- <div
594
+ </ui_icon>
595
+ </ui_view>
596
+ <ui_view
597
597
  class="view forceRow separator"
598
598
  />
599
- <div
599
+ <ui_view
600
600
  class="view row wide"
601
601
  >
602
- <span
602
+ <ui_icon
603
603
  class="icon headline-3 icon left"
604
604
  >
605
605
  <svg
@@ -619,8 +619,8 @@ exports[`component:<InputPhone> prop:icon 1`] = `
619
619
  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"
620
620
  />
621
621
  </svg>
622
- </span>
623
- <div
622
+ </ui_icon>
623
+ <ui_view
624
624
  class="view wide content"
625
625
  >
626
626
  <input
@@ -630,25 +630,25 @@ exports[`component:<InputPhone> prop:icon 1`] = `
630
630
  type="tel"
631
631
  value=""
632
632
  />
633
- </div>
634
- </div>
635
- </div>
636
- </div>
633
+ </ui_view>
634
+ </ui_view>
635
+ </ui_view>
636
+ </ui_input_phone>
637
637
  </DocumentFragment>
638
638
  `;
639
639
 
640
640
  exports[`component:<InputPhone> prop:label 1`] = `
641
641
  <DocumentFragment>
642
- <div
643
- class="view container"
642
+ <ui_input_phone
643
+ class="view inputPhone"
644
644
  >
645
- <div
645
+ <ui_view
646
646
  class="view row inputBorder"
647
647
  >
648
- <div
648
+ <ui_view
649
649
  class="view row"
650
650
  >
651
- <div
651
+ <ui_view
652
652
  class="view content"
653
653
  >
654
654
  <select
@@ -671,8 +671,8 @@ exports[`component:<InputPhone> prop:label 1`] = `
671
671
  +001
672
672
  </option>
673
673
  </select>
674
- </div>
675
- <span
674
+ </ui_view>
675
+ <ui_icon
676
676
  class="icon headline-3 icon expand"
677
677
  >
678
678
  <svg
@@ -693,57 +693,61 @@ exports[`component:<InputPhone> prop:label 1`] = `
693
693
  d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
694
694
  />
695
695
  </svg>
696
- </span>
697
- </div>
698
- <div
696
+ </ui_icon>
697
+ </ui_view>
698
+ <ui_view
699
699
  class="view forceRow separator"
700
700
  />
701
- <div
701
+ <ui_view
702
702
  class="view row wide"
703
703
  >
704
- <div
704
+ <ui_view
705
705
  class="view wide content"
706
706
  >
707
- <span
707
+ <label
708
708
  class="text paragraph text label"
709
+ for="name"
709
710
  >
710
711
  label
711
- </span>
712
+ </label>
712
713
  <input
713
714
  class="input input withLabel"
715
+ id="name"
714
716
  maxlength="12"
715
717
  name="name-phone"
716
718
  type="tel"
717
719
  value=""
718
720
  />
719
- </div>
720
- </div>
721
- </div>
722
- </div>
721
+ </ui_view>
722
+ </ui_view>
723
+ </ui_view>
724
+ </ui_input_phone>
723
725
  </DocumentFragment>
724
726
  `;
725
727
 
726
728
  exports[`component:<InputPhone> prop:labelPrefix 1`] = `
727
729
  <DocumentFragment>
728
- <div
729
- class="view container"
730
+ <ui_input_phone
731
+ class="view inputPhone"
730
732
  >
731
- <div
733
+ <ui_view
732
734
  class="view row inputBorder"
733
735
  >
734
- <div
736
+ <ui_view
735
737
  class="view row"
736
738
  >
737
- <div
739
+ <ui_view
738
740
  class="view content"
739
741
  >
740
- <span
742
+ <label
741
743
  class="text paragraph text label"
744
+ for="name-prefix"
742
745
  >
743
746
  labelPrefix
744
- </span>
747
+ </label>
745
748
  <select
746
749
  class="select empty input prefix withLabel empty"
750
+ id="name-prefix"
747
751
  name="name-prefix"
748
752
  >
749
753
  <option
@@ -762,8 +766,8 @@ exports[`component:<InputPhone> prop:labelPrefix 1`] = `
762
766
  +001
763
767
  </option>
764
768
  </select>
765
- </div>
766
- <span
769
+ </ui_view>
770
+ <ui_icon
767
771
  class="icon headline-3 icon expand"
768
772
  >
769
773
  <svg
@@ -784,15 +788,15 @@ exports[`component:<InputPhone> prop:labelPrefix 1`] = `
784
788
  d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
785
789
  />
786
790
  </svg>
787
- </span>
788
- </div>
789
- <div
791
+ </ui_icon>
792
+ </ui_view>
793
+ <ui_view
790
794
  class="view forceRow separator"
791
795
  />
792
- <div
796
+ <ui_view
793
797
  class="view row wide"
794
798
  >
795
- <div
799
+ <ui_view
796
800
  class="view wide content"
797
801
  >
798
802
  <input
@@ -802,34 +806,36 @@ exports[`component:<InputPhone> prop:labelPrefix 1`] = `
802
806
  type="tel"
803
807
  value=""
804
808
  />
805
- </div>
806
- </div>
807
- </div>
808
- </div>
809
+ </ui_view>
810
+ </ui_view>
811
+ </ui_view>
812
+ </ui_input_phone>
809
813
  </DocumentFragment>
810
814
  `;
811
815
 
812
816
  exports[`component:<InputPhone> prop:required & prop:showRequired (true) 1`] = `
813
817
  <DocumentFragment>
814
- <div
815
- class="view container"
818
+ <ui_input_phone
819
+ class="view inputPhone"
816
820
  >
817
- <div
821
+ <ui_view
818
822
  class="view row inputBorder"
819
823
  >
820
- <div
824
+ <ui_view
821
825
  class="view row"
822
826
  >
823
- <div
827
+ <ui_view
824
828
  class="view content"
825
829
  >
826
- <span
830
+ <label
827
831
  class="text paragraph text label"
832
+ for="name-prefix"
828
833
  >
829
834
  labelPrefix
830
- </span>
835
+ </label>
831
836
  <select
832
837
  class="select empty input prefix withLabel empty"
838
+ id="name-prefix"
833
839
  name="name-prefix"
834
840
  required=""
835
841
  >
@@ -849,8 +855,8 @@ exports[`component:<InputPhone> prop:required & prop:showRequired (true) 1`] = `
849
855
  +001
850
856
  </option>
851
857
  </select>
852
- </div>
853
- <span
858
+ </ui_view>
859
+ <ui_icon
854
860
  class="icon headline-3 icon expand"
855
861
  >
856
862
  <svg
@@ -871,19 +877,20 @@ exports[`component:<InputPhone> prop:required & prop:showRequired (true) 1`] = `
871
877
  d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
872
878
  />
873
879
  </svg>
874
- </span>
875
- </div>
876
- <div
880
+ </ui_icon>
881
+ </ui_view>
882
+ <ui_view
877
883
  class="view forceRow separator"
878
884
  />
879
- <div
885
+ <ui_view
880
886
  class="view row wide"
881
887
  >
882
- <div
888
+ <ui_view
883
889
  class="view wide content"
884
890
  >
885
- <span
891
+ <label
886
892
  class="text paragraph text label"
893
+ for="name"
887
894
  >
888
895
  label
889
896
  <span
@@ -891,43 +898,46 @@ exports[`component:<InputPhone> prop:required & prop:showRequired (true) 1`] = `
891
898
  >
892
899
  *
893
900
  </span>
894
- </span>
901
+ </label>
895
902
  <input
896
903
  class="input input withLabel"
904
+ id="name"
897
905
  maxlength="12"
898
906
  name="name-phone"
899
907
  required=""
900
908
  type="tel"
901
909
  value=""
902
910
  />
903
- </div>
904
- </div>
905
- </div>
906
- </div>
911
+ </ui_view>
912
+ </ui_view>
913
+ </ui_view>
914
+ </ui_input_phone>
907
915
  </DocumentFragment>
908
916
  `;
909
917
 
910
918
  exports[`component:<InputPhone> prop:required 1`] = `
911
919
  <DocumentFragment>
912
- <div
913
- class="view container"
920
+ <ui_input_phone
921
+ class="view inputPhone"
914
922
  >
915
- <div
923
+ <ui_view
916
924
  class="view row inputBorder"
917
925
  >
918
- <div
926
+ <ui_view
919
927
  class="view row"
920
928
  >
921
- <div
929
+ <ui_view
922
930
  class="view content"
923
931
  >
924
- <span
932
+ <label
925
933
  class="text paragraph text label"
934
+ for="name-prefix"
926
935
  >
927
936
  labelPrefix
928
- </span>
937
+ </label>
929
938
  <select
930
939
  class="select empty input prefix withLabel empty"
940
+ id="name-prefix"
931
941
  name="name-prefix"
932
942
  required=""
933
943
  >
@@ -947,8 +957,8 @@ exports[`component:<InputPhone> prop:required 1`] = `
947
957
  +001
948
958
  </option>
949
959
  </select>
950
- </div>
951
- <span
960
+ </ui_view>
961
+ <ui_icon
952
962
  class="icon headline-3 icon expand"
953
963
  >
954
964
  <svg
@@ -969,49 +979,51 @@ exports[`component:<InputPhone> prop:required 1`] = `
969
979
  d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
970
980
  />
971
981
  </svg>
972
- </span>
973
- </div>
974
- <div
982
+ </ui_icon>
983
+ </ui_view>
984
+ <ui_view
975
985
  class="view forceRow separator"
976
986
  />
977
- <div
987
+ <ui_view
978
988
  class="view row wide"
979
989
  >
980
- <div
990
+ <ui_view
981
991
  class="view wide content"
982
992
  >
983
- <span
993
+ <label
984
994
  class="text paragraph text label"
995
+ for="name"
985
996
  >
986
997
  label
987
- </span>
998
+ </label>
988
999
  <input
989
1000
  class="input input withLabel"
1001
+ id="name"
990
1002
  maxlength="12"
991
1003
  name="name-phone"
992
1004
  required=""
993
1005
  type="tel"
994
1006
  value=""
995
1007
  />
996
- </div>
997
- </div>
998
- </div>
999
- </div>
1008
+ </ui_view>
1009
+ </ui_view>
1010
+ </ui_view>
1011
+ </ui_input_phone>
1000
1012
  </DocumentFragment>
1001
1013
  `;
1002
1014
 
1003
1015
  exports[`component:<InputPhone> prop:showState (false) & error 1`] = `
1004
1016
  <DocumentFragment>
1005
- <div
1006
- class="view container"
1017
+ <ui_input_phone
1018
+ class="view inputPhone"
1007
1019
  >
1008
- <div
1020
+ <ui_view
1009
1021
  class="view row inputBorder error"
1010
1022
  >
1011
- <div
1023
+ <ui_view
1012
1024
  class="view row"
1013
1025
  >
1014
- <div
1026
+ <ui_view
1015
1027
  class="view content"
1016
1028
  >
1017
1029
  <select
@@ -1034,8 +1046,8 @@ exports[`component:<InputPhone> prop:showState (false) & error 1`] = `
1034
1046
  +001
1035
1047
  </option>
1036
1048
  </select>
1037
- </div>
1038
- <span
1049
+ </ui_view>
1050
+ <ui_icon
1039
1051
  class="icon headline-3 icon expand"
1040
1052
  >
1041
1053
  <svg
@@ -1056,15 +1068,15 @@ exports[`component:<InputPhone> prop:showState (false) & error 1`] = `
1056
1068
  d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
1057
1069
  />
1058
1070
  </svg>
1059
- </span>
1060
- </div>
1061
- <div
1071
+ </ui_icon>
1072
+ </ui_view>
1073
+ <ui_view
1062
1074
  class="view forceRow separator"
1063
1075
  />
1064
- <div
1076
+ <ui_view
1065
1077
  class="view row wide"
1066
1078
  >
1067
- <div
1079
+ <ui_view
1068
1080
  class="view wide content"
1069
1081
  >
1070
1082
  <input
@@ -1074,9 +1086,9 @@ exports[`component:<InputPhone> prop:showState (false) & error 1`] = `
1074
1086
  type="tel"
1075
1087
  value=""
1076
1088
  />
1077
- </div>
1078
- </div>
1079
- <span
1089
+ </ui_view>
1090
+ </ui_view>
1091
+ <ui_icon
1080
1092
  class="icon headline-3 icon error"
1081
1093
  >
1082
1094
  <svg
@@ -1096,24 +1108,24 @@ exports[`component:<InputPhone> prop:showState (false) & error 1`] = `
1096
1108
  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"
1097
1109
  />
1098
1110
  </svg>
1099
- </span>
1100
- </div>
1101
- </div>
1111
+ </ui_icon>
1112
+ </ui_view>
1113
+ </ui_input_phone>
1102
1114
  </DocumentFragment>
1103
1115
  `;
1104
1116
 
1105
1117
  exports[`component:<InputPhone> prop:showState (false) & success 1`] = `
1106
1118
  <DocumentFragment>
1107
- <div
1108
- class="view container"
1119
+ <ui_input_phone
1120
+ class="view inputPhone"
1109
1121
  >
1110
- <div
1122
+ <ui_view
1111
1123
  class="view row inputBorder"
1112
1124
  >
1113
- <div
1125
+ <ui_view
1114
1126
  class="view row"
1115
1127
  >
1116
- <div
1128
+ <ui_view
1117
1129
  class="view content"
1118
1130
  >
1119
1131
  <select
@@ -1136,8 +1148,8 @@ exports[`component:<InputPhone> prop:showState (false) & success 1`] = `
1136
1148
  +001
1137
1149
  </option>
1138
1150
  </select>
1139
- </div>
1140
- <span
1151
+ </ui_view>
1152
+ <ui_icon
1141
1153
  class="icon headline-3 icon expand"
1142
1154
  >
1143
1155
  <svg
@@ -1158,15 +1170,15 @@ exports[`component:<InputPhone> prop:showState (false) & success 1`] = `
1158
1170
  d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
1159
1171
  />
1160
1172
  </svg>
1161
- </span>
1162
- </div>
1163
- <div
1173
+ </ui_icon>
1174
+ </ui_view>
1175
+ <ui_view
1164
1176
  class="view forceRow separator"
1165
1177
  />
1166
- <div
1178
+ <ui_view
1167
1179
  class="view row wide"
1168
1180
  >
1169
- <div
1181
+ <ui_view
1170
1182
  class="view wide content"
1171
1183
  >
1172
1184
  <input
@@ -1176,9 +1188,9 @@ exports[`component:<InputPhone> prop:showState (false) & success 1`] = `
1176
1188
  type="tel"
1177
1189
  value=""
1178
1190
  />
1179
- </div>
1180
- </div>
1181
- <span
1191
+ </ui_view>
1192
+ </ui_view>
1193
+ <ui_icon
1182
1194
  class="icon headline-3 icon success"
1183
1195
  >
1184
1196
  <svg
@@ -1198,24 +1210,24 @@ exports[`component:<InputPhone> prop:showState (false) & success 1`] = `
1198
1210
  d="M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
1199
1211
  />
1200
1212
  </svg>
1201
- </span>
1202
- </div>
1203
- </div>
1213
+ </ui_icon>
1214
+ </ui_view>
1215
+ </ui_input_phone>
1204
1216
  </DocumentFragment>
1205
1217
  `;
1206
1218
 
1207
1219
  exports[`component:<InputPhone> prop:showState (false) & warning 1`] = `
1208
1220
  <DocumentFragment>
1209
- <div
1210
- class="view container"
1221
+ <ui_input_phone
1222
+ class="view inputPhone"
1211
1223
  >
1212
- <div
1224
+ <ui_view
1213
1225
  class="view row inputBorder"
1214
1226
  >
1215
- <div
1227
+ <ui_view
1216
1228
  class="view row"
1217
1229
  >
1218
- <div
1230
+ <ui_view
1219
1231
  class="view content"
1220
1232
  >
1221
1233
  <select
@@ -1238,8 +1250,8 @@ exports[`component:<InputPhone> prop:showState (false) & warning 1`] = `
1238
1250
  +001
1239
1251
  </option>
1240
1252
  </select>
1241
- </div>
1242
- <span
1253
+ </ui_view>
1254
+ <ui_icon
1243
1255
  class="icon headline-3 icon expand"
1244
1256
  >
1245
1257
  <svg
@@ -1260,15 +1272,15 @@ exports[`component:<InputPhone> prop:showState (false) & warning 1`] = `
1260
1272
  d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
1261
1273
  />
1262
1274
  </svg>
1263
- </span>
1264
- </div>
1265
- <div
1275
+ </ui_icon>
1276
+ </ui_view>
1277
+ <ui_view
1266
1278
  class="view forceRow separator"
1267
1279
  />
1268
- <div
1280
+ <ui_view
1269
1281
  class="view row wide"
1270
1282
  >
1271
- <div
1283
+ <ui_view
1272
1284
  class="view wide content"
1273
1285
  >
1274
1286
  <input
@@ -1278,9 +1290,9 @@ exports[`component:<InputPhone> prop:showState (false) & warning 1`] = `
1278
1290
  type="tel"
1279
1291
  value=""
1280
1292
  />
1281
- </div>
1282
- </div>
1283
- <span
1293
+ </ui_view>
1294
+ </ui_view>
1295
+ <ui_icon
1284
1296
  class="icon headline-3 icon warning"
1285
1297
  >
1286
1298
  <svg
@@ -1296,24 +1308,24 @@ exports[`component:<InputPhone> prop:showState (false) & warning 1`] = `
1296
1308
  d="M12 5.99 19.53 19H4.47L12 5.99M12 2 1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
1297
1309
  />
1298
1310
  </svg>
1299
- </span>
1300
- </div>
1301
- </div>
1311
+ </ui_icon>
1312
+ </ui_view>
1313
+ </ui_input_phone>
1302
1314
  </DocumentFragment>
1303
1315
  `;
1304
1316
 
1305
1317
  exports[`component:<InputPhone> prop:success 1`] = `
1306
1318
  <DocumentFragment>
1307
- <div
1308
- class="view container"
1319
+ <ui_input_phone
1320
+ class="view inputPhone"
1309
1321
  >
1310
- <div
1322
+ <ui_view
1311
1323
  class="view row inputBorder"
1312
1324
  >
1313
- <div
1325
+ <ui_view
1314
1326
  class="view row"
1315
1327
  >
1316
- <div
1328
+ <ui_view
1317
1329
  class="view content"
1318
1330
  >
1319
1331
  <select
@@ -1336,8 +1348,8 @@ exports[`component:<InputPhone> prop:success 1`] = `
1336
1348
  +001
1337
1349
  </option>
1338
1350
  </select>
1339
- </div>
1340
- <span
1351
+ </ui_view>
1352
+ <ui_icon
1341
1353
  class="icon headline-3 icon expand"
1342
1354
  >
1343
1355
  <svg
@@ -1358,15 +1370,15 @@ exports[`component:<InputPhone> prop:success 1`] = `
1358
1370
  d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
1359
1371
  />
1360
1372
  </svg>
1361
- </span>
1362
- </div>
1363
- <div
1373
+ </ui_icon>
1374
+ </ui_view>
1375
+ <ui_view
1364
1376
  class="view forceRow separator"
1365
1377
  />
1366
- <div
1378
+ <ui_view
1367
1379
  class="view row wide"
1368
1380
  >
1369
- <div
1381
+ <ui_view
1370
1382
  class="view wide content"
1371
1383
  >
1372
1384
  <input
@@ -1376,9 +1388,9 @@ exports[`component:<InputPhone> prop:success 1`] = `
1376
1388
  type="tel"
1377
1389
  value=""
1378
1390
  />
1379
- </div>
1380
- </div>
1381
- <span
1391
+ </ui_view>
1392
+ </ui_view>
1393
+ <ui_icon
1382
1394
  class="icon headline-3 icon success"
1383
1395
  >
1384
1396
  <svg
@@ -1398,31 +1410,31 @@ exports[`component:<InputPhone> prop:success 1`] = `
1398
1410
  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"
1399
1411
  />
1400
1412
  </svg>
1401
- </span>
1402
- </div>
1403
- </div>
1413
+ </ui_icon>
1414
+ </ui_view>
1415
+ </ui_input_phone>
1404
1416
  </DocumentFragment>
1405
1417
  `;
1406
1418
 
1407
1419
  exports[`component:<InputPhone> prop:value 1`] = `
1408
1420
  <DocumentFragment>
1409
- <div
1410
- class="view container"
1421
+ <ui_input_phone
1422
+ class="view inputPhone"
1411
1423
  >
1412
- <div
1424
+ <ui_view
1413
1425
  class="view row inputBorder"
1414
1426
  >
1415
- <div
1427
+ <ui_view
1416
1428
  class="view row"
1417
1429
  >
1418
- <div
1430
+ <ui_view
1419
1431
  class="view content"
1420
1432
  >
1421
- <span
1433
+ <ui_text
1422
1434
  class="text paragraph prefixValue"
1423
1435
  >
1424
1436
  +44
1425
- </span>
1437
+ </ui_text>
1426
1438
  <select
1427
1439
  class="select input prefix"
1428
1440
  name="name-prefix"
@@ -1443,8 +1455,8 @@ exports[`component:<InputPhone> prop:value 1`] = `
1443
1455
  +001
1444
1456
  </option>
1445
1457
  </select>
1446
- </div>
1447
- <span
1458
+ </ui_view>
1459
+ <ui_icon
1448
1460
  class="icon headline-3 icon expand"
1449
1461
  >
1450
1462
  <svg
@@ -1465,15 +1477,15 @@ exports[`component:<InputPhone> prop:value 1`] = `
1465
1477
  d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
1466
1478
  />
1467
1479
  </svg>
1468
- </span>
1469
- </div>
1470
- <div
1480
+ </ui_icon>
1481
+ </ui_view>
1482
+ <ui_view
1471
1483
  class="view forceRow separator"
1472
1484
  />
1473
- <div
1485
+ <ui_view
1474
1486
  class="view row wide"
1475
1487
  >
1476
- <div
1488
+ <ui_view
1477
1489
  class="view wide content"
1478
1490
  >
1479
1491
  <input
@@ -1483,25 +1495,25 @@ exports[`component:<InputPhone> prop:value 1`] = `
1483
1495
  type="tel"
1484
1496
  value="212123789"
1485
1497
  />
1486
- </div>
1487
- </div>
1488
- </div>
1489
- </div>
1498
+ </ui_view>
1499
+ </ui_view>
1500
+ </ui_view>
1501
+ </ui_input_phone>
1490
1502
  </DocumentFragment>
1491
1503
  `;
1492
1504
 
1493
1505
  exports[`component:<InputPhone> prop:value:without prefixes 1`] = `
1494
1506
  <DocumentFragment>
1495
- <div
1496
- class="view container"
1507
+ <ui_input_phone
1508
+ class="view inputPhone"
1497
1509
  >
1498
- <div
1510
+ <ui_view
1499
1511
  class="view row inputBorder"
1500
1512
  >
1501
- <div
1513
+ <ui_view
1502
1514
  class="view row wide"
1503
1515
  >
1504
- <div
1516
+ <ui_view
1505
1517
  class="view wide content"
1506
1518
  >
1507
1519
  <input
@@ -1511,25 +1523,25 @@ exports[`component:<InputPhone> prop:value:without prefixes 1`] = `
1511
1523
  type="tel"
1512
1524
  value="212123789"
1513
1525
  />
1514
- </div>
1515
- </div>
1516
- </div>
1517
- </div>
1526
+ </ui_view>
1527
+ </ui_view>
1528
+ </ui_view>
1529
+ </ui_input_phone>
1518
1530
  </DocumentFragment>
1519
1531
  `;
1520
1532
 
1521
1533
  exports[`component:<InputPhone> prop:warning 1`] = `
1522
1534
  <DocumentFragment>
1523
- <div
1524
- class="view container"
1535
+ <ui_input_phone
1536
+ class="view inputPhone"
1525
1537
  >
1526
- <div
1538
+ <ui_view
1527
1539
  class="view row inputBorder"
1528
1540
  >
1529
- <div
1541
+ <ui_view
1530
1542
  class="view row"
1531
1543
  >
1532
- <div
1544
+ <ui_view
1533
1545
  class="view content"
1534
1546
  >
1535
1547
  <select
@@ -1552,8 +1564,8 @@ exports[`component:<InputPhone> prop:warning 1`] = `
1552
1564
  +001
1553
1565
  </option>
1554
1566
  </select>
1555
- </div>
1556
- <span
1567
+ </ui_view>
1568
+ <ui_icon
1557
1569
  class="icon headline-3 icon expand"
1558
1570
  >
1559
1571
  <svg
@@ -1574,15 +1586,15 @@ exports[`component:<InputPhone> prop:warning 1`] = `
1574
1586
  d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
1575
1587
  />
1576
1588
  </svg>
1577
- </span>
1578
- </div>
1579
- <div
1589
+ </ui_icon>
1590
+ </ui_view>
1591
+ <ui_view
1580
1592
  class="view forceRow separator"
1581
1593
  />
1582
- <div
1594
+ <ui_view
1583
1595
  class="view row wide"
1584
1596
  >
1585
- <div
1597
+ <ui_view
1586
1598
  class="view wide content"
1587
1599
  >
1588
1600
  <input
@@ -1592,9 +1604,9 @@ exports[`component:<InputPhone> prop:warning 1`] = `
1592
1604
  type="tel"
1593
1605
  value=""
1594
1606
  />
1595
- </div>
1596
- </div>
1597
- <span
1607
+ </ui_view>
1608
+ </ui_view>
1609
+ <ui_icon
1598
1610
  class="icon headline-3 icon warning"
1599
1611
  >
1600
1612
  <svg
@@ -1610,24 +1622,24 @@ exports[`component:<InputPhone> prop:warning 1`] = `
1610
1622
  d="M12 5.99 19.53 19H4.47L12 5.99M12 2 1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
1611
1623
  />
1612
1624
  </svg>
1613
- </span>
1614
- </div>
1615
- </div>
1625
+ </ui_icon>
1626
+ </ui_view>
1627
+ </ui_input_phone>
1616
1628
  </DocumentFragment>
1617
1629
  `;
1618
1630
 
1619
1631
  exports[`component:<InputPhone> renders 1`] = `
1620
1632
  <DocumentFragment>
1621
- <div
1622
- class="view container"
1633
+ <ui_input_phone
1634
+ class="view inputPhone"
1623
1635
  >
1624
- <div
1636
+ <ui_view
1625
1637
  class="view row inputBorder"
1626
1638
  >
1627
- <div
1639
+ <ui_view
1628
1640
  class="view row"
1629
1641
  >
1630
- <div
1642
+ <ui_view
1631
1643
  class="view content"
1632
1644
  >
1633
1645
  <select
@@ -1650,8 +1662,8 @@ exports[`component:<InputPhone> renders 1`] = `
1650
1662
  +001
1651
1663
  </option>
1652
1664
  </select>
1653
- </div>
1654
- <span
1665
+ </ui_view>
1666
+ <ui_icon
1655
1667
  class="icon headline-3 icon expand"
1656
1668
  >
1657
1669
  <svg
@@ -1672,15 +1684,15 @@ exports[`component:<InputPhone> renders 1`] = `
1672
1684
  d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
1673
1685
  />
1674
1686
  </svg>
1675
- </span>
1676
- </div>
1677
- <div
1687
+ </ui_icon>
1688
+ </ui_view>
1689
+ <ui_view
1678
1690
  class="view forceRow separator"
1679
1691
  />
1680
- <div
1692
+ <ui_view
1681
1693
  class="view row wide"
1682
1694
  >
1683
- <div
1695
+ <ui_view
1684
1696
  class="view wide content"
1685
1697
  >
1686
1698
  <input
@@ -1690,25 +1702,107 @@ exports[`component:<InputPhone> renders 1`] = `
1690
1702
  type="tel"
1691
1703
  value=""
1692
1704
  />
1693
- </div>
1694
- </div>
1695
- </div>
1696
- </div>
1705
+ </ui_view>
1706
+ </ui_view>
1707
+ </ui_view>
1708
+ </ui_input_phone>
1709
+ </DocumentFragment>
1710
+ `;
1711
+
1712
+ exports[`component:<InputPhone> tag 1`] = `
1713
+ <DocumentFragment>
1714
+ <ui_tag
1715
+ class="view inputPhone"
1716
+ >
1717
+ <ui_view
1718
+ class="view row inputBorder"
1719
+ >
1720
+ <ui_view
1721
+ class="view row"
1722
+ >
1723
+ <ui_view
1724
+ class="view content"
1725
+ >
1726
+ <ui_tag
1727
+ class="select empty input prefix"
1728
+ name="name-prefix"
1729
+ value=""
1730
+ >
1731
+ <option
1732
+ value="+34"
1733
+ >
1734
+ +34
1735
+ </option>
1736
+ <option
1737
+ value="+44"
1738
+ >
1739
+ +44
1740
+ </option>
1741
+ <option
1742
+ value="+001"
1743
+ >
1744
+ +001
1745
+ </option>
1746
+ </ui_tag>
1747
+ </ui_view>
1748
+ <ui_icon
1749
+ class="icon headline-3 icon expand"
1750
+ >
1751
+ <svg
1752
+ fill="currentColor"
1753
+ height="1em"
1754
+ stroke="currentColor"
1755
+ stroke-width="0"
1756
+ viewBox="0 0 24 24"
1757
+ width="1em"
1758
+ xmlns="http://www.w3.org/2000/svg"
1759
+ >
1760
+ <path
1761
+ d="M24 24H0V0h24v24z"
1762
+ fill="none"
1763
+ opacity=".87"
1764
+ />
1765
+ <path
1766
+ d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
1767
+ />
1768
+ </svg>
1769
+ </ui_icon>
1770
+ </ui_view>
1771
+ <ui_view
1772
+ class="view forceRow separator"
1773
+ />
1774
+ <ui_view
1775
+ class="view row wide"
1776
+ >
1777
+ <ui_view
1778
+ class="view wide content"
1779
+ >
1780
+ <input
1781
+ class="input input"
1782
+ maxlength="12"
1783
+ name="name-phone"
1784
+ type="tel"
1785
+ value=""
1786
+ />
1787
+ </ui_view>
1788
+ </ui_view>
1789
+ </ui_view>
1790
+ </ui_tag>
1697
1791
  </DocumentFragment>
1698
1792
  `;
1699
1793
 
1700
1794
  exports[`component:<InputPhone> testId 1`] = `
1701
1795
  <DocumentFragment>
1702
- <div
1703
- class="view container"
1796
+ <ui_input_phone
1797
+ class="view inputPhone"
1704
1798
  >
1705
- <div
1799
+ <ui_view
1706
1800
  class="view row inputBorder"
1707
1801
  >
1708
- <div
1802
+ <ui_view
1709
1803
  class="view row"
1710
1804
  >
1711
- <div
1805
+ <ui_view
1712
1806
  class="view content"
1713
1807
  >
1714
1808
  <select
@@ -1732,8 +1826,8 @@ exports[`component:<InputPhone> testId 1`] = `
1732
1826
  +001
1733
1827
  </option>
1734
1828
  </select>
1735
- </div>
1736
- <span
1829
+ </ui_view>
1830
+ <ui_icon
1737
1831
  class="icon headline-3 icon expand"
1738
1832
  >
1739
1833
  <svg
@@ -1754,15 +1848,15 @@ exports[`component:<InputPhone> testId 1`] = `
1754
1848
  d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
1755
1849
  />
1756
1850
  </svg>
1757
- </span>
1758
- </div>
1759
- <div
1851
+ </ui_icon>
1852
+ </ui_view>
1853
+ <ui_view
1760
1854
  class="view forceRow separator"
1761
1855
  />
1762
- <div
1856
+ <ui_view
1763
1857
  class="view row wide"
1764
1858
  >
1765
- <div
1859
+ <ui_view
1766
1860
  class="view wide content"
1767
1861
  >
1768
1862
  <input
@@ -1773,25 +1867,25 @@ exports[`component:<InputPhone> testId 1`] = `
1773
1867
  type="tel"
1774
1868
  value=""
1775
1869
  />
1776
- </div>
1777
- </div>
1778
- </div>
1779
- </div>
1870
+ </ui_view>
1871
+ </ui_view>
1872
+ </ui_view>
1873
+ </ui_input_phone>
1780
1874
  </DocumentFragment>
1781
1875
  `;
1782
1876
 
1783
1877
  exports[`component:<InputPhone> testId:without prefixes 1`] = `
1784
1878
  <DocumentFragment>
1785
- <div
1786
- class="view container"
1879
+ <ui_input_phone
1880
+ class="view inputPhone"
1787
1881
  >
1788
- <div
1882
+ <ui_view
1789
1883
  class="view row inputBorder"
1790
1884
  >
1791
- <div
1885
+ <ui_view
1792
1886
  class="view row wide"
1793
1887
  >
1794
- <div
1888
+ <ui_view
1795
1889
  class="view wide content"
1796
1890
  >
1797
1891
  <input
@@ -1802,9 +1896,9 @@ exports[`component:<InputPhone> testId:without prefixes 1`] = `
1802
1896
  type="tel"
1803
1897
  value=""
1804
1898
  />
1805
- </div>
1806
- </div>
1807
- </div>
1808
- </div>
1899
+ </ui_view>
1900
+ </ui_view>
1901
+ </ui_view>
1902
+ </ui_input_phone>
1809
1903
  </DocumentFragment>
1810
1904
  `;