@ebay/skin 17.0.0 → 17.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.
Files changed (36) hide show
  1. package/ICON-CREATION.md +10 -0
  2. package/_cdn/skin/v17.1.0-0/skin-default.min.css +69 -0
  3. package/_cdn/skin/v17.1.0-0/skin-full.min.css +151 -0
  4. package/_cdn/skin/v17.1.0-0/skin-headless.min.css +6 -0
  5. package/dist/avatar/avatar.css +20 -16
  6. package/dist/breadcrumbs/breadcrumbs.css +6 -2
  7. package/dist/eek/eek.css +2 -2
  8. package/dist/field/field.css +5 -1
  9. package/dist/floating-label/floating-label.css +2 -2
  10. package/dist/icon/icon.css +1 -2
  11. package/dist/listbox-button/listbox-button.css +14 -5
  12. package/dist/progress-stepper/progress-stepper.css +8 -0
  13. package/dist/skeleton/skeleton.css +15 -15
  14. package/dist/tokens/evo-light.css +1 -0
  15. package/package.json +9 -6
  16. package/src/less/avatar/avatar.less +39 -16
  17. package/src/less/breadcrumbs/breadcrumbs.less +7 -2
  18. package/src/less/eek/eek.less +1 -1
  19. package/src/less/field/field.less +6 -1
  20. package/src/less/field/stories/stacked.stories.js +65 -5
  21. package/src/less/floating-label/floating-label.less +5 -2
  22. package/src/less/icon/icon.less +1 -2
  23. package/src/less/listbox-button/listbox-button.less +13 -2
  24. package/src/less/listbox-button/stories/base.stories.js +78 -0
  25. package/src/less/listbox-button/stories/error/error.base.stories.js +325 -0
  26. package/src/less/listbox-button/stories/error/error.cascade.stories.js +133 -0
  27. package/src/less/listbox-button/stories/error/error.dimensions.stories.js +43 -0
  28. package/src/less/listbox-button/stories/error/error.form.stories.js +97 -0
  29. package/src/less/progress-stepper/progress-stepper.less +15 -0
  30. package/src/less/progress-stepper/stories/progress-stepper.stories.js +0 -218
  31. package/src/less/section-notice/stories/icon-24.stories.js +4 -4
  32. package/src/less/skeleton/skeleton.less +14 -14
  33. package/src/tokens/evo-light.css +1 -0
  34. package/_cdn/skin/v17.0.0/skin-default.min.css +0 -69
  35. package/_cdn/skin/v17.0.0/skin-full.min.css +0 -151
  36. package/_cdn/skin/v17.0.0/skin-headless.min.css +0 -6
@@ -159,60 +159,6 @@ export const allSelected = () => `
159
159
  </div>
160
160
  `;
161
161
 
162
- export const currentBubble = () => `
163
- <div class="progress-stepper">
164
- <div class="progress-stepper__items progress-stepper__items--current" role="list">
165
- <div class="progress-stepper__item" role="listitem">
166
- <span class="progress-stepper__icon">
167
- <svg role="img" aria-hidden="true" class="icon" focusable="false" height="24" width="24">
168
- <use href="#icon-stepper-confirmation-24"></use>
169
- </svg>
170
- </span>
171
- <span class="progress-stepper__text">
172
- <h4>Started</h4>
173
- <p>July 3rd</p>
174
- </span>
175
- </div>
176
- <hr class="progress-stepper__separator" role="presentation" />
177
- <div class="progress-stepper__item" role="listitem">
178
- <span class="progress-stepper__icon">
179
- <svg role="img" aria-hidden="true" class="icon" focusable="false" height="24" width="24">
180
- <use href="#icon-stepper-confirmation-24"></use>
181
- </svg>
182
- </span>
183
- <span class="progress-stepper__text">
184
- <h4>Shipped</h4>
185
- <p>July 4th</p>
186
- </span>
187
- </div>
188
- <hr class="progress-stepper__separator" role="presentation" />
189
- <div aria-current="step" class="progress-stepper__item" role="listitem">
190
- <span class="progress-stepper__icon">
191
- <svg role="img" aria-hidden="true" class="icon" focusable="false" height="24" width="24">
192
- <use href="#icon-stepper-current-24"></use>
193
- </svg>
194
- </span>
195
- <span class="progress-stepper__text">
196
- <h4>Transit</h4>
197
- <p>July 5th</p>
198
- </span>
199
- </div>
200
- <hr class="progress-stepper__separator" role="presentation" />
201
- <div class="progress-stepper__item" role="listitem">
202
- <span class="progress-stepper__icon">
203
- <svg role="img" aria-label="upcoming" class="icon" focusable="false" height="24" width="24">
204
- <use href="#icon-stepper-upcoming-24"></use>
205
- </svg>
206
- </span>
207
- <span class="progress-stepper__text">
208
- <h4>Delivered</h4>
209
- <p>July 6th</p>
210
- </span>
211
- </div>
212
- </div>
213
- </div>
214
- `;
215
-
216
162
  export const noneSelected = () => `
217
163
  <div class="progress-stepper">
218
164
  <div class="progress-stepper__items progress-stepper__items--upcoming" role="list">
@@ -322,60 +268,6 @@ export const RTL = () => `
322
268
 
323
269
  `;
324
270
 
325
- export const currentBubbleRTL = () => `
326
- <div class="progress-stepper" dir="rtl">
327
- <div class="progress-stepper__items progress-stepper__items--current" role="list">
328
- <div class="progress-stepper__item" role="listitem">
329
- <span class="progress-stepper__icon">
330
- <svg role="img" aria-hidden="true" class="icon" focusable="false" height="24" width="24">
331
- <use href="#icon-stepper-confirmation-24"></use>
332
- </svg>
333
- </span>
334
- <span class="progress-stepper__text">
335
- <h4>Started</h4>
336
- <p>July 3rd</p>
337
- </span>
338
- </div>
339
- <hr class="progress-stepper__separator" role="presentation" />
340
- <div class="progress-stepper__item" role="listitem">
341
- <span class="progress-stepper__icon">
342
- <svg role="img" aria-hidden="true" class="icon" focusable="false" height="24" width="24">
343
- <use href="#icon-stepper-confirmation-24"></use>
344
- </svg>
345
- </span>
346
- <span class="progress-stepper__text">
347
- <h4>Shipped</h4>
348
- <p>July 4th</p>
349
- </span>
350
- </div>
351
- <hr class="progress-stepper__separator" role="presentation" />
352
- <div aria-current="step" class="progress-stepper__item" role="listitem">
353
- <span class="progress-stepper__icon">
354
- <svg role="img" aria-hidden="true" class="icon" focusable="false" height="24" width="24">
355
- <use href="#icon-stepper-current-24"></use>
356
- </svg>
357
- </span>
358
- <span class="progress-stepper__text">
359
- <h4>Transit</h4>
360
- <p>July 5th</p>
361
- </span>
362
- </div>
363
- <hr class="progress-stepper__separator" role="presentation" />
364
- <div class="progress-stepper__item" role="listitem">
365
- <span class="progress-stepper__icon">
366
- <svg role="img" aria-label="upcoming" class="icon" focusable="false" height="24" width="24">
367
- <use href="#icon-stepper-upcoming-24"></use>
368
- </svg>
369
- </span>
370
- <span class="progress-stepper__text">
371
- <h4>Delivered</h4>
372
- <p>July 6th</p>
373
- </span>
374
- </div>
375
- </div>
376
- </div>
377
- `;
378
-
379
271
  export const vertical = () => `
380
272
  <div class="progress-stepper progress-stepper--vertical">
381
273
  <div class="progress-stepper__items" role="list">
@@ -546,116 +438,6 @@ export const verticalRTL = () => `
546
438
  </div>
547
439
  `;
548
440
 
549
- export const currentBubbleVertical = () => `
550
- <div class="progress-stepper progress-stepper--vertical">
551
- <div class="progress-stepper__items progress-stepper__items--current" role="list">
552
- <div class="progress-stepper__item" role="listitem">
553
- <span class="progress-stepper__icon">
554
- <svg role="img" aria-hidden="true" class="icon" focusable="false" height="24" width="24">
555
- <use href="#icon-stepper-confirmation-24"></use>
556
- </svg>
557
- </span>
558
- <span class="progress-stepper__text">
559
- <h4>Started</h4>
560
- <p>July 3rd</p>
561
- </span>
562
- </div>
563
- <hr class="progress-stepper__separator" role="presentation" />
564
- <div class="progress-stepper__item" role="listitem">
565
- <span class="progress-stepper__icon">
566
- <svg role="img" aria-hidden="true" class="icon" focusable="false" height="24" width="24">
567
- <use href="#icon-stepper-confirmation-24"></use>
568
- </svg>
569
- </span>
570
- <span class="progress-stepper__text">
571
- <h4>Shipped</h4>
572
- <p>July 4th</p>
573
- </span>
574
- </div>
575
- <hr class="progress-stepper__separator" role="presentation" />
576
- <div aria-current="step" class="progress-stepper__item" role="listitem">
577
- <span class="progress-stepper__icon">
578
- <svg role="img" aria-hidden="true" class="icon" focusable="false" height="24" width="24">
579
- <use href="#icon-stepper-current-24"></use>
580
- </svg>
581
- </span>
582
- <span class="progress-stepper__text">
583
- <h4>Transit</h4>
584
- <p>July 5th</p>
585
- </span>
586
- </div>
587
- <hr class="progress-stepper__separator" role="presentation" />
588
- <div class="progress-stepper__item" role="listitem">
589
- <span class="progress-stepper__icon">
590
- <svg role="img" aria-label="upcoming" class="icon" focusable="false" height="24" width="24">
591
- <use href="#icon-stepper-upcoming-24"></use>
592
- </svg>
593
- </span>
594
- <span class="progress-stepper__text">
595
- <h4>Delivered</h4>
596
- <p>July 6th</p>
597
- </span>
598
- </div>
599
- </div>
600
- </div>
601
- `;
602
-
603
- export const currentBubbleVerticalRTL = () => `
604
- <div dir="rtl">
605
- <div class="progress-stepper progress-stepper--vertical">
606
- <div class="progress-stepper__items progress-stepper__items--current" role="list">
607
- <div class="progress-stepper__item" role="listitem">
608
- <span class="progress-stepper__icon">
609
- <svg role="img" aria-hidden="true" class="icon" focusable="false" height="24" width="24">
610
- <use href="#icon-stepper-confirmation-24"></use>
611
- </svg>
612
- </span>
613
- <span class="progress-stepper__text">
614
- <h4>Started</h4>
615
- <p>July 3rd</p>
616
- </span>
617
- </div>
618
- <hr class="progress-stepper__separator" role="presentation" />
619
- <div class="progress-stepper__item" role="listitem">
620
- <span class="progress-stepper__icon">
621
- <svg role="img" aria-hidden="true" class="icon" focusable="false" height="24" width="24">
622
- <use href="#icon-stepper-confirmation-24"></use>
623
- </svg>
624
- </span>
625
- <span class="progress-stepper__text">
626
- <h4>Shipped</h4>
627
- <p>July 4th</p>
628
- </span>
629
- </div>
630
- <hr class="progress-stepper__separator" role="presentation" />
631
- <div aria-current="step" class="progress-stepper__item" role="listitem">
632
- <span class="progress-stepper__icon">
633
- <svg role="img" aria-hidden="true" class="icon" focusable="false" height="24" width="24">
634
- <use href="#icon-stepper-current-24"></use>
635
- </svg>
636
- </span>
637
- <span class="progress-stepper__text">
638
- <h4>Transit</h4>
639
- <p>July 5th</p>
640
- </span>
641
- </div>
642
- <hr class="progress-stepper__separator" role="presentation" />
643
- <div class="progress-stepper__item" role="listitem">
644
- <span class="progress-stepper__icon">
645
- <svg role="img" aria-label="upcoming" class="icon" focusable="false" height="24" width="24">
646
- <use href="#icon-stepper-upcoming-24"></use>
647
- </svg>
648
- </span>
649
- <span class="progress-stepper__text">
650
- <h4>Delivered</h4>
651
- <p>July 6th</p>
652
- </span>
653
- </div>
654
- </div>
655
- </div>
656
- </div>
657
- `;
658
-
659
441
  export const errorState = () => `
660
442
  <div class="progress-stepper">
661
443
  <div class="progress-stepper__items" role="list">
@@ -181,8 +181,8 @@ export const RTL = () => `
181
181
  export const vault = () => `
182
182
  <div class="section-notice" role="region">
183
183
  <div class="section-notice__header" role="region" aria-roledescription="Notice">
184
- <svg aria-hidden="true" focusable="false" class="icon--the-ebay-vault-24-fit">
185
- <use href="#icon-the-ebay-vault-24-fit"></use>
184
+ <svg aria-hidden="true" focusable="false" class="icon--the-ebay-vault-24">
185
+ <use href="#icon-the-ebay-vault-24"></use>
186
186
  </svg>
187
187
  </div>
188
188
  <div class="section-notice__main">
@@ -229,8 +229,8 @@ export const selling = () => `
229
229
  export const warranty = () => `
230
230
  <div class="section-notice" role="region">
231
231
  <div class="section-notice__header" role="region" aria-roledescription="Notice">
232
- <svg aria-hidden="true" focusable="false" class="icon--free-warranty-24-fit">
233
- <use href="#icon-free-warranty-24-fit"></use>
232
+ <svg aria-hidden="true" focusable="false" class="icon--free-warranty-24">
233
+ <use href="#icon-free-warranty-24"></use>
234
234
  </svg>
235
235
  </div>
236
236
  <div class="section-notice__main">
@@ -108,20 +108,20 @@ span.skeleton__textbox {
108
108
  display: inline-block;
109
109
  }
110
110
 
111
- span.skeleton__avatar + span,
112
- span.skeleton__button + span,
113
- span.skeleton__text + span,
114
- span.skeleton__image + span,
115
- span.skeleton__textbox + span {
116
- margin-inline-start: var(--spacing-100);
117
- }
118
-
119
- div.skeleton__avatar,
120
- div.skeleton__button,
121
- div.skeleton__text,
122
- div.skeleton__image,
123
- div.skeleton__textbox {
124
- margin-block-start: var(--spacing-150);
111
+ span.skeleton__avatar:not(:last-child),
112
+ span.skeleton__button:not(:last-child),
113
+ span.skeleton__text:not(:last-child),
114
+ span.skeleton__image:not(:last-child),
115
+ span.skeleton__textbox:not(:last-child) {
116
+ margin-inline-end: var(--spacing-100);
117
+ }
118
+
119
+ div.skeleton__avatar:not(:last-child),
120
+ div.skeleton__button:not(:last-child),
121
+ div.skeleton__text:not(:last-child),
122
+ div.skeleton__image:not(:last-child),
123
+ div.skeleton__textbox:not(:last-child) {
124
+ margin-block-end: var(--spacing-150);
125
125
  }
126
126
 
127
127
  .skeleton--elevated {
@@ -172,4 +172,5 @@
172
172
  var(--color-ai-solid-green-subtle) 66%,
173
173
  var(--color-ai-solid-green-subtle) 100%
174
174
  );
175
+ --color-icon-disabled-filter: grayscale(1) opacity(0.25);
175
176
  }