@ebay/skin 17.3.0 → 17.4.0-next.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/.changeset/big-cheetahs-peel.md +5 -0
- package/.changeset/kind-pens-own.md +5 -0
- package/.changeset/loud-carrots-protect.md +5 -0
- package/.changeset/metal-cars-promise.md +5 -0
- package/.changeset/pre.json +15 -0
- package/.changeset/shaggy-ways-pump.md +5 -0
- package/.changeset/shaggy-yaks-guess.md +5 -0
- package/.github/workflows/jekyll-gh-pages.yml +8 -2
- package/.storybook/main.js +1 -1
- package/CHANGELOG.md +16 -0
- package/ICON-CREATION.md +1 -1
- package/_cdn/skin/v17.4.0-next.0/skin-default.min.css +76 -0
- package/_cdn/skin/v17.4.0-next.0/skin-full.min.css +160 -0
- package/_cdn/skin/v17.4.0-next.0/skin-headless.min.css +6 -0
- package/dist/icon/icon.css +20 -0
- package/dist/icon-button/icon-button.css +113 -0
- package/dist/phone-input/phone-input.css +142 -0
- package/dist/skeleton/skeleton.css +6 -0
- package/dist/svg/icon/icon-bids-24.svg +4 -2
- package/dist/svg/icon/icon-bids-64.svg +2 -5
- package/dist/svg/icon/icon-bookmark-filled-16.svg +7 -0
- package/dist/svg/icon/icon-bookmark-filled-24.svg +7 -0
- package/dist/svg/icon/icon-exclude-16.svg +7 -0
- package/dist/svg/icon/icon-exclude-24.svg +7 -0
- package/dist/svg/icon/icon-fast-and-free-16.svg +4 -2
- package/dist/svg/icon/icon-fast-and-free-24.svg +4 -2
- package/dist/svg/icon/icon-inspect-64.svg +7 -0
- package/dist/svg/icon/icon-on-the-way-16.svg +4 -3
- package/dist/svg/icon/icon-on-the-way-24.svg +4 -2
- package/dist/svg/icon/icon-wallet-24.svg +4 -2
- package/dist/svg/icon/icon-wallet-64.svg +4 -2
- package/dist/svg/icons.svg +72 -27
- package/dist/tokens/evo-dark.css +14 -9
- package/dist/tokens/evo-light.css +13 -3
- package/eslint.config.mjs +15 -0
- package/index.browser.json +1 -0
- package/index.css +1 -0
- package/index.js +1 -0
- package/index.mjs +1 -0
- package/lint.log +10 -0
- package/package.json +17 -17
- package/phone-input.browser.json +1 -0
- package/phone-input.css +1 -0
- package/phone-input.js +1 -0
- package/phone-input.mjs +1 -0
- package/scripts/jekyll-config.js +2 -4
- package/src/less/alert-dialog/stories/alert-dialog.stories.js +16 -0
- package/src/less/badge/stories/badge.stories.js +4 -0
- package/src/less/breadcrumbs/stories/button-cascade.stories.js +29 -0
- package/src/less/breadcrumbs/stories/button-overflow.stories.js +48 -0
- package/src/less/breadcrumbs/stories/link-cascade.stories.js +29 -0
- package/src/less/breadcrumbs/stories/link-overflow.stories.js +51 -0
- package/src/less/bundles/skin-headless.less +1 -0
- package/src/less/button/stories/button/text-spacing.stories.js +16 -0
- package/src/less/button/stories/fake-button/text-spacing.stories.js +13 -0
- package/src/less/calendar/stories/calendar.stories.js +210 -0
- package/src/less/checkbox/stories/checked.stories.js +20 -0
- package/src/less/chips-combobox/stories/chips-combobox.stories.js +58 -0
- package/src/less/combobox/stories/combobox.stories.js +21 -0
- package/src/less/confirm-dialog/stories/confirm-dialog.stories.js +17 -0
- package/src/less/cta-button/stories/cta-button.stories.js +11 -0
- package/src/less/date-textbox/stories/date-textbox.stories.js +27 -0
- package/src/less/details/stories/details.stories.js +14 -0
- package/src/less/drawer-dialog/stories/drawer-dialog.stories.js +27 -0
- package/src/less/field/stories/helper-texts-stacked.stories.js +17 -0
- package/src/less/filter-button/stories/button.stories.js +8 -0
- package/src/less/filter-menu/stories/filter-menu.stories.js +41 -0
- package/src/less/filter-menu-button/stories/filter-menu-button.stories.js +238 -0
- package/src/less/flag/stories/flag.stories.js +9 -0
- package/src/less/floating-label/stories/floating-label.stories.js +102 -0
- package/src/less/fullscreen-dialog/stories/fullscreen-dialog.stories.js +27 -0
- package/src/less/global/stories/global.stories.js +16 -0
- package/src/less/icon/generated/icon.less +20 -0
- package/src/less/icon-button/icon-button.less +133 -0
- package/src/less/icon-button/stories/buttons.stories.js +241 -0
- package/src/less/icon-button/stories/links.stories.js +241 -0
- package/src/less/infotip/stories/infotip.stories.js +27 -2
- package/src/less/inline-notice/stories/inline.stories.js +13 -0
- package/src/less/lightbox-dialog/stories/lightbox-dialog.stories.js +24 -0
- package/src/less/link/stories/link.stories.js +9 -3
- package/src/less/listbox/stories/listbox.stories.js +37 -0
- package/src/less/listbox-button/stories/base.stories.js +42 -0
- package/src/less/menu/stories/misc.stories.js +10 -0
- package/src/less/menu-button/stories/base.stories.js +26 -0
- package/src/less/page-notice/stories/page-notice.stories.js +22 -0
- package/src/less/pagination/stories/overflow.stories.js +49 -0
- package/src/less/panel-dialog/stories/panel-dialog.stories.js +45 -0
- package/src/less/phone-input/phone-input.less +173 -0
- package/src/less/phone-input/stories/phone-input.stories.js +825 -0
- package/src/less/progress-bar-expressive/stories/progress-bar-expressive.stories.js +31 -0
- package/src/less/progress-stepper/stories/progress-stepper.stories.js +52 -0
- package/src/less/radio/stories/checked.stories.js +49 -2
- package/src/less/section-notice/stories/icon-16.stories.js +25 -1
- package/src/less/section-title/stories/section-title.stories.js +17 -0
- package/src/less/segmented-buttons/stories/segmented-buttons.stories.js +10 -0
- package/src/less/select/stories/default.stories.js +13 -0
- package/src/less/signal/stories/signal.stories.js +6 -0
- package/src/less/skeleton/skeleton.less +11 -0
- package/src/less/skeleton/stories/composite.stories.js +1 -1
- package/src/less/snackbar-dialog/stories/base.stories.js +14 -0
- package/src/less/split-button/stories/base.stories.js +30 -0
- package/src/less/tabs/stories/tabs/block.stories.js +17 -0
- package/src/less/tabs/stories/tabs/inlineBlock.stories.js +17 -0
- package/src/less/textbox/stories/textbox.stories.js +6 -0
- package/src/less/toast-dialog/stories/toast-dialog.stories.js +23 -0
- package/src/less/toggle-button/stories/gallery-layout.stories.js +13 -0
- package/src/less/toggle-button/stories/list-layout.stories.js +14 -0
- package/src/less/toggle-button/stories/minimal-layout.stories.js +8 -0
- package/src/less/tooltip/stories/tooltip.stories.js +19 -0
- package/src/less/tourtip/stories/tourtip.stories.js +21 -0
- package/src/svg/icon/icon-bids-24.svg +4 -2
- package/src/svg/icon/icon-bids-64.svg +2 -5
- package/src/svg/icon/icon-bookmark-filled-16.svg +7 -0
- package/src/svg/icon/icon-bookmark-filled-24.svg +7 -0
- package/src/svg/icon/icon-exclude-16.svg +7 -0
- package/src/svg/icon/icon-exclude-24.svg +7 -0
- package/src/svg/icon/icon-fast-and-free-16.svg +4 -2
- package/src/svg/icon/icon-fast-and-free-24.svg +4 -2
- package/src/svg/icon/icon-inspect-64.svg +7 -0
- package/src/svg/icon/icon-on-the-way-16.svg +4 -3
- package/src/svg/icon/icon-on-the-way-24.svg +4 -2
- package/src/svg/icon/icon-wallet-24.svg +4 -2
- package/src/svg/icon/icon-wallet-64.svg +4 -2
- package/src/svg/icons.svg +72 -27
- package/src/tokens/evo-dark.css +14 -9
- package/src/tokens/evo-light.css +13 -3
- package/svg.svg +72 -27
- package/.eslintrc +0 -14
- package/_cdn/skin/v17.3.0/skin-default.min.css +0 -69
- package/_cdn/skin/v17.3.0/skin-full.min.css +0 -151
- package/_cdn/skin/v17.3.0/skin-headless.min.css +0 -6
- package/src/less/section-notice/stories/icon-24.stories.js +0 -251
|
@@ -441,6 +441,244 @@ export const overflow = () => `
|
|
|
441
441
|
</span>
|
|
442
442
|
`;
|
|
443
443
|
|
|
444
|
+
export const textSpacing = () => `
|
|
445
|
+
<span class="filter-menu-button demo-a11y-text-spacing">
|
|
446
|
+
<button type="button" class="filter-menu-button__button" aria-expanded="true">
|
|
447
|
+
<span class="filter-menu-button__button-cell">
|
|
448
|
+
<span class="filter-menu-button__button-text">Filter Menu Button</span>
|
|
449
|
+
<svg class="icon icon--chevron-down-12" height="12" width="12">
|
|
450
|
+
<use href="#icon-chevron-down-12"></use>
|
|
451
|
+
</svg>
|
|
452
|
+
</span>
|
|
453
|
+
</button>
|
|
454
|
+
<div class="filter-menu-button__menu">
|
|
455
|
+
<div class="filter-menu-button__items" role="menu">
|
|
456
|
+
<div class="filter-menu-button__item" role="menuitemcheckbox" tabindex="0" aria-checked="false">
|
|
457
|
+
<span class="filter-menu-button__checkbox">
|
|
458
|
+
<svg class="icon icon--checkbox-unchecked-18" height="18" width="18">
|
|
459
|
+
<use href="#icon-checkbox-unchecked-18"></use>
|
|
460
|
+
</svg>
|
|
461
|
+
<svg class="icon icon--checkbox-checked-18" height="18" width="18">
|
|
462
|
+
<use href="#icon-checkbox-checked-18"></use>
|
|
463
|
+
</svg>
|
|
464
|
+
</span>
|
|
465
|
+
<span class="filter-menu-button__text">Item 1</span>
|
|
466
|
+
</div>
|
|
467
|
+
<div class="filter-menu-button__item" role="menuitemcheckbox" aria-checked="false">
|
|
468
|
+
<span class="filter-menu-button__checkbox">
|
|
469
|
+
<svg class="icon icon--checkbox-unchecked-18" height="18" width="18">
|
|
470
|
+
<use href="#icon-checkbox-unchecked-18"></use>
|
|
471
|
+
</svg>
|
|
472
|
+
<svg class="icon icon--checkbox-checked-18" height="18" width="18">
|
|
473
|
+
<use href="#icon-checkbox-checked-18"></use>
|
|
474
|
+
</svg>
|
|
475
|
+
</span>
|
|
476
|
+
<span class="filter-menu-button__text">Item 2</span>
|
|
477
|
+
</div>
|
|
478
|
+
<div class="filter-menu-button__item" role="menuitemcheckbox" aria-checked="false">
|
|
479
|
+
<span class="filter-menu-button__checkbox">
|
|
480
|
+
<svg class="icon icon--checkbox-unchecked-18" height="18" width="18">
|
|
481
|
+
<use href="#icon-checkbox-unchecked-18"></use>
|
|
482
|
+
</svg>
|
|
483
|
+
<svg class="icon icon--checkbox-checked-18" height="18" width="18">
|
|
484
|
+
<use href="#icon-checkbox-checked-18"></use>
|
|
485
|
+
</svg>
|
|
486
|
+
</span>
|
|
487
|
+
<span class="filter-menu-button__text">Item 3</span>
|
|
488
|
+
</div>
|
|
489
|
+
<div class="filter-menu-button__item" role="menuitemcheckbox" aria-checked="false">
|
|
490
|
+
<span class="filter-menu-button__checkbox">
|
|
491
|
+
<svg class="icon icon--checkbox-unchecked-18" height="18" width="18">
|
|
492
|
+
<use href="#icon-checkbox-unchecked-18"></use>
|
|
493
|
+
</svg>
|
|
494
|
+
<svg class="icon icon--checkbox-checked-18" height="18" width="18">
|
|
495
|
+
<use href="#icon-checkbox-checked-18"></use>
|
|
496
|
+
</svg>
|
|
497
|
+
</span>
|
|
498
|
+
<span class="filter-menu-button__text">Item 4</span>
|
|
499
|
+
</div>
|
|
500
|
+
<div class="filter-menu-button__item" role="menuitemcheckbox" aria-checked="false">
|
|
501
|
+
<span class="filter-menu-button__checkbox">
|
|
502
|
+
<svg class="icon icon--checkbox-unchecked-18" height="18" width="18">
|
|
503
|
+
<use href="#icon-checkbox-unchecked-18"></use>
|
|
504
|
+
</svg>
|
|
505
|
+
<svg class="icon icon--checkbox-checked-18" height="18" width="18">
|
|
506
|
+
<use href="#icon-checkbox-checked-18"></use>
|
|
507
|
+
</svg>
|
|
508
|
+
</span>
|
|
509
|
+
<span class="filter-menu-button__text">Item 5</span>
|
|
510
|
+
</div>
|
|
511
|
+
<div class="filter-menu-button__item" role="menuitemcheckbox" aria-checked="false">
|
|
512
|
+
<span class="filter-menu-button__checkbox">
|
|
513
|
+
<svg class="icon icon--checkbox-unchecked-18" height="18" width="18">
|
|
514
|
+
<use href="#icon-checkbox-unchecked-18"></use>
|
|
515
|
+
</svg>
|
|
516
|
+
<svg class="icon icon--checkbox-checked-18" height="18" width="18">
|
|
517
|
+
<use href="#icon-checkbox-checked-18"></use>
|
|
518
|
+
</svg>
|
|
519
|
+
</span>
|
|
520
|
+
<span class="filter-menu-button__text">Item 6</span>
|
|
521
|
+
</div>
|
|
522
|
+
<div class="filter-menu-button__item" role="menuitemcheckbox" aria-checked="false">
|
|
523
|
+
<span class="filter-menu-button__checkbox">
|
|
524
|
+
<svg class="icon icon--checkbox-unchecked-18" height="18" width="18">
|
|
525
|
+
<use href="#icon-checkbox-unchecked-18"></use>
|
|
526
|
+
</svg>
|
|
527
|
+
<svg class="icon icon--checkbox-checked-18" height="18" width="18">
|
|
528
|
+
<use href="#icon-checkbox-checked-18"></use>
|
|
529
|
+
</svg>
|
|
530
|
+
</span>
|
|
531
|
+
<span class="filter-menu-button__text">Item 7</span>
|
|
532
|
+
</div>
|
|
533
|
+
<div class="filter-menu-button__item" role="menuitemcheckbox" aria-checked="false">
|
|
534
|
+
<span class="filter-menu-button__checkbox">
|
|
535
|
+
<svg class="icon icon--checkbox-unchecked-18" height="18" width="18">
|
|
536
|
+
<use href="#icon-checkbox-unchecked-18"></use>
|
|
537
|
+
</svg>
|
|
538
|
+
<svg class="icon icon--checkbox-checked-18" height="18" width="18">
|
|
539
|
+
<use href="#icon-checkbox-checked-18"></use>
|
|
540
|
+
</svg>
|
|
541
|
+
</span>
|
|
542
|
+
<span class="filter-menu-button__text">Item 8</span>
|
|
543
|
+
</div>
|
|
544
|
+
<div class="filter-menu-button__item" role="menuitemcheckbox" aria-checked="false">
|
|
545
|
+
<span class="filter-menu-button__checkbox">
|
|
546
|
+
<svg class="icon icon--checkbox-unchecked-18" height="18" width="18">
|
|
547
|
+
<use href="#icon-checkbox-unchecked-18"></use>
|
|
548
|
+
</svg>
|
|
549
|
+
<svg class="icon icon--checkbox-checked-18" height="18" width="18">
|
|
550
|
+
<use href="#icon-checkbox-checked-18"></use>
|
|
551
|
+
</svg>
|
|
552
|
+
</span>
|
|
553
|
+
<span class="filter-menu-button__text">Item 9</span>
|
|
554
|
+
</div>
|
|
555
|
+
<div class="filter-menu-button__item" role="menuitemcheckbox" aria-checked="false">
|
|
556
|
+
<span class="filter-menu-button__checkbox">
|
|
557
|
+
<svg class="icon icon--checkbox-unchecked-18" height="18" width="18">
|
|
558
|
+
<use href="#icon-checkbox-unchecked-18"></use>
|
|
559
|
+
</svg>
|
|
560
|
+
<svg class="icon icon--checkbox-checked-18" height="18" width="18">
|
|
561
|
+
<use href="#icon-checkbox-checked-18"></use>
|
|
562
|
+
</svg>
|
|
563
|
+
</span>
|
|
564
|
+
<span class="filter-menu-button__text">Item 10</span>
|
|
565
|
+
</div>
|
|
566
|
+
<div class="filter-menu-button__item" role="menuitemcheckbox" aria-checked="false">
|
|
567
|
+
<span class="filter-menu-button__checkbox">
|
|
568
|
+
<svg class="icon icon--checkbox-unchecked-18" height="18" width="18">
|
|
569
|
+
<use href="#icon-checkbox-unchecked-18"></use>
|
|
570
|
+
</svg>
|
|
571
|
+
<svg class="icon icon--checkbox-checked-18" height="18" width="18">
|
|
572
|
+
<use href="#icon-checkbox-checked-18"></use>
|
|
573
|
+
</svg>
|
|
574
|
+
</span>
|
|
575
|
+
<span class="filter-menu-button__text">Item 11</span>
|
|
576
|
+
</div>
|
|
577
|
+
<div class="filter-menu-button__item" role="menuitemcheckbox" aria-checked="false">
|
|
578
|
+
<span class="filter-menu-button__checkbox">
|
|
579
|
+
<svg class="icon icon--checkbox-unchecked-18" height="18" width="18">
|
|
580
|
+
<use href="#icon-checkbox-unchecked-18"></use>
|
|
581
|
+
</svg>
|
|
582
|
+
<svg class="icon icon--checkbox-checked-18" height="18" width="18">
|
|
583
|
+
<use href="#icon-checkbox-checked-18"></use>
|
|
584
|
+
</svg>
|
|
585
|
+
</span>
|
|
586
|
+
<span class="filter-menu-button__text">Item 12</span>
|
|
587
|
+
</div>
|
|
588
|
+
<div class="filter-menu-button__item" role="menuitemcheckbox" aria-checked="false">
|
|
589
|
+
<span class="filter-menu-button__checkbox">
|
|
590
|
+
<svg class="icon icon--checkbox-unchecked-18" height="18" width="18">
|
|
591
|
+
<use href="#icon-checkbox-unchecked-18"></use>
|
|
592
|
+
</svg>
|
|
593
|
+
<svg class="icon icon--checkbox-checked-18" height="18" width="18">
|
|
594
|
+
<use href="#icon-checkbox-checked-18"></use>
|
|
595
|
+
</svg>
|
|
596
|
+
</span>
|
|
597
|
+
<span class="filter-menu-button__text">Item 13</span>
|
|
598
|
+
</div>
|
|
599
|
+
<div class="filter-menu-button__item" role="menuitemcheckbox" aria-checked="false">
|
|
600
|
+
<span class="filter-menu-button__checkbox">
|
|
601
|
+
<svg class="icon icon--checkbox-unchecked-18" height="18" width="18">
|
|
602
|
+
<use href="#icon-checkbox-unchecked-18"></use>
|
|
603
|
+
</svg>
|
|
604
|
+
<svg class="icon icon--checkbox-checked-18" height="18" width="18">
|
|
605
|
+
<use href="#icon-checkbox-checked-18"></use>
|
|
606
|
+
</svg>
|
|
607
|
+
</span>
|
|
608
|
+
<span class="filter-menu-button__text">Item 14</span>
|
|
609
|
+
</div>
|
|
610
|
+
<div class="filter-menu-button__item" role="menuitemcheckbox" aria-checked="false">
|
|
611
|
+
<span class="filter-menu-button__checkbox">
|
|
612
|
+
<svg class="icon icon--checkbox-unchecked-18" height="18" width="18">
|
|
613
|
+
<use href="#icon-checkbox-unchecked-18"></use>
|
|
614
|
+
</svg>
|
|
615
|
+
<svg class="icon icon--checkbox-checked-18" height="18" width="18">
|
|
616
|
+
<use href="#icon-checkbox-checked-18"></use>
|
|
617
|
+
</svg>
|
|
618
|
+
</span>
|
|
619
|
+
<span class="filter-menu-button__text">Item 15</span>
|
|
620
|
+
</div>
|
|
621
|
+
<div class="filter-menu-button__item" role="menuitemcheckbox" aria-checked="false">
|
|
622
|
+
<span class="filter-menu-button__checkbox">
|
|
623
|
+
<svg class="icon icon--checkbox-unchecked-18" height="18" width="18">
|
|
624
|
+
<use href="#icon-checkbox-unchecked-18"></use>
|
|
625
|
+
</svg>
|
|
626
|
+
<svg class="icon icon--checkbox-checked-18" height="18" width="18">
|
|
627
|
+
<use href="#icon-checkbox-checked-18"></use>
|
|
628
|
+
</svg>
|
|
629
|
+
</span>
|
|
630
|
+
<span class="filter-menu-button__text">Item 16</span>
|
|
631
|
+
</div>
|
|
632
|
+
<div class="filter-menu-button__item" role="menuitemcheckbox" aria-checked="false">
|
|
633
|
+
<span class="filter-menu-button__checkbox">
|
|
634
|
+
<svg class="icon icon--checkbox-unchecked-18" height="18" width="18">
|
|
635
|
+
<use href="#icon-checkbox-unchecked-18"></use>
|
|
636
|
+
</svg>
|
|
637
|
+
<svg class="icon icon--checkbox-checked-18" height="18" width="18">
|
|
638
|
+
<use href="#icon-checkbox-checked-18"></use>
|
|
639
|
+
</svg>
|
|
640
|
+
</span>
|
|
641
|
+
<span class="filter-menu-button__text">Item 17</span>
|
|
642
|
+
</div>
|
|
643
|
+
<div class="filter-menu-button__item" role="menuitemcheckbox" aria-checked="false">
|
|
644
|
+
<span class="filter-menu-button__checkbox">
|
|
645
|
+
<svg class="icon icon--checkbox-unchecked-18" height="18" width="18">
|
|
646
|
+
<use href="#icon-checkbox-unchecked-18"></use>
|
|
647
|
+
</svg>
|
|
648
|
+
<svg class="icon icon--checkbox-checked-18" height="18" width="18">
|
|
649
|
+
<use href="#icon-checkbox-checked-18"></use>
|
|
650
|
+
</svg>
|
|
651
|
+
</span>
|
|
652
|
+
<span class="filter-menu-button__text">Item 18</span>
|
|
653
|
+
</div>
|
|
654
|
+
<div class="filter-menu-button__item" role="menuitemcheckbox" aria-checked="false">
|
|
655
|
+
<span class="filter-menu-button__checkbox">
|
|
656
|
+
<svg class="icon icon--checkbox-unchecked-18" height="18" width="18">
|
|
657
|
+
<use href="#icon-checkbox-unchecked-18"></use>
|
|
658
|
+
</svg>
|
|
659
|
+
<svg class="icon icon--checkbox-checked-18" height="18" width="18">
|
|
660
|
+
<use href="#icon-checkbox-checked-18"></use>
|
|
661
|
+
</svg>
|
|
662
|
+
</span>
|
|
663
|
+
<span class="filter-menu-button__text">Item 19</span>
|
|
664
|
+
</div>
|
|
665
|
+
<div class="filter-menu-button__item" role="menuitemcheckbox" aria-checked="false">
|
|
666
|
+
<span class="filter-menu-button__checkbox">
|
|
667
|
+
<svg class="icon icon--checkbox-unchecked-18" height="18" width="18">
|
|
668
|
+
<use href="#icon-checkbox-unchecked-18"></use>
|
|
669
|
+
</svg>
|
|
670
|
+
<svg class="icon icon--checkbox-checked-18" height="18" width="18">
|
|
671
|
+
<use href="#icon-checkbox-checked-18"></use>
|
|
672
|
+
</svg>
|
|
673
|
+
</span>
|
|
674
|
+
<span class="filter-menu-button__text">Item 20</span>
|
|
675
|
+
</div>
|
|
676
|
+
</div>
|
|
677
|
+
<button type="button" class="filter-menu__footer">Apply</button>
|
|
678
|
+
</div>
|
|
679
|
+
</span>
|
|
680
|
+
`;
|
|
681
|
+
|
|
444
682
|
export const truncated = () => `
|
|
445
683
|
<span class="filter-menu-button">
|
|
446
684
|
<button aria-expanded="true" type="button" class="filter-menu-button__button">
|
|
@@ -46,3 +46,12 @@ export const beforeLink = () => `
|
|
|
46
46
|
<span style="vertical-align: middle;">United States of America</span>
|
|
47
47
|
</a>
|
|
48
48
|
`;
|
|
49
|
+
|
|
50
|
+
export const textSpacing = () => `
|
|
51
|
+
<p class="demo-a11y-text-spacing">
|
|
52
|
+
<svg class="flag flag--us">
|
|
53
|
+
<use href="#flag-us"></use>
|
|
54
|
+
</svg>
|
|
55
|
+
<span style="vertical-align: middle;">United States of America</span>
|
|
56
|
+
</p>
|
|
57
|
+
`;
|
|
@@ -185,3 +185,105 @@ export const TextArea = () => `
|
|
|
185
185
|
</span>
|
|
186
186
|
</span>
|
|
187
187
|
`;
|
|
188
|
+
|
|
189
|
+
export const textSpacing = () => `
|
|
190
|
+
<span class="floating-label demo-a11y-text-spacing">
|
|
191
|
+
<label class="floating-label__label" for="firstName">First Name</label>
|
|
192
|
+
<span class="textbox">
|
|
193
|
+
<input class="textbox__control" id="firstName" type="text" />
|
|
194
|
+
</span>
|
|
195
|
+
</span>
|
|
196
|
+
`;
|
|
197
|
+
|
|
198
|
+
export const phoneInput = () => `
|
|
199
|
+
<span class="phone-input">
|
|
200
|
+
<span class="listbox-button listbox-button--form">
|
|
201
|
+
<button class="btn btn--form btn--split-start" aria-expanded="false" aria-haspopup="listbox" type="button"
|
|
202
|
+
data-listbox-button-prefix="Country: " aria-label="Country: United States of America (+1)">
|
|
203
|
+
<span class="btn__cell">
|
|
204
|
+
<span class="btn__text">
|
|
205
|
+
<svg class="flag flag--us" focusable="false" height="18" width="24" aria-hidden="true" data-country-code="1">
|
|
206
|
+
<use href="#flag-us"></use>
|
|
207
|
+
</svg>
|
|
208
|
+
</span>
|
|
209
|
+
<svg class="icon icon--chevron-down-12" focusable="false" height="10" width="14" aria-hidden="true">
|
|
210
|
+
<use href="#icon-chevron-down-12"></use>
|
|
211
|
+
</svg>
|
|
212
|
+
</span>
|
|
213
|
+
</button>
|
|
214
|
+
<div class="listbox-button__listbox">
|
|
215
|
+
<div class="listbox-button__options" role="listbox">
|
|
216
|
+
<div class="listbox-button__option" role="option">
|
|
217
|
+
<span class="listbox-button__value">
|
|
218
|
+
<svg class="flag flag--al" focusable="false" height="18" width="24" aria-hidden="true" data-country-code="355">
|
|
219
|
+
<use href="#flag-al"></use>
|
|
220
|
+
</svg>
|
|
221
|
+
<span>Albania</span>
|
|
222
|
+
<span>(+355)</span>
|
|
223
|
+
</span>
|
|
224
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
225
|
+
<use href="#icon-tick-16"></use>
|
|
226
|
+
</svg>
|
|
227
|
+
</div>
|
|
228
|
+
<div class="listbox-button__option" role="option">
|
|
229
|
+
<span class="listbox-button__value">
|
|
230
|
+
<svg class="flag flag--in" focusable="false" height="18" width="24" aria-hidden="true" data-country-code="91">
|
|
231
|
+
<use href="#flag-in"></use>
|
|
232
|
+
</svg>
|
|
233
|
+
<span>India</span>
|
|
234
|
+
<span>(+91)</span>
|
|
235
|
+
</span>
|
|
236
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
237
|
+
<use href="#icon-tick-16"></use>
|
|
238
|
+
</svg>
|
|
239
|
+
</div>
|
|
240
|
+
<div class="listbox-button__option" role="option">
|
|
241
|
+
<span class="listbox-button__value">
|
|
242
|
+
<svg class="flag flag--sh" focusable="false" height="18" width="24" aria-hidden="true" data-country-code="290">
|
|
243
|
+
<use href="#flag-sh"></use>
|
|
244
|
+
</svg>
|
|
245
|
+
<span>Saint Helena, Ascension and Tristan da Cunha</span>
|
|
246
|
+
<span>(+290)</span>
|
|
247
|
+
</span>
|
|
248
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
249
|
+
<use href="#icon-tick-16"></use>
|
|
250
|
+
</svg>
|
|
251
|
+
</div>
|
|
252
|
+
<div class="listbox-button__option" role="option">
|
|
253
|
+
<span class="listbox-button__value">
|
|
254
|
+
<svg class="flag flag--gb" focusable="false" height="18" width="24" aria-hidden="true" data-country-code="44">
|
|
255
|
+
<use href="#flag-gb"></use>
|
|
256
|
+
</svg>
|
|
257
|
+
<span>United Kingdom</span>
|
|
258
|
+
<span>(+44)</span>
|
|
259
|
+
</span>
|
|
260
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
261
|
+
<use href="#icon-tick-16"></use>
|
|
262
|
+
</svg>
|
|
263
|
+
</div>
|
|
264
|
+
<div class="listbox-button__option" role="option" aria-selected="true">
|
|
265
|
+
<span class="listbox-button__value">
|
|
266
|
+
<svg class="flag flag--us" focusable="false" height="18" width="24" aria-hidden="true" data-country-code="1">
|
|
267
|
+
<use href="#flag-us"></use>
|
|
268
|
+
</svg>
|
|
269
|
+
<span>United States of America</span>
|
|
270
|
+
<span>(+1)</span>
|
|
271
|
+
</span>
|
|
272
|
+
<svg class="icon icon--tick-16" focusable="false" height="10" width="14" aria-hidden="true">
|
|
273
|
+
<use href="#icon-tick-16"></use>
|
|
274
|
+
</svg>
|
|
275
|
+
</div>
|
|
276
|
+
</div>
|
|
277
|
+
</div>
|
|
278
|
+
</span>
|
|
279
|
+
<span class="field floating-label">
|
|
280
|
+
<label class="floating-label__label" for="field1"><span class="clipped">Area code + </span>Phone
|
|
281
|
+
Number</label>
|
|
282
|
+
<span class="textbox">
|
|
283
|
+
<span id="floating-phone-prefix-0">+1</span>
|
|
284
|
+
<input class="textbox__control" type="tel" aria-label="area code + phone number"
|
|
285
|
+
autocomplete="tel-national" aria-describedby="floating-phone-prefix-0"/>
|
|
286
|
+
</span>
|
|
287
|
+
</span>
|
|
288
|
+
</span>
|
|
289
|
+
`;
|
|
@@ -116,3 +116,30 @@ export const secondaryButton = () => `
|
|
|
116
116
|
</div>
|
|
117
117
|
</div>
|
|
118
118
|
`;
|
|
119
|
+
|
|
120
|
+
export const textSpacing = () => `
|
|
121
|
+
<div aria-labelledby="fullscreen-dialog-title" aria-modal="true" class="fullscreen-dialog demo-a11y-text-spacing" role="dialog">
|
|
122
|
+
<div class="fullscreen-dialog__window">
|
|
123
|
+
<div class="fullscreen-dialog__header">
|
|
124
|
+
<h2 id="fullscreen-dialog-title">Dialog Full</h2>
|
|
125
|
+
<button class="icon-btn fullscreen-dialog__close" type="button" aria-label="Close Dialog">
|
|
126
|
+
<svg class="icon icon--close-16" aria-hidden="true">
|
|
127
|
+
<use href="#icon-close-16"></use>
|
|
128
|
+
</svg>
|
|
129
|
+
</button>
|
|
130
|
+
</div>
|
|
131
|
+
<div class="fullscreen-dialog__main">
|
|
132
|
+
<h3>Heading</h3>
|
|
133
|
+
<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>
|
|
134
|
+
<p><a href="http://www.ebay.com">www.ebay.com</a></p>
|
|
135
|
+
<h3>Heading</h3>
|
|
136
|
+
<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>
|
|
137
|
+
<p><a href="http://www.ebay.com">www.ebay.com</a></p>
|
|
138
|
+
</div>
|
|
139
|
+
<div class="fullscreen-dialog__footer">
|
|
140
|
+
<button class="btn btn--primary">Submit</button>
|
|
141
|
+
<button class="btn">Cancel</button>
|
|
142
|
+
</div>
|
|
143
|
+
</div>
|
|
144
|
+
</div>
|
|
145
|
+
`;
|
|
@@ -14,6 +14,22 @@ export const headings = () => `
|
|
|
14
14
|
<h6>This is a level 6 heading</h6>
|
|
15
15
|
`;
|
|
16
16
|
|
|
17
|
+
export const headingsTextSpacing = () => `
|
|
18
|
+
<div class="demo-a11y-text-spacing">
|
|
19
|
+
<h1>This is a level 1 heading</h1>
|
|
20
|
+
<hr/>
|
|
21
|
+
<h2>This is a level 2 heading</h2>
|
|
22
|
+
<hr/>
|
|
23
|
+
<h3>This is a level 3 heading</h3>
|
|
24
|
+
<hr/>
|
|
25
|
+
<h4>This is a level 4 heading</h4>
|
|
26
|
+
<hr/>
|
|
27
|
+
<h5>This is a level 5 heading</h5>
|
|
28
|
+
<hr/>
|
|
29
|
+
<h6>This is a level 6 heading</h6>
|
|
30
|
+
</div>
|
|
31
|
+
`;
|
|
32
|
+
|
|
17
33
|
export const RTLHeadings = () => `
|
|
18
34
|
<div dir="rtl">
|
|
19
35
|
<h1>This is a level 1 heading</h1>
|
|
@@ -295,6 +295,14 @@ svg.icon--bookmark-24 {
|
|
|
295
295
|
height: 24px;
|
|
296
296
|
width: 24px;
|
|
297
297
|
}
|
|
298
|
+
svg.icon--bookmark-filled-16 {
|
|
299
|
+
height: 16px;
|
|
300
|
+
width: 16px;
|
|
301
|
+
}
|
|
302
|
+
svg.icon--bookmark-filled-24 {
|
|
303
|
+
height: 24px;
|
|
304
|
+
width: 24px;
|
|
305
|
+
}
|
|
298
306
|
svg.icon--brand-authorized-seller-16 {
|
|
299
307
|
height: 16px;
|
|
300
308
|
width: 16px;
|
|
@@ -887,6 +895,14 @@ svg.icon--euro-24 {
|
|
|
887
895
|
height: 24px;
|
|
888
896
|
width: 24px;
|
|
889
897
|
}
|
|
898
|
+
svg.icon--exclude-16 {
|
|
899
|
+
height: 16px;
|
|
900
|
+
width: 16px;
|
|
901
|
+
}
|
|
902
|
+
svg.icon--exclude-24 {
|
|
903
|
+
height: 24px;
|
|
904
|
+
width: 24px;
|
|
905
|
+
}
|
|
890
906
|
svg.icon--expand-16 {
|
|
891
907
|
height: 16px;
|
|
892
908
|
width: 16px;
|
|
@@ -1287,6 +1303,10 @@ svg.icon--inspect-24 {
|
|
|
1287
1303
|
height: 24px;
|
|
1288
1304
|
width: 24px;
|
|
1289
1305
|
}
|
|
1306
|
+
svg.icon--inspect-64 {
|
|
1307
|
+
height: 64px;
|
|
1308
|
+
width: 64px;
|
|
1309
|
+
}
|
|
1290
1310
|
svg.icon--instagram-24 {
|
|
1291
1311
|
height: 24px;
|
|
1292
1312
|
width: 24px;
|
|
@@ -18,6 +18,7 @@ a.icon-link {
|
|
|
18
18
|
box-sizing: border-box;
|
|
19
19
|
font-family: inherit;
|
|
20
20
|
height: 40px;
|
|
21
|
+
justify-content: center;
|
|
21
22
|
margin: 0;
|
|
22
23
|
padding: 0;
|
|
23
24
|
vertical-align: text-bottom;
|
|
@@ -43,6 +44,29 @@ a.icon-link {
|
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
46
|
|
|
47
|
+
button.icon-btn.icon-btn--primary,
|
|
48
|
+
a.icon-link.icon-link--primary {
|
|
49
|
+
.background-color-token(btn-primary-background-color, color-background-accent);
|
|
50
|
+
.border-color-token(btn-primary-border-color, color-stroke-accent);
|
|
51
|
+
.color-token(btn-primary-foreground-color, color-foreground-on-accent);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
button.icon-btn.icon-btn--primary > svg,
|
|
55
|
+
a.icon-link.icon-link--primary > svg {
|
|
56
|
+
.fill-token(icon-button-icon-foreground-color, color-foreground-on-accent);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
button.icon-btn.icon-btn--secondary > svg,
|
|
60
|
+
a.icon-link.icon-link--secondary > svg {
|
|
61
|
+
.fill-token(icon-button-icon-foreground-color, color-foreground-accent);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
button.icon-btn.icon-btn--small .progress-spinner,
|
|
65
|
+
a.icon-link.icon-link--small .progress-spinner {
|
|
66
|
+
height: 20px;
|
|
67
|
+
width: 20px;
|
|
68
|
+
}
|
|
69
|
+
|
|
46
70
|
button.icon-btn.icon-btn--transparent > svg,
|
|
47
71
|
a.icon-link.icon-link--transparent > svg {
|
|
48
72
|
max-width: 100%;
|
|
@@ -142,3 +166,112 @@ a.icon-link > svg.icon--information-filled-16 {
|
|
|
142
166
|
.fill-token(color-foreground-information);
|
|
143
167
|
}
|
|
144
168
|
}
|
|
169
|
+
|
|
170
|
+
button.icon-btn.icon-btn--primary,
|
|
171
|
+
a.icon-link.icon-link--primary,
|
|
172
|
+
button.icon-btn.icon-btn--secondary,
|
|
173
|
+
a.icon-link.icon-link--secondary,
|
|
174
|
+
button.icon-btn.icon-btn--tertiary,
|
|
175
|
+
a.icon-link.icon-link--tertiary {
|
|
176
|
+
border-width: 1px;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
button[disabled].icon-btn.icon-btn--primary,
|
|
180
|
+
button[aria-disabled="true"].icon-btn.icon-btn--primary,
|
|
181
|
+
a:not([href]).icon-link.icon-link--primary,
|
|
182
|
+
a[aria-disabled="true"].icon-link.icon-link--primary {
|
|
183
|
+
.background-color-token(icon-button-disabled-background-color, color-background-disabled);
|
|
184
|
+
.border-color-token(btn-primary-disabled-border-color, color-stroke-disabled);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
button[disabled].icon-btn.icon-btn--primary > svg,
|
|
188
|
+
button[aria-disabled="true"].icon-btn.icon-btn--primary > svg,
|
|
189
|
+
a:not([href]).icon-link.icon-link--primary > svg,
|
|
190
|
+
a[aria-disabled="true"].icon-link.icon-link--primary > svg {
|
|
191
|
+
.fill-token(icon-button-icon-foreground-color, color-foreground-on-accent);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
button.icon-btn.icon-btn--primary .progress-spinner,
|
|
195
|
+
a.icon-link.icon-link--primary .progress-spinner {
|
|
196
|
+
--color-spinner-icon-background: var(--color-background-primary);
|
|
197
|
+
--color-spinner-icon-foreground: #8fa3f8; // 40% of white on top of --color-foreground-on-accent
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
button.icon-btn.icon-btn--secondary,
|
|
201
|
+
a.icon-link.icon-link--secondary {
|
|
202
|
+
background-color: transparent;
|
|
203
|
+
.border-color-token(btn-secondary-border-color, color-stroke-accent);
|
|
204
|
+
.color-token(btn-secondary-foreground-color, color-foreground-accent);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
button.icon-btn.icon-btn--primary:not([disabled], [aria-disabled="true"]),
|
|
208
|
+
a.icon-link.icon-link--primary:not([disabled], [aria-disabled="true"]) {
|
|
209
|
+
&:hover,
|
|
210
|
+
&:focus {
|
|
211
|
+
background-blend-mode: multiply;
|
|
212
|
+
filter: brightness(96%);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
&:active {
|
|
216
|
+
filter: brightness(92%);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
button.icon-btn.icon-btn--secondary .progress-spinner,
|
|
221
|
+
a.icon-link.icon-link--secondary .progress-spinner,
|
|
222
|
+
button.icon-btn.icon-btn--tertiary .progress-spinner,
|
|
223
|
+
a.icon-link.icon-link--tertiary .progress-spinner {
|
|
224
|
+
--color-spinner-icon-foreground: #3665f366; // 40% of #3665f3
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
button[disabled].icon-btn.icon-btn--secondary,
|
|
228
|
+
button[aria-disabled="true"].icon-btn.icon-btn--secondary,
|
|
229
|
+
a:not([href]).icon-link.icon-link--secondary,
|
|
230
|
+
a[aria-disabled="true"].icon-link.icon-link--secondary {
|
|
231
|
+
.border-color-token(btn-secondary-disabled-border-color, color-stroke-disabled);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
button[disabled].icon-btn.icon-btn--secondary > svg,
|
|
235
|
+
button[aria-disabled="true"].icon-btn.icon-btn--secondary > svg,
|
|
236
|
+
a:not([href]).icon-link.icon-blinktn--secondary > svg,
|
|
237
|
+
a[aria-disabled="true"].icon-link.icon-link--secondary > svg {
|
|
238
|
+
.fill-token(icon-button-icon-foreground-color, color-foreground-disabled);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
button.icon-btn.icon-btn--secondary:not([disabled], [aria-disabled="true"]),
|
|
242
|
+
a.icon-link.icon-link--secondary:not([disabled], [aria-disabled="true"]) {
|
|
243
|
+
&:hover,
|
|
244
|
+
&:focus {
|
|
245
|
+
background-color: var(--color-state-secondary-hover);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
&:active {
|
|
249
|
+
background-color: var(--color-state-secondary-active);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
button.icon-btn.icon-btn--tertiary,
|
|
254
|
+
a.icon-link.icon-link--tertiary {
|
|
255
|
+
background-color: transparent;
|
|
256
|
+
.border-color-token(btn-primary-border-color, color-stroke-default);
|
|
257
|
+
.color-token(btn-primary-foreground-color, color-foreground-accent);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
button[disabled].icon-btn.icon-btn--tertiary,
|
|
261
|
+
button[aria-disabled="true"].icon-btn.icon-btn--tertiary,
|
|
262
|
+
a:not([href]).icon-link.icon-link--tertiary,
|
|
263
|
+
a[aria-disabled="true"].icon-link.icon-link--tertiary {
|
|
264
|
+
.border-color-token(btn-tertiary-disabled-border-color, color-stroke-disabled);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
button.icon-btn.icon-btn--tertiary:not([disabled], [aria-disabled="true"]),
|
|
268
|
+
a.icon-link.icon-link--tertiary:not([disabled], [aria-disabled="true"]) {
|
|
269
|
+
&:hover,
|
|
270
|
+
&:focus {
|
|
271
|
+
background-color: var(--color-state-secondary-hover);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
&:active {
|
|
275
|
+
background-color: var(--color-state-secondary-active);
|
|
276
|
+
}
|
|
277
|
+
}
|