@rei/cedar 13.4.0-alpha.1 → 13.5.0-alpha.1

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 +26 -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 +7 -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,6 @@
1
+ const a = {
2
+ "cdr-card": "cdr-card_13-5-0-alpha-1"
3
+ };
4
+ export {
5
+ a as default
6
+ };
@@ -0,0 +1,123 @@
1
+ import { defineComponent as u, computed as d, useCssModule as m, resolveComponent as c, resolveDirective as p, openBlock as b, createBlock as f, normalizeClass as y, withCtx as a, withDirectives as C, createElementVNode as v, mergeProps as g, vModelCheckbox as k, renderSlot as S } from "vue";
2
+ import V from "../labelWrapper/CdrLabelWrapper.vue.mjs";
3
+ import h from "../../props/size.mjs";
4
+ import $ from "../../utils/propValidator.mjs";
5
+ import A from "../../props/background.mjs";
6
+ import B from "./styles/CdrCheckbox.module.scss.mjs";
7
+ import M from "../../../_virtual/_plugin-vue_export-helper.mjs";
8
+ const z = u({
9
+ name: "CdrCheckbox",
10
+ components: {
11
+ CdrLabelWrapper: V
12
+ },
13
+ directives: {
14
+ indeterminate: {
15
+ mounted(e, t) {
16
+ if (t.value) {
17
+ e.setAttribute("indeterminate", t.value);
18
+ return;
19
+ }
20
+ e.removeAttribute("indeterminate");
21
+ }
22
+ }
23
+ },
24
+ inheritAttrs: !1,
25
+ customOptions: {},
26
+ props: {
27
+ /**
28
+ * Class that is added to the label for custom styles
29
+ */
30
+ labelClass: String,
31
+ /**
32
+ * Class that is added to the input for custom styles
33
+ */
34
+ inputClass: String,
35
+ /**
36
+ * Class that is added to the slot wrapper for custom styles
37
+ */
38
+ contentClass: String,
39
+ /**
40
+ * Show checkbox in indeterminate state. (NOTE: this is a visual-only state and there is no logic for when to show it)
41
+ */
42
+ indeterminate: {
43
+ type: [Boolean, String],
44
+ default: !1
45
+ },
46
+ /**
47
+ * The value when checked.
48
+ */
49
+ trueValue: {
50
+ type: [String, Number, Boolean, Object, Array, Symbol, Function],
51
+ default: !0
52
+ },
53
+ /**
54
+ * The value when unchecked.
55
+ */
56
+ falseValue: {
57
+ type: [String, Number, Boolean, Object, Array, Symbol, Function],
58
+ default: !1
59
+ },
60
+ /**
61
+ * The value when used in a checkbox group. Replaces `trueValue` and `falseValue`.
62
+ */
63
+ customValue: [String, Number, Boolean, Object, Array, Symbol, Function],
64
+ // Set which background type the input renders on
65
+ background: A,
66
+ size: h,
67
+ modifier: {
68
+ type: String,
69
+ default: "",
70
+ validator: (e) => $(e, ["", "hide-figure"])
71
+ },
72
+ /** @ignore */
73
+ modelValue: {
74
+ type: [String, Number, Boolean, Object, Array, Symbol, Function]
75
+ }
76
+ },
77
+ emits: ["update:modelValue"],
78
+ setup(e, t) {
79
+ const o = "cdr-checkbox", r = d({
80
+ get() {
81
+ return e.modelValue;
82
+ },
83
+ set(l) {
84
+ t.emit("update:modelValue", l);
85
+ }
86
+ });
87
+ return {
88
+ style: m(),
89
+ baseClass: o,
90
+ checkboxModel: r
91
+ };
92
+ }
93
+ }), N = ["true-value", "false-value", "value"];
94
+ function O(e, t, o, r, l, w) {
95
+ const s = c("cdr-label-wrapper"), n = p("indeterminate");
96
+ return b(), f(s, {
97
+ class: y(e.style[e.baseClass]),
98
+ size: e.size,
99
+ modifier: e.modifier,
100
+ "label-class": e.labelClass,
101
+ "content-class": e.contentClass,
102
+ background: e.background,
103
+ disabled: e.$attrs.disabled
104
+ }, {
105
+ input: a(() => [C(v("input", g({
106
+ class: [e.style["cdr-checkbox__input"], e.inputClass],
107
+ type: "checkbox"
108
+ }, e.$attrs, {
109
+ "true-value": e.customValue ? null : e.trueValue,
110
+ "false-value": e.customValue ? null : e.falseValue,
111
+ value: e.customValue,
112
+ "onUpdate:modelValue": t[0] || (t[0] = (i) => e.checkboxModel = i)
113
+ }), null, 16, N), [[n, e.indeterminate], [k, e.checkboxModel]])]),
114
+ default: a(() => [S(e.$slots, "default")]),
115
+ _: 3
116
+ }, 8, ["class", "size", "modifier", "label-class", "content-class", "background", "disabled"]);
117
+ }
118
+ const j = {
119
+ $style: B
120
+ }, q = /* @__PURE__ */ M(z, [["render", O], ["__cssModules", j]]);
121
+ export {
122
+ q as default
123
+ };
@@ -0,0 +1,30 @@
1
+ const a = {
2
+ "cdr-label-wrapper": "cdr-label-wrapper_13-5-0-alpha-1",
3
+ "cdr-label-wrapper__container": "cdr-label-wrapper__container_13-5-0-alpha-1",
4
+ "cdr-label-wrapper--primary": "cdr-label-wrapper--primary_13-5-0-alpha-1",
5
+ "cdr-label-wrapper--secondary": "cdr-label-wrapper--secondary_13-5-0-alpha-1",
6
+ "cdr-label-wrapper--disabled": "cdr-label-wrapper--disabled_13-5-0-alpha-1",
7
+ "cdr-label-wrapper__figure": "cdr-label-wrapper__figure_13-5-0-alpha-1",
8
+ "cdr-label-wrapper__content": "cdr-label-wrapper__content_13-5-0-alpha-1",
9
+ "cdr-label-wrapper--hide-figure": "cdr-label-wrapper--hide-figure_13-5-0-alpha-1",
10
+ "cdr-label-wrapper--small": "cdr-label-wrapper--small_13-5-0-alpha-1",
11
+ "cdr-label-wrapper--medium": "cdr-label-wrapper--medium_13-5-0-alpha-1",
12
+ "cdr-label-wrapper--large": "cdr-label-wrapper--large_13-5-0-alpha-1",
13
+ "cdr-label-wrapper--small@xs": "cdr-label-wrapper--small@xs_13-5-0-alpha-1",
14
+ "cdr-label-wrapper--medium@xs": "cdr-label-wrapper--medium@xs_13-5-0-alpha-1",
15
+ "cdr-label-wrapper--large@xs": "cdr-label-wrapper--large@xs_13-5-0-alpha-1",
16
+ "cdr-label-wrapper--small@sm": "cdr-label-wrapper--small@sm_13-5-0-alpha-1",
17
+ "cdr-label-wrapper--medium@sm": "cdr-label-wrapper--medium@sm_13-5-0-alpha-1",
18
+ "cdr-label-wrapper--large@sm": "cdr-label-wrapper--large@sm_13-5-0-alpha-1",
19
+ "cdr-label-wrapper--small@md": "cdr-label-wrapper--small@md_13-5-0-alpha-1",
20
+ "cdr-label-wrapper--medium@md": "cdr-label-wrapper--medium@md_13-5-0-alpha-1",
21
+ "cdr-label-wrapper--large@md": "cdr-label-wrapper--large@md_13-5-0-alpha-1",
22
+ "cdr-label-wrapper--small@lg": "cdr-label-wrapper--small@lg_13-5-0-alpha-1",
23
+ "cdr-label-wrapper--medium@lg": "cdr-label-wrapper--medium@lg_13-5-0-alpha-1",
24
+ "cdr-label-wrapper--large@lg": "cdr-label-wrapper--large@lg_13-5-0-alpha-1",
25
+ "cdr-checkbox": "cdr-checkbox_13-5-0-alpha-1",
26
+ "cdr-checkbox__input": "cdr-checkbox__input_13-5-0-alpha-1"
27
+ };
28
+ export {
29
+ a as default
30
+ };
@@ -0,0 +1,31 @@
1
+ import { defineComponent as n, useCssModule as c, openBlock as o, createElementBlock as t, normalizeClass as e, renderSlot as r, createCommentVNode as l, createElementVNode as a } from "vue";
2
+ import i from "./styles/CdrChip.module.scss.mjs";
3
+ import p from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const d = n({
5
+ name: "CdrChip",
6
+ setup() {
7
+ return {
8
+ style: c(),
9
+ baseClass: "cdr-chip"
10
+ };
11
+ }
12
+ });
13
+ function m(s, f, h, C, $, y) {
14
+ return o(), t("button", {
15
+ class: e(s.style[s.baseClass])
16
+ }, [s.$slots["icon-left"] ? (o(), t("span", {
17
+ key: 0,
18
+ class: e(s.style["cdr-chip__icon-left"])
19
+ }, [r(s.$slots, "icon-left")], 2)) : l("", !0), s.$slots["icon-right"] ? (o(), t("span", {
20
+ key: 1,
21
+ class: e(s.style["cdr-chip__icon-right"])
22
+ }, [r(s.$slots, "icon-right")], 2)) : l("", !0), a("span", {
23
+ class: e(s.style["cdr-chip__content"])
24
+ }, [r(s.$slots, "default")], 2)], 2);
25
+ }
26
+ const u = {
27
+ $style: i
28
+ }, g = /* @__PURE__ */ p(d, [["render", m], ["__cssModules", u]]);
29
+ export {
30
+ g as default
31
+ };
@@ -0,0 +1,79 @@
1
+ import { defineComponent as g, ref as a, computed as u, onMounted as b, useCssModule as m, openBlock as C, createElementBlock as D, normalizeClass as d, createElementVNode as p, renderSlot as i, createTextVNode as w, toDisplayString as k } from "vue";
2
+ import A from "./styles/CdrChipGroup.module.scss.mjs";
3
+ import I from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const $ = g({
5
+ name: "CdrChipGroup",
6
+ props: {
7
+ label: {
8
+ type: String,
9
+ required: !0
10
+ },
11
+ hideLabel: {
12
+ type: Boolean,
13
+ default: !0
14
+ }
15
+ },
16
+ setup(l) {
17
+ const r = "cdr-chip-group", o = a(null), t = a([]), s = a(0), c = u(() => {
18
+ const e = s.value + 1;
19
+ return e >= t.value.length ? 0 : e;
20
+ }), n = u(() => {
21
+ const e = s.value - 1;
22
+ return e <= -1 ? t.value.length - 1 : e;
23
+ }), f = u(() => l.hideLabel ? "cdr-chip-group__legend--hidden" : "cdr-chip-group__legend");
24
+ b(() => {
25
+ t.value = Array.prototype.filter.call(o.value.children, (e) => !(e.getAttribute("disabled") === "" || e.getAttribute("aria-disabled"))), s.value = Array.prototype.findIndex.call(t, (e) => e.getAttribute("aria-checked") === "true");
26
+ });
27
+ const v = (e) => {
28
+ if (s.value === -1)
29
+ return;
30
+ const {
31
+ key: y
32
+ } = e;
33
+ switch (y) {
34
+ case "Home":
35
+ e.preventDefault(), t.value[0].focus();
36
+ break;
37
+ case "End":
38
+ e.preventDefault(), t.value[t.value.length - 1].focus();
39
+ break;
40
+ case "ArrowDown":
41
+ case "Down":
42
+ e.preventDefault(), t.value[c.value].focus();
43
+ break;
44
+ case "ArrowUp":
45
+ case "Up":
46
+ e.preventDefault(), t.value[n.value].focus();
47
+ break;
48
+ }
49
+ }, h = (e) => {
50
+ s.value = Array.prototype.indexOf.call(t.value, e.target);
51
+ };
52
+ return {
53
+ style: m(),
54
+ baseClass: r,
55
+ chipsEl: o,
56
+ legendClass: f,
57
+ handleKeyDown: v,
58
+ handleFocusIn: h
59
+ };
60
+ }
61
+ });
62
+ function E(l, r, o, t, s, c) {
63
+ return C(), D("fieldset", {
64
+ class: d(l.style[l.baseClass]),
65
+ onFocusin: r[0] || (r[0] = (...n) => l.handleFocusIn && l.handleFocusIn(...n)),
66
+ onKeydown: r[1] || (r[1] = (...n) => l.handleKeyDown && l.handleKeyDown(...n))
67
+ }, [p("legend", {
68
+ class: d(l.style[l.legendClass])
69
+ }, [i(l.$slots, "label", {}, () => [w(k(l.label), 1)])], 2), p("div", {
70
+ ref: "chipsEl",
71
+ class: d(l.style["cdr-chip-group__content"])
72
+ }, [i(l.$slots, "default")], 2)], 34);
73
+ }
74
+ const F = {
75
+ $style: A
76
+ }, S = /* @__PURE__ */ I($, [["render", E], ["__cssModules", F]]);
77
+ export {
78
+ S as default
79
+ };
@@ -0,0 +1,9 @@
1
+ const c = {
2
+ "cdr-chip": "cdr-chip_13-5-0-alpha-1",
3
+ "cdr-chip__icon-left": "cdr-chip__icon-left_13-5-0-alpha-1",
4
+ "cdr-chip__icon-right": "cdr-chip__icon-right_13-5-0-alpha-1",
5
+ "cdr-chip__content": "cdr-chip__content_13-5-0-alpha-1"
6
+ };
7
+ export {
8
+ c as default
9
+ };
@@ -0,0 +1,9 @@
1
+ const p = {
2
+ "cdr-chip-group": "cdr-chip-group_13-5-0-alpha-1",
3
+ "cdr-chip-group__content": "cdr-chip-group__content_13-5-0-alpha-1",
4
+ "cdr-chip-group__legend--hidden": "cdr-chip-group__legend--hidden_13-5-0-alpha-1",
5
+ "cdr-chip-group__legend": "cdr-chip-group__legend_13-5-0-alpha-1"
6
+ };
7
+ export {
8
+ p as default
9
+ };
@@ -0,0 +1,43 @@
1
+ import { defineComponent as t, computed as r, useCssModule as a, openBlock as i, createBlock as l, resolveDynamicComponent as n, normalizeClass as d, withCtx as m, renderSlot as p } from "vue";
2
+ import f from "../../utils/propValidator.mjs";
3
+ import c from "../../utils/mapClasses.mjs";
4
+ import u from "./styles/CdrContainer.module.scss.mjs";
5
+ import C from "../../../_virtual/_plugin-vue_export-helper.mjs";
6
+ const $ = t({
7
+ name: "CdrContainer",
8
+ props: {
9
+ /** Any valid HTML tag */
10
+ tag: {
11
+ type: String,
12
+ default: "div"
13
+ },
14
+ modifier: {
15
+ type: String,
16
+ default: "static",
17
+ validator: (s) => f(s, ["static", "fluid"], !1)
18
+ }
19
+ },
20
+ setup(s) {
21
+ const e = "cdr-container", o = r(() => `${e}--${s.modifier}`);
22
+ return {
23
+ style: a(),
24
+ baseClass: e,
25
+ modifierClass: o,
26
+ mapClasses: c
27
+ };
28
+ }
29
+ });
30
+ function y(s, e, o, g, v, M) {
31
+ return i(), l(n(s.tag), {
32
+ class: d(s.mapClasses(s.style, s.baseClass, s.modifierClass))
33
+ }, {
34
+ default: m(() => [p(s.$slots, "default")]),
35
+ _: 3
36
+ }, 8, ["class"]);
37
+ }
38
+ const _ = {
39
+ $style: u
40
+ }, w = /* @__PURE__ */ C($, [["render", y], ["__cssModules", _]]);
41
+ export {
42
+ w as default
43
+ };
@@ -0,0 +1,7 @@
1
+ const a = {
2
+ "cdr-container": "cdr-container_13-5-0-alpha-1",
3
+ "cdr-container--static": "cdr-container--static_13-5-0-alpha-1"
4
+ };
5
+ export {
6
+ a as default
7
+ };
@@ -0,0 +1,38 @@
1
+ import { defineComponent as n, useCssModule as t, resolveComponent as l, openBlock as a, createElementBlock as c, normalizeClass as o, createElementVNode as e, createVNode as m, renderSlot as i, toDisplayString as p } from "vue";
2
+ import d from "../icon/comps/error-stroke.vue.mjs";
3
+ import f from "./styles/CdrFormError.module.scss.mjs";
4
+ import u from "../../../_virtual/_plugin-vue_export-helper.mjs";
5
+ const C = n({
6
+ name: "CdrFormError",
7
+ components: {
8
+ IconErrorStroke: d
9
+ },
10
+ props: {
11
+ error: [Boolean, String]
12
+ },
13
+ setup() {
14
+ return {
15
+ style: t(),
16
+ baseClass: "cdr-form-error",
17
+ iconClass: "cdr-form-error__icon"
18
+ };
19
+ }
20
+ });
21
+ function _(r, $, k, E, S, B) {
22
+ const s = l("icon-error-stroke");
23
+ return a(), c("div", {
24
+ class: o(r.style[r.baseClass]),
25
+ role: "status"
26
+ }, [e("span", {
27
+ class: o(r.style[r.iconClass])
28
+ }, [m(s, {
29
+ size: "small",
30
+ "inherit-color": ""
31
+ })], 2), i(r.$slots, "error", {}, () => [e("span", null, p(r.error), 1)])], 2);
32
+ }
33
+ const y = {
34
+ $style: f
35
+ }, v = /* @__PURE__ */ u(C, [["render", _], ["__cssModules", y]]);
36
+ export {
37
+ v as default
38
+ };
@@ -0,0 +1,7 @@
1
+ const r = {
2
+ "cdr-form-error": "cdr-form-error_13-5-0-alpha-1",
3
+ "cdr-form-error__icon": "cdr-form-error__icon_13-5-0-alpha-1"
4
+ };
5
+ export {
6
+ r as default
7
+ };
@@ -0,0 +1,72 @@
1
+ import { defineComponent as f, computed as m, useCssModule as b, resolveComponent as c, openBlock as e, createElementBlock as o, normalizeClass as s, createElementVNode as u, renderSlot as a, createTextVNode as C, toDisplayString as y, createCommentVNode as l, createBlock as g, withCtx as $ } from "vue";
2
+ import q from "../../utils/mapClasses.mjs";
3
+ import B from "../formError/CdrFormError.vue.mjs";
4
+ import k from "../../utils/uid.mjs";
5
+ import S from "./styles/CdrFormGroup.module.scss.mjs";
6
+ import h from "../../../_virtual/_plugin-vue_export-helper.mjs";
7
+ const v = f({
8
+ name: "CdrFormGroup",
9
+ components: {
10
+ CdrFormError: B
11
+ },
12
+ props: {
13
+ id: {
14
+ type: String
15
+ },
16
+ label: {
17
+ type: String,
18
+ default: "",
19
+ required: !1
20
+ },
21
+ // Set error styling
22
+ error: {
23
+ type: [Boolean, String],
24
+ default: !1
25
+ },
26
+ required: Boolean,
27
+ optional: Boolean,
28
+ disabled: Boolean
29
+ },
30
+ setup(r) {
31
+ const d = r.id ? r.id : k(), i = "cdr-form-group", n = m(() => r.error && "cdr-form-group--error"), t = m(() => r.disabled && "cdr-form-group--disabled");
32
+ return {
33
+ style: b(),
34
+ uniqueId: d,
35
+ baseClass: i,
36
+ errorClass: n,
37
+ disabledClass: t,
38
+ mapClasses: q
39
+ };
40
+ }
41
+ }), I = ["disabled", "aria-invalid", "aria-errormessage", "aria-describedby"], E = {
42
+ key: 0,
43
+ "aria-label": "required"
44
+ };
45
+ function F(r, d, i, n, t, N) {
46
+ const p = c("cdr-form-error");
47
+ return e(), o("fieldset", {
48
+ class: s(r.mapClasses(r.style, r.baseClass, r.disabledClass)),
49
+ disabled: r.disabled,
50
+ "aria-invalid": !!r.error,
51
+ "aria-errormessage": !!r.error && `${r.uniqueId}-error`,
52
+ "aria-describedby": !!r.error && `${r.uniqueId}-error`
53
+ }, [u("legend", null, [a(r.$slots, "label", {}, () => [C(y(r.label), 1)]), r.required ? (e(), o("span", E, " *")) : l("", !0), r.optional && !r.required ? (e(), o("span", {
54
+ key: 1,
55
+ class: s(r.style["cdr-form-group__optional"])
56
+ }, " (optional)", 2)) : l("", !0)]), u("div", {
57
+ class: s(r.mapClasses(r.style, "cdr-form-group__wrapper", r.errorClass))
58
+ }, [a(r.$slots, "default")], 2), r.error ? (e(), g(p, {
59
+ key: 0,
60
+ error: r.error,
61
+ id: `${r.uniqueId}-error`
62
+ }, {
63
+ error: $(() => [a(r.$slots, "error")]),
64
+ _: 3
65
+ }, 8, ["error", "id"])) : l("", !0)], 10, I);
66
+ }
67
+ const M = {
68
+ $style: S
69
+ }, U = /* @__PURE__ */ h(v, [["render", F], ["__cssModules", M]]);
70
+ export {
71
+ U as default
72
+ };
@@ -0,0 +1,13 @@
1
+ const r = {
2
+ "cdr-form-error": "cdr-form-error_13-5-0-alpha-1",
3
+ "cdr-form-error__icon": "cdr-form-error__icon_13-5-0-alpha-1",
4
+ "cdr-form-group": "cdr-form-group_13-5-0-alpha-1",
5
+ "cdr-form-group--error": "cdr-form-group--error_13-5-0-alpha-1",
6
+ "cdr-form-group--disabled": "cdr-form-group--disabled_13-5-0-alpha-1",
7
+ "cdr-form-group__optional": "cdr-form-group__optional_13-5-0-alpha-1",
8
+ "cdr-form-group__required": "cdr-form-group__required_13-5-0-alpha-1",
9
+ "cdr-form-group__wrapper": "cdr-form-group__wrapper_13-5-0-alpha-1"
10
+ };
11
+ export {
12
+ r as default
13
+ };
@@ -0,0 +1,48 @@
1
+ import { defineComponent as r, computed as o, useCssModule as a, openBlock as l, createBlock as m, resolveDynamicComponent as n, normalizeClass as d, withCtx as i, renderSlot as u } from "vue";
2
+ import p from "../../utils/mapClasses.mjs";
3
+ import { responsiveModifyClass as f } from "../../utils/buildClass.mjs";
4
+ import c from "../../utils/propValidator.mjs";
5
+ import g from "./styles/CdrGrid.module.scss.mjs";
6
+ import C from "../../../_virtual/_plugin-vue_export-helper.mjs";
7
+ const y = r({
8
+ name: "CdrGrid",
9
+ props: {
10
+ /**
11
+ * Defines gutter size.
12
+ * Possible values: {none, small, medium, large}.
13
+ * Also accepts responsive values with `@breakpoint`: "none@md"
14
+ */
15
+ gutter: {
16
+ type: String,
17
+ validator: (e) => c(e, ["none", "small", "medium", "large"]),
18
+ default: "medium@xs medium@sm large@md large@lg"
19
+ },
20
+ tag: {
21
+ type: String,
22
+ default: "div"
23
+ }
24
+ },
25
+ setup(e) {
26
+ const s = "cdr-grid", t = o(() => e.gutter ? f(s, "gutter-", e.gutter) : null);
27
+ return {
28
+ style: a(),
29
+ baseClass: s,
30
+ gutterClass: t,
31
+ mapClasses: p
32
+ };
33
+ }
34
+ });
35
+ function $(e, s, t, _, M, S) {
36
+ return l(), m(n(e.tag), {
37
+ class: d(e.mapClasses(e.style, e.baseClass, e.gutterClass))
38
+ }, {
39
+ default: i(() => [u(e.$slots, "default")]),
40
+ _: 3
41
+ }, 8, ["class"]);
42
+ }
43
+ const v = {
44
+ $style: g
45
+ }, z = /* @__PURE__ */ C(y, [["render", $], ["__cssModules", v]]);
46
+ export {
47
+ z as default
48
+ };
@@ -0,0 +1,26 @@
1
+ const r = {
2
+ "cdr-grid": "cdr-grid_13-5-0-alpha-1",
3
+ "cdr-grid--gutter-none": "cdr-grid--gutter-none_13-5-0-alpha-1",
4
+ "cdr-grid--gutter-small": "cdr-grid--gutter-small_13-5-0-alpha-1",
5
+ "cdr-grid--gutter-medium": "cdr-grid--gutter-medium_13-5-0-alpha-1",
6
+ "cdr-grid--gutter-large": "cdr-grid--gutter-large_13-5-0-alpha-1",
7
+ "cdr-grid--gutter-none@xs": "cdr-grid--gutter-none@xs_13-5-0-alpha-1",
8
+ "cdr-grid--gutter-small@xs": "cdr-grid--gutter-small@xs_13-5-0-alpha-1",
9
+ "cdr-grid--gutter-medium@xs": "cdr-grid--gutter-medium@xs_13-5-0-alpha-1",
10
+ "cdr-grid--gutter-large@xs": "cdr-grid--gutter-large@xs_13-5-0-alpha-1",
11
+ "cdr-grid--gutter-none@sm": "cdr-grid--gutter-none@sm_13-5-0-alpha-1",
12
+ "cdr-grid--gutter-small@sm": "cdr-grid--gutter-small@sm_13-5-0-alpha-1",
13
+ "cdr-grid--gutter-medium@sm": "cdr-grid--gutter-medium@sm_13-5-0-alpha-1",
14
+ "cdr-grid--gutter-large@sm": "cdr-grid--gutter-large@sm_13-5-0-alpha-1",
15
+ "cdr-grid--gutter-none@md": "cdr-grid--gutter-none@md_13-5-0-alpha-1",
16
+ "cdr-grid--gutter-small@md": "cdr-grid--gutter-small@md_13-5-0-alpha-1",
17
+ "cdr-grid--gutter-medium@md": "cdr-grid--gutter-medium@md_13-5-0-alpha-1",
18
+ "cdr-grid--gutter-large@md": "cdr-grid--gutter-large@md_13-5-0-alpha-1",
19
+ "cdr-grid--gutter-none@lg": "cdr-grid--gutter-none@lg_13-5-0-alpha-1",
20
+ "cdr-grid--gutter-small@lg": "cdr-grid--gutter-small@lg_13-5-0-alpha-1",
21
+ "cdr-grid--gutter-medium@lg": "cdr-grid--gutter-medium@lg_13-5-0-alpha-1",
22
+ "cdr-grid--gutter-large@lg": "cdr-grid--gutter-large@lg_13-5-0-alpha-1"
23
+ };
24
+ export {
25
+ r as default
26
+ };
@@ -0,0 +1,57 @@
1
+ import { defineComponent as f, computed as i, useCssModule as c, openBlock as n, createElementBlock as m, mergeProps as d, renderSlot as p, normalizeProps as C, createCommentVNode as h } from "vue";
2
+ import y from "../../utils/mapClasses.mjs";
3
+ import { responsiveModifyClass as b } from "../../utils/buildClass.mjs";
4
+ import g from "../../utils/propValidator.mjs";
5
+ import $ from "./styles/CdrIcon.module.scss.mjs";
6
+ import v from "../../../_virtual/_plugin-vue_export-helper.mjs";
7
+ const z = f({
8
+ name: "CdrIcon",
9
+ props: {
10
+ /**
11
+ * The href attribute passed to the use element. Will be prefixed with # automatically
12
+ */
13
+ use: String,
14
+ /**
15
+ * Sets icon fill to "inherit" so as to use parent/ancestor fill color.
16
+ */
17
+ inheritColor: Boolean,
18
+ size: {
19
+ type: String,
20
+ default: "medium",
21
+ validator: (e) => g(e, ["small", "medium", "large"])
22
+ }
23
+ },
24
+ setup(e, r) {
25
+ const s = "cdr-icon", o = !r.attrs["aria-label"] && !r.attrs["aria-labelledby"], t = i(() => e.inheritColor && `${s}--inherit-color`), a = i(() => e.size && b(s, "", e.size)), l = {
26
+ xmlns: "http://www.w3.org/2000/svg",
27
+ viewBox: "0 0 24 24"
28
+ };
29
+ o && (l["aria-hidden"] = !0);
30
+ const u = {
31
+ href: e.use,
32
+ "xlink:href": e.use
33
+ };
34
+ return {
35
+ style: c(),
36
+ baseClass: s,
37
+ inheritColorClass: t,
38
+ sizeClass: a,
39
+ dataObj: l,
40
+ hrefAttrs: u,
41
+ mapClasses: y
42
+ };
43
+ }
44
+ });
45
+ function w(e, r, s, o, t, a) {
46
+ return n(), m("svg", d(e.dataObj, {
47
+ class: e.mapClasses(e.style, e.baseClass, e.sizeClass, e.inheritColorClass)
48
+ }), [p(e.$slots, "default"), e.use ? (n(), m("use", C(d({
49
+ key: 0
50
+ }, e.hrefAttrs)), null, 16)) : h("", !0)], 16);
51
+ }
52
+ const k = {
53
+ $style: $
54
+ }, I = /* @__PURE__ */ v(z, [["render", w], ["__cssModules", k]]);
55
+ export {
56
+ I as default
57
+ };
@@ -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 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 f = t({
5
+ name: "AccountProfileFill",
6
+ components: {
7
+ CdrIcon: d
8
+ },
9
+ props: {
10
+ props: {
11
+ type: Object
12
+ }
13
+ }
14
+ }), _ = /* @__PURE__ */ i("path", {
15
+ role: "presentation",
16
+ d: "M4 21a1 1 0 01-1-1h-.008a9.08 9.08 0 01.02-.159 9.08 9.08 0 015.454-7.127 5.5 5.5 0 117.068 0A9.08 9.08 0 0121.008 20H21a1 1 0 01-1 1H4z"
17
+ }, null, -1);
18
+ function u(o, h, $, C, P, k) {
19
+ const e = r("cdr-icon");
20
+ return n(), c(e, p(s(o.props)), {
21
+ default: a(() => [l(o.$slots, "default"), _]),
22
+ _: 3
23
+ }, 16);
24
+ }
25
+ const A = /* @__PURE__ */ m(f, [["render", u]]);
26
+ export {
27
+ A 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 i, createElementVNode as d } from "vue";
2
+ import l from "../CdrIcon.vue.mjs";
3
+ import m from "../../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const f = t({
5
+ name: "AccountProfile",
6
+ components: {
7
+ CdrIcon: l
8
+ },
9
+ props: {
10
+ props: {
11
+ type: Object
12
+ }
13
+ }
14
+ }), _ = /* @__PURE__ */ d("path", {
15
+ role: "presentation",
16
+ d: "M12 12a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm6.762 7a7.073 7.073 0 00-13.524 0h13.524zM4 21a1 1 0 01-1-1h-.008a9.08 9.08 0 01.02-.159 9.08 9.08 0 015.454-7.127 5.5 5.5 0 117.068 0A9.08 9.08 0 0121.008 20H21a1 1 0 01-1 1H4z"
17
+ }, null, -1);
18
+ function u(o, h, $, z, C, P) {
19
+ const e = r("cdr-icon");
20
+ return n(), c(e, p(a(o.props)), {
21
+ default: s(() => [i(o.$slots, "default"), _]),
22
+ _: 3
23
+ }, 16);
24
+ }
25
+ const A = /* @__PURE__ */ m(f, [["render", u]]);
26
+ export {
27
+ A as default
28
+ };