@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,10 @@
|
|
|
1
|
+
const o = "#ffffff", r = "8", n = "16", c = "32", t = "768", a = "992", d = "1232";
|
|
2
|
+
export {
|
|
3
|
+
d as CdrBreakpointLg,
|
|
4
|
+
a as CdrBreakpointMd,
|
|
5
|
+
t as CdrBreakpointSm,
|
|
6
|
+
o as CdrColorBackgroundPrimary,
|
|
7
|
+
r as CdrSpaceHalfX,
|
|
8
|
+
n as CdrSpaceOneX,
|
|
9
|
+
c as CdrSpaceTwoX
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import o from "./CdrAccordion.vue2.mjs";
|
|
2
|
+
import s from "./styles/CdrAccordion.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,133 @@
|
|
|
1
|
+
import { defineComponent as M, useCssModule as F, inject as K, ref as m, computed as a, watch as O, onMounted as P, openBlock as p, createElementBlock as G, normalizeClass as s, unref as e, createBlock as b, resolveDynamicComponent as $, withCtx as _, mergeProps as I, toHandlers as J, createElementVNode as h, renderSlot as S, createTextVNode as L, toDisplayString as Q, createCommentVNode as R, normalizeStyle as U } from "vue";
|
|
2
|
+
import W from "../icon/comps/caret-down.vue.mjs";
|
|
3
|
+
import { modifyClassName as r } from "../../utils/buildClass.mjs";
|
|
4
|
+
import v from "../../utils/mapClasses.mjs";
|
|
5
|
+
import { unwrappedKey as X } from "../../types/symbols.mjs";
|
|
6
|
+
const Y = ["id"], Z = ["id"], ee = ["aria-hidden", "id"], oe = "cdr-accordion__label", d = "cdr-accordion", ne = "cdr-accordion__icon", ae = "cdr-accordion__content-container", le = "cdr-accordion__content", re = /* @__PURE__ */ M({
|
|
7
|
+
name: "CdrAccordion",
|
|
8
|
+
__name: "CdrAccordion",
|
|
9
|
+
props: {
|
|
10
|
+
/**
|
|
11
|
+
* The unique id of an accordion.
|
|
12
|
+
* @demoIgnore true
|
|
13
|
+
*/
|
|
14
|
+
id: {
|
|
15
|
+
type: String,
|
|
16
|
+
required: !0
|
|
17
|
+
},
|
|
18
|
+
/**
|
|
19
|
+
* Toggle this value to open/close the accordion.
|
|
20
|
+
* @demoIgnore true
|
|
21
|
+
*/
|
|
22
|
+
opened: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: !1
|
|
25
|
+
},
|
|
26
|
+
/**
|
|
27
|
+
* Sets a compact style.
|
|
28
|
+
*/
|
|
29
|
+
compact: {
|
|
30
|
+
type: Boolean,
|
|
31
|
+
default: !1
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* Sets a border-aligned style.
|
|
35
|
+
*/
|
|
36
|
+
borderAligned: {
|
|
37
|
+
type: Boolean,
|
|
38
|
+
default: !1
|
|
39
|
+
},
|
|
40
|
+
/**
|
|
41
|
+
* Sets the heading level
|
|
42
|
+
* @demoIgnore true
|
|
43
|
+
*/
|
|
44
|
+
level: {
|
|
45
|
+
type: [String, Number],
|
|
46
|
+
required: !0
|
|
47
|
+
},
|
|
48
|
+
/**
|
|
49
|
+
* Toggles content spacing (padding)
|
|
50
|
+
*/
|
|
51
|
+
contentSpacing: {
|
|
52
|
+
type: Boolean,
|
|
53
|
+
default: !0
|
|
54
|
+
},
|
|
55
|
+
/**
|
|
56
|
+
* Sets the readable text on CdrAccordion button (also can be slotted)
|
|
57
|
+
* @demoIgnore true
|
|
58
|
+
*/
|
|
59
|
+
label: {
|
|
60
|
+
type: String
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
emits: {
|
|
64
|
+
/**
|
|
65
|
+
* Emits on accordion open/close
|
|
66
|
+
*/
|
|
67
|
+
"accordion-toggle": null
|
|
68
|
+
},
|
|
69
|
+
setup(n, {
|
|
70
|
+
emit: B
|
|
71
|
+
}) {
|
|
72
|
+
const l = n, t = F(), o = K(X, m(!1)), u = m(null), f = m(!1), i = m(l.opened ? "none" : "0px"), k = `h${l.level}`, w = a(() => o.value ? "div" : "button"), A = a(() => o.value ? "js-cdr-accordion-button" : [t["cdr-accordion__button"], "js-cdr-accordion-button"]), H = a(() => o.value ? "cdr-accordion__header--unwrapped" : "cdr-accordion__header"), N = a(() => l.compact ? r(d, "compact") : ""), z = a(() => l.borderAligned ? r(d, "border-aligned") : ""), E = a(() => f.value ? r(d, "focused") : ""), y = a(() => o.value ? r(d, "unwrap") : ""), T = a(() => l.contentSpacing ? "" : r(d, "no-spacing")), C = a(() => l.opened || o.value ? "cdr-accordion--open" : "cdr-accordion--closed"), j = (c) => {
|
|
73
|
+
B("accordion-toggle", c);
|
|
74
|
+
}, V = () => {
|
|
75
|
+
f.value = !0;
|
|
76
|
+
}, q = () => {
|
|
77
|
+
f.value = !1;
|
|
78
|
+
}, D = a(() => o.value ? {} : {
|
|
79
|
+
click: j,
|
|
80
|
+
focus: V,
|
|
81
|
+
blur: q
|
|
82
|
+
});
|
|
83
|
+
return O(() => l.opened, (c) => {
|
|
84
|
+
var g;
|
|
85
|
+
i.value = c ? "0px" : `${(g = u.value) == null ? void 0 : g.clientHeight}px`, setTimeout(() => {
|
|
86
|
+
var x;
|
|
87
|
+
i.value = c ? `${(x = u.value) == null ? void 0 : x.clientHeight}px` : "0px", setTimeout(() => {
|
|
88
|
+
i.value = c ? "none" : "0px";
|
|
89
|
+
}, 350);
|
|
90
|
+
}, 50);
|
|
91
|
+
}), P(() => {
|
|
92
|
+
l.opened && u.value && (i.value = "none");
|
|
93
|
+
}), (c, g) => (p(), G("div", {
|
|
94
|
+
class: s(e(o) ? null : e(v)(e(t), d, N.value, z.value, E.value, T.value)),
|
|
95
|
+
id: `${n.id}-accordion`
|
|
96
|
+
}, [(p(), b($(k), {
|
|
97
|
+
class: s(e(t)[H.value])
|
|
98
|
+
}, {
|
|
99
|
+
default: _(() => [(p(), b($(w.value), I({
|
|
100
|
+
class: A.value,
|
|
101
|
+
id: n.id
|
|
102
|
+
}, J(D.value), {
|
|
103
|
+
"aria-expanded": e(o) ? null : `${n.opened}`,
|
|
104
|
+
"aria-controls": e(o) ? null : `${n.id}-collapsible`
|
|
105
|
+
}), {
|
|
106
|
+
default: _(() => [h("span", {
|
|
107
|
+
class: s(e(t)[oe]),
|
|
108
|
+
id: `${n.id}-label`
|
|
109
|
+
}, [S(c.$slots, "label", {}, () => [L(Q(n.label), 1)])], 10, Z), e(o) ? R("", !0) : (p(), b(W, {
|
|
110
|
+
key: 0,
|
|
111
|
+
class: s(e(v)(e(t), ne, C.value)),
|
|
112
|
+
size: n.compact ? "small" : null
|
|
113
|
+
}, null, 8, ["class", "size"]))]),
|
|
114
|
+
_: 3
|
|
115
|
+
}, 16, ["class", "id", "aria-expanded", "aria-controls"]))]),
|
|
116
|
+
_: 3
|
|
117
|
+
}, 8, ["class"])), h("div", {
|
|
118
|
+
class: s(e(v)(e(t), ae, C.value, y.value)),
|
|
119
|
+
style: U({
|
|
120
|
+
maxHeight: e(o) ? "none" : i.value
|
|
121
|
+
})
|
|
122
|
+
}, [h("div", {
|
|
123
|
+
class: s(e(v)(e(t), le, C.value, y.value)),
|
|
124
|
+
"aria-hidden": e(o) ? void 0 : `${!n.opened}`,
|
|
125
|
+
id: `${n.id}-collapsible`,
|
|
126
|
+
ref_key: "accordionContentEl",
|
|
127
|
+
ref: u
|
|
128
|
+
}, [S(c.$slots, "default")], 10, ee)], 6)], 10, Y));
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
export {
|
|
132
|
+
re as default
|
|
133
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import o from "./CdrAccordionGroup.vue2.mjs";
|
|
2
|
+
import s from "./styles/CdrAccordionGroup.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,72 @@
|
|
|
1
|
+
import { defineComponent as g, useCssModule as x, ref as u, provide as k, computed as l, onMounted as b, openBlock as A, createElementBlock as C, normalizeClass as D, unref as h, renderSlot as B } from "vue";
|
|
2
|
+
import { debounce as _ } from "../../utils/debounce.mjs";
|
|
3
|
+
import E from "../../utils/propValidator.mjs";
|
|
4
|
+
import i from "../../mixins/breakpoints.mjs";
|
|
5
|
+
import { unwrappedKey as G } from "../../types/symbols.mjs";
|
|
6
|
+
const I = "cdr-accordion-group", U = /* @__PURE__ */ g({
|
|
7
|
+
name: "CdrAccordionGroup",
|
|
8
|
+
__name: "CdrAccordionGroup",
|
|
9
|
+
props: {
|
|
10
|
+
/**
|
|
11
|
+
* A prop that will present accordion content as unwrapped. All content is expanded at the provided breakpoints.
|
|
12
|
+
* @values @xs, @sm, @md, @lg, true
|
|
13
|
+
*/
|
|
14
|
+
unwrap: {
|
|
15
|
+
type: [String, Boolean],
|
|
16
|
+
default: !1,
|
|
17
|
+
validator: (o) => typeof o == "string" ? E(o, ["@xs", "@sm", "@md", "@lg"], !1) : typeof o == "boolean"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
setup(o) {
|
|
21
|
+
const t = o, f = x(), a = u(0), c = u(), p = u(null), s = u(!!t.unwrap);
|
|
22
|
+
k(G, s);
|
|
23
|
+
const r = l(() => c.value ? [...c.value] : []), v = l(() => {
|
|
24
|
+
var n;
|
|
25
|
+
const e = a.value + 1;
|
|
26
|
+
return e >= ((n = r.value) == null ? void 0 : n.length) ? 0 : e;
|
|
27
|
+
}), m = l(() => {
|
|
28
|
+
const e = a.value - 1;
|
|
29
|
+
return e <= -1 ? r.value.length - 1 : e;
|
|
30
|
+
}), w = (e) => {
|
|
31
|
+
var d;
|
|
32
|
+
if (a.value === -1)
|
|
33
|
+
return;
|
|
34
|
+
const {
|
|
35
|
+
key: n
|
|
36
|
+
} = e;
|
|
37
|
+
switch (n) {
|
|
38
|
+
case "Home":
|
|
39
|
+
e.preventDefault(), (d = r.value[0]) == null || d.focus();
|
|
40
|
+
break;
|
|
41
|
+
case "End":
|
|
42
|
+
e.preventDefault(), r.value[r.value.length - 1].focus();
|
|
43
|
+
break;
|
|
44
|
+
case "ArrowDown":
|
|
45
|
+
case "Down":
|
|
46
|
+
e.preventDefault(), r.value[v.value].focus();
|
|
47
|
+
break;
|
|
48
|
+
case "ArrowUp":
|
|
49
|
+
case "Up":
|
|
50
|
+
e.preventDefault(), r.value[m.value].focus();
|
|
51
|
+
break;
|
|
52
|
+
}
|
|
53
|
+
}, y = (e) => {
|
|
54
|
+
a.value = Array.prototype.indexOf.call(r.value, e.target);
|
|
55
|
+
};
|
|
56
|
+
return b(() => {
|
|
57
|
+
var e;
|
|
58
|
+
c.value = (e = p.value) == null ? void 0 : e.querySelectorAll(".js-cdr-accordion-button"), typeof t.unwrap == "string" && (s.value = t.unwrap.indexOf(i()) !== -1, window.addEventListener("resize", _(() => {
|
|
59
|
+
s.value = t.unwrap.indexOf(i()) !== -1;
|
|
60
|
+
}, 300)));
|
|
61
|
+
}), (e, n) => (A(), C("div", {
|
|
62
|
+
class: D(h(f)[I]),
|
|
63
|
+
ref_key: "accordionGroupEl",
|
|
64
|
+
ref: p,
|
|
65
|
+
onFocusin: y,
|
|
66
|
+
onKeydown: w
|
|
67
|
+
}, [B(e.$slots, "default")], 34));
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
export {
|
|
71
|
+
U as default
|
|
72
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const c = {
|
|
2
|
+
"cdr-icon": "cdr-icon_14-0-2-alpha-8",
|
|
3
|
+
"cdr-icon--small": "cdr-icon--small_14-0-2-alpha-8",
|
|
4
|
+
"cdr-icon--large": "cdr-icon--large_14-0-2-alpha-8",
|
|
5
|
+
"cdr-icon--small@xs": "cdr-icon--small@xs_14-0-2-alpha-8",
|
|
6
|
+
"cdr-icon--large@xs": "cdr-icon--large@xs_14-0-2-alpha-8",
|
|
7
|
+
"cdr-icon--small@sm": "cdr-icon--small@sm_14-0-2-alpha-8",
|
|
8
|
+
"cdr-icon--large@sm": "cdr-icon--large@sm_14-0-2-alpha-8",
|
|
9
|
+
"cdr-icon--small@md": "cdr-icon--small@md_14-0-2-alpha-8",
|
|
10
|
+
"cdr-icon--large@md": "cdr-icon--large@md_14-0-2-alpha-8",
|
|
11
|
+
"cdr-icon--small@lg": "cdr-icon--small@lg_14-0-2-alpha-8",
|
|
12
|
+
"cdr-icon--large@lg": "cdr-icon--large@lg_14-0-2-alpha-8",
|
|
13
|
+
"cdr-icon--inherit-color": "cdr-icon--inherit-color_14-0-2-alpha-8",
|
|
14
|
+
"cdr-accordion-group": "cdr-accordion-group_14-0-2-alpha-8",
|
|
15
|
+
"cdr-accordion": "cdr-accordion_14-0-2-alpha-8",
|
|
16
|
+
"cdr-accordion__button": "cdr-accordion__button_14-0-2-alpha-8",
|
|
17
|
+
"cdr-accordion__label": "cdr-accordion__label_14-0-2-alpha-8",
|
|
18
|
+
"cdr-accordion__header": "cdr-accordion__header_14-0-2-alpha-8",
|
|
19
|
+
"cdr-accordion__header--unwrapped": "cdr-accordion__header--unwrapped_14-0-2-alpha-8",
|
|
20
|
+
"cdr-accordion__icon": "cdr-accordion__icon_14-0-2-alpha-8",
|
|
21
|
+
"cdr-accordion--open": "cdr-accordion--open_14-0-2-alpha-8",
|
|
22
|
+
"cdr-accordion__content-container": "cdr-accordion__content-container_14-0-2-alpha-8",
|
|
23
|
+
"cdr-tabs--open": "cdr-tabs--open_14-0-2-alpha-8",
|
|
24
|
+
"cdr-accordion__content": "cdr-accordion__content_14-0-2-alpha-8",
|
|
25
|
+
"cdr-accordion--closed": "cdr-accordion--closed_14-0-2-alpha-8",
|
|
26
|
+
"cdr-accordion--unwrap": "cdr-accordion--unwrap_14-0-2-alpha-8",
|
|
27
|
+
"cdr-accordion--border-aligned": "cdr-accordion--border-aligned_14-0-2-alpha-8",
|
|
28
|
+
"cdr-accordion--no-spacing": "cdr-accordion--no-spacing_14-0-2-alpha-8",
|
|
29
|
+
"cdr-accordion--compact": "cdr-accordion--compact_14-0-2-alpha-8",
|
|
30
|
+
"cdr-accordion--focused": "cdr-accordion--focused_14-0-2-alpha-8"
|
|
31
|
+
};
|
|
32
|
+
export {
|
|
33
|
+
c as default
|
|
34
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import s from "./CdrBanner.vue2.mjs";
|
|
2
|
+
import o from "./styles/CdrBanner.module.scss.mjs";
|
|
3
|
+
import r from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const t = {
|
|
5
|
+
$style: o
|
|
6
|
+
}, f = /* @__PURE__ */ r(s, [["__cssModules", t]]);
|
|
7
|
+
export {
|
|
8
|
+
f as default
|
|
9
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { defineComponent as h, useSlots as C, useCssModule as $, computed as m, openBlock as r, createElementBlock as t, normalizeClass as n, unref as e, createElementVNode as d, renderSlot as c, createCommentVNode as l } from "vue";
|
|
2
|
+
import k from "../../utils/propValidator.mjs";
|
|
3
|
+
const p = "cdr-banner", S = /* @__PURE__ */ h({
|
|
4
|
+
name: "CdrBanner",
|
|
5
|
+
__name: "CdrBanner",
|
|
6
|
+
props: {
|
|
7
|
+
/**
|
|
8
|
+
* Sets the banner style.
|
|
9
|
+
* @demoSelectMultiple false
|
|
10
|
+
* @values info, warning, success, error, default
|
|
11
|
+
*/
|
|
12
|
+
type: {
|
|
13
|
+
type: String,
|
|
14
|
+
validator: (i) => k(i, ["info", "warning", "success", "error", "default"]),
|
|
15
|
+
default: "default"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
setup(i) {
|
|
19
|
+
const u = i, o = C(), s = $(), f = m(() => `${p}--${u.type}`), _ = m(() => o["message-body"] ? `${p}__wrapper--prominence` : ""), y = o["icon-left"], b = o["icon-right"], g = o["message-body"], v = o["info-action"];
|
|
20
|
+
return (a, B) => (r(), t("div", {
|
|
21
|
+
class: n([e(s)[p], e(s)[f.value]])
|
|
22
|
+
}, [d("div", {
|
|
23
|
+
class: n([e(s)["cdr-banner__wrapper"], e(s)[_.value]])
|
|
24
|
+
}, [d("div", {
|
|
25
|
+
class: n([e(s)["cdr-banner__main"]])
|
|
26
|
+
}, [e(y) ? (r(), t("div", {
|
|
27
|
+
key: 0,
|
|
28
|
+
class: n([e(s)["cdr-banner__icon-left"]])
|
|
29
|
+
}, [c(a.$slots, "icon-left")], 2)) : l("", !0), d("span", {
|
|
30
|
+
class: n([e(s)["cdr-banner__message"]])
|
|
31
|
+
}, [c(a.$slots, "default")], 2), e(b) ? (r(), t("div", {
|
|
32
|
+
key: 1,
|
|
33
|
+
class: n([e(s)["cdr-banner__icon-right"]])
|
|
34
|
+
}, [c(a.$slots, "icon-right")], 2)) : l("", !0)], 2), e(g) ? (r(), t("div", {
|
|
35
|
+
key: 0,
|
|
36
|
+
class: n([e(s)["cdr-banner__message-body"]])
|
|
37
|
+
}, [c(a.$slots, "message-body")], 2)) : l("", !0)], 2), e(v) ? (r(), t("div", {
|
|
38
|
+
key: 0,
|
|
39
|
+
class: n([e(s)["cdr-banner__info-action"]])
|
|
40
|
+
}, [c(a.$slots, "info-action")], 2)) : l("", !0)], 2));
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
export {
|
|
44
|
+
S as default
|
|
45
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const n = {
|
|
2
|
+
"cdr-banner": "cdr-banner_14-0-2-alpha-8",
|
|
3
|
+
"cdr-banner__wrapper--prominence": "cdr-banner__wrapper--prominence_14-0-2-alpha-8",
|
|
4
|
+
"cdr-banner__main": "cdr-banner__main_14-0-2-alpha-8",
|
|
5
|
+
"cdr-banner__icon-left": "cdr-banner__icon-left_14-0-2-alpha-8",
|
|
6
|
+
"cdr-banner__message": "cdr-banner__message_14-0-2-alpha-8",
|
|
7
|
+
"cdr-banner__message-body": "cdr-banner__message-body_14-0-2-alpha-8",
|
|
8
|
+
"cdr-banner__icon-right": "cdr-banner__icon-right_14-0-2-alpha-8",
|
|
9
|
+
"cdr-banner__info-action": "cdr-banner__info-action_14-0-2-alpha-8",
|
|
10
|
+
"cdr-banner--default": "cdr-banner--default_14-0-2-alpha-8",
|
|
11
|
+
"cdr-banner__wrapper": "cdr-banner__wrapper_14-0-2-alpha-8",
|
|
12
|
+
"cdr-banner--info": "cdr-banner--info_14-0-2-alpha-8",
|
|
13
|
+
"cdr-banner--warning": "cdr-banner--warning_14-0-2-alpha-8",
|
|
14
|
+
"cdr-banner--success": "cdr-banner--success_14-0-2-alpha-8",
|
|
15
|
+
"cdr-banner--error": "cdr-banner--error_14-0-2-alpha-8"
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
n as default
|
|
19
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import s from "./CdrBreadcrumb.vue2.mjs";
|
|
2
|
+
import o from "./styles/CdrBreadcrumb.module.scss.mjs";
|
|
3
|
+
import r from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const t = {
|
|
5
|
+
$style: o
|
|
6
|
+
}, f = /* @__PURE__ */ r(s, [["__cssModules", t]]);
|
|
7
|
+
export {
|
|
8
|
+
f as default
|
|
9
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { defineComponent as v, useCssModule as C, ref as h, computed as E, watch as B, openBlock as s, createElementBlock as c, normalizeClass as a, unref as t, createElementVNode as o, createCommentVNode as p, Fragment as L, renderList as w, withDirectives as $, renderSlot as S, toDisplayString as x, vShow as j, nextTick as q } from "vue";
|
|
2
|
+
import A from "../../utils/uid.mjs";
|
|
3
|
+
const D = ["id"], N = ["id"], O = ["aria-controls", "aria-label"], V = ["href", "onClick"], I = /* @__PURE__ */ v({
|
|
4
|
+
name: "CdrBreadcrumb",
|
|
5
|
+
__name: "CdrBreadcrumb",
|
|
6
|
+
props: {
|
|
7
|
+
/**
|
|
8
|
+
* Sets the array of a breadcrumb object containing a 'url' and 'name' property.
|
|
9
|
+
* @demoIgnore true
|
|
10
|
+
*/
|
|
11
|
+
items: {
|
|
12
|
+
type: Array,
|
|
13
|
+
default: () => [],
|
|
14
|
+
validator: (r) => {
|
|
15
|
+
if (r.length && r.length > 0)
|
|
16
|
+
for (let e = 0; e < r.length; e += 1) {
|
|
17
|
+
if (typeof r[e].item != "object")
|
|
18
|
+
return console.error("Breadcrumb items array missing item key at index ", e), !1;
|
|
19
|
+
if (!Object.hasOwnProperty.call(r[e].item, "name"))
|
|
20
|
+
return console.error("Breadcrumb items array is missing item.name value at index ", e), !1;
|
|
21
|
+
}
|
|
22
|
+
return !0;
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
/**
|
|
26
|
+
* Controls the ability to truncate the entire breadcrumb path. If this value is false, truncation will no longer occur.
|
|
27
|
+
*/
|
|
28
|
+
truncationEnabled: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: !0
|
|
31
|
+
},
|
|
32
|
+
/**
|
|
33
|
+
* Define a custom ID for the `<nav>` element. Randomly generated if no ID provided.
|
|
34
|
+
* @demoIgnore true
|
|
35
|
+
*/
|
|
36
|
+
id: {
|
|
37
|
+
type: String
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
emits: {
|
|
41
|
+
/**
|
|
42
|
+
* Emits when a breadcrumb item is clicked. `e.preventDefault()` may be used to override the default link navigation.
|
|
43
|
+
* @param breadcrumb The breadcrumb data object
|
|
44
|
+
*/
|
|
45
|
+
navigate: null
|
|
46
|
+
},
|
|
47
|
+
setup(r) {
|
|
48
|
+
const e = r, i = C(), m = e.id ? e.id : A(), d = h(e.truncationEnabled && e.items.length > 2), f = h(null), _ = h(null), g = E(() => {
|
|
49
|
+
const n = e.items.length - 2 > 1 ? "s" : "";
|
|
50
|
+
return `show ${e.items.length - 2} more navigation level${n}`;
|
|
51
|
+
}), y = () => {
|
|
52
|
+
d.value = !1, q(() => {
|
|
53
|
+
var n, u;
|
|
54
|
+
_.value = (n = f.value) == null ? void 0 : n.querySelector("li a"), (u = _.value) == null || u.focus();
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
return B(() => e.items, () => {
|
|
58
|
+
d.value = e.truncationEnabled && e.items.length > 2;
|
|
59
|
+
}), (n, u) => (s(), c("nav", {
|
|
60
|
+
class: a(t(i)["cdr-breadcrumb"]),
|
|
61
|
+
id: t(m),
|
|
62
|
+
"aria-label": "breadcrumbs"
|
|
63
|
+
}, [o("ol", {
|
|
64
|
+
id: `${t(m)}List`,
|
|
65
|
+
class: a(t(i)["cdr-breadcrumb__list"]),
|
|
66
|
+
ref_key: "itemListEl",
|
|
67
|
+
ref: f
|
|
68
|
+
}, [d.value ? (s(), c("li", {
|
|
69
|
+
key: 0,
|
|
70
|
+
class: a(t(i)["cdr-breadcrumb__item"])
|
|
71
|
+
}, [o("button", {
|
|
72
|
+
onClick: y,
|
|
73
|
+
"aria-expanded": "false",
|
|
74
|
+
class: a(t(i)["cdr-breadcrumb__ellipses"]),
|
|
75
|
+
"aria-controls": `${t(m)}List`,
|
|
76
|
+
"aria-label": g.value
|
|
77
|
+
}, [o("span", {
|
|
78
|
+
class: a(t(i)["cdr-breadcrumb__ellipses-icon"]),
|
|
79
|
+
"aria-hidden": "true"
|
|
80
|
+
}, " . . . ", 2)], 10, O), o("span", {
|
|
81
|
+
class: a(t(i)["cdr-breadcrumb__delimiter"]),
|
|
82
|
+
"aria-hidden": "true"
|
|
83
|
+
}, " / ", 2)], 2)) : p("", !0), (s(!0), c(L, null, w(r.items, (l, b) => $((s(), c("li", {
|
|
84
|
+
class: a(t(i)["cdr-breadcrumb__item"]),
|
|
85
|
+
key: l.item.id || l.item.name.replace(/ /g, "-").toLowerCase()
|
|
86
|
+
}, [S(n.$slots, "link", {
|
|
87
|
+
class: a(t(i)["cdr-breadcrumb__link"]),
|
|
88
|
+
href: l.item.url,
|
|
89
|
+
content: l.item.name
|
|
90
|
+
}, () => [o("a", {
|
|
91
|
+
class: a(t(i)["cdr-breadcrumb__link"]),
|
|
92
|
+
href: l.item.url,
|
|
93
|
+
onClick: (k) => n.$emit("navigate", l, k)
|
|
94
|
+
}, x(l.item.name), 11, V)]), b < r.items.length - 1 ? (s(), c("span", {
|
|
95
|
+
key: 0,
|
|
96
|
+
class: a(t(i)["cdr-breadcrumb__delimiter"]),
|
|
97
|
+
"aria-hidden": "true"
|
|
98
|
+
}, " / ", 2)) : p("", !0)], 2)), [[j, !d.value || b >= r.items.length - 2]])), 128))], 10, N)], 10, D));
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
export {
|
|
102
|
+
I as default
|
|
103
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const r = {
|
|
2
|
+
"cdr-breadcrumb": "cdr-breadcrumb_14-0-2-alpha-8",
|
|
3
|
+
"cdr-breadcrumb__list": "cdr-breadcrumb__list_14-0-2-alpha-8",
|
|
4
|
+
"cdr-breadcrumb__item": "cdr-breadcrumb__item_14-0-2-alpha-8",
|
|
5
|
+
"cdr-breadcrumb__link": "cdr-breadcrumb__link_14-0-2-alpha-8",
|
|
6
|
+
"cdr-breadcrumb__delimiter": "cdr-breadcrumb__delimiter_14-0-2-alpha-8",
|
|
7
|
+
"cdr-breadcrumb__ellipses": "cdr-breadcrumb__ellipses_14-0-2-alpha-8",
|
|
8
|
+
"cdr-breadcrumb__ellipses-icon": "cdr-breadcrumb__ellipses-icon_14-0-2-alpha-8"
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
r as default
|
|
12
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import o from "./CdrButton.vue2.mjs";
|
|
2
|
+
import s from "./styles/CdrButton.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,85 @@
|
|
|
1
|
+
import { defineComponent as h, useSlots as v, useCssModule as b, computed as e, openBlock as B, createBlock as $, resolveDynamicComponent as k, normalizeClass as S, unref as r, withCtx as w, renderSlot as i } from "vue";
|
|
2
|
+
import O from "../../utils/mapClasses.mjs";
|
|
3
|
+
import { buildBooleanClass as z, responsiveModifyClass as W } from "../../utils/buildClass.mjs";
|
|
4
|
+
import n from "../../utils/propValidator.mjs";
|
|
5
|
+
const l = "cdr-button", T = /* @__PURE__ */ h({
|
|
6
|
+
name: "CdrButton",
|
|
7
|
+
__name: "CdrButton",
|
|
8
|
+
props: {
|
|
9
|
+
/**
|
|
10
|
+
* Renders CdrButton as a <button> or <a> element. When using the value of <a>, this element renders as an anchor link.
|
|
11
|
+
* @demoIgnore true
|
|
12
|
+
* @values button, a
|
|
13
|
+
*/
|
|
14
|
+
tag: {
|
|
15
|
+
type: String,
|
|
16
|
+
default: "button",
|
|
17
|
+
validator: (t) => n(t, ["button", "a"])
|
|
18
|
+
},
|
|
19
|
+
/**
|
|
20
|
+
* Sets the button type
|
|
21
|
+
* @demoIgnore true
|
|
22
|
+
* @values button, submit, reset
|
|
23
|
+
*/
|
|
24
|
+
type: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: "button",
|
|
27
|
+
validator: (t) => n(t, ["button", "submit", "reset"])
|
|
28
|
+
},
|
|
29
|
+
/**
|
|
30
|
+
* Modifies the style variant for this component
|
|
31
|
+
* @demoSelectMultiple false
|
|
32
|
+
* @values primary, secondary, sale, dark, link
|
|
33
|
+
*/
|
|
34
|
+
modifier: {
|
|
35
|
+
type: String,
|
|
36
|
+
default: "primary",
|
|
37
|
+
validator: (t) => n(t, ["primary", "secondary", "sale", "dark", "link"])
|
|
38
|
+
},
|
|
39
|
+
/**
|
|
40
|
+
* Sets the button size; values can target responsive breakpoints. Example: `large@sm`.
|
|
41
|
+
* @demoSelectMultiple false
|
|
42
|
+
* @values small, medium, large
|
|
43
|
+
*/
|
|
44
|
+
size: {
|
|
45
|
+
type: String,
|
|
46
|
+
default: "medium",
|
|
47
|
+
validator: (t) => n(t, ["small", "medium", "large"])
|
|
48
|
+
},
|
|
49
|
+
/**
|
|
50
|
+
* Sets button width to 100%. Setting this value to true will set the button width to 100% of the parent container. Use the 'fullWidth' prop with the 'size' prop to control top and bottom padding.
|
|
51
|
+
*/
|
|
52
|
+
fullWidth: {
|
|
53
|
+
type: [String, Boolean],
|
|
54
|
+
default: !1,
|
|
55
|
+
validator: (t) => typeof t == "string" ? n(t, ["@xs", "@sm", "@md", "@lg"], !1) : typeof t == "boolean"
|
|
56
|
+
},
|
|
57
|
+
/**
|
|
58
|
+
* Renders an 'icon-only' button. When this value is true, it will override the size and 'responsiveSize' props. Can be used in conjunction with 'with-background'
|
|
59
|
+
*/
|
|
60
|
+
iconOnly: {
|
|
61
|
+
type: Boolean,
|
|
62
|
+
default: !1
|
|
63
|
+
},
|
|
64
|
+
/**
|
|
65
|
+
* Renders an 'icon-only' button with a background color and border. Must be used in conjunction with the 'iconOnly' prop.
|
|
66
|
+
*/
|
|
67
|
+
withBackground: {
|
|
68
|
+
type: Boolean,
|
|
69
|
+
default: !1
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
setup(t) {
|
|
73
|
+
const o = t, s = v(), u = b(), d = e(() => o.tag === "button" ? o.type : null), c = e(() => `${l}--${o.modifier}`), f = e(() => !o.iconOnly && o.fullWidth ? z(l, o.fullWidth, "full-width") : ""), p = e(() => o.iconOnly ? `cdr-button--icon-only-${o.size}` : W(l, "", o.size)), m = e(() => s["icon-left"] && s.default ? `${l}--has-icon-left` : ""), y = e(() => s["icon-right"] && s.default ? `${l}--has-icon-right` : ""), g = e(() => o.iconOnly ? `${l}--icon-only` : ""), C = e(() => o.iconOnly && o.withBackground ? `${l}--with-background` : "");
|
|
74
|
+
return (a, M) => (B(), $(k(t.tag), {
|
|
75
|
+
class: S(r(O)(r(u), l, c.value, p.value, f.value, g.value, m.value, y.value, C.value)),
|
|
76
|
+
type: d.value
|
|
77
|
+
}, {
|
|
78
|
+
default: w(() => [i(a.$slots, "icon-left"), i(a.$slots, "icon"), i(a.$slots, "default"), i(a.$slots, "icon-right")]),
|
|
79
|
+
_: 3
|
|
80
|
+
}, 8, ["class", "type"]));
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
export {
|
|
84
|
+
T as default
|
|
85
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
};
|
|
34
|
+
export {
|
|
35
|
+
t as default
|
|
36
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import o from "./CdrCaption.vue2.mjs";
|
|
2
|
+
import s from "./styles/CdrCaption.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
|
+
};
|