@ebay/skin 14.0.6 → 14.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/.github/workflows/pages-html-proofer.yml +1 -1
  2. package/.github/workflows/storybook-percy.yml +1 -1
  3. package/.storybook/preview-head.html +374 -55
  4. package/_cdn/skin/v14.1.1/skin-default.min.css +6 -0
  5. package/_cdn/skin/v14.1.1/skin-full.min.css +6 -0
  6. package/_cdn/skin/v14.1.1/skin-headless.min.css +6 -0
  7. package/_cdn/skin/v14.1.1/skin-legacy.min.css +6 -0
  8. package/dist/button/button.css +2 -4
  9. package/dist/drawer-dialog/drawer-dialog.css +2 -2
  10. package/dist/filter-button/filter-button.css +1 -0
  11. package/dist/filter-menu-button/filter-menu-button.css +1 -0
  12. package/dist/floating-label/floating-label.css +5 -8
  13. package/dist/fullscreen-dialog/fullscreen-dialog.css +17 -20
  14. package/dist/icon/direction.css +4 -0
  15. package/dist/icon/general.css +102 -2
  16. package/dist/icon/icon.css +169 -13
  17. package/dist/icon/interface.css +34 -2
  18. package/dist/icon/internal.css +4 -0
  19. package/dist/icon/large.css +6 -2
  20. package/dist/icon/photo.css +15 -3
  21. package/dist/icon/shipping.css +2 -2
  22. package/dist/icon/user.css +2 -2
  23. package/dist/legacy-tokens/ds4-light.css +1 -1
  24. package/dist/lightbox-dialog/lightbox-dialog.css +8 -11
  25. package/dist/link/link.css +1 -1
  26. package/dist/page-notice/page-notice.css +35 -14
  27. package/dist/panel-dialog/panel-dialog.css +8 -21
  28. package/dist/progress-stepper/progress-stepper.css +21 -6
  29. package/dist/select/select.css +13 -17
  30. package/dist/svg/direction.svg +5 -0
  31. package/dist/svg/general.svg +181 -8
  32. package/dist/svg/icons.svg +374 -55
  33. package/dist/svg/interface.svg +75 -10
  34. package/dist/svg/internal.svg +160 -77
  35. package/dist/svg/large.svg +14 -2
  36. package/dist/svg/photo.svg +104 -35
  37. package/dist/svg/shipping.svg +79 -48
  38. package/dist/svg/social.svg +2 -13
  39. package/dist/svg/user.svg +45 -25
  40. package/dist/textbox/textbox.css +16 -10
  41. package/dist/tokens/evo-dark.css +1 -1
  42. package/dist/tokens/evo-light.css +1 -1
  43. package/package.json +1 -1
  44. package/scripts/generate-bundle.js +46 -22
  45. package/src/less/floating-label/floating-label.less +5 -12
  46. package/src/less/floating-label/stories/floating-label.stories.js +60 -1
  47. package/src/less/fullscreen-dialog/fullscreen-dialog.less +14 -14
  48. package/src/less/fullscreen-dialog/stories/fullscreen-dialog.stories.js +33 -11
  49. package/src/less/icon/generated/direction.less +4 -0
  50. package/src/less/icon/generated/general.less +102 -2
  51. package/src/less/icon/generated/interface.less +34 -2
  52. package/src/less/icon/generated/internal.less +4 -0
  53. package/src/less/icon/generated/large.less +6 -2
  54. package/src/less/icon/generated/photo.less +15 -3
  55. package/src/less/icon/generated/shipping.less +2 -2
  56. package/src/less/icon/generated/user.less +2 -2
  57. package/src/less/lightbox-dialog/lightbox-dialog.less +7 -13
  58. package/src/less/lightbox-dialog/stories/lightbox-dialog.stories.js +38 -10
  59. package/src/less/link/link.less +1 -1
  60. package/src/less/mixins/private/dialog-mixins.less +13 -10
  61. package/src/less/mixins/private/filter-button-mixins.less +1 -0
  62. package/src/less/page-notice/page-notice.less +42 -14
  63. package/src/less/page-notice/stories/page-notice.stories.js +43 -0
  64. package/src/less/panel-dialog/panel-dialog.less +8 -18
  65. package/src/less/panel-dialog/stories/panel-dialog.stories.js +32 -10
  66. package/src/less/progress-stepper/progress-stepper.less +24 -6
  67. package/src/less/progress-stepper/stories/progress-stepper.stories.js +108 -17
  68. package/src/less/select/select.less +14 -19
  69. package/src/less/select/stories/floating-label.stories.js +66 -0
  70. package/src/less/textbox/stories/textbox.stories.js +12 -0
  71. package/src/less/textbox/textbox.less +18 -10
  72. package/src/less/toast-dialog/stories/toast-dialog.stories.js +9 -9
  73. package/src/svg/direction.svg +5 -0
  74. package/src/svg/general.svg +181 -8
  75. package/src/svg/icons.svg +374 -55
  76. package/src/svg/interface.svg +75 -10
  77. package/src/svg/internal.svg +160 -77
  78. package/src/svg/large.svg +14 -2
  79. package/src/svg/photo.svg +104 -35
  80. package/src/svg/shipping.svg +79 -48
  81. package/src/svg/social.svg +2 -13
  82. package/src/svg/user.svg +45 -25
  83. package/src/tokens/evo-dark.css +1 -1
  84. package/src/tokens/evo-light.css +1 -1
  85. package/svg.svg +374 -55
  86. package/_cdn/skin/v14.0.6/skin-default.min.css +0 -6
  87. package/_cdn/skin/v14.0.6/skin-full.min.css +0 -6
  88. package/_cdn/skin/v14.0.6/skin-headless.min.css +0 -6
  89. package/_cdn/skin/v14.0.6/skin-legacy.min.css +0 -6
@@ -49,13 +49,31 @@ export const disabledTextbox = () => `
49
49
 
50
50
  export const invalidTextbox = () => `
51
51
  <span class="floating-label">
52
- <label class="floating-label__label" for="firstName">First Name</label>
52
+ <label class="floating-label__label floating-label__label--inline floating-label__label--invalid" for="firstName">First Name</label>
53
53
  <span class="textbox">
54
54
  <input class="textbox__control" id="firstName03" type="text" aria-invalid="true" />
55
55
  </span>
56
56
  </span>
57
57
  `;
58
58
 
59
+ export const invalidTextboxWithValue = () => `
60
+ <span class="floating-label">
61
+ <label class="floating-label__label floating-label__label--invalid" for="firstName">First Name</label>
62
+ <span class="textbox">
63
+ <input class="textbox__control" id="firstName03" type="text" aria-invalid="true" value="value" />
64
+ </span>
65
+ </span>
66
+ `;
67
+
68
+ export const invalidTextboxWithPlaceholder = () => `
69
+ <span class="floating-label">
70
+ <label class="floating-label__label floating-label__label--invalid" for="firstName">First Name</label>
71
+ <span class="textbox">
72
+ <input class="textbox__control" id="firstName03" type="text" aria-invalid="true" placeholder="placeholder" />
73
+ </span>
74
+ </span>
75
+ `;
76
+
59
77
  export const longText = () => `
60
78
  <span class="floating-label">
61
79
  <label class="floating-label__label" for="firstName">Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch</label>
@@ -108,6 +126,38 @@ export const selectInline = () => `
108
126
  </span>
109
127
  `;
110
128
 
129
+ export const selectInlineDoubled = () => `
130
+ <span class="floating-label">
131
+ <label class="floating-label__label floating-label__label--inline">Select Option long text with ellipsis</label>
132
+ <span class="select">
133
+ <select aria-label="Select demo" name="options">
134
+ <option value=""></option>
135
+ <option value="item1">Pick Option 1 (default)</option>
136
+ <option value="item2">Pick Option 2</option>
137
+ <option value="item3">Pick Option 3</option>
138
+ </select>
139
+ <svg class="icon icon--dropdown" focusable="false" height="8" width="8" aria-hidden="true">
140
+ <use xlink:href="#icon-dropdown"></use>
141
+ </svg>
142
+ </span>
143
+ </span>
144
+ <span class="floating-label">
145
+ <label class="floating-label__label floating-label__label--inline">Select Option long text</label>
146
+ <span class="select">
147
+ <select aria-label="Select demo" name="options">
148
+ <option value=""></option>
149
+ <option value="item1">Pick Option 1 (default)</option>
150
+ <option value="item2">Pick Option 2</option>
151
+ <option value="item3">Pick Option 3</option>
152
+ </select>
153
+ <svg class="icon icon--dropdown" focusable="false" height="8" width="8" aria-hidden="true">
154
+ <use xlink:href="#icon-dropdown"></use>
155
+ </svg>
156
+ </span>
157
+ </span>
158
+
159
+ `;
160
+
111
161
  export const RTLSelectInline = () => `
112
162
  <div dir="rtl">
113
163
  <span class="floating-label">
@@ -126,3 +176,12 @@ export const RTLSelectInline = () => `
126
176
  </span>
127
177
  </div>
128
178
  `;
179
+
180
+ export const TextArea = () => `
181
+ <span class="floating-label">
182
+ <label class="floating-label__label" for="first-name">Enter list of users</label>
183
+ <span class="textbox">
184
+ <textarea aria-label="Textbox demo" class="textbox__control"></textarea>
185
+ </span>
186
+ </span>
187
+ `;
@@ -37,12 +37,17 @@
37
37
  .dialog-footer-content();
38
38
  }
39
39
 
40
+ button.icon-btn.fullscreen-dialog__close {
41
+ height: 32px;
42
+ min-width: 32px;
43
+ width: 32px;
44
+ }
45
+
40
46
  // inherits from .icon-btn
41
47
  button.fullscreen-dialog__close,
42
48
  button.fullscreen-dialog__back {
43
49
  align-self: center;
44
50
  border: 0;
45
- outline-offset: -8px;
46
51
  padding: 0;
47
52
  position: relative;
48
53
  z-index: 1;
@@ -62,7 +67,8 @@ button.fullscreen-dialog__back {
62
67
  transition: opacity 0.16s ease-out;
63
68
  }
64
69
 
65
- .fullscreen-dialog__window--slide {
70
+ .fullscreen-dialog__window--slide,
71
+ .fullscreen-dialog__window--slide-end {
66
72
  transition: transform 0.32s ease-out;
67
73
  }
68
74
  }
@@ -85,6 +91,10 @@ button.fullscreen-dialog__back {
85
91
  .fullscreen-dialog__window--slide {
86
92
  transform: translateY(100%);
87
93
  }
94
+
95
+ .fullscreen-dialog__window--slide-end {
96
+ transform: translateX(100%);
97
+ }
88
98
  }
89
99
 
90
100
  .fullscreen-dialog--show,
@@ -105,18 +115,8 @@ button.fullscreen-dialog__back {
105
115
  .fullscreen-dialog__window--slide {
106
116
  transform: translateX(0);
107
117
  }
108
- }
109
118
 
110
- @media (min-width: 601px) {
111
- .fullscreen-dialog__header {
112
- .dialog-header-content-large();
113
- }
114
-
115
- .fullscreen-dialog__main {
116
- .dialog-body-content-large();
117
- }
118
-
119
- .fullscreen-dialog__footer {
120
- .dialog-footer-content-large();
119
+ .fullscreen-dialog__window--slide-end {
120
+ transform: translateX(0);
121
121
  }
122
122
  }
@@ -4,12 +4,35 @@ export const closeButton = () => `
4
4
  <div aria-labelledby="fullscreen-dialog-title" aria-modal="true" class="fullscreen-dialog" role="dialog">
5
5
  <div class="fullscreen-dialog__window">
6
6
  <div class="fullscreen-dialog__header">
7
+ <h2 id="fullscreen-dialog-title">Dialog Full</h2>
7
8
  <button class="icon-btn fullscreen-dialog__close" type="button" aria-label="Close Dialog">
8
- <svg class="icon icon--close" aria-hidden="true">
9
- <use xlink:href="#icon-close"></use>
9
+ <svg class="icon icon--close-small" aria-hidden="true">
10
+ <use xlink:href="#icon-close-small"></use>
10
11
  </svg>
11
12
  </button>
13
+ </div>
14
+ <div class="fullscreen-dialog__main">
15
+ <h3>Heading</h3>
16
+ <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>
17
+ <p><a href="http://www.ebay.com">www.ebay.com</a></p>
18
+ <h3>Heading</h3>
19
+ <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>
20
+ <p><a href="http://www.ebay.com">www.ebay.com</a></p>
21
+ </div>
22
+ </div>
23
+ </div>
24
+ `;
25
+
26
+ export const withFooter = () => `
27
+ <div aria-labelledby="fullscreen-dialog-title" aria-modal="true" class="fullscreen-dialog" role="dialog">
28
+ <div class="fullscreen-dialog__window">
29
+ <div class="fullscreen-dialog__header">
12
30
  <h2 id="fullscreen-dialog-title">Dialog Full</h2>
31
+ <button class="icon-btn fullscreen-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>
13
36
  </div>
14
37
  <div class="fullscreen-dialog__main">
15
38
  <h3>Heading</h3>
@@ -19,6 +42,10 @@ export const closeButton = () => `
19
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>
20
43
  <p><a href="http://www.ebay.com">www.ebay.com</a></p>
21
44
  </div>
45
+ <div class="fullscreen-dialog__footer">
46
+ <button class="btn btn--primary">Submit</button>
47
+ <button class="btn">Cancel</button>
48
+ </div>
22
49
  </div>
23
50
  </div>
24
51
  `;
@@ -28,12 +55,12 @@ export const RTL = () => `
28
55
  <div aria-labelledby="fullscreen-dialog-title" aria-modal="true" class="fullscreen-dialog" role="dialog">
29
56
  <div class="fullscreen-dialog__window">
30
57
  <div class="fullscreen-dialog__header">
58
+ <h2 id="fullscreen-dialog-title">Dialog Full</h2>
31
59
  <button class="icon-btn fullscreen-dialog__close" type="button" aria-label="Close Dialog">
32
- <svg class="icon icon--close" aria-hidden="true">
33
- <use xlink:href="#icon-close"></use>
60
+ <svg class="icon icon--close-small" aria-hidden="true">
61
+ <use xlink:href="#icon-close-small"></use>
34
62
  </svg>
35
63
  </button>
36
- <h2 id="fullscreen-dialog-title">Dialog Full</h2>
37
64
  </div>
38
65
  <div class="fullscreen-dialog__main">
39
66
  <h3>Heading</h3>
@@ -52,12 +79,12 @@ export const backButton = () => `
52
79
  <div aria-labelledby="fullscreen-dialog-title" aria-modal="true" class="fullscreen-dialog" role="dialog">
53
80
  <div class="fullscreen-dialog__window">
54
81
  <div class="fullscreen-dialog__header">
82
+ <h2 id="fullscreen-dialog-title">Fullscreen Dialog</h2>
55
83
  <button class="icon-btn fullscreen-dialog__back" type="button" aria-label="Back">
56
84
  <svg class="icon icon--back" aria-hidden="true">
57
85
  <use xlink:href="#icon-back"></use>
58
86
  </svg>
59
87
  </button>
60
- <h2 id="fullscreen-dialog-title">Fullscreen Dialog</h2>
61
88
  </div>
62
89
  <div class="fullscreen-dialog__main">
63
90
  <h3>Heading</h3>
@@ -75,11 +102,6 @@ export const secondaryButton = () => `
75
102
  <div aria-labelledby="fullscreen-dialog-title" aria-modal="true" class="fullscreen-dialog" role="dialog">
76
103
  <div class="fullscreen-dialog__window">
77
104
  <div class="fullscreen-dialog__header">
78
- <button class="icon-btn fullscreen-dialog__back" type="button" aria-label="Back">
79
- <svg class="icon icon--back" aria-hidden="true">
80
- <use xlink:href="#icon-back"></use>
81
- </svg>
82
- </button>
83
105
  <h2 id="fullscreen-dialog-title">Fullscreen Dialog</h2>
84
106
  <button class="fake-link fullscreen-dialog__close" type="button">Reset</button>
85
107
  </div>
@@ -87,3 +87,7 @@ svg.icon--chevron-right-extra-small {
87
87
  height: 16px;
88
88
  width: 16px;
89
89
  }
90
+ svg.icon--arrow-left-medium {
91
+ height: 20px;
92
+ width: 20px;
93
+ }
@@ -92,8 +92,8 @@ svg.icon--following {
92
92
  width: 16px;
93
93
  }
94
94
  svg.icon--flag {
95
- height: 21.34px;
96
- width: 13.36px;
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: 18px;
80
- width: 22px;
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
+ }
@@ -19,6 +19,10 @@ svg.icon--radio-unchecked-large {
19
19
  height: 24px;
20
20
  width: 24px;
21
21
  }
22
+ svg.icon--stepper-current {
23
+ height: 24px;
24
+ width: 24px;
25
+ }
22
26
  svg.icon--stepper-confirmation {
23
27
  height: 24px;
24
28
  width: 24px;
@@ -36,8 +36,8 @@ svg.icon--location-large {
36
36
  width: 42px;
37
37
  }
38
38
  svg.icon--messages-large {
39
- height: 48px;
40
- width: 58px;
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: 22px;
12
- width: 22px;
11
+ height: 24px;
12
+ width: 24px;
13
13
  }
14
14
  svg.icon--photo-gallery-more {
15
15
  height: 24px;
16
- width: 22px;
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
+ }
@@ -28,8 +28,8 @@ svg.icon--fast-n-free {
28
28
  width: 22px;
29
29
  }
30
30
  svg.icon--small-letter {
31
- height: 14px;
32
- width: 18px;
31
+ height: 24px;
32
+ width: 24px;
33
33
  }
34
34
  svg.icon--small-box {
35
35
  height: 12px;
@@ -1,7 +1,7 @@
1
1
  /* This is a generated file, DO NOT EDIT */
2
2
  svg.icon--avatar-light {
3
- height: 22px;
4
- width: 22px;
3
+ height: 40px;
4
+ width: 40px;
5
5
  }
6
6
  svg.icon--avatar-filled {
7
7
  height: 22px;
@@ -39,10 +39,14 @@
39
39
  }
40
40
 
41
41
  // inherits from .icon-btn
42
- button.lightbox-dialog__close {
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
- .lightbox-dialog__header {
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>
@@ -29,7 +29,7 @@ button.fake-link {
29
29
  .color-token(fake-link-foreground-disabled-color, color-foreground-disabled);
30
30
  }
31
31
 
32
- &:hover {
32
+ &:hover:not(:disabled) {
33
33
  color: var(--color-state-accent-hover);
34
34
  }
35
35
  }