@mirai/ui 1.1.0-f → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +109 -60
- package/build/components/Action/Action.js +1 -1
- package/build/components/Action/Action.js.map +1 -1
- package/build/components/Action/Action.module.css +4 -7
- package/build/components/Action/Action.stories.js +1 -1
- package/build/components/Action/Action.stories.js.map +1 -1
- package/build/components/Action/__tests__/__snapshots__/Action.test.js.snap +26 -40
- package/build/components/Button/Button.module.css +30 -33
- package/build/components/Button/Button.stories.js +9 -0
- package/build/components/Button/Button.stories.js.map +1 -1
- package/build/components/Button/__tests__/__snapshots__/Button.test.js.snap +21 -30
- package/build/components/Calendar/Calendar.Month.js +12 -8
- package/build/components/Calendar/Calendar.Month.js.map +1 -1
- package/build/components/Calendar/Calendar.Week.js +7 -10
- package/build/components/Calendar/Calendar.Week.js.map +1 -1
- package/build/components/Calendar/Calendar.js +10 -2
- package/build/components/Calendar/Calendar.js.map +1 -1
- package/build/components/Calendar/Calendar.module.css +8 -9
- package/build/components/Calendar/__tests__/__snapshots__/Calendar.test.jsx.snap +15768 -15800
- package/build/components/Form/Form.constants.js +1 -1
- package/build/components/Form/Form.constants.js.map +1 -1
- package/build/components/Form/Form.js +3 -1
- package/build/components/Form/Form.js.map +1 -1
- package/build/components/Form/Form.stories.js +6 -1
- package/build/components/Form/Form.stories.js.map +1 -1
- package/build/components/Form/__tests__/__snapshots__/Form.test.jsx.snap +9 -9
- package/build/components/InputDate/__tests__/__snapshots__/InputDate.test.js.snap +42 -42
- package/build/components/InputNumber/InputNumber.js +2 -1
- package/build/components/InputNumber/InputNumber.js.map +1 -1
- package/build/components/InputNumber/__tests__/__snapshots__/InputNumber.test.js.snap +138 -153
- package/build/components/InputOption/InputOption.js +8 -1
- package/build/components/InputOption/InputOption.js.map +1 -1
- package/build/components/InputOption/InputOption.module.css +13 -2
- package/build/components/InputOption/InputOption.stories.js +2 -1
- package/build/components/InputOption/InputOption.stories.js.map +1 -1
- package/build/components/InputOption/__tests__/__snapshots__/InputOption.test.js.snap +96 -90
- package/build/components/InputPhone/InputPhone.js +23 -20
- package/build/components/InputPhone/InputPhone.js.map +1 -1
- package/build/components/InputPhone/InputPhone.module.css +19 -6
- package/build/components/InputPhone/InputPhone.stories.js +3 -3
- package/build/components/InputPhone/InputPhone.stories.js.map +1 -1
- package/build/components/InputPhone/__tests__/__snapshots__/InputPhone.test.js.snap +410 -410
- package/build/components/InputPhone/helpers/index.js +11 -0
- package/build/components/InputPhone/helpers/index.js.map +1 -1
- package/build/components/InputPhone/helpers/sanitizePrefixes.js +24 -0
- package/build/components/InputPhone/helpers/sanitizePrefixes.js.map +1 -0
- package/build/components/InputSelect/InputSelect.js +3 -5
- package/build/components/InputSelect/InputSelect.js.map +1 -1
- package/build/components/InputSelect/InputSelect.stories.js +1 -0
- package/build/components/InputSelect/InputSelect.stories.js.map +1 -1
- package/build/components/InputSelect/__tests__/__snapshots__/InputSelect.test.js.snap +136 -136
- package/build/components/InputSelect/partials/InputSelect.Expand.js +23 -0
- package/build/components/InputSelect/partials/InputSelect.Expand.js.map +1 -0
- package/build/components/InputSelect/partials/index.js +17 -0
- package/build/components/InputSelect/partials/index.js.map +1 -0
- package/build/components/InputText/InputText.js +6 -4
- package/build/components/InputText/InputText.js.map +1 -1
- package/build/components/InputText/InputText.module.css +18 -6
- package/build/components/InputText/InputText.stories.js +7 -2
- package/build/components/InputText/InputText.stories.js.map +1 -1
- package/build/components/InputText/__tests__/__snapshots__/InputText.test.js.snap +142 -143
- package/build/components/Menu/__tests__/__snapshots__/Menu.test.jsx.snap +72 -70
- package/build/components/Modal/Modal.js +15 -8
- package/build/components/Modal/Modal.js.map +1 -1
- package/build/components/Modal/Modal.module.css +30 -14
- package/build/components/Modal/Modal.stories.js +1 -0
- package/build/components/Modal/Modal.stories.js.map +1 -1
- package/build/components/Modal/__tests__/__snapshots__/Modal.test.js.snap +92 -98
- package/build/components/Notification/Notification.js +20 -12
- package/build/components/Notification/Notification.js.map +1 -1
- package/build/components/Notification/Notification.module.css +44 -58
- package/build/components/Notification/Notification.stories.js +15 -2
- package/build/components/Notification/Notification.stories.js.map +1 -1
- package/build/components/Notification/__tests__/__snapshots__/Notification.test.js.snap +600 -254
- package/build/components/Progress/Progress.js +2 -0
- package/build/components/Progress/Progress.js.map +1 -1
- package/build/components/Progress/__tests__/__snapshots__/Progress.test.jsx.snap +18 -18
- package/build/components/Slider/Slider.constants.js +3 -1
- package/build/components/Slider/Slider.constants.js.map +1 -1
- package/build/components/Slider/Slider.js +67 -66
- package/build/components/Slider/Slider.js.map +1 -1
- package/build/components/Slider/Slider.module.css +55 -52
- package/build/components/Slider/Slider.stories.js +9 -6
- package/build/components/Slider/Slider.stories.js.map +1 -1
- package/build/components/Slider/__tests__/__snapshots__/Slider.test.js.snap +714 -333
- package/build/components/Table/Table.ColumnFilter.js +17 -14
- package/build/components/Table/Table.ColumnFilter.js.map +1 -1
- package/build/components/Table/Table.Row.js +2 -1
- package/build/components/Table/Table.Row.js.map +1 -1
- package/build/components/Table/Table.constants.js +3 -1
- package/build/components/Table/Table.constants.js.map +1 -1
- package/build/components/Table/Table.js +54 -17
- package/build/components/Table/Table.js.map +1 -1
- package/build/components/Table/Table.module.css +12 -6
- package/build/components/Table/Table.stories.js +39 -19
- package/build/components/Table/Table.stories.js.map +1 -1
- package/build/components/Table/Table.stories.module.css +4 -5
- package/build/components/Table/__tests__/__snapshots__/Table.ColumnFilter.test.js.snap +221 -240
- package/build/components/Table/__tests__/__snapshots__/Table.test.js.snap +1725 -1085
- package/build/components/Table/helpers/exists.js +2 -3
- package/build/components/Table/helpers/exists.js.map +1 -1
- package/build/components/Table/helpers/select.js +24 -16
- package/build/components/Table/helpers/select.js.map +1 -1
- package/build/components/Tooltip/Tooltip.js +29 -6
- package/build/components/Tooltip/Tooltip.js.map +1 -1
- package/build/components/Tooltip/__tests__/__snapshots__/Tooltip.test.jsx.snap +51 -44
- package/build/components/index.js +11 -0
- package/build/components/index.js.map +1 -1
- package/build/helpers/getInputPhoneErrors.js +3 -2
- package/build/helpers/getInputPhoneErrors.js.map +1 -1
- package/build/hooks/useDevice.js +1 -1
- package/build/hooks/useDevice.js.map +1 -1
- package/build/primitives/Checkbox/Checkbox.js +4 -3
- package/build/primitives/Checkbox/Checkbox.js.map +1 -1
- package/build/primitives/Checkbox/Checkbox.module.css +42 -6
- package/build/primitives/Checkbox/__tests__/__snapshots__/Checkbox.test.js.snap +47 -16
- package/build/primitives/Icon/Icon.constants.js +43 -21
- package/build/primitives/Icon/Icon.constants.js.map +1 -1
- package/build/primitives/Icon/Icon.js +15 -5
- package/build/primitives/Icon/Icon.js.map +1 -1
- package/build/primitives/Icon/Icon.module.css +32 -19
- package/build/primitives/Icon/Icon.stories.js +5 -0
- package/build/primitives/Icon/Icon.stories.js.map +1 -1
- package/build/primitives/Icon/__tests__/__snapshots__/Icon.test.js.snap +291 -100
- package/build/primitives/Input/Input.js +9 -3
- package/build/primitives/Input/Input.js.map +1 -1
- package/build/primitives/Input/Input.stories.js +2 -0
- package/build/primitives/Input/Input.stories.js.map +1 -1
- package/build/primitives/Input/__tests__/__snapshots__/Input.test.js.snap +22 -0
- package/build/primitives/Layer/Layer.js +11 -5
- package/build/primitives/Layer/Layer.js.map +1 -1
- package/build/primitives/Layer/Layer.module.css +4 -0
- package/build/primitives/Layer/__tests__/__snapshots__/Layer.test.js.snap +78 -42
- package/build/primitives/Layer/helpers/index.js +11 -0
- package/build/primitives/Layer/helpers/index.js.map +1 -1
- package/build/primitives/Layer/helpers/isComponentFixed.js +32 -0
- package/build/primitives/Layer/helpers/isComponentFixed.js.map +1 -0
- package/build/primitives/Pressable/Pressable.constants.js +1 -1
- package/build/primitives/Pressable/Pressable.constants.js.map +1 -1
- package/build/primitives/Pressable/Pressable.js +3 -7
- package/build/primitives/Pressable/Pressable.js.map +1 -1
- package/build/primitives/Pressable/Pressable.module.css +0 -1
- package/build/primitives/Pressable/__tests__/__snapshots__/Pressable.test.js.snap +10 -14
- package/build/primitives/Primitive/Primitive.js +2 -2
- package/build/primitives/Primitive/Primitive.js.map +1 -1
- package/build/primitives/Primitive/__tests__/__snapshots__/Primitive.test.js.snap +7 -7
- package/build/primitives/Primitive/helpers/index.js +0 -11
- package/build/primitives/Primitive/helpers/index.js.map +1 -1
- package/build/primitives/Radio/Radio.js +1 -1
- package/build/primitives/Radio/Radio.js.map +1 -1
- package/build/primitives/Radio/Radio.module.css +18 -2
- package/build/primitives/Radio/__tests__/__snapshots__/Radio.test.js.snap +21 -21
- package/build/primitives/ScrollView/ScrollView.js +1 -1
- package/build/primitives/ScrollView/ScrollView.js.map +1 -1
- package/build/primitives/ScrollView/ScrollView.module.css +1 -0
- package/build/primitives/ScrollView/ScrollView.stories.js +5 -6
- package/build/primitives/ScrollView/ScrollView.stories.js.map +1 -1
- package/build/primitives/ScrollView/__tests__/__snapshots__/ScrollView.test.js.snap +20 -20
- package/build/primitives/Select/Select.js +13 -6
- package/build/primitives/Select/Select.js.map +1 -1
- package/build/primitives/Select/Select.stories.js +1 -0
- package/build/primitives/Select/Select.stories.js.map +1 -1
- package/build/primitives/Select/__tests__/__snapshots__/Select.test.js.snap +36 -0
- package/build/primitives/Switch/Switch.js +5 -3
- package/build/primitives/Switch/Switch.js.map +1 -1
- package/build/primitives/Switch/Switch.module.css +36 -8
- package/build/primitives/Switch/Switch.stories.js +1 -0
- package/build/primitives/Switch/Switch.stories.js.map +1 -1
- package/build/primitives/Switch/__tests__/__snapshots__/Switch.test.js.snap +88 -25
- package/build/primitives/Text/Text.js +12 -5
- package/build/primitives/Text/Text.js.map +1 -1
- package/build/primitives/Text/Text.module.css +29 -14
- package/build/primitives/Text/Text.stories.js +4 -0
- package/build/primitives/Text/Text.stories.js.map +1 -1
- package/build/primitives/Text/__tests__/__snapshots__/Text.test.js.snap +78 -38
- package/build/primitives/View/View.js +1 -1
- package/build/primitives/View/View.js.map +1 -1
- package/build/primitives/View/__tests__/__snapshots__/View.test.js.snap +10 -10
- package/build/theme/default.theme.css +54 -53
- package/build/theme/theme.constants.js +3 -1
- package/build/theme/theme.constants.js.map +1 -1
- package/build/theme/theme.js +34 -11
- package/build/theme/theme.js.map +1 -1
- package/package.json +4 -5
- package/build/primitives/Primitive/helpers/getTag.js +0 -33
- package/build/primitives/Primitive/helpers/getTag.js.map +0 -1
|
@@ -2,16 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`component:<Slider> inherit:className 1`] = `
|
|
4
4
|
<DocumentFragment>
|
|
5
|
-
<
|
|
6
|
-
class="view
|
|
5
|
+
<div
|
|
6
|
+
class="view container mirai"
|
|
7
7
|
style="width: 360px;"
|
|
8
8
|
>
|
|
9
|
-
<
|
|
10
|
-
class="pressable button hide
|
|
11
|
-
tabindex="0"
|
|
9
|
+
<div
|
|
10
|
+
class="pressable button hide first"
|
|
12
11
|
>
|
|
13
|
-
<
|
|
14
|
-
class="icon
|
|
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
|
-
</
|
|
34
|
-
</
|
|
35
|
-
<
|
|
32
|
+
</span>
|
|
33
|
+
</div>
|
|
34
|
+
<div
|
|
36
35
|
class="scrollview snap horizontal notIndicator scrollView"
|
|
37
36
|
style="width: 360px;"
|
|
38
37
|
>
|
|
39
|
-
<
|
|
38
|
+
<div
|
|
40
39
|
class="view item"
|
|
41
40
|
>
|
|
42
|
-
<
|
|
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
|
-
</
|
|
47
|
-
<
|
|
45
|
+
</div>
|
|
46
|
+
<div
|
|
48
47
|
class="view item"
|
|
49
48
|
>
|
|
50
|
-
<
|
|
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
|
-
</
|
|
55
|
-
<
|
|
53
|
+
</div>
|
|
54
|
+
<div
|
|
56
55
|
class="view item"
|
|
57
56
|
>
|
|
58
|
-
<
|
|
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
|
-
</
|
|
63
|
-
<
|
|
61
|
+
</div>
|
|
62
|
+
<div
|
|
64
63
|
class="view item"
|
|
65
64
|
>
|
|
66
|
-
<
|
|
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
|
-
</
|
|
71
|
-
<
|
|
69
|
+
</div>
|
|
70
|
+
<div
|
|
72
71
|
class="view item"
|
|
73
72
|
>
|
|
74
|
-
<
|
|
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
|
-
</
|
|
79
|
-
<
|
|
77
|
+
</div>
|
|
78
|
+
<div
|
|
80
79
|
class="view item"
|
|
81
80
|
>
|
|
82
|
-
<
|
|
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
|
-
</
|
|
87
|
-
</
|
|
88
|
-
<
|
|
89
|
-
class="pressable button hide
|
|
90
|
-
tabindex="0"
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
<div
|
|
88
|
+
class="pressable button hide second"
|
|
91
89
|
>
|
|
92
|
-
<
|
|
93
|
-
class="icon
|
|
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="
|
|
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
|
-
</
|
|
113
|
-
</
|
|
114
|
-
</
|
|
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
|
-
<
|
|
121
|
-
class="view
|
|
118
|
+
<div
|
|
119
|
+
class="view container"
|
|
122
120
|
style="width: 360px;"
|
|
123
121
|
>
|
|
124
|
-
<
|
|
125
|
-
class="pressable button hide
|
|
126
|
-
tabindex="0"
|
|
122
|
+
<div
|
|
123
|
+
class="pressable button hide first"
|
|
127
124
|
>
|
|
128
|
-
<
|
|
129
|
-
class="icon
|
|
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
|
-
</
|
|
149
|
-
</
|
|
150
|
-
<
|
|
145
|
+
</span>
|
|
146
|
+
</div>
|
|
147
|
+
<div
|
|
151
148
|
class="scrollview snap horizontal notIndicator scrollView"
|
|
152
149
|
style="width: 360px;"
|
|
153
150
|
>
|
|
154
|
-
<
|
|
151
|
+
<div
|
|
155
152
|
class="view item"
|
|
156
153
|
>
|
|
157
|
-
<
|
|
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
|
-
</
|
|
162
|
-
<
|
|
158
|
+
</div>
|
|
159
|
+
<div
|
|
163
160
|
class="view item"
|
|
164
161
|
>
|
|
165
|
-
<
|
|
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
|
-
</
|
|
170
|
-
<
|
|
166
|
+
</div>
|
|
167
|
+
<div
|
|
171
168
|
class="view item"
|
|
172
169
|
>
|
|
173
|
-
<
|
|
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
|
-
</
|
|
178
|
-
<
|
|
174
|
+
</div>
|
|
175
|
+
<div
|
|
179
176
|
class="view item"
|
|
180
177
|
>
|
|
181
|
-
<
|
|
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
|
-
</
|
|
186
|
-
<
|
|
182
|
+
</div>
|
|
183
|
+
<div
|
|
187
184
|
class="view item"
|
|
188
185
|
>
|
|
189
|
-
<
|
|
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
|
-
</
|
|
194
|
-
<
|
|
190
|
+
</div>
|
|
191
|
+
<div
|
|
195
192
|
class="view item"
|
|
196
193
|
>
|
|
197
|
-
<
|
|
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
|
-
</
|
|
202
|
-
</
|
|
203
|
-
<
|
|
204
|
-
class="pressable button hide
|
|
205
|
-
tabindex="0"
|
|
198
|
+
</div>
|
|
199
|
+
</div>
|
|
200
|
+
<div
|
|
201
|
+
class="pressable button hide second"
|
|
206
202
|
>
|
|
207
|
-
<
|
|
208
|
-
class="icon
|
|
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="
|
|
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
|
-
</
|
|
228
|
-
</
|
|
229
|
-
</
|
|
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
|
-
<
|
|
236
|
-
class="view
|
|
344
|
+
<div
|
|
345
|
+
class="view container"
|
|
237
346
|
style="width: 360px;"
|
|
238
347
|
>
|
|
239
|
-
<
|
|
240
|
-
class="pressable button hide
|
|
241
|
-
tabindex="0"
|
|
348
|
+
<div
|
|
349
|
+
class="pressable button hide first"
|
|
242
350
|
>
|
|
243
|
-
<
|
|
244
|
-
class="icon
|
|
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
|
-
</
|
|
264
|
-
</
|
|
265
|
-
<
|
|
371
|
+
</span>
|
|
372
|
+
</div>
|
|
373
|
+
<div
|
|
266
374
|
class="scrollview snap horizontal notIndicator scrollView"
|
|
267
375
|
style="width: 360px;"
|
|
268
376
|
>
|
|
269
|
-
<
|
|
377
|
+
<div
|
|
270
378
|
class="view item"
|
|
271
379
|
>
|
|
272
|
-
<
|
|
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
|
-
<
|
|
384
|
+
<div
|
|
277
385
|
class="view caption"
|
|
278
386
|
>
|
|
279
|
-
<
|
|
280
|
-
class="text bold small text"
|
|
387
|
+
<span
|
|
388
|
+
class="text bold small overlay text"
|
|
281
389
|
>
|
|
282
390
|
javi
|
|
283
|
-
</
|
|
284
|
-
</
|
|
285
|
-
</
|
|
286
|
-
<
|
|
391
|
+
</span>
|
|
392
|
+
</div>
|
|
393
|
+
</div>
|
|
394
|
+
<div
|
|
287
395
|
class="view item"
|
|
288
396
|
>
|
|
289
|
-
<
|
|
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
|
-
<
|
|
401
|
+
<div
|
|
294
402
|
class="view caption"
|
|
295
403
|
>
|
|
296
|
-
<
|
|
297
|
-
class="text bold small text"
|
|
404
|
+
<span
|
|
405
|
+
class="text bold small overlay text"
|
|
298
406
|
>
|
|
299
407
|
jose
|
|
300
|
-
</
|
|
301
|
-
</
|
|
302
|
-
</
|
|
303
|
-
<
|
|
408
|
+
</span>
|
|
409
|
+
</div>
|
|
410
|
+
</div>
|
|
411
|
+
<div
|
|
304
412
|
class="view item"
|
|
305
413
|
>
|
|
306
|
-
<
|
|
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
|
-
</
|
|
311
|
-
<
|
|
418
|
+
</div>
|
|
419
|
+
<div
|
|
312
420
|
class="view item"
|
|
313
421
|
>
|
|
314
|
-
<
|
|
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
|
-
<
|
|
426
|
+
<div
|
|
319
427
|
class="view caption"
|
|
320
428
|
>
|
|
321
|
-
<
|
|
322
|
-
class="text bold small text"
|
|
429
|
+
<span
|
|
430
|
+
class="text bold small overlay text"
|
|
323
431
|
>
|
|
324
432
|
victor
|
|
325
|
-
</
|
|
326
|
-
</
|
|
327
|
-
</
|
|
328
|
-
<
|
|
433
|
+
</span>
|
|
434
|
+
</div>
|
|
435
|
+
</div>
|
|
436
|
+
<div
|
|
329
437
|
class="view item"
|
|
330
438
|
>
|
|
331
|
-
<
|
|
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
|
-
<
|
|
443
|
+
<div
|
|
336
444
|
class="view caption"
|
|
337
445
|
>
|
|
338
|
-
<
|
|
339
|
-
class="text bold small text"
|
|
446
|
+
<span
|
|
447
|
+
class="text bold small overlay text"
|
|
340
448
|
>
|
|
341
449
|
svet
|
|
342
|
-
</
|
|
343
|
-
</
|
|
344
|
-
</
|
|
345
|
-
<
|
|
450
|
+
</span>
|
|
451
|
+
</div>
|
|
452
|
+
</div>
|
|
453
|
+
<div
|
|
346
454
|
class="view item"
|
|
347
455
|
>
|
|
348
|
-
<
|
|
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
|
-
<
|
|
460
|
+
<div
|
|
353
461
|
class="view caption"
|
|
354
462
|
>
|
|
355
|
-
<
|
|
356
|
-
class="text bold small text"
|
|
463
|
+
<span
|
|
464
|
+
class="text bold small overlay text"
|
|
357
465
|
>
|
|
358
466
|
mario2
|
|
359
|
-
</
|
|
360
|
-
</
|
|
361
|
-
</
|
|
362
|
-
</
|
|
363
|
-
<
|
|
364
|
-
class="pressable button hide
|
|
365
|
-
tabindex="0"
|
|
467
|
+
</span>
|
|
468
|
+
</div>
|
|
469
|
+
</div>
|
|
470
|
+
</div>
|
|
471
|
+
<div
|
|
472
|
+
class="pressable button hide second"
|
|
366
473
|
>
|
|
367
|
-
<
|
|
368
|
-
class="icon
|
|
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="
|
|
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
|
-
</
|
|
388
|
-
</
|
|
389
|
-
</
|
|
494
|
+
</span>
|
|
495
|
+
</div>
|
|
496
|
+
</div>
|
|
390
497
|
</DocumentFragment>
|
|
391
498
|
`;
|
|
392
499
|
|
|
393
|
-
exports[`component:<Slider> prop:
|
|
500
|
+
exports[`component:<Slider> prop:index 1`] = `
|
|
394
501
|
<DocumentFragment>
|
|
395
|
-
<
|
|
396
|
-
class="view
|
|
397
|
-
style="width:
|
|
502
|
+
<div
|
|
503
|
+
class="view container"
|
|
504
|
+
style="width: 360px;"
|
|
398
505
|
>
|
|
399
|
-
<
|
|
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:
|
|
533
|
+
style="width: 360px;"
|
|
402
534
|
>
|
|
403
|
-
<
|
|
535
|
+
<div
|
|
404
536
|
class="view item"
|
|
405
537
|
>
|
|
406
|
-
<
|
|
538
|
+
<div
|
|
407
539
|
class="view image"
|
|
408
|
-
style="background-image: url(https://picsum.photos/seed/@soyjavi/1024/768); height:
|
|
540
|
+
style="background-image: url(https://picsum.photos/seed/@soyjavi/1024/768); height: 230px; width: 360px;"
|
|
409
541
|
/>
|
|
410
|
-
</
|
|
411
|
-
<
|
|
542
|
+
</div>
|
|
543
|
+
<div
|
|
412
544
|
class="view item"
|
|
413
545
|
>
|
|
414
|
-
<
|
|
546
|
+
<div
|
|
415
547
|
class="view image"
|
|
416
|
-
style="background-image: url(https://picsum.photos/seed/@jose/1024/768); height:
|
|
548
|
+
style="background-image: url(https://picsum.photos/seed/@jose/1024/768); height: 230px; width: 360px;"
|
|
417
549
|
/>
|
|
418
|
-
</
|
|
419
|
-
<
|
|
550
|
+
</div>
|
|
551
|
+
<div
|
|
420
552
|
class="view item"
|
|
421
553
|
>
|
|
422
|
-
<
|
|
554
|
+
<div
|
|
423
555
|
class="view image"
|
|
424
|
-
style="background-image: url(https://picsum.photos/seed/@mario1/1024/768); height:
|
|
556
|
+
style="background-image: url(https://picsum.photos/seed/@mario1/1024/768); height: 230px; width: 360px;"
|
|
425
557
|
/>
|
|
426
|
-
</
|
|
427
|
-
<
|
|
558
|
+
</div>
|
|
559
|
+
<div
|
|
428
560
|
class="view item"
|
|
429
561
|
>
|
|
430
|
-
<
|
|
562
|
+
<div
|
|
431
563
|
class="view image"
|
|
432
|
-
style="background-image: url(https://picsum.photos/seed/@victor/1024/768); height:
|
|
564
|
+
style="background-image: url(https://picsum.photos/seed/@victor/1024/768); height: 230px; width: 360px;"
|
|
433
565
|
/>
|
|
434
|
-
</
|
|
435
|
-
<
|
|
566
|
+
</div>
|
|
567
|
+
<div
|
|
436
568
|
class="view item"
|
|
437
569
|
>
|
|
438
|
-
<
|
|
570
|
+
<div
|
|
439
571
|
class="view image"
|
|
440
|
-
style="background-image: url(https://picsum.photos/seed/@svet/1024/768); height:
|
|
572
|
+
style="background-image: url(https://picsum.photos/seed/@svet/1024/768); height: 230px; width: 360px;"
|
|
441
573
|
/>
|
|
442
|
-
</
|
|
443
|
-
<
|
|
574
|
+
</div>
|
|
575
|
+
<div
|
|
444
576
|
class="view item"
|
|
445
577
|
>
|
|
446
|
-
<
|
|
578
|
+
<div
|
|
447
579
|
class="view image"
|
|
448
|
-
style="background-image: url(https://picsum.photos/seed/@mario2/1024/768); height:
|
|
580
|
+
style="background-image: url(https://picsum.photos/seed/@mario2/1024/768); height: 230px; width: 360px;"
|
|
449
581
|
/>
|
|
450
|
-
</
|
|
451
|
-
</
|
|
452
|
-
<
|
|
453
|
-
class="
|
|
582
|
+
</div>
|
|
583
|
+
</div>
|
|
584
|
+
<div
|
|
585
|
+
class="pressable button hide second"
|
|
454
586
|
>
|
|
455
|
-
<
|
|
456
|
-
class="
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
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
|
-
</
|
|
486
|
-
</
|
|
729
|
+
</div>
|
|
730
|
+
</div>
|
|
487
731
|
</DocumentFragment>
|
|
488
732
|
`;
|
|
489
733
|
|
|
490
|
-
exports[`component:<Slider> prop:
|
|
734
|
+
exports[`component:<Slider> prop:onCounter 1`] = `
|
|
491
735
|
<DocumentFragment>
|
|
492
|
-
<
|
|
493
|
-
class="view
|
|
736
|
+
<div
|
|
737
|
+
class="view container"
|
|
494
738
|
style="width: 360px;"
|
|
495
739
|
>
|
|
496
|
-
<
|
|
497
|
-
class="pressable button hide
|
|
498
|
-
tabindex="0"
|
|
740
|
+
<div
|
|
741
|
+
class="pressable button hide first"
|
|
499
742
|
>
|
|
500
|
-
<
|
|
501
|
-
class="icon
|
|
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
|
-
</
|
|
521
|
-
</
|
|
522
|
-
<
|
|
763
|
+
</span>
|
|
764
|
+
</div>
|
|
765
|
+
<div
|
|
523
766
|
class="scrollview snap horizontal notIndicator scrollView"
|
|
524
767
|
style="width: 360px;"
|
|
525
768
|
>
|
|
526
|
-
<
|
|
769
|
+
<div
|
|
527
770
|
class="view item"
|
|
528
771
|
>
|
|
529
|
-
<
|
|
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
|
-
</
|
|
534
|
-
<
|
|
776
|
+
</div>
|
|
777
|
+
<div
|
|
535
778
|
class="view item"
|
|
536
779
|
>
|
|
537
|
-
<
|
|
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
|
-
</
|
|
542
|
-
<
|
|
784
|
+
</div>
|
|
785
|
+
<div
|
|
543
786
|
class="view item"
|
|
544
787
|
>
|
|
545
|
-
<
|
|
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
|
-
</
|
|
550
|
-
<
|
|
792
|
+
</div>
|
|
793
|
+
<div
|
|
551
794
|
class="view item"
|
|
552
795
|
>
|
|
553
|
-
<
|
|
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
|
-
</
|
|
558
|
-
<
|
|
800
|
+
</div>
|
|
801
|
+
<div
|
|
559
802
|
class="view item"
|
|
560
803
|
>
|
|
561
|
-
<
|
|
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
|
-
</
|
|
566
|
-
<
|
|
808
|
+
</div>
|
|
809
|
+
<div
|
|
567
810
|
class="view item"
|
|
568
811
|
>
|
|
569
|
-
<
|
|
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
|
-
</
|
|
574
|
-
</
|
|
575
|
-
<
|
|
576
|
-
class="pressable button hide
|
|
577
|
-
tabindex="0"
|
|
816
|
+
</div>
|
|
817
|
+
</div>
|
|
818
|
+
<div
|
|
819
|
+
class="pressable button hide second"
|
|
578
820
|
>
|
|
579
|
-
<
|
|
580
|
-
class="icon
|
|
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="
|
|
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
|
-
</
|
|
600
|
-
</
|
|
601
|
-
|
|
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>
|
|
877
|
+
exports[`component:<Slider> prop:replay (false) 1`] = `
|
|
606
878
|
<DocumentFragment>
|
|
607
|
-
<
|
|
608
|
-
class="view
|
|
879
|
+
<div
|
|
880
|
+
class="view container"
|
|
609
881
|
style="width: 360px;"
|
|
610
882
|
>
|
|
611
|
-
<
|
|
612
|
-
class="pressable button hide
|
|
613
|
-
tabindex="0"
|
|
883
|
+
<div
|
|
884
|
+
class="pressable button hide first"
|
|
614
885
|
>
|
|
615
|
-
<
|
|
616
|
-
class="icon
|
|
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
|
-
</
|
|
636
|
-
</
|
|
637
|
-
<
|
|
906
|
+
</span>
|
|
907
|
+
</div>
|
|
908
|
+
<div
|
|
638
909
|
class="scrollview snap horizontal notIndicator scrollView"
|
|
639
910
|
style="width: 360px;"
|
|
640
911
|
>
|
|
641
|
-
<
|
|
912
|
+
<div
|
|
642
913
|
class="view item"
|
|
643
914
|
>
|
|
644
|
-
<
|
|
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
|
-
</
|
|
649
|
-
<
|
|
919
|
+
</div>
|
|
920
|
+
<div
|
|
650
921
|
class="view item"
|
|
651
922
|
>
|
|
652
|
-
<
|
|
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
|
-
</
|
|
657
|
-
<
|
|
927
|
+
</div>
|
|
928
|
+
<div
|
|
658
929
|
class="view item"
|
|
659
930
|
>
|
|
660
|
-
<
|
|
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
|
-
</
|
|
665
|
-
<
|
|
935
|
+
</div>
|
|
936
|
+
<div
|
|
666
937
|
class="view item"
|
|
667
938
|
>
|
|
668
|
-
<
|
|
939
|
+
<div
|
|
669
940
|
class="view image"
|
|
670
941
|
style="height: 230px; width: 360px;"
|
|
671
942
|
/>
|
|
672
|
-
</
|
|
673
|
-
<
|
|
943
|
+
</div>
|
|
944
|
+
<div
|
|
674
945
|
class="view item"
|
|
675
946
|
>
|
|
676
|
-
<
|
|
947
|
+
<div
|
|
677
948
|
class="view image"
|
|
678
949
|
style="height: 230px; width: 360px;"
|
|
679
950
|
/>
|
|
680
|
-
</
|
|
681
|
-
<
|
|
951
|
+
</div>
|
|
952
|
+
<div
|
|
682
953
|
class="view item"
|
|
683
954
|
>
|
|
684
|
-
<
|
|
955
|
+
<div
|
|
685
956
|
class="view image"
|
|
686
957
|
style="height: 230px; width: 360px;"
|
|
687
958
|
/>
|
|
688
|
-
</
|
|
689
|
-
</
|
|
690
|
-
<
|
|
691
|
-
class="pressable button hide
|
|
692
|
-
|
|
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
|
-
<
|
|
695
|
-
class="icon
|
|
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="
|
|
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
|
-
</
|
|
715
|
-
</
|
|
716
|
-
</
|
|
1097
|
+
</span>
|
|
1098
|
+
</div>
|
|
1099
|
+
</div>
|
|
717
1100
|
</DocumentFragment>
|
|
718
1101
|
`;
|
|
719
1102
|
|
|
720
1103
|
exports[`component:<Slider> testId 1`] = `
|
|
721
1104
|
<DocumentFragment>
|
|
722
|
-
<
|
|
723
|
-
class="view
|
|
1105
|
+
<div
|
|
1106
|
+
class="view container"
|
|
724
1107
|
data-testid="mirai"
|
|
725
1108
|
style="width: 360px;"
|
|
726
1109
|
>
|
|
727
|
-
<
|
|
728
|
-
class="pressable button hide
|
|
729
|
-
tabindex="0"
|
|
1110
|
+
<div
|
|
1111
|
+
class="pressable button hide first"
|
|
730
1112
|
>
|
|
731
|
-
<
|
|
732
|
-
class="icon
|
|
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
|
-
</
|
|
752
|
-
</
|
|
753
|
-
<
|
|
1133
|
+
</span>
|
|
1134
|
+
</div>
|
|
1135
|
+
<div
|
|
754
1136
|
class="scrollview snap horizontal notIndicator scrollView"
|
|
755
1137
|
style="width: 360px;"
|
|
756
1138
|
>
|
|
757
|
-
<
|
|
1139
|
+
<div
|
|
758
1140
|
class="view item"
|
|
759
1141
|
>
|
|
760
|
-
<
|
|
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
|
-
</
|
|
765
|
-
<
|
|
1146
|
+
</div>
|
|
1147
|
+
<div
|
|
766
1148
|
class="view item"
|
|
767
1149
|
>
|
|
768
|
-
<
|
|
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
|
-
</
|
|
773
|
-
<
|
|
1154
|
+
</div>
|
|
1155
|
+
<div
|
|
774
1156
|
class="view item"
|
|
775
1157
|
>
|
|
776
|
-
<
|
|
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
|
-
</
|
|
781
|
-
<
|
|
1162
|
+
</div>
|
|
1163
|
+
<div
|
|
782
1164
|
class="view item"
|
|
783
1165
|
>
|
|
784
|
-
<
|
|
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
|
-
</
|
|
789
|
-
<
|
|
1170
|
+
</div>
|
|
1171
|
+
<div
|
|
790
1172
|
class="view item"
|
|
791
1173
|
>
|
|
792
|
-
<
|
|
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
|
-
</
|
|
797
|
-
<
|
|
1178
|
+
</div>
|
|
1179
|
+
<div
|
|
798
1180
|
class="view item"
|
|
799
1181
|
>
|
|
800
|
-
<
|
|
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
|
-
</
|
|
805
|
-
</
|
|
806
|
-
<
|
|
807
|
-
class="pressable button hide
|
|
808
|
-
tabindex="0"
|
|
1186
|
+
</div>
|
|
1187
|
+
</div>
|
|
1188
|
+
<div
|
|
1189
|
+
class="pressable button hide second"
|
|
809
1190
|
>
|
|
810
|
-
<
|
|
811
|
-
class="icon
|
|
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="
|
|
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
|
-
</
|
|
831
|
-
</
|
|
832
|
-
</
|
|
1211
|
+
</span>
|
|
1212
|
+
</div>
|
|
1213
|
+
</div>
|
|
833
1214
|
</DocumentFragment>
|
|
834
1215
|
`;
|