@ebay/skin 16.4.0-0 → 16.5.0-0
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/_cdn/skin/v16.5.0-0/skin-default.min.css +6 -0
- package/_cdn/skin/v16.5.0-0/skin-full.min.css +6 -0
- package/_cdn/skin/v16.5.0-0/skin-headless.min.css +6 -0
- package/_cdn/skin/v16.5.0-0/skin-legacy.min.css +6 -0
- package/dist/field/field.css +17 -0
- package/dist/lightbox-dialog/lightbox-dialog.css +32 -0
- package/dist/segmented-buttons/segmented-buttons.css +1 -0
- package/dist/toggle-button/toggle-button.css +8 -2
- package/dist/toggle-button-group/toggle-button-group.css +88 -0
- package/index.browser.json +1 -0
- package/index.css +1 -0
- package/index.js +1 -0
- package/index.mjs +1 -0
- package/package.json +2 -2
- package/scripts/generate-imports/config.json +1 -0
- package/src/less/bundles/skin-headless.less +1 -0
- package/src/less/field/field.less +23 -0
- package/src/less/field/stories/helper-texts-stacked.stories.js +114 -0
- package/src/less/lightbox-dialog/lightbox-dialog.less +42 -0
- package/src/less/lightbox-dialog/stories/lightbox-dialog.stories.js +114 -0
- package/src/less/segmented-buttons/segmented-buttons.less +1 -0
- package/src/less/toggle-button/stories/gallery-layout.stories.js +13 -0
- package/src/less/toggle-button/toggle-button.less +14 -2
- package/src/less/toggle-button-group/stories/gallery-layout.stories.js +566 -0
- package/src/less/toggle-button-group/stories/list-layout.stories.js +611 -0
- package/src/less/toggle-button-group/stories/minimal-layout.stories.js +341 -0
- package/src/less/toggle-button-group/toggle-button-group.less +111 -0
- package/toggle-button-group.browser.json +1 -0
- package/toggle-button-group.css +1 -0
- package/toggle-button-group.js +1 -0
- package/toggle-button-group.mjs +1 -0
- package/_cdn/skin/v16.4.0-0/skin-default.min.css +0 -6
- package/_cdn/skin/v16.4.0-0/skin-full.min.css +0 -6
- package/_cdn/skin/v16.4.0-0/skin-headless.min.css +0 -6
- package/_cdn/skin/v16.4.0-0/skin-legacy.min.css +0 -6
|
@@ -0,0 +1,566 @@
|
|
|
1
|
+
export default { title: "Skin/Toggle Button Group/Gallery Layout" };
|
|
2
|
+
|
|
3
|
+
export const _2Column = () => `
|
|
4
|
+
<ul aria-label="Buttons" class="toggle-button-group toggle-button-group--gallery-layout" data-columns="2">
|
|
5
|
+
<li>
|
|
6
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
7
|
+
<span class="toggle-button__image-container">
|
|
8
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-profile-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
9
|
+
</span>
|
|
10
|
+
</span>
|
|
11
|
+
<span class="toggle-button__content">
|
|
12
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
13
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
14
|
+
</span>
|
|
15
|
+
</button>
|
|
16
|
+
</li>
|
|
17
|
+
<li>
|
|
18
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
19
|
+
<span class="toggle-button__image-container">
|
|
20
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-landscape-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
21
|
+
</span>
|
|
22
|
+
</span>
|
|
23
|
+
<span class="toggle-button__content">
|
|
24
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
25
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
26
|
+
</span>
|
|
27
|
+
</button>
|
|
28
|
+
</li>
|
|
29
|
+
<li>
|
|
30
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
31
|
+
<span class="toggle-button__image-container">
|
|
32
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-square-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 30%;">
|
|
33
|
+
</span>
|
|
34
|
+
</span>
|
|
35
|
+
<span class="toggle-button__content">
|
|
36
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
37
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
38
|
+
</span>
|
|
39
|
+
</button>
|
|
40
|
+
</li>
|
|
41
|
+
<li>
|
|
42
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
43
|
+
<span class="toggle-button__image-container">
|
|
44
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-profile-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
45
|
+
</span>
|
|
46
|
+
</span>
|
|
47
|
+
<span class="toggle-button__content">
|
|
48
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
49
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
50
|
+
</span>
|
|
51
|
+
</button>
|
|
52
|
+
</li>
|
|
53
|
+
<li>
|
|
54
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
55
|
+
<span class="toggle-button__image-container">
|
|
56
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-landscape-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
57
|
+
</span>
|
|
58
|
+
</span>
|
|
59
|
+
<span class="toggle-button__content">
|
|
60
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
61
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
62
|
+
</span>
|
|
63
|
+
</button>
|
|
64
|
+
</li>
|
|
65
|
+
<li>
|
|
66
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
67
|
+
<span class="toggle-button__image-container">
|
|
68
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-square-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
69
|
+
</span>
|
|
70
|
+
</span>
|
|
71
|
+
<span class="toggle-button__content">
|
|
72
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
73
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
74
|
+
</span>
|
|
75
|
+
</button>
|
|
76
|
+
</li>
|
|
77
|
+
<li>
|
|
78
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
79
|
+
<span class="toggle-button__image-container">
|
|
80
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-profile-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
81
|
+
</span>
|
|
82
|
+
</span>
|
|
83
|
+
<span class="toggle-button__content">
|
|
84
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
85
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
86
|
+
</span>
|
|
87
|
+
</button>
|
|
88
|
+
</li>
|
|
89
|
+
<li>
|
|
90
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
91
|
+
<span class="toggle-button__image-container">
|
|
92
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-landscape-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
93
|
+
</span>
|
|
94
|
+
</span>
|
|
95
|
+
<span class="toggle-button__content">
|
|
96
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
97
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
98
|
+
</span>
|
|
99
|
+
</button>
|
|
100
|
+
</li>
|
|
101
|
+
<li>
|
|
102
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
103
|
+
<span class="toggle-button__image-container">
|
|
104
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-square-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
105
|
+
</span>
|
|
106
|
+
</span>
|
|
107
|
+
<span class="toggle-button__content">
|
|
108
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
109
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
110
|
+
</span>
|
|
111
|
+
</button>
|
|
112
|
+
</li>
|
|
113
|
+
</ul>
|
|
114
|
+
`;
|
|
115
|
+
|
|
116
|
+
export const _3Column = () => `
|
|
117
|
+
<ul aria-label="Buttons" class="toggle-button-group toggle-button-group--gallery-layout" data-columns="3">
|
|
118
|
+
<li>
|
|
119
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
120
|
+
<span class="toggle-button__image-container">
|
|
121
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-profile-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
122
|
+
</span>
|
|
123
|
+
</span>
|
|
124
|
+
<span class="toggle-button__content">
|
|
125
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
126
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
127
|
+
</span>
|
|
128
|
+
</button>
|
|
129
|
+
</li>
|
|
130
|
+
<li>
|
|
131
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
132
|
+
<span class="toggle-button__image-container">
|
|
133
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-landscape-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
134
|
+
</span>
|
|
135
|
+
</span>
|
|
136
|
+
<span class="toggle-button__content">
|
|
137
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
138
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
139
|
+
</span>
|
|
140
|
+
</button>
|
|
141
|
+
</li>
|
|
142
|
+
<li>
|
|
143
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
144
|
+
<span class="toggle-button__image-container">
|
|
145
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-square-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 30%;">
|
|
146
|
+
</span>
|
|
147
|
+
</span>
|
|
148
|
+
<span class="toggle-button__content">
|
|
149
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
150
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
151
|
+
</span>
|
|
152
|
+
</button>
|
|
153
|
+
</li>
|
|
154
|
+
<li>
|
|
155
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
156
|
+
<span class="toggle-button__image-container">
|
|
157
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-profile-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
158
|
+
</span>
|
|
159
|
+
</span>
|
|
160
|
+
<span class="toggle-button__content">
|
|
161
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
162
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
163
|
+
</span>
|
|
164
|
+
</button>
|
|
165
|
+
</li>
|
|
166
|
+
<li>
|
|
167
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
168
|
+
<span class="toggle-button__image-container">
|
|
169
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-landscape-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
170
|
+
</span>
|
|
171
|
+
</span>
|
|
172
|
+
<span class="toggle-button__content">
|
|
173
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
174
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
175
|
+
</span>
|
|
176
|
+
</button>
|
|
177
|
+
</li>
|
|
178
|
+
<li>
|
|
179
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
180
|
+
<span class="toggle-button__image-container">
|
|
181
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-square-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
182
|
+
</span>
|
|
183
|
+
</span>
|
|
184
|
+
<span class="toggle-button__content">
|
|
185
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
186
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
187
|
+
</span>
|
|
188
|
+
</button>
|
|
189
|
+
</li>
|
|
190
|
+
<li>
|
|
191
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
192
|
+
<span class="toggle-button__image-container">
|
|
193
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-profile-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
194
|
+
</span>
|
|
195
|
+
</span>
|
|
196
|
+
<span class="toggle-button__content">
|
|
197
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
198
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
199
|
+
</span>
|
|
200
|
+
</button>
|
|
201
|
+
</li>
|
|
202
|
+
<li>
|
|
203
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
204
|
+
<span class="toggle-button__image-container">
|
|
205
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-landscape-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
206
|
+
</span>
|
|
207
|
+
</span>
|
|
208
|
+
<span class="toggle-button__content">
|
|
209
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
210
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
211
|
+
</span>
|
|
212
|
+
</button>
|
|
213
|
+
</li>
|
|
214
|
+
<li>
|
|
215
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
216
|
+
<span class="toggle-button__image-container">
|
|
217
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-square-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
218
|
+
</span>
|
|
219
|
+
</span>
|
|
220
|
+
<span class="toggle-button__content">
|
|
221
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
222
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
223
|
+
</span>
|
|
224
|
+
</button>
|
|
225
|
+
</li>
|
|
226
|
+
</ul>
|
|
227
|
+
`;
|
|
228
|
+
|
|
229
|
+
export const _4Column = () => `
|
|
230
|
+
<ul aria-label="Buttons" class="toggle-button-group toggle-button-group--gallery-layout" data-columns="4">
|
|
231
|
+
<li>
|
|
232
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
233
|
+
<span class="toggle-button__image-container">
|
|
234
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-profile-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
235
|
+
</span>
|
|
236
|
+
</span>
|
|
237
|
+
<span class="toggle-button__content">
|
|
238
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
239
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
240
|
+
</span>
|
|
241
|
+
</button>
|
|
242
|
+
</li>
|
|
243
|
+
<li>
|
|
244
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
245
|
+
<span class="toggle-button__image-container">
|
|
246
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-landscape-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
247
|
+
</span>
|
|
248
|
+
</span>
|
|
249
|
+
<span class="toggle-button__content">
|
|
250
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
251
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
252
|
+
</span>
|
|
253
|
+
</button>
|
|
254
|
+
</li>
|
|
255
|
+
<li>
|
|
256
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
257
|
+
<span class="toggle-button__image-container">
|
|
258
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-square-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 30%;">
|
|
259
|
+
</span>
|
|
260
|
+
</span>
|
|
261
|
+
<span class="toggle-button__content">
|
|
262
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
263
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
264
|
+
</span>
|
|
265
|
+
</button>
|
|
266
|
+
</li>
|
|
267
|
+
<li>
|
|
268
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
269
|
+
<span class="toggle-button__image-container">
|
|
270
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-profile-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
271
|
+
</span>
|
|
272
|
+
</span>
|
|
273
|
+
<span class="toggle-button__content">
|
|
274
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
275
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
276
|
+
</span>
|
|
277
|
+
</button>
|
|
278
|
+
</li>
|
|
279
|
+
<li>
|
|
280
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
281
|
+
<span class="toggle-button__image-container">
|
|
282
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-landscape-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
283
|
+
</span>
|
|
284
|
+
</span>
|
|
285
|
+
<span class="toggle-button__content">
|
|
286
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
287
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
288
|
+
</span>
|
|
289
|
+
</button>
|
|
290
|
+
</li>
|
|
291
|
+
<li>
|
|
292
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
293
|
+
<span class="toggle-button__image-container">
|
|
294
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-square-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
295
|
+
</span>
|
|
296
|
+
</span>
|
|
297
|
+
<span class="toggle-button__content">
|
|
298
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
299
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
300
|
+
</span>
|
|
301
|
+
</button>
|
|
302
|
+
</li>
|
|
303
|
+
<li>
|
|
304
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
305
|
+
<span class="toggle-button__image-container">
|
|
306
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-profile-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
307
|
+
</span>
|
|
308
|
+
</span>
|
|
309
|
+
<span class="toggle-button__content">
|
|
310
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
311
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
312
|
+
</span>
|
|
313
|
+
</button>
|
|
314
|
+
</li>
|
|
315
|
+
<li>
|
|
316
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
317
|
+
<span class="toggle-button__image-container">
|
|
318
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-landscape-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
319
|
+
</span>
|
|
320
|
+
</span>
|
|
321
|
+
<span class="toggle-button__content">
|
|
322
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
323
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
324
|
+
</span>
|
|
325
|
+
</button>
|
|
326
|
+
</li>
|
|
327
|
+
<li>
|
|
328
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
329
|
+
<span class="toggle-button__image-container">
|
|
330
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-square-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
331
|
+
</span>
|
|
332
|
+
</span>
|
|
333
|
+
<span class="toggle-button__content">
|
|
334
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
335
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
336
|
+
</span>
|
|
337
|
+
</button>
|
|
338
|
+
</li>
|
|
339
|
+
</ul>
|
|
340
|
+
`;
|
|
341
|
+
|
|
342
|
+
export const _5Column = () => `
|
|
343
|
+
<ul aria-label="Buttons" class="toggle-button-group toggle-button-group--gallery-layout" data-columns="5">
|
|
344
|
+
<li>
|
|
345
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
346
|
+
<span class="toggle-button__image-container">
|
|
347
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-profile-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
348
|
+
</span>
|
|
349
|
+
</span>
|
|
350
|
+
<span class="toggle-button__content">
|
|
351
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
352
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
353
|
+
</span>
|
|
354
|
+
</button>
|
|
355
|
+
</li>
|
|
356
|
+
<li>
|
|
357
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
358
|
+
<span class="toggle-button__image-container">
|
|
359
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-landscape-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
360
|
+
</span>
|
|
361
|
+
</span>
|
|
362
|
+
<span class="toggle-button__content">
|
|
363
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
364
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
365
|
+
</span>
|
|
366
|
+
</button>
|
|
367
|
+
</li>
|
|
368
|
+
<li>
|
|
369
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
370
|
+
<span class="toggle-button__image-container">
|
|
371
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-square-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 30%;">
|
|
372
|
+
</span>
|
|
373
|
+
</span>
|
|
374
|
+
<span class="toggle-button__content">
|
|
375
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
376
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
377
|
+
</span>
|
|
378
|
+
</button>
|
|
379
|
+
</li>
|
|
380
|
+
<li>
|
|
381
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
382
|
+
<span class="toggle-button__image-container">
|
|
383
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-profile-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
384
|
+
</span>
|
|
385
|
+
</span>
|
|
386
|
+
<span class="toggle-button__content">
|
|
387
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
388
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
389
|
+
</span>
|
|
390
|
+
</button>
|
|
391
|
+
</li>
|
|
392
|
+
<li>
|
|
393
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
394
|
+
<span class="toggle-button__image-container">
|
|
395
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-landscape-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
396
|
+
</span>
|
|
397
|
+
</span>
|
|
398
|
+
<span class="toggle-button__content">
|
|
399
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
400
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
401
|
+
</span>
|
|
402
|
+
</button>
|
|
403
|
+
</li>
|
|
404
|
+
<li>
|
|
405
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
406
|
+
<span class="toggle-button__image-container">
|
|
407
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-square-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
408
|
+
</span>
|
|
409
|
+
</span>
|
|
410
|
+
<span class="toggle-button__content">
|
|
411
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
412
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
413
|
+
</span>
|
|
414
|
+
</button>
|
|
415
|
+
</li>
|
|
416
|
+
<li>
|
|
417
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
418
|
+
<span class="toggle-button__image-container">
|
|
419
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-profile-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
420
|
+
</span>
|
|
421
|
+
</span>
|
|
422
|
+
<span class="toggle-button__content">
|
|
423
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
424
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
425
|
+
</span>
|
|
426
|
+
</button>
|
|
427
|
+
</li>
|
|
428
|
+
<li>
|
|
429
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
430
|
+
<span class="toggle-button__image-container">
|
|
431
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-landscape-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
432
|
+
</span>
|
|
433
|
+
</span>
|
|
434
|
+
<span class="toggle-button__content">
|
|
435
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
436
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
437
|
+
</span>
|
|
438
|
+
</button>
|
|
439
|
+
</li>
|
|
440
|
+
<li>
|
|
441
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
442
|
+
<span class="toggle-button__image-container">
|
|
443
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-square-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
444
|
+
</span>
|
|
445
|
+
</span>
|
|
446
|
+
<span class="toggle-button__content">
|
|
447
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
448
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
449
|
+
</span>
|
|
450
|
+
</button>
|
|
451
|
+
</li>
|
|
452
|
+
</ul>
|
|
453
|
+
`;
|
|
454
|
+
|
|
455
|
+
export const _6Column = () => `
|
|
456
|
+
<ul aria-label="Buttons" class="toggle-button-group toggle-button-group--gallery-layout" data-columns="6">
|
|
457
|
+
<li>
|
|
458
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
459
|
+
<span class="toggle-button__image-container">
|
|
460
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-profile-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
461
|
+
</span>
|
|
462
|
+
</span>
|
|
463
|
+
<span class="toggle-button__content">
|
|
464
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
465
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
466
|
+
</span>
|
|
467
|
+
</button>
|
|
468
|
+
</li>
|
|
469
|
+
<li>
|
|
470
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
471
|
+
<span class="toggle-button__image-container">
|
|
472
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-landscape-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
473
|
+
</span>
|
|
474
|
+
</span>
|
|
475
|
+
<span class="toggle-button__content">
|
|
476
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
477
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
478
|
+
</span>
|
|
479
|
+
</button>
|
|
480
|
+
</li>
|
|
481
|
+
<li>
|
|
482
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
483
|
+
<span class="toggle-button__image-container">
|
|
484
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-square-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 30%;">
|
|
485
|
+
</span>
|
|
486
|
+
</span>
|
|
487
|
+
<span class="toggle-button__content">
|
|
488
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
489
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
490
|
+
</span>
|
|
491
|
+
</button>
|
|
492
|
+
</li>
|
|
493
|
+
<li>
|
|
494
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
495
|
+
<span class="toggle-button__image-container">
|
|
496
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-profile-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
497
|
+
</span>
|
|
498
|
+
</span>
|
|
499
|
+
<span class="toggle-button__content">
|
|
500
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
501
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
502
|
+
</span>
|
|
503
|
+
</button>
|
|
504
|
+
</li>
|
|
505
|
+
<li>
|
|
506
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
507
|
+
<span class="toggle-button__image-container">
|
|
508
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-landscape-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
509
|
+
</span>
|
|
510
|
+
</span>
|
|
511
|
+
<span class="toggle-button__content">
|
|
512
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
513
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
514
|
+
</span>
|
|
515
|
+
</button>
|
|
516
|
+
</li>
|
|
517
|
+
<li>
|
|
518
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
519
|
+
<span class="toggle-button__image-container">
|
|
520
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-square-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
521
|
+
</span>
|
|
522
|
+
</span>
|
|
523
|
+
<span class="toggle-button__content">
|
|
524
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
525
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
526
|
+
</span>
|
|
527
|
+
</button>
|
|
528
|
+
</li>
|
|
529
|
+
<li>
|
|
530
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
531
|
+
<span class="toggle-button__image-container">
|
|
532
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-profile-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
533
|
+
</span>
|
|
534
|
+
</span>
|
|
535
|
+
<span class="toggle-button__content">
|
|
536
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
537
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
538
|
+
</span>
|
|
539
|
+
</button>
|
|
540
|
+
</li>
|
|
541
|
+
<li>
|
|
542
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
543
|
+
<span class="toggle-button__image-container">
|
|
544
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-landscape-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
545
|
+
</span>
|
|
546
|
+
</span>
|
|
547
|
+
<span class="toggle-button__content">
|
|
548
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
549
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
550
|
+
</span>
|
|
551
|
+
</button>
|
|
552
|
+
</li>
|
|
553
|
+
<li>
|
|
554
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
555
|
+
<span class="toggle-button__image-container">
|
|
556
|
+
<span class="toggle-button__image" style="background-image: url(https://ir.ebaystatic.com/cr/v/c01/skin/docs/tb-square-pic.jpg); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
557
|
+
</span>
|
|
558
|
+
</span>
|
|
559
|
+
<span class="toggle-button__content">
|
|
560
|
+
<span class="toggle-button__title">Gallery Layout Title</span>
|
|
561
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
562
|
+
</span>
|
|
563
|
+
</button>
|
|
564
|
+
</li>
|
|
565
|
+
</ul>
|
|
566
|
+
`;
|