@rei/cedar 11.0.1 → 13.0.0-alpha.kurt-test
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/README.md +28 -35
- package/dist/cedar-compiled.css +944 -1104
- package/dist/cedar.js +8727 -9237
- package/dist/cedar.mjs +8519 -7534
- package/dist/lib/_virtual/plugin-vue_export-helper.js +9 -0
- package/dist/lib/assets/{cedar-compiled-010f67b6.css → cedar-compiled-f3a569d4.css} +2475 -2635
- package/dist/lib/node_modules/@rei/cdr-tokens/dist/js/{cdr-tokens.esm.mjs → cdr-tokens.esm.js} +0 -0
- package/dist/lib/src/components/accordion/CdrAccordion.js +211 -0
- package/dist/lib/src/components/accordion/CdrAccordionGroup.js +112 -0
- package/dist/lib/src/components/banner/CdrBanner.js +91 -0
- package/dist/lib/src/components/breadcrumb/CdrBreadcrumb.js +140 -0
- package/dist/lib/src/components/button/CdrButton.js +124 -0
- package/dist/lib/src/components/caption/CdrCaption.js +40 -0
- package/dist/lib/src/components/card/CdrCard.js +32 -0
- package/dist/lib/src/components/checkbox/CdrCheckbox.js +118 -0
- package/dist/lib/src/components/chip/CdrChip.js +59 -0
- package/dist/lib/src/components/chip/CdrChipGroup.js +109 -0
- package/dist/lib/src/components/container/CdrContainer.js +49 -0
- package/dist/lib/src/components/formError/CdrFormError.js +40 -0
- package/dist/lib/src/components/formGroup/CdrFormGroup.js +99 -0
- package/dist/lib/src/components/grid/CdrGrid.js +54 -0
- package/dist/lib/src/components/icon/CdrIcon.js +67 -0
- package/dist/lib/src/components/icon/comps/account-profile-fill.js +35 -0
- package/dist/lib/src/components/icon/comps/account-profile.js +35 -0
- package/dist/lib/src/components/icon/comps/arrow-down.js +35 -0
- package/dist/lib/src/components/icon/comps/arrow-left.js +35 -0
- package/dist/lib/src/components/icon/comps/arrow-right.js +35 -0
- package/dist/lib/src/components/icon/comps/arrow-up.js +35 -0
- package/dist/lib/src/components/icon/comps/atv.js +35 -0
- package/dist/lib/src/components/icon/comps/bed-outline.js +35 -0
- package/dist/lib/src/components/icon/comps/bike-shop.js +35 -0
- package/dist/lib/src/components/icon/comps/binoculars.js +35 -0
- package/dist/lib/src/components/icon/comps/birding.js +35 -0
- package/dist/lib/src/components/icon/comps/boat.js +35 -0
- package/dist/lib/src/components/icon/comps/boating.js +35 -0
- package/dist/lib/src/components/icon/comps/bookmark-fill.js +35 -0
- package/dist/lib/src/components/icon/comps/bookmark-stroke.js +35 -0
- package/dist/lib/src/components/icon/comps/brand-abstract.js +35 -0
- package/dist/lib/src/components/icon/comps/brand-code-sandbox.js +35 -0
- package/dist/lib/src/components/icon/comps/brand-github.js +35 -0
- package/dist/lib/src/components/icon/comps/brand-linkedin.js +35 -0
- package/dist/lib/src/components/icon/comps/brand-rei-ice-axes.js +35 -0
- package/dist/lib/src/components/icon/comps/brand-sketch.js +35 -0
- package/dist/lib/src/components/icon/comps/buddies.js +35 -0
- package/dist/lib/src/components/icon/comps/bus.js +35 -0
- package/dist/lib/src/components/icon/comps/calendar.js +35 -0
- package/dist/lib/src/components/icon/comps/camera.js +35 -0
- package/dist/lib/src/components/icon/comps/canoe.js +35 -0
- package/dist/lib/src/components/icon/comps/car.js +35 -0
- package/dist/lib/src/components/icon/comps/caret-down.js +35 -0
- package/dist/lib/src/components/icon/comps/caret-left.js +35 -0
- package/dist/lib/src/components/icon/comps/caret-right.js +35 -0
- package/dist/lib/src/components/icon/comps/caret-up.js +35 -0
- package/dist/lib/src/components/icon/comps/cart-fill.js +35 -0
- package/dist/lib/src/components/icon/comps/cart.js +35 -0
- package/dist/lib/src/components/icon/comps/chain-link.js +35 -0
- package/dist/lib/src/components/icon/comps/chat.js +35 -0
- package/dist/lib/src/components/icon/comps/check-fill.js +35 -0
- package/dist/lib/src/components/icon/comps/check-lg.js +35 -0
- package/dist/lib/src/components/icon/comps/check-sm.js +35 -0
- package/dist/lib/src/components/icon/comps/check-stroke.js +35 -0
- package/dist/lib/src/components/icon/comps/climb.js +35 -0
- package/dist/lib/src/components/icon/comps/clipboard.js +35 -0
- package/dist/lib/src/components/icon/comps/clock.js +35 -0
- package/dist/lib/src/components/icon/comps/code-html.js +35 -0
- package/dist/lib/src/components/icon/comps/code-js.js +35 -0
- package/dist/lib/src/components/icon/comps/compass.js +35 -0
- package/dist/lib/src/components/icon/comps/copy.js +35 -0
- package/dist/lib/src/components/icon/comps/coupon-fill.js +35 -0
- package/dist/lib/src/components/icon/comps/coupon-stroke.js +35 -0
- package/dist/lib/src/components/icon/comps/credit-card.js +35 -0
- package/dist/lib/src/components/icon/comps/curbside-pickup.js +35 -0
- package/dist/lib/src/components/icon/comps/day.js +35 -0
- package/dist/lib/src/components/icon/comps/diving.js +35 -0
- package/dist/lib/src/components/icon/comps/dog.js +35 -0
- package/dist/lib/src/components/icon/comps/download.js +35 -0
- package/dist/lib/src/components/icon/comps/edit.js +35 -0
- package/dist/lib/src/components/icon/comps/elevation.js +35 -0
- package/dist/lib/src/components/icon/comps/error-fill.js +37 -0
- package/dist/lib/src/components/icon/comps/error-stroke.js +42 -0
- package/dist/lib/src/components/icon/comps/expand.js +35 -0
- package/dist/lib/src/components/icon/comps/experiences-backpacking.js +35 -0
- package/dist/lib/src/components/icon/comps/experiences-camping.js +35 -0
- package/dist/lib/src/components/icon/comps/experiences-climbing.js +35 -0
- package/dist/lib/src/components/icon/comps/experiences-clothing.js +35 -0
- package/dist/lib/src/components/icon/comps/experiences-cycling.js +35 -0
- package/dist/lib/src/components/icon/comps/experiences-family.js +35 -0
- package/dist/lib/src/components/icon/comps/experiences-fitness.js +35 -0
- package/dist/lib/src/components/icon/comps/experiences-hiking.js +35 -0
- package/dist/lib/src/components/icon/comps/experiences-outdoor-basics.js +35 -0
- package/dist/lib/src/components/icon/comps/experiences-paddling.js +35 -0
- package/dist/lib/src/components/icon/comps/experiences-rentals.js +35 -0
- package/dist/lib/src/components/icon/comps/experiences-snowsports.js +35 -0
- package/dist/lib/src/components/icon/comps/experiences-travel.js +35 -0
- package/dist/lib/src/components/icon/comps/external-link.js +35 -0
- package/dist/lib/src/components/icon/comps/eye-hide.js +35 -0
- package/dist/lib/src/components/icon/comps/eye-show.js +35 -0
- package/dist/lib/src/components/icon/comps/facebook.js +35 -0
- package/dist/lib/src/components/icon/comps/filter-alt.js +35 -0
- package/dist/lib/src/components/icon/comps/filter.js +35 -0
- package/dist/lib/src/components/icon/comps/find-location.js +35 -0
- package/dist/lib/src/components/icon/comps/fire.js +35 -0
- package/dist/lib/src/components/icon/comps/fishing.js +35 -0
- package/dist/lib/src/components/icon/comps/free-product.js +35 -0
- package/dist/lib/src/components/icon/comps/grid-view.js +35 -0
- package/dist/lib/src/components/icon/comps/heart-fill.js +35 -0
- package/dist/lib/src/components/icon/comps/heart-stroke.js +35 -0
- package/dist/lib/src/components/icon/comps/hike.js +35 -0
- package/dist/lib/src/components/icon/comps/history.js +35 -0
- package/dist/lib/src/components/icon/comps/home.js +35 -0
- package/dist/lib/src/components/icon/comps/horse.js +35 -0
- package/dist/lib/src/components/icon/comps/horseshoe.js +35 -0
- package/dist/lib/src/components/icon/comps/image.js +35 -0
- package/dist/lib/src/components/icon/comps/information-fill.js +35 -0
- package/dist/lib/src/components/icon/comps/information-stroke.js +35 -0
- package/dist/lib/src/components/icon/comps/instagram.js +35 -0
- package/dist/lib/src/components/icon/comps/kayak.js +35 -0
- package/dist/lib/src/components/icon/comps/list-ragged.js +35 -0
- package/dist/lib/src/components/icon/comps/list-view.js +35 -0
- package/dist/lib/src/components/icon/comps/location-pin-fill.js +35 -0
- package/dist/lib/src/components/icon/comps/location-pin-stroke.js +35 -0
- package/dist/lib/src/components/icon/comps/lock-locked-fill.js +35 -0
- package/dist/lib/src/components/icon/comps/lock-locked-stroke.js +35 -0
- package/dist/lib/src/components/icon/comps/lock-unlocked-stroke.js +35 -0
- package/dist/lib/src/components/icon/comps/mail.js +35 -0
- package/dist/lib/src/components/icon/comps/map.js +35 -0
- package/dist/lib/src/components/icon/comps/member-card.js +35 -0
- package/dist/lib/src/components/icon/comps/microphone.js +35 -0
- package/dist/lib/src/components/icon/comps/minus-fill.js +35 -0
- package/dist/lib/src/components/icon/comps/minus-lg.js +35 -0
- package/dist/lib/src/components/icon/comps/minus-sm.js +35 -0
- package/dist/lib/src/components/icon/comps/minus-stroke.js +35 -0
- package/dist/lib/src/components/icon/comps/more-functions.js +35 -0
- package/dist/lib/src/components/icon/comps/my-location.js +35 -0
- package/dist/lib/src/components/icon/comps/navigation-menu.js +35 -0
- package/dist/lib/src/components/icon/comps/night.js +35 -0
- package/dist/lib/src/components/icon/comps/paddle.js +35 -0
- package/dist/lib/src/components/icon/comps/pause-fill.js +35 -0
- package/dist/lib/src/components/icon/comps/pause-stroke.js +35 -0
- package/dist/lib/src/components/icon/comps/pause.js +35 -0
- package/dist/lib/src/components/icon/comps/photography.js +35 -0
- package/dist/lib/src/components/icon/comps/picnic.js +35 -0
- package/dist/lib/src/components/icon/comps/pinterest.js +35 -0
- package/dist/lib/src/components/icon/comps/plane.js +35 -0
- package/dist/lib/src/components/icon/comps/play-fill.js +35 -0
- package/dist/lib/src/components/icon/comps/play-stroke.js +35 -0
- package/dist/lib/src/components/icon/comps/play.js +35 -0
- package/dist/lib/src/components/icon/comps/playground.js +35 -0
- package/dist/lib/src/components/icon/comps/plugin.js +35 -0
- package/dist/lib/src/components/icon/comps/plus-fill.js +35 -0
- package/dist/lib/src/components/icon/comps/plus-lg.js +35 -0
- package/dist/lib/src/components/icon/comps/plus-sm.js +35 -0
- package/dist/lib/src/components/icon/comps/plus-stroke.js +35 -0
- package/dist/lib/src/components/icon/comps/print.js +35 -0
- package/dist/lib/src/components/icon/comps/protection-fill.js +35 -0
- package/dist/lib/src/components/icon/comps/protection-stroke.js +35 -0
- package/dist/lib/src/components/icon/comps/question-fill.js +35 -0
- package/dist/lib/src/components/icon/comps/question-stroke.js +35 -0
- package/dist/lib/src/components/icon/comps/refresh.js +35 -0
- package/dist/lib/src/components/icon/comps/reload.js +35 -0
- package/dist/lib/src/components/icon/comps/returns.js +35 -0
- package/dist/lib/src/components/icon/comps/run.js +35 -0
- package/dist/lib/src/components/icon/comps/scan-barcode.js +35 -0
- package/dist/lib/src/components/icon/comps/search.js +35 -0
- package/dist/lib/src/components/icon/comps/service-shop.js +35 -0
- package/dist/lib/src/components/icon/comps/shipping.js +35 -0
- package/dist/lib/src/components/icon/comps/shopping-bag-fill.js +35 -0
- package/dist/lib/src/components/icon/comps/shopping-bag.js +35 -0
- package/dist/lib/src/components/icon/comps/shrink.js +35 -0
- package/dist/lib/src/components/icon/comps/size-chart.js +35 -0
- package/dist/lib/src/components/icon/comps/ski-boot.js +35 -0
- package/dist/lib/src/components/icon/comps/ski.js +35 -0
- package/dist/lib/src/components/icon/comps/snow-shop.js +35 -0
- package/dist/lib/src/components/icon/comps/snow.js +35 -0
- package/dist/lib/src/components/icon/comps/sort.js +35 -0
- package/dist/lib/src/components/icon/comps/star-100.js +35 -0
- package/dist/lib/src/components/icon/comps/star-25.js +35 -0
- package/dist/lib/src/components/icon/comps/star-50.js +35 -0
- package/dist/lib/src/components/icon/comps/star-75.js +35 -0
- package/dist/lib/src/components/icon/comps/star-stroke.js +35 -0
- package/dist/lib/src/components/icon/comps/storefront.js +35 -0
- package/dist/lib/src/components/icon/comps/swim.js +35 -0
- package/dist/lib/src/components/icon/comps/telephone.js +35 -0
- package/dist/lib/src/components/icon/comps/tent.js +35 -0
- package/dist/lib/src/components/icon/comps/trash.js +35 -0
- package/dist/lib/src/components/icon/comps/twitter.js +35 -0
- package/dist/lib/src/components/icon/comps/upload.js +35 -0
- package/dist/lib/src/components/icon/comps/verified-purchaser.js +35 -0
- package/dist/lib/src/components/icon/comps/virtual-outfitting.js +35 -0
- package/dist/lib/src/components/icon/comps/warning-fill.js +35 -0
- package/dist/lib/src/components/icon/comps/warning-stroke.js +35 -0
- package/dist/lib/src/components/icon/comps/water.js +35 -0
- package/dist/lib/src/components/icon/comps/wilderness.js +35 -0
- package/dist/lib/src/components/icon/comps/x-fill.js +35 -0
- package/dist/lib/src/components/icon/comps/x-lg.js +35 -0
- package/dist/lib/src/components/icon/comps/x-sm.js +35 -0
- package/dist/lib/src/components/icon/comps/x-stroke.js +35 -0
- package/dist/lib/src/components/icon/comps/youtube.js +35 -0
- package/dist/lib/src/components/icon/comps/zoom-in.js +35 -0
- package/dist/lib/src/components/icon/comps/zoom-out.js +35 -0
- package/dist/lib/src/components/image/CdrImg.js +148 -0
- package/dist/lib/src/components/input/CdrInput.js +305 -0
- package/dist/lib/src/components/labelStandalone/CdrLabelStandalone.js +116 -0
- package/dist/lib/src/components/labelWrapper/CdrLabelWrapper.js +60 -0
- package/dist/lib/src/components/link/CdrLink.js +71 -0
- package/dist/lib/src/components/list/CdrList.js +46 -0
- package/dist/lib/src/components/modal/CdrModal.js +383 -0
- package/dist/lib/src/components/modal/{onTransitionEnd.mjs → onTransitionEnd.js} +15 -13
- package/dist/lib/src/components/pagination/CdrPagination.js +315 -0
- package/dist/lib/src/components/popover/CdrPopover.js +183 -0
- package/dist/lib/src/components/popup/CdrPopup.js +188 -0
- package/dist/lib/src/components/popup/calculatePlacement.js +88 -0
- package/dist/lib/src/components/quote/CdrQuote.js +64 -0
- package/dist/lib/src/components/radio/CdrRadio.js +110 -0
- package/dist/lib/src/components/rating/CdrRating.js +184 -0
- package/dist/lib/src/components/select/CdrSelect.js +277 -0
- package/dist/lib/src/components/table/CdrTable.js +84 -0
- package/dist/lib/src/components/tabs/CdrTabPanel.js +117 -0
- package/dist/lib/src/components/tabs/CdrTabs.js +361 -0
- package/dist/lib/src/components/text/CdrText.js +31 -0
- package/dist/lib/src/components/toast/CdrToast.js +160 -0
- package/dist/lib/src/components/tooltip/CdrTooltip.js +129 -0
- package/dist/lib/src/{index.mjs → index.js} +209 -209
- package/dist/lib/src/mixins/breakpoints.js +21 -0
- package/dist/lib/src/props/background.js +11 -0
- package/dist/lib/src/props/size.js +11 -0
- package/dist/lib/src/utils/buildClass.js +90 -0
- package/dist/lib/src/utils/mapClasses.js +22 -0
- package/dist/lib/src/utils/{propValidator.mjs → propValidator.js} +6 -5
- package/dist/style/cedar-full.css +0 -1
- package/package.json +53 -38
- package/dist/lib/src/components/accordion/CdrAccordion.mjs +0 -198
- package/dist/lib/src/components/accordion/CdrAccordionGroup.mjs +0 -119
- package/dist/lib/src/components/accordion/styles/CdrAccordion.mjs +0 -3
- package/dist/lib/src/components/accordion/styles/CdrAccordionGroup.mjs +0 -3
- package/dist/lib/src/components/banner/CdrBanner.mjs +0 -61
- package/dist/lib/src/components/banner/styles/CdrBanner.mjs +0 -3
- package/dist/lib/src/components/breadcrumb/CdrBreadcrumb.mjs +0 -158
- package/dist/lib/src/components/breadcrumb/styles/CdrBreadcrumb.mjs +0 -3
- package/dist/lib/src/components/button/CdrButton.mjs +0 -118
- package/dist/lib/src/components/button/styles/CdrButton.mjs +0 -3
- package/dist/lib/src/components/caption/CdrCaption.mjs +0 -38
- package/dist/lib/src/components/caption/styles/CdrCaption.mjs +0 -3
- package/dist/lib/src/components/card/CdrCard.mjs +0 -35
- package/dist/lib/src/components/card/styles/CdrCard.mjs +0 -3
- package/dist/lib/src/components/checkbox/CdrCheckbox.mjs +0 -165
- package/dist/lib/src/components/checkbox/styles/CdrCheckbox.mjs +0 -3
- package/dist/lib/src/components/chip/CdrChip.mjs +0 -30
- package/dist/lib/src/components/chip/CdrChipGroup.mjs +0 -105
- package/dist/lib/src/components/chip/styles/CdrChip.mjs +0 -3
- package/dist/lib/src/components/chip/styles/CdrChipGroup.mjs +0 -3
- package/dist/lib/src/components/container/CdrContainer.mjs +0 -49
- package/dist/lib/src/components/container/styles/CdrContainer.mjs +0 -3
- package/dist/lib/src/components/formError/CdrFormError.mjs +0 -39
- package/dist/lib/src/components/formError/styles/CdrFormError.mjs +0 -3
- package/dist/lib/src/components/formGroup/CdrFormGroup.mjs +0 -95
- package/dist/lib/src/components/formGroup/styles/CdrFormGroup.mjs +0 -3
- package/dist/lib/src/components/grid/CdrGrid.mjs +0 -55
- package/dist/lib/src/components/grid/styles/CdrGrid.mjs +0 -3
- package/dist/lib/src/components/icon/CdrIcon.mjs +0 -76
- package/dist/lib/src/components/icon/comps/account-profile-fill.mjs +0 -27
- package/dist/lib/src/components/icon/comps/account-profile.mjs +0 -27
- package/dist/lib/src/components/icon/comps/arrow-down.mjs +0 -27
- package/dist/lib/src/components/icon/comps/arrow-left.mjs +0 -27
- package/dist/lib/src/components/icon/comps/arrow-right.mjs +0 -27
- package/dist/lib/src/components/icon/comps/arrow-up.mjs +0 -27
- package/dist/lib/src/components/icon/comps/atv.mjs +0 -27
- package/dist/lib/src/components/icon/comps/bed-outline.mjs +0 -27
- package/dist/lib/src/components/icon/comps/bike-shop.mjs +0 -27
- package/dist/lib/src/components/icon/comps/binoculars.mjs +0 -27
- package/dist/lib/src/components/icon/comps/birding.mjs +0 -27
- package/dist/lib/src/components/icon/comps/boat.mjs +0 -27
- package/dist/lib/src/components/icon/comps/boating.mjs +0 -27
- package/dist/lib/src/components/icon/comps/bookmark-fill.mjs +0 -27
- package/dist/lib/src/components/icon/comps/bookmark-stroke.mjs +0 -27
- package/dist/lib/src/components/icon/comps/brand-abstract.mjs +0 -27
- package/dist/lib/src/components/icon/comps/brand-code-sandbox.mjs +0 -27
- package/dist/lib/src/components/icon/comps/brand-github.mjs +0 -27
- package/dist/lib/src/components/icon/comps/brand-linkedin.mjs +0 -27
- package/dist/lib/src/components/icon/comps/brand-rei-ice-axes.mjs +0 -27
- package/dist/lib/src/components/icon/comps/brand-sketch.mjs +0 -27
- package/dist/lib/src/components/icon/comps/buddies.mjs +0 -27
- package/dist/lib/src/components/icon/comps/bus.mjs +0 -27
- package/dist/lib/src/components/icon/comps/calendar.mjs +0 -27
- package/dist/lib/src/components/icon/comps/camera.mjs +0 -27
- package/dist/lib/src/components/icon/comps/canoe.mjs +0 -27
- package/dist/lib/src/components/icon/comps/car.mjs +0 -27
- package/dist/lib/src/components/icon/comps/caret-down.mjs +0 -27
- package/dist/lib/src/components/icon/comps/caret-left.mjs +0 -27
- package/dist/lib/src/components/icon/comps/caret-right.mjs +0 -27
- package/dist/lib/src/components/icon/comps/caret-up.mjs +0 -27
- package/dist/lib/src/components/icon/comps/cart-fill.mjs +0 -27
- package/dist/lib/src/components/icon/comps/cart.mjs +0 -27
- package/dist/lib/src/components/icon/comps/chain-link.mjs +0 -27
- package/dist/lib/src/components/icon/comps/chat.mjs +0 -27
- package/dist/lib/src/components/icon/comps/check-fill.mjs +0 -27
- package/dist/lib/src/components/icon/comps/check-lg.mjs +0 -27
- package/dist/lib/src/components/icon/comps/check-sm.mjs +0 -27
- package/dist/lib/src/components/icon/comps/check-stroke.mjs +0 -27
- package/dist/lib/src/components/icon/comps/climb.mjs +0 -27
- package/dist/lib/src/components/icon/comps/clipboard.mjs +0 -27
- package/dist/lib/src/components/icon/comps/clock.mjs +0 -27
- package/dist/lib/src/components/icon/comps/code-html.mjs +0 -27
- package/dist/lib/src/components/icon/comps/code-js.mjs +0 -27
- package/dist/lib/src/components/icon/comps/compass.mjs +0 -27
- package/dist/lib/src/components/icon/comps/copy.mjs +0 -27
- package/dist/lib/src/components/icon/comps/coupon-fill.mjs +0 -27
- package/dist/lib/src/components/icon/comps/coupon-stroke.mjs +0 -27
- package/dist/lib/src/components/icon/comps/credit-card.mjs +0 -27
- package/dist/lib/src/components/icon/comps/curbside-pickup.mjs +0 -27
- package/dist/lib/src/components/icon/comps/day.mjs +0 -27
- package/dist/lib/src/components/icon/comps/diving.mjs +0 -27
- package/dist/lib/src/components/icon/comps/dog.mjs +0 -27
- package/dist/lib/src/components/icon/comps/download.mjs +0 -27
- package/dist/lib/src/components/icon/comps/edit.mjs +0 -27
- package/dist/lib/src/components/icon/comps/elevation.mjs +0 -27
- package/dist/lib/src/components/icon/comps/error-fill.mjs +0 -29
- package/dist/lib/src/components/icon/comps/error-stroke.mjs +0 -33
- package/dist/lib/src/components/icon/comps/expand.mjs +0 -27
- package/dist/lib/src/components/icon/comps/experiences-backpacking.mjs +0 -27
- package/dist/lib/src/components/icon/comps/experiences-camping.mjs +0 -27
- package/dist/lib/src/components/icon/comps/experiences-climbing.mjs +0 -27
- package/dist/lib/src/components/icon/comps/experiences-clothing.mjs +0 -27
- package/dist/lib/src/components/icon/comps/experiences-cycling.mjs +0 -27
- package/dist/lib/src/components/icon/comps/experiences-family.mjs +0 -27
- package/dist/lib/src/components/icon/comps/experiences-fitness.mjs +0 -27
- package/dist/lib/src/components/icon/comps/experiences-hiking.mjs +0 -27
- package/dist/lib/src/components/icon/comps/experiences-outdoor-basics.mjs +0 -27
- package/dist/lib/src/components/icon/comps/experiences-paddling.mjs +0 -27
- package/dist/lib/src/components/icon/comps/experiences-rentals.mjs +0 -27
- package/dist/lib/src/components/icon/comps/experiences-snowsports.mjs +0 -27
- package/dist/lib/src/components/icon/comps/experiences-travel.mjs +0 -27
- package/dist/lib/src/components/icon/comps/external-link.mjs +0 -27
- package/dist/lib/src/components/icon/comps/eye-hide.mjs +0 -27
- package/dist/lib/src/components/icon/comps/eye-show.mjs +0 -27
- package/dist/lib/src/components/icon/comps/facebook.mjs +0 -27
- package/dist/lib/src/components/icon/comps/filter-alt.mjs +0 -27
- package/dist/lib/src/components/icon/comps/filter.mjs +0 -27
- package/dist/lib/src/components/icon/comps/find-location.mjs +0 -27
- package/dist/lib/src/components/icon/comps/fire.mjs +0 -27
- package/dist/lib/src/components/icon/comps/fishing.mjs +0 -27
- package/dist/lib/src/components/icon/comps/free-product.mjs +0 -27
- package/dist/lib/src/components/icon/comps/grid-view.mjs +0 -27
- package/dist/lib/src/components/icon/comps/heart-fill.mjs +0 -27
- package/dist/lib/src/components/icon/comps/heart-stroke.mjs +0 -27
- package/dist/lib/src/components/icon/comps/hike.mjs +0 -27
- package/dist/lib/src/components/icon/comps/history.mjs +0 -27
- package/dist/lib/src/components/icon/comps/home.mjs +0 -27
- package/dist/lib/src/components/icon/comps/horse.mjs +0 -27
- package/dist/lib/src/components/icon/comps/horseshoe.mjs +0 -27
- package/dist/lib/src/components/icon/comps/image.mjs +0 -27
- package/dist/lib/src/components/icon/comps/information-fill.mjs +0 -27
- package/dist/lib/src/components/icon/comps/information-stroke.mjs +0 -27
- package/dist/lib/src/components/icon/comps/instagram.mjs +0 -27
- package/dist/lib/src/components/icon/comps/kayak.mjs +0 -27
- package/dist/lib/src/components/icon/comps/list-ragged.mjs +0 -27
- package/dist/lib/src/components/icon/comps/list-view.mjs +0 -27
- package/dist/lib/src/components/icon/comps/location-pin-fill.mjs +0 -27
- package/dist/lib/src/components/icon/comps/location-pin-stroke.mjs +0 -27
- package/dist/lib/src/components/icon/comps/lock-locked-fill.mjs +0 -27
- package/dist/lib/src/components/icon/comps/lock-locked-stroke.mjs +0 -27
- package/dist/lib/src/components/icon/comps/lock-unlocked-stroke.mjs +0 -27
- package/dist/lib/src/components/icon/comps/mail.mjs +0 -27
- package/dist/lib/src/components/icon/comps/map.mjs +0 -27
- package/dist/lib/src/components/icon/comps/member-card.mjs +0 -27
- package/dist/lib/src/components/icon/comps/microphone.mjs +0 -27
- package/dist/lib/src/components/icon/comps/minus-fill.mjs +0 -27
- package/dist/lib/src/components/icon/comps/minus-lg.mjs +0 -27
- package/dist/lib/src/components/icon/comps/minus-sm.mjs +0 -27
- package/dist/lib/src/components/icon/comps/minus-stroke.mjs +0 -27
- package/dist/lib/src/components/icon/comps/more-functions.mjs +0 -27
- package/dist/lib/src/components/icon/comps/my-location.mjs +0 -27
- package/dist/lib/src/components/icon/comps/navigation-menu.mjs +0 -27
- package/dist/lib/src/components/icon/comps/night.mjs +0 -27
- package/dist/lib/src/components/icon/comps/paddle.mjs +0 -27
- package/dist/lib/src/components/icon/comps/pause-fill.mjs +0 -27
- package/dist/lib/src/components/icon/comps/pause-stroke.mjs +0 -27
- package/dist/lib/src/components/icon/comps/pause.mjs +0 -27
- package/dist/lib/src/components/icon/comps/photography.mjs +0 -27
- package/dist/lib/src/components/icon/comps/picnic.mjs +0 -27
- package/dist/lib/src/components/icon/comps/pinterest.mjs +0 -27
- package/dist/lib/src/components/icon/comps/plane.mjs +0 -27
- package/dist/lib/src/components/icon/comps/play-fill.mjs +0 -27
- package/dist/lib/src/components/icon/comps/play-stroke.mjs +0 -27
- package/dist/lib/src/components/icon/comps/play.mjs +0 -27
- package/dist/lib/src/components/icon/comps/playground.mjs +0 -27
- package/dist/lib/src/components/icon/comps/plugin.mjs +0 -27
- package/dist/lib/src/components/icon/comps/plus-fill.mjs +0 -27
- package/dist/lib/src/components/icon/comps/plus-lg.mjs +0 -27
- package/dist/lib/src/components/icon/comps/plus-sm.mjs +0 -27
- package/dist/lib/src/components/icon/comps/plus-stroke.mjs +0 -27
- package/dist/lib/src/components/icon/comps/print.mjs +0 -27
- package/dist/lib/src/components/icon/comps/protection-fill.mjs +0 -27
- package/dist/lib/src/components/icon/comps/protection-stroke.mjs +0 -27
- package/dist/lib/src/components/icon/comps/question-fill.mjs +0 -27
- package/dist/lib/src/components/icon/comps/question-stroke.mjs +0 -27
- package/dist/lib/src/components/icon/comps/refresh.mjs +0 -27
- package/dist/lib/src/components/icon/comps/reload.mjs +0 -27
- package/dist/lib/src/components/icon/comps/returns.mjs +0 -27
- package/dist/lib/src/components/icon/comps/run.mjs +0 -27
- package/dist/lib/src/components/icon/comps/scan-barcode.mjs +0 -27
- package/dist/lib/src/components/icon/comps/search.mjs +0 -27
- package/dist/lib/src/components/icon/comps/service-shop.mjs +0 -27
- package/dist/lib/src/components/icon/comps/shipping.mjs +0 -27
- package/dist/lib/src/components/icon/comps/shopping-bag-fill.mjs +0 -27
- package/dist/lib/src/components/icon/comps/shopping-bag.mjs +0 -27
- package/dist/lib/src/components/icon/comps/shrink.mjs +0 -27
- package/dist/lib/src/components/icon/comps/size-chart.mjs +0 -27
- package/dist/lib/src/components/icon/comps/ski-boot.mjs +0 -27
- package/dist/lib/src/components/icon/comps/ski.mjs +0 -27
- package/dist/lib/src/components/icon/comps/snow-shop.mjs +0 -27
- package/dist/lib/src/components/icon/comps/snow.mjs +0 -27
- package/dist/lib/src/components/icon/comps/sort.mjs +0 -27
- package/dist/lib/src/components/icon/comps/star-100.mjs +0 -27
- package/dist/lib/src/components/icon/comps/star-25.mjs +0 -27
- package/dist/lib/src/components/icon/comps/star-50.mjs +0 -27
- package/dist/lib/src/components/icon/comps/star-75.mjs +0 -27
- package/dist/lib/src/components/icon/comps/star-stroke.mjs +0 -27
- package/dist/lib/src/components/icon/comps/storefront.mjs +0 -27
- package/dist/lib/src/components/icon/comps/swim.mjs +0 -27
- package/dist/lib/src/components/icon/comps/telephone.mjs +0 -27
- package/dist/lib/src/components/icon/comps/tent.mjs +0 -27
- package/dist/lib/src/components/icon/comps/trash.mjs +0 -27
- package/dist/lib/src/components/icon/comps/twitter.mjs +0 -27
- package/dist/lib/src/components/icon/comps/upload.mjs +0 -27
- package/dist/lib/src/components/icon/comps/verified-purchaser.mjs +0 -27
- package/dist/lib/src/components/icon/comps/virtual-outfitting.mjs +0 -27
- package/dist/lib/src/components/icon/comps/warning-fill.mjs +0 -27
- package/dist/lib/src/components/icon/comps/warning-stroke.mjs +0 -27
- package/dist/lib/src/components/icon/comps/water.mjs +0 -27
- package/dist/lib/src/components/icon/comps/wilderness.mjs +0 -27
- package/dist/lib/src/components/icon/comps/x-fill.mjs +0 -27
- package/dist/lib/src/components/icon/comps/x-lg.mjs +0 -27
- package/dist/lib/src/components/icon/comps/x-sm.mjs +0 -27
- package/dist/lib/src/components/icon/comps/x-stroke.mjs +0 -27
- package/dist/lib/src/components/icon/comps/youtube.mjs +0 -27
- package/dist/lib/src/components/icon/comps/zoom-in.mjs +0 -27
- package/dist/lib/src/components/icon/comps/zoom-out.mjs +0 -27
- package/dist/lib/src/components/icon/styles/CdrIcon.mjs +0 -3
- package/dist/lib/src/components/image/CdrImg.mjs +0 -140
- package/dist/lib/src/components/image/styles/CdrImg.mjs +0 -3
- package/dist/lib/src/components/input/CdrInput.mjs +0 -283
- package/dist/lib/src/components/input/styles/CdrInput.mjs +0 -3
- package/dist/lib/src/components/labelStandalone/CdrLabelStandalone.mjs +0 -85
- package/dist/lib/src/components/labelStandalone/styles/CdrLabelStandalone.mjs +0 -3
- package/dist/lib/src/components/labelWrapper/CdrLabelWrapper.mjs +0 -54
- package/dist/lib/src/components/labelWrapper/styles/CdrLabelWrapper.mjs +0 -3
- package/dist/lib/src/components/link/CdrLink.mjs +0 -71
- package/dist/lib/src/components/link/styles/CdrLink.mjs +0 -3
- package/dist/lib/src/components/list/CdrList.mjs +0 -42
- package/dist/lib/src/components/list/styles/CdrList.mjs +0 -3
- package/dist/lib/src/components/modal/CdrModal.mjs +0 -365
- package/dist/lib/src/components/modal/styles/CdrModal.mjs +0 -3
- package/dist/lib/src/components/pagination/CdrPagination.mjs +0 -425
- package/dist/lib/src/components/pagination/styles/CdrPagination.mjs +0 -3
- package/dist/lib/src/components/popover/CdrPopover.mjs +0 -155
- package/dist/lib/src/components/popover/styles/CdrPopover.mjs +0 -3
- package/dist/lib/src/components/popup/CdrPopup.mjs +0 -256
- package/dist/lib/src/components/popup/styles/CdrPopup.mjs +0 -3
- package/dist/lib/src/components/quote/CdrQuote.mjs +0 -66
- package/dist/lib/src/components/quote/styles/CdrQuote.mjs +0 -3
- package/dist/lib/src/components/radio/CdrRadio.mjs +0 -141
- package/dist/lib/src/components/radio/styles/CdrRadio.mjs +0 -3
- package/dist/lib/src/components/rating/CdrRating.mjs +0 -179
- package/dist/lib/src/components/rating/styles/CdrRating.mjs +0 -3
- package/dist/lib/src/components/select/CdrSelect.mjs +0 -255
- package/dist/lib/src/components/select/styles/CdrSelect.mjs +0 -3
- package/dist/lib/src/components/table/CdrTable.mjs +0 -73
- package/dist/lib/src/components/table/styles/CdrTable.mjs +0 -3
- package/dist/lib/src/components/tabs/CdrTabPanel.mjs +0 -105
- package/dist/lib/src/components/tabs/CdrTabs.mjs +0 -353
- package/dist/lib/src/components/tabs/styles/CdrTabPanel.mjs +0 -3
- package/dist/lib/src/components/tabs/styles/CdrTabs.mjs +0 -3
- package/dist/lib/src/components/text/CdrText.mjs +0 -44
- package/dist/lib/src/components/text/styles/CdrText.mjs +0 -3
- package/dist/lib/src/components/toast/CdrToast.mjs +0 -159
- package/dist/lib/src/components/toast/styles/CdrToast.mjs +0 -3
- package/dist/lib/src/components/tooltip/CdrTooltip.mjs +0 -121
- package/dist/lib/src/components/tooltip/styles/CdrTooltip.mjs +0 -3
- package/dist/lib/src/mixins/breakpoints.mjs +0 -26
- package/dist/lib/src/mixins/buildClass.mjs +0 -71
- package/dist/lib/src/mixins/fullWidth.mjs +0 -47
- package/dist/lib/src/mixins/modifier.mjs +0 -22
- package/dist/lib/src/mixins/size.mjs +0 -37
- package/dist/style/cdr-accordion-group.css +0 -1
- package/dist/style/cdr-accordion.css +0 -1
- package/dist/style/cdr-banner-vars.css +0 -0
- package/dist/style/cdr-banner.css +0 -1
- package/dist/style/cdr-breadcrumb.css +0 -1
- package/dist/style/cdr-button.css +0 -1
- package/dist/style/cdr-caption.css +0 -1
- package/dist/style/cdr-card.css +0 -1
- package/dist/style/cdr-checkbox.css +0 -1
- package/dist/style/cdr-chip-group.css +0 -1
- package/dist/style/cdr-chip.css +0 -1
- package/dist/style/cdr-container.css +0 -1
- package/dist/style/cdr-form-error.css +0 -1
- package/dist/style/cdr-form-group.css +0 -1
- package/dist/style/cdr-grid.css +0 -1
- package/dist/style/cdr-icon.css +0 -1
- package/dist/style/cdr-img.css +0 -1
- package/dist/style/cdr-input.css +0 -1
- package/dist/style/cdr-label-standalone.css +0 -1
- package/dist/style/cdr-label-wrapper.css +0 -1
- package/dist/style/cdr-link.css +0 -1
- package/dist/style/cdr-list.css +0 -1
- package/dist/style/cdr-modal.css +0 -1
- package/dist/style/cdr-pagination.css +0 -1
- package/dist/style/cdr-popover.css +0 -1
- package/dist/style/cdr-popup.css +0 -1
- package/dist/style/cdr-quote.css +0 -1
- package/dist/style/cdr-radio.css +0 -1
- package/dist/style/cdr-rating.css +0 -1
- package/dist/style/cdr-select.css +0 -1
- package/dist/style/cdr-tab-panel.css +0 -1
- package/dist/style/cdr-table.css +0 -1
- package/dist/style/cdr-tabs.css +0 -1
- package/dist/style/cdr-text.css +0 -1
- package/dist/style/cdr-toast.css +0 -1
- package/dist/style/cdr-tooltip.css +0 -1
- package/dist/style/reset.css +0 -1
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
import 'core-js/modules/es.string.replace.js';
|
|
2
|
-
import clsx from 'clsx';
|
|
3
|
-
import modules_4b26c135 from './styles/CdrBreadcrumb.mjs';
|
|
4
|
-
|
|
5
|
-
var CdrBreadcrumb = {
|
|
6
|
-
name: 'CdrBreadcrumb',
|
|
7
|
-
props: {
|
|
8
|
-
/**
|
|
9
|
-
* Required. List of source breadcrumb property objects
|
|
10
|
-
*
|
|
11
|
-
* {
|
|
12
|
-
* displayText: Breadcrumb Display Text
|
|
13
|
-
* url: location breadcrumb should navigate on click
|
|
14
|
-
* }
|
|
15
|
-
*/
|
|
16
|
-
items: {
|
|
17
|
-
type: Array,
|
|
18
|
-
default: () => [],
|
|
19
|
-
validator: value => {
|
|
20
|
-
if (value.length && value.length > 0) {
|
|
21
|
-
for (let i = 0; i < value.length; i += 1) {
|
|
22
|
-
if (!(typeof value[i].item === 'object')) {
|
|
23
|
-
console.error('Breadcrumb items array missing item key at index ', i); // eslint-disable-line no-console
|
|
24
|
-
|
|
25
|
-
return false;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
if (!Object.hasOwnProperty.call(value[i].item, 'name')) {
|
|
29
|
-
console.error('Breadcrumb items array is missing item.name value at index ', i); // eslint-disable-line no-console
|
|
30
|
-
|
|
31
|
-
return false;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
return true;
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Flag to track container width threshold exceeded
|
|
42
|
-
*/
|
|
43
|
-
truncationEnabled: {
|
|
44
|
-
type: Boolean,
|
|
45
|
-
default: true
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
|
|
49
|
-
data() {
|
|
50
|
-
return {
|
|
51
|
-
truncate: this.truncationEnabled && this.items.length > 2,
|
|
52
|
-
style: modules_4b26c135,
|
|
53
|
-
componentID: Math.random().toString(36).substr(2, 9)
|
|
54
|
-
};
|
|
55
|
-
},
|
|
56
|
-
|
|
57
|
-
computed: {
|
|
58
|
-
baseClass() {
|
|
59
|
-
return 'cdr-breadcrumb';
|
|
60
|
-
},
|
|
61
|
-
|
|
62
|
-
ellipsis() {
|
|
63
|
-
const h = this.$createElement;
|
|
64
|
-
return this.truncate ? h("li", {
|
|
65
|
-
"class": this.style['cdr-breadcrumb__item']
|
|
66
|
-
}, [h("button", {
|
|
67
|
-
"on": {
|
|
68
|
-
"click": this.handleEllipsisClick
|
|
69
|
-
},
|
|
70
|
-
"ref": "ellipse",
|
|
71
|
-
"attrs": {
|
|
72
|
-
"aria-expanded": "false",
|
|
73
|
-
"aria-controls": "".concat(this.componentID, "List"),
|
|
74
|
-
"aria-label": "show ".concat(this.items.length - 2, " more navigation level").concat(this.items.length - 2 > 1 ? 's' : '')
|
|
75
|
-
},
|
|
76
|
-
"class": this.style['cdr-breadcrumb__ellipses']
|
|
77
|
-
}, [h("span", {
|
|
78
|
-
"class": this.style['cdr-breadcrumb__ellipses-icon'],
|
|
79
|
-
"attrs": {
|
|
80
|
-
"aria-hidden": "true"
|
|
81
|
-
}
|
|
82
|
-
}, [". . ."])]), h("span", {
|
|
83
|
-
"class": this.style['cdr-breadcrumb__delimiter'],
|
|
84
|
-
"attrs": {
|
|
85
|
-
"aria-hidden": "true"
|
|
86
|
-
}
|
|
87
|
-
}, ["/"])]) : '';
|
|
88
|
-
},
|
|
89
|
-
|
|
90
|
-
listItems() {
|
|
91
|
-
const h = this.$createElement;
|
|
92
|
-
return this.items.map((breadcrumb, index) => {
|
|
93
|
-
const delimiter = index < this.items.length - 1 ? h("span", {
|
|
94
|
-
"class": this.style['cdr-breadcrumb__delimiter'],
|
|
95
|
-
"attrs": {
|
|
96
|
-
"aria-hidden": "true"
|
|
97
|
-
}
|
|
98
|
-
}, ["/"]) : '';
|
|
99
|
-
return h("li", {
|
|
100
|
-
"class": clsx(this.style['cdr-breadcrumb__item']),
|
|
101
|
-
"key": breadcrumb.item.id || breadcrumb.item.name.replace(/ /g, '-').toLowerCase(),
|
|
102
|
-
"directives": [{
|
|
103
|
-
name: "show",
|
|
104
|
-
value: !this.truncate || index >= this.items.length - 2
|
|
105
|
-
}]
|
|
106
|
-
}, [this.$scopedSlots.link ? this.$scopedSlots.link({
|
|
107
|
-
class: this.style['cdr-breadcrumb__link'],
|
|
108
|
-
href: breadcrumb.item.url,
|
|
109
|
-
content: breadcrumb.item.name
|
|
110
|
-
}) : h("a", {
|
|
111
|
-
"class": this.style['cdr-breadcrumb__link'],
|
|
112
|
-
"attrs": {
|
|
113
|
-
"href": breadcrumb.item.url
|
|
114
|
-
},
|
|
115
|
-
"on": {
|
|
116
|
-
"click": e => this.$emit('navigate', breadcrumb, e)
|
|
117
|
-
}
|
|
118
|
-
}, [breadcrumb.item.name]), delimiter]);
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
},
|
|
123
|
-
watch: {
|
|
124
|
-
items() {
|
|
125
|
-
this.truncate = this.truncationEnabled && this.items.length > 2;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
},
|
|
129
|
-
methods: {
|
|
130
|
-
handleEllipsisClick() {
|
|
131
|
-
this.truncate = false;
|
|
132
|
-
setTimeout(() => {
|
|
133
|
-
this.$el.querySelector('li *').focus();
|
|
134
|
-
}, 1);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
},
|
|
138
|
-
|
|
139
|
-
render() {
|
|
140
|
-
const h = arguments[0];
|
|
141
|
-
return h("nav", {
|
|
142
|
-
"ref": "container",
|
|
143
|
-
"class": clsx(this.style[this.baseClass], this.modifierClass),
|
|
144
|
-
"attrs": {
|
|
145
|
-
"aria-label": "breadcrumbs"
|
|
146
|
-
}
|
|
147
|
-
}, [h("ol", {
|
|
148
|
-
"attrs": {
|
|
149
|
-
"id": "".concat(this.componentID, "List")
|
|
150
|
-
},
|
|
151
|
-
"ref": "cdrBreadcrumbList",
|
|
152
|
-
"class": this.style['cdr-breadcrumb__list']
|
|
153
|
-
}, [this.ellipsis, this.listItems])]);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
export default CdrBreadcrumb;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
var modules_4b26c135 = {"cdr-breadcrumb":"cdr-breadcrumb_11-0-1","cdr-breadcrumb__list":"cdr-breadcrumb__list_11-0-1","cdr-breadcrumb__item":"cdr-breadcrumb__item_11-0-1","cdr-breadcrumb__link":"cdr-breadcrumb__link_11-0-1","cdr-breadcrumb__delimiter":"cdr-breadcrumb__delimiter_11-0-1","cdr-breadcrumb__ellipses":"cdr-breadcrumb__ellipses_11-0-1","cdr-breadcrumb__ellipses-icon":"cdr-breadcrumb__ellipses-icon_11-0-1"};
|
|
2
|
-
|
|
3
|
-
export default modules_4b26c135;
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import clsx from 'clsx';
|
|
2
|
-
import modifier from '../../mixins/modifier.mjs';
|
|
3
|
-
import fullWidth from '../../mixins/fullWidth.mjs';
|
|
4
|
-
import size from '../../mixins/size.mjs';
|
|
5
|
-
import modules_1869af45 from './styles/CdrButton.mjs';
|
|
6
|
-
|
|
7
|
-
var CdrButton = {
|
|
8
|
-
name: 'CdrButton',
|
|
9
|
-
mixins: [modifier, size, fullWidth],
|
|
10
|
-
props: {
|
|
11
|
-
/**
|
|
12
|
-
* Controls render as button or anchor. {button, a}
|
|
13
|
-
*/
|
|
14
|
-
tag: {
|
|
15
|
-
type: String,
|
|
16
|
-
default: 'button',
|
|
17
|
-
validator: value => ['button', 'a'].indexOf(value) >= 0 || false
|
|
18
|
-
},
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Sets the button type. {button, submit, reset}
|
|
22
|
-
*/
|
|
23
|
-
type: {
|
|
24
|
-
type: String,
|
|
25
|
-
default: 'button',
|
|
26
|
-
validator: value => ['button', 'submit', 'reset'].indexOf(value) >= 0 || false
|
|
27
|
-
},
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Increases box-shadow around button to enhance contrast against background
|
|
31
|
-
*/
|
|
32
|
-
elevated: {
|
|
33
|
-
type: Boolean,
|
|
34
|
-
default: false
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Renders an icon-only button. Default slot is disabled. Overrides size and responsiveSize props.
|
|
39
|
-
*/
|
|
40
|
-
iconOnly: {
|
|
41
|
-
type: Boolean,
|
|
42
|
-
default: false
|
|
43
|
-
},
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Used in conjunction with `icon-only`, renders a border and background around the icon button
|
|
47
|
-
*/
|
|
48
|
-
withBackground: {
|
|
49
|
-
type: Boolean,
|
|
50
|
-
default: false
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
|
|
54
|
-
data() {
|
|
55
|
-
return {
|
|
56
|
-
style: modules_1869af45
|
|
57
|
-
};
|
|
58
|
-
},
|
|
59
|
-
|
|
60
|
-
computed: {
|
|
61
|
-
baseClass() {
|
|
62
|
-
return 'cdr-button';
|
|
63
|
-
},
|
|
64
|
-
|
|
65
|
-
defaultClass() {
|
|
66
|
-
return this.modifier ? undefined : this.modifyClassName(this.baseClass, 'primary');
|
|
67
|
-
},
|
|
68
|
-
|
|
69
|
-
buttonSizeClass() {
|
|
70
|
-
return !this.iconOnly ? this.sizeClass : this.style["cdr-button--icon-only-".concat(this.size)];
|
|
71
|
-
},
|
|
72
|
-
|
|
73
|
-
iconClass() {
|
|
74
|
-
const classes = [];
|
|
75
|
-
|
|
76
|
-
if ((this.$slots['icon-left'] || this.$slots.icon) && this.$slots.default) {
|
|
77
|
-
/* only add class for buttons with text + icon on left */
|
|
78
|
-
classes.push(this.modifyClassName(this.baseClass, 'has-icon-left'));
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
if (this.$slots['icon-right'] && this.$slots.default) {
|
|
82
|
-
/* only add class for buttons with text + icon on right */
|
|
83
|
-
classes.push(this.modifyClassName(this.baseClass, 'has-icon-right'));
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
if (this.elevated) {
|
|
87
|
-
classes.push(this.modifyClassName(this.baseClass, 'elevated'));
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
if (this.iconOnly) {
|
|
91
|
-
classes.push(this.modifyClassName(this.baseClass, 'icon-only'));
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
if (this.iconOnly && this.withBackground) {
|
|
95
|
-
classes.push(this.modifyClassName(this.baseClass, 'with-background'));
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
return classes.join(' ');
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
},
|
|
102
|
-
|
|
103
|
-
render() {
|
|
104
|
-
const h = arguments[0];
|
|
105
|
-
const Component = this.tag;
|
|
106
|
-
return h(Component, {
|
|
107
|
-
"class": clsx(this.style[this.baseClass], this.defaultClass, this.modifierClass, this.buttonSizeClass, this.fullWidthClass, this.iconClass),
|
|
108
|
-
"attrs": {
|
|
109
|
-
"type": this.tag === 'button' ? this.type : null
|
|
110
|
-
},
|
|
111
|
-
"on": { ...this.$listeners
|
|
112
|
-
}
|
|
113
|
-
}, [this.$slots['icon-left'] || this.$slots.icon, this.$slots.default, this.$slots['icon-right']]);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
export default CdrButton;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
var modules_1869af45 = {"cdr-button":"cdr-button_11-0-1","cdr-button--has-icon-left":"cdr-button--has-icon-left_11-0-1","cdr-button--has-icon-right":"cdr-button--has-icon-right_11-0-1","cdr-button--primary":"cdr-button--primary_11-0-1","cdr-button--elevated":"cdr-button--elevated_11-0-1","cdr-button--secondary":"cdr-button--secondary_11-0-1","cdr-button--dark":"cdr-button--dark_11-0-1","cdr-button--sale":"cdr-button--sale_11-0-1","cdr-button--link":"cdr-button--link_11-0-1","cdr-button--large":"cdr-button--large_11-0-1","cdr-button--medium":"cdr-button--medium_11-0-1","cdr-button--small":"cdr-button--small_11-0-1","cdr-button--icon-only":"cdr-button--icon-only_11-0-1","cdr-button--icon-only-large":"cdr-button--icon-only-large_11-0-1","cdr-button--with-background":"cdr-button--with-background_11-0-1","cdr-button--full-width":"cdr-button--full-width_11-0-1","cdr-button--small@xs":"cdr-button--small@xs_11-0-1","cdr-button--medium@xs":"cdr-button--medium@xs_11-0-1","cdr-button--large@xs":"cdr-button--large@xs_11-0-1","cdr-button--fullWidth@xs":"cdr-button--fullWidth@xs_11-0-1","cdr-button--small@sm":"cdr-button--small@sm_11-0-1","cdr-button--medium@sm":"cdr-button--medium@sm_11-0-1","cdr-button--large@sm":"cdr-button--large@sm_11-0-1","cdr-button--fullWidth@sm":"cdr-button--fullWidth@sm_11-0-1","cdr-button--small@md":"cdr-button--small@md_11-0-1","cdr-button--medium@md":"cdr-button--medium@md_11-0-1","cdr-button--large@md":"cdr-button--large@md_11-0-1","cdr-button--fullWidth@md":"cdr-button--fullWidth@md_11-0-1","cdr-button--small@lg":"cdr-button--small@lg_11-0-1","cdr-button--medium@lg":"cdr-button--medium@lg_11-0-1","cdr-button--large@lg":"cdr-button--large@lg_11-0-1","cdr-button--fullWidth@lg":"cdr-button--fullWidth@lg_11-0-1"};
|
|
2
|
-
|
|
3
|
-
export default modules_1869af45;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import modules_3ada4f15 from './styles/CdrCaption.mjs';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Cedar 2 component for captions
|
|
5
|
-
* @version 0.0.1
|
|
6
|
-
* @author [REI Software Engineering](https://rei.github.io/rei-cedar/)
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
var CdrCaption = {
|
|
10
|
-
name: 'CdrCaption',
|
|
11
|
-
props: {
|
|
12
|
-
/** Caption summary text */
|
|
13
|
-
summary: String,
|
|
14
|
-
|
|
15
|
-
/** Caption credit text */
|
|
16
|
-
credit: String
|
|
17
|
-
},
|
|
18
|
-
|
|
19
|
-
data() {
|
|
20
|
-
return {
|
|
21
|
-
style: modules_3ada4f15
|
|
22
|
-
};
|
|
23
|
-
},
|
|
24
|
-
|
|
25
|
-
render() {
|
|
26
|
-
const h = arguments[0];
|
|
27
|
-
return h("div", {
|
|
28
|
-
"class": this.style['cdr-caption']
|
|
29
|
-
}, [this.summary ? h("p", {
|
|
30
|
-
"class": this.style['cdr-caption__summary']
|
|
31
|
-
}, [this.summary]) : '', this.credit ? h("cite", {
|
|
32
|
-
"class": this.style['cdr-caption__cite']
|
|
33
|
-
}, [this.credit]) : '']);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
export default CdrCaption;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import modules_5c0e7644 from './styles/CdrCard.mjs';
|
|
2
|
-
|
|
3
|
-
var CdrCard = {
|
|
4
|
-
name: 'CdrCard',
|
|
5
|
-
props: {
|
|
6
|
-
tag: {
|
|
7
|
-
type: String,
|
|
8
|
-
default: 'article'
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
|
|
12
|
-
data() {
|
|
13
|
-
return {
|
|
14
|
-
style: modules_5c0e7644
|
|
15
|
-
};
|
|
16
|
-
},
|
|
17
|
-
|
|
18
|
-
computed: {
|
|
19
|
-
baseClass() {
|
|
20
|
-
return 'cdr-card';
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
},
|
|
24
|
-
|
|
25
|
-
render() {
|
|
26
|
-
const h = arguments[0];
|
|
27
|
-
const Component = this.tag;
|
|
28
|
-
return h(Component, {
|
|
29
|
-
"class": this.style[this.baseClass]
|
|
30
|
-
}, [this.$slots.default]);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export default CdrCard;
|
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
import _mergeJSXProps from '@vue/babel-helper-vue-jsx-merge-props';
|
|
2
|
-
import 'core-js/modules/es.symbol.description.js';
|
|
3
|
-
import clsx from 'clsx';
|
|
4
|
-
import modifier from '../../mixins/modifier.mjs';
|
|
5
|
-
import size from '../../mixins/size.mjs';
|
|
6
|
-
import validateProp from '../../utils/propValidator.mjs';
|
|
7
|
-
import modules_82ee9d44 from './styles/CdrCheckbox.mjs';
|
|
8
|
-
import CdrLabelWrapper from '../labelWrapper/CdrLabelWrapper.mjs';
|
|
9
|
-
|
|
10
|
-
var CdrCheckbox = {
|
|
11
|
-
name: 'CdrCheckbox',
|
|
12
|
-
components: {
|
|
13
|
-
CdrLabelWrapper
|
|
14
|
-
},
|
|
15
|
-
mixins: [modifier, size],
|
|
16
|
-
inheritAttrs: false,
|
|
17
|
-
props: {
|
|
18
|
-
/**
|
|
19
|
-
* Class that is added to the label for custom styles
|
|
20
|
-
*/
|
|
21
|
-
labelClass: String,
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Class that is added to the input for custom styles
|
|
25
|
-
*/
|
|
26
|
-
inputClass: String,
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Class that is added to the slot wrapper for custom styles
|
|
30
|
-
*/
|
|
31
|
-
contentClass: String,
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Show checkbox in indeterminate state. (NOTE: this is a visual-only state and there is no logic for when to show it)
|
|
35
|
-
*/
|
|
36
|
-
indeterminate: {
|
|
37
|
-
type: Boolean,
|
|
38
|
-
default: false
|
|
39
|
-
},
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* The value when checked.
|
|
43
|
-
*/
|
|
44
|
-
trueValue: {
|
|
45
|
-
type: [String, Number, Boolean, Object, Array, Symbol, Function],
|
|
46
|
-
default: true
|
|
47
|
-
},
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* The value when unchecked.
|
|
51
|
-
*/
|
|
52
|
-
falseValue: {
|
|
53
|
-
type: [String, Number, Boolean, Object, Array, Symbol, Function],
|
|
54
|
-
default: false
|
|
55
|
-
},
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* The value when used in a checkbox group. Replaces `trueValue` and `falseValue`.
|
|
59
|
-
*/
|
|
60
|
-
customValue: [String, Number, Boolean, Object, Array, Symbol, Function],
|
|
61
|
-
// Set which background type the input renders on
|
|
62
|
-
background: {
|
|
63
|
-
type: [String],
|
|
64
|
-
default: 'primary',
|
|
65
|
-
validator: value => validateProp(value, ['primary', 'secondary'])
|
|
66
|
-
},
|
|
67
|
-
|
|
68
|
-
/** @ignore */
|
|
69
|
-
value: {
|
|
70
|
-
type: [String, Number, Boolean, Object, Array, Symbol, Function]
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
|
|
74
|
-
data() {
|
|
75
|
-
return {
|
|
76
|
-
newValue: this.value,
|
|
77
|
-
style: modules_82ee9d44
|
|
78
|
-
};
|
|
79
|
-
},
|
|
80
|
-
|
|
81
|
-
computed: {
|
|
82
|
-
baseClass() {
|
|
83
|
-
return 'cdr-checkbox';
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
},
|
|
87
|
-
watch: {
|
|
88
|
-
value(val) {
|
|
89
|
-
this.newValue = val;
|
|
90
|
-
},
|
|
91
|
-
|
|
92
|
-
newValue(val) {
|
|
93
|
-
/**
|
|
94
|
-
* `v-model` value. Fires on check/uncheck.
|
|
95
|
-
* @event input
|
|
96
|
-
* @type value | event
|
|
97
|
-
* */
|
|
98
|
-
this.$emit('input', val);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
},
|
|
102
|
-
methods: {
|
|
103
|
-
updateValue(newValue, e) {
|
|
104
|
-
this.$emit('change', newValue, e);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
},
|
|
108
|
-
|
|
109
|
-
render() {
|
|
110
|
-
const h = arguments[0];
|
|
111
|
-
return h("cdr-label-wrapper", {
|
|
112
|
-
"class": this.style['cdr-checkbox'],
|
|
113
|
-
"ref": "label",
|
|
114
|
-
"attrs": {
|
|
115
|
-
"size": this.size,
|
|
116
|
-
"modifier": this.modifier,
|
|
117
|
-
"labelClass": this.labelClass,
|
|
118
|
-
"contentClass": this.contentClass,
|
|
119
|
-
"background": this.background,
|
|
120
|
-
"disabled": this.$attrs.disabled
|
|
121
|
-
}
|
|
122
|
-
}, [h("input", _mergeJSXProps([{
|
|
123
|
-
"on": {
|
|
124
|
-
"change": [$event => {
|
|
125
|
-
const $$a = this.newValue,
|
|
126
|
-
$$el = $event.target,
|
|
127
|
-
$$c = $$el.checked ? this.customValue ? null : this.trueValue : this.customValue ? null : this.falseValue;
|
|
128
|
-
|
|
129
|
-
if (Array.isArray($$a)) {
|
|
130
|
-
const $$v = this.customValue,
|
|
131
|
-
$$i = this._i($$a, $$v);
|
|
132
|
-
|
|
133
|
-
if ($$el.checked) {
|
|
134
|
-
$$i < 0 && (this.newValue = $$a.concat([$$v]));
|
|
135
|
-
} else {
|
|
136
|
-
$$i > -1 && (this.newValue = $$a.slice(0, $$i).concat($$a.slice($$i + 1)));
|
|
137
|
-
}
|
|
138
|
-
} else {
|
|
139
|
-
this.newValue = $$c;
|
|
140
|
-
}
|
|
141
|
-
}, e => this.updateValue(this.newValue, e)]
|
|
142
|
-
},
|
|
143
|
-
"class": clsx(this.style['cdr-checkbox__input'], this.inputClass),
|
|
144
|
-
"attrs": {
|
|
145
|
-
"type": "checkbox",
|
|
146
|
-
...this.$attrs,
|
|
147
|
-
"indeterminate": this.indeterminate
|
|
148
|
-
},
|
|
149
|
-
"ref": "checkbox",
|
|
150
|
-
"slot": "input",
|
|
151
|
-
"domProps": {
|
|
152
|
-
"checked": Array.isArray(this.newValue) ? this._i(this.newValue, this.customValue) > -1 : this._q(this.newValue, this.customValue ? null : this.trueValue)
|
|
153
|
-
}
|
|
154
|
-
}, {
|
|
155
|
-
directives: [{
|
|
156
|
-
name: "model",
|
|
157
|
-
value: this.newValue,
|
|
158
|
-
modifiers: {}
|
|
159
|
-
}]
|
|
160
|
-
}])), this.$slots.default]);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
};
|
|
164
|
-
|
|
165
|
-
export default CdrCheckbox;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import modules_559ede80 from './styles/CdrChip.mjs';
|
|
2
|
-
|
|
3
|
-
var CdrChip = {
|
|
4
|
-
name: 'CdrChip',
|
|
5
|
-
|
|
6
|
-
data() {
|
|
7
|
-
return {
|
|
8
|
-
style: modules_559ede80,
|
|
9
|
-
baseClass: 'cdr-chip'
|
|
10
|
-
};
|
|
11
|
-
},
|
|
12
|
-
|
|
13
|
-
render() {
|
|
14
|
-
const h = arguments[0];
|
|
15
|
-
return h("button", {
|
|
16
|
-
"class": this.style[this.baseClass],
|
|
17
|
-
"on": { ...this.$listeners
|
|
18
|
-
}
|
|
19
|
-
}, [this.$slots['icon-left'] && h("span", {
|
|
20
|
-
"class": this.style['cdr-chip__icon-left']
|
|
21
|
-
}, [this.$slots['icon-left']]), this.$slots['icon-right'] && h("span", {
|
|
22
|
-
"class": this.style['cdr-chip__icon-right']
|
|
23
|
-
}, [this.$slots['icon-right']]), h("span", {
|
|
24
|
-
"class": this.style['cdr-chip__content']
|
|
25
|
-
}, [this.$slots.default])]);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
export default CdrChip;
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import modules_7f5a554b from './styles/CdrChipGroup.mjs';
|
|
2
|
-
|
|
3
|
-
var CdrChipGroup = {
|
|
4
|
-
name: 'CdrChipGroup',
|
|
5
|
-
props: {
|
|
6
|
-
label: {
|
|
7
|
-
type: String,
|
|
8
|
-
required: true
|
|
9
|
-
},
|
|
10
|
-
hideLabel: {
|
|
11
|
-
type: Boolean,
|
|
12
|
-
default: true
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
|
|
16
|
-
data() {
|
|
17
|
-
return {
|
|
18
|
-
style: modules_7f5a554b,
|
|
19
|
-
chips: [],
|
|
20
|
-
currentIdx: 0
|
|
21
|
-
};
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
computed: {
|
|
25
|
-
nextIdx() {
|
|
26
|
-
const idx = this.currentIdx + 1;
|
|
27
|
-
return idx >= this.chips.length ? 0 : idx; // if at last, go to first
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
prevIdx() {
|
|
31
|
-
const idx = this.currentIdx - 1;
|
|
32
|
-
return idx <= -1 ? this.chips.length - 1 : idx; // if at first, go to last
|
|
33
|
-
},
|
|
34
|
-
|
|
35
|
-
legendClass() {
|
|
36
|
-
return this.hideLabel ? this.style['cdr-chip-group__legend--hidden'] : this.style['cdr-chip-group__legend'];
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
},
|
|
40
|
-
|
|
41
|
-
mounted() {
|
|
42
|
-
// get all of the chips in the group
|
|
43
|
-
this.chips = Array.prototype.filter.call(this.$refs.chips.children, chip => !(chip.getAttribute('disabled') || chip.getAttribute('aria-disabled')));
|
|
44
|
-
this.currentIdx = Array.prototype.findIndex.call(this.chips, chip => chip.getAttribute('aria-checked') === 'true');
|
|
45
|
-
},
|
|
46
|
-
|
|
47
|
-
methods: {
|
|
48
|
-
handleKeyDown(e) {
|
|
49
|
-
// something besides the button is focused
|
|
50
|
-
if (this.currentIdx === -1) return;
|
|
51
|
-
const {
|
|
52
|
-
key
|
|
53
|
-
} = e;
|
|
54
|
-
|
|
55
|
-
switch (key) {
|
|
56
|
-
case 'Home':
|
|
57
|
-
e.preventDefault();
|
|
58
|
-
this.chips[0].focus();
|
|
59
|
-
break;
|
|
60
|
-
|
|
61
|
-
case 'End':
|
|
62
|
-
e.preventDefault();
|
|
63
|
-
this.chips[this.chips.length - 1].focus();
|
|
64
|
-
break;
|
|
65
|
-
|
|
66
|
-
case 'ArrowDown':
|
|
67
|
-
case 'Down':
|
|
68
|
-
e.preventDefault();
|
|
69
|
-
this.chips[this.nextIdx].focus();
|
|
70
|
-
break;
|
|
71
|
-
|
|
72
|
-
case 'ArrowUp':
|
|
73
|
-
case 'Up':
|
|
74
|
-
e.preventDefault();
|
|
75
|
-
this.chips[this.prevIdx].focus();
|
|
76
|
-
break;
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
|
|
80
|
-
focusin(e) {
|
|
81
|
-
// find out which, if any, button is focused
|
|
82
|
-
this.currentIdx = Array.prototype.indexOf.call(this.chips, e.target);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
},
|
|
86
|
-
|
|
87
|
-
render() {
|
|
88
|
-
const h = arguments[0];
|
|
89
|
-
return h("fieldset", {
|
|
90
|
-
"class": this.style['cdr-chip-group'],
|
|
91
|
-
"on": {
|
|
92
|
-
"focusin": this.focusin,
|
|
93
|
-
"keydown": this.handleKeyDown
|
|
94
|
-
}
|
|
95
|
-
}, [h("legend", {
|
|
96
|
-
"class": this.legendClass
|
|
97
|
-
}, [this.$slots.label || this.label]), h("div", {
|
|
98
|
-
"ref": "chips",
|
|
99
|
-
"class": this.style['cdr-chip-group__content']
|
|
100
|
-
}, [this.$slots.default])]);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
};
|
|
104
|
-
|
|
105
|
-
export default CdrChipGroup;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
var modules_7f5a554b = {"cdr-chip-group":"cdr-chip-group_11-0-1","cdr-chip-group__content":"cdr-chip-group__content_11-0-1","cdr-chip-group__legend--hidden":"cdr-chip-group__legend--hidden_11-0-1","cdr-chip-group__legend":"cdr-chip-group__legend_11-0-1"};
|
|
2
|
-
|
|
3
|
-
export default modules_7f5a554b;
|