@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,70 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
props: {
|
|
8
|
-
forId: {
|
|
9
|
-
type: String,
|
|
10
|
-
required: !0
|
|
11
|
-
},
|
|
12
|
-
label: String,
|
|
13
|
-
disabled: Boolean,
|
|
14
|
-
required: Boolean,
|
|
15
|
-
optional: Boolean,
|
|
16
|
-
hideLabel: Boolean
|
|
17
|
-
},
|
|
18
|
-
setup(e, r) {
|
|
19
|
-
const b = "cdr-label-standalone", d = r.slots.helper, i = r.slots.info, u = r.slots["info-action"], c = p(() => e.disabled && "cdr-label-standalone__label--disabled"), y = p(() => e.hideLabel && "cdr-label-standalone__label--sr-only"), h = p(() => (!e.hideLabel || d || i) && "cdr-label-standalone__input-spacing");
|
|
20
|
-
return {
|
|
21
|
-
style: C(),
|
|
22
|
-
mapClasses: L,
|
|
23
|
-
baseClass: b,
|
|
24
|
-
hasHelper: d,
|
|
25
|
-
hasInfo: i,
|
|
26
|
-
hasInfoAction: u,
|
|
27
|
-
disabledLabelClass: c,
|
|
28
|
-
srOnlyLabelClass: y,
|
|
29
|
-
inputSpacingClass: h
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
}), _ = ["for"], g = {
|
|
33
|
-
key: 0,
|
|
34
|
-
"aria-hidden": "true"
|
|
35
|
-
}, B = {
|
|
36
|
-
key: 0
|
|
37
|
-
}, v = ["id"];
|
|
38
|
-
function q(e, r, b, d, i, u) {
|
|
39
|
-
return l(), a("div", {
|
|
40
|
-
class: s(e.style[e.baseClass])
|
|
41
|
-
}, [t("div", {
|
|
42
|
-
class: s(e.style["cdr-label-standalone__label-wrapper"])
|
|
43
|
-
}, [t("label", {
|
|
44
|
-
class: s(e.mapClasses(e.style, "cdr-label-standalone__label", e.disabledLabelClass, e.srOnlyLabelClass)),
|
|
45
|
-
for: e.forId
|
|
46
|
-
}, [$(f(e.label) + f((e.required || e.optional, "")) + " ", 1), e.required ? (l(), a("span", g, "*")) : e.optional ? (l(), a("span", {
|
|
47
|
-
key: 1,
|
|
48
|
-
class: s(e.style["cdr-label-standalone__optional"])
|
|
49
|
-
}, "(optional)", 2)) : n("", !0)], 10, _), !e.hideLabel && e.hasHelper ? (l(), a("br", B)) : n("", !0), e.hasHelper ? (l(), a("span", {
|
|
50
|
-
key: 1,
|
|
51
|
-
class: s(e.style["cdr-label-standalone__helper"]),
|
|
52
|
-
id: `${e.forId}-helper-text-top`
|
|
53
|
-
}, [o(e.$slots, "helper")], 10, v)) : n("", !0)], 2), t("div", {
|
|
54
|
-
class: s(e.mapClasses(e.style, "cdr-label-standalone__input-wrap", e.inputSpacingClass))
|
|
55
|
-
}, [o(e.$slots, "default"), e.hasInfoAction ? (l(), a("div", {
|
|
56
|
-
key: 0,
|
|
57
|
-
class: s(e.style["cdr-label-standalone__info-action"])
|
|
58
|
-
}, [o(e.$slots, "info-action")], 2)) : n("", !0)], 2), e.hasInfo ? (l(), a("span", {
|
|
59
|
-
key: 0,
|
|
60
|
-
class: s(e.style["cdr-label-standalone__info"])
|
|
61
|
-
}, [o(e.$slots, "info")], 2)) : n("", !0), t("div", {
|
|
62
|
-
class: s(e.style["cdr-label-standalone__post-content"])
|
|
63
|
-
}, [o(e.$slots, "helper-text-bottom"), o(e.$slots, "error")], 2)], 2);
|
|
64
|
-
}
|
|
65
|
-
const H = {
|
|
66
|
-
$style: k
|
|
67
|
-
}, A = /* @__PURE__ */ S(I, [["render", q], ["__cssModules", H]]);
|
|
1
|
+
import o from "./CdrLabelStandalone.vue2.mjs";
|
|
2
|
+
import s from "./styles/CdrLabelStandalone.module.scss.mjs";
|
|
3
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const e = {
|
|
5
|
+
$style: s
|
|
6
|
+
}, a = /* @__PURE__ */ t(o, [["__cssModules", e]]);
|
|
68
7
|
export {
|
|
69
|
-
|
|
8
|
+
a as default
|
|
70
9
|
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { defineComponent as v, useSlots as L, useCssModule as S, computed as p, openBlock as o, createElementBlock as s, normalizeClass as n, unref as e, createElementVNode as i, createTextVNode as $, toDisplayString as h, createCommentVNode as r, renderSlot as d } from "vue";
|
|
2
|
+
import m from "../../utils/mapClasses.mjs";
|
|
3
|
+
const B = ["for"], g = {
|
|
4
|
+
key: 0,
|
|
5
|
+
"aria-hidden": "true"
|
|
6
|
+
}, I = {
|
|
7
|
+
key: 0
|
|
8
|
+
}, q = ["id"], N = "cdr-label-standalone", z = /* @__PURE__ */ v({
|
|
9
|
+
name: "CdrLabelStandalone",
|
|
10
|
+
__name: "CdrLabelStandalone",
|
|
11
|
+
props: {
|
|
12
|
+
forId: {
|
|
13
|
+
type: String,
|
|
14
|
+
required: !0
|
|
15
|
+
},
|
|
16
|
+
label: String,
|
|
17
|
+
disabled: Boolean,
|
|
18
|
+
required: Boolean,
|
|
19
|
+
optional: Boolean,
|
|
20
|
+
hideLabel: Boolean
|
|
21
|
+
},
|
|
22
|
+
setup(l) {
|
|
23
|
+
const c = l, b = L(), a = S(), u = b.helper, f = b.info, _ = b["info-action"], y = p(() => c.disabled ? "cdr-label-standalone__label--disabled" : ""), C = p(() => c.hideLabel ? "cdr-label-standalone__label--sr-only" : ""), k = p(() => !c.hideLabel || u || f ? "cdr-label-standalone__input-spacing" : "");
|
|
24
|
+
return (t, V) => (o(), s("div", {
|
|
25
|
+
class: n(e(a)[N])
|
|
26
|
+
}, [i("div", {
|
|
27
|
+
class: n(e(a)["cdr-label-standalone__label-wrapper"])
|
|
28
|
+
}, [i("label", {
|
|
29
|
+
class: n(e(m)(e(a), "cdr-label-standalone__label", y.value, C.value)),
|
|
30
|
+
for: l.forId
|
|
31
|
+
}, [$(h(l.label) + h((l.required || l.optional, "")) + " ", 1), l.required ? (o(), s("span", g, "*")) : l.optional ? (o(), s("span", {
|
|
32
|
+
key: 1,
|
|
33
|
+
class: n(e(a)["cdr-label-standalone__optional"])
|
|
34
|
+
}, "(optional)", 2)) : r("", !0)], 10, B), !l.hideLabel && e(u) ? (o(), s("br", I)) : r("", !0), e(u) ? (o(), s("span", {
|
|
35
|
+
key: 1,
|
|
36
|
+
class: n(e(a)["cdr-label-standalone__helper"]),
|
|
37
|
+
id: `${l.forId}-helper-text-top`
|
|
38
|
+
}, [d(t.$slots, "helper")], 10, q)) : r("", !0)], 2), i("div", {
|
|
39
|
+
class: n(e(m)(e(a), "cdr-label-standalone__input-wrap", k.value))
|
|
40
|
+
}, [d(t.$slots, "default"), e(_) ? (o(), s("div", {
|
|
41
|
+
key: 0,
|
|
42
|
+
class: n(e(a)["cdr-label-standalone__info-action"])
|
|
43
|
+
}, [d(t.$slots, "info-action")], 2)) : r("", !0)], 2), e(f) ? (o(), s("span", {
|
|
44
|
+
key: 0,
|
|
45
|
+
class: n(e(a)["cdr-label-standalone__info"])
|
|
46
|
+
}, [d(t.$slots, "info")], 2)) : r("", !0), i("div", {
|
|
47
|
+
class: n(e(a)["cdr-label-standalone__post-content"])
|
|
48
|
+
}, [d(t.$slots, "helper-text-bottom"), d(t.$slots, "error")], 2)], 2));
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
export {
|
|
52
|
+
z as default
|
|
53
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
const l = {
|
|
2
|
-
"cdr-label-standalone": "cdr-label-
|
|
3
|
-
"cdr-label-standalone__label-wrapper": "cdr-label-standalone__label-
|
|
4
|
-
"cdr-label-standalone__label": "cdr-label-
|
|
5
|
-
"cdr-label-standalone__label--sr-only": "cdr-label-standalone__label--sr-
|
|
6
|
-
"cdr-label-standalone__label--disabled": "cdr-label-standalone__label--
|
|
7
|
-
"cdr-label-standalone__optional": "cdr-label-
|
|
8
|
-
"cdr-label-standalone__helper": "cdr-label-
|
|
9
|
-
"cdr-label-standalone__info": "cdr-label-
|
|
10
|
-
"cdr-label-standalone__post-content": "cdr-label-standalone__post-
|
|
11
|
-
"cdr-label-standalone__info-action": "cdr-label-standalone__info-
|
|
12
|
-
"cdr-label-standalone__input-wrap": "cdr-label-standalone__input-
|
|
13
|
-
"cdr-label-standalone__input-spacing": "cdr-label-standalone__input-
|
|
2
|
+
"cdr-label-standalone": "cdr-label-standalone_14-0-0-ts-0",
|
|
3
|
+
"cdr-label-standalone__label-wrapper": "cdr-label-standalone__label-wrapper_14-0-0-ts-0",
|
|
4
|
+
"cdr-label-standalone__label": "cdr-label-standalone__label_14-0-0-ts-0",
|
|
5
|
+
"cdr-label-standalone__label--sr-only": "cdr-label-standalone__label--sr-only_14-0-0-ts-0",
|
|
6
|
+
"cdr-label-standalone__label--disabled": "cdr-label-standalone__label--disabled_14-0-0-ts-0",
|
|
7
|
+
"cdr-label-standalone__optional": "cdr-label-standalone__optional_14-0-0-ts-0",
|
|
8
|
+
"cdr-label-standalone__helper": "cdr-label-standalone__helper_14-0-0-ts-0",
|
|
9
|
+
"cdr-label-standalone__info": "cdr-label-standalone__info_14-0-0-ts-0",
|
|
10
|
+
"cdr-label-standalone__post-content": "cdr-label-standalone__post-content_14-0-0-ts-0",
|
|
11
|
+
"cdr-label-standalone__info-action": "cdr-label-standalone__info-action_14-0-0-ts-0",
|
|
12
|
+
"cdr-label-standalone__input-wrap": "cdr-label-standalone__input-wrap_14-0-0-ts-0",
|
|
13
|
+
"cdr-label-standalone__input-spacing": "cdr-label-standalone__input-spacing_14-0-0-ts-0"
|
|
14
14
|
};
|
|
15
15
|
export {
|
|
16
16
|
l as default
|
|
@@ -1,44 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const g = d({
|
|
8
|
-
name: "CdrLabelWrapper",
|
|
9
|
-
props: {
|
|
10
|
-
labelClass: String,
|
|
11
|
-
contentClass: String,
|
|
12
|
-
background: f,
|
|
13
|
-
disabled: Boolean,
|
|
14
|
-
modifier: String,
|
|
15
|
-
size: String
|
|
16
|
-
},
|
|
17
|
-
setup(s) {
|
|
18
|
-
const e = "cdr-label-wrapper", o = a(() => s.modifier && `${e}--${s.modifier}`), n = a(() => s.size && b(e, "", s.size)), i = a(() => s.disabled && `${e}--disabled`);
|
|
19
|
-
return {
|
|
20
|
-
style: p(),
|
|
21
|
-
modifierClass: o,
|
|
22
|
-
sizeClass: n,
|
|
23
|
-
disabledClass: i,
|
|
24
|
-
mapClasses: C
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
function y(s, e, o, n, i, z) {
|
|
29
|
-
return c(), m("div", {
|
|
30
|
-
class: l(s.style["cdr-label-wrapper__container"])
|
|
31
|
-
}, [r("label", {
|
|
32
|
-
class: l(s.mapClasses(s.style, "cdr-label-wrapper", `cdr-label-wrapper--${s.background}`, s.disabledClass, s.modifierClass, s.sizeClass).concat(` ${s.labelClass || ""}`))
|
|
33
|
-
}, [t(s.$slots, "input"), r("span", {
|
|
34
|
-
class: l(s.style["cdr-label-wrapper__figure"])
|
|
35
|
-
}, null, 2), r("span", {
|
|
36
|
-
class: l([s.style["cdr-label-wrapper__content"], s.contentClass])
|
|
37
|
-
}, [t(s.$slots, "default")], 2)], 2)], 2);
|
|
38
|
-
}
|
|
39
|
-
const w = {
|
|
40
|
-
$style: u
|
|
41
|
-
}, E = /* @__PURE__ */ $(g, [["render", y], ["__cssModules", w]]);
|
|
1
|
+
import s from "./CdrLabelWrapper.vue2.mjs";
|
|
2
|
+
import o from "./styles/CdrLabelWrapper.module.scss.mjs";
|
|
3
|
+
import r from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const t = {
|
|
5
|
+
$style: o
|
|
6
|
+
}, c = /* @__PURE__ */ r(s, [["__cssModules", t]]);
|
|
42
7
|
export {
|
|
43
|
-
|
|
8
|
+
c as default
|
|
44
9
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { defineComponent as b, useCssModule as u, computed as o, openBlock as f, createElementBlock as C, normalizeClass as r, unref as s, createElementVNode as n, renderSlot as i } from "vue";
|
|
2
|
+
import { responsiveModifyClass as g } from "../../utils/buildClass.mjs";
|
|
3
|
+
import $ from "../../props/background.mjs";
|
|
4
|
+
import w from "../../utils/mapClasses.mjs";
|
|
5
|
+
const t = "cdr-label-wrapper", B = /* @__PURE__ */ b({
|
|
6
|
+
name: "CdrLabelWrapper",
|
|
7
|
+
__name: "CdrLabelWrapper",
|
|
8
|
+
props: {
|
|
9
|
+
labelClass: String,
|
|
10
|
+
contentClass: String,
|
|
11
|
+
background: $,
|
|
12
|
+
disabled: Boolean,
|
|
13
|
+
modifier: String,
|
|
14
|
+
size: String
|
|
15
|
+
},
|
|
16
|
+
setup(a) {
|
|
17
|
+
const e = a, l = u(), d = o(() => e.modifier ? `${t}--${e.modifier}` : ""), p = o(() => e.size ? g(t, "", e.size) : ""), m = o(() => e.disabled ? `${t}--disabled` : "");
|
|
18
|
+
return (c, k) => (f(), C("div", {
|
|
19
|
+
class: r(s(l)["cdr-label-wrapper__container"])
|
|
20
|
+
}, [n("label", {
|
|
21
|
+
class: r(s(w)(s(l), "cdr-label-wrapper", `cdr-label-wrapper--${a.background}`, m.value, d.value, p.value).concat(` ${a.labelClass || ""}`))
|
|
22
|
+
}, [i(c.$slots, "input"), n("span", {
|
|
23
|
+
class: r(s(l)["cdr-label-wrapper__figure"])
|
|
24
|
+
}, null, 2), n("span", {
|
|
25
|
+
class: r([s(l)["cdr-label-wrapper__content"], a.contentClass])
|
|
26
|
+
}, [i(c.$slots, "default")], 2)], 2)], 2));
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
export {
|
|
30
|
+
B as default
|
|
31
|
+
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
const r = {
|
|
2
|
-
"cdr-label-wrapper": "cdr-label-
|
|
3
|
-
"cdr-label-wrapper__container": "cdr-label-
|
|
4
|
-
"cdr-label-wrapper--primary": "cdr-label-wrapper--
|
|
5
|
-
"cdr-label-wrapper--secondary": "cdr-label-wrapper--
|
|
6
|
-
"cdr-label-wrapper--disabled": "cdr-label-wrapper--
|
|
7
|
-
"cdr-label-wrapper__figure": "cdr-label-
|
|
8
|
-
"cdr-label-wrapper__content": "cdr-label-
|
|
9
|
-
"cdr-label-wrapper--hide-figure": "cdr-label-wrapper--hide-
|
|
10
|
-
"cdr-label-wrapper--small": "cdr-label-wrapper--
|
|
11
|
-
"cdr-label-wrapper--medium": "cdr-label-wrapper--
|
|
12
|
-
"cdr-label-wrapper--large": "cdr-label-wrapper--
|
|
13
|
-
"cdr-label-wrapper--small@xs": "cdr-label-wrapper--small@
|
|
14
|
-
"cdr-label-wrapper--medium@xs": "cdr-label-wrapper--medium@
|
|
15
|
-
"cdr-label-wrapper--large@xs": "cdr-label-wrapper--large@
|
|
16
|
-
"cdr-label-wrapper--small@sm": "cdr-label-wrapper--small@
|
|
17
|
-
"cdr-label-wrapper--medium@sm": "cdr-label-wrapper--medium@
|
|
18
|
-
"cdr-label-wrapper--large@sm": "cdr-label-wrapper--large@
|
|
19
|
-
"cdr-label-wrapper--small@md": "cdr-label-wrapper--small@
|
|
20
|
-
"cdr-label-wrapper--medium@md": "cdr-label-wrapper--medium@
|
|
21
|
-
"cdr-label-wrapper--large@md": "cdr-label-wrapper--large@
|
|
22
|
-
"cdr-label-wrapper--small@lg": "cdr-label-wrapper--small@
|
|
23
|
-
"cdr-label-wrapper--medium@lg": "cdr-label-wrapper--medium@
|
|
24
|
-
"cdr-label-wrapper--large@lg": "cdr-label-wrapper--large@
|
|
2
|
+
"cdr-label-wrapper": "cdr-label-wrapper_14-0-0-ts-0",
|
|
3
|
+
"cdr-label-wrapper__container": "cdr-label-wrapper__container_14-0-0-ts-0",
|
|
4
|
+
"cdr-label-wrapper--primary": "cdr-label-wrapper--primary_14-0-0-ts-0",
|
|
5
|
+
"cdr-label-wrapper--secondary": "cdr-label-wrapper--secondary_14-0-0-ts-0",
|
|
6
|
+
"cdr-label-wrapper--disabled": "cdr-label-wrapper--disabled_14-0-0-ts-0",
|
|
7
|
+
"cdr-label-wrapper__figure": "cdr-label-wrapper__figure_14-0-0-ts-0",
|
|
8
|
+
"cdr-label-wrapper__content": "cdr-label-wrapper__content_14-0-0-ts-0",
|
|
9
|
+
"cdr-label-wrapper--hide-figure": "cdr-label-wrapper--hide-figure_14-0-0-ts-0",
|
|
10
|
+
"cdr-label-wrapper--small": "cdr-label-wrapper--small_14-0-0-ts-0",
|
|
11
|
+
"cdr-label-wrapper--medium": "cdr-label-wrapper--medium_14-0-0-ts-0",
|
|
12
|
+
"cdr-label-wrapper--large": "cdr-label-wrapper--large_14-0-0-ts-0",
|
|
13
|
+
"cdr-label-wrapper--small@xs": "cdr-label-wrapper--small@xs_14-0-0-ts-0",
|
|
14
|
+
"cdr-label-wrapper--medium@xs": "cdr-label-wrapper--medium@xs_14-0-0-ts-0",
|
|
15
|
+
"cdr-label-wrapper--large@xs": "cdr-label-wrapper--large@xs_14-0-0-ts-0",
|
|
16
|
+
"cdr-label-wrapper--small@sm": "cdr-label-wrapper--small@sm_14-0-0-ts-0",
|
|
17
|
+
"cdr-label-wrapper--medium@sm": "cdr-label-wrapper--medium@sm_14-0-0-ts-0",
|
|
18
|
+
"cdr-label-wrapper--large@sm": "cdr-label-wrapper--large@sm_14-0-0-ts-0",
|
|
19
|
+
"cdr-label-wrapper--small@md": "cdr-label-wrapper--small@md_14-0-0-ts-0",
|
|
20
|
+
"cdr-label-wrapper--medium@md": "cdr-label-wrapper--medium@md_14-0-0-ts-0",
|
|
21
|
+
"cdr-label-wrapper--large@md": "cdr-label-wrapper--large@md_14-0-0-ts-0",
|
|
22
|
+
"cdr-label-wrapper--small@lg": "cdr-label-wrapper--small@lg_14-0-0-ts-0",
|
|
23
|
+
"cdr-label-wrapper--medium@lg": "cdr-label-wrapper--medium@lg_14-0-0-ts-0",
|
|
24
|
+
"cdr-label-wrapper--large@lg": "cdr-label-wrapper--large@lg_14-0-0-ts-0"
|
|
25
25
|
};
|
|
26
26
|
export {
|
|
27
27
|
r as default
|
|
@@ -1,74 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
name: "CdrLink",
|
|
8
|
-
props: {
|
|
9
|
-
/**
|
|
10
|
-
* Sets valid HTML element tag
|
|
11
|
-
* @values a, button
|
|
12
|
-
*/
|
|
13
|
-
tag: {
|
|
14
|
-
type: String,
|
|
15
|
-
default: "a"
|
|
16
|
-
},
|
|
17
|
-
/**
|
|
18
|
-
* Sets value for anchors href property. Requires tag prop value to be `a`.
|
|
19
|
-
*/
|
|
20
|
-
href: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: "#"
|
|
23
|
-
},
|
|
24
|
-
/**
|
|
25
|
-
* Sets color and fill
|
|
26
|
-
*/
|
|
27
|
-
inheritColor: {
|
|
28
|
-
type: Boolean,
|
|
29
|
-
default: !1
|
|
30
|
-
},
|
|
31
|
-
/**
|
|
32
|
-
* Modifies the style variant for this component.
|
|
33
|
-
* @values standalone
|
|
34
|
-
*/
|
|
35
|
-
modifier: {
|
|
36
|
-
type: String,
|
|
37
|
-
default: "",
|
|
38
|
-
validator: (e) => g(e, ["", "standalone"])
|
|
39
|
-
},
|
|
40
|
-
/** @ignore */
|
|
41
|
-
target: String,
|
|
42
|
-
/** @ignore */
|
|
43
|
-
rel: String
|
|
44
|
-
},
|
|
45
|
-
setup(e) {
|
|
46
|
-
const t = "cdr-link", o = r(() => e.tag === "a" ? e.href : null), s = r(() => e.target === "_blank" ? e.rel || "noopener noreferrer" : e.rel), l = r(() => e.modifier && `${t}--${e.modifier}`), a = r(() => e.inheritColor && "cdr-link--inherit-color");
|
|
47
|
-
return {
|
|
48
|
-
style: i(),
|
|
49
|
-
baseClass: t,
|
|
50
|
-
computedHref: o,
|
|
51
|
-
computedRel: s,
|
|
52
|
-
modifierClass: l,
|
|
53
|
-
inheritColorClass: a,
|
|
54
|
-
mapClasses: p
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
function k(e, t, o, s, l, a) {
|
|
59
|
-
return d(), f(m(e.tag), {
|
|
60
|
-
class: u(e.mapClasses(e.style, e.baseClass, e.modifierClass, e.inheritColorClass)),
|
|
61
|
-
target: e.target,
|
|
62
|
-
rel: e.computedRel,
|
|
63
|
-
href: e.computedHref
|
|
64
|
-
}, {
|
|
65
|
-
default: c(() => [C(e.$slots, "default")]),
|
|
66
|
-
_: 3
|
|
67
|
-
}, 8, ["class", "target", "rel", "href"]);
|
|
68
|
-
}
|
|
69
|
-
const S = {
|
|
70
|
-
$style: h
|
|
71
|
-
}, L = /* @__PURE__ */ y($, [["render", k], ["__cssModules", S]]);
|
|
1
|
+
import s from "./CdrLink.vue2.mjs";
|
|
2
|
+
import o from "./styles/CdrLink.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]]);
|
|
72
7
|
export {
|
|
73
|
-
|
|
8
|
+
f as default
|
|
74
9
|
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { defineComponent as c, useCssModule as u, computed as t, openBlock as m, createBlock as p, resolveDynamicComponent as C, normalizeClass as g, unref as o, withCtx as h, renderSlot as k } from "vue";
|
|
2
|
+
import v from "../../utils/mapClasses.mjs";
|
|
3
|
+
import y from "../../utils/propValidator.mjs";
|
|
4
|
+
const a = "cdr-link", b = /* @__PURE__ */ c({
|
|
5
|
+
name: "CdrLink",
|
|
6
|
+
__name: "CdrLink",
|
|
7
|
+
props: {
|
|
8
|
+
/**
|
|
9
|
+
* Sets valid HTML element tag
|
|
10
|
+
* @values a, button
|
|
11
|
+
*/
|
|
12
|
+
tag: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: "a"
|
|
15
|
+
},
|
|
16
|
+
/**
|
|
17
|
+
* Sets value for anchors href property. Requires tag prop value to be `a`.
|
|
18
|
+
*/
|
|
19
|
+
href: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: "#"
|
|
22
|
+
},
|
|
23
|
+
/**
|
|
24
|
+
* Sets color and fill
|
|
25
|
+
*/
|
|
26
|
+
inheritColor: {
|
|
27
|
+
type: Boolean,
|
|
28
|
+
default: !1
|
|
29
|
+
},
|
|
30
|
+
/**
|
|
31
|
+
* Modifies the style variant for this component.
|
|
32
|
+
* @values standalone
|
|
33
|
+
*/
|
|
34
|
+
modifier: {
|
|
35
|
+
type: String,
|
|
36
|
+
default: "",
|
|
37
|
+
validator: (r) => y(r, ["", "standalone"])
|
|
38
|
+
},
|
|
39
|
+
/** @ignore */
|
|
40
|
+
target: String,
|
|
41
|
+
/** @ignore */
|
|
42
|
+
rel: String
|
|
43
|
+
},
|
|
44
|
+
setup(r) {
|
|
45
|
+
const e = r, l = u(), n = t(() => e.tag === "a" ? e.href : null), i = t(() => e.target === "_blank" ? e.rel || "noopener noreferrer" : e.rel), s = t(() => e.modifier ? `${a}--${e.modifier}` : ""), f = t(() => e.inheritColor ? "cdr-link--inherit-color" : "");
|
|
46
|
+
return (d, S) => (m(), p(C(r.tag), {
|
|
47
|
+
class: g(o(v)(o(l), a, s.value, f.value)),
|
|
48
|
+
target: r.target,
|
|
49
|
+
rel: i.value,
|
|
50
|
+
href: n.value
|
|
51
|
+
}, {
|
|
52
|
+
default: h(() => [k(d.$slots, "default")]),
|
|
53
|
+
_: 3
|
|
54
|
+
}, 8, ["class", "target", "rel", "href"]));
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
export {
|
|
58
|
+
b as default
|
|
59
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const n = {
|
|
2
|
-
"cdr-link": "cdr-
|
|
3
|
-
"cdr-link--standalone": "cdr-link--
|
|
4
|
-
"cdr-link--inherit-color": "cdr-link--inherit-
|
|
2
|
+
"cdr-link": "cdr-link_14-0-0-ts-0",
|
|
3
|
+
"cdr-link--standalone": "cdr-link--standalone_14-0-0-ts-0",
|
|
4
|
+
"cdr-link--inherit-color": "cdr-link--inherit-color_14-0-0-ts-0"
|
|
5
5
|
};
|
|
6
6
|
export {
|
|
7
7
|
n as default
|
|
@@ -1,50 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
props: {
|
|
8
|
-
/**
|
|
9
|
-
* Sets list type and HTML element as "unordered" or "ordered"
|
|
10
|
-
* @values ul, ol
|
|
11
|
-
*/
|
|
12
|
-
tag: {
|
|
13
|
-
type: String,
|
|
14
|
-
default: "ul",
|
|
15
|
-
validator: (e) => i(e, ["ul", "ol"])
|
|
16
|
-
},
|
|
17
|
-
/**
|
|
18
|
-
* Modifies the style variant for this component
|
|
19
|
-
* @demoSelectMultiple true
|
|
20
|
-
* @values ordered, unordered, compact, inline
|
|
21
|
-
*/
|
|
22
|
-
modifier: {
|
|
23
|
-
type: String,
|
|
24
|
-
default: "",
|
|
25
|
-
validator: (e) => i(e, ["", "ordered", "unordered", "compact", "inline"])
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
setup(e) {
|
|
29
|
-
const s = "cdr-list", o = n(), t = d(() => e.modifier.split(" ").map((r) => o[`${s}--${r}`]));
|
|
30
|
-
return {
|
|
31
|
-
style: o,
|
|
32
|
-
baseClass: s,
|
|
33
|
-
modifierClasses: t
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
function g(e, s, o, t, l, r) {
|
|
38
|
-
return m(), p(c(e.tag), {
|
|
39
|
-
class: f([e.style[e.baseClass], e.modifierClasses])
|
|
40
|
-
}, {
|
|
41
|
-
default: u(() => [C(e.$slots, "default")]),
|
|
42
|
-
_: 3
|
|
43
|
-
}, 8, ["class"]);
|
|
44
|
-
}
|
|
45
|
-
const v = {
|
|
46
|
-
$style: $
|
|
47
|
-
}, k = /* @__PURE__ */ y(_, [["render", g], ["__cssModules", v]]);
|
|
1
|
+
import s from "./CdrList.vue2.mjs";
|
|
2
|
+
import o from "./styles/CdrList.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]]);
|
|
48
7
|
export {
|
|
49
|
-
|
|
8
|
+
f as default
|
|
50
9
|
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { defineComponent as n, useCssModule as d, computed as c, openBlock as m, createBlock as u, resolveDynamicComponent as p, normalizeClass as f, unref as C, withCtx as v, renderSlot as g } from "vue";
|
|
2
|
+
import s from "../../utils/propValidator.mjs";
|
|
3
|
+
const a = "cdr-list", S = /* @__PURE__ */ n({
|
|
4
|
+
name: "CdrList",
|
|
5
|
+
__name: "CdrList",
|
|
6
|
+
props: {
|
|
7
|
+
/**
|
|
8
|
+
* Sets list type and HTML element as "unordered" or "ordered"
|
|
9
|
+
* @values ul, ol
|
|
10
|
+
*/
|
|
11
|
+
tag: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: "ul",
|
|
14
|
+
validator: (e) => s(e, ["ul", "ol"])
|
|
15
|
+
},
|
|
16
|
+
/**
|
|
17
|
+
* Modifies the style variant for this component
|
|
18
|
+
* @demoSelectMultiple true
|
|
19
|
+
* @values ordered, unordered, compact, inline
|
|
20
|
+
*/
|
|
21
|
+
modifier: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: "",
|
|
24
|
+
validator: (e) => s(e, ["", "ordered", "unordered", "compact", "inline"])
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
setup(e) {
|
|
28
|
+
const i = e, t = d(), l = c(() => i.modifier.split(" ").map((r) => t[`${a}--${r}`]));
|
|
29
|
+
return (o, r) => (m(), u(p(e.tag), {
|
|
30
|
+
class: f([C(t)[a], l.value])
|
|
31
|
+
}, {
|
|
32
|
+
default: v(() => [g(o.$slots, "default")]),
|
|
33
|
+
_: 3
|
|
34
|
+
}, 8, ["class"]));
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
export {
|
|
38
|
+
S as default
|
|
39
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const
|
|
2
|
-
"cdr-list": "cdr-
|
|
3
|
-
"cdr-list--compact": "cdr-list--
|
|
4
|
-
"cdr-list--ordered": "cdr-list--
|
|
5
|
-
"cdr-list--unordered": "cdr-list--
|
|
6
|
-
"cdr-list--inline": "cdr-list--
|
|
1
|
+
const t = {
|
|
2
|
+
"cdr-list": "cdr-list_14-0-0-ts-0",
|
|
3
|
+
"cdr-list--compact": "cdr-list--compact_14-0-0-ts-0",
|
|
4
|
+
"cdr-list--ordered": "cdr-list--ordered_14-0-0-ts-0",
|
|
5
|
+
"cdr-list--unordered": "cdr-list--unordered_14-0-0-ts-0",
|
|
6
|
+
"cdr-list--inline": "cdr-list--inline_14-0-0-ts-0"
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
t as default
|
|
10
10
|
};
|