@rei/cedar 13.5.3 → 14.0.0-beta.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 +1074 -1036
- package/dist/cedar.umd.js +31 -2
- package/dist/component-docgen.json +3438 -1310
- package/dist/components/accordion/CdrAccordion.vue.d.ts +128 -0
- package/dist/components/accordion/CdrAccordionGroup.vue.d.ts +31 -0
- package/dist/components/accordion/symbols.d.ts +4 -0
- package/dist/components/banner/CdrBanner.vue.d.ts +37 -0
- package/dist/components/breadcrumb/CdrBreadcrumb.vue.d.ts +88 -0
- package/dist/components/button/CdrButton.vue.d.ts +146 -0
- package/dist/components/caption/CdrCaption.vue.d.ts +32 -0
- package/dist/components/card/CdrCard.vue.d.ts +23 -0
- package/dist/components/checkbox/CdrCheckbox.vue.d.ts +169 -0
- package/dist/components/chip/CdrChip.vue.d.ts +11 -0
- package/dist/components/chip/CdrChipGroup.vue.d.ts +42 -0
- package/dist/components/container/CdrContainer.vue.d.ts +44 -0
- package/dist/components/formError/CdrFormError.vue.d.ts +13 -0
- package/dist/components/formGroup/CdrFormGroup.vue.d.ts +79 -0
- package/dist/components/grid/CdrGrid.vue.d.ts +44 -0
- package/dist/components/icon/CdrIcon.vue.d.ts +46 -0
- package/dist/components/icon/build/generate.d.ts +8 -0
- package/dist/components/icon/comps/account-profile-fill.vue.d.ts +17 -0
- package/dist/components/icon/comps/account-profile.vue.d.ts +17 -0
- package/dist/components/icon/comps/arrow-down.vue.d.ts +17 -0
- package/dist/components/icon/comps/arrow-left.vue.d.ts +17 -0
- package/dist/components/icon/comps/arrow-right.vue.d.ts +17 -0
- package/dist/components/icon/comps/arrow-up.vue.d.ts +17 -0
- package/dist/components/icon/comps/atv.vue.d.ts +17 -0
- package/dist/components/icon/comps/bed-outline.vue.d.ts +17 -0
- package/dist/components/icon/comps/bike-shop.vue.d.ts +17 -0
- package/dist/components/icon/comps/binoculars.vue.d.ts +17 -0
- package/dist/components/icon/comps/birding.vue.d.ts +17 -0
- package/dist/components/icon/comps/boat.vue.d.ts +17 -0
- package/dist/components/icon/comps/boating.vue.d.ts +17 -0
- package/dist/components/icon/comps/bookmark-fill.vue.d.ts +17 -0
- package/dist/components/icon/comps/bookmark-stroke.vue.d.ts +17 -0
- package/dist/components/icon/comps/brand-abstract.vue.d.ts +17 -0
- package/dist/components/icon/comps/brand-code-sandbox.vue.d.ts +17 -0
- package/dist/components/icon/comps/brand-github.vue.d.ts +17 -0
- package/dist/components/icon/comps/brand-linkedin.vue.d.ts +17 -0
- package/dist/components/icon/comps/brand-rei-ice-axes.vue.d.ts +17 -0
- package/dist/components/icon/comps/brand-sketch.vue.d.ts +17 -0
- package/dist/components/icon/comps/brand-tiktok.vue.d.ts +17 -0
- package/dist/components/icon/comps/buddies.vue.d.ts +17 -0
- package/dist/components/icon/comps/bus.vue.d.ts +17 -0
- package/dist/components/icon/comps/calendar.vue.d.ts +17 -0
- package/dist/components/icon/comps/camera.vue.d.ts +17 -0
- package/dist/components/icon/comps/canoe.vue.d.ts +17 -0
- package/dist/components/icon/comps/car.vue.d.ts +17 -0
- package/dist/components/icon/comps/caret-down.vue.d.ts +17 -0
- package/dist/components/icon/comps/caret-left.vue.d.ts +17 -0
- package/dist/components/icon/comps/caret-right.vue.d.ts +17 -0
- package/dist/components/icon/comps/caret-up.vue.d.ts +17 -0
- package/dist/components/icon/comps/cart-fill.vue.d.ts +17 -0
- package/dist/components/icon/comps/cart.vue.d.ts +17 -0
- package/dist/components/icon/comps/chain-link.vue.d.ts +17 -0
- package/dist/components/icon/comps/chat.vue.d.ts +17 -0
- package/dist/components/icon/comps/check-fill.vue.d.ts +17 -0
- package/dist/components/icon/comps/check-lg.vue.d.ts +17 -0
- package/dist/components/icon/comps/check-sm.vue.d.ts +17 -0
- package/dist/components/icon/comps/check-stroke.vue.d.ts +17 -0
- package/dist/components/icon/comps/climb.vue.d.ts +17 -0
- package/dist/components/icon/comps/clipboard.vue.d.ts +17 -0
- package/dist/components/icon/comps/clock.vue.d.ts +17 -0
- package/dist/components/icon/comps/code-html.vue.d.ts +17 -0
- package/dist/components/icon/comps/code-js.vue.d.ts +17 -0
- package/dist/components/icon/comps/compass.vue.d.ts +17 -0
- package/dist/components/icon/comps/copy.vue.d.ts +17 -0
- package/dist/components/icon/comps/coupon-fill.vue.d.ts +17 -0
- package/dist/components/icon/comps/coupon-stroke.vue.d.ts +17 -0
- package/dist/components/icon/comps/credit-card.vue.d.ts +17 -0
- package/dist/components/icon/comps/curbside-pickup.vue.d.ts +17 -0
- package/dist/components/icon/comps/day.vue.d.ts +17 -0
- package/dist/components/icon/comps/diving.vue.d.ts +17 -0
- package/dist/components/icon/comps/dog.vue.d.ts +17 -0
- package/dist/components/icon/comps/download.vue.d.ts +17 -0
- package/dist/components/icon/comps/duplicate.vue.d.ts +17 -0
- package/dist/components/icon/comps/edit.vue.d.ts +17 -0
- package/dist/components/icon/comps/elevation.vue.d.ts +17 -0
- package/dist/components/icon/comps/error-fill.vue.d.ts +17 -0
- package/dist/components/icon/comps/error-stroke.vue.d.ts +17 -0
- package/dist/components/icon/comps/expand.vue.d.ts +17 -0
- package/dist/components/icon/comps/experiences-backpacking.vue.d.ts +17 -0
- package/dist/components/icon/comps/experiences-camping.vue.d.ts +17 -0
- package/dist/components/icon/comps/experiences-climbing.vue.d.ts +17 -0
- package/dist/components/icon/comps/experiences-clothing.vue.d.ts +17 -0
- package/dist/components/icon/comps/experiences-cycling.vue.d.ts +17 -0
- package/dist/components/icon/comps/experiences-family.vue.d.ts +17 -0
- package/dist/components/icon/comps/experiences-fitness.vue.d.ts +17 -0
- package/dist/components/icon/comps/experiences-hiking.vue.d.ts +17 -0
- package/dist/components/icon/comps/experiences-outdoor-basics.vue.d.ts +17 -0
- package/dist/components/icon/comps/experiences-paddling.vue.d.ts +17 -0
- package/dist/components/icon/comps/experiences-rentals.vue.d.ts +17 -0
- package/dist/components/icon/comps/experiences-running.vue.d.ts +17 -0
- package/dist/components/icon/comps/experiences-snowsports.vue.d.ts +17 -0
- package/dist/components/icon/comps/experiences-travel.vue.d.ts +17 -0
- package/dist/components/icon/comps/external-link-alt.vue.d.ts +17 -0
- package/dist/components/icon/comps/external-link.vue.d.ts +17 -0
- package/dist/components/icon/comps/eye-hide.vue.d.ts +17 -0
- package/dist/components/icon/comps/eye-show.vue.d.ts +17 -0
- package/dist/components/icon/comps/facebook.vue.d.ts +17 -0
- package/dist/components/icon/comps/filter-alt.vue.d.ts +17 -0
- package/dist/components/icon/comps/filter.vue.d.ts +17 -0
- package/dist/components/icon/comps/find-location.vue.d.ts +17 -0
- package/dist/components/icon/comps/fire.vue.d.ts +17 -0
- package/dist/components/icon/comps/fishing.vue.d.ts +17 -0
- package/dist/components/icon/comps/free-product.vue.d.ts +17 -0
- package/dist/components/icon/comps/grid-view.vue.d.ts +17 -0
- package/dist/components/icon/comps/heart-fill.vue.d.ts +17 -0
- package/dist/components/icon/comps/heart-stroke.vue.d.ts +17 -0
- package/dist/components/icon/comps/hike.vue.d.ts +17 -0
- package/dist/components/icon/comps/history.vue.d.ts +17 -0
- package/dist/components/icon/comps/home.vue.d.ts +17 -0
- package/dist/components/icon/comps/horse.vue.d.ts +17 -0
- package/dist/components/icon/comps/horseshoe.vue.d.ts +17 -0
- package/dist/components/icon/comps/image.vue.d.ts +17 -0
- package/dist/components/icon/comps/information-fill.vue.d.ts +17 -0
- package/dist/components/icon/comps/information-stroke.vue.d.ts +17 -0
- package/dist/components/icon/comps/instagram.vue.d.ts +17 -0
- package/dist/components/icon/comps/kayak.vue.d.ts +17 -0
- package/dist/components/icon/comps/link-alt.vue.d.ts +17 -0
- package/dist/components/icon/comps/list-ragged.vue.d.ts +17 -0
- package/dist/components/icon/comps/list-view.vue.d.ts +17 -0
- package/dist/components/icon/comps/location-pin-fill.vue.d.ts +17 -0
- package/dist/components/icon/comps/location-pin-stroke.vue.d.ts +17 -0
- package/dist/components/icon/comps/lock-locked-fill.vue.d.ts +17 -0
- package/dist/components/icon/comps/lock-locked-stroke.vue.d.ts +17 -0
- package/dist/components/icon/comps/lock-unlocked-stroke.vue.d.ts +17 -0
- package/dist/components/icon/comps/mail.vue.d.ts +17 -0
- package/dist/components/icon/comps/map.vue.d.ts +17 -0
- package/dist/components/icon/comps/member-card.vue.d.ts +17 -0
- package/dist/components/icon/comps/membership.vue.d.ts +17 -0
- package/dist/components/icon/comps/microphone.vue.d.ts +17 -0
- package/dist/components/icon/comps/minus-fill.vue.d.ts +17 -0
- package/dist/components/icon/comps/minus-lg.vue.d.ts +17 -0
- package/dist/components/icon/comps/minus-sm.vue.d.ts +17 -0
- package/dist/components/icon/comps/minus-stroke.vue.d.ts +17 -0
- package/dist/components/icon/comps/more-functions.vue.d.ts +17 -0
- package/dist/components/icon/comps/my-location.vue.d.ts +17 -0
- package/dist/components/icon/comps/navigation-menu.vue.d.ts +17 -0
- package/dist/components/icon/comps/night.vue.d.ts +17 -0
- package/dist/components/icon/comps/paddle.vue.d.ts +17 -0
- package/dist/components/icon/comps/pause-fill.vue.d.ts +17 -0
- package/dist/components/icon/comps/pause-stroke.vue.d.ts +17 -0
- package/dist/components/icon/comps/pause.vue.d.ts +17 -0
- package/dist/components/icon/comps/photography.vue.d.ts +17 -0
- package/dist/components/icon/comps/picnic.vue.d.ts +17 -0
- package/dist/components/icon/comps/pinterest.vue.d.ts +17 -0
- package/dist/components/icon/comps/plane.vue.d.ts +17 -0
- package/dist/components/icon/comps/play-fill.vue.d.ts +17 -0
- package/dist/components/icon/comps/play-stroke.vue.d.ts +17 -0
- package/dist/components/icon/comps/play.vue.d.ts +17 -0
- package/dist/components/icon/comps/playground.vue.d.ts +17 -0
- package/dist/components/icon/comps/plugin.vue.d.ts +17 -0
- package/dist/components/icon/comps/plus-fill.vue.d.ts +17 -0
- package/dist/components/icon/comps/plus-lg.vue.d.ts +17 -0
- package/dist/components/icon/comps/plus-sm.vue.d.ts +17 -0
- package/dist/components/icon/comps/plus-stroke.vue.d.ts +17 -0
- package/dist/components/icon/comps/print.vue.d.ts +17 -0
- package/dist/components/icon/comps/protection-fill.vue.d.ts +17 -0
- package/dist/components/icon/comps/protection-stroke.vue.d.ts +17 -0
- package/dist/components/icon/comps/question-fill.vue.d.ts +17 -0
- package/dist/components/icon/comps/question-stroke.vue.d.ts +17 -0
- package/dist/components/icon/comps/refresh.vue.d.ts +17 -0
- package/dist/components/icon/comps/reload.vue.d.ts +17 -0
- package/dist/components/icon/comps/returns.vue.d.ts +17 -0
- package/dist/components/icon/comps/run.vue.d.ts +17 -0
- package/dist/components/icon/comps/scan-barcode.vue.d.ts +17 -0
- package/dist/components/icon/comps/search.vue.d.ts +17 -0
- package/dist/components/icon/comps/service-shop.vue.d.ts +17 -0
- package/dist/components/icon/comps/shipping-prep.vue.d.ts +17 -0
- package/dist/components/icon/comps/shipping-truck.vue.d.ts +17 -0
- package/dist/components/icon/comps/shipping.vue.d.ts +17 -0
- package/dist/components/icon/comps/shopping-bag-fill.vue.d.ts +17 -0
- package/dist/components/icon/comps/shopping-bag.vue.d.ts +17 -0
- package/dist/components/icon/comps/shrink.vue.d.ts +17 -0
- package/dist/components/icon/comps/size-chart.vue.d.ts +17 -0
- package/dist/components/icon/comps/ski-boot.vue.d.ts +17 -0
- package/dist/components/icon/comps/ski.vue.d.ts +17 -0
- package/dist/components/icon/comps/snow-shop.vue.d.ts +17 -0
- package/dist/components/icon/comps/snow.vue.d.ts +17 -0
- package/dist/components/icon/comps/sort.vue.d.ts +17 -0
- package/dist/components/icon/comps/star-100.vue.d.ts +17 -0
- package/dist/components/icon/comps/star-25.vue.d.ts +17 -0
- package/dist/components/icon/comps/star-50.vue.d.ts +17 -0
- package/dist/components/icon/comps/star-75.vue.d.ts +17 -0
- package/dist/components/icon/comps/star-stroke.vue.d.ts +17 -0
- package/dist/components/icon/comps/storefront.vue.d.ts +17 -0
- package/dist/components/icon/comps/swim.vue.d.ts +17 -0
- package/dist/components/icon/comps/telephone.vue.d.ts +17 -0
- package/dist/components/icon/comps/tent.vue.d.ts +17 -0
- package/dist/components/icon/comps/trash.vue.d.ts +17 -0
- package/dist/components/icon/comps/twitter.vue.d.ts +17 -0
- package/dist/components/icon/comps/upload.vue.d.ts +17 -0
- package/dist/components/icon/comps/verified-purchaser.vue.d.ts +17 -0
- package/dist/components/icon/comps/virtual-outfitting.vue.d.ts +17 -0
- package/dist/components/icon/comps/warning-fill.vue.d.ts +17 -0
- package/dist/components/icon/comps/warning-stroke.vue.d.ts +17 -0
- package/dist/components/icon/comps/water.vue.d.ts +17 -0
- package/dist/components/icon/comps/wilderness.vue.d.ts +17 -0
- package/dist/components/icon/comps/x-fill.vue.d.ts +17 -0
- package/dist/components/icon/comps/x-lg.vue.d.ts +17 -0
- package/dist/components/icon/comps/x-sm.vue.d.ts +17 -0
- package/dist/components/icon/comps/x-stroke.vue.d.ts +17 -0
- package/dist/components/icon/comps/youtube.vue.d.ts +17 -0
- package/dist/components/icon/comps/zoom-in.vue.d.ts +17 -0
- package/dist/components/icon/comps/zoom-out.vue.d.ts +17 -0
- package/dist/components/icon/index.d.ts +186 -0
- package/dist/components/image/CdrImg.vue.d.ts +131 -0
- package/dist/components/input/CdrInput.vue.d.ts +223 -0
- package/dist/components/labelStandalone/CdrLabelStandalone.vue.d.ts +39 -0
- package/dist/components/labelWrapper/CdrLabelWrapper.vue.d.ts +36 -0
- package/dist/components/link/CdrLink.vue.d.ts +86 -0
- package/dist/components/list/CdrList.vue.d.ts +52 -0
- package/dist/components/modal/CdrModal.vue.d.ts +142 -0
- package/dist/components/modal/onTransitionEnd.d.ts +2 -0
- package/dist/components/pagination/CdrPagination.vue.d.ts +128 -0
- package/dist/components/popover/CdrPopover.vue.d.ts +116 -0
- package/dist/components/popup/CdrPopup.vue.d.ts +53 -0
- package/dist/components/popup/calculatePlacement.d.ts +4 -0
- package/dist/components/quote/CdrQuote.vue.d.ts +60 -0
- package/dist/components/radio/CdrRadio.vue.d.ts +144 -0
- package/dist/components/rating/CdrRating.vue.d.ts +87 -0
- package/dist/components/rating/components/CdrStar00.vue.d.ts +16 -0
- package/dist/components/rating/components/CdrStar100.vue.d.ts +16 -0
- package/dist/components/rating/components/CdrStar25.vue.d.ts +16 -0
- package/dist/components/rating/components/CdrStar50.vue.d.ts +16 -0
- package/dist/components/rating/components/CdrStar75.vue.d.ts +16 -0
- package/dist/components/rating/components/CdrStarNull.vue.d.ts +16 -0
- package/dist/components/rating/composables/useStar.d.ts +8 -0
- package/dist/components/select/CdrSelect.vue.d.ts +201 -0
- package/dist/components/skeleton/CdrSkeleton.vue.d.ts +33 -0
- package/dist/components/skeleton/CdrSkeletonBone.vue.d.ts +26 -0
- package/dist/components/skeleton/symbols.d.ts +3 -0
- package/dist/components/switch/CdrSwitch.vue.d.ts +82 -0
- package/dist/components/table/CdrTable.vue.d.ts +92 -0
- package/dist/components/tabs/CdrTabPanel.vue.d.ts +31 -0
- package/dist/components/tabs/CdrTabs.vue.d.ts +83 -0
- package/dist/components/tabs/symbols.d.ts +3 -0
- package/dist/components/text/CdrText.vue.d.ts +23 -0
- package/dist/components/toast/CdrToast.vue.d.ts +82 -0
- package/dist/components/toggleButton/CdrToggleButton.vue.d.ts +25 -0
- package/dist/components/toggleButton/CdrToggleGroup.vue.d.ts +51 -0
- package/dist/components/toggleButton/symbols.d.ts +3 -0
- package/dist/components/tooltip/CdrTooltip.vue.d.ts +100 -0
- package/dist/icon-component-docgen.json +686 -500
- package/dist/lib.d.ts +37 -0
- package/dist/mixins/breakpoints.d.ts +1 -0
- package/dist/props/background.d.ts +6 -0
- package/dist/props/position.d.ts +6 -0
- package/dist/props/size.d.ts +6 -0
- package/dist/src/components/accordion/CdrAccordion.vue.mjs +7 -160
- package/dist/src/components/accordion/CdrAccordion.vue2.mjs +133 -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 +4 -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 +3 -3
- package/dist/src/components/checkbox/CdrCheckbox.vue.mjs +7 -146
- package/dist/src/components/checkbox/CdrCheckbox.vue2.mjs +147 -0
- package/dist/src/components/checkbox/styles/CdrCheckbox.module.scss.mjs +27 -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 +68 -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 +10 -10
- 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 +14 -14
- 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 +25 -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 +55 -55
- 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 +27 -25
- package/dist/src/components/rating/CdrRating.vue.mjs +7 -106
- package/dist/src/components/rating/CdrRating.vue2.mjs +100 -0
- package/dist/src/components/rating/components/CdrStar00.vue.mjs +9 -0
- package/dist/src/components/rating/components/CdrStar00.vue2.mjs +37 -0
- package/dist/src/components/rating/components/CdrStar100.vue.mjs +9 -0
- package/dist/src/components/rating/components/CdrStar100.vue2.mjs +37 -0
- package/dist/src/components/rating/components/CdrStar25.vue.mjs +9 -0
- package/dist/src/components/rating/components/CdrStar25.vue2.mjs +48 -0
- package/dist/src/components/rating/components/CdrStar50.vue.mjs +9 -0
- package/dist/src/components/rating/components/CdrStar50.vue2.mjs +53 -0
- package/dist/src/components/rating/components/CdrStar75.vue.mjs +9 -0
- package/dist/src/components/rating/components/CdrStar75.vue2.mjs +50 -0
- package/dist/src/components/rating/components/CdrStarNull.vue.mjs +9 -0
- package/dist/src/components/rating/components/CdrStarNull.vue2.mjs +43 -0
- package/dist/src/components/rating/composables/useStar.mjs +8 -0
- package/dist/src/components/rating/styles/CdrRating.module.scss.mjs +44 -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 +44 -44
- 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 +15 -15
- 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 +28 -28
- 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/mixins/breakpoints.mjs +2 -2
- 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/dist/utils/buildClass.d.ts +25 -0
- package/dist/utils/debounce.d.ts +6 -0
- package/dist/utils/kebabCase.d.ts +5 -0
- package/dist/utils/mapClasses.d.ts +1 -0
- package/dist/utils/propValidator.d.ts +8 -0
- package/dist/utils/uid.d.ts +4 -0
- package/package.json +25 -18
- /package/dist/node_modules/@rei/cdr-tokens/dist/{js → rei-dot-com/js}/cdr-tokens.mjs +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
const
|
|
2
|
-
"cdr-switch": "cdr-
|
|
3
|
-
"cdr-switch__button": "cdr-
|
|
4
|
-
"cdr-switch__button-icon": "cdr-switch__button-
|
|
5
|
-
"cdr-switch__handle": "cdr-
|
|
6
|
-
"cdr-switch__label": "cdr-
|
|
7
|
-
"cdr-switch--full-width": "cdr-switch--full-
|
|
8
|
-
"cdr-switch--large": "cdr-switch--
|
|
9
|
-
"cdr-switch--medium": "cdr-switch--
|
|
1
|
+
const t = {
|
|
2
|
+
"cdr-switch": "cdr-switch_14-0-0-beta-0",
|
|
3
|
+
"cdr-switch__button": "cdr-switch__button_14-0-0-beta-0",
|
|
4
|
+
"cdr-switch__button-icon": "cdr-switch__button-icon_14-0-0-beta-0",
|
|
5
|
+
"cdr-switch__handle": "cdr-switch__handle_14-0-0-beta-0",
|
|
6
|
+
"cdr-switch__label": "cdr-switch__label_14-0-0-beta-0",
|
|
7
|
+
"cdr-switch--full-width": "cdr-switch--full-width_14-0-0-beta-0",
|
|
8
|
+
"cdr-switch--large": "cdr-switch--large_14-0-0-beta-0",
|
|
9
|
+
"cdr-switch--medium": "cdr-switch--medium_14-0-0-beta-0"
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
t as default
|
|
13
13
|
};
|
|
@@ -1,75 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const W = u({
|
|
8
|
-
name: "CdrTable",
|
|
9
|
-
props: {
|
|
10
|
-
/** Sets row colors to alternate between darker and lighter backgrounds.
|
|
11
|
-
* Striping will not apply when `border` is true
|
|
12
|
-
*/
|
|
13
|
-
striped: {
|
|
14
|
-
type: Boolean,
|
|
15
|
-
default: !1
|
|
16
|
-
},
|
|
17
|
-
/** Adds borders between rows. Will disable `striped` if both are true */
|
|
18
|
-
border: {
|
|
19
|
-
type: Boolean,
|
|
20
|
-
default: !0
|
|
21
|
-
},
|
|
22
|
-
/** Sets the width to 100%. Also accepts space separated strings for breakpoints that it should be full width: { '@xs' | '@sm' | '@md' | '@lg' } */
|
|
23
|
-
fullWidth: {
|
|
24
|
-
type: [Boolean, String],
|
|
25
|
-
default: !0
|
|
26
|
-
},
|
|
27
|
-
/** Makes the table scroll horizontally when it would overflow its container */
|
|
28
|
-
responsive: {
|
|
29
|
-
type: Boolean,
|
|
30
|
-
default: !0
|
|
31
|
-
},
|
|
32
|
-
/** Adds a darker background on row hover */
|
|
33
|
-
hover: {
|
|
34
|
-
type: Boolean,
|
|
35
|
-
default: !1
|
|
36
|
-
},
|
|
37
|
-
/**
|
|
38
|
-
* Sets the table size (cell padding); values can target responsive breakpoints. Example `small@lg`.
|
|
39
|
-
* @demoSelectMultiple false
|
|
40
|
-
* @values small, medium, large
|
|
41
|
-
*/
|
|
42
|
-
size: {
|
|
43
|
-
type: String,
|
|
44
|
-
default: "medium",
|
|
45
|
-
validator: (e) => y(e, ["small", "medium", "large"])
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
setup(e) {
|
|
49
|
-
const s = "cdr-table", t = l(() => e.size && `${s}--${e.size}`), o = l(() => e.striped && `${s}--striped`), r = l(() => e.hover && `${s}--hover`), a = l(() => e.border && !e.striped && `${s}--border`), d = l(() => e.fullWidth && v(s, e.fullWidth, "full-width")), i = l(() => e.responsive && `${s}--responsive`), n = f();
|
|
50
|
-
return {
|
|
51
|
-
mapClasses: h,
|
|
52
|
-
baseClass: s,
|
|
53
|
-
sizeClass: t,
|
|
54
|
-
stripedClass: o,
|
|
55
|
-
hoverClass: r,
|
|
56
|
-
borderClass: a,
|
|
57
|
-
fullWidthClass: d,
|
|
58
|
-
wrapperClass: i,
|
|
59
|
-
style: n
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
function g(e, s, t, o, r, a) {
|
|
64
|
-
return m(), p("div", {
|
|
65
|
-
class: C(e.style[e.wrapperClass])
|
|
66
|
-
}, [c("table", $(e.$attrs, {
|
|
67
|
-
class: e.mapClasses(e.style, e.baseClass, e.sizeClass, e.stripedClass, e.hoverClass, e.borderClass, e.fullWidthClass)
|
|
68
|
-
}), [b(e.$slots, "default")], 16)], 2);
|
|
69
|
-
}
|
|
70
|
-
const w = {
|
|
71
|
-
$style: B
|
|
72
|
-
}, N = /* @__PURE__ */ z(W, [["render", g], ["__cssModules", w]]);
|
|
1
|
+
import s from "./CdrTable.vue2.mjs";
|
|
2
|
+
import o from "./styles/CdrTable.module.scss.mjs";
|
|
3
|
+
import t from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const r = {
|
|
5
|
+
$style: o
|
|
6
|
+
}, f = /* @__PURE__ */ t(s, [["__cssModules", r]]);
|
|
73
7
|
export {
|
|
74
|
-
|
|
8
|
+
f as default
|
|
75
9
|
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { defineComponent as f, useCssModule as c, computed as l, openBlock as v, createElementBlock as C, normalizeClass as b, unref as o, createElementVNode as h, mergeProps as B, renderSlot as $ } from "vue";
|
|
2
|
+
import y from "../../utils/mapClasses.mjs";
|
|
3
|
+
import { buildBooleanClass as z } from "../../utils/buildClass.mjs";
|
|
4
|
+
import g from "../../utils/propValidator.mjs";
|
|
5
|
+
const s = "cdr-table", E = /* @__PURE__ */ f({
|
|
6
|
+
name: "CdrTable",
|
|
7
|
+
__name: "CdrTable",
|
|
8
|
+
props: {
|
|
9
|
+
/** Sets row colors to alternate between darker and lighter backgrounds.
|
|
10
|
+
* Striping will not apply when `border` is true
|
|
11
|
+
*/
|
|
12
|
+
striped: {
|
|
13
|
+
type: Boolean,
|
|
14
|
+
default: !1
|
|
15
|
+
},
|
|
16
|
+
/** Adds borders between rows. Will disable `striped` if both are true */
|
|
17
|
+
border: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: !0
|
|
20
|
+
},
|
|
21
|
+
/** Sets the width to 100%. Also accepts space separated strings for breakpoints that it should be full width: { '@xs' | '@sm' | '@md' | '@lg' } */
|
|
22
|
+
fullWidth: {
|
|
23
|
+
type: [Boolean, String],
|
|
24
|
+
default: !0
|
|
25
|
+
},
|
|
26
|
+
/** Makes the table scroll horizontally when it would overflow its container */
|
|
27
|
+
responsive: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: !0
|
|
30
|
+
},
|
|
31
|
+
/** Adds a darker background on row hover */
|
|
32
|
+
hover: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: !1
|
|
35
|
+
},
|
|
36
|
+
/**
|
|
37
|
+
* Sets the table size (cell padding); values can target responsive breakpoints. Example `small@lg`.
|
|
38
|
+
* @demoSelectMultiple false
|
|
39
|
+
* @values small, medium, large
|
|
40
|
+
*/
|
|
41
|
+
size: {
|
|
42
|
+
type: String,
|
|
43
|
+
default: "medium",
|
|
44
|
+
validator: (t) => g(t, ["small", "medium", "large"])
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
setup(t) {
|
|
48
|
+
const e = t, r = c(), d = l(() => e.size ? `${s}--${e.size}` : ""), n = l(() => e.striped ? `${s}--striped` : ""), i = l(() => e.hover ? `${s}--hover` : ""), p = l(() => e.border && !e.striped ? `${s}--border` : ""), u = l(() => e.fullWidth ? z(s, e.fullWidth, "full-width") : ""), m = l(() => e.responsive ? `${s}--responsive` : "");
|
|
49
|
+
return (a, W) => (v(), C("div", {
|
|
50
|
+
class: b(o(r)[m.value])
|
|
51
|
+
}, [h("table", B(a.$attrs, {
|
|
52
|
+
class: o(y)(o(r), s, d.value, n.value, i.value, p.value, u.value)
|
|
53
|
+
}), [$(a.$slots, "default")], 16)], 2));
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
export {
|
|
57
|
+
E as default
|
|
58
|
+
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
const
|
|
2
|
-
"cdr-table": "cdr-
|
|
3
|
-
"cdr-table--small": "cdr-table--
|
|
4
|
-
"cdr-table--medium": "cdr-table--
|
|
5
|
-
"cdr-table--large": "cdr-table--
|
|
6
|
-
"cdr-table--striped": "cdr-table--
|
|
7
|
-
"cdr-table--border": "cdr-table--
|
|
8
|
-
"cdr-table--full-width": "cdr-table--full-
|
|
9
|
-
"cdr-table--responsive": "cdr-table--
|
|
10
|
-
"cdr-table--hover": "cdr-table--
|
|
11
|
-
"cdr-table--full-width@xs": "cdr-table--full-width@
|
|
12
|
-
"cdr-table--full-width@sm": "cdr-table--full-width@
|
|
13
|
-
"cdr-table--full-width@md": "cdr-table--full-width@
|
|
14
|
-
"cdr-table--full-width@lg": "cdr-table--full-width@
|
|
1
|
+
const e = {
|
|
2
|
+
"cdr-table": "cdr-table_14-0-0-beta-0",
|
|
3
|
+
"cdr-table--small": "cdr-table--small_14-0-0-beta-0",
|
|
4
|
+
"cdr-table--medium": "cdr-table--medium_14-0-0-beta-0",
|
|
5
|
+
"cdr-table--large": "cdr-table--large_14-0-0-beta-0",
|
|
6
|
+
"cdr-table--striped": "cdr-table--striped_14-0-0-beta-0",
|
|
7
|
+
"cdr-table--border": "cdr-table--border_14-0-0-beta-0",
|
|
8
|
+
"cdr-table--full-width": "cdr-table--full-width_14-0-0-beta-0",
|
|
9
|
+
"cdr-table--responsive": "cdr-table--responsive_14-0-0-beta-0",
|
|
10
|
+
"cdr-table--hover": "cdr-table--hover_14-0-0-beta-0",
|
|
11
|
+
"cdr-table--full-width@xs": "cdr-table--full-width@xs_14-0-0-beta-0",
|
|
12
|
+
"cdr-table--full-width@sm": "cdr-table--full-width@sm_14-0-0-beta-0",
|
|
13
|
+
"cdr-table--full-width@md": "cdr-table--full-width@md_14-0-0-beta-0",
|
|
14
|
+
"cdr-table--full-width@lg": "cdr-table--full-width@lg_14-0-0-beta-0"
|
|
15
15
|
};
|
|
16
16
|
export {
|
|
17
|
-
|
|
17
|
+
e as default
|
|
18
18
|
};
|
|
@@ -1,49 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
props: {
|
|
8
|
-
/** Sets reference identifier for tab content. This property is required and is necessary for accessibility. Must be unique for each tabPanel, and cannot be the same as the `aria-labelledby` property. */
|
|
9
|
-
id: String,
|
|
10
|
-
/** Sets tab display name. Required and must be unique for each tab. If `id` is not provided, this value will be used as the reference identifier. */
|
|
11
|
-
name: String,
|
|
12
|
-
/** Sets reference identifier for tab header. This property is required and is necessary for accessibility. Must be unique for each tabPanel, and cannot be the same as the `id` property. */
|
|
13
|
-
ariaLabelledby: String
|
|
14
|
-
},
|
|
15
|
-
emits: {
|
|
16
|
-
/**
|
|
17
|
-
* Emits when active tab is changed
|
|
18
|
-
* @params state, panelId
|
|
19
|
-
*/
|
|
20
|
-
"tab-change": null
|
|
21
|
-
},
|
|
22
|
-
setup(e, s) {
|
|
23
|
-
const a = d("selectedTabName"), t = i(() => e.name === (a == null ? void 0 : a.value)), n = i(() => `${y(e.name)}-panel`), o = c();
|
|
24
|
-
return m(t, (l) => {
|
|
25
|
-
s.emit("tab-change", l, n.value);
|
|
26
|
-
}), {
|
|
27
|
-
selectedTabName: a,
|
|
28
|
-
isActive: t,
|
|
29
|
-
panelId: n,
|
|
30
|
-
style: o
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
}), g = ["aria-hidden", "id", "aria-labelledby"];
|
|
34
|
-
function S(e, s, a, t, n, o) {
|
|
35
|
-
return p((b(), u("section", {
|
|
36
|
-
tabindex: "0",
|
|
37
|
-
"aria-hidden": !e.isActive,
|
|
38
|
-
role: "tabpanel",
|
|
39
|
-
class: f(e.style["cdr-tab-panel"]),
|
|
40
|
-
id: e.panelId,
|
|
41
|
-
"aria-labelledby": e.name
|
|
42
|
-
}, [h(e.$slots, "default")], 10, g)), [[v, e.isActive]]);
|
|
43
|
-
}
|
|
44
|
-
const k = {
|
|
45
|
-
$style: $
|
|
46
|
-
}, I = /* @__PURE__ */ C(_, [["render", S], ["__cssModules", k]]);
|
|
1
|
+
import s from "./CdrTabPanel.vue2.mjs";
|
|
2
|
+
import o from "./styles/CdrTabPanel.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]]);
|
|
47
7
|
export {
|
|
48
|
-
|
|
8
|
+
f as default
|
|
49
9
|
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { defineComponent as c, useCssModule as d, inject as m, ref as u, computed as r, watch as b, withDirectives as p, openBlock as f, createElementBlock as h, normalizeClass as v, unref as C, renderSlot as g, vShow as y } from "vue";
|
|
2
|
+
import S from "../../utils/kebabCase.mjs";
|
|
3
|
+
import { selectedTabKey as _ } from "./symbols.mjs";
|
|
4
|
+
const k = ["aria-hidden", "id", "aria-labelledby"], T = /* @__PURE__ */ c({
|
|
5
|
+
name: "CdrTabPanel",
|
|
6
|
+
__name: "CdrTabPanel",
|
|
7
|
+
props: {
|
|
8
|
+
/** Sets reference identifier for tab content. This property is required and is necessary for accessibility. Must be unique for each tabPanel, and cannot be the same as the `aria-labelledby` property. */
|
|
9
|
+
id: String,
|
|
10
|
+
/** Sets tab display name. Required and must be unique for each tab. If `id` is not provided, this value will be used as the reference identifier. */
|
|
11
|
+
name: String,
|
|
12
|
+
/** Sets reference identifier for tab header. This property is required and is necessary for accessibility. Must be unique for each tabPanel, and cannot be the same as the `id` property. */
|
|
13
|
+
ariaLabelledby: String
|
|
14
|
+
},
|
|
15
|
+
emits: {
|
|
16
|
+
/**
|
|
17
|
+
* Emits when active tab is changed
|
|
18
|
+
* @params state, panelId
|
|
19
|
+
*/
|
|
20
|
+
"tab-change": null
|
|
21
|
+
},
|
|
22
|
+
setup(l, {
|
|
23
|
+
emit: o
|
|
24
|
+
}) {
|
|
25
|
+
const e = l, s = d(), a = m(_, u(null)), n = r(() => e.name === (a == null ? void 0 : a.value)), i = r(() => e.name ? `${S(e.name)}-panel` : void 0);
|
|
26
|
+
return b(n, (t) => {
|
|
27
|
+
o("tab-change", t, i.value);
|
|
28
|
+
}), (t, w) => p((f(), h("section", {
|
|
29
|
+
tabindex: "0",
|
|
30
|
+
"aria-hidden": !n.value,
|
|
31
|
+
role: "tabpanel",
|
|
32
|
+
class: v(C(s)["cdr-tab-panel"]),
|
|
33
|
+
id: i.value,
|
|
34
|
+
"aria-labelledby": l.name
|
|
35
|
+
}, [g(t.$slots, "default")], 10, k)), [[y, n.value]]);
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
export {
|
|
39
|
+
T as default
|
|
40
|
+
};
|
|
@@ -1,188 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import ne from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
8
|
-
const ie = V({
|
|
9
|
-
name: "CdrTabs",
|
|
10
|
-
props: {
|
|
11
|
-
/**
|
|
12
|
-
* Sets height of the tabs container element.
|
|
13
|
-
* Passing a `px` value will render tabs with a static height,
|
|
14
|
-
* passing `auto` will render tabs with variable height based on content size.
|
|
15
|
-
*/
|
|
16
|
-
height: {
|
|
17
|
-
type: String,
|
|
18
|
-
default: "240px"
|
|
19
|
-
},
|
|
20
|
-
/** Sets the index of the tab that should be active on initial page load. Note that this property is zero-indexed. */
|
|
21
|
-
activeTab: {
|
|
22
|
-
type: Number,
|
|
23
|
-
default: 0
|
|
24
|
-
},
|
|
25
|
-
/**
|
|
26
|
-
* Modifies the style variants for this component
|
|
27
|
-
* @values centered, compact, full-width, no-border
|
|
28
|
-
*/
|
|
29
|
-
modifier: String,
|
|
30
|
-
/**
|
|
31
|
-
* Use `small` to reduce spacing around the tabs for a denser visual design
|
|
32
|
-
* @demoSelectMultiple true
|
|
33
|
-
* @values small
|
|
34
|
-
*/
|
|
35
|
-
size: String,
|
|
36
|
-
/**
|
|
37
|
-
* Sets the background color of the tab.
|
|
38
|
-
* For CdrTabs that are rendered on non-primary backgrounds.
|
|
39
|
-
* Pass the background-color into the component to ensure that the scrolling gradients render correctly.
|
|
40
|
-
*/
|
|
41
|
-
backgroundColor: {
|
|
42
|
-
type: String,
|
|
43
|
-
default: te
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
setup(e, d) {
|
|
47
|
-
var R;
|
|
48
|
-
const T = (R = d.slots.default()[0].children) != null && R.length ? d.slots.default()[0].children : d.slots.default(), z = "cdr-tabs", p = r(T.map((a) => ({
|
|
49
|
-
name: a.props.name,
|
|
50
|
-
disabled: a.props.disabled,
|
|
51
|
-
id: a.props["aria-labelledby"]
|
|
52
|
-
}))), m = r(null), l = r(null), n = r(!1), s = r(0), o = r([]), v = r(null), S = r(null), k = r(!1), w = r(!1), i = r(0), f = r(0);
|
|
53
|
-
j("selectedTabName", m);
|
|
54
|
-
const X = h(() => e.modifier && B("cdr-tabs", e.modifier)), O = h(() => e.size && B("cdr-tabs", e.size)), P = h(() => ({
|
|
55
|
-
transform: `translateX(${i.value}px)`,
|
|
56
|
-
width: `${f.value}px`
|
|
57
|
-
})), F = h(() => ({
|
|
58
|
-
background: `linear-gradient(to left, rgba(255, 255, 255, 0), ${e.backgroundColor})`
|
|
59
|
-
})), _ = h(() => ({
|
|
60
|
-
background: `linear-gradient(to right, rgba(255, 255, 255, 0),
|
|
61
|
-
${e.backgroundColor})`
|
|
62
|
-
})), H = (a, t) => l.value === a && !t.disabled, y = () => {
|
|
63
|
-
let a = 0;
|
|
64
|
-
if (S.value && (a = S.value.offsetWidth), n.value = s.value > a, n.value) {
|
|
65
|
-
const t = v.value.scrollLeft;
|
|
66
|
-
k.value = t > 1, w.value = t + 1 < s.value - a;
|
|
67
|
-
} else
|
|
68
|
-
k.value = !1, w.value = !1;
|
|
69
|
-
}, E = () => {
|
|
70
|
-
let a = [];
|
|
71
|
-
v.value && (a = Array.from(v.value.children));
|
|
72
|
-
let t = 0;
|
|
73
|
-
return a.forEach((u, $) => {
|
|
74
|
-
$ > 0 && (t += e.size === "small" ? Number(ae) : Number(le)), t += u.offsetWidth || 0;
|
|
75
|
-
}), t;
|
|
76
|
-
}, g = () => {
|
|
77
|
-
if (o.value.length > 0) {
|
|
78
|
-
const t = o.value[l.value].getBoundingClientRect(), u = v.value.getBoundingClientRect(), $ = t.x - u.x;
|
|
79
|
-
i.value = $ - v.value.scrollLeft, f.value = t.width, i.value + f.value >= u.width ? (f.value = Math.max(0, u.width - i.value), i.value = Math.min(i.value, u.width)) : i.value < 0 && (f.value = Math.max(0, f.value + i.value), i.value = 0);
|
|
80
|
-
}
|
|
81
|
-
}, I = async (a) => {
|
|
82
|
-
const t = o.value[a];
|
|
83
|
-
m.value = p.value[a].name, l.value = a, await ee(), t.focus(), g();
|
|
84
|
-
}, K = () => {
|
|
85
|
-
if (l.value === o.value.length - 1)
|
|
86
|
-
return;
|
|
87
|
-
let t = l.value + 1;
|
|
88
|
-
o.value[t].disabled && (t += 1), t <= o.value.length - 1 && I(t);
|
|
89
|
-
}, D = () => {
|
|
90
|
-
if (l.value <= 0)
|
|
91
|
-
return;
|
|
92
|
-
let t = l.value - 1;
|
|
93
|
-
o.value[t].disabled && (t -= 1), t >= 0 && I(t);
|
|
94
|
-
}, M = () => {
|
|
95
|
-
o.value.forEach((a, t) => {
|
|
96
|
-
!a.disabled && l.value === null && (l.value = t, m.value = p.value[t].name);
|
|
97
|
-
});
|
|
98
|
-
};
|
|
99
|
-
q(() => {
|
|
100
|
-
M(), s.value = E(), y(), setTimeout(() => {
|
|
101
|
-
g();
|
|
102
|
-
}, 250), window.addEventListener("resize", A(() => {
|
|
103
|
-
s.value = E(), y(), g();
|
|
104
|
-
}, 250)), v.value.addEventListener("scroll", A(() => {
|
|
105
|
-
y(), g();
|
|
106
|
-
}, 50));
|
|
107
|
-
});
|
|
108
|
-
const U = G();
|
|
109
|
-
return {
|
|
110
|
-
slottedTabs: T,
|
|
111
|
-
baseClass: z,
|
|
112
|
-
tabs: p,
|
|
113
|
-
selectedTabName: m,
|
|
114
|
-
selectedIndex: l,
|
|
115
|
-
headerOverflow: n,
|
|
116
|
-
headerWidth: s,
|
|
117
|
-
tabElements: o,
|
|
118
|
-
tablist: v,
|
|
119
|
-
containerEl: S,
|
|
120
|
-
overflowLeft: k,
|
|
121
|
-
overflowRight: w,
|
|
122
|
-
underlineOffsetX: i,
|
|
123
|
-
underlineWidth: f,
|
|
124
|
-
mapClasses: se,
|
|
125
|
-
modifierClass: X,
|
|
126
|
-
sizeClass: O,
|
|
127
|
-
underlineStyle: P,
|
|
128
|
-
gradientLeftStyle: F,
|
|
129
|
-
gradientRightStyle: _,
|
|
130
|
-
checkIfActive: H,
|
|
131
|
-
calculateOverflow: y,
|
|
132
|
-
getHeaderWidth: E,
|
|
133
|
-
updateUnderline: g,
|
|
134
|
-
selectTabNext: K,
|
|
135
|
-
selectTabPrev: D,
|
|
136
|
-
selectTab: I,
|
|
137
|
-
setInitialTabStates: M,
|
|
138
|
-
style: U
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
}), oe = ["id", "disabled", "aria-selected", "tabIndex", "onClick"];
|
|
142
|
-
function de(e, d, T, z, p, m) {
|
|
143
|
-
return L(), N("div", {
|
|
144
|
-
class: c(e.mapClasses(e.style, e.baseClass, e.modifierClass, e.sizeClass)),
|
|
145
|
-
ref: "containerEl",
|
|
146
|
-
style: C({
|
|
147
|
-
height: e.height
|
|
148
|
-
})
|
|
149
|
-
}, [b("div", {
|
|
150
|
-
class: c(e.style["cdr-tabs__gradient-container"])
|
|
151
|
-
}, [b("div", {
|
|
152
|
-
class: c(e.mapClasses(e.style, "cdr-tabs__gradient", "cdr-tabs__gradient--left", e.overflowLeft ? "cdr-tabs__gradient--active" : "")),
|
|
153
|
-
style: C(e.gradientLeftStyle)
|
|
154
|
-
}, null, 6), b("ul", {
|
|
155
|
-
class: c(e.style["cdr-tabs__header-container"]),
|
|
156
|
-
role: "tablist",
|
|
157
|
-
ref: "tablist"
|
|
158
|
-
}, [(L(!0), N(J, null, Q(e.tabs, (l, n) => (L(), N("li", {
|
|
159
|
-
key: `${l.name}-${n}`,
|
|
160
|
-
role: "presentation",
|
|
161
|
-
class: c(e.style["cdr-tabs__header"])
|
|
162
|
-
}, [b("button", {
|
|
163
|
-
ref_for: !0,
|
|
164
|
-
ref: (s) => {
|
|
165
|
-
e.tabElements[n] = s;
|
|
166
|
-
},
|
|
167
|
-
id: l.id,
|
|
168
|
-
disabled: l.disabled,
|
|
169
|
-
"aria-selected": e.checkIfActive(n, l),
|
|
170
|
-
tabIndex: e.checkIfActive(n, l) ? 0 : -1,
|
|
171
|
-
class: c(e.mapClasses(e.style, e.checkIfActive(n, l) ? "cdr-tabs__header-item-active" : "", "cdr-tabs__header-item", l.disabled ? "cdr-tabs__header-item--disabled" : "")),
|
|
172
|
-
role: "tab",
|
|
173
|
-
onClick: Y((s) => e.selectTab(n), ["prevent"]),
|
|
174
|
-
onKeyup: [d[0] || (d[0] = W((...s) => e.selectTabNext && e.selectTabNext(...s), ["right"])), d[1] || (d[1] = W((...s) => e.selectTabPrev && e.selectTabPrev(...s), ["left"]))]
|
|
175
|
-
}, Z(l.name), 43, oe)], 2))), 128))], 2), b("div", {
|
|
176
|
-
class: c(e.mapClasses(e.style, "cdr-tabs__gradient", "cdr-tabs__gradient--right", e.overflowRight ? "cdr-tabs__gradient--active" : "")),
|
|
177
|
-
style: C(e.gradientRightStyle)
|
|
178
|
-
}, null, 6), b("div", {
|
|
179
|
-
class: c(e.style["cdr-tabs__underline"]),
|
|
180
|
-
style: C(e.underlineStyle)
|
|
181
|
-
}, null, 6)], 2), x(e.$slots, "default")], 6);
|
|
182
|
-
}
|
|
183
|
-
const ue = {
|
|
184
|
-
$style: re
|
|
185
|
-
}, pe = /* @__PURE__ */ ne(ie, [["render", de], ["__cssModules", ue]]);
|
|
1
|
+
import s from "./CdrTabs.vue2.mjs";
|
|
2
|
+
import o from "./styles/CdrTabs.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]]);
|
|
186
7
|
export {
|
|
187
|
-
|
|
8
|
+
f as default
|
|
188
9
|
};
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { defineComponent as q, useCssModule as G, useSlots as J, computed as m, ref as i, provide as Q, onMounted as Y, openBlock as $, createElementBlock as N, normalizeClass as f, unref as s, normalizeStyle as C, createElementVNode as g, Fragment as Z, renderList as ee, withModifiers as te, withKeys as X, toDisplayString as ae, renderSlot as le, nextTick as re } from "vue";
|
|
2
|
+
import { debounce as K } from "../../utils/debounce.mjs";
|
|
3
|
+
import { CdrColorBackgroundPrimary as se, CdrSpaceHalfX as ne, CdrSpaceOneX as ie } from "../../../node_modules/@rei/cdr-tokens/dist/rei-dot-com/js/cdr-tokens.mjs";
|
|
4
|
+
import T from "../../utils/mapClasses.mjs";
|
|
5
|
+
import { modifyClassName as O } from "../../utils/buildClass.mjs";
|
|
6
|
+
import { selectedTabKey as de } from "./symbols.mjs";
|
|
7
|
+
const oe = ["id", "disabled", "aria-selected", "tabIndex", "onClick", "onKeyup"], ue = "cdr-tabs", ge = /* @__PURE__ */ q({
|
|
8
|
+
name: "CdrTabs",
|
|
9
|
+
__name: "CdrTabs",
|
|
10
|
+
props: {
|
|
11
|
+
/**
|
|
12
|
+
* Sets height of the tabs container element.
|
|
13
|
+
* Passing a `px` value will render tabs with a static height,
|
|
14
|
+
* passing `auto` will render tabs with variable height based on content size.
|
|
15
|
+
*/
|
|
16
|
+
height: {
|
|
17
|
+
type: String,
|
|
18
|
+
default: "240px"
|
|
19
|
+
},
|
|
20
|
+
/** Sets the index of the tab that should be active on initial page load. Note that this property is zero-indexed. */
|
|
21
|
+
activeTab: {
|
|
22
|
+
type: Number,
|
|
23
|
+
default: 0
|
|
24
|
+
},
|
|
25
|
+
/**
|
|
26
|
+
* Modifies the style variants for this component
|
|
27
|
+
* @values centered, compact, full-width, no-border
|
|
28
|
+
*/
|
|
29
|
+
modifier: String,
|
|
30
|
+
/**
|
|
31
|
+
* Use `small` to reduce spacing around the tabs for a denser visual design
|
|
32
|
+
* @demoSelectMultiple true
|
|
33
|
+
* @values small
|
|
34
|
+
*/
|
|
35
|
+
size: String,
|
|
36
|
+
/**
|
|
37
|
+
* Sets the background color of the tab.
|
|
38
|
+
* For CdrTabs that are rendered on non-primary backgrounds.
|
|
39
|
+
* Pass the background-color into the component to ensure that the scrolling gradients render correctly.
|
|
40
|
+
*/
|
|
41
|
+
backgroundColor: {
|
|
42
|
+
type: String,
|
|
43
|
+
default: se
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
setup(W) {
|
|
47
|
+
const b = W, c = G(), d = J(), M = m(() => {
|
|
48
|
+
var e, t, a, l, r, y;
|
|
49
|
+
return (a = (t = (e = d.default) == null ? void 0 : e.call(d)[0]) == null ? void 0 : t.children) != null && a.length ? (r = (l = d.default) == null ? void 0 : l.call(d)[0]) == null ? void 0 : r.children : (y = d.default) == null ? void 0 : y.call(d);
|
|
50
|
+
}), x = m(() => M.value ? M.value.map((e) => ({
|
|
51
|
+
name: e.props.name,
|
|
52
|
+
disabled: e.props.disabled,
|
|
53
|
+
id: e.props["aria-labelledby"]
|
|
54
|
+
})) : []), k = i(null), n = i(null), R = i(!1), p = i(0), o = i([]), v = i(null), S = i(null), w = i(!1), E = i(!1), u = i(0), h = i(0);
|
|
55
|
+
Q(de, k);
|
|
56
|
+
const F = m(() => b.modifier ? O("cdr-tabs", b.modifier) : ""), A = m(() => b.size ? O("cdr-tabs", b.size) : ""), H = m(() => ({
|
|
57
|
+
transform: `translateX(${u.value}px)`,
|
|
58
|
+
width: `${h.value}px`
|
|
59
|
+
})), P = m(() => ({
|
|
60
|
+
background: `linear-gradient(to left, rgba(255, 255, 255, 0), ${b.backgroundColor})`
|
|
61
|
+
})), D = m(() => ({
|
|
62
|
+
background: `linear-gradient(to right, rgba(255, 255, 255, 0),
|
|
63
|
+
${b.backgroundColor})`
|
|
64
|
+
})), I = (e, t) => n.value === e && !t.disabled, L = () => {
|
|
65
|
+
var t;
|
|
66
|
+
let e = 0;
|
|
67
|
+
if (S.value && (e = S.value.offsetWidth), R.value = p.value > e, R.value) {
|
|
68
|
+
const a = ((t = v.value) == null ? void 0 : t.scrollLeft) ?? 0;
|
|
69
|
+
w.value = a > 1, E.value = a + 1 < p.value - e;
|
|
70
|
+
} else
|
|
71
|
+
w.value = !1, E.value = !1;
|
|
72
|
+
}, B = () => {
|
|
73
|
+
let e = [];
|
|
74
|
+
v.value && (e = Array.from(v.value.children));
|
|
75
|
+
let t = 0;
|
|
76
|
+
return e.forEach((a, l) => {
|
|
77
|
+
l > 0 && (t += b.size === "small" ? Number(ne) : Number(ie)), t += a.offsetWidth || 0;
|
|
78
|
+
}), t;
|
|
79
|
+
}, _ = () => {
|
|
80
|
+
var e, t;
|
|
81
|
+
if (o.value.length > 0 && n.value) {
|
|
82
|
+
const l = o.value[n.value].getBoundingClientRect(), r = (e = v.value) == null ? void 0 : e.getBoundingClientRect(), y = r ? l.x - r.x : 0;
|
|
83
|
+
u.value = v.value ? y - ((t = v.value) == null ? void 0 : t.scrollLeft) : 0, h.value = l.width, r && u.value + h.value >= r.width ? (h.value = Math.max(0, r.width - u.value), u.value = Math.min(u.value, r.width)) : u.value < 0 && (h.value = Math.max(0, h.value + u.value), u.value = 0);
|
|
84
|
+
}
|
|
85
|
+
}, z = async (e) => {
|
|
86
|
+
const t = o.value[e];
|
|
87
|
+
k.value = x.value[e].name, n.value = e, await re(), t.focus(), _();
|
|
88
|
+
}, U = () => {
|
|
89
|
+
if (n.value === o.value.length - 1)
|
|
90
|
+
return;
|
|
91
|
+
let t = n.value + 1;
|
|
92
|
+
o.value[t].disabled && (t += 1), t <= o.value.length - 1 && z(t);
|
|
93
|
+
}, V = () => {
|
|
94
|
+
if (n.value && n.value <= 0)
|
|
95
|
+
return;
|
|
96
|
+
let t = n.value - 1;
|
|
97
|
+
o.value[t].disabled && (t -= 1), t >= 0 && z(t);
|
|
98
|
+
}, j = () => {
|
|
99
|
+
o.value.forEach((e, t) => {
|
|
100
|
+
!e.disabled && n.value === null && (n.value = t, k.value = x.value[t].name);
|
|
101
|
+
});
|
|
102
|
+
};
|
|
103
|
+
return Y(() => {
|
|
104
|
+
var e;
|
|
105
|
+
j(), p.value = B(), L(), setTimeout(() => {
|
|
106
|
+
_();
|
|
107
|
+
}, 250), window.addEventListener("resize", K(() => {
|
|
108
|
+
p.value = B(), L(), _();
|
|
109
|
+
}, 250)), (e = v.value) == null || e.addEventListener("scroll", K(() => {
|
|
110
|
+
L(), _();
|
|
111
|
+
}, 50));
|
|
112
|
+
}), (e, t) => ($(), N("div", {
|
|
113
|
+
class: f(s(T)(s(c), ue, F.value, A.value)),
|
|
114
|
+
ref_key: "containerEl",
|
|
115
|
+
ref: S,
|
|
116
|
+
style: C({
|
|
117
|
+
height: W.height
|
|
118
|
+
})
|
|
119
|
+
}, [g("div", {
|
|
120
|
+
class: f(s(c)["cdr-tabs__gradient-container"])
|
|
121
|
+
}, [g("div", {
|
|
122
|
+
class: f(s(T)(s(c), "cdr-tabs__gradient", "cdr-tabs__gradient--left", w.value ? "cdr-tabs__gradient--active" : "")),
|
|
123
|
+
style: C(P.value)
|
|
124
|
+
}, null, 6), g("ul", {
|
|
125
|
+
class: f(s(c)["cdr-tabs__header-container"]),
|
|
126
|
+
role: "tablist",
|
|
127
|
+
ref_key: "tablist",
|
|
128
|
+
ref: v
|
|
129
|
+
}, [($(!0), N(Z, null, ee(x.value, (a, l) => ($(), N("li", {
|
|
130
|
+
key: `${a.name}-${l}`,
|
|
131
|
+
role: "presentation",
|
|
132
|
+
class: f(s(c)["cdr-tabs__header"])
|
|
133
|
+
}, [g("button", {
|
|
134
|
+
ref_for: !0,
|
|
135
|
+
ref: (r) => {
|
|
136
|
+
o.value[l] = r;
|
|
137
|
+
},
|
|
138
|
+
id: a.id,
|
|
139
|
+
disabled: a.disabled,
|
|
140
|
+
"aria-selected": I(l, a),
|
|
141
|
+
tabIndex: I(l, a) ? 0 : -1,
|
|
142
|
+
class: f(s(T)(s(c), I(l, a) ? "cdr-tabs__header-item-active" : "", "cdr-tabs__header-item", a.disabled ? "cdr-tabs__header-item--disabled" : "")),
|
|
143
|
+
role: "tab",
|
|
144
|
+
onClick: te((r) => z(l), ["prevent"]),
|
|
145
|
+
onKeyup: [X(U, ["right"]), X(V, ["left"])]
|
|
146
|
+
}, ae(a.name), 43, oe)], 2))), 128))], 2), g("div", {
|
|
147
|
+
class: f(s(T)(s(c), "cdr-tabs__gradient", "cdr-tabs__gradient--right", E.value ? "cdr-tabs__gradient--active" : "")),
|
|
148
|
+
style: C(D.value)
|
|
149
|
+
}, null, 6), g("div", {
|
|
150
|
+
class: f(s(c)["cdr-tabs__underline"]),
|
|
151
|
+
style: C(H.value)
|
|
152
|
+
}, null, 6)], 2), le(e.$slots, "default")], 6));
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
export {
|
|
156
|
+
ge as default
|
|
157
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const t = {
|
|
2
|
-
"cdr-tab-panel": "cdr-tab-
|
|
3
|
-
"cdr-tab-panel-enter-left": "cdr-tab-panel-enter-
|
|
4
|
-
"cdr-tab-panel-enter-right": "cdr-tab-panel-enter-
|
|
5
|
-
"cdr-tab-panel-exit-left": "cdr-tab-panel-exit-
|
|
6
|
-
"cdr-tab-panel-exit-right": "cdr-tab-panel-exit-
|
|
2
|
+
"cdr-tab-panel": "cdr-tab-panel_14-0-0-beta-0",
|
|
3
|
+
"cdr-tab-panel-enter-left": "cdr-tab-panel-enter-left_14-0-0-beta-0",
|
|
4
|
+
"cdr-tab-panel-enter-right": "cdr-tab-panel-enter-right_14-0-0-beta-0",
|
|
5
|
+
"cdr-tab-panel-exit-left": "cdr-tab-panel-exit-left_14-0-0-beta-0",
|
|
6
|
+
"cdr-tab-panel-exit-right": "cdr-tab-panel-exit-right_14-0-0-beta-0"
|
|
7
7
|
};
|
|
8
8
|
export {
|
|
9
9
|
t as default
|