bonkers-ui 1.0.60 → 1.0.62

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 (517) hide show
  1. package/.eslintrc.js +1 -0
  2. package/CONSTANTS.d.ts +1 -0
  3. package/_types/align.js +5 -0
  4. package/_types/align.js.map +1 -0
  5. package/_types/colors.js +5 -0
  6. package/_types/colors.js.map +1 -0
  7. package/_types/sizing.js +5 -0
  8. package/_types/sizing.js.map +1 -0
  9. package/_virtual/_plugin-vue_export-helper.js +10 -0
  10. package/_virtual/_plugin-vue_export-helper.js.map +1 -0
  11. package/bonkers-ui.umd.js +12 -0
  12. package/bonkers-ui.umd.js.map +1 -0
  13. package/components/ui-alert/_types.d.ts +6 -0
  14. package/components/ui-alert/_types.js +5 -0
  15. package/components/ui-alert/_types.js.map +1 -0
  16. package/components/ui-alert/index.d.ts +92 -0
  17. package/components/ui-alert/index.js +9 -0
  18. package/components/ui-alert/index.js.map +1 -0
  19. package/components/ui-alert/ui-alert.vue.d.ts +27 -0
  20. package/components/ui-alert/ui-alert.vue.js +47 -0
  21. package/components/ui-alert/ui-alert.vue.js.map +1 -0
  22. package/components/ui-alert/ui-alert.vue2.js +5 -0
  23. package/components/ui-alert/ui-alert.vue2.js.map +1 -0
  24. package/components/ui-badge/_typings.d.ts +10 -0
  25. package/components/ui-badge/_typings.js +6 -0
  26. package/components/ui-badge/_typings.js.map +1 -0
  27. package/components/ui-badge/index.d.ts +114 -0
  28. package/components/ui-badge/index.js +10 -0
  29. package/components/ui-badge/index.js.map +1 -0
  30. package/components/ui-badge/ui-badge.vue.d.ts +31 -0
  31. package/components/ui-badge/ui-badge.vue.js +62 -0
  32. package/components/ui-badge/ui-badge.vue.js.map +1 -0
  33. package/components/ui-badge/ui-badge.vue2.js +5 -0
  34. package/components/ui-badge/ui-badge.vue2.js.map +1 -0
  35. package/components/ui-ber-rank/_types.d.ts +61 -0
  36. package/components/ui-ber-rank/_types.js +74 -0
  37. package/components/ui-ber-rank/_types.js.map +1 -0
  38. package/components/ui-ber-rank/index.d.ts +30 -0
  39. package/components/ui-ber-rank/index.js +10 -0
  40. package/components/ui-ber-rank/index.js.map +1 -0
  41. package/components/ui-ber-rank/ui-ber-rank.vue.d.ts +33 -0
  42. package/components/ui-ber-rank/ui-ber-rank.vue.js +101 -0
  43. package/components/ui-ber-rank/ui-ber-rank.vue.js.map +1 -0
  44. package/components/ui-ber-rank/ui-ber-rank.vue3.js +6 -0
  45. package/components/ui-ber-rank/ui-ber-rank.vue3.js.map +1 -0
  46. package/components/ui-button/_typings.d.ts +17 -0
  47. package/components/ui-button/_typings.js +6 -0
  48. package/components/ui-button/_typings.js.map +1 -0
  49. package/components/ui-button/index.d.ts +146 -0
  50. package/components/ui-button/index.js +10 -0
  51. package/components/ui-button/index.js.map +1 -0
  52. package/components/ui-button/ui-button.vue.d.ts +51 -0
  53. package/components/ui-button/ui-button.vue.js +51 -0
  54. package/components/ui-button/ui-button.vue.js.map +1 -0
  55. package/components/ui-button/ui-button.vue2.js +5 -0
  56. package/components/ui-button/ui-button.vue2.js.map +1 -0
  57. package/components/ui-card-cta/index.d.ts +127 -0
  58. package/components/ui-card-cta/index.js +7 -0
  59. package/components/ui-card-cta/index.js.map +1 -0
  60. package/components/ui-card-cta/ui-card-cta.vue.d.ts +34 -0
  61. package/components/ui-card-cta/ui-card-cta.vue.js +76 -0
  62. package/components/ui-card-cta/ui-card-cta.vue.js.map +1 -0
  63. package/components/ui-card-cta/ui-card-cta.vue2.js +5 -0
  64. package/components/ui-card-cta/ui-card-cta.vue2.js.map +1 -0
  65. package/components/ui-card-result/index.d.ts +125 -0
  66. package/components/ui-card-result/index.js +7 -0
  67. package/components/ui-card-result/index.js.map +1 -0
  68. package/components/ui-card-result/ui-card-result.vue.d.ts +32 -0
  69. package/components/ui-card-result/ui-card-result.vue.js +8 -0
  70. package/components/ui-card-result/ui-card-result.vue.js.map +1 -0
  71. package/components/ui-card-result/ui-card-result.vue2.js +82 -0
  72. package/components/ui-card-result/ui-card-result.vue2.js.map +1 -0
  73. package/components/ui-card-simple/index.d.ts +56 -0
  74. package/components/ui-card-simple/index.js +7 -0
  75. package/components/ui-card-simple/index.js.map +1 -0
  76. package/components/ui-card-simple/ui-card-simple.vue.d.ts +12 -0
  77. package/components/ui-card-simple/ui-card-simple.vue.js +36 -0
  78. package/components/ui-card-simple/ui-card-simple.vue.js.map +1 -0
  79. package/components/ui-card-simple/ui-card-simple.vue2.js +5 -0
  80. package/components/ui-card-simple/ui-card-simple.vue2.js.map +1 -0
  81. package/components/ui-checkbox/index.d.ts +142 -0
  82. package/components/ui-checkbox/index.js +7 -0
  83. package/components/ui-checkbox/index.js.map +1 -0
  84. package/components/ui-checkbox/ui-checkbox.vue.d.ts +36 -0
  85. package/components/ui-checkbox/ui-checkbox.vue.js +8 -0
  86. package/components/ui-checkbox/ui-checkbox.vue.js.map +1 -0
  87. package/components/ui-checkbox/ui-checkbox.vue2.js +74 -0
  88. package/components/ui-checkbox/ui-checkbox.vue2.js.map +1 -0
  89. package/components/ui-dropdown/_typings.d.ts +4 -0
  90. package/components/ui-dropdown/_typings.js +5 -0
  91. package/components/ui-dropdown/_typings.js.map +1 -0
  92. package/components/ui-dropdown/index.d.ts +148 -0
  93. package/components/ui-dropdown/index.js +9 -0
  94. package/components/ui-dropdown/index.js.map +1 -0
  95. package/components/ui-dropdown/ui-dropdown.vue.d.ts +50 -0
  96. package/components/ui-dropdown/ui-dropdown.vue.js +82 -0
  97. package/components/ui-dropdown/ui-dropdown.vue.js.map +1 -0
  98. package/components/ui-dropdown/ui-dropdown.vue2.js +5 -0
  99. package/components/ui-dropdown/ui-dropdown.vue2.js.map +1 -0
  100. package/components/ui-icon/_typings.d.ts +10 -0
  101. package/components/ui-icon/_typings.js +5 -0
  102. package/components/ui-icon/_typings.js.map +1 -0
  103. package/components/ui-icon/index.d.ts +33 -0
  104. package/components/ui-icon/index.js +11 -0
  105. package/components/ui-icon/index.js.map +1 -0
  106. package/components/ui-icon/ui-icon.vue.d.ts +34 -0
  107. package/components/ui-icon/ui-icon.vue.js +30 -0
  108. package/components/ui-icon/ui-icon.vue.js.map +1 -0
  109. package/components/ui-icon/ui-icon.vue2.js +5 -0
  110. package/components/ui-icon/ui-icon.vue2.js.map +1 -0
  111. package/components/ui-icon-wrapper/_typings.d.ts +11 -0
  112. package/components/ui-icon-wrapper/_typings.js +6 -0
  113. package/components/ui-icon-wrapper/_typings.js.map +1 -0
  114. package/components/ui-icon-wrapper/index.d.ts +104 -0
  115. package/components/ui-icon-wrapper/index.js +10 -0
  116. package/components/ui-icon-wrapper/index.js.map +1 -0
  117. package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts +41 -0
  118. package/components/ui-icon-wrapper/ui-icon-wrapper.vue.js +8 -0
  119. package/components/ui-icon-wrapper/ui-icon-wrapper.vue.js.map +1 -0
  120. package/components/ui-icon-wrapper/ui-icon-wrapper.vue2.js +28 -0
  121. package/components/ui-icon-wrapper/ui-icon-wrapper.vue2.js.map +1 -0
  122. package/components/ui-input/_typings.d.ts +70 -0
  123. package/components/ui-input/_typings.js +7 -0
  124. package/components/ui-input/_typings.js.map +1 -0
  125. package/components/ui-input/index.d.ts +337 -0
  126. package/components/ui-input/index.js +11 -0
  127. package/components/ui-input/index.js.map +1 -0
  128. package/components/ui-input/ui-input.vue.d.ts +102 -0
  129. package/components/ui-input/ui-input.vue.js +97 -0
  130. package/components/ui-input/ui-input.vue.js.map +1 -0
  131. package/components/ui-input/ui-input.vue2.js +5 -0
  132. package/components/ui-input/ui-input.vue2.js.map +1 -0
  133. package/components/ui-input-range/index.d.ts +46 -0
  134. package/components/ui-input-range/index.js +7 -0
  135. package/components/ui-input-range/index.js.map +1 -0
  136. package/components/ui-input-range/ui-input-range.vue.d.ts +26 -0
  137. package/components/ui-input-range/ui-input-range.vue.js +8 -0
  138. package/components/ui-input-range/ui-input-range.vue.js.map +1 -0
  139. package/components/ui-input-range/ui-input-range.vue2.js +71 -0
  140. package/components/ui-input-range/ui-input-range.vue2.js.map +1 -0
  141. package/components/ui-list-item/_types.d.ts +12 -0
  142. package/components/ui-list-item/_types.js +7 -0
  143. package/components/ui-list-item/_types.js.map +1 -0
  144. package/components/ui-list-item/index.d.ts +186 -0
  145. package/components/ui-list-item/index.js +11 -0
  146. package/components/ui-list-item/index.js.map +1 -0
  147. package/components/ui-list-item/ui-list-item.vue.d.ts +65 -0
  148. package/components/ui-list-item/ui-list-item.vue.js +65 -0
  149. package/components/ui-list-item/ui-list-item.vue.js.map +1 -0
  150. package/components/ui-list-item/ui-list-item.vue2.js +5 -0
  151. package/components/ui-list-item/ui-list-item.vue2.js.map +1 -0
  152. package/components/ui-modal/_typings.d.ts +6 -0
  153. package/components/ui-modal/_typings.js +5 -0
  154. package/components/ui-modal/_typings.js.map +1 -0
  155. package/components/ui-modal/index.d.ts +107 -0
  156. package/components/ui-modal/index.js +9 -0
  157. package/components/ui-modal/index.js.map +1 -0
  158. package/components/ui-modal/ui-backdrop/index.d.ts +54 -0
  159. package/components/ui-modal/ui-backdrop/index.js +7 -0
  160. package/components/ui-modal/ui-backdrop/index.js.map +1 -0
  161. package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts +10 -0
  162. package/components/ui-modal/ui-backdrop/ui-backdrop.vue.js +15 -0
  163. package/components/ui-modal/ui-backdrop/ui-backdrop.vue.js.map +1 -0
  164. package/components/ui-modal/ui-modal.vue.d.ts +46 -0
  165. package/components/ui-modal/ui-modal.vue.js +8 -0
  166. package/components/ui-modal/ui-modal.vue.js.map +1 -0
  167. package/components/ui-modal/ui-modal.vue2.js +65 -0
  168. package/components/ui-modal/ui-modal.vue2.js.map +1 -0
  169. package/components/ui-notification-badge/_types.d.ts +10 -0
  170. package/components/ui-notification-badge/_types.js +5 -0
  171. package/components/ui-notification-badge/_types.js.map +1 -0
  172. package/components/ui-notification-badge/index.d.ts +84 -0
  173. package/components/ui-notification-badge/index.js +10 -0
  174. package/components/ui-notification-badge/index.js.map +1 -0
  175. package/components/ui-notification-badge/ui-notification-badge.vue.d.ts +38 -0
  176. package/components/ui-notification-badge/ui-notification-badge.vue.js +22 -0
  177. package/components/ui-notification-badge/ui-notification-badge.vue.js.map +1 -0
  178. package/components/ui-notification-badge/ui-notification-badge.vue3.js +6 -0
  179. package/components/ui-notification-badge/ui-notification-badge.vue3.js.map +1 -0
  180. package/components/ui-order-card/_types.d.ts +4 -0
  181. package/components/ui-order-card/_types.js +5 -0
  182. package/components/ui-order-card/_types.js.map +1 -0
  183. package/components/ui-order-card/index.d.ts +103 -0
  184. package/components/ui-order-card/index.js +7 -0
  185. package/components/ui-order-card/index.js.map +1 -0
  186. package/components/ui-order-card/ui-order-card.vue.d.ts +43 -0
  187. package/components/ui-order-card/ui-order-card.vue.js +86 -0
  188. package/components/ui-order-card/ui-order-card.vue.js.map +1 -0
  189. package/components/ui-order-card/ui-order-card.vue2.js +5 -0
  190. package/components/ui-order-card/ui-order-card.vue2.js.map +1 -0
  191. package/components/ui-plain-radio/index.d.ts +163 -0
  192. package/components/ui-plain-radio/index.js +7 -0
  193. package/components/ui-plain-radio/index.js.map +1 -0
  194. package/components/ui-plain-radio/ui-plain-radio.vue.d.ts +38 -0
  195. package/components/ui-plain-radio/ui-plain-radio.vue.js +85 -0
  196. package/components/ui-plain-radio/ui-plain-radio.vue.js.map +1 -0
  197. package/components/ui-plain-radio/ui-plain-radio.vue2.js +5 -0
  198. package/components/ui-plain-radio/ui-plain-radio.vue2.js.map +1 -0
  199. package/components/ui-progress/_types.d.ts +1 -0
  200. package/components/ui-progress/index.d.ts +44 -0
  201. package/components/ui-progress/index.js +7 -0
  202. package/components/ui-progress/index.js.map +1 -0
  203. package/components/ui-progress/ui-progress.vue.d.ts +40 -0
  204. package/components/ui-progress/ui-progress.vue.js +26 -0
  205. package/components/ui-progress/ui-progress.vue.js.map +1 -0
  206. package/components/ui-progress/ui-progress.vue2.js +5 -0
  207. package/components/ui-progress/ui-progress.vue2.js.map +1 -0
  208. package/components/ui-radio/index.d.ts +163 -0
  209. package/components/ui-radio/index.js +7 -0
  210. package/components/ui-radio/index.js.map +1 -0
  211. package/components/ui-radio/ui-radio.vue.d.ts +38 -0
  212. package/components/ui-radio/ui-radio.vue.js +8 -0
  213. package/components/ui-radio/ui-radio.vue.js.map +1 -0
  214. package/components/ui-radio/ui-radio.vue2.js +58 -0
  215. package/components/ui-radio/ui-radio.vue2.js.map +1 -0
  216. package/components/ui-radio-compact/index.d.ts +136 -0
  217. package/components/ui-radio-compact/index.js +7 -0
  218. package/components/ui-radio-compact/index.js.map +1 -0
  219. package/components/ui-radio-compact/ui-radio-compact.vue.d.ts +33 -0
  220. package/components/ui-radio-compact/ui-radio-compact.vue.js +52 -0
  221. package/components/ui-radio-compact/ui-radio-compact.vue.js.map +1 -0
  222. package/components/ui-radio-compact/ui-radio-compact.vue2.js +5 -0
  223. package/components/ui-radio-compact/ui-radio-compact.vue2.js.map +1 -0
  224. package/components/ui-radio-fancy/_typings.d.ts +5 -0
  225. package/components/ui-radio-fancy/_typings.js +5 -0
  226. package/components/ui-radio-fancy/_typings.js.map +1 -0
  227. package/components/ui-radio-fancy/index.d.ts +181 -0
  228. package/components/ui-radio-fancy/index.js +7 -0
  229. package/components/ui-radio-fancy/index.js.map +1 -0
  230. package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts +56 -0
  231. package/components/ui-radio-fancy/ui-radio-fancy.vue.js +86 -0
  232. package/components/ui-radio-fancy/ui-radio-fancy.vue.js.map +1 -0
  233. package/components/ui-radio-fancy/ui-radio-fancy.vue2.js +5 -0
  234. package/components/ui-radio-fancy/ui-radio-fancy.vue2.js.map +1 -0
  235. package/components/ui-result-card-range/_types.d.ts +7 -0
  236. package/components/ui-result-card-range/index.d.ts +112 -0
  237. package/components/ui-result-card-range/index.js +7 -0
  238. package/components/ui-result-card-range/index.js.map +1 -0
  239. package/components/ui-result-card-range/ui-result-card-range.vue.d.ts +30 -0
  240. package/components/ui-result-card-range/ui-result-card-range.vue.js +41 -0
  241. package/components/ui-result-card-range/ui-result-card-range.vue.js.map +1 -0
  242. package/components/ui-result-card-range/ui-result-card-range.vue2.js +5 -0
  243. package/components/ui-result-card-range/ui-result-card-range.vue2.js.map +1 -0
  244. package/components/ui-ripple/index.d.ts +54 -0
  245. package/components/ui-ripple/index.js +8 -0
  246. package/components/ui-ripple/index.js.map +1 -0
  247. package/components/ui-ripple/ui-ripple.vue.d.ts +10 -0
  248. package/components/ui-ripple/ui-ripple.vue.js +52 -0
  249. package/components/ui-ripple/ui-ripple.vue.js.map +1 -0
  250. package/components/ui-ripple/ui-ripple.vue3.js +6 -0
  251. package/components/ui-ripple/ui-ripple.vue3.js.map +1 -0
  252. package/components/ui-select/index.d.ts +131 -0
  253. package/components/ui-select/index.js +7 -0
  254. package/components/ui-select/index.js.map +1 -0
  255. package/components/ui-select/ui-select.vue.d.ts +36 -0
  256. package/components/ui-select/ui-select.vue.js +83 -0
  257. package/components/ui-select/ui-select.vue.js.map +1 -0
  258. package/components/ui-select/ui-select.vue2.js +5 -0
  259. package/components/ui-select/ui-select.vue2.js.map +1 -0
  260. package/components/ui-skeleton/_typings.d.ts +4 -0
  261. package/components/ui-skeleton/_typings.js +5 -0
  262. package/components/ui-skeleton/_typings.js.map +1 -0
  263. package/components/ui-skeleton/index.d.ts +21 -0
  264. package/components/ui-skeleton/index.js +7 -0
  265. package/components/ui-skeleton/index.js.map +1 -0
  266. package/components/ui-skeleton/ui-skeleton.vue.d.ts +31 -0
  267. package/components/ui-skeleton/ui-skeleton.vue.js +43 -0
  268. package/components/ui-skeleton/ui-skeleton.vue.js.map +1 -0
  269. package/components/ui-skeleton/ui-skeleton.vue2.js +5 -0
  270. package/components/ui-skeleton/ui-skeleton.vue2.js.map +1 -0
  271. package/components/ui-snackbar/_types.d.ts +7 -0
  272. package/components/ui-snackbar/_types.js +5 -0
  273. package/components/ui-snackbar/_types.js.map +1 -0
  274. package/components/ui-snackbar/index.d.ts +103 -0
  275. package/components/ui-snackbar/index.js +9 -0
  276. package/components/ui-snackbar/index.js.map +1 -0
  277. package/components/ui-snackbar/ui-snackbar.vue.d.ts +42 -0
  278. package/components/ui-snackbar/ui-snackbar.vue.js +49 -0
  279. package/components/ui-snackbar/ui-snackbar.vue.js.map +1 -0
  280. package/components/ui-snackbar/ui-snackbar.vue2.js +5 -0
  281. package/components/ui-snackbar/ui-snackbar.vue2.js.map +1 -0
  282. package/components/ui-table/_types.d.ts +5 -0
  283. package/components/ui-table/_types.js +5 -0
  284. package/components/ui-table/_types.js.map +1 -0
  285. package/components/ui-table/index.d.ts +87 -0
  286. package/components/ui-table/index.js +19 -0
  287. package/components/ui-table/index.js.map +1 -0
  288. package/components/ui-table/ui-table-cell/index.d.ts +87 -0
  289. package/components/ui-table/ui-table-cell/index.js +7 -0
  290. package/components/ui-table/ui-table-cell/index.js.map +1 -0
  291. package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts +27 -0
  292. package/components/ui-table/ui-table-cell/ui-table-cell.vue.js +41 -0
  293. package/components/ui-table/ui-table-cell/ui-table-cell.vue.js.map +1 -0
  294. package/components/ui-table/ui-table-cell/ui-table-cell.vue2.js +5 -0
  295. package/components/ui-table/ui-table-cell/ui-table-cell.vue2.js.map +1 -0
  296. package/components/ui-table/ui-table-row/_typings.d.ts +3 -0
  297. package/components/ui-table/ui-table-row/_typings.js +5 -0
  298. package/components/ui-table/ui-table-row/_typings.js.map +1 -0
  299. package/components/ui-table/ui-table-row/index.d.ts +74 -0
  300. package/components/ui-table/ui-table-row/index.js +9 -0
  301. package/components/ui-table/ui-table-row/index.js.map +1 -0
  302. package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts +24 -0
  303. package/components/ui-table/ui-table-row/ui-table-row.vue.js +8 -0
  304. package/components/ui-table/ui-table-row/ui-table-row.vue.js.map +1 -0
  305. package/components/ui-table/ui-table-row/ui-table-row.vue3.js +19 -0
  306. package/components/ui-table/ui-table-row/ui-table-row.vue3.js.map +1 -0
  307. package/components/ui-table/ui-table.vue.d.ts +38 -0
  308. package/components/ui-table/ui-table.vue.js +8 -0
  309. package/components/ui-table/ui-table.vue.js.map +1 -0
  310. package/components/ui-table/ui-table.vue2.js +23 -0
  311. package/components/ui-table/ui-table.vue2.js.map +1 -0
  312. package/components/ui-tabs/index.d.ts +40 -0
  313. package/components/ui-tabs/index.js +7 -0
  314. package/components/ui-tabs/index.js.map +1 -0
  315. package/components/ui-tabs/ui-tabs.vue.d.ts +38 -0
  316. package/components/ui-tabs/ui-tabs.vue.js +8 -0
  317. package/components/ui-tabs/ui-tabs.vue.js.map +1 -0
  318. package/components/ui-tabs/ui-tabs.vue2.js +56 -0
  319. package/components/ui-tabs/ui-tabs.vue2.js.map +1 -0
  320. package/components/ui-toggle/index.d.ts +168 -0
  321. package/components/ui-toggle/index.js +7 -0
  322. package/components/ui-toggle/index.js.map +1 -0
  323. package/components/ui-toggle/ui-toggle.vue.d.ts +40 -0
  324. package/components/ui-toggle/ui-toggle.vue.js +8 -0
  325. package/components/ui-toggle/ui-toggle.vue.js.map +1 -0
  326. package/components/ui-toggle/ui-toggle.vue2.js +94 -0
  327. package/components/ui-toggle/ui-toggle.vue2.js.map +1 -0
  328. package/components/ui-typography/_typings.d.ts +69 -0
  329. package/components/ui-typography/_typings.js +8 -0
  330. package/components/ui-typography/_typings.js.map +1 -0
  331. package/components/ui-typography/index.d.ts +167 -0
  332. package/components/ui-typography/index.js +14 -0
  333. package/components/ui-typography/index.js.map +1 -0
  334. package/components/ui-typography/ui-typography.vue.d.ts +39 -0
  335. package/components/ui-typography/ui-typography.vue.js +101 -0
  336. package/components/ui-typography/ui-typography.vue.js.map +1 -0
  337. package/components/ui-typography/ui-typography.vue2.js +5 -0
  338. package/components/ui-typography/ui-typography.vue2.js.map +1 -0
  339. package/components/ui-verification-input/index.d.ts +102 -0
  340. package/components/ui-verification-input/index.js +7 -0
  341. package/components/ui-verification-input/index.js.map +1 -0
  342. package/components/ui-verification-input/ui-verification-input.vue.d.ts +27 -0
  343. package/components/ui-verification-input/ui-verification-input.vue.js +8 -0
  344. package/components/ui-verification-input/ui-verification-input.vue.js.map +1 -0
  345. package/components/ui-verification-input/ui-verification-input.vue2.js +53 -0
  346. package/components/ui-verification-input/ui-verification-input.vue2.js.map +1 -0
  347. package/index.d.ts +40 -0
  348. package/index.js +200 -0
  349. package/index.js.map +1 -0
  350. package/package.json +69 -40
  351. package/plugin.ts +129 -0
  352. package/postcss.config.js +3 -0
  353. package/tailwind.config.ts +13 -0
  354. package/tsconfig.json +32 -19
  355. package/tsconfig.node.json +4 -2
  356. package/types.d.ts +20 -0
  357. package/types.js +71 -0
  358. package/types.js.map +1 -0
  359. package/.editorconfig +0 -14
  360. package/.github/workflows/deploy-beta.yaml +0 -31
  361. package/.github/workflows/deploy.yaml +0 -28
  362. package/.github/workflows/linting.yaml +0 -28
  363. package/.storybook/BonkersTheme.js +0 -32
  364. package/.storybook/main.js +0 -29
  365. package/.storybook/manager.js +0 -7
  366. package/.storybook/preview-head.html +0 -3
  367. package/.storybook/preview.js +0 -56
  368. package/LICENCE +0 -21
  369. package/README.md +0 -38
  370. package/publish.js +0 -45
  371. package/src/CONSTANTS.ts +0 -1
  372. package/src/_samples/check-icon.vue +0 -22
  373. package/src/_samples/icon.vue +0 -19
  374. package/src/_styles/variables/colors.css +0 -75
  375. package/src/_styles/variables/font-sizes.css +0 -15
  376. package/src/_styles/variables/shadow.css +0 -11
  377. package/src/_styles/variables/spacing.css +0 -15
  378. package/src/_types/align.ts +0 -8
  379. package/src/_types/colors.ts +0 -58
  380. package/src/_types/sizing.ts +0 -9
  381. package/src/components/ui-alert/_types.ts +0 -6
  382. package/src/components/ui-alert/index.ts +0 -2
  383. package/src/components/ui-alert/ui-alert.stories.ts +0 -31
  384. package/src/components/ui-alert/ui-alert.vue +0 -40
  385. package/src/components/ui-badge/_typings.ts +0 -11
  386. package/src/components/ui-badge/index.ts +0 -2
  387. package/src/components/ui-badge/ui-badge.stories.ts +0 -49
  388. package/src/components/ui-badge/ui-badge.vue +0 -65
  389. package/src/components/ui-ber-rank/_types.ts +0 -82
  390. package/src/components/ui-ber-rank/index.ts +0 -2
  391. package/src/components/ui-ber-rank/ui-ber-rank.stories.ts +0 -29
  392. package/src/components/ui-ber-rank/ui-ber-rank.vue +0 -96
  393. package/src/components/ui-button/_typings.ts +0 -17
  394. package/src/components/ui-button/index.ts +0 -2
  395. package/src/components/ui-button/ui-button.stories.ts +0 -143
  396. package/src/components/ui-button/ui-button.test.ts +0 -9
  397. package/src/components/ui-button/ui-button.vue +0 -79
  398. package/src/components/ui-card-cta/index.ts +0 -1
  399. package/src/components/ui-card-cta/ui-card-cta.stories.ts +0 -53
  400. package/src/components/ui-card-cta/ui-card-cta.vue +0 -94
  401. package/src/components/ui-card-result/index.ts +0 -1
  402. package/src/components/ui-card-result/ui-card-result.stories.ts +0 -167
  403. package/src/components/ui-card-result/ui-card-result.vue +0 -97
  404. package/src/components/ui-card-simple/index.ts +0 -1
  405. package/src/components/ui-card-simple/ui-card-simple.stories.ts +0 -40
  406. package/src/components/ui-card-simple/ui-card-simple.vue +0 -30
  407. package/src/components/ui-checkbox/index.ts +0 -1
  408. package/src/components/ui-checkbox/ui-checkbox.stories.ts +0 -71
  409. package/src/components/ui-checkbox/ui-checkbox.vue +0 -173
  410. package/src/components/ui-icon/_typings.ts +0 -11
  411. package/src/components/ui-icon/index.ts +0 -3
  412. package/src/components/ui-icon/ui-icon.stories.ts +0 -43
  413. package/src/components/ui-icon/ui-icon.vue +0 -27
  414. package/src/components/ui-icon-wrapper/_typings.ts +0 -11
  415. package/src/components/ui-icon-wrapper/index.ts +0 -2
  416. package/src/components/ui-icon-wrapper/ui-icon-wrapper.stories.ts +0 -69
  417. package/src/components/ui-icon-wrapper/ui-icon-wrapper.vue +0 -44
  418. package/src/components/ui-input/_typings.ts +0 -74
  419. package/src/components/ui-input/index.ts +0 -2
  420. package/src/components/ui-input/ui-input.stories.ts +0 -103
  421. package/src/components/ui-input/ui-input.vue +0 -100
  422. package/src/components/ui-input-range/index.ts +0 -1
  423. package/src/components/ui-input-range/ui-input-range.stories.ts +0 -57
  424. package/src/components/ui-input-range/ui-input-range.vue +0 -138
  425. package/src/components/ui-list-item/_types.ts +0 -13
  426. package/src/components/ui-list-item/index.ts +0 -2
  427. package/src/components/ui-list-item/ui-list-item.stories.ts +0 -77
  428. package/src/components/ui-list-item/ui-list-item.vue +0 -79
  429. package/src/components/ui-modal/_typings.ts +0 -6
  430. package/src/components/ui-modal/index.ts +0 -2
  431. package/src/components/ui-modal/ui-backdrop/index.ts +0 -1
  432. package/src/components/ui-modal/ui-backdrop/ui-backdrop.vue +0 -22
  433. package/src/components/ui-modal/ui-modal.stories.ts +0 -85
  434. package/src/components/ui-modal/ui-modal.vue +0 -90
  435. package/src/components/ui-notification-badge/_types.ts +0 -11
  436. package/src/components/ui-notification-badge/index.ts +0 -2
  437. package/src/components/ui-notification-badge/ui-notification-badge.stories.ts +0 -44
  438. package/src/components/ui-notification-badge/ui-notification-badge.vue +0 -42
  439. package/src/components/ui-order-card/_types.ts +0 -4
  440. package/src/components/ui-order-card/index.ts +0 -1
  441. package/src/components/ui-order-card/ui-order-card.stories.ts +0 -57
  442. package/src/components/ui-order-card/ui-order-card.vue +0 -83
  443. package/src/components/ui-plain-radio/index.ts +0 -1
  444. package/src/components/ui-plain-radio/ui-plain-radio.stories.ts +0 -74
  445. package/src/components/ui-plain-radio/ui-plain-radio.vue +0 -119
  446. package/src/components/ui-progress/_types.ts +0 -0
  447. package/src/components/ui-progress/index.ts +0 -1
  448. package/src/components/ui-progress/ui-progress.stories.ts +0 -40
  449. package/src/components/ui-progress/ui-progress.vue +0 -43
  450. package/src/components/ui-radio/index.ts +0 -1
  451. package/src/components/ui-radio/ui-radio.stories.ts +0 -74
  452. package/src/components/ui-radio/ui-radio.vue +0 -108
  453. package/src/components/ui-radio-compact/index.ts +0 -1
  454. package/src/components/ui-radio-compact/ui-radio-compact.stories.ts +0 -51
  455. package/src/components/ui-radio-compact/ui-radio-compact.vue +0 -92
  456. package/src/components/ui-radio-fancy/_typings.ts +0 -5
  457. package/src/components/ui-radio-fancy/index.ts +0 -1
  458. package/src/components/ui-radio-fancy/ui-radio-fancy.stories.ts +0 -81
  459. package/src/components/ui-radio-fancy/ui-radio-fancy.vue +0 -132
  460. package/src/components/ui-result-card-range/_types.ts +0 -8
  461. package/src/components/ui-result-card-range/index.ts +0 -1
  462. package/src/components/ui-result-card-range/ui-result-card-range.stories.ts +0 -78
  463. package/src/components/ui-result-card-range/ui-result-card-range.vue +0 -46
  464. package/src/components/ui-ripple/index.ts +0 -1
  465. package/src/components/ui-ripple/ui-ripple.stories.ts +0 -61
  466. package/src/components/ui-ripple/ui-ripple.vue +0 -83
  467. package/src/components/ui-select/index.ts +0 -1
  468. package/src/components/ui-select/ui-select.stories.ts +0 -55
  469. package/src/components/ui-select/ui-select.vue +0 -72
  470. package/src/components/ui-skeleton/_typings.ts +0 -4
  471. package/src/components/ui-skeleton/index.ts +0 -1
  472. package/src/components/ui-skeleton/ui-skeleton.stories.ts +0 -42
  473. package/src/components/ui-skeleton/ui-skeleton.vue +0 -61
  474. package/src/components/ui-snackbar/_types.ts +0 -7
  475. package/src/components/ui-snackbar/index.ts +0 -2
  476. package/src/components/ui-snackbar/ui-snackbar.stories.ts +0 -30
  477. package/src/components/ui-snackbar/ui-snackbar.vue +0 -42
  478. package/src/components/ui-table/_types.ts +0 -5
  479. package/src/components/ui-table/index.ts +0 -5
  480. package/src/components/ui-table/ui-table-cell/index.ts +0 -1
  481. package/src/components/ui-table/ui-table-cell/ui-table-cell.vue +0 -33
  482. package/src/components/ui-table/ui-table-row/_typings.ts +0 -3
  483. package/src/components/ui-table/ui-table-row/index.ts +0 -2
  484. package/src/components/ui-table/ui-table-row/ui-table-row.vue +0 -31
  485. package/src/components/ui-table/ui-table.stories.ts +0 -86
  486. package/src/components/ui-table/ui-table.vue +0 -31
  487. package/src/components/ui-tabs/index.ts +0 -1
  488. package/src/components/ui-tabs/ui-tabs.stories.ts +0 -33
  489. package/src/components/ui-tabs/ui-tabs.vue +0 -60
  490. package/src/components/ui-toggle/index.ts +0 -1
  491. package/src/components/ui-toggle/ui-toggle.stories.ts +0 -55
  492. package/src/components/ui-toggle/ui-toggle.vue +0 -149
  493. package/src/components/ui-typography/_typings.ts +0 -30
  494. package/src/components/ui-typography/index.ts +0 -3
  495. package/src/components/ui-typography/ui-typography.stories.ts +0 -101
  496. package/src/components/ui-typography/ui-typography.vue +0 -109
  497. package/src/components/ui-verification-input/index.ts +0 -1
  498. package/src/components/ui-verification-input/ui-verification-input.stories.ts +0 -48
  499. package/src/components/ui-verification-input/ui-verification-input.vue +0 -126
  500. package/src/main.css +0 -34
  501. package/src/shims-vue.d.ts +0 -5
  502. package/src/stories/Introduction.stories.mdx +0 -131
  503. package/src/stories/assets/code-brackets.svg +0 -1
  504. package/src/stories/colors/colors.stories.ts +0 -15
  505. package/src/stories/colors/ui-colors.vue +0 -96
  506. package/src/stories/font-sizes/font-sizes.stories.ts +0 -15
  507. package/src/stories/font-sizes/ui-font-sizes.vue +0 -28
  508. package/src/stories/helper.ts +0 -5
  509. package/src/stories/spacings/spacings.stories.ts +0 -15
  510. package/src/stories/spacings/ui-spacings.vue +0 -50
  511. package/tailwind.config.js +0 -30
  512. package/vite.config.ts +0 -14
  513. package/vitest.config.ts +0 -17
  514. /package/src/_styles/{classTypes/_colors.json → _colors.json} +0 -0
  515. /package/src/_styles/{classTypes/_font-sizes.json → _font-sizes.json} +0 -0
  516. /package/src/_styles/{classTypes/_shadow.json → _shadow.json} +0 -0
  517. /package/src/_styles/{classTypes/_spacing.json → _spacing.json} +0 -0
@@ -0,0 +1,92 @@
1
+ import { EAlertTypes } from './_types';
2
+ import { TIconName } from '../ui-icon';
3
+ import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
4
+ import UiAlert from "./ui-alert.vue";
5
+ export { UiAlert };
6
+ /**
7
+ * @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
8
+ */
9
+ declare const deprecatedDefault: {
10
+ new (...args: any[]): {
11
+ $: ComponentInternalInstance;
12
+ $data: {};
13
+ $props: Partial<{}> & Omit<{
14
+ readonly icon: TIconName;
15
+ readonly kind?: EAlertTypes | undefined;
16
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
17
+ icon: {
18
+ type: PropType<TIconName>;
19
+ required: true;
20
+ };
21
+ kind: {
22
+ type: PropType<EAlertTypes>;
23
+ };
24
+ }>>, never>;
25
+ $attrs: {
26
+ [x: string]: unknown;
27
+ };
28
+ $refs: {
29
+ [x: string]: unknown;
30
+ };
31
+ $slots: Readonly<{
32
+ [name: string]: Slot<any> | undefined;
33
+ }>;
34
+ $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
35
+ $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
36
+ $emit: (event: string, ...args: any[]) => void;
37
+ $el: any;
38
+ $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
39
+ icon: {
40
+ type: PropType<TIconName>;
41
+ required: true;
42
+ };
43
+ kind: {
44
+ type: PropType<EAlertTypes>;
45
+ };
46
+ }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
47
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
48
+ created?: ((() => void) | (() => void)[]) | undefined;
49
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
50
+ mounted?: ((() => void) | (() => void)[]) | undefined;
51
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
52
+ updated?: ((() => void) | (() => void)[]) | undefined;
53
+ activated?: ((() => void) | (() => void)[]) | undefined;
54
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
55
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
56
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
57
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
58
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
59
+ renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
60
+ renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
61
+ errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
62
+ };
63
+ $forceUpdate: () => void;
64
+ $nextTick: typeof nextTick;
65
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
66
+ } & Readonly<ExtractPropTypes<{
67
+ icon: {
68
+ type: PropType<TIconName>;
69
+ required: true;
70
+ };
71
+ kind: {
72
+ type: PropType<EAlertTypes>;
73
+ };
74
+ }>> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
75
+ __isFragment?: undefined;
76
+ __isTeleport?: undefined;
77
+ __isSuspense?: undefined;
78
+ } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
79
+ icon: {
80
+ type: PropType<TIconName>;
81
+ required: true;
82
+ };
83
+ kind: {
84
+ type: PropType<EAlertTypes>;
85
+ };
86
+ }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
87
+ $slots: {
88
+ default?(_: {}): any;
89
+ };
90
+ });
91
+ export default deprecatedDefault;
92
+ export { EAlertTypes } from "./_types";
@@ -0,0 +1,9 @@
1
+ import e from "./ui-alert.vue.js";
2
+ import { EAlertTypes as f } from "./_types.js";
3
+ const r = e;
4
+ export {
5
+ f as EAlertTypes,
6
+ e as UiAlert,
7
+ r as default
8
+ };
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/ui-alert/index.ts"],"sourcesContent":["import UiAlert from \"./ui-alert.vue\";\n\nexport { UiAlert };\n/**\n * @deprecated The default should not be used - use named import as - import {[name]} from \"ui/[name]\"\n */\nconst deprecatedDefault = UiAlert;\nexport default deprecatedDefault;\n\nexport { EAlertTypes } from \"./_types\";\n"],"names":["deprecatedDefault","UiAlert"],"mappings":";;AAMA,MAAMA,IAAoBC;"}
@@ -0,0 +1,27 @@
1
+ import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
+ import { type TIconName } from "../ui-icon";
3
+ import { EAlertTypes } from "./_types";
4
+ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_TypePropsToRuntimeProps<{
5
+ icon: TIconName;
6
+ kind?: EAlertTypes | undefined;
7
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
+ icon: TIconName;
9
+ kind?: EAlertTypes | undefined;
10
+ }>>>, {}, {}>, {
11
+ default?(_: {}): any;
12
+ }>;
13
+ export default _default;
14
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
+ type __VLS_TypePropsToRuntimeProps<T> = {
16
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
17
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
18
+ } : {
19
+ type: PropType<T[K]>;
20
+ required: true;
21
+ };
22
+ };
23
+ type __VLS_WithTemplateSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,47 @@
1
+ import { defineComponent as d, openBlock as a, createElementBlock as t, normalizeClass as o, unref as r, createVNode as n, withCtx as s, renderSlot as l } from "vue";
2
+ import m from "../ui-typography/index.js";
3
+ import p from "../ui-icon/index.js";
4
+ import { ESize as f } from "../../_types/sizing.js";
5
+ import { EAlertTypes as i } from "./_types.js";
6
+ import { ETypographySizes as R } from "../ui-typography/_typings.js";
7
+ const N = /* @__PURE__ */ d({
8
+ __name: "ui-alert",
9
+ props: {
10
+ icon: {},
11
+ kind: {}
12
+ },
13
+ setup(k) {
14
+ return (e, u) => (a(), t("div", {
15
+ class: o(["ui-alert flex gap-sm rounded-lg border bg-white p-sm", [
16
+ (!e.kind || e.kind === r(i).PRIMARY) && "border-primary",
17
+ e.kind === r(i).WARNING && "border-warning",
18
+ e.kind === r(i).ERROR && "border-error",
19
+ e.kind === r(i).SECONDARY && "border-secondary"
20
+ ]])
21
+ }, [
22
+ n(r(p), {
23
+ "icon-name": e.icon,
24
+ size: r(f).SM,
25
+ class: o([
26
+ (!e.kind || e.kind === r(i).PRIMARY) && "text-primary",
27
+ e.kind === r(i).WARNING && "text-warning",
28
+ e.kind === r(i).ERROR && "text-error",
29
+ e.kind === r(i).SECONDARY && "text-secondary"
30
+ ])
31
+ }, null, 8, ["icon-name", "size", "class"]),
32
+ n(r(m), {
33
+ size: r(R).XS,
34
+ "line-height": ""
35
+ }, {
36
+ default: s(() => [
37
+ l(e.$slots, "default")
38
+ ]),
39
+ _: 3
40
+ }, 8, ["size"])
41
+ ], 2));
42
+ }
43
+ });
44
+ export {
45
+ N as default
46
+ };
47
+ //# sourceMappingURL=ui-alert.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-alert.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,5 @@
1
+ import f from "./ui-alert.vue.js";
2
+ export {
3
+ f as default
4
+ };
5
+ //# sourceMappingURL=ui-alert.vue2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-alert.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,10 @@
1
+ export declare enum EBadgeSize {
2
+ SMALL = "small",
3
+ MEDIUM = "medium",
4
+ LARGE = "large"
5
+ }
6
+ export declare enum EBadgeKind {
7
+ PRIMARY = "primary",
8
+ ERROR = "error",
9
+ ACCENT = "accent"
10
+ }
@@ -0,0 +1,6 @@
1
+ var R = /* @__PURE__ */ ((r) => (r.SMALL = "small", r.MEDIUM = "medium", r.LARGE = "large", r))(R || {}), m = /* @__PURE__ */ ((r) => (r.PRIMARY = "primary", r.ERROR = "error", r.ACCENT = "accent", r))(m || {});
2
+ export {
3
+ m as EBadgeKind,
4
+ R as EBadgeSize
5
+ };
6
+ //# sourceMappingURL=_typings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_typings.js","sources":["../../../src/components/ui-badge/_typings.ts"],"sourcesContent":["export enum EBadgeSize {\n\tSMALL = \"small\",\n\tMEDIUM = \"medium\",\n\tLARGE = \"large\",\n}\n\nexport enum EBadgeKind {\n\tPRIMARY = \"primary\",\n\tERROR = \"error\",\n\tACCENT = \"accent\",\n}\n"],"names":["EBadgeSize","EBadgeKind"],"mappings":"AAAY,IAAAA,sBAAAA,OACXA,EAAA,QAAQ,SACRA,EAAA,SAAS,UACTA,EAAA,QAAQ,SAHGA,IAAAA,KAAA,CAAA,CAAA,GAMAC,sBAAAA,OACXA,EAAA,UAAU,WACVA,EAAA,QAAQ,SACRA,EAAA,SAAS,UAHEA,IAAAA,KAAA,CAAA,CAAA;"}
@@ -0,0 +1,114 @@
1
+ import { TIconName } from '../ui-icon';
2
+ import { EBadgeSize, EBadgeKind } from './_typings';
3
+ import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
4
+ import UiBadge from "./ui-badge.vue";
5
+ export { UiBadge };
6
+ /**
7
+ * @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
8
+ */
9
+ declare const deprecatedDefault: {
10
+ new (...args: any[]): {
11
+ $: ComponentInternalInstance;
12
+ $data: {};
13
+ $props: Partial<{}> & Omit<{
14
+ readonly size?: EBadgeSize | undefined;
15
+ readonly icon?: TIconName | undefined;
16
+ readonly kind?: EBadgeKind | undefined;
17
+ readonly elipsis?: boolean | undefined;
18
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
19
+ size: {
20
+ type: PropType<EBadgeSize>;
21
+ };
22
+ kind: {
23
+ type: PropType<EBadgeKind>;
24
+ };
25
+ icon: {
26
+ type: PropType<TIconName>;
27
+ };
28
+ elipsis: {
29
+ type: PropType<boolean>;
30
+ };
31
+ }>>, never>;
32
+ $attrs: {
33
+ [x: string]: unknown;
34
+ };
35
+ $refs: {
36
+ [x: string]: unknown;
37
+ };
38
+ $slots: Readonly<{
39
+ [name: string]: Slot<any> | undefined;
40
+ }>;
41
+ $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
42
+ $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
43
+ $emit: (event: string, ...args: any[]) => void;
44
+ $el: any;
45
+ $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
46
+ size: {
47
+ type: PropType<EBadgeSize>;
48
+ };
49
+ kind: {
50
+ type: PropType<EBadgeKind>;
51
+ };
52
+ icon: {
53
+ type: PropType<TIconName>;
54
+ };
55
+ elipsis: {
56
+ type: PropType<boolean>;
57
+ };
58
+ }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
59
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
60
+ created?: ((() => void) | (() => void)[]) | undefined;
61
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
62
+ mounted?: ((() => void) | (() => void)[]) | undefined;
63
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
64
+ updated?: ((() => void) | (() => void)[]) | undefined;
65
+ activated?: ((() => void) | (() => void)[]) | undefined;
66
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
67
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
68
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
69
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
70
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
71
+ renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
72
+ renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
73
+ errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
74
+ };
75
+ $forceUpdate: () => void;
76
+ $nextTick: typeof nextTick;
77
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
78
+ } & Readonly<ExtractPropTypes<{
79
+ size: {
80
+ type: PropType<EBadgeSize>;
81
+ };
82
+ kind: {
83
+ type: PropType<EBadgeKind>;
84
+ };
85
+ icon: {
86
+ type: PropType<TIconName>;
87
+ };
88
+ elipsis: {
89
+ type: PropType<boolean>;
90
+ };
91
+ }>> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
92
+ __isFragment?: undefined;
93
+ __isTeleport?: undefined;
94
+ __isSuspense?: undefined;
95
+ } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
96
+ size: {
97
+ type: PropType<EBadgeSize>;
98
+ };
99
+ kind: {
100
+ type: PropType<EBadgeKind>;
101
+ };
102
+ icon: {
103
+ type: PropType<TIconName>;
104
+ };
105
+ elipsis: {
106
+ type: PropType<boolean>;
107
+ };
108
+ }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
109
+ $slots: {
110
+ default?(_: {}): any;
111
+ };
112
+ });
113
+ export default deprecatedDefault;
114
+ export { EBadgeKind, EBadgeSize } from "./_typings";
@@ -0,0 +1,10 @@
1
+ import e from "./ui-badge.vue.js";
2
+ import { EBadgeKind as r, EBadgeSize as f } from "./_typings.js";
3
+ const d = e;
4
+ export {
5
+ r as EBadgeKind,
6
+ f as EBadgeSize,
7
+ e as UiBadge,
8
+ d as default
9
+ };
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/ui-badge/index.ts"],"sourcesContent":["import UiBadge from \"./ui-badge.vue\";\n\nexport { UiBadge };\n\n/**\n * @deprecated The default should not be used - use named import as - import {[name]} from \"ui/[name]\"\n */\nconst deprecatedDefault = UiBadge;\nexport default deprecatedDefault;\n\nexport { EBadgeKind, EBadgeSize } from \"./_typings\";\n"],"names":["deprecatedDefault","UiBadge"],"mappings":";;AAOA,MAAMA,IAAoBC;"}
@@ -0,0 +1,31 @@
1
+ import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
+ import { EBadgeKind, EBadgeSize } from "./_typings";
3
+ import { type TIconName } from "../ui-icon";
4
+ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_TypePropsToRuntimeProps<{
5
+ size?: EBadgeSize | undefined;
6
+ kind?: EBadgeKind | undefined;
7
+ icon?: TIconName | undefined;
8
+ elipsis?: boolean | undefined;
9
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
+ size?: EBadgeSize | undefined;
11
+ kind?: EBadgeKind | undefined;
12
+ icon?: TIconName | undefined;
13
+ elipsis?: boolean | undefined;
14
+ }>>>, {}, {}>, {
15
+ default?(_: {}): any;
16
+ }>;
17
+ export default _default;
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToRuntimeProps<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
27
+ type __VLS_WithTemplateSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -0,0 +1,62 @@
1
+ import { defineComponent as f, useSlots as h, computed as g, openBlock as i, createElementBlock as z, createElementVNode as l, createBlock as n, unref as t, createCommentVNode as a, normalizeClass as d, withCtx as S, renderSlot as k } from "vue";
2
+ import { EBadgeSize as o, EBadgeKind as s } from "./_typings.js";
3
+ import E from "../ui-icon/index.js";
4
+ import { ESize as w } from "../../_types/sizing.js";
5
+ import v from "../ui-typography/index.js";
6
+ import { ETypographySizes as r } from "../ui-typography/_typings.js";
7
+ const y = { class: "ui-badge relative overflow-hidden text-white" }, B = { class: "relative z-[1] flex content-center items-center gap-xxs px-xs py-xxs" }, L = /* @__PURE__ */ f({
8
+ __name: "ui-badge",
9
+ props: {
10
+ size: {},
11
+ kind: {},
12
+ icon: {},
13
+ elipsis: { type: Boolean }
14
+ },
15
+ setup(c) {
16
+ const p = c, u = h(), m = g(() => {
17
+ switch (p.size) {
18
+ case o.MEDIUM:
19
+ return r.XS;
20
+ case o.LARGE:
21
+ return r.SM;
22
+ case o.SMALL:
23
+ default:
24
+ return r.XXS;
25
+ }
26
+ });
27
+ return (e, b) => (i(), z("div", y, [
28
+ l("div", B, [
29
+ e.icon ? (i(), n(t(E), {
30
+ key: 0,
31
+ size: t(w).SM,
32
+ "icon-name": e.icon
33
+ }, null, 8, ["size", "icon-name"])) : a("", !0),
34
+ t(u).default ? (i(), n(t(v), {
35
+ key: 1,
36
+ size: m.value,
37
+ class: d(["whitespace-nowrap", [
38
+ e.elipsis && "overflow-hidden text-ellipsis"
39
+ ]]),
40
+ "line-height": ""
41
+ }, {
42
+ default: S(() => [
43
+ k(e.$slots, "default")
44
+ ]),
45
+ _: 3
46
+ }, 8, ["size", "class"])) : a("", !0)
47
+ ]),
48
+ l("div", {
49
+ class: d(["absolute left-0 top-0 h-full w-full rounded-full", [
50
+ (!e.kind || e.kind === t(s).PRIMARY) && "bg-primary-600",
51
+ e.kind === t(s).ERROR && "bg-error-600",
52
+ e.kind === t(s).ACCENT && "bg-accent-600",
53
+ e.elipsis && "max-w-full"
54
+ ]])
55
+ }, null, 2)
56
+ ]));
57
+ }
58
+ });
59
+ export {
60
+ L as default
61
+ };
62
+ //# sourceMappingURL=ui-badge.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-badge.vue.js","sources":["../../../src/components/ui-badge/ui-badge.vue"],"sourcesContent":["<template>\n\t<div\n\t\tclass=\"ui-badge relative overflow-hidden text-white\"\n\t>\n\t\t<div class=\"relative z-[1] flex content-center items-center gap-xxs px-xs py-xxs\">\n\t\t\t<ui-icon\n\t\t\t\tv-if=\"icon\"\n\t\t\t\t:size=\"ESize.SM\"\n\t\t\t\t:icon-name=\"icon\"\n\t\t\t/>\n\n\t\t\t<ui-typography\n\t\t\t\tv-if=\"slots.default\"\n\t\t\t\t:size=\"getBadgeSize\"\n\t\t\t\tclass=\"whitespace-nowrap\"\n\t\t\t\tline-height\n\t\t\t\t:class=\"[\n\t\t\t\t\telipsis && 'overflow-hidden text-ellipsis',\n\t\t\t\t]\"\n\t\t\t>\n\t\t\t\t<slot />\n\t\t\t</ui-typography>\n\t\t</div>\n\n\t\t<div\n\t\t\tclass=\"absolute left-0 top-0 h-full w-full rounded-full\"\n\t\t\t:class=\"[\n\t\t\t\t(!kind || kind === EBadgeKind.PRIMARY) && 'bg-primary-600',\n\n\t\t\t\tkind === EBadgeKind.ERROR && 'bg-error-600',\n\t\t\t\tkind === EBadgeKind.ACCENT && 'bg-accent-600',\n\t\t\t\telipsis && 'max-w-full',\n\t\t\t]\"\n\t\t/>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed, useSlots } from \"vue\";\n\timport { EBadgeKind, EBadgeSize } from \"./_typings\";\n\timport UiIcon, { type TIconName } from \"../ui-icon\";\n\timport { ESize } from \"../../_types/sizing\";\n\timport UiTypography, { ETypographySizes } from \"../ui-typography\";\n\n\tconst props = defineProps<{\n\t\tsize?: EBadgeSize;\n\t\tkind?: EBadgeKind;\n\t\ticon?: TIconName;\n\t\telipsis?: boolean;\n\t}>();\n\n\tconst slots = useSlots();\n\n\tconst getBadgeSize = computed(()=>{\n\t\tswitch (props.size) {\n\t\t\tcase EBadgeSize.MEDIUM:\n\t\t\t\treturn ETypographySizes.XS;\n\t\t\tcase EBadgeSize.LARGE:\n\t\t\t\treturn ETypographySizes.SM;\n\t\t\tcase EBadgeSize.SMALL:\n\t\t\tdefault:\n\t\t\t\treturn ETypographySizes.XXS;\n\t\t}\n\t});\n</script>\n"],"names":["props","__props","slots","useSlots","getBadgeSize","computed","EBadgeSize","ETypographySizes"],"mappings":";;;;;;;;;;;;;;;AA4CC,UAAMA,IAAQC,GAORC,IAAQC,KAERC,IAAeC,EAAS,MAAI;AACjC,cAAQL,EAAM,MAAM;AAAA,QACnB,KAAKM,EAAW;AACf,iBAAOC,EAAiB;AAAA,QACzB,KAAKD,EAAW;AACf,iBAAOC,EAAiB;AAAA,QACzB,KAAKD,EAAW;AAAA,QAChB;AACC,iBAAOC,EAAiB;AAAA,MAC1B;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,5 @@
1
+ import f from "./ui-badge.vue.js";
2
+ export {
3
+ f as default
4
+ };
5
+ //# sourceMappingURL=ui-badge.vue2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-badge.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,61 @@
1
+ import { EColors } from "../../_types/colors";
2
+ type Ran<T extends number> = number extends T ? number : _Range<T, []>;
3
+ type _Range<T extends number, R extends unknown[]> = R["length"] extends T ? R[number] : _Range<T, [R["length"], ...R]>;
4
+ export type TBerPropNumber = Ran<typeof berRankDictionary.length>;
5
+ export type TBerPropString = `${TBerPropNumber}`;
6
+ export type TBerRank = typeof berRankDictionary[TBerPropNumber]["text"];
7
+ export declare const berRankDictionary: readonly [{
8
+ readonly text: "N/A";
9
+ readonly color: EColors.SECONDARY_ALT;
10
+ }, {
11
+ readonly text: "G";
12
+ readonly color: EColors.ERROR;
13
+ }, {
14
+ readonly text: "F";
15
+ readonly color: EColors.WARNING;
16
+ }, {
17
+ readonly text: "E2";
18
+ readonly color: EColors.WARNING_600;
19
+ }, {
20
+ readonly text: "E1";
21
+ readonly color: EColors.WARNING_600;
22
+ }, {
23
+ readonly text: "D2";
24
+ readonly color: EColors.WARNING_400;
25
+ }, {
26
+ readonly text: "D1";
27
+ readonly color: EColors.WARNING_400;
28
+ }, {
29
+ readonly text: "C3";
30
+ readonly color: EColors.PRIMARY_ALT;
31
+ }, {
32
+ readonly text: "C2";
33
+ readonly color: EColors.PRIMARY_ALT;
34
+ }, {
35
+ readonly text: "C1";
36
+ readonly color: EColors.PRIMARY_ALT;
37
+ }, {
38
+ readonly text: "B3";
39
+ readonly color: EColors.PRIMARY_ALT_600;
40
+ }, {
41
+ readonly text: "B2";
42
+ readonly color: EColors.PRIMARY_ALT_600;
43
+ }, {
44
+ readonly text: "B1";
45
+ readonly color: EColors.PRIMARY_ALT_600;
46
+ }, {
47
+ readonly text: "A3";
48
+ readonly color: EColors.PRIMARY_ALT_700;
49
+ }, {
50
+ readonly text: "A2";
51
+ readonly color: EColors.PRIMARY_ALT_700;
52
+ }, {
53
+ readonly text: "A1";
54
+ readonly color: EColors.PRIMARY_ALT_700;
55
+ }];
56
+ export declare const berRanksList: ("N/A" | "G" | "F" | "E2" | "E1" | "D2" | "D1" | "C3" | "C2" | "C1" | "B3" | "B2" | "B1" | "A3" | "A2" | "A1")[];
57
+ export declare enum EBerSize {
58
+ SMALL = "small",
59
+ MEDIUM = "medium"
60
+ }
61
+ export {};
@@ -0,0 +1,74 @@
1
+ import { EColors as o } from "../../_types/colors.js";
2
+ const A = [
3
+ {
4
+ text: "N/A",
5
+ color: o.SECONDARY_ALT
6
+ },
7
+ {
8
+ text: "G",
9
+ color: o.ERROR
10
+ },
11
+ {
12
+ text: "F",
13
+ color: o.WARNING
14
+ },
15
+ {
16
+ text: "E2",
17
+ color: o.WARNING_600
18
+ },
19
+ {
20
+ text: "E1",
21
+ color: o.WARNING_600
22
+ },
23
+ {
24
+ text: "D2",
25
+ color: o.WARNING_400
26
+ },
27
+ {
28
+ text: "D1",
29
+ color: o.WARNING_400
30
+ },
31
+ {
32
+ text: "C3",
33
+ color: o.PRIMARY_ALT
34
+ },
35
+ {
36
+ text: "C2",
37
+ color: o.PRIMARY_ALT
38
+ },
39
+ {
40
+ text: "C1",
41
+ color: o.PRIMARY_ALT
42
+ },
43
+ {
44
+ text: "B3",
45
+ color: o.PRIMARY_ALT_600
46
+ },
47
+ {
48
+ text: "B2",
49
+ color: o.PRIMARY_ALT_600
50
+ },
51
+ {
52
+ text: "B1",
53
+ color: o.PRIMARY_ALT_600
54
+ },
55
+ {
56
+ text: "A3",
57
+ color: o.PRIMARY_ALT_700
58
+ },
59
+ {
60
+ text: "A2",
61
+ color: o.PRIMARY_ALT_700
62
+ },
63
+ {
64
+ text: "A1",
65
+ color: o.PRIMARY_ALT_700
66
+ }
67
+ ];
68
+ A.map(({ text: t }) => t);
69
+ var R = /* @__PURE__ */ ((t) => (t.SMALL = "small", t.MEDIUM = "medium", t))(R || {});
70
+ export {
71
+ R as EBerSize,
72
+ A as berRankDictionary
73
+ };
74
+ //# sourceMappingURL=_types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_types.js","sources":["../../../src/components/ui-ber-rank/_types.ts"],"sourcesContent":["import { EColors } from \"../../_types/colors\";\n\ntype Ran<T extends number> = number extends T ? number :_Range<T, []>;\ntype _Range<T extends number, R extends unknown[]> = R[\"length\"] extends T ? R[number] : _Range<T, [R[\"length\"], ...R]>;\n\nexport type TBerPropNumber = Ran<typeof berRankDictionary.length>\nexport type TBerPropString = `${TBerPropNumber}`;\nexport type TBerRank = typeof berRankDictionary[TBerPropNumber][\"text\"];\n\nexport const berRankDictionary = [\n\t{\n\t\ttext: \"N/A\",\n\t\tcolor: EColors.SECONDARY_ALT,\n\t},\n\t{\n\t\ttext: \"G\",\n\t\tcolor: EColors.ERROR,\n\t},\n\t{\n\t\ttext: \"F\",\n\t\tcolor: EColors.WARNING,\n\t},\n\t{\n\t\ttext: \"E2\",\n\t\tcolor: EColors.WARNING_600,\n\t},\n\t{\n\t\ttext: \"E1\",\n\t\tcolor: EColors.WARNING_600,\n\t},\n\t{\n\t\ttext: \"D2\",\n\t\tcolor: EColors.WARNING_400,\n\t},\n\t{\n\t\ttext: \"D1\",\n\t\tcolor: EColors.WARNING_400,\n\t},\n\t{\n\t\ttext: \"C3\",\n\t\tcolor: EColors.PRIMARY_ALT,\n\t},\n\t{\n\t\ttext: \"C2\",\n\t\tcolor: EColors.PRIMARY_ALT,\n\t},\n\t{\n\t\ttext: \"C1\",\n\t\tcolor: EColors.PRIMARY_ALT,\n\t},\n\t{\n\t\ttext: \"B3\",\n\t\tcolor: EColors.PRIMARY_ALT_600,\n\t},\n\t{\n\t\ttext: \"B2\",\n\t\tcolor: EColors.PRIMARY_ALT_600,\n\t},\n\t{\n\t\ttext: \"B1\",\n\t\tcolor: EColors.PRIMARY_ALT_600,\n\t},\n\t{\n\t\ttext: \"A3\",\n\t\tcolor: EColors.PRIMARY_ALT_700,\n\t},\n\t{\n\t\ttext: \"A2\",\n\t\tcolor: EColors.PRIMARY_ALT_700,\n\t},\n\t{\n\t\ttext: \"A1\",\n\t\tcolor: EColors.PRIMARY_ALT_700,\n\t},\n] as const;\n\nexport const berRanksList = berRankDictionary.map(({ text }) => text);\n\nexport enum EBerSize {\n\tSMALL = \"small\",\n\tMEDIUM = \"medium\",\n}\n"],"names":["berRankDictionary","EColors","text","EBerSize"],"mappings":";AASO,MAAMA,IAAoB;AAAA,EAChC;AAAA,IACC,MAAM;AAAA,IACN,OAAOC,EAAQ;AAAA,EAChB;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAOA,EAAQ;AAAA,EAChB;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAOA,EAAQ;AAAA,EAChB;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAOA,EAAQ;AAAA,EAChB;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAOA,EAAQ;AAAA,EAChB;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAOA,EAAQ;AAAA,EAChB;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAOA,EAAQ;AAAA,EAChB;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAOA,EAAQ;AAAA,EAChB;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAOA,EAAQ;AAAA,EAChB;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAOA,EAAQ;AAAA,EAChB;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAOA,EAAQ;AAAA,EAChB;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAOA,EAAQ;AAAA,EAChB;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAOA,EAAQ;AAAA,EAChB;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAOA,EAAQ;AAAA,EAChB;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAOA,EAAQ;AAAA,EAChB;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,OAAOA,EAAQ;AAAA,EAChB;AACD;AAE4BD,EAAkB,IAAI,CAAC,EAAE,MAAAE,EAAA,MAAWA,CAAI;AAExD,IAAAC,sBAAAA,OACXA,EAAA,QAAQ,SACRA,EAAA,SAAS,UAFEA,IAAAA,KAAA,CAAA,CAAA;"}
@@ -0,0 +1,30 @@
1
+ import { EBerSize } from './_types';
2
+ import { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
+ import UiBerRank from "./ui-ber-rank.vue";
4
+ export { UiBerRank };
5
+ export { EBerSize } from "./_types";
6
+ /**
7
+ * @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
8
+ */
9
+ declare const deprecatedDefault: DefineComponent<{
10
+ size: {
11
+ type: PropType<EBerSize>;
12
+ default: EBerSize;
13
+ };
14
+ rank: {
15
+ type: PropType<number | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15">;
16
+ required: true;
17
+ };
18
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
19
+ size: {
20
+ type: PropType<EBerSize>;
21
+ default: EBerSize;
22
+ };
23
+ rank: {
24
+ type: PropType<number | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15">;
25
+ required: true;
26
+ };
27
+ }>>, {
28
+ size: EBerSize;
29
+ }, {}>;
30
+ export default deprecatedDefault;
@@ -0,0 +1,10 @@
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".ui-ber-rank__icon_medium{height:60px}.ui-ber-rank__icon_small{height:30px}")),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})();
2
+ import e from "./ui-ber-rank.vue.js";
3
+ import { EBerSize as i } from "./_types.js";
4
+ const a = e;
5
+ export {
6
+ i as EBerSize,
7
+ e as UiBerRank,
8
+ a as default
9
+ };
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/ui-ber-rank/index.ts"],"sourcesContent":["import UiBerRank from \"./ui-ber-rank.vue\";\n\nexport { UiBerRank };\nexport { EBerSize } from \"./_types\";\n\n/**\n * @deprecated The default should not be used - use named import as - import {[name]} from \"ui/[name]\"\n */\nconst deprecatedDefault = UiBerRank;\nexport default deprecatedDefault;\n"],"names":["deprecatedDefault","UiBerRank"],"mappings":";;;AAQA,MAAMA,IAAoBC;"}