@rei/cedar 13.4.0-alpha.0 → 13.5.0-alpha.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.
Files changed (325) hide show
  1. package/dist/_virtual/_plugin-vue_export-helper.mjs +9 -0
  2. package/dist/cedar-compiled.css +1031 -1145
  3. package/dist/node_modules/@rei/cdr-tokens/dist/js/cdr-tokens.mjs +10 -0
  4. package/dist/src/components/accordion/CdrAccordion.vue.mjs +155 -0
  5. package/dist/src/components/accordion/CdrAccordionGroup.vue.mjs +78 -0
  6. package/dist/src/components/accordion/styles/CdrAccordion.module.scss.mjs +34 -0
  7. package/dist/src/components/accordion/styles/CdrAccordionGroup.module.scss.mjs +7 -0
  8. package/dist/src/components/banner/CdrBanner.vue.mjs +56 -0
  9. package/dist/src/components/banner/styles/CdrBanner.module.scss.mjs +19 -0
  10. package/dist/src/components/breadcrumb/CdrBreadcrumb.vue.mjs +101 -0
  11. package/dist/src/components/breadcrumb/styles/CdrBreadcrumb.module.scss.mjs +12 -0
  12. package/dist/src/components/button/CdrButton.vue.mjs +75 -0
  13. package/dist/src/components/button/styles/CdrButton.module.scss.mjs +36 -0
  14. package/dist/src/components/caption/CdrCaption.vue.mjs +39 -0
  15. package/dist/src/components/caption/styles/CdrCaption.module.scss.mjs +7 -0
  16. package/dist/src/components/card/CdrCard.vue.mjs +32 -0
  17. package/dist/src/components/card/styles/CdrCard.module.scss.mjs +6 -0
  18. package/dist/src/components/checkbox/CdrCheckbox.vue.mjs +123 -0
  19. package/dist/src/components/checkbox/styles/CdrCheckbox.module.scss.mjs +30 -0
  20. package/dist/src/components/chip/CdrChip.vue.mjs +31 -0
  21. package/dist/src/components/chip/CdrChipGroup.vue.mjs +79 -0
  22. package/dist/src/components/chip/styles/CdrChip.module.scss.mjs +9 -0
  23. package/dist/src/components/chip/styles/CdrChipGroup.module.scss.mjs +9 -0
  24. package/dist/src/components/container/CdrContainer.vue.mjs +43 -0
  25. package/dist/src/components/container/styles/CdrContainer.module.scss.mjs +7 -0
  26. package/dist/src/components/formError/CdrFormError.vue.mjs +38 -0
  27. package/dist/src/components/formError/styles/CdrFormError.module.scss.mjs +7 -0
  28. package/dist/src/components/formGroup/CdrFormGroup.vue.mjs +72 -0
  29. package/dist/src/components/formGroup/styles/CdrFormGroup.module.scss.mjs +13 -0
  30. package/dist/src/components/grid/CdrGrid.vue.mjs +48 -0
  31. package/dist/src/components/grid/styles/CdrGrid.module.scss.mjs +26 -0
  32. package/dist/src/components/icon/CdrIcon.vue.mjs +57 -0
  33. package/dist/src/components/icon/comps/account-profile-fill.vue.mjs +28 -0
  34. package/dist/src/components/icon/comps/account-profile.vue.mjs +28 -0
  35. package/dist/src/components/icon/comps/arrow-down.vue.mjs +28 -0
  36. package/dist/src/components/icon/comps/arrow-left.vue.mjs +28 -0
  37. package/dist/src/components/icon/comps/arrow-right.vue.mjs +28 -0
  38. package/dist/src/components/icon/comps/arrow-up.vue.mjs +28 -0
  39. package/dist/src/components/icon/comps/atv.vue.mjs +28 -0
  40. package/dist/src/components/icon/comps/bed-outline.vue.mjs +28 -0
  41. package/dist/src/components/icon/comps/bike-shop.vue.mjs +28 -0
  42. package/dist/src/components/icon/comps/binoculars.vue.mjs +28 -0
  43. package/dist/src/components/icon/comps/birding.vue.mjs +28 -0
  44. package/dist/src/components/icon/comps/boat.vue.mjs +28 -0
  45. package/dist/src/components/icon/comps/boating.vue.mjs +28 -0
  46. package/dist/src/components/icon/comps/bookmark-fill.vue.mjs +28 -0
  47. package/dist/src/components/icon/comps/bookmark-stroke.vue.mjs +28 -0
  48. package/dist/src/components/icon/comps/brand-abstract.vue.mjs +28 -0
  49. package/dist/src/components/icon/comps/brand-code-sandbox.vue.mjs +28 -0
  50. package/dist/src/components/icon/comps/brand-github.vue.mjs +28 -0
  51. package/dist/src/components/icon/comps/brand-linkedin.vue.mjs +28 -0
  52. package/dist/src/components/icon/comps/brand-rei-ice-axes.vue.mjs +28 -0
  53. package/dist/src/components/icon/comps/brand-sketch.vue.mjs +28 -0
  54. package/dist/src/components/icon/comps/brand-tiktok.vue.mjs +29 -0
  55. package/dist/src/components/icon/comps/buddies.vue.mjs +28 -0
  56. package/dist/src/components/icon/comps/bus.vue.mjs +28 -0
  57. package/dist/src/components/icon/comps/calendar.vue.mjs +28 -0
  58. package/dist/src/components/icon/comps/camera.vue.mjs +28 -0
  59. package/dist/src/components/icon/comps/canoe.vue.mjs +28 -0
  60. package/dist/src/components/icon/comps/car.vue.mjs +28 -0
  61. package/dist/src/components/icon/comps/caret-down.vue.mjs +28 -0
  62. package/dist/src/components/icon/comps/caret-left.vue.mjs +28 -0
  63. package/dist/src/components/icon/comps/caret-right.vue.mjs +28 -0
  64. package/dist/src/components/icon/comps/caret-up.vue.mjs +28 -0
  65. package/dist/src/components/icon/comps/cart-fill.vue.mjs +28 -0
  66. package/dist/src/components/icon/comps/cart.vue.mjs +28 -0
  67. package/dist/src/components/icon/comps/chain-link.vue.mjs +28 -0
  68. package/dist/src/components/icon/comps/chat.vue.mjs +28 -0
  69. package/dist/src/components/icon/comps/check-fill.vue.mjs +28 -0
  70. package/dist/src/components/icon/comps/check-lg.vue.mjs +28 -0
  71. package/dist/src/components/icon/comps/check-sm.vue.mjs +28 -0
  72. package/dist/src/components/icon/comps/check-stroke.vue.mjs +28 -0
  73. package/dist/src/components/icon/comps/climb.vue.mjs +28 -0
  74. package/dist/src/components/icon/comps/clipboard.vue.mjs +28 -0
  75. package/dist/src/components/icon/comps/clock.vue.mjs +28 -0
  76. package/dist/src/components/icon/comps/code-html.vue.mjs +28 -0
  77. package/dist/src/components/icon/comps/code-js.vue.mjs +28 -0
  78. package/dist/src/components/icon/comps/compass.vue.mjs +28 -0
  79. package/dist/src/components/icon/comps/copy.vue.mjs +28 -0
  80. package/dist/src/components/icon/comps/coupon-fill.vue.mjs +28 -0
  81. package/dist/src/components/icon/comps/coupon-stroke.vue.mjs +28 -0
  82. package/dist/src/components/icon/comps/credit-card.vue.mjs +28 -0
  83. package/dist/src/components/icon/comps/curbside-pickup.vue.mjs +28 -0
  84. package/dist/src/components/icon/comps/day.vue.mjs +28 -0
  85. package/dist/src/components/icon/comps/diving.vue.mjs +28 -0
  86. package/dist/src/components/icon/comps/dog.vue.mjs +28 -0
  87. package/dist/src/components/icon/comps/download.vue.mjs +28 -0
  88. package/dist/src/components/icon/comps/duplicate.vue.mjs +29 -0
  89. package/dist/src/components/icon/comps/edit.vue.mjs +28 -0
  90. package/dist/src/components/icon/comps/elevation.vue.mjs +28 -0
  91. package/dist/src/components/icon/comps/error-fill.vue.mjs +30 -0
  92. package/dist/src/components/icon/comps/error-stroke.vue.mjs +32 -0
  93. package/dist/src/components/icon/comps/expand.vue.mjs +28 -0
  94. package/dist/src/components/icon/comps/experiences-backpacking.vue.mjs +28 -0
  95. package/dist/src/components/icon/comps/experiences-camping.vue.mjs +28 -0
  96. package/dist/src/components/icon/comps/experiences-climbing.vue.mjs +28 -0
  97. package/dist/src/components/icon/comps/experiences-clothing.vue.mjs +28 -0
  98. package/dist/src/components/icon/comps/experiences-cycling.vue.mjs +28 -0
  99. package/dist/src/components/icon/comps/experiences-family.vue.mjs +28 -0
  100. package/dist/src/components/icon/comps/experiences-fitness.vue.mjs +28 -0
  101. package/dist/src/components/icon/comps/experiences-hiking.vue.mjs +28 -0
  102. package/dist/src/components/icon/comps/experiences-outdoor-basics.vue.mjs +28 -0
  103. package/dist/src/components/icon/comps/experiences-paddling.vue.mjs +28 -0
  104. package/dist/src/components/icon/comps/experiences-rentals.vue.mjs +28 -0
  105. package/dist/src/components/icon/comps/experiences-running.vue.mjs +29 -0
  106. package/dist/src/components/icon/comps/experiences-snowsports.vue.mjs +28 -0
  107. package/dist/src/components/icon/comps/experiences-travel.vue.mjs +28 -0
  108. package/dist/src/components/icon/comps/external-link-alt.vue.mjs +29 -0
  109. package/dist/src/components/icon/comps/external-link.vue.mjs +28 -0
  110. package/dist/src/components/icon/comps/eye-hide.vue.mjs +28 -0
  111. package/dist/src/components/icon/comps/eye-show.vue.mjs +28 -0
  112. package/dist/src/components/icon/comps/facebook.vue.mjs +28 -0
  113. package/dist/src/components/icon/comps/filter-alt.vue.mjs +28 -0
  114. package/dist/src/components/icon/comps/filter.vue.mjs +28 -0
  115. package/dist/src/components/icon/comps/find-location.vue.mjs +28 -0
  116. package/dist/src/components/icon/comps/fire.vue.mjs +28 -0
  117. package/dist/src/components/icon/comps/fishing.vue.mjs +28 -0
  118. package/dist/src/components/icon/comps/free-product.vue.mjs +28 -0
  119. package/dist/src/components/icon/comps/grid-view.vue.mjs +28 -0
  120. package/dist/src/components/icon/comps/heart-fill.vue.mjs +28 -0
  121. package/dist/src/components/icon/comps/heart-stroke.vue.mjs +28 -0
  122. package/dist/src/components/icon/comps/hike.vue.mjs +28 -0
  123. package/dist/src/components/icon/comps/history.vue.mjs +28 -0
  124. package/dist/src/components/icon/comps/home.vue.mjs +28 -0
  125. package/dist/src/components/icon/comps/horse.vue.mjs +28 -0
  126. package/dist/src/components/icon/comps/horseshoe.vue.mjs +28 -0
  127. package/dist/src/components/icon/comps/image.vue.mjs +28 -0
  128. package/dist/src/components/icon/comps/information-fill.vue.mjs +28 -0
  129. package/dist/src/components/icon/comps/information-stroke.vue.mjs +28 -0
  130. package/dist/src/components/icon/comps/instagram.vue.mjs +28 -0
  131. package/dist/src/components/icon/comps/kayak.vue.mjs +28 -0
  132. package/dist/src/components/icon/comps/link-alt.vue.mjs +29 -0
  133. package/dist/src/components/icon/comps/list-ragged.vue.mjs +28 -0
  134. package/dist/src/components/icon/comps/list-view.vue.mjs +28 -0
  135. package/dist/src/components/icon/comps/location-pin-fill.vue.mjs +28 -0
  136. package/dist/src/components/icon/comps/location-pin-stroke.vue.mjs +28 -0
  137. package/dist/src/components/icon/comps/lock-locked-fill.vue.mjs +28 -0
  138. package/dist/src/components/icon/comps/lock-locked-stroke.vue.mjs +28 -0
  139. package/dist/src/components/icon/comps/lock-unlocked-stroke.vue.mjs +28 -0
  140. package/dist/src/components/icon/comps/mail.vue.mjs +28 -0
  141. package/dist/src/components/icon/comps/map.vue.mjs +28 -0
  142. package/dist/src/components/icon/comps/member-card.vue.mjs +28 -0
  143. package/dist/src/components/icon/comps/membership.vue.mjs +29 -0
  144. package/dist/src/components/icon/comps/microphone.vue.mjs +28 -0
  145. package/dist/src/components/icon/comps/minus-fill.vue.mjs +28 -0
  146. package/dist/src/components/icon/comps/minus-lg.vue.mjs +28 -0
  147. package/dist/src/components/icon/comps/minus-sm.vue.mjs +28 -0
  148. package/dist/src/components/icon/comps/minus-stroke.vue.mjs +28 -0
  149. package/dist/src/components/icon/comps/more-functions.vue.mjs +28 -0
  150. package/dist/src/components/icon/comps/my-location.vue.mjs +28 -0
  151. package/dist/src/components/icon/comps/navigation-menu.vue.mjs +28 -0
  152. package/dist/src/components/icon/comps/night.vue.mjs +28 -0
  153. package/dist/src/components/icon/comps/paddle.vue.mjs +28 -0
  154. package/dist/src/components/icon/comps/pause-fill.vue.mjs +28 -0
  155. package/dist/src/components/icon/comps/pause-stroke.vue.mjs +28 -0
  156. package/dist/src/components/icon/comps/pause.vue.mjs +28 -0
  157. package/dist/src/components/icon/comps/photography.vue.mjs +28 -0
  158. package/dist/src/components/icon/comps/picnic.vue.mjs +28 -0
  159. package/dist/src/components/icon/comps/pinterest.vue.mjs +28 -0
  160. package/dist/src/components/icon/comps/plane.vue.mjs +28 -0
  161. package/dist/src/components/icon/comps/play-fill.vue.mjs +28 -0
  162. package/dist/src/components/icon/comps/play-stroke.vue.mjs +28 -0
  163. package/dist/src/components/icon/comps/play.vue.mjs +28 -0
  164. package/dist/src/components/icon/comps/playground.vue.mjs +28 -0
  165. package/dist/src/components/icon/comps/plugin.vue.mjs +28 -0
  166. package/dist/src/components/icon/comps/plus-fill.vue.mjs +28 -0
  167. package/dist/src/components/icon/comps/plus-lg.vue.mjs +28 -0
  168. package/dist/src/components/icon/comps/plus-sm.vue.mjs +28 -0
  169. package/dist/src/components/icon/comps/plus-stroke.vue.mjs +28 -0
  170. package/dist/src/components/icon/comps/print.vue.mjs +28 -0
  171. package/dist/src/components/icon/comps/protection-fill.vue.mjs +28 -0
  172. package/dist/src/components/icon/comps/protection-stroke.vue.mjs +28 -0
  173. package/dist/src/components/icon/comps/question-fill.vue.mjs +28 -0
  174. package/dist/src/components/icon/comps/question-stroke.vue.mjs +28 -0
  175. package/dist/src/components/icon/comps/refresh.vue.mjs +28 -0
  176. package/dist/src/components/icon/comps/reload.vue.mjs +28 -0
  177. package/dist/src/components/icon/comps/returns.vue.mjs +29 -0
  178. package/dist/src/components/icon/comps/run.vue.mjs +28 -0
  179. package/dist/src/components/icon/comps/scan-barcode.vue.mjs +28 -0
  180. package/dist/src/components/icon/comps/search.vue.mjs +28 -0
  181. package/dist/src/components/icon/comps/service-shop.vue.mjs +28 -0
  182. package/dist/src/components/icon/comps/shipping-prep.vue.mjs +29 -0
  183. package/dist/src/components/icon/comps/shipping-truck.vue.mjs +29 -0
  184. package/dist/src/components/icon/comps/shipping.vue.mjs +28 -0
  185. package/dist/src/components/icon/comps/shopping-bag-fill.vue.mjs +28 -0
  186. package/dist/src/components/icon/comps/shopping-bag.vue.mjs +28 -0
  187. package/dist/src/components/icon/comps/shrink.vue.mjs +28 -0
  188. package/dist/src/components/icon/comps/size-chart.vue.mjs +28 -0
  189. package/dist/src/components/icon/comps/ski-boot.vue.mjs +28 -0
  190. package/dist/src/components/icon/comps/ski.vue.mjs +28 -0
  191. package/dist/src/components/icon/comps/snow-shop.vue.mjs +28 -0
  192. package/dist/src/components/icon/comps/snow.vue.mjs +28 -0
  193. package/dist/src/components/icon/comps/sort.vue.mjs +28 -0
  194. package/dist/src/components/icon/comps/star-100.vue.mjs +28 -0
  195. package/dist/src/components/icon/comps/star-25.vue.mjs +28 -0
  196. package/dist/src/components/icon/comps/star-50.vue.mjs +28 -0
  197. package/dist/src/components/icon/comps/star-75.vue.mjs +28 -0
  198. package/dist/src/components/icon/comps/star-stroke.vue.mjs +28 -0
  199. package/dist/src/components/icon/comps/storefront.vue.mjs +28 -0
  200. package/dist/src/components/icon/comps/swim.vue.mjs +28 -0
  201. package/dist/src/components/icon/comps/telephone.vue.mjs +28 -0
  202. package/dist/src/components/icon/comps/tent.vue.mjs +28 -0
  203. package/dist/src/components/icon/comps/trash.vue.mjs +28 -0
  204. package/dist/src/components/icon/comps/twitter.vue.mjs +28 -0
  205. package/dist/src/components/icon/comps/upload.vue.mjs +28 -0
  206. package/dist/src/components/icon/comps/verified-purchaser.vue.mjs +28 -0
  207. package/dist/src/components/icon/comps/virtual-outfitting.vue.mjs +28 -0
  208. package/dist/src/components/icon/comps/warning-fill.vue.mjs +28 -0
  209. package/dist/src/components/icon/comps/warning-stroke.vue.mjs +28 -0
  210. package/dist/src/components/icon/comps/water.vue.mjs +28 -0
  211. package/dist/src/components/icon/comps/wilderness.vue.mjs +28 -0
  212. package/dist/src/components/icon/comps/x-fill.vue.mjs +28 -0
  213. package/dist/src/components/icon/comps/x-lg.vue.mjs +28 -0
  214. package/dist/src/components/icon/comps/x-sm.vue.mjs +28 -0
  215. package/dist/src/components/icon/comps/x-stroke.vue.mjs +28 -0
  216. package/dist/src/components/icon/comps/youtube.vue.mjs +28 -0
  217. package/dist/src/components/icon/comps/zoom-in.vue.mjs +28 -0
  218. package/dist/src/components/icon/comps/zoom-out.vue.mjs +28 -0
  219. package/dist/src/components/icon/styles/CdrIcon.module.scss.mjs +17 -0
  220. package/dist/src/components/image/CdrImg.vue.mjs +114 -0
  221. package/dist/src/components/image/styles/CdrImg.module.scss.mjs +13 -0
  222. package/dist/src/components/input/CdrInput.vue.mjs +219 -0
  223. package/dist/src/components/input/styles/CdrInput.module.scss.mjs +37 -0
  224. package/dist/src/components/labelStandalone/CdrLabelStandalone.vue.mjs +70 -0
  225. package/dist/src/components/labelStandalone/styles/CdrLabelStandalone.module.scss.mjs +17 -0
  226. package/dist/src/components/labelWrapper/CdrLabelWrapper.vue.mjs +44 -0
  227. package/dist/src/components/labelWrapper/styles/CdrLabelWrapper.module.scss.mjs +28 -0
  228. package/dist/src/components/link/CdrLink.vue.mjs +60 -0
  229. package/dist/src/components/link/styles/CdrLink.module.scss.mjs +8 -0
  230. package/dist/src/components/list/CdrList.vue.mjs +44 -0
  231. package/dist/src/components/list/styles/CdrList.module.scss.mjs +10 -0
  232. package/dist/src/components/modal/CdrModal.vue.mjs +214 -0
  233. package/dist/src/components/modal/onTransitionEnd.mjs +29 -0
  234. package/dist/src/components/modal/styles/CdrModal.module.scss.mjs +17 -0
  235. package/dist/src/components/pagination/CdrPagination.vue.mjs +199 -0
  236. package/dist/src/components/pagination/styles/CdrPagination.module.scss.mjs +58 -0
  237. package/dist/src/components/popover/CdrPopover.vue.mjs +130 -0
  238. package/dist/src/components/popover/styles/CdrPopover.module.scss.mjs +68 -0
  239. package/dist/src/components/popup/CdrPopup.vue.mjs +111 -0
  240. package/dist/src/components/popup/calculatePlacement.mjs +27 -0
  241. package/dist/src/components/popup/styles/CdrPopup.module.scss.mjs +19 -0
  242. package/dist/src/components/quote/CdrQuote.vue.mjs +56 -0
  243. package/dist/src/components/quote/styles/CdrQuote.module.scss.mjs +9 -0
  244. package/dist/src/components/radio/CdrRadio.vue.mjs +99 -0
  245. package/dist/src/components/radio/styles/CdrRadio.module.scss.mjs +30 -0
  246. package/dist/src/components/rating/CdrRating.vue.mjs +103 -0
  247. package/dist/src/components/rating/styles/CdrRating.module.scss.mjs +33 -0
  248. package/dist/src/components/select/CdrSelect.vue.mjs +198 -0
  249. package/dist/src/components/select/styles/CdrSelect.module.scss.mjs +47 -0
  250. package/dist/src/components/skeleton/CdrSkeleton.vue.mjs +32 -0
  251. package/dist/src/components/skeleton/CdrSkeletonBone.vue.mjs +38 -0
  252. package/dist/src/components/skeleton/styles/CdrSkeleton.module.scss.mjs +6 -0
  253. package/dist/src/components/skeleton/styles/CdrSkeletonBone.module.scss.mjs +13 -0
  254. package/dist/src/components/switch/CdrSwitch.vue.mjs +76 -0
  255. package/dist/src/components/switch/styles/CdrSwitch.module.scss.mjs +13 -0
  256. package/dist/src/components/table/CdrTable.vue.mjs +63 -0
  257. package/dist/src/components/table/styles/CdrTable.module.scss.mjs +18 -0
  258. package/dist/src/components/tabs/CdrTabPanel.vue.mjs +38 -0
  259. package/dist/src/components/tabs/CdrTabs.vue.mjs +168 -0
  260. package/dist/src/components/tabs/styles/CdrTabPanel.module.scss.mjs +10 -0
  261. package/dist/src/components/tabs/styles/CdrTabs.module.scss.mjs +33 -0
  262. package/dist/src/components/text/CdrText.vue.mjs +31 -0
  263. package/dist/src/components/text/styles/CdrText.module.scss.mjs +6 -0
  264. package/dist/src/components/toast/CdrToast.vue.mjs +110 -0
  265. package/dist/src/components/toast/styles/CdrToast.module.scss.mjs +62 -0
  266. package/dist/src/components/toggleButton/CdrToggleButton.vue.mjs +38 -0
  267. package/dist/src/components/toggleButton/CdrToggleGroup.vue.mjs +75 -0
  268. package/dist/src/components/toggleButton/styles/CdrToggleButton.module.scss.mjs +7 -0
  269. package/dist/src/components/toggleButton/styles/CdrToggleGroup.module.scss.mjs +10 -0
  270. package/dist/src/components/tooltip/CdrTooltip.vue.mjs +94 -0
  271. package/dist/src/components/tooltip/styles/CdrTooltip.module.scss.mjs +21 -0
  272. package/dist/src/lib.mjs +446 -0
  273. package/dist/src/mixins/breakpoints.mjs +8 -0
  274. package/dist/src/props/background.mjs +9 -0
  275. package/dist/src/props/size.mjs +9 -0
  276. package/dist/src/utils/buildClass.mjs +6 -0
  277. package/dist/src/utils/mapClasses.mjs +6 -0
  278. package/dist/src/utils/propValidator.mjs +9 -0
  279. package/dist/src/utils/uid.mjs +6 -0
  280. package/dist/style/cdr-accordion-group.css +1 -1
  281. package/dist/style/cdr-accordion.css +1 -1
  282. package/dist/style/cdr-banner.css +1 -1
  283. package/dist/style/cdr-breadcrumb.css +1 -1
  284. package/dist/style/cdr-button.css +1 -1
  285. package/dist/style/cdr-caption.css +1 -1
  286. package/dist/style/cdr-card.css +1 -1
  287. package/dist/style/cdr-checkbox.css +1 -1
  288. package/dist/style/cdr-chip-group.css +1 -1
  289. package/dist/style/cdr-chip.css +1 -1
  290. package/dist/style/cdr-container.css +1 -1
  291. package/dist/style/cdr-form-error.css +1 -1
  292. package/dist/style/cdr-form-group.css +1 -1
  293. package/dist/style/cdr-grid.css +1 -1
  294. package/dist/style/cdr-icon.css +1 -1
  295. package/dist/style/cdr-img.css +1 -1
  296. package/dist/style/cdr-input.css +1 -1
  297. package/dist/style/cdr-label-standalone.css +1 -1
  298. package/dist/style/cdr-label-wrapper.css +1 -1
  299. package/dist/style/cdr-link.css +1 -1
  300. package/dist/style/cdr-list.css +1 -1
  301. package/dist/style/cdr-modal.css +1 -1
  302. package/dist/style/cdr-pagination.css +1 -1
  303. package/dist/style/cdr-popover.css +1 -1
  304. package/dist/style/cdr-popup.css +1 -1
  305. package/dist/style/cdr-quote.css +1 -1
  306. package/dist/style/cdr-radio.css +1 -1
  307. package/dist/style/cdr-rating.css +1 -1
  308. package/dist/style/cdr-select.css +1 -1
  309. package/dist/style/cdr-skeleton-bone.css +1 -1
  310. package/dist/style/cdr-skeleton.css +1 -1
  311. package/dist/style/cdr-switch.css +1 -1
  312. package/dist/style/cdr-tab-panel.css +1 -1
  313. package/dist/style/cdr-table.css +1 -1
  314. package/dist/style/cdr-tabs.css +1 -1
  315. package/dist/style/cdr-text.css +1 -1
  316. package/dist/style/cdr-toast.css +1 -1
  317. package/dist/style/cdr-toggle-button.css +1 -1
  318. package/dist/style/cdr-toggle-group.css +1 -1
  319. package/dist/style/cdr-tooltip.css +1 -1
  320. package/dist/style.css +1 -1
  321. package/package.json +8 -15
  322. package/dist/cedar.mjs +0 -10590
  323. package/dist/cedar.umd.js +0 -5
  324. package/dist/component-docgen.json +0 -3178
  325. package/dist/icon-component-docgen.json +0 -3536
@@ -0,0 +1,28 @@
1
+ import { defineComponent as r, resolveComponent as t, openBlock as n, createBlock as p, normalizeProps as a, guardReactiveProps as c, withCtx as s, renderSlot as i, createElementVNode as l } from "vue";
2
+ import d from "../CdrIcon.vue.mjs";
3
+ import m from "../../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const _ = r({
5
+ name: "WarningStroke",
6
+ components: {
7
+ CdrIcon: d
8
+ },
9
+ props: {
10
+ props: {
11
+ type: Object
12
+ }
13
+ }
14
+ }), f = /* @__PURE__ */ l("path", {
15
+ role: "presentation",
16
+ d: "M11.106 3.558a1 1 0 011.788 0l8.002 15.995A1 1 0 0120.002 21H3.998a1 1 0 01-.894-1.447zM12 6.24L5.617 19h12.766L12 6.24zM12 16a1.25 1.25 0 110 2.5 1.25 1.25 0 010-2.5zm.199-6a1 1 0 01.998 1.05l-.15 3a1 1 0 01-.998.95h-.098a1 1 0 01-.998-.95l-.15-3A1 1 0 0111.8 10h.398z"
17
+ }, null, -1);
18
+ function u(o, h, z, $, k, C) {
19
+ const e = t("cdr-icon");
20
+ return n(), p(e, a(c(o.props)), {
21
+ default: s(() => [i(o.$slots, "default"), f]),
22
+ _: 3
23
+ }, 16);
24
+ }
25
+ const v = /* @__PURE__ */ m(_, [["render", u]]);
26
+ export {
27
+ v as default
28
+ };
@@ -0,0 +1,28 @@
1
+ import { defineComponent as t, resolveComponent as r, openBlock as n, createBlock as c, normalizeProps as p, guardReactiveProps as a, withCtx as s, renderSlot as m, createElementVNode as d } from "vue";
2
+ import i from "../CdrIcon.vue.mjs";
3
+ import l from "../../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const _ = t({
5
+ name: "Water",
6
+ components: {
7
+ CdrIcon: i
8
+ },
9
+ props: {
10
+ props: {
11
+ type: Object
12
+ }
13
+ }
14
+ }), f = /* @__PURE__ */ d("path", {
15
+ role: "presentation",
16
+ d: "M20.218 16.384a1 1 0 011.576 1.23c-1.334 1.71-3.301 2.349-5.306 2.349-.75 0-1.504-.131-2.232-.405-.954-.36-1.821-.83-2.81-1.53-.01-.006-.015-.017-.024-.023-.846-.596-1.547-.98-2.338-1.276-1.855-.697-4.005-.071-5.297 1.587a.995.995 0 01-1.402.173.999.999 0 01-.173-1.403c1.833-2.35 4.899-3.235 7.575-2.23.953.359 1.82.83 2.81 1.53.01.007.014.017.023.024.846.595 1.547.978 2.339 1.276 1.853.695 3.967.355 5.26-1.302h-.001zm0-10.447a1 1 0 011.576 1.23c-1.334 1.71-3.301 2.35-5.306 2.35-.75 0-1.504-.132-2.232-.406-.954-.36-1.821-.83-2.81-1.53-.01-.006-.015-.017-.024-.023-.846-.596-1.547-.98-2.338-1.276-1.855-.697-4.005-.07-5.297 1.587a.995.995 0 01-1.402.173.999.999 0 01-.173-1.403c1.833-2.35 4.899-3.235 7.575-2.23.953.359 1.82.83 2.81 1.53.01.007.014.017.023.024.846.595 1.547.978 2.339 1.276 1.853.695 3.967.355 5.26-1.302h-.001zm0 5.223a1 1 0 011.576 1.23c-1.334 1.71-3.301 2.35-5.306 2.35-.75 0-1.504-.132-2.232-.406-.954-.36-1.821-.83-2.81-1.53-.01-.006-.015-.017-.024-.023-.846-.596-1.547-.98-2.338-1.276-1.855-.697-4.005-.07-5.297 1.588a.995.995 0 01-1.402.173.999.999 0 01-.173-1.403c1.833-2.35 4.899-3.236 7.575-2.23.953.358 1.82.83 2.81 1.53.01.006.014.016.023.023.846.595 1.547.978 2.339 1.276 1.853.695 3.967.355 5.26-1.302h-.001z"
17
+ }, null, -1);
18
+ function u(o, h, $, z, C, k) {
19
+ const e = r("cdr-icon");
20
+ return n(), c(e, p(a(o.props)), {
21
+ default: s(() => [m(o.$slots, "default"), f]),
22
+ _: 3
23
+ }, 16);
24
+ }
25
+ const B = /* @__PURE__ */ l(_, [["render", u]]);
26
+ export {
27
+ B as default
28
+ };
@@ -0,0 +1,28 @@
1
+ import { defineComponent as r, resolveComponent as t, openBlock as n, createBlock as a, normalizeProps as s, guardReactiveProps as c, withCtx as p, renderSlot as d, createElementVNode as i } from "vue";
2
+ import l from "../CdrIcon.vue.mjs";
3
+ import m from "../../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const h = r({
5
+ name: "Wilderness",
6
+ components: {
7
+ CdrIcon: l
8
+ },
9
+ props: {
10
+ props: {
11
+ type: Object
12
+ }
13
+ }
14
+ }), _ = /* @__PURE__ */ i("path", {
15
+ role: "presentation",
16
+ d: "M12.707 2.293A.997.997 0 0113 3v1a3 3 0 003 3h1a1 1 0 010 2h-1a4.978 4.978 0 01-3-1 3 3 0 003 3h2a1 1 0 110 2h-2a4.978 4.978 0 01-3-1 3 3 0 003 3h3a1 1 0 110 2h-3a4.978 4.978 0 01-3-1v5a1 1 0 01-2 0v-5c-.836.628-1.874 1-3 1H5a1 1 0 010-2h3a3 3 0 003-3c-.836.628-1.874 1-3 1H6a1 1 0 010-2h2a3 3 0 003-3c-.836.628-1.874 1-3 1H7a1 1 0 110-2h1a3 3 0 003-3V3a1 1 0 011.707-.707z"
17
+ }, null, -1);
18
+ function f(e, u, v, $, C, H) {
19
+ const o = t("cdr-icon");
20
+ return n(), a(o, s(c(e.props)), {
21
+ default: p(() => [d(e.$slots, "default"), _]),
22
+ _: 3
23
+ }, 16);
24
+ }
25
+ const z = /* @__PURE__ */ m(h, [["render", f]]);
26
+ export {
27
+ z as default
28
+ };
@@ -0,0 +1,28 @@
1
+ import { defineComponent as t, resolveComponent as r, openBlock as n, createBlock as p, normalizeProps as c, guardReactiveProps as s, withCtx as a, renderSlot as l, createElementVNode as i } from "vue";
2
+ import d from "../CdrIcon.vue.mjs";
3
+ import m from "../../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const _ = t({
5
+ name: "XFill",
6
+ components: {
7
+ CdrIcon: d
8
+ },
9
+ props: {
10
+ props: {
11
+ type: Object
12
+ }
13
+ }
14
+ }), f = /* @__PURE__ */ i("path", {
15
+ role: "presentation",
16
+ d: "M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zM7.293 7.296a1 1 0 000 1.414l3.285 3.295-3.285 3.288a1 1 0 001.414 1.415l3.285-3.289 3.297 3.289a1 1 0 001.414-1.415l-3.297-3.287 3.297-3.296a1 1 0 10-1.414-1.414l-3.297 3.295-3.285-3.295a1 1 0 00-1.414 0z"
17
+ }, null, -1);
18
+ function u(o, $, h, C, x, z) {
19
+ const e = r("cdr-icon");
20
+ return n(), p(e, c(s(o.props)), {
21
+ default: a(() => [l(o.$slots, "default"), f]),
22
+ _: 3
23
+ }, 16);
24
+ }
25
+ const F = /* @__PURE__ */ m(_, [["render", u]]);
26
+ export {
27
+ F as default
28
+ };
@@ -0,0 +1,28 @@
1
+ import { defineComponent as t, resolveComponent as n, openBlock as r, createBlock as p, normalizeProps as c, guardReactiveProps as s, withCtx as a, renderSlot as l, createElementVNode as d } from "vue";
2
+ import i from "../CdrIcon.vue.mjs";
3
+ import m from "../../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const _ = t({
5
+ name: "XLg",
6
+ components: {
7
+ CdrIcon: i
8
+ },
9
+ props: {
10
+ props: {
11
+ type: Object
12
+ }
13
+ }
14
+ }), f = /* @__PURE__ */ d("path", {
15
+ role: "presentation",
16
+ d: "M13.415 12.006l5.295-5.292a1 1 0 00-1.414-1.415L12 10.591 6.71 5.296A1 1 0 005.295 6.71l5.292 5.295-5.295 5.292a1 1 0 101.414 1.414l5.295-5.292 5.292 5.295a1 1 0 001.414-1.414l-5.292-5.294z"
17
+ }, null, -1);
18
+ function u(o, $, h, C, g, L) {
19
+ const e = n("cdr-icon");
20
+ return r(), p(e, c(s(o.props)), {
21
+ default: a(() => [l(o.$slots, "default"), f]),
22
+ _: 3
23
+ }, 16);
24
+ }
25
+ const z = /* @__PURE__ */ m(_, [["render", u]]);
26
+ export {
27
+ z as default
28
+ };
@@ -0,0 +1,28 @@
1
+ import { defineComponent as t, resolveComponent as n, openBlock as r, createBlock as p, normalizeProps as c, guardReactiveProps as s, withCtx as a, renderSlot as l, createElementVNode as m } from "vue";
2
+ import d from "../CdrIcon.vue.mjs";
3
+ import i from "../../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const _ = t({
5
+ name: "XSm",
6
+ components: {
7
+ CdrIcon: d
8
+ },
9
+ props: {
10
+ props: {
11
+ type: Object
12
+ }
13
+ }
14
+ }), f = /* @__PURE__ */ m("path", {
15
+ role: "presentation",
16
+ d: "M13.406 12.006l3.297-3.296a1 1 0 10-1.414-1.414l-3.297 3.295-3.285-3.295A1 1 0 107.293 8.71l3.285 3.295-3.285 3.288a1 1 0 001.414 1.415l3.285-3.289 3.297 3.289a1 1 0 001.414-1.415l-3.297-3.287z"
17
+ }, null, -1);
18
+ function u(o, $, h, C, S, k) {
19
+ const e = n("cdr-icon");
20
+ return r(), p(e, c(s(o.props)), {
21
+ default: a(() => [l(o.$slots, "default"), f]),
22
+ _: 3
23
+ }, 16);
24
+ }
25
+ const B = /* @__PURE__ */ i(_, [["render", u]]);
26
+ export {
27
+ B as default
28
+ };
@@ -0,0 +1,28 @@
1
+ import { defineComponent as t, resolveComponent as r, openBlock as n, createBlock as p, normalizeProps as s, guardReactiveProps as c, withCtx as a, renderSlot as l, createElementVNode as m } from "vue";
2
+ import d from "../CdrIcon.vue.mjs";
3
+ import i from "../../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const _ = t({
5
+ name: "XStroke",
6
+ components: {
7
+ CdrIcon: d
8
+ },
9
+ props: {
10
+ props: {
11
+ type: Object
12
+ }
13
+ }
14
+ }), f = /* @__PURE__ */ m("path", {
15
+ role: "presentation",
16
+ d: "M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 100-16 8 8 0 000 16zm1.406-7.998l3.297-3.295a1 1 0 10-1.414-1.414l-3.297 3.295-3.285-3.295a1 1 0 00-1.414 1.414l3.285 3.294-3.285 3.289a1 1 0 001.414 1.414l3.285-3.288 3.297 3.288a1 1 0 001.414-1.414l-3.297-3.288z"
17
+ }, null, -1);
18
+ function u(o, C, $, h, k, z) {
19
+ const e = r("cdr-icon");
20
+ return n(), p(e, s(c(o.props)), {
21
+ default: a(() => [l(o.$slots, "default"), f]),
22
+ _: 3
23
+ }, 16);
24
+ }
25
+ const B = /* @__PURE__ */ i(_, [["render", u]]);
26
+ export {
27
+ B as default
28
+ };
@@ -0,0 +1,28 @@
1
+ import { defineComponent as t, resolveComponent as r, openBlock as n, createBlock as c, normalizeProps as p, guardReactiveProps as s, withCtx as a, renderSlot as d, createElementVNode as l } from "vue";
2
+ import i from "../CdrIcon.vue.mjs";
3
+ import m from "../../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const u = t({
5
+ name: "Youtube",
6
+ components: {
7
+ CdrIcon: i
8
+ },
9
+ props: {
10
+ props: {
11
+ type: Object
12
+ }
13
+ }
14
+ }), _ = /* @__PURE__ */ l("path", {
15
+ role: "presentation",
16
+ d: "M18.941 5.225s1.716.06 2.387 1.336c0 0 .67.925.67 5.439v.041c.004.352.018 2.86-.277 4.239-.318 1.485-1.02 1.92-1.02 1.92s-.45.433-1.443.551c-.993.119-4.213.249-7.273.249 0 0-5.603-.003-7.49-.313-1.82-.298-2.13-1.936-2.15-2.052l-.01-.06c-.084-.514-.715-4.683.008-9.198 0 0 .224-1.926 2.479-2.152 0 0 2.318-.213 6.795-.225h.368c4.717 0 6.956.225 6.956.225zM9.925 9.143v5.495l5.469-2.747-5.469-2.748z"
17
+ }, null, -1);
18
+ function f(o, h, $, v, C, b) {
19
+ const e = r("cdr-icon");
20
+ return n(), c(e, p(s(o.props)), {
21
+ default: a(() => [d(o.$slots, "default"), _]),
22
+ _: 3
23
+ }, 16);
24
+ }
25
+ const y = /* @__PURE__ */ m(u, [["render", f]]);
26
+ export {
27
+ y as default
28
+ };
@@ -0,0 +1,28 @@
1
+ import { defineComponent as t, resolveComponent as n, openBlock as r, createBlock as p, normalizeProps as a, guardReactiveProps as c, withCtx as s, renderSlot as m, createElementVNode as d } from "vue";
2
+ import l from "../CdrIcon.vue.mjs";
3
+ import i from "../../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const _ = t({
5
+ name: "ZoomIn",
6
+ components: {
7
+ CdrIcon: l
8
+ },
9
+ props: {
10
+ props: {
11
+ type: Object
12
+ }
13
+ }
14
+ }), f = /* @__PURE__ */ d("path", {
15
+ role: "presentation",
16
+ d: "M10.5 3a7.5 7.5 0 015.963 12.05l4.247 4.242a1 1 0 01-1.415 1.414l-4.246-4.243A7.5 7.5 0 1110.5 3zm0 2a5.5 5.5 0 100 11 5.5 5.5 0 000-11zm0 1.5a.75.75 0 01.75.75v2.5h2.5a.75.75 0 110 1.5h-2.5v2.5a.75.75 0 11-1.5 0v-2.5h-2.5a.75.75 0 110-1.5h2.5v-2.5a.75.75 0 01.75-.75z"
17
+ }, null, -1);
18
+ function h(o, u, v, z, $, C) {
19
+ const e = n("cdr-icon");
20
+ return r(), p(e, a(c(o.props)), {
21
+ default: s(() => [m(o.$slots, "default"), f]),
22
+ _: 3
23
+ }, 16);
24
+ }
25
+ const B = /* @__PURE__ */ i(_, [["render", h]]);
26
+ export {
27
+ B as default
28
+ };
@@ -0,0 +1,28 @@
1
+ import { defineComponent as t, resolveComponent as r, openBlock as n, createBlock as p, normalizeProps as c, guardReactiveProps as s, withCtx as a, renderSlot as m, createElementVNode as d } from "vue";
2
+ import l from "../CdrIcon.vue.mjs";
3
+ import i from "../../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const _ = t({
5
+ name: "ZoomOut",
6
+ components: {
7
+ CdrIcon: l
8
+ },
9
+ props: {
10
+ props: {
11
+ type: Object
12
+ }
13
+ }
14
+ }), f = /* @__PURE__ */ d("path", {
15
+ role: "presentation",
16
+ d: "M20.706 19.296a1 1 0 01-1.414 1.414l-4.243-4.247a7.5 7.5 0 111.414-1.414l4.243 4.247zM10.5 16a5.5 5.5 0 100-11 5.5 5.5 0 000 11zM7.25 9.75h6.5a.75.75 0 110 1.5h-6.5a.75.75 0 110-1.5z"
17
+ }, null, -1);
18
+ function u(o, h, z, $, C, M) {
19
+ const e = r("cdr-icon");
20
+ return n(), p(e, c(s(o.props)), {
21
+ default: a(() => [m(o.$slots, "default"), f]),
22
+ _: 3
23
+ }, 16);
24
+ }
25
+ const x = /* @__PURE__ */ i(_, [["render", u]]);
26
+ export {
27
+ x as default
28
+ };
@@ -0,0 +1,17 @@
1
+ const c = {
2
+ "cdr-icon": "cdr-icon_13-5-0-alpha-0",
3
+ "cdr-icon--small": "cdr-icon--small_13-5-0-alpha-0",
4
+ "cdr-icon--large": "cdr-icon--large_13-5-0-alpha-0",
5
+ "cdr-icon--small@xs": "cdr-icon--small@xs_13-5-0-alpha-0",
6
+ "cdr-icon--large@xs": "cdr-icon--large@xs_13-5-0-alpha-0",
7
+ "cdr-icon--small@sm": "cdr-icon--small@sm_13-5-0-alpha-0",
8
+ "cdr-icon--large@sm": "cdr-icon--large@sm_13-5-0-alpha-0",
9
+ "cdr-icon--small@md": "cdr-icon--small@md_13-5-0-alpha-0",
10
+ "cdr-icon--large@md": "cdr-icon--large@md_13-5-0-alpha-0",
11
+ "cdr-icon--small@lg": "cdr-icon--small@lg_13-5-0-alpha-0",
12
+ "cdr-icon--large@lg": "cdr-icon--large@lg_13-5-0-alpha-0",
13
+ "cdr-icon--inherit-color": "cdr-icon--inherit-color_13-5-0-alpha-0"
14
+ };
15
+ export {
16
+ c as default
17
+ };
@@ -0,0 +1,114 @@
1
+ import { defineComponent as g, computed as e, useCssModule as v, openBlock as n, createElementBlock as c, normalizeStyle as $, normalizeClass as b, createElementVNode as S, mergeProps as d } from "vue";
2
+ import O from "../../utils/mapClasses.mjs";
3
+ import j from "../../utils/propValidator.mjs";
4
+ import h from "./styles/CdrImg.module.scss.mjs";
5
+ import k from "../../../_virtual/_plugin-vue_export-helper.mjs";
6
+ const P = g({
7
+ name: "CdrImg",
8
+ inheritAttrs: !1,
9
+ props: {
10
+ /**
11
+ * Required. Image source url.
12
+ */
13
+ src: {
14
+ type: String,
15
+ required: !0
16
+ },
17
+ /**
18
+ * Required. Image alt text.
19
+ */
20
+ alt: {
21
+ type: String,
22
+ default: ""
23
+ },
24
+ /**
25
+ * Aspect ratio of the media container. {auto, square, 1-2, 2-3, 3-4, 9-16, 2-1, 3-2, 4-3, 16-9}
26
+ */
27
+ ratio: {
28
+ type: String,
29
+ validator: (s) => ["auto", "square", "1-2", "2-3", "3-4", "9-16", "2-1", "3-2", "4-3", "16-9"].indexOf(s) >= 0 || !1
30
+ },
31
+ /**
32
+ * Requires a `ratio`. Area to crop the image overflow to. {left, center, right} {top, center, bottom}
33
+ */
34
+ crop: {
35
+ type: String
36
+ },
37
+ /**
38
+ * Requires a `ratio`. Scale the image to be as large as possible to fill the area (background-position: cover;)
39
+ */
40
+ cover: {
41
+ type: Boolean
42
+ },
43
+ /**
44
+ * Adds a custom class to the cdr-img__ratio container div
45
+ */
46
+ containerClass: String,
47
+ /**
48
+ * Sets a border radius to an element {square, top, right, bottom, left}
49
+ */
50
+ radius: {
51
+ type: String,
52
+ validator: (s) => ["circle", "rounded"].indexOf(s) >= 0 || !1
53
+ },
54
+ modifier: {
55
+ type: String,
56
+ default: "",
57
+ validator: (s) => j(s, ["", "responsive"])
58
+ }
59
+ },
60
+ setup(s) {
61
+ const r = "cdr-image", t = "cdr-image-ratio", a = "cdr-image-ratio__cover", i = e(() => s.modifier && `${r}--${s.modifier}`), l = e(() => s.radius && `${r}--${s.radius}`), m = e(() => ({
62
+ objectPosition: s.crop
63
+ })), u = e(() => {
64
+ let o;
65
+ if (s.ratio === "square")
66
+ o = "100%";
67
+ else if (s.ratio === "auto")
68
+ o = "0";
69
+ else {
70
+ const [p, y] = s.ratio.split("-");
71
+ o = `${y / p * 100}%`;
72
+ }
73
+ return {
74
+ "--ratio": o
75
+ };
76
+ }), C = e(() => s.crop && `${a}--crop`), f = e(() => s.cover && `${a}--cover`);
77
+ return {
78
+ style: v(),
79
+ mapClasses: O,
80
+ baseClass: r,
81
+ ratioClass: t,
82
+ coverWrapperClass: a,
83
+ modifierClass: i,
84
+ radiusClass: l,
85
+ cropObject: m,
86
+ ratioObject: u,
87
+ cropClass: C,
88
+ coverClass: f
89
+ };
90
+ }
91
+ }), q = ["src", "alt"], B = ["src", "alt"];
92
+ function M(s, r, t, a, i, l) {
93
+ return s.ratio ? (n(), c("div", {
94
+ key: 0,
95
+ style: $(s.ratioObject),
96
+ class: b([s.style[s.ratioClass], s.containerClass])
97
+ }, [S("img", d({
98
+ style: s.cropObject,
99
+ class: s.mapClasses(s.style, s.baseClass, s.modifierClass, s.radiusClass, s.coverWrapperClass, s.cropClass, s.coverClass),
100
+ src: s.src,
101
+ alt: s.alt
102
+ }, s.$attrs), null, 16, q)], 6)) : (n(), c("img", d({
103
+ key: 1,
104
+ class: s.mapClasses(s.style, s.baseClass, s.modifierClass, s.radiusClass),
105
+ src: s.src,
106
+ alt: s.alt
107
+ }, s.$attrs), null, 16, B));
108
+ }
109
+ const z = {
110
+ $style: h
111
+ }, V = /* @__PURE__ */ k(P, [["render", M], ["__cssModules", z]]);
112
+ export {
113
+ V as default
114
+ };
@@ -0,0 +1,13 @@
1
+ const a = {
2
+ "cdr-image": "cdr-image_13-5-0-alpha-0",
3
+ "cdr-image--responsive": "cdr-image--responsive_13-5-0-alpha-0",
4
+ "cdr-image--rounded": "cdr-image--rounded_13-5-0-alpha-0",
5
+ "cdr-image--circle": "cdr-image--circle_13-5-0-alpha-0",
6
+ "cdr-image-ratio": "cdr-image-ratio_13-5-0-alpha-0",
7
+ "cdr-image-ratio__cover": "cdr-image-ratio__cover_13-5-0-alpha-0",
8
+ "cdr-image-ratio__cover--crop": "cdr-image-ratio__cover--crop_13-5-0-alpha-0",
9
+ "cdr-image-ratio__cover--cover": "cdr-image-ratio__cover--cover_13-5-0-alpha-0"
10
+ };
11
+ export {
12
+ a as default
13
+ };
@@ -0,0 +1,219 @@
1
+ import { defineComponent as E, ref as L, computed as s, useCssModule as U, resolveComponent as I, openBlock as i, createBlock as c, normalizeClass as u, createSlots as D, withCtx as l, createElementVNode as $, withDirectives as g, createElementBlock as m, mergeProps as k, vModelText as R, vModelDynamic as j, renderSlot as a, createCommentVNode as C } from "vue";
2
+ import O from "../../utils/propValidator.mjs";
3
+ import G from "../labelStandalone/CdrLabelStandalone.vue.mjs";
4
+ import J from "../formError/CdrFormError.vue.mjs";
5
+ import K from "../../props/size.mjs";
6
+ import Q from "../../props/background.mjs";
7
+ import W from "../../utils/mapClasses.mjs";
8
+ import X from "../../utils/uid.mjs";
9
+ import Y from "./styles/CdrInput.module.scss.mjs";
10
+ import Z from "../../../_virtual/_plugin-vue_export-helper.mjs";
11
+ const _ = E({
12
+ name: "CdrInput",
13
+ components: {
14
+ CdrLabelStandalone: G,
15
+ CdrFormError: J
16
+ },
17
+ inheritAttrs: !1,
18
+ customOptions: {},
19
+ props: {
20
+ /**
21
+ * `id` for the input that is mapped to the label `for` attribute.
22
+ */
23
+ id: {
24
+ type: String
25
+ },
26
+ /**
27
+ * 'type' attribute for the input as defined by w3c.
28
+ * Only supporting text|email|number|password|search|url.
29
+ * The increment/decrement webkit psuedo element is hidden for number.
30
+ */
31
+ type: {
32
+ type: [String],
33
+ default: "text",
34
+ validator: (e) => O(e, ["text", "email", "number", "password", "search", "url", "tel", "date"])
35
+ },
36
+ /**
37
+ * Label text. This is required for a11y even if hiding the label with `hideLabel`.
38
+ */
39
+ label: {
40
+ type: String,
41
+ required: !0
42
+ },
43
+ // sets default attrs for inputs that should use a numeric keyboard but are not strictly "numbers" (security code, CC number, postal code)
44
+ numeric: {
45
+ type: Boolean,
46
+ default: !1
47
+ },
48
+ /**
49
+ * Removes the label element but sets the input `aria-label` to `label` text for a11y.
50
+ */
51
+ hideLabel: Boolean,
52
+ /**
53
+ * Number of rows for input. Converts component to text-area if rows greater than 1.
54
+ */
55
+ rows: Number,
56
+ // Set which background type the input renders on
57
+ background: Q,
58
+ size: K,
59
+ /**
60
+ * Override the error message role, default is `status`.
61
+ */
62
+ errorRole: {
63
+ type: String,
64
+ required: !1,
65
+ default: "status"
66
+ },
67
+ // Set error styling
68
+ error: {
69
+ type: [Boolean, String],
70
+ default: !1
71
+ },
72
+ disabled: Boolean,
73
+ required: Boolean,
74
+ optional: Boolean,
75
+ modelValue: {
76
+ type: [String, Number, Function]
77
+ },
78
+ // Adds a custom class to the cdr-lable-standalone wrapping div
79
+ labelClass: String
80
+ },
81
+ emits: ["update:modelValue"],
82
+ setup(e, r) {
83
+ const f = "cdr-input", b = L(!1), y = r.slots["helper-text-top"], h = r.slots["helper-text-bottom"], p = r.slots["pre-icon"], t = r.slots["post-icon"], o = t && r.slots["post-icon"]().length > 1, q = r.slots.info, v = r.slots["info-action"], d = e.id ? e.id : X(), B = s(() => e.rows > 1 && "cdr-input--multiline"), w = s(() => p && "cdr-input--preicon"), M = s(() => t && "cdr-input--posticon"), S = s(() => o && "cdr-input--posticons"), z = s(() => e.error && "cdr-input--error"), F = s(() => `cdr-input--${e.background}`), P = s(() => e.size && `${f}--${e.size}`), V = s(() => b.value && "cdr-input--focus"), A = s(() => {
84
+ const n = [r.slots["helper-text-top"] ? `${d}-helper-text-top` : "", r.slots["helper-text-bottom"] ? `${d}-helper-text-bottom` : "", r.attrs["aria-describedby"]].filter((T) => T).join(" ");
85
+ return e.error ? `${d}-error` : n;
86
+ }), N = s(() => {
87
+ const n = e.numeric || e.type === "number";
88
+ return {
89
+ id: d,
90
+ autocorrect: "off",
91
+ spellcheck: "false",
92
+ autocapitalize: "off",
93
+ pattern: n && "[0-9]*" || null,
94
+ inputmode: n && "numeric" || null,
95
+ novalidate: n || null,
96
+ ...r.attrs
97
+ };
98
+ }), H = s({
99
+ get() {
100
+ return e.modelValue;
101
+ },
102
+ set(n) {
103
+ r.emit("update:modelValue", n);
104
+ }
105
+ });
106
+ return {
107
+ style: U(),
108
+ baseClass: f,
109
+ isFocused: b,
110
+ hasHelperTop: y,
111
+ hasHelperBottom: h,
112
+ hasPreIcon: p,
113
+ hasPostIcon: t,
114
+ hasInfo: q,
115
+ hasInfoAction: v,
116
+ uniqueId: d,
117
+ multilineClass: B,
118
+ preIconClass: w,
119
+ postIconClass: M,
120
+ postIconsClass: S,
121
+ errorClass: z,
122
+ backgroundClass: F,
123
+ sizeClass: P,
124
+ focusedClass: V,
125
+ describedby: A,
126
+ inputAttrs: N,
127
+ inputModel: H,
128
+ mapClasses: W
129
+ };
130
+ }
131
+ }), x = ["rows", "id", "disabled", "aria-required", "aria-invalid", "aria-errormessage", "aria-describedby"], ee = ["type", "id", "disabled", "aria-required", "aria-invalid", "aria-errormessage", "aria-describedby"], re = ["id"];
132
+ function se(e, r, f, b, y, h) {
133
+ const p = I("cdr-form-error"), t = I("cdr-label-standalone");
134
+ return i(), c(t, {
135
+ "for-id": e.uniqueId,
136
+ label: e.label,
137
+ "hide-label": e.hideLabel,
138
+ required: e.required,
139
+ optional: e.optional,
140
+ disabled: e.disabled,
141
+ class: u(e.labelClass)
142
+ }, D({
143
+ default: l(() => [$("div", {
144
+ class: u(e.mapClasses(e.style, "cdr-input-wrap", e.focusedClass))
145
+ }, [e.rows && e.rows > 1 ? g((i(), m("textarea", k({
146
+ key: 0,
147
+ rows: e.rows,
148
+ class: e.mapClasses(e.style, e.baseClass, e.multilineClass, e.preIconClass, e.postIconClass, e.postIconsClass, e.errorClass, e.backgroundClass, e.sizeClass),
149
+ id: e.uniqueId,
150
+ disabled: e.disabled,
151
+ "aria-required": e.required || null,
152
+ "aria-invalid": !!e.error || null,
153
+ "aria-errormessage": !!e.error && `${e.uniqueId}-error` || null
154
+ }, e.inputAttrs, {
155
+ "aria-describedby": e.describedby || null,
156
+ onFocus: r[0] || (r[0] = (o) => e.isFocused = !0),
157
+ onBlur: r[1] || (r[1] = (o) => e.isFocused = !1),
158
+ "onUpdate:modelValue": r[2] || (r[2] = (o) => e.inputModel = o)
159
+ }), null, 16, x)), [[R, e.inputModel]]) : g((i(), m("input", k({
160
+ key: 1,
161
+ type: e.type,
162
+ class: e.mapClasses(e.style, e.baseClass, e.preIconClass, e.postIconClass, e.postIconsClass, e.errorClass, e.backgroundClass, e.sizeClass),
163
+ id: e.uniqueId,
164
+ disabled: e.disabled,
165
+ "aria-required": e.required || null,
166
+ "aria-invalid": !!e.error || null,
167
+ "aria-errormessage": !!e.error && `${e.uniqueId}-error` || null
168
+ }, e.inputAttrs, {
169
+ "aria-describedby": e.describedby || null,
170
+ onFocus: r[3] || (r[3] = (o) => e.isFocused = !0),
171
+ onBlur: r[4] || (r[4] = (o) => e.isFocused = !1),
172
+ "onUpdate:modelValue": r[5] || (r[5] = (o) => e.inputModel = o)
173
+ }), null, 16, ee)), [[j, e.inputModel]]), e.hasPreIcon ? (i(), m("span", {
174
+ key: 2,
175
+ class: u(e.style["cdr-input__pre-icon"])
176
+ }, [a(e.$slots, "pre-icon")], 2)) : C("", !0), e.hasPostIcon ? (i(), m("span", {
177
+ key: 3,
178
+ class: u(e.style["cdr-input__post-icon"])
179
+ }, [a(e.$slots, "post-icon")], 2)) : C("", !0)], 2)]),
180
+ _: 2
181
+ }, [e.hasHelperTop ? {
182
+ name: "helper",
183
+ fn: l(() => [a(e.$slots, "helper-text-top")]),
184
+ key: "0"
185
+ } : void 0, e.hasInfo ? {
186
+ name: "info",
187
+ fn: l(() => [a(e.$slots, "info")]),
188
+ key: "1"
189
+ } : void 0, e.hasInfoAction ? {
190
+ name: "info-action",
191
+ fn: l(() => [a(e.$slots, "info-action")]),
192
+ key: "2"
193
+ } : void 0, e.hasHelperBottom && !e.error ? {
194
+ name: "helper-text-bottom",
195
+ fn: l(() => [$("span", {
196
+ id: `${e.uniqueId}-helper-text-bottom`,
197
+ class: u(e.style["cdr-input__helper-text"])
198
+ }, [a(e.$slots, "helper-text-bottom")], 10, re)]),
199
+ key: "3"
200
+ } : void 0, e.error ? {
201
+ name: "error",
202
+ fn: l(() => [e.error ? (i(), c(p, {
203
+ key: 0,
204
+ error: e.error,
205
+ role: e.errorRole,
206
+ id: `${e.uniqueId}-error`
207
+ }, {
208
+ error: l(() => [a(e.$slots, "error")]),
209
+ _: 3
210
+ }, 8, ["error", "role", "id"])) : C("", !0)]),
211
+ key: "4"
212
+ } : void 0]), 1032, ["for-id", "label", "hide-label", "required", "optional", "disabled", "class"]);
213
+ }
214
+ const oe = {
215
+ $style: Y
216
+ }, be = /* @__PURE__ */ Z(_, [["render", se], ["__cssModules", oe]]);
217
+ export {
218
+ be as default
219
+ };