@caipira/tamandua 0.0.13 → 0.0.14

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 (288) hide show
  1. package/README.md +3 -1
  2. package/dist/Avatar.js +1 -0
  3. package/dist/Avatar.vue_vue_type_script_setup_true_lang-DshMIzMM.js +1 -0
  4. package/dist/Backdrop.js +1 -0
  5. package/dist/Backdrop.vue_vue_type_script_setup_true_lang-OaEBTmYK.js +1 -0
  6. package/dist/Button-CBe3UDFT.js +7 -0
  7. package/dist/Button.css +1 -1
  8. package/dist/Button.js +3 -2
  9. package/dist/{Button.vue_vue_type_style_index_0_scoped_8639b950_lang-C9uKZk0F.js → Button.vue_vue_type_style_index_0_scoped_83f5665a_lang-BAjkC8CW.js} +3 -2
  10. package/dist/ButtonCopy.js +3 -2
  11. package/dist/{ButtonCopy.vue_vue_type_script_setup_true_lang-CZsqPE-4.js → ButtonCopy.vue_vue_type_script_setup_true_lang-DKiQiVwp.js} +2 -1
  12. package/dist/ChartLine.js +1 -0
  13. package/dist/ChartLine.vue_vue_type_style_index_0_lang-DO_gKCe4.js +1 -0
  14. package/dist/ChartTreemap.js +3 -2
  15. package/dist/{ChartTreemap.vue_vue_type_script_setup_true_lang-BSKB-UTM.js → ChartTreemap.vue_vue_type_script_setup_true_lang-BQsyn6Wt.js} +2 -1
  16. package/dist/Drawer-omdZnBPG.js +1 -0
  17. package/dist/Drawer.js +1 -0
  18. package/dist/Dropdown.js +3 -2
  19. package/dist/Dropdown.vue_vue_type_script_setup_true_lang-DRsd_7yO.js +154 -0
  20. package/dist/FileDrop.js +1 -0
  21. package/dist/FileDrop.vue_vue_type_script_setup_true_lang-DJ05bRaU.js +1 -0
  22. package/dist/Form.js +1 -0
  23. package/dist/Form.vue_vue_type_script_setup_true_lang-DIh6jDi0.js +1 -0
  24. package/dist/FormItem.js +1 -0
  25. package/dist/FormItem.vue_vue_type_script_setup_true_lang-CV5hpJ8B.js +1 -0
  26. package/dist/GraphyEmpty.js +1 -0
  27. package/dist/GraphyEmpty.vue_vue_type_script_setup_true_lang-B-hAjDCw.js +1 -0
  28. package/dist/GraphyLabel.js +1 -0
  29. package/dist/GraphyLabel.vue_vue_type_script_setup_true_lang-dEuzASQp.js +1 -0
  30. package/dist/GraphyPrice.js +1 -0
  31. package/dist/GraphyPrice.vue_vue_type_script_setup_true_lang-BxKdnVzF.js +1 -0
  32. package/dist/GraphySubtitle.js +1 -0
  33. package/dist/GraphySubtitle.vue_vue_type_script_setup_true_lang-DtAmgZWp.js +1 -0
  34. package/dist/GraphyTitle.js +1 -0
  35. package/dist/GraphyTitle.vue_vue_type_script_setup_true_lang-DXnrZHV2.js +1 -0
  36. package/dist/Icon.js +3 -2
  37. package/dist/{Icon.vue_vue_type_script_setup_true_lang-DiRGfOxc.js → Icon.vue_vue_type_script_setup_true_lang-CSo7rrah.js} +27 -23
  38. package/dist/IconButton.js +3 -2
  39. package/dist/IconButton.vue_vue_type_script_setup_true_lang-Ca3OdiGJ.js +92 -0
  40. package/dist/InputAvatar.js +1 -0
  41. package/dist/InputAvatar.vue_vue_type_script_setup_true_lang-coNpUH5g.js +1 -0
  42. package/dist/InputCheckbox.js +1 -0
  43. package/dist/InputCheckbox.vue_vue_type_script_setup_true_lang-B5zoxg5A.js +1 -0
  44. package/dist/InputColor.js +1 -0
  45. package/dist/InputColor.vue_vue_type_script_setup_true_lang-CZ0o-B7I.js +1 -0
  46. package/dist/InputDate.js +1 -0
  47. package/dist/InputDate.vue_vue_type_script_setup_true_lang-D1H0urIZ.js +1 -0
  48. package/dist/InputMultiplier.js +1 -0
  49. package/dist/InputMultiplier.vue_vue_type_script_setup_true_lang-w2RuSz1R.js +1 -0
  50. package/dist/InputPassword.js +3 -2
  51. package/dist/{InputPassword.vue_vue_type_script_setup_true_lang-kknXv5I-.js → InputPassword.vue_vue_type_script_setup_true_lang-DHc92ISX.js} +2 -1
  52. package/dist/InputPhone.js +1 -0
  53. package/dist/InputPhone.vue_vue_type_script_setup_true_lang-uNqXphQY.js +1 -0
  54. package/dist/InputPrice.js +1 -0
  55. package/dist/InputPrice.vue_vue_type_script_setup_true_lang-BBi8qKn8.js +1 -0
  56. package/dist/InputRadio.js +1 -0
  57. package/dist/InputRadio.vue_vue_type_script_setup_true_lang-Dqbov2kN.js +1 -0
  58. package/dist/InputSelect.js +3 -2
  59. package/dist/InputSelect.vue_vue_type_script_setup_true_lang-BmupIAdQ.js +228 -0
  60. package/dist/InputSwitch.js +1 -0
  61. package/dist/InputSwitch.vue_vue_type_script_setup_true_lang-Dq_U-mFJ.js +1 -0
  62. package/dist/InputText.js +1 -0
  63. package/dist/InputText.vue_vue_type_script_setup_true_lang-CkoBmp9p.js +1 -0
  64. package/dist/InputTextarea.js +1 -0
  65. package/dist/InputTextarea.vue_vue_type_script_setup_true_lang-IMz1cgV5.js +1 -0
  66. package/dist/Modal.js +1 -0
  67. package/dist/Modal.vue_vue_type_script_setup_true_lang-DLl5shGS.js +1 -0
  68. package/dist/ModalForm.js +3 -2
  69. package/dist/{ModalForm.vue_vue_type_script_setup_true_lang-CUk3DI3O.js → ModalForm.vue_vue_type_script_setup_true_lang-CZBGpJCs.js} +3 -2
  70. package/dist/Pagination.js +1 -0
  71. package/dist/Pagination.vue_vue_type_script_setup_true_lang-PLZQJUd0.js +1 -0
  72. package/dist/Popconfirm.js +3 -2
  73. package/dist/Popconfirm.vue_vue_type_script_setup_true_lang-BMaHpkCO.js +64 -0
  74. package/dist/Popover.js +3 -2
  75. package/dist/{Popover.vue_vue_type_script_setup_true_lang-Dhcy-iL3.js → Popover.vue_vue_type_script_setup_true_lang-C69m5Nld.js} +320 -321
  76. package/dist/ProgressCircle-BY2eeyGY.js +1 -0
  77. package/dist/ProgressCircle.js +1 -0
  78. package/dist/{ProgressLine-CfZKbUcx.js → ProgressLine-1ZHGvPsm.js} +17 -16
  79. package/dist/ProgressLine.css +1 -1
  80. package/dist/ProgressLine.js +3 -2
  81. package/dist/SensitiveInfo.js +1 -0
  82. package/dist/SensitiveInfo.vue_vue_type_script_setup_true_lang-lCdRDxvZ.js +1 -0
  83. package/dist/Tab.js +1 -0
  84. package/dist/Tab.vue_vue_type_script_setup_true_lang-VzvYvoqa.js +1 -0
  85. package/dist/Table-grkQ9tby.js +1 -0
  86. package/dist/Table.js +1 -0
  87. package/dist/Tag.js +3 -2
  88. package/dist/Tag.vue_vue_type_script_setup_true_lang-DTfAH_Sb.js +71 -0
  89. package/dist/Toast.js +1 -0
  90. package/dist/Toast.vue_vue_type_script_setup_true_lang-BAsJNxU_.js +1 -0
  91. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +1 -0
  92. package/dist/account-BJGxzbeL.js +1 -0
  93. package/dist/alert-octagon-D8wznooU.js +1 -0
  94. package/dist/alert-octagon-outline-fM2QVbyq.js +1 -0
  95. package/dist/archive-DDuuzVUo.js +1 -0
  96. package/dist/archive-outline-BT6uCRX5.js +1 -0
  97. package/dist/arrow-left-CVipcGWo.js +1 -0
  98. package/dist/arrow-right-DHFo5L72.js +1 -0
  99. package/dist/bank-lwoR1P6d.js +1 -0
  100. package/dist/bank-outline-wy0O9ni0.js +1 -0
  101. package/dist/camera-BXoPauop.js +1 -0
  102. package/dist/cards-outline-B0no8Z63.js +1 -0
  103. package/dist/cards-variant-CU6V8mdM.js +1 -0
  104. package/dist/cart-outline-C99s8OpS.js +1 -0
  105. package/dist/chart-box-outline-C9ymwfIH.js +1 -0
  106. package/dist/chart-box-tyepg_QH.js +1 -0
  107. package/dist/check-circle-C3Kf7DnE.js +1 -0
  108. package/dist/check-circle-outline-B4zmPfuc.js +1 -0
  109. package/dist/check-iUT-FuWa.js +1 -0
  110. package/dist/checkbox-TojXdFTq.js +1 -0
  111. package/dist/checkbox-dark-D_btgwCX.js +1 -0
  112. package/dist/checkbox-indeterminate-CtbmyFkw.js +1 -0
  113. package/dist/checkbox-indeterminate-dark-CSrkJBRG.js +1 -0
  114. package/dist/chevron-down-CJLshITY.js +1 -0
  115. package/dist/chevron-left-n_sGCmlG.js +1 -0
  116. package/dist/chevron-right-C8uLqjmq.js +1 -0
  117. package/dist/chevron-up-b6VdQM8S.js +1 -0
  118. package/dist/circle-DhoEDuC5.js +1 -0
  119. package/dist/clock-BqMI2OIG.js +1 -0
  120. package/dist/close-DemH4JAO.js +1 -0
  121. package/dist/close-circle-Bvyw4JKW.js +6 -0
  122. package/dist/close-circle-outline-CUXfYV4M.js +1 -0
  123. package/dist/cog-Dd9I6z5D.js +1 -0
  124. package/dist/color-fill-DWx77G0p.js +1 -0
  125. package/dist/components.js +14 -13
  126. package/dist/composables.js +1 -0
  127. package/dist/copy-D-Dqxp8h.js +1 -0
  128. package/dist/credit-card-B3VjoUad.js +1 -0
  129. package/dist/credit-card-plus-TUZq5Zi0.js +1 -0
  130. package/dist/crud-lKm5HfM4.js +1 -0
  131. package/dist/currency-BuSji4qA.js +1 -0
  132. package/dist/database-CNG_l2Or.js +1 -0
  133. package/dist/date.js +1 -0
  134. package/dist/dots-grid-BhRGZg1t.js +1 -0
  135. package/dist/dots-vertical-nYIDxlT1.js +1 -0
  136. package/dist/email-open-outline-NlRAK8vu.js +1 -0
  137. package/dist/email-outline-v-beMKo_.js +1 -0
  138. package/dist/enums.js +1 -0
  139. package/dist/eye-C7_UM0rn.js +1 -0
  140. package/dist/eye-off-Dq2WOPSG.js +1 -0
  141. package/dist/file-document-plus-outline-C_GeG8ak.js +1 -0
  142. package/dist/filmstrip-Dg66xHap.js +1 -0
  143. package/dist/filter-07gM0IrM.js +1 -0
  144. package/dist/form-BkXpIJ0e.js +1 -0
  145. package/dist/form2.js +1 -0
  146. package/dist/fullscreen-daZRwm-1.js +1 -0
  147. package/dist/fullscreen-exit-DvHy2f8E.js +1 -0
  148. package/dist/group-B1HQcmCl.js +1 -0
  149. package/dist/image-C-DY_SfK.js +1 -0
  150. package/dist/image-album-DVl72ioK.js +1 -0
  151. package/dist/image-album-outline-oiPipPnp.js +1 -0
  152. package/dist/image-outline-CLpFyr7w.js +1 -0
  153. package/dist/index-CVD_wAsU.js +1 -0
  154. package/dist/index-CjvqeRf7.js +1 -0
  155. package/dist/index-CuyePt3m.js +1 -0
  156. package/dist/info-outline-Mn6Hjz_K.js +1 -0
  157. package/dist/key-B8iEXxGx.js +1 -0
  158. package/dist/key-chain-D-8-GrU2.js +1 -0
  159. package/dist/key-variant-DViBRFAJ.js +1 -0
  160. package/dist/listbox-outline-BBriTS-r.js +1 -0
  161. package/dist/loading-E4eFmVsP.js +1 -0
  162. package/dist/lock-Nv-e-b24.js +1 -0
  163. package/dist/lock-outline-K2LxC2b6.js +1 -0
  164. package/dist/logout-BHwFpuou.js +1 -0
  165. package/dist/menu-down-B4Fy5IG1.js +1 -0
  166. package/dist/menu-left-D8G3frKt.js +1 -0
  167. package/dist/menu-pq7WWaJu.js +1 -0
  168. package/dist/menu-right-CMt4thJ2.js +1 -0
  169. package/dist/minus-CSCkQnOm.js +1 -0
  170. package/dist/minus-circle-D_N5NZW-.js +1 -0
  171. package/dist/minus-circle-outline-B-x6EXPD.js +1 -0
  172. package/dist/moon-Bhm_ZTV6.js +1 -0
  173. package/dist/open-in-new-C2Btl_1k.js +1 -0
  174. package/dist/pencil-BETebgXX.js +1 -0
  175. package/dist/people-BUW1DRzH.js +1 -0
  176. package/dist/piggy-bank-outline-5cDQNrSU.js +1 -0
  177. package/dist/plugin--F5QK2vy.js +1 -0
  178. package/dist/plugin-2nTovNcx.js +1 -0
  179. package/dist/plugin-3VDgn3kO.js +1 -0
  180. package/dist/plugin-5vn4G57V.js +1 -0
  181. package/dist/plugin-AFgt8nH4.js +1 -0
  182. package/dist/plugin-BCt5Fd1Y.js +1 -0
  183. package/dist/plugin-BLdCHEGS.js +1 -0
  184. package/dist/{plugin-DYnmuOWz.js → plugin-BRY5cGCc.js} +2 -1
  185. package/dist/{plugin-CNoSZVuJ.js → plugin-BUzMTCDs.js} +2 -1
  186. package/dist/plugin-BYkYqIjb.js +1 -0
  187. package/dist/plugin-BZC231Oj.js +1 -0
  188. package/dist/plugin-BrwUi1gG.js +1 -0
  189. package/dist/plugin-Buc7eEox.js +1 -0
  190. package/dist/plugin-C-iGigb_.js +1 -0
  191. package/dist/plugin-C3tFXHbZ.js +1 -0
  192. package/dist/{plugin-Cp-YlP7M.js → plugin-C4ZKihe9.js} +2 -1
  193. package/dist/{plugin-CIK2QwfI.js → plugin-CCH1Q2cN.js} +2 -1
  194. package/dist/plugin-CGg5IOSy.js +1 -0
  195. package/dist/plugin-CHyrn6sC.js +1 -0
  196. package/dist/{plugin-c1rFpmlH.js → plugin-CVGZQLLW.js} +2 -1
  197. package/dist/{plugin-DmkLbCIU.js → plugin-CZBGKZIj.js} +2 -1
  198. package/dist/plugin-Ce0OhiOa.js +1 -0
  199. package/dist/{plugin-7M6YmkX3.js → plugin-CeTGH-uy.js} +2 -1
  200. package/dist/plugin-CqcxTgW6.js +1 -0
  201. package/dist/plugin-CwJMh4ht.js +1 -0
  202. package/dist/{plugin-DAoreRkB.js → plugin-Cy8SNl7v.js} +2 -1
  203. package/dist/{plugin-A7Ru6-Ae.js → plugin-D3RtcfcX.js} +2 -1
  204. package/dist/plugin-DDXOF4cU.js +1 -0
  205. package/dist/plugin-DLUdf4JV.js +1 -0
  206. package/dist/plugin-DN54VuID.js +1 -0
  207. package/dist/plugin-DOeDaXWj.js +1 -0
  208. package/dist/plugin-DRcJuXpS.js +1 -0
  209. package/dist/plugin-DT7LVAli.js +1 -0
  210. package/dist/plugin-DXSsGfRI.js +1 -0
  211. package/dist/plugin-DaibhM02.js +1 -0
  212. package/dist/plugin-DkDbha5K.js +1 -0
  213. package/dist/{plugin-DGx9kLvd.js → plugin-DnCIfRQD.js} +2 -1
  214. package/dist/{plugin-BURDNZOq.js → plugin-Do8SPdPO.js} +2 -1
  215. package/dist/plugin-DppW8rQi.js +1 -0
  216. package/dist/{plugin-Bj5VaUuH.js → plugin-XtlznKJr.js} +2 -1
  217. package/dist/plugin-YUomn9tF.js +1 -0
  218. package/dist/{plugin-D9vhvf_z.js → plugin-_WXCZJnd.js} +2 -1
  219. package/dist/plugin-cvHKUGjm.js +1 -0
  220. package/dist/{plugins-DNNQp3qM.js → plugins-DnctsCLh.js} +22 -21
  221. package/dist/plugins.js +22 -21
  222. package/dist/plus-circle-Cl0YprEp.js +1 -0
  223. package/dist/plus-circle-outline-C-kkX0ke.js +1 -0
  224. package/dist/plus-sbcOm60H.js +1 -0
  225. package/dist/qrcode-scan-CpLrVFw_.js +1 -0
  226. package/dist/radio-DkjVAhsO.js +1 -0
  227. package/dist/radio-dark-Cr5v17AF.js +1 -0
  228. package/dist/refresh-DPlMWd1M.js +1 -0
  229. package/dist/register-component-B-fdqewb.js +1 -0
  230. package/dist/save-BmMH4S8b.js +1 -0
  231. package/dist/search-Co2MwWOK.js +1 -0
  232. package/dist/spotlight-TNyCQzOY.js +1 -0
  233. package/dist/store-outline-B-fuVZzv.js +1 -0
  234. package/dist/sun-BWKjCEHH.js +1 -0
  235. package/dist/swap-CNbqKTl0.js +1 -0
  236. package/dist/swap-horizontal-DociZUG2.js +1 -0
  237. package/dist/swap-left-Bd2DOgf3.js +1 -0
  238. package/dist/swap-right-D0VYxBDb.js +1 -0
  239. package/dist/system-theme-Cez6mSv_.js +1 -0
  240. package/dist/tag-outline-Ce_qOxif.js +1 -0
  241. package/dist/tamandua.js +2 -1
  242. package/dist/transform-DSaNEFMr.js +1 -0
  243. package/dist/trash-can-CKPtMqSf.js +1 -0
  244. package/dist/trash-can-outline-DjtqZHOC.js +1 -0
  245. package/dist/types/components/Avatar/Avatar.story.d.ts +18 -5
  246. package/dist/types/components/Button/Button.story.d.ts +8 -42
  247. package/dist/types/components/ChartLine/ChartLine.story.d.ts +18 -12
  248. package/dist/types/components/ChartTreemap/ChartTreemap.story.d.ts +16 -2
  249. package/dist/types/components/ChartTreemap/types.d.ts +8 -2
  250. package/dist/types/components/Dropdown/types.d.ts +1 -1
  251. package/dist/types/components/GraphyPrice/GraphyPrice.story.d.ts +24 -2
  252. package/dist/types/components/Icon/Icon.story.d.ts +26 -0
  253. package/dist/types/components/Icon/types.d.ts +1 -1
  254. package/dist/types/components/IconButton/IconButton.vue.d.ts +4 -44
  255. package/dist/types/components/IconButton/types.d.ts +1 -7
  256. package/dist/types/components/InputDate/InputDate.story.d.ts +9 -2
  257. package/dist/types/components/InputMultiplier/input-multiplier.story.d.ts +8 -3
  258. package/dist/types/components/InputRadio/InputRadioGroup.story.d.ts +6 -2
  259. package/dist/types/components/InputSelect/InputSelect.story.d.ts +37 -4
  260. package/dist/types/components/InputSelect/InputSelect.vue.d.ts +1 -1
  261. package/dist/types/components/InputSelect/types.d.ts +0 -1
  262. package/dist/types/components/InputSwitch/InputSwitch.story.d.ts +10 -18
  263. package/dist/types/components/Pagination/Pagination.story.d.ts +6 -1
  264. package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +1 -3
  265. package/dist/types/components/Popconfirm/types.d.ts +1 -1
  266. package/dist/types/components/Popover/Popover.vue.d.ts +0 -3
  267. package/dist/types/components/Popover/types.d.ts +0 -1
  268. package/dist/types/components/ProgressCircle/ProgressCircle.story.d.ts +13 -3
  269. package/dist/types/components/ProgressLine/ProgressLine.story.d.ts +12 -3
  270. package/dist/types/components/Table/Table.story.d.ts +16 -3
  271. package/dist/types/components/Tag/Tag.story.d.ts +29 -0
  272. package/dist/types/i18n.d.ts +6 -0
  273. package/dist/types/types/form.d.ts +1 -1
  274. package/dist/ui-DtSy-y9T.js +1 -0
  275. package/dist/upload-CKfrBexU.js +1 -0
  276. package/dist/useClipboard-BHFD0Jvv.js +1 -0
  277. package/dist/useDomHelpers-5CFMo6bx.js +1 -0
  278. package/dist/useRender-D8PeooXE.js +1 -0
  279. package/dist/user-circle-D102n1FB.js +1 -0
  280. package/dist/zip-box-C10560VY.js +1 -0
  281. package/package.json +1 -2
  282. package/dist/Button-BVshp51o.js +0 -6
  283. package/dist/Dropdown.vue_vue_type_script_setup_true_lang-BUcFKrav.js +0 -135
  284. package/dist/IconButton.vue_vue_type_script_setup_true_lang-DEL6iIAu.js +0 -106
  285. package/dist/InputSelect.vue_vue_type_script_setup_true_lang-ByRPZrIg.js +0 -216
  286. package/dist/Popconfirm.vue_vue_type_script_setup_true_lang-DWMW-u7V.js +0 -65
  287. package/dist/Tag.vue_vue_type_script_setup_true_lang-vLIykMPS.js +0 -63
  288. package/dist/close-circle-Bsf9_pUR.js +0 -4
@@ -1,39 +1,17 @@
1
- import { ButtonType, ElementSize, ElementShape, ElementVariant } from '../../enums/ui.js';
1
+ import { ButtonType, ElementSize, ElementShape } from '../../enums/ui.js';
2
2
  import { IconButtonProps } from './types.js';
3
3
 
4
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IconButtonProps>, {
4
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IconButtonProps>, {
5
5
  href: string;
6
6
  type: ButtonType;
7
7
  size: ElementSize;
8
8
  label: string;
9
9
  shape: ElementShape;
10
10
  target: undefined;
11
- variant: ElementVariant;
12
11
  multiple: boolean;
13
12
  isOutline: boolean;
14
13
  isDisabled: boolean;
15
- injectStyle: () => {
16
- icon: string;
17
- };
18
- disableStyle: boolean;
19
- }>, {
20
- iconReference: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<any>, {
21
- reference: import("vue").Ref<HTMLElement | null>;
22
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<any>, {} | {
23
- [x: string]: any;
24
- }, true, {}, {}, {
25
- P: {};
26
- B: {};
27
- D: {};
28
- C: {};
29
- M: {};
30
- Defaults: {};
31
- }, Readonly<any>, {
32
- reference: import("vue").Ref<HTMLElement | null>;
33
- }, {}, {}, {}, {} | {
34
- [x: string]: any;
35
- }> | null>;
36
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
37
15
  upload: (val: FileList) => void;
38
16
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IconButtonProps>, {
39
17
  href: string;
@@ -42,34 +20,21 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
42
20
  label: string;
43
21
  shape: ElementShape;
44
22
  target: undefined;
45
- variant: ElementVariant;
46
23
  multiple: boolean;
47
24
  isOutline: boolean;
48
25
  isDisabled: boolean;
49
- injectStyle: () => {
50
- icon: string;
51
- };
52
- disableStyle: boolean;
53
26
  }>>> & {
54
27
  onUpload?: ((val: FileList) => any) | undefined;
55
28
  }, {
56
29
  size: "" | "xs" | "sm" | "lg" | "xl";
57
30
  shape: "square" | "rounded" | "circle";
58
- disableStyle: boolean;
59
31
  type: "button" | "submit" | "link" | "router-link" | "file";
60
32
  label: string;
61
33
  href: string;
62
34
  target: string;
63
- variant: "default" | "primary" | "secondary" | "success" | "danger" | "warning" | "transparent";
64
35
  multiple: boolean;
65
- isOutline: boolean;
66
36
  isDisabled: boolean;
67
- injectStyle: {
68
- icon: string;
69
- };
70
- }, {}>, {
71
- default?(_: {}): any;
72
- }>;
37
+ }, {}>;
73
38
  export default _default;
74
39
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
75
40
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -88,8 +53,3 @@ type __VLS_WithDefaults<P, D> = {
88
53
  type __VLS_Prettify<T> = {
89
54
  [K in keyof T]: T[K];
90
55
  } & {};
91
- type __VLS_WithTemplateSlots<T, S> = T & {
92
- new (): {
93
- $slots: S;
94
- };
95
- };
@@ -1,4 +1,4 @@
1
- import { Icon, ButtonType, ElementSize, ElementShape, ElementVariant } from '../../enums/ui.js';
1
+ import { Icon, ButtonType, ElementSize, ElementShape } from '../../enums/ui.js';
2
2
 
3
3
  export type IconButtonProps = {
4
4
  to?: any;
@@ -9,14 +9,8 @@ export type IconButtonProps = {
9
9
  label?: string;
10
10
  shape?: `${ElementShape}`;
11
11
  target?: string;
12
- variant?: `${ElementVariant}`;
13
12
  multiple?: boolean;
14
- isOutline?: boolean;
15
13
  isDisabled?: boolean;
16
- injectStyle?: {
17
- icon: string;
18
- };
19
- disableStyle?: boolean;
20
14
  };
21
15
  export type IconButtonEvents = {
22
16
  (e: "upload", val: FileList): void;
@@ -1,6 +1,13 @@
1
1
  declare const _default: {
2
2
  title: string;
3
+ args: {
4
+ value: string;
5
+ };
3
6
  };
4
7
  export default _default;
5
- declare const Default: any;
6
- export { Default };
8
+ export declare const Date: (args: any) => {
9
+ setup(): {
10
+ args: any;
11
+ };
12
+ template: string;
13
+ };
@@ -1,4 +1,4 @@
1
- declare const story: {
1
+ declare const _default: {
2
2
  title: string;
3
3
  args: {
4
4
  label: string;
@@ -15,5 +15,10 @@ declare const story: {
15
15
  };
16
16
  };
17
17
  };
18
- declare const Default: any;
19
- export { story as default, Default };
18
+ export default _default;
19
+ export declare const Multiplier: (args: any) => {
20
+ setup(): {
21
+ args: any;
22
+ };
23
+ template: string;
24
+ };
@@ -3,5 +3,9 @@ declare const _default: {
3
3
  args: {};
4
4
  };
5
5
  export default _default;
6
- declare const Default: any;
7
- export { Default };
6
+ export declare const Radio: (args: any) => {
7
+ setup(): {
8
+ args: any;
9
+ };
10
+ template: string;
11
+ };
@@ -1,6 +1,39 @@
1
- declare const story: {
1
+ import { APISearchFilters } from '../../types/api.js';
2
+ import { SelectOption } from '../../types/form.js';
3
+ import { Pagination } from '../../types/ui.js';
4
+
5
+ declare const _default: {
2
6
  title: string;
7
+ args: {
8
+ placeholder: string;
9
+ };
10
+ };
11
+ export default _default;
12
+ export declare const Select: (args: any) => {
13
+ setup(): {
14
+ args: any;
15
+ items1: {
16
+ label: string;
17
+ value: string;
18
+ }[];
19
+ items2: {
20
+ label: {
21
+ id: number;
22
+ name: string;
23
+ thumbnail: string;
24
+ };
25
+ value: number;
26
+ }[];
27
+ items3: {
28
+ label: string;
29
+ value: string;
30
+ }[];
31
+ value3: import('vue').Ref<never[]>;
32
+ search(filters?: APISearchFilters): Promise<{
33
+ items: SelectOption[];
34
+ pagination: Pagination;
35
+ }>;
36
+ mapper(book: any): SelectOption;
37
+ };
38
+ template: string;
3
39
  };
4
- declare const Default: any;
5
- declare const With_Images: any;
6
- export { story as default, Default, With_Images };
@@ -1,7 +1,7 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any>, {} | {
2
2
  [x: string]: any;
3
3
  }, {}>, {
4
- selection?(_: any): any;
4
+ selection?(_: {}): any;
5
5
  default?(_: any): any;
6
6
  }>;
7
7
  export default _default;
@@ -17,7 +17,6 @@ export type InputSelectProps = {
17
17
  pagination: Pagination;
18
18
  }>;
19
19
  multiple?: boolean;
20
- identifier?: string;
21
20
  modelValue?: SelectValue;
22
21
  placeholder?: string;
23
22
  initialValue?: any;
@@ -1,29 +1,21 @@
1
1
  declare const _default: {
2
2
  title: string;
3
- args: {};
3
+ args: {
4
+ label: string;
5
+ disabled: boolean;
6
+ };
4
7
  argTypes: {
5
8
  disabled: {
6
9
  options: boolean[];
7
10
  control: string;
8
11
  description: string;
9
- table: {
10
- type: {
11
- summary: string;
12
- };
13
- defaultValue: {
14
- summary: boolean;
15
- };
16
- };
17
- };
18
- label: {
19
- table: {
20
- type: {
21
- summary: string;
22
- };
23
- };
24
12
  };
25
13
  };
26
14
  };
27
15
  export default _default;
28
- declare const Default: any;
29
- export { Default };
16
+ export declare const Switch: (args: any) => {
17
+ setup(): {
18
+ args: any;
19
+ };
20
+ template: string;
21
+ };
@@ -2,4 +2,9 @@ declare const _default: {
2
2
  title: string;
3
3
  };
4
4
  export default _default;
5
- export declare const Pagination: any;
5
+ export declare const Pagination: (args: any) => {
6
+ setup(): {
7
+ args: any;
8
+ };
9
+ template: string;
10
+ };
@@ -1,9 +1,7 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any>, {} | {
2
2
  [x: string]: any;
3
3
  }, {}>, {
4
- default?(_: {
5
- onClick: () => void;
6
- }): any;
4
+ default?(_: {}): any;
7
5
  }>;
8
6
  export default _default;
9
7
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,7 +1,7 @@
1
1
  import { ElementPosition } from '../../enums/ui.js';
2
2
 
3
3
  export type PopconfirmProps = {
4
- title?: string;
4
+ message?: string;
5
5
  placement?: `${ElementPosition}`;
6
6
  };
7
7
  export type PopconfirmEvents = {
@@ -6,7 +6,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
6
6
  disabled: boolean;
7
7
  isVisible: null;
8
8
  placement: ElementPosition;
9
- disableStyle: boolean;
10
9
  slotWrapperClasses: string;
11
10
  }>, {
12
11
  visible: import("vue").Ref<boolean>;
@@ -15,10 +14,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
15
14
  disabled: boolean;
16
15
  isVisible: null;
17
16
  placement: ElementPosition;
18
- disableStyle: boolean;
19
17
  slotWrapperClasses: string;
20
18
  }>>>, {
21
- disableStyle: boolean;
22
19
  disabled: boolean;
23
20
  isVisible: boolean | null;
24
21
  placement: "top-start" | "top" | "top-end" | "right-start" | "right" | "right-end" | "bottom-end" | "bottom" | "bottom-start" | "left-end" | "left" | "left-start";
@@ -5,6 +5,5 @@ export type PopoverProps = {
5
5
  disabled?: boolean;
6
6
  isVisible?: boolean | null;
7
7
  placement?: `${ElementPosition}`;
8
- disableStyle?: boolean;
9
8
  slotWrapperClasses?: string;
10
9
  };
@@ -1,5 +1,15 @@
1
- declare const story: {
1
+ declare const _default: {
2
2
  title: string;
3
+ args: {
4
+ value: number;
5
+ width: number;
6
+ strokeWidth: number;
7
+ };
8
+ };
9
+ export default _default;
10
+ export declare const Circle: (args: any) => {
11
+ setup(): {
12
+ args: any;
13
+ };
14
+ template: string;
3
15
  };
4
- declare const Default: any;
5
- export { story as default, Default };
@@ -1,5 +1,14 @@
1
- declare const story: {
1
+ declare const _default: {
2
2
  title: string;
3
+ args: {
4
+ value: number;
5
+ height: number;
6
+ };
7
+ };
8
+ export default _default;
9
+ export declare const Line: (args: any) => {
10
+ setup(): {
11
+ args: any;
12
+ };
13
+ template: string;
3
14
  };
4
- declare const Default: any;
5
- export { story as default, Default };
@@ -1,5 +1,18 @@
1
- declare const story: {
1
+ declare const _default: {
2
2
  title: string;
3
+ args: {
4
+ loading: boolean;
5
+ data: any;
6
+ columns: {
7
+ title: string;
8
+ property: string;
9
+ }[];
10
+ };
11
+ };
12
+ export default _default;
13
+ export declare const Table: (args: any) => {
14
+ setup(): {
15
+ args: any;
16
+ };
17
+ template: string;
3
18
  };
4
- declare const Default: any;
5
- export { story as default, Default };
@@ -0,0 +1,29 @@
1
+ import { ElementSize } from '../../enums/ui.js';
2
+
3
+ declare const _default: {
4
+ title: string;
5
+ args: {
6
+ text: string;
7
+ color: string;
8
+ hasCloseButton: boolean;
9
+ confirmClose: boolean;
10
+ size: ElementSize;
11
+ };
12
+ argTypes: {
13
+ size: {
14
+ control: string;
15
+ options: ElementSize[];
16
+ };
17
+ hasCloseButton: {
18
+ control: string;
19
+ options: boolean[];
20
+ };
21
+ };
22
+ };
23
+ export default _default;
24
+ export declare const Tag: (args: any) => {
25
+ setup(): {
26
+ args: any;
27
+ };
28
+ template: string;
29
+ };
@@ -11,5 +11,11 @@ declare const _default: import('vue-i18n').I18n<{}, {}, {
11
11
  currency: string;
12
12
  };
13
13
  };
14
+ USD: {
15
+ currency: {
16
+ style: "currency";
17
+ currency: string;
18
+ };
19
+ };
14
20
  }, string, false>;
15
21
  export default _default;
@@ -11,7 +11,7 @@ export type SelectOption = {
11
11
  /** Optional icon, to be appended to the label */
12
12
  icon?: `${Icon}`;
13
13
  /** Option label, either a string or an object containing the props necessary to render the option */
14
- label: any;
14
+ label: string | object;
15
15
  /** Optional type, used to diferentiate options from one another */
16
16
  type?: string;
17
17
  /** Optional renderer, containing the fully resolved path to the component that will be used
@@ -9,3 +9,4 @@ export {
9
9
  l as c,
10
10
  t as d
11
11
  };
12
+ //# sourceMappingURL=ui-DtSy-y9T.js.map
@@ -3,3 +3,4 @@ const v = `<svg class="v1262d JUQOtc" viewBox="0 0 24 24"><path d="M4 15h2v3h12v
3
3
  export {
4
4
  v as default
5
5
  };
6
+ //# sourceMappingURL=upload-CKfrBexU.js.map
@@ -9,3 +9,4 @@ function o() {
9
9
  export {
10
10
  o as u
11
11
  };
12
+ //# sourceMappingURL=useClipboard-BHFD0Jvv.js.map
@@ -21,3 +21,4 @@ function a() {
21
21
  export {
22
22
  a as u
23
23
  };
24
+ //# sourceMappingURL=useDomHelpers-5CFMo6bx.js.map
@@ -14,3 +14,4 @@ function o(r) {
14
14
  export {
15
15
  o as u
16
16
  };
17
+ //# sourceMappingURL=useRender-D8PeooXE.js.map
@@ -3,3 +3,4 @@ const s = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="
3
3
  export {
4
4
  s as default
5
5
  };
6
+ //# sourceMappingURL=user-circle-D102n1FB.js.map
@@ -3,3 +3,4 @@ const h = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="
3
3
  export {
4
4
  h as default
5
5
  };
6
+ //# sourceMappingURL=zip-box-C10560VY.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caipira/tamandua",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "private": false,
5
5
  "description": "UI library for the Caipira ecosystem",
6
6
  "license": "GPL-3.0-only",
@@ -82,7 +82,6 @@
82
82
  "vue-i18n": "9"
83
83
  },
84
84
  "devDependencies": {
85
- "@chromatic-com/storybook": "^1.3.3",
86
85
  "@faker-js/faker": "^8.4.1",
87
86
  "@storybook/addon-actions": "^8.0.8",
88
87
  "@storybook/addon-essentials": "^8.0.8",
@@ -1,6 +0,0 @@
1
- import { _ as o } from "./Button.vue_vue_type_style_index_0_scoped_8639b950_lang-C9uKZk0F.js";
2
- import { _ as t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8639b950"]]);
4
- export {
5
- a as B
6
- };
@@ -1,135 +0,0 @@
1
- import { defineComponent as T, ref as h, resolveComponent as z, openBlock as r, createElementBlock as a, normalizeClass as w, Fragment as R, renderList as A, toDisplayString as P, withKeys as L, renderSlot as N, normalizeProps as V, mergeProps as E, createBlock as G, createCommentVNode as $, createTextVNode as I } from "vue";
2
- const O = ["aria-selected", "onKeydown", "onClick"], F = {
3
- key: 1,
4
- class: "inline-flex items-center input-label"
5
- }, j = /* @__PURE__ */ T({
6
- name: "TDropdown",
7
- __name: "Dropdown",
8
- props: {
9
- items: { default: () => [] },
10
- owner: {},
11
- multiple: { type: Boolean, default: !1 },
12
- isVisible: { type: Boolean, default: !1 },
13
- optionMarginClass: { default: "" },
14
- optionPaddingClass: { default: "py-2 px-2" },
15
- wrapperPaddingClass: { default: "" },
16
- optionRoundnessClass: { default: "" },
17
- wrapperRoundnessClass: { default: "rounded-md" }
18
- },
19
- emits: ["change", "end-reached", "created"],
20
- setup(H, { expose: D, emit: S }) {
21
- const s = H, C = S, i = h(-1), b = h(null), u = h([]), d = h("keyboard"), y = (o = i.value, t = s.items[o], n = void 0) => {
22
- n?.stopPropagation(), C("change", {
23
- index: o,
24
- option: t,
25
- hold: n?.ctrlKey ?? !1
26
- }), t.action && t.action();
27
- }, B = (o) => {
28
- if (!s.isVisible)
29
- return !1;
30
- switch (o.preventDefault(), d.value = "keyboard", o.key) {
31
- case "ArrowUp":
32
- case "ArrowDown":
33
- return x(o);
34
- case "Enter":
35
- return y();
36
- }
37
- }, x = (o) => {
38
- const t = o.key === "ArrowDown", n = s.items.length;
39
- let e = i.value;
40
- const l = () => s.items[e] ? "isGroupLabel" in s.items[e] && s.items[e].isGroupLabel : !1, f = () => {
41
- e === n - 1 ? e = 0 : e++;
42
- }, M = () => {
43
- e === 0 ? e = n - 1 : e--;
44
- };
45
- if (t)
46
- do
47
- f();
48
- while (l());
49
- else
50
- do
51
- M();
52
- while (l());
53
- e > -1 && e < n && (i.value = e);
54
- const v = b.value, k = u.value[i.value], p = k.offsetTop, m = k.offsetHeight, _ = v.offsetHeight, c = v.scrollTop;
55
- let g = 0;
56
- if (k.focus(), p === 0 || c === 0)
57
- g = p - _ + m;
58
- else if (t && p + m > _ + c)
59
- g = c + m;
60
- else if (!t && p < c)
61
- g = c - m;
62
- else
63
- return !0;
64
- return v.scroll({ top: g }), !0;
65
- }, K = (o) => {
66
- const t = o.target, n = u.value[0];
67
- !t || !n || t.scrollTop + t.clientHeight + n.offsetHeight >= t.scrollHeight && C("end-reached");
68
- };
69
- return D({ move: x }), (o, t) => {
70
- const n = z("t-icon");
71
- return r(), a("ul", {
72
- ref_key: "listRef",
73
- ref: b,
74
- role: "listbox",
75
- class: w(["text-left max-h-60 min-w-[12rem] z-10 overflow-y-auto scrollbar select-none floatable", [s.wrapperRoundnessClass, s.wrapperPaddingClass]]),
76
- onScrollend: K,
77
- onMousemove: t[0] || (t[0] = () => d.value = "mouse"),
78
- onKeydown: B
79
- }, [
80
- o.items.length === 0 ? (r(), a("li", {
81
- key: 0,
82
- role: "option",
83
- "aria-disabled": "true",
84
- class: w(["whitespace-nowrap text-gray-400", [
85
- s.optionPaddingClass,
86
- s.optionMarginClass,
87
- s.optionRoundnessClass
88
- ]])
89
- }, " Nothing here ", 2)) : (r(!0), a(R, { key: 1 }, A(o.items, (e, l) => (r(), a(R, { key: l }, [
90
- e.isGroupLabel ? (r(), a("li", {
91
- key: 0,
92
- class: w(["text-xs font-bold tracking-wider text-neutral-600", [
93
- s.optionPaddingClass,
94
- s.optionMarginClass,
95
- s.optionRoundnessClass
96
- ]]),
97
- ref_for: !0,
98
- ref_key: "itemRefs",
99
- ref: u
100
- }, P(e.label), 3)) : (r(), a("li", {
101
- key: 1,
102
- class: w([{
103
- "bg-hover": l === i.value && d.value === "keyboard",
104
- "hover:bg-hover": d.value === "mouse",
105
- [s.optionMarginClass]: !0,
106
- [s.optionPaddingClass]: !0,
107
- [s.optionRoundnessClass]: !0
108
- }, "flex text-base cursor-pointer whitespace-nowrap items-center focus-visible:outline-none"]),
109
- role: "option",
110
- ref_for: !0,
111
- ref_key: "itemRefs",
112
- ref: u,
113
- tabindex: 0,
114
- "aria-selected": l === i.value,
115
- onKeydown: L((f) => y(l, e), ["enter"]),
116
- onClick: (f) => y(l, e, f)
117
- }, [
118
- o.$slots.default ? N(o.$slots, "default", V(E({ key: 0 }, e))) : (r(), a("div", F, [
119
- e.icon ? (r(), G(n, {
120
- key: 0,
121
- icon: e.icon,
122
- class: "mr-2",
123
- size: "xs"
124
- }, null, 8, ["icon"])) : $("", !0),
125
- I(" " + P(e.label), 1)
126
- ]))
127
- ], 42, O))
128
- ], 64))), 128))
129
- ], 34);
130
- };
131
- }
132
- });
133
- export {
134
- j as _
135
- };