@mirai/ui 1.1.0-d → 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 +9 -1
  17. package/build/components/Calendar/Calendar.js.map +1 -1
  18. package/build/components/Calendar/Calendar.module.css +3 -4
  19. package/build/components/Calendar/__tests__/__snapshots__/Calendar.test.jsx.snap +15736 -15768
  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 +22 -19
  38. package/build/components/InputPhone/InputPhone.js.map +1 -1
  39. package/build/components/InputPhone/InputPhone.module.css +18 -5
  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 +389 -389
  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 -13
  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 +54 -54
  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 +708 -327
  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 -32
  186. package/build/primitives/Primitive/helpers/getTag.js.map +0 -1
@@ -2,16 +2,15 @@
2
2
 
3
3
  exports[`component:<Slider> inherit:className 1`] = `
4
4
  <DocumentFragment>
5
- <ui_view
5
+ <div
6
6
  class="view container mirai"
7
7
  style="width: 360px;"
8
8
  >
9
- <ui_pressable
10
- class="pressable button hide back"
11
- tabindex="0"
9
+ <div
10
+ class="pressable button hide first"
12
11
  >
13
- <ui_icon
14
- class="icon h3"
12
+ <span
13
+ class="icon headline-3"
15
14
  >
16
15
  <svg
17
16
  fill="currentColor"
@@ -30,67 +29,66 @@ exports[`component:<Slider> inherit:className 1`] = `
30
29
  d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
31
30
  />
32
31
  </svg>
33
- </ui_icon>
34
- </ui_pressable>
35
- <ui_scrollview
32
+ </span>
33
+ </div>
34
+ <div
36
35
  class="scrollview snap horizontal notIndicator scrollView"
37
36
  style="width: 360px;"
38
37
  >
39
- <ui_view
38
+ <div
40
39
  class="view item"
41
40
  >
42
- <ui_view
41
+ <div
43
42
  class="view image"
44
43
  style="background-image: url(https://picsum.photos/seed/@soyjavi/1024/768); height: 230px; width: 360px;"
45
44
  />
46
- </ui_view>
47
- <ui_view
45
+ </div>
46
+ <div
48
47
  class="view item"
49
48
  >
50
- <ui_view
49
+ <div
51
50
  class="view image"
52
51
  style="background-image: url(https://picsum.photos/seed/@jose/1024/768); height: 230px; width: 360px;"
53
52
  />
54
- </ui_view>
55
- <ui_view
53
+ </div>
54
+ <div
56
55
  class="view item"
57
56
  >
58
- <ui_view
57
+ <div
59
58
  class="view image"
60
59
  style="background-image: url(https://picsum.photos/seed/@mario1/1024/768); height: 230px; width: 360px;"
61
60
  />
62
- </ui_view>
63
- <ui_view
61
+ </div>
62
+ <div
64
63
  class="view item"
65
64
  >
66
- <ui_view
65
+ <div
67
66
  class="view image"
68
- style="height: 230px; width: 360px;"
67
+ style="background-image: url(https://picsum.photos/seed/@victor/1024/768); height: 230px; width: 360px;"
69
68
  />
70
- </ui_view>
71
- <ui_view
69
+ </div>
70
+ <div
72
71
  class="view item"
73
72
  >
74
- <ui_view
73
+ <div
75
74
  class="view image"
76
- style="height: 230px; width: 360px;"
75
+ style="background-image: url(https://picsum.photos/seed/@svet/1024/768); height: 230px; width: 360px;"
77
76
  />
78
- </ui_view>
79
- <ui_view
77
+ </div>
78
+ <div
80
79
  class="view item"
81
80
  >
82
- <ui_view
81
+ <div
83
82
  class="view image"
84
- style="height: 230px; width: 360px;"
83
+ style="background-image: url(https://picsum.photos/seed/@mario2/1024/768); height: 230px; width: 360px;"
85
84
  />
86
- </ui_view>
87
- </ui_scrollview>
88
- <ui_pressable
89
- class="pressable button hide forward"
90
- tabindex="0"
85
+ </div>
86
+ </div>
87
+ <div
88
+ class="pressable button hide second"
91
89
  >
92
- <ui_icon
93
- class="icon h3"
90
+ <span
91
+ class="icon headline-3"
94
92
  >
95
93
  <svg
96
94
  fill="currentColor"
@@ -106,27 +104,26 @@ exports[`component:<Slider> inherit:className 1`] = `
106
104
  fill="none"
107
105
  />
108
106
  <path
109
- d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
107
+ d="m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
110
108
  />
111
109
  </svg>
112
- </ui_icon>
113
- </ui_pressable>
114
- </ui_view>
110
+ </span>
111
+ </div>
112
+ </div>
115
113
  </DocumentFragment>
116
114
  `;
117
115
 
118
116
  exports[`component:<Slider> prop:auto 1`] = `
119
117
  <DocumentFragment>
120
- <ui_view
118
+ <div
121
119
  class="view container"
122
120
  style="width: 360px;"
123
121
  >
124
- <ui_pressable
125
- class="pressable button hide back"
126
- tabindex="0"
122
+ <div
123
+ class="pressable button hide first"
127
124
  >
128
- <ui_icon
129
- class="icon h3"
125
+ <span
126
+ class="icon headline-3"
130
127
  >
131
128
  <svg
132
129
  fill="currentColor"
@@ -145,67 +142,66 @@ exports[`component:<Slider> prop:auto 1`] = `
145
142
  d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
146
143
  />
147
144
  </svg>
148
- </ui_icon>
149
- </ui_pressable>
150
- <ui_scrollview
145
+ </span>
146
+ </div>
147
+ <div
151
148
  class="scrollview snap horizontal notIndicator scrollView"
152
149
  style="width: 360px;"
153
150
  >
154
- <ui_view
151
+ <div
155
152
  class="view item"
156
153
  >
157
- <ui_view
154
+ <div
158
155
  class="view image"
159
156
  style="background-image: url(https://picsum.photos/seed/@soyjavi/1024/768); height: 230px; width: 360px;"
160
157
  />
161
- </ui_view>
162
- <ui_view
158
+ </div>
159
+ <div
163
160
  class="view item"
164
161
  >
165
- <ui_view
162
+ <div
166
163
  class="view image"
167
164
  style="background-image: url(https://picsum.photos/seed/@jose/1024/768); height: 230px; width: 360px;"
168
165
  />
169
- </ui_view>
170
- <ui_view
166
+ </div>
167
+ <div
171
168
  class="view item"
172
169
  >
173
- <ui_view
170
+ <div
174
171
  class="view image"
175
172
  style="background-image: url(https://picsum.photos/seed/@mario1/1024/768); height: 230px; width: 360px;"
176
173
  />
177
- </ui_view>
178
- <ui_view
174
+ </div>
175
+ <div
179
176
  class="view item"
180
177
  >
181
- <ui_view
178
+ <div
182
179
  class="view image"
183
- style="height: 230px; width: 360px;"
180
+ style="background-image: url(https://picsum.photos/seed/@victor/1024/768); height: 230px; width: 360px;"
184
181
  />
185
- </ui_view>
186
- <ui_view
182
+ </div>
183
+ <div
187
184
  class="view item"
188
185
  >
189
- <ui_view
186
+ <div
190
187
  class="view image"
191
- style="height: 230px; width: 360px;"
188
+ style="background-image: url(https://picsum.photos/seed/@svet/1024/768); height: 230px; width: 360px;"
192
189
  />
193
- </ui_view>
194
- <ui_view
190
+ </div>
191
+ <div
195
192
  class="view item"
196
193
  >
197
- <ui_view
194
+ <div
198
195
  class="view image"
199
- style="height: 230px; width: 360px;"
196
+ style="background-image: url(https://picsum.photos/seed/@mario2/1024/768); height: 230px; width: 360px;"
200
197
  />
201
- </ui_view>
202
- </ui_scrollview>
203
- <ui_pressable
204
- class="pressable button hide forward"
205
- tabindex="0"
198
+ </div>
199
+ </div>
200
+ <div
201
+ class="pressable button hide second"
206
202
  >
207
- <ui_icon
208
- class="icon h3"
203
+ <span
204
+ class="icon headline-3"
209
205
  >
210
206
  <svg
211
207
  fill="currentColor"
@@ -221,27 +217,139 @@ exports[`component:<Slider> prop:auto 1`] = `
221
217
  fill="none"
222
218
  />
223
219
  <path
224
- d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
220
+ d="m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
225
221
  />
226
222
  </svg>
227
- </ui_icon>
228
- </ui_pressable>
229
- </ui_view>
223
+ </span>
224
+ </div>
225
+ </div>
226
+ </DocumentFragment>
227
+ `;
228
+
229
+ exports[`component:<Slider> prop:behavior 1`] = `
230
+ <DocumentFragment>
231
+ <div
232
+ class="view container"
233
+ style="width: 360px;"
234
+ >
235
+ <div
236
+ class="pressable button hide first"
237
+ >
238
+ <span
239
+ class="icon headline-3"
240
+ >
241
+ <svg
242
+ fill="currentColor"
243
+ height="1em"
244
+ stroke="currentColor"
245
+ stroke-width="0"
246
+ viewBox="0 0 24 24"
247
+ width="1em"
248
+ xmlns="http://www.w3.org/2000/svg"
249
+ >
250
+ <path
251
+ d="M0 0h24v24H0V0z"
252
+ fill="none"
253
+ />
254
+ <path
255
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
256
+ />
257
+ </svg>
258
+ </span>
259
+ </div>
260
+ <div
261
+ class="scrollview snap horizontal notIndicator scrollView"
262
+ style="width: 360px;"
263
+ >
264
+ <div
265
+ class="view item"
266
+ >
267
+ <div
268
+ class="view image"
269
+ style="background-image: url(https://picsum.photos/seed/@soyjavi/1024/768); height: 230px; width: 360px;"
270
+ />
271
+ </div>
272
+ <div
273
+ class="view item"
274
+ >
275
+ <div
276
+ class="view image"
277
+ style="background-image: url(https://picsum.photos/seed/@jose/1024/768); height: 230px; width: 360px;"
278
+ />
279
+ </div>
280
+ <div
281
+ class="view item"
282
+ >
283
+ <div
284
+ class="view image"
285
+ style="background-image: url(https://picsum.photos/seed/@mario1/1024/768); height: 230px; width: 360px;"
286
+ />
287
+ </div>
288
+ <div
289
+ class="view item"
290
+ >
291
+ <div
292
+ class="view image"
293
+ style="background-image: url(https://picsum.photos/seed/@victor/1024/768); height: 230px; width: 360px;"
294
+ />
295
+ </div>
296
+ <div
297
+ class="view item"
298
+ >
299
+ <div
300
+ class="view image"
301
+ style="background-image: url(https://picsum.photos/seed/@svet/1024/768); height: 230px; width: 360px;"
302
+ />
303
+ </div>
304
+ <div
305
+ class="view item"
306
+ >
307
+ <div
308
+ class="view image"
309
+ style="background-image: url(https://picsum.photos/seed/@mario2/1024/768); height: 230px; width: 360px;"
310
+ />
311
+ </div>
312
+ </div>
313
+ <div
314
+ class="pressable button hide second"
315
+ >
316
+ <span
317
+ class="icon headline-3"
318
+ >
319
+ <svg
320
+ fill="currentColor"
321
+ height="1em"
322
+ stroke="currentColor"
323
+ stroke-width="0"
324
+ viewBox="0 0 24 24"
325
+ width="1em"
326
+ xmlns="http://www.w3.org/2000/svg"
327
+ >
328
+ <path
329
+ d="M0 0h24v24H0V0z"
330
+ fill="none"
331
+ />
332
+ <path
333
+ d="m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
334
+ />
335
+ </svg>
336
+ </span>
337
+ </div>
338
+ </div>
230
339
  </DocumentFragment>
231
340
  `;
232
341
 
233
342
  exports[`component:<Slider> prop:captions 1`] = `
234
343
  <DocumentFragment>
235
- <ui_view
344
+ <div
236
345
  class="view container"
237
346
  style="width: 360px;"
238
347
  >
239
- <ui_pressable
240
- class="pressable button hide back"
241
- tabindex="0"
348
+ <div
349
+ class="pressable button hide first"
242
350
  >
243
- <ui_icon
244
- class="icon h3"
351
+ <span
352
+ class="icon headline-3"
245
353
  >
246
354
  <svg
247
355
  fill="currentColor"
@@ -260,112 +368,111 @@ exports[`component:<Slider> prop:captions 1`] = `
260
368
  d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
261
369
  />
262
370
  </svg>
263
- </ui_icon>
264
- </ui_pressable>
265
- <ui_scrollview
371
+ </span>
372
+ </div>
373
+ <div
266
374
  class="scrollview snap horizontal notIndicator scrollView"
267
375
  style="width: 360px;"
268
376
  >
269
- <ui_view
377
+ <div
270
378
  class="view item"
271
379
  >
272
- <ui_view
380
+ <div
273
381
  class="view image"
274
382
  style="background-image: url(https://picsum.photos/seed/@soyjavi/1024/768); height: 230px; width: 360px;"
275
383
  />
276
- <ui_view
384
+ <div
277
385
  class="view caption"
278
386
  >
279
- <ui_text
280
- class="text bold small text"
387
+ <span
388
+ class="text bold small overlay text"
281
389
  >
282
390
  javi
283
- </ui_text>
284
- </ui_view>
285
- </ui_view>
286
- <ui_view
391
+ </span>
392
+ </div>
393
+ </div>
394
+ <div
287
395
  class="view item"
288
396
  >
289
- <ui_view
397
+ <div
290
398
  class="view image"
291
399
  style="background-image: url(https://picsum.photos/seed/@jose/1024/768); height: 230px; width: 360px;"
292
400
  />
293
- <ui_view
401
+ <div
294
402
  class="view caption"
295
403
  >
296
- <ui_text
297
- class="text bold small text"
404
+ <span
405
+ class="text bold small overlay text"
298
406
  >
299
407
  jose
300
- </ui_text>
301
- </ui_view>
302
- </ui_view>
303
- <ui_view
408
+ </span>
409
+ </div>
410
+ </div>
411
+ <div
304
412
  class="view item"
305
413
  >
306
- <ui_view
414
+ <div
307
415
  class="view image"
308
416
  style="background-image: url(https://picsum.photos/seed/@mario1/1024/768); height: 230px; width: 360px;"
309
417
  />
310
- </ui_view>
311
- <ui_view
418
+ </div>
419
+ <div
312
420
  class="view item"
313
421
  >
314
- <ui_view
422
+ <div
315
423
  class="view image"
316
- style="height: 230px; width: 360px;"
424
+ style="background-image: url(https://picsum.photos/seed/@victor/1024/768); height: 230px; width: 360px;"
317
425
  />
318
- <ui_view
426
+ <div
319
427
  class="view caption"
320
428
  >
321
- <ui_text
322
- class="text bold small text"
429
+ <span
430
+ class="text bold small overlay text"
323
431
  >
324
432
  victor
325
- </ui_text>
326
- </ui_view>
327
- </ui_view>
328
- <ui_view
433
+ </span>
434
+ </div>
435
+ </div>
436
+ <div
329
437
  class="view item"
330
438
  >
331
- <ui_view
439
+ <div
332
440
  class="view image"
333
- style="height: 230px; width: 360px;"
441
+ style="background-image: url(https://picsum.photos/seed/@svet/1024/768); height: 230px; width: 360px;"
334
442
  />
335
- <ui_view
443
+ <div
336
444
  class="view caption"
337
445
  >
338
- <ui_text
339
- class="text bold small text"
446
+ <span
447
+ class="text bold small overlay text"
340
448
  >
341
449
  svet
342
- </ui_text>
343
- </ui_view>
344
- </ui_view>
345
- <ui_view
450
+ </span>
451
+ </div>
452
+ </div>
453
+ <div
346
454
  class="view item"
347
455
  >
348
- <ui_view
456
+ <div
349
457
  class="view image"
350
- style="height: 230px; width: 360px;"
458
+ style="background-image: url(https://picsum.photos/seed/@mario2/1024/768); height: 230px; width: 360px;"
351
459
  />
352
- <ui_view
460
+ <div
353
461
  class="view caption"
354
462
  >
355
- <ui_text
356
- class="text bold small text"
463
+ <span
464
+ class="text bold small overlay text"
357
465
  >
358
466
  mario2
359
- </ui_text>
360
- </ui_view>
361
- </ui_view>
362
- </ui_scrollview>
363
- <ui_pressable
364
- class="pressable button hide forward"
365
- tabindex="0"
467
+ </span>
468
+ </div>
469
+ </div>
470
+ </div>
471
+ <div
472
+ class="pressable button hide second"
366
473
  >
367
- <ui_icon
368
- class="icon h3"
474
+ <span
475
+ class="icon headline-3"
369
476
  >
370
477
  <svg
371
478
  fill="currentColor"
@@ -381,124 +488,260 @@ exports[`component:<Slider> prop:captions 1`] = `
381
488
  fill="none"
382
489
  />
383
490
  <path
384
- d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
491
+ d="m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
385
492
  />
386
493
  </svg>
387
- </ui_icon>
388
- </ui_pressable>
389
- </ui_view>
494
+ </span>
495
+ </div>
496
+ </div>
390
497
  </DocumentFragment>
391
498
  `;
392
499
 
393
- exports[`component:<Slider> prop:fullScreen 1`] = `
500
+ exports[`component:<Slider> prop:index 1`] = `
394
501
  <DocumentFragment>
395
- <ui_view
396
- class="view container fullScreen"
397
- style="width: 1024px;"
502
+ <div
503
+ class="view container"
504
+ style="width: 360px;"
398
505
  >
399
- <ui_scrollview
506
+ <div
507
+ class="pressable button hide first"
508
+ >
509
+ <span
510
+ class="icon headline-3"
511
+ >
512
+ <svg
513
+ fill="currentColor"
514
+ height="1em"
515
+ stroke="currentColor"
516
+ stroke-width="0"
517
+ viewBox="0 0 24 24"
518
+ width="1em"
519
+ xmlns="http://www.w3.org/2000/svg"
520
+ >
521
+ <path
522
+ d="M0 0h24v24H0V0z"
523
+ fill="none"
524
+ />
525
+ <path
526
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
527
+ />
528
+ </svg>
529
+ </span>
530
+ </div>
531
+ <div
400
532
  class="scrollview snap horizontal notIndicator scrollView"
401
- style="width: 870.4px;"
533
+ style="width: 360px;"
402
534
  >
403
- <ui_view
535
+ <div
404
536
  class="view item"
405
537
  >
406
- <ui_view
538
+ <div
407
539
  class="view image"
408
- style="background-image: url(https://picsum.photos/seed/@soyjavi/1024/768); height: 691.2px; width: 870.4px;"
540
+ style="background-image: url(https://picsum.photos/seed/@soyjavi/1024/768); height: 230px; width: 360px;"
409
541
  />
410
- </ui_view>
411
- <ui_view
542
+ </div>
543
+ <div
412
544
  class="view item"
413
545
  >
414
- <ui_view
546
+ <div
415
547
  class="view image"
416
- style="background-image: url(https://picsum.photos/seed/@jose/1024/768); height: 691.2px; width: 870.4px;"
548
+ style="background-image: url(https://picsum.photos/seed/@jose/1024/768); height: 230px; width: 360px;"
417
549
  />
418
- </ui_view>
419
- <ui_view
550
+ </div>
551
+ <div
420
552
  class="view item"
421
553
  >
422
- <ui_view
554
+ <div
423
555
  class="view image"
424
- style="background-image: url(https://picsum.photos/seed/@mario1/1024/768); height: 691.2px; width: 870.4px;"
556
+ style="background-image: url(https://picsum.photos/seed/@mario1/1024/768); height: 230px; width: 360px;"
425
557
  />
426
- </ui_view>
427
- <ui_view
558
+ </div>
559
+ <div
428
560
  class="view item"
429
561
  >
430
- <ui_view
562
+ <div
431
563
  class="view image"
432
- style="background-image: url(https://picsum.photos/seed/@victor/1024/768); height: 691.2px; width: 870.4px;"
564
+ style="background-image: url(https://picsum.photos/seed/@victor/1024/768); height: 230px; width: 360px;"
433
565
  />
434
- </ui_view>
435
- <ui_view
566
+ </div>
567
+ <div
436
568
  class="view item"
437
569
  >
438
- <ui_view
570
+ <div
439
571
  class="view image"
440
- style="background-image: url(https://picsum.photos/seed/@svet/1024/768); height: 691.2px; width: 870.4px;"
572
+ style="background-image: url(https://picsum.photos/seed/@svet/1024/768); height: 230px; width: 360px;"
441
573
  />
442
- </ui_view>
443
- <ui_view
574
+ </div>
575
+ <div
444
576
  class="view item"
445
577
  >
446
- <ui_view
578
+ <div
447
579
  class="view image"
448
- style="background-image: url(https://picsum.photos/seed/@mario2/1024/768); height: 691.2px; width: 870.4px;"
580
+ style="background-image: url(https://picsum.photos/seed/@mario2/1024/768); height: 230px; width: 360px;"
449
581
  />
450
- </ui_view>
451
- </ui_scrollview>
452
- <ui_scrollview
453
- class="scrollview snap horizontal notIndicator thumbnails"
582
+ </div>
583
+ </div>
584
+ <div
585
+ class="pressable button hide second"
454
586
  >
455
- <ui_pressable
456
- class="pressable thumbnail active"
457
- style="background-image: url(https://picsum.photos/seed/@soyjavi/1024/768);"
458
- tabindex="0"
459
- />
460
- <ui_pressable
461
- class="pressable thumbnail"
462
- style="background-image: url(https://picsum.photos/seed/@jose/1024/768);"
463
- tabindex="0"
464
- />
465
- <ui_pressable
466
- class="pressable thumbnail"
467
- style="background-image: url(https://picsum.photos/seed/@mario1/1024/768);"
468
- tabindex="0"
469
- />
470
- <ui_pressable
471
- class="pressable thumbnail"
472
- style="background-image: url(https://picsum.photos/seed/@victor/1024/768);"
473
- tabindex="0"
474
- />
475
- <ui_pressable
476
- class="pressable thumbnail"
477
- style="background-image: url(https://picsum.photos/seed/@svet/1024/768);"
478
- tabindex="0"
479
- />
480
- <ui_pressable
481
- class="pressable thumbnail"
482
- style="background-image: url(https://picsum.photos/seed/@mario2/1024/768);"
483
- tabindex="0"
587
+ <span
588
+ class="icon headline-3"
589
+ >
590
+ <svg
591
+ fill="currentColor"
592
+ height="1em"
593
+ stroke="currentColor"
594
+ stroke-width="0"
595
+ viewBox="0 0 24 24"
596
+ width="1em"
597
+ xmlns="http://www.w3.org/2000/svg"
598
+ >
599
+ <path
600
+ d="M0 0h24v24H0V0z"
601
+ fill="none"
602
+ />
603
+ <path
604
+ d="m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
605
+ />
606
+ </svg>
607
+ </span>
608
+ </div>
609
+ </div>
610
+ </DocumentFragment>
611
+ `;
612
+
613
+ exports[`component:<Slider> prop:indicator 1`] = `
614
+ <DocumentFragment>
615
+ <div
616
+ class="view container"
617
+ style="width: 360px;"
618
+ >
619
+ <div
620
+ class="pressable button hide first"
621
+ >
622
+ <span
623
+ class="icon headline-3"
624
+ >
625
+ <svg
626
+ fill="currentColor"
627
+ height="1em"
628
+ stroke="currentColor"
629
+ stroke-width="0"
630
+ viewBox="0 0 24 24"
631
+ width="1em"
632
+ xmlns="http://www.w3.org/2000/svg"
633
+ >
634
+ <path
635
+ d="M0 0h24v24H0V0z"
636
+ fill="none"
637
+ />
638
+ <path
639
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
640
+ />
641
+ </svg>
642
+ </span>
643
+ </div>
644
+ <div
645
+ class="scrollview snap horizontal notIndicator scrollView"
646
+ style="width: 360px;"
647
+ >
648
+ <div
649
+ class="view item"
650
+ >
651
+ <div
652
+ class="view image"
653
+ style="background-image: url(https://picsum.photos/seed/@soyjavi/1024/768); height: 230px; width: 360px;"
654
+ />
655
+ </div>
656
+ <div
657
+ class="view item"
658
+ >
659
+ <div
660
+ class="view image"
661
+ style="background-image: url(https://picsum.photos/seed/@jose/1024/768); height: 230px; width: 360px;"
662
+ />
663
+ </div>
664
+ <div
665
+ class="view item"
666
+ >
667
+ <div
668
+ class="view image"
669
+ style="background-image: url(https://picsum.photos/seed/@mario1/1024/768); height: 230px; width: 360px;"
670
+ />
671
+ </div>
672
+ <div
673
+ class="view item"
674
+ >
675
+ <div
676
+ class="view image"
677
+ style="background-image: url(https://picsum.photos/seed/@victor/1024/768); height: 230px; width: 360px;"
678
+ />
679
+ </div>
680
+ <div
681
+ class="view item"
682
+ >
683
+ <div
684
+ class="view image"
685
+ style="background-image: url(https://picsum.photos/seed/@svet/1024/768); height: 230px; width: 360px;"
686
+ />
687
+ </div>
688
+ <div
689
+ class="view item"
690
+ >
691
+ <div
692
+ class="view image"
693
+ style="background-image: url(https://picsum.photos/seed/@mario2/1024/768); height: 230px; width: 360px;"
694
+ />
695
+ </div>
696
+ </div>
697
+ <div
698
+ class="pressable button hide second"
699
+ >
700
+ <span
701
+ class="icon headline-3"
702
+ >
703
+ <svg
704
+ fill="currentColor"
705
+ height="1em"
706
+ stroke="currentColor"
707
+ stroke-width="0"
708
+ viewBox="0 0 24 24"
709
+ width="1em"
710
+ xmlns="http://www.w3.org/2000/svg"
711
+ >
712
+ <path
713
+ d="M0 0h24v24H0V0z"
714
+ fill="none"
715
+ />
716
+ <path
717
+ d="m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
718
+ />
719
+ </svg>
720
+ </span>
721
+ </div>
722
+ <div
723
+ class="view progress progress"
724
+ >
725
+ <div
726
+ class="view value"
727
+ style="width: 0%;"
484
728
  />
485
- </ui_scrollview>
486
- </ui_view>
729
+ </div>
730
+ </div>
487
731
  </DocumentFragment>
488
732
  `;
489
733
 
490
- exports[`component:<Slider> prop:index 1`] = `
734
+ exports[`component:<Slider> prop:onCounter 1`] = `
491
735
  <DocumentFragment>
492
- <ui_view
736
+ <div
493
737
  class="view container"
494
738
  style="width: 360px;"
495
739
  >
496
- <ui_pressable
497
- class="pressable button hide back"
498
- tabindex="0"
740
+ <div
741
+ class="pressable button hide first"
499
742
  >
500
- <ui_icon
501
- class="icon h3"
743
+ <span
744
+ class="icon headline-3"
502
745
  >
503
746
  <svg
504
747
  fill="currentColor"
@@ -517,67 +760,66 @@ exports[`component:<Slider> prop:index 1`] = `
517
760
  d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
518
761
  />
519
762
  </svg>
520
- </ui_icon>
521
- </ui_pressable>
522
- <ui_scrollview
763
+ </span>
764
+ </div>
765
+ <div
523
766
  class="scrollview snap horizontal notIndicator scrollView"
524
767
  style="width: 360px;"
525
768
  >
526
- <ui_view
769
+ <div
527
770
  class="view item"
528
771
  >
529
- <ui_view
772
+ <div
530
773
  class="view image"
531
- style="height: 230px; width: 360px;"
774
+ style="background-image: url(https://picsum.photos/seed/@soyjavi/1024/768); height: 230px; width: 360px;"
532
775
  />
533
- </ui_view>
534
- <ui_view
776
+ </div>
777
+ <div
535
778
  class="view item"
536
779
  >
537
- <ui_view
780
+ <div
538
781
  class="view image"
539
- style="height: 230px; width: 360px;"
782
+ style="background-image: url(https://picsum.photos/seed/@jose/1024/768); height: 230px; width: 360px;"
540
783
  />
541
- </ui_view>
542
- <ui_view
784
+ </div>
785
+ <div
543
786
  class="view item"
544
787
  >
545
- <ui_view
788
+ <div
546
789
  class="view image"
547
790
  style="background-image: url(https://picsum.photos/seed/@mario1/1024/768); height: 230px; width: 360px;"
548
791
  />
549
- </ui_view>
550
- <ui_view
792
+ </div>
793
+ <div
551
794
  class="view item"
552
795
  >
553
- <ui_view
796
+ <div
554
797
  class="view image"
555
798
  style="background-image: url(https://picsum.photos/seed/@victor/1024/768); height: 230px; width: 360px;"
556
799
  />
557
- </ui_view>
558
- <ui_view
800
+ </div>
801
+ <div
559
802
  class="view item"
560
803
  >
561
- <ui_view
804
+ <div
562
805
  class="view image"
563
806
  style="background-image: url(https://picsum.photos/seed/@svet/1024/768); height: 230px; width: 360px;"
564
807
  />
565
- </ui_view>
566
- <ui_view
808
+ </div>
809
+ <div
567
810
  class="view item"
568
811
  >
569
- <ui_view
812
+ <div
570
813
  class="view image"
571
814
  style="background-image: url(https://picsum.photos/seed/@mario2/1024/768); height: 230px; width: 360px;"
572
815
  />
573
- </ui_view>
574
- </ui_scrollview>
575
- <ui_pressable
576
- class="pressable button hide forward"
577
- tabindex="0"
816
+ </div>
817
+ </div>
818
+ <div
819
+ class="pressable button hide second"
578
820
  >
579
- <ui_icon
580
- class="icon h3"
821
+ <span
822
+ class="icon headline-3"
581
823
  >
582
824
  <svg
583
825
  fill="currentColor"
@@ -593,27 +835,56 @@ exports[`component:<Slider> prop:index 1`] = `
593
835
  fill="none"
594
836
  />
595
837
  <path
596
- d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
838
+ d="m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
597
839
  />
598
840
  </svg>
599
- </ui_icon>
600
- </ui_pressable>
601
- </ui_view>
841
+ </span>
842
+ </div>
843
+ <div
844
+ class="pressable overlay counter"
845
+ >
846
+ <span
847
+ class="icon action"
848
+ >
849
+ <svg
850
+ fill="currentColor"
851
+ height="1em"
852
+ stroke="currentColor"
853
+ stroke-width="0"
854
+ viewBox="0 0 24 24"
855
+ width="1em"
856
+ xmlns="http://www.w3.org/2000/svg"
857
+ >
858
+ <path
859
+ d="M0 0h24v24H0V0z"
860
+ fill="none"
861
+ />
862
+ <path
863
+ d="M20 4v12H8V4h12m0-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 9.67 1.69 2.26 2.48-3.1L19 15H9zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"
864
+ />
865
+ </svg>
866
+ </span>
867
+ <span
868
+ class="text bold small"
869
+ >
870
+ 6
871
+ </span>
872
+ </div>
873
+ </div>
602
874
  </DocumentFragment>
603
875
  `;
604
876
 
605
- exports[`component:<Slider> renders 1`] = `
877
+ exports[`component:<Slider> prop:replay (false) 1`] = `
606
878
  <DocumentFragment>
607
- <ui_view
879
+ <div
608
880
  class="view container"
609
881
  style="width: 360px;"
610
882
  >
611
- <ui_pressable
612
- class="pressable button hide back"
613
- tabindex="0"
883
+ <div
884
+ class="pressable button hide first"
614
885
  >
615
- <ui_icon
616
- class="icon h3"
886
+ <span
887
+ class="icon headline-3"
617
888
  >
618
889
  <svg
619
890
  fill="currentColor"
@@ -632,67 +903,179 @@ exports[`component:<Slider> renders 1`] = `
632
903
  d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
633
904
  />
634
905
  </svg>
635
- </ui_icon>
636
- </ui_pressable>
637
- <ui_scrollview
906
+ </span>
907
+ </div>
908
+ <div
638
909
  class="scrollview snap horizontal notIndicator scrollView"
639
910
  style="width: 360px;"
640
911
  >
641
- <ui_view
912
+ <div
642
913
  class="view item"
643
914
  >
644
- <ui_view
915
+ <div
645
916
  class="view image"
646
917
  style="background-image: url(https://picsum.photos/seed/@soyjavi/1024/768); height: 230px; width: 360px;"
647
918
  />
648
- </ui_view>
649
- <ui_view
919
+ </div>
920
+ <div
650
921
  class="view item"
651
922
  >
652
- <ui_view
923
+ <div
653
924
  class="view image"
654
925
  style="background-image: url(https://picsum.photos/seed/@jose/1024/768); height: 230px; width: 360px;"
655
926
  />
656
- </ui_view>
657
- <ui_view
927
+ </div>
928
+ <div
658
929
  class="view item"
659
930
  >
660
- <ui_view
931
+ <div
661
932
  class="view image"
662
933
  style="background-image: url(https://picsum.photos/seed/@mario1/1024/768); height: 230px; width: 360px;"
663
934
  />
664
- </ui_view>
665
- <ui_view
935
+ </div>
936
+ <div
666
937
  class="view item"
667
938
  >
668
- <ui_view
939
+ <div
669
940
  class="view image"
670
941
  style="height: 230px; width: 360px;"
671
942
  />
672
- </ui_view>
673
- <ui_view
943
+ </div>
944
+ <div
674
945
  class="view item"
675
946
  >
676
- <ui_view
947
+ <div
677
948
  class="view image"
678
949
  style="height: 230px; width: 360px;"
679
950
  />
680
- </ui_view>
681
- <ui_view
951
+ </div>
952
+ <div
682
953
  class="view item"
683
954
  >
684
- <ui_view
955
+ <div
685
956
  class="view image"
686
957
  style="height: 230px; width: 360px;"
687
958
  />
688
- </ui_view>
689
- </ui_scrollview>
690
- <ui_pressable
691
- class="pressable button hide forward"
692
- tabindex="0"
959
+ </div>
960
+ </div>
961
+ <div
962
+ class="pressable button hide second"
963
+ >
964
+ <span
965
+ class="icon headline-3"
966
+ >
967
+ <svg
968
+ fill="currentColor"
969
+ height="1em"
970
+ stroke="currentColor"
971
+ stroke-width="0"
972
+ viewBox="0 0 24 24"
973
+ width="1em"
974
+ xmlns="http://www.w3.org/2000/svg"
975
+ >
976
+ <path
977
+ d="M0 0h24v24H0V0z"
978
+ fill="none"
979
+ />
980
+ <path
981
+ d="m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
982
+ />
983
+ </svg>
984
+ </span>
985
+ </div>
986
+ </div>
987
+ </DocumentFragment>
988
+ `;
989
+
990
+ exports[`component:<Slider> renders 1`] = `
991
+ <DocumentFragment>
992
+ <div
993
+ class="view container"
994
+ style="width: 360px;"
995
+ >
996
+ <div
997
+ class="pressable button hide first"
998
+ >
999
+ <span
1000
+ class="icon headline-3"
1001
+ >
1002
+ <svg
1003
+ fill="currentColor"
1004
+ height="1em"
1005
+ stroke="currentColor"
1006
+ stroke-width="0"
1007
+ viewBox="0 0 24 24"
1008
+ width="1em"
1009
+ xmlns="http://www.w3.org/2000/svg"
1010
+ >
1011
+ <path
1012
+ d="M0 0h24v24H0V0z"
1013
+ fill="none"
1014
+ />
1015
+ <path
1016
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
1017
+ />
1018
+ </svg>
1019
+ </span>
1020
+ </div>
1021
+ <div
1022
+ class="scrollview snap horizontal notIndicator scrollView"
1023
+ style="width: 360px;"
1024
+ >
1025
+ <div
1026
+ class="view item"
1027
+ >
1028
+ <div
1029
+ class="view image"
1030
+ style="background-image: url(https://picsum.photos/seed/@soyjavi/1024/768); height: 230px; width: 360px;"
1031
+ />
1032
+ </div>
1033
+ <div
1034
+ class="view item"
1035
+ >
1036
+ <div
1037
+ class="view image"
1038
+ style="background-image: url(https://picsum.photos/seed/@jose/1024/768); height: 230px; width: 360px;"
1039
+ />
1040
+ </div>
1041
+ <div
1042
+ class="view item"
1043
+ >
1044
+ <div
1045
+ class="view image"
1046
+ style="background-image: url(https://picsum.photos/seed/@mario1/1024/768); height: 230px; width: 360px;"
1047
+ />
1048
+ </div>
1049
+ <div
1050
+ class="view item"
1051
+ >
1052
+ <div
1053
+ class="view image"
1054
+ style="background-image: url(https://picsum.photos/seed/@victor/1024/768); height: 230px; width: 360px;"
1055
+ />
1056
+ </div>
1057
+ <div
1058
+ class="view item"
1059
+ >
1060
+ <div
1061
+ class="view image"
1062
+ style="background-image: url(https://picsum.photos/seed/@svet/1024/768); height: 230px; width: 360px;"
1063
+ />
1064
+ </div>
1065
+ <div
1066
+ class="view item"
1067
+ >
1068
+ <div
1069
+ class="view image"
1070
+ style="background-image: url(https://picsum.photos/seed/@mario2/1024/768); height: 230px; width: 360px;"
1071
+ />
1072
+ </div>
1073
+ </div>
1074
+ <div
1075
+ class="pressable button hide second"
693
1076
  >
694
- <ui_icon
695
- class="icon h3"
1077
+ <span
1078
+ class="icon headline-3"
696
1079
  >
697
1080
  <svg
698
1081
  fill="currentColor"
@@ -708,28 +1091,27 @@ exports[`component:<Slider> renders 1`] = `
708
1091
  fill="none"
709
1092
  />
710
1093
  <path
711
- d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
1094
+ d="m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
712
1095
  />
713
1096
  </svg>
714
- </ui_icon>
715
- </ui_pressable>
716
- </ui_view>
1097
+ </span>
1098
+ </div>
1099
+ </div>
717
1100
  </DocumentFragment>
718
1101
  `;
719
1102
 
720
1103
  exports[`component:<Slider> testId 1`] = `
721
1104
  <DocumentFragment>
722
- <ui_view
1105
+ <div
723
1106
  class="view container"
724
1107
  data-testid="mirai"
725
1108
  style="width: 360px;"
726
1109
  >
727
- <ui_pressable
728
- class="pressable button hide back"
729
- tabindex="0"
1110
+ <div
1111
+ class="pressable button hide first"
730
1112
  >
731
- <ui_icon
732
- class="icon h3"
1113
+ <span
1114
+ class="icon headline-3"
733
1115
  >
734
1116
  <svg
735
1117
  fill="currentColor"
@@ -748,67 +1130,66 @@ exports[`component:<Slider> testId 1`] = `
748
1130
  d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
749
1131
  />
750
1132
  </svg>
751
- </ui_icon>
752
- </ui_pressable>
753
- <ui_scrollview
1133
+ </span>
1134
+ </div>
1135
+ <div
754
1136
  class="scrollview snap horizontal notIndicator scrollView"
755
1137
  style="width: 360px;"
756
1138
  >
757
- <ui_view
1139
+ <div
758
1140
  class="view item"
759
1141
  >
760
- <ui_view
1142
+ <div
761
1143
  class="view image"
762
1144
  style="background-image: url(https://picsum.photos/seed/@soyjavi/1024/768); height: 230px; width: 360px;"
763
1145
  />
764
- </ui_view>
765
- <ui_view
1146
+ </div>
1147
+ <div
766
1148
  class="view item"
767
1149
  >
768
- <ui_view
1150
+ <div
769
1151
  class="view image"
770
1152
  style="background-image: url(https://picsum.photos/seed/@jose/1024/768); height: 230px; width: 360px;"
771
1153
  />
772
- </ui_view>
773
- <ui_view
1154
+ </div>
1155
+ <div
774
1156
  class="view item"
775
1157
  >
776
- <ui_view
1158
+ <div
777
1159
  class="view image"
778
1160
  style="background-image: url(https://picsum.photos/seed/@mario1/1024/768); height: 230px; width: 360px;"
779
1161
  />
780
- </ui_view>
781
- <ui_view
1162
+ </div>
1163
+ <div
782
1164
  class="view item"
783
1165
  >
784
- <ui_view
1166
+ <div
785
1167
  class="view image"
786
- style="height: 230px; width: 360px;"
1168
+ style="background-image: url(https://picsum.photos/seed/@victor/1024/768); height: 230px; width: 360px;"
787
1169
  />
788
- </ui_view>
789
- <ui_view
1170
+ </div>
1171
+ <div
790
1172
  class="view item"
791
1173
  >
792
- <ui_view
1174
+ <div
793
1175
  class="view image"
794
- style="height: 230px; width: 360px;"
1176
+ style="background-image: url(https://picsum.photos/seed/@svet/1024/768); height: 230px; width: 360px;"
795
1177
  />
796
- </ui_view>
797
- <ui_view
1178
+ </div>
1179
+ <div
798
1180
  class="view item"
799
1181
  >
800
- <ui_view
1182
+ <div
801
1183
  class="view image"
802
- style="height: 230px; width: 360px;"
1184
+ style="background-image: url(https://picsum.photos/seed/@mario2/1024/768); height: 230px; width: 360px;"
803
1185
  />
804
- </ui_view>
805
- </ui_scrollview>
806
- <ui_pressable
807
- class="pressable button hide forward"
808
- tabindex="0"
1186
+ </div>
1187
+ </div>
1188
+ <div
1189
+ class="pressable button hide second"
809
1190
  >
810
- <ui_icon
811
- class="icon h3"
1191
+ <span
1192
+ class="icon headline-3"
812
1193
  >
813
1194
  <svg
814
1195
  fill="currentColor"
@@ -824,11 +1205,11 @@ exports[`component:<Slider> testId 1`] = `
824
1205
  fill="none"
825
1206
  />
826
1207
  <path
827
- d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
1208
+ d="m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"
828
1209
  />
829
1210
  </svg>
830
- </ui_icon>
831
- </ui_pressable>
832
- </ui_view>
1211
+ </span>
1212
+ </div>
1213
+ </div>
833
1214
  </DocumentFragment>
834
1215
  `;