@caipira/tamandua 0.0.1 → 0.0.3

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 (523) hide show
  1. package/README.md +4 -0
  2. package/dist/account-BJGxzbeL.js +5 -0
  3. package/dist/alert-octagon-D8wznooU.js +4 -0
  4. package/dist/alert-octagon-outline-fM2QVbyq.js +5 -0
  5. package/dist/archive-DDuuzVUo.js +5 -0
  6. package/dist/archive-outline-BT6uCRX5.js +5 -0
  7. package/dist/arrow-left-CVipcGWo.js +5 -0
  8. package/dist/arrow-right-DHFo5L72.js +5 -0
  9. package/dist/bank-lwoR1P6d.js +5 -0
  10. package/dist/bank-outline-wy0O9ni0.js +5 -0
  11. package/dist/camera-BXoPauop.js +5 -0
  12. package/dist/cards-outline-B0no8Z63.js +5 -0
  13. package/dist/cards-variant-CU6V8mdM.js +5 -0
  14. package/dist/cart-outline-C99s8OpS.js +4 -0
  15. package/dist/chart-box-outline-C9ymwfIH.js +5 -0
  16. package/dist/chart-box-tyepg_QH.js +5 -0
  17. package/dist/check-circle-C3Kf7DnE.js +5 -0
  18. package/dist/check-circle-outline-B4zmPfuc.js +5 -0
  19. package/dist/check-iUT-FuWa.js +5 -0
  20. package/dist/checkbox-TojXdFTq.js +5 -0
  21. package/dist/checkbox-dark-D_btgwCX.js +5 -0
  22. package/dist/checkbox-indeterminate-CtbmyFkw.js +5 -0
  23. package/dist/checkbox-indeterminate-dark-CSrkJBRG.js +5 -0
  24. package/dist/chevron-down-CJLshITY.js +5 -0
  25. package/dist/chevron-left-n_sGCmlG.js +5 -0
  26. package/dist/chevron-right-C8uLqjmq.js +5 -0
  27. package/dist/chevron-up-b6VdQM8S.js +5 -0
  28. package/dist/circle-DhoEDuC5.js +5 -0
  29. package/dist/clock-BqMI2OIG.js +5 -0
  30. package/dist/close-DemH4JAO.js +5 -0
  31. package/dist/close-circle-Bsf9_pUR.js +4 -0
  32. package/dist/close-circle-outline-CUXfYV4M.js +5 -0
  33. package/dist/cog-Dd9I6z5D.js +5 -0
  34. package/dist/color-fill-DWx77G0p.js +5 -0
  35. package/dist/components/Avatar/Avatar.story.d.ts +9 -0
  36. package/dist/components/Avatar/Avatar.vue.d.ts +58 -0
  37. package/dist/components/Avatar/index.d.ts +6 -0
  38. package/dist/components/Backdrop/Backdrop.vue.d.ts +33 -0
  39. package/dist/components/Backdrop/index.d.ts +6 -0
  40. package/dist/components/Button/Button.story.d.ts +70 -0
  41. package/dist/components/Button/Button.vue.d.ts +153 -0
  42. package/dist/components/Button/index.d.ts +6 -0
  43. package/dist/components/ButtonCopy/ButtonCopy.vue.d.ts +32 -0
  44. package/dist/components/ButtonCopy/index.d.ts +6 -0
  45. package/dist/components/Drawer/Drawer.vue.d.ts +67 -0
  46. package/dist/components/Drawer/index.d.ts +6 -0
  47. package/dist/components/Dropdown/Dropdown.vue.d.ts +117 -0
  48. package/dist/components/Dropdown/index.d.ts +6 -0
  49. package/dist/components/EventListener/EventListener.vue.d.ts +6 -0
  50. package/dist/components/FileDrop/FileDrop.vue.d.ts +40 -0
  51. package/dist/components/FileDrop/index.d.ts +6 -0
  52. package/dist/components/Form/Form.spec.d.ts +1 -0
  53. package/dist/components/Form/Form.vue.d.ts +111 -0
  54. package/dist/components/Form/index.d.ts +6 -0
  55. package/dist/components/FormItem/FormItem.vue.d.ts +41 -0
  56. package/dist/components/FormItem/index.d.ts +6 -0
  57. package/dist/components/GraphyEmpty/GraphyEmpty.vue.d.ts +23 -0
  58. package/dist/components/GraphyEmpty/index.d.ts +6 -0
  59. package/dist/components/GraphyLabel/GraphyLabel.vue.d.ts +43 -0
  60. package/dist/components/GraphyLabel/index.d.ts +6 -0
  61. package/dist/components/GraphyPrice/GraphyPrice.story.d.ts +6 -0
  62. package/dist/components/GraphyPrice/GraphyPrice.vue.d.ts +45 -0
  63. package/dist/components/GraphyPrice/index.d.ts +6 -0
  64. package/dist/components/GraphySubtitle/GraphySubtitle.vue.d.ts +31 -0
  65. package/dist/components/GraphySubtitle/index.d.ts +6 -0
  66. package/dist/components/GraphyTitle/GraphyTitle.vue.d.ts +15 -0
  67. package/dist/components/GraphyTitle/index.d.ts +6 -0
  68. package/dist/components/Icon/Icon.vue.d.ts +40 -0
  69. package/dist/components/Icon/index.d.ts +6 -0
  70. package/dist/components/IconButton/IconButton.vue.d.ts +153 -0
  71. package/dist/components/IconButton/index.d.ts +6 -0
  72. package/dist/components/InputAvatar/InputAvatar.vue.d.ts +19 -0
  73. package/dist/components/InputAvatar/index.d.ts +6 -0
  74. package/dist/components/InputCheckbox/InputCheckbox.vue.d.ts +52 -0
  75. package/dist/components/InputCheckbox/index.d.ts +6 -0
  76. package/dist/components/InputColor/InputColor.vue.d.ts +40 -0
  77. package/dist/components/InputColor/index.d.ts +6 -0
  78. package/dist/components/InputDate/InputDate.story.d.ts +6 -0
  79. package/dist/components/InputDate/InputDate.vue.d.ts +23 -0
  80. package/dist/components/InputDate/index.d.ts +6 -0
  81. package/dist/components/InputMultiplier/InputMultiplier.vue.d.ts +41 -0
  82. package/dist/components/InputMultiplier/index.d.ts +6 -0
  83. package/dist/components/InputMultiplier/input-multiplier.story.d.ts +19 -0
  84. package/dist/components/InputMultiplier/types.d.ts +15 -0
  85. package/dist/components/InputPassword/InputPassword.vue.d.ts +68 -0
  86. package/dist/components/InputPassword/index.d.ts +6 -0
  87. package/dist/components/InputPhone/InputPhone.vue.d.ts +40 -0
  88. package/dist/components/InputPhone/index.d.ts +6 -0
  89. package/dist/components/InputPrice/InputPrice.vue.d.ts +39 -0
  90. package/dist/components/InputPrice/index.d.ts +6 -0
  91. package/dist/components/InputRadio/InputRadio.vue.d.ts +17 -0
  92. package/dist/components/InputRadio/InputRadioGroup.story.d.ts +7 -0
  93. package/dist/components/InputRadio/InputRadioGroup.vue.d.ts +44 -0
  94. package/dist/components/InputRadio/index.d.ts +7 -0
  95. package/dist/components/InputSelect/InputSelect.story.d.ts +6 -0
  96. package/dist/components/InputSelect/InputSelect.vue.d.ts +116 -0
  97. package/dist/components/InputSelect/index.d.ts +6 -0
  98. package/dist/components/InputSwitch/InputSwitch.story.d.ts +29 -0
  99. package/dist/components/InputSwitch/InputSwitch.vue.d.ts +40 -0
  100. package/dist/components/InputSwitch/index.d.ts +6 -0
  101. package/dist/components/InputText/InputText.vue.d.ts +60 -0
  102. package/dist/components/InputText/index.d.ts +6 -0
  103. package/dist/components/InputTextarea/InputTextarea.vue.d.ts +50 -0
  104. package/dist/components/InputTextarea/index.d.ts +6 -0
  105. package/dist/components/LineChart/LineChart.vue.d.ts +17 -0
  106. package/dist/components/LineChart/index.d.ts +6 -0
  107. package/dist/components/Modal/Modal.vue.d.ts +70 -0
  108. package/dist/components/Modal/index.d.ts +6 -0
  109. package/dist/components/ModalForm/ModalForm.vue.d.ts +53 -0
  110. package/dist/components/ModalForm/index.d.ts +6 -0
  111. package/dist/components/Pagination/Pagination.story.d.ts +5 -0
  112. package/dist/components/Pagination/Pagination.vue.d.ts +50 -0
  113. package/dist/components/Pagination/index.d.ts +6 -0
  114. package/dist/components/PieChart/PieChart.vue.d.ts +17 -0
  115. package/dist/components/PieChart/index.d.ts +6 -0
  116. package/dist/components/Popconfirm/Popconfirm.vue.d.ts +49 -0
  117. package/dist/components/Popconfirm/index.d.ts +6 -0
  118. package/dist/components/Popover/Popover.vue.d.ts +68 -0
  119. package/dist/components/Popover/index.d.ts +6 -0
  120. package/dist/components/ProgressCircle/ProgressCircle.story.d.ts +5 -0
  121. package/dist/components/ProgressCircle/ProgressCircle.vue.d.ts +56 -0
  122. package/dist/components/ProgressCircle/index.d.ts +6 -0
  123. package/dist/components/ProgressLine/ProgressLine.story.d.ts +5 -0
  124. package/dist/components/ProgressLine/ProgressLine.vue.d.ts +75 -0
  125. package/dist/components/ProgressLine/index.d.ts +6 -0
  126. package/dist/components/SensitiveInfo/SensitiveInfo.vue.d.ts +22 -0
  127. package/dist/components/SensitiveInfo/index.d.ts +6 -0
  128. package/dist/components/Tab/Tab.vue.d.ts +36 -0
  129. package/dist/components/Tab/index.d.ts +6 -0
  130. package/dist/components/Table/Table.story.d.ts +5 -0
  131. package/dist/components/Table/Table.vue.d.ts +97 -0
  132. package/dist/components/Table/index.d.ts +6 -0
  133. package/dist/components/Table/types.d.ts +13 -0
  134. package/dist/components/Tag/Tag.vue.d.ts +54 -0
  135. package/dist/components/Tag/index.d.ts +6 -0
  136. package/dist/components/Tag/types.d.ts +14 -0
  137. package/dist/components/Toast/Toast.vue.d.ts +21 -0
  138. package/dist/components/Toast/index.d.ts +6 -0
  139. package/dist/components/index.d.ts +43 -0
  140. package/dist/components/plugins.d.ts +45 -0
  141. package/dist/composables/index.d.ts +2 -0
  142. package/dist/composables/useBreakpoints.d.ts +5 -0
  143. package/dist/composables/useRender.d.ts +3 -0
  144. package/dist/copy-D-Dqxp8h.js +5 -0
  145. package/dist/credit-card-B3VjoUad.js +5 -0
  146. package/dist/credit-card-plus-TUZq5Zi0.js +4 -0
  147. package/dist/currency-BuSji4qA.js +5 -0
  148. package/dist/database-CNG_l2Or.js +5 -0
  149. package/dist/dots-grid-BhRGZg1t.js +5 -0
  150. package/dist/dots-vertical-nYIDxlT1.js +5 -0
  151. package/dist/email-open-outline-NlRAK8vu.js +5 -0
  152. package/dist/email-outline-v-beMKo_.js +5 -0
  153. package/dist/enums/app.d.ts +5 -0
  154. package/dist/enums/form.d.ts +23 -0
  155. package/dist/enums/index.d.ts +3 -0
  156. package/{enums/ui.ts → dist/enums/ui.d.ts} +16 -30
  157. package/dist/eye-C7_UM0rn.js +5 -0
  158. package/dist/eye-off-Dq2WOPSG.js +5 -0
  159. package/dist/file-document-plus-outline-C_GeG8ak.js +5 -0
  160. package/dist/filmstrip-Dg66xHap.js +4 -0
  161. package/dist/filter-07gM0IrM.js +5 -0
  162. package/dist/form/convertors.d.ts +3 -0
  163. package/dist/form/crud.d.ts +27 -0
  164. package/dist/form/form-data-transformers.d.ts +4 -0
  165. package/dist/form/form-transformer.d.ts +7 -0
  166. package/dist/form/form-value-transformers.d.ts +8 -0
  167. package/dist/form/form.test.d.ts +1 -0
  168. package/dist/form/json-transformers.d.ts +4 -0
  169. package/dist/fullscreen-daZRwm-1.js +5 -0
  170. package/dist/fullscreen-exit-DvHy2f8E.js +5 -0
  171. package/dist/group-B1HQcmCl.js +5 -0
  172. package/dist/i18n.d.ts +15 -0
  173. package/dist/image-C-DY_SfK.js +5 -0
  174. package/dist/image-album-DVl72ioK.js +5 -0
  175. package/dist/image-album-outline-oiPipPnp.js +5 -0
  176. package/dist/image-outline-CLpFyr7w.js +5 -0
  177. package/dist/index.d.ts +5 -0
  178. package/dist/info-outline-Mn6Hjz_K.js +5 -0
  179. package/dist/key-B8iEXxGx.js +5 -0
  180. package/dist/key-chain-D-8-GrU2.js +5 -0
  181. package/dist/key-variant-DViBRFAJ.js +5 -0
  182. package/dist/listbox-outline-BBriTS-r.js +5 -0
  183. package/dist/loading-E4eFmVsP.js +5 -0
  184. package/dist/lock-Nv-e-b24.js +5 -0
  185. package/dist/lock-outline-K2LxC2b6.js +5 -0
  186. package/dist/logout-BHwFpuou.js +5 -0
  187. package/dist/menu-down-B4Fy5IG1.js +4 -0
  188. package/dist/menu-left-D8G3frKt.js +4 -0
  189. package/dist/menu-pq7WWaJu.js +5 -0
  190. package/dist/menu-right-CMt4thJ2.js +4 -0
  191. package/dist/minus-CSCkQnOm.js +5 -0
  192. package/dist/minus-circle-D_N5NZW-.js +5 -0
  193. package/dist/minus-circle-outline-B-x6EXPD.js +5 -0
  194. package/dist/moon-Bhm_ZTV6.js +5 -0
  195. package/dist/open-in-new-C2Btl_1k.js +5 -0
  196. package/dist/pencil-BETebgXX.js +5 -0
  197. package/dist/people-BUW1DRzH.js +5 -0
  198. package/dist/piggy-bank-outline-5cDQNrSU.js +5 -0
  199. package/dist/plugins/register-component.d.ts +4 -0
  200. package/dist/plus-circle-Cl0YprEp.js +5 -0
  201. package/dist/plus-circle-outline-C-kkX0ke.js +5 -0
  202. package/dist/plus-sbcOm60H.js +5 -0
  203. package/dist/qrcode-scan-CpLrVFw_.js +5 -0
  204. package/dist/radio-DkjVAhsO.js +5 -0
  205. package/dist/radio-dark-Cr5v17AF.js +5 -0
  206. package/dist/refresh-DPlMWd1M.js +5 -0
  207. package/dist/save-BmMH4S8b.js +4 -0
  208. package/dist/search-Co2MwWOK.js +5 -0
  209. package/dist/services/clipboard.d.ts +2 -0
  210. package/dist/services/date.d.ts +16 -0
  211. package/dist/services/password.d.ts +7 -0
  212. package/dist/services/ui.d.ts +9 -0
  213. package/dist/spotlight-TNyCQzOY.js +4 -0
  214. package/dist/store-outline-B-fuVZzv.js +5 -0
  215. package/dist/style.css +1 -0
  216. package/dist/sun-BWKjCEHH.js +5 -0
  217. package/dist/swap-CNbqKTl0.js +5 -0
  218. package/dist/swap-horizontal-DociZUG2.js +5 -0
  219. package/dist/swap-left-Bd2DOgf3.js +5 -0
  220. package/dist/swap-right-D0VYxBDb.js +5 -0
  221. package/dist/system-theme-Cez6mSv_.js +5 -0
  222. package/dist/tag-outline-Ce_qOxif.js +5 -0
  223. package/dist/tamandua.js +15370 -0
  224. package/dist/trash-can-CKPtMqSf.js +5 -0
  225. package/dist/trash-can-outline-DjtqZHOC.js +5 -0
  226. package/{types/address.ts → dist/types/address.d.ts} +0 -5
  227. package/{types/api.ts → dist/types/api.d.ts} +0 -4
  228. package/{types/common.ts → dist/types/common.d.ts} +0 -1
  229. package/{types/form.ts → dist/types/form.d.ts} +37 -67
  230. package/dist/types/index.d.ts +5 -0
  231. package/{types/ui.ts → dist/types/ui.d.ts} +11 -16
  232. package/{types/website.ts → dist/types/website.d.ts} +0 -1
  233. package/dist/upload-CKfrBexU.js +5 -0
  234. package/dist/user-circle-D102n1FB.js +5 -0
  235. package/dist/vite.config.d.mts +2 -0
  236. package/dist/vitest.setup.d.ts +1 -0
  237. package/dist/zip-box-C10560VY.js +5 -0
  238. package/package.json +17 -6
  239. package/.editorconfig +0 -12
  240. package/.prettierrc +0 -5
  241. package/.storybook/main.ts +0 -25
  242. package/.storybook/preview-body.html +0 -3
  243. package/.storybook/preview.ts +0 -24
  244. package/App.vue +0 -1
  245. package/Dockerfile +0 -21
  246. package/assets/icons/account.svg +0 -1
  247. package/assets/icons/alert-octagon-outline.svg +0 -1
  248. package/assets/icons/alert-octagon.svg +0 -1
  249. package/assets/icons/archive-outline.svg +0 -1
  250. package/assets/icons/archive.svg +0 -1
  251. package/assets/icons/arrow-left.svg +0 -1
  252. package/assets/icons/arrow-right.svg +0 -1
  253. package/assets/icons/bank-outline.svg +0 -1
  254. package/assets/icons/bank.svg +0 -1
  255. package/assets/icons/camera.svg +0 -1
  256. package/assets/icons/cards-outline.svg +0 -1
  257. package/assets/icons/cards-variant.svg +0 -1
  258. package/assets/icons/cart-outline.svg +0 -1
  259. package/assets/icons/chart-box-outline.svg +0 -1
  260. package/assets/icons/chart-box.svg +0 -1
  261. package/assets/icons/check-circle-outline.svg +0 -1
  262. package/assets/icons/check-circle.svg +0 -1
  263. package/assets/icons/check.svg +0 -1
  264. package/assets/icons/checkbox-dark.svg +0 -1
  265. package/assets/icons/checkbox-indeterminate-dark.svg +0 -1
  266. package/assets/icons/checkbox-indeterminate.svg +0 -1
  267. package/assets/icons/checkbox.svg +0 -1
  268. package/assets/icons/chevron-down.svg +0 -1
  269. package/assets/icons/chevron-left.svg +0 -1
  270. package/assets/icons/chevron-right.svg +0 -1
  271. package/assets/icons/chevron-up.svg +0 -1
  272. package/assets/icons/circle.svg +0 -1
  273. package/assets/icons/clock.svg +0 -1
  274. package/assets/icons/close-circle-outline.svg +0 -1
  275. package/assets/icons/close-circle.svg +0 -1
  276. package/assets/icons/close.svg +0 -1
  277. package/assets/icons/cog.svg +0 -1
  278. package/assets/icons/color-fill.svg +0 -1
  279. package/assets/icons/copy.svg +0 -1
  280. package/assets/icons/credit-card-plus.svg +0 -1
  281. package/assets/icons/credit-card.svg +0 -1
  282. package/assets/icons/currency.svg +0 -1
  283. package/assets/icons/database.svg +0 -1
  284. package/assets/icons/dots-grid.svg +0 -1
  285. package/assets/icons/dots-vertical.svg +0 -1
  286. package/assets/icons/email-open-outline.svg +0 -1
  287. package/assets/icons/email-outline.svg +0 -1
  288. package/assets/icons/eye-off.svg +0 -1
  289. package/assets/icons/eye.svg +0 -1
  290. package/assets/icons/file-document-plus-outline.svg +0 -1
  291. package/assets/icons/filmstrip.svg +0 -1
  292. package/assets/icons/filter.svg +0 -1
  293. package/assets/icons/fullscreen-exit.svg +0 -1
  294. package/assets/icons/fullscreen.svg +0 -1
  295. package/assets/icons/group.svg +0 -1
  296. package/assets/icons/image-album-outline.svg +0 -1
  297. package/assets/icons/image-album.svg +0 -1
  298. package/assets/icons/image-outline.svg +0 -1
  299. package/assets/icons/image.svg +0 -1
  300. package/assets/icons/info-outline.svg +0 -1
  301. package/assets/icons/key-chain.svg +0 -1
  302. package/assets/icons/key-variant.svg +0 -1
  303. package/assets/icons/key.svg +0 -1
  304. package/assets/icons/listbox-outline.svg +0 -1
  305. package/assets/icons/loading.svg +0 -1
  306. package/assets/icons/lock-outline.svg +0 -1
  307. package/assets/icons/lock.svg +0 -1
  308. package/assets/icons/logout.svg +0 -1
  309. package/assets/icons/menu-down.svg +0 -1
  310. package/assets/icons/menu-left.svg +0 -1
  311. package/assets/icons/menu-right.svg +0 -1
  312. package/assets/icons/menu.svg +0 -1
  313. package/assets/icons/minus-circle-outline.svg +0 -1
  314. package/assets/icons/minus-circle.svg +0 -1
  315. package/assets/icons/minus.svg +0 -1
  316. package/assets/icons/moon.svg +0 -1
  317. package/assets/icons/open-in-new.svg +0 -1
  318. package/assets/icons/pencil.svg +0 -1
  319. package/assets/icons/people.svg +0 -1
  320. package/assets/icons/piggy-bank-outline.svg +0 -1
  321. package/assets/icons/plus-circle-outline.svg +0 -1
  322. package/assets/icons/plus-circle.svg +0 -1
  323. package/assets/icons/plus.svg +0 -1
  324. package/assets/icons/qrcode-scan.svg +0 -1
  325. package/assets/icons/radio-dark.svg +0 -1
  326. package/assets/icons/radio.svg +0 -1
  327. package/assets/icons/refresh.svg +0 -1
  328. package/assets/icons/save.svg +0 -1
  329. package/assets/icons/search.svg +0 -1
  330. package/assets/icons/spotlight.svg +0 -1
  331. package/assets/icons/store-outline.svg +0 -1
  332. package/assets/icons/sun.svg +0 -1
  333. package/assets/icons/swap-horizontal.svg +0 -1
  334. package/assets/icons/swap-left.svg +0 -1
  335. package/assets/icons/swap-right.svg +0 -1
  336. package/assets/icons/swap.svg +0 -1
  337. package/assets/icons/system-theme.svg +0 -1
  338. package/assets/icons/tag-outline.svg +0 -1
  339. package/assets/icons/trash-can-outline.svg +0 -1
  340. package/assets/icons/trash-can.svg +0 -1
  341. package/assets/icons/upload.svg +0 -1
  342. package/assets/icons/user-circle.svg +0 -1
  343. package/assets/icons/zip-box.svg +0 -1
  344. package/assets/images/fs/apk.svg +0 -11
  345. package/assets/images/fs/bmp.svg +0 -7
  346. package/assets/images/fs/css.svg +0 -8
  347. package/assets/images/fs/doc.svg +0 -9
  348. package/assets/images/fs/docx.svg +0 -9
  349. package/assets/images/fs/folder-adwaita.svg +0 -8
  350. package/assets/images/fs/folder-black.svg +0 -8
  351. package/assets/images/fs/folder-brown.svg +0 -8
  352. package/assets/images/fs/folder-grey.svg +0 -8
  353. package/assets/images/fs/folder-nordic.svg +0 -8
  354. package/assets/images/fs/folder-orange.svg +0 -8
  355. package/assets/images/fs/folder-palebrown.svg +0 -8
  356. package/assets/images/fs/folder-paleorange.svg +0 -8
  357. package/assets/images/fs/folder-teal.svg +0 -8
  358. package/assets/images/fs/folder-white.svg +0 -8
  359. package/assets/images/fs/folder-yellow.svg +0 -8
  360. package/assets/images/fs/gif.svg +0 -7
  361. package/assets/images/fs/go.svg +0 -9
  362. package/assets/images/fs/ics.svg +0 -24
  363. package/assets/images/fs/iso.svg +0 -10
  364. package/assets/images/fs/jpeg.svg +0 -7
  365. package/assets/images/fs/jpg.svg +0 -7
  366. package/assets/images/fs/js.svg +0 -9
  367. package/assets/images/fs/json.svg +0 -9
  368. package/assets/images/fs/lua.svg +0 -9
  369. package/assets/images/fs/m4v.svg +0 -7
  370. package/assets/images/fs/md.svg +0 -10
  371. package/assets/images/fs/mov.svg +0 -7
  372. package/assets/images/fs/mp3.svg +0 -9
  373. package/assets/images/fs/mp4.svg +0 -7
  374. package/assets/images/fs/pdf.svg +0 -9
  375. package/assets/images/fs/pgp.svg +0 -8
  376. package/assets/images/fs/php.svg +0 -9
  377. package/assets/images/fs/png.svg +0 -7
  378. package/assets/images/fs/ppt.svg +0 -9
  379. package/assets/images/fs/py.svg +0 -9
  380. package/assets/images/fs/rar.svg +0 -20
  381. package/assets/images/fs/rpm.svg +0 -7
  382. package/assets/images/fs/rs.svg +0 -9
  383. package/assets/images/fs/sh.svg +0 -9
  384. package/assets/images/fs/tar.svg +0 -20
  385. package/assets/images/fs/txt.svg +0 -8
  386. package/assets/images/fs/unknown.svg +0 -8
  387. package/assets/images/fs/xls.svg +0 -9
  388. package/assets/images/fs/xlsx.svg +0 -9
  389. package/assets/images/fs/xml.svg +0 -8
  390. package/assets/images/fs/yaml.svg +0 -9
  391. package/assets/images/fs/zip.svg +0 -20
  392. package/components/Avatar/Avatar.story.ts +0 -55
  393. package/components/Avatar/Avatar.vue +0 -82
  394. package/components/Avatar/index.ts +0 -12
  395. package/components/Backdrop/Backdrop.vue +0 -27
  396. package/components/Backdrop/index.ts +0 -12
  397. package/components/Button/Button.story.ts +0 -74
  398. package/components/Button/Button.vue +0 -230
  399. package/components/Button/index.ts +0 -12
  400. package/components/ButtonCopy/ButtonCopy.vue +0 -61
  401. package/components/ButtonCopy/index.ts +0 -12
  402. package/components/Drawer/Drawer.vue +0 -102
  403. package/components/Drawer/index.ts +0 -12
  404. package/components/Dropdown/Dropdown.vue +0 -258
  405. package/components/Dropdown/index.ts +0 -12
  406. package/components/EventListener/EventListener.vue +0 -12
  407. package/components/FileDrop/FileDrop.vue +0 -116
  408. package/components/FileDrop/index.ts +0 -12
  409. package/components/Form/Form.spec.ts +0 -72
  410. package/components/Form/Form.vue +0 -134
  411. package/components/Form/index.ts +0 -12
  412. package/components/FormItem/FormItem.vue +0 -85
  413. package/components/FormItem/index.ts +0 -12
  414. package/components/GraphyEmpty/GraphyEmpty.vue +0 -16
  415. package/components/GraphyEmpty/index.ts +0 -12
  416. package/components/GraphyLabel/GraphyLabel.vue +0 -34
  417. package/components/GraphyLabel/index.ts +0 -12
  418. package/components/GraphyPrice/GraphyPrice.story.ts +0 -37
  419. package/components/GraphyPrice/GraphyPrice.vue +0 -65
  420. package/components/GraphyPrice/index.ts +0 -12
  421. package/components/GraphySubtitle/GraphySubtitle.vue +0 -22
  422. package/components/GraphySubtitle/index.ts +0 -12
  423. package/components/GraphyTitle/GraphyTitle.vue +0 -13
  424. package/components/GraphyTitle/index.ts +0 -12
  425. package/components/Icon/Icon.vue +0 -84
  426. package/components/Icon/index.ts +0 -12
  427. package/components/IconButton/IconButton.vue +0 -168
  428. package/components/IconButton/index.ts +0 -12
  429. package/components/InputAvatar/InputAvatar.vue +0 -63
  430. package/components/InputAvatar/index.ts +0 -12
  431. package/components/InputCheckbox/InputCheckbox.vue +0 -77
  432. package/components/InputCheckbox/index.ts +0 -12
  433. package/components/InputColor/InputColor.vue +0 -54
  434. package/components/InputColor/index.ts +0 -12
  435. package/components/InputDate/InputDate.story.ts +0 -15
  436. package/components/InputDate/InputDate.vue +0 -368
  437. package/components/InputDate/index.ts +0 -12
  438. package/components/InputMultiplier/InputMultiplier.vue +0 -144
  439. package/components/InputMultiplier/index.ts +0 -12
  440. package/components/InputPassword/InputPassword.vue +0 -168
  441. package/components/InputPassword/index.ts +0 -12
  442. package/components/InputPhone/InputPhone.vue +0 -125
  443. package/components/InputPhone/index.ts +0 -12
  444. package/components/InputPrice/InputPrice.vue +0 -96
  445. package/components/InputPrice/index.ts +0 -12
  446. package/components/InputRadio/InputRadio.vue +0 -41
  447. package/components/InputRadio/InputRadioGroup.story.ts +0 -24
  448. package/components/InputRadio/InputRadioGroup.vue +0 -48
  449. package/components/InputRadio/index.ts +0 -14
  450. package/components/InputSelect/InputSelect.story.ts +0 -87
  451. package/components/InputSelect/InputSelect.vue +0 -507
  452. package/components/InputSelect/index.ts +0 -12
  453. package/components/InputSwitch/InputSwitch.story.ts +0 -34
  454. package/components/InputSwitch/InputSwitch.vue +0 -82
  455. package/components/InputSwitch/index.ts +0 -12
  456. package/components/InputText/InputText.vue +0 -62
  457. package/components/InputText/index.ts +0 -12
  458. package/components/InputTextarea/InputTextarea.vue +0 -64
  459. package/components/InputTextarea/index.ts +0 -12
  460. package/components/LineChart/LineChart.vue +0 -14
  461. package/components/LineChart/index.ts +0 -12
  462. package/components/Modal/Modal.vue +0 -106
  463. package/components/Modal/index.ts +0 -12
  464. package/components/ModalForm/ModalForm.vue +0 -141
  465. package/components/ModalForm/index.ts +0 -12
  466. package/components/Pagination/Pagination.story.ts +0 -15
  467. package/components/Pagination/Pagination.vue +0 -138
  468. package/components/Pagination/index.ts +0 -12
  469. package/components/PieChart/PieChart.vue +0 -14
  470. package/components/PieChart/index.ts +0 -12
  471. package/components/Popconfirm/Popconfirm.vue +0 -80
  472. package/components/Popconfirm/index.ts +0 -12
  473. package/components/Popover/Popover.vue +0 -133
  474. package/components/Popover/index.ts +0 -12
  475. package/components/ProgressCircle/ProgressCircle.story.ts +0 -31
  476. package/components/ProgressCircle/ProgressCircle.vue +0 -82
  477. package/components/ProgressCircle/index.ts +0 -12
  478. package/components/ProgressLine/ProgressLine.story.ts +0 -27
  479. package/components/ProgressLine/ProgressLine.vue +0 -104
  480. package/components/ProgressLine/index.ts +0 -12
  481. package/components/SensitiveInfo/SensitiveInfo.vue +0 -18
  482. package/components/SensitiveInfo/index.ts +0 -12
  483. package/components/Tab/Tab.vue +0 -58
  484. package/components/Tab/index.ts +0 -12
  485. package/components/Table/Table.story.ts +0 -32
  486. package/components/Table/Table.vue +0 -318
  487. package/components/Table/index.ts +0 -12
  488. package/components/Tag/Tag.vue +0 -73
  489. package/components/Tag/index.ts +0 -12
  490. package/components/Toast/Toast.vue +0 -75
  491. package/components/Toast/index.ts +0 -12
  492. package/components/index.ts +0 -43
  493. package/components/plugins.ts +0 -89
  494. package/composables/index.ts +0 -2
  495. package/composables/useBreakpoints.ts +0 -30
  496. package/composables/useRender.ts +0 -29
  497. package/entrypoint.sh +0 -19
  498. package/enums/app.ts +0 -5
  499. package/enums/form.ts +0 -25
  500. package/env.d.ts +0 -8
  501. package/i18n.ts +0 -20
  502. package/index.css +0 -383
  503. package/index.html +0 -22
  504. package/index.ts +0 -14
  505. package/main.ts +0 -31
  506. package/plugins/register-component.ts +0 -5
  507. package/postcss.config.js +0 -6
  508. package/services/clipboard.ts +0 -5
  509. package/services/date.ts +0 -27
  510. package/services/form/crud.ts +0 -109
  511. package/services/form/form-data-transformers.ts +0 -148
  512. package/services/form/form-json-transformers.ts +0 -91
  513. package/services/form/form-transformer.ts +0 -54
  514. package/services/form/form-value-transformers.ts +0 -35
  515. package/services/form/form.test.ts +0 -98
  516. package/services/form/form.ts +0 -80
  517. package/services/password.ts +0 -309
  518. package/services/ui.ts +0 -43
  519. package/tailwind.config.js +0 -16
  520. package/tsconfig.json +0 -23
  521. package/types/index.ts +0 -5
  522. package/vite.config.mts +0 -38
  523. package/vitest.setup.ts +0 -21
@@ -0,0 +1,5 @@
1
+ const h = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3H9m0 5h2v9H9V8m4 0h2v9h-2V8Z"/></svg>
2
+ `;
3
+ export {
4
+ h as default
5
+ };
@@ -0,0 +1,5 @@
1
+ const h = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3H9M7 6h10v13H7V6m2 2v9h2V8H9m4 0v9h2V8h-2Z"/></svg>
2
+ `;
3
+ export {
4
+ h as default
5
+ };
@@ -5,13 +5,10 @@ export interface Country {
5
5
  iso2: string;
6
6
  order: string;
7
7
  }
8
-
9
8
  export interface CountryStateOption {
10
9
  uuid: string;
11
10
  name: string;
12
11
  }
13
-
14
- /* Response & Payload from/to the API */
15
12
  export interface AddressResource {
16
13
  city?: string;
17
14
  complement?: string;
@@ -26,8 +23,6 @@ export interface AddressResource {
26
23
  town?: string;
27
24
  zipCode?: string;
28
25
  }
29
-
30
- /* Model for InputAddress */
31
26
  export interface AddressModel {
32
27
  city?: string;
33
28
  complement?: string;
@@ -3,24 +3,20 @@ export type APISearchFilters = {
3
3
  * ID or UUID
4
4
  */
5
5
  i?: string;
6
-
7
6
  /**
8
7
  * Resource type, either:
9
8
  * option: to be used in select components, bare minimum data
10
9
  * full: to be used anywhere else, contains all the entity data
11
10
  */
12
11
  r?: "option" | "full";
13
-
14
12
  /**
15
13
  * Search query
16
14
  */
17
15
  t?: string;
18
-
19
16
  /**
20
17
  * Page number
21
18
  */
22
19
  page?: number | string;
23
-
24
20
  /**
25
21
  * Amount of items per page
26
22
  */
@@ -1,5 +1,4 @@
1
1
  export type KeysMatching<T, V> = {
2
2
  [K in keyof T]-?: T[K] extends V ? K : never;
3
3
  }[keyof T];
4
-
5
4
  export type Maybe<T> = NonNullable<T> | undefined;
@@ -1,78 +1,59 @@
1
- import { Icon } from "@/enums/ui";
2
- import { Website } from "@/types/website";
3
- import { Pagination } from "@/types/ui";
4
- import { APISearchFilters } from "@/types/api";
5
- import { AddressModel, Country } from "@/types/address";
6
- import { FormDataTypes, FormSubmissionFormat } from "@/enums/form";
1
+ import { FormDataTypes, FormSubmissionFormat } from '../enums/form';
2
+ import { AddressModel, Country } from './address';
3
+ import { APISearchFilters } from './api';
4
+ import { Pagination } from './ui';
5
+ import { Website } from './website';
6
+ import { Icon } from '../enums/ui';
7
7
 
8
8
  export type SelectValuePrimitives = string | number;
9
-
10
9
  export type SelectValue = SelectValuePrimitives | Array<SelectValuePrimitives>;
11
-
12
10
  export type SelectOption = {
13
11
  /** Optional icon, to be appended to the label */
14
12
  icon?: `${Icon}`;
15
-
16
13
  /** Option label, either a string or an object containing the props necessary to render the option */
17
14
  label: any;
18
-
19
15
  /** Optional type, used to diferentiate options from one another */
20
16
  type?: string;
21
-
22
17
  /** Optional renderer, containing the fully resolved path to the component that will be used
23
18
  * to render the option
24
19
  */
25
20
  renderer?: string;
26
- } & (
27
- | {
28
- /** If true, the option is a group label and can't be selected */
29
- isGroupLabel: boolean;
30
-
31
- value?: never;
32
- action?: never;
33
- }
34
- | {
35
- /** Option value */
36
- value: SelectValue;
37
-
38
- action?: never;
39
- isGroupLabel?: never;
40
- }
41
- | {
42
- /** Action to be executed once the option is selected */
43
- action: (
44
- filters?: APISearchFilters,
45
- ) =>
46
- | Promise<{ items: unknown[]; pagination: Pagination }>
47
- | Promise<void>
48
- | void;
49
-
50
- value?: never;
51
- isGroupLabel?: never;
52
- }
53
- );
54
-
55
- export interface InputSocialModel {
56
- profile: string;
57
- network: number;
58
- }
59
-
21
+ } & ({
22
+ /** If true, the option is a group label and can't be selected */
23
+ isGroupLabel: boolean;
24
+ value?: never;
25
+ action?: never;
26
+ } | {
27
+ /** Option value */
28
+ value: SelectValue;
29
+ action?: never;
30
+ isGroupLabel?: never;
31
+ } | {
32
+ /** Action to be executed once the option is selected */
33
+ action: (filters?: APISearchFilters) => Promise<{
34
+ items: unknown[];
35
+ pagination: Pagination;
36
+ }> | Promise<void> | void;
37
+ value?: never;
38
+ isGroupLabel?: never;
39
+ });
60
40
  export interface InputPriceModel {
61
41
  iso: string;
62
42
  value: number;
63
43
  }
64
-
65
44
  export interface InputPasswordModel {
45
+ /** Unencrypted password */
66
46
  value: string;
47
+ /** Strength of the password */
67
48
  strength?: number;
49
+ /** Date of creation or last update */
68
50
  updatedAt?: Date;
69
-
70
- /** If true, encrypts the password before posting to the API */
71
- encrypt?: boolean;
51
+ /** If an encryptor was passed, this prop will hold the encrypted value */
52
+ encrypted?: string;
72
53
  }
73
-
74
- export type FormStyle = { [key in "label" | "input"]?: string };
75
-
54
+ export type FormStyle = {
55
+ [key in "label" | "input"]?: string;
56
+ };
76
57
  export type FormSchemaValueMap = {
77
58
  [FormDataTypes.Address]: AddressModel;
78
59
  [FormDataTypes.Boolean]: boolean;
@@ -88,33 +69,25 @@ export type FormSchemaValueMap = {
88
69
  [FormDataTypes.StringArray]: string[];
89
70
  [FormDataTypes.Website]: Website;
90
71
  };
91
-
92
72
  /**
93
73
  * Form in the JSON format
94
74
  */
95
- export type JSONForm = { [prop: string]: string | number | boolean | string[] };
96
-
75
+ export type JSONForm = {
76
+ [prop: string]: string | number | boolean | string[];
77
+ };
97
78
  /**
98
79
  * Form in the FormData format
99
80
  */
100
81
  export type FormDataForm = InstanceType<typeof FormData>;
101
-
102
82
  export type FormSubmissionFormatMap = {
103
83
  [FormSubmissionFormat.FormData]: FormDataForm;
104
84
  [FormSubmissionFormat.JSON]: JSONForm;
105
85
  };
106
-
107
86
  /**
108
87
  * Transformed form, the result of the form transformation from the high level form values
109
88
  * to the desired submission format, either FormData or JSON
110
89
  */
111
- export type TransformedForm<T = FormSubmissionFormat.FormData> =
112
- T extends FormSubmissionFormat.FormData
113
- ? FormDataForm
114
- : T extends FormSubmissionFormat.JSON
115
- ? JSONForm
116
- : never;
117
-
90
+ export type TransformedForm<T = FormSubmissionFormat.FormData> = T extends FormSubmissionFormat.FormData ? FormDataForm : T extends FormSubmissionFormat.JSON ? JSONForm : never;
118
91
  /**
119
92
  * Validation result object, containing the validation status and the transformed form
120
93
  */
@@ -122,14 +95,12 @@ export type ValidationResult<T = FormSubmissionFormat.FormData> = {
122
95
  isValid: boolean;
123
96
  form: TransformedForm<T>;
124
97
  };
125
-
126
98
  /**
127
99
  * Form schema, defining the form fields and their corresponding FormDataTypes
128
100
  */
129
101
  export type FormSchema = {
130
102
  [key: string]: FormDataTypes;
131
103
  };
132
-
133
104
  /**
134
105
  * Object containing the form values, each value being of one of the types from
135
106
  * FormDataTypes, defined by each corresponding input component
@@ -137,7 +108,6 @@ export type FormSchema = {
137
108
  export type FormInstance<T extends Record<string, FormDataTypes>> = {
138
109
  [K in keyof T]: FormSchemaValueMap[T[K]];
139
110
  };
140
-
141
111
  /**
142
112
  * Type union of the accepted values by the FormData
143
113
  */
@@ -0,0 +1,5 @@
1
+ export * from './address';
2
+ export * from './api';
3
+ export * from './form';
4
+ export * from './ui';
5
+ export * from './website';
@@ -1,52 +1,47 @@
1
- import { ElementPosition, ElementVariant } from "@/enums/ui";
1
+ import { ElementPosition, ElementVariant } from '../enums/ui';
2
2
 
3
3
  export interface Pagination {
4
4
  /** Amount of items in current page */
5
5
  items: number;
6
-
7
6
  /** Current page */
8
7
  page: number;
9
-
10
8
  /** Amount of pages */
11
9
  pages: number;
12
-
13
10
  /** Amount of items per page */
14
11
  perPage: number;
15
-
16
12
  /** Amount of items being skipped */
17
13
  skip: number;
18
-
19
14
  /** Total number of items */
20
15
  totalItems: number;
21
16
  }
22
-
23
17
  export type TableColumn = {
24
18
  title?: string;
25
- } & ({ slot: string } | { property: string });
26
-
19
+ } & ({
20
+ slot: string;
21
+ } | {
22
+ property: string;
23
+ });
27
24
  export type TableEditorColumn = {
28
25
  title?: string;
29
-
30
26
  /** Property name, defaults to slot name */
31
27
  property?: string;
32
-
33
28
  /** Input type for editing column */
34
29
  type?: "text" | "select" | "price";
35
-
36
30
  /** Show/Hide column */
37
31
  visible?: boolean;
38
- } & ({ slot: string } | { property: string });
39
-
32
+ } & ({
33
+ slot: string;
34
+ } | {
35
+ property: string;
36
+ });
40
37
  export type TableEditorRow = {
41
38
  uuid: string;
42
39
  [prop: string]: any;
43
40
  };
44
-
45
41
  export type Tab = {
46
42
  title?: string;
47
43
  slot?: string;
48
44
  };
49
-
50
45
  export type Message = {
51
46
  id: number;
52
47
  message: string;
@@ -9,7 +9,6 @@ export type Website = {
9
9
  faviconCache?: string;
10
10
  faviconLink?: string;
11
11
  };
12
-
13
12
  export type WebsiteMinified = {
14
13
  f: string;
15
14
  u: string;
@@ -0,0 +1,5 @@
1
+ const v = `<svg class="v1262d JUQOtc" viewBox="0 0 24 24"><path d="M4 15h2v3h12v-3h2v3c0 1.1-.9 2-2 2H6c-1.1 0-2-.9-2-2m4.41-7.59L11 7.83V16h2V7.83l2.59 2.59L17 9l-5-5-5 5 1.41 1.41z"/></svg>
2
+ `;
3
+ export {
4
+ v as default
5
+ };
@@ -0,0 +1,5 @@
1
+ const s = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 19.2c-2.5 0-4.71-1.28-6-3.2.03-2 4-3.1 6-3.1s5.97 1.1 6 3.1a7.232 7.232 0 0 1-6 3.2M12 5a3 3 0 0 1 3 3 3 3 0 0 1-3 3 3 3 0 0 1-3-3 3 3 0 0 1 3-3m0-3A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10c0-5.53-4.5-10-10-10Z"/></svg>
2
+ `;
3
+ export {
4
+ s as default
5
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vite').UserConfig;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ const h = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14 17h-2v-2h-2v-2h2v2h2m0-6h-2v2h2v2h-2v-2h-2V9h2V7h-2V5h2v2h2m5-4H5c-1.11 0-2 .89-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2Z"/></svg>
2
+ `;
3
+ export {
4
+ h as default
5
+ };
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@caipira/tamandua",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
+ "private": false,
4
5
  "description": "UI library for the Caipira ecosystem",
5
- "license": "UNLICENSED",
6
+ "license": "GPL-3.0-only",
6
7
  "homepage": "https://caipira.io",
7
8
  "author": {
8
9
  "name": "Theone Lucas",
@@ -12,10 +13,18 @@
12
13
  "type": "git",
13
14
  "url": "https://github.com/caipira-io/tamandua.git"
14
15
  },
15
- "typings": "dist/types/index.d.ts",
16
+ "type": "module",
17
+ "main": "./dist/tamandua.js",
18
+ "types": "./dist/main.d.ts",
16
19
  "exports": {
17
- "./*": "./*"
20
+ "./style.css": "./dist/style.css"
18
21
  },
22
+ "files": [
23
+ "dist"
24
+ ],
25
+ "sideEffects": [
26
+ "**/*.css"
27
+ ],
19
28
  "scripts": {
20
29
  "start": "vite --host",
21
30
  "build": "vite build",
@@ -24,7 +33,8 @@
24
33
  "test": "vitest --run",
25
34
  "typecheck": "vue-tsc --noEmit --skipLibCheck -p tsconfig.json --composite false",
26
35
  "start:sb": "storybook dev",
27
- "build:sb": "storybook build"
36
+ "build:sb": "storybook build",
37
+ "prepublishOnly": "npm run build"
28
38
  },
29
39
  "dependencies": {
30
40
  "chart.js": "^4.0.0",
@@ -62,9 +72,10 @@
62
72
  "ts-node": "^10.9.1",
63
73
  "typescript": "^5.1.3",
64
74
  "vite": "^5.2.6",
75
+ "vite-plugin-dts": "^3.8.1",
65
76
  "vite-tsconfig-paths": "^4.2.0",
66
77
  "vitest": "^1.4.0",
67
78
  "vue": "^3.4.21",
68
79
  "vue-tsc": "^1.8.0"
69
80
  }
70
- }
81
+ }
package/.editorconfig DELETED
@@ -1,12 +0,0 @@
1
- root = true
2
-
3
- [*]
4
- indent_style = space
5
- indent_size = 4
6
- end_of_line = lf
7
- charset = utf-8
8
- trim_trailing_whitespace = true
9
- insert_final_newline = true
10
-
11
- [*.md]
12
- trim_trailing_whitespace = false
package/.prettierrc DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "tabWidth": 4,
3
- "useTabs": false,
4
- "singleAttributePerLine": true
5
- }
@@ -1,25 +0,0 @@
1
- import { loadEnv } from "vite";
2
- import { StorybookConfig } from "@storybook/vue3-vite";
3
-
4
- const env = loadEnv("", process.cwd(), "GLOBAL_");
5
-
6
- const config: StorybookConfig = {
7
- stories: ["../components/**/*.story.@(js|ts)"],
8
- addons: [
9
- "@storybook/addon-links",
10
- "@storybook/addon-themes",
11
- "@storybook/addon-essentials",
12
- "@storybook/addon-interactions",
13
- ],
14
- framework: {
15
- name: "@storybook/vue3-vite",
16
- options: {
17
- docgen: "vue-component-meta",
18
- },
19
- },
20
- core: {
21
- disableTelemetry: true,
22
- },
23
- };
24
-
25
- export default config;
@@ -1,3 +0,0 @@
1
- <html>
2
- <body class="text-base color-text bg-caipira-primary"></body>
3
- </html>
@@ -1,24 +0,0 @@
1
- import i18n from "@/i18n";
2
- import Tamandua from "@/index";
3
- import { setup, Preview } from "@storybook/vue3";
4
- import { withThemeByClassName } from "@storybook/addon-themes";
5
-
6
- import "@/index.css";
7
-
8
- setup((app) => {
9
- app.use(i18n).use(Tamandua);
10
- });
11
-
12
- const preview: Preview = {
13
- decorators: [
14
- withThemeByClassName({
15
- themes: {
16
- light: "",
17
- dark: "dark",
18
- },
19
- defaultTheme: "light",
20
- }),
21
- ],
22
- };
23
-
24
- export default preview;
package/App.vue DELETED
@@ -1 +0,0 @@
1
- <template></template>
package/Dockerfile DELETED
@@ -1,21 +0,0 @@
1
- FROM node:21
2
-
3
- ARG BUILD_TARGET
4
- ENV BUILD_TARGET=${BUILD_TARGET}
5
- ENV YARN_VERSION=4.1.1
6
-
7
- RUN mkdir -p /usr/src
8
- WORKDIR /usr/src
9
- COPY . /usr/src
10
-
11
- RUN apt-get update && apt-get -y upgrade
12
- RUN apt-get install git
13
- RUN corepack enable && corepack prepare yarn@${YARN_VERSION} --activate
14
-
15
- # Install dependencies
16
- RUN if [ "$BUILD_TARGET" = "prod" ]; then \
17
- yarn install; \
18
- fi
19
-
20
- RUN chmod u+x ./entrypoint.sh
21
- CMD ./entrypoint.sh ${BUILD_TARGET}
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.973 1.323a5.101 5.307 0 0 1 5.1 5.307 5.101 5.307 0 0 1-5.1 5.307A5.101 5.307 0 0 1 6.87 6.63a5.101 5.307 0 0 1 5.102-5.307m0 13.268c5.637 0 10.202 2.375 10.202 5.308v2.653H1.77V19.9c0-2.933 4.566-5.308 10.203-5.308z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.27,3L3,8.27V15.73L8.27,21H15.73C17.5,19.24 21,15.73 21,15.73V8.27L15.73,3M9.1,5H14.9L19,9.1V14.9L14.9,19H9.1L5,14.9V9.1M11,15H13V17H11V15M11,7H13V13H11V7" /></svg>
@@ -1 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M13 13H11V7H13M11 15H13V17H11M15.73 3H8.27L3 8.27V15.73L8.27 21H15.73L21 15.73V8.27L15.73 3Z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.54 5.23l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.16.55L3.46 5.23C3.17 5.57 3 6.02 3 6.5V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.48-.17-.93-.46-1.27zM6.24 5h11.52l.83 1H5.42l.82-1zM5 19V8h14v11H5zm8-5.35V9.5h-2v4.15l-1.79-1.79-1.42 1.41L12 17.48l4.21-4.21-1.42-1.41z"></path></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5.12,5L5.93,4H17.93L18.87,5M12,17.5L6.5,12H10V10H14V12H17.5L12,17.5M20.54,5.23L19.15,3.55C18.88,3.21 18.47,3 18,3H6C5.53,3 5.12,3.21 4.84,3.55L3.46,5.23C3.17,5.57 3,6 3,6.5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V6.5C21,6 20.83,5.57 20.54,5.23Z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m10 19-7-7m0 0 7-7m-7 7h18"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m14 5 7 7m0 0-7 7m7-7H3"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5,10H4.5V17H6.5V10M12.5,10H10.5V17H12.5V10M21,19H2V21H21V19M18.5,10H16.5V17H18.5V10M11.5,3.26L16.71,6H6.29L11.5,3.26M11.5,1L2,6V8H21V6L11.5,1Z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.5,1L2,6V8H21V6M16,10V17H19V10M2,22H21V19H2M10,10V17H13V10M4,10V17H7V10H4Z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4,4H7L9,2H15L17,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.19 2.25c-.26 0-.52.06-.77.15L3.06 5.45a1.994 1.994 0 0 0-1.09 2.6L6.93 20a2 2 0 0 0 1.81 1.25c.26 0 .53-.03.79-.15l7.37-3.05a2.02 2.02 0 0 0 1.23-1.8c.01-.25-.04-.54-.13-.8L13 3.5a1.954 1.954 0 0 0-1.81-1.25m3.48 0 3.45 8.35V4.25a2 2 0 0 0-2-2m4.01 1.54v9.03l2.43-5.86a1.99 1.99 0 0 0-1.09-2.6m-10.28-.14 4.98 12.02-7.39 3.06L3.8 7.29"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 2h14a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1m1 2v8h12V4H6m14 13a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-1h16v1m0 4a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-1h16v1Z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17,18A2,2 0 0,1 19,20A2,2 0 0,1 17,22C15.89,22 15,21.1 15,20C15,18.89 15.89,18 17,18M1,2H4.27L5.21,4H20A1,1 0 0,1 21,5C21,5.17 20.95,5.34 20.88,5.5L17.3,11.97C16.96,12.58 16.3,13 15.55,13H8.1L7.2,14.63L7.17,14.75A0.25,0.25 0 0,0 7.42,15H19V17H7C5.89,17 5,16.1 5,15C5,14.65 5.09,14.32 5.24,14.04L6.6,11.59L3,4H1V2M7,18A2,2 0 0,1 9,20A2,2 0 0,1 7,22C5.89,22 5,21.1 5,20C5,18.89 5.89,18 7,18M16,11L18.78,6H6.14L8.5,11H16Z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 17H7V10H9V17M13 17H11V7H13V17M17 17H15V13H17V17M19 19H5V5H19V19.1M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3Z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3M9 17H7V10H9V17M13 17H11V7H13V17M17 17H15V13H17V17Z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M12 20C7.59 20 4 16.41 4 12S7.59 4 12 4 20 7.59 20 12 16.41 20 12 20M16.59 7.58L10 14.17L7.41 11.59L6 13L10 17L18 9L16.59 7.58Z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#000'><path d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z' /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'><path stroke='#000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8' /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'><path stroke='#fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8' /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#fff'><path d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z' /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 20C16.4 20 20 16.4 20 12S16.4 4 12 4 4 7.6 4 12 7.6 20 12 20M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22C6.5 22 2 17.5 2 12C2 6.5 6.5 2 12 2M17 11.5V13H11V7H12.5V11.5H17Z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22C17.53,22 22,17.53 22,12C22,6.47 17.53,2 12,2M14.59,8L12,10.59L9.41,8L8,9.41L10.59,12L8,14.59L9.41,16L12,13.41L14.59,16L16,14.59L13.41,12L16,9.41L14.59,8Z" /></svg>
@@ -1 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 0 0-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 0 0-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 0 0-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 0 0-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 0 0 1.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"/><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"/></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,11.5C19,11.5 17,13.67 17,15A2,2 0 0,0 19,17A2,2 0 0,0 21,15C21,13.67 19,11.5 19,11.5M5.21,10L10,5.21L14.79,10M16.56,8.94L7.62,0L6.21,1.41L8.59,3.79L3.44,8.94C2.85,9.5 2.85,10.47 3.44,11.06L8.94,16.56C9.23,16.85 9.62,17 10,17C10.38,17 10.77,16.85 11.06,16.56L16.56,11.06C17.15,10.47 17.15,9.5 16.56,8.94Z" /></svg>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z" /></svg>