@rei/cedar 13.5.2 → 14.0.0-ts.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (550) hide show
  1. package/dist/cedar-compiled.css +1031 -1031
  2. package/dist/cedar.umd.js +2 -2
  3. package/dist/component-docgen.json +1369 -1325
  4. package/dist/icon-component-docgen.json +510 -510
  5. package/dist/src/components/accordion/CdrAccordion.vue.mjs +7 -165
  6. package/dist/src/components/accordion/CdrAccordion.vue2.mjs +136 -0
  7. package/dist/src/components/accordion/CdrAccordionGroup.vue.mjs +7 -80
  8. package/dist/src/components/accordion/CdrAccordionGroup.vue2.mjs +72 -0
  9. package/dist/src/components/accordion/styles/CdrAccordion.module.scss.mjs +29 -29
  10. package/dist/src/components/accordion/styles/CdrAccordionGroup.module.scss.mjs +2 -2
  11. package/dist/src/components/accordion/symbols.mjs +5 -0
  12. package/dist/src/components/banner/CdrBanner.vue.mjs +7 -59
  13. package/dist/src/components/banner/CdrBanner.vue2.mjs +45 -0
  14. package/dist/src/components/banner/styles/CdrBanner.module.scss.mjs +14 -14
  15. package/dist/src/components/breadcrumb/CdrBreadcrumb.vue.mjs +7 -113
  16. package/dist/src/components/breadcrumb/CdrBreadcrumb.vue2.mjs +103 -0
  17. package/dist/src/components/breadcrumb/styles/CdrBreadcrumb.module.scss.mjs +7 -7
  18. package/dist/src/components/button/CdrButton.vue.mjs +7 -102
  19. package/dist/src/components/button/CdrButton.vue2.mjs +85 -0
  20. package/dist/src/components/button/styles/CdrButton.module.scss.mjs +31 -31
  21. package/dist/src/components/caption/CdrCaption.vue.mjs +7 -45
  22. package/dist/src/components/caption/CdrCaption.vue2.mjs +36 -0
  23. package/dist/src/components/caption/styles/CdrCaption.module.scss.mjs +4 -4
  24. package/dist/src/components/card/CdrCard.vue.mjs +7 -33
  25. package/dist/src/components/card/CdrCard.vue2.mjs +24 -0
  26. package/dist/src/components/card/styles/CdrCard.module.scss.mjs +1 -1
  27. package/dist/src/components/checkbox/CdrCheckbox.vue.mjs +7 -146
  28. package/dist/src/components/checkbox/CdrCheckbox.vue2.mjs +134 -0
  29. package/dist/src/components/checkbox/styles/CdrCheckbox.module.scss.mjs +25 -25
  30. package/dist/src/components/chip/CdrChip.vue.mjs +7 -29
  31. package/dist/src/components/chip/CdrChip.vue2.mjs +22 -0
  32. package/dist/src/components/chip/CdrChipGroup.vue.mjs +7 -83
  33. package/dist/src/components/chip/CdrChipGroup.vue2.mjs +73 -0
  34. package/dist/src/components/chip/styles/CdrChip.module.scss.mjs +4 -4
  35. package/dist/src/components/chip/styles/CdrChipGroup.module.scss.mjs +4 -4
  36. package/dist/src/components/container/CdrContainer.vue.mjs +7 -46
  37. package/dist/src/components/container/CdrContainer.vue2.mjs +36 -0
  38. package/dist/src/components/container/styles/CdrContainer.module.scss.mjs +2 -2
  39. package/dist/src/components/formError/CdrFormError.vue.mjs +7 -36
  40. package/dist/src/components/formError/CdrFormError.vue2.mjs +24 -0
  41. package/dist/src/components/formError/styles/CdrFormError.module.scss.mjs +2 -2
  42. package/dist/src/components/formGroup/CdrFormGroup.vue.mjs +7 -70
  43. package/dist/src/components/formGroup/CdrFormGroup.vue2.mjs +65 -0
  44. package/dist/src/components/formGroup/styles/CdrFormGroup.module.scss.mjs +8 -8
  45. package/dist/src/components/grid/CdrGrid.vue.mjs +7 -47
  46. package/dist/src/components/grid/CdrGrid.vue2.mjs +37 -0
  47. package/dist/src/components/grid/styles/CdrGrid.module.scss.mjs +21 -21
  48. package/dist/src/components/icon/CdrIcon.vue.mjs +7 -58
  49. package/dist/src/components/icon/CdrIcon.vue2.mjs +46 -0
  50. package/dist/src/components/icon/comps/account-profile-fill.vue.mjs +15 -20
  51. package/dist/src/components/icon/comps/account-profile-fill.vue2.mjs +4 -0
  52. package/dist/src/components/icon/comps/account-profile.vue.mjs +15 -20
  53. package/dist/src/components/icon/comps/account-profile.vue2.mjs +4 -0
  54. package/dist/src/components/icon/comps/arrow-down.vue.mjs +15 -20
  55. package/dist/src/components/icon/comps/arrow-down.vue2.mjs +4 -0
  56. package/dist/src/components/icon/comps/arrow-left.vue.mjs +15 -20
  57. package/dist/src/components/icon/comps/arrow-left.vue2.mjs +4 -0
  58. package/dist/src/components/icon/comps/arrow-right.vue.mjs +15 -20
  59. package/dist/src/components/icon/comps/arrow-right.vue2.mjs +4 -0
  60. package/dist/src/components/icon/comps/arrow-up.vue.mjs +15 -20
  61. package/dist/src/components/icon/comps/arrow-up.vue2.mjs +4 -0
  62. package/dist/src/components/icon/comps/atv.vue.mjs +15 -20
  63. package/dist/src/components/icon/comps/atv.vue2.mjs +4 -0
  64. package/dist/src/components/icon/comps/bed-outline.vue.mjs +15 -20
  65. package/dist/src/components/icon/comps/bed-outline.vue2.mjs +4 -0
  66. package/dist/src/components/icon/comps/bike-shop.vue.mjs +15 -20
  67. package/dist/src/components/icon/comps/bike-shop.vue2.mjs +4 -0
  68. package/dist/src/components/icon/comps/binoculars.vue.mjs +14 -19
  69. package/dist/src/components/icon/comps/binoculars.vue2.mjs +4 -0
  70. package/dist/src/components/icon/comps/birding.vue.mjs +15 -20
  71. package/dist/src/components/icon/comps/birding.vue2.mjs +4 -0
  72. package/dist/src/components/icon/comps/boat.vue.mjs +15 -20
  73. package/dist/src/components/icon/comps/boat.vue2.mjs +4 -0
  74. package/dist/src/components/icon/comps/boating.vue.mjs +15 -20
  75. package/dist/src/components/icon/comps/boating.vue2.mjs +4 -0
  76. package/dist/src/components/icon/comps/bookmark-fill.vue.mjs +14 -19
  77. package/dist/src/components/icon/comps/bookmark-fill.vue2.mjs +4 -0
  78. package/dist/src/components/icon/comps/bookmark-stroke.vue.mjs +15 -20
  79. package/dist/src/components/icon/comps/bookmark-stroke.vue2.mjs +4 -0
  80. package/dist/src/components/icon/comps/brand-abstract.vue.mjs +15 -20
  81. package/dist/src/components/icon/comps/brand-abstract.vue2.mjs +4 -0
  82. package/dist/src/components/icon/comps/brand-code-sandbox.vue.mjs +15 -20
  83. package/dist/src/components/icon/comps/brand-code-sandbox.vue2.mjs +4 -0
  84. package/dist/src/components/icon/comps/brand-github.vue.mjs +15 -20
  85. package/dist/src/components/icon/comps/brand-github.vue2.mjs +4 -0
  86. package/dist/src/components/icon/comps/brand-linkedin.vue.mjs +15 -20
  87. package/dist/src/components/icon/comps/brand-linkedin.vue2.mjs +4 -0
  88. package/dist/src/components/icon/comps/brand-rei-ice-axes.vue.mjs +15 -20
  89. package/dist/src/components/icon/comps/brand-rei-ice-axes.vue2.mjs +4 -0
  90. package/dist/src/components/icon/comps/brand-sketch.vue.mjs +14 -19
  91. package/dist/src/components/icon/comps/brand-sketch.vue2.mjs +4 -0
  92. package/dist/src/components/icon/comps/brand-tiktok.vue.mjs +16 -21
  93. package/dist/src/components/icon/comps/brand-tiktok.vue2.mjs +4 -0
  94. package/dist/src/components/icon/comps/buddies.vue.mjs +15 -20
  95. package/dist/src/components/icon/comps/buddies.vue2.mjs +4 -0
  96. package/dist/src/components/icon/comps/bus.vue.mjs +15 -20
  97. package/dist/src/components/icon/comps/bus.vue2.mjs +4 -0
  98. package/dist/src/components/icon/comps/calendar.vue.mjs +15 -20
  99. package/dist/src/components/icon/comps/calendar.vue2.mjs +4 -0
  100. package/dist/src/components/icon/comps/camera.vue.mjs +15 -20
  101. package/dist/src/components/icon/comps/camera.vue2.mjs +4 -0
  102. package/dist/src/components/icon/comps/canoe.vue.mjs +15 -20
  103. package/dist/src/components/icon/comps/canoe.vue2.mjs +4 -0
  104. package/dist/src/components/icon/comps/car.vue.mjs +15 -20
  105. package/dist/src/components/icon/comps/car.vue2.mjs +4 -0
  106. package/dist/src/components/icon/comps/caret-down.vue.mjs +15 -20
  107. package/dist/src/components/icon/comps/caret-down.vue2.mjs +4 -0
  108. package/dist/src/components/icon/comps/caret-left.vue.mjs +15 -20
  109. package/dist/src/components/icon/comps/caret-left.vue2.mjs +4 -0
  110. package/dist/src/components/icon/comps/caret-right.vue.mjs +15 -20
  111. package/dist/src/components/icon/comps/caret-right.vue2.mjs +4 -0
  112. package/dist/src/components/icon/comps/caret-up.vue.mjs +15 -20
  113. package/dist/src/components/icon/comps/caret-up.vue2.mjs +4 -0
  114. package/dist/src/components/icon/comps/cart-fill.vue.mjs +15 -20
  115. package/dist/src/components/icon/comps/cart-fill.vue2.mjs +4 -0
  116. package/dist/src/components/icon/comps/cart.vue.mjs +15 -20
  117. package/dist/src/components/icon/comps/cart.vue2.mjs +4 -0
  118. package/dist/src/components/icon/comps/chain-link.vue.mjs +15 -20
  119. package/dist/src/components/icon/comps/chain-link.vue2.mjs +4 -0
  120. package/dist/src/components/icon/comps/chat.vue.mjs +15 -20
  121. package/dist/src/components/icon/comps/chat.vue2.mjs +4 -0
  122. package/dist/src/components/icon/comps/check-fill.vue.mjs +15 -20
  123. package/dist/src/components/icon/comps/check-fill.vue2.mjs +4 -0
  124. package/dist/src/components/icon/comps/check-lg.vue.mjs +15 -20
  125. package/dist/src/components/icon/comps/check-lg.vue2.mjs +4 -0
  126. package/dist/src/components/icon/comps/check-sm.vue.mjs +15 -20
  127. package/dist/src/components/icon/comps/check-sm.vue2.mjs +4 -0
  128. package/dist/src/components/icon/comps/check-stroke.vue.mjs +15 -20
  129. package/dist/src/components/icon/comps/check-stroke.vue2.mjs +4 -0
  130. package/dist/src/components/icon/comps/climb.vue.mjs +15 -20
  131. package/dist/src/components/icon/comps/climb.vue2.mjs +4 -0
  132. package/dist/src/components/icon/comps/clipboard.vue.mjs +15 -20
  133. package/dist/src/components/icon/comps/clipboard.vue2.mjs +4 -0
  134. package/dist/src/components/icon/comps/clock.vue.mjs +15 -20
  135. package/dist/src/components/icon/comps/clock.vue2.mjs +4 -0
  136. package/dist/src/components/icon/comps/code-html.vue.mjs +15 -20
  137. package/dist/src/components/icon/comps/code-html.vue2.mjs +4 -0
  138. package/dist/src/components/icon/comps/code-js.vue.mjs +15 -20
  139. package/dist/src/components/icon/comps/code-js.vue2.mjs +4 -0
  140. package/dist/src/components/icon/comps/compass.vue.mjs +15 -20
  141. package/dist/src/components/icon/comps/compass.vue2.mjs +4 -0
  142. package/dist/src/components/icon/comps/copy.vue.mjs +15 -20
  143. package/dist/src/components/icon/comps/copy.vue2.mjs +4 -0
  144. package/dist/src/components/icon/comps/coupon-fill.vue.mjs +15 -20
  145. package/dist/src/components/icon/comps/coupon-fill.vue2.mjs +4 -0
  146. package/dist/src/components/icon/comps/coupon-stroke.vue.mjs +14 -19
  147. package/dist/src/components/icon/comps/coupon-stroke.vue2.mjs +4 -0
  148. package/dist/src/components/icon/comps/credit-card.vue.mjs +15 -20
  149. package/dist/src/components/icon/comps/credit-card.vue2.mjs +4 -0
  150. package/dist/src/components/icon/comps/curbside-pickup.vue.mjs +15 -20
  151. package/dist/src/components/icon/comps/curbside-pickup.vue2.mjs +4 -0
  152. package/dist/src/components/icon/comps/day.vue.mjs +15 -20
  153. package/dist/src/components/icon/comps/day.vue2.mjs +4 -0
  154. package/dist/src/components/icon/comps/diving.vue.mjs +15 -20
  155. package/dist/src/components/icon/comps/diving.vue2.mjs +4 -0
  156. package/dist/src/components/icon/comps/dog.vue.mjs +15 -20
  157. package/dist/src/components/icon/comps/dog.vue2.mjs +4 -0
  158. package/dist/src/components/icon/comps/download.vue.mjs +15 -20
  159. package/dist/src/components/icon/comps/download.vue2.mjs +4 -0
  160. package/dist/src/components/icon/comps/duplicate.vue.mjs +16 -21
  161. package/dist/src/components/icon/comps/duplicate.vue2.mjs +4 -0
  162. package/dist/src/components/icon/comps/edit.vue.mjs +15 -20
  163. package/dist/src/components/icon/comps/edit.vue2.mjs +4 -0
  164. package/dist/src/components/icon/comps/elevation.vue.mjs +15 -20
  165. package/dist/src/components/icon/comps/elevation.vue2.mjs +4 -0
  166. package/dist/src/components/icon/comps/error-fill.vue.mjs +17 -22
  167. package/dist/src/components/icon/comps/error-fill.vue2.mjs +4 -0
  168. package/dist/src/components/icon/comps/error-stroke.vue.mjs +19 -24
  169. package/dist/src/components/icon/comps/error-stroke.vue2.mjs +4 -0
  170. package/dist/src/components/icon/comps/expand.vue.mjs +15 -20
  171. package/dist/src/components/icon/comps/expand.vue2.mjs +4 -0
  172. package/dist/src/components/icon/comps/experiences-backpacking.vue.mjs +15 -20
  173. package/dist/src/components/icon/comps/experiences-backpacking.vue2.mjs +4 -0
  174. package/dist/src/components/icon/comps/experiences-camping.vue.mjs +15 -20
  175. package/dist/src/components/icon/comps/experiences-camping.vue2.mjs +4 -0
  176. package/dist/src/components/icon/comps/experiences-climbing.vue.mjs +15 -20
  177. package/dist/src/components/icon/comps/experiences-climbing.vue2.mjs +4 -0
  178. package/dist/src/components/icon/comps/experiences-clothing.vue.mjs +15 -20
  179. package/dist/src/components/icon/comps/experiences-clothing.vue2.mjs +4 -0
  180. package/dist/src/components/icon/comps/experiences-cycling.vue.mjs +15 -20
  181. package/dist/src/components/icon/comps/experiences-cycling.vue2.mjs +4 -0
  182. package/dist/src/components/icon/comps/experiences-family.vue.mjs +15 -20
  183. package/dist/src/components/icon/comps/experiences-family.vue2.mjs +4 -0
  184. package/dist/src/components/icon/comps/experiences-fitness.vue.mjs +15 -20
  185. package/dist/src/components/icon/comps/experiences-fitness.vue2.mjs +4 -0
  186. package/dist/src/components/icon/comps/experiences-hiking.vue.mjs +15 -20
  187. package/dist/src/components/icon/comps/experiences-hiking.vue2.mjs +4 -0
  188. package/dist/src/components/icon/comps/experiences-outdoor-basics.vue.mjs +15 -20
  189. package/dist/src/components/icon/comps/experiences-outdoor-basics.vue2.mjs +4 -0
  190. package/dist/src/components/icon/comps/experiences-paddling.vue.mjs +15 -20
  191. package/dist/src/components/icon/comps/experiences-paddling.vue2.mjs +4 -0
  192. package/dist/src/components/icon/comps/experiences-rentals.vue.mjs +15 -20
  193. package/dist/src/components/icon/comps/experiences-rentals.vue2.mjs +4 -0
  194. package/dist/src/components/icon/comps/experiences-running.vue.mjs +16 -21
  195. package/dist/src/components/icon/comps/experiences-running.vue2.mjs +4 -0
  196. package/dist/src/components/icon/comps/experiences-snowsports.vue.mjs +15 -20
  197. package/dist/src/components/icon/comps/experiences-snowsports.vue2.mjs +4 -0
  198. package/dist/src/components/icon/comps/experiences-travel.vue.mjs +15 -20
  199. package/dist/src/components/icon/comps/experiences-travel.vue2.mjs +4 -0
  200. package/dist/src/components/icon/comps/external-link-alt.vue.mjs +16 -21
  201. package/dist/src/components/icon/comps/external-link-alt.vue2.mjs +4 -0
  202. package/dist/src/components/icon/comps/external-link.vue.mjs +15 -20
  203. package/dist/src/components/icon/comps/external-link.vue2.mjs +4 -0
  204. package/dist/src/components/icon/comps/eye-hide.vue.mjs +15 -20
  205. package/dist/src/components/icon/comps/eye-hide.vue2.mjs +4 -0
  206. package/dist/src/components/icon/comps/eye-show.vue.mjs +15 -20
  207. package/dist/src/components/icon/comps/eye-show.vue2.mjs +4 -0
  208. package/dist/src/components/icon/comps/facebook.vue.mjs +15 -20
  209. package/dist/src/components/icon/comps/facebook.vue2.mjs +4 -0
  210. package/dist/src/components/icon/comps/filter-alt.vue.mjs +15 -20
  211. package/dist/src/components/icon/comps/filter-alt.vue2.mjs +4 -0
  212. package/dist/src/components/icon/comps/filter.vue.mjs +15 -20
  213. package/dist/src/components/icon/comps/filter.vue2.mjs +4 -0
  214. package/dist/src/components/icon/comps/find-location.vue.mjs +15 -20
  215. package/dist/src/components/icon/comps/find-location.vue2.mjs +4 -0
  216. package/dist/src/components/icon/comps/fire.vue.mjs +14 -19
  217. package/dist/src/components/icon/comps/fire.vue2.mjs +4 -0
  218. package/dist/src/components/icon/comps/fishing.vue.mjs +15 -20
  219. package/dist/src/components/icon/comps/fishing.vue2.mjs +4 -0
  220. package/dist/src/components/icon/comps/free-product.vue.mjs +15 -20
  221. package/dist/src/components/icon/comps/free-product.vue2.mjs +4 -0
  222. package/dist/src/components/icon/comps/grid-view.vue.mjs +15 -20
  223. package/dist/src/components/icon/comps/grid-view.vue2.mjs +4 -0
  224. package/dist/src/components/icon/comps/heart-fill.vue.mjs +15 -20
  225. package/dist/src/components/icon/comps/heart-fill.vue2.mjs +4 -0
  226. package/dist/src/components/icon/comps/heart-stroke.vue.mjs +15 -20
  227. package/dist/src/components/icon/comps/heart-stroke.vue2.mjs +4 -0
  228. package/dist/src/components/icon/comps/hike.vue.mjs +14 -19
  229. package/dist/src/components/icon/comps/hike.vue2.mjs +4 -0
  230. package/dist/src/components/icon/comps/history.vue.mjs +15 -20
  231. package/dist/src/components/icon/comps/history.vue2.mjs +4 -0
  232. package/dist/src/components/icon/comps/home.vue.mjs +15 -20
  233. package/dist/src/components/icon/comps/home.vue2.mjs +4 -0
  234. package/dist/src/components/icon/comps/horse.vue.mjs +14 -19
  235. package/dist/src/components/icon/comps/horse.vue2.mjs +4 -0
  236. package/dist/src/components/icon/comps/horseshoe.vue.mjs +15 -20
  237. package/dist/src/components/icon/comps/horseshoe.vue2.mjs +4 -0
  238. package/dist/src/components/icon/comps/image.vue.mjs +15 -20
  239. package/dist/src/components/icon/comps/image.vue2.mjs +4 -0
  240. package/dist/src/components/icon/comps/information-fill.vue.mjs +15 -20
  241. package/dist/src/components/icon/comps/information-fill.vue2.mjs +4 -0
  242. package/dist/src/components/icon/comps/information-stroke.vue.mjs +15 -20
  243. package/dist/src/components/icon/comps/information-stroke.vue2.mjs +4 -0
  244. package/dist/src/components/icon/comps/instagram.vue.mjs +15 -20
  245. package/dist/src/components/icon/comps/instagram.vue2.mjs +4 -0
  246. package/dist/src/components/icon/comps/kayak.vue.mjs +15 -20
  247. package/dist/src/components/icon/comps/kayak.vue2.mjs +4 -0
  248. package/dist/src/components/icon/comps/link-alt.vue.mjs +16 -21
  249. package/dist/src/components/icon/comps/link-alt.vue2.mjs +4 -0
  250. package/dist/src/components/icon/comps/list-ragged.vue.mjs +15 -20
  251. package/dist/src/components/icon/comps/list-ragged.vue2.mjs +4 -0
  252. package/dist/src/components/icon/comps/list-view.vue.mjs +15 -20
  253. package/dist/src/components/icon/comps/list-view.vue2.mjs +4 -0
  254. package/dist/src/components/icon/comps/location-pin-fill.vue.mjs +15 -20
  255. package/dist/src/components/icon/comps/location-pin-fill.vue2.mjs +4 -0
  256. package/dist/src/components/icon/comps/location-pin-stroke.vue.mjs +15 -20
  257. package/dist/src/components/icon/comps/location-pin-stroke.vue2.mjs +4 -0
  258. package/dist/src/components/icon/comps/lock-locked-fill.vue.mjs +15 -20
  259. package/dist/src/components/icon/comps/lock-locked-fill.vue2.mjs +4 -0
  260. package/dist/src/components/icon/comps/lock-locked-stroke.vue.mjs +14 -19
  261. package/dist/src/components/icon/comps/lock-locked-stroke.vue2.mjs +4 -0
  262. package/dist/src/components/icon/comps/lock-unlocked-stroke.vue.mjs +15 -20
  263. package/dist/src/components/icon/comps/lock-unlocked-stroke.vue2.mjs +4 -0
  264. package/dist/src/components/icon/comps/mail.vue.mjs +14 -19
  265. package/dist/src/components/icon/comps/mail.vue2.mjs +4 -0
  266. package/dist/src/components/icon/comps/map.vue.mjs +15 -20
  267. package/dist/src/components/icon/comps/map.vue2.mjs +4 -0
  268. package/dist/src/components/icon/comps/member-card.vue.mjs +14 -19
  269. package/dist/src/components/icon/comps/member-card.vue2.mjs +4 -0
  270. package/dist/src/components/icon/comps/membership.vue.mjs +16 -21
  271. package/dist/src/components/icon/comps/membership.vue2.mjs +4 -0
  272. package/dist/src/components/icon/comps/microphone.vue.mjs +15 -20
  273. package/dist/src/components/icon/comps/microphone.vue2.mjs +4 -0
  274. package/dist/src/components/icon/comps/minus-fill.vue.mjs +15 -20
  275. package/dist/src/components/icon/comps/minus-fill.vue2.mjs +4 -0
  276. package/dist/src/components/icon/comps/minus-lg.vue.mjs +15 -20
  277. package/dist/src/components/icon/comps/minus-lg.vue2.mjs +4 -0
  278. package/dist/src/components/icon/comps/minus-sm.vue.mjs +15 -20
  279. package/dist/src/components/icon/comps/minus-sm.vue2.mjs +4 -0
  280. package/dist/src/components/icon/comps/minus-stroke.vue.mjs +15 -20
  281. package/dist/src/components/icon/comps/minus-stroke.vue2.mjs +4 -0
  282. package/dist/src/components/icon/comps/more-functions.vue.mjs +15 -20
  283. package/dist/src/components/icon/comps/more-functions.vue2.mjs +4 -0
  284. package/dist/src/components/icon/comps/my-location.vue.mjs +15 -20
  285. package/dist/src/components/icon/comps/my-location.vue2.mjs +4 -0
  286. package/dist/src/components/icon/comps/navigation-menu.vue.mjs +15 -20
  287. package/dist/src/components/icon/comps/navigation-menu.vue2.mjs +4 -0
  288. package/dist/src/components/icon/comps/night.vue.mjs +15 -20
  289. package/dist/src/components/icon/comps/night.vue2.mjs +4 -0
  290. package/dist/src/components/icon/comps/paddle.vue.mjs +15 -20
  291. package/dist/src/components/icon/comps/paddle.vue2.mjs +4 -0
  292. package/dist/src/components/icon/comps/pause-fill.vue.mjs +15 -20
  293. package/dist/src/components/icon/comps/pause-fill.vue2.mjs +4 -0
  294. package/dist/src/components/icon/comps/pause-stroke.vue.mjs +15 -20
  295. package/dist/src/components/icon/comps/pause-stroke.vue2.mjs +4 -0
  296. package/dist/src/components/icon/comps/pause.vue.mjs +15 -20
  297. package/dist/src/components/icon/comps/pause.vue2.mjs +4 -0
  298. package/dist/src/components/icon/comps/photography.vue.mjs +15 -20
  299. package/dist/src/components/icon/comps/photography.vue2.mjs +4 -0
  300. package/dist/src/components/icon/comps/picnic.vue.mjs +15 -20
  301. package/dist/src/components/icon/comps/picnic.vue2.mjs +4 -0
  302. package/dist/src/components/icon/comps/pinterest.vue.mjs +15 -20
  303. package/dist/src/components/icon/comps/pinterest.vue2.mjs +4 -0
  304. package/dist/src/components/icon/comps/plane.vue.mjs +15 -20
  305. package/dist/src/components/icon/comps/plane.vue2.mjs +4 -0
  306. package/dist/src/components/icon/comps/play-fill.vue.mjs +15 -20
  307. package/dist/src/components/icon/comps/play-fill.vue2.mjs +4 -0
  308. package/dist/src/components/icon/comps/play-stroke.vue.mjs +14 -19
  309. package/dist/src/components/icon/comps/play-stroke.vue2.mjs +4 -0
  310. package/dist/src/components/icon/comps/play.vue.mjs +15 -20
  311. package/dist/src/components/icon/comps/play.vue2.mjs +4 -0
  312. package/dist/src/components/icon/comps/playground.vue.mjs +15 -20
  313. package/dist/src/components/icon/comps/playground.vue2.mjs +4 -0
  314. package/dist/src/components/icon/comps/plugin.vue.mjs +15 -20
  315. package/dist/src/components/icon/comps/plugin.vue2.mjs +4 -0
  316. package/dist/src/components/icon/comps/plus-fill.vue.mjs +15 -20
  317. package/dist/src/components/icon/comps/plus-fill.vue2.mjs +4 -0
  318. package/dist/src/components/icon/comps/plus-lg.vue.mjs +15 -20
  319. package/dist/src/components/icon/comps/plus-lg.vue2.mjs +4 -0
  320. package/dist/src/components/icon/comps/plus-sm.vue.mjs +15 -20
  321. package/dist/src/components/icon/comps/plus-sm.vue2.mjs +4 -0
  322. package/dist/src/components/icon/comps/plus-stroke.vue.mjs +15 -20
  323. package/dist/src/components/icon/comps/plus-stroke.vue2.mjs +4 -0
  324. package/dist/src/components/icon/comps/print.vue.mjs +15 -20
  325. package/dist/src/components/icon/comps/print.vue2.mjs +4 -0
  326. package/dist/src/components/icon/comps/protection-fill.vue.mjs +15 -20
  327. package/dist/src/components/icon/comps/protection-fill.vue2.mjs +4 -0
  328. package/dist/src/components/icon/comps/protection-stroke.vue.mjs +14 -19
  329. package/dist/src/components/icon/comps/protection-stroke.vue2.mjs +4 -0
  330. package/dist/src/components/icon/comps/question-fill.vue.mjs +15 -20
  331. package/dist/src/components/icon/comps/question-fill.vue2.mjs +4 -0
  332. package/dist/src/components/icon/comps/question-stroke.vue.mjs +15 -20
  333. package/dist/src/components/icon/comps/question-stroke.vue2.mjs +4 -0
  334. package/dist/src/components/icon/comps/refresh.vue.mjs +15 -20
  335. package/dist/src/components/icon/comps/refresh.vue2.mjs +4 -0
  336. package/dist/src/components/icon/comps/reload.vue.mjs +15 -20
  337. package/dist/src/components/icon/comps/reload.vue2.mjs +4 -0
  338. package/dist/src/components/icon/comps/returns.vue.mjs +16 -21
  339. package/dist/src/components/icon/comps/returns.vue2.mjs +4 -0
  340. package/dist/src/components/icon/comps/run.vue.mjs +15 -20
  341. package/dist/src/components/icon/comps/run.vue2.mjs +4 -0
  342. package/dist/src/components/icon/comps/scan-barcode.vue.mjs +15 -20
  343. package/dist/src/components/icon/comps/scan-barcode.vue2.mjs +4 -0
  344. package/dist/src/components/icon/comps/search.vue.mjs +15 -20
  345. package/dist/src/components/icon/comps/search.vue2.mjs +4 -0
  346. package/dist/src/components/icon/comps/service-shop.vue.mjs +15 -20
  347. package/dist/src/components/icon/comps/service-shop.vue2.mjs +4 -0
  348. package/dist/src/components/icon/comps/shipping-prep.vue.mjs +16 -21
  349. package/dist/src/components/icon/comps/shipping-prep.vue2.mjs +4 -0
  350. package/dist/src/components/icon/comps/shipping-truck.vue.mjs +16 -21
  351. package/dist/src/components/icon/comps/shipping-truck.vue2.mjs +4 -0
  352. package/dist/src/components/icon/comps/shipping.vue.mjs +15 -20
  353. package/dist/src/components/icon/comps/shipping.vue2.mjs +4 -0
  354. package/dist/src/components/icon/comps/shopping-bag-fill.vue.mjs +15 -20
  355. package/dist/src/components/icon/comps/shopping-bag-fill.vue2.mjs +4 -0
  356. package/dist/src/components/icon/comps/shopping-bag.vue.mjs +15 -20
  357. package/dist/src/components/icon/comps/shopping-bag.vue2.mjs +4 -0
  358. package/dist/src/components/icon/comps/shrink.vue.mjs +15 -20
  359. package/dist/src/components/icon/comps/shrink.vue2.mjs +4 -0
  360. package/dist/src/components/icon/comps/size-chart.vue.mjs +15 -20
  361. package/dist/src/components/icon/comps/size-chart.vue2.mjs +4 -0
  362. package/dist/src/components/icon/comps/ski-boot.vue.mjs +14 -19
  363. package/dist/src/components/icon/comps/ski-boot.vue2.mjs +4 -0
  364. package/dist/src/components/icon/comps/ski.vue.mjs +15 -20
  365. package/dist/src/components/icon/comps/ski.vue2.mjs +4 -0
  366. package/dist/src/components/icon/comps/snow-shop.vue.mjs +15 -20
  367. package/dist/src/components/icon/comps/snow-shop.vue2.mjs +4 -0
  368. package/dist/src/components/icon/comps/snow.vue.mjs +15 -20
  369. package/dist/src/components/icon/comps/snow.vue2.mjs +4 -0
  370. package/dist/src/components/icon/comps/sort.vue.mjs +14 -19
  371. package/dist/src/components/icon/comps/sort.vue2.mjs +4 -0
  372. package/dist/src/components/icon/comps/star-100.vue.mjs +15 -20
  373. package/dist/src/components/icon/comps/star-100.vue2.mjs +4 -0
  374. package/dist/src/components/icon/comps/star-25.vue.mjs +14 -19
  375. package/dist/src/components/icon/comps/star-25.vue2.mjs +4 -0
  376. package/dist/src/components/icon/comps/star-50.vue.mjs +14 -19
  377. package/dist/src/components/icon/comps/star-50.vue2.mjs +4 -0
  378. package/dist/src/components/icon/comps/star-75.vue.mjs +14 -19
  379. package/dist/src/components/icon/comps/star-75.vue2.mjs +4 -0
  380. package/dist/src/components/icon/comps/star-stroke.vue.mjs +14 -19
  381. package/dist/src/components/icon/comps/star-stroke.vue2.mjs +4 -0
  382. package/dist/src/components/icon/comps/storefront.vue.mjs +15 -20
  383. package/dist/src/components/icon/comps/storefront.vue2.mjs +4 -0
  384. package/dist/src/components/icon/comps/swim.vue.mjs +15 -20
  385. package/dist/src/components/icon/comps/swim.vue2.mjs +4 -0
  386. package/dist/src/components/icon/comps/telephone.vue.mjs +15 -20
  387. package/dist/src/components/icon/comps/telephone.vue2.mjs +4 -0
  388. package/dist/src/components/icon/comps/tent.vue.mjs +15 -20
  389. package/dist/src/components/icon/comps/tent.vue2.mjs +4 -0
  390. package/dist/src/components/icon/comps/trash.vue.mjs +14 -19
  391. package/dist/src/components/icon/comps/trash.vue2.mjs +4 -0
  392. package/dist/src/components/icon/comps/twitter.vue.mjs +15 -20
  393. package/dist/src/components/icon/comps/twitter.vue2.mjs +4 -0
  394. package/dist/src/components/icon/comps/upload.vue.mjs +15 -20
  395. package/dist/src/components/icon/comps/upload.vue2.mjs +4 -0
  396. package/dist/src/components/icon/comps/verified-purchaser.vue.mjs +15 -20
  397. package/dist/src/components/icon/comps/verified-purchaser.vue2.mjs +4 -0
  398. package/dist/src/components/icon/comps/virtual-outfitting.vue.mjs +15 -20
  399. package/dist/src/components/icon/comps/virtual-outfitting.vue2.mjs +4 -0
  400. package/dist/src/components/icon/comps/warning-fill.vue.mjs +15 -20
  401. package/dist/src/components/icon/comps/warning-fill.vue2.mjs +4 -0
  402. package/dist/src/components/icon/comps/warning-stroke.vue.mjs +15 -20
  403. package/dist/src/components/icon/comps/warning-stroke.vue2.mjs +4 -0
  404. package/dist/src/components/icon/comps/water.vue.mjs +15 -20
  405. package/dist/src/components/icon/comps/water.vue2.mjs +4 -0
  406. package/dist/src/components/icon/comps/wilderness.vue.mjs +15 -20
  407. package/dist/src/components/icon/comps/wilderness.vue2.mjs +4 -0
  408. package/dist/src/components/icon/comps/x-fill.vue.mjs +15 -20
  409. package/dist/src/components/icon/comps/x-fill.vue2.mjs +4 -0
  410. package/dist/src/components/icon/comps/x-lg.vue.mjs +15 -20
  411. package/dist/src/components/icon/comps/x-lg.vue2.mjs +4 -0
  412. package/dist/src/components/icon/comps/x-sm.vue.mjs +15 -20
  413. package/dist/src/components/icon/comps/x-sm.vue2.mjs +4 -0
  414. package/dist/src/components/icon/comps/x-stroke.vue.mjs +15 -20
  415. package/dist/src/components/icon/comps/x-stroke.vue2.mjs +4 -0
  416. package/dist/src/components/icon/comps/youtube.vue.mjs +15 -20
  417. package/dist/src/components/icon/comps/youtube.vue2.mjs +4 -0
  418. package/dist/src/components/icon/comps/zoom-in.vue.mjs +15 -20
  419. package/dist/src/components/icon/comps/zoom-in.vue2.mjs +4 -0
  420. package/dist/src/components/icon/comps/zoom-out.vue.mjs +15 -20
  421. package/dist/src/components/icon/comps/zoom-out.vue2.mjs +4 -0
  422. package/dist/src/components/icon/styles/CdrIcon.module.scss.mjs +12 -12
  423. package/dist/src/components/image/CdrImg.vue.mjs +7 -123
  424. package/dist/src/components/image/CdrImg.vue2.mjs +107 -0
  425. package/dist/src/components/image/styles/CdrImg.module.scss.mjs +8 -8
  426. package/dist/src/components/input/CdrInput.vue.mjs +7 -245
  427. package/dist/src/components/input/CdrInput.vue2.mjs +213 -0
  428. package/dist/src/components/input/styles/CdrInput.module.scss.mjs +34 -34
  429. package/dist/src/components/labelStandalone/CdrLabelStandalone.vue.mjs +7 -68
  430. package/dist/src/components/labelStandalone/CdrLabelStandalone.vue2.mjs +53 -0
  431. package/dist/src/components/labelStandalone/styles/CdrLabelStandalone.module.scss.mjs +12 -12
  432. package/dist/src/components/labelWrapper/CdrLabelWrapper.vue.mjs +7 -42
  433. package/dist/src/components/labelWrapper/CdrLabelWrapper.vue2.mjs +31 -0
  434. package/dist/src/components/labelWrapper/styles/CdrLabelWrapper.module.scss.mjs +23 -23
  435. package/dist/src/components/link/CdrLink.vue.mjs +7 -72
  436. package/dist/src/components/link/CdrLink.vue2.mjs +59 -0
  437. package/dist/src/components/link/styles/CdrLink.module.scss.mjs +3 -3
  438. package/dist/src/components/list/CdrList.vue.mjs +7 -48
  439. package/dist/src/components/list/CdrList.vue2.mjs +39 -0
  440. package/dist/src/components/list/styles/CdrList.module.scss.mjs +7 -7
  441. package/dist/src/components/modal/CdrModal.vue.mjs +7 -239
  442. package/dist/src/components/modal/CdrModal.vue2.mjs +225 -0
  443. package/dist/src/components/modal/onTransitionEnd.mjs +13 -10
  444. package/dist/src/components/modal/styles/CdrModal.module.scss.mjs +12 -12
  445. package/dist/src/components/pagination/CdrPagination.vue.mjs +7 -226
  446. package/dist/src/components/pagination/CdrPagination.vue2.mjs +223 -0
  447. package/dist/src/components/pagination/styles/CdrPagination.module.scss.mjs +53 -53
  448. package/dist/src/components/popover/CdrPopover.vue.mjs +7 -150
  449. package/dist/src/components/popover/CdrPopover.vue2.mjs +136 -0
  450. package/dist/src/components/popover/styles/CdrPopover.module.scss.mjs +65 -65
  451. package/dist/src/components/popup/CdrPopup.vue.mjs +7 -109
  452. package/dist/src/components/popup/CdrPopup.vue2.mjs +94 -0
  453. package/dist/src/components/popup/calculatePlacement.mjs +22 -18
  454. package/dist/src/components/popup/styles/CdrPopup.module.scss.mjs +14 -14
  455. package/dist/src/components/quote/CdrQuote.vue.mjs +7 -63
  456. package/dist/src/components/quote/CdrQuote.vue2.mjs +51 -0
  457. package/dist/src/components/quote/styles/CdrQuote.module.scss.mjs +4 -4
  458. package/dist/src/components/radio/CdrRadio.vue.mjs +7 -116
  459. package/dist/src/components/radio/CdrRadio.vue2.mjs +108 -0
  460. package/dist/src/components/radio/styles/CdrRadio.module.scss.mjs +25 -25
  461. package/dist/src/components/rating/CdrRating.vue.mjs +7 -106
  462. package/dist/src/components/rating/CdrRating.vue2.mjs +86 -0
  463. package/dist/src/components/rating/styles/CdrRating.module.scss.mjs +28 -28
  464. package/dist/src/components/select/CdrSelect.vue.mjs +7 -222
  465. package/dist/src/components/select/CdrSelect.vue2.mjs +196 -0
  466. package/dist/src/components/select/styles/CdrSelect.module.scss.mjs +42 -42
  467. package/dist/src/components/skeleton/CdrSkeleton.vue.mjs +7 -36
  468. package/dist/src/components/skeleton/CdrSkeleton.vue2.mjs +29 -0
  469. package/dist/src/components/skeleton/CdrSkeletonBone.vue.mjs +7 -41
  470. package/dist/src/components/skeleton/CdrSkeletonBone.vue2.mjs +29 -0
  471. package/dist/src/components/skeleton/styles/CdrSkeleton.module.scss.mjs +1 -1
  472. package/dist/src/components/skeleton/styles/CdrSkeletonBone.module.scss.mjs +7 -7
  473. package/dist/src/components/skeleton/symbols.mjs +4 -0
  474. package/dist/src/components/switch/CdrSwitch.vue.mjs +7 -94
  475. package/dist/src/components/switch/CdrSwitch.vue2.mjs +78 -0
  476. package/dist/src/components/switch/styles/CdrSwitch.module.scss.mjs +10 -10
  477. package/dist/src/components/table/CdrTable.vue.mjs +7 -73
  478. package/dist/src/components/table/CdrTable.vue2.mjs +58 -0
  479. package/dist/src/components/table/styles/CdrTable.module.scss.mjs +13 -13
  480. package/dist/src/components/tabs/CdrTabPanel.vue.mjs +7 -47
  481. package/dist/src/components/tabs/CdrTabPanel.vue2.mjs +40 -0
  482. package/dist/src/components/tabs/CdrTabs.vue.mjs +7 -186
  483. package/dist/src/components/tabs/CdrTabs.vue2.mjs +157 -0
  484. package/dist/src/components/tabs/styles/CdrTabPanel.module.scss.mjs +5 -5
  485. package/dist/src/components/tabs/styles/CdrTabs.module.scss.mjs +30 -30
  486. package/dist/src/components/tabs/symbols.mjs +4 -0
  487. package/dist/src/components/text/CdrText.vue.mjs +7 -30
  488. package/dist/src/components/text/CdrText.vue2.mjs +24 -0
  489. package/dist/src/components/text/styles/CdrText.module.scss.mjs +1 -1
  490. package/dist/src/components/toast/CdrToast.vue.mjs +7 -124
  491. package/dist/src/components/toast/CdrToast.vue2.mjs +103 -0
  492. package/dist/src/components/toast/styles/CdrToast.module.scss.mjs +57 -57
  493. package/dist/src/components/toggleButton/CdrToggleButton.vue.mjs +7 -39
  494. package/dist/src/components/toggleButton/CdrToggleButton.vue2.mjs +32 -0
  495. package/dist/src/components/toggleButton/CdrToggleGroup.vue.mjs +7 -85
  496. package/dist/src/components/toggleButton/CdrToggleGroup.vue2.mjs +74 -0
  497. package/dist/src/components/toggleButton/styles/CdrToggleButton.module.scss.mjs +2 -2
  498. package/dist/src/components/toggleButton/styles/CdrToggleGroup.module.scss.mjs +7 -7
  499. package/dist/src/components/toggleButton/symbols.mjs +4 -0
  500. package/dist/src/components/tooltip/CdrTooltip.vue.mjs +7 -113
  501. package/dist/src/components/tooltip/CdrTooltip.vue2.mjs +98 -0
  502. package/dist/src/components/tooltip/styles/CdrTooltip.module.scss.mjs +16 -16
  503. package/dist/src/lib.mjs +316 -316
  504. package/dist/src/props/size.mjs +4 -1
  505. package/dist/src/utils/buildClass.mjs +1 -1
  506. package/dist/src/utils/debounce.mjs +9 -0
  507. package/dist/src/utils/kebabCase.mjs +6 -0
  508. package/dist/src/utils/mapClasses.mjs +4 -1
  509. package/dist/style/cdr-accordion-group.css +1 -1
  510. package/dist/style/cdr-accordion.css +1 -1
  511. package/dist/style/cdr-banner.css +1 -1
  512. package/dist/style/cdr-breadcrumb.css +1 -1
  513. package/dist/style/cdr-button.css +1 -1
  514. package/dist/style/cdr-caption.css +1 -1
  515. package/dist/style/cdr-card.css +1 -1
  516. package/dist/style/cdr-checkbox.css +1 -1
  517. package/dist/style/cdr-chip-group.css +1 -1
  518. package/dist/style/cdr-chip.css +1 -1
  519. package/dist/style/cdr-container.css +1 -1
  520. package/dist/style/cdr-form-error.css +1 -1
  521. package/dist/style/cdr-form-group.css +1 -1
  522. package/dist/style/cdr-grid.css +1 -1
  523. package/dist/style/cdr-icon.css +1 -1
  524. package/dist/style/cdr-img.css +1 -1
  525. package/dist/style/cdr-input.css +1 -1
  526. package/dist/style/cdr-label-standalone.css +1 -1
  527. package/dist/style/cdr-label-wrapper.css +1 -1
  528. package/dist/style/cdr-link.css +1 -1
  529. package/dist/style/cdr-list.css +1 -1
  530. package/dist/style/cdr-modal.css +1 -1
  531. package/dist/style/cdr-pagination.css +1 -1
  532. package/dist/style/cdr-popover.css +1 -1
  533. package/dist/style/cdr-popup.css +1 -1
  534. package/dist/style/cdr-quote.css +1 -1
  535. package/dist/style/cdr-radio.css +1 -1
  536. package/dist/style/cdr-rating.css +1 -1
  537. package/dist/style/cdr-select.css +1 -1
  538. package/dist/style/cdr-skeleton-bone.css +1 -1
  539. package/dist/style/cdr-skeleton.css +1 -1
  540. package/dist/style/cdr-switch.css +1 -1
  541. package/dist/style/cdr-tab-panel.css +1 -1
  542. package/dist/style/cdr-table.css +1 -1
  543. package/dist/style/cdr-tabs.css +1 -1
  544. package/dist/style/cdr-text.css +1 -1
  545. package/dist/style/cdr-toast.css +1 -1
  546. package/dist/style/cdr-toggle-button.css +1 -1
  547. package/dist/style/cdr-toggle-group.css +1 -1
  548. package/dist/style/cdr-tooltip.css +1 -1
  549. package/dist/style.css +1 -1
  550. package/package.json +20 -16
@@ -1,27 +1,31 @@
1
- function j(e, o, l, n, h) {
2
- const b = e.top + e.height / 2, d = e.left + e.width / 2;
3
- let f, s;
4
- const t = {
5
- top: e.top - o.height - 14,
6
- bottom: n - e.bottom - o.height - 14,
7
- left: e.left - o.width - 14,
8
- right: l - e.right - o.width - 14
1
+ function y(t, e, b, d, l) {
2
+ let s, f;
3
+ if (!t || !e)
4
+ return {
5
+ pos: "center",
6
+ corner: void 0
7
+ };
8
+ const i = 14, n = 2, m = t.top + t.height / 2, v = t.left + t.width / 2, o = {
9
+ top: t.top - e.height - i,
10
+ bottom: d - t.bottom - e.height - i,
11
+ left: t.left - e.width - i,
12
+ right: b - t.right - e.width - i
9
13
  }, r = {
10
- left: d - o.width / 2 - 2 <= 0,
11
- right: d + o.width / 2 + 2 >= l,
12
- top: b - o.height / 2 - 2 <= 0,
13
- bottom: b + o.height / 2 + 2 >= n
14
- }, m = {
14
+ left: v - e.width / 2 - n <= 0,
15
+ right: v + e.width / 2 + n >= b,
16
+ top: m - e.height / 2 - n <= 0,
17
+ bottom: m + e.height / 2 + n >= d
18
+ }, w = {
15
19
  top: "bottom",
16
20
  bottom: "top",
17
21
  left: "right",
18
22
  right: "left"
19
- }[h], w = Object.keys(t).filter((i) => t[i] > 0), S = Object.keys(t).sort((i, z) => t[i] > t[z] ? -1 : t[i] < t[z] ? 1 : 0);
20
- return t[h] > 0 ? f = h : t[m] > 0 ? f = m : w.length ? [f] = w : [f] = S, f === "bottom" || f === "top" ? r.left ? s = "left" : r.right && (s = "right") : r.top ? s = "top" : r.bottom && (s = "bottom"), {
21
- pos: f,
22
- corner: s
23
+ }[l], a = Object.keys(o).filter((h) => o[h] > 0), j = Object.keys(o).sort((h, c) => o[h] > o[c] ? -1 : o[h] < o[c] ? 1 : 0);
24
+ return o[l] > 0 ? s = l : o[w] > 0 ? s = w : a.length ? [s] = a : [s] = j, s === "bottom" || s === "top" ? r.left ? f = "left" : r.right && (f = "right") : r.top ? f = "top" : r.bottom && (f = "bottom"), {
25
+ pos: s,
26
+ corner: f
23
27
  };
24
28
  }
25
29
  export {
26
- j as default
30
+ y as default
27
31
  };
@@ -1,18 +1,18 @@
1
1
  const p = {
2
- "cdr-popup": "cdr-popup_13-5-2",
3
- "cdr-popup--open": "cdr-popup--open_13-5-2",
4
- "cdr-popup--closed": "cdr-popup--closed_13-5-2",
5
- "cdr-popup__content": "cdr-popup__content_13-5-2",
6
- "cdr-popup__arrow": "cdr-popup__arrow_13-5-2",
7
- "cdr-popup--top": "cdr-popup--top_13-5-2",
8
- "cdr-popup--bottom": "cdr-popup--bottom_13-5-2",
9
- "cdr-popup--exit": "cdr-popup--exit_13-5-2",
10
- "cdr-popup--corner-left": "cdr-popup--corner-left_13-5-2",
11
- "cdr-popup--corner-right": "cdr-popup--corner-right_13-5-2",
12
- "cdr-popup--left": "cdr-popup--left_13-5-2",
13
- "cdr-popup--right": "cdr-popup--right_13-5-2",
14
- "cdr-popup--corner-top": "cdr-popup--corner-top_13-5-2",
15
- "cdr-popup--corner-bottom": "cdr-popup--corner-bottom_13-5-2"
2
+ "cdr-popup": "cdr-popup_14-0-0-ts-0",
3
+ "cdr-popup--open": "cdr-popup--open_14-0-0-ts-0",
4
+ "cdr-popup--closed": "cdr-popup--closed_14-0-0-ts-0",
5
+ "cdr-popup__content": "cdr-popup__content_14-0-0-ts-0",
6
+ "cdr-popup__arrow": "cdr-popup__arrow_14-0-0-ts-0",
7
+ "cdr-popup--top": "cdr-popup--top_14-0-0-ts-0",
8
+ "cdr-popup--bottom": "cdr-popup--bottom_14-0-0-ts-0",
9
+ "cdr-popup--exit": "cdr-popup--exit_14-0-0-ts-0",
10
+ "cdr-popup--corner-left": "cdr-popup--corner-left_14-0-0-ts-0",
11
+ "cdr-popup--corner-right": "cdr-popup--corner-right_14-0-0-ts-0",
12
+ "cdr-popup--left": "cdr-popup--left_14-0-0-ts-0",
13
+ "cdr-popup--right": "cdr-popup--right_14-0-0-ts-0",
14
+ "cdr-popup--corner-top": "cdr-popup--corner-top_14-0-0-ts-0",
15
+ "cdr-popup--corner-bottom": "cdr-popup--corner-bottom_14-0-0-ts-0"
16
16
  };
17
17
  export {
18
18
  p as default
@@ -1,65 +1,9 @@
1
- import { defineComponent as d, computed as c, useCssModule as p, openBlock as t, createBlock as f, resolveDynamicComponent as y, normalizeClass as o, withCtx as C, createElementBlock as l, toDisplayString as m, createCommentVNode as n, renderSlot as g } from "vue";
2
- import $ from "../../utils/mapClasses.mjs";
3
- import u from "../../utils/propValidator.mjs";
4
- import k from "./styles/CdrQuote.module.scss.mjs";
5
- import q from "../../../_virtual/_plugin-vue_export-helper.mjs";
6
- const S = d({
7
- name: "CdrQuote",
8
- props: {
9
- /**
10
- * Sets the semantic HTML element for the quote.
11
- * @values blockquote, aside, q, div
12
- */
13
- tag: {
14
- type: String,
15
- default: "blockquote",
16
- validator: (s) => u(s, ["blockquote", "aside", "q", "div"])
17
- },
18
- /**
19
- * Modifies the style variant for the quote
20
- * @demoSelectMultiple true
21
- * @values pull
22
- */
23
- modifier: {
24
- type: String,
25
- default: "",
26
- validator: (s) => u(s, ["", "pull"])
27
- },
28
- /** Sets the quote body text. */
29
- summary: String,
30
- /** Sets the quote attribution text. */
31
- citation: String
32
- },
33
- setup(s) {
34
- const e = "cdr-quote", a = "cdr-quote__summary", r = "cdr-quote__citation", i = c(() => s.modifier && `${e}--${s.modifier}`);
35
- return {
36
- style: p(),
37
- mapClasses: $,
38
- baseClass: e,
39
- summaryClass: a,
40
- citationClass: r,
41
- modifierClass: i
42
- };
43
- }
44
- });
45
- function v(s, e, a, r, i, B) {
46
- return t(), f(y(s.tag), {
47
- class: o(s.mapClasses(s.style, s.baseClass, s.modifierClass))
48
- }, {
49
- default: C(() => [s.summary ? (t(), l("p", {
50
- key: 0,
51
- class: o(s.style[s.summaryClass])
52
- }, m(s.summary), 3)) : n("", !0), g(s.$slots, "default"), s.citation ? (t(), l("cite", {
53
- key: 1,
54
- class: o(s.style[s.citationClass]),
55
- tag: "cite"
56
- }, m(s.citation), 3)) : n("", !0)]),
57
- _: 3
58
- }, 8, ["class"]);
59
- }
60
- const b = {
61
- $style: k
62
- }, z = /* @__PURE__ */ q(S, [["render", v], ["__cssModules", b]]);
1
+ import o from "./CdrQuote.vue2.mjs";
2
+ import s from "./styles/CdrQuote.module.scss.mjs";
3
+ import t from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const r = {
5
+ $style: s
6
+ }, f = /* @__PURE__ */ t(o, [["__cssModules", r]]);
63
7
  export {
64
- z as default
8
+ f as default
65
9
  };
@@ -0,0 +1,51 @@
1
+ import { defineComponent as f, useCssModule as C, computed as y, openBlock as o, createBlock as p, resolveDynamicComponent as g, normalizeClass as s, unref as e, withCtx as k, createElementBlock as i, toDisplayString as c, createCommentVNode as l, renderSlot as q } from "vue";
2
+ import v from "../../utils/mapClasses.mjs";
3
+ import n from "../../utils/propValidator.mjs";
4
+ const m = "cdr-quote", S = "cdr-quote__summary", b = "cdr-quote__citation", D = /* @__PURE__ */ f({
5
+ name: "CdrQuote",
6
+ __name: "CdrQuote",
7
+ props: {
8
+ /**
9
+ * Sets the semantic HTML element for the quote.
10
+ * @values blockquote, aside, q, div
11
+ */
12
+ tag: {
13
+ type: String,
14
+ default: "blockquote",
15
+ validator: (t) => n(t, ["blockquote", "aside", "q", "div"])
16
+ },
17
+ /**
18
+ * Modifies the style variant for the quote
19
+ * @demoSelectMultiple true
20
+ * @values pull
21
+ */
22
+ modifier: {
23
+ type: String,
24
+ default: "",
25
+ validator: (t) => n(t, ["", "pull"])
26
+ },
27
+ /** Sets the quote body text. */
28
+ summary: String,
29
+ /** Sets the quote attribution text. */
30
+ citation: String
31
+ },
32
+ setup(t) {
33
+ const r = t, a = C(), u = y(() => r.modifier ? `${m}--${r.modifier}` : "");
34
+ return (d, B) => (o(), p(g(t.tag), {
35
+ class: s(e(v)(e(a), m, u.value))
36
+ }, {
37
+ default: k(() => [t.summary ? (o(), i("p", {
38
+ key: 0,
39
+ class: s(e(a)[S])
40
+ }, c(t.summary), 3)) : l("", !0), q(d.$slots, "default"), t.citation ? (o(), i("cite", {
41
+ key: 1,
42
+ class: s(e(a)[b]),
43
+ tag: "cite"
44
+ }, c(t.citation), 3)) : l("", !0)]),
45
+ _: 3
46
+ }, 8, ["class"]));
47
+ }
48
+ });
49
+ export {
50
+ D as default
51
+ };
@@ -1,8 +1,8 @@
1
1
  const t = {
2
- "cdr-text": "cdr-text_13-5-2",
3
- "cdr-quote": "cdr-quote_13-5-2",
4
- "cdr-quote__summary": "cdr-quote__summary_13-5-2",
5
- "cdr-quote--pull": "cdr-quote--pull_13-5-2"
2
+ "cdr-text": "cdr-text_14-0-0-ts-0",
3
+ "cdr-quote": "cdr-quote_14-0-0-ts-0",
4
+ "cdr-quote__summary": "cdr-quote__summary_14-0-0-ts-0",
5
+ "cdr-quote--pull": "cdr-quote--pull_14-0-0-ts-0"
6
6
  };
7
7
  export {
8
8
  t as default
@@ -1,118 +1,9 @@
1
- import { defineComponent as i, computed as d, useCssModule as u, resolveComponent as m, openBlock as p, createBlock as c, normalizeClass as b, withCtx as t, withDirectives as f, createElementVNode as C, mergeProps as g, vModelRadio as y, renderSlot as S } from "vue";
2
- import V from "../../utils/propValidator.mjs";
3
- import $ from "../labelWrapper/CdrLabelWrapper.vue.mjs";
4
- import k from "../../props/size.mjs";
5
- import v from "../../props/background.mjs";
6
- import M from "./styles/CdrRadio.module.scss.mjs";
7
- import z from "../../../_virtual/_plugin-vue_export-helper.mjs";
8
- const h = i({
9
- name: "CdrRadio",
10
- components: {
11
- CdrLabelWrapper: $
12
- },
13
- inheritAttrs: !1,
14
- customOptions: {},
15
- props: {
16
- /**
17
- * Adds CSS class to the label for custom styles.
18
- */
19
- labelClass: String,
20
- /**
21
- * Adds CSS class to the input for custom styles.
22
- */
23
- inputClass: String,
24
- /**
25
- * Adds CSS class to the slot wrapper for custom styles.
26
- */
27
- contentClass: String,
28
- /**
29
- * Sets the name of the radio button.
30
- */
31
- name: {
32
- type: String,
33
- required: !0
34
- },
35
- /**
36
- * Modifies the style variants for this component
37
- * @demoSelectMultiple true
38
- * @values hide-figure
39
- */
40
- modifier: {
41
- type: String,
42
- default: "",
43
- validator: (e) => V(e, ["", "hide-figure"])
44
- },
45
- /**
46
- * Sets the radio size; values can target responsive breakpoints. Example `small@lg`
47
- * @demoSelectMultiple false
48
- * @values small, medium, large
49
- */
50
- size: k,
51
- /**
52
- * Sets the background color the radio button is rendered on
53
- * @values primary, secondary
54
- */
55
- background: v,
56
- /**
57
- * Sets the value of the radio.
58
- */
59
- customValue: {
60
- type: [String, Number, Boolean, Object, Array, Symbol, Function]
61
- },
62
- /** @ignore v-model binding */
63
- modelValue: {
64
- type: [String, Number, Boolean, Object, Array, Symbol, Function]
65
- }
66
- },
67
- emits: {
68
- /**
69
- * Event emitted by v-model on the radio's <input> element
70
- * @param modelValue
71
- */
72
- "update:modelValue": null
73
- },
74
- setup(e, o) {
75
- const s = "cdr-radio", r = d({
76
- get() {
77
- return e.modelValue;
78
- },
79
- set(a) {
80
- o.emit("update:modelValue", a);
81
- }
82
- });
83
- return {
84
- style: u(),
85
- baseClass: s,
86
- radioModel: r
87
- };
88
- }
89
- }), w = ["name", "value"];
90
- function B(e, o, s, r, a, A) {
91
- const l = m("cdr-label-wrapper");
92
- return p(), c(l, {
93
- class: b(e.style[e.baseClass]),
94
- size: e.size,
95
- modifier: e.modifier,
96
- "label-class": e.labelClass,
97
- "content-class": e.contentClass,
98
- background: e.background,
99
- disabled: e.$attrs.disabled
100
- }, {
101
- input: t(() => [f(C("input", g({
102
- class: [e.style["cdr-radio__input"], e.inputClass],
103
- type: "radio",
104
- name: e.name,
105
- value: e.customValue
106
- }, e.$attrs, {
107
- "onUpdate:modelValue": o[0] || (o[0] = (n) => e.radioModel = n)
108
- }), null, 16, w), [[y, e.radioModel]])]),
109
- default: t(() => [S(e.$slots, "default")]),
110
- _: 3
111
- }, 8, ["class", "size", "modifier", "label-class", "content-class", "background", "disabled"]);
112
- }
113
- const P = {
114
- $style: M
115
- }, E = /* @__PURE__ */ z(h, [["render", B], ["__cssModules", P]]);
1
+ import o from "./CdrRadio.vue2.mjs";
2
+ import s from "./styles/CdrRadio.module.scss.mjs";
3
+ import t from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const r = {
5
+ $style: s
6
+ }, f = /* @__PURE__ */ t(o, [["__cssModules", r]]);
116
7
  export {
117
- E as default
8
+ f as default
118
9
  };
@@ -0,0 +1,108 @@
1
+ import { defineComponent as u, useCssModule as m, computed as c, openBlock as b, createBlock as f, normalizeClass as g, unref as i, withCtx as s, withDirectives as p, createElementVNode as C, mergeProps as y, vModelRadio as S, renderSlot as v } from "vue";
2
+ import V from "../../utils/propValidator.mjs";
3
+ import k from "../labelWrapper/CdrLabelWrapper.vue.mjs";
4
+ import z from "../../props/size.mjs";
5
+ import B from "../../props/background.mjs";
6
+ const h = ["name", "value", "disabled"], P = "cdr-radio", j = /* @__PURE__ */ u({
7
+ name: "CdrRadio",
8
+ inheritAttrs: !1,
9
+ customOptions: {},
10
+ __name: "CdrRadio",
11
+ props: {
12
+ /**
13
+ * Adds CSS class to the label for custom styles.
14
+ */
15
+ labelClass: String,
16
+ /**
17
+ * Adds CSS class to the input for custom styles.
18
+ */
19
+ inputClass: String,
20
+ /**
21
+ * Adds CSS class to the slot wrapper for custom styles.
22
+ */
23
+ contentClass: String,
24
+ /** Disables the radio */
25
+ disabled: Boolean,
26
+ /**
27
+ * Sets the name of the radio button.
28
+ */
29
+ name: {
30
+ type: String,
31
+ required: !0
32
+ },
33
+ /**
34
+ * Modifies the style variants for this component
35
+ * @demoSelectMultiple true
36
+ * @values hide-figure
37
+ */
38
+ modifier: {
39
+ type: String,
40
+ default: "",
41
+ validator: (e) => V(e, ["", "hide-figure"])
42
+ },
43
+ /**
44
+ * Sets the radio size; values can target responsive breakpoints. Example `small@lg`
45
+ * @demoSelectMultiple false
46
+ * @values small, medium, large
47
+ */
48
+ size: z,
49
+ /**
50
+ * Sets the background color the radio button is rendered on
51
+ * @values primary, secondary
52
+ */
53
+ background: B,
54
+ /**
55
+ * Sets the value of the radio.
56
+ */
57
+ customValue: {
58
+ type: [String, Number, Boolean, Object, Array, Symbol, Function]
59
+ },
60
+ /** @ignore v-model binding */
61
+ modelValue: {
62
+ type: [String, Number, Boolean, Object, Array, Symbol, Function]
63
+ }
64
+ },
65
+ emits: {
66
+ /**
67
+ * Event emitted by v-model on the radio's <input> element
68
+ * @param modelValue
69
+ */
70
+ "update:modelValue": null
71
+ },
72
+ setup(e, {
73
+ emit: r
74
+ }) {
75
+ const n = e, t = m(), l = c({
76
+ get() {
77
+ return n.modelValue;
78
+ },
79
+ set(a) {
80
+ r("update:modelValue", a);
81
+ }
82
+ });
83
+ return (a, o) => (b(), f(k, {
84
+ class: g(i(t)[P]),
85
+ size: e.size,
86
+ modifier: e.modifier,
87
+ "label-class": e.labelClass,
88
+ "content-class": e.contentClass,
89
+ background: e.background,
90
+ disabled: e.disabled
91
+ }, {
92
+ input: s(() => [p(C("input", y({
93
+ class: [i(t)["cdr-radio__input"], e.inputClass],
94
+ type: "radio",
95
+ name: e.name,
96
+ value: e.customValue
97
+ }, a.$attrs, {
98
+ disabled: e.disabled,
99
+ "onUpdate:modelValue": o[0] || (o[0] = (d) => l.value = d)
100
+ }), null, 16, h), [[S, l.value]])]),
101
+ default: s(() => [v(a.$slots, "default")]),
102
+ _: 3
103
+ }, 8, ["class", "size", "modifier", "label-class", "content-class", "background", "disabled"]));
104
+ }
105
+ });
106
+ export {
107
+ j as default
108
+ };
@@ -1,29 +1,29 @@
1
1
  const r = {
2
- "cdr-label-wrapper": "cdr-label-wrapper_13-5-2",
3
- "cdr-label-wrapper__container": "cdr-label-wrapper__container_13-5-2",
4
- "cdr-label-wrapper--primary": "cdr-label-wrapper--primary_13-5-2",
5
- "cdr-label-wrapper--secondary": "cdr-label-wrapper--secondary_13-5-2",
6
- "cdr-label-wrapper--disabled": "cdr-label-wrapper--disabled_13-5-2",
7
- "cdr-label-wrapper__figure": "cdr-label-wrapper__figure_13-5-2",
8
- "cdr-label-wrapper__content": "cdr-label-wrapper__content_13-5-2",
9
- "cdr-label-wrapper--hide-figure": "cdr-label-wrapper--hide-figure_13-5-2",
10
- "cdr-label-wrapper--small": "cdr-label-wrapper--small_13-5-2",
11
- "cdr-label-wrapper--medium": "cdr-label-wrapper--medium_13-5-2",
12
- "cdr-label-wrapper--large": "cdr-label-wrapper--large_13-5-2",
13
- "cdr-label-wrapper--small@xs": "cdr-label-wrapper--small@xs_13-5-2",
14
- "cdr-label-wrapper--medium@xs": "cdr-label-wrapper--medium@xs_13-5-2",
15
- "cdr-label-wrapper--large@xs": "cdr-label-wrapper--large@xs_13-5-2",
16
- "cdr-label-wrapper--small@sm": "cdr-label-wrapper--small@sm_13-5-2",
17
- "cdr-label-wrapper--medium@sm": "cdr-label-wrapper--medium@sm_13-5-2",
18
- "cdr-label-wrapper--large@sm": "cdr-label-wrapper--large@sm_13-5-2",
19
- "cdr-label-wrapper--small@md": "cdr-label-wrapper--small@md_13-5-2",
20
- "cdr-label-wrapper--medium@md": "cdr-label-wrapper--medium@md_13-5-2",
21
- "cdr-label-wrapper--large@md": "cdr-label-wrapper--large@md_13-5-2",
22
- "cdr-label-wrapper--small@lg": "cdr-label-wrapper--small@lg_13-5-2",
23
- "cdr-label-wrapper--medium@lg": "cdr-label-wrapper--medium@lg_13-5-2",
24
- "cdr-label-wrapper--large@lg": "cdr-label-wrapper--large@lg_13-5-2",
25
- "cdr-radio": "cdr-radio_13-5-2",
26
- "cdr-radio__input": "cdr-radio__input_13-5-2"
2
+ "cdr-label-wrapper": "cdr-label-wrapper_14-0-0-ts-0",
3
+ "cdr-label-wrapper__container": "cdr-label-wrapper__container_14-0-0-ts-0",
4
+ "cdr-label-wrapper--primary": "cdr-label-wrapper--primary_14-0-0-ts-0",
5
+ "cdr-label-wrapper--secondary": "cdr-label-wrapper--secondary_14-0-0-ts-0",
6
+ "cdr-label-wrapper--disabled": "cdr-label-wrapper--disabled_14-0-0-ts-0",
7
+ "cdr-label-wrapper__figure": "cdr-label-wrapper__figure_14-0-0-ts-0",
8
+ "cdr-label-wrapper__content": "cdr-label-wrapper__content_14-0-0-ts-0",
9
+ "cdr-label-wrapper--hide-figure": "cdr-label-wrapper--hide-figure_14-0-0-ts-0",
10
+ "cdr-label-wrapper--small": "cdr-label-wrapper--small_14-0-0-ts-0",
11
+ "cdr-label-wrapper--medium": "cdr-label-wrapper--medium_14-0-0-ts-0",
12
+ "cdr-label-wrapper--large": "cdr-label-wrapper--large_14-0-0-ts-0",
13
+ "cdr-label-wrapper--small@xs": "cdr-label-wrapper--small@xs_14-0-0-ts-0",
14
+ "cdr-label-wrapper--medium@xs": "cdr-label-wrapper--medium@xs_14-0-0-ts-0",
15
+ "cdr-label-wrapper--large@xs": "cdr-label-wrapper--large@xs_14-0-0-ts-0",
16
+ "cdr-label-wrapper--small@sm": "cdr-label-wrapper--small@sm_14-0-0-ts-0",
17
+ "cdr-label-wrapper--medium@sm": "cdr-label-wrapper--medium@sm_14-0-0-ts-0",
18
+ "cdr-label-wrapper--large@sm": "cdr-label-wrapper--large@sm_14-0-0-ts-0",
19
+ "cdr-label-wrapper--small@md": "cdr-label-wrapper--small@md_14-0-0-ts-0",
20
+ "cdr-label-wrapper--medium@md": "cdr-label-wrapper--medium@md_14-0-0-ts-0",
21
+ "cdr-label-wrapper--large@md": "cdr-label-wrapper--large@md_14-0-0-ts-0",
22
+ "cdr-label-wrapper--small@lg": "cdr-label-wrapper--small@lg_14-0-0-ts-0",
23
+ "cdr-label-wrapper--medium@lg": "cdr-label-wrapper--medium@lg_14-0-0-ts-0",
24
+ "cdr-label-wrapper--large@lg": "cdr-label-wrapper--large@lg_14-0-0-ts-0",
25
+ "cdr-radio": "cdr-radio_14-0-0-ts-0",
26
+ "cdr-radio__input": "cdr-radio__input_14-0-0-ts-0"
27
27
  };
28
28
  export {
29
29
  r as default
@@ -1,108 +1,9 @@
1
- import { defineComponent as p, computed as t, useCssModule as _, openBlock as r, createBlock as b, resolveDynamicComponent as z, normalizeClass as n, withCtx as M, createElementVNode as u, createElementBlock as s, Fragment as v, renderList as C, createCommentVNode as l, toDisplayString as d } from "vue";
2
- import R from "../../utils/propValidator.mjs";
3
- import N from "../../utils/mapClasses.mjs";
4
- import S from "./styles/CdrRating.module.scss.mjs";
5
- import B from "../../../_virtual/_plugin-vue_export-helper.mjs";
6
- const V = p({
7
- name: "CdrRating",
8
- props: {
9
- /**
10
- * Sets the rating values between 0 and 5.
11
- */
12
- rating: {
13
- required: !0,
14
- type: [String, Number],
15
- default: 0
16
- },
17
- /**
18
- * Sets the total number of ratings
19
- */
20
- count: {
21
- required: !1,
22
- type: [String, Number],
23
- default: null
24
- },
25
- /**
26
- * Hides the word 'reviews' if true
27
- */
28
- compact: {
29
- type: Boolean,
30
- default: !1
31
- },
32
- /**
33
- * Sets the rating component (icons and text) to display inline and wraps them in an anchor tag so they can act as link.
34
- */
35
- href: {
36
- type: String
37
- },
38
- /**
39
- * Sets the rating size.
40
- * @demoSelectMultiple false
41
- * @values small, medium, large
42
- */
43
- size: {
44
- type: String,
45
- default: "medium",
46
- validator: (e) => R(e, ["small", "medium", "large"])
47
- }
48
- },
49
- setup(e) {
50
- const i = "cdr-rating", c = t(() => e.size && `${i}--${e.size}`), m = t(() => e.href && `${i}--linked`), f = t(() => e.rounded > 0 || e.count > 0 ? "cdr-rating__placeholder" : "cdr-rating__placeholder--no-reviews"), g = t(() => e.href ? "a" : "div"), a = t(() => (Math.round(e.rating * 10) / 10).toFixed(1)), o = t(() => Math.round(e.rating * 4) / 4), y = t(() => Math.floor(o.value)), h = t(() => o.value.toFixed(2).split(".")[1]), $ = t(() => 5 - y.value - (h.value > 0 ? 1 : 0)), w = t(() => e.compact ? `(${e.count})` : `${e.count}`), k = t(() => e.href ? e.count === 0 || e.count === "0" ? "No reviews yet; be the first!" : e.count === null ? `View the reviews with an average rating of ${a.value} out of 5 stars` : `View the ${e.count} reviews with an average rating of ${a.value} out of 5 stars` : e.count === 0 || e.count === "0" ? "0 reviews" : e.count === null ? `Rated ${a.value} out of 5 stars` : `${e.count} reviews with an average rating of ${a.value} out of 5 stars`);
51
- return {
52
- style: _(),
53
- mapClasses: N,
54
- baseClass: i,
55
- sizeClass: c,
56
- linkedClass: m,
57
- emptyClass: f,
58
- empties: $,
59
- formattedCount: w,
60
- srText: k,
61
- tag: g,
62
- displayRating: a,
63
- whole: y,
64
- remainder: h,
65
- rounded: o
66
- };
67
- }
68
- }), F = {
69
- key: 1
70
- };
71
- function q(e, i, c, m, f, g) {
72
- return r(), b(z(e.tag), {
73
- href: e.href,
74
- class: n(e.mapClasses(e.style, e.baseClass, e.sizeClass, e.linkedClass))
75
- }, {
76
- default: M(() => [u("div", {
77
- class: n(e.style["cdr-rating__ratings"])
78
- }, [(r(!0), s(v, null, C(Array(e.whole).keys(), (a) => (r(), s("span", {
79
- class: n(e.mapClasses(e.style, "cdr-rating__icon", "cdr-rating__100")),
80
- key: `rating-whole-${a}`,
81
- "aria-hidden": "true"
82
- }, null, 2))), 128)), e.remainder !== "00" ? (r(), s("span", {
83
- key: 0,
84
- class: n(e.mapClasses(e.style, "cdr-rating__icon", `cdr-rating__${e.remainder}`)),
85
- "aria-hidden": "true"
86
- }, null, 2)) : l("", !0), (r(!0), s(v, null, C(Array(e.empties).keys(), (a) => (r(), s("span", {
87
- class: n(e.mapClasses(e.style, "cdr-rating__icon", e.emptyClass)),
88
- key: `rating-empty-${a}`,
89
- "aria-hidden": "true"
90
- }, null, 2))), 128))], 2), e.count !== null ? (r(), s("span", {
91
- key: 0,
92
- "aria-hidden": "true",
93
- class: n(e.style["cdr-rating__count"])
94
- }, [e.href ? (r(), s("span", {
95
- key: 0,
96
- class: n(e.style["cdr-rating__number"])
97
- }, d(e.displayRating), 3)) : l("", !0), u("span", null, d(e.formattedCount), 1), e.compact ? l("", !0) : (r(), s("span", F, "  Reviews "))], 2)) : l("", !0), u("span", {
98
- class: n(e.style["cdr-rating__caption-sr"])
99
- }, d(e.srText), 3)]),
100
- _: 1
101
- }, 8, ["href", "class"]);
102
- }
103
- const A = {
104
- $style: S
105
- }, j = /* @__PURE__ */ B(V, [["render", q], ["__cssModules", A]]);
1
+ import s from "./CdrRating.vue2.mjs";
2
+ import o from "./styles/CdrRating.module.scss.mjs";
3
+ import t from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const r = {
5
+ $style: o
6
+ }, f = /* @__PURE__ */ t(s, [["__cssModules", r]]);
106
7
  export {
107
- j as default
8
+ f as default
108
9
  };