@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.
Files changed (186) hide show
  1. package/README.md +109 -60
  2. package/build/components/Action/Action.js +1 -1
  3. package/build/components/Action/Action.js.map +1 -1
  4. package/build/components/Action/Action.module.css +4 -7
  5. package/build/components/Action/Action.stories.js +1 -1
  6. package/build/components/Action/Action.stories.js.map +1 -1
  7. package/build/components/Action/__tests__/__snapshots__/Action.test.js.snap +26 -40
  8. package/build/components/Button/Button.module.css +30 -33
  9. package/build/components/Button/Button.stories.js +9 -0
  10. package/build/components/Button/Button.stories.js.map +1 -1
  11. package/build/components/Button/__tests__/__snapshots__/Button.test.js.snap +21 -30
  12. package/build/components/Calendar/Calendar.Month.js +12 -8
  13. package/build/components/Calendar/Calendar.Month.js.map +1 -1
  14. package/build/components/Calendar/Calendar.Week.js +7 -10
  15. package/build/components/Calendar/Calendar.Week.js.map +1 -1
  16. package/build/components/Calendar/Calendar.js +10 -2
  17. package/build/components/Calendar/Calendar.js.map +1 -1
  18. package/build/components/Calendar/Calendar.module.css +8 -9
  19. package/build/components/Calendar/__tests__/__snapshots__/Calendar.test.jsx.snap +15768 -15800
  20. package/build/components/Form/Form.constants.js +1 -1
  21. package/build/components/Form/Form.constants.js.map +1 -1
  22. package/build/components/Form/Form.js +3 -1
  23. package/build/components/Form/Form.js.map +1 -1
  24. package/build/components/Form/Form.stories.js +6 -1
  25. package/build/components/Form/Form.stories.js.map +1 -1
  26. package/build/components/Form/__tests__/__snapshots__/Form.test.jsx.snap +9 -9
  27. package/build/components/InputDate/__tests__/__snapshots__/InputDate.test.js.snap +42 -42
  28. package/build/components/InputNumber/InputNumber.js +2 -1
  29. package/build/components/InputNumber/InputNumber.js.map +1 -1
  30. package/build/components/InputNumber/__tests__/__snapshots__/InputNumber.test.js.snap +138 -153
  31. package/build/components/InputOption/InputOption.js +8 -1
  32. package/build/components/InputOption/InputOption.js.map +1 -1
  33. package/build/components/InputOption/InputOption.module.css +13 -2
  34. package/build/components/InputOption/InputOption.stories.js +2 -1
  35. package/build/components/InputOption/InputOption.stories.js.map +1 -1
  36. package/build/components/InputOption/__tests__/__snapshots__/InputOption.test.js.snap +96 -90
  37. package/build/components/InputPhone/InputPhone.js +23 -20
  38. package/build/components/InputPhone/InputPhone.js.map +1 -1
  39. package/build/components/InputPhone/InputPhone.module.css +19 -6
  40. package/build/components/InputPhone/InputPhone.stories.js +3 -3
  41. package/build/components/InputPhone/InputPhone.stories.js.map +1 -1
  42. package/build/components/InputPhone/__tests__/__snapshots__/InputPhone.test.js.snap +410 -410
  43. package/build/components/InputPhone/helpers/index.js +11 -0
  44. package/build/components/InputPhone/helpers/index.js.map +1 -1
  45. package/build/components/InputPhone/helpers/sanitizePrefixes.js +24 -0
  46. package/build/components/InputPhone/helpers/sanitizePrefixes.js.map +1 -0
  47. package/build/components/InputSelect/InputSelect.js +3 -5
  48. package/build/components/InputSelect/InputSelect.js.map +1 -1
  49. package/build/components/InputSelect/InputSelect.stories.js +1 -0
  50. package/build/components/InputSelect/InputSelect.stories.js.map +1 -1
  51. package/build/components/InputSelect/__tests__/__snapshots__/InputSelect.test.js.snap +136 -136
  52. package/build/components/InputSelect/partials/InputSelect.Expand.js +23 -0
  53. package/build/components/InputSelect/partials/InputSelect.Expand.js.map +1 -0
  54. package/build/components/InputSelect/partials/index.js +17 -0
  55. package/build/components/InputSelect/partials/index.js.map +1 -0
  56. package/build/components/InputText/InputText.js +6 -4
  57. package/build/components/InputText/InputText.js.map +1 -1
  58. package/build/components/InputText/InputText.module.css +18 -6
  59. package/build/components/InputText/InputText.stories.js +7 -2
  60. package/build/components/InputText/InputText.stories.js.map +1 -1
  61. package/build/components/InputText/__tests__/__snapshots__/InputText.test.js.snap +142 -143
  62. package/build/components/Menu/__tests__/__snapshots__/Menu.test.jsx.snap +72 -70
  63. package/build/components/Modal/Modal.js +15 -8
  64. package/build/components/Modal/Modal.js.map +1 -1
  65. package/build/components/Modal/Modal.module.css +30 -14
  66. package/build/components/Modal/Modal.stories.js +1 -0
  67. package/build/components/Modal/Modal.stories.js.map +1 -1
  68. package/build/components/Modal/__tests__/__snapshots__/Modal.test.js.snap +92 -98
  69. package/build/components/Notification/Notification.js +20 -12
  70. package/build/components/Notification/Notification.js.map +1 -1
  71. package/build/components/Notification/Notification.module.css +44 -58
  72. package/build/components/Notification/Notification.stories.js +15 -2
  73. package/build/components/Notification/Notification.stories.js.map +1 -1
  74. package/build/components/Notification/__tests__/__snapshots__/Notification.test.js.snap +600 -254
  75. package/build/components/Progress/Progress.js +2 -0
  76. package/build/components/Progress/Progress.js.map +1 -1
  77. package/build/components/Progress/__tests__/__snapshots__/Progress.test.jsx.snap +18 -18
  78. package/build/components/Slider/Slider.constants.js +3 -1
  79. package/build/components/Slider/Slider.constants.js.map +1 -1
  80. package/build/components/Slider/Slider.js +67 -66
  81. package/build/components/Slider/Slider.js.map +1 -1
  82. package/build/components/Slider/Slider.module.css +55 -52
  83. package/build/components/Slider/Slider.stories.js +9 -6
  84. package/build/components/Slider/Slider.stories.js.map +1 -1
  85. package/build/components/Slider/__tests__/__snapshots__/Slider.test.js.snap +714 -333
  86. package/build/components/Table/Table.ColumnFilter.js +17 -14
  87. package/build/components/Table/Table.ColumnFilter.js.map +1 -1
  88. package/build/components/Table/Table.Row.js +2 -1
  89. package/build/components/Table/Table.Row.js.map +1 -1
  90. package/build/components/Table/Table.constants.js +3 -1
  91. package/build/components/Table/Table.constants.js.map +1 -1
  92. package/build/components/Table/Table.js +54 -17
  93. package/build/components/Table/Table.js.map +1 -1
  94. package/build/components/Table/Table.module.css +12 -6
  95. package/build/components/Table/Table.stories.js +39 -19
  96. package/build/components/Table/Table.stories.js.map +1 -1
  97. package/build/components/Table/Table.stories.module.css +4 -5
  98. package/build/components/Table/__tests__/__snapshots__/Table.ColumnFilter.test.js.snap +221 -240
  99. package/build/components/Table/__tests__/__snapshots__/Table.test.js.snap +1725 -1085
  100. package/build/components/Table/helpers/exists.js +2 -3
  101. package/build/components/Table/helpers/exists.js.map +1 -1
  102. package/build/components/Table/helpers/select.js +24 -16
  103. package/build/components/Table/helpers/select.js.map +1 -1
  104. package/build/components/Tooltip/Tooltip.js +29 -6
  105. package/build/components/Tooltip/Tooltip.js.map +1 -1
  106. package/build/components/Tooltip/__tests__/__snapshots__/Tooltip.test.jsx.snap +51 -44
  107. package/build/components/index.js +11 -0
  108. package/build/components/index.js.map +1 -1
  109. package/build/helpers/getInputPhoneErrors.js +3 -2
  110. package/build/helpers/getInputPhoneErrors.js.map +1 -1
  111. package/build/hooks/useDevice.js +1 -1
  112. package/build/hooks/useDevice.js.map +1 -1
  113. package/build/primitives/Checkbox/Checkbox.js +4 -3
  114. package/build/primitives/Checkbox/Checkbox.js.map +1 -1
  115. package/build/primitives/Checkbox/Checkbox.module.css +42 -6
  116. package/build/primitives/Checkbox/__tests__/__snapshots__/Checkbox.test.js.snap +47 -16
  117. package/build/primitives/Icon/Icon.constants.js +43 -21
  118. package/build/primitives/Icon/Icon.constants.js.map +1 -1
  119. package/build/primitives/Icon/Icon.js +15 -5
  120. package/build/primitives/Icon/Icon.js.map +1 -1
  121. package/build/primitives/Icon/Icon.module.css +32 -19
  122. package/build/primitives/Icon/Icon.stories.js +5 -0
  123. package/build/primitives/Icon/Icon.stories.js.map +1 -1
  124. package/build/primitives/Icon/__tests__/__snapshots__/Icon.test.js.snap +291 -100
  125. package/build/primitives/Input/Input.js +9 -3
  126. package/build/primitives/Input/Input.js.map +1 -1
  127. package/build/primitives/Input/Input.stories.js +2 -0
  128. package/build/primitives/Input/Input.stories.js.map +1 -1
  129. package/build/primitives/Input/__tests__/__snapshots__/Input.test.js.snap +22 -0
  130. package/build/primitives/Layer/Layer.js +11 -5
  131. package/build/primitives/Layer/Layer.js.map +1 -1
  132. package/build/primitives/Layer/Layer.module.css +4 -0
  133. package/build/primitives/Layer/__tests__/__snapshots__/Layer.test.js.snap +78 -42
  134. package/build/primitives/Layer/helpers/index.js +11 -0
  135. package/build/primitives/Layer/helpers/index.js.map +1 -1
  136. package/build/primitives/Layer/helpers/isComponentFixed.js +32 -0
  137. package/build/primitives/Layer/helpers/isComponentFixed.js.map +1 -0
  138. package/build/primitives/Pressable/Pressable.constants.js +1 -1
  139. package/build/primitives/Pressable/Pressable.constants.js.map +1 -1
  140. package/build/primitives/Pressable/Pressable.js +3 -7
  141. package/build/primitives/Pressable/Pressable.js.map +1 -1
  142. package/build/primitives/Pressable/Pressable.module.css +0 -1
  143. package/build/primitives/Pressable/__tests__/__snapshots__/Pressable.test.js.snap +10 -14
  144. package/build/primitives/Primitive/Primitive.js +2 -2
  145. package/build/primitives/Primitive/Primitive.js.map +1 -1
  146. package/build/primitives/Primitive/__tests__/__snapshots__/Primitive.test.js.snap +7 -7
  147. package/build/primitives/Primitive/helpers/index.js +0 -11
  148. package/build/primitives/Primitive/helpers/index.js.map +1 -1
  149. package/build/primitives/Radio/Radio.js +1 -1
  150. package/build/primitives/Radio/Radio.js.map +1 -1
  151. package/build/primitives/Radio/Radio.module.css +18 -2
  152. package/build/primitives/Radio/__tests__/__snapshots__/Radio.test.js.snap +21 -21
  153. package/build/primitives/ScrollView/ScrollView.js +1 -1
  154. package/build/primitives/ScrollView/ScrollView.js.map +1 -1
  155. package/build/primitives/ScrollView/ScrollView.module.css +1 -0
  156. package/build/primitives/ScrollView/ScrollView.stories.js +5 -6
  157. package/build/primitives/ScrollView/ScrollView.stories.js.map +1 -1
  158. package/build/primitives/ScrollView/__tests__/__snapshots__/ScrollView.test.js.snap +20 -20
  159. package/build/primitives/Select/Select.js +13 -6
  160. package/build/primitives/Select/Select.js.map +1 -1
  161. package/build/primitives/Select/Select.stories.js +1 -0
  162. package/build/primitives/Select/Select.stories.js.map +1 -1
  163. package/build/primitives/Select/__tests__/__snapshots__/Select.test.js.snap +36 -0
  164. package/build/primitives/Switch/Switch.js +5 -3
  165. package/build/primitives/Switch/Switch.js.map +1 -1
  166. package/build/primitives/Switch/Switch.module.css +36 -8
  167. package/build/primitives/Switch/Switch.stories.js +1 -0
  168. package/build/primitives/Switch/Switch.stories.js.map +1 -1
  169. package/build/primitives/Switch/__tests__/__snapshots__/Switch.test.js.snap +88 -25
  170. package/build/primitives/Text/Text.js +12 -5
  171. package/build/primitives/Text/Text.js.map +1 -1
  172. package/build/primitives/Text/Text.module.css +29 -14
  173. package/build/primitives/Text/Text.stories.js +4 -0
  174. package/build/primitives/Text/Text.stories.js.map +1 -1
  175. package/build/primitives/Text/__tests__/__snapshots__/Text.test.js.snap +78 -38
  176. package/build/primitives/View/View.js +1 -1
  177. package/build/primitives/View/View.js.map +1 -1
  178. package/build/primitives/View/__tests__/__snapshots__/View.test.js.snap +10 -10
  179. package/build/theme/default.theme.css +54 -53
  180. package/build/theme/theme.constants.js +3 -1
  181. package/build/theme/theme.constants.js.map +1 -1
  182. package/build/theme/theme.js +34 -11
  183. package/build/theme/theme.js.map +1 -1
  184. package/package.json +4 -5
  185. package/build/primitives/Primitive/helpers/getTag.js +0 -33
  186. 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
- <ui_view
5
+ <div
6
6
  class="view inputContainer mirai"
7
7
  >
8
- <ui_view
8
+ <div
9
9
  class="view row inputBorder"
10
10
  >
11
- <ui_view
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
- </ui_view>
21
- </ui_view>
22
- </ui_view>
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
- <ui_view
28
+ <div
29
29
  class="view inputContainer"
30
30
  >
31
- <ui_view
31
+ <div
32
32
  class="view row inputBorder"
33
33
  >
34
- <ui_text
34
+ <span
35
35
  class="text action lighten caption"
36
36
  >
37
37
  caption
38
- </ui_text>
39
- <ui_view
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
- </ui_view>
49
- </ui_view>
50
- </ui_view>
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
- <ui_view
56
+ <div
57
57
  class="view inputContainer"
58
58
  >
59
- <ui_view
59
+ <div
60
60
  class="view row inputBorder disabled"
61
61
  >
62
- <ui_view
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
- </ui_view>
73
- </ui_view>
74
- </ui_view>
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
- <ui_view
80
+ <div
81
81
  class="view inputContainer"
82
82
  >
83
- <ui_view
83
+ <div
84
84
  class="view row inputBorder error"
85
85
  >
86
- <ui_view
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
- </ui_view>
96
- <ui_icon
97
- class="icon h3 icon error"
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
- </ui_icon>
117
- </ui_view>
118
- </ui_view>
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
- <ui_view
124
+ <div
125
125
  class="view inputContainer"
126
126
  >
127
- <ui_view
127
+ <div
128
128
  class="view row inputBorder"
129
129
  >
130
- <ui_view
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
- </ui_view>
140
- </ui_view>
141
- <ui_text
139
+ </div>
140
+ </div>
141
+ <span
142
142
  class="text small text hint"
143
143
  >
144
144
  hint
145
- </ui_text>
146
- </ui_view>
145
+ </span>
146
+ </div>
147
147
  </DocumentFragment>
148
148
  `;
149
149
 
150
150
  exports[`component:<InputText> prop:icon 1`] = `
151
151
  <DocumentFragment>
152
- <ui_view
152
+ <div
153
153
  class="view inputContainer"
154
154
  >
155
- <ui_view
155
+ <div
156
156
  class="view row inputBorder"
157
157
  >
158
- <ui_icon
159
- class="icon h3 icon left"
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 018.82 5.5C19.17 14.87 15.79 17 12 17s-7.17-2.13-8.82-5.5A9.77 9.77 0 0112 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 010 5 2.5 2.5 0 010-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"
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
- </ui_icon>
179
- <ui_view
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
- </ui_view>
189
- </ui_view>
190
- </ui_view>
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
- <ui_view
196
+ <div
197
197
  class="view inputContainer"
198
198
  >
199
- <ui_view
199
+ <div
200
200
  class="view row inputBorder"
201
201
  >
202
- <ui_view
202
+ <div
203
203
  class="view wide content"
204
204
  >
205
- <ui_text
205
+ <span
206
206
  class="text paragraph text label"
207
207
  >
208
208
  label
209
- </ui_text>
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
- </ui_view>
217
- </ui_view>
218
- </ui_view>
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
- <ui_view
224
+ <div
225
225
  class="view inputContainer"
226
226
  >
227
- <ui_view
227
+ <div
228
228
  class="view row inputBorder"
229
229
  >
230
- <ui_view
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
- </ui_view>
240
- <ui_pressable
239
+ </div>
240
+ <div
241
241
  class="pressable"
242
- tabindex="0"
243
242
  >
244
- <ui_icon
245
- class="icon h3 icon disabled"
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
- </ui_icon>
261
- </ui_pressable>
262
- </ui_view>
263
- </ui_view>
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
- <ui_view
268
+ <div
270
269
  class="view inputContainer"
271
270
  >
272
- <ui_view
271
+ <div
273
272
  class="view row inputBorder"
274
273
  >
275
- <ui_view
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
- </ui_view>
283
- </ui_view>
284
- </ui_view>
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
- <ui_view
289
+ <div
291
290
  class="view inputContainer"
292
291
  >
293
- <ui_view
292
+ <div
294
293
  class="view row inputBorder"
295
294
  >
296
- <ui_view
295
+ <div
297
296
  class="view wide content"
298
297
  >
299
- <ui_text
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
- </ui_text>
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
- </ui_view>
317
- </ui_view>
318
- </ui_view>
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
- <ui_view
323
+ <div
325
324
  class="view inputContainer"
326
325
  >
327
- <ui_view
326
+ <div
328
327
  class="view row inputBorder"
329
328
  >
330
- <ui_view
329
+ <div
331
330
  class="view wide content"
332
331
  >
333
- <ui_text
332
+ <span
334
333
  class="text paragraph text label"
335
334
  >
336
335
  label
337
- </ui_text>
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
- </ui_view>
346
- </ui_view>
347
- </ui_view>
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
- <ui_view
352
+ <div
354
353
  class="view inputContainer"
355
354
  >
356
- <ui_view
355
+ <div
357
356
  class="view row inputBorder error"
358
357
  >
359
- <ui_view
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
- </ui_view>
369
- <ui_icon
370
- class="icon h3 icon error"
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
- </ui_icon>
390
- </ui_view>
391
- </ui_view>
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
- <ui_view
396
+ <div
398
397
  class="view inputContainer"
399
398
  >
400
- <ui_view
399
+ <div
401
400
  class="view row inputBorder"
402
401
  >
403
- <ui_view
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
- </ui_view>
413
- <ui_icon
414
- class="icon h3 icon success"
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="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8z"
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
- </ui_icon>
434
- </ui_view>
435
- </ui_view>
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
- <ui_view
440
+ <div
442
441
  class="view inputContainer"
443
442
  >
444
- <ui_view
443
+ <div
445
444
  class="view row inputBorder"
446
445
  >
447
- <ui_view
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
- </ui_view>
457
- <ui_pressable
455
+ </div>
456
+ <div
458
457
  class="pressable"
459
458
  tabindex="-1"
460
459
  >
461
- <ui_icon
462
- class="icon h3 icon password"
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 018.82 5.5 9.647 9.647 0 01-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 001 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.5l2.61 2.61c-.04.01-.08.02-.12.02a2.5 2.5 0 01-2.5-2.5c0-.05.01-.08.01-.13zm-3.4-3.4l1.75 1.75a4.6 4.6 0 00-.36 1.78 4.507 4.507 0 006.27 4.14l.98.98c-.88.24-1.8.38-2.75.38a9.77 9.77 0 01-8.82-5.5c.7-1.43 1.72-2.61 2.93-3.53z"
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
- </ui_icon>
482
- </ui_pressable>
483
- </ui_view>
484
- </ui_view>
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
- <ui_view
489
+ <div
491
490
  class="view inputContainer"
492
491
  >
493
- <ui_view
492
+ <div
494
493
  class="view row inputBorder"
495
494
  >
496
- <ui_view
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
- </ui_view>
506
- <ui_icon
507
- class="icon h3 icon warning"
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.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
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
- </ui_icon>
523
- </ui_view>
524
- </ui_view>
521
+ </span>
522
+ </div>
523
+ </div>
525
524
  </DocumentFragment>
526
525
  `;
527
526
 
528
527
  exports[`component:<InputText> renders 1`] = `
529
528
  <DocumentFragment>
530
- <ui_view
529
+ <div
531
530
  class="view inputContainer"
532
531
  >
533
- <ui_view
532
+ <div
534
533
  class="view row inputBorder"
535
534
  >
536
- <ui_view
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
- </ui_view>
546
- </ui_view>
547
- </ui_view>
544
+ </div>
545
+ </div>
546
+ </div>
548
547
  </DocumentFragment>
549
548
  `;
550
549
 
551
550
  exports[`component:<InputText> testId 1`] = `
552
551
  <DocumentFragment>
553
- <ui_view
552
+ <div
554
553
  class="view inputContainer"
555
554
  >
556
- <ui_view
555
+ <div
557
556
  class="view row inputBorder"
558
557
  >
559
- <ui_view
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
- </ui_view>
570
- </ui_view>
571
- </ui_view>
568
+ </div>
569
+ </div>
570
+ </div>
572
571
  </DocumentFragment>
573
572
  `;