@rei/cedar 14.0.2-alpha.6 → 14.0.2-alpha.8
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/dist/_virtual/_plugin-vue_export-helper.mjs +9 -0
- package/dist/cedar-compiled.css +1050 -1050
- package/dist/cedar.umd.js +5 -5
- package/dist/component-docgen.json +929 -929
- package/dist/icon-component-docgen.json +641 -641
- package/dist/lib.d.ts +6321 -39
- package/dist/node_modules/@rei/cdr-tokens/dist/rei-dot-com/js/cdr-tokens.mjs +10 -0
- package/dist/src/components/accordion/CdrAccordion.vue.mjs +9 -0
- package/dist/src/components/accordion/CdrAccordion.vue2.mjs +133 -0
- package/dist/src/components/accordion/CdrAccordionGroup.vue.mjs +9 -0
- package/dist/src/components/accordion/CdrAccordionGroup.vue2.mjs +72 -0
- package/dist/src/components/accordion/styles/CdrAccordion.module.scss.mjs +34 -0
- package/dist/src/components/accordion/styles/CdrAccordionGroup.module.scss.mjs +7 -0
- package/dist/src/components/banner/CdrBanner.vue.mjs +9 -0
- package/dist/src/components/banner/CdrBanner.vue2.mjs +45 -0
- package/dist/src/components/banner/styles/CdrBanner.module.scss.mjs +19 -0
- package/dist/src/components/breadcrumb/CdrBreadcrumb.vue.mjs +9 -0
- package/dist/src/components/breadcrumb/CdrBreadcrumb.vue2.mjs +103 -0
- package/dist/src/components/breadcrumb/styles/CdrBreadcrumb.module.scss.mjs +12 -0
- package/dist/src/components/button/CdrButton.vue.mjs +9 -0
- package/dist/src/components/button/CdrButton.vue2.mjs +85 -0
- package/dist/src/components/button/styles/CdrButton.module.scss.mjs +36 -0
- package/dist/src/components/caption/CdrCaption.vue.mjs +9 -0
- package/dist/src/components/caption/CdrCaption.vue2.mjs +36 -0
- package/dist/src/components/caption/styles/CdrCaption.module.scss.mjs +7 -0
- package/dist/src/components/card/CdrCard.vue.mjs +9 -0
- package/dist/src/components/card/CdrCard.vue2.mjs +24 -0
- package/dist/src/components/card/styles/CdrCard.module.scss.mjs +6 -0
- package/dist/src/components/checkbox/CdrCheckbox.vue.mjs +9 -0
- package/dist/src/components/checkbox/CdrCheckbox.vue2.mjs +147 -0
- package/dist/src/components/checkbox/styles/CdrCheckbox.module.scss.mjs +32 -0
- package/dist/src/components/chip/CdrChip.vue.mjs +9 -0
- package/dist/src/components/chip/CdrChip.vue2.mjs +22 -0
- package/dist/src/components/chip/CdrChipGroup.vue.mjs +9 -0
- package/dist/src/components/chip/CdrChipGroup.vue2.mjs +73 -0
- package/dist/src/components/chip/styles/CdrChip.module.scss.mjs +9 -0
- package/dist/src/components/chip/styles/CdrChipGroup.module.scss.mjs +9 -0
- package/dist/src/components/container/CdrContainer.vue.mjs +9 -0
- package/dist/src/components/container/CdrContainer.vue2.mjs +36 -0
- package/dist/src/components/container/styles/CdrContainer.module.scss.mjs +7 -0
- package/dist/src/components/formError/CdrFormError.vue.mjs +9 -0
- package/dist/src/components/formError/CdrFormError.vue2.mjs +24 -0
- package/dist/src/components/formError/styles/CdrFormError.module.scss.mjs +7 -0
- package/dist/src/components/formGroup/CdrFormGroup.vue.mjs +9 -0
- package/dist/src/components/formGroup/CdrFormGroup.vue2.mjs +68 -0
- package/dist/src/components/formGroup/styles/CdrFormGroup.module.scss.mjs +13 -0
- package/dist/src/components/grid/CdrGrid.vue.mjs +9 -0
- package/dist/src/components/grid/CdrGrid.vue2.mjs +37 -0
- package/dist/src/components/grid/styles/CdrGrid.module.scss.mjs +26 -0
- package/dist/src/components/icon/CdrIcon.vue.mjs +9 -0
- package/dist/src/components/icon/CdrIcon.vue2.mjs +46 -0
- package/dist/src/components/icon/comps/account-profile-fill.vue.mjs +23 -0
- package/dist/src/components/icon/comps/account-profile-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/account-profile.vue.mjs +23 -0
- package/dist/src/components/icon/comps/account-profile.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/arrow-down.vue.mjs +23 -0
- package/dist/src/components/icon/comps/arrow-down.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/arrow-left.vue.mjs +23 -0
- package/dist/src/components/icon/comps/arrow-left.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/arrow-right.vue.mjs +23 -0
- package/dist/src/components/icon/comps/arrow-right.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/arrow-up.vue.mjs +23 -0
- package/dist/src/components/icon/comps/arrow-up.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/atv.vue.mjs +23 -0
- package/dist/src/components/icon/comps/atv.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/bed-outline.vue.mjs +23 -0
- package/dist/src/components/icon/comps/bed-outline.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/bike-shop.vue.mjs +23 -0
- package/dist/src/components/icon/comps/bike-shop.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/binoculars.vue.mjs +23 -0
- package/dist/src/components/icon/comps/binoculars.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/birding.vue.mjs +23 -0
- package/dist/src/components/icon/comps/birding.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/boat.vue.mjs +23 -0
- package/dist/src/components/icon/comps/boat.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/boating.vue.mjs +23 -0
- package/dist/src/components/icon/comps/boating.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/bookmark-fill.vue.mjs +23 -0
- package/dist/src/components/icon/comps/bookmark-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/bookmark-stroke.vue.mjs +23 -0
- package/dist/src/components/icon/comps/bookmark-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/brand-abstract.vue.mjs +23 -0
- package/dist/src/components/icon/comps/brand-abstract.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/brand-code-sandbox.vue.mjs +23 -0
- package/dist/src/components/icon/comps/brand-code-sandbox.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/brand-github.vue.mjs +23 -0
- package/dist/src/components/icon/comps/brand-github.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/brand-linkedin.vue.mjs +23 -0
- package/dist/src/components/icon/comps/brand-linkedin.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/brand-rei-ice-axes.vue.mjs +23 -0
- package/dist/src/components/icon/comps/brand-rei-ice-axes.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/brand-sketch.vue.mjs +23 -0
- package/dist/src/components/icon/comps/brand-sketch.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/brand-tiktok.vue.mjs +24 -0
- package/dist/src/components/icon/comps/brand-tiktok.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/buddies.vue.mjs +23 -0
- package/dist/src/components/icon/comps/buddies.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/bus.vue.mjs +23 -0
- package/dist/src/components/icon/comps/bus.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/calendar.vue.mjs +23 -0
- package/dist/src/components/icon/comps/calendar.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/camera.vue.mjs +23 -0
- package/dist/src/components/icon/comps/camera.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/canoe.vue.mjs +23 -0
- package/dist/src/components/icon/comps/canoe.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/car.vue.mjs +23 -0
- package/dist/src/components/icon/comps/car.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/caret-down.vue.mjs +23 -0
- package/dist/src/components/icon/comps/caret-down.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/caret-left.vue.mjs +23 -0
- package/dist/src/components/icon/comps/caret-left.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/caret-right.vue.mjs +23 -0
- package/dist/src/components/icon/comps/caret-right.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/caret-up.vue.mjs +23 -0
- package/dist/src/components/icon/comps/caret-up.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/cart-fill.vue.mjs +23 -0
- package/dist/src/components/icon/comps/cart-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/cart.vue.mjs +23 -0
- package/dist/src/components/icon/comps/cart.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/chain-link.vue.mjs +23 -0
- package/dist/src/components/icon/comps/chain-link.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/chat.vue.mjs +23 -0
- package/dist/src/components/icon/comps/chat.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/check-fill.vue.mjs +23 -0
- package/dist/src/components/icon/comps/check-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/check-lg.vue.mjs +23 -0
- package/dist/src/components/icon/comps/check-lg.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/check-sm.vue.mjs +23 -0
- package/dist/src/components/icon/comps/check-sm.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/check-stroke.vue.mjs +23 -0
- package/dist/src/components/icon/comps/check-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/climb.vue.mjs +23 -0
- package/dist/src/components/icon/comps/climb.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/clipboard.vue.mjs +23 -0
- package/dist/src/components/icon/comps/clipboard.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/clock.vue.mjs +23 -0
- package/dist/src/components/icon/comps/clock.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/code-html.vue.mjs +23 -0
- package/dist/src/components/icon/comps/code-html.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/code-js.vue.mjs +23 -0
- package/dist/src/components/icon/comps/code-js.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/compass.vue.mjs +23 -0
- package/dist/src/components/icon/comps/compass.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/copy.vue.mjs +23 -0
- package/dist/src/components/icon/comps/copy.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/coupon-fill.vue.mjs +23 -0
- package/dist/src/components/icon/comps/coupon-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/coupon-stroke.vue.mjs +23 -0
- package/dist/src/components/icon/comps/coupon-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/credit-card.vue.mjs +23 -0
- package/dist/src/components/icon/comps/credit-card.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/curbside-pickup.vue.mjs +23 -0
- package/dist/src/components/icon/comps/curbside-pickup.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/day.vue.mjs +23 -0
- package/dist/src/components/icon/comps/day.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/diving.vue.mjs +23 -0
- package/dist/src/components/icon/comps/diving.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/dog.vue.mjs +23 -0
- package/dist/src/components/icon/comps/dog.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/download.vue.mjs +23 -0
- package/dist/src/components/icon/comps/download.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/duplicate.vue.mjs +24 -0
- package/dist/src/components/icon/comps/duplicate.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/edit.vue.mjs +23 -0
- package/dist/src/components/icon/comps/edit.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/elevation.vue.mjs +23 -0
- package/dist/src/components/icon/comps/elevation.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/error-fill.vue.mjs +25 -0
- package/dist/src/components/icon/comps/error-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/error-stroke.vue.mjs +27 -0
- package/dist/src/components/icon/comps/error-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/expand.vue.mjs +23 -0
- package/dist/src/components/icon/comps/expand.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-backpacking.vue.mjs +23 -0
- package/dist/src/components/icon/comps/experiences-backpacking.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-camping.vue.mjs +23 -0
- package/dist/src/components/icon/comps/experiences-camping.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-climbing.vue.mjs +23 -0
- package/dist/src/components/icon/comps/experiences-climbing.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-clothing.vue.mjs +23 -0
- package/dist/src/components/icon/comps/experiences-clothing.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-cycling.vue.mjs +23 -0
- package/dist/src/components/icon/comps/experiences-cycling.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-family.vue.mjs +23 -0
- package/dist/src/components/icon/comps/experiences-family.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-fitness.vue.mjs +23 -0
- package/dist/src/components/icon/comps/experiences-fitness.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-hiking.vue.mjs +23 -0
- package/dist/src/components/icon/comps/experiences-hiking.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-outdoor-basics.vue.mjs +23 -0
- package/dist/src/components/icon/comps/experiences-outdoor-basics.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-paddling.vue.mjs +23 -0
- package/dist/src/components/icon/comps/experiences-paddling.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-rentals.vue.mjs +23 -0
- package/dist/src/components/icon/comps/experiences-rentals.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-running.vue.mjs +24 -0
- package/dist/src/components/icon/comps/experiences-running.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-snowsports.vue.mjs +23 -0
- package/dist/src/components/icon/comps/experiences-snowsports.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-travel.vue.mjs +23 -0
- package/dist/src/components/icon/comps/experiences-travel.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/external-link-alt.vue.mjs +24 -0
- package/dist/src/components/icon/comps/external-link-alt.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/external-link.vue.mjs +23 -0
- package/dist/src/components/icon/comps/external-link.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/eye-hide.vue.mjs +23 -0
- package/dist/src/components/icon/comps/eye-hide.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/eye-show.vue.mjs +23 -0
- package/dist/src/components/icon/comps/eye-show.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/facebook.vue.mjs +23 -0
- package/dist/src/components/icon/comps/facebook.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/filter-alt.vue.mjs +23 -0
- package/dist/src/components/icon/comps/filter-alt.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/filter.vue.mjs +23 -0
- package/dist/src/components/icon/comps/filter.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/find-location.vue.mjs +23 -0
- package/dist/src/components/icon/comps/find-location.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/fire.vue.mjs +23 -0
- package/dist/src/components/icon/comps/fire.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/fishing.vue.mjs +23 -0
- package/dist/src/components/icon/comps/fishing.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/free-product.vue.mjs +23 -0
- package/dist/src/components/icon/comps/free-product.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/grid-view.vue.mjs +23 -0
- package/dist/src/components/icon/comps/grid-view.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/heart-fill.vue.mjs +23 -0
- package/dist/src/components/icon/comps/heart-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/heart-stroke.vue.mjs +23 -0
- package/dist/src/components/icon/comps/heart-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/hike.vue.mjs +23 -0
- package/dist/src/components/icon/comps/hike.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/history.vue.mjs +23 -0
- package/dist/src/components/icon/comps/history.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/home.vue.mjs +23 -0
- package/dist/src/components/icon/comps/home.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/horse.vue.mjs +23 -0
- package/dist/src/components/icon/comps/horse.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/horseshoe.vue.mjs +23 -0
- package/dist/src/components/icon/comps/horseshoe.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/image.vue.mjs +23 -0
- package/dist/src/components/icon/comps/image.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/information-fill.vue.mjs +23 -0
- package/dist/src/components/icon/comps/information-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/information-stroke.vue.mjs +23 -0
- package/dist/src/components/icon/comps/information-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/instagram.vue.mjs +23 -0
- package/dist/src/components/icon/comps/instagram.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/kayak.vue.mjs +23 -0
- package/dist/src/components/icon/comps/kayak.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/link-alt.vue.mjs +24 -0
- package/dist/src/components/icon/comps/link-alt.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/list-ragged.vue.mjs +23 -0
- package/dist/src/components/icon/comps/list-ragged.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/list-view.vue.mjs +23 -0
- package/dist/src/components/icon/comps/list-view.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/location-pin-fill.vue.mjs +23 -0
- package/dist/src/components/icon/comps/location-pin-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/location-pin-stroke.vue.mjs +23 -0
- package/dist/src/components/icon/comps/location-pin-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/lock-locked-fill.vue.mjs +23 -0
- package/dist/src/components/icon/comps/lock-locked-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/lock-locked-stroke.vue.mjs +23 -0
- package/dist/src/components/icon/comps/lock-locked-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/lock-unlocked-stroke.vue.mjs +23 -0
- package/dist/src/components/icon/comps/lock-unlocked-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/mail.vue.mjs +23 -0
- package/dist/src/components/icon/comps/mail.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/map.vue.mjs +23 -0
- package/dist/src/components/icon/comps/map.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/member-card.vue.mjs +23 -0
- package/dist/src/components/icon/comps/member-card.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/membership.vue.mjs +24 -0
- package/dist/src/components/icon/comps/membership.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/microphone.vue.mjs +23 -0
- package/dist/src/components/icon/comps/microphone.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/minus-fill.vue.mjs +23 -0
- package/dist/src/components/icon/comps/minus-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/minus-lg.vue.mjs +23 -0
- package/dist/src/components/icon/comps/minus-lg.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/minus-sm.vue.mjs +23 -0
- package/dist/src/components/icon/comps/minus-sm.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/minus-stroke.vue.mjs +23 -0
- package/dist/src/components/icon/comps/minus-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/more-functions.vue.mjs +23 -0
- package/dist/src/components/icon/comps/more-functions.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/my-location.vue.mjs +23 -0
- package/dist/src/components/icon/comps/my-location.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/navigation-menu.vue.mjs +23 -0
- package/dist/src/components/icon/comps/navigation-menu.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/night.vue.mjs +23 -0
- package/dist/src/components/icon/comps/night.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/paddle.vue.mjs +23 -0
- package/dist/src/components/icon/comps/paddle.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/pause-fill.vue.mjs +23 -0
- package/dist/src/components/icon/comps/pause-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/pause-stroke.vue.mjs +23 -0
- package/dist/src/components/icon/comps/pause-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/pause.vue.mjs +23 -0
- package/dist/src/components/icon/comps/pause.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/photography.vue.mjs +23 -0
- package/dist/src/components/icon/comps/photography.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/picnic.vue.mjs +23 -0
- package/dist/src/components/icon/comps/picnic.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/pinterest.vue.mjs +23 -0
- package/dist/src/components/icon/comps/pinterest.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/plane.vue.mjs +23 -0
- package/dist/src/components/icon/comps/plane.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/play-fill.vue.mjs +23 -0
- package/dist/src/components/icon/comps/play-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/play-stroke.vue.mjs +23 -0
- package/dist/src/components/icon/comps/play-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/play.vue.mjs +23 -0
- package/dist/src/components/icon/comps/play.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/playground.vue.mjs +23 -0
- package/dist/src/components/icon/comps/playground.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/plugin.vue.mjs +23 -0
- package/dist/src/components/icon/comps/plugin.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/plus-fill.vue.mjs +23 -0
- package/dist/src/components/icon/comps/plus-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/plus-lg.vue.mjs +23 -0
- package/dist/src/components/icon/comps/plus-lg.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/plus-sm.vue.mjs +23 -0
- package/dist/src/components/icon/comps/plus-sm.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/plus-stroke.vue.mjs +23 -0
- package/dist/src/components/icon/comps/plus-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/print.vue.mjs +23 -0
- package/dist/src/components/icon/comps/print.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/protection-fill.vue.mjs +23 -0
- package/dist/src/components/icon/comps/protection-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/protection-stroke.vue.mjs +23 -0
- package/dist/src/components/icon/comps/protection-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/question-fill.vue.mjs +23 -0
- package/dist/src/components/icon/comps/question-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/question-stroke.vue.mjs +23 -0
- package/dist/src/components/icon/comps/question-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/refresh.vue.mjs +23 -0
- package/dist/src/components/icon/comps/refresh.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/reload.vue.mjs +23 -0
- package/dist/src/components/icon/comps/reload.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/returns.vue.mjs +24 -0
- package/dist/src/components/icon/comps/returns.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/run.vue.mjs +23 -0
- package/dist/src/components/icon/comps/run.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/scan-barcode.vue.mjs +23 -0
- package/dist/src/components/icon/comps/scan-barcode.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/search.vue.mjs +23 -0
- package/dist/src/components/icon/comps/search.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/service-shop.vue.mjs +23 -0
- package/dist/src/components/icon/comps/service-shop.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/shipping-prep.vue.mjs +24 -0
- package/dist/src/components/icon/comps/shipping-prep.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/shipping-truck.vue.mjs +24 -0
- package/dist/src/components/icon/comps/shipping-truck.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/shipping.vue.mjs +23 -0
- package/dist/src/components/icon/comps/shipping.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/shopping-bag-fill.vue.mjs +23 -0
- package/dist/src/components/icon/comps/shopping-bag-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/shopping-bag.vue.mjs +23 -0
- package/dist/src/components/icon/comps/shopping-bag.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/shrink.vue.mjs +23 -0
- package/dist/src/components/icon/comps/shrink.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/size-chart.vue.mjs +23 -0
- package/dist/src/components/icon/comps/size-chart.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/ski-boot.vue.mjs +23 -0
- package/dist/src/components/icon/comps/ski-boot.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/ski.vue.mjs +23 -0
- package/dist/src/components/icon/comps/ski.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/snow-shop.vue.mjs +23 -0
- package/dist/src/components/icon/comps/snow-shop.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/snow.vue.mjs +23 -0
- package/dist/src/components/icon/comps/snow.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/sort.vue.mjs +23 -0
- package/dist/src/components/icon/comps/sort.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/star-100.vue.mjs +23 -0
- package/dist/src/components/icon/comps/star-100.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/star-25.vue.mjs +23 -0
- package/dist/src/components/icon/comps/star-25.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/star-50.vue.mjs +23 -0
- package/dist/src/components/icon/comps/star-50.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/star-75.vue.mjs +23 -0
- package/dist/src/components/icon/comps/star-75.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/star-stroke.vue.mjs +23 -0
- package/dist/src/components/icon/comps/star-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/storefront.vue.mjs +23 -0
- package/dist/src/components/icon/comps/storefront.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/swim.vue.mjs +23 -0
- package/dist/src/components/icon/comps/swim.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/telephone.vue.mjs +23 -0
- package/dist/src/components/icon/comps/telephone.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/tent.vue.mjs +23 -0
- package/dist/src/components/icon/comps/tent.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/trash.vue.mjs +23 -0
- package/dist/src/components/icon/comps/trash.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/twitter.vue.mjs +23 -0
- package/dist/src/components/icon/comps/twitter.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/upload.vue.mjs +23 -0
- package/dist/src/components/icon/comps/upload.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/verified-purchaser.vue.mjs +23 -0
- package/dist/src/components/icon/comps/verified-purchaser.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/virtual-outfitting.vue.mjs +23 -0
- package/dist/src/components/icon/comps/virtual-outfitting.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/warning-fill.vue.mjs +23 -0
- package/dist/src/components/icon/comps/warning-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/warning-stroke.vue.mjs +23 -0
- package/dist/src/components/icon/comps/warning-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/water.vue.mjs +23 -0
- package/dist/src/components/icon/comps/water.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/wilderness.vue.mjs +23 -0
- package/dist/src/components/icon/comps/wilderness.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/x-fill.vue.mjs +23 -0
- package/dist/src/components/icon/comps/x-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/x-lg.vue.mjs +23 -0
- package/dist/src/components/icon/comps/x-lg.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/x-sm.vue.mjs +23 -0
- package/dist/src/components/icon/comps/x-sm.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/x-stroke.vue.mjs +23 -0
- package/dist/src/components/icon/comps/x-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/youtube.vue.mjs +23 -0
- package/dist/src/components/icon/comps/youtube.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/zoom-in.vue.mjs +23 -0
- package/dist/src/components/icon/comps/zoom-in.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/zoom-out.vue.mjs +23 -0
- package/dist/src/components/icon/comps/zoom-out.vue2.mjs +4 -0
- package/dist/src/components/icon/styles/CdrIcon.module.scss.mjs +17 -0
- package/dist/src/components/image/CdrImg.vue.mjs +9 -0
- package/dist/src/components/image/CdrImg.vue2.mjs +107 -0
- package/dist/src/components/image/styles/CdrImg.module.scss.mjs +13 -0
- package/dist/src/components/input/CdrInput.vue.mjs +9 -0
- package/dist/src/components/input/CdrInput.vue2.mjs +213 -0
- package/dist/src/components/input/styles/CdrInput.module.scss.mjs +37 -0
- package/dist/src/components/labelStandalone/CdrLabelStandalone.vue.mjs +9 -0
- package/dist/src/components/labelStandalone/CdrLabelStandalone.vue2.mjs +53 -0
- package/dist/src/components/labelStandalone/styles/CdrLabelStandalone.module.scss.mjs +17 -0
- package/dist/src/components/labelWrapper/CdrLabelWrapper.vue.mjs +9 -0
- package/dist/src/components/labelWrapper/CdrLabelWrapper.vue2.mjs +31 -0
- package/dist/src/components/labelWrapper/styles/CdrLabelWrapper.module.scss.mjs +30 -0
- package/dist/src/components/link/CdrLink.vue.mjs +9 -0
- package/dist/src/components/link/CdrLink.vue2.mjs +59 -0
- package/dist/src/components/link/styles/CdrLink.module.scss.mjs +8 -0
- package/dist/src/components/list/CdrList.vue.mjs +9 -0
- package/dist/src/components/list/CdrList.vue2.mjs +39 -0
- package/dist/src/components/list/styles/CdrList.module.scss.mjs +10 -0
- package/dist/src/components/modal/CdrModal.vue.mjs +9 -0
- package/dist/src/components/modal/CdrModal.vue2.mjs +225 -0
- package/dist/src/components/modal/onTransitionEnd.mjs +31 -0
- package/dist/src/components/modal/styles/CdrModal.module.scss.mjs +17 -0
- package/dist/src/components/pagination/CdrPagination.vue.mjs +9 -0
- package/dist/src/components/pagination/CdrPagination.vue2.mjs +223 -0
- package/dist/src/components/pagination/styles/CdrPagination.module.scss.mjs +58 -0
- package/dist/src/components/popover/CdrPopover.vue.mjs +9 -0
- package/dist/src/components/popover/CdrPopover.vue2.mjs +136 -0
- package/dist/src/components/popover/styles/CdrPopover.module.scss.mjs +68 -0
- package/dist/src/components/popup/CdrPopup.vue.mjs +9 -0
- package/dist/src/components/popup/CdrPopup.vue2.mjs +94 -0
- package/dist/src/components/popup/calculatePlacement.mjs +31 -0
- package/dist/src/components/popup/styles/CdrPopup.module.scss.mjs +19 -0
- package/dist/src/components/quote/CdrQuote.vue.mjs +9 -0
- package/dist/src/components/quote/CdrQuote.vue2.mjs +51 -0
- package/dist/src/components/quote/styles/CdrQuote.module.scss.mjs +9 -0
- package/dist/src/components/radio/CdrRadio.vue.mjs +9 -0
- package/dist/src/components/radio/CdrRadio.vue2.mjs +108 -0
- package/dist/src/components/radio/styles/CdrRadio.module.scss.mjs +32 -0
- package/dist/src/components/rating/CdrRating.vue.mjs +9 -0
- package/dist/src/components/rating/CdrRating.vue2.mjs +100 -0
- package/dist/src/components/rating/components/CdrStar00.vue.mjs +9 -0
- package/dist/src/components/rating/components/CdrStar00.vue2.mjs +37 -0
- package/dist/src/components/rating/components/CdrStar100.vue.mjs +9 -0
- package/dist/src/components/rating/components/CdrStar100.vue2.mjs +37 -0
- package/dist/src/components/rating/components/CdrStar25.vue.mjs +9 -0
- package/dist/src/components/rating/components/CdrStar25.vue2.mjs +48 -0
- package/dist/src/components/rating/components/CdrStar50.vue.mjs +9 -0
- package/dist/src/components/rating/components/CdrStar50.vue2.mjs +53 -0
- package/dist/src/components/rating/components/CdrStar75.vue.mjs +9 -0
- package/dist/src/components/rating/components/CdrStar75.vue2.mjs +50 -0
- package/dist/src/components/rating/components/CdrStarNull.vue.mjs +9 -0
- package/dist/src/components/rating/components/CdrStarNull.vue2.mjs +43 -0
- package/dist/src/components/rating/composables/useStar.mjs +11 -0
- package/dist/src/components/rating/styles/CdrRating.module.scss.mjs +49 -0
- package/dist/src/components/select/CdrSelect.vue.mjs +9 -0
- package/dist/src/components/select/CdrSelect.vue2.mjs +196 -0
- package/dist/src/components/select/styles/CdrSelect.module.scss.mjs +47 -0
- package/dist/src/components/skeleton/CdrSkeleton.vue.mjs +9 -0
- package/dist/src/components/skeleton/CdrSkeleton.vue2.mjs +29 -0
- package/dist/src/components/skeleton/CdrSkeletonBone.vue.mjs +9 -0
- package/dist/src/components/skeleton/CdrSkeletonBone.vue2.mjs +29 -0
- package/dist/src/components/skeleton/styles/CdrSkeleton.module.scss.mjs +6 -0
- package/dist/src/components/skeleton/styles/CdrSkeletonBone.module.scss.mjs +13 -0
- package/dist/src/components/switch/CdrSwitch.vue.mjs +9 -0
- package/dist/src/components/switch/CdrSwitch.vue2.mjs +78 -0
- package/dist/src/components/switch/styles/CdrSwitch.module.scss.mjs +13 -0
- package/dist/src/components/table/CdrTable.vue.mjs +9 -0
- package/dist/src/components/table/CdrTable.vue2.mjs +58 -0
- package/dist/src/components/table/styles/CdrTable.module.scss.mjs +18 -0
- package/dist/src/components/tabs/CdrTabPanel.vue.mjs +9 -0
- package/dist/src/components/tabs/CdrTabPanel.vue2.mjs +40 -0
- package/dist/src/components/tabs/CdrTabs.vue.mjs +9 -0
- package/dist/src/components/tabs/CdrTabs.vue2.mjs +157 -0
- package/dist/src/components/tabs/styles/CdrTabPanel.module.scss.mjs +10 -0
- package/dist/src/components/tabs/styles/CdrTabs.module.scss.mjs +33 -0
- package/dist/src/components/text/CdrText.vue.mjs +9 -0
- package/dist/src/components/text/CdrText.vue2.mjs +24 -0
- package/dist/src/components/text/styles/CdrText.module.scss.mjs +6 -0
- package/dist/src/components/toast/CdrToast.vue.mjs +9 -0
- package/dist/src/components/toast/CdrToast.vue2.mjs +103 -0
- package/dist/src/components/toast/styles/CdrToast.module.scss.mjs +62 -0
- package/dist/src/components/toggleButton/CdrToggleButton.vue.mjs +9 -0
- package/dist/src/components/toggleButton/CdrToggleButton.vue2.mjs +32 -0
- package/dist/src/components/toggleButton/CdrToggleGroup.vue.mjs +9 -0
- package/dist/src/components/toggleButton/CdrToggleGroup.vue2.mjs +74 -0
- package/dist/src/components/toggleButton/styles/CdrToggleButton.module.scss.mjs +7 -0
- package/dist/src/components/toggleButton/styles/CdrToggleGroup.module.scss.mjs +10 -0
- package/dist/src/components/tooltip/CdrTooltip.vue.mjs +9 -0
- package/dist/src/components/tooltip/CdrTooltip.vue2.mjs +98 -0
- package/dist/src/components/tooltip/styles/CdrTooltip.module.scss.mjs +21 -0
- package/dist/src/lib.mjs +446 -0
- package/dist/src/mixins/breakpoints.mjs +8 -0
- package/dist/src/props/background.mjs +9 -0
- package/dist/src/props/size.mjs +9 -0
- package/dist/src/types/symbols.mjs +7 -0
- package/dist/src/utils/buildClass.mjs +6 -0
- package/dist/src/utils/debounce.mjs +9 -0
- package/dist/src/utils/kebabCase.mjs +6 -0
- package/dist/src/utils/mapClasses.mjs +6 -0
- package/dist/src/utils/propValidator.mjs +9 -0
- package/dist/src/utils/uid.mjs +6 -0
- package/dist/style/cdr-accordion-group.css +1 -1
- package/dist/style/cdr-accordion.css +1 -1
- package/dist/style/cdr-banner.css +1 -1
- package/dist/style/cdr-breadcrumb.css +1 -1
- package/dist/style/cdr-button.css +1 -1
- package/dist/style/cdr-caption.css +1 -1
- package/dist/style/cdr-card.css +1 -1
- package/dist/style/cdr-checkbox.css +1 -1
- package/dist/style/cdr-chip-group.css +1 -1
- package/dist/style/cdr-chip.css +1 -1
- package/dist/style/cdr-container.css +1 -1
- package/dist/style/cdr-form-error.css +1 -1
- package/dist/style/cdr-form-group.css +1 -1
- package/dist/style/cdr-grid.css +1 -1
- package/dist/style/cdr-icon.css +1 -1
- package/dist/style/cdr-img.css +1 -1
- package/dist/style/cdr-input.css +1 -1
- package/dist/style/cdr-label-standalone.css +1 -1
- package/dist/style/cdr-label-wrapper.css +1 -1
- package/dist/style/cdr-link.css +1 -1
- package/dist/style/cdr-list.css +1 -1
- package/dist/style/cdr-modal.css +1 -1
- package/dist/style/cdr-pagination.css +1 -1
- package/dist/style/cdr-popover.css +1 -1
- package/dist/style/cdr-popup.css +1 -1
- package/dist/style/cdr-quote.css +1 -1
- package/dist/style/cdr-radio.css +1 -1
- package/dist/style/cdr-rating.css +1 -1
- package/dist/style/cdr-select.css +1 -1
- package/dist/style/cdr-skeleton-bone.css +1 -1
- package/dist/style/cdr-skeleton.css +1 -1
- package/dist/style/cdr-switch.css +1 -1
- package/dist/style/cdr-tab-panel.css +1 -1
- package/dist/style/cdr-table.css +1 -1
- package/dist/style/cdr-tabs.css +1 -1
- package/dist/style/cdr-text.css +1 -1
- package/dist/style/cdr-toast.css +1 -1
- package/dist/style/cdr-toggle-button.css +1 -1
- package/dist/style/cdr-toggle-group.css +1 -1
- package/dist/style/cdr-tooltip.css +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/components/accordion/CdrAccordion.vue.d.ts +0 -128
- package/dist/components/accordion/CdrAccordionGroup.vue.d.ts +0 -31
- package/dist/components/accordion/symbols.d.ts +0 -4
- package/dist/components/banner/CdrBanner.vue.d.ts +0 -37
- package/dist/components/breadcrumb/CdrBreadcrumb.vue.d.ts +0 -74
- package/dist/components/breadcrumb/interfaces.d.ts +0 -15
- package/dist/components/button/CdrButton.vue.d.ts +0 -146
- package/dist/components/caption/CdrCaption.vue.d.ts +0 -32
- package/dist/components/card/CdrCard.vue.d.ts +0 -23
- package/dist/components/checkbox/CdrCheckbox.vue.d.ts +0 -169
- package/dist/components/chip/CdrChip.vue.d.ts +0 -11
- package/dist/components/chip/CdrChipGroup.vue.d.ts +0 -42
- package/dist/components/container/CdrContainer.vue.d.ts +0 -44
- package/dist/components/formError/CdrFormError.vue.d.ts +0 -13
- package/dist/components/formGroup/CdrFormGroup.vue.d.ts +0 -79
- package/dist/components/grid/CdrGrid.vue.d.ts +0 -44
- package/dist/components/icon/CdrIcon.vue.d.ts +0 -46
- package/dist/components/icon/build/generate.d.ts +0 -8
- package/dist/components/icon/comps/account-profile-fill.vue.d.ts +0 -17
- package/dist/components/icon/comps/account-profile.vue.d.ts +0 -17
- package/dist/components/icon/comps/arrow-down.vue.d.ts +0 -17
- package/dist/components/icon/comps/arrow-left.vue.d.ts +0 -17
- package/dist/components/icon/comps/arrow-right.vue.d.ts +0 -17
- package/dist/components/icon/comps/arrow-up.vue.d.ts +0 -17
- package/dist/components/icon/comps/atv.vue.d.ts +0 -17
- package/dist/components/icon/comps/bed-outline.vue.d.ts +0 -17
- package/dist/components/icon/comps/bike-shop.vue.d.ts +0 -17
- package/dist/components/icon/comps/binoculars.vue.d.ts +0 -17
- package/dist/components/icon/comps/birding.vue.d.ts +0 -17
- package/dist/components/icon/comps/boat.vue.d.ts +0 -17
- package/dist/components/icon/comps/boating.vue.d.ts +0 -17
- package/dist/components/icon/comps/bookmark-fill.vue.d.ts +0 -17
- package/dist/components/icon/comps/bookmark-stroke.vue.d.ts +0 -17
- package/dist/components/icon/comps/brand-abstract.vue.d.ts +0 -17
- package/dist/components/icon/comps/brand-code-sandbox.vue.d.ts +0 -17
- package/dist/components/icon/comps/brand-github.vue.d.ts +0 -17
- package/dist/components/icon/comps/brand-linkedin.vue.d.ts +0 -17
- package/dist/components/icon/comps/brand-rei-ice-axes.vue.d.ts +0 -17
- package/dist/components/icon/comps/brand-sketch.vue.d.ts +0 -17
- package/dist/components/icon/comps/brand-tiktok.vue.d.ts +0 -17
- package/dist/components/icon/comps/buddies.vue.d.ts +0 -17
- package/dist/components/icon/comps/bus.vue.d.ts +0 -17
- package/dist/components/icon/comps/calendar.vue.d.ts +0 -17
- package/dist/components/icon/comps/camera.vue.d.ts +0 -17
- package/dist/components/icon/comps/canoe.vue.d.ts +0 -17
- package/dist/components/icon/comps/car.vue.d.ts +0 -17
- package/dist/components/icon/comps/caret-down.vue.d.ts +0 -17
- package/dist/components/icon/comps/caret-left.vue.d.ts +0 -17
- package/dist/components/icon/comps/caret-right.vue.d.ts +0 -17
- package/dist/components/icon/comps/caret-up.vue.d.ts +0 -17
- package/dist/components/icon/comps/cart-fill.vue.d.ts +0 -17
- package/dist/components/icon/comps/cart.vue.d.ts +0 -17
- package/dist/components/icon/comps/chain-link.vue.d.ts +0 -17
- package/dist/components/icon/comps/chat.vue.d.ts +0 -17
- package/dist/components/icon/comps/check-fill.vue.d.ts +0 -17
- package/dist/components/icon/comps/check-lg.vue.d.ts +0 -17
- package/dist/components/icon/comps/check-sm.vue.d.ts +0 -17
- package/dist/components/icon/comps/check-stroke.vue.d.ts +0 -17
- package/dist/components/icon/comps/climb.vue.d.ts +0 -17
- package/dist/components/icon/comps/clipboard.vue.d.ts +0 -17
- package/dist/components/icon/comps/clock.vue.d.ts +0 -17
- package/dist/components/icon/comps/code-html.vue.d.ts +0 -17
- package/dist/components/icon/comps/code-js.vue.d.ts +0 -17
- package/dist/components/icon/comps/compass.vue.d.ts +0 -17
- package/dist/components/icon/comps/copy.vue.d.ts +0 -17
- package/dist/components/icon/comps/coupon-fill.vue.d.ts +0 -17
- package/dist/components/icon/comps/coupon-stroke.vue.d.ts +0 -17
- package/dist/components/icon/comps/credit-card.vue.d.ts +0 -17
- package/dist/components/icon/comps/curbside-pickup.vue.d.ts +0 -17
- package/dist/components/icon/comps/day.vue.d.ts +0 -17
- package/dist/components/icon/comps/diving.vue.d.ts +0 -17
- package/dist/components/icon/comps/dog.vue.d.ts +0 -17
- package/dist/components/icon/comps/download.vue.d.ts +0 -17
- package/dist/components/icon/comps/duplicate.vue.d.ts +0 -17
- package/dist/components/icon/comps/edit.vue.d.ts +0 -17
- package/dist/components/icon/comps/elevation.vue.d.ts +0 -17
- package/dist/components/icon/comps/error-fill.vue.d.ts +0 -17
- package/dist/components/icon/comps/error-stroke.vue.d.ts +0 -17
- package/dist/components/icon/comps/expand.vue.d.ts +0 -17
- package/dist/components/icon/comps/experiences-backpacking.vue.d.ts +0 -17
- package/dist/components/icon/comps/experiences-camping.vue.d.ts +0 -17
- package/dist/components/icon/comps/experiences-climbing.vue.d.ts +0 -17
- package/dist/components/icon/comps/experiences-clothing.vue.d.ts +0 -17
- package/dist/components/icon/comps/experiences-cycling.vue.d.ts +0 -17
- package/dist/components/icon/comps/experiences-family.vue.d.ts +0 -17
- package/dist/components/icon/comps/experiences-fitness.vue.d.ts +0 -17
- package/dist/components/icon/comps/experiences-hiking.vue.d.ts +0 -17
- package/dist/components/icon/comps/experiences-outdoor-basics.vue.d.ts +0 -17
- package/dist/components/icon/comps/experiences-paddling.vue.d.ts +0 -17
- package/dist/components/icon/comps/experiences-rentals.vue.d.ts +0 -17
- package/dist/components/icon/comps/experiences-running.vue.d.ts +0 -17
- package/dist/components/icon/comps/experiences-snowsports.vue.d.ts +0 -17
- package/dist/components/icon/comps/experiences-travel.vue.d.ts +0 -17
- package/dist/components/icon/comps/external-link-alt.vue.d.ts +0 -17
- package/dist/components/icon/comps/external-link.vue.d.ts +0 -17
- package/dist/components/icon/comps/eye-hide.vue.d.ts +0 -17
- package/dist/components/icon/comps/eye-show.vue.d.ts +0 -17
- package/dist/components/icon/comps/facebook.vue.d.ts +0 -17
- package/dist/components/icon/comps/filter-alt.vue.d.ts +0 -17
- package/dist/components/icon/comps/filter.vue.d.ts +0 -17
- package/dist/components/icon/comps/find-location.vue.d.ts +0 -17
- package/dist/components/icon/comps/fire.vue.d.ts +0 -17
- package/dist/components/icon/comps/fishing.vue.d.ts +0 -17
- package/dist/components/icon/comps/free-product.vue.d.ts +0 -17
- package/dist/components/icon/comps/grid-view.vue.d.ts +0 -17
- package/dist/components/icon/comps/heart-fill.vue.d.ts +0 -17
- package/dist/components/icon/comps/heart-stroke.vue.d.ts +0 -17
- package/dist/components/icon/comps/hike.vue.d.ts +0 -17
- package/dist/components/icon/comps/history.vue.d.ts +0 -17
- package/dist/components/icon/comps/home.vue.d.ts +0 -17
- package/dist/components/icon/comps/horse.vue.d.ts +0 -17
- package/dist/components/icon/comps/horseshoe.vue.d.ts +0 -17
- package/dist/components/icon/comps/image.vue.d.ts +0 -17
- package/dist/components/icon/comps/information-fill.vue.d.ts +0 -17
- package/dist/components/icon/comps/information-stroke.vue.d.ts +0 -17
- package/dist/components/icon/comps/instagram.vue.d.ts +0 -17
- package/dist/components/icon/comps/kayak.vue.d.ts +0 -17
- package/dist/components/icon/comps/link-alt.vue.d.ts +0 -17
- package/dist/components/icon/comps/list-ragged.vue.d.ts +0 -17
- package/dist/components/icon/comps/list-view.vue.d.ts +0 -17
- package/dist/components/icon/comps/location-pin-fill.vue.d.ts +0 -17
- package/dist/components/icon/comps/location-pin-stroke.vue.d.ts +0 -17
- package/dist/components/icon/comps/lock-locked-fill.vue.d.ts +0 -17
- package/dist/components/icon/comps/lock-locked-stroke.vue.d.ts +0 -17
- package/dist/components/icon/comps/lock-unlocked-stroke.vue.d.ts +0 -17
- package/dist/components/icon/comps/mail.vue.d.ts +0 -17
- package/dist/components/icon/comps/map.vue.d.ts +0 -17
- package/dist/components/icon/comps/member-card.vue.d.ts +0 -17
- package/dist/components/icon/comps/membership.vue.d.ts +0 -17
- package/dist/components/icon/comps/microphone.vue.d.ts +0 -17
- package/dist/components/icon/comps/minus-fill.vue.d.ts +0 -17
- package/dist/components/icon/comps/minus-lg.vue.d.ts +0 -17
- package/dist/components/icon/comps/minus-sm.vue.d.ts +0 -17
- package/dist/components/icon/comps/minus-stroke.vue.d.ts +0 -17
- package/dist/components/icon/comps/more-functions.vue.d.ts +0 -17
- package/dist/components/icon/comps/my-location.vue.d.ts +0 -17
- package/dist/components/icon/comps/navigation-menu.vue.d.ts +0 -17
- package/dist/components/icon/comps/night.vue.d.ts +0 -17
- package/dist/components/icon/comps/paddle.vue.d.ts +0 -17
- package/dist/components/icon/comps/pause-fill.vue.d.ts +0 -17
- package/dist/components/icon/comps/pause-stroke.vue.d.ts +0 -17
- package/dist/components/icon/comps/pause.vue.d.ts +0 -17
- package/dist/components/icon/comps/photography.vue.d.ts +0 -17
- package/dist/components/icon/comps/picnic.vue.d.ts +0 -17
- package/dist/components/icon/comps/pinterest.vue.d.ts +0 -17
- package/dist/components/icon/comps/plane.vue.d.ts +0 -17
- package/dist/components/icon/comps/play-fill.vue.d.ts +0 -17
- package/dist/components/icon/comps/play-stroke.vue.d.ts +0 -17
- package/dist/components/icon/comps/play.vue.d.ts +0 -17
- package/dist/components/icon/comps/playground.vue.d.ts +0 -17
- package/dist/components/icon/comps/plugin.vue.d.ts +0 -17
- package/dist/components/icon/comps/plus-fill.vue.d.ts +0 -17
- package/dist/components/icon/comps/plus-lg.vue.d.ts +0 -17
- package/dist/components/icon/comps/plus-sm.vue.d.ts +0 -17
- package/dist/components/icon/comps/plus-stroke.vue.d.ts +0 -17
- package/dist/components/icon/comps/print.vue.d.ts +0 -17
- package/dist/components/icon/comps/protection-fill.vue.d.ts +0 -17
- package/dist/components/icon/comps/protection-stroke.vue.d.ts +0 -17
- package/dist/components/icon/comps/question-fill.vue.d.ts +0 -17
- package/dist/components/icon/comps/question-stroke.vue.d.ts +0 -17
- package/dist/components/icon/comps/refresh.vue.d.ts +0 -17
- package/dist/components/icon/comps/reload.vue.d.ts +0 -17
- package/dist/components/icon/comps/returns.vue.d.ts +0 -17
- package/dist/components/icon/comps/run.vue.d.ts +0 -17
- package/dist/components/icon/comps/scan-barcode.vue.d.ts +0 -17
- package/dist/components/icon/comps/search.vue.d.ts +0 -17
- package/dist/components/icon/comps/service-shop.vue.d.ts +0 -17
- package/dist/components/icon/comps/shipping-prep.vue.d.ts +0 -17
- package/dist/components/icon/comps/shipping-truck.vue.d.ts +0 -17
- package/dist/components/icon/comps/shipping.vue.d.ts +0 -17
- package/dist/components/icon/comps/shopping-bag-fill.vue.d.ts +0 -17
- package/dist/components/icon/comps/shopping-bag.vue.d.ts +0 -17
- package/dist/components/icon/comps/shrink.vue.d.ts +0 -17
- package/dist/components/icon/comps/size-chart.vue.d.ts +0 -17
- package/dist/components/icon/comps/ski-boot.vue.d.ts +0 -17
- package/dist/components/icon/comps/ski.vue.d.ts +0 -17
- package/dist/components/icon/comps/snow-shop.vue.d.ts +0 -17
- package/dist/components/icon/comps/snow.vue.d.ts +0 -17
- package/dist/components/icon/comps/sort.vue.d.ts +0 -17
- package/dist/components/icon/comps/star-100.vue.d.ts +0 -17
- package/dist/components/icon/comps/star-25.vue.d.ts +0 -17
- package/dist/components/icon/comps/star-50.vue.d.ts +0 -17
- package/dist/components/icon/comps/star-75.vue.d.ts +0 -17
- package/dist/components/icon/comps/star-stroke.vue.d.ts +0 -17
- package/dist/components/icon/comps/storefront.vue.d.ts +0 -17
- package/dist/components/icon/comps/swim.vue.d.ts +0 -17
- package/dist/components/icon/comps/telephone.vue.d.ts +0 -17
- package/dist/components/icon/comps/tent.vue.d.ts +0 -17
- package/dist/components/icon/comps/trash.vue.d.ts +0 -17
- package/dist/components/icon/comps/twitter.vue.d.ts +0 -17
- package/dist/components/icon/comps/upload.vue.d.ts +0 -17
- package/dist/components/icon/comps/verified-purchaser.vue.d.ts +0 -17
- package/dist/components/icon/comps/virtual-outfitting.vue.d.ts +0 -17
- package/dist/components/icon/comps/warning-fill.vue.d.ts +0 -17
- package/dist/components/icon/comps/warning-stroke.vue.d.ts +0 -17
- package/dist/components/icon/comps/water.vue.d.ts +0 -17
- package/dist/components/icon/comps/wilderness.vue.d.ts +0 -17
- package/dist/components/icon/comps/x-fill.vue.d.ts +0 -17
- package/dist/components/icon/comps/x-lg.vue.d.ts +0 -17
- package/dist/components/icon/comps/x-sm.vue.d.ts +0 -17
- package/dist/components/icon/comps/x-stroke.vue.d.ts +0 -17
- package/dist/components/icon/comps/youtube.vue.d.ts +0 -17
- package/dist/components/icon/comps/zoom-in.vue.d.ts +0 -17
- package/dist/components/icon/comps/zoom-out.vue.d.ts +0 -17
- package/dist/components/icon/index.d.ts +0 -186
- package/dist/components/image/CdrImg.vue.d.ts +0 -131
- package/dist/components/input/CdrInput.vue.d.ts +0 -223
- package/dist/components/labelStandalone/CdrLabelStandalone.vue.d.ts +0 -39
- package/dist/components/labelWrapper/CdrLabelWrapper.vue.d.ts +0 -36
- package/dist/components/link/CdrLink.vue.d.ts +0 -86
- package/dist/components/list/CdrList.vue.d.ts +0 -52
- package/dist/components/modal/CdrModal.vue.d.ts +0 -142
- package/dist/components/modal/onTransitionEnd.d.ts +0 -2
- package/dist/components/pagination/CdrPagination.vue.d.ts +0 -128
- package/dist/components/popover/CdrPopover.vue.d.ts +0 -116
- package/dist/components/popup/CdrPopup.vue.d.ts +0 -53
- package/dist/components/popup/calculatePlacement.d.ts +0 -4
- package/dist/components/quote/CdrQuote.vue.d.ts +0 -60
- package/dist/components/radio/CdrRadio.vue.d.ts +0 -144
- package/dist/components/rating/CdrRating.vue.d.ts +0 -87
- package/dist/components/rating/components/CdrStar00.vue.d.ts +0 -16
- package/dist/components/rating/components/CdrStar100.vue.d.ts +0 -16
- package/dist/components/rating/components/CdrStar25.vue.d.ts +0 -16
- package/dist/components/rating/components/CdrStar50.vue.d.ts +0 -16
- package/dist/components/rating/components/CdrStar75.vue.d.ts +0 -16
- package/dist/components/rating/components/CdrStarNull.vue.d.ts +0 -16
- package/dist/components/rating/composables/useStar.d.ts +0 -8
- package/dist/components/select/CdrSelect.vue.d.ts +0 -201
- package/dist/components/skeleton/CdrSkeleton.vue.d.ts +0 -33
- package/dist/components/skeleton/CdrSkeletonBone.vue.d.ts +0 -26
- package/dist/components/skeleton/symbols.d.ts +0 -3
- package/dist/components/switch/CdrSwitch.vue.d.ts +0 -82
- package/dist/components/table/CdrTable.vue.d.ts +0 -92
- package/dist/components/tabs/CdrTabPanel.vue.d.ts +0 -31
- package/dist/components/tabs/CdrTabs.vue.d.ts +0 -83
- package/dist/components/tabs/symbols.d.ts +0 -3
- package/dist/components/text/CdrText.vue.d.ts +0 -23
- package/dist/components/toast/CdrToast.vue.d.ts +0 -82
- package/dist/components/toggleButton/CdrToggleButton.vue.d.ts +0 -25
- package/dist/components/toggleButton/CdrToggleGroup.vue.d.ts +0 -51
- package/dist/components/toggleButton/symbols.d.ts +0 -3
- package/dist/components/tooltip/CdrTooltip.vue.d.ts +0 -100
- package/dist/lib.mjs +0 -7503
- package/dist/mixins/breakpoints.d.ts +0 -1
- package/dist/props/background.d.ts +0 -6
- package/dist/props/position.d.ts +0 -6
- package/dist/props/size.d.ts +0 -6
- package/dist/types/interfaces.d.ts +0 -15
- package/dist/utils/buildClass.d.ts +0 -25
- package/dist/utils/debounce.d.ts +0 -6
- package/dist/utils/kebabCase.d.ts +0 -5
- package/dist/utils/mapClasses.d.ts +0 -1
- package/dist/utils/propValidator.d.ts +0 -8
- package/dist/utils/uid.d.ts +0 -4
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { defineComponent as q, useCssModule as G, useSlots as J, computed as m, ref as n, provide as Q, onMounted as Y, openBlock as $, createElementBlock as N, normalizeClass as f, unref as s, normalizeStyle as C, createElementVNode as g, Fragment as Z, renderList as ee, withModifiers as te, withKeys as X, toDisplayString as ae, renderSlot as le, nextTick as re } from "vue";
|
|
2
|
+
import { debounce as K } from "../../utils/debounce.mjs";
|
|
3
|
+
import { CdrColorBackgroundPrimary as se, CdrSpaceHalfX as ne, CdrSpaceOneX as ie } from "../../../node_modules/@rei/cdr-tokens/dist/rei-dot-com/js/cdr-tokens.mjs";
|
|
4
|
+
import T from "../../utils/mapClasses.mjs";
|
|
5
|
+
import { modifyClassName as O } from "../../utils/buildClass.mjs";
|
|
6
|
+
import { selectedTabKey as de } from "../../types/symbols.mjs";
|
|
7
|
+
const oe = ["id", "disabled", "aria-selected", "tabIndex", "onClick", "onKeyup"], ue = "cdr-tabs", ge = /* @__PURE__ */ q({
|
|
8
|
+
name: "CdrTabs",
|
|
9
|
+
__name: "CdrTabs",
|
|
10
|
+
props: {
|
|
11
|
+
/**
|
|
12
|
+
* Sets height of the tabs container element.
|
|
13
|
+
* Passing a `px` value will render tabs with a static height,
|
|
14
|
+
* passing `auto` will render tabs with variable height based on content size.
|
|
15
|
+
*/
|
|
16
|
+
height: {
|
|
17
|
+
type: String,
|
|
18
|
+
default: "240px"
|
|
19
|
+
},
|
|
20
|
+
/** Sets the index of the tab that should be active on initial page load. Note that this property is zero-indexed. */
|
|
21
|
+
activeTab: {
|
|
22
|
+
type: Number,
|
|
23
|
+
default: 0
|
|
24
|
+
},
|
|
25
|
+
/**
|
|
26
|
+
* Modifies the style variants for this component
|
|
27
|
+
* @values centered, compact, full-width, no-border
|
|
28
|
+
*/
|
|
29
|
+
modifier: String,
|
|
30
|
+
/**
|
|
31
|
+
* Use `small` to reduce spacing around the tabs for a denser visual design
|
|
32
|
+
* @demoSelectMultiple true
|
|
33
|
+
* @values small
|
|
34
|
+
*/
|
|
35
|
+
size: String,
|
|
36
|
+
/**
|
|
37
|
+
* Sets the background color of the tab.
|
|
38
|
+
* For CdrTabs that are rendered on non-primary backgrounds.
|
|
39
|
+
* Pass the background-color into the component to ensure that the scrolling gradients render correctly.
|
|
40
|
+
*/
|
|
41
|
+
backgroundColor: {
|
|
42
|
+
type: String,
|
|
43
|
+
default: se
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
setup(W) {
|
|
47
|
+
const b = W, c = G(), d = J(), M = m(() => {
|
|
48
|
+
var e, t, a, l, r, y;
|
|
49
|
+
return (a = (t = (e = d.default) == null ? void 0 : e.call(d)[0]) == null ? void 0 : t.children) != null && a.length ? (r = (l = d.default) == null ? void 0 : l.call(d)[0]) == null ? void 0 : r.children : (y = d.default) == null ? void 0 : y.call(d);
|
|
50
|
+
}), x = m(() => M.value ? M.value.map((e) => ({
|
|
51
|
+
name: e.props.name,
|
|
52
|
+
disabled: e.props.disabled,
|
|
53
|
+
id: e.props["aria-labelledby"]
|
|
54
|
+
})) : []), k = n(null), i = n(null), R = n(!1), p = n(0), o = n([]), v = n(null), S = n(null), w = n(!1), E = n(!1), u = n(0), h = n(0);
|
|
55
|
+
Q(de, k);
|
|
56
|
+
const F = m(() => b.modifier ? O("cdr-tabs", b.modifier) : ""), A = m(() => b.size ? O("cdr-tabs", b.size) : ""), H = m(() => ({
|
|
57
|
+
transform: `translateX(${u.value}px)`,
|
|
58
|
+
width: `${h.value}px`
|
|
59
|
+
})), P = m(() => ({
|
|
60
|
+
background: `linear-gradient(to left, rgba(255, 255, 255, 0), ${b.backgroundColor})`
|
|
61
|
+
})), D = m(() => ({
|
|
62
|
+
background: `linear-gradient(to right, rgba(255, 255, 255, 0),
|
|
63
|
+
${b.backgroundColor})`
|
|
64
|
+
})), I = (e, t) => i.value === e && !t.disabled, L = () => {
|
|
65
|
+
var t;
|
|
66
|
+
let e = 0;
|
|
67
|
+
if (S.value && (e = S.value.offsetWidth), R.value = p.value > e, R.value) {
|
|
68
|
+
const a = ((t = v.value) == null ? void 0 : t.scrollLeft) ?? 0;
|
|
69
|
+
w.value = a > 1, E.value = a + 1 < p.value - e;
|
|
70
|
+
} else
|
|
71
|
+
w.value = !1, E.value = !1;
|
|
72
|
+
}, B = () => {
|
|
73
|
+
let e = [];
|
|
74
|
+
v.value && (e = Array.from(v.value.children));
|
|
75
|
+
let t = 0;
|
|
76
|
+
return e.forEach((a, l) => {
|
|
77
|
+
l > 0 && (t += b.size === "small" ? Number(ne) : Number(ie)), t += a.offsetWidth || 0;
|
|
78
|
+
}), t;
|
|
79
|
+
}, _ = () => {
|
|
80
|
+
var e, t;
|
|
81
|
+
if (o.value.length > 0) {
|
|
82
|
+
const l = o.value[i.value || 0].getBoundingClientRect(), r = (e = v.value) == null ? void 0 : e.getBoundingClientRect(), y = r ? l.x - r.x : 0;
|
|
83
|
+
u.value = v.value ? y - ((t = v.value) == null ? void 0 : t.scrollLeft) : 0, h.value = l.width, r && u.value + h.value >= r.width ? (h.value = Math.max(0, r.width - u.value), u.value = Math.min(u.value, r.width)) : u.value < 0 && (h.value = Math.max(0, h.value + u.value), u.value = 0);
|
|
84
|
+
}
|
|
85
|
+
}, z = async (e) => {
|
|
86
|
+
const t = o.value[e];
|
|
87
|
+
k.value = x.value[e].name, i.value = e, await re(), t.focus(), _();
|
|
88
|
+
}, U = () => {
|
|
89
|
+
if (i.value === o.value.length - 1)
|
|
90
|
+
return;
|
|
91
|
+
let t = (i.value || 0) + 1;
|
|
92
|
+
o.value[t].disabled && (t += 1), t <= o.value.length - 1 && z(t);
|
|
93
|
+
}, V = () => {
|
|
94
|
+
if (i.value && i.value <= 0)
|
|
95
|
+
return;
|
|
96
|
+
let t = (i.value || 0) - 1;
|
|
97
|
+
o.value[t].disabled && (t -= 1), t >= 0 && z(t);
|
|
98
|
+
}, j = () => {
|
|
99
|
+
o.value.forEach((e, t) => {
|
|
100
|
+
!e.disabled && i.value === null && (i.value = t, k.value = x.value[t].name);
|
|
101
|
+
});
|
|
102
|
+
};
|
|
103
|
+
return Y(() => {
|
|
104
|
+
var e;
|
|
105
|
+
j(), p.value = B(), L(), setTimeout(() => {
|
|
106
|
+
_();
|
|
107
|
+
}, 250), window.addEventListener("resize", K(() => {
|
|
108
|
+
p.value = B(), L(), _();
|
|
109
|
+
}, 250)), (e = v.value) == null || e.addEventListener("scroll", K(() => {
|
|
110
|
+
L(), _();
|
|
111
|
+
}, 50));
|
|
112
|
+
}), (e, t) => ($(), N("div", {
|
|
113
|
+
class: f(s(T)(s(c), ue, F.value, A.value)),
|
|
114
|
+
ref_key: "containerEl",
|
|
115
|
+
ref: S,
|
|
116
|
+
style: C({
|
|
117
|
+
height: W.height
|
|
118
|
+
})
|
|
119
|
+
}, [g("div", {
|
|
120
|
+
class: f(s(c)["cdr-tabs__gradient-container"])
|
|
121
|
+
}, [g("div", {
|
|
122
|
+
class: f(s(T)(s(c), "cdr-tabs__gradient", "cdr-tabs__gradient--left", w.value ? "cdr-tabs__gradient--active" : "")),
|
|
123
|
+
style: C(P.value)
|
|
124
|
+
}, null, 6), g("ul", {
|
|
125
|
+
class: f(s(c)["cdr-tabs__header-container"]),
|
|
126
|
+
role: "tablist",
|
|
127
|
+
ref_key: "tablist",
|
|
128
|
+
ref: v
|
|
129
|
+
}, [($(!0), N(Z, null, ee(x.value, (a, l) => ($(), N("li", {
|
|
130
|
+
key: `${a.name}-${l}`,
|
|
131
|
+
role: "presentation",
|
|
132
|
+
class: f(s(c)["cdr-tabs__header"])
|
|
133
|
+
}, [g("button", {
|
|
134
|
+
ref_for: !0,
|
|
135
|
+
ref: (r) => {
|
|
136
|
+
o.value[l] = r;
|
|
137
|
+
},
|
|
138
|
+
id: a.id,
|
|
139
|
+
disabled: a.disabled,
|
|
140
|
+
"aria-selected": I(l, a),
|
|
141
|
+
tabIndex: I(l, a) ? 0 : -1,
|
|
142
|
+
class: f(s(T)(s(c), I(l, a) ? "cdr-tabs__header-item-active" : "", "cdr-tabs__header-item", a.disabled ? "cdr-tabs__header-item--disabled" : "")),
|
|
143
|
+
role: "tab",
|
|
144
|
+
onClick: te((r) => z(l), ["prevent"]),
|
|
145
|
+
onKeyup: [X(U, ["right"]), X(V, ["left"])]
|
|
146
|
+
}, ae(a.name), 43, oe)], 2))), 128))], 2), g("div", {
|
|
147
|
+
class: f(s(T)(s(c), "cdr-tabs__gradient", "cdr-tabs__gradient--right", E.value ? "cdr-tabs__gradient--active" : "")),
|
|
148
|
+
style: C(D.value)
|
|
149
|
+
}, null, 6), g("div", {
|
|
150
|
+
class: f(s(c)["cdr-tabs__underline"]),
|
|
151
|
+
style: C(H.value)
|
|
152
|
+
}, null, 6)], 2), le(e.$slots, "default")], 6));
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
export {
|
|
156
|
+
ge as default
|
|
157
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
const a = {
|
|
2
|
+
"cdr-tab-panel": "cdr-tab-panel_14-0-2-alpha-8",
|
|
3
|
+
"cdr-tab-panel-enter-left": "cdr-tab-panel-enter-left_14-0-2-alpha-8",
|
|
4
|
+
"cdr-tab-panel-enter-right": "cdr-tab-panel-enter-right_14-0-2-alpha-8",
|
|
5
|
+
"cdr-tab-panel-exit-left": "cdr-tab-panel-exit-left_14-0-2-alpha-8",
|
|
6
|
+
"cdr-tab-panel-exit-right": "cdr-tab-panel-exit-right_14-0-2-alpha-8"
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
a as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const a = {
|
|
2
|
+
"cdr-tab-panel": "cdr-tab-panel_14-0-2-alpha-8",
|
|
3
|
+
"cdr-tab-panel-enter-left": "cdr-tab-panel-enter-left_14-0-2-alpha-8",
|
|
4
|
+
"cdr-tab-panel-enter-right": "cdr-tab-panel-enter-right_14-0-2-alpha-8",
|
|
5
|
+
"cdr-tab-panel-exit-left": "cdr-tab-panel-exit-left_14-0-2-alpha-8",
|
|
6
|
+
"cdr-tab-panel-exit-right": "cdr-tab-panel-exit-right_14-0-2-alpha-8",
|
|
7
|
+
"cdr-tabs": "cdr-tabs_14-0-2-alpha-8",
|
|
8
|
+
"cdr-tabs__header-container": "cdr-tabs__header-container_14-0-2-alpha-8",
|
|
9
|
+
"cdr-tabs__header": "cdr-tabs__header_14-0-2-alpha-8",
|
|
10
|
+
"cdr-tabs__header-item": "cdr-tabs__header-item_14-0-2-alpha-8",
|
|
11
|
+
"cdr-tabs__header-item-active": "cdr-tabs__header-item-active_14-0-2-alpha-8",
|
|
12
|
+
"cdr-tabs__header-item--disabled": "cdr-tabs__header-item--disabled_14-0-2-alpha-8",
|
|
13
|
+
"cdr-tabs__gradient-container": "cdr-tabs__gradient-container_14-0-2-alpha-8",
|
|
14
|
+
"cdr-tabs__gradient": "cdr-tabs__gradient_14-0-2-alpha-8",
|
|
15
|
+
"cdr-tabs__gradient--left": "cdr-tabs__gradient--left_14-0-2-alpha-8",
|
|
16
|
+
"cdr-tabs__gradient--right": "cdr-tabs__gradient--right_14-0-2-alpha-8",
|
|
17
|
+
"cdr-tabs__gradient--active": "cdr-tabs__gradient--active_14-0-2-alpha-8",
|
|
18
|
+
"cdr-tabs__underline": "cdr-tabs__underline_14-0-2-alpha-8",
|
|
19
|
+
"cdr-tabs__content-container": "cdr-tabs__content-container_14-0-2-alpha-8",
|
|
20
|
+
"fade-enter-active": "fade-enter-active_14-0-2-alpha-8",
|
|
21
|
+
"fade-leave-active": "fade-leave-active_14-0-2-alpha-8",
|
|
22
|
+
"fade-enter": "fade-enter_14-0-2-alpha-8",
|
|
23
|
+
"fade-leave-to": "fade-leave-to_14-0-2-alpha-8",
|
|
24
|
+
"cdr-tabs--compact": "cdr-tabs--compact_14-0-2-alpha-8",
|
|
25
|
+
"cdr-tabs__header-item-label": "cdr-tabs__header-item-label_14-0-2-alpha-8",
|
|
26
|
+
"cdr-tabs--small": "cdr-tabs--small_14-0-2-alpha-8",
|
|
27
|
+
"cdr-tabs--no-border": "cdr-tabs--no-border_14-0-2-alpha-8",
|
|
28
|
+
"cdr-tabs--full-width": "cdr-tabs--full-width_14-0-2-alpha-8",
|
|
29
|
+
"cdr-tabs--centered": "cdr-tabs--centered_14-0-2-alpha-8"
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
a as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import s from "./CdrText.vue2.mjs";
|
|
2
|
+
import o from "./styles/CdrText.module.scss.mjs";
|
|
3
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const r = {
|
|
5
|
+
$style: o
|
|
6
|
+
}, f = /* @__PURE__ */ t(s, [["__cssModules", r]]);
|
|
7
|
+
export {
|
|
8
|
+
f as default
|
|
9
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineComponent as n, useCssModule as o, openBlock as r, createBlock as a, resolveDynamicComponent as l, normalizeClass as c, unref as d, withCtx as p, renderSlot as u } from "vue";
|
|
2
|
+
const i = /* @__PURE__ */ n({
|
|
3
|
+
name: "CdrText",
|
|
4
|
+
__name: "CdrText",
|
|
5
|
+
props: {
|
|
6
|
+
/** Sets the HTML tag (p, span, h1, h2, etc) */
|
|
7
|
+
tag: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: "p"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
setup(e) {
|
|
13
|
+
const t = o();
|
|
14
|
+
return (s, m) => (r(), a(l(e.tag), {
|
|
15
|
+
class: c(d(t)["cdr-text"])
|
|
16
|
+
}, {
|
|
17
|
+
default: p(() => [u(s.$slots, "default")]),
|
|
18
|
+
_: 3
|
|
19
|
+
}, 8, ["class"]));
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
export {
|
|
23
|
+
i as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import s from "./CdrToast.vue2.mjs";
|
|
2
|
+
import o from "./styles/CdrToast.module.scss.mjs";
|
|
3
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const r = {
|
|
5
|
+
$style: o
|
|
6
|
+
}, f = /* @__PURE__ */ t(s, [["__cssModules", r]]);
|
|
7
|
+
export {
|
|
8
|
+
f as default
|
|
9
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { defineComponent as b, useCssModule as N, useSlots as g, ref as _, computed as w, watch as S, onUpdated as V, openBlock as m, createBlock as z, Transition as H, unref as e, withCtx as y, createElementBlock as C, normalizeClass as l, createElementVNode as E, renderSlot as f, createCommentVNode as T, createVNode as k } from "vue";
|
|
2
|
+
import I from "../../utils/propValidator.mjs";
|
|
3
|
+
import M from "../icon/comps/x-sm.vue.mjs";
|
|
4
|
+
import P from "../button/CdrButton.vue.mjs";
|
|
5
|
+
const h = "cdr-toast", F = /* @__PURE__ */ b({
|
|
6
|
+
name: "CdrToast",
|
|
7
|
+
__name: "CdrToast",
|
|
8
|
+
props: {
|
|
9
|
+
/**
|
|
10
|
+
* Sets the toast type.
|
|
11
|
+
* @demoSelectMultiple false
|
|
12
|
+
* @values info, success, warning, error, default
|
|
13
|
+
*/
|
|
14
|
+
type: {
|
|
15
|
+
type: String,
|
|
16
|
+
validator: (r) => I(r, ["info", "warning", "success", "error", "default"]),
|
|
17
|
+
default: "default"
|
|
18
|
+
},
|
|
19
|
+
/**
|
|
20
|
+
* Used to programmatically control the toast open/close state.
|
|
21
|
+
* @demoIgnore true
|
|
22
|
+
*/
|
|
23
|
+
open: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: !1
|
|
26
|
+
},
|
|
27
|
+
/** Set to `false` to disable automatic closing after the `dismissDelay`. */
|
|
28
|
+
autoDismiss: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: !0
|
|
31
|
+
},
|
|
32
|
+
/** Sets the interval (in milliseconds) before the toast automatically closes. */
|
|
33
|
+
dismissDelay: {
|
|
34
|
+
type: Number,
|
|
35
|
+
default: 5e3
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
emits: {
|
|
39
|
+
/** Emits when toast opens */
|
|
40
|
+
open: null,
|
|
41
|
+
/** Emits when toast closes */
|
|
42
|
+
closed: null
|
|
43
|
+
},
|
|
44
|
+
setup(r, {
|
|
45
|
+
emit: c
|
|
46
|
+
}) {
|
|
47
|
+
const o = r, t = N(), B = g()["icon-left"], n = _(!1), v = _(null);
|
|
48
|
+
let i, a;
|
|
49
|
+
const D = w(() => o.type && `${h}--${o.type}`), d = (s) => {
|
|
50
|
+
i ? clearTimeout(i) : c("open", s), n.value = !0, o.autoDismiss && !s && u();
|
|
51
|
+
}, $ = (s) => {
|
|
52
|
+
p(), n.value = !1, c("closed", s);
|
|
53
|
+
}, u = (s) => {
|
|
54
|
+
i = setTimeout(() => {
|
|
55
|
+
p(), n.value = !1, c("closed", s);
|
|
56
|
+
}, o.dismissDelay);
|
|
57
|
+
}, L = () => {
|
|
58
|
+
a = v.value, a && (a.addEventListener("mouseover", d), a.addEventListener("mouseleave", u));
|
|
59
|
+
}, p = () => {
|
|
60
|
+
a && (a.removeEventListener("mouseover", d), a.removeEventListener("mouseleave", u));
|
|
61
|
+
};
|
|
62
|
+
return S(() => o.open, () => {
|
|
63
|
+
o.open && d();
|
|
64
|
+
}), V(() => {
|
|
65
|
+
o.autoDismiss && L();
|
|
66
|
+
}), (s, W) => (m(), z(H, {
|
|
67
|
+
"enter-from-class": e(t)["cdr-toast__transition--toast-enter-from"],
|
|
68
|
+
"enter-active-class": e(t)["cdr-toast__transition--toast-enter-active"],
|
|
69
|
+
"leave-to-class": e(t)["cdr-toast__transition--toast-leave-to"],
|
|
70
|
+
"leave-active-class": e(t)["cdr-toast__transition--toast-leave-active"]
|
|
71
|
+
}, {
|
|
72
|
+
default: y(() => [n.value ? (m(), C("div", {
|
|
73
|
+
key: 0,
|
|
74
|
+
class: l([e(t)[h], e(t)[D.value]]),
|
|
75
|
+
role: "status",
|
|
76
|
+
ref_key: "toastEl",
|
|
77
|
+
ref: v
|
|
78
|
+
}, [E("div", {
|
|
79
|
+
class: l([e(t)["cdr-toast__main"]])
|
|
80
|
+
}, [e(B) ? (m(), C("div", {
|
|
81
|
+
key: 0,
|
|
82
|
+
class: l([e(t)["cdr-toast__icon-left"]])
|
|
83
|
+
}, [f(s.$slots, "icon-left")], 2)) : T("", !0), E("span", {
|
|
84
|
+
class: l([e(t)["cdr-toast__message"]])
|
|
85
|
+
}, [f(s.$slots, "default")], 2), k(P, {
|
|
86
|
+
class: l([e(t)["cdr-toast__close-button"]]),
|
|
87
|
+
"icon-only": "",
|
|
88
|
+
onClick: $,
|
|
89
|
+
"aria-label": "Close",
|
|
90
|
+
size: "small"
|
|
91
|
+
}, {
|
|
92
|
+
default: y(() => [f(s.$slots, "icon", {}, () => [k(M, {
|
|
93
|
+
"inherit-color": ""
|
|
94
|
+
})])]),
|
|
95
|
+
_: 3
|
|
96
|
+
}, 8, ["class"])], 2)], 2)) : T("", !0)]),
|
|
97
|
+
_: 3
|
|
98
|
+
}, 8, ["enter-from-class", "enter-active-class", "leave-to-class", "leave-active-class"]));
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
export {
|
|
102
|
+
F as default
|
|
103
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
const t = {
|
|
2
|
+
"cdr-button": "cdr-button_14-0-2-alpha-8",
|
|
3
|
+
"cdr-button--has-icon-left": "cdr-button--has-icon-left_14-0-2-alpha-8",
|
|
4
|
+
"cdr-button--has-icon-right": "cdr-button--has-icon-right_14-0-2-alpha-8",
|
|
5
|
+
"cdr-button--primary": "cdr-button--primary_14-0-2-alpha-8",
|
|
6
|
+
"cdr-button--secondary": "cdr-button--secondary_14-0-2-alpha-8",
|
|
7
|
+
"cdr-button--dark": "cdr-button--dark_14-0-2-alpha-8",
|
|
8
|
+
"cdr-button--sale": "cdr-button--sale_14-0-2-alpha-8",
|
|
9
|
+
"cdr-button--link": "cdr-button--link_14-0-2-alpha-8",
|
|
10
|
+
"cdr-button--large": "cdr-button--large_14-0-2-alpha-8",
|
|
11
|
+
"cdr-button--medium": "cdr-button--medium_14-0-2-alpha-8",
|
|
12
|
+
"cdr-button--small": "cdr-button--small_14-0-2-alpha-8",
|
|
13
|
+
"cdr-button--icon-only": "cdr-button--icon-only_14-0-2-alpha-8",
|
|
14
|
+
"cdr-button--icon-only-large": "cdr-button--icon-only-large_14-0-2-alpha-8",
|
|
15
|
+
"cdr-button--with-background": "cdr-button--with-background_14-0-2-alpha-8",
|
|
16
|
+
"cdr-button--full-width": "cdr-button--full-width_14-0-2-alpha-8",
|
|
17
|
+
"cdr-button--small@xs": "cdr-button--small@xs_14-0-2-alpha-8",
|
|
18
|
+
"cdr-button--medium@xs": "cdr-button--medium@xs_14-0-2-alpha-8",
|
|
19
|
+
"cdr-button--large@xs": "cdr-button--large@xs_14-0-2-alpha-8",
|
|
20
|
+
"cdr-button--full-width@xs": "cdr-button--full-width@xs_14-0-2-alpha-8",
|
|
21
|
+
"cdr-button--small@sm": "cdr-button--small@sm_14-0-2-alpha-8",
|
|
22
|
+
"cdr-button--medium@sm": "cdr-button--medium@sm_14-0-2-alpha-8",
|
|
23
|
+
"cdr-button--large@sm": "cdr-button--large@sm_14-0-2-alpha-8",
|
|
24
|
+
"cdr-button--full-width@sm": "cdr-button--full-width@sm_14-0-2-alpha-8",
|
|
25
|
+
"cdr-button--small@md": "cdr-button--small@md_14-0-2-alpha-8",
|
|
26
|
+
"cdr-button--medium@md": "cdr-button--medium@md_14-0-2-alpha-8",
|
|
27
|
+
"cdr-button--large@md": "cdr-button--large@md_14-0-2-alpha-8",
|
|
28
|
+
"cdr-button--full-width@md": "cdr-button--full-width@md_14-0-2-alpha-8",
|
|
29
|
+
"cdr-button--small@lg": "cdr-button--small@lg_14-0-2-alpha-8",
|
|
30
|
+
"cdr-button--medium@lg": "cdr-button--medium@lg_14-0-2-alpha-8",
|
|
31
|
+
"cdr-button--large@lg": "cdr-button--large@lg_14-0-2-alpha-8",
|
|
32
|
+
"cdr-button--full-width@lg": "cdr-button--full-width@lg_14-0-2-alpha-8",
|
|
33
|
+
"cdr-icon": "cdr-icon_14-0-2-alpha-8",
|
|
34
|
+
"cdr-icon--small": "cdr-icon--small_14-0-2-alpha-8",
|
|
35
|
+
"cdr-icon--large": "cdr-icon--large_14-0-2-alpha-8",
|
|
36
|
+
"cdr-icon--small@xs": "cdr-icon--small@xs_14-0-2-alpha-8",
|
|
37
|
+
"cdr-icon--large@xs": "cdr-icon--large@xs_14-0-2-alpha-8",
|
|
38
|
+
"cdr-icon--small@sm": "cdr-icon--small@sm_14-0-2-alpha-8",
|
|
39
|
+
"cdr-icon--large@sm": "cdr-icon--large@sm_14-0-2-alpha-8",
|
|
40
|
+
"cdr-icon--small@md": "cdr-icon--small@md_14-0-2-alpha-8",
|
|
41
|
+
"cdr-icon--large@md": "cdr-icon--large@md_14-0-2-alpha-8",
|
|
42
|
+
"cdr-icon--small@lg": "cdr-icon--small@lg_14-0-2-alpha-8",
|
|
43
|
+
"cdr-icon--large@lg": "cdr-icon--large@lg_14-0-2-alpha-8",
|
|
44
|
+
"cdr-icon--inherit-color": "cdr-icon--inherit-color_14-0-2-alpha-8",
|
|
45
|
+
"cdr-toast": "cdr-toast_14-0-2-alpha-8",
|
|
46
|
+
"cdr-toast__transition--toast-enter-from": "cdr-toast__transition--toast-enter-from_14-0-2-alpha-8",
|
|
47
|
+
"cdr-toast__transition--toast-enter-active": "cdr-toast__transition--toast-enter-active_14-0-2-alpha-8",
|
|
48
|
+
"cdr-toast__transition--toast-leave-to": "cdr-toast__transition--toast-leave-to_14-0-2-alpha-8",
|
|
49
|
+
"cdr-toast__transition--toast-leave-active": "cdr-toast__transition--toast-leave-active_14-0-2-alpha-8",
|
|
50
|
+
"cdr-toast__main": "cdr-toast__main_14-0-2-alpha-8",
|
|
51
|
+
"cdr-toast__icon-left": "cdr-toast__icon-left_14-0-2-alpha-8",
|
|
52
|
+
"cdr-toast__message": "cdr-toast__message_14-0-2-alpha-8",
|
|
53
|
+
"cdr-toast__close-button": "cdr-toast__close-button_14-0-2-alpha-8",
|
|
54
|
+
"cdr-toast--default": "cdr-toast--default_14-0-2-alpha-8",
|
|
55
|
+
"cdr-toast--info": "cdr-toast--info_14-0-2-alpha-8",
|
|
56
|
+
"cdr-toast--warning": "cdr-toast--warning_14-0-2-alpha-8",
|
|
57
|
+
"cdr-toast--success": "cdr-toast--success_14-0-2-alpha-8",
|
|
58
|
+
"cdr-toast--error": "cdr-toast--error_14-0-2-alpha-8"
|
|
59
|
+
};
|
|
60
|
+
export {
|
|
61
|
+
t as default
|
|
62
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import o from "./CdrToggleButton.vue2.mjs";
|
|
2
|
+
import s from "./styles/CdrToggleButton.module.scss.mjs";
|
|
3
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const r = {
|
|
5
|
+
$style: s
|
|
6
|
+
}, f = /* @__PURE__ */ t(o, [["__cssModules", r]]);
|
|
7
|
+
export {
|
|
8
|
+
f as default
|
|
9
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { defineComponent as s, useCssModule as u, inject as g, ref as i, computed as d, openBlock as m, createElementBlock as f, normalizeClass as o, unref as a, createElementVNode as p, renderSlot as b, createTextVNode as V, toDisplayString as v } from "vue";
|
|
2
|
+
import { selectedToggleKey as C } from "../../types/symbols.mjs";
|
|
3
|
+
const T = ["value", "aria-label", "aria-checked", "tabindex"], x = /* @__PURE__ */ s({
|
|
4
|
+
name: "CdrToggleButton",
|
|
5
|
+
__name: "CdrToggleButton",
|
|
6
|
+
props: {
|
|
7
|
+
/**
|
|
8
|
+
* Sets the value and aria-label for the toggle button. Display can be overridden using default slot
|
|
9
|
+
*/
|
|
10
|
+
toggleValue: {
|
|
11
|
+
type: String,
|
|
12
|
+
required: !0
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
setup(e) {
|
|
16
|
+
const r = e, t = u(), n = g(C, i("")), l = d(() => r.toggleValue === n.value);
|
|
17
|
+
return (c, _) => (m(), f("li", {
|
|
18
|
+
role: "presentation",
|
|
19
|
+
class: o(a(t)["cdr-toggle-button__container"])
|
|
20
|
+
}, [p("button", {
|
|
21
|
+
role: "radio",
|
|
22
|
+
class: o(a(t)["cdr-toggle-button__item"]),
|
|
23
|
+
value: e.toggleValue,
|
|
24
|
+
"aria-label": e.toggleValue,
|
|
25
|
+
"aria-checked": l.value ? "true" : "false",
|
|
26
|
+
tabindex: l.value ? 0 : -1
|
|
27
|
+
}, [b(c.$slots, "default", {}, () => [V(v(e.toggleValue), 1)])], 10, T)], 2));
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
export {
|
|
31
|
+
x as default
|
|
32
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import o from "./CdrToggleGroup.vue2.mjs";
|
|
2
|
+
import s from "./styles/CdrToggleGroup.module.scss.mjs";
|
|
3
|
+
import r from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const t = {
|
|
5
|
+
$style: s
|
|
6
|
+
}, f = /* @__PURE__ */ r(o, [["__cssModules", t]]);
|
|
7
|
+
export {
|
|
8
|
+
f as default
|
|
9
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { defineComponent as C, useCssModule as b, ref as a, provide as h, computed as _, onMounted as V, watch as k, openBlock as T, createElementBlock as z, mergeProps as G, unref as i, withModifiers as c, withKeys as d, renderSlot as K } from "vue";
|
|
2
|
+
import S from "../../utils/mapClasses.mjs";
|
|
3
|
+
import w from "../../utils/propValidator.mjs";
|
|
4
|
+
import { selectedToggleKey as A } from "../../types/symbols.mjs";
|
|
5
|
+
const M = ["onClick", "onKeyup"], O = "cdr-toggle-group", F = /* @__PURE__ */ C({
|
|
6
|
+
name: "CdrToggleGroup",
|
|
7
|
+
__name: "CdrToggleGroup",
|
|
8
|
+
props: {
|
|
9
|
+
/** @ignore */
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: [String, Number, Boolean, Object, Array],
|
|
12
|
+
required: !0
|
|
13
|
+
},
|
|
14
|
+
/**
|
|
15
|
+
* Sets toggle button size
|
|
16
|
+
* @demoSelectMultiple false
|
|
17
|
+
* @values medium, large
|
|
18
|
+
*/
|
|
19
|
+
size: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: "medium",
|
|
22
|
+
validator: (u) => w(u, ["medium", "large"])
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
emits: {
|
|
26
|
+
/**
|
|
27
|
+
* Event emitted by v-model
|
|
28
|
+
* @param modelValue
|
|
29
|
+
*/
|
|
30
|
+
"update:modelValue": null
|
|
31
|
+
},
|
|
32
|
+
setup(u, {
|
|
33
|
+
emit: g
|
|
34
|
+
}) {
|
|
35
|
+
const n = u, p = b(), s = a(null), l = a(n.modelValue);
|
|
36
|
+
h(A, l);
|
|
37
|
+
const m = _(() => n.size ? `cdr-toggle-group--${n.size}` : "cdr-toggle-group--medium");
|
|
38
|
+
let r;
|
|
39
|
+
V(() => {
|
|
40
|
+
s.value && (r = Array.from(s.value.querySelectorAll("button")));
|
|
41
|
+
}), k(() => n.modelValue, (e) => {
|
|
42
|
+
l.value = e;
|
|
43
|
+
});
|
|
44
|
+
const f = (e) => {
|
|
45
|
+
var o;
|
|
46
|
+
if (!((o = e.target) != null && o.closest("button")))
|
|
47
|
+
return;
|
|
48
|
+
const t = e.target.closest("button");
|
|
49
|
+
t && (l.value = t.value, g("update:modelValue", t.value), t.focus());
|
|
50
|
+
}, B = (e) => {
|
|
51
|
+
const t = e.target, o = r.indexOf(t);
|
|
52
|
+
if (o === r.length - 1)
|
|
53
|
+
return;
|
|
54
|
+
r[o + 1].focus();
|
|
55
|
+
}, v = (e) => {
|
|
56
|
+
const t = e.target, o = r.indexOf(t);
|
|
57
|
+
if (o === 0)
|
|
58
|
+
return;
|
|
59
|
+
r[o - 1].focus();
|
|
60
|
+
};
|
|
61
|
+
return (e, t) => (T(), z("ul", G({
|
|
62
|
+
ref_key: "toggleGroup",
|
|
63
|
+
ref: s,
|
|
64
|
+
role: "radiogroup"
|
|
65
|
+
}, e.$attrs, {
|
|
66
|
+
class: i(S)(i(p), O, m.value),
|
|
67
|
+
onClick: c(f, ["prevent"]),
|
|
68
|
+
onKeyup: [d(c(B, ["prevent"]), ["right"]), d(c(v, ["prevent"]), ["left"])]
|
|
69
|
+
}), [K(e.$slots, "default")], 16, M));
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
export {
|
|
73
|
+
F as default
|
|
74
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
const g = {
|
|
2
|
+
"cdr-toggle-group": "cdr-toggle-group_14-0-2-alpha-8",
|
|
3
|
+
"cdr-toggle-group--medium": "cdr-toggle-group--medium_14-0-2-alpha-8",
|
|
4
|
+
"cdr-toggle-button__item": "cdr-toggle-button__item_14-0-2-alpha-8",
|
|
5
|
+
"cdr-toggle-button__container": "cdr-toggle-button__container_14-0-2-alpha-8",
|
|
6
|
+
"cdr-toggle-group--large": "cdr-toggle-group--large_14-0-2-alpha-8"
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
g as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import o from "./CdrTooltip.vue2.mjs";
|
|
2
|
+
import s from "./styles/CdrTooltip.module.scss.mjs";
|
|
3
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const r = {
|
|
5
|
+
$style: s
|
|
6
|
+
}, f = /* @__PURE__ */ t(o, [["__cssModules", r]]);
|
|
7
|
+
export {
|
|
8
|
+
f as default
|
|
9
|
+
};
|