@ebay/skin 14.0.4 → 14.1.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/.storybook/preview-head.html +374 -55
- package/_cdn/skin/v14.1.0-0/skin-default.min.css +6 -0
- package/_cdn/skin/v14.1.0-0/skin-full.min.css +6 -0
- package/_cdn/skin/v14.1.0-0/skin-headless.min.css +6 -0
- package/_cdn/skin/v14.1.0-0/skin-legacy.min.css +6 -0
- package/dist/drawer-dialog/drawer-dialog.css +2 -2
- package/dist/floating-label/floating-label.css +7 -8
- package/dist/fullscreen-dialog/fullscreen-dialog.css +17 -20
- package/dist/icon/direction.css +4 -0
- package/dist/icon/general.css +102 -2
- package/dist/icon/icon.css +169 -13
- package/dist/icon/interface.css +34 -2
- package/dist/icon/internal.css +4 -0
- package/dist/icon/large.css +6 -2
- package/dist/icon/photo.css +15 -3
- package/dist/icon/shipping.css +2 -2
- package/dist/icon/user.css +2 -2
- package/dist/lightbox-dialog/lightbox-dialog.css +8 -11
- package/dist/link/link.css +1 -1
- package/dist/page-notice/page-notice.css +35 -14
- package/dist/panel-dialog/panel-dialog.css +8 -21
- package/dist/progress-stepper/progress-stepper.css +21 -6
- package/dist/select/select.css +10 -10
- package/dist/svg/direction.svg +5 -0
- package/dist/svg/general.svg +181 -8
- package/dist/svg/icons.svg +374 -55
- package/dist/svg/interface.svg +75 -10
- package/dist/svg/internal.svg +160 -77
- package/dist/svg/large.svg +14 -2
- package/dist/svg/photo.svg +104 -35
- package/dist/svg/shipping.svg +79 -48
- package/dist/svg/social.svg +2 -13
- package/dist/svg/user.svg +45 -25
- package/dist/textbox/textbox.css +4 -4
- package/package.json +1 -1
- package/src/less/floating-label/floating-label.less +8 -12
- package/src/less/floating-label/stories/floating-label.stories.js +41 -0
- package/src/less/fullscreen-dialog/fullscreen-dialog.less +14 -14
- package/src/less/fullscreen-dialog/stories/fullscreen-dialog.stories.js +33 -11
- package/src/less/gh/gh-mixins.less +51 -55
- package/src/less/icon/generated/direction.less +4 -0
- package/src/less/icon/generated/general.less +102 -2
- package/src/less/icon/generated/interface.less +34 -2
- package/src/less/icon/generated/internal.less +4 -0
- package/src/less/icon/generated/large.less +6 -2
- package/src/less/icon/generated/photo.less +15 -3
- package/src/less/icon/generated/shipping.less +2 -2
- package/src/less/icon/generated/user.less +2 -2
- package/src/less/lightbox-dialog/lightbox-dialog.less +7 -13
- package/src/less/lightbox-dialog/stories/lightbox-dialog.stories.js +38 -10
- package/src/less/link/link.less +1 -1
- package/src/less/mixins/private/dialog-mixins.less +13 -10
- package/src/less/page-notice/page-notice.less +42 -14
- package/src/less/page-notice/stories/page-notice.stories.js +43 -0
- package/src/less/panel-dialog/panel-dialog.less +8 -18
- package/src/less/panel-dialog/stories/panel-dialog.stories.js +32 -10
- package/src/less/progress-stepper/progress-stepper.less +24 -6
- package/src/less/progress-stepper/stories/progress-stepper.stories.js +108 -17
- package/src/less/select/select.less +11 -11
- package/src/less/textbox/textbox.less +5 -5
- package/src/svg/direction.svg +5 -0
- package/src/svg/general.svg +181 -8
- package/src/svg/icons.svg +374 -55
- package/src/svg/interface.svg +75 -10
- package/src/svg/internal.svg +160 -77
- package/src/svg/large.svg +14 -2
- package/src/svg/photo.svg +104 -35
- package/src/svg/shipping.svg +79 -48
- package/src/svg/social.svg +2 -13
- package/src/svg/user.svg +45 -25
- package/svg.svg +374 -55
- package/_cdn/skin/v14.0.4/skin-default.min.css +0 -6
- package/_cdn/skin/v14.0.4/skin-full.min.css +0 -6
- package/_cdn/skin/v14.0.4/skin-headless.min.css +0 -6
- package/_cdn/skin/v14.0.4/skin-legacy.min.css +0 -6
|
@@ -1,207 +1,203 @@
|
|
|
1
1
|
.alert-dialog-mixin() {
|
|
2
|
-
@import "
|
|
2
|
+
@import "../../../dist/alert-dialog/alert-dialog.css";
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.badge-mixin() {
|
|
6
|
-
@import "
|
|
6
|
+
@import "../../../dist/badge/badge.css";
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.breadcrumbs-mixin() {
|
|
10
|
-
@import "
|
|
10
|
+
@import "../../../dist/breadcrumbs/breadcrumbs.css";
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.button-mixin() {
|
|
14
|
-
@import "
|
|
14
|
+
@import "../../../dist/button/button.css";
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.carousel-mixin() {
|
|
18
|
-
@import "
|
|
18
|
+
@import "../../../dist/carousel/carousel.css";
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.checkbox-mixin() {
|
|
22
|
-
@import "
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.color-mixin() {
|
|
26
|
-
@import "../../../../dist/color/color.css";
|
|
22
|
+
@import "../../../dist/checkbox/checkbox.css";
|
|
27
23
|
}
|
|
28
24
|
|
|
29
25
|
.combobox-mixin() {
|
|
30
|
-
@import "
|
|
26
|
+
@import "../../../dist/combobox/combobox.css";
|
|
31
27
|
}
|
|
32
28
|
|
|
33
29
|
.confirm-dialog-mixin() {
|
|
34
|
-
@import "
|
|
30
|
+
@import "../../../dist/confirm-dialog/confirm-dialog.css";
|
|
35
31
|
}
|
|
36
32
|
|
|
37
33
|
.cta-button-mixin() {
|
|
38
|
-
@import "
|
|
34
|
+
@import "../../../dist/cta-button/cta-button.css";
|
|
39
35
|
}
|
|
40
36
|
|
|
41
37
|
.drawer-dialog-mixin() {
|
|
42
|
-
@import "
|
|
38
|
+
@import "../../../dist/drawer-dialog/drawer-dialog.css";
|
|
43
39
|
}
|
|
44
40
|
|
|
45
41
|
.eek-mixin() {
|
|
46
|
-
@import "
|
|
42
|
+
@import "../../../dist/eek/eek.css";
|
|
47
43
|
}
|
|
48
44
|
|
|
49
45
|
.expand-button-mixin() {
|
|
50
|
-
@import "
|
|
46
|
+
@import "../../../dist/expand-button/expand-button.css";
|
|
51
47
|
}
|
|
52
48
|
|
|
53
49
|
.field-mixin() {
|
|
54
|
-
@import "
|
|
50
|
+
@import "../../../dist/field/field.css";
|
|
55
51
|
}
|
|
56
52
|
|
|
57
53
|
.filter-button-mixin() {
|
|
58
|
-
@import "
|
|
54
|
+
@import "../../../dist/filter-button/filter-button.css";
|
|
59
55
|
}
|
|
60
56
|
|
|
61
57
|
.filter-menu-mixin() {
|
|
62
|
-
@import "
|
|
58
|
+
@import "../../../dist/filter-menu/filter-menu.css";
|
|
63
59
|
}
|
|
64
60
|
|
|
65
61
|
.filter-menu-button-mixin() {
|
|
66
|
-
@import "
|
|
62
|
+
@import "../../../dist/filter-menu-button/filter-menu-button.css";
|
|
67
63
|
}
|
|
68
64
|
|
|
69
65
|
.floating-label-mixin() {
|
|
70
|
-
@import "
|
|
66
|
+
@import "../../../dist/floating-label/floating-label.css";
|
|
71
67
|
}
|
|
72
68
|
|
|
73
69
|
.fullscreen-dialog-mixin() {
|
|
74
|
-
@import "
|
|
70
|
+
@import "../../../dist/fullscreen-dialog/fullscreen-dialog.css";
|
|
75
71
|
}
|
|
76
72
|
|
|
77
73
|
.global-mixin() {
|
|
78
|
-
@import "
|
|
74
|
+
@import "../../../dist/global/global.css";
|
|
79
75
|
}
|
|
80
76
|
|
|
81
77
|
.icon-mixin() {
|
|
82
|
-
@import "
|
|
78
|
+
@import "../../../dist/icon/icon.css";
|
|
83
79
|
}
|
|
84
80
|
|
|
85
81
|
.icon-button-mixin() {
|
|
86
|
-
@import "
|
|
82
|
+
@import "../../../dist/icon-button/icon-button.css";
|
|
87
83
|
}
|
|
88
84
|
|
|
89
85
|
.infotip-mixin() {
|
|
90
|
-
@import "
|
|
86
|
+
@import "../../../dist/infotip/infotip.css";
|
|
91
87
|
}
|
|
92
88
|
|
|
93
89
|
.inline-notice-mixin() {
|
|
94
|
-
@import "
|
|
90
|
+
@import "../../../dist/inline-notice/inline-notice.css";
|
|
95
91
|
}
|
|
96
92
|
|
|
97
93
|
.lightbox-dialog-mixin() {
|
|
98
|
-
@import "
|
|
94
|
+
@import "../../../dist/lightbox-dialog/lightbox-dialog.css";
|
|
99
95
|
}
|
|
100
96
|
|
|
101
97
|
.link-mixin() {
|
|
102
|
-
@import "
|
|
98
|
+
@import "../../../dist/link/link.css";
|
|
103
99
|
}
|
|
104
100
|
|
|
105
101
|
.listbox-mixin() {
|
|
106
|
-
@import "
|
|
102
|
+
@import "../../../dist/listbox/listbox.css";
|
|
107
103
|
}
|
|
108
104
|
|
|
109
105
|
.listbox-button-mixin() {
|
|
110
|
-
@import "
|
|
106
|
+
@import "../../../dist/listbox-button/listbox-button.css";
|
|
111
107
|
}
|
|
112
108
|
|
|
113
109
|
.menu-mixin() {
|
|
114
|
-
@import "
|
|
110
|
+
@import "../../../dist/menu/menu.css";
|
|
115
111
|
}
|
|
116
112
|
|
|
117
113
|
.menu-button-mixin() {
|
|
118
|
-
@import "
|
|
114
|
+
@import "../../../dist/menu-button/menu-button.css";
|
|
119
115
|
}
|
|
120
116
|
|
|
121
117
|
.page-grid-mixin() {
|
|
122
|
-
@import "
|
|
118
|
+
@import "../../../dist/page-grid/page-grid.css";
|
|
123
119
|
}
|
|
124
120
|
|
|
125
121
|
.page-notice-mixin() {
|
|
126
|
-
@import "
|
|
122
|
+
@import "../../../dist/page-notice/page-notice.css";
|
|
127
123
|
}
|
|
128
124
|
|
|
129
125
|
.pagination-mixin() {
|
|
130
|
-
@import "
|
|
126
|
+
@import "../../../dist/pagination/pagination.css";
|
|
131
127
|
}
|
|
132
128
|
|
|
133
129
|
.panel-dialog-mixin() {
|
|
134
|
-
@import "
|
|
130
|
+
@import "../../../dist/panel-dialog/panel-dialog.css";
|
|
135
131
|
}
|
|
136
132
|
|
|
137
133
|
.progress-bar-mixin() {
|
|
138
|
-
@import "
|
|
134
|
+
@import "../../../dist/progress-bar/progress-bar.css";
|
|
139
135
|
}
|
|
140
136
|
|
|
141
137
|
.progress-spinner-mixin() {
|
|
142
|
-
@import "
|
|
138
|
+
@import "../../../dist/progress-spinner/progress-spinner.css";
|
|
143
139
|
}
|
|
144
140
|
|
|
145
141
|
.progress-stepper-mixin() {
|
|
146
|
-
@import "
|
|
142
|
+
@import "../../../dist/progress-stepper/progress-stepper.css";
|
|
147
143
|
}
|
|
148
144
|
|
|
149
145
|
.radio-mixin() {
|
|
150
|
-
@import "
|
|
146
|
+
@import "../../../dist/radio/radio.css";
|
|
151
147
|
}
|
|
152
148
|
|
|
153
149
|
.section-notice-mixin() {
|
|
154
|
-
@import "
|
|
150
|
+
@import "../../../dist/section-notice/section-notice.css";
|
|
155
151
|
}
|
|
156
152
|
|
|
157
153
|
.section-title-mixin() {
|
|
158
|
-
@import "
|
|
154
|
+
@import "../../../dist/section-title/section-title.css";
|
|
159
155
|
}
|
|
160
156
|
|
|
161
157
|
.select-mixin() {
|
|
162
|
-
@import "
|
|
158
|
+
@import "../../../dist/select/select.css";
|
|
163
159
|
}
|
|
164
160
|
|
|
165
161
|
.signal-mixin() {
|
|
166
|
-
@import "
|
|
162
|
+
@import "../../../dist/signal/signal.css";
|
|
167
163
|
}
|
|
168
164
|
|
|
169
165
|
.snackbar-dialog-mixin() {
|
|
170
|
-
@import "
|
|
166
|
+
@import "../../../dist/snackbar-dialog/snackbar-dialog.css";
|
|
171
167
|
}
|
|
172
168
|
|
|
173
169
|
.switch-mixin() {
|
|
174
|
-
@import "
|
|
170
|
+
@import "../../../dist/switch/switch.css";
|
|
175
171
|
}
|
|
176
172
|
|
|
177
173
|
.tabs-mixin() {
|
|
178
|
-
@import "
|
|
174
|
+
@import "../../../dist/tabs/tabs.css";
|
|
179
175
|
}
|
|
180
176
|
|
|
181
177
|
.textbox-mixin() {
|
|
182
|
-
@import "
|
|
178
|
+
@import "../../../dist/textbox/textbox.css";
|
|
183
179
|
}
|
|
184
180
|
|
|
185
181
|
.toast-dialog-mixin() {
|
|
186
|
-
@import "
|
|
182
|
+
@import "../../../dist/toast-dialog/toast-dialog.css";
|
|
187
183
|
}
|
|
188
184
|
|
|
189
185
|
.tooltip-mixin() {
|
|
190
|
-
@import "
|
|
186
|
+
@import "../../../dist/tooltip/tooltip.css";
|
|
191
187
|
}
|
|
192
188
|
|
|
193
189
|
.tourtip-mixin() {
|
|
194
|
-
@import "
|
|
190
|
+
@import "../../../dist/tourtip/tourtip.css";
|
|
195
191
|
}
|
|
196
192
|
|
|
197
193
|
.typography-mixin() {
|
|
198
|
-
@import "
|
|
194
|
+
@import "../../../dist/typography/typography.css";
|
|
199
195
|
}
|
|
200
196
|
|
|
201
197
|
.utility-mixin() {
|
|
202
|
-
@import "
|
|
198
|
+
@import "../../../dist/utility/utility.css";
|
|
203
199
|
}
|
|
204
200
|
|
|
205
201
|
.window-notice-mixin() {
|
|
206
|
-
@import "
|
|
202
|
+
@import "../../../dist/window-notice/window-notice.css";
|
|
207
203
|
}
|
|
@@ -92,8 +92,8 @@ svg.icon--following {
|
|
|
92
92
|
width: 16px;
|
|
93
93
|
}
|
|
94
94
|
svg.icon--flag {
|
|
95
|
-
height:
|
|
96
|
-
width:
|
|
95
|
+
height: 24px;
|
|
96
|
+
width: 24px;
|
|
97
97
|
}
|
|
98
98
|
svg.icon--key {
|
|
99
99
|
height: 13.5px;
|
|
@@ -195,3 +195,103 @@ svg.icon--scan {
|
|
|
195
195
|
height: 24px;
|
|
196
196
|
width: 24px;
|
|
197
197
|
}
|
|
198
|
+
svg.icon--lightbulb-small {
|
|
199
|
+
height: 16px;
|
|
200
|
+
width: 16px;
|
|
201
|
+
}
|
|
202
|
+
svg.icon--visa-xsmall {
|
|
203
|
+
height: 13px;
|
|
204
|
+
width: 21px;
|
|
205
|
+
}
|
|
206
|
+
svg.icon--visa-small {
|
|
207
|
+
height: 19px;
|
|
208
|
+
width: 31px;
|
|
209
|
+
}
|
|
210
|
+
svg.icon--visa {
|
|
211
|
+
height: 25px;
|
|
212
|
+
width: 39px;
|
|
213
|
+
}
|
|
214
|
+
svg.icon--visa-large {
|
|
215
|
+
height: 33px;
|
|
216
|
+
width: 51px;
|
|
217
|
+
}
|
|
218
|
+
svg.icon--archive {
|
|
219
|
+
height: 24px;
|
|
220
|
+
width: 24px;
|
|
221
|
+
}
|
|
222
|
+
svg.icon--archive-small {
|
|
223
|
+
height: 16px;
|
|
224
|
+
width: 16px;
|
|
225
|
+
}
|
|
226
|
+
svg.icon--inbox {
|
|
227
|
+
height: 24px;
|
|
228
|
+
width: 24px;
|
|
229
|
+
}
|
|
230
|
+
svg.icon--inbox-small {
|
|
231
|
+
height: 16px;
|
|
232
|
+
width: 16px;
|
|
233
|
+
}
|
|
234
|
+
svg.icon--folder {
|
|
235
|
+
height: 24px;
|
|
236
|
+
width: 24px;
|
|
237
|
+
}
|
|
238
|
+
svg.icon--folder-small {
|
|
239
|
+
height: 16px;
|
|
240
|
+
width: 16px;
|
|
241
|
+
}
|
|
242
|
+
svg.icon--reply {
|
|
243
|
+
height: 24px;
|
|
244
|
+
width: 24px;
|
|
245
|
+
}
|
|
246
|
+
svg.icon--reply-small {
|
|
247
|
+
height: 16px;
|
|
248
|
+
width: 16px;
|
|
249
|
+
}
|
|
250
|
+
svg.icon--live-eye {
|
|
251
|
+
height: 24px;
|
|
252
|
+
width: 24px;
|
|
253
|
+
}
|
|
254
|
+
svg.icon--live-eye-small {
|
|
255
|
+
height: 16px;
|
|
256
|
+
width: 16px;
|
|
257
|
+
}
|
|
258
|
+
svg.icon--return {
|
|
259
|
+
height: 24px;
|
|
260
|
+
width: 24px;
|
|
261
|
+
}
|
|
262
|
+
svg.icon--return-small {
|
|
263
|
+
height: 16px;
|
|
264
|
+
width: 16px;
|
|
265
|
+
}
|
|
266
|
+
svg.icon--undo {
|
|
267
|
+
height: 25px;
|
|
268
|
+
width: 24px;
|
|
269
|
+
}
|
|
270
|
+
svg.icon--certified-recycle {
|
|
271
|
+
height: 24px;
|
|
272
|
+
width: 24px;
|
|
273
|
+
}
|
|
274
|
+
svg.icon--certified-recycle-small {
|
|
275
|
+
height: 16px;
|
|
276
|
+
width: 16px;
|
|
277
|
+
}
|
|
278
|
+
svg.icon--selling-medium {
|
|
279
|
+
height: 20px;
|
|
280
|
+
width: 20px;
|
|
281
|
+
}
|
|
282
|
+
svg.icon--sort-small {
|
|
283
|
+
height: 16px;
|
|
284
|
+
width: 16px;
|
|
285
|
+
}
|
|
286
|
+
svg.icon--sort-up-small {
|
|
287
|
+
height: 16px;
|
|
288
|
+
width: 16px;
|
|
289
|
+
}
|
|
290
|
+
svg.icon--sort-down-small {
|
|
291
|
+
height: 16px;
|
|
292
|
+
width: 16px;
|
|
293
|
+
}
|
|
294
|
+
svg.icon--flag-small {
|
|
295
|
+
height: 16px;
|
|
296
|
+
width: 16px;
|
|
297
|
+
}
|
|
@@ -76,8 +76,8 @@ svg.icon--share {
|
|
|
76
76
|
width: 24px;
|
|
77
77
|
}
|
|
78
78
|
svg.icon--messages {
|
|
79
|
-
height:
|
|
80
|
-
width:
|
|
79
|
+
height: 24px;
|
|
80
|
+
width: 24px;
|
|
81
81
|
}
|
|
82
82
|
svg.icon--send {
|
|
83
83
|
height: 19px;
|
|
@@ -139,3 +139,35 @@ svg.icon--zoom-out {
|
|
|
139
139
|
height: 24px;
|
|
140
140
|
width: 24px;
|
|
141
141
|
}
|
|
142
|
+
svg.icon--messages-small {
|
|
143
|
+
height: 16px;
|
|
144
|
+
width: 16px;
|
|
145
|
+
}
|
|
146
|
+
svg.icon--mail-open {
|
|
147
|
+
height: 24px;
|
|
148
|
+
width: 24px;
|
|
149
|
+
}
|
|
150
|
+
svg.icon--mail-open-small {
|
|
151
|
+
height: 16px;
|
|
152
|
+
width: 16px;
|
|
153
|
+
}
|
|
154
|
+
svg.icon--mail-move {
|
|
155
|
+
height: 24px;
|
|
156
|
+
width: 24px;
|
|
157
|
+
}
|
|
158
|
+
svg.icon--mail-move-small {
|
|
159
|
+
height: 16px;
|
|
160
|
+
width: 16px;
|
|
161
|
+
}
|
|
162
|
+
svg.icon--mail-unread {
|
|
163
|
+
height: 24px;
|
|
164
|
+
width: 24px;
|
|
165
|
+
}
|
|
166
|
+
svg.icon--mail-unread-small {
|
|
167
|
+
height: 16px;
|
|
168
|
+
width: 16px;
|
|
169
|
+
}
|
|
170
|
+
svg.icon--download-small {
|
|
171
|
+
height: 16px;
|
|
172
|
+
width: 16px;
|
|
173
|
+
}
|
|
@@ -36,8 +36,8 @@ svg.icon--location-large {
|
|
|
36
36
|
width: 42px;
|
|
37
37
|
}
|
|
38
38
|
svg.icon--messages-large {
|
|
39
|
-
height:
|
|
40
|
-
width:
|
|
39
|
+
height: 64px;
|
|
40
|
+
width: 64px;
|
|
41
41
|
}
|
|
42
42
|
svg.icon--purchases-large {
|
|
43
43
|
height: 56px;
|
|
@@ -75,3 +75,7 @@ svg.icon--play-large {
|
|
|
75
75
|
height: 60px;
|
|
76
76
|
width: 60px;
|
|
77
77
|
}
|
|
78
|
+
svg.icon--bids-large {
|
|
79
|
+
height: 64px;
|
|
80
|
+
width: 64px;
|
|
81
|
+
}
|
|
@@ -8,12 +8,12 @@ svg.icon--photo-crop {
|
|
|
8
8
|
width: 20px;
|
|
9
9
|
}
|
|
10
10
|
svg.icon--photo-gallery {
|
|
11
|
-
height:
|
|
12
|
-
width:
|
|
11
|
+
height: 24px;
|
|
12
|
+
width: 24px;
|
|
13
13
|
}
|
|
14
14
|
svg.icon--photo-gallery-more {
|
|
15
15
|
height: 24px;
|
|
16
|
-
width:
|
|
16
|
+
width: 24px;
|
|
17
17
|
}
|
|
18
18
|
svg.icon--photo-rotate {
|
|
19
19
|
height: 21px;
|
|
@@ -43,3 +43,15 @@ svg.icon--photo-sharpen {
|
|
|
43
43
|
height: 20px;
|
|
44
44
|
width: 21px;
|
|
45
45
|
}
|
|
46
|
+
svg.icon--photo-gallery-small {
|
|
47
|
+
height: 16px;
|
|
48
|
+
width: 16px;
|
|
49
|
+
}
|
|
50
|
+
svg.icon--photo-image {
|
|
51
|
+
height: 24px;
|
|
52
|
+
width: 24px;
|
|
53
|
+
}
|
|
54
|
+
svg.icon--photo-image-small {
|
|
55
|
+
height: 16px;
|
|
56
|
+
width: 16px;
|
|
57
|
+
}
|
|
@@ -39,10 +39,14 @@
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
// inherits from .icon-btn
|
|
42
|
-
|
|
42
|
+
// Might need to see if icon-btn can support a small version
|
|
43
|
+
button.icon-btn.lightbox-dialog__close {
|
|
43
44
|
align-self: center;
|
|
44
45
|
border: 0;
|
|
46
|
+
height: 32px;
|
|
47
|
+
min-width: 32px;
|
|
45
48
|
position: relative;
|
|
49
|
+
width: 32px;
|
|
46
50
|
z-index: 1;
|
|
47
51
|
}
|
|
48
52
|
|
|
@@ -117,17 +121,7 @@ button.lightbox-dialog__close {
|
|
|
117
121
|
}
|
|
118
122
|
|
|
119
123
|
@media (min-width: 601px) {
|
|
120
|
-
.lightbox-dialog__window {
|
|
121
|
-
.
|
|
122
|
-
.dialog-header-content-large();
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.lightbox-dialog__main {
|
|
126
|
-
.dialog-body-content-large();
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.lightbox-dialog__footer {
|
|
130
|
-
.dialog-footer-content-large();
|
|
131
|
-
}
|
|
124
|
+
.lightbox-dialog__window .lightbox-dialog__footer {
|
|
125
|
+
.dialog-footer-content-large();
|
|
132
126
|
}
|
|
133
127
|
}
|
|
@@ -6,8 +6,8 @@ export const base = () => `
|
|
|
6
6
|
<div class="lightbox-dialog__header">
|
|
7
7
|
<h2 id="lightbox-dialog-title">Dialog Lightbox</h2>
|
|
8
8
|
<button class="icon-btn lightbox-dialog__close" type="button" aria-label="Close Dialog">
|
|
9
|
-
<svg class="icon icon--close" aria-hidden="true">
|
|
10
|
-
<use xlink:href="#icon-close"></use>
|
|
9
|
+
<svg class="icon icon--close-small" aria-hidden="true">
|
|
10
|
+
<use xlink:href="#icon-close-small"></use>
|
|
11
11
|
</svg>
|
|
12
12
|
</button>
|
|
13
13
|
</div>
|
|
@@ -23,13 +23,41 @@ export const base = () => `
|
|
|
23
23
|
</div>
|
|
24
24
|
`;
|
|
25
25
|
|
|
26
|
+
export const baseWithFooter = () => `
|
|
27
|
+
<div aria-labelledby="lightbox-dialog-title" aria-modal="true" class="lightbox-dialog" role="dialog">
|
|
28
|
+
<div class="lightbox-dialog__window">
|
|
29
|
+
<div class="lightbox-dialog__header">
|
|
30
|
+
<h2 id="lightbox-dialog-title">Dialog Lightbox</h2>
|
|
31
|
+
<button class="icon-btn lightbox-dialog__close" type="button" aria-label="Close Dialog">
|
|
32
|
+
<svg class="icon icon--close-small" aria-hidden="true">
|
|
33
|
+
<use xlink:href="#icon-close-small"></use>
|
|
34
|
+
</svg>
|
|
35
|
+
</button>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="lightbox-dialog__main">
|
|
38
|
+
<h3>Heading</h3>
|
|
39
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus convallis molestie erat, ut adipiscing risus blandit vel. Vivamus luctus elementum lorem, eu sodales velit sagittis id.</p>
|
|
40
|
+
<p><a href="http://www.ebay.com">www.ebay.com</a></p>
|
|
41
|
+
<h3>Heading</h3>
|
|
42
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus convallis molestie erat, ut adipiscing risus blandit vel. Vivamus luctus elementum lorem, eu sodales velit sagittis id.</p>
|
|
43
|
+
<p><a href="http://www.ebay.com">www.ebay.com</a></p>
|
|
44
|
+
</div>
|
|
45
|
+
<div class="lightbox-dialog__footer">
|
|
46
|
+
<button class="btn btn--primary">Submit</button>
|
|
47
|
+
<button class="btn">Cancel</button>
|
|
48
|
+
</div>
|
|
49
|
+
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
`;
|
|
53
|
+
|
|
26
54
|
export const mini = () => `
|
|
27
55
|
<div aria-label="mini Example" aria-modal="true" class="lightbox-dialog lightbox-dialog--mask-fade" role="dialog">
|
|
28
56
|
<div class="lightbox-dialog__window lightbox-dialog__window--fade lightbox-dialog__window--mini">
|
|
29
57
|
<div class="lightbox-dialog__header">
|
|
30
58
|
<button aria-label="Close dialog" class="icon-btn lightbox-dialog__close" type="button">
|
|
31
|
-
<svg aria-hidden="true" class="icon icon--close" focusable="false" height="16" width="16">
|
|
32
|
-
<use xlink:href="#icon-close"></use>
|
|
59
|
+
<svg aria-hidden="true" class="icon icon--close-small" focusable="false" height="16" width="16">
|
|
60
|
+
<use xlink:href="#icon-close-small"></use>
|
|
33
61
|
</svg>
|
|
34
62
|
</button>
|
|
35
63
|
</div>
|
|
@@ -45,8 +73,8 @@ export const miniMinHeight = () => `
|
|
|
45
73
|
<div class="lightbox-dialog__window lightbox-dialog__window--fade lightbox-dialog__window--mini">
|
|
46
74
|
<div class="lightbox-dialog__header">
|
|
47
75
|
<button aria-label="Close dialog" class="icon-btn lightbox-dialog__close" type="button">
|
|
48
|
-
<svg aria-hidden="true" class="icon icon--close" focusable="false" height="16" width="16">
|
|
49
|
-
<use xlink:href="#icon-close"></use>
|
|
76
|
+
<svg aria-hidden="true" class="icon icon--close-small" focusable="false" height="16" width="16">
|
|
77
|
+
<use xlink:href="#icon-close-small"></use>
|
|
50
78
|
</svg>
|
|
51
79
|
</button>
|
|
52
80
|
</div>
|
|
@@ -64,8 +92,8 @@ export const baseRTL = () => `
|
|
|
64
92
|
<div class="lightbox-dialog__header">
|
|
65
93
|
<h2 id="lightbox-dialog-title">Dialog Lightbox</h2>
|
|
66
94
|
<button class="icon-btn lightbox-dialog__close" type="button" aria-label="Close Dialog">
|
|
67
|
-
<svg class="icon icon--close" aria-hidden="true">
|
|
68
|
-
<use xlink:href="#icon-close"></use>
|
|
95
|
+
<svg class="icon icon--close-small" aria-hidden="true">
|
|
96
|
+
<use xlink:href="#icon-close-small"></use>
|
|
69
97
|
</svg>
|
|
70
98
|
</button>
|
|
71
99
|
</div>
|
|
@@ -88,8 +116,8 @@ export const miniRTL = () => `
|
|
|
88
116
|
<div class="lightbox-dialog__window lightbox-dialog__window--fade lightbox-dialog__window--mini">
|
|
89
117
|
<div class="lightbox-dialog__header">
|
|
90
118
|
<button aria-label="Close dialog" class="icon-btn lightbox-dialog__close" type="button">
|
|
91
|
-
<svg aria-hidden="true" class="icon icon--close" focusable="false" height="16" width="16">
|
|
92
|
-
<use xlink:href="#icon-close"></use>
|
|
119
|
+
<svg aria-hidden="true" class="icon icon--close-small" focusable="false" height="16" width="16">
|
|
120
|
+
<use xlink:href="#icon-close-small"></use>
|
|
93
121
|
</svg>
|
|
94
122
|
</button>
|
|
95
123
|
</div>
|