@rei/cedar 13.5.2 → 14.0.0-ts.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cedar-compiled.css +1031 -1031
- package/dist/cedar.umd.js +2 -2
- package/dist/component-docgen.json +1369 -1325
- package/dist/icon-component-docgen.json +510 -510
- package/dist/src/components/accordion/CdrAccordion.vue.mjs +7 -165
- package/dist/src/components/accordion/CdrAccordion.vue2.mjs +136 -0
- package/dist/src/components/accordion/CdrAccordionGroup.vue.mjs +7 -80
- package/dist/src/components/accordion/CdrAccordionGroup.vue2.mjs +72 -0
- package/dist/src/components/accordion/styles/CdrAccordion.module.scss.mjs +29 -29
- package/dist/src/components/accordion/styles/CdrAccordionGroup.module.scss.mjs +2 -2
- package/dist/src/components/accordion/symbols.mjs +5 -0
- package/dist/src/components/banner/CdrBanner.vue.mjs +7 -59
- package/dist/src/components/banner/CdrBanner.vue2.mjs +45 -0
- package/dist/src/components/banner/styles/CdrBanner.module.scss.mjs +14 -14
- package/dist/src/components/breadcrumb/CdrBreadcrumb.vue.mjs +7 -113
- package/dist/src/components/breadcrumb/CdrBreadcrumb.vue2.mjs +103 -0
- package/dist/src/components/breadcrumb/styles/CdrBreadcrumb.module.scss.mjs +7 -7
- package/dist/src/components/button/CdrButton.vue.mjs +7 -102
- package/dist/src/components/button/CdrButton.vue2.mjs +85 -0
- package/dist/src/components/button/styles/CdrButton.module.scss.mjs +31 -31
- package/dist/src/components/caption/CdrCaption.vue.mjs +7 -45
- package/dist/src/components/caption/CdrCaption.vue2.mjs +36 -0
- package/dist/src/components/caption/styles/CdrCaption.module.scss.mjs +4 -4
- package/dist/src/components/card/CdrCard.vue.mjs +7 -33
- package/dist/src/components/card/CdrCard.vue2.mjs +24 -0
- package/dist/src/components/card/styles/CdrCard.module.scss.mjs +1 -1
- package/dist/src/components/checkbox/CdrCheckbox.vue.mjs +7 -146
- package/dist/src/components/checkbox/CdrCheckbox.vue2.mjs +134 -0
- package/dist/src/components/checkbox/styles/CdrCheckbox.module.scss.mjs +25 -25
- package/dist/src/components/chip/CdrChip.vue.mjs +7 -29
- package/dist/src/components/chip/CdrChip.vue2.mjs +22 -0
- package/dist/src/components/chip/CdrChipGroup.vue.mjs +7 -83
- package/dist/src/components/chip/CdrChipGroup.vue2.mjs +73 -0
- package/dist/src/components/chip/styles/CdrChip.module.scss.mjs +4 -4
- package/dist/src/components/chip/styles/CdrChipGroup.module.scss.mjs +4 -4
- package/dist/src/components/container/CdrContainer.vue.mjs +7 -46
- package/dist/src/components/container/CdrContainer.vue2.mjs +36 -0
- package/dist/src/components/container/styles/CdrContainer.module.scss.mjs +2 -2
- package/dist/src/components/formError/CdrFormError.vue.mjs +7 -36
- package/dist/src/components/formError/CdrFormError.vue2.mjs +24 -0
- package/dist/src/components/formError/styles/CdrFormError.module.scss.mjs +2 -2
- package/dist/src/components/formGroup/CdrFormGroup.vue.mjs +7 -70
- package/dist/src/components/formGroup/CdrFormGroup.vue2.mjs +65 -0
- package/dist/src/components/formGroup/styles/CdrFormGroup.module.scss.mjs +8 -8
- package/dist/src/components/grid/CdrGrid.vue.mjs +7 -47
- package/dist/src/components/grid/CdrGrid.vue2.mjs +37 -0
- package/dist/src/components/grid/styles/CdrGrid.module.scss.mjs +21 -21
- package/dist/src/components/icon/CdrIcon.vue.mjs +7 -58
- package/dist/src/components/icon/CdrIcon.vue2.mjs +46 -0
- package/dist/src/components/icon/comps/account-profile-fill.vue.mjs +15 -20
- package/dist/src/components/icon/comps/account-profile-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/account-profile.vue.mjs +15 -20
- package/dist/src/components/icon/comps/account-profile.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/arrow-down.vue.mjs +15 -20
- package/dist/src/components/icon/comps/arrow-down.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/arrow-left.vue.mjs +15 -20
- package/dist/src/components/icon/comps/arrow-left.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/arrow-right.vue.mjs +15 -20
- package/dist/src/components/icon/comps/arrow-right.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/arrow-up.vue.mjs +15 -20
- package/dist/src/components/icon/comps/arrow-up.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/atv.vue.mjs +15 -20
- package/dist/src/components/icon/comps/atv.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/bed-outline.vue.mjs +15 -20
- package/dist/src/components/icon/comps/bed-outline.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/bike-shop.vue.mjs +15 -20
- package/dist/src/components/icon/comps/bike-shop.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/binoculars.vue.mjs +14 -19
- package/dist/src/components/icon/comps/binoculars.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/birding.vue.mjs +15 -20
- package/dist/src/components/icon/comps/birding.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/boat.vue.mjs +15 -20
- package/dist/src/components/icon/comps/boat.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/boating.vue.mjs +15 -20
- package/dist/src/components/icon/comps/boating.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/bookmark-fill.vue.mjs +14 -19
- package/dist/src/components/icon/comps/bookmark-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/bookmark-stroke.vue.mjs +15 -20
- package/dist/src/components/icon/comps/bookmark-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/brand-abstract.vue.mjs +15 -20
- package/dist/src/components/icon/comps/brand-abstract.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/brand-code-sandbox.vue.mjs +15 -20
- package/dist/src/components/icon/comps/brand-code-sandbox.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/brand-github.vue.mjs +15 -20
- package/dist/src/components/icon/comps/brand-github.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/brand-linkedin.vue.mjs +15 -20
- package/dist/src/components/icon/comps/brand-linkedin.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/brand-rei-ice-axes.vue.mjs +15 -20
- package/dist/src/components/icon/comps/brand-rei-ice-axes.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/brand-sketch.vue.mjs +14 -19
- package/dist/src/components/icon/comps/brand-sketch.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/brand-tiktok.vue.mjs +16 -21
- package/dist/src/components/icon/comps/brand-tiktok.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/buddies.vue.mjs +15 -20
- package/dist/src/components/icon/comps/buddies.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/bus.vue.mjs +15 -20
- package/dist/src/components/icon/comps/bus.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/calendar.vue.mjs +15 -20
- package/dist/src/components/icon/comps/calendar.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/camera.vue.mjs +15 -20
- package/dist/src/components/icon/comps/camera.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/canoe.vue.mjs +15 -20
- package/dist/src/components/icon/comps/canoe.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/car.vue.mjs +15 -20
- package/dist/src/components/icon/comps/car.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/caret-down.vue.mjs +15 -20
- package/dist/src/components/icon/comps/caret-down.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/caret-left.vue.mjs +15 -20
- package/dist/src/components/icon/comps/caret-left.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/caret-right.vue.mjs +15 -20
- package/dist/src/components/icon/comps/caret-right.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/caret-up.vue.mjs +15 -20
- package/dist/src/components/icon/comps/caret-up.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/cart-fill.vue.mjs +15 -20
- package/dist/src/components/icon/comps/cart-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/cart.vue.mjs +15 -20
- package/dist/src/components/icon/comps/cart.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/chain-link.vue.mjs +15 -20
- package/dist/src/components/icon/comps/chain-link.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/chat.vue.mjs +15 -20
- package/dist/src/components/icon/comps/chat.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/check-fill.vue.mjs +15 -20
- package/dist/src/components/icon/comps/check-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/check-lg.vue.mjs +15 -20
- package/dist/src/components/icon/comps/check-lg.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/check-sm.vue.mjs +15 -20
- package/dist/src/components/icon/comps/check-sm.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/check-stroke.vue.mjs +15 -20
- package/dist/src/components/icon/comps/check-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/climb.vue.mjs +15 -20
- package/dist/src/components/icon/comps/climb.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/clipboard.vue.mjs +15 -20
- package/dist/src/components/icon/comps/clipboard.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/clock.vue.mjs +15 -20
- package/dist/src/components/icon/comps/clock.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/code-html.vue.mjs +15 -20
- package/dist/src/components/icon/comps/code-html.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/code-js.vue.mjs +15 -20
- package/dist/src/components/icon/comps/code-js.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/compass.vue.mjs +15 -20
- package/dist/src/components/icon/comps/compass.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/copy.vue.mjs +15 -20
- package/dist/src/components/icon/comps/copy.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/coupon-fill.vue.mjs +15 -20
- package/dist/src/components/icon/comps/coupon-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/coupon-stroke.vue.mjs +14 -19
- package/dist/src/components/icon/comps/coupon-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/credit-card.vue.mjs +15 -20
- package/dist/src/components/icon/comps/credit-card.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/curbside-pickup.vue.mjs +15 -20
- package/dist/src/components/icon/comps/curbside-pickup.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/day.vue.mjs +15 -20
- package/dist/src/components/icon/comps/day.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/diving.vue.mjs +15 -20
- package/dist/src/components/icon/comps/diving.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/dog.vue.mjs +15 -20
- package/dist/src/components/icon/comps/dog.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/download.vue.mjs +15 -20
- package/dist/src/components/icon/comps/download.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/duplicate.vue.mjs +16 -21
- package/dist/src/components/icon/comps/duplicate.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/edit.vue.mjs +15 -20
- package/dist/src/components/icon/comps/edit.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/elevation.vue.mjs +15 -20
- package/dist/src/components/icon/comps/elevation.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/error-fill.vue.mjs +17 -22
- package/dist/src/components/icon/comps/error-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/error-stroke.vue.mjs +19 -24
- package/dist/src/components/icon/comps/error-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/expand.vue.mjs +15 -20
- package/dist/src/components/icon/comps/expand.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-backpacking.vue.mjs +15 -20
- package/dist/src/components/icon/comps/experiences-backpacking.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-camping.vue.mjs +15 -20
- package/dist/src/components/icon/comps/experiences-camping.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-climbing.vue.mjs +15 -20
- package/dist/src/components/icon/comps/experiences-climbing.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-clothing.vue.mjs +15 -20
- package/dist/src/components/icon/comps/experiences-clothing.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-cycling.vue.mjs +15 -20
- package/dist/src/components/icon/comps/experiences-cycling.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-family.vue.mjs +15 -20
- package/dist/src/components/icon/comps/experiences-family.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-fitness.vue.mjs +15 -20
- package/dist/src/components/icon/comps/experiences-fitness.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-hiking.vue.mjs +15 -20
- package/dist/src/components/icon/comps/experiences-hiking.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-outdoor-basics.vue.mjs +15 -20
- package/dist/src/components/icon/comps/experiences-outdoor-basics.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-paddling.vue.mjs +15 -20
- package/dist/src/components/icon/comps/experiences-paddling.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-rentals.vue.mjs +15 -20
- package/dist/src/components/icon/comps/experiences-rentals.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-running.vue.mjs +16 -21
- package/dist/src/components/icon/comps/experiences-running.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-snowsports.vue.mjs +15 -20
- package/dist/src/components/icon/comps/experiences-snowsports.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/experiences-travel.vue.mjs +15 -20
- package/dist/src/components/icon/comps/experiences-travel.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/external-link-alt.vue.mjs +16 -21
- package/dist/src/components/icon/comps/external-link-alt.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/external-link.vue.mjs +15 -20
- package/dist/src/components/icon/comps/external-link.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/eye-hide.vue.mjs +15 -20
- package/dist/src/components/icon/comps/eye-hide.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/eye-show.vue.mjs +15 -20
- package/dist/src/components/icon/comps/eye-show.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/facebook.vue.mjs +15 -20
- package/dist/src/components/icon/comps/facebook.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/filter-alt.vue.mjs +15 -20
- package/dist/src/components/icon/comps/filter-alt.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/filter.vue.mjs +15 -20
- package/dist/src/components/icon/comps/filter.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/find-location.vue.mjs +15 -20
- package/dist/src/components/icon/comps/find-location.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/fire.vue.mjs +14 -19
- package/dist/src/components/icon/comps/fire.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/fishing.vue.mjs +15 -20
- package/dist/src/components/icon/comps/fishing.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/free-product.vue.mjs +15 -20
- package/dist/src/components/icon/comps/free-product.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/grid-view.vue.mjs +15 -20
- package/dist/src/components/icon/comps/grid-view.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/heart-fill.vue.mjs +15 -20
- package/dist/src/components/icon/comps/heart-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/heart-stroke.vue.mjs +15 -20
- package/dist/src/components/icon/comps/heart-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/hike.vue.mjs +14 -19
- package/dist/src/components/icon/comps/hike.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/history.vue.mjs +15 -20
- package/dist/src/components/icon/comps/history.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/home.vue.mjs +15 -20
- package/dist/src/components/icon/comps/home.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/horse.vue.mjs +14 -19
- package/dist/src/components/icon/comps/horse.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/horseshoe.vue.mjs +15 -20
- package/dist/src/components/icon/comps/horseshoe.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/image.vue.mjs +15 -20
- package/dist/src/components/icon/comps/image.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/information-fill.vue.mjs +15 -20
- package/dist/src/components/icon/comps/information-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/information-stroke.vue.mjs +15 -20
- package/dist/src/components/icon/comps/information-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/instagram.vue.mjs +15 -20
- package/dist/src/components/icon/comps/instagram.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/kayak.vue.mjs +15 -20
- package/dist/src/components/icon/comps/kayak.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/link-alt.vue.mjs +16 -21
- package/dist/src/components/icon/comps/link-alt.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/list-ragged.vue.mjs +15 -20
- package/dist/src/components/icon/comps/list-ragged.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/list-view.vue.mjs +15 -20
- package/dist/src/components/icon/comps/list-view.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/location-pin-fill.vue.mjs +15 -20
- package/dist/src/components/icon/comps/location-pin-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/location-pin-stroke.vue.mjs +15 -20
- package/dist/src/components/icon/comps/location-pin-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/lock-locked-fill.vue.mjs +15 -20
- package/dist/src/components/icon/comps/lock-locked-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/lock-locked-stroke.vue.mjs +14 -19
- package/dist/src/components/icon/comps/lock-locked-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/lock-unlocked-stroke.vue.mjs +15 -20
- package/dist/src/components/icon/comps/lock-unlocked-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/mail.vue.mjs +14 -19
- package/dist/src/components/icon/comps/mail.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/map.vue.mjs +15 -20
- package/dist/src/components/icon/comps/map.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/member-card.vue.mjs +14 -19
- package/dist/src/components/icon/comps/member-card.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/membership.vue.mjs +16 -21
- package/dist/src/components/icon/comps/membership.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/microphone.vue.mjs +15 -20
- package/dist/src/components/icon/comps/microphone.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/minus-fill.vue.mjs +15 -20
- package/dist/src/components/icon/comps/minus-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/minus-lg.vue.mjs +15 -20
- package/dist/src/components/icon/comps/minus-lg.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/minus-sm.vue.mjs +15 -20
- package/dist/src/components/icon/comps/minus-sm.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/minus-stroke.vue.mjs +15 -20
- package/dist/src/components/icon/comps/minus-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/more-functions.vue.mjs +15 -20
- package/dist/src/components/icon/comps/more-functions.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/my-location.vue.mjs +15 -20
- package/dist/src/components/icon/comps/my-location.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/navigation-menu.vue.mjs +15 -20
- package/dist/src/components/icon/comps/navigation-menu.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/night.vue.mjs +15 -20
- package/dist/src/components/icon/comps/night.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/paddle.vue.mjs +15 -20
- package/dist/src/components/icon/comps/paddle.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/pause-fill.vue.mjs +15 -20
- package/dist/src/components/icon/comps/pause-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/pause-stroke.vue.mjs +15 -20
- package/dist/src/components/icon/comps/pause-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/pause.vue.mjs +15 -20
- package/dist/src/components/icon/comps/pause.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/photography.vue.mjs +15 -20
- package/dist/src/components/icon/comps/photography.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/picnic.vue.mjs +15 -20
- package/dist/src/components/icon/comps/picnic.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/pinterest.vue.mjs +15 -20
- package/dist/src/components/icon/comps/pinterest.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/plane.vue.mjs +15 -20
- package/dist/src/components/icon/comps/plane.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/play-fill.vue.mjs +15 -20
- package/dist/src/components/icon/comps/play-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/play-stroke.vue.mjs +14 -19
- package/dist/src/components/icon/comps/play-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/play.vue.mjs +15 -20
- package/dist/src/components/icon/comps/play.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/playground.vue.mjs +15 -20
- package/dist/src/components/icon/comps/playground.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/plugin.vue.mjs +15 -20
- package/dist/src/components/icon/comps/plugin.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/plus-fill.vue.mjs +15 -20
- package/dist/src/components/icon/comps/plus-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/plus-lg.vue.mjs +15 -20
- package/dist/src/components/icon/comps/plus-lg.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/plus-sm.vue.mjs +15 -20
- package/dist/src/components/icon/comps/plus-sm.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/plus-stroke.vue.mjs +15 -20
- package/dist/src/components/icon/comps/plus-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/print.vue.mjs +15 -20
- package/dist/src/components/icon/comps/print.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/protection-fill.vue.mjs +15 -20
- package/dist/src/components/icon/comps/protection-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/protection-stroke.vue.mjs +14 -19
- package/dist/src/components/icon/comps/protection-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/question-fill.vue.mjs +15 -20
- package/dist/src/components/icon/comps/question-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/question-stroke.vue.mjs +15 -20
- package/dist/src/components/icon/comps/question-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/refresh.vue.mjs +15 -20
- package/dist/src/components/icon/comps/refresh.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/reload.vue.mjs +15 -20
- package/dist/src/components/icon/comps/reload.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/returns.vue.mjs +16 -21
- package/dist/src/components/icon/comps/returns.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/run.vue.mjs +15 -20
- package/dist/src/components/icon/comps/run.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/scan-barcode.vue.mjs +15 -20
- package/dist/src/components/icon/comps/scan-barcode.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/search.vue.mjs +15 -20
- package/dist/src/components/icon/comps/search.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/service-shop.vue.mjs +15 -20
- package/dist/src/components/icon/comps/service-shop.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/shipping-prep.vue.mjs +16 -21
- package/dist/src/components/icon/comps/shipping-prep.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/shipping-truck.vue.mjs +16 -21
- package/dist/src/components/icon/comps/shipping-truck.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/shipping.vue.mjs +15 -20
- package/dist/src/components/icon/comps/shipping.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/shopping-bag-fill.vue.mjs +15 -20
- package/dist/src/components/icon/comps/shopping-bag-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/shopping-bag.vue.mjs +15 -20
- package/dist/src/components/icon/comps/shopping-bag.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/shrink.vue.mjs +15 -20
- package/dist/src/components/icon/comps/shrink.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/size-chart.vue.mjs +15 -20
- package/dist/src/components/icon/comps/size-chart.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/ski-boot.vue.mjs +14 -19
- package/dist/src/components/icon/comps/ski-boot.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/ski.vue.mjs +15 -20
- package/dist/src/components/icon/comps/ski.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/snow-shop.vue.mjs +15 -20
- package/dist/src/components/icon/comps/snow-shop.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/snow.vue.mjs +15 -20
- package/dist/src/components/icon/comps/snow.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/sort.vue.mjs +14 -19
- package/dist/src/components/icon/comps/sort.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/star-100.vue.mjs +15 -20
- package/dist/src/components/icon/comps/star-100.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/star-25.vue.mjs +14 -19
- package/dist/src/components/icon/comps/star-25.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/star-50.vue.mjs +14 -19
- package/dist/src/components/icon/comps/star-50.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/star-75.vue.mjs +14 -19
- package/dist/src/components/icon/comps/star-75.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/star-stroke.vue.mjs +14 -19
- package/dist/src/components/icon/comps/star-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/storefront.vue.mjs +15 -20
- package/dist/src/components/icon/comps/storefront.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/swim.vue.mjs +15 -20
- package/dist/src/components/icon/comps/swim.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/telephone.vue.mjs +15 -20
- package/dist/src/components/icon/comps/telephone.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/tent.vue.mjs +15 -20
- package/dist/src/components/icon/comps/tent.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/trash.vue.mjs +14 -19
- package/dist/src/components/icon/comps/trash.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/twitter.vue.mjs +15 -20
- package/dist/src/components/icon/comps/twitter.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/upload.vue.mjs +15 -20
- package/dist/src/components/icon/comps/upload.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/verified-purchaser.vue.mjs +15 -20
- package/dist/src/components/icon/comps/verified-purchaser.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/virtual-outfitting.vue.mjs +15 -20
- package/dist/src/components/icon/comps/virtual-outfitting.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/warning-fill.vue.mjs +15 -20
- package/dist/src/components/icon/comps/warning-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/warning-stroke.vue.mjs +15 -20
- package/dist/src/components/icon/comps/warning-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/water.vue.mjs +15 -20
- package/dist/src/components/icon/comps/water.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/wilderness.vue.mjs +15 -20
- package/dist/src/components/icon/comps/wilderness.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/x-fill.vue.mjs +15 -20
- package/dist/src/components/icon/comps/x-fill.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/x-lg.vue.mjs +15 -20
- package/dist/src/components/icon/comps/x-lg.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/x-sm.vue.mjs +15 -20
- package/dist/src/components/icon/comps/x-sm.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/x-stroke.vue.mjs +15 -20
- package/dist/src/components/icon/comps/x-stroke.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/youtube.vue.mjs +15 -20
- package/dist/src/components/icon/comps/youtube.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/zoom-in.vue.mjs +15 -20
- package/dist/src/components/icon/comps/zoom-in.vue2.mjs +4 -0
- package/dist/src/components/icon/comps/zoom-out.vue.mjs +15 -20
- package/dist/src/components/icon/comps/zoom-out.vue2.mjs +4 -0
- package/dist/src/components/icon/styles/CdrIcon.module.scss.mjs +12 -12
- package/dist/src/components/image/CdrImg.vue.mjs +7 -123
- package/dist/src/components/image/CdrImg.vue2.mjs +107 -0
- package/dist/src/components/image/styles/CdrImg.module.scss.mjs +8 -8
- package/dist/src/components/input/CdrInput.vue.mjs +7 -245
- package/dist/src/components/input/CdrInput.vue2.mjs +213 -0
- package/dist/src/components/input/styles/CdrInput.module.scss.mjs +34 -34
- package/dist/src/components/labelStandalone/CdrLabelStandalone.vue.mjs +7 -68
- package/dist/src/components/labelStandalone/CdrLabelStandalone.vue2.mjs +53 -0
- package/dist/src/components/labelStandalone/styles/CdrLabelStandalone.module.scss.mjs +12 -12
- package/dist/src/components/labelWrapper/CdrLabelWrapper.vue.mjs +7 -42
- package/dist/src/components/labelWrapper/CdrLabelWrapper.vue2.mjs +31 -0
- package/dist/src/components/labelWrapper/styles/CdrLabelWrapper.module.scss.mjs +23 -23
- package/dist/src/components/link/CdrLink.vue.mjs +7 -72
- package/dist/src/components/link/CdrLink.vue2.mjs +59 -0
- package/dist/src/components/link/styles/CdrLink.module.scss.mjs +3 -3
- package/dist/src/components/list/CdrList.vue.mjs +7 -48
- package/dist/src/components/list/CdrList.vue2.mjs +39 -0
- package/dist/src/components/list/styles/CdrList.module.scss.mjs +7 -7
- package/dist/src/components/modal/CdrModal.vue.mjs +7 -239
- package/dist/src/components/modal/CdrModal.vue2.mjs +225 -0
- package/dist/src/components/modal/onTransitionEnd.mjs +13 -10
- package/dist/src/components/modal/styles/CdrModal.module.scss.mjs +12 -12
- package/dist/src/components/pagination/CdrPagination.vue.mjs +7 -226
- package/dist/src/components/pagination/CdrPagination.vue2.mjs +223 -0
- package/dist/src/components/pagination/styles/CdrPagination.module.scss.mjs +53 -53
- package/dist/src/components/popover/CdrPopover.vue.mjs +7 -150
- package/dist/src/components/popover/CdrPopover.vue2.mjs +136 -0
- package/dist/src/components/popover/styles/CdrPopover.module.scss.mjs +65 -65
- package/dist/src/components/popup/CdrPopup.vue.mjs +7 -109
- package/dist/src/components/popup/CdrPopup.vue2.mjs +94 -0
- package/dist/src/components/popup/calculatePlacement.mjs +22 -18
- package/dist/src/components/popup/styles/CdrPopup.module.scss.mjs +14 -14
- package/dist/src/components/quote/CdrQuote.vue.mjs +7 -63
- package/dist/src/components/quote/CdrQuote.vue2.mjs +51 -0
- package/dist/src/components/quote/styles/CdrQuote.module.scss.mjs +4 -4
- package/dist/src/components/radio/CdrRadio.vue.mjs +7 -116
- package/dist/src/components/radio/CdrRadio.vue2.mjs +108 -0
- package/dist/src/components/radio/styles/CdrRadio.module.scss.mjs +25 -25
- package/dist/src/components/rating/CdrRating.vue.mjs +7 -106
- package/dist/src/components/rating/CdrRating.vue2.mjs +86 -0
- package/dist/src/components/rating/styles/CdrRating.module.scss.mjs +28 -28
- package/dist/src/components/select/CdrSelect.vue.mjs +7 -222
- package/dist/src/components/select/CdrSelect.vue2.mjs +196 -0
- package/dist/src/components/select/styles/CdrSelect.module.scss.mjs +42 -42
- package/dist/src/components/skeleton/CdrSkeleton.vue.mjs +7 -36
- package/dist/src/components/skeleton/CdrSkeleton.vue2.mjs +29 -0
- package/dist/src/components/skeleton/CdrSkeletonBone.vue.mjs +7 -41
- package/dist/src/components/skeleton/CdrSkeletonBone.vue2.mjs +29 -0
- package/dist/src/components/skeleton/styles/CdrSkeleton.module.scss.mjs +1 -1
- package/dist/src/components/skeleton/styles/CdrSkeletonBone.module.scss.mjs +7 -7
- package/dist/src/components/skeleton/symbols.mjs +4 -0
- package/dist/src/components/switch/CdrSwitch.vue.mjs +7 -94
- package/dist/src/components/switch/CdrSwitch.vue2.mjs +78 -0
- package/dist/src/components/switch/styles/CdrSwitch.module.scss.mjs +10 -10
- package/dist/src/components/table/CdrTable.vue.mjs +7 -73
- package/dist/src/components/table/CdrTable.vue2.mjs +58 -0
- package/dist/src/components/table/styles/CdrTable.module.scss.mjs +13 -13
- package/dist/src/components/tabs/CdrTabPanel.vue.mjs +7 -47
- package/dist/src/components/tabs/CdrTabPanel.vue2.mjs +40 -0
- package/dist/src/components/tabs/CdrTabs.vue.mjs +7 -186
- package/dist/src/components/tabs/CdrTabs.vue2.mjs +157 -0
- package/dist/src/components/tabs/styles/CdrTabPanel.module.scss.mjs +5 -5
- package/dist/src/components/tabs/styles/CdrTabs.module.scss.mjs +30 -30
- package/dist/src/components/tabs/symbols.mjs +4 -0
- package/dist/src/components/text/CdrText.vue.mjs +7 -30
- package/dist/src/components/text/CdrText.vue2.mjs +24 -0
- package/dist/src/components/text/styles/CdrText.module.scss.mjs +1 -1
- package/dist/src/components/toast/CdrToast.vue.mjs +7 -124
- package/dist/src/components/toast/CdrToast.vue2.mjs +103 -0
- package/dist/src/components/toast/styles/CdrToast.module.scss.mjs +57 -57
- package/dist/src/components/toggleButton/CdrToggleButton.vue.mjs +7 -39
- package/dist/src/components/toggleButton/CdrToggleButton.vue2.mjs +32 -0
- package/dist/src/components/toggleButton/CdrToggleGroup.vue.mjs +7 -85
- package/dist/src/components/toggleButton/CdrToggleGroup.vue2.mjs +74 -0
- package/dist/src/components/toggleButton/styles/CdrToggleButton.module.scss.mjs +2 -2
- package/dist/src/components/toggleButton/styles/CdrToggleGroup.module.scss.mjs +7 -7
- package/dist/src/components/toggleButton/symbols.mjs +4 -0
- package/dist/src/components/tooltip/CdrTooltip.vue.mjs +7 -113
- package/dist/src/components/tooltip/CdrTooltip.vue2.mjs +98 -0
- package/dist/src/components/tooltip/styles/CdrTooltip.module.scss.mjs +16 -16
- package/dist/src/lib.mjs +316 -316
- package/dist/src/props/size.mjs +4 -1
- package/dist/src/utils/buildClass.mjs +1 -1
- package/dist/src/utils/debounce.mjs +9 -0
- package/dist/src/utils/kebabCase.mjs +6 -0
- package/dist/src/utils/mapClasses.mjs +4 -1
- 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 +20 -16
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
const l = {
|
|
2
|
-
"cdr-icon": "cdr-
|
|
3
|
-
"cdr-icon--small": "cdr-icon--
|
|
4
|
-
"cdr-icon--large": "cdr-icon--
|
|
5
|
-
"cdr-icon--small@xs": "cdr-icon--small@
|
|
6
|
-
"cdr-icon--large@xs": "cdr-icon--large@
|
|
7
|
-
"cdr-icon--small@sm": "cdr-icon--small@
|
|
8
|
-
"cdr-icon--large@sm": "cdr-icon--large@
|
|
9
|
-
"cdr-icon--small@md": "cdr-icon--small@
|
|
10
|
-
"cdr-icon--large@md": "cdr-icon--large@
|
|
11
|
-
"cdr-icon--small@lg": "cdr-icon--small@
|
|
12
|
-
"cdr-icon--large@lg": "cdr-icon--large@
|
|
13
|
-
"cdr-icon--inherit-color": "cdr-icon--inherit-
|
|
14
|
-
"cdr-label-standalone": "cdr-label-
|
|
15
|
-
"cdr-label-standalone__label-wrapper": "cdr-label-standalone__label-
|
|
16
|
-
"cdr-label-standalone__label": "cdr-label-
|
|
17
|
-
"cdr-label-standalone__label--sr-only": "cdr-label-standalone__label--sr-
|
|
18
|
-
"cdr-label-standalone__label--disabled": "cdr-label-standalone__label--
|
|
19
|
-
"cdr-label-standalone__optional": "cdr-label-
|
|
20
|
-
"cdr-label-standalone__helper": "cdr-label-
|
|
21
|
-
"cdr-label-standalone__info": "cdr-label-
|
|
22
|
-
"cdr-label-standalone__post-content": "cdr-label-standalone__post-
|
|
23
|
-
"cdr-label-standalone__info-action": "cdr-label-standalone__info-
|
|
24
|
-
"cdr-label-standalone__input-wrap": "cdr-label-standalone__input-
|
|
25
|
-
"cdr-label-standalone__input-spacing": "cdr-label-standalone__input-
|
|
26
|
-
"cdr-form-error": "cdr-form-
|
|
27
|
-
"cdr-form-error__icon": "cdr-form-
|
|
28
|
-
"cdr-select": "cdr-
|
|
29
|
-
"cdr-select--primary": "cdr-select--
|
|
30
|
-
"cdr-select--secondary": "cdr-select--
|
|
31
|
-
"cdr-select--error": "cdr-select--
|
|
32
|
-
"cdr-select--preicon": "cdr-select--
|
|
33
|
-
"cdr-select__prompt": "cdr-
|
|
34
|
-
"cdr-select__caret": "cdr-
|
|
35
|
-
"cdr-select__caret--disabled": "cdr-select__caret--
|
|
36
|
-
"cdr-select__pre-icon": "cdr-select__pre-
|
|
37
|
-
"cdr-select--multiple": "cdr-select--
|
|
38
|
-
"cdr-select--large@xs": "cdr-select--large@
|
|
39
|
-
"cdr-select--large": "cdr-select--
|
|
40
|
-
"cdr-select--large@sm": "cdr-select--large@
|
|
41
|
-
"cdr-select--large@md": "cdr-select--large@
|
|
42
|
-
"cdr-select--large@lg": "cdr-select--large@
|
|
43
|
-
"cdr-select-wrap": "cdr-select-
|
|
2
|
+
"cdr-icon": "cdr-icon_14-0-0-ts-0",
|
|
3
|
+
"cdr-icon--small": "cdr-icon--small_14-0-0-ts-0",
|
|
4
|
+
"cdr-icon--large": "cdr-icon--large_14-0-0-ts-0",
|
|
5
|
+
"cdr-icon--small@xs": "cdr-icon--small@xs_14-0-0-ts-0",
|
|
6
|
+
"cdr-icon--large@xs": "cdr-icon--large@xs_14-0-0-ts-0",
|
|
7
|
+
"cdr-icon--small@sm": "cdr-icon--small@sm_14-0-0-ts-0",
|
|
8
|
+
"cdr-icon--large@sm": "cdr-icon--large@sm_14-0-0-ts-0",
|
|
9
|
+
"cdr-icon--small@md": "cdr-icon--small@md_14-0-0-ts-0",
|
|
10
|
+
"cdr-icon--large@md": "cdr-icon--large@md_14-0-0-ts-0",
|
|
11
|
+
"cdr-icon--small@lg": "cdr-icon--small@lg_14-0-0-ts-0",
|
|
12
|
+
"cdr-icon--large@lg": "cdr-icon--large@lg_14-0-0-ts-0",
|
|
13
|
+
"cdr-icon--inherit-color": "cdr-icon--inherit-color_14-0-0-ts-0",
|
|
14
|
+
"cdr-label-standalone": "cdr-label-standalone_14-0-0-ts-0",
|
|
15
|
+
"cdr-label-standalone__label-wrapper": "cdr-label-standalone__label-wrapper_14-0-0-ts-0",
|
|
16
|
+
"cdr-label-standalone__label": "cdr-label-standalone__label_14-0-0-ts-0",
|
|
17
|
+
"cdr-label-standalone__label--sr-only": "cdr-label-standalone__label--sr-only_14-0-0-ts-0",
|
|
18
|
+
"cdr-label-standalone__label--disabled": "cdr-label-standalone__label--disabled_14-0-0-ts-0",
|
|
19
|
+
"cdr-label-standalone__optional": "cdr-label-standalone__optional_14-0-0-ts-0",
|
|
20
|
+
"cdr-label-standalone__helper": "cdr-label-standalone__helper_14-0-0-ts-0",
|
|
21
|
+
"cdr-label-standalone__info": "cdr-label-standalone__info_14-0-0-ts-0",
|
|
22
|
+
"cdr-label-standalone__post-content": "cdr-label-standalone__post-content_14-0-0-ts-0",
|
|
23
|
+
"cdr-label-standalone__info-action": "cdr-label-standalone__info-action_14-0-0-ts-0",
|
|
24
|
+
"cdr-label-standalone__input-wrap": "cdr-label-standalone__input-wrap_14-0-0-ts-0",
|
|
25
|
+
"cdr-label-standalone__input-spacing": "cdr-label-standalone__input-spacing_14-0-0-ts-0",
|
|
26
|
+
"cdr-form-error": "cdr-form-error_14-0-0-ts-0",
|
|
27
|
+
"cdr-form-error__icon": "cdr-form-error__icon_14-0-0-ts-0",
|
|
28
|
+
"cdr-select": "cdr-select_14-0-0-ts-0",
|
|
29
|
+
"cdr-select--primary": "cdr-select--primary_14-0-0-ts-0",
|
|
30
|
+
"cdr-select--secondary": "cdr-select--secondary_14-0-0-ts-0",
|
|
31
|
+
"cdr-select--error": "cdr-select--error_14-0-0-ts-0",
|
|
32
|
+
"cdr-select--preicon": "cdr-select--preicon_14-0-0-ts-0",
|
|
33
|
+
"cdr-select__prompt": "cdr-select__prompt_14-0-0-ts-0",
|
|
34
|
+
"cdr-select__caret": "cdr-select__caret_14-0-0-ts-0",
|
|
35
|
+
"cdr-select__caret--disabled": "cdr-select__caret--disabled_14-0-0-ts-0",
|
|
36
|
+
"cdr-select__pre-icon": "cdr-select__pre-icon_14-0-0-ts-0",
|
|
37
|
+
"cdr-select--multiple": "cdr-select--multiple_14-0-0-ts-0",
|
|
38
|
+
"cdr-select--large@xs": "cdr-select--large@xs_14-0-0-ts-0",
|
|
39
|
+
"cdr-select--large": "cdr-select--large_14-0-0-ts-0",
|
|
40
|
+
"cdr-select--large@sm": "cdr-select--large@sm_14-0-0-ts-0",
|
|
41
|
+
"cdr-select--large@md": "cdr-select--large@md_14-0-0-ts-0",
|
|
42
|
+
"cdr-select--large@lg": "cdr-select--large@lg_14-0-0-ts-0",
|
|
43
|
+
"cdr-select-wrap": "cdr-select-wrap_14-0-0-ts-0"
|
|
44
44
|
};
|
|
45
45
|
export {
|
|
46
46
|
l as default
|
|
@@ -1,38 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Toggle animation on/off.
|
|
9
|
-
* When `true`, animated gradient will be used while loading.
|
|
10
|
-
* When `false` a static background color will be used.
|
|
11
|
-
* Automatically disabled if `prefers-reduced-motion` is set by user.
|
|
12
|
-
*/
|
|
13
|
-
motion: {
|
|
14
|
-
type: Boolean,
|
|
15
|
-
default: !0
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
setup(e) {
|
|
19
|
-
const o = "cdr-skeleton", s = n(e, "motion");
|
|
20
|
-
return r("motionToggle", s), {
|
|
21
|
-
baseClass: o,
|
|
22
|
-
style: l()
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
function f(e, o, s, _, y, $) {
|
|
27
|
-
return a(), i("div", {
|
|
28
|
-
class: p(e.style[e.baseClass]),
|
|
29
|
-
"aria-live": "polite",
|
|
30
|
-
"aria-busy": "true"
|
|
31
|
-
}, [c(e.$slots, "default")], 2);
|
|
32
|
-
}
|
|
33
|
-
const C = {
|
|
34
|
-
$style: d
|
|
35
|
-
}, g = /* @__PURE__ */ m(u, [["render", f], ["__cssModules", C]]);
|
|
1
|
+
import o from "./CdrSkeleton.vue2.mjs";
|
|
2
|
+
import s from "./styles/CdrSkeleton.module.scss.mjs";
|
|
3
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const e = {
|
|
5
|
+
$style: s
|
|
6
|
+
}, f = /* @__PURE__ */ t(o, [["__cssModules", e]]);
|
|
36
7
|
export {
|
|
37
|
-
|
|
8
|
+
f as default
|
|
38
9
|
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { defineComponent as r, useCssModule as l, toRef as a, provide as i, openBlock as m, createElementBlock as c, normalizeClass as p, unref as u, renderSlot as d } from "vue";
|
|
2
|
+
import { motionKey as f } from "./symbols.mjs";
|
|
3
|
+
const C = "cdr-skeleton", S = /* @__PURE__ */ r({
|
|
4
|
+
name: "CdrSkeleton",
|
|
5
|
+
__name: "CdrSkeleton",
|
|
6
|
+
props: {
|
|
7
|
+
/**
|
|
8
|
+
* Toggle animation on/off.
|
|
9
|
+
* When `true`, animated gradient will be used while loading.
|
|
10
|
+
* When `false` a static background color will be used.
|
|
11
|
+
* Automatically disabled if `prefers-reduced-motion` is set by user.
|
|
12
|
+
*/
|
|
13
|
+
motion: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
default: !0
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
setup(e) {
|
|
19
|
+
const o = e, t = l(), n = a(o, "motion");
|
|
20
|
+
return i(f, n), (s, k) => (m(), c("div", {
|
|
21
|
+
class: p(u(t)[C]),
|
|
22
|
+
"aria-live": "polite",
|
|
23
|
+
"aria-busy": "true"
|
|
24
|
+
}, [d(s.$slots, "default")], 2));
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
export {
|
|
28
|
+
S as default
|
|
29
|
+
};
|
|
@@ -1,43 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
name: "CdrSkeletonBone",
|
|
8
|
-
props: {
|
|
9
|
-
/**
|
|
10
|
-
* Sets the type of content placeholder
|
|
11
|
-
* @demoSelectMultiple false
|
|
12
|
-
* @values default, heading, line, rectangle, square
|
|
13
|
-
*/
|
|
14
|
-
type: {
|
|
15
|
-
type: String,
|
|
16
|
-
required: !1,
|
|
17
|
-
default: "default",
|
|
18
|
-
validator: (e) => c(e, ["default", "heading", "line", "rectangle", "square"])
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
setup(e) {
|
|
22
|
-
const s = "cdr-skeleton-bone", o = r("motionToggle"), t = n(() => `${s}--${e.type}`), l = n(() => o.value ? `${s}__shimmer` : null);
|
|
23
|
-
return {
|
|
24
|
-
style: p(),
|
|
25
|
-
baseClass: s,
|
|
26
|
-
typeClass: t,
|
|
27
|
-
motionToggle: o,
|
|
28
|
-
motionClass: l,
|
|
29
|
-
mapClasses: u
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
function $(e, s, o, t, l, _) {
|
|
34
|
-
return m(), i("div", {
|
|
35
|
-
class: d(e.mapClasses(e.style, e.baseClass, e.typeClass, e.motionClass))
|
|
36
|
-
}, null, 2);
|
|
37
|
-
}
|
|
38
|
-
const g = {
|
|
39
|
-
$style: f
|
|
40
|
-
}, M = /* @__PURE__ */ C(y, [["render", $], ["__cssModules", g]]);
|
|
1
|
+
import o from "./CdrSkeletonBone.vue2.mjs";
|
|
2
|
+
import s from "./styles/CdrSkeletonBone.module.scss.mjs";
|
|
3
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const e = {
|
|
5
|
+
$style: s
|
|
6
|
+
}, f = /* @__PURE__ */ t(o, [["__cssModules", e]]);
|
|
41
7
|
export {
|
|
42
|
-
|
|
8
|
+
f as default
|
|
43
9
|
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { defineComponent as c, useCssModule as p, computed as t, inject as i, ref as u, openBlock as d, createElementBlock as f, normalizeClass as C, unref as n } from "vue";
|
|
2
|
+
import _ from "../../utils/propValidator.mjs";
|
|
3
|
+
import v from "../../utils/mapClasses.mjs";
|
|
4
|
+
import { motionKey as y } from "./symbols.mjs";
|
|
5
|
+
const o = "cdr-skeleton-bone", b = /* @__PURE__ */ c({
|
|
6
|
+
name: "CdrSkeletonBone",
|
|
7
|
+
__name: "CdrSkeletonBone",
|
|
8
|
+
props: {
|
|
9
|
+
/**
|
|
10
|
+
* Sets the type of content placeholder
|
|
11
|
+
* @demoSelectMultiple false
|
|
12
|
+
* @values default, heading, line, rectangle, square
|
|
13
|
+
*/
|
|
14
|
+
type: {
|
|
15
|
+
type: String,
|
|
16
|
+
default: "default",
|
|
17
|
+
validator: (e) => _(e, ["default", "heading", "line", "rectangle", "square"])
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
setup(e) {
|
|
21
|
+
const s = e, a = p(), l = t(() => `${o}--${s.type}`), r = i(y, u(!0)), m = t(() => r.value ? `${o}__shimmer` : "");
|
|
22
|
+
return (g, k) => (d(), f("div", {
|
|
23
|
+
class: C(n(v)(n(a), o, l.value, m.value))
|
|
24
|
+
}, null, 2));
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
export {
|
|
28
|
+
b as default
|
|
29
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
const e = "
|
|
2
|
-
"cdr-skeleton-bone": "cdr-skeleton-
|
|
3
|
-
"cdr-skeleton-bone__shimmer": "cdr-skeleton-
|
|
1
|
+
const e = "shimmer_14-0-0-ts-0", n = {
|
|
2
|
+
"cdr-skeleton-bone": "cdr-skeleton-bone_14-0-0-ts-0",
|
|
3
|
+
"cdr-skeleton-bone__shimmer": "cdr-skeleton-bone__shimmer_14-0-0-ts-0",
|
|
4
4
|
shimmer: e,
|
|
5
|
-
"cdr-skeleton-bone--line": "cdr-skeleton-bone--
|
|
6
|
-
"cdr-skeleton-bone--heading": "cdr-skeleton-bone--
|
|
7
|
-
"cdr-skeleton-bone--rectangle": "cdr-skeleton-bone--
|
|
8
|
-
"cdr-skeleton-bone--square": "cdr-skeleton-bone--
|
|
5
|
+
"cdr-skeleton-bone--line": "cdr-skeleton-bone--line_14-0-0-ts-0",
|
|
6
|
+
"cdr-skeleton-bone--heading": "cdr-skeleton-bone--heading_14-0-0-ts-0",
|
|
7
|
+
"cdr-skeleton-bone--rectangle": "cdr-skeleton-bone--rectangle_14-0-0-ts-0",
|
|
8
|
+
"cdr-skeleton-bone--square": "cdr-skeleton-bone--square_14-0-0-ts-0"
|
|
9
9
|
};
|
|
10
10
|
export {
|
|
11
11
|
n as default,
|
|
@@ -1,96 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import S from "../../utils/uid.mjs";
|
|
8
|
-
import V from "./styles/CdrSwitch.module.scss.mjs";
|
|
9
|
-
import z from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
10
|
-
const B = h({
|
|
11
|
-
name: "CdrSwitch",
|
|
12
|
-
components: {
|
|
13
|
-
IconCheckSm: k,
|
|
14
|
-
IconXSm: $
|
|
15
|
-
},
|
|
16
|
-
props: {
|
|
17
|
-
/**
|
|
18
|
-
* Sets a custom ID for the switch. If this value is not set, it will be auto-generated.
|
|
19
|
-
*/
|
|
20
|
-
id: {
|
|
21
|
-
type: String
|
|
22
|
-
},
|
|
23
|
-
/**
|
|
24
|
-
* Sets the size of the switch
|
|
25
|
-
* @demoSelectMultiple false
|
|
26
|
-
* @values medium, large
|
|
27
|
-
*/
|
|
28
|
-
size: {
|
|
29
|
-
type: String,
|
|
30
|
-
default: "medium",
|
|
31
|
-
validator: (e) => b(e, ["medium", "large"])
|
|
32
|
-
},
|
|
33
|
-
/**
|
|
34
|
-
* Sets the label and switch to expand to the full width of its container with `space-between`
|
|
35
|
-
*/
|
|
36
|
-
fullWidth: {
|
|
37
|
-
type: Boolean,
|
|
38
|
-
default: !1
|
|
39
|
-
},
|
|
40
|
-
/**
|
|
41
|
-
* @demoIgnore true
|
|
42
|
-
*/
|
|
43
|
-
modelValue: {
|
|
44
|
-
type: Boolean,
|
|
45
|
-
required: !0
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
emits: {
|
|
49
|
-
/**
|
|
50
|
-
* Event emitted by v-model on switch
|
|
51
|
-
* @param modelValue
|
|
52
|
-
*/
|
|
53
|
-
"update:modelValue": null
|
|
54
|
-
},
|
|
55
|
-
setup(e, l) {
|
|
56
|
-
const d = p(), a = e.id ? e.id : S(), c = (r) => {
|
|
57
|
-
l.emit("update:modelValue", !r);
|
|
58
|
-
}, o = "cdr-switch", t = m(() => e.size ? `cdr-switch--${e.size}` : "cdr-switch--medium"), i = m(() => e.fullWidth && w(o, e.fullWidth, "full-width"));
|
|
59
|
-
return {
|
|
60
|
-
style: d,
|
|
61
|
-
mapClasses: v,
|
|
62
|
-
uniqueId: a,
|
|
63
|
-
onClick: c,
|
|
64
|
-
baseClass: o,
|
|
65
|
-
sizeClass: t,
|
|
66
|
-
fullWidthClass: i
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
}), I = ["id"], W = ["aria-checked", "aria-labelledby"];
|
|
70
|
-
function g(e, l, d, a, c, o) {
|
|
71
|
-
const t = u("icon-check-sm"), i = u("icon-x-sm");
|
|
72
|
-
return C(), y("div", {
|
|
73
|
-
class: s(e.mapClasses(e.style, e.baseClass, e.fullWidthClass, e.sizeClass))
|
|
74
|
-
}, [n("div", {
|
|
75
|
-
id: e.uniqueId,
|
|
76
|
-
class: s(e.style["cdr-switch__label"])
|
|
77
|
-
}, [_(e.$slots, "default")], 10, I), n("button", {
|
|
78
|
-
onClick: l[0] || (l[0] = (r) => e.onClick(e.modelValue)),
|
|
79
|
-
class: s(e.style["cdr-switch__button"]),
|
|
80
|
-
role: "switch",
|
|
81
|
-
"aria-checked": e.modelValue,
|
|
82
|
-
"aria-labelledby": e.uniqueId
|
|
83
|
-
}, [f(t, {
|
|
84
|
-
class: s(e.style["cdr-switch__button-icon"])
|
|
85
|
-
}, null, 8, ["class"]), f(i, {
|
|
86
|
-
class: s(e.style["cdr-switch__button-icon"])
|
|
87
|
-
}, null, 8, ["class"]), n("div", {
|
|
88
|
-
class: s(e.style["cdr-switch__handle"])
|
|
89
|
-
}, null, 2)], 10, W)], 2);
|
|
90
|
-
}
|
|
91
|
-
const q = {
|
|
92
|
-
$style: V
|
|
93
|
-
}, F = /* @__PURE__ */ z(B, [["render", g], ["__cssModules", q]]);
|
|
1
|
+
import s from "./CdrSwitch.vue2.mjs";
|
|
2
|
+
import o from "./styles/CdrSwitch.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]]);
|
|
94
7
|
export {
|
|
95
|
-
|
|
8
|
+
f as default
|
|
96
9
|
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { defineComponent as _, useCssModule as w, computed as r, openBlock as C, createElementBlock as b, normalizeClass as s, unref as e, createElementVNode as a, renderSlot as v, createVNode as n } from "vue";
|
|
2
|
+
import y from "../../utils/propValidator.mjs";
|
|
3
|
+
import { buildBooleanClass as V } from "../../utils/buildClass.mjs";
|
|
4
|
+
import k from "../icon/comps/check-sm.vue.mjs";
|
|
5
|
+
import z from "../icon/comps/x-sm.vue.mjs";
|
|
6
|
+
import B from "../../utils/mapClasses.mjs";
|
|
7
|
+
import S from "../../utils/uid.mjs";
|
|
8
|
+
const $ = ["id"], g = ["aria-checked", "aria-labelledby"], u = "cdr-switch", U = /* @__PURE__ */ _({
|
|
9
|
+
name: "CdrSwitch",
|
|
10
|
+
__name: "CdrSwitch",
|
|
11
|
+
props: {
|
|
12
|
+
/**
|
|
13
|
+
* Sets a custom ID for the switch. If this value is not set, it will be auto-generated.
|
|
14
|
+
*/
|
|
15
|
+
id: {
|
|
16
|
+
type: String
|
|
17
|
+
},
|
|
18
|
+
/**
|
|
19
|
+
* Sets the size of the switch
|
|
20
|
+
* @demoSelectMultiple false
|
|
21
|
+
* @values medium, large
|
|
22
|
+
*/
|
|
23
|
+
size: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: "medium",
|
|
26
|
+
validator: (i) => y(i, ["medium", "large"])
|
|
27
|
+
},
|
|
28
|
+
/**
|
|
29
|
+
* Sets the label and switch to expand to the full width of its container with `space-between`
|
|
30
|
+
*/
|
|
31
|
+
fullWidth: {
|
|
32
|
+
type: Boolean,
|
|
33
|
+
default: !1
|
|
34
|
+
},
|
|
35
|
+
/**
|
|
36
|
+
* @demoIgnore true
|
|
37
|
+
*/
|
|
38
|
+
modelValue: {
|
|
39
|
+
type: Boolean,
|
|
40
|
+
required: !0
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
emits: {
|
|
44
|
+
/**
|
|
45
|
+
* Event emitted by v-model on switch
|
|
46
|
+
* @param modelValue
|
|
47
|
+
*/
|
|
48
|
+
"update:modelValue": null
|
|
49
|
+
},
|
|
50
|
+
setup(i, {
|
|
51
|
+
emit: m
|
|
52
|
+
}) {
|
|
53
|
+
const l = i, t = w(), d = l.id ? l.id : S(), f = (o) => {
|
|
54
|
+
m("update:modelValue", !o);
|
|
55
|
+
}, h = r(() => l.size ? `cdr-switch--${l.size}` : "cdr-switch--medium"), p = r(() => l.fullWidth ? V(u, l.fullWidth, "full-width") : "");
|
|
56
|
+
return (o, c) => (C(), b("div", {
|
|
57
|
+
class: s(e(B)(e(t), u, p.value, h.value))
|
|
58
|
+
}, [a("div", {
|
|
59
|
+
id: e(d),
|
|
60
|
+
class: s(e(t)["cdr-switch__label"])
|
|
61
|
+
}, [v(o.$slots, "default")], 10, $), a("button", {
|
|
62
|
+
onClick: c[0] || (c[0] = (W) => f(i.modelValue)),
|
|
63
|
+
class: s(e(t)["cdr-switch__button"]),
|
|
64
|
+
role: "switch",
|
|
65
|
+
"aria-checked": i.modelValue,
|
|
66
|
+
"aria-labelledby": e(d)
|
|
67
|
+
}, [n(k, {
|
|
68
|
+
class: s(e(t)["cdr-switch__button-icon"])
|
|
69
|
+
}, null, 8, ["class"]), n(z, {
|
|
70
|
+
class: s(e(t)["cdr-switch__button-icon"])
|
|
71
|
+
}, null, 8, ["class"]), a("div", {
|
|
72
|
+
class: s(e(t)["cdr-switch__handle"])
|
|
73
|
+
}, null, 2)], 10, g)], 2));
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
export {
|
|
77
|
+
U as default
|
|
78
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
const
|
|
2
|
-
"cdr-switch": "cdr-
|
|
3
|
-
"cdr-switch__button": "cdr-
|
|
4
|
-
"cdr-switch__button-icon": "cdr-switch__button-
|
|
5
|
-
"cdr-switch__handle": "cdr-
|
|
6
|
-
"cdr-switch__label": "cdr-
|
|
7
|
-
"cdr-switch--full-width": "cdr-switch--full-
|
|
8
|
-
"cdr-switch--large": "cdr-switch--
|
|
9
|
-
"cdr-switch--medium": "cdr-switch--
|
|
1
|
+
const t = {
|
|
2
|
+
"cdr-switch": "cdr-switch_14-0-0-ts-0",
|
|
3
|
+
"cdr-switch__button": "cdr-switch__button_14-0-0-ts-0",
|
|
4
|
+
"cdr-switch__button-icon": "cdr-switch__button-icon_14-0-0-ts-0",
|
|
5
|
+
"cdr-switch__handle": "cdr-switch__handle_14-0-0-ts-0",
|
|
6
|
+
"cdr-switch__label": "cdr-switch__label_14-0-0-ts-0",
|
|
7
|
+
"cdr-switch--full-width": "cdr-switch--full-width_14-0-0-ts-0",
|
|
8
|
+
"cdr-switch--large": "cdr-switch--large_14-0-0-ts-0",
|
|
9
|
+
"cdr-switch--medium": "cdr-switch--medium_14-0-0-ts-0"
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
t as default
|
|
13
13
|
};
|
|
@@ -1,75 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const W = u({
|
|
8
|
-
name: "CdrTable",
|
|
9
|
-
props: {
|
|
10
|
-
/** Sets row colors to alternate between darker and lighter backgrounds.
|
|
11
|
-
* Striping will not apply when `border` is true
|
|
12
|
-
*/
|
|
13
|
-
striped: {
|
|
14
|
-
type: Boolean,
|
|
15
|
-
default: !1
|
|
16
|
-
},
|
|
17
|
-
/** Adds borders between rows. Will disable `striped` if both are true */
|
|
18
|
-
border: {
|
|
19
|
-
type: Boolean,
|
|
20
|
-
default: !0
|
|
21
|
-
},
|
|
22
|
-
/** Sets the width to 100%. Also accepts space separated strings for breakpoints that it should be full width: { '@xs' | '@sm' | '@md' | '@lg' } */
|
|
23
|
-
fullWidth: {
|
|
24
|
-
type: [Boolean, String],
|
|
25
|
-
default: !0
|
|
26
|
-
},
|
|
27
|
-
/** Makes the table scroll horizontally when it would overflow its container */
|
|
28
|
-
responsive: {
|
|
29
|
-
type: Boolean,
|
|
30
|
-
default: !0
|
|
31
|
-
},
|
|
32
|
-
/** Adds a darker background on row hover */
|
|
33
|
-
hover: {
|
|
34
|
-
type: Boolean,
|
|
35
|
-
default: !1
|
|
36
|
-
},
|
|
37
|
-
/**
|
|
38
|
-
* Sets the table size (cell padding); values can target responsive breakpoints. Example `small@lg`.
|
|
39
|
-
* @demoSelectMultiple false
|
|
40
|
-
* @values small, medium, large
|
|
41
|
-
*/
|
|
42
|
-
size: {
|
|
43
|
-
type: String,
|
|
44
|
-
default: "medium",
|
|
45
|
-
validator: (e) => y(e, ["small", "medium", "large"])
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
setup(e) {
|
|
49
|
-
const s = "cdr-table", t = l(() => e.size && `${s}--${e.size}`), o = l(() => e.striped && `${s}--striped`), r = l(() => e.hover && `${s}--hover`), a = l(() => e.border && !e.striped && `${s}--border`), d = l(() => e.fullWidth && v(s, e.fullWidth, "full-width")), i = l(() => e.responsive && `${s}--responsive`), n = f();
|
|
50
|
-
return {
|
|
51
|
-
mapClasses: h,
|
|
52
|
-
baseClass: s,
|
|
53
|
-
sizeClass: t,
|
|
54
|
-
stripedClass: o,
|
|
55
|
-
hoverClass: r,
|
|
56
|
-
borderClass: a,
|
|
57
|
-
fullWidthClass: d,
|
|
58
|
-
wrapperClass: i,
|
|
59
|
-
style: n
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
function g(e, s, t, o, r, a) {
|
|
64
|
-
return m(), p("div", {
|
|
65
|
-
class: C(e.style[e.wrapperClass])
|
|
66
|
-
}, [c("table", $(e.$attrs, {
|
|
67
|
-
class: e.mapClasses(e.style, e.baseClass, e.sizeClass, e.stripedClass, e.hoverClass, e.borderClass, e.fullWidthClass)
|
|
68
|
-
}), [b(e.$slots, "default")], 16)], 2);
|
|
69
|
-
}
|
|
70
|
-
const w = {
|
|
71
|
-
$style: B
|
|
72
|
-
}, N = /* @__PURE__ */ z(W, [["render", g], ["__cssModules", w]]);
|
|
1
|
+
import s from "./CdrTable.vue2.mjs";
|
|
2
|
+
import o from "./styles/CdrTable.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]]);
|
|
73
7
|
export {
|
|
74
|
-
|
|
8
|
+
f as default
|
|
75
9
|
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { defineComponent as f, useCssModule as c, computed as l, openBlock as v, createElementBlock as C, normalizeClass as b, unref as o, createElementVNode as h, mergeProps as B, renderSlot as $ } from "vue";
|
|
2
|
+
import y from "../../utils/mapClasses.mjs";
|
|
3
|
+
import { buildBooleanClass as z } from "../../utils/buildClass.mjs";
|
|
4
|
+
import g from "../../utils/propValidator.mjs";
|
|
5
|
+
const s = "cdr-table", E = /* @__PURE__ */ f({
|
|
6
|
+
name: "CdrTable",
|
|
7
|
+
__name: "CdrTable",
|
|
8
|
+
props: {
|
|
9
|
+
/** Sets row colors to alternate between darker and lighter backgrounds.
|
|
10
|
+
* Striping will not apply when `border` is true
|
|
11
|
+
*/
|
|
12
|
+
striped: {
|
|
13
|
+
type: Boolean,
|
|
14
|
+
default: !1
|
|
15
|
+
},
|
|
16
|
+
/** Adds borders between rows. Will disable `striped` if both are true */
|
|
17
|
+
border: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: !0
|
|
20
|
+
},
|
|
21
|
+
/** Sets the width to 100%. Also accepts space separated strings for breakpoints that it should be full width: { '@xs' | '@sm' | '@md' | '@lg' } */
|
|
22
|
+
fullWidth: {
|
|
23
|
+
type: [Boolean, String],
|
|
24
|
+
default: !0
|
|
25
|
+
},
|
|
26
|
+
/** Makes the table scroll horizontally when it would overflow its container */
|
|
27
|
+
responsive: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: !0
|
|
30
|
+
},
|
|
31
|
+
/** Adds a darker background on row hover */
|
|
32
|
+
hover: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: !1
|
|
35
|
+
},
|
|
36
|
+
/**
|
|
37
|
+
* Sets the table size (cell padding); values can target responsive breakpoints. Example `small@lg`.
|
|
38
|
+
* @demoSelectMultiple false
|
|
39
|
+
* @values small, medium, large
|
|
40
|
+
*/
|
|
41
|
+
size: {
|
|
42
|
+
type: String,
|
|
43
|
+
default: "medium",
|
|
44
|
+
validator: (t) => g(t, ["small", "medium", "large"])
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
setup(t) {
|
|
48
|
+
const e = t, r = c(), d = l(() => e.size ? `${s}--${e.size}` : ""), n = l(() => e.striped ? `${s}--striped` : ""), i = l(() => e.hover ? `${s}--hover` : ""), p = l(() => e.border && !e.striped ? `${s}--border` : ""), u = l(() => e.fullWidth ? z(s, e.fullWidth, "full-width") : ""), m = l(() => e.responsive ? `${s}--responsive` : "");
|
|
49
|
+
return (a, W) => (v(), C("div", {
|
|
50
|
+
class: b(o(r)[m.value])
|
|
51
|
+
}, [h("table", B(a.$attrs, {
|
|
52
|
+
class: o(y)(o(r), s, d.value, n.value, i.value, p.value, u.value)
|
|
53
|
+
}), [$(a.$slots, "default")], 16)], 2));
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
export {
|
|
57
|
+
E as default
|
|
58
|
+
};
|