@ebay/skin 18.1.0 → 18.2.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/ISSUE_TEMPLATE/BUG-REPORT.yml +1 -1
- package/.github/ISSUE_TEMPLATE/ENHANCEMENT.yml +37 -0
- package/.github/ISSUE_TEMPLATE/NEW-FEATURE-REQUEST.yml +1 -1
- package/.github/workflows/{jekyll-gh-pages.yml → gh-pages.yml} +5 -14
- package/.github/workflows/pages-html-proofer.yml +6 -12
- package/.husky/commit-msg +0 -3
- package/.husky/pre-commit +0 -3
- package/.percy.yml +1 -0
- package/CHANGELOG.md +18 -0
- package/CONTRIBUTING.md +9 -27
- package/dist/bundles/skin-default.css +67 -4
- package/dist/bundles/skin-full.css +69 -5
- package/dist/bundles/skin-headless.css +65 -3
- package/dist/button/button.css +17 -0
- package/dist/menu-button/menu-button.css +4 -4
- package/dist/table/table.css +62 -0
- package/dist/tokens/evo-dark.css +2 -1
- package/dist/tokens/evo-light.css +2 -1
- package/index.browser.json +1 -0
- package/index.css +1 -0
- package/index.js +1 -0
- package/index.mjs +1 -0
- package/lint.log +4 -4
- package/package.json +64 -77
- package/scripts/generate-flags.js +8 -3
- package/scripts/generate-images.js +13 -8
- package/scripts/jekyll-config.js +4 -6
- package/src/components/about.marko +15 -0
- package/src/components/animation.marko +74 -0
- package/src/components/bundling.marko +63 -0
- package/src/components/eek-icon.marko +5 -0
- package/src/components/eek-range.marko +7 -0
- package/src/components/eek-rating.marko +9 -0
- package/src/components/flag-list.marko +13 -0
- package/src/components/highlight-code/index.marko +50 -0
- package/src/components/highlight-code/marko-tag.json +4 -0
- package/src/components/highlight-code/transform.js +10 -0
- package/src/components/icon-deprecated-list.marko +22 -0
- package/src/components/icon-list.marko +22 -0
- package/src/components/icon-symbol.marko +3 -0
- package/src/components/install.marko +23 -0
- package/src/components/master-flags.marko +60135 -0
- package/src/components/master-icons.marko +9448 -0
- package/src/components/module-list.marko +9 -0
- package/src/components/section-header.marko +29 -0
- package/src/components/themes.marko +34 -0
- package/src/components/token-system.marko +18 -0
- package/src/modules/alert-dialog.marko +100 -0
- package/src/modules/avatar.marko +390 -0
- package/src/modules/badge.marko +45 -0
- package/src/modules/breadcrumbs.marko +235 -0
- package/src/modules/button.marko +521 -0
- package/src/modules/calendar.marko +1072 -0
- package/src/modules/carousel.marko +220 -0
- package/src/modules/chart-legend.marko +69 -0
- package/src/modules/checkbox.marko +649 -0
- package/src/modules/chip.marko +171 -0
- package/src/modules/chips-combobox.marko +784 -0
- package/src/modules/combobox.marko +322 -0
- package/src/modules/confirm-dialog.marko +83 -0
- package/src/modules/cta-button.marko +44 -0
- package/src/modules/date-textbox.marko +839 -0
- package/src/modules/details.marko +231 -0
- package/src/modules/donut-chart.marko +183 -0
- package/src/modules/education-notice.marko +253 -0
- package/src/modules/eek.marko +259 -0
- package/src/modules/field.marko +1242 -0
- package/src/modules/filter-button.marko +193 -0
- package/src/modules/filter-menu-button.marko +912 -0
- package/src/modules/filter-menu.marko +712 -0
- package/src/modules/flag.marko +46 -0
- package/src/modules/floating-label.marko +492 -0
- package/src/modules/global.marko +7 -0
- package/src/modules/icon-button.marko +363 -0
- package/src/modules/icon.marko +185 -0
- package/src/modules/image-placeholder.marko +64 -0
- package/src/modules/infotip.marko +243 -0
- package/src/modules/inline-notice.marko +98 -0
- package/src/modules/less.marko +173 -0
- package/src/modules/lightbox-dialog.marko +511 -0
- package/src/modules/link.marko +168 -0
- package/src/modules/listbox-button.marko +1079 -0
- package/src/modules/listbox.marko +323 -0
- package/src/modules/marketsans.marko +23 -0
- package/src/modules/menu-button.marko +1069 -0
- package/src/modules/menu.marko +588 -0
- package/src/modules/page-grid.marko +274 -0
- package/src/modules/page-notice.marko +295 -0
- package/src/modules/pagination.marko +792 -0
- package/src/modules/panel-dialog.marko +426 -0
- package/src/modules/phone-input.marko +1664 -0
- package/src/modules/progress-bar-expressive.marko +435 -0
- package/src/modules/progress-bar.marko +136 -0
- package/src/modules/progress-spinner.marko +108 -0
- package/src/modules/progress-stepper.marko +576 -0
- package/src/modules/radio.marko +578 -0
- package/src/modules/section-notice.marko +387 -0
- package/src/modules/section-title.marko +233 -0
- package/src/modules/segmented-buttons.marko +276 -0
- package/src/modules/select.marko +370 -0
- package/src/modules/signal.marko +41 -0
- package/src/modules/skeleton.marko +723 -0
- package/src/modules/snackbar-dialog.marko +215 -0
- package/src/modules/split-button.marko +370 -0
- package/src/modules/star-rating-select.marko +229 -0
- package/src/modules/star-rating.marko +159 -0
- package/src/modules/svg.marko +7 -0
- package/src/modules/switch.marko +258 -0
- package/src/modules/table.marko +947 -0
- package/src/modules/tabs.marko +268 -0
- package/src/modules/textbox.marko +529 -0
- package/src/modules/toast-dialog.marko +197 -0
- package/src/modules/toggle-button-group.marko +2408 -0
- package/src/modules/toggle-button.marko +1094 -0
- package/src/modules/tokens.marko +70 -0
- package/src/modules/tooltip.marko +160 -0
- package/src/modules/tourtip.marko +255 -0
- package/src/modules/typography.marko +114 -0
- package/src/modules/utility.marko +101 -0
- package/src/routes/+layout.marko +1 -0
- package/src/routes/+layout.style.scss +518 -0
- package/src/routes/_index/+layout.component-browser.js +6 -0
- package/src/routes/_index/+layout.marko +70 -0
- package/src/routes/_index/+meta.json +3984 -0
- package/src/routes/_index/+page.marko +21 -0
- package/src/routes/_index/logo.svg +41 -0
- package/src/routes/blog-stretchy-nested/+layout.marko +13 -0
- package/src/routes/blog-stretchy-nested/+page.marko +100 -0
- package/src/routes/blog-stretchy-nested/+page.style.css +150 -0
- package/src/routes/blog-stretchy-subgrid/+layout.marko +108 -0
- package/src/routes/blog-stretchy-subgrid/+page.marko +13 -0
- package/src/routes/blog-stretchy-subgrid/+page.style.css +159 -0
- package/src/routes/favicon.png +0 -0
- package/src/routes/flags.json +1841 -0
- package/src/routes/icons.json +4430 -0
- package/src/routes/main.js +908 -0
- package/src/routes/modules.marko +7 -0
- package/src/routes/page-grid-templates/+layout.marko +58 -0
- package/src/routes/page-grid-templates/+page.marko +35 -0
- package/src/routes/pricing/+layout.marko +1 -0
- package/src/routes/pricing/+page.marko +120 -0
- package/src/routes/pricing/+page.style.css +162 -0
- package/src/routes/skeleton-examples/examples/+layout.component-browser.js +1 -0
- package/src/routes/skeleton-examples/examples/+layout.marko +12 -0
- package/src/routes/skeleton-examples/examples/+layout.style.css +160 -0
- package/src/routes/skeleton-examples/examples/buffered/example-1/+meta.json +3 -0
- package/src/routes/skeleton-examples/examples/buffered/example-1/+page.component-browser.js +95 -0
- package/src/routes/skeleton-examples/examples/buffered/example-1/+page.marko +0 -0
- package/src/routes/skeleton-examples/examples/csr/example-1/+meta.json +3 -0
- package/src/routes/skeleton-examples/examples/csr/example-1/+page.component-browser.js +36 -0
- package/src/routes/skeleton-examples/examples/csr/example-1/+page.marko +15 -0
- package/src/routes/skeleton-examples/examples/csr/example-1/+page.style.css +19 -0
- package/src/routes/skeleton-examples/examples/csr/example-2/+meta.json +3 -0
- package/src/routes/skeleton-examples/examples/csr/example-2/+page.component-browser.js +35 -0
- package/src/routes/skeleton-examples/examples/csr/example-2/+page.marko +15 -0
- package/src/routes/skeleton-examples/examples/csr/example-2/+page.style.css +19 -0
- package/src/routes/skeleton-examples/examples/csr/example-3/+meta.json +3 -0
- package/src/routes/skeleton-examples/examples/csr/example-3/+page.component-browser.js +36 -0
- package/src/routes/skeleton-examples/examples/csr/example-3/+page.marko +15 -0
- package/src/routes/skeleton-examples/examples/csr/example-3/+page.style.css +19 -0
- package/src/routes/skeleton-examples/examples/csr/example-4/+meta.json +3 -0
- package/src/routes/skeleton-examples/examples/csr/example-4/+page.component-browser.js +35 -0
- package/src/routes/skeleton-examples/examples/csr/example-4/+page.marko +15 -0
- package/src/routes/skeleton-examples/examples/csr/example-4/+page.style.css +19 -0
- package/src/routes/skeleton-examples/examples/in-order/example-1a/+meta.json +3 -0
- package/src/routes/skeleton-examples/examples/in-order/example-1a/+page.component-browser.js +107 -0
- package/src/routes/skeleton-examples/examples/in-order/example-1a/+page.marko +3 -0
- package/src/routes/skeleton-examples/examples/in-order/example-1a/+page.style.css +10 -0
- package/src/routes/skeleton-examples/examples/in-order/example-1b/+meta.json +3 -0
- package/src/routes/skeleton-examples/examples/in-order/example-1b/+page.component-browser.js +106 -0
- package/src/routes/skeleton-examples/examples/in-order/example-1b/+page.marko +3 -0
- package/src/routes/skeleton-examples/examples/in-order/example-1b/+page.style.css +15 -0
- package/src/routes/skeleton-examples/examples/in-order/example-2a/+meta.json +3 -0
- package/src/routes/skeleton-examples/examples/in-order/example-2a/+page.component-browser.js +120 -0
- package/src/routes/skeleton-examples/examples/in-order/example-2a/+page.marko +3 -0
- package/src/routes/skeleton-examples/examples/in-order/example-2a/+page.style.css +5 -0
- package/src/routes/skeleton-examples/examples/in-order/example-2b/+meta.json +3 -0
- package/src/routes/skeleton-examples/examples/in-order/example-2b/+page.component-browser.js +117 -0
- package/src/routes/skeleton-examples/examples/in-order/example-2b/+page.marko +3 -0
- package/src/routes/skeleton-examples/examples/in-order/example-2b/+page.style.css +19 -0
- package/src/routes/skeleton-examples/examples/out-of-order/example-1/+meta.json +3 -0
- package/src/routes/skeleton-examples/examples/out-of-order/example-1/+page.component-browser.js +121 -0
- package/src/routes/skeleton-examples/examples/out-of-order/example-1/+page.marko +3 -0
- package/src/routes/skeleton-examples/examples/out-of-order/example-1/+page.style.css +5 -0
- package/src/routes/skeleton-examples/examples/out-of-order/example-2/+meta.json +3 -0
- package/src/routes/skeleton-examples/examples/out-of-order/example-2/+page.component-browser.js +131 -0
- package/src/routes/skeleton-examples/examples/out-of-order/example-2/+page.marko +3 -0
- package/src/routes/skeleton-examples/examples/out-of-order/example-2/+page.style.css +10 -0
- package/src/routes/skeleton-examples/examples/out-of-order/example-3/+meta.json +3 -0
- package/src/routes/skeleton-examples/examples/out-of-order/example-3/+page.component-browser.js +154 -0
- package/src/routes/skeleton-examples/examples/out-of-order/example-3/+page.marko +3 -0
- package/src/routes/skeleton-examples/examples/out-of-order/example-3/+page.style.css +27 -0
- package/src/routes/skeleton-examples/examples/out-of-order/example-4/+meta.json +3 -0
- package/src/routes/skeleton-examples/examples/out-of-order/example-4/+page.component-browser.js +140 -0
- package/src/routes/skeleton-examples/examples/out-of-order/example-4/+page.marko +3 -0
- package/src/routes/skeleton-examples/examples/out-of-order/example-4/+page.style.css +14 -0
- package/src/routes/skeleton-examples/skeleton/+layout.component-browser.js +4 -0
- package/src/routes/skeleton-examples/skeleton/+layout.marko +58 -0
- package/src/routes/skeleton-examples/skeleton/+page.marko +176 -0
- package/src/routes/static/flag/flag-ac.svg +333 -0
- package/src/routes/static/flag/flag-ad.svg +674 -0
- package/src/routes/static/flag/flag-ae.svg +13 -0
- package/src/routes/static/flag/flag-af.svg +871 -0
- package/src/routes/static/flag/flag-ag.svg +52 -0
- package/src/routes/static/flag/flag-ai.svg +80 -0
- package/src/routes/static/flag/flag-al.svg +18 -0
- package/src/routes/static/flag/flag-am.svg +12 -0
- package/src/routes/static/flag/flag-ao.svg +62 -0
- package/src/routes/static/flag/flag-aq.svg +20 -0
- package/src/routes/static/flag/flag-ar.svg +281 -0
- package/src/routes/static/flag/flag-as.svg +280 -0
- package/src/routes/static/flag/flag-at.svg +21 -0
- package/src/routes/static/flag/flag-au.svg +27 -0
- package/src/routes/static/flag/flag-aw.svg +157 -0
- package/src/routes/static/flag/flag-ax.svg +36 -0
- package/src/routes/static/flag/flag-az.svg +24 -0
- package/src/routes/static/flag/flag-ba.svg +40 -0
- package/src/routes/static/flag/flag-bb.svg +19 -0
- package/src/routes/static/flag/flag-bd.svg +14 -0
- package/src/routes/static/flag/flag-be.svg +27 -0
- package/src/routes/static/flag/flag-bf.svg +27 -0
- package/src/routes/static/flag/flag-bg.svg +27 -0
- package/src/routes/static/flag/flag-bh.svg +14 -0
- package/src/routes/static/flag/flag-bi.svg +60 -0
- package/src/routes/static/flag/flag-bj.svg +43 -0
- package/src/routes/static/flag/flag-bl.svg +27 -0
- package/src/routes/static/flag/flag-bm.svg +529 -0
- package/src/routes/static/flag/flag-bn.svg +136 -0
- package/src/routes/static/flag/flag-bo.svg +3938 -0
- package/src/routes/static/flag/flag-bq.svg +12 -0
- package/src/routes/static/flag/flag-br.svg +123 -0
- package/src/routes/static/flag/flag-bs.svg +46 -0
- package/src/routes/static/flag/flag-bt.svg +477 -0
- package/src/routes/static/flag/flag-bv.svg +46 -0
- package/src/routes/static/flag/flag-bw.svg +27 -0
- package/src/routes/static/flag/flag-by.svg +76 -0
- package/src/routes/static/flag/flag-bz.svg +605 -0
- package/src/routes/static/flag/flag-ca.svg +14 -0
- package/src/routes/static/flag/flag-cc.svg +52 -0
- package/src/routes/static/flag/flag-cd.svg +15 -0
- package/src/routes/static/flag/flag-cefta.svg +52 -0
- package/src/routes/static/flag/flag-cf.svg +58 -0
- package/src/routes/static/flag/flag-cg.svg +40 -0
- package/src/routes/static/flag/flag-ch.svg +27 -0
- package/src/routes/static/flag/flag-ci.svg +27 -0
- package/src/routes/static/flag/flag-ck.svg +30 -0
- package/src/routes/static/flag/flag-cl.svg +46 -0
- package/src/routes/static/flag/flag-cm.svg +52 -0
- package/src/routes/static/flag/flag-cn.svg +30 -0
- package/src/routes/static/flag/flag-co.svg +27 -0
- package/src/routes/static/flag/flag-cp.svg +27 -0
- package/src/routes/static/flag/flag-cr.svg +27 -0
- package/src/routes/static/flag/flag-cu.svg +46 -0
- package/src/routes/static/flag/flag-cv.svg +46 -0
- package/src/routes/static/flag/flag-cw.svg +32 -0
- package/src/routes/static/flag/flag-cx.svg +47 -0
- package/src/routes/static/flag/flag-cy.svg +22 -0
- package/src/routes/static/flag/flag-cz.svg +12 -0
- package/src/routes/static/flag/flag-de.svg +12 -0
- package/src/routes/static/flag/flag-dg.svg +809 -0
- package/src/routes/static/flag/flag-dj.svg +46 -0
- package/src/routes/static/flag/flag-dk.svg +12 -0
- package/src/routes/static/flag/flag-dm.svg +701 -0
- package/src/routes/static/flag/flag-do.svg +557 -0
- package/src/routes/static/flag/flag-dz.svg +15 -0
- package/src/routes/static/flag/flag-ea.svg +2497 -0
- package/src/routes/static/flag/flag-ec.svg +904 -0
- package/src/routes/static/flag/flag-ee.svg +17 -0
- package/src/routes/static/flag/flag-eg.svg +166 -0
- package/src/routes/static/flag/flag-eh.svg +60 -0
- package/src/routes/static/flag/flag-er.svg +33 -0
- package/src/routes/static/flag/flag-es-ct.svg +19 -0
- package/src/routes/static/flag/flag-es-ga.svg +849 -0
- package/src/routes/static/flag/flag-es-pv.svg +18 -0
- package/src/routes/static/flag/flag-es.svg +2497 -0
- package/src/routes/static/flag/flag-et.svg +50 -0
- package/src/routes/static/flag/flag-eu.svg +490 -0
- package/src/routes/static/flag/flag-fi.svg +12 -0
- package/src/routes/static/flag/flag-fj.svg +571 -0
- package/src/routes/static/flag/flag-fk.svg +553 -0
- package/src/routes/static/flag/flag-fm.svg +34 -0
- package/src/routes/static/flag/flag-fo.svg +40 -0
- package/src/routes/static/flag/flag-fr.svg +27 -0
- package/src/routes/static/flag/flag-ga.svg +27 -0
- package/src/routes/static/flag/flag-gb-eng.svg +12 -0
- package/src/routes/static/flag/flag-gb-nir.svg +730 -0
- package/src/routes/static/flag/flag-gb-sct.svg +12 -0
- package/src/routes/static/flag/flag-gb-wls.svg +33 -0
- package/src/routes/static/flag/flag-gb.svg +20 -0
- package/src/routes/static/flag/flag-gd.svg +97 -0
- package/src/routes/static/flag/flag-ge.svg +18 -0
- package/src/routes/static/flag/flag-gf.svg +27 -0
- package/src/routes/static/flag/flag-gg.svg +28 -0
- package/src/routes/static/flag/flag-gh.svg +13 -0
- package/src/routes/static/flag/flag-gi.svg +137 -0
- package/src/routes/static/flag/flag-gl.svg +14 -0
- package/src/routes/static/flag/flag-gm.svg +52 -0
- package/src/routes/static/flag/flag-gn.svg +27 -0
- package/src/routes/static/flag/flag-gp.svg +27 -0
- package/src/routes/static/flag/flag-gq.svg +90 -0
- package/src/routes/static/flag/flag-gr.svg +71 -0
- package/src/routes/static/flag/flag-gs.svg +709 -0
- package/src/routes/static/flag/flag-gt.svg +889 -0
- package/src/routes/static/flag/flag-gu.svg +135 -0
- package/src/routes/static/flag/flag-gw.svg +22 -0
- package/src/routes/static/flag/flag-gy.svg +39 -0
- package/src/routes/static/flag/flag-hk.svg +160 -0
- package/src/routes/static/flag/flag-hm.svg +27 -0
- package/src/routes/static/flag/flag-hn.svg +211 -0
- package/src/routes/static/flag/flag-hr.svg +241 -0
- package/src/routes/static/flag/flag-ht.svg +992 -0
- package/src/routes/static/flag/flag-hu.svg +27 -0
- package/src/routes/static/flag/flag-ic.svg +27 -0
- package/src/routes/static/flag/flag-id.svg +11 -0
- package/src/routes/static/flag/flag-ie.svg +27 -0
- package/src/routes/static/flag/flag-il.svg +52 -0
- package/src/routes/static/flag/flag-im.svg +191 -0
- package/src/routes/static/flag/flag-in.svg +216 -0
- package/src/routes/static/flag/flag-io.svg +809 -0
- package/src/routes/static/flag/flag-iq.svg +24 -0
- package/src/routes/static/flag/flag-ir.svg +838 -0
- package/src/routes/static/flag/flag-is.svg +40 -0
- package/src/routes/static/flag/flag-it.svg +27 -0
- package/src/routes/static/flag/flag-je.svg +137 -0
- package/src/routes/static/flag/flag-jm.svg +33 -0
- package/src/routes/static/flag/flag-jo.svg +52 -0
- package/src/routes/static/flag/flag-jp.svg +32 -0
- package/src/routes/static/flag/flag-ke.svg +64 -0
- package/src/routes/static/flag/flag-kg.svg +58 -0
- package/src/routes/static/flag/flag-kh.svg +416 -0
- package/src/routes/static/flag/flag-ki.svg +229 -0
- package/src/routes/static/flag/flag-km.svg +64 -0
- package/src/routes/static/flag/flag-kn.svg +52 -0
- package/src/routes/static/flag/flag-kp.svg +63 -0
- package/src/routes/static/flag/flag-kr.svg +88 -0
- package/src/routes/static/flag/flag-kw.svg +46 -0
- package/src/routes/static/flag/flag-ky.svg +600 -0
- package/src/routes/static/flag/flag-kz.svg +204 -0
- package/src/routes/static/flag/flag-la.svg +40 -0
- package/src/routes/static/flag/flag-lb.svg +48 -0
- package/src/routes/static/flag/flag-lc.svg +33 -0
- package/src/routes/static/flag/flag-li.svg +375 -0
- package/src/routes/static/flag/flag-lk.svg +110 -0
- package/src/routes/static/flag/flag-lr.svg +52 -0
- package/src/routes/static/flag/flag-ls.svg +27 -0
- package/src/routes/static/flag/flag-lt.svg +17 -0
- package/src/routes/static/flag/flag-lu.svg +12 -0
- package/src/routes/static/flag/flag-lv.svg +21 -0
- package/src/routes/static/flag/flag-ly.svg +29 -0
- package/src/routes/static/flag/flag-ma.svg +15 -0
- package/src/routes/static/flag/flag-mc.svg +21 -0
- package/src/routes/static/flag/flag-md.svg +380 -0
- package/src/routes/static/flag/flag-me.svg +459 -0
- package/src/routes/static/flag/flag-mf.svg +27 -0
- package/src/routes/static/flag/flag-mg.svg +27 -0
- package/src/routes/static/flag/flag-mh.svg +27 -0
- package/src/routes/static/flag/flag-mk.svg +20 -0
- package/src/routes/static/flag/flag-ml.svg +27 -0
- package/src/routes/static/flag/flag-mm.svg +29 -0
- package/src/routes/static/flag/flag-mn.svg +43 -0
- package/src/routes/static/flag/flag-mo.svg +30 -0
- package/src/routes/static/flag/flag-mp.svg +562 -0
- package/src/routes/static/flag/flag-mq.svg +27 -0
- package/src/routes/static/flag/flag-mr.svg +19 -0
- package/src/routes/static/flag/flag-ms.svg +118 -0
- package/src/routes/static/flag/flag-mt.svg +223 -0
- package/src/routes/static/flag/flag-mu.svg +33 -0
- package/src/routes/static/flag/flag-mv.svg +19 -0
- package/src/routes/static/flag/flag-mw.svg +45 -0
- package/src/routes/static/flag/flag-mx.svg +1686 -0
- package/src/routes/static/flag/flag-my.svg +42 -0
- package/src/routes/static/flag/flag-mz.svg +103 -0
- package/src/routes/static/flag/flag-na.svg +64 -0
- package/src/routes/static/flag/flag-nc.svg +51 -0
- package/src/routes/static/flag/flag-ne.svg +16 -0
- package/src/routes/static/flag/flag-nf.svg +50 -0
- package/src/routes/static/flag/flag-ng.svg +21 -0
- package/src/routes/static/flag/flag-ni.svg +1136 -0
- package/src/routes/static/flag/flag-nl.svg +12 -0
- package/src/routes/static/flag/flag-no.svg +14 -0
- package/src/routes/static/flag/flag-np.svg +29 -0
- package/src/routes/static/flag/flag-nr.svg +40 -0
- package/src/routes/static/flag/flag-nu.svg +32 -0
- package/src/routes/static/flag/flag-nz.svg +331 -0
- package/src/routes/static/flag/flag-om.svg +675 -0
- package/src/routes/static/flag/flag-pa.svg +47 -0
- package/src/routes/static/flag/flag-pe.svg +2197 -0
- package/src/routes/static/flag/flag-pf.svg +88 -0
- package/src/routes/static/flag/flag-pg.svg +41 -0
- package/src/routes/static/flag/flag-ph.svg +16 -0
- package/src/routes/static/flag/flag-pk.svg +46 -0
- package/src/routes/static/flag/flag-pl.svg +21 -0
- package/src/routes/static/flag/flag-pm.svg +27 -0
- package/src/routes/static/flag/flag-pn.svg +288 -0
- package/src/routes/static/flag/flag-pr.svg +46 -0
- package/src/routes/static/flag/flag-ps.svg +46 -0
- package/src/routes/static/flag/flag-pt.svg +710 -0
- package/src/routes/static/flag/flag-pw.svg +34 -0
- package/src/routes/static/flag/flag-py.svg +1027 -0
- package/src/routes/static/flag/flag-qa.svg +14 -0
- package/src/routes/static/flag/flag-re.svg +27 -0
- package/src/routes/static/flag/flag-ro.svg +27 -0
- package/src/routes/static/flag/flag-rs.svg +1943 -0
- package/src/routes/static/flag/flag-ru.svg +27 -0
- package/src/routes/static/flag/flag-rw.svg +34 -0
- package/src/routes/static/flag/flag-sa.svg +124 -0
- package/src/routes/static/flag/flag-sb.svg +46 -0
- package/src/routes/static/flag/flag-sc.svg +14 -0
- package/src/routes/static/flag/flag-sd.svg +46 -0
- package/src/routes/static/flag/flag-se.svg +14 -0
- package/src/routes/static/flag/flag-sg.svg +46 -0
- package/src/routes/static/flag/flag-sh.svg +333 -0
- package/src/routes/static/flag/flag-si.svg +76 -0
- package/src/routes/static/flag/flag-sj.svg +14 -0
- package/src/routes/static/flag/flag-sk.svg +28 -0
- package/src/routes/static/flag/flag-sl.svg +27 -0
- package/src/routes/static/flag/flag-sm.svg +419 -0
- package/src/routes/static/flag/flag-sn.svg +31 -0
- package/src/routes/static/flag/flag-so.svg +34 -0
- package/src/routes/static/flag/flag-sr.svg +19 -0
- package/src/routes/static/flag/flag-ss.svg +18 -0
- package/src/routes/static/flag/flag-st.svg +32 -0
- package/src/routes/static/flag/flag-sv.svg +5519 -0
- package/src/routes/static/flag/flag-sx.svg +234 -0
- package/src/routes/static/flag/flag-sy.svg +16 -0
- package/src/routes/static/flag/flag-sz.svg +172 -0
- package/src/routes/static/flag/flag-ta.svg +337 -0
- package/src/routes/static/flag/flag-tc.svg +285 -0
- package/src/routes/static/flag/flag-td.svg +27 -0
- package/src/routes/static/flag/flag-tf.svg +37 -0
- package/src/routes/static/flag/flag-tg.svg +52 -0
- package/src/routes/static/flag/flag-th.svg +27 -0
- package/src/routes/static/flag/flag-tj.svg +73 -0
- package/src/routes/static/flag/flag-tk.svg +18 -0
- package/src/routes/static/flag/flag-tl.svg +46 -0
- package/src/routes/static/flag/flag-tm.svg +1073 -0
- package/src/routes/static/flag/flag-tn.svg +46 -0
- package/src/routes/static/flag/flag-to.svg +33 -0
- package/src/routes/static/flag/flag-tr.svg +33 -0
- package/src/routes/static/flag/flag-tt.svg +22 -0
- package/src/routes/static/flag/flag-tv.svg +30 -0
- package/src/routes/static/flag/flag-tw.svg +110 -0
- package/src/routes/static/flag/flag-tz.svg +46 -0
- package/src/routes/static/flag/flag-ua.svg +21 -0
- package/src/routes/static/flag/flag-ug.svg +185 -0
- package/src/routes/static/flag/flag-um.svg +46 -0
- package/src/routes/static/flag/flag-un.svg +59 -0
- package/src/routes/static/flag/flag-us.svg +33 -0
- package/src/routes/static/flag/flag-uy.svg +265 -0
- package/src/routes/static/flag/flag-uz.svg +141 -0
- package/src/routes/static/flag/flag-va.svg +3551 -0
- package/src/routes/static/flag/flag-vc.svg +33 -0
- package/src/routes/static/flag/flag-ve.svg +332 -0
- package/src/routes/static/flag/flag-vg.svg +747 -0
- package/src/routes/static/flag/flag-vi.svg +182 -0
- package/src/routes/static/flag/flag-vn.svg +34 -0
- package/src/routes/static/flag/flag-vu.svg +65 -0
- package/src/routes/static/flag/flag-wf.svg +27 -0
- package/src/routes/static/flag/flag-ws.svg +27 -0
- package/src/routes/static/flag/flag-xk.svg +22 -0
- package/src/routes/static/flag/flag-xx.svg +22 -0
- package/src/routes/static/flag/flag-ye.svg +27 -0
- package/src/routes/static/flag/flag-yt.svg +27 -0
- package/src/routes/static/flag/flag-za.svg +58 -0
- package/src/routes/static/flag/flag-zm.svg +176 -0
- package/src/routes/static/flag/flag-zw.svg +75 -0
- package/src/routes/static/flags.svg +60135 -0
- package/src/routes/static/icon/icon-add-16.svg +5 -0
- package/src/routes/static/icon/icon-add-24.svg +5 -0
- package/src/routes/static/icon/icon-add-image-24.svg +13 -0
- package/src/routes/static/icon/icon-afterpay-12-colored.svg +16 -0
- package/src/routes/static/icon/icon-afterpay-18-colored.svg +16 -0
- package/src/routes/static/icon/icon-afterpay-24-colored.svg +16 -0
- package/src/routes/static/icon/icon-afterpay-32-colored.svg +16 -0
- package/src/routes/static/icon/icon-ai-16.svg +7 -0
- package/src/routes/static/icon/icon-ai-20.svg +7 -0
- package/src/routes/static/icon/icon-ai-24.svg +7 -0
- package/src/routes/static/icon/icon-ai-filled-16.svg +5 -0
- package/src/routes/static/icon/icon-ai-filled-20.svg +5 -0
- package/src/routes/static/icon/icon-ai-filled-24.svg +5 -0
- package/src/routes/static/icon/icon-ai-spectrum-16-colored.svg +24 -0
- package/src/routes/static/icon/icon-ai-spectrum-20-colored.svg +24 -0
- package/src/routes/static/icon/icon-ai-spectrum-24-colored.svg +24 -0
- package/src/routes/static/icon/icon-ai-spectrum-filled-16-colored.svg +22 -0
- package/src/routes/static/icon/icon-ai-spectrum-filled-20-colored.svg +22 -0
- package/src/routes/static/icon/icon-ai-spectrum-filled-24-colored.svg +22 -0
- package/src/routes/static/icon/icon-ai-spectrum-thin-16-colored.svg +24 -0
- package/src/routes/static/icon/icon-ai-thin-16.svg +7 -0
- package/src/routes/static/icon/icon-alipay-cn-12-colored.svg +44 -0
- package/src/routes/static/icon/icon-alipay-cn-18-colored.svg +44 -0
- package/src/routes/static/icon/icon-alipay-cn-24-colored.svg +44 -0
- package/src/routes/static/icon/icon-alipay-cn-32-colored.svg +44 -0
- package/src/routes/static/icon/icon-amex-12-colored.svg +10 -0
- package/src/routes/static/icon/icon-amex-18-colored.svg +10 -0
- package/src/routes/static/icon/icon-amex-24-colored.svg +10 -0
- package/src/routes/static/icon/icon-amex-32-colored.svg +10 -0
- package/src/routes/static/icon/icon-apple-pay-12-colored.svg +16 -0
- package/src/routes/static/icon/icon-apple-pay-18-colored.svg +16 -0
- package/src/routes/static/icon/icon-apple-pay-24-colored.svg +16 -0
- package/src/routes/static/icon/icon-apple-pay-32-colored.svg +16 -0
- package/src/routes/static/icon/icon-archive-16.svg +7 -0
- package/src/routes/static/icon/icon-archive-24.svg +8 -0
- package/src/routes/static/icon/icon-arrow-left-12.svg +5 -0
- package/src/routes/static/icon/icon-arrow-left-16.svg +5 -0
- package/src/routes/static/icon/icon-arrow-left-20.svg +5 -0
- package/src/routes/static/icon/icon-arrow-left-24.svg +5 -0
- package/src/routes/static/icon/icon-arrow-right-12.svg +5 -0
- package/src/routes/static/icon/icon-arrow-right-16.svg +5 -0
- package/src/routes/static/icon/icon-arrow-right-20.svg +5 -0
- package/src/routes/static/icon/icon-arrow-right-24.svg +5 -0
- package/src/routes/static/icon/icon-arrows-3d-16.svg +7 -0
- package/src/routes/static/icon/icon-arrows-3d-24.svg +5 -0
- package/src/routes/static/icon/icon-arrows-3d-filled-64-colored.svg +9 -0
- package/src/routes/static/icon/icon-arrows-expand-16.svg +7 -0
- package/src/routes/static/icon/icon-arrows-expand-24.svg +7 -0
- package/src/routes/static/icon/icon-article-16.svg +10 -0
- package/src/routes/static/icon/icon-article-24.svg +10 -0
- package/src/routes/static/icon/icon-attention-16.svg +8 -0
- package/src/routes/static/icon/icon-attention-24.svg +5 -0
- package/src/routes/static/icon/icon-attention-64.svg +10 -0
- package/src/routes/static/icon/icon-attention-filled-16.svg +5 -0
- package/src/routes/static/icon/icon-attention-filled-24.svg +5 -0
- package/src/routes/static/icon/icon-atv-16.svg +8 -0
- package/src/routes/static/icon/icon-atv-24.svg +8 -0
- package/src/routes/static/icon/icon-audio-high-16.svg +13 -0
- package/src/routes/static/icon/icon-audio-low-16.svg +10 -0
- package/src/routes/static/icon/icon-audio-off-16.svg +5 -0
- package/src/routes/static/icon/icon-authenticity-guarantee-16.svg +10 -0
- package/src/routes/static/icon/icon-authenticity-guarantee-24.svg +7 -0
- package/src/routes/static/icon/icon-authenticity-guarantee-filled-16-colored.svg +12 -0
- package/src/routes/static/icon/icon-authenticity-guarantee-filled-24-colored.svg +12 -0
- package/src/routes/static/icon/icon-auto-adjust-24.svg +5 -0
- package/src/routes/static/icon/icon-avatar-signed-out.svg +18 -0
- package/src/routes/static/icon/icon-background-removal-24.svg +7 -0
- package/src/routes/static/icon/icon-bank-16.svg +7 -0
- package/src/routes/static/icon/icon-bank-24.svg +7 -0
- package/src/routes/static/icon/icon-bank-64.svg +7 -0
- package/src/routes/static/icon/icon-bank-account-12-colored.svg +16 -0
- package/src/routes/static/icon/icon-bank-account-18-colored.svg +16 -0
- package/src/routes/static/icon/icon-bank-account-24-colored.svg +16 -0
- package/src/routes/static/icon/icon-bank-account-32-colored.svg +16 -0
- package/src/routes/static/icon/icon-bids-24.svg +7 -0
- package/src/routes/static/icon/icon-bids-64.svg +7 -0
- package/src/routes/static/icon/icon-boat-16.svg +7 -0
- package/src/routes/static/icon/icon-boat-24.svg +7 -0
- package/src/routes/static/icon/icon-book-16.svg +7 -0
- package/src/routes/static/icon/icon-book-24.svg +7 -0
- package/src/routes/static/icon/icon-bookmark-16.svg +7 -0
- package/src/routes/static/icon/icon-bookmark-24.svg +7 -0
- package/src/routes/static/icon/icon-bookmark-filled-16.svg +7 -0
- package/src/routes/static/icon/icon-bookmark-filled-24.svg +7 -0
- package/src/routes/static/icon/icon-brand-authorized-seller-16.svg +10 -0
- package/src/routes/static/icon/icon-brand-authorized-seller-24.svg +7 -0
- package/src/routes/static/icon/icon-brightness-16.svg +7 -0
- package/src/routes/static/icon/icon-brightness-20.svg +7 -0
- package/src/routes/static/icon/icon-brightness-24.svg +5 -0
- package/src/routes/static/icon/icon-calendar-16.svg +7 -0
- package/src/routes/static/icon/icon-calendar-24.svg +7 -0
- package/src/routes/static/icon/icon-calendar-64.svg +7 -0
- package/src/routes/static/icon/icon-camera-16.svg +12 -0
- package/src/routes/static/icon/icon-camera-24.svg +12 -0
- package/src/routes/static/icon/icon-camera-64.svg +12 -0
- package/src/routes/static/icon/icon-car-16.svg +10 -0
- package/src/routes/static/icon/icon-car-24.svg +10 -0
- package/src/routes/static/icon/icon-car-brake-16.svg +7 -0
- package/src/routes/static/icon/icon-car-brake-24.svg +7 -0
- package/src/routes/static/icon/icon-carryon-24.svg +7 -0
- package/src/routes/static/icon/icon-cart-16.svg +10 -0
- package/src/routes/static/icon/icon-cart-20.svg +10 -0
- package/src/routes/static/icon/icon-cart-24.svg +10 -0
- package/src/routes/static/icon/icon-cart-64.svg +10 -0
- package/src/routes/static/icon/icon-categories-16.svg +7 -0
- package/src/routes/static/icon/icon-categories-24.svg +5 -0
- package/src/routes/static/icon/icon-cb-12-colored.svg +27 -0
- package/src/routes/static/icon/icon-cb-18-colored.svg +27 -0
- package/src/routes/static/icon/icon-cb-24-colored.svg +27 -0
- package/src/routes/static/icon/icon-cb-32-colored.svg +27 -0
- package/src/routes/static/icon/icon-certified-recycled-16.svg +5 -0
- package/src/routes/static/icon/icon-certified-recycled-24.svg +7 -0
- package/src/routes/static/icon/icon-chair-16.svg +7 -0
- package/src/routes/static/icon/icon-chair-24.svg +7 -0
- package/src/routes/static/icon/icon-chat-16.svg +10 -0
- package/src/routes/static/icon/icon-chat-24.svg +8 -0
- package/src/routes/static/icon/icon-chat-64.svg +8 -0
- package/src/routes/static/icon/icon-check-in-24.svg +7 -0
- package/src/routes/static/icon/icon-checkbox-checked-18.svg +5 -0
- package/src/routes/static/icon/icon-checkbox-checked-24.svg +7 -0
- package/src/routes/static/icon/icon-checkbox-mixed-18.svg +7 -0
- package/src/routes/static/icon/icon-checkbox-mixed-24.svg +7 -0
- package/src/routes/static/icon/icon-checkbox-unchecked-18.svg +5 -0
- package/src/routes/static/icon/icon-checkbox-unchecked-24.svg +5 -0
- package/src/routes/static/icon/icon-checkmark-24.svg +7 -0
- package/src/routes/static/icon/icon-chevron-down-12.svg +7 -0
- package/src/routes/static/icon/icon-chevron-down-16.svg +5 -0
- package/src/routes/static/icon/icon-chevron-down-20.svg +5 -0
- package/src/routes/static/icon/icon-chevron-down-24.svg +5 -0
- package/src/routes/static/icon/icon-chevron-left-12.svg +7 -0
- package/src/routes/static/icon/icon-chevron-left-16.svg +5 -0
- package/src/routes/static/icon/icon-chevron-left-20.svg +5 -0
- package/src/routes/static/icon/icon-chevron-left-24.svg +5 -0
- package/src/routes/static/icon/icon-chevron-right-12.svg +7 -0
- package/src/routes/static/icon/icon-chevron-right-16.svg +5 -0
- package/src/routes/static/icon/icon-chevron-right-20.svg +5 -0
- package/src/routes/static/icon/icon-chevron-right-24.svg +5 -0
- package/src/routes/static/icon/icon-chevron-up-12.svg +7 -0
- package/src/routes/static/icon/icon-chevron-up-16.svg +5 -0
- package/src/routes/static/icon/icon-chevron-up-20.svg +5 -0
- package/src/routes/static/icon/icon-chevron-up-24.svg +5 -0
- package/src/routes/static/icon/icon-chinese-coin-16.svg +7 -0
- package/src/routes/static/icon/icon-chinese-coin-24.svg +7 -0
- package/src/routes/static/icon/icon-clear-16.svg +5 -0
- package/src/routes/static/icon/icon-clear-20.svg +7 -0
- package/src/routes/static/icon/icon-clear-24.svg +5 -0
- package/src/routes/static/icon/icon-click-to-call-16.svg +5 -0
- package/src/routes/static/icon/icon-click-to-call-24.svg +7 -0
- package/src/routes/static/icon/icon-clock-16.svg +8 -0
- package/src/routes/static/icon/icon-clock-24.svg +5 -0
- package/src/routes/static/icon/icon-clock-64.svg +7 -0
- package/src/routes/static/icon/icon-close-12.svg +5 -0
- package/src/routes/static/icon/icon-close-16.svg +5 -0
- package/src/routes/static/icon/icon-close-20.svg +7 -0
- package/src/routes/static/icon/icon-close-24.svg +5 -0
- package/src/routes/static/icon/icon-closed-caption-16.svg +10 -0
- package/src/routes/static/icon/icon-closed-caption-filled-16.svg +7 -0
- package/src/routes/static/icon/icon-coin-24.svg +7 -0
- package/src/routes/static/icon/icon-collections-16.svg +5 -0
- package/src/routes/static/icon/icon-collections-24.svg +7 -0
- package/src/routes/static/icon/icon-condensed-grid-24.svg +5 -0
- package/src/routes/static/icon/icon-condensed-grid-filled-24.svg +5 -0
- package/src/routes/static/icon/icon-confirmation-16.svg +7 -0
- package/src/routes/static/icon/icon-confirmation-24.svg +7 -0
- package/src/routes/static/icon/icon-confirmation-64.svg +7 -0
- package/src/routes/static/icon/icon-confirmation-filled-16.svg +7 -0
- package/src/routes/static/icon/icon-confirmation-filled-24.svg +7 -0
- package/src/routes/static/icon/icon-contract-16.svg +5 -0
- package/src/routes/static/icon/icon-contrast-24.svg +5 -0
- package/src/routes/static/icon/icon-copy-16.svg +7 -0
- package/src/routes/static/icon/icon-copy-24.svg +7 -0
- package/src/routes/static/icon/icon-credit-card-16.svg +7 -0
- package/src/routes/static/icon/icon-credit-card-24.svg +7 -0
- package/src/routes/static/icon/icon-credit-card-64.svg +7 -0
- package/src/routes/static/icon/icon-crop-24.svg +5 -0
- package/src/routes/static/icon/icon-customize-16.svg +7 -0
- package/src/routes/static/icon/icon-customize-24.svg +7 -0
- package/src/routes/static/icon/icon-delete-16.svg +7 -0
- package/src/routes/static/icon/icon-delete-20.svg +10 -0
- package/src/routes/static/icon/icon-delete-24.svg +10 -0
- package/src/routes/static/icon/icon-density-compact-16.svg +7 -0
- package/src/routes/static/icon/icon-density-compact-24.svg +7 -0
- package/src/routes/static/icon/icon-density-default-16.svg +7 -0
- package/src/routes/static/icon/icon-density-default-24.svg +7 -0
- package/src/routes/static/icon/icon-density-relaxed-16.svg +7 -0
- package/src/routes/static/icon/icon-density-relaxed-24.svg +7 -0
- package/src/routes/static/icon/icon-diamond-16.svg +7 -0
- package/src/routes/static/icon/icon-diamond-24.svg +7 -0
- package/src/routes/static/icon/icon-diners-12-colored.svg +16 -0
- package/src/routes/static/icon/icon-diners-18-colored.svg +16 -0
- package/src/routes/static/icon/icon-diners-24-colored.svg +16 -0
- package/src/routes/static/icon/icon-diners-32-colored.svg +16 -0
- package/src/routes/static/icon/icon-direct-debit-12-colored.svg +24 -0
- package/src/routes/static/icon/icon-direct-debit-18-colored.svg +24 -0
- package/src/routes/static/icon/icon-direct-debit-24-colored.svg +24 -0
- package/src/routes/static/icon/icon-direct-debit-32-colored.svg +24 -0
- package/src/routes/static/icon/icon-direct-from-brand-16.svg +10 -0
- package/src/routes/static/icon/icon-direct-from-brand-24.svg +7 -0
- package/src/routes/static/icon/icon-discord-24.svg +5 -0
- package/src/routes/static/icon/icon-discount-16.svg +7 -0
- package/src/routes/static/icon/icon-discount-24.svg +7 -0
- package/src/routes/static/icon/icon-discover-12-colored.svg +124 -0
- package/src/routes/static/icon/icon-discover-18-colored.svg +124 -0
- package/src/routes/static/icon/icon-discover-24-colored.svg +124 -0
- package/src/routes/static/icon/icon-discover-32-colored.svg +124 -0
- package/src/routes/static/icon/icon-dollar-16.svg +5 -0
- package/src/routes/static/icon/icon-dollar-24.svg +5 -0
- package/src/routes/static/icon/icon-download-16.svg +10 -0
- package/src/routes/static/icon/icon-download-20.svg +7 -0
- package/src/routes/static/icon/icon-download-24.svg +7 -0
- package/src/routes/static/icon/icon-ebay-balance-12-colored.svg +31 -0
- package/src/routes/static/icon/icon-ebay-balance-18-colored.svg +31 -0
- package/src/routes/static/icon/icon-ebay-balance-24-colored.svg +34 -0
- package/src/routes/static/icon/icon-ebay-balance-32-colored.svg +31 -0
- package/src/routes/static/icon/icon-ebay-bucks-logo-16-colored.svg +10 -0
- package/src/routes/static/icon/icon-ebay-for-charity-16.svg +7 -0
- package/src/routes/static/icon/icon-ebay-for-charity-24.svg +7 -0
- package/src/routes/static/icon/icon-ebay-international-shipping-16.svg +7 -0
- package/src/routes/static/icon/icon-ebay-international-shipping-24.svg +7 -0
- package/src/routes/static/icon/icon-ebay-international-shipping-64.svg +7 -0
- package/src/routes/static/icon/icon-ebay-live-16.svg +11 -0
- package/src/routes/static/icon/icon-ebay-live-24.svg +11 -0
- package/src/routes/static/icon/icon-ebay-mastercard-12-colored.svg +55 -0
- package/src/routes/static/icon/icon-ebay-mastercard-18-colored.svg +56 -0
- package/src/routes/static/icon/icon-ebay-mastercard-24-colored.svg +56 -0
- package/src/routes/static/icon/icon-ebay-mastercard-32-colored.svg +59 -0
- package/src/routes/static/icon/icon-ebay-money-back-guarantee-logo-16-colored.svg +25 -0
- package/src/routes/static/icon/icon-ebay-plus-16.svg +7 -0
- package/src/routes/static/icon/icon-ebay-plus-24.svg +7 -0
- package/src/routes/static/icon/icon-ebay-plus-logo-16-colored.svg +10 -0
- package/src/routes/static/icon/icon-ebay-preloved-16.svg +7 -0
- package/src/routes/static/icon/icon-ebay-preloved-24.svg +5 -0
- package/src/routes/static/icon/icon-ebay-refurbished-16.svg +10 -0
- package/src/routes/static/icon/icon-ebay-refurbished-24.svg +7 -0
- package/src/routes/static/icon/icon-eek-arrow.svg +7 -0
- package/src/routes/static/icon/icon-eek-range-arrow.svg +8 -0
- package/src/routes/static/icon/icon-escrow-16.svg +8 -0
- package/src/routes/static/icon/icon-escrow-24.svg +8 -0
- package/src/routes/static/icon/icon-escrow-card-12-colored.svg +20 -0
- package/src/routes/static/icon/icon-escrow-card-18-colored.svg +20 -0
- package/src/routes/static/icon/icon-escrow-card-24-colored.svg +20 -0
- package/src/routes/static/icon/icon-escrow-card-32-colored.svg +20 -0
- package/src/routes/static/icon/icon-euro-16.svg +5 -0
- package/src/routes/static/icon/icon-euro-24.svg +5 -0
- package/src/routes/static/icon/icon-exclude-16.svg +7 -0
- package/src/routes/static/icon/icon-exclude-24.svg +7 -0
- package/src/routes/static/icon/icon-expand-16.svg +5 -0
- package/src/routes/static/icon/icon-external-link-16.svg +7 -0
- package/src/routes/static/icon/icon-external-link-20.svg +7 -0
- package/src/routes/static/icon/icon-external-link-24.svg +7 -0
- package/src/routes/static/icon/icon-face-happiest-24.svg +11 -0
- package/src/routes/static/icon/icon-face-happy-16.svg +7 -0
- package/src/routes/static/icon/icon-face-happy-24.svg +9 -0
- package/src/routes/static/icon/icon-face-neutral-24.svg +9 -0
- package/src/routes/static/icon/icon-face-sad-24.svg +9 -0
- package/src/routes/static/icon/icon-face-saddest-24.svg +13 -0
- package/src/routes/static/icon/icon-facebook-24.svg +5 -0
- package/src/routes/static/icon/icon-facebook-messenger-24.svg +5 -0
- package/src/routes/static/icon/icon-fast-and-free-16.svg +7 -0
- package/src/routes/static/icon/icon-fast-and-free-24.svg +7 -0
- package/src/routes/static/icon/icon-fast-and-free-64.svg +7 -0
- package/src/routes/static/icon/icon-feedback-16.svg +7 -0
- package/src/routes/static/icon/icon-feedback-20.svg +7 -0
- package/src/routes/static/icon/icon-feedback-24.svg +7 -0
- package/src/routes/static/icon/icon-feedback-received-16.svg +7 -0
- package/src/routes/static/icon/icon-feedback-received-24.svg +7 -0
- package/src/routes/static/icon/icon-file-16.svg +7 -0
- package/src/routes/static/icon/icon-file-24.svg +7 -0
- package/src/routes/static/icon/icon-filter-16.svg +7 -0
- package/src/routes/static/icon/icon-filter-24.svg +5 -0
- package/src/routes/static/icon/icon-fingerprint-24.svg +7 -0
- package/src/routes/static/icon/icon-fingerprint-64.svg +11 -0
- package/src/routes/static/icon/icon-flag-16.svg +7 -0
- package/src/routes/static/icon/icon-flag-24.svg +7 -0
- package/src/routes/static/icon/icon-flag-filled-16.svg +7 -0
- package/src/routes/static/icon/icon-flag-filled-24.svg +5 -0
- package/src/routes/static/icon/icon-flash-24.svg +5 -0
- package/src/routes/static/icon/icon-flash-auto-24.svg +7 -0
- package/src/routes/static/icon/icon-flash-off-24.svg +5 -0
- package/src/routes/static/icon/icon-folder-16.svg +7 -0
- package/src/routes/static/icon/icon-folder-24.svg +7 -0
- package/src/routes/static/icon/icon-franc-16.svg +5 -0
- package/src/routes/static/icon/icon-franc-24.svg +5 -0
- package/src/routes/static/icon/icon-free-warranty-16.svg +12 -0
- package/src/routes/static/icon/icon-free-warranty-24.svg +13 -0
- package/src/routes/static/icon/icon-full-view-16.svg +5 -0
- package/src/routes/static/icon/icon-full-view-24.svg +5 -0
- package/src/routes/static/icon/icon-full-view-filled-16.svg +5 -0
- package/src/routes/static/icon/icon-full-view-filled-24.svg +5 -0
- package/src/routes/static/icon/icon-gallery-16.svg +11 -0
- package/src/routes/static/icon/icon-gallery-24.svg +11 -0
- package/src/routes/static/icon/icon-general-card-12-colored.svg +62 -0
- package/src/routes/static/icon/icon-general-card-18-colored.svg +61 -0
- package/src/routes/static/icon/icon-general-card-24-colored.svg +62 -0
- package/src/routes/static/icon/icon-general-card-32-colored.svg +58 -0
- package/src/routes/static/icon/icon-generic-card-12-colored.svg +24 -0
- package/src/routes/static/icon/icon-generic-card-18-colored.svg +28 -0
- package/src/routes/static/icon/icon-generic-card-24-colored.svg +24 -0
- package/src/routes/static/icon/icon-generic-card-32-colored.svg +24 -0
- package/src/routes/static/icon/icon-gift-16.svg +7 -0
- package/src/routes/static/icon/icon-gift-24.svg +7 -0
- package/src/routes/static/icon/icon-gift-64.svg +7 -0
- package/src/routes/static/icon/icon-gift-card-12-colored.svg +16 -0
- package/src/routes/static/icon/icon-gift-card-18-colored.svg +16 -0
- package/src/routes/static/icon/icon-gift-card-24-colored.svg +16 -0
- package/src/routes/static/icon/icon-gift-card-32-colored.svg +16 -0
- package/src/routes/static/icon/icon-girocard-12-colored.svg +24 -0
- package/src/routes/static/icon/icon-girocard-18-colored.svg +24 -0
- package/src/routes/static/icon/icon-girocard-24-colored.svg +24 -0
- package/src/routes/static/icon/icon-girocard-32-colored.svg +24 -0
- package/src/routes/static/icon/icon-glasses-24.svg +5 -0
- package/src/routes/static/icon/icon-glasses-64.svg +5 -0
- package/src/routes/static/icon/icon-google-pay-12-colored.svg +32 -0
- package/src/routes/static/icon/icon-google-pay-18-colored.svg +32 -0
- package/src/routes/static/icon/icon-google-pay-24-colored.svg +32 -0
- package/src/routes/static/icon/icon-google-pay-32-colored.svg +32 -0
- package/src/routes/static/icon/icon-graph-16.svg +7 -0
- package/src/routes/static/icon/icon-graph-24.svg +7 -0
- package/src/routes/static/icon/icon-graph-dynamic-16.svg +7 -0
- package/src/routes/static/icon/icon-graph-dynamic-24.svg +7 -0
- package/src/routes/static/icon/icon-grid-view-16.svg +5 -0
- package/src/routes/static/icon/icon-grid-view-24.svg +5 -0
- package/src/routes/static/icon/icon-grid-view-filled-16.svg +5 -0
- package/src/routes/static/icon/icon-grid-view-filled-24.svg +5 -0
- package/src/routes/static/icon/icon-handbag-16.svg +7 -0
- package/src/routes/static/icon/icon-handbag-24.svg +7 -0
- package/src/routes/static/icon/icon-hanger-16.svg +7 -0
- package/src/routes/static/icon/icon-hanger-24.svg +7 -0
- package/src/routes/static/icon/icon-headlight-16.svg +7 -0
- package/src/routes/static/icon/icon-headlight-24.svg +7 -0
- package/src/routes/static/icon/icon-headphone-16.svg +7 -0
- package/src/routes/static/icon/icon-headphone-24.svg +7 -0
- package/src/routes/static/icon/icon-help-16.svg +8 -0
- package/src/routes/static/icon/icon-help-20.svg +5 -0
- package/src/routes/static/icon/icon-help-24.svg +8 -0
- package/src/routes/static/icon/icon-help-outline-16.svg +18 -0
- package/src/routes/static/icon/icon-help-outline-20.svg +7 -0
- package/src/routes/static/icon/icon-help-outline-24.svg +13 -0
- package/src/routes/static/icon/icon-hide-16.svg +7 -0
- package/src/routes/static/icon/icon-hide-24.svg +7 -0
- package/src/routes/static/icon/icon-history-24.svg +8 -0
- package/src/routes/static/icon/icon-history-64.svg +8 -0
- package/src/routes/static/icon/icon-home-24.svg +7 -0
- package/src/routes/static/icon/icon-home-filled-24.svg +7 -0
- package/src/routes/static/icon/icon-image-16.svg +8 -0
- package/src/routes/static/icon/icon-image-24.svg +8 -0
- package/src/routes/static/icon/icon-image-64.svg +8 -0
- package/src/routes/static/icon/icon-inbox-16.svg +7 -0
- package/src/routes/static/icon/icon-inbox-24.svg +7 -0
- package/src/routes/static/icon/icon-information-16.svg +8 -0
- package/src/routes/static/icon/icon-information-24.svg +5 -0
- package/src/routes/static/icon/icon-information-filled-16.svg +5 -0
- package/src/routes/static/icon/icon-information-filled-24.svg +5 -0
- package/src/routes/static/icon/icon-inspect-16.svg +13 -0
- package/src/routes/static/icon/icon-inspect-24.svg +13 -0
- package/src/routes/static/icon/icon-inspect-64.svg +7 -0
- package/src/routes/static/icon/icon-instagram-24.svg +5 -0
- package/src/routes/static/icon/icon-jcb-12-colored.svg +128 -0
- package/src/routes/static/icon/icon-jcb-18-colored.svg +128 -0
- package/src/routes/static/icon/icon-jcb-24-colored.svg +128 -0
- package/src/routes/static/icon/icon-jcb-32-colored.svg +128 -0
- package/src/routes/static/icon/icon-jet-ski-16.svg +8 -0
- package/src/routes/static/icon/icon-jet-ski-24.svg +8 -0
- package/src/routes/static/icon/icon-key-16.svg +8 -0
- package/src/routes/static/icon/icon-key-24.svg +12 -0
- package/src/routes/static/icon/icon-keyboard-16.svg +11 -0
- package/src/routes/static/icon/icon-keyboard-24.svg +16 -0
- package/src/routes/static/icon/icon-klarna-black-12-colored.svg +7 -0
- package/src/routes/static/icon/icon-klarna-black-18-colored.svg +7 -0
- package/src/routes/static/icon/icon-klarna-black-24-colored.svg +7 -0
- package/src/routes/static/icon/icon-klarna-black-32-colored.svg +7 -0
- package/src/routes/static/icon/icon-klarna-pink-12-colored.svg +7 -0
- package/src/routes/static/icon/icon-klarna-pink-18-colored.svg +7 -0
- package/src/routes/static/icon/icon-klarna-pink-24-colored.svg +7 -0
- package/src/routes/static/icon/icon-klarna-pink-32-colored.svg +7 -0
- package/src/routes/static/icon/icon-klarna-white-12-colored.svg +16 -0
- package/src/routes/static/icon/icon-klarna-white-18-colored.svg +16 -0
- package/src/routes/static/icon/icon-klarna-white-24-colored.svg +16 -0
- package/src/routes/static/icon/icon-klarna-white-32-colored.svg +16 -0
- package/src/routes/static/icon/icon-krona-16.svg +5 -0
- package/src/routes/static/icon/icon-krona-24.svg +5 -0
- package/src/routes/static/icon/icon-lamp-16.svg +7 -0
- package/src/routes/static/icon/icon-lamp-24.svg +7 -0
- package/src/routes/static/icon/icon-large-box-16.svg +7 -0
- package/src/routes/static/icon/icon-large-box-24.svg +7 -0
- package/src/routes/static/icon/icon-legacy-authenticity-guarantee-48-colored.svg +12 -0
- package/src/routes/static/icon/icon-legacy-click-to-call-48-colored.svg +9 -0
- package/src/routes/static/icon/icon-legacy-escrow-48-colored.svg +16 -0
- package/src/routes/static/icon/icon-legacy-free-warranty-48-colored.svg +12 -0
- package/src/routes/static/icon/icon-legacy-money-back-guarantee-chf-48-colored.svg +16 -0
- package/src/routes/static/icon/icon-legacy-money-back-guarantee-eu-48-colored.svg +10 -0
- package/src/routes/static/icon/icon-legacy-money-back-guarantee-uk-48-colored.svg +10 -0
- package/src/routes/static/icon/icon-legacy-money-back-guarantee-us-48-colored.svg +10 -0
- package/src/routes/static/icon/icon-legacy-money-back-guarantee-zl-48-colored.svg +14 -0
- package/src/routes/static/icon/icon-legacy-top-rated-seller-48-colored.svg +12 -0
- package/src/routes/static/icon/icon-lightbulb-16.svg +7 -0
- package/src/routes/static/icon/icon-lightbulb-24.svg +7 -0
- package/src/routes/static/icon/icon-lightning-bolt-16.svg +7 -0
- package/src/routes/static/icon/icon-lightning-bolt-24.svg +6 -0
- package/src/routes/static/icon/icon-link-24.svg +11 -0
- package/src/routes/static/icon/icon-linkedin-24.svg +5 -0
- package/src/routes/static/icon/icon-list-view-16.svg +10 -0
- package/src/routes/static/icon/icon-list-view-24.svg +5 -0
- package/src/routes/static/icon/icon-list-view-filled-16.svg +10 -0
- package/src/routes/static/icon/icon-list-view-filled-24.svg +10 -0
- package/src/routes/static/icon/icon-live-eye-16.svg +7 -0
- package/src/routes/static/icon/icon-live-eye-24.svg +7 -0
- package/src/routes/static/icon/icon-location-16.svg +8 -0
- package/src/routes/static/icon/icon-location-24.svg +12 -0
- package/src/routes/static/icon/icon-location-64.svg +12 -0
- package/src/routes/static/icon/icon-locked-16.svg +7 -0
- package/src/routes/static/icon/icon-locked-20.svg +7 -0
- package/src/routes/static/icon/icon-locked-24.svg +7 -0
- package/src/routes/static/icon/icon-maestro-12-colored.svg +44 -0
- package/src/routes/static/icon/icon-maestro-18-colored.svg +44 -0
- package/src/routes/static/icon/icon-maestro-24-colored.svg +44 -0
- package/src/routes/static/icon/icon-maestro-32-colored.svg +44 -0
- package/src/routes/static/icon/icon-mail-16.svg +7 -0
- package/src/routes/static/icon/icon-mail-20.svg +7 -0
- package/src/routes/static/icon/icon-mail-24.svg +7 -0
- package/src/routes/static/icon/icon-mail-64.svg +7 -0
- package/src/routes/static/icon/icon-mail-move-16.svg +10 -0
- package/src/routes/static/icon/icon-mail-move-24.svg +10 -0
- package/src/routes/static/icon/icon-mail-open-16.svg +7 -0
- package/src/routes/static/icon/icon-mail-open-24.svg +7 -0
- package/src/routes/static/icon/icon-mail-unread-16.svg +7 -0
- package/src/routes/static/icon/icon-mail-unread-24.svg +8 -0
- package/src/routes/static/icon/icon-map-16.svg +7 -0
- package/src/routes/static/icon/icon-map-20.svg +7 -0
- package/src/routes/static/icon/icon-map-24.svg +7 -0
- package/src/routes/static/icon/icon-masonry-view-16.svg +7 -0
- package/src/routes/static/icon/icon-masonry-view-24.svg +6 -0
- package/src/routes/static/icon/icon-masonry-view-filled-16.svg +7 -0
- package/src/routes/static/icon/icon-masonry-view-filled-24.svg +7 -0
- package/src/routes/static/icon/icon-mastercard-12-colored.svg +25 -0
- package/src/routes/static/icon/icon-mastercard-18-colored.svg +25 -0
- package/src/routes/static/icon/icon-mastercard-24-colored.svg +25 -0
- package/src/routes/static/icon/icon-mastercard-32-colored.svg +25 -0
- package/src/routes/static/icon/icon-medium-box-16.svg +7 -0
- package/src/routes/static/icon/icon-medium-box-24.svg +7 -0
- package/src/routes/static/icon/icon-menu-20.svg +7 -0
- package/src/routes/static/icon/icon-menu-24.svg +5 -0
- package/src/routes/static/icon/icon-microphone-16.svg +8 -0
- package/src/routes/static/icon/icon-microphone-24.svg +5 -0
- package/src/routes/static/icon/icon-mobile-24.svg +6 -0
- package/src/routes/static/icon/icon-mobile-signal-24.svg +9 -0
- package/src/routes/static/icon/icon-money-back-guarantee-16.svg +7 -0
- package/src/routes/static/icon/icon-money-back-guarantee-24.svg +7 -0
- package/src/routes/static/icon/icon-money-back-guarantee-filled-16-colored.svg +12 -0
- package/src/routes/static/icon/icon-money-back-guarantee-filled-24-colored.svg +14 -0
- package/src/routes/static/icon/icon-monthly-invoice-12-colored.svg +18 -0
- package/src/routes/static/icon/icon-monthly-invoice-18-colored.svg +18 -0
- package/src/routes/static/icon/icon-monthly-invoice-24-colored.svg +18 -0
- package/src/routes/static/icon/icon-monthly-invoice-32-colored.svg +18 -0
- package/src/routes/static/icon/icon-moon-16.svg +7 -0
- package/src/routes/static/icon/icon-moon-20.svg +7 -0
- package/src/routes/static/icon/icon-moon-24.svg +7 -0
- package/src/routes/static/icon/icon-motorcycle-16.svg +8 -0
- package/src/routes/static/icon/icon-motorcycle-24.svg +12 -0
- package/src/routes/static/icon/icon-move-16.svg +5 -0
- package/src/routes/static/icon/icon-move-24.svg +5 -0
- package/src/routes/static/icon/icon-nectar-logo-24-colored.svg +24 -0
- package/src/routes/static/icon/icon-negative-filled-16.svg +7 -0
- package/src/routes/static/icon/icon-negative-filled-24.svg +6 -0
- package/src/routes/static/icon/icon-neutral-16.svg +7 -0
- package/src/routes/static/icon/icon-neutral-24.svg +7 -0
- package/src/routes/static/icon/icon-notification-16.svg +7 -0
- package/src/routes/static/icon/icon-notification-20.svg +7 -0
- package/src/routes/static/icon/icon-notification-24.svg +7 -0
- package/src/routes/static/icon/icon-notification-64.svg +7 -0
- package/src/routes/static/icon/icon-notification-filled-24.svg +7 -0
- package/src/routes/static/icon/icon-on-the-way-16.svg +7 -0
- package/src/routes/static/icon/icon-on-the-way-24.svg +7 -0
- package/src/routes/static/icon/icon-overflow-horizontal-16.svg +5 -0
- package/src/routes/static/icon/icon-overflow-horizontal-20.svg +5 -0
- package/src/routes/static/icon/icon-overflow-horizontal-24.svg +5 -0
- package/src/routes/static/icon/icon-overflow-vertical-16.svg +5 -0
- package/src/routes/static/icon/icon-overflow-vertical-20.svg +5 -0
- package/src/routes/static/icon/icon-overflow-vertical-24.svg +5 -0
- package/src/routes/static/icon/icon-package-16.svg +7 -0
- package/src/routes/static/icon/icon-package-24.svg +7 -0
- package/src/routes/static/icon/icon-package-64.svg +7 -0
- package/src/routes/static/icon/icon-passkey-16.svg +7 -0
- package/src/routes/static/icon/icon-passkey-24.svg +7 -0
- package/src/routes/static/icon/icon-passkey-64.svg +7 -0
- package/src/routes/static/icon/icon-pause-16.svg +5 -0
- package/src/routes/static/icon/icon-pause-24.svg +5 -0
- package/src/routes/static/icon/icon-pause-filled-64-colored.svg +9 -0
- package/src/routes/static/icon/icon-payoneer-12-colored.svg +132 -0
- package/src/routes/static/icon/icon-payoneer-18-colored.svg +132 -0
- package/src/routes/static/icon/icon-payoneer-24-colored.svg +132 -0
- package/src/routes/static/icon/icon-payoneer-32-colored.svg +132 -0
- package/src/routes/static/icon/icon-paypal-12-colored.svg +32 -0
- package/src/routes/static/icon/icon-paypal-18-colored.svg +32 -0
- package/src/routes/static/icon/icon-paypal-24-colored.svg +32 -0
- package/src/routes/static/icon/icon-paypal-32-colored.svg +32 -0
- package/src/routes/static/icon/icon-paypal-credit-12-colored.svg +43 -0
- package/src/routes/static/icon/icon-paypal-credit-18-colored.svg +43 -0
- package/src/routes/static/icon/icon-paypal-credit-24-colored.svg +43 -0
- package/src/routes/static/icon/icon-paypal-credit-32-colored.svg +43 -0
- package/src/routes/static/icon/icon-paypal-disabled-12-colored.svg +32 -0
- package/src/routes/static/icon/icon-paypal-disabled-18-colored.svg +32 -0
- package/src/routes/static/icon/icon-paypal-disabled-24-colored.svg +32 -0
- package/src/routes/static/icon/icon-paypal-disabled-32-colored.svg +32 -0
- package/src/routes/static/icon/icon-pencil-16.svg +5 -0
- package/src/routes/static/icon/icon-pencil-20.svg +7 -0
- package/src/routes/static/icon/icon-pencil-24.svg +5 -0
- package/src/routes/static/icon/icon-peso-16.svg +7 -0
- package/src/routes/static/icon/icon-peso-24.svg +7 -0
- package/src/routes/static/icon/icon-phone-16.svg +5 -0
- package/src/routes/static/icon/icon-phone-24.svg +7 -0
- package/src/routes/static/icon/icon-pin-24.svg +7 -0
- package/src/routes/static/icon/icon-pin-filled-24.svg +5 -0
- package/src/routes/static/icon/icon-pinterest-24.svg +5 -0
- package/src/routes/static/icon/icon-play-16.svg +5 -0
- package/src/routes/static/icon/icon-play-24.svg +5 -0
- package/src/routes/static/icon/icon-play-filled-16-colored.svg +13 -0
- package/src/routes/static/icon/icon-play-filled-24-colored.svg +11 -0
- package/src/routes/static/icon/icon-play-filled-64-colored.svg +7 -0
- package/src/routes/static/icon/icon-postepay-12-colored.svg +16 -0
- package/src/routes/static/icon/icon-postepay-18-colored.svg +16 -0
- package/src/routes/static/icon/icon-postepay-24-colored.svg +16 -0
- package/src/routes/static/icon/icon-postepay-32-colored.svg +16 -0
- package/src/routes/static/icon/icon-potted-plant-16.svg +7 -0
- package/src/routes/static/icon/icon-potted-plant-24.svg +7 -0
- package/src/routes/static/icon/icon-pound-16.svg +5 -0
- package/src/routes/static/icon/icon-pound-24.svg +5 -0
- package/src/routes/static/icon/icon-print-16.svg +7 -0
- package/src/routes/static/icon/icon-print-24.svg +6 -0
- package/src/routes/static/icon/icon-profile-20.svg +12 -0
- package/src/routes/static/icon/icon-profile-24.svg +12 -0
- package/src/routes/static/icon/icon-profile-filled-24.svg +8 -0
- package/src/routes/static/icon/icon-progress-current-24.svg +8 -0
- package/src/routes/static/icon/icon-progress-upcoming-24.svg +7 -0
- package/src/routes/static/icon/icon-promotion-16.svg +7 -0
- package/src/routes/static/icon/icon-promotion-24.svg +7 -0
- package/src/routes/static/icon/icon-qr-code-16.svg +5 -0
- package/src/routes/static/icon/icon-qr-code-24.svg +10 -0
- package/src/routes/static/icon/icon-radio-checked-18.svg +7 -0
- package/src/routes/static/icon/icon-radio-checked-24.svg +7 -0
- package/src/routes/static/icon/icon-radio-unchecked-18.svg +7 -0
- package/src/routes/static/icon/icon-radio-unchecked-24.svg +7 -0
- package/src/routes/static/icon/icon-recovery-code-16.svg +10 -0
- package/src/routes/static/icon/icon-recovery-code-24.svg +10 -0
- package/src/routes/static/icon/icon-reddit-24.svg +9 -0
- package/src/routes/static/icon/icon-refresh-16.svg +5 -0
- package/src/routes/static/icon/icon-refresh-24.svg +5 -0
- package/src/routes/static/icon/icon-relaxed-grid-24.svg +5 -0
- package/src/routes/static/icon/icon-relaxed-grid-filled-24.svg +5 -0
- package/src/routes/static/icon/icon-remove-16.svg +3 -0
- package/src/routes/static/icon/icon-remove-24.svg +3 -0
- package/src/routes/static/icon/icon-reply-16.svg +5 -0
- package/src/routes/static/icon/icon-reply-24.svg +5 -0
- package/src/routes/static/icon/icon-return-16.svg +5 -0
- package/src/routes/static/icon/icon-return-24.svg +5 -0
- package/src/routes/static/icon/icon-ribbon-16.svg +7 -0
- package/src/routes/static/icon/icon-ribbon-24.svg +7 -0
- package/src/routes/static/icon/icon-rim-16.svg +7 -0
- package/src/routes/static/icon/icon-rim-24.svg +7 -0
- package/src/routes/static/icon/icon-ringgit-16.svg +10 -0
- package/src/routes/static/icon/icon-ringgit-24.svg +10 -0
- package/src/routes/static/icon/icon-rotate-24.svg +5 -0
- package/src/routes/static/icon/icon-rotate-landscape-left-24.svg +10 -0
- package/src/routes/static/icon/icon-rotate-landscape-right-24.svg +10 -0
- package/src/routes/static/icon/icon-rotate-portrait-left-24.svg +10 -0
- package/src/routes/static/icon/icon-rotate-portrait-right-24.svg +10 -0
- package/src/routes/static/icon/icon-rupee-16.svg +5 -0
- package/src/routes/static/icon/icon-rupee-24.svg +5 -0
- package/src/routes/static/icon/icon-satchel-16.svg +7 -0
- package/src/routes/static/icon/icon-satchel-24.svg +7 -0
- package/src/routes/static/icon/icon-save-16.svg +7 -0
- package/src/routes/static/icon/icon-save-20.svg +7 -0
- package/src/routes/static/icon/icon-save-24.svg +7 -0
- package/src/routes/static/icon/icon-save-filled-16.svg +5 -0
- package/src/routes/static/icon/icon-save-filled-20.svg +5 -0
- package/src/routes/static/icon/icon-save-filled-24.svg +5 -0
- package/src/routes/static/icon/icon-scan-16.svg +7 -0
- package/src/routes/static/icon/icon-scan-24.svg +7 -0
- package/src/routes/static/icon/icon-search-16.svg +5 -0
- package/src/routes/static/icon/icon-search-20.svg +7 -0
- package/src/routes/static/icon/icon-search-24.svg +5 -0
- package/src/routes/static/icon/icon-search-64.svg +5 -0
- package/src/routes/static/icon/icon-search-filled-24.svg +7 -0
- package/src/routes/static/icon/icon-search-similar-16.svg +7 -0
- package/src/routes/static/icon/icon-search-similar-20.svg +7 -0
- package/src/routes/static/icon/icon-search-similar-24.svg +7 -0
- package/src/routes/static/icon/icon-security-key-24.svg +8 -0
- package/src/routes/static/icon/icon-select-all-24.svg +5 -0
- package/src/routes/static/icon/icon-selling-16.svg +7 -0
- package/src/routes/static/icon/icon-selling-20.svg +7 -0
- package/src/routes/static/icon/icon-selling-24.svg +7 -0
- package/src/routes/static/icon/icon-selling-filled-24.svg +7 -0
- package/src/routes/static/icon/icon-send-24.svg +5 -0
- package/src/routes/static/icon/icon-settings-16.svg +12 -0
- package/src/routes/static/icon/icon-settings-20.svg +8 -0
- package/src/routes/static/icon/icon-settings-24.svg +5 -0
- package/src/routes/static/icon/icon-share-android-16.svg +7 -0
- package/src/routes/static/icon/icon-share-android-20.svg +7 -0
- package/src/routes/static/icon/icon-share-android-24.svg +7 -0
- package/src/routes/static/icon/icon-share-ios-16.svg +8 -0
- package/src/routes/static/icon/icon-share-ios-20.svg +8 -0
- package/src/routes/static/icon/icon-share-ios-24.svg +8 -0
- package/src/routes/static/icon/icon-sharpen-24.svg +7 -0
- package/src/routes/static/icon/icon-ship-and-local-16.svg +7 -0
- package/src/routes/static/icon/icon-ship-and-local-24.svg +7 -0
- package/src/routes/static/icon/icon-shirt-16.svg +7 -0
- package/src/routes/static/icon/icon-shirt-24.svg +7 -0
- package/src/routes/static/icon/icon-shoe-box-24.svg +7 -0
- package/src/routes/static/icon/icon-shovel-16.svg +7 -0
- package/src/routes/static/icon/icon-shovel-24.svg +7 -0
- package/src/routes/static/icon/icon-show-16.svg +7 -0
- package/src/routes/static/icon/icon-show-24.svg +7 -0
- package/src/routes/static/icon/icon-small-box-16.svg +7 -0
- package/src/routes/static/icon/icon-small-box-24.svg +7 -0
- package/src/routes/static/icon/icon-small-letter-24.svg +7 -0
- package/src/routes/static/icon/icon-sneaker-16.svg +7 -0
- package/src/routes/static/icon/icon-sneaker-24.svg +7 -0
- package/src/routes/static/icon/icon-snowflake-16.svg +7 -0
- package/src/routes/static/icon/icon-snowflake-24.svg +7 -0
- package/src/routes/static/icon/icon-snowmobile-16.svg +8 -0
- package/src/routes/static/icon/icon-snowmobile-24.svg +8 -0
- package/src/routes/static/icon/icon-sort-12.svg +5 -0
- package/src/routes/static/icon/icon-sort-16.svg +7 -0
- package/src/routes/static/icon/icon-sort-24.svg +5 -0
- package/src/routes/static/icon/icon-sort-down-12.svg +5 -0
- package/src/routes/static/icon/icon-sort-up-12.svg +5 -0
- package/src/routes/static/icon/icon-sparkline-down-16.svg +5 -0
- package/src/routes/static/icon/icon-sparkline-down-20.svg +5 -0
- package/src/routes/static/icon/icon-sparkline-down-24.svg +5 -0
- package/src/routes/static/icon/icon-sparkline-up-16.svg +5 -0
- package/src/routes/static/icon/icon-sparkline-up-20.svg +5 -0
- package/src/routes/static/icon/icon-sparkline-up-24.svg +5 -0
- package/src/routes/static/icon/icon-sparkline-up-filled-24.svg +7 -0
- package/src/routes/static/icon/icon-spinner-20.svg +16 -0
- package/src/routes/static/icon/icon-spinner-24.svg +16 -0
- package/src/routes/static/icon/icon-spinner-30.svg +14 -0
- package/src/routes/static/icon/icon-split-payment-16.svg +7 -0
- package/src/routes/static/icon/icon-split-payment-24.svg +7 -0
- package/src/routes/static/icon/icon-split-view-24.svg +5 -0
- package/src/routes/static/icon/icon-split-view-filled-24.svg +5 -0
- package/src/routes/static/icon/icon-star-dynamic.svg +17 -0
- package/src/routes/static/icon/icon-star-empty-16.svg +7 -0
- package/src/routes/static/icon/icon-star-empty-24.svg +7 -0
- package/src/routes/static/icon/icon-star-filled-16.svg +5 -0
- package/src/routes/static/icon/icon-star-filled-24.svg +5 -0
- package/src/routes/static/icon/icon-star-half-16-colored.svg +12 -0
- package/src/routes/static/icon/icon-star-half-24-colored.svg +12 -0
- package/src/routes/static/icon/icon-star-half-dark-16-colored.svg +12 -0
- package/src/routes/static/icon/icon-star-half-dark-24-colored.svg +12 -0
- package/src/routes/static/icon/icon-stepper-attention-24.svg +6 -0
- package/src/routes/static/icon/icon-stepper-confirmation-24.svg +6 -0
- package/src/routes/static/icon/icon-stepper-current-24.svg +8 -0
- package/src/routes/static/icon/icon-stepper-upcoming-24.svg +8 -0
- package/src/routes/static/icon/icon-store-16.svg +7 -0
- package/src/routes/static/icon/icon-store-24.svg +7 -0
- package/src/routes/static/icon/icon-store-64.svg +7 -0
- package/src/routes/static/icon/icon-store-filled-24.svg +7 -0
- package/src/routes/static/icon/icon-suitcase-24.svg +7 -0
- package/src/routes/static/icon/icon-support-24.svg +8 -0
- package/src/routes/static/icon/icon-swap-24.svg +7 -0
- package/src/routes/static/icon/icon-switch-camera-24.svg +10 -0
- package/src/routes/static/icon/icon-target-16.svg +7 -0
- package/src/routes/static/icon/icon-target-24.svg +7 -0
- package/src/routes/static/icon/icon-text-messaging-16.svg +9 -0
- package/src/routes/static/icon/icon-text-messaging-20.svg +7 -0
- package/src/routes/static/icon/icon-text-messaging-24.svg +8 -0
- package/src/routes/static/icon/icon-text-messaging-64.svg +8 -0
- package/src/routes/static/icon/icon-the-ebay-vault-16.svg +12 -0
- package/src/routes/static/icon/icon-the-ebay-vault-24.svg +12 -0
- package/src/routes/static/icon/icon-thumb-down-16.svg +7 -0
- package/src/routes/static/icon/icon-thumb-down-24.svg +7 -0
- package/src/routes/static/icon/icon-thumb-down-filled-16.svg +5 -0
- package/src/routes/static/icon/icon-thumb-down-filled-24.svg +5 -0
- package/src/routes/static/icon/icon-thumb-up-16.svg +7 -0
- package/src/routes/static/icon/icon-thumb-up-24.svg +7 -0
- package/src/routes/static/icon/icon-thumb-up-64.svg +7 -0
- package/src/routes/static/icon/icon-thumb-up-filled-16.svg +5 -0
- package/src/routes/static/icon/icon-thumb-up-filled-24.svg +5 -0
- package/src/routes/static/icon/icon-tick-16.svg +7 -0
- package/src/routes/static/icon/icon-tick-24.svg +5 -0
- package/src/routes/static/icon/icon-tiktok-24.svg +7 -0
- package/src/routes/static/icon/icon-toggle-mode-bottom-24.svg +7 -0
- package/src/routes/static/icon/icon-toggle-mode-top-24.svg +7 -0
- package/src/routes/static/icon/icon-top-rated-seller-16.svg +7 -0
- package/src/routes/static/icon/icon-top-rated-seller-24.svg +7 -0
- package/src/routes/static/icon/icon-top-service-16.svg +7 -0
- package/src/routes/static/icon/icon-top-service-24.svg +7 -0
- package/src/routes/static/icon/icon-trading-card-16.svg +7 -0
- package/src/routes/static/icon/icon-trading-card-24.svg +8 -0
- package/src/routes/static/icon/icon-transaction-24.svg +5 -0
- package/src/routes/static/icon/icon-trend-down-16-fit.svg +5 -0
- package/src/routes/static/icon/icon-trend-up-16-fit.svg +5 -0
- package/src/routes/static/icon/icon-trophy-16.svg +7 -0
- package/src/routes/static/icon/icon-trophy-24.svg +7 -0
- package/src/routes/static/icon/icon-twitter-24.svg +5 -0
- package/src/routes/static/icon/icon-undo-16.svg +5 -0
- package/src/routes/static/icon/icon-undo-24.svg +5 -0
- package/src/routes/static/icon/icon-unionpay-12-colored.svg +28 -0
- package/src/routes/static/icon/icon-unionpay-18-colored.svg +28 -0
- package/src/routes/static/icon/icon-unionpay-24-colored.svg +28 -0
- package/src/routes/static/icon/icon-unionpay-32-colored.svg +28 -0
- package/src/routes/static/icon/icon-unlocked-16.svg +7 -0
- package/src/routes/static/icon/icon-unlocked-24.svg +7 -0
- package/src/routes/static/icon/icon-unselect-all-24.svg +5 -0
- package/src/routes/static/icon/icon-upload-16.svg +5 -0
- package/src/routes/static/icon/icon-upload-24.svg +7 -0
- package/src/routes/static/icon/icon-venmo-12-colored.svg +16 -0
- package/src/routes/static/icon/icon-venmo-18-colored.svg +16 -0
- package/src/routes/static/icon/icon-venmo-24-colored.svg +16 -0
- package/src/routes/static/icon/icon-venmo-32-colored.svg +16 -0
- package/src/routes/static/icon/icon-verified-condition-16.svg +10 -0
- package/src/routes/static/icon/icon-verified-condition-24.svg +10 -0
- package/src/routes/static/icon/icon-video-24.svg +7 -0
- package/src/routes/static/icon/icon-visa-12-colored.svg +16 -0
- package/src/routes/static/icon/icon-visa-18-colored.svg +16 -0
- package/src/routes/static/icon/icon-visa-24-colored.svg +16 -0
- package/src/routes/static/icon/icon-visa-32-colored.svg +16 -0
- package/src/routes/static/icon/icon-wallet-24.svg +7 -0
- package/src/routes/static/icon/icon-wallet-64.svg +7 -0
- package/src/routes/static/icon/icon-wallet-balance-12-colored.svg +16 -0
- package/src/routes/static/icon/icon-wallet-balance-18-colored.svg +16 -0
- package/src/routes/static/icon/icon-wallet-balance-24-colored.svg +16 -0
- package/src/routes/static/icon/icon-wallet-balance-32-colored.svg +16 -0
- package/src/routes/static/icon/icon-watch-16.svg +10 -0
- package/src/routes/static/icon/icon-watch-24.svg +10 -0
- package/src/routes/static/icon/icon-whatsapp-24.svg +7 -0
- package/src/routes/static/icon/icon-won-16.svg +7 -0
- package/src/routes/static/icon/icon-won-24.svg +7 -0
- package/src/routes/static/icon/icon-wrench-16.svg +7 -0
- package/src/routes/static/icon/icon-wrench-24.svg +7 -0
- package/src/routes/static/icon/icon-youtube-24.svg +5 -0
- package/src/routes/static/icon/icon-yuan-16.svg +5 -0
- package/src/routes/static/icon/icon-yuan-24.svg +5 -0
- package/src/routes/static/icon/icon-zloty-16.svg +8 -0
- package/src/routes/static/icon/icon-zloty-24.svg +10 -0
- package/src/routes/static/icon/icon-zoom-in-16.svg +8 -0
- package/src/routes/static/icon/icon-zoom-in-24.svg +7 -0
- package/src/routes/static/icon/icon-zoom-out-16.svg +6 -0
- package/src/routes/static/icon/icon-zoom-out-24.svg +7 -0
- package/src/routes/static/icon/image-placeholder.svg +10 -0
- package/src/routes/static/icon/star-rating-0-5.svg +18 -0
- package/src/routes/static/icon/star-rating-0.svg +8 -0
- package/src/routes/static/icon/star-rating-1-5.svg +22 -0
- package/src/routes/static/icon/star-rating-1.svg +12 -0
- package/src/routes/static/icon/star-rating-2-5.svg +22 -0
- package/src/routes/static/icon/star-rating-2.svg +12 -0
- package/src/routes/static/icon/star-rating-3-5.svg +22 -0
- package/src/routes/static/icon/star-rating-3.svg +12 -0
- package/src/routes/static/icon/star-rating-4-5.svg +16 -0
- package/src/routes/static/icon/star-rating-4.svg +12 -0
- package/src/routes/static/icon/star-rating-5.svg +6 -0
- package/src/routes/static/icon/star-rating-small-0-5.svg +18 -0
- package/src/routes/static/icon/star-rating-small-0.svg +8 -0
- package/src/routes/static/icon/star-rating-small-1-5.svg +22 -0
- package/src/routes/static/icon/star-rating-small-1.svg +12 -0
- package/src/routes/static/icon/star-rating-small-2-5.svg +22 -0
- package/src/routes/static/icon/star-rating-small-2.svg +12 -0
- package/src/routes/static/icon/star-rating-small-3-5.svg +22 -0
- package/src/routes/static/icon/star-rating-small-3.svg +12 -0
- package/src/routes/static/icon/star-rating-small-4-5.svg +16 -0
- package/src/routes/static/icon/star-rating-small-4.svg +12 -0
- package/src/routes/static/icon/star-rating-small-5.svg +6 -0
- package/src/routes/static/icons.svg +9448 -0
- package/src/routes/static/img/tb-landscape-pic.jpg +0 -0
- package/src/routes/static/img/tb-profile-pic.jpg +0 -0
- package/src/routes/static/img/tb-square-pic.jpg +0 -0
- package/src/routes/static/sass/breakpoints.scss +93 -0
- package/src/routes/static/sass/color-schemes.scss +28 -0
- package/src/routes/static/sass/demo-colors.scss +766 -0
- package/src/routes/static/sass/index.scss +517 -0
- package/src/routes/static/sass/page-grid.scss +60 -0
- package/src/routes/static/sass/pygments.scss +238 -0
- package/src/routes/static/skin-graphic.png +0 -0
- package/src/routes/static/star-rating.svg +209 -0
- package/src/sass/bundles/skin-headless.scss +1 -0
- package/src/sass/button/button.scss +18 -1
- package/src/sass/menu-button/menu-button.scss +4 -4
- package/src/sass/table/stories/table.selection.stories.js +409 -0
- package/src/sass/table/stories/table.stories.js +254 -0
- package/src/sass/table/table.scss +70 -0
- package/src/tokens/evo-dark.css +2 -1
- package/src/tokens/evo-light.css +2 -1
- package/table.browser.json +1 -0
- package/table.css +1 -0
- package/table.js +1 -0
- package/table.mjs +1 -0
- package/vite.config.js +4 -0
|
@@ -0,0 +1,2408 @@
|
|
|
1
|
+
<div id="toggle-button-group">
|
|
2
|
+
<section-header metadata=input.metadata name=input.name/>
|
|
3
|
+
|
|
4
|
+
<p>
|
|
5
|
+
The Toggle Button Group is a group of single or multi-select toggle buttons providing a visual emphasis on the available selectable choices.
|
|
6
|
+
</p>
|
|
7
|
+
|
|
8
|
+
<section
|
|
9
|
+
class="section-notice section-notice--attention"
|
|
10
|
+
role="region"
|
|
11
|
+
aria-label="Information"
|
|
12
|
+
>
|
|
13
|
+
<div class="section-notice__header">
|
|
14
|
+
<svg
|
|
15
|
+
class="icon icon--attention-filled-16"
|
|
16
|
+
height="16"
|
|
17
|
+
width="16"
|
|
18
|
+
role="img"
|
|
19
|
+
aria-label="Attention"
|
|
20
|
+
>
|
|
21
|
+
<icon-symbol name="attention-filled-16"/>
|
|
22
|
+
</svg>
|
|
23
|
+
</div>
|
|
24
|
+
<div class="section-notice__main">
|
|
25
|
+
<h3 class="section-notice__title">
|
|
26
|
+
Intended Use of Toggle Button Group
|
|
27
|
+
</h3>
|
|
28
|
+
<p>
|
|
29
|
+
Toggle Buttons inside Toggle Button Group are intended to be input controls. They are ment to be used for users to make selection(s) that can be used for additional actions. For example, they can be used to storing the selection(s) and using${" "}
|
|
30
|
+
<span class="highlight">
|
|
31
|
+
JavaScript
|
|
32
|
+
</span>
|
|
33
|
+
to include the information in a form submission.
|
|
34
|
+
</p>
|
|
35
|
+
|
|
36
|
+
<p>
|
|
37
|
+
Toggle Buttons are NOT to be used for the purposes of navigation.
|
|
38
|
+
</p>
|
|
39
|
+
</div>
|
|
40
|
+
</section>
|
|
41
|
+
|
|
42
|
+
<p>
|
|
43
|
+
The component allows for single or multiple selections based on need. However, when using Skin by itself you will need to have your own${" "}
|
|
44
|
+
<span class="highlight">
|
|
45
|
+
JavaScript
|
|
46
|
+
</span>
|
|
47
|
+
${" "}to establish those rules based on the specific needs for each implementation context.
|
|
48
|
+
</p>
|
|
49
|
+
|
|
50
|
+
<p>
|
|
51
|
+
Effort was taken in these docs to provide a good amount of helpful information. Since this component has an atomic piece (
|
|
52
|
+
<a href="#toggle-button">
|
|
53
|
+
Toggle Button
|
|
54
|
+
</a>
|
|
55
|
+
), there may be some information crossover. Though efforts were taken to isolate the documentation for this parent component, at various touchpoints between the two components, there may be some redundancy. In other portions, where immediate information appears to be missing here, that information may reside in its child component. Please refer to${" "}
|
|
56
|
+
<a href="#toggle-button">
|
|
57
|
+
Toggle Button
|
|
58
|
+
</a>
|
|
59
|
+
docs in these situations.
|
|
60
|
+
</p>
|
|
61
|
+
|
|
62
|
+
<h3>Accessibility</h3>
|
|
63
|
+
|
|
64
|
+
<p>
|
|
65
|
+
The preferred implementation for accessibility includes an on-screen heading and the list associated with the heading (a). The second option is an off-screen heading with the same association (b). The third is to use the label directly on the list element (c).
|
|
66
|
+
</p>
|
|
67
|
+
|
|
68
|
+
<h4>On-screen Heading with Associated List (a - preferred)</h4>
|
|
69
|
+
<div class="demo">
|
|
70
|
+
<div class="demo__inner">
|
|
71
|
+
<h5 id="toggle-button-group-a">
|
|
72
|
+
Select Shoe Size
|
|
73
|
+
</h5>
|
|
74
|
+
<div class="toggle-button-group">
|
|
75
|
+
<ul aria-labelledby="toggle-button-group-a">
|
|
76
|
+
<li>
|
|
77
|
+
<button
|
|
78
|
+
type="button"
|
|
79
|
+
class="toggle-button"
|
|
80
|
+
aria-pressed="false"
|
|
81
|
+
>
|
|
82
|
+
<span class="toggle-button__content">
|
|
83
|
+
<span class="toggle-button__title">
|
|
84
|
+
8
|
|
85
|
+
</span>
|
|
86
|
+
</span>
|
|
87
|
+
</button>
|
|
88
|
+
</li>
|
|
89
|
+
<li>
|
|
90
|
+
<button
|
|
91
|
+
type="button"
|
|
92
|
+
class="toggle-button"
|
|
93
|
+
aria-pressed="false"
|
|
94
|
+
>
|
|
95
|
+
<span class="toggle-button__content">
|
|
96
|
+
<span class="toggle-button__title">
|
|
97
|
+
8.5
|
|
98
|
+
</span>
|
|
99
|
+
</span>
|
|
100
|
+
</button>
|
|
101
|
+
</li>
|
|
102
|
+
</ul>
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
|
|
107
|
+
<highlight-code
|
|
108
|
+
type="html"
|
|
109
|
+
>
|
|
110
|
+
<h5 id="toggle-button-group-a">Select Shoe Size</h5>
|
|
111
|
+
<div class="toggle-button-group">
|
|
112
|
+
<ul aria-labelledby="toggle-button-group-a">
|
|
113
|
+
<li>
|
|
114
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
115
|
+
<span class="toggle-button__content">
|
|
116
|
+
<span class="toggle-button__title">8</span>
|
|
117
|
+
</span>
|
|
118
|
+
</button>
|
|
119
|
+
</li>
|
|
120
|
+
<li>
|
|
121
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
122
|
+
<span class="toggle-button__content">
|
|
123
|
+
<span class="toggle-button__title">8.5</span>
|
|
124
|
+
</span>
|
|
125
|
+
</button>
|
|
126
|
+
</li>
|
|
127
|
+
</ul>
|
|
128
|
+
</div>
|
|
129
|
+
</highlight-code>
|
|
130
|
+
|
|
131
|
+
<h4>Off-screen Heading with Associated List (b)</h4>
|
|
132
|
+
<p>
|
|
133
|
+
This implementation is identical to option (a), except the heading is off-screen using the${" "}
|
|
134
|
+
<span class="highlight">
|
|
135
|
+
clipped
|
|
136
|
+
</span>
|
|
137
|
+
class.
|
|
138
|
+
</p>
|
|
139
|
+
<div class="demo">
|
|
140
|
+
<div class="demo__inner">
|
|
141
|
+
<h5 id="toggle-button-group-b" class="clipped">
|
|
142
|
+
Select Shoe Size
|
|
143
|
+
</h5>
|
|
144
|
+
<div class="toggle-button-group">
|
|
145
|
+
<ul aria-labelledby="toggle-button-group-b">
|
|
146
|
+
<li>
|
|
147
|
+
<button
|
|
148
|
+
type="button"
|
|
149
|
+
class="toggle-button"
|
|
150
|
+
aria-pressed="false"
|
|
151
|
+
>
|
|
152
|
+
<span class="toggle-button__content">
|
|
153
|
+
<span class="toggle-button__title">
|
|
154
|
+
8
|
|
155
|
+
</span>
|
|
156
|
+
</span>
|
|
157
|
+
</button>
|
|
158
|
+
</li>
|
|
159
|
+
<li>
|
|
160
|
+
<button
|
|
161
|
+
type="button"
|
|
162
|
+
class="toggle-button"
|
|
163
|
+
aria-pressed="false"
|
|
164
|
+
>
|
|
165
|
+
<span class="toggle-button__content">
|
|
166
|
+
<span class="toggle-button__title">
|
|
167
|
+
8.5
|
|
168
|
+
</span>
|
|
169
|
+
</span>
|
|
170
|
+
</button>
|
|
171
|
+
</li>
|
|
172
|
+
</ul>
|
|
173
|
+
</div>
|
|
174
|
+
</div>
|
|
175
|
+
</div>
|
|
176
|
+
|
|
177
|
+
<highlight-code
|
|
178
|
+
type="html"
|
|
179
|
+
>
|
|
180
|
+
<h5 id="toggle-button-group-b" class="clipped">Select Shoe Size</h5>
|
|
181
|
+
<div class="toggle-button-group">
|
|
182
|
+
<ul aria-labelledby="toggle-button-group-b">
|
|
183
|
+
<li>
|
|
184
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
185
|
+
<span class="toggle-button__content">
|
|
186
|
+
<span class="toggle-button__title">8</span>
|
|
187
|
+
</span>
|
|
188
|
+
</button>
|
|
189
|
+
</li>
|
|
190
|
+
<li>
|
|
191
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
192
|
+
<span class="toggle-button__content">
|
|
193
|
+
<span class="toggle-button__title">8.5</span>
|
|
194
|
+
</span>
|
|
195
|
+
</button>
|
|
196
|
+
</li>
|
|
197
|
+
</ul>
|
|
198
|
+
</div>
|
|
199
|
+
</highlight-code>
|
|
200
|
+
|
|
201
|
+
<h3>Interaction Variations of Toggle Button Groups</h3>
|
|
202
|
+
|
|
203
|
+
<p>
|
|
204
|
+
There are three different types of toggle button groups that may be utilized based on interaction need.
|
|
205
|
+
</p>
|
|
206
|
+
|
|
207
|
+
<ol>
|
|
208
|
+
<li>
|
|
209
|
+
Multi-select: this is a freeform implementations in which the user can toggle and untoggle any button.
|
|
210
|
+
</li>
|
|
211
|
+
<li>
|
|
212
|
+
Single-select Optional: only one button can be toggled on at any given time and the user CAN untoggle that one button.
|
|
213
|
+
</li>
|
|
214
|
+
<li>
|
|
215
|
+
Single-select Required: only one button can be toggled on at any given time and the user CANNOT untoggle that one button.
|
|
216
|
+
</li>
|
|
217
|
+
</ol>
|
|
218
|
+
|
|
219
|
+
<p>
|
|
220
|
+
If you're using Skin outside of a
|
|
221
|
+
<span class="highlight">
|
|
222
|
+
JavaScript
|
|
223
|
+
</span>
|
|
224
|
+
framework, you will need to write your own
|
|
225
|
+
<span class="highlight">
|
|
226
|
+
js
|
|
227
|
+
</span>
|
|
228
|
+
code to accomplish these interactivity cases.
|
|
229
|
+
</p>
|
|
230
|
+
|
|
231
|
+
<p>
|
|
232
|
+
It's generally good practice to use delegated event handlers that allow you to set up a a single event handler for the group of buttons instead of on every button.
|
|
233
|
+
</p>
|
|
234
|
+
${" "}The following examples use an HTML attribute to disitnguish the interaction variations. Using${" "}
|
|
235
|
+
<span class="highlight">
|
|
236
|
+
data-selection-type
|
|
237
|
+
</span>
|
|
238
|
+
. For the associated
|
|
239
|
+
<span class="highlight">
|
|
240
|
+
js
|
|
241
|
+
</span>
|
|
242
|
+
please see
|
|
243
|
+
<span class="highlight">
|
|
244
|
+
/docs/src/js/main.js
|
|
245
|
+
</span>
|
|
246
|
+
${" "}(TOGGLE-BUTTON-GROUP section) for an example on how the implementation may be accomplished.${" "}
|
|
247
|
+
|
|
248
|
+
<h4>Multi-select</h4>
|
|
249
|
+
<p>
|
|
250
|
+
The Multi-select variation is the default so nothing additional needs to be specified in the markup.
|
|
251
|
+
</p>
|
|
252
|
+
|
|
253
|
+
<div class="demo">
|
|
254
|
+
<div class="demo__inner">
|
|
255
|
+
<h5 id="toggle-button-group-x1">
|
|
256
|
+
Select Multiple Sizes
|
|
257
|
+
</h5>
|
|
258
|
+
<div class="toggle-button-group">
|
|
259
|
+
<ul aria-labelledby="toggle-button-group-x1">
|
|
260
|
+
<li>
|
|
261
|
+
<button
|
|
262
|
+
type="button"
|
|
263
|
+
class="toggle-button"
|
|
264
|
+
aria-pressed="false"
|
|
265
|
+
>
|
|
266
|
+
<span class="toggle-button__content">
|
|
267
|
+
<span class="toggle-button__title">
|
|
268
|
+
4.5
|
|
269
|
+
</span>
|
|
270
|
+
</span>
|
|
271
|
+
</button>
|
|
272
|
+
</li>
|
|
273
|
+
<li>
|
|
274
|
+
<button
|
|
275
|
+
type="button"
|
|
276
|
+
class="toggle-button"
|
|
277
|
+
aria-pressed="false"
|
|
278
|
+
>
|
|
279
|
+
<span class="toggle-button__content">
|
|
280
|
+
<span class="toggle-button__title">
|
|
281
|
+
5
|
|
282
|
+
</span>
|
|
283
|
+
</span>
|
|
284
|
+
</button>
|
|
285
|
+
</li>
|
|
286
|
+
<li>
|
|
287
|
+
<button
|
|
288
|
+
type="button"
|
|
289
|
+
class="toggle-button"
|
|
290
|
+
aria-pressed="false"
|
|
291
|
+
>
|
|
292
|
+
<span class="toggle-button__content">
|
|
293
|
+
<span class="toggle-button__title">
|
|
294
|
+
5.5
|
|
295
|
+
</span>
|
|
296
|
+
</span>
|
|
297
|
+
</button>
|
|
298
|
+
</li>
|
|
299
|
+
</ul>
|
|
300
|
+
</div>
|
|
301
|
+
</div>
|
|
302
|
+
</div>
|
|
303
|
+
|
|
304
|
+
<highlight-code
|
|
305
|
+
type="html"
|
|
306
|
+
>
|
|
307
|
+
<h5 id="toggle-button-group-x1">Select Multiple Sizes</h5>
|
|
308
|
+
<div class="toggle-button-group">
|
|
309
|
+
<ul aria-labelledby="toggle-button-group-x1">
|
|
310
|
+
<li>
|
|
311
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
312
|
+
<span class="toggle-button__content">
|
|
313
|
+
<span class="toggle-button__title">4.5</span>
|
|
314
|
+
</span>
|
|
315
|
+
</button>
|
|
316
|
+
</li>
|
|
317
|
+
<li>
|
|
318
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
319
|
+
<span class="toggle-button__content">
|
|
320
|
+
<span class="toggle-button__title">5</span>
|
|
321
|
+
</span>
|
|
322
|
+
</button>
|
|
323
|
+
</li>
|
|
324
|
+
<li>
|
|
325
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
326
|
+
<span class="toggle-button__content">
|
|
327
|
+
<span class="toggle-button__title">5.5</span>
|
|
328
|
+
</span>
|
|
329
|
+
</button>
|
|
330
|
+
</li>
|
|
331
|
+
</ul>
|
|
332
|
+
</div>
|
|
333
|
+
</highlight-code>
|
|
334
|
+
|
|
335
|
+
<h4>Single-select Optional</h4>
|
|
336
|
+
<p>
|
|
337
|
+
In this example of the Single-select Optional variation,
|
|
338
|
+
<span class="highlight">
|
|
339
|
+
data-selection-type="single-optional"
|
|
340
|
+
</span>
|
|
341
|
+
${" "}is used to split off the variation interactivity. This option allows for only one selection, so toggling additional buttons will simply switch the toggled button and retain only one toggled button.
|
|
342
|
+
</p>
|
|
343
|
+
<div class="demo">
|
|
344
|
+
<div class="demo__inner">
|
|
345
|
+
<h5 id="toggle-button-group-x2">
|
|
346
|
+
Select Sizes
|
|
347
|
+
</h5>
|
|
348
|
+
<div
|
|
349
|
+
class="toggle-button-group"
|
|
350
|
+
data-selection-type="single-optional"
|
|
351
|
+
>
|
|
352
|
+
<ul aria-labelledby="toggle-button-group-x2">
|
|
353
|
+
<li>
|
|
354
|
+
<button
|
|
355
|
+
type="button"
|
|
356
|
+
class="toggle-button"
|
|
357
|
+
aria-pressed="false"
|
|
358
|
+
>
|
|
359
|
+
<span class="toggle-button__content">
|
|
360
|
+
<span class="toggle-button__title">
|
|
361
|
+
4.5
|
|
362
|
+
</span>
|
|
363
|
+
</span>
|
|
364
|
+
</button>
|
|
365
|
+
</li>
|
|
366
|
+
<li>
|
|
367
|
+
<button
|
|
368
|
+
type="button"
|
|
369
|
+
class="toggle-button"
|
|
370
|
+
aria-pressed="false"
|
|
371
|
+
>
|
|
372
|
+
<span class="toggle-button__content">
|
|
373
|
+
<span class="toggle-button__title">
|
|
374
|
+
5
|
|
375
|
+
</span>
|
|
376
|
+
</span>
|
|
377
|
+
</button>
|
|
378
|
+
</li>
|
|
379
|
+
<li>
|
|
380
|
+
<button
|
|
381
|
+
type="button"
|
|
382
|
+
class="toggle-button"
|
|
383
|
+
aria-pressed="false"
|
|
384
|
+
>
|
|
385
|
+
<span class="toggle-button__content">
|
|
386
|
+
<span class="toggle-button__title">
|
|
387
|
+
5.5
|
|
388
|
+
</span>
|
|
389
|
+
</span>
|
|
390
|
+
</button>
|
|
391
|
+
</li>
|
|
392
|
+
</ul>
|
|
393
|
+
</div>
|
|
394
|
+
</div>
|
|
395
|
+
</div>
|
|
396
|
+
|
|
397
|
+
<highlight-code
|
|
398
|
+
type="html"
|
|
399
|
+
>
|
|
400
|
+
<h5 id="toggle-button-group-x2">Select Sizes</h5>
|
|
401
|
+
<div class="toggle-button-group" data-selection-type="single-optional">
|
|
402
|
+
<ul aria-labelledby="toggle-button-group-x2">
|
|
403
|
+
<li>
|
|
404
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
405
|
+
<span class="toggle-button__content">
|
|
406
|
+
<span class="toggle-button__title">4.5</span>
|
|
407
|
+
</span>
|
|
408
|
+
</button>
|
|
409
|
+
</li>
|
|
410
|
+
<li>
|
|
411
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
412
|
+
<span class="toggle-button__content">
|
|
413
|
+
<span class="toggle-button__title">5</span>
|
|
414
|
+
</span>
|
|
415
|
+
</button>
|
|
416
|
+
</li>
|
|
417
|
+
<li>
|
|
418
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
419
|
+
<span class="toggle-button__content">
|
|
420
|
+
<span class="toggle-button__title">5.5</span>
|
|
421
|
+
</span>
|
|
422
|
+
</button>
|
|
423
|
+
</li>
|
|
424
|
+
</ul>
|
|
425
|
+
</div>
|
|
426
|
+
</highlight-code>
|
|
427
|
+
|
|
428
|
+
<h4>Single-select Required</h4>
|
|
429
|
+
<p>
|
|
430
|
+
In this example of the Single-select Optional variation,
|
|
431
|
+
<span class="highlight">
|
|
432
|
+
data-selection-type="single-required"
|
|
433
|
+
</span>
|
|
434
|
+
${" "}is used to split off the variation interactivity. This option allows for only one selection. However, unlike the single-select optional variation, this variation enforces the required single selection so the toggled button cannot be untoggled.
|
|
435
|
+
</p>
|
|
436
|
+
|
|
437
|
+
<div class="demo">
|
|
438
|
+
<div class="demo__inner">
|
|
439
|
+
<h5 id="toggle-button-group-x3">
|
|
440
|
+
Select Sizes
|
|
441
|
+
</h5>
|
|
442
|
+
<div
|
|
443
|
+
class="toggle-button-group"
|
|
444
|
+
data-selection-type="single-required"
|
|
445
|
+
>
|
|
446
|
+
<ul aria-labelledby="toggle-button-group-x3">
|
|
447
|
+
<li>
|
|
448
|
+
<button
|
|
449
|
+
type="button"
|
|
450
|
+
class="toggle-button"
|
|
451
|
+
aria-pressed="false"
|
|
452
|
+
>
|
|
453
|
+
<span class="toggle-button__content">
|
|
454
|
+
<span class="toggle-button__title">
|
|
455
|
+
4.5
|
|
456
|
+
</span>
|
|
457
|
+
</span>
|
|
458
|
+
</button>
|
|
459
|
+
</li>
|
|
460
|
+
<li>
|
|
461
|
+
<button
|
|
462
|
+
type="button"
|
|
463
|
+
class="toggle-button"
|
|
464
|
+
aria-pressed="false"
|
|
465
|
+
>
|
|
466
|
+
<span class="toggle-button__content">
|
|
467
|
+
<span class="toggle-button__title">
|
|
468
|
+
5
|
|
469
|
+
</span>
|
|
470
|
+
</span>
|
|
471
|
+
</button>
|
|
472
|
+
</li>
|
|
473
|
+
<li>
|
|
474
|
+
<button
|
|
475
|
+
type="button"
|
|
476
|
+
class="toggle-button"
|
|
477
|
+
aria-pressed="false"
|
|
478
|
+
>
|
|
479
|
+
<span class="toggle-button__content">
|
|
480
|
+
<span class="toggle-button__title">
|
|
481
|
+
5.5
|
|
482
|
+
</span>
|
|
483
|
+
</span>
|
|
484
|
+
</button>
|
|
485
|
+
</li>
|
|
486
|
+
</ul>
|
|
487
|
+
</div>
|
|
488
|
+
</div>
|
|
489
|
+
</div>
|
|
490
|
+
|
|
491
|
+
<highlight-code
|
|
492
|
+
type="html"
|
|
493
|
+
>
|
|
494
|
+
<h5 id="toggle-button-group-x3">Select a size</h5>
|
|
495
|
+
<div class="toggle-button-group" data-selection-type="single-required">
|
|
496
|
+
<ul aria-labelledby="toggle-button-group-x3">
|
|
497
|
+
<li>
|
|
498
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
499
|
+
<span class="toggle-button__content">
|
|
500
|
+
<span class="toggle-button__title">4.5</span>
|
|
501
|
+
</span>
|
|
502
|
+
</button>
|
|
503
|
+
</li>
|
|
504
|
+
<li>
|
|
505
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
506
|
+
<span class="toggle-button__content">
|
|
507
|
+
<span class="toggle-button__title">5</span>
|
|
508
|
+
</span>
|
|
509
|
+
</button>
|
|
510
|
+
</li>
|
|
511
|
+
<li>
|
|
512
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
513
|
+
<span class="toggle-button__content">
|
|
514
|
+
<span class="toggle-button__title">5.5</span>
|
|
515
|
+
</span>
|
|
516
|
+
</button>
|
|
517
|
+
</li>
|
|
518
|
+
</ul>
|
|
519
|
+
</div>
|
|
520
|
+
</highlight-code>
|
|
521
|
+
|
|
522
|
+
<h3>Responsive Out of the Box</h3>
|
|
523
|
+
|
|
524
|
+
<p>
|
|
525
|
+
Toggle Button Group is responsive out of the box. The buttons will responsively shrink and stretch the specific type of buttons inside and attempt to fit the buttons nicely within the container at any and all screen sizes.
|
|
526
|
+
</p>
|
|
527
|
+
|
|
528
|
+
<p>
|
|
529
|
+
We use
|
|
530
|
+
<span class="highlight">
|
|
531
|
+
display: grid
|
|
532
|
+
</span>
|
|
533
|
+
${" "}to create a predefined allotted number of button slots per breakpoint. We also use container queries to modify how many slots should be available per breakpoint. This allows buttons to shrink/stretch the predefined number of buttons at each breakpoint with a fallback to media queries for unsupported browsers.
|
|
534
|
+
</p>
|
|
535
|
+
|
|
536
|
+
<p>
|
|
537
|
+
The responsive rules around how many toggle buttons appear on a single line before wrapping into a new line have all been predefined and baked into the component, so developers don't need to provide anything else to have an optimal responsive toggle button layout at various screen sizes.
|
|
538
|
+
</p>
|
|
539
|
+
|
|
540
|
+
<p>
|
|
541
|
+
In the demo below, drag the range to see the responsive rules in action and how the fluid Toggle Buttons work.
|
|
542
|
+
</p>
|
|
543
|
+
|
|
544
|
+
<div class="demo">
|
|
545
|
+
<div class="demo__inner toggle-button-group-responsive-demo">
|
|
546
|
+
<p>
|
|
547
|
+
<label
|
|
548
|
+
for="toggle-button-group-breakpoints-range-1"
|
|
549
|
+
style="font-weight: bold;"
|
|
550
|
+
>
|
|
551
|
+
Modify Container Width
|
|
552
|
+
</label>
|
|
553
|
+
<div style="display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--color-stroke-default); padding: 8px; border-radius: 8px;">
|
|
554
|
+
<input
|
|
555
|
+
id="toggle-button-group-breakpoints-range-1"
|
|
556
|
+
class="toggle-button-group-breakpoints-range"
|
|
557
|
+
type="range"
|
|
558
|
+
name="breakpoints"
|
|
559
|
+
min="320"
|
|
560
|
+
max="1280"
|
|
561
|
+
value="320"
|
|
562
|
+
>
|
|
563
|
+
<output
|
|
564
|
+
id="toggle-button-group-breakpoints-display-1"
|
|
565
|
+
class="toggle-button-group-breakpoints-output"
|
|
566
|
+
style="font-weight: bold;"
|
|
567
|
+
>
|
|
568
|
+
320
|
|
569
|
+
</output>
|
|
570
|
+
</div>
|
|
571
|
+
</p>
|
|
572
|
+
<h5 id="toggle-button-group-c">
|
|
573
|
+
Select Sizes
|
|
574
|
+
</h5>
|
|
575
|
+
<div
|
|
576
|
+
id="toggle-button-group-breakpoints-container-1"
|
|
577
|
+
class="toggle-button-group-breakpoints-container"
|
|
578
|
+
style="width: 320px; border: 1px dashed orange;"
|
|
579
|
+
>
|
|
580
|
+
<div class="toggle-button-group">
|
|
581
|
+
<ul aria-labelledby="toggle-button-group-c">
|
|
582
|
+
<li>
|
|
583
|
+
<button
|
|
584
|
+
type="button"
|
|
585
|
+
class="toggle-button"
|
|
586
|
+
aria-pressed="false"
|
|
587
|
+
>
|
|
588
|
+
<span class="toggle-button__content">
|
|
589
|
+
<span class="toggle-button__title">
|
|
590
|
+
4.5
|
|
591
|
+
</span>
|
|
592
|
+
</span>
|
|
593
|
+
</button>
|
|
594
|
+
</li>
|
|
595
|
+
<li>
|
|
596
|
+
<button
|
|
597
|
+
type="button"
|
|
598
|
+
class="toggle-button"
|
|
599
|
+
aria-pressed="true"
|
|
600
|
+
>
|
|
601
|
+
<span class="toggle-button__content">
|
|
602
|
+
<span class="toggle-button__title">
|
|
603
|
+
5
|
|
604
|
+
</span>
|
|
605
|
+
</span>
|
|
606
|
+
</button>
|
|
607
|
+
</li>
|
|
608
|
+
<li>
|
|
609
|
+
<button
|
|
610
|
+
type="button"
|
|
611
|
+
class="toggle-button"
|
|
612
|
+
aria-pressed="false"
|
|
613
|
+
>
|
|
614
|
+
<span class="toggle-button__content">
|
|
615
|
+
<span class="toggle-button__title">
|
|
616
|
+
5.5
|
|
617
|
+
</span>
|
|
618
|
+
</span>
|
|
619
|
+
</button>
|
|
620
|
+
</li>
|
|
621
|
+
<li>
|
|
622
|
+
<button
|
|
623
|
+
type="button"
|
|
624
|
+
class="toggle-button"
|
|
625
|
+
aria-pressed="false"
|
|
626
|
+
>
|
|
627
|
+
<span class="toggle-button__content">
|
|
628
|
+
<span class="toggle-button__title">
|
|
629
|
+
6
|
|
630
|
+
</span>
|
|
631
|
+
</span>
|
|
632
|
+
</button>
|
|
633
|
+
</li>
|
|
634
|
+
<li>
|
|
635
|
+
<button
|
|
636
|
+
type="button"
|
|
637
|
+
class="toggle-button"
|
|
638
|
+
aria-pressed="false"
|
|
639
|
+
>
|
|
640
|
+
<span class="toggle-button__content">
|
|
641
|
+
<span class="toggle-button__title">
|
|
642
|
+
6.5
|
|
643
|
+
</span>
|
|
644
|
+
</span>
|
|
645
|
+
</button>
|
|
646
|
+
</li>
|
|
647
|
+
<li>
|
|
648
|
+
<button
|
|
649
|
+
type="button"
|
|
650
|
+
class="toggle-button"
|
|
651
|
+
aria-pressed="false"
|
|
652
|
+
>
|
|
653
|
+
<span class="toggle-button__content">
|
|
654
|
+
<span class="toggle-button__title">
|
|
655
|
+
7
|
|
656
|
+
</span>
|
|
657
|
+
</span>
|
|
658
|
+
</button>
|
|
659
|
+
</li>
|
|
660
|
+
<li>
|
|
661
|
+
<button
|
|
662
|
+
type="button"
|
|
663
|
+
class="toggle-button"
|
|
664
|
+
aria-pressed="false"
|
|
665
|
+
>
|
|
666
|
+
<span class="toggle-button__content">
|
|
667
|
+
<span class="toggle-button__title">
|
|
668
|
+
7.5
|
|
669
|
+
</span>
|
|
670
|
+
</span>
|
|
671
|
+
</button>
|
|
672
|
+
</li>
|
|
673
|
+
<li>
|
|
674
|
+
<button
|
|
675
|
+
type="button"
|
|
676
|
+
class="toggle-button"
|
|
677
|
+
aria-pressed="false"
|
|
678
|
+
>
|
|
679
|
+
<span class="toggle-button__content">
|
|
680
|
+
<span class="toggle-button__title">
|
|
681
|
+
8
|
|
682
|
+
</span>
|
|
683
|
+
</span>
|
|
684
|
+
</button>
|
|
685
|
+
</li>
|
|
686
|
+
<li>
|
|
687
|
+
<button
|
|
688
|
+
type="button"
|
|
689
|
+
class="toggle-button"
|
|
690
|
+
aria-pressed="false"
|
|
691
|
+
>
|
|
692
|
+
<span class="toggle-button__content">
|
|
693
|
+
<span class="toggle-button__title">
|
|
694
|
+
8.5
|
|
695
|
+
</span>
|
|
696
|
+
</span>
|
|
697
|
+
</button>
|
|
698
|
+
</li>
|
|
699
|
+
</ul>
|
|
700
|
+
</div>
|
|
701
|
+
</div>
|
|
702
|
+
</div>
|
|
703
|
+
</div>
|
|
704
|
+
|
|
705
|
+
<highlight-code
|
|
706
|
+
type="html"
|
|
707
|
+
>
|
|
708
|
+
<h5 id="toggle-button-group-c1">Select Sizes</h5>
|
|
709
|
+
<div style="width: 500px; border: 1px dashed orange;">
|
|
710
|
+
<div class="toggle-button-group">
|
|
711
|
+
<ul aria-labelledby="toggle-button-group-c1">
|
|
712
|
+
<li>
|
|
713
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
714
|
+
<span class="toggle-button__content">
|
|
715
|
+
<span class="toggle-button__title">4.5</span>
|
|
716
|
+
</span>
|
|
717
|
+
</button>
|
|
718
|
+
</li>
|
|
719
|
+
<li>
|
|
720
|
+
<button type="button" class="toggle-button" aria-pressed="true">
|
|
721
|
+
<span class="toggle-button__content">
|
|
722
|
+
<span class="toggle-button__title">5</span>
|
|
723
|
+
</span>
|
|
724
|
+
</button>
|
|
725
|
+
</li>
|
|
726
|
+
<li>
|
|
727
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
728
|
+
<span class="toggle-button__content">
|
|
729
|
+
<span class="toggle-button__title">5.5</span>
|
|
730
|
+
</span>
|
|
731
|
+
</button>
|
|
732
|
+
</li>
|
|
733
|
+
<li>
|
|
734
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
735
|
+
<span class="toggle-button__content">
|
|
736
|
+
<span class="toggle-button__title">6</span>
|
|
737
|
+
</span>
|
|
738
|
+
</button>
|
|
739
|
+
</li>
|
|
740
|
+
<li>
|
|
741
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
742
|
+
<span class="toggle-button__content">
|
|
743
|
+
<span class="toggle-button__title">6.5</span>
|
|
744
|
+
</span>
|
|
745
|
+
</button>
|
|
746
|
+
</li>
|
|
747
|
+
<li>
|
|
748
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
749
|
+
<span class="toggle-button__content">
|
|
750
|
+
<span class="toggle-button__title">7</span>
|
|
751
|
+
</span>
|
|
752
|
+
</button>
|
|
753
|
+
</li>
|
|
754
|
+
<li>
|
|
755
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
756
|
+
<span class="toggle-button__content">
|
|
757
|
+
<span class="toggle-button__title">7.5</span>
|
|
758
|
+
</span>
|
|
759
|
+
</button>
|
|
760
|
+
</li>
|
|
761
|
+
<li>
|
|
762
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
763
|
+
<span class="toggle-button__content">
|
|
764
|
+
<span class="toggle-button__title">8</span>
|
|
765
|
+
</span>
|
|
766
|
+
</button>
|
|
767
|
+
</li>
|
|
768
|
+
<li>
|
|
769
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
770
|
+
<span class="toggle-button__content">
|
|
771
|
+
<span class="toggle-button__title">8.5</span>
|
|
772
|
+
</span>
|
|
773
|
+
</button>
|
|
774
|
+
</li>
|
|
775
|
+
</ul>
|
|
776
|
+
</div>
|
|
777
|
+
</div>
|
|
778
|
+
</highlight-code>
|
|
779
|
+
|
|
780
|
+
<h3>Exception Cases for Preferred Number of Toggle Buttons Per Line</h3>
|
|
781
|
+
|
|
782
|
+
<p>
|
|
783
|
+
The buttons inside the Toggle Button Group are automatically responsive and have predefined rules around how many Toggle Buttons will display on a line before wrapping to the next line. However, on some rare occasions, developers may need to revise those rules based on how a Toggle Button Group works in their specific use case. For example, when the number of buttons is deterministic and known. In those instances, using various attributes mapped to each breakpoint will allow the rules to be honored by the component. At those specific breakpoints, the number of buttons specificed will be displayed.
|
|
784
|
+
</p>
|
|
785
|
+
|
|
786
|
+
<p>
|
|
787
|
+
Here's a specific example. Suppose we know we're going to have 6 buttons total and we'd like to have perfect visual balance in the UI. We may add the following html attributes/modifiers to${" "}
|
|
788
|
+
<span class="highlight">
|
|
789
|
+
.toggle-button-group
|
|
790
|
+
</span>
|
|
791
|
+
to achieve that:
|
|
792
|
+
</p>
|
|
793
|
+
|
|
794
|
+
<ul>
|
|
795
|
+
<li>
|
|
796
|
+
<span class="highlight">
|
|
797
|
+
data-columns-xs="2"
|
|
798
|
+
</span>
|
|
799
|
+
${" "}to force 2 toggle buttons on the same line so we'd have 3 balanced lines of buttons at the${" "}
|
|
800
|
+
<span class="highlight">
|
|
801
|
+
XS
|
|
802
|
+
</span>
|
|
803
|
+
breakpoint or at
|
|
804
|
+
<span class="highlight">
|
|
805
|
+
320px
|
|
806
|
+
</span>
|
|
807
|
+
+ width.
|
|
808
|
+
</li>
|
|
809
|
+
<li>
|
|
810
|
+
<span class="highlight">
|
|
811
|
+
data-columns-sm="3"
|
|
812
|
+
</span>
|
|
813
|
+
${" "}to force 3 toggle buttons on the same line so we'd have 2 balanced lines of buttons at the${" "}
|
|
814
|
+
<span class="highlight">
|
|
815
|
+
SM
|
|
816
|
+
</span>
|
|
817
|
+
breakpoint or at
|
|
818
|
+
<span class="highlight">
|
|
819
|
+
512px
|
|
820
|
+
</span>
|
|
821
|
+
+ width.
|
|
822
|
+
</li>
|
|
823
|
+
<li>
|
|
824
|
+
<span class="highlight">
|
|
825
|
+
data-columns-md="6"
|
|
826
|
+
</span>
|
|
827
|
+
to force all 6 toggle buttons on the same line at the
|
|
828
|
+
<span class="highlight">
|
|
829
|
+
MD
|
|
830
|
+
</span>
|
|
831
|
+
breakpoint or at
|
|
832
|
+
<span class="highlight">
|
|
833
|
+
768px
|
|
834
|
+
</span>
|
|
835
|
+
+ width.
|
|
836
|
+
</li>
|
|
837
|
+
<li>
|
|
838
|
+
<span class="highlight">
|
|
839
|
+
data-columns-xl="8"
|
|
840
|
+
</span>
|
|
841
|
+
to force all 8 toggle buttons on the same line at the
|
|
842
|
+
<span class="highlight">
|
|
843
|
+
XL
|
|
844
|
+
</span>
|
|
845
|
+
breakpoint or at
|
|
846
|
+
<span class="highlight">
|
|
847
|
+
1280px
|
|
848
|
+
</span>
|
|
849
|
+
+ width.
|
|
850
|
+
</li>
|
|
851
|
+
</ul>
|
|
852
|
+
|
|
853
|
+
<p>
|
|
854
|
+
Here's that use case in action. Drag the range to see the effects of the attribute settings at various container widths.
|
|
855
|
+
</p>
|
|
856
|
+
|
|
857
|
+
<div class="demo">
|
|
858
|
+
<div class="demo__inner toggle-button-group-responsive-demo">
|
|
859
|
+
<p>
|
|
860
|
+
<label
|
|
861
|
+
for="toggle-button-group-breakpoints-range-2"
|
|
862
|
+
style="font-weight: bold;"
|
|
863
|
+
>
|
|
864
|
+
Modify Container Width
|
|
865
|
+
</label>
|
|
866
|
+
<div style="display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--color-stroke-default); padding: 8px; border-radius: 8px;">
|
|
867
|
+
<input
|
|
868
|
+
id="toggle-button-group-breakpoints-range-2"
|
|
869
|
+
class="toggle-button-group-breakpoints-range"
|
|
870
|
+
type="range"
|
|
871
|
+
name="breakpoints2"
|
|
872
|
+
min="320"
|
|
873
|
+
max="1280"
|
|
874
|
+
value="320"
|
|
875
|
+
>
|
|
876
|
+
<output
|
|
877
|
+
id="toggle-button-group-breakpoints-display-2"
|
|
878
|
+
class="toggle-button-group-breakpoints-output"
|
|
879
|
+
style="font-weight: bold;"
|
|
880
|
+
>
|
|
881
|
+
320
|
|
882
|
+
</output>
|
|
883
|
+
</div>
|
|
884
|
+
</p>
|
|
885
|
+
<h5 id="toggle-button-group-c">
|
|
886
|
+
Select Sizes
|
|
887
|
+
</h5>
|
|
888
|
+
<div
|
|
889
|
+
id="toggle-button-group-breakpoints-container-2"
|
|
890
|
+
class="toggle-button-group-breakpoints-container"
|
|
891
|
+
style="width: 320px; border: 1px dashed orange;"
|
|
892
|
+
>
|
|
893
|
+
<div
|
|
894
|
+
class="toggle-button-group"
|
|
895
|
+
data-columns-xs="2"
|
|
896
|
+
data-columns-sm="3"
|
|
897
|
+
data-columns-md="6"
|
|
898
|
+
data-columns-xl="8"
|
|
899
|
+
>
|
|
900
|
+
<ul aria-labelledby="toggle-button-group-c">
|
|
901
|
+
<li>
|
|
902
|
+
<button
|
|
903
|
+
type="button"
|
|
904
|
+
class="toggle-button"
|
|
905
|
+
aria-pressed="false"
|
|
906
|
+
>
|
|
907
|
+
<span class="toggle-button__content">
|
|
908
|
+
<span class="toggle-button__title">
|
|
909
|
+
4.5
|
|
910
|
+
</span>
|
|
911
|
+
</span>
|
|
912
|
+
</button>
|
|
913
|
+
</li>
|
|
914
|
+
<li>
|
|
915
|
+
<button
|
|
916
|
+
type="button"
|
|
917
|
+
class="toggle-button"
|
|
918
|
+
aria-pressed="false"
|
|
919
|
+
>
|
|
920
|
+
<span class="toggle-button__content">
|
|
921
|
+
<span class="toggle-button__title">
|
|
922
|
+
5
|
|
923
|
+
</span>
|
|
924
|
+
</span>
|
|
925
|
+
</button>
|
|
926
|
+
</li>
|
|
927
|
+
<li>
|
|
928
|
+
<button
|
|
929
|
+
type="button"
|
|
930
|
+
class="toggle-button"
|
|
931
|
+
aria-pressed="false"
|
|
932
|
+
>
|
|
933
|
+
<span class="toggle-button__content">
|
|
934
|
+
<span class="toggle-button__title">
|
|
935
|
+
5.5
|
|
936
|
+
</span>
|
|
937
|
+
</span>
|
|
938
|
+
</button>
|
|
939
|
+
</li>
|
|
940
|
+
<li>
|
|
941
|
+
<button
|
|
942
|
+
type="button"
|
|
943
|
+
class="toggle-button"
|
|
944
|
+
aria-pressed="false"
|
|
945
|
+
>
|
|
946
|
+
<span class="toggle-button__content">
|
|
947
|
+
<span class="toggle-button__title">
|
|
948
|
+
6
|
|
949
|
+
</span>
|
|
950
|
+
</span>
|
|
951
|
+
</button>
|
|
952
|
+
</li>
|
|
953
|
+
<li>
|
|
954
|
+
<button
|
|
955
|
+
type="button"
|
|
956
|
+
class="toggle-button"
|
|
957
|
+
aria-pressed="false"
|
|
958
|
+
>
|
|
959
|
+
<span class="toggle-button__content">
|
|
960
|
+
<span class="toggle-button__title">
|
|
961
|
+
6.5
|
|
962
|
+
</span>
|
|
963
|
+
</span>
|
|
964
|
+
</button>
|
|
965
|
+
</li>
|
|
966
|
+
<li>
|
|
967
|
+
<button
|
|
968
|
+
type="button"
|
|
969
|
+
class="toggle-button"
|
|
970
|
+
aria-pressed="false"
|
|
971
|
+
>
|
|
972
|
+
<span class="toggle-button__content">
|
|
973
|
+
<span class="toggle-button__title">
|
|
974
|
+
7
|
|
975
|
+
</span>
|
|
976
|
+
</span>
|
|
977
|
+
</button>
|
|
978
|
+
</li>
|
|
979
|
+
</ul>
|
|
980
|
+
</div>
|
|
981
|
+
</div>
|
|
982
|
+
</div>
|
|
983
|
+
</div>
|
|
984
|
+
|
|
985
|
+
<highlight-code
|
|
986
|
+
type="html"
|
|
987
|
+
>
|
|
988
|
+
<h5 id="toggle-button-group-c">Select Sizes</h5>
|
|
989
|
+
<div style="width: 500px; border: 1px dashed orange;">
|
|
990
|
+
<div class="toggle-button-group" data-columns-xs="2" data-columns-sm="3" data-columns-md="6" data-columns-xl="8">
|
|
991
|
+
<ul aria-labelledby="toggle-button-group-c">
|
|
992
|
+
<li>
|
|
993
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
994
|
+
<span class="toggle-button__content">
|
|
995
|
+
<span class="toggle-button__title">4.5</span>
|
|
996
|
+
</span>
|
|
997
|
+
</button>
|
|
998
|
+
</li>
|
|
999
|
+
<li>
|
|
1000
|
+
<button type="button" class="toggle-button" aria-pressed="true">
|
|
1001
|
+
<span class="toggle-button__content">
|
|
1002
|
+
<span class="toggle-button__title">5</span>
|
|
1003
|
+
</span>
|
|
1004
|
+
</button>
|
|
1005
|
+
</li>
|
|
1006
|
+
<li>
|
|
1007
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
1008
|
+
<span class="toggle-button__content">
|
|
1009
|
+
<span class="toggle-button__title">5.5</span>
|
|
1010
|
+
</span>
|
|
1011
|
+
</button>
|
|
1012
|
+
</li>
|
|
1013
|
+
<li>
|
|
1014
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
1015
|
+
<span class="toggle-button__content">
|
|
1016
|
+
<span class="toggle-button__title">6</span>
|
|
1017
|
+
</span>
|
|
1018
|
+
</button>
|
|
1019
|
+
</li>
|
|
1020
|
+
<li>
|
|
1021
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
1022
|
+
<span class="toggle-button__content">
|
|
1023
|
+
<span class="toggle-button__title">6.5</span>
|
|
1024
|
+
</span>
|
|
1025
|
+
</button>
|
|
1026
|
+
</li>
|
|
1027
|
+
<li>
|
|
1028
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
1029
|
+
<span class="toggle-button__content">
|
|
1030
|
+
<span class="toggle-button__title">7</span>
|
|
1031
|
+
</span>
|
|
1032
|
+
</button>
|
|
1033
|
+
</li>
|
|
1034
|
+
</ul>
|
|
1035
|
+
</div>
|
|
1036
|
+
</div>
|
|
1037
|
+
</highlight-code>
|
|
1038
|
+
|
|
1039
|
+
<h3>Layouts</h3>
|
|
1040
|
+
|
|
1041
|
+
<p>
|
|
1042
|
+
There are various layouts that can be used based on the specific needs at implementation. The implied theme (needs no modifier), is the minimal layout. For more information about types of layouts, refer to the${" "}
|
|
1043
|
+
<a href="#toggle-button">
|
|
1044
|
+
Toggle Button
|
|
1045
|
+
</a>
|
|
1046
|
+
component. The examples below will highlight various layouts.
|
|
1047
|
+
</p>
|
|
1048
|
+
|
|
1049
|
+
<p>
|
|
1050
|
+
A toggle button group can have one of three different layouts: minimal (default), list or gallery.
|
|
1051
|
+
</p>
|
|
1052
|
+
|
|
1053
|
+
<section
|
|
1054
|
+
class="section-notice section-notice--information"
|
|
1055
|
+
role="region"
|
|
1056
|
+
aria-label="Information"
|
|
1057
|
+
>
|
|
1058
|
+
<div class="section-notice__header">
|
|
1059
|
+
<svg
|
|
1060
|
+
class="icon icon--16"
|
|
1061
|
+
height="16"
|
|
1062
|
+
width="16"
|
|
1063
|
+
role="img"
|
|
1064
|
+
aria-label="Information"
|
|
1065
|
+
>
|
|
1066
|
+
<icon-symbol name="information-filled-16"/>
|
|
1067
|
+
</svg>
|
|
1068
|
+
</div>
|
|
1069
|
+
<div class="section-notice__main">
|
|
1070
|
+
<h3 class="section-notice__title">
|
|
1071
|
+
Layout Modifiers
|
|
1072
|
+
</h3>
|
|
1073
|
+
<p>
|
|
1074
|
+
Toggle Button Group has top-level modifiers that will apply to the Toggle Buttons inside. When using Toggle Buttons inside Toggle Button Group make sure you do NOT specify each Toggle Button layout modifier. Instead, top-level layout modifiers will be sufficient to create the layout you want.
|
|
1075
|
+
</p>
|
|
1076
|
+
</div>
|
|
1077
|
+
</section>
|
|
1078
|
+
|
|
1079
|
+
<h3>Minimal Layout (default)</h3>
|
|
1080
|
+
|
|
1081
|
+
<p>
|
|
1082
|
+
The default, minimal toggle button should be used when the contents are single-line and very short, as in shoe sizing, for example. This layout is geared more towards allowing the display of many more options and maximizing screen real estate.
|
|
1083
|
+
</p>
|
|
1084
|
+
|
|
1085
|
+
<p>
|
|
1086
|
+
<strong>NOTE:</strong>
|
|
1087
|
+
All toggle button examples utilize JavaScript to toggle the
|
|
1088
|
+
<span class="highlight">
|
|
1089
|
+
aria-pressed
|
|
1090
|
+
</span>
|
|
1091
|
+
state of the button.
|
|
1092
|
+
</p>
|
|
1093
|
+
|
|
1094
|
+
<p>
|
|
1095
|
+
In this example, the container housing the Toggle Button Group is artificially limited to${" "}
|
|
1096
|
+
<span class="highlight">
|
|
1097
|
+
500px
|
|
1098
|
+
</span>
|
|
1099
|
+
${" "}to demonstrate how the buttons will wrap after the specific columns (in this case, 3). Feel free to reduce/expand the container width in dev console to see how the columns will react.
|
|
1100
|
+
</p>
|
|
1101
|
+
|
|
1102
|
+
<div class="demo">
|
|
1103
|
+
<div class="demo__inner">
|
|
1104
|
+
<h5 id="toggle-button-group-e">
|
|
1105
|
+
Select Sizes
|
|
1106
|
+
</h5>
|
|
1107
|
+
<div style="width: 500px; border: 1px dashed orange;">
|
|
1108
|
+
<div class="toggle-button-group">
|
|
1109
|
+
<ul aria-labelledby="toggle-button-group-e">
|
|
1110
|
+
<li>
|
|
1111
|
+
<button
|
|
1112
|
+
type="button"
|
|
1113
|
+
class="toggle-button"
|
|
1114
|
+
aria-pressed="false"
|
|
1115
|
+
>
|
|
1116
|
+
<span class="toggle-button__content">
|
|
1117
|
+
<span class="toggle-button__title">
|
|
1118
|
+
4.5
|
|
1119
|
+
</span>
|
|
1120
|
+
</span>
|
|
1121
|
+
</button>
|
|
1122
|
+
</li>
|
|
1123
|
+
<li>
|
|
1124
|
+
<button
|
|
1125
|
+
type="button"
|
|
1126
|
+
class="toggle-button"
|
|
1127
|
+
aria-pressed="true"
|
|
1128
|
+
>
|
|
1129
|
+
<span class="toggle-button__content">
|
|
1130
|
+
<span class="toggle-button__title">
|
|
1131
|
+
5
|
|
1132
|
+
</span>
|
|
1133
|
+
</span>
|
|
1134
|
+
</button>
|
|
1135
|
+
</li>
|
|
1136
|
+
<li>
|
|
1137
|
+
<button
|
|
1138
|
+
type="button"
|
|
1139
|
+
class="toggle-button"
|
|
1140
|
+
aria-pressed="false"
|
|
1141
|
+
>
|
|
1142
|
+
<span class="toggle-button__content">
|
|
1143
|
+
<span class="toggle-button__title">
|
|
1144
|
+
5.5
|
|
1145
|
+
</span>
|
|
1146
|
+
</span>
|
|
1147
|
+
</button>
|
|
1148
|
+
</li>
|
|
1149
|
+
<li>
|
|
1150
|
+
<button
|
|
1151
|
+
type="button"
|
|
1152
|
+
class="toggle-button"
|
|
1153
|
+
aria-pressed="false"
|
|
1154
|
+
>
|
|
1155
|
+
<span class="toggle-button__content">
|
|
1156
|
+
<span class="toggle-button__title">
|
|
1157
|
+
6
|
|
1158
|
+
</span>
|
|
1159
|
+
</span>
|
|
1160
|
+
</button>
|
|
1161
|
+
</li>
|
|
1162
|
+
<li>
|
|
1163
|
+
<button
|
|
1164
|
+
type="button"
|
|
1165
|
+
class="toggle-button"
|
|
1166
|
+
aria-pressed="false"
|
|
1167
|
+
>
|
|
1168
|
+
<span class="toggle-button__content">
|
|
1169
|
+
<span class="toggle-button__title">
|
|
1170
|
+
6.5
|
|
1171
|
+
</span>
|
|
1172
|
+
</span>
|
|
1173
|
+
</button>
|
|
1174
|
+
</li>
|
|
1175
|
+
<li>
|
|
1176
|
+
<button
|
|
1177
|
+
type="button"
|
|
1178
|
+
class="toggle-button"
|
|
1179
|
+
aria-pressed="false"
|
|
1180
|
+
>
|
|
1181
|
+
<span class="toggle-button__content">
|
|
1182
|
+
<span class="toggle-button__title">
|
|
1183
|
+
7
|
|
1184
|
+
</span>
|
|
1185
|
+
</span>
|
|
1186
|
+
</button>
|
|
1187
|
+
</li>
|
|
1188
|
+
<li>
|
|
1189
|
+
<button
|
|
1190
|
+
type="button"
|
|
1191
|
+
class="toggle-button"
|
|
1192
|
+
aria-pressed="false"
|
|
1193
|
+
>
|
|
1194
|
+
<span class="toggle-button__content">
|
|
1195
|
+
<span class="toggle-button__title">
|
|
1196
|
+
7.5
|
|
1197
|
+
</span>
|
|
1198
|
+
</span>
|
|
1199
|
+
</button>
|
|
1200
|
+
</li>
|
|
1201
|
+
<li>
|
|
1202
|
+
<button
|
|
1203
|
+
type="button"
|
|
1204
|
+
class="toggle-button"
|
|
1205
|
+
aria-pressed="false"
|
|
1206
|
+
>
|
|
1207
|
+
<span class="toggle-button__content">
|
|
1208
|
+
<span class="toggle-button__title">
|
|
1209
|
+
8
|
|
1210
|
+
</span>
|
|
1211
|
+
</span>
|
|
1212
|
+
</button>
|
|
1213
|
+
</li>
|
|
1214
|
+
<li>
|
|
1215
|
+
<button
|
|
1216
|
+
type="button"
|
|
1217
|
+
class="toggle-button"
|
|
1218
|
+
aria-pressed="false"
|
|
1219
|
+
>
|
|
1220
|
+
<span class="toggle-button__content">
|
|
1221
|
+
<span class="toggle-button__title">
|
|
1222
|
+
8.5
|
|
1223
|
+
</span>
|
|
1224
|
+
</span>
|
|
1225
|
+
</button>
|
|
1226
|
+
</li>
|
|
1227
|
+
</ul>
|
|
1228
|
+
</div>
|
|
1229
|
+
</div>
|
|
1230
|
+
</div>
|
|
1231
|
+
</div>
|
|
1232
|
+
|
|
1233
|
+
<highlight-code
|
|
1234
|
+
type="html"
|
|
1235
|
+
>
|
|
1236
|
+
<h5 id="toggle-button-group-e">Select Sizes</h5>
|
|
1237
|
+
<div style="width: 500px; border: 1px dashed orange;">
|
|
1238
|
+
<div class="toggle-button-group">
|
|
1239
|
+
<ul aria-labelledby="toggle-button-group-e">
|
|
1240
|
+
<li>
|
|
1241
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
1242
|
+
<span class="toggle-button__content">
|
|
1243
|
+
<span class="toggle-button__title">4.5</span>
|
|
1244
|
+
</span>
|
|
1245
|
+
</button>
|
|
1246
|
+
</li>
|
|
1247
|
+
<li>
|
|
1248
|
+
<button type="button" class="toggle-button" aria-pressed="true">
|
|
1249
|
+
<span class="toggle-button__content">
|
|
1250
|
+
<span class="toggle-button__title">5</span>
|
|
1251
|
+
</span>
|
|
1252
|
+
</button>
|
|
1253
|
+
</li>
|
|
1254
|
+
<li>
|
|
1255
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
1256
|
+
<span class="toggle-button__content">
|
|
1257
|
+
<span class="toggle-button__title">5.5</span>
|
|
1258
|
+
</span>
|
|
1259
|
+
</button>
|
|
1260
|
+
</li>
|
|
1261
|
+
<li>
|
|
1262
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
1263
|
+
<span class="toggle-button__content">
|
|
1264
|
+
<span class="toggle-button__title">6</span>
|
|
1265
|
+
</span>
|
|
1266
|
+
</button>
|
|
1267
|
+
</li>
|
|
1268
|
+
<li>
|
|
1269
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
1270
|
+
<span class="toggle-button__content">
|
|
1271
|
+
<span class="toggle-button__title">6.5</span>
|
|
1272
|
+
</span>
|
|
1273
|
+
</button>
|
|
1274
|
+
</li>
|
|
1275
|
+
<li>
|
|
1276
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
1277
|
+
<span class="toggle-button__content">
|
|
1278
|
+
<span class="toggle-button__title">7</span>
|
|
1279
|
+
</span>
|
|
1280
|
+
</button>
|
|
1281
|
+
</li>
|
|
1282
|
+
<li>
|
|
1283
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
1284
|
+
<span class="toggle-button__content">
|
|
1285
|
+
<span class="toggle-button__title">7.5</span>
|
|
1286
|
+
</span>
|
|
1287
|
+
</button>
|
|
1288
|
+
</li>
|
|
1289
|
+
<li>
|
|
1290
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
1291
|
+
<span class="toggle-button__content">
|
|
1292
|
+
<span class="toggle-button__title">8</span>
|
|
1293
|
+
</span>
|
|
1294
|
+
</button>
|
|
1295
|
+
</li>
|
|
1296
|
+
<li>
|
|
1297
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
1298
|
+
<span class="toggle-button__content">
|
|
1299
|
+
<span class="toggle-button__title">8.5</span>
|
|
1300
|
+
</span>
|
|
1301
|
+
</button>
|
|
1302
|
+
</li>
|
|
1303
|
+
</ul>
|
|
1304
|
+
</div>
|
|
1305
|
+
</div>
|
|
1306
|
+
</highlight-code>
|
|
1307
|
+
|
|
1308
|
+
<h3>List Layout</h3>
|
|
1309
|
+
|
|
1310
|
+
<p>
|
|
1311
|
+
List layout should be used when it's desired to have wider horizontal buttons. These are more easily stackable on narrower screens.
|
|
1312
|
+
</p>
|
|
1313
|
+
|
|
1314
|
+
<p>
|
|
1315
|
+
You may use this layout by adding the
|
|
1316
|
+
<span class="highlight">
|
|
1317
|
+
toggle-button-group--list-layout
|
|
1318
|
+
</span>
|
|
1319
|
+
modifier to the toggle button group.
|
|
1320
|
+
</p>
|
|
1321
|
+
|
|
1322
|
+
<h4>List Layout Toggle Button Group with Title</h4>
|
|
1323
|
+
|
|
1324
|
+
<div class="demo">
|
|
1325
|
+
<div class="demo__inner">
|
|
1326
|
+
<h5 id="toggle-button-group-f">
|
|
1327
|
+
Text Options
|
|
1328
|
+
</h5>
|
|
1329
|
+
<div style="width: 750px; border: 1px dashed orange;">
|
|
1330
|
+
<div class="toggle-button-group toggle-button-group--list-layout">
|
|
1331
|
+
<ul aria-labelledby="toggle-button-group-f">
|
|
1332
|
+
<li>
|
|
1333
|
+
<button
|
|
1334
|
+
type="button"
|
|
1335
|
+
class="toggle-button"
|
|
1336
|
+
aria-pressed="false"
|
|
1337
|
+
>
|
|
1338
|
+
<span class="toggle-button__content">
|
|
1339
|
+
<span class="toggle-button__title">
|
|
1340
|
+
Text Button 1
|
|
1341
|
+
</span>
|
|
1342
|
+
</span>
|
|
1343
|
+
</button>
|
|
1344
|
+
</li>
|
|
1345
|
+
<li>
|
|
1346
|
+
<button
|
|
1347
|
+
type="button"
|
|
1348
|
+
class="toggle-button"
|
|
1349
|
+
aria-pressed="true"
|
|
1350
|
+
>
|
|
1351
|
+
<span class="toggle-button__content">
|
|
1352
|
+
<span class="toggle-button__title">
|
|
1353
|
+
Text Button 2
|
|
1354
|
+
</span>
|
|
1355
|
+
</span>
|
|
1356
|
+
</button>
|
|
1357
|
+
</li>
|
|
1358
|
+
<li>
|
|
1359
|
+
<button
|
|
1360
|
+
type="button"
|
|
1361
|
+
class="toggle-button"
|
|
1362
|
+
aria-pressed="false"
|
|
1363
|
+
>
|
|
1364
|
+
<span class="toggle-button__content">
|
|
1365
|
+
<span class="toggle-button__title">
|
|
1366
|
+
Text Button 3
|
|
1367
|
+
</span>
|
|
1368
|
+
</span>
|
|
1369
|
+
</button>
|
|
1370
|
+
</li>
|
|
1371
|
+
</ul>
|
|
1372
|
+
</div>
|
|
1373
|
+
</div>
|
|
1374
|
+
</div>
|
|
1375
|
+
</div>
|
|
1376
|
+
|
|
1377
|
+
<highlight-code
|
|
1378
|
+
type="html"
|
|
1379
|
+
>
|
|
1380
|
+
<h5 id="toggle-button-group-f">Text Options</h5>
|
|
1381
|
+
<div style="width: 750px; border: 1px dashed orange;">
|
|
1382
|
+
<div aria-labelledby="toggle-button-group-f" class="toggle-button-group toggle-button-group--list-layout">
|
|
1383
|
+
<ul aria-labelledby="toggle-button-group-f">
|
|
1384
|
+
<li>
|
|
1385
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
1386
|
+
<span class="toggle-button__content">
|
|
1387
|
+
<span class="toggle-button__title">Text Button 1</span>
|
|
1388
|
+
</span>
|
|
1389
|
+
</button>
|
|
1390
|
+
</li>
|
|
1391
|
+
<li>
|
|
1392
|
+
<button type="button" class="toggle-button" aria-pressed="true">
|
|
1393
|
+
<span class="toggle-button__content">
|
|
1394
|
+
<span class="toggle-button__title">Text Button 2</span>
|
|
1395
|
+
</span>
|
|
1396
|
+
</button>
|
|
1397
|
+
</li>
|
|
1398
|
+
<li>
|
|
1399
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
1400
|
+
<span class="toggle-button__content">
|
|
1401
|
+
<span class="toggle-button__title">Text Button 3</span>
|
|
1402
|
+
</span>
|
|
1403
|
+
</button>
|
|
1404
|
+
</li>
|
|
1405
|
+
</ul>
|
|
1406
|
+
</div>
|
|
1407
|
+
</div>
|
|
1408
|
+
</highlight-code>
|
|
1409
|
+
|
|
1410
|
+
<h4>
|
|
1411
|
+
List Layout Toggle Button Group with Subtitles (multiple buttons toggled on)
|
|
1412
|
+
</h4>
|
|
1413
|
+
|
|
1414
|
+
<div class="demo">
|
|
1415
|
+
<div class="demo__inner">
|
|
1416
|
+
<h5 id="toggle-button-group-g">
|
|
1417
|
+
Text Options
|
|
1418
|
+
</h5>
|
|
1419
|
+
<div style="width: 750px; border: 1px dashed orange;">
|
|
1420
|
+
<div class="toggle-button-group toggle-button-group--list-layout">
|
|
1421
|
+
<ul aria-labelledby="toggle-button-group-g">
|
|
1422
|
+
<li>
|
|
1423
|
+
<button
|
|
1424
|
+
type="button"
|
|
1425
|
+
class="toggle-button"
|
|
1426
|
+
aria-pressed="false"
|
|
1427
|
+
>
|
|
1428
|
+
<span class="toggle-button__content">
|
|
1429
|
+
<span class="toggle-button__title">
|
|
1430
|
+
Text Title 1
|
|
1431
|
+
</span>
|
|
1432
|
+
<span class="toggle-button__subtitle">
|
|
1433
|
+
Text Subtitle 1
|
|
1434
|
+
</span>
|
|
1435
|
+
</span>
|
|
1436
|
+
</button>
|
|
1437
|
+
</li>
|
|
1438
|
+
<li>
|
|
1439
|
+
<button
|
|
1440
|
+
type="button"
|
|
1441
|
+
class="toggle-button"
|
|
1442
|
+
aria-pressed="true"
|
|
1443
|
+
>
|
|
1444
|
+
<span class="toggle-button__content">
|
|
1445
|
+
<span class="toggle-button__title">
|
|
1446
|
+
Text Title 2
|
|
1447
|
+
</span>
|
|
1448
|
+
<span class="toggle-button__subtitle">
|
|
1449
|
+
Text Subtitle 2
|
|
1450
|
+
</span>
|
|
1451
|
+
</span>
|
|
1452
|
+
</button>
|
|
1453
|
+
</li>
|
|
1454
|
+
<li>
|
|
1455
|
+
<button
|
|
1456
|
+
type="button"
|
|
1457
|
+
class="toggle-button"
|
|
1458
|
+
aria-pressed="true"
|
|
1459
|
+
>
|
|
1460
|
+
<span class="toggle-button__content">
|
|
1461
|
+
<span class="toggle-button__title">
|
|
1462
|
+
Text Title 3
|
|
1463
|
+
</span>
|
|
1464
|
+
<span class="toggle-button__subtitle">
|
|
1465
|
+
Text Subtitle 3
|
|
1466
|
+
</span>
|
|
1467
|
+
</span>
|
|
1468
|
+
</button>
|
|
1469
|
+
</li>
|
|
1470
|
+
</ul>
|
|
1471
|
+
</div>
|
|
1472
|
+
</div>
|
|
1473
|
+
</div>
|
|
1474
|
+
</div>
|
|
1475
|
+
|
|
1476
|
+
<highlight-code
|
|
1477
|
+
type="html"
|
|
1478
|
+
>
|
|
1479
|
+
<h5 id="toggle-button-group-g">Text Options</h5>
|
|
1480
|
+
<div style="width: 750px; border: 1px dashed orange;">
|
|
1481
|
+
<div class="toggle-button-group toggle-button-group--list-layout">
|
|
1482
|
+
<ul aria-labelledby="toggle-button-group-g">
|
|
1483
|
+
<li>
|
|
1484
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
1485
|
+
<span class="toggle-button__content">
|
|
1486
|
+
<span class="toggle-button__title">Text Title 1</span>
|
|
1487
|
+
<span class="toggle-button__subtitle">Text Subtitle 1</span>
|
|
1488
|
+
</span>
|
|
1489
|
+
</button>
|
|
1490
|
+
</li>
|
|
1491
|
+
<li>
|
|
1492
|
+
<button type="button" class="toggle-button" aria-pressed="true">
|
|
1493
|
+
<span class="toggle-button__content">
|
|
1494
|
+
<span class="toggle-button__title">Text Title 2</span>
|
|
1495
|
+
<span class="toggle-button__subtitle">Text Subtitle 2</span>
|
|
1496
|
+
</span>
|
|
1497
|
+
</button>
|
|
1498
|
+
</li>
|
|
1499
|
+
<li>
|
|
1500
|
+
<button type="button" class="toggle-button" aria-pressed="true">
|
|
1501
|
+
<span class="toggle-button__content">
|
|
1502
|
+
<span class="toggle-button__title">Text Title 3</span>
|
|
1503
|
+
<span class="toggle-button__subtitle">Text Subtitle 3</span>
|
|
1504
|
+
</span>
|
|
1505
|
+
</button>
|
|
1506
|
+
</li>
|
|
1507
|
+
</ul>
|
|
1508
|
+
</div>
|
|
1509
|
+
</div>
|
|
1510
|
+
</highlight-code>
|
|
1511
|
+
|
|
1512
|
+
<h4>List Layout Toggle Button Group with Icons</h4>
|
|
1513
|
+
|
|
1514
|
+
<div class="demo">
|
|
1515
|
+
<div class="demo__inner">
|
|
1516
|
+
<h5 id="toggle-button-group-h">
|
|
1517
|
+
Select Payment Option
|
|
1518
|
+
</h5>
|
|
1519
|
+
<div style="width: 800px; border: 1px dashed orange;">
|
|
1520
|
+
<div class="toggle-button-group toggle-button-group--list-layout">
|
|
1521
|
+
<ul aria-labelledby="toggle-button-group-h">
|
|
1522
|
+
<li>
|
|
1523
|
+
<button
|
|
1524
|
+
type="button"
|
|
1525
|
+
class="toggle-button"
|
|
1526
|
+
aria-pressed="false"
|
|
1527
|
+
>
|
|
1528
|
+
<span class="toggle-button__icon">
|
|
1529
|
+
<svg
|
|
1530
|
+
aria-hidden="true"
|
|
1531
|
+
class="icon icon--visa-32-colored"
|
|
1532
|
+
height="3"
|
|
1533
|
+
width="3"
|
|
1534
|
+
>
|
|
1535
|
+
<icon-symbol
|
|
1536
|
+
name="visa-32-colored"
|
|
1537
|
+
prefix="icon"
|
|
1538
|
+
/>
|
|
1539
|
+
</svg>
|
|
1540
|
+
</span>
|
|
1541
|
+
<span class="toggle-button__content">
|
|
1542
|
+
<span class="toggle-button__title">
|
|
1543
|
+
Image Button Title 1
|
|
1544
|
+
</span>
|
|
1545
|
+
<span class="toggle-button__subtitle">
|
|
1546
|
+
Image Button Subtitle 1
|
|
1547
|
+
</span>
|
|
1548
|
+
</span>
|
|
1549
|
+
</button>
|
|
1550
|
+
</li>
|
|
1551
|
+
<li>
|
|
1552
|
+
<button
|
|
1553
|
+
type="button"
|
|
1554
|
+
class="toggle-button"
|
|
1555
|
+
aria-pressed="true"
|
|
1556
|
+
>
|
|
1557
|
+
<span class="toggle-button__icon">
|
|
1558
|
+
<svg
|
|
1559
|
+
aria-hidden="true"
|
|
1560
|
+
class="icon icon--paypal-32-colored"
|
|
1561
|
+
height="3"
|
|
1562
|
+
width="3"
|
|
1563
|
+
>
|
|
1564
|
+
<icon-symbol
|
|
1565
|
+
name="paypal-32-colored"
|
|
1566
|
+
prefix="icon"
|
|
1567
|
+
/>
|
|
1568
|
+
</svg>
|
|
1569
|
+
</span>
|
|
1570
|
+
<span class="toggle-button__content">
|
|
1571
|
+
<span class="toggle-button__title">
|
|
1572
|
+
Image Button Title 2
|
|
1573
|
+
</span>
|
|
1574
|
+
<span class="toggle-button__subtitle">
|
|
1575
|
+
Image Button Subtitle 2
|
|
1576
|
+
</span>
|
|
1577
|
+
</span>
|
|
1578
|
+
</button>
|
|
1579
|
+
</li>
|
|
1580
|
+
<li>
|
|
1581
|
+
<button
|
|
1582
|
+
type="button"
|
|
1583
|
+
class="toggle-button"
|
|
1584
|
+
aria-pressed="false"
|
|
1585
|
+
>
|
|
1586
|
+
<span class="toggle-button__icon">
|
|
1587
|
+
<svg
|
|
1588
|
+
aria-hidden="true"
|
|
1589
|
+
class="icon icon--mastercard-32-colored"
|
|
1590
|
+
height="3"
|
|
1591
|
+
width="3"
|
|
1592
|
+
>
|
|
1593
|
+
<icon-symbol
|
|
1594
|
+
name="mastercard-32-colored"
|
|
1595
|
+
prefix="icon"
|
|
1596
|
+
/>
|
|
1597
|
+
</svg>
|
|
1598
|
+
</span>
|
|
1599
|
+
<span class="toggle-button__content">
|
|
1600
|
+
<span class="toggle-button__title">
|
|
1601
|
+
Image Button Title 3
|
|
1602
|
+
</span>
|
|
1603
|
+
<span class="toggle-button__subtitle">
|
|
1604
|
+
Image Button Subtitle 3
|
|
1605
|
+
</span>
|
|
1606
|
+
</span>
|
|
1607
|
+
</button>
|
|
1608
|
+
</li>
|
|
1609
|
+
</ul>
|
|
1610
|
+
</div>
|
|
1611
|
+
</div>
|
|
1612
|
+
</div>
|
|
1613
|
+
</div>
|
|
1614
|
+
|
|
1615
|
+
<highlight-code
|
|
1616
|
+
type="html"
|
|
1617
|
+
>
|
|
1618
|
+
<h5 id="toggle-button-group-h">Select Payment Option</h5>
|
|
1619
|
+
<div style="width: 800px; border: 1px dashed orange;">
|
|
1620
|
+
<div class="toggle-button-group toggle-button-group--list-layout">
|
|
1621
|
+
<ul aria-labelledby="toggle-button-group-h">
|
|
1622
|
+
<li>
|
|
1623
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
1624
|
+
<span class="toggle-button__icon">
|
|
1625
|
+
<svg aria-hidden="true" class="icon icon--visa-32-colored" height="3" width="3">
|
|
1626
|
+
<use href="static/icons.svg#icon-visa-32-colored"></use>
|
|
1627
|
+
</svg>
|
|
1628
|
+
</span>
|
|
1629
|
+
<span class="toggle-button__content">
|
|
1630
|
+
<span class="toggle-button__title">Image Button Title 1</span>
|
|
1631
|
+
<span class="toggle-button__subtitle">Image Button Subtitle 1</span>
|
|
1632
|
+
</span>
|
|
1633
|
+
</button>
|
|
1634
|
+
</li>
|
|
1635
|
+
<li>
|
|
1636
|
+
<button type="button" class="toggle-button" aria-pressed="true">
|
|
1637
|
+
<span class="toggle-button__icon">
|
|
1638
|
+
<svg aria-hidden="true" class="icon icon--paypal-32-colored" height="3" width="3">
|
|
1639
|
+
<use href="static/icons.svg#icon-paypal-32-colored"></use>
|
|
1640
|
+
</svg>
|
|
1641
|
+
</span>
|
|
1642
|
+
<span class="toggle-button__content">
|
|
1643
|
+
<span class="toggle-button__title">Image Button Title 2</span>
|
|
1644
|
+
<span class="toggle-button__subtitle">Image Button Subtitle 2</span>
|
|
1645
|
+
</span>
|
|
1646
|
+
</button>
|
|
1647
|
+
</li>
|
|
1648
|
+
<li>
|
|
1649
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
1650
|
+
<span class="toggle-button__icon">
|
|
1651
|
+
<svg aria-hidden="true" class="icon icon--mastercard-32-colored" height="3" width="3">
|
|
1652
|
+
<use href="static/icons.svg#icon-mastercard-32-colored"></use>
|
|
1653
|
+
</svg>
|
|
1654
|
+
</span>
|
|
1655
|
+
<span class="toggle-button__content">
|
|
1656
|
+
<span class="toggle-button__title">Image Button Title 3</span>
|
|
1657
|
+
<span class="toggle-button__subtitle">Image Button Subtitle 3</span>
|
|
1658
|
+
</span>
|
|
1659
|
+
</button>
|
|
1660
|
+
</li>
|
|
1661
|
+
</ul>
|
|
1662
|
+
</div>
|
|
1663
|
+
</div>
|
|
1664
|
+
</highlight-code>
|
|
1665
|
+
|
|
1666
|
+
<h4>List Layout Toggle Button Group with Images</h4>
|
|
1667
|
+
|
|
1668
|
+
<p>
|
|
1669
|
+
To add an image to a toggle button, you can use the
|
|
1670
|
+
<span class="highlight">
|
|
1671
|
+
toggle-button__image-container
|
|
1672
|
+
</span>
|
|
1673
|
+
block using an
|
|
1674
|
+
<span class="highlight">
|
|
1675
|
+
<img>
|
|
1676
|
+
</span>
|
|
1677
|
+
or as a
|
|
1678
|
+
<span class="highlight">
|
|
1679
|
+
css
|
|
1680
|
+
</span>
|
|
1681
|
+
background image.
|
|
1682
|
+
</p>
|
|
1683
|
+
|
|
1684
|
+
<h5 id="toggle-button-group-i">
|
|
1685
|
+
Select Payment Option
|
|
1686
|
+
</h5>
|
|
1687
|
+
<div style="width: 800px; border: 1px dashed orange;">
|
|
1688
|
+
<div class="toggle-button-group toggle-button-group--list-layout">
|
|
1689
|
+
<ul aria-labelledby="toggle-button-group-i">
|
|
1690
|
+
<li>
|
|
1691
|
+
<button
|
|
1692
|
+
type="button toggle-button--list-layout"
|
|
1693
|
+
class="toggle-button"
|
|
1694
|
+
aria-pressed="false"
|
|
1695
|
+
>
|
|
1696
|
+
<span class="toggle-button__image-container">
|
|
1697
|
+
<span class="toggle-button__image">
|
|
1698
|
+
<img
|
|
1699
|
+
src="src/routes/static/img/tb-profile-pic.jpg"
|
|
1700
|
+
alt=""
|
|
1701
|
+
>
|
|
1702
|
+
</span>
|
|
1703
|
+
</span>
|
|
1704
|
+
<span class="toggle-button__content">
|
|
1705
|
+
<span class="toggle-button__title">
|
|
1706
|
+
Title
|
|
1707
|
+
</span>
|
|
1708
|
+
<span class="toggle-button__subtitle">
|
|
1709
|
+
Subtitle
|
|
1710
|
+
</span>
|
|
1711
|
+
</span>
|
|
1712
|
+
</button>
|
|
1713
|
+
</li>
|
|
1714
|
+
|
|
1715
|
+
<li>
|
|
1716
|
+
<button
|
|
1717
|
+
type="button toggle-button--list-layout"
|
|
1718
|
+
class="toggle-button"
|
|
1719
|
+
aria-pressed="false"
|
|
1720
|
+
>
|
|
1721
|
+
<span class="toggle-button__image-container">
|
|
1722
|
+
<span class="toggle-button__image">
|
|
1723
|
+
<img
|
|
1724
|
+
src="src/routes/static/img/tb-profile-pic.jpg"
|
|
1725
|
+
alt=""
|
|
1726
|
+
>
|
|
1727
|
+
</span>
|
|
1728
|
+
</span>
|
|
1729
|
+
<span class="toggle-button__content">
|
|
1730
|
+
<span class="toggle-button__title">
|
|
1731
|
+
Title
|
|
1732
|
+
</span>
|
|
1733
|
+
<span class="toggle-button__subtitle">
|
|
1734
|
+
Subtitle
|
|
1735
|
+
</span>
|
|
1736
|
+
</span>
|
|
1737
|
+
</button>
|
|
1738
|
+
</li>
|
|
1739
|
+
|
|
1740
|
+
<li>
|
|
1741
|
+
<button
|
|
1742
|
+
type="button toggle-button--list-layout"
|
|
1743
|
+
class="toggle-button"
|
|
1744
|
+
aria-pressed="false"
|
|
1745
|
+
>
|
|
1746
|
+
<span class="toggle-button__image-container">
|
|
1747
|
+
<span class="toggle-button__image">
|
|
1748
|
+
<img
|
|
1749
|
+
src="src/routes/static/img/tb-profile-pic.jpg"
|
|
1750
|
+
alt=""
|
|
1751
|
+
>
|
|
1752
|
+
</span>
|
|
1753
|
+
</span>
|
|
1754
|
+
<span class="toggle-button__content">
|
|
1755
|
+
<span class="toggle-button__title">
|
|
1756
|
+
Title
|
|
1757
|
+
</span>
|
|
1758
|
+
<span class="toggle-button__subtitle">
|
|
1759
|
+
Subtitle
|
|
1760
|
+
</span>
|
|
1761
|
+
</span>
|
|
1762
|
+
</button>
|
|
1763
|
+
</li>
|
|
1764
|
+
</ul>
|
|
1765
|
+
</div>
|
|
1766
|
+
</div>
|
|
1767
|
+
|
|
1768
|
+
<highlight-code
|
|
1769
|
+
type="html"
|
|
1770
|
+
>
|
|
1771
|
+
<h5 id="toggle-button-group-i">Select Payment Option</h5>
|
|
1772
|
+
<div style="width: 800px; border: 1px dashed orange;">
|
|
1773
|
+
<div class="toggle-button-group toggle-button-group--list-layout">
|
|
1774
|
+
<ul aria-labelledby="toggle-button-group-i">
|
|
1775
|
+
<li>
|
|
1776
|
+
<button type="button toggle-button--list-layout" class="toggle-button" aria-pressed="false">
|
|
1777
|
+
<span class="toggle-button__image-container">
|
|
1778
|
+
<span class="toggle-button__image">
|
|
1779
|
+
<img src="src/routes/static/img/tb-profile-pic.jpg" alt="">
|
|
1780
|
+
</span>
|
|
1781
|
+
</span>
|
|
1782
|
+
<span class="toggle-button__content">
|
|
1783
|
+
<span class="toggle-button__title">Title</span>
|
|
1784
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
1785
|
+
</span>
|
|
1786
|
+
</button>
|
|
1787
|
+
</li>
|
|
1788
|
+
|
|
1789
|
+
<li>
|
|
1790
|
+
<button type="button toggle-button--list-layout" class="toggle-button" aria-pressed="false">
|
|
1791
|
+
<span class="toggle-button__image-container">
|
|
1792
|
+
<span class="toggle-button__image">
|
|
1793
|
+
<img src="src/routes/static/img/tb-profile-pic.jpg" alt="">
|
|
1794
|
+
</span>
|
|
1795
|
+
</span>
|
|
1796
|
+
<span class="toggle-button__content">
|
|
1797
|
+
<span class="toggle-button__title">Title</span>
|
|
1798
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
1799
|
+
</span>
|
|
1800
|
+
</button>
|
|
1801
|
+
</li>
|
|
1802
|
+
|
|
1803
|
+
<li>
|
|
1804
|
+
<button type="button toggle-button--list-layout" class="toggle-button" aria-pressed="false">
|
|
1805
|
+
<span class="toggle-button__image-container">
|
|
1806
|
+
<span class="toggle-button__image">
|
|
1807
|
+
<img src="src/routes/static/img/tb-profile-pic.jpg" alt="">
|
|
1808
|
+
</span>
|
|
1809
|
+
</span>
|
|
1810
|
+
<span class="toggle-button__content">
|
|
1811
|
+
<span class="toggle-button__title">Title</span>
|
|
1812
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
1813
|
+
</span>
|
|
1814
|
+
</button>
|
|
1815
|
+
</li>
|
|
1816
|
+
</ul>
|
|
1817
|
+
</div>
|
|
1818
|
+
</div>
|
|
1819
|
+
</highlight-code>
|
|
1820
|
+
|
|
1821
|
+
<h4>List Layout Toggle Button Group with CSS Images</h4>
|
|
1822
|
+
|
|
1823
|
+
<h5 id="toggle-button-group-j">
|
|
1824
|
+
Select Payment Option
|
|
1825
|
+
</h5>
|
|
1826
|
+
<div style="width: 800px; border: 1px dashed orange;">
|
|
1827
|
+
<div class="toggle-button-group toggle-button-group--list-layout">
|
|
1828
|
+
<ul aria-labelledby="toggle-button-group-j">
|
|
1829
|
+
<li>
|
|
1830
|
+
<button
|
|
1831
|
+
type="button toggle-button--list-layout"
|
|
1832
|
+
class="toggle-button"
|
|
1833
|
+
aria-pressed="false"
|
|
1834
|
+
>
|
|
1835
|
+
<span class="toggle-button__image-container">
|
|
1836
|
+
<span
|
|
1837
|
+
class="toggle-button__image"
|
|
1838
|
+
style={
|
|
1839
|
+
'background-image': "url('src/routes/static/img/tb-profile-pic.jpg')",
|
|
1840
|
+
'background-repeat': 'no-repeat',
|
|
1841
|
+
'background-position': 'center',
|
|
1842
|
+
'background-size': "contain"
|
|
1843
|
+
}
|
|
1844
|
+
/>
|
|
1845
|
+
</span>
|
|
1846
|
+
<span class="toggle-button__content">
|
|
1847
|
+
<span class="toggle-button__title">
|
|
1848
|
+
CSS Image
|
|
1849
|
+
</span>
|
|
1850
|
+
<span class="toggle-button__subtitle">
|
|
1851
|
+
Background: Contain
|
|
1852
|
+
</span>
|
|
1853
|
+
</span>
|
|
1854
|
+
</button>
|
|
1855
|
+
</li>
|
|
1856
|
+
|
|
1857
|
+
<li>
|
|
1858
|
+
<button
|
|
1859
|
+
type="button toggle-button--list-layout"
|
|
1860
|
+
class="toggle-button"
|
|
1861
|
+
aria-pressed="false"
|
|
1862
|
+
>
|
|
1863
|
+
<span class="toggle-button__image-container">
|
|
1864
|
+
<span
|
|
1865
|
+
class="toggle-button__image"
|
|
1866
|
+
style="background-image: url('src/routes/static/img/tb-profile-pic.jpg'); background-repeat: no-repeat; background-position: center; background-size: cover;"
|
|
1867
|
+
/>
|
|
1868
|
+
</span>
|
|
1869
|
+
<span class="toggle-button__content">
|
|
1870
|
+
<span class="toggle-button__title">
|
|
1871
|
+
CSS Image
|
|
1872
|
+
</span>
|
|
1873
|
+
<span class="toggle-button__subtitle">
|
|
1874
|
+
Background: Cover
|
|
1875
|
+
</span>
|
|
1876
|
+
</span>
|
|
1877
|
+
</button>
|
|
1878
|
+
</li>
|
|
1879
|
+
</ul>
|
|
1880
|
+
</div>
|
|
1881
|
+
</div>
|
|
1882
|
+
|
|
1883
|
+
<highlight-code
|
|
1884
|
+
type="html"
|
|
1885
|
+
>
|
|
1886
|
+
<h5 id="toggle-button-group-j">Select Payment Option</h5>
|
|
1887
|
+
<div style="width: 800px; border: 1px dashed orange;">
|
|
1888
|
+
<div class="toggle-button-group toggle-button-group--list-layout">
|
|
1889
|
+
<ul aria-labelledby="toggle-button-group-j">
|
|
1890
|
+
<li>
|
|
1891
|
+
<button type="button toggle-button--list-layout" class="toggle-button" aria-pressed="false">
|
|
1892
|
+
<span class="toggle-button__image-container">
|
|
1893
|
+
<span class="toggle-button__image" style="background-image: url('src/routes/static/img/tb-profile-pic.jpg'); background-repeat: no-repeat; background-position: center; background-size: contain;">
|
|
1894
|
+
</span>
|
|
1895
|
+
</span>
|
|
1896
|
+
<span class="toggle-button__content">
|
|
1897
|
+
<span class="toggle-button__title">CSS Image</span>
|
|
1898
|
+
<span class="toggle-button__subtitle">Background: Contain</span>
|
|
1899
|
+
</span>
|
|
1900
|
+
</button>
|
|
1901
|
+
</li>
|
|
1902
|
+
|
|
1903
|
+
<li>
|
|
1904
|
+
<button type="button toggle-button--list-layout" class="toggle-button" aria-pressed="false">
|
|
1905
|
+
<span class="toggle-button__image-container">
|
|
1906
|
+
<span class="toggle-button__image" style="background-image: url('src/routes/static/img/tb-profile-pic.jpg'); background-repeat: no-repeat; background-position: center; background-size: cover;">
|
|
1907
|
+
</span>
|
|
1908
|
+
</span>
|
|
1909
|
+
<span class="toggle-button__content">
|
|
1910
|
+
<span class="toggle-button__title">CSS Image</span>
|
|
1911
|
+
<span class="toggle-button__subtitle">Background: Cover</span>
|
|
1912
|
+
</span>
|
|
1913
|
+
</button>
|
|
1914
|
+
</li>
|
|
1915
|
+
</ul>
|
|
1916
|
+
</div>
|
|
1917
|
+
</div>
|
|
1918
|
+
</highlight-code>
|
|
1919
|
+
|
|
1920
|
+
<h3>Gallery Layout</h3>
|
|
1921
|
+
|
|
1922
|
+
<p>
|
|
1923
|
+
Gallery layout should be used when there will be fewer buttons (as larger buttons take up more screen real estate) and it's desired to have a more vertical/square implementations with more emphasis on graphical elements (images/icons). As such, since the purpose of gallery layout buttons is to exentuate graphical elements, a graphical element (icon or image) is typically required in gallery layout buttons.
|
|
1924
|
+
</p>
|
|
1925
|
+
|
|
1926
|
+
<p>
|
|
1927
|
+
You may use this layout by adding the
|
|
1928
|
+
<span class="highlight">
|
|
1929
|
+
toggle-button-group--gallery-layout
|
|
1930
|
+
</span>
|
|
1931
|
+
modifier to the toggle button group.
|
|
1932
|
+
</p>
|
|
1933
|
+
|
|
1934
|
+
<h4>Gallery Layout Toggle Button Group with Images</h4>
|
|
1935
|
+
|
|
1936
|
+
<p>
|
|
1937
|
+
The image used in these buttons will shrink/grow responsively in width and height based on the overall button width being respectful of their boundary limitations. Where those boundaries are in danger of being crossed, the layout will wrap accordingly.
|
|
1938
|
+
</p>
|
|
1939
|
+
|
|
1940
|
+
<div class="demo">
|
|
1941
|
+
<div class="demo__inner">
|
|
1942
|
+
<h5 id="toggle-button-group-k">
|
|
1943
|
+
Selection Options
|
|
1944
|
+
</h5>
|
|
1945
|
+
<div style="width: 600px; border: 1px dashed orange;">
|
|
1946
|
+
<div class="toggle-button-group toggle-button-group--gallery-layout">
|
|
1947
|
+
<ul aria-labelledby="toggle-button-group-k">
|
|
1948
|
+
<li>
|
|
1949
|
+
<button
|
|
1950
|
+
type="button"
|
|
1951
|
+
class="toggle-button"
|
|
1952
|
+
aria-pressed="false"
|
|
1953
|
+
>
|
|
1954
|
+
<span class="toggle-button__image-container">
|
|
1955
|
+
<span class="toggle-button__image">
|
|
1956
|
+
<img
|
|
1957
|
+
src="src/routes/static/img/tb-profile-pic.jpg"
|
|
1958
|
+
alt=""
|
|
1959
|
+
>
|
|
1960
|
+
</span>
|
|
1961
|
+
</span>
|
|
1962
|
+
<span class="toggle-button__content">
|
|
1963
|
+
<span class="toggle-button__title">
|
|
1964
|
+
<span>Image Button</span>
|
|
1965
|
+
</span>
|
|
1966
|
+
<span class="toggle-button__subtitle">
|
|
1967
|
+
Subtitle
|
|
1968
|
+
</span>
|
|
1969
|
+
</span>
|
|
1970
|
+
</button>
|
|
1971
|
+
</li>
|
|
1972
|
+
<li>
|
|
1973
|
+
<button
|
|
1974
|
+
type="button"
|
|
1975
|
+
class="toggle-button"
|
|
1976
|
+
aria-pressed="false"
|
|
1977
|
+
>
|
|
1978
|
+
<span class="toggle-button__image-container">
|
|
1979
|
+
<span class="toggle-button__image">
|
|
1980
|
+
<img
|
|
1981
|
+
src="src/routes/static/img/tb-profile-pic.jpg"
|
|
1982
|
+
alt=""
|
|
1983
|
+
>
|
|
1984
|
+
</span>
|
|
1985
|
+
</span>
|
|
1986
|
+
<span class="toggle-button__content">
|
|
1987
|
+
<span class="toggle-button__title">
|
|
1988
|
+
<span>Image Button</span>
|
|
1989
|
+
</span>
|
|
1990
|
+
<span class="toggle-button__subtitle">
|
|
1991
|
+
Subtitle
|
|
1992
|
+
</span>
|
|
1993
|
+
</span>
|
|
1994
|
+
</button>
|
|
1995
|
+
</li>
|
|
1996
|
+
<li>
|
|
1997
|
+
<button
|
|
1998
|
+
type="button"
|
|
1999
|
+
class="toggle-button"
|
|
2000
|
+
aria-pressed="false"
|
|
2001
|
+
>
|
|
2002
|
+
<span class="toggle-button__image-container">
|
|
2003
|
+
<span class="toggle-button__image">
|
|
2004
|
+
<img
|
|
2005
|
+
src="src/routes/static/img/tb-profile-pic.jpg"
|
|
2006
|
+
alt=""
|
|
2007
|
+
>
|
|
2008
|
+
</span>
|
|
2009
|
+
</span>
|
|
2010
|
+
<span class="toggle-button__content">
|
|
2011
|
+
<span class="toggle-button__title">
|
|
2012
|
+
<span>Image Button</span>
|
|
2013
|
+
</span>
|
|
2014
|
+
<span class="toggle-button__subtitle">
|
|
2015
|
+
Subtitle
|
|
2016
|
+
</span>
|
|
2017
|
+
</span>
|
|
2018
|
+
</button>
|
|
2019
|
+
</li>
|
|
2020
|
+
</ul>
|
|
2021
|
+
</div>
|
|
2022
|
+
</div>
|
|
2023
|
+
</div>
|
|
2024
|
+
</div>
|
|
2025
|
+
|
|
2026
|
+
<highlight-code
|
|
2027
|
+
type="html"
|
|
2028
|
+
>
|
|
2029
|
+
<h5 id="toggle-button-group-k">Selection Options</h5>
|
|
2030
|
+
<div style="width: 600px; border: 1px dashed orange;">
|
|
2031
|
+
<div class="toggle-button-group toggle-button-group--gallery-layout">
|
|
2032
|
+
<ul aria-labelledby="toggle-button-group-k">
|
|
2033
|
+
<li>
|
|
2034
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
2035
|
+
<span class="toggle-button__image-container">
|
|
2036
|
+
<span class="toggle-button__image">
|
|
2037
|
+
<img src="src/routes/static/img/tb-profile-pic.jpg" alt="">
|
|
2038
|
+
</span>
|
|
2039
|
+
</span>
|
|
2040
|
+
<span class="toggle-button__content">
|
|
2041
|
+
<span class="toggle-button__title">
|
|
2042
|
+
<span>Image Button</span>
|
|
2043
|
+
</span>
|
|
2044
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
2045
|
+
</span>
|
|
2046
|
+
</button>
|
|
2047
|
+
</li>
|
|
2048
|
+
<li>
|
|
2049
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
2050
|
+
<span class="toggle-button__image-container">
|
|
2051
|
+
<span class="toggle-button__image">
|
|
2052
|
+
<img src="src/routes/static/img/tb-profile-pic.jpg" alt="">
|
|
2053
|
+
</span>
|
|
2054
|
+
</span>
|
|
2055
|
+
<span class="toggle-button__content">
|
|
2056
|
+
<span class="toggle-button__title">
|
|
2057
|
+
<span>Image Button</span>
|
|
2058
|
+
</span>
|
|
2059
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
2060
|
+
</span>
|
|
2061
|
+
</button>
|
|
2062
|
+
</li>
|
|
2063
|
+
<li>
|
|
2064
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
2065
|
+
<span class="toggle-button__image-container">
|
|
2066
|
+
<span class="toggle-button__image">
|
|
2067
|
+
<img src="src/routes/static/img/tb-profile-pic.jpg" alt="">
|
|
2068
|
+
</span>
|
|
2069
|
+
</span>
|
|
2070
|
+
<span class="toggle-button__content">
|
|
2071
|
+
<span class="toggle-button__title">
|
|
2072
|
+
<span>Image Button</span>
|
|
2073
|
+
</span>
|
|
2074
|
+
<span class="toggle-button__subtitle">Subtitle</span>
|
|
2075
|
+
</span>
|
|
2076
|
+
</button>
|
|
2077
|
+
</li>
|
|
2078
|
+
</ul>
|
|
2079
|
+
</div>
|
|
2080
|
+
</div>
|
|
2081
|
+
</highlight-code>
|
|
2082
|
+
|
|
2083
|
+
<h4>Gallery Layout Toggle Button Group with CSS Images</h4>
|
|
2084
|
+
|
|
2085
|
+
<p>
|
|
2086
|
+
Besides using an
|
|
2087
|
+
<span class="highlight">
|
|
2088
|
+
<img>
|
|
2089
|
+
</span>
|
|
2090
|
+
, you may also use CSS images that can provide more flexibility in filling more of the space reserved for images.
|
|
2091
|
+
</p>
|
|
2092
|
+
|
|
2093
|
+
<p>
|
|
2094
|
+
These images will change in size responsively both horizontally and vertically based on the size of the button itself, available space allowed by the container and their minimum and maximum size limitations.
|
|
2095
|
+
</p>
|
|
2096
|
+
|
|
2097
|
+
<p>
|
|
2098
|
+
The examples below have various different implementations of CSS images. The first is a CSS Profile Image button with background-size: contain that will display the image as is and fit the entire image in the container. The second is a CSS Profile Image button with${" "}
|
|
2099
|
+
<span class="highlight">
|
|
2100
|
+
background-size: cover
|
|
2101
|
+
</span>
|
|
2102
|
+
${" "}that will display the image to fill as much of the space of the container as possible clipping out the remaining portions of the image that fall outside. With that method, you can also provide guidance for fine-tuning the image positioning to move the focal point into the center of the container. In that example,${" "}
|
|
2103
|
+
<span class="highlight">
|
|
2104
|
+
background-position: center 15%;
|
|
2105
|
+
</span>
|
|
2106
|
+
${" "}is used to move the focal point (person with camera) into the center of the frame.
|
|
2107
|
+
</p>
|
|
2108
|
+
|
|
2109
|
+
<div class="demo">
|
|
2110
|
+
<div class="demo__inner">
|
|
2111
|
+
<h5 id="toggle-button-group-l">
|
|
2112
|
+
Selection Options
|
|
2113
|
+
</h5>
|
|
2114
|
+
<div style="width: 700px; border: 1px dashed orange;">
|
|
2115
|
+
<div class="toggle-button-group toggle-button-group--gallery-layout">
|
|
2116
|
+
<ul aria-labelledby="toggle-button-group-l">
|
|
2117
|
+
<li>
|
|
2118
|
+
<button
|
|
2119
|
+
type="button"
|
|
2120
|
+
class="toggle-button"
|
|
2121
|
+
aria-pressed="false"
|
|
2122
|
+
>
|
|
2123
|
+
<span class="toggle-button__image-container">
|
|
2124
|
+
<span
|
|
2125
|
+
class="toggle-button__image"
|
|
2126
|
+
style="background-image: url('src/routes/static/img/tb-profile-pic.jpg'); background-repeat: no-repeat; background-position: center; background-size: contain;"
|
|
2127
|
+
/>
|
|
2128
|
+
</span>
|
|
2129
|
+
<span class="toggle-button__content">
|
|
2130
|
+
<span class="toggle-button__title">
|
|
2131
|
+
CSS Profile Image
|
|
2132
|
+
</span>
|
|
2133
|
+
<span class="toggle-button__subtitle">
|
|
2134
|
+
Background: Contain
|
|
2135
|
+
</span>
|
|
2136
|
+
</span>
|
|
2137
|
+
</button>
|
|
2138
|
+
</li>
|
|
2139
|
+
<li>
|
|
2140
|
+
<button
|
|
2141
|
+
type="button"
|
|
2142
|
+
class="toggle-button"
|
|
2143
|
+
aria-pressed="false"
|
|
2144
|
+
>
|
|
2145
|
+
<span class="toggle-button__image-container">
|
|
2146
|
+
<span
|
|
2147
|
+
class="toggle-button__image"
|
|
2148
|
+
style="background-image: url('src/routes/static/img/tb-profile-pic.jpg'); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;"
|
|
2149
|
+
/>
|
|
2150
|
+
</span>
|
|
2151
|
+
<span class="toggle-button__content">
|
|
2152
|
+
<span class="toggle-button__title">
|
|
2153
|
+
CSS Profile Image
|
|
2154
|
+
</span>
|
|
2155
|
+
<span class="toggle-button__subtitle">
|
|
2156
|
+
Background: Cover
|
|
2157
|
+
</span>
|
|
2158
|
+
</span>
|
|
2159
|
+
</button>
|
|
2160
|
+
</li>
|
|
2161
|
+
<li>
|
|
2162
|
+
<button
|
|
2163
|
+
type="button"
|
|
2164
|
+
class="toggle-button"
|
|
2165
|
+
aria-pressed="false"
|
|
2166
|
+
>
|
|
2167
|
+
<span class="toggle-button__image-container">
|
|
2168
|
+
<span
|
|
2169
|
+
class="toggle-button__image"
|
|
2170
|
+
style="background-image: url('src/routes/static/img/tb-landscape-pic.jpg'); background-repeat: no-repeat; background-position: center; background-size: cover;"
|
|
2171
|
+
/>
|
|
2172
|
+
</span>
|
|
2173
|
+
<span class="toggle-button__content">
|
|
2174
|
+
<span class="toggle-button__title">
|
|
2175
|
+
CSS Landscape Image
|
|
2176
|
+
</span>
|
|
2177
|
+
<span class="toggle-button__subtitle">
|
|
2178
|
+
Background: Cover
|
|
2179
|
+
</span>
|
|
2180
|
+
</span>
|
|
2181
|
+
</button>
|
|
2182
|
+
</li>
|
|
2183
|
+
</ul>
|
|
2184
|
+
</div>
|
|
2185
|
+
</div>
|
|
2186
|
+
</div>
|
|
2187
|
+
</div>
|
|
2188
|
+
|
|
2189
|
+
<highlight-code
|
|
2190
|
+
type="html"
|
|
2191
|
+
>
|
|
2192
|
+
<h5 id="toggle-button-group-l">Selection Options</h5>
|
|
2193
|
+
<div style="width: 700px; border: 1px dashed orange;">
|
|
2194
|
+
<div class="toggle-button-group toggle-button-group--gallery-layout">
|
|
2195
|
+
<ul aria-labelledby="toggle-button-group-l">
|
|
2196
|
+
<li>
|
|
2197
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
2198
|
+
<span class="toggle-button__image-container">
|
|
2199
|
+
<span class="toggle-button__image" style="background-image: url('src/routes/static/img/tb-profile-pic.jpg'); background-repeat: no-repeat; background-position: center; background-size: contain;">
|
|
2200
|
+
</span>
|
|
2201
|
+
</span>
|
|
2202
|
+
<span class="toggle-button__content">
|
|
2203
|
+
<span class="toggle-button__title">CSS Profile Image</span>
|
|
2204
|
+
<span class="toggle-button__subtitle">Background: Contain</span>
|
|
2205
|
+
</span>
|
|
2206
|
+
</button>
|
|
2207
|
+
</li>
|
|
2208
|
+
<li>
|
|
2209
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
2210
|
+
<span class="toggle-button__image-container">
|
|
2211
|
+
<span class="toggle-button__image" style="background-image: url('src/routes/static/img/tb-profile-pic.jpg'); background-repeat: no-repeat; background-position: center; background-size: cover; background-position: center 15%;">
|
|
2212
|
+
</span>
|
|
2213
|
+
</span>
|
|
2214
|
+
<span class="toggle-button__content">
|
|
2215
|
+
<span class="toggle-button__title">CSS Profile Image</span>
|
|
2216
|
+
<span class="toggle-button__subtitle">Background: Cover</span>
|
|
2217
|
+
</span>
|
|
2218
|
+
</button>
|
|
2219
|
+
</li>
|
|
2220
|
+
<li>
|
|
2221
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
2222
|
+
<span class="toggle-button__image-container">
|
|
2223
|
+
<span class="toggle-button__image" style="background-image: url('src/routes/static/img/tb-landscape-pic.jpg'); background-repeat: no-repeat; background-position: center; background-size: cover;">
|
|
2224
|
+
</span>
|
|
2225
|
+
</span>
|
|
2226
|
+
<span class="toggle-button__content">
|
|
2227
|
+
<span class="toggle-button__title">CSS Landscape Image</span>
|
|
2228
|
+
<span class="toggle-button__subtitle">Background: Cover</span>
|
|
2229
|
+
</span>
|
|
2230
|
+
</button>
|
|
2231
|
+
</li>
|
|
2232
|
+
</ul>
|
|
2233
|
+
</div>
|
|
2234
|
+
</div>
|
|
2235
|
+
</highlight-code>
|
|
2236
|
+
|
|
2237
|
+
<h4>Gallery Layout Toggle Button Group with Icons</h4>
|
|
2238
|
+
|
|
2239
|
+
<p>
|
|
2240
|
+
Typically, one would use either all image buttons or all icon buttons in a Toggle Button Group.
|
|
2241
|
+
</p>
|
|
2242
|
+
<p>
|
|
2243
|
+
To add an icon to a toggle button, you can use the
|
|
2244
|
+
<span class="highlight">
|
|
2245
|
+
toggle-button__icon
|
|
2246
|
+
</span>
|
|
2247
|
+
block.
|
|
2248
|
+
</p>
|
|
2249
|
+
|
|
2250
|
+
<div class="demo">
|
|
2251
|
+
<div class="demo__inner">
|
|
2252
|
+
<h5 id="toggle-button-group-m">
|
|
2253
|
+
Selection Options
|
|
2254
|
+
</h5>
|
|
2255
|
+
<div style="width: 750px; border: 1px dashed orange;">
|
|
2256
|
+
<div class="toggle-button-group toggle-button-group--gallery-layout">
|
|
2257
|
+
<ul aria-labelledby="toggle-button-group-m">
|
|
2258
|
+
<li>
|
|
2259
|
+
<button
|
|
2260
|
+
type="button"
|
|
2261
|
+
class="toggle-button"
|
|
2262
|
+
aria-pressed="false"
|
|
2263
|
+
>
|
|
2264
|
+
<span class="toggle-button__icon">
|
|
2265
|
+
<svg
|
|
2266
|
+
aria-hidden="true"
|
|
2267
|
+
class="icon icon--image-64"
|
|
2268
|
+
height="64"
|
|
2269
|
+
width="64"
|
|
2270
|
+
>
|
|
2271
|
+
<icon-symbol
|
|
2272
|
+
name="image-64"
|
|
2273
|
+
prefix="icon"
|
|
2274
|
+
/>
|
|
2275
|
+
</svg>
|
|
2276
|
+
</span>
|
|
2277
|
+
<span class="toggle-button__content">
|
|
2278
|
+
<span class="toggle-button__title">
|
|
2279
|
+
Gallery Title 1
|
|
2280
|
+
</span>
|
|
2281
|
+
<span class="toggle-button__subtitle">
|
|
2282
|
+
Gallery Subtitle 1
|
|
2283
|
+
</span>
|
|
2284
|
+
</span>
|
|
2285
|
+
</button>
|
|
2286
|
+
</li>
|
|
2287
|
+
<li>
|
|
2288
|
+
<button
|
|
2289
|
+
type="button"
|
|
2290
|
+
class="toggle-button"
|
|
2291
|
+
aria-pressed="true"
|
|
2292
|
+
>
|
|
2293
|
+
<span class="toggle-button__icon">
|
|
2294
|
+
<svg
|
|
2295
|
+
aria-hidden="true"
|
|
2296
|
+
class="icon icon--credit-card-64"
|
|
2297
|
+
height="64"
|
|
2298
|
+
width="64"
|
|
2299
|
+
>
|
|
2300
|
+
<icon-symbol
|
|
2301
|
+
name="credit-card-64"
|
|
2302
|
+
prefix="icon"
|
|
2303
|
+
/>
|
|
2304
|
+
</svg>
|
|
2305
|
+
</span>
|
|
2306
|
+
<span class="toggle-button__content">
|
|
2307
|
+
<span class="toggle-button__title">
|
|
2308
|
+
Gallery Title 2
|
|
2309
|
+
</span>
|
|
2310
|
+
<span class="toggle-button__subtitle">
|
|
2311
|
+
Gallery Subtitle 2
|
|
2312
|
+
</span>
|
|
2313
|
+
</span>
|
|
2314
|
+
</button>
|
|
2315
|
+
</li>
|
|
2316
|
+
<li>
|
|
2317
|
+
<button
|
|
2318
|
+
type="button"
|
|
2319
|
+
class="toggle-button"
|
|
2320
|
+
aria-pressed="false"
|
|
2321
|
+
>
|
|
2322
|
+
<span class="toggle-button__icon">
|
|
2323
|
+
<svg
|
|
2324
|
+
aria-hidden="true"
|
|
2325
|
+
class="icon icon--bank-64"
|
|
2326
|
+
height="64"
|
|
2327
|
+
width="64"
|
|
2328
|
+
>
|
|
2329
|
+
<icon-symbol
|
|
2330
|
+
name="bank-64"
|
|
2331
|
+
prefix="icon"
|
|
2332
|
+
/>
|
|
2333
|
+
</svg>
|
|
2334
|
+
</span>
|
|
2335
|
+
<span class="toggle-button__content">
|
|
2336
|
+
<span class="toggle-button__title">
|
|
2337
|
+
Gallery Title 3
|
|
2338
|
+
</span>
|
|
2339
|
+
<span class="toggle-button__subtitle">
|
|
2340
|
+
Gallery Subtitle 3
|
|
2341
|
+
</span>
|
|
2342
|
+
</span>
|
|
2343
|
+
</button>
|
|
2344
|
+
</li>
|
|
2345
|
+
</ul>
|
|
2346
|
+
</div>
|
|
2347
|
+
</div>
|
|
2348
|
+
</div>
|
|
2349
|
+
</div>
|
|
2350
|
+
|
|
2351
|
+
<highlight-code
|
|
2352
|
+
type="html"
|
|
2353
|
+
>
|
|
2354
|
+
<h5 id="toggle-button-group-m">Selection Options</h5>
|
|
2355
|
+
<div style="width: 750px; border: 1px dashed orange;">
|
|
2356
|
+
<div class="toggle-button-group toggle-button-group--gallery-layout">
|
|
2357
|
+
<ul aria-labelledby="toggle-button-group-m">
|
|
2358
|
+
<li>
|
|
2359
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
2360
|
+
<span class="toggle-button__icon">
|
|
2361
|
+
<svg aria-hidden="true" class="icon icon--image-64" height="64" width="64">
|
|
2362
|
+
<use href="static/icons.svg#icon-image-64"></use>
|
|
2363
|
+
</svg>
|
|
2364
|
+
</span>
|
|
2365
|
+
<span class="toggle-button__content">
|
|
2366
|
+
<span class="toggle-button__title">Gallery Title 1</span>
|
|
2367
|
+
<span class="toggle-button__subtitle">Gallery Subtitle 1</span>
|
|
2368
|
+
</span>
|
|
2369
|
+
</button>
|
|
2370
|
+
</li>
|
|
2371
|
+
<li>
|
|
2372
|
+
<button type="button" class="toggle-button" aria-pressed="true">
|
|
2373
|
+
<span class="toggle-button__icon">
|
|
2374
|
+
<svg aria-hidden="true" class="icon icon--credit-card-64" height="64" width="64">
|
|
2375
|
+
<use href="static/icons.svg#icon-credit-card-64"></use>
|
|
2376
|
+
</svg>
|
|
2377
|
+
</span>
|
|
2378
|
+
<span class="toggle-button__content">
|
|
2379
|
+
<span class="toggle-button__title">Gallery Title 2</span>
|
|
2380
|
+
<span class="toggle-button__subtitle">Gallery Subtitle 2</span>
|
|
2381
|
+
</span>
|
|
2382
|
+
</button>
|
|
2383
|
+
</li>
|
|
2384
|
+
<li>
|
|
2385
|
+
<button type="button" class="toggle-button" aria-pressed="false">
|
|
2386
|
+
<span class="toggle-button__icon">
|
|
2387
|
+
<svg aria-hidden="true" class="icon icon--bank-64" height="64" width="64">
|
|
2388
|
+
<use href="static/icons.svg#icon-bank-64"></use>
|
|
2389
|
+
</svg>
|
|
2390
|
+
</span>
|
|
2391
|
+
<span class="toggle-button__content">
|
|
2392
|
+
<span class="toggle-button__title">Gallery Title 3</span>
|
|
2393
|
+
<span class="toggle-button__subtitle">Gallery Subtitle 3</span>
|
|
2394
|
+
</span>
|
|
2395
|
+
</button>
|
|
2396
|
+
</li>
|
|
2397
|
+
</ul>
|
|
2398
|
+
</div>
|
|
2399
|
+
</div>
|
|
2400
|
+
</highlight-code>
|
|
2401
|
+
</div>
|
|
2402
|
+
export const metadata = {
|
|
2403
|
+
"ds-component": {
|
|
2404
|
+
name: "toggle-button-group",
|
|
2405
|
+
version: 1,
|
|
2406
|
+
},
|
|
2407
|
+
submodules: ["toggle-button"],
|
|
2408
|
+
};
|