@ebay/skin 17.5.0 → 18.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/.github/workflows/pages-html-proofer.yml +1 -1
- package/.prettierignore +0 -1
- package/.storybook/main.js +4 -11
- package/.storybook/preview.js +1 -1
- package/.stylelintrc +16 -24
- package/CHANGELOG.md +40 -0
- package/CONTRIBUTING.md +1 -1
- package/bundles.browser.json +1 -0
- package/bundles.css +1 -0
- package/bundles.js +1 -0
- package/bundles.mjs +1 -0
- package/chart-legend.browser.json +1 -0
- package/chart-legend.css +1 -0
- package/chart-legend.js +1 -0
- package/chart-legend.mjs +1 -0
- package/dist/alert-dialog/alert-dialog.css +84 -72
- package/dist/alert-dialog/alert-dialog.css.map +1 -0
- package/dist/avatar/avatar.css +81 -62
- package/dist/avatar/avatar.css.map +1 -0
- package/dist/badge/badge.css +16 -11
- package/dist/badge/badge.css.map +1 -0
- package/dist/breadcrumbs/breadcrumbs.css +87 -59
- package/dist/breadcrumbs/breadcrumbs.css.map +1 -0
- package/dist/bundles/skin-default.css +10073 -0
- package/dist/bundles/skin-default.css.map +1 -0
- package/dist/bundles/skin-full.css +10257 -0
- package/dist/bundles/skin-full.css.map +1 -0
- package/dist/bundles/skin-headless.css +9685 -0
- package/dist/bundles/skin-headless.css.map +1 -0
- package/dist/button/button.css +590 -415
- package/dist/button/button.css.map +1 -0
- package/dist/calendar/calendar.css +148 -102
- package/dist/calendar/calendar.css.map +1 -0
- package/dist/carousel/carousel.css +233 -212
- package/dist/carousel/carousel.css.map +1 -0
- package/dist/chart-legend/chart-legend.css +77 -0
- package/dist/chart-legend/chart-legend.css.map +1 -0
- package/dist/checkbox/checkbox.css +77 -54
- package/dist/checkbox/checkbox.css.map +1 -0
- package/dist/chip/chip.css +41 -34
- package/dist/chip/chip.css.map +1 -0
- package/dist/chips-combobox/chips-combobox.css +77 -62
- package/dist/chips-combobox/chips-combobox.css.map +1 -0
- package/dist/combobox/combobox.css +246 -163
- package/dist/combobox/combobox.css.map +1 -0
- package/dist/confirm-dialog/confirm-dialog.css +86 -73
- package/dist/confirm-dialog/confirm-dialog.css.map +1 -0
- package/dist/cta-button/cta-button.css +96 -70
- package/dist/cta-button/cta-button.css.map +1 -0
- package/dist/date-textbox/date-textbox.css +24 -15
- package/dist/date-textbox/date-textbox.css.map +1 -0
- package/dist/details/details.css +34 -27
- package/dist/details/details.css.map +1 -0
- package/dist/donut-chart/donut-chart.css +91 -0
- package/dist/donut-chart/donut-chart.css.map +1 -0
- package/dist/drawer-dialog/drawer-dialog.css +133 -118
- package/dist/drawer-dialog/drawer-dialog.css.map +1 -0
- package/dist/education-notice/education-notice.css +62 -34
- package/dist/education-notice/education-notice.css.map +1 -0
- package/dist/eek/eek.css +97 -74
- package/dist/eek/eek.css.map +1 -0
- package/dist/field/field.css +87 -53
- package/dist/field/field.css.map +1 -0
- package/dist/filter-button/filter-button.css +115 -75
- package/dist/filter-button/filter-button.css.map +1 -0
- package/dist/filter-menu/filter-menu.css +176 -121
- package/dist/filter-menu/filter-menu.css.map +1 -0
- package/dist/filter-menu-button/filter-menu-button.css +307 -181
- package/dist/filter-menu-button/filter-menu-button.css.map +1 -0
- package/dist/flag/flag.css +528 -272
- package/dist/flag/flag.css.map +1 -0
- package/dist/floating-label/floating-label.css +100 -51
- package/dist/floating-label/floating-label.css.map +1 -0
- package/dist/fullscreen-dialog/fullscreen-dialog.css +112 -99
- package/dist/fullscreen-dialog/fullscreen-dialog.css.map +1 -0
- package/dist/global/global.css +32 -13
- package/dist/global/global.css.map +1 -0
- package/dist/icon/icon.css +56 -2943
- package/dist/icon/icon.css.map +1 -0
- package/dist/icon-button/icon-button.css +307 -212
- package/dist/icon-button/icon-button.css.map +1 -0
- package/dist/image-placeholder/image-placeholder.css +6 -4
- package/dist/image-placeholder/image-placeholder.css.map +1 -0
- package/dist/infotip/infotip.css +121 -92
- package/dist/infotip/infotip.css.map +1 -0
- package/dist/inline-notice/inline-notice.css +16 -9
- package/dist/inline-notice/inline-notice.css.map +1 -0
- package/dist/lightbox-dialog/lightbox-dialog.css +241 -185
- package/dist/lightbox-dialog/lightbox-dialog.css.map +1 -0
- package/dist/link/link.css +37 -19
- package/dist/link/link.css.map +1 -0
- package/dist/listbox/listbox.css +86 -58
- package/dist/listbox/listbox.css.map +1 -0
- package/dist/listbox-button/listbox-button.css +240 -134
- package/dist/listbox-button/listbox-button.css.map +1 -0
- package/dist/marketsans/marketsans.css +34 -12
- package/dist/marketsans/marketsans.css.map +1 -0
- package/dist/menu/menu.css +136 -99
- package/dist/menu/menu.css.map +1 -0
- package/dist/menu-button/menu-button.css +236 -157
- package/dist/menu-button/menu-button.css.map +1 -0
- package/dist/mixins/_typography-mixins.scss +136 -0
- package/dist/mixins/_utility-mixins.scss +62 -0
- package/dist/page-grid/page-grid.css +57 -46
- package/dist/page-grid/page-grid.css.map +1 -0
- package/dist/page-notice/page-notice.css +142 -85
- package/dist/page-notice/page-notice.css.map +1 -0
- package/dist/pagination/pagination.css +109 -80
- package/dist/pagination/pagination.css.map +1 -0
- package/dist/panel-dialog/panel-dialog.css +115 -98
- package/dist/panel-dialog/panel-dialog.css.map +1 -0
- package/dist/phone-input/phone-input.css +100 -88
- package/dist/phone-input/phone-input.css.map +1 -0
- package/dist/progress-bar/progress-bar.css +32 -15
- package/dist/progress-bar/progress-bar.css.map +1 -0
- package/dist/progress-bar-expressive/progress-bar-expressive.css +302 -203
- package/dist/progress-bar-expressive/progress-bar-expressive.css.map +1 -0
- package/dist/progress-spinner/progress-spinner.css +24 -20
- package/dist/progress-spinner/progress-spinner.css.map +1 -0
- package/dist/progress-stepper/progress-stepper.css +229 -117
- package/dist/progress-stepper/progress-stepper.css.map +1 -0
- package/dist/radio/radio.css +71 -52
- package/dist/radio/radio.css.map +1 -0
- package/dist/section-notice/section-notice.css +102 -72
- package/dist/section-notice/section-notice.css.map +1 -0
- package/dist/section-title/section-title.css +66 -52
- package/dist/section-title/section-title.css.map +1 -0
- package/dist/segmented-buttons/segmented-buttons.css +49 -38
- package/dist/segmented-buttons/segmented-buttons.css.map +1 -0
- package/dist/select/select.css +98 -62
- package/dist/select/select.css.map +1 -0
- package/dist/signal/signal.css +25 -16
- package/dist/signal/signal.css.map +1 -0
- package/dist/skeleton/skeleton.css +131 -108
- package/dist/skeleton/skeleton.css.map +1 -0
- package/dist/snackbar-dialog/snackbar-dialog.css +82 -52
- package/dist/snackbar-dialog/snackbar-dialog.css.map +1 -0
- package/dist/split-button/split-button.css +3 -1
- package/dist/split-button/split-button.css.map +1 -0
- package/dist/star-rating/star-rating.css +40 -19
- package/dist/star-rating/star-rating.css.map +1 -0
- package/dist/star-rating-select/star-rating-select.css +67 -39
- package/dist/star-rating-select/star-rating-select.css.map +1 -0
- package/dist/svg/icons.svg +21 -21
- package/dist/switch/switch.css +119 -78
- package/dist/switch/switch.css.map +1 -0
- package/dist/tabs/tabs.css +70 -51
- package/dist/tabs/tabs.css.map +1 -0
- package/dist/textbox/textbox.css +167 -112
- package/dist/textbox/textbox.css.map +1 -0
- package/dist/toast-dialog/toast-dialog.css +140 -90
- package/dist/toast-dialog/toast-dialog.css.map +1 -0
- package/dist/toggle-button/toggle-button.css +154 -114
- package/dist/toggle-button/toggle-button.css.map +1 -0
- package/dist/toggle-button-group/toggle-button-group.css +610 -60
- package/dist/toggle-button-group/toggle-button-group.css.map +1 -0
- package/dist/tokens/evo-core.css +139 -67
- package/dist/tokens/evo-dark.css +57 -62
- package/dist/tokens/evo-light.css +76 -76
- package/dist/tooltip/tooltip.css +117 -84
- package/dist/tooltip/tooltip.css.map +1 -0
- package/dist/tourtip/tourtip.css +141 -107
- package/dist/tourtip/tourtip.css.map +1 -0
- package/dist/typography/typography.css +86 -59
- package/dist/typography/typography.css.map +1 -0
- package/dist/utility/utility.css +75 -72
- package/dist/utility/utility.css.map +1 -0
- package/dist/variables/_variables.scss +64 -0
- package/dist/video/video.css +46 -34
- package/dist/video/video.css.map +1 -0
- package/donut-chart.browser.json +1 -0
- package/donut-chart.css +1 -0
- package/donut-chart.js +1 -0
- package/donut-chart.mjs +1 -0
- package/gh.browser.json +4 -4
- package/index.browser.json +3 -0
- package/index.css +3 -0
- package/index.js +3 -0
- package/index.mjs +3 -0
- package/lint.log +3 -3
- package/package.json +74 -55
- package/postcss.config.js +17 -0
- package/scripts/README.md +1 -1
- package/scripts/generate-bundle.js +13 -12
- package/scripts/generate-images.js +34 -23
- package/src/{less/alert-dialog/alert-dialog.less → sass/alert-dialog/alert-dialog.scss} +14 -12
- package/src/sass/avatar/avatar.scss +134 -0
- package/src/sass/badge/badge.scss +21 -0
- package/src/{less/breadcrumbs/breadcrumbs.less → sass/breadcrumbs/breadcrumbs.scss} +25 -14
- package/src/{less → sass}/breadcrumbs/stories/button-cascade.stories.js +12 -12
- package/src/{less → sass}/breadcrumbs/stories/button-overflow.stories.js +15 -15
- package/src/{less → sass}/breadcrumbs/stories/buttons.stories.js +5 -5
- package/src/{less → sass}/breadcrumbs/stories/link-cascade.stories.js +12 -12
- package/src/{less → sass}/breadcrumbs/stories/link-overflow.stories.js +15 -15
- package/src/{less → sass}/breadcrumbs/stories/links.stories.js +5 -5
- package/src/sass/bundles/skin-default.scss +9 -0
- package/src/sass/bundles/skin-full.scss +10 -0
- package/src/sass/bundles/skin-headless.scss +72 -0
- package/src/{less/button/button.less → sass/button/button.scss} +185 -71
- package/src/{less → sass}/button/stories/button/base.stories.js +5 -5
- package/src/{less → sass}/button/stories/button/borderless.stories.js +4 -4
- package/src/{less → sass}/button/stories/button/cascade.stories.js +3 -3
- package/src/{less → sass}/button/stories/button/dimensions.stories.js +2 -2
- package/src/{less → sass}/button/stories/button/primary.stories.js +4 -4
- package/src/{less → sass}/button/stories/button/secondary.stories.js +4 -4
- package/src/{less → sass}/button/stories/button/tertiary.stories.js +4 -4
- package/src/{less → sass}/button/stories/button/text-spacing.stories.js +1 -1
- package/src/{less → sass}/button/stories/destructive-button/primary.stories.js +3 -3
- package/src/{less → sass}/button/stories/destructive-button/secondary.stories.js +3 -3
- package/src/{less → sass}/button/stories/destructive-button/tertiary.stories.js +3 -3
- package/src/{less → sass}/button/stories/fake-button/base.stories.js +2 -2
- package/src/{less → sass}/button/stories/fake-button/cascade.stories.js +3 -3
- package/src/{less → sass}/button/stories/fake-button/dimensions.stories.js +1 -1
- package/src/{less → sass}/button/stories/fake-button/primary.stories.js +4 -4
- package/src/{less → sass}/button/stories/fake-button/secondary.stories.js +4 -4
- package/src/{less → sass}/button/stories/fake-button/text-spacing.stories.js +1 -1
- package/src/{less/calendar/calendar.less → sass/calendar/calendar.scss} +43 -18
- package/src/{less → sass}/calendar/stories/calendar.stories.js +6 -6
- package/src/{less/carousel/carousel.less → sass/carousel/carousel.scss} +68 -58
- package/src/{less → sass}/carousel/stories/carousel.stories.js +25 -25
- package/src/sass/chart-legend/chart-legend.scss +74 -0
- package/src/sass/chart-legend/stories/chart-legend.stories.js +65 -0
- package/src/{less/checkbox/checkbox.less → sass/checkbox/checkbox.scss} +25 -24
- package/src/{less/chip/chip.less → sass/chip/chip.scss} +1 -1
- package/src/{less → sass}/chip/stories/interactive-chip.stories.js +17 -17
- package/src/{less/chips-combobox/chips-combobox.less → sass/chips-combobox/chips-combobox.scss} +7 -7
- package/src/{less → sass}/chips-combobox/stories/chips-combobox.stories.js +38 -38
- package/src/{less → sass}/chips-combobox/stories/rtl-chips-combobox.stories.js +34 -34
- package/src/{less/combobox/combobox.less → sass/combobox/combobox.scss} +78 -37
- package/src/{less → sass}/combobox/stories/combobox.stories.js +11 -11
- package/src/{less/confirm-dialog/confirm-dialog.less → sass/confirm-dialog/confirm-dialog.scss} +14 -12
- package/src/sass/cta-button/cta-button.scss +105 -0
- package/src/{less → sass}/cta-button/stories/cascade.stories.js +3 -3
- package/src/{less → sass}/cta-button/stories/cta-button.stories.js +2 -2
- package/src/{less → sass}/cta-button/stories/dimensions.stories.js +2 -2
- package/src/{less/date-textbox/date-textbox.less → sass/date-textbox/date-textbox.scss} +10 -6
- package/src/{less → sass}/date-textbox/stories/date-textbox.stories.js +23 -7
- package/src/{less/details/details.less → sass/details/details.scss} +9 -5
- package/src/{less → sass}/details/stories/cascade.stories.js +3 -3
- package/src/{less → sass}/details/stories/details.stories.js +5 -5
- package/src/sass/donut-chart/donut-chart.scss +98 -0
- package/src/sass/donut-chart/stories/donut-chart.stories.js +39 -0
- package/src/{less/drawer-dialog/drawer-dialog.less → sass/drawer-dialog/drawer-dialog.scss} +24 -21
- package/src/{less → sass}/drawer-dialog/stories/drawer-dialog.stories.js +8 -8
- package/src/{less/education-notice/education-notice.less → sass/education-notice/education-notice.scss} +26 -8
- package/src/{less → sass}/education-notice/stories/base.stories.js +13 -13
- package/src/{less/eek/eek.less → sass/eek/eek.scss} +43 -42
- package/src/{less/field/field.less → sass/field/field.scss} +23 -13
- package/src/{less → sass}/field/stories/stacked.stories.js +8 -8
- package/src/{less → sass}/field/stories/unstacked.stories.js +4 -4
- package/src/sass/filter-button/filter-button.scss +112 -0
- package/src/{less/filter-menu/filter-menu.less → sass/filter-menu/filter-menu.scss} +30 -19
- package/src/{less → sass}/filter-menu/stories/filter-menu.stories.js +24 -24
- package/src/{less/filter-menu-button/filter-menu-button.less → sass/filter-menu-button/filter-menu-button.scss} +112 -45
- package/src/{less → sass}/filter-menu-button/stories/filter-menu-button.stories.js +124 -124
- package/src/{less/floating-label/floating-label.less → sass/floating-label/floating-label.scss} +31 -15
- package/src/{less → sass}/floating-label/stories/floating-label.stories.js +15 -15
- package/src/{less/fullscreen-dialog/fullscreen-dialog.less → sass/fullscreen-dialog/fullscreen-dialog.scss} +15 -11
- package/src/{less → sass}/fullscreen-dialog/stories/fullscreen-dialog.stories.js +5 -5
- package/src/sass/gh/_gh-mixins.scss +197 -0
- package/src/sass/global/global.scss +50 -0
- package/src/{less → sass}/global/stories/global.stories.js +12 -12
- package/src/sass/icon/icon.scss +92 -0
- package/src/{less → sass}/icon/stories/icon.stories.js +5 -5
- package/src/{less/icon-button/icon-button.less → sass/icon-button/icon-button.scss} +88 -35
- package/src/sass/icon-button/stories/alignment.stories.js +28 -0
- package/src/{less → sass}/icon-button/stories/buttons.stories.js +36 -36
- package/src/{less → sass}/icon-button/stories/links.stories.js +36 -36
- package/src/sass/image-placeholder/image-placeholder.scss +10 -0
- package/src/sass/infotip/infotip.scss +136 -0
- package/src/{less → sass}/infotip/stories/infotip.stories.js +12 -12
- package/src/{less/inline-notice/inline-notice.less → sass/inline-notice/inline-notice.scss} +3 -3
- package/src/{less → sass}/inline-notice/stories/inline.stories.js +11 -11
- package/src/{less/lightbox-dialog/lightbox-dialog.less → sass/lightbox-dialog/lightbox-dialog.scss} +62 -20
- package/src/{less → sass}/lightbox-dialog/stories/lightbox-dialog.stories.js +40 -33
- package/src/sass/link/link.scss +61 -0
- package/src/{less/listbox/listbox.less → sass/listbox/listbox.scss} +20 -14
- package/src/{less → sass}/listbox/stories/cascade.stories.js +9 -9
- package/src/{less → sass}/listbox/stories/listbox.stories.js +18 -18
- package/src/sass/listbox-button/listbox-button.scss +233 -0
- package/src/{less → sass}/listbox-button/stories/base.stories.js +48 -48
- package/src/{less → sass}/listbox-button/stories/cascade.stories.js +15 -15
- package/src/{less → sass}/listbox-button/stories/dimensions.stories.js +5 -5
- package/src/{less → sass}/listbox-button/stories/error/error.base.stories.js +38 -38
- package/src/{less → sass}/listbox-button/stories/error/error.cascade.stories.js +15 -15
- package/src/{less → sass}/listbox-button/stories/error/error.dimensions.stories.js +5 -5
- package/src/{less → sass}/listbox-button/stories/error/error.form.stories.js +10 -10
- package/src/{less → sass}/listbox-button/stories/form.stories.js +15 -15
- package/src/{less → sass}/listbox-button/stories/subtitle.stories.js +38 -38
- package/src/sass/marketsans/marketsans.scss +46 -0
- package/src/{less/menu/menu.less → sass/menu/menu.scss} +22 -12
- package/src/{less → sass}/menu/stories/fake-menu.stories.js +4 -4
- package/src/{less → sass}/menu/stories/multiSelect.stories.js +9 -9
- package/src/{less/menu-button/menu-button.less → sass/menu-button/menu-button.scss} +60 -30
- package/src/{less → sass}/menu-button/stories/base.stories.js +30 -30
- package/src/{less → sass}/menu-button/stories/cascade.stories.js +6 -6
- package/src/{less → sass}/menu-button/stories/dimensions.stories.js +1 -1
- package/src/{less → sass}/menu-button/stories/fake-menu-button.stories.js +6 -6
- package/src/sass/mixins/private/_bubble-mixins.scss +168 -0
- package/src/sass/mixins/private/_button-mixins.scss +95 -0
- package/src/{less/mixins/private/dialog-mixins.less → sass/mixins/private/_dialog-mixins.scss} +25 -22
- package/src/sass/mixins/private/_dropdown-mixins.scss +60 -0
- package/src/{less/mixins/private/filter-button-mixins.less → sass/mixins/private/_filter-button-mixins.scss} +6 -2
- package/src/sass/mixins/private/_filter-menu-mixins.scss +45 -0
- package/src/sass/mixins/private/_generated-icon-mixins.scss +517 -0
- package/src/sass/mixins/private/_icon-mixins.scss +12 -0
- package/src/sass/mixins/private/_listbox-mixins.scss +48 -0
- package/src/sass/mixins/private/_menu-mixins.scss +30 -0
- package/src/{less/mixins/private/selection-list-mixins.less → sass/mixins/private/_selection-list-mixins.scss} +3 -3
- package/src/sass/mixins/private/_token-mixins.scss +124 -0
- package/src/sass/mixins/public/_typography-mixins.scss +136 -0
- package/src/sass/mixins/public/_utility-mixins.scss +62 -0
- package/src/{less/page-grid/page-grid.less → sass/page-grid/page-grid.scss} +22 -22
- package/src/{less/page-notice/page-notice.less → sass/page-notice/page-notice.scss} +66 -26
- package/src/{less → sass}/page-notice/stories/page-notice.stories.js +14 -14
- package/src/{less → sass}/page-notice/stories/test.stories.js +7 -7
- package/src/{less/pagination/pagination.less → sass/pagination/pagination.scss} +28 -14
- package/src/{less → sass}/pagination/stories/button-cascade.stories.js +6 -6
- package/src/{less → sass}/pagination/stories/buttons.stories.js +4 -4
- package/src/{less → sass}/pagination/stories/link-cascade.stories.js +6 -6
- package/src/{less → sass}/pagination/stories/links.stories.js +4 -4
- package/src/{less → sass}/pagination/stories/overflow.stories.js +20 -20
- package/src/{less/panel-dialog/panel-dialog.less → sass/panel-dialog/panel-dialog.scss} +19 -16
- package/src/{less → sass}/panel-dialog/stories/panel-dialog.stories.js +7 -7
- package/src/{less/phone-input/phone-input.less → sass/phone-input/phone-input.scss} +47 -56
- package/src/{less → sass}/phone-input/stories/phone-input.stories.js +56 -56
- package/src/sass/progress-bar/progress-bar.scss +51 -0
- package/src/{less/progress-bar-expressive/progress-bar-expressive.less → sass/progress-bar-expressive/progress-bar-expressive.scss} +19 -20
- package/src/{less/progress-spinner/progress-spinner.less → sass/progress-spinner/progress-spinner.scss} +3 -3
- package/src/{less → sass}/progress-spinner/stories/progress-spinner.stories.js +4 -4
- package/src/{less/progress-stepper/progress-stepper.less → sass/progress-stepper/progress-stepper.scss} +55 -30
- package/src/{less/radio/radio.less → sass/radio/radio.scss} +25 -24
- package/src/{less/section-notice/section-notice.less → sass/section-notice/section-notice.scss} +42 -18
- package/src/{less → sass}/section-notice/stories/icon-16.stories.js +14 -14
- package/src/{less → sass}/section-notice/stories/iconless.stories.js +4 -4
- package/src/{less → sass}/section-notice/stories/test.stories.js +4 -4
- package/src/{less/section-title/section-title.less → sass/section-title/section-title.scss} +15 -11
- package/src/{less → sass}/section-title/stories/rtl.stories.js +3 -3
- package/src/{less → sass}/section-title/stories/section-title.stories.js +4 -4
- package/src/{less/segmented-buttons/segmented-buttons.less → sass/segmented-buttons/segmented-buttons.scss} +8 -8
- package/src/{less → sass}/segmented-buttons/stories/segmented-buttons.stories.js +2 -2
- package/src/{less/select/select.less → sass/select/select.scss} +53 -18
- package/src/{less → sass}/select/stories/cascade.stories.js +3 -3
- package/src/{less → sass}/select/stories/default.stories.js +9 -9
- package/src/{less → sass}/select/stories/floating-label.stories.js +4 -4
- package/src/{less/signal/signal.less → sass/signal/signal.scss} +9 -6
- package/src/{less/skeleton/skeleton.less → sass/skeleton/skeleton.scss} +23 -20
- package/src/{less/snackbar-dialog/snackbar-dialog.less → sass/snackbar-dialog/snackbar-dialog.scss} +30 -11
- package/src/{less/split-button/split-button.less → sass/split-button/split-button.scss} +1 -1
- package/src/{less → sass}/split-button/stories/base.stories.js +13 -13
- package/src/{less → sass}/split-button/stories/rtl.stories.js +6 -6
- package/src/{less → sass}/split-button/stories/size.stories.js +2 -2
- package/src/{less/star-rating/star-rating.less → sass/star-rating/star-rating.scss} +14 -14
- package/src/{less/star-rating-select/star-rating-select.less → sass/star-rating-select/star-rating-select.scss} +16 -15
- package/src/{less/switch/switch.less → sass/switch/switch.scss} +48 -20
- package/src/{less/tabs/tabs.less → sass/tabs/tabs.scss} +17 -7
- package/src/{less → sass}/textbox/stories/icon.stories.js +34 -18
- package/src/{less → sass}/textbox/stories/rtl/icon.stories.js +27 -11
- package/src/sass/textbox/stories/rtl/textbox.stories.js +45 -0
- package/src/{less → sass}/textbox/stories/textbox.stories.js +24 -2
- package/src/sass/textbox/textbox.scss +238 -0
- package/src/{less/toast-dialog/toast-dialog.less → sass/toast-dialog/toast-dialog.scss} +67 -23
- package/src/{less → sass}/toggle-button/stories/gallery-layout.stories.js +3 -3
- package/src/{less → sass}/toggle-button/stories/list-layout.stories.js +3 -3
- package/src/{less/toggle-button/toggle-button.less → sass/toggle-button/toggle-button.scss} +6 -1
- package/src/sass/toggle-button-group/stories/gallery-layout-exceptions.stories.js +471 -0
- package/src/sass/toggle-button-group/stories/gallery-layout.stories.js +564 -0
- package/src/sass/toggle-button-group/stories/list-layout-exceptions.stories.js +507 -0
- package/src/sass/toggle-button-group/stories/list-layout.stories.js +638 -0
- package/src/sass/toggle-button-group/stories/minimal-layout-exceptions.stories.js +291 -0
- package/src/sass/toggle-button-group/stories/minimal-layout.stories.js +289 -0
- package/src/sass/toggle-button-group/toggle-button-group.scss +342 -0
- package/src/{less → sass}/tooltip/stories/pointer.stories.js +12 -12
- package/src/{less → sass}/tooltip/stories/tooltip.stories.js +3 -3
- package/src/sass/tooltip/tooltip.scss +118 -0
- package/src/{less → sass}/tourtip/stories/tourtip.stories.js +5 -5
- package/src/{less/tourtip/tourtip.less → sass/tourtip/tourtip.scss} +41 -33
- package/src/{less/typography/typography.less → sass/typography/typography.scss} +24 -21
- package/src/{less/utility/utility.less → sass/utility/utility.scss} +13 -13
- package/src/sass/variables/_variables.scss +64 -0
- package/src/{less/video/video.less → sass/video/video.scss} +3 -3
- package/src/svg/icons.svg +21 -21
- package/src/tokens/evo-core.css +139 -67
- package/src/tokens/evo-dark.css +57 -62
- package/src/tokens/evo-light.css +76 -76
- package/svg.svg +21 -21
- package/_cdn/skin/v17.5.0/skin-default.min.css +0 -76
- package/_cdn/skin/v17.5.0/skin-full.min.css +0 -160
- package/_cdn/skin/v17.5.0/skin-headless.min.css +0 -6
- package/dist/variables/variables.less +0 -70
- package/less[ds-4].less +0 -3
- package/src/less/avatar/avatar.less +0 -134
- package/src/less/badge/badge.less +0 -16
- package/src/less/bundles/skin-default.less +0 -3
- package/src/less/bundles/skin-full.less +0 -4
- package/src/less/bundles/skin-headless.less +0 -70
- package/src/less/cta-button/cta-button.less +0 -79
- package/src/less/filter-button/filter-button.less +0 -80
- package/src/less/global/global.less +0 -37
- package/src/less/icon/generated/icon.less +0 -2905
- package/src/less/icon/icon.less +0 -62
- package/src/less/icon-button/stories/alignment.stories.js +0 -28
- package/src/less/image-placeholder/image-placeholder.less +0 -9
- package/src/less/infotip/infotip.less +0 -126
- package/src/less/link/link.less +0 -44
- package/src/less/listbox-button/listbox-button.less +0 -184
- package/src/less/marketsans/marketsans.less +0 -45
- package/src/less/mixins/private/bubble-mixins.less +0 -166
- package/src/less/mixins/private/button-mixins.less +0 -95
- package/src/less/mixins/private/dropdown-mixins.less +0 -44
- package/src/less/mixins/private/filter-menu-mixins.less +0 -31
- package/src/less/mixins/private/generated-icon-mixins.less +0 -517
- package/src/less/mixins/private/icon-mixins.less +0 -17
- package/src/less/mixins/private/listbox-mixins.less +0 -35
- package/src/less/mixins/private/menu-mixins.less +0 -21
- package/src/less/mixins/private/token-mixins.less +0 -100
- package/src/less/progress-bar/progress-bar.less +0 -35
- package/src/less/textbox/stories/rtl/textbox.stories.js +0 -17
- package/src/less/textbox/textbox.less +0 -181
- package/src/less/toggle-button-group/stories/gallery-layout.stories.js +0 -657
- package/src/less/toggle-button-group/stories/list-layout.stories.js +0 -611
- package/src/less/toggle-button-group/stories/minimal-layout.stories.js +0 -341
- package/src/less/toggle-button-group/toggle-button-group.less +0 -111
- package/src/less/tooltip/tooltip.less +0 -109
- package/src/less/variables/variables.less +0 -70
- /package/src/{less → sass}/alert-dialog/stories/alert-dialog.stories.js +0 -0
- /package/src/{less → sass}/avatar/stories/avatar.stories.js +0 -0
- /package/src/{less → sass}/badge/stories/badge.stories.js +0 -0
- /package/src/{less → sass}/button/stories/destructive-button/borderless.stories.js +0 -0
- /package/src/{less → sass}/checkbox/stories/checked.stories.js +0 -0
- /package/src/{less → sass}/checkbox/stories/mixed.stories.js +0 -0
- /package/src/{less → sass}/checkbox/stories/unchecked.stories.js +0 -0
- /package/src/{less → sass}/chip/stories/static-chip.stories.js +0 -0
- /package/src/{less → sass}/confirm-dialog/stories/confirm-dialog.stories.js +0 -0
- /package/src/{less → sass}/field/stories/helper-texts-stacked.stories.js +0 -0
- /package/src/{less → sass}/filter-button/stories/button.stories.js +0 -0
- /package/src/{less → sass}/filter-button/stories/group.stories.js +0 -0
- /package/src/{less → sass}/filter-button/stories/link.stories.js +0 -0
- /package/src/{less/flag/flag.less → sass/flag/flag.scss} +0 -0
- /package/src/{less → sass}/flag/stories/flag.stories.js +0 -0
- /package/src/{less → sass}/gh/gh-mixins.less +0 -0
- /package/src/{less → sass}/image-placeholder/stories/image-placeholder.stories.js +0 -0
- /package/src/{less → sass}/link/stories/link.stories.js +0 -0
- /package/src/{less → sass}/menu/stories/misc.stories.js +0 -0
- /package/src/{less → sass}/mixins/public/typography-mixins.less +0 -0
- /package/src/{less → sass}/mixins/public/utility-mixins.less +0 -0
- /package/src/{less → sass}/progress-bar/stories/progress-bar.stories.js +0 -0
- /package/src/{less → sass}/progress-bar-expressive/stories/progress-bar-expressive.stories.js +0 -0
- /package/src/{less → sass}/progress-stepper/stories/progress-stepper.stories.js +0 -0
- /package/src/{less → sass}/radio/stories/checked.stories.js +0 -0
- /package/src/{less → sass}/radio/stories/unchecked.stories.js +0 -0
- /package/src/{less → sass}/signal/stories/signal.stories.js +0 -0
- /package/src/{less → sass}/skeleton/stories/base.stories.js +0 -0
- /package/src/{less → sass}/skeleton/stories/composite.stories.js +0 -0
- /package/src/{less → sass}/skeleton/stories/rtl.stories.js +0 -0
- /package/src/{less → sass}/snackbar-dialog/stories/base.stories.js +0 -0
- /package/src/{less → sass}/snackbar-dialog/stories/font-size.stories.js +0 -0
- /package/src/{less → sass}/snackbar-dialog/stories/rtl.stories.js +0 -0
- /package/src/{less → sass}/star-rating/stories/star-rating.stories.js +0 -0
- /package/src/{less → sass}/star-rating-select/stories/star-rating-select.stories.js +0 -0
- /package/src/{less → sass}/switch/stories/form.stories.js +0 -0
- /package/src/{less → sass}/switch/stories/script.stories.js +0 -0
- /package/src/{less → sass}/tabs/stories/fake-tabs/block.stories.js +0 -0
- /package/src/{less → sass}/tabs/stories/fake-tabs/inlineBlock.stories.js +0 -0
- /package/src/{less → sass}/tabs/stories/tabs/block.stories.js +0 -0
- /package/src/{less → sass}/tabs/stories/tabs/inlineBlock.stories.js +0 -0
- /package/src/{less → sass}/toast-dialog/stories/toast-dialog.stories.js +0 -0
- /package/src/{less → sass}/toggle-button/stories/gallery-layout-responsive.stories.js +0 -0
- /package/src/{less → sass}/toggle-button/stories/minimal-layout.stories.js +0 -0
|
@@ -7,7 +7,7 @@ export const empty = () => `
|
|
|
7
7
|
<span class="combobox combobox--js chips-combobox__combobox">
|
|
8
8
|
<span class="combobox__control chips-combobox_combobox__control">
|
|
9
9
|
<input id="chips-combobox-1-input" role="combobox" type="text" placeholder="Add Sport" aria-haspopup="listbox" aria-owns="listbox-chips-combobox-1" />
|
|
10
|
-
<svg class="icon icon--
|
|
10
|
+
<svg class="icon icon--16" height="16" width="16" aria-hidden="true">
|
|
11
11
|
<use href="#icon-chevron-down-16"></use>
|
|
12
12
|
</svg>
|
|
13
13
|
</span>
|
|
@@ -36,7 +36,7 @@ export const fluid = () => `
|
|
|
36
36
|
<span class="combobox combobox--js chips-combobox__combobox">
|
|
37
37
|
<span class="combobox__control chips-combobox_combobox__control">
|
|
38
38
|
<input id="chips-combobox-1-input" role="combobox" type="text" placeholder="Add Sport" aria-haspopup="listbox" aria-owns="listbox-chips-combobox-1" />
|
|
39
|
-
<svg class="icon icon--
|
|
39
|
+
<svg class="icon icon--16" height="16" width="16" aria-hidden="true">
|
|
40
40
|
<use href="#icon-chevron-down-16"></use>
|
|
41
41
|
</svg>
|
|
42
42
|
</span>
|
|
@@ -66,7 +66,7 @@ export const prefilled = () => `
|
|
|
66
66
|
<span class="chip">
|
|
67
67
|
<span id="chip-interactive-1-1-text" class="chip__text">Football</span>
|
|
68
68
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-1-text">
|
|
69
|
-
<svg class="icon icon--
|
|
69
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
70
70
|
<use href="#icon-close-12"></use>
|
|
71
71
|
</svg>
|
|
72
72
|
</button>
|
|
@@ -76,7 +76,7 @@ export const prefilled = () => `
|
|
|
76
76
|
<span class="chip">
|
|
77
77
|
<span id="chip-interactive-1-2-text" class="chip__text">Basketball</span>
|
|
78
78
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-2-text">
|
|
79
|
-
<svg class="icon icon--
|
|
79
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
80
80
|
<use href="#icon-close-12"></use>
|
|
81
81
|
</svg>
|
|
82
82
|
</button>
|
|
@@ -86,7 +86,7 @@ export const prefilled = () => `
|
|
|
86
86
|
<span class="chip">
|
|
87
87
|
<span id="chip-interactive-1-3-text" class="chip__text">Baseball</span>
|
|
88
88
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-3-text">
|
|
89
|
-
<svg class="icon icon--
|
|
89
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
90
90
|
<use href="#icon-close-12"></use>
|
|
91
91
|
</svg>
|
|
92
92
|
</button>
|
|
@@ -96,7 +96,7 @@ export const prefilled = () => `
|
|
|
96
96
|
<span class="combobox combobox--js chips-combobox__combobox">
|
|
97
97
|
<span class="combobox__control chips-combobox_combobox__control">
|
|
98
98
|
<input id="chips-combobox-1-input" role="combobox" type="text" placeholder="Add Sport" aria-haspopup="listbox" aria-owns="listbox-chips-combobox-1" />
|
|
99
|
-
<svg class="icon icon--
|
|
99
|
+
<svg class="icon icon--16" height="16" width="16" aria-hidden="true">
|
|
100
100
|
<use href="#icon-chevron-down-16"></use>
|
|
101
101
|
</svg>
|
|
102
102
|
</span>
|
|
@@ -126,7 +126,7 @@ export const manyChips = () => `
|
|
|
126
126
|
<span class="chip">
|
|
127
127
|
<span id="chip-interactive-1-1-text" class="chip__text">Football</span>
|
|
128
128
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-1-text">
|
|
129
|
-
<svg class="icon icon--
|
|
129
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
130
130
|
<use href="#icon-close-12"></use>
|
|
131
131
|
</svg>
|
|
132
132
|
</button>
|
|
@@ -136,7 +136,7 @@ export const manyChips = () => `
|
|
|
136
136
|
<span class="chip">
|
|
137
137
|
<span id="chip-interactive-1-2-text" class="chip__text">Basketball</span>
|
|
138
138
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-2-text">
|
|
139
|
-
<svg class="icon icon--
|
|
139
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
140
140
|
<use href="#icon-close-12"></use>
|
|
141
141
|
</svg>
|
|
142
142
|
</button>
|
|
@@ -146,7 +146,7 @@ export const manyChips = () => `
|
|
|
146
146
|
<span class="chip">
|
|
147
147
|
<span id="chip-interactive-1-3-text" class="chip__text">Baseball</span>
|
|
148
148
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-3-text">
|
|
149
|
-
<svg class="icon icon--
|
|
149
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
150
150
|
<use href="#icon-close-12"></use>
|
|
151
151
|
</svg>
|
|
152
152
|
</button>
|
|
@@ -156,7 +156,7 @@ export const manyChips = () => `
|
|
|
156
156
|
<span class="chip">
|
|
157
157
|
<span id="chip-interactive-1-1-text" class="chip__text">Soccer</span>
|
|
158
158
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-1-text">
|
|
159
|
-
<svg class="icon icon--
|
|
159
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
160
160
|
<use href="#icon-close-12"></use>
|
|
161
161
|
</svg>
|
|
162
162
|
</button>
|
|
@@ -166,7 +166,7 @@ export const manyChips = () => `
|
|
|
166
166
|
<span class="chip">
|
|
167
167
|
<span id="chip-interactive-1-1-text" class="chip__text">Hockey</span>
|
|
168
168
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-1-text">
|
|
169
|
-
<svg class="icon icon--
|
|
169
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
170
170
|
<use href="#icon-close-12"></use>
|
|
171
171
|
</svg>
|
|
172
172
|
</button>
|
|
@@ -176,7 +176,7 @@ export const manyChips = () => `
|
|
|
176
176
|
<span class="chip">
|
|
177
177
|
<span id="chip-interactive-1-1-text" class="chip__text">Tennis</span>
|
|
178
178
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-1-text">
|
|
179
|
-
<svg class="icon icon--
|
|
179
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
180
180
|
<use href="#icon-close-12"></use>
|
|
181
181
|
</svg>
|
|
182
182
|
</button>
|
|
@@ -186,7 +186,7 @@ export const manyChips = () => `
|
|
|
186
186
|
<span class="chip">
|
|
187
187
|
<span id="chip-interactive-1-1-text" class="chip__text">Swimming</span>
|
|
188
188
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-1-text">
|
|
189
|
-
<svg class="icon icon--
|
|
189
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
190
190
|
<use href="#icon-close-12"></use>
|
|
191
191
|
</svg>
|
|
192
192
|
</button>
|
|
@@ -196,7 +196,7 @@ export const manyChips = () => `
|
|
|
196
196
|
<span class="chip">
|
|
197
197
|
<span id="chip-interactive-1-1-text" class="chip__text">Cricket</span>
|
|
198
198
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-1-text">
|
|
199
|
-
<svg class="icon icon--
|
|
199
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
200
200
|
<use href="#icon-close-12"></use>
|
|
201
201
|
</svg>
|
|
202
202
|
</button>
|
|
@@ -206,7 +206,7 @@ export const manyChips = () => `
|
|
|
206
206
|
<span class="chip">
|
|
207
207
|
<span id="chip-interactive-1-1-text" class="chip__text">Table Tennis</span>
|
|
208
208
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-1-text">
|
|
209
|
-
<svg class="icon icon--
|
|
209
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
210
210
|
<use href="#icon-close-12"></use>
|
|
211
211
|
</svg>
|
|
212
212
|
</button>
|
|
@@ -216,7 +216,7 @@ export const manyChips = () => `
|
|
|
216
216
|
<span class="chip">
|
|
217
217
|
<span id="chip-interactive-1-1-text" class="chip__text">Rugby</span>
|
|
218
218
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-1-text">
|
|
219
|
-
<svg class="icon icon--
|
|
219
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
220
220
|
<use href="#icon-close-12"></use>
|
|
221
221
|
</svg>
|
|
222
222
|
</button>
|
|
@@ -226,7 +226,7 @@ export const manyChips = () => `
|
|
|
226
226
|
<span class="chip">
|
|
227
227
|
<span id="chip-interactive-1-1-text" class="chip__text">Boxing</span>
|
|
228
228
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-1-text">
|
|
229
|
-
<svg class="icon icon--
|
|
229
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
230
230
|
<use href="#icon-close-12"></use>
|
|
231
231
|
</svg>
|
|
232
232
|
</button>
|
|
@@ -236,7 +236,7 @@ export const manyChips = () => `
|
|
|
236
236
|
<span class="chip">
|
|
237
237
|
<span id="chip-interactive-1-1-text" class="chip__text">Judo</span>
|
|
238
238
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-1-text">
|
|
239
|
-
<svg class="icon icon--
|
|
239
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
240
240
|
<use href="#icon-close-12"></use>
|
|
241
241
|
</svg>
|
|
242
242
|
</button>
|
|
@@ -246,7 +246,7 @@ export const manyChips = () => `
|
|
|
246
246
|
<span class="chip">
|
|
247
247
|
<span id="chip-interactive-1-1-text" class="chip__text">Fencing</span>
|
|
248
248
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-1-text">
|
|
249
|
-
<svg class="icon icon--
|
|
249
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
250
250
|
<use href="#icon-close-12"></use>
|
|
251
251
|
</svg>
|
|
252
252
|
</button>
|
|
@@ -256,7 +256,7 @@ export const manyChips = () => `
|
|
|
256
256
|
<span class="chip">
|
|
257
257
|
<span id="chip-interactive-1-1-text" class="chip__text">Volleyball</span>
|
|
258
258
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-1-text">
|
|
259
|
-
<svg class="icon icon--
|
|
259
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
260
260
|
<use href="#icon-close-12"></use>
|
|
261
261
|
</svg>
|
|
262
262
|
</button>
|
|
@@ -266,7 +266,7 @@ export const manyChips = () => `
|
|
|
266
266
|
<span class="chip">
|
|
267
267
|
<span id="chip-interactive-1-1-text" class="chip__text">Golf</span>
|
|
268
268
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-1-text">
|
|
269
|
-
<svg class="icon icon--
|
|
269
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
270
270
|
<use href="#icon-close-12"></use>
|
|
271
271
|
</svg>
|
|
272
272
|
</button>
|
|
@@ -276,7 +276,7 @@ export const manyChips = () => `
|
|
|
276
276
|
<span class="combobox combobox--js chips-combobox__combobox">
|
|
277
277
|
<span class="combobox__control chips-combobox_combobox__control">
|
|
278
278
|
<input id="chips-combobox-1-input" role="combobox" type="text" placeholder="Add Sport" aria-haspopup="listbox" aria-owns="listbox-chips-combobox-1" />
|
|
279
|
-
<svg class="icon icon--
|
|
279
|
+
<svg class="icon icon--16" height="16" width="16" aria-hidden="true">
|
|
280
280
|
<use href="#icon-chevron-down-16"></use>
|
|
281
281
|
</svg>
|
|
282
282
|
</span>
|
|
@@ -306,7 +306,7 @@ export const expanded = () => `
|
|
|
306
306
|
<span class="chip">
|
|
307
307
|
<span id="chip-interactive-1-1-text" class="chip__text">Football</span>
|
|
308
308
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-1-text">
|
|
309
|
-
<svg class="icon icon--
|
|
309
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
310
310
|
<use href="#icon-close-12"></use>
|
|
311
311
|
</svg>
|
|
312
312
|
</button>
|
|
@@ -316,7 +316,7 @@ export const expanded = () => `
|
|
|
316
316
|
<span class="chip">
|
|
317
317
|
<span id="chip-interactive-1-2-text" class="chip__text">Basketball</span>
|
|
318
318
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-2-text">
|
|
319
|
-
<svg class="icon icon--
|
|
319
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
320
320
|
<use href="#icon-close-12"></use>
|
|
321
321
|
</svg>
|
|
322
322
|
</button>
|
|
@@ -326,7 +326,7 @@ export const expanded = () => `
|
|
|
326
326
|
<span class="chip">
|
|
327
327
|
<span id="chip-interactive-1-3-text" class="chip__text">Baseball</span>
|
|
328
328
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-3-text">
|
|
329
|
-
<svg class="icon icon--
|
|
329
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
330
330
|
<use href="#icon-close-12"></use>
|
|
331
331
|
</svg>
|
|
332
332
|
</button>
|
|
@@ -336,7 +336,7 @@ export const expanded = () => `
|
|
|
336
336
|
<span class="combobox combobox--js combobox--expanded chips-combobox__combobox">
|
|
337
337
|
<span class="combobox__control chips-combobox_combobox__control">
|
|
338
338
|
<input id="chips-combobox-1-input" role="combobox" type="text" placeholder="Add Sport" aria-haspopup="listbox" aria-owns="listbox-chips-combobox-1" />
|
|
339
|
-
<svg class="icon icon--
|
|
339
|
+
<svg class="icon icon--16" height="16" width="16" aria-hidden="true">
|
|
340
340
|
<use href="#icon-chevron-down-16"></use>
|
|
341
341
|
</svg>
|
|
342
342
|
</span>
|
|
@@ -366,7 +366,7 @@ export const disabledState = () => `
|
|
|
366
366
|
<span class="chip">
|
|
367
367
|
<span id="chip-interactive-1-1-text" class="chip__text">Football</span>
|
|
368
368
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-1-text">
|
|
369
|
-
<svg class="icon icon--
|
|
369
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
370
370
|
<use href="#icon-close-12"></use>
|
|
371
371
|
</svg>
|
|
372
372
|
</button>
|
|
@@ -376,7 +376,7 @@ export const disabledState = () => `
|
|
|
376
376
|
<span class="chip">
|
|
377
377
|
<span id="chip-interactive-1-2-text" class="chip__text">Basketball</span>
|
|
378
378
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-2-text">
|
|
379
|
-
<svg class="icon icon--
|
|
379
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
380
380
|
<use href="#icon-close-12"></use>
|
|
381
381
|
</svg>
|
|
382
382
|
</button>
|
|
@@ -386,7 +386,7 @@ export const disabledState = () => `
|
|
|
386
386
|
<span class="chip">
|
|
387
387
|
<span id="chip-interactive-1-3-text" class="chip__text">Baseball</span>
|
|
388
388
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-3-text">
|
|
389
|
-
<svg class="icon icon--
|
|
389
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
390
390
|
<use href="#icon-close-12"></use>
|
|
391
391
|
</svg>
|
|
392
392
|
</button>
|
|
@@ -396,7 +396,7 @@ export const disabledState = () => `
|
|
|
396
396
|
<span class="combobox combobox--js chips-combobox__combobox">
|
|
397
397
|
<span class="combobox__control chips-combobox_combobox__control">
|
|
398
398
|
<input id="chips-combobox-1-input" role="combobox" type="text" placeholder="Add Sport" aria-haspopup="listbox" aria-owns="listbox-chips-combobox-1" disabled />
|
|
399
|
-
<svg class="icon icon--
|
|
399
|
+
<svg class="icon icon--16" height="16" width="16" aria-hidden="true">
|
|
400
400
|
<use href="#icon-chevron-down-16"></use>
|
|
401
401
|
</svg>
|
|
402
402
|
</span>
|
|
@@ -426,7 +426,7 @@ export const errorState = () => `
|
|
|
426
426
|
<span class="chip">
|
|
427
427
|
<span id="chip-interactive-1-1-text" class="chip__text">Football</span>
|
|
428
428
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-1-text">
|
|
429
|
-
<svg class="icon icon--
|
|
429
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
430
430
|
<use href="#icon-close-12"></use>
|
|
431
431
|
</svg>
|
|
432
432
|
</button>
|
|
@@ -436,7 +436,7 @@ export const errorState = () => `
|
|
|
436
436
|
<span class="chip">
|
|
437
437
|
<span id="chip-interactive-1-2-text" class="chip__text">Basketball</span>
|
|
438
438
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-2-text">
|
|
439
|
-
<svg class="icon icon--
|
|
439
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
440
440
|
<use href="#icon-close-12"></use>
|
|
441
441
|
</svg>
|
|
442
442
|
</button>
|
|
@@ -446,7 +446,7 @@ export const errorState = () => `
|
|
|
446
446
|
<span class="chip">
|
|
447
447
|
<span id="chip-interactive-1-3-text" class="chip__text">Baseball</span>
|
|
448
448
|
<button class="chip__button" type="button" aria-label="Remove" aria-describedby="chip-interactive-1-3-text">
|
|
449
|
-
<svg class="icon icon--
|
|
449
|
+
<svg class="icon icon--12" width="13" height="12" aria-hidden="true">
|
|
450
450
|
<use href="#icon-close-12"></use>
|
|
451
451
|
</svg>
|
|
452
452
|
</button>
|
|
@@ -456,7 +456,7 @@ export const errorState = () => `
|
|
|
456
456
|
<span class="combobox combobox--js chips-combobox__combobox">
|
|
457
457
|
<span class="combobox__control chips-combobox_combobox__control">
|
|
458
458
|
<input id="chips-combobox-1-input" role="combobox" type="text" placeholder="Add Sport" aria-haspopup="listbox" aria-owns="listbox-chips-combobox-1" />
|
|
459
|
-
<svg class="icon icon--
|
|
459
|
+
<svg class="icon icon--16" height="16" width="16" aria-hidden="true">
|
|
460
460
|
<use href="#icon-chevron-down-16"></use>
|
|
461
461
|
</svg>
|
|
462
462
|
</span>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
@import "../variables/variables
|
|
2
|
-
@import "../mixins/private/dropdown-mixins
|
|
3
|
-
@import "../mixins/private/listbox-mixins
|
|
4
|
-
@import "../mixins/private/token-mixins
|
|
5
|
-
@import "../mixins/public/utility-mixins
|
|
1
|
+
@import "../variables/variables";
|
|
2
|
+
@import "../mixins/private/dropdown-mixins";
|
|
3
|
+
@import "../mixins/private/listbox-mixins";
|
|
4
|
+
@import "../mixins/private/token-mixins";
|
|
5
|
+
@import "../mixins/public/utility-mixins";
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
$height-textbox: 40px;
|
|
8
8
|
|
|
9
9
|
.combobox {
|
|
10
10
|
box-sizing: border-box;
|
|
@@ -18,7 +18,7 @@ span.combobox {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.combobox__value {
|
|
21
|
-
|
|
21
|
+
@include truncate();
|
|
22
22
|
|
|
23
23
|
flex: 1 0 auto;
|
|
24
24
|
}
|
|
@@ -28,11 +28,11 @@ span.combobox {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.combobox__listbox {
|
|
31
|
-
|
|
31
|
+
@include dropdown-base(combobox-listbox);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.combobox__listbox--reverse {
|
|
35
|
-
|
|
35
|
+
@include dropdown-reverse();
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
.combobox__control > svg.icon,
|
|
@@ -41,11 +41,11 @@ span.combobox {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.combobox__option[role^="option"] {
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
@include listbox-option-base();
|
|
45
|
+
@include dropdown-item-border-radius(combobox-listbox);
|
|
46
46
|
|
|
47
|
-
cursor: default;
|
|
48
|
-
position: relative;
|
|
47
|
+
cursor: default; /* needed to override text cursor */
|
|
48
|
+
position: relative; /* needed for icon to show properly */
|
|
49
49
|
|
|
50
50
|
&:not(:last-child) {
|
|
51
51
|
margin-bottom: 1px;
|
|
@@ -56,7 +56,7 @@ span.combobox {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
svg.icon {
|
|
59
|
-
|
|
59
|
+
@include listbox-option-status();
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
@@ -87,22 +87,30 @@ span.combobox {
|
|
|
87
87
|
display: block;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
.combobox--expanded svg.icon--
|
|
90
|
+
.combobox--expanded svg.icon--12 {
|
|
91
91
|
transform: rotate(180deg);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
.combobox__control > svg.icon--
|
|
95
|
-
|
|
94
|
+
.combobox__control > svg.icon--12 {
|
|
95
|
+
@include color-token(combobox-textbox-icon-color, color-foreground-primary);
|
|
96
|
+
|
|
96
97
|
pointer-events: none;
|
|
97
98
|
position: absolute;
|
|
98
|
-
right: 17px;
|
|
99
|
-
top: calc(50% - 8px);
|
|
99
|
+
right: 17px; /* +1 px for the border on the input box */
|
|
100
|
+
top: calc(50% - 8px); /* 8px is half the height of dropdown icon size */
|
|
100
101
|
}
|
|
101
102
|
|
|
102
103
|
.combobox__control > input {
|
|
103
104
|
appearance: none;
|
|
104
|
-
|
|
105
|
-
|
|
105
|
+
@include background-color-token(
|
|
106
|
+
combobox-textbox-background-color,
|
|
107
|
+
color-background-secondary
|
|
108
|
+
);
|
|
109
|
+
@include border-color-token(
|
|
110
|
+
combobox-textbox-border-color,
|
|
111
|
+
color-stroke-default
|
|
112
|
+
);
|
|
113
|
+
|
|
106
114
|
border-radius: var(
|
|
107
115
|
--combobox-textbox-border-radius,
|
|
108
116
|
var(--border-radius-50)
|
|
@@ -110,32 +118,49 @@ span.combobox {
|
|
|
110
118
|
border-style: solid;
|
|
111
119
|
border-width: 1px;
|
|
112
120
|
box-sizing: border-box;
|
|
113
|
-
|
|
121
|
+
@include color-token(
|
|
122
|
+
combobox-textbox-foreground-color,
|
|
123
|
+
color-foreground-on-secondary
|
|
124
|
+
);
|
|
125
|
+
|
|
114
126
|
font-family: inherit;
|
|
115
127
|
font-size: inherit;
|
|
116
|
-
height:
|
|
128
|
+
height: $height-textbox;
|
|
117
129
|
margin-left: 0;
|
|
118
130
|
margin-right: 0;
|
|
119
131
|
padding: 0 32px 0 16px;
|
|
120
132
|
|
|
121
133
|
&[readonly] {
|
|
122
|
-
|
|
123
|
-
|
|
134
|
+
@include color-token(
|
|
135
|
+
combobox-textbox-foreground-color,
|
|
136
|
+
color-foreground-primary
|
|
137
|
+
);
|
|
138
|
+
/* fixes the cursor in firefox (1 of 2) */
|
|
124
139
|
cursor: default;
|
|
125
|
-
|
|
140
|
+
/* fixes the cursor in firefox (2 of 2) */
|
|
126
141
|
text-shadow: 0 0 0 inherit;
|
|
127
|
-
|
|
142
|
+
|
|
143
|
+
--webkit-user-select: none; /* Fix to get rid of unintended cursor in iOS mobile */
|
|
128
144
|
|
|
129
145
|
&::-moz-selection,
|
|
130
146
|
&::selection {
|
|
131
|
-
|
|
147
|
+
@include background-color-token(
|
|
148
|
+
combobox-textbox-readonly-selection-background,
|
|
149
|
+
color-background-primary
|
|
150
|
+
);
|
|
132
151
|
}
|
|
133
152
|
}
|
|
134
153
|
|
|
135
154
|
&[disabled],
|
|
136
155
|
&[aria-disabled="true"] {
|
|
137
|
-
|
|
138
|
-
|
|
156
|
+
@include border-color-token(
|
|
157
|
+
combobox-textbox-disabled-border-color,
|
|
158
|
+
color-background-disabled
|
|
159
|
+
);
|
|
160
|
+
@include color-token(
|
|
161
|
+
combobox-textbox-disabled-foreground-color,
|
|
162
|
+
color-foreground-disabled
|
|
163
|
+
);
|
|
139
164
|
|
|
140
165
|
&[readonly] {
|
|
141
166
|
text-shadow: 0 0 0 var(--color-foreground-disabled);
|
|
@@ -147,7 +172,10 @@ span.combobox {
|
|
|
147
172
|
}
|
|
148
173
|
|
|
149
174
|
&[aria-invalid="true"] {
|
|
150
|
-
|
|
175
|
+
@include border-color-token(
|
|
176
|
+
combobox-textbox-invalid-foreground-color,
|
|
177
|
+
color-stroke-attention
|
|
178
|
+
);
|
|
151
179
|
}
|
|
152
180
|
|
|
153
181
|
&::-ms-clear {
|
|
@@ -162,8 +190,14 @@ span.combobox {
|
|
|
162
190
|
}
|
|
163
191
|
|
|
164
192
|
.combobox__control > input:focus {
|
|
165
|
-
|
|
166
|
-
|
|
193
|
+
@include background-color-token(
|
|
194
|
+
combobox-textbox-focus-background-color,
|
|
195
|
+
color-background-primary
|
|
196
|
+
);
|
|
197
|
+
@include border-color-token(
|
|
198
|
+
combobox-textbox-focus-border-color,
|
|
199
|
+
color-foreground-primary
|
|
200
|
+
);
|
|
167
201
|
}
|
|
168
202
|
|
|
169
203
|
.combobox__control--borderless > input:focus {
|
|
@@ -181,15 +215,22 @@ span.combobox {
|
|
|
181
215
|
|
|
182
216
|
.combobox--large .combobox__control > input {
|
|
183
217
|
font-size: var(--font-size-medium);
|
|
184
|
-
height:
|
|
218
|
+
height: $height-textbox + 8px;
|
|
185
219
|
}
|
|
186
220
|
|
|
187
221
|
.combobox__control > input[disabled] {
|
|
188
|
-
|
|
222
|
+
@include background-color-token(
|
|
223
|
+
combobox-textbox-disabled-background-color,
|
|
224
|
+
color-background-secondary
|
|
225
|
+
);
|
|
189
226
|
}
|
|
190
227
|
|
|
191
228
|
.combobox__option--active[role="option"] {
|
|
192
|
-
|
|
229
|
+
@include color-token(
|
|
230
|
+
combobox-listbox-option-hover-foreground-color,
|
|
231
|
+
color-foreground-primary
|
|
232
|
+
);
|
|
233
|
+
|
|
193
234
|
font-weight: bold;
|
|
194
235
|
}
|
|
195
236
|
|
|
@@ -200,7 +241,7 @@ span.combobox {
|
|
|
200
241
|
}
|
|
201
242
|
}
|
|
202
243
|
|
|
203
|
-
|
|
244
|
+
/* RTL */
|
|
204
245
|
[dir="rtl"] {
|
|
205
246
|
.combobox__control > input {
|
|
206
247
|
padding: 0 16px 0 32px;
|
|
@@ -4,7 +4,7 @@ export const collapsed = () => `
|
|
|
4
4
|
<span class="combobox">
|
|
5
5
|
<span class="combobox__control">
|
|
6
6
|
<input name="combobox-default" placeholder="Combobox" role="combobox" type="text" aria-expanded="false" aria-haspopup="listbox" />
|
|
7
|
-
<svg class="icon icon--
|
|
7
|
+
<svg class="icon icon--12" height="8" width="8" aria-hidden="true">
|
|
8
8
|
<use href="#icon-chevron-down-12"></use>
|
|
9
9
|
</svg>
|
|
10
10
|
</span>
|
|
@@ -25,7 +25,7 @@ export const expanded = () => `
|
|
|
25
25
|
<span class="combobox combobox--expanded">
|
|
26
26
|
<span class="combobox__control">
|
|
27
27
|
<input name="combobox-default" placeholder="Combobox" role="combobox" type="text" aria-expanded="true" aria-haspopup="listbox" />
|
|
28
|
-
<svg class="icon icon--
|
|
28
|
+
<svg class="icon icon--12" height="8" width="8" aria-hidden="true">
|
|
29
29
|
<use href="#icon-chevron-down-12"></use>
|
|
30
30
|
</svg>
|
|
31
31
|
</span>
|
|
@@ -46,7 +46,7 @@ export const textSpacing = () => `
|
|
|
46
46
|
<span class="combobox combobox--expanded demo-a11y-text-spacing">
|
|
47
47
|
<span class="combobox__control">
|
|
48
48
|
<input name="combobox-default" placeholder="Combobox" role="combobox" type="text" aria-expanded="true" aria-haspopup="listbox" />
|
|
49
|
-
<svg class="icon icon--
|
|
49
|
+
<svg class="icon icon--12" height="8" width="8" aria-hidden="true">
|
|
50
50
|
<use href="#icon-chevron-down-12"></use>
|
|
51
51
|
</svg>
|
|
52
52
|
</span>
|
|
@@ -67,7 +67,7 @@ export const disabled = () => `
|
|
|
67
67
|
<span class="combobox">
|
|
68
68
|
<span class="combobox__control">
|
|
69
69
|
<input name="combobox-default" placeholder="Combobox" role="combobox" type="text" aria-expanded="false" aria-haspopup="listbox" disabled />
|
|
70
|
-
<svg class="icon icon--
|
|
70
|
+
<svg class="icon icon--12" height="8" width="8" aria-hidden="true">
|
|
71
71
|
<use href="#icon-chevron-down-12"></use>
|
|
72
72
|
</svg>
|
|
73
73
|
</span>
|
|
@@ -88,7 +88,7 @@ export const large = () => `
|
|
|
88
88
|
<span class="combobox combobox--large combobox--expanded">
|
|
89
89
|
<span class="combobox__control">
|
|
90
90
|
<input name="combobox-default" placeholder="Combobox" role="combobox" type="text" aria-expanded="true" aria-haspopup="listbox" />
|
|
91
|
-
<svg class="icon icon--
|
|
91
|
+
<svg class="icon icon--12" height="8" width="8" aria-hidden="true">
|
|
92
92
|
<use href="#icon-chevron-down-12"></use>
|
|
93
93
|
</svg>
|
|
94
94
|
</span>
|
|
@@ -109,7 +109,7 @@ export const longOptions = () => `
|
|
|
109
109
|
<span class="combobox combobox--expanded">
|
|
110
110
|
<span class="combobox__control">
|
|
111
111
|
<input name="combobox-default" placeholder="Combobox" role="combobox" type="text" aria-expanded="true" aria-haspopup="listbox" />
|
|
112
|
-
<svg class="icon icon--
|
|
112
|
+
<svg class="icon icon--12" height="8" width="8" aria-hidden="true">
|
|
113
113
|
<use href="#icon-chevron-down-12"></use>
|
|
114
114
|
</svg>
|
|
115
115
|
</span>
|
|
@@ -131,7 +131,7 @@ export const actionable = () => `
|
|
|
131
131
|
<span class="combobox__control">
|
|
132
132
|
<input placeholder="Combobox" role="combobox" type="text" aria-haspopup="listbox" aria-owns="listbox1" />
|
|
133
133
|
<button class="icon-btn icon-btn--actionable" type="button" aria-label="Expand Suggestions">
|
|
134
|
-
<svg class="icon icon--
|
|
134
|
+
<svg class="icon icon--12" height="8" width="8" aria-hidden="true">
|
|
135
135
|
<use href="#icon-chevron-down-12"></use>
|
|
136
136
|
</svg>
|
|
137
137
|
</button>
|
|
@@ -157,7 +157,7 @@ export const RTL = () => `
|
|
|
157
157
|
<span class="combobox combobox--expanded">
|
|
158
158
|
<span class="combobox__control">
|
|
159
159
|
<input class="pink-placeholder-text" name="combobox-default" placeholder="Combobox" role="combobox" type="text" aria-expanded="true" aria-haspopup="listbox" />
|
|
160
|
-
<svg class="icon icon--
|
|
160
|
+
<svg class="icon icon--12" height="8" width="8" aria-hidden="true">
|
|
161
161
|
<use href="#icon-chevron-down-12"></use>
|
|
162
162
|
</svg>
|
|
163
163
|
</span>
|
|
@@ -181,7 +181,7 @@ export const actionableRTL = () => `
|
|
|
181
181
|
<span class="combobox__control combobox__control--actionable">
|
|
182
182
|
<input placeholder="Combobox" role="combobox" type="text" aria-haspopup="listbox" aria-owns="listbox5" />
|
|
183
183
|
<button class="icon-btn" type="button" aria-label="Expand Suggestions">
|
|
184
|
-
<svg class="icon icon--
|
|
184
|
+
<svg class="icon icon--12" height="8" width="8" aria-hidden="true">
|
|
185
185
|
<use href="#icon-chevron-down-12"></use>
|
|
186
186
|
</svg>
|
|
187
187
|
</button>
|
|
@@ -208,7 +208,7 @@ export const inheritColour = () => `
|
|
|
208
208
|
<span class="combobox combobox--expanded">
|
|
209
209
|
<span class="combobox__control">
|
|
210
210
|
<input class="pink-placeholder-text" name="combobox-default" placeholder="Combobox" role="combobox" type="text" aria-expanded="true" aria-haspopup="listbox" />
|
|
211
|
-
<svg class="icon icon--
|
|
211
|
+
<svg class="icon icon--12" height="8" width="8" aria-hidden="true">
|
|
212
212
|
<use href="#icon-chevron-down-12"></use>
|
|
213
213
|
</svg>
|
|
214
214
|
</span>
|
|
@@ -231,7 +231,7 @@ export const inheritFontSize = () => `
|
|
|
231
231
|
<span class="combobox combobox--expanded">
|
|
232
232
|
<span class="combobox__control">
|
|
233
233
|
<input name="combobox-default" placeholder="Combobox" role="combobox" type="text" aria-expanded="true" aria-haspopup="listbox" />
|
|
234
|
-
<svg class="icon icon--
|
|
234
|
+
<svg class="icon icon--12" height="8" width="8" aria-hidden="true">
|
|
235
235
|
<use href="#icon-chevron-down-12"></use>
|
|
236
236
|
</svg>
|
|
237
237
|
</span>
|