@andespindola/ui-core 0.1.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (333) hide show
  1. package/dist/cjs/{floating-ui.dom-BPemvNRD.js → floating-ui.dom-BZk7Blsu.js} +93 -0
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/ui-accordion-item.cjs.entry.js +1 -1
  4. package/dist/cjs/ui-accordion.cjs.entry.js +1 -1
  5. package/dist/cjs/ui-alert.cjs.entry.js +40 -0
  6. package/dist/cjs/ui-avatar-group.cjs.entry.js +17 -0
  7. package/dist/cjs/ui-avatar.cjs.entry.js +2 -2
  8. package/dist/cjs/ui-badge.cjs.entry.js +7 -2
  9. package/dist/cjs/ui-breadcrumb-item.cjs.entry.js +23 -0
  10. package/dist/cjs/ui-breadcrumb.cjs.entry.js +17 -0
  11. package/dist/cjs/ui-button.cjs.entry.js +5 -3
  12. package/dist/cjs/ui-card.cjs.entry.js +1 -1
  13. package/dist/cjs/ui-checkbox.cjs.entry.js +2 -2
  14. package/dist/cjs/ui-combobox.cjs.entry.js +153 -0
  15. package/dist/cjs/ui-container.cjs.entry.js +26 -0
  16. package/dist/cjs/ui-date-picker.cjs.entry.js +171 -0
  17. package/dist/cjs/ui-dialog.cjs.entry.js +1 -1
  18. package/dist/cjs/ui-drawer.cjs.entry.js +1 -1
  19. package/dist/cjs/ui-dropdown-item.cjs.entry.js +1 -1
  20. package/dist/cjs/ui-dropdown-menu.cjs.entry.js +2 -2
  21. package/dist/cjs/ui-field.cjs.entry.js +1 -1
  22. package/dist/cjs/ui-file-upload.cjs.entry.js +57 -0
  23. package/dist/cjs/ui-grid.cjs.entry.js +34 -0
  24. package/dist/cjs/ui-input.cjs.entry.js +10 -2
  25. package/dist/cjs/ui-label.cjs.entry.js +1 -1
  26. package/dist/cjs/ui-navbar.cjs.entry.js +17 -0
  27. package/dist/cjs/ui-pagination.cjs.entry.js +63 -0
  28. package/dist/cjs/ui-popover.cjs.entry.js +2 -2
  29. package/dist/cjs/ui-progress-circular.cjs.entry.js +44 -0
  30. package/dist/cjs/ui-progress.cjs.entry.js +1 -1
  31. package/dist/cjs/ui-radio-group.cjs.entry.js +1 -1
  32. package/dist/cjs/ui-rating.cjs.entry.js +45 -0
  33. package/dist/cjs/ui-reveal.cjs.entry.js +1 -1
  34. package/dist/cjs/ui-scroll-progress.cjs.entry.js +1 -1
  35. package/dist/cjs/ui-section.cjs.entry.js +1 -1
  36. package/dist/cjs/ui-segmented.cjs.entry.js +31 -0
  37. package/dist/cjs/ui-select.cjs.entry.js +1 -1
  38. package/dist/cjs/ui-separator.cjs.entry.js +1 -1
  39. package/dist/cjs/ui-skeleton.cjs.entry.js +1 -1
  40. package/dist/cjs/ui-slider.cjs.entry.js +1 -1
  41. package/dist/cjs/ui-spinner.cjs.entry.js +1 -1
  42. package/dist/cjs/ui-stack.cjs.entry.js +53 -0
  43. package/dist/cjs/ui-stat.cjs.entry.js +28 -0
  44. package/dist/cjs/ui-switch.cjs.entry.js +1 -1
  45. package/dist/cjs/ui-table.cjs.entry.js +25 -0
  46. package/dist/cjs/ui-tabs.cjs.entry.js +2 -2
  47. package/dist/cjs/ui-textarea.cjs.entry.js +1 -1
  48. package/dist/cjs/ui-theme-toggle.cjs.entry.js +1 -1
  49. package/dist/cjs/ui-toast.cjs.entry.js +1 -1
  50. package/dist/cjs/ui-toaster.cjs.entry.js +1 -1
  51. package/dist/cjs/ui-tooltip.cjs.entry.js +2 -2
  52. package/dist/cjs/uikit.cjs.js +1 -1
  53. package/dist/collection/collection-manifest.json +17 -0
  54. package/dist/collection/components/ui-accordion/ui-accordion.js +1 -1
  55. package/dist/collection/components/ui-accordion-item/ui-accordion-item.js +1 -1
  56. package/dist/collection/components/ui-alert/ui-alert.css +95 -0
  57. package/dist/collection/components/ui-alert/ui-alert.js +134 -0
  58. package/dist/collection/components/ui-avatar/ui-avatar.css +31 -0
  59. package/dist/collection/components/ui-avatar/ui-avatar.js +20 -1
  60. package/dist/collection/components/ui-avatar-group/ui-avatar-group.css +22 -0
  61. package/dist/collection/components/ui-avatar-group/ui-avatar-group.js +21 -0
  62. package/dist/collection/components/ui-badge/ui-badge.css +26 -0
  63. package/dist/collection/components/ui-badge/ui-badge.js +63 -1
  64. package/dist/collection/components/ui-breadcrumb/ui-breadcrumb.css +15 -0
  65. package/dist/collection/components/ui-breadcrumb/ui-breadcrumb.js +18 -0
  66. package/dist/collection/components/ui-breadcrumb-item/ui-breadcrumb-item.css +30 -0
  67. package/dist/collection/components/ui-breadcrumb-item/ui-breadcrumb-item.js +69 -0
  68. package/dist/collection/components/ui-button/ui-button.css +13 -1
  69. package/dist/collection/components/ui-button/ui-button.js +24 -2
  70. package/dist/collection/components/ui-card/ui-card.js +1 -1
  71. package/dist/collection/components/ui-checkbox/ui-checkbox.css +6 -2
  72. package/dist/collection/components/ui-checkbox/ui-checkbox.js +1 -1
  73. package/dist/collection/components/ui-combobox/ui-combobox.css +93 -0
  74. package/dist/collection/components/ui-combobox/ui-combobox.js +248 -0
  75. package/dist/collection/components/ui-container/ui-container.css +38 -0
  76. package/dist/collection/components/ui-container/ui-container.js +79 -0
  77. package/dist/collection/components/ui-date-picker/ui-date-picker.css +176 -0
  78. package/dist/collection/components/ui-date-picker/ui-date-picker.js +243 -0
  79. package/dist/collection/components/ui-dialog/ui-dialog.js +1 -1
  80. package/dist/collection/components/ui-drawer/ui-drawer.js +1 -1
  81. package/dist/collection/components/ui-dropdown-item/ui-dropdown-item.js +1 -1
  82. package/dist/collection/components/ui-dropdown-menu/ui-dropdown-menu.js +1 -1
  83. package/dist/collection/components/ui-field/ui-field.js +1 -1
  84. package/dist/collection/components/ui-file-upload/ui-file-upload.css +79 -0
  85. package/dist/collection/components/ui-file-upload/ui-file-upload.js +151 -0
  86. package/dist/collection/components/ui-grid/ui-grid.css +8 -0
  87. package/dist/collection/components/ui-grid/ui-grid.js +106 -0
  88. package/dist/collection/components/ui-input/ui-input.css +65 -14
  89. package/dist/collection/components/ui-input/ui-input.js +29 -1
  90. package/dist/collection/components/ui-label/ui-label.js +1 -1
  91. package/dist/collection/components/ui-navbar/ui-navbar.css +36 -0
  92. package/dist/collection/components/ui-navbar/ui-navbar.js +18 -0
  93. package/dist/collection/components/ui-pagination/ui-pagination.css +59 -0
  94. package/dist/collection/components/ui-pagination/ui-pagination.js +147 -0
  95. package/dist/collection/components/ui-popover/ui-popover.js +1 -1
  96. package/dist/collection/components/ui-progress/ui-progress.js +1 -1
  97. package/dist/collection/components/ui-progress-circular/ui-progress-circular.css +46 -0
  98. package/dist/collection/components/ui-progress-circular/ui-progress-circular.js +171 -0
  99. package/dist/collection/components/ui-radio-group/ui-radio-group.js +1 -1
  100. package/dist/collection/components/ui-rating/ui-rating.css +52 -0
  101. package/dist/collection/components/ui-rating/ui-rating.js +134 -0
  102. package/dist/collection/components/ui-reveal/ui-reveal.js +1 -1
  103. package/dist/collection/components/ui-scroll-progress/ui-scroll-progress.js +1 -1
  104. package/dist/collection/components/ui-section/ui-section.js +1 -1
  105. package/dist/collection/components/ui-segmented/ui-segmented.css +46 -0
  106. package/dist/collection/components/ui-segmented/ui-segmented.js +99 -0
  107. package/dist/collection/components/ui-select/ui-select.js +1 -1
  108. package/dist/collection/components/ui-separator/ui-separator.js +1 -1
  109. package/dist/collection/components/ui-skeleton/ui-skeleton.js +1 -1
  110. package/dist/collection/components/ui-slider/ui-slider.js +1 -1
  111. package/dist/collection/components/ui-spinner/ui-spinner.js +1 -1
  112. package/dist/collection/components/ui-stack/ui-stack.css +8 -0
  113. package/dist/collection/components/ui-stack/ui-stack.js +184 -0
  114. package/dist/collection/components/ui-stat/ui-stat.css +69 -0
  115. package/dist/collection/components/ui-stat/ui-stat.js +118 -0
  116. package/dist/collection/components/ui-switch/ui-switch.js +1 -1
  117. package/dist/collection/components/ui-table/ui-table.css +46 -0
  118. package/dist/collection/components/ui-table/ui-table.js +119 -0
  119. package/dist/collection/components/ui-tabs/ui-tabs.js +2 -2
  120. package/dist/collection/components/ui-textarea/ui-textarea.js +1 -1
  121. package/dist/collection/components/ui-theme-toggle/ui-theme-toggle.js +1 -1
  122. package/dist/collection/components/ui-toast/ui-toast.js +1 -1
  123. package/dist/collection/components/ui-toaster/ui-toaster.js +1 -1
  124. package/dist/collection/components/ui-tooltip/ui-tooltip.js +1 -1
  125. package/dist/components/{p-fApcMAzN.js → p-DDJE__UC.js} +1 -1
  126. package/dist/{uikit/p-CyBRmmbs.js → components/p-DDtwbwIl.js} +1 -1
  127. package/dist/components/{p-Bz9HyboB.js → p-DUT2Q8Df.js} +1 -1
  128. package/dist/components/ui-accordion-item.js +1 -1
  129. package/dist/components/ui-accordion.js +1 -1
  130. package/dist/components/ui-alert.d.ts +11 -0
  131. package/dist/components/ui-alert.js +1 -0
  132. package/dist/components/ui-avatar-group.d.ts +11 -0
  133. package/dist/components/ui-avatar-group.js +1 -0
  134. package/dist/components/ui-avatar.js +1 -1
  135. package/dist/components/ui-badge.js +1 -1
  136. package/dist/components/ui-breadcrumb-item.d.ts +11 -0
  137. package/dist/components/ui-breadcrumb-item.js +1 -0
  138. package/dist/components/ui-breadcrumb.d.ts +11 -0
  139. package/dist/components/ui-breadcrumb.js +1 -0
  140. package/dist/components/ui-button.js +1 -1
  141. package/dist/components/ui-card.js +1 -1
  142. package/dist/components/ui-checkbox.js +1 -1
  143. package/dist/components/ui-combobox.d.ts +11 -0
  144. package/dist/components/ui-combobox.js +1 -0
  145. package/dist/components/ui-container.d.ts +11 -0
  146. package/dist/components/ui-container.js +1 -0
  147. package/dist/components/ui-date-picker.d.ts +11 -0
  148. package/dist/components/ui-date-picker.js +1 -0
  149. package/dist/components/ui-dialog.js +1 -1
  150. package/dist/components/ui-drawer.js +1 -1
  151. package/dist/components/ui-dropdown-item.js +1 -1
  152. package/dist/components/ui-dropdown-menu.js +1 -1
  153. package/dist/components/ui-field.js +1 -1
  154. package/dist/components/ui-file-upload.d.ts +11 -0
  155. package/dist/components/ui-file-upload.js +1 -0
  156. package/dist/components/ui-grid.d.ts +11 -0
  157. package/dist/components/ui-grid.js +1 -0
  158. package/dist/components/ui-input.js +1 -1
  159. package/dist/components/ui-label.js +1 -1
  160. package/dist/components/ui-loading-overlay.js +1 -1
  161. package/dist/components/ui-navbar.d.ts +11 -0
  162. package/dist/components/ui-navbar.js +1 -0
  163. package/dist/components/ui-pagination.d.ts +11 -0
  164. package/dist/components/ui-pagination.js +1 -0
  165. package/dist/components/ui-popover.js +1 -1
  166. package/dist/components/ui-progress-circular.d.ts +11 -0
  167. package/dist/components/ui-progress-circular.js +1 -0
  168. package/dist/components/ui-progress.js +1 -1
  169. package/dist/components/ui-radio-group.js +1 -1
  170. package/dist/components/ui-rating.d.ts +11 -0
  171. package/dist/components/ui-rating.js +1 -0
  172. package/dist/components/ui-reveal.js +1 -1
  173. package/dist/components/ui-scroll-progress.js +1 -1
  174. package/dist/components/ui-section.js +1 -1
  175. package/dist/components/ui-segmented.d.ts +11 -0
  176. package/dist/components/ui-segmented.js +1 -0
  177. package/dist/components/ui-select.js +1 -1
  178. package/dist/components/ui-separator.js +1 -1
  179. package/dist/components/ui-skeleton.js +1 -1
  180. package/dist/components/ui-slider.js +1 -1
  181. package/dist/components/ui-spinner.js +1 -1
  182. package/dist/components/ui-stack.d.ts +11 -0
  183. package/dist/components/ui-stack.js +1 -0
  184. package/dist/components/ui-stat.d.ts +11 -0
  185. package/dist/components/ui-stat.js +1 -0
  186. package/dist/components/ui-switch.js +1 -1
  187. package/dist/components/ui-table.d.ts +11 -0
  188. package/dist/components/ui-table.js +1 -0
  189. package/dist/components/ui-tabs.js +1 -1
  190. package/dist/components/ui-textarea.js +1 -1
  191. package/dist/components/ui-theme-toggle.js +1 -1
  192. package/dist/components/ui-toast.js +1 -1
  193. package/dist/components/ui-toaster.js +1 -1
  194. package/dist/components/ui-tooltip.js +1 -1
  195. package/dist/esm/{floating-ui.dom-CyBRmmbs.js → floating-ui.dom-DDtwbwIl.js} +93 -1
  196. package/dist/esm/loader.js +1 -1
  197. package/dist/esm/ui-accordion-item.entry.js +1 -1
  198. package/dist/esm/ui-accordion.entry.js +1 -1
  199. package/dist/esm/ui-alert.entry.js +38 -0
  200. package/dist/esm/ui-avatar-group.entry.js +15 -0
  201. package/dist/esm/ui-avatar.entry.js +2 -2
  202. package/dist/esm/ui-badge.entry.js +8 -3
  203. package/dist/esm/ui-breadcrumb-item.entry.js +21 -0
  204. package/dist/esm/ui-breadcrumb.entry.js +15 -0
  205. package/dist/esm/ui-button.entry.js +5 -3
  206. package/dist/esm/ui-card.entry.js +1 -1
  207. package/dist/esm/ui-checkbox.entry.js +2 -2
  208. package/dist/esm/ui-combobox.entry.js +151 -0
  209. package/dist/esm/ui-container.entry.js +24 -0
  210. package/dist/esm/ui-date-picker.entry.js +169 -0
  211. package/dist/esm/ui-dialog.entry.js +1 -1
  212. package/dist/esm/ui-drawer.entry.js +1 -1
  213. package/dist/esm/ui-dropdown-item.entry.js +1 -1
  214. package/dist/esm/ui-dropdown-menu.entry.js +2 -2
  215. package/dist/esm/ui-field.entry.js +1 -1
  216. package/dist/esm/ui-file-upload.entry.js +55 -0
  217. package/dist/esm/ui-grid.entry.js +32 -0
  218. package/dist/esm/ui-input.entry.js +10 -2
  219. package/dist/esm/ui-label.entry.js +1 -1
  220. package/dist/esm/ui-navbar.entry.js +15 -0
  221. package/dist/esm/ui-pagination.entry.js +61 -0
  222. package/dist/esm/ui-popover.entry.js +2 -2
  223. package/dist/esm/ui-progress-circular.entry.js +42 -0
  224. package/dist/esm/ui-progress.entry.js +1 -1
  225. package/dist/esm/ui-radio-group.entry.js +1 -1
  226. package/dist/esm/ui-rating.entry.js +43 -0
  227. package/dist/esm/ui-reveal.entry.js +1 -1
  228. package/dist/esm/ui-scroll-progress.entry.js +1 -1
  229. package/dist/esm/ui-section.entry.js +1 -1
  230. package/dist/esm/ui-segmented.entry.js +29 -0
  231. package/dist/esm/ui-select.entry.js +1 -1
  232. package/dist/esm/ui-separator.entry.js +1 -1
  233. package/dist/esm/ui-skeleton.entry.js +1 -1
  234. package/dist/esm/ui-slider.entry.js +1 -1
  235. package/dist/esm/ui-spinner.entry.js +1 -1
  236. package/dist/esm/ui-stack.entry.js +51 -0
  237. package/dist/esm/ui-stat.entry.js +26 -0
  238. package/dist/esm/ui-switch.entry.js +1 -1
  239. package/dist/esm/ui-table.entry.js +23 -0
  240. package/dist/esm/ui-tabs.entry.js +2 -2
  241. package/dist/esm/ui-textarea.entry.js +1 -1
  242. package/dist/esm/ui-theme-toggle.entry.js +1 -1
  243. package/dist/esm/ui-toast.entry.js +1 -1
  244. package/dist/esm/ui-toaster.entry.js +1 -1
  245. package/dist/esm/ui-tooltip.entry.js +2 -2
  246. package/dist/esm/uikit.js +1 -1
  247. package/dist/types/components/ui-alert/ui-alert.d.ts +17 -0
  248. package/dist/types/components/ui-avatar/ui-avatar.d.ts +2 -0
  249. package/dist/types/components/ui-avatar-group/ui-avatar-group.d.ts +6 -0
  250. package/dist/types/components/ui-badge/ui-badge.d.ts +7 -0
  251. package/dist/types/components/ui-breadcrumb/ui-breadcrumb.d.ts +3 -0
  252. package/dist/types/components/ui-breadcrumb-item/ui-breadcrumb-item.d.ts +8 -0
  253. package/dist/types/components/ui-button/ui-button.d.ts +2 -0
  254. package/dist/types/components/ui-combobox/ui-combobox.d.ts +38 -0
  255. package/dist/types/components/ui-container/ui-container.d.ts +8 -0
  256. package/dist/types/components/ui-date-picker/ui-date-picker.d.ts +42 -0
  257. package/dist/types/components/ui-file-upload/ui-file-upload.d.ts +24 -0
  258. package/dist/types/components/ui-grid/ui-grid.d.ts +10 -0
  259. package/dist/types/components/ui-input/ui-input.d.ts +3 -0
  260. package/dist/types/components/ui-navbar/ui-navbar.d.ts +3 -0
  261. package/dist/types/components/ui-pagination/ui-pagination.d.ts +15 -0
  262. package/dist/types/components/ui-progress-circular/ui-progress-circular.d.ts +17 -0
  263. package/dist/types/components/ui-rating/ui-rating.d.ts +17 -0
  264. package/dist/types/components/ui-segmented/ui-segmented.d.ts +15 -0
  265. package/dist/types/components/ui-stack/ui-stack.d.ts +17 -0
  266. package/dist/types/components/ui-stat/ui-stat.d.ts +13 -0
  267. package/dist/types/components/ui-table/ui-table.d.ts +16 -0
  268. package/dist/types/components.d.ts +961 -0
  269. package/dist/types/index.d.ts +1 -0
  270. package/dist/uikit/{p-8a238373.entry.js → p-008118af.entry.js} +1 -1
  271. package/dist/uikit/p-0715db16.entry.js +1 -0
  272. package/dist/uikit/p-10afa395.entry.js +1 -0
  273. package/dist/uikit/p-1449f229.entry.js +1 -0
  274. package/dist/uikit/p-1514ae37.entry.js +1 -0
  275. package/dist/uikit/{p-83159bfc.entry.js → p-1685191b.entry.js} +1 -1
  276. package/dist/uikit/p-1ef7948f.entry.js +1 -0
  277. package/dist/uikit/{p-e54139a1.entry.js → p-283e7623.entry.js} +1 -1
  278. package/dist/uikit/p-2d92ce04.entry.js +1 -0
  279. package/dist/uikit/{p-a0ccdb22.entry.js → p-3995852d.entry.js} +1 -1
  280. package/dist/uikit/p-3b1f92da.entry.js +1 -0
  281. package/dist/uikit/p-3fdfad2e.entry.js +1 -0
  282. package/dist/uikit/p-4044ebde.entry.js +1 -0
  283. package/dist/uikit/{p-9f0d4ae1.entry.js → p-413cfbc6.entry.js} +1 -1
  284. package/dist/uikit/p-45e80e73.entry.js +1 -0
  285. package/dist/uikit/p-4ba0e4bc.entry.js +1 -0
  286. package/dist/uikit/p-5951a496.entry.js +1 -0
  287. package/dist/uikit/p-5e0bc34a.entry.js +1 -0
  288. package/dist/uikit/{p-d8e7ae10.entry.js → p-60910c03.entry.js} +1 -1
  289. package/dist/uikit/{p-58ed99a2.entry.js → p-62881327.entry.js} +1 -1
  290. package/dist/uikit/p-6c51a216.entry.js +1 -0
  291. package/dist/uikit/p-6d363a02.entry.js +1 -0
  292. package/dist/uikit/{p-777c6902.entry.js → p-8535f5c9.entry.js} +1 -1
  293. package/dist/uikit/p-88238a16.entry.js +1 -0
  294. package/dist/uikit/{p-9aa557d1.entry.js → p-894fc85f.entry.js} +1 -1
  295. package/dist/uikit/p-8b882367.entry.js +1 -0
  296. package/dist/uikit/p-9310b73b.entry.js +1 -0
  297. package/dist/uikit/{p-4a1abc1c.entry.js → p-99b7e461.entry.js} +1 -1
  298. package/dist/uikit/p-9d8d420e.entry.js +1 -0
  299. package/dist/uikit/{p-97de6ea6.entry.js → p-9dbe7e12.entry.js} +1 -1
  300. package/dist/uikit/{p-29fe5b7f.entry.js → p-9f09fcec.entry.js} +1 -1
  301. package/dist/{components/p-CyBRmmbs.js → uikit/p-DDtwbwIl.js} +1 -1
  302. package/dist/uikit/{p-d6c9bfbc.entry.js → p-a3d819cd.entry.js} +1 -1
  303. package/dist/uikit/{p-777d8c7a.entry.js → p-b0f2b1c8.entry.js} +1 -1
  304. package/dist/uikit/{p-e0652ddf.entry.js → p-b7e30398.entry.js} +1 -1
  305. package/dist/uikit/p-bac2c523.entry.js +1 -0
  306. package/dist/uikit/p-bbc718ef.entry.js +1 -0
  307. package/dist/uikit/{p-b0aba484.entry.js → p-bdd30484.entry.js} +1 -1
  308. package/dist/uikit/{p-32df7fd0.entry.js → p-c1a9db7c.entry.js} +1 -1
  309. package/dist/uikit/p-c2138fb9.entry.js +1 -0
  310. package/dist/uikit/p-c94492ff.entry.js +1 -0
  311. package/dist/uikit/{p-38cbea54.entry.js → p-ccca2aeb.entry.js} +1 -1
  312. package/dist/uikit/p-d7ab158f.entry.js +1 -0
  313. package/dist/uikit/p-da807078.entry.js +1 -0
  314. package/dist/uikit/p-e2065caa.entry.js +1 -0
  315. package/dist/uikit/{p-9b43d670.entry.js → p-f2983e94.entry.js} +1 -1
  316. package/dist/uikit/p-f4344cce.entry.js +1 -0
  317. package/dist/uikit/{p-ed1111eb.entry.js → p-fb89d9a4.entry.js} +1 -1
  318. package/dist/uikit/p-fbe7806c.entry.js +1 -0
  319. package/dist/uikit/p-ffcd1faf.entry.js +1 -0
  320. package/dist/uikit/uikit.esm.js +1 -1
  321. package/package.json +8 -3
  322. package/dist/uikit/p-0096eefe.entry.js +0 -1
  323. package/dist/uikit/p-11350db1.entry.js +0 -1
  324. package/dist/uikit/p-128ae3e4.entry.js +0 -1
  325. package/dist/uikit/p-24edfe3e.entry.js +0 -1
  326. package/dist/uikit/p-280337b0.entry.js +0 -1
  327. package/dist/uikit/p-3c866608.entry.js +0 -1
  328. package/dist/uikit/p-5555523c.entry.js +0 -1
  329. package/dist/uikit/p-6fa4be86.entry.js +0 -1
  330. package/dist/uikit/p-7b2a9e68.entry.js +0 -1
  331. package/dist/uikit/p-9c57cf57.entry.js +0 -1
  332. package/dist/uikit/p-cf56c9ba.entry.js +0 -1
  333. package/dist/uikit/p-d13860dc.entry.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DYwlrXg_.js';
2
- import { a as autoUpdate, c as computePosition, o as offset, f as flip, s as shift } from './floating-ui.dom-CyBRmmbs.js';
2
+ import { a as autoUpdate, c as computePosition, o as offset, f as flip, s as shift } from './floating-ui.dom-DDtwbwIl.js';
3
3
 
4
4
  const uiPopoverCss = () => `:host{display:inline-block}.trigger{display:inline-flex}.panel{position:fixed;top:0;left:0;z-index:50;width:18rem;max-width:calc(100vw - 1rem);padding:1rem;font-family:var(--ui-font-sans);color:var(--ui-foreground);border:1px solid var(--ui-border);background:var(--ui-panel-strong);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px);border-radius:var(--ui-radius);visibility:hidden;opacity:0;transform:scale(0.96);transition:opacity var(--ui-duration) var(--ui-ease), transform var(--ui-duration) var(--ui-ease)}.panel.is-open{visibility:visible;opacity:1;transform:scale(1)}`;
5
5
 
@@ -78,7 +78,7 @@ const UiPopover = class {
78
78
  this.cleanup = undefined;
79
79
  }
80
80
  render() {
81
- return (h(Host, { key: '583667abe2df75e7c9e058b7a668661527ec0b8a' }, h("span", { key: '46eaca2ca8c70acff629ccc5c3c201b42136c30d', class: "trigger", ref: (el) => (this.triggerEl = el), onClick: this.onTriggerClick }, h("slot", { key: 'd81cf859a9887d3b6964ac8e67829cf1a84c58b2', name: "trigger" })), h("div", { key: 'da09ed4fa3eee00ef72fb4c0eba6f0a1b827df15', class: { panel: true, "is-open": this.open }, ref: (el) => (this.floatingEl = el) }, h("slot", { key: 'f2483196e778a14fbe1d537dd7a3c8a6453c0daf' }))));
81
+ return (h(Host, { key: '005686226a579c5a9968f9b99bc177bfc523f4bc' }, h("span", { key: '3c43cbdfd37c6ec5243c94069fb3e417fb4fde8b', class: "trigger", ref: (el) => (this.triggerEl = el), onClick: this.onTriggerClick }, h("slot", { key: 'bcc68719623c4035cb4b811d52d916c86b814657', name: "trigger" })), h("div", { key: '04865b639bcb5ba267d1ed3e0399f8b677c1befa', class: { panel: true, "is-open": this.open }, ref: (el) => (this.floatingEl = el) }, h("slot", { key: '2a518fa968650f9e844996b21d421f5e96834fbd' }))));
82
82
  }
83
83
  get host() { return getElement(this); }
84
84
  static get watchers() { return {
@@ -0,0 +1,42 @@
1
+ import { r as registerInstance, h, H as Host } from './index-DYwlrXg_.js';
2
+
3
+ const uiProgressCircularCss = () => `:host{display:inline-flex;position:relative;align-items:center;justify-content:center}.ring{display:block}.ring.indeterminate{animation:ui-progress-circular-spin 1s linear infinite;transform-origin:center}.track{fill:none;stroke:var(--ui-chip)}.indicator{fill:none;stroke:var(--ui-accent);transform:rotate(-90deg);transform-origin:center;transition:stroke-dashoffset var(--ui-duration) var(--ui-ease)}.value{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-family:var(--ui-font-sans);font-size:0.8rem;font-weight:600;color:var(--ui-foreground)}@keyframes ui-progress-circular-spin{to{transform:rotate(360deg)}}`;
4
+
5
+ const UiProgressCircular = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ /** Valor atual do progresso. `null` torna o componente indeterminado. */
9
+ this.value = null;
10
+ /** Valor máximo. */
11
+ this.max = 100;
12
+ /** Tamanho do anel (qualquer unidade CSS). */
13
+ this.size = "3rem";
14
+ /** Espessura do traço. */
15
+ this.strokeWidth = 4;
16
+ /** Força o estado indeterminado. */
17
+ this.indeterminate = false;
18
+ /** Exibe o percentual no centro quando determinado. */
19
+ this.showValue = false;
20
+ }
21
+ get isIndeterminate() {
22
+ return this.indeterminate || this.value === null;
23
+ }
24
+ get percent() {
25
+ if (this.value === null || this.max <= 0)
26
+ return 0;
27
+ const clamped = Math.min(Math.max(this.value, 0), this.max);
28
+ return clamped / this.max;
29
+ }
30
+ render() {
31
+ const determinate = !this.isIndeterminate;
32
+ const radius = 50 - this.strokeWidth;
33
+ const circumference = 2 * Math.PI * radius;
34
+ const dashoffset = determinate
35
+ ? circumference * (1 - this.percent)
36
+ : circumference * 0.75;
37
+ return (h(Host, { key: '4201e2e660c07a1b3d5ad6e2a464b3dc4075308a', role: "progressbar", "aria-valuenow": determinate ? String(this.value) : undefined, "aria-valuemin": determinate ? "0" : undefined, "aria-valuemax": determinate ? String(this.max) : undefined, style: { width: this.size, height: this.size } }, h("svg", { key: 'fe9226a711cbdd751baf6fd06e8acef3af63349e', class: { ring: true, indeterminate: this.isIndeterminate }, width: this.size, height: this.size, viewBox: "0 0 100 100" }, h("circle", { key: 'c7dc8282a2295ac97009f575bb7f116d54b0f917', class: "track", cx: "50", cy: "50", r: String(radius), "stroke-width": String(this.strokeWidth) }), h("circle", { key: '04f88283dde12b1e6c2206f7421fb4fa72c6d569', class: "indicator", cx: "50", cy: "50", r: String(radius), "stroke-width": String(this.strokeWidth), "stroke-linecap": "round", "stroke-dasharray": String(circumference), "stroke-dashoffset": String(dashoffset) })), this.showValue && determinate ? (h("div", { class: "value" }, Math.round(this.percent * 100), "%")) : null));
38
+ }
39
+ };
40
+ UiProgressCircular.style = uiProgressCircularCss();
41
+
42
+ export { UiProgressCircular as ui_progress_circular };
@@ -23,7 +23,7 @@ const UiProgress = class {
23
23
  }
24
24
  render() {
25
25
  const determinate = !this.isIndeterminate;
26
- return (h(Host, { key: '66c467df7d762604b0da866268ea75bce4499472', role: "progressbar", "aria-valuenow": determinate ? String(this.value) : undefined, "aria-valuemin": determinate ? "0" : undefined, "aria-valuemax": determinate ? String(this.max) : undefined }, h("div", { key: 'fab67d49344ddd90fbca231212a495c7d2d7a0b1', class: "track" }, h("div", { key: 'dfbd8b412ad24a297e3dacfabd646b812066421e', class: { indicator: true, indeterminate: this.isIndeterminate }, style: determinate ? { width: `${this.percent}%` } : undefined }))));
26
+ return (h(Host, { key: '0d53e528a9a2176e683310c375ff63a3785b7bc6', role: "progressbar", "aria-valuenow": determinate ? String(this.value) : undefined, "aria-valuemin": determinate ? "0" : undefined, "aria-valuemax": determinate ? String(this.max) : undefined }, h("div", { key: '5e7511d189ebc53dfffa6f9aabf0c6d110d2ba0f', class: "track" }, h("div", { key: '7d68e2e258c8d31a46815a66416853ea31af1b79', class: { indicator: true, indeterminate: this.isIndeterminate }, style: determinate ? { width: `${this.percent}%` } : undefined }))));
27
27
  }
28
28
  };
29
29
  UiProgress.style = uiProgressCss();
@@ -36,7 +36,7 @@ const UiRadioGroup = class {
36
36
  };
37
37
  }
38
38
  render() {
39
- return (h(Host, { key: '80b7e45cfc95e7e82015db2fa893b374ba73cf07' }, h("div", { key: '1133cd7ad3f9eb9ebaa0ac6c8a2ca3e2a52c46a9', class: "group", role: "radiogroup" }, this.options.map((option, index) => {
39
+ return (h(Host, { key: 'f7265dce62bf0d590da4b9d8f8756f11991680fb' }, h("div", { key: 'ba70adcb04fae5ba2f78089ac95f8dfed4014efd', class: "group", role: "radiogroup" }, this.options.map((option, index) => {
40
40
  const selected = option.value === this.value;
41
41
  return (h("button", { class: "radio", type: "button", role: "radio", "aria-checked": selected ? "true" : "false", tabindex: selected || (!this.value && index === 0) ? "0" : "-1", disabled: this.disabled, onClick: () => this.select(option.value), onKeyDown: (event) => this.onKeyDown(event, index) }, h("span", { class: "indicator" }, h("span", { class: "dot" })), h("span", { class: "label" }, option.label)));
42
42
  }))));
@@ -0,0 +1,43 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-DYwlrXg_.js';
2
+
3
+ const uiRatingCss = () => `:host{display:inline-flex}.rating{display:inline-flex;align-items:center;gap:0.125rem}.star{width:1.5rem;height:1.5rem;padding:0;border:none;background:none;cursor:pointer;color:var(--ui-border-strong);transition:color var(--ui-duration) var(--ui-ease), transform var(--ui-duration) var(--ui-ease)}.star svg{display:block;fill:none;stroke:currentColor;stroke-width:1.5}.star.filled{color:var(--ui-warning)}.star.filled svg{fill:currentColor;stroke:currentColor}.star:not(.readonly):hover{transform:scale(1.15)}.star:focus-visible{outline:none;border-radius:var(--ui-radius);box-shadow:0 0 0 2px var(--ui-ring)}.star.readonly{pointer-events:none;cursor:default}`;
4
+
5
+ const UiRating = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.uiChange = createEvent(this, "uiChange");
9
+ /** Valor selecionado. */
10
+ this.value = 0;
11
+ /** Quantidade de estrelas. */
12
+ this.max = 5;
13
+ /** Apenas leitura, sem interação. */
14
+ this.readonly = false;
15
+ /** Estrela atualmente sob o cursor (-1 quando sem hover). */
16
+ this.hoverValue = -1;
17
+ this.onLeave = () => {
18
+ this.hoverValue = -1;
19
+ };
20
+ }
21
+ select(index) {
22
+ if (this.readonly)
23
+ return;
24
+ this.value = index;
25
+ this.uiChange.emit(this.value);
26
+ }
27
+ onEnter(index) {
28
+ if (this.readonly)
29
+ return;
30
+ this.hoverValue = index;
31
+ }
32
+ render() {
33
+ const active = this.hoverValue > 0 ? this.hoverValue : this.value;
34
+ const stars = Array.from({ length: this.max }, (_, i) => i + 1);
35
+ return (h(Host, { key: 'b334c2aea5f4b15907ef5d386f344403b97f0324' }, h("div", { key: '635e2ec90f98eb3f90c4f365d32fc82b5763cf42', class: "rating", role: "radiogroup", "aria-label": "Avalia\u00E7\u00E3o", onMouseLeave: this.onLeave }, stars.map((index) => {
36
+ const filled = index <= active;
37
+ return (h("button", { class: { star: true, filled, readonly: this.readonly }, type: "button", role: "radio", "aria-checked": index === this.value ? "true" : "false", "aria-label": `${index} estrelas`, onClick: () => this.select(index), onMouseEnter: () => this.onEnter(index) }, h("svg", { viewBox: "0 0 24 24", width: "100%", height: "100%" }, h("path", { d: "M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z" }))));
38
+ }))));
39
+ }
40
+ };
41
+ UiRating.style = uiRatingCss();
42
+
43
+ export { UiRating as ui_rating };
@@ -30,7 +30,7 @@ const UiReveal = class {
30
30
  this.observer?.disconnect();
31
31
  }
32
32
  render() {
33
- return (h(Host, { key: '0af93c131bf8564bf952ca61637041089b5c34b7' }, h("div", { key: '94a0fc0cf5445b9832994c19eb5600f6227ccc97', class: { reveal: true, visible: this.visible }, style: { transitionDelay: `${this.delay}ms` } }, h("slot", { key: '2a47e0af589790cbe5cfbc10ef49ffde1aced931' }))));
33
+ return (h(Host, { key: '5bb285428644e0c3e130178e5c34811ff5c52d5a' }, h("div", { key: '1884cbc6f94fdee392ed94ab8fbc4a449747138a', class: { reveal: true, visible: this.visible }, style: { transitionDelay: `${this.delay}ms` } }, h("slot", { key: '270ee6624c2ba58edc786d80fb3d777ff3cebb41' }))));
34
34
  }
35
35
  get host() { return getElement(this); }
36
36
  };
@@ -27,7 +27,7 @@ const UiScrollProgress = class {
27
27
  window.removeEventListener("scroll", this.onScroll);
28
28
  }
29
29
  render() {
30
- return (h(Host, { key: '36bb4460d8219c028ff63216ef562f0d157fd04d' }, h("div", { key: '345b9675be89ede7875c56ad3f86ae2eecdf4f16', class: "bar", role: "progressbar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-valuenow": Math.round(this.progress * 100), style: { transform: `scaleX(${this.progress})` } })));
30
+ return (h(Host, { key: 'fee75a94ba6949fffe43501b672492795632f687' }, h("div", { key: 'fc881ac42582dc50df17861b918d96331216b86f', class: "bar", role: "progressbar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-valuenow": Math.round(this.progress * 100), style: { transform: `scaleX(${this.progress})` } })));
31
31
  }
32
32
  };
33
33
  UiScrollProgress.style = uiScrollProgressCss();
@@ -13,7 +13,7 @@ const UiSection = class {
13
13
  this.description = "";
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: '17a6e52fb6d1822d7a8a08eef052d972cc322c0a' }, h("section", { key: '228e9c1e4ca2515f585cafa2684932bfac70a25b' }, this.eyebrow && h("p", { key: '93c307b49c39fe2c0b2363d75c9763b3c09446a5', class: "eyebrow" }, this.eyebrow), this.heading && h("h2", { key: '889c652e358f1788c5785f1154f5a45508fa2a61', class: "heading" }, this.heading), this.description && h("p", { key: '09cb09edfbc0dce2b7fd5e9938cafc63e2ddbd9a', class: "description" }, this.description), h("slot", { key: '4f480d0c56263f1e38909e8af8d7cd8d8c2375fe' }))));
16
+ return (h(Host, { key: '541fff68d5138d9c8767a22f4fc031d77d532010' }, h("section", { key: 'a05b3596b2dae7e78216b087af28f0be57d79468' }, this.eyebrow && h("p", { key: 'd429995b90a7877792fb4c2def70a2dd9fd1865d', class: "eyebrow" }, this.eyebrow), this.heading && h("h2", { key: '41849c37d94c9d91cfedaa0bceec0a453089326d', class: "heading" }, this.heading), this.description && h("p", { key: '5b244c629c70ed213426d141bec5c67da670d566', class: "description" }, this.description), h("slot", { key: '7ad5eafe43915eb69f31532417f1ea28f232b5c8' }))));
17
17
  }
18
18
  };
19
19
  UiSection.style = uiSectionCss();
@@ -0,0 +1,29 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-DYwlrXg_.js';
2
+
3
+ const uiSegmentedCss = () => `:host{display:inline-block}.track{display:inline-flex;align-items:center;gap:0.125rem;padding:0.25rem;border:1px solid var(--ui-border);border-radius:var(--ui-radius-full);background:var(--ui-chip);font-family:var(--ui-font-sans)}.segment{display:inline-flex;align-items:center;justify-content:center;height:2rem;padding:0 0.875rem;border:none;border-radius:var(--ui-radius-full);background:transparent;color:var(--ui-text-muted);font-family:var(--ui-font-sans);font-size:0.8125rem;font-weight:500;cursor:pointer;outline:none;transition:all var(--ui-duration) var(--ui-ease)}.segment:hover{color:var(--ui-foreground)}.segment:focus-visible{box-shadow:0 0 0 2px var(--ui-ring)}.segment.active{background:var(--ui-panel-strong);color:var(--ui-foreground);box-shadow:var(--ui-shadow-sm)}`;
4
+
5
+ const UiSegmented = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.uiChange = createEvent(this, "uiChange");
9
+ /** Lista de segmentos. */
10
+ this.items = [];
11
+ /** Valor do segmento ativo. */
12
+ this.value = "";
13
+ this.select = (value) => {
14
+ if (value === this.value)
15
+ return;
16
+ this.value = value;
17
+ this.uiChange.emit(value);
18
+ };
19
+ }
20
+ render() {
21
+ return (h(Host, { key: 'ff4e74a388b0c7db02c4065e32c93b66d1338fb8' }, h("div", { key: '163708540ba5221f2b7a90dc7778c2d83072b6e4', class: "track", role: "radiogroup" }, this.items.map((item) => {
22
+ const active = item.value === this.value;
23
+ return (h("button", { key: item.value, class: { segment: true, active }, type: "button", role: "radio", "aria-checked": active ? "true" : "false", onClick: () => this.select(item.value) }, item.label));
24
+ }))));
25
+ }
26
+ };
27
+ UiSegmented.style = uiSegmentedCss();
28
+
29
+ export { UiSegmented as ui_segmented };
@@ -18,7 +18,7 @@ const UiSelect = class {
18
18
  }
19
19
  render() {
20
20
  const hasValue = this.value !== undefined && this.value !== "";
21
- return (h(Host, { key: '1ebd6a8472a116ad071e9504ab0756daddb27824' }, h("div", { key: '5d2d00f41b8f74202156d0af7c150b89d79dc1a4', class: "wrapper" }, h("select", { key: '7b370433247f03a126ce13005a3697ba5b04845f', class: "select", name: this.name, disabled: this.disabled, onChange: this.onChange }, this.placeholder && (h("option", { key: '9e482642eebeab0b1b1c5b56a6730fb5ecbd9617', value: "", disabled: true, selected: !hasValue }, this.placeholder)), this.options.map((option) => (h("option", { value: option.value, selected: option.value === this.value }, option.label)))), h("svg", { key: '7d66788b8d8b51169ae28e5e5c5a31c0b637e377', class: "chevron", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("polyline", { key: 'aaa00671ba95ebd20f81174fc27bf218b16dfc64', points: "6 9 12 15 18 9" })))));
21
+ return (h(Host, { key: 'a1abda48256851c19e13b1516c9789ff270fd55f' }, h("div", { key: '9556917c11784833418565b305b814e176b4ce22', class: "wrapper" }, h("select", { key: '6f724cd6c5c83d841839c1a13b8e1f74720edd57', class: "select", name: this.name, disabled: this.disabled, onChange: this.onChange }, this.placeholder && (h("option", { key: '2b70163c4f64850d05f8194b310041bc32d18930', value: "", disabled: true, selected: !hasValue }, this.placeholder)), this.options.map((option) => (h("option", { value: option.value, selected: option.value === this.value }, option.label)))), h("svg", { key: '748cda678998b6739fc56aaa7df36964a37a0f12', class: "chevron", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("polyline", { key: '957613dc5eeb6471f4dfc1cc4e8203c90d291cdb', points: "6 9 12 15 18 9" })))));
22
22
  }
23
23
  };
24
24
  UiSelect.style = uiSelectCss();
@@ -9,7 +9,7 @@ const UiSeparator = class {
9
9
  this.orientation = "horizontal";
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: '212e4b763ad309ef74ba2e21592a0d4091fb0fcf', role: "separator", "aria-orientation": this.orientation, class: `orientation-${this.orientation}` }));
12
+ return (h(Host, { key: '64211b51121d5c090a1f7e3feb88e7c076dc5b7b', role: "separator", "aria-orientation": this.orientation, class: `orientation-${this.orientation}` }));
13
13
  }
14
14
  };
15
15
  UiSeparator.style = uiSeparatorCss();
@@ -7,7 +7,7 @@ const UiSkeleton = class {
7
7
  registerInstance(this, hostRef);
8
8
  }
9
9
  render() {
10
- return (h(Host, { key: 'a7ce8aa1c475aaa92353b0eb6bad5ded231a5cd1' }, h("span", { key: '0611976380d3fb93d1ac64bfdc5d4686568c5129', class: "skeleton" })));
10
+ return (h(Host, { key: 'b8c2b1288e037ec55d582d07a6f9d83ad63789b4' }, h("span", { key: '3a939a4d6ab7ce5791bd3ffb7210743ad68e0db8', class: "skeleton" })));
11
11
  }
12
12
  };
13
13
  UiSkeleton.style = uiSkeletonCss();
@@ -27,7 +27,7 @@ const UiSlider = class {
27
27
  };
28
28
  }
29
29
  render() {
30
- return (h(Host, { key: '08226142947909bff3ccecd5fc780d75515c2ee2' }, h("input", { key: '192bd60cd8b0c1e8d6029272fd317c0d786b36ca', class: "slider", type: "range", min: this.min, max: this.max, step: this.step, value: this.value, disabled: this.disabled, onInput: this.onInput, onChange: this.onChange })));
30
+ return (h(Host, { key: 'eeb569c6927ebcda5c1702c8bdbade3e15ede9c2' }, h("input", { key: '1fd45574a52ed9d857941c870650995f092283f8', class: "slider", type: "range", min: this.min, max: this.max, step: this.step, value: this.value, disabled: this.disabled, onInput: this.onInput, onChange: this.onChange })));
31
31
  }
32
32
  };
33
33
  UiSlider.style = uiSliderCss();
@@ -9,7 +9,7 @@ const UiSpinner = class {
9
9
  this.size = "md";
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: 'cedf6e857d1f4e6561c78f3fd3076341c2d8ecdc', role: "status" }, h("span", { key: '7200580dccc32b30829725ad84e913c3b1afee60', class: { spinner: true, [`size-${this.size}`]: true } }), h("span", { key: '63d4cfee2e5cebabc3c7b3b6ed95a656daa65705', class: "sr-only" }, "Carregando")));
12
+ return (h(Host, { key: '3ce50c4de9703a057c0971fbaa71f6535a30c196', role: "status" }, h("span", { key: '83aba34de038600be6535662d7243489d4db79f1', class: { spinner: true, [`size-${this.size}`]: true } }), h("span", { key: 'ff7523e8ab8e073dea03314b72c93aaf566fa32e', class: "sr-only" }, "Carregando")));
13
13
  }
14
14
  };
15
15
  UiSpinner.style = uiSpinnerCss();
@@ -0,0 +1,51 @@
1
+ import { r as registerInstance, h, H as Host } from './index-DYwlrXg_.js';
2
+
3
+ const uiStackCss = () => `:host{display:block}.stack{display:flex;font-family:var(--ui-font-sans)}`;
4
+
5
+ const GAP = {
6
+ xs: "0.25rem",
7
+ sm: "0.5rem",
8
+ md: "1rem",
9
+ lg: "1.5rem",
10
+ xl: "2rem",
11
+ };
12
+ const ALIGN = {
13
+ start: "flex-start",
14
+ center: "center",
15
+ end: "flex-end",
16
+ stretch: "stretch",
17
+ };
18
+ const JUSTIFY = {
19
+ start: "flex-start",
20
+ center: "center",
21
+ end: "flex-end",
22
+ between: "space-between",
23
+ };
24
+ const UiStack = class {
25
+ constructor(hostRef) {
26
+ registerInstance(this, hostRef);
27
+ /** Direção do empilhamento. */
28
+ this.direction = "vertical";
29
+ /** Espaçamento entre itens. */
30
+ this.gap = "md";
31
+ /** Alinhamento no eixo cruzado. */
32
+ this.align = "stretch";
33
+ /** Distribuição no eixo principal. */
34
+ this.justify = "start";
35
+ /** Permite quebra de linha dos itens. */
36
+ this.wrap = false;
37
+ }
38
+ render() {
39
+ const style = {
40
+ flexDirection: this.direction === "horizontal" ? "row" : "column",
41
+ gap: GAP[this.gap],
42
+ alignItems: ALIGN[this.align],
43
+ justifyContent: JUSTIFY[this.justify],
44
+ flexWrap: this.wrap ? "wrap" : "nowrap",
45
+ };
46
+ return (h(Host, { key: 'f10c42228c323efa8c5ded4e8ca552e38d1ef923' }, h("div", { key: 'c296191b05e5ad4e9fdec382808b24b6e798867d', class: "stack", style: style }, h("slot", { key: '8cc418111a0833cf404e0578e81c23f9aaa69fda' }))));
47
+ }
48
+ };
49
+ UiStack.style = uiStackCss();
50
+
51
+ export { UiStack as ui_stack };
@@ -0,0 +1,26 @@
1
+ import { r as registerInstance, h, H as Host } from './index-DYwlrXg_.js';
2
+
3
+ const uiStatCss = () => `:host{display:block}.card{display:flex;flex-direction:column;gap:0.5rem;padding:1.25rem;border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-panel);backdrop-filter:blur(22px);font-family:var(--ui-font-sans)}.label{margin:0;text-transform:uppercase;letter-spacing:0.08em;font-size:0.7rem;font-weight:500;color:var(--ui-text-faint)}.value-row{display:flex;align-items:baseline;gap:0.625rem}.value{font-size:1.875rem;font-weight:600;line-height:1.1;color:var(--ui-foreground)}.delta{display:inline-flex;align-items:center;gap:0.25rem;padding:0.125rem 0.5rem;border-radius:var(--ui-radius-full);font-size:0.75rem;font-weight:600}.delta svg{display:block}.trend-up{color:var(--ui-success);background:color-mix(in srgb, var(--ui-success) 14%, transparent)}.trend-down{color:var(--ui-danger);background:color-mix(in srgb, var(--ui-danger) 14%, transparent)}.trend-neutral{color:var(--ui-text-muted);background:var(--ui-chip)}.extra{font-size:0.8125rem;color:var(--ui-text-muted)}`;
4
+
5
+ const UiStat = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ /** Direção da tendência. */
9
+ this.trend = "neutral";
10
+ }
11
+ renderArrow() {
12
+ if (this.trend === "down") {
13
+ return (h("svg", { width: "10", height: "10", viewBox: "0 0 12 12", fill: "currentColor", "aria-hidden": "true" }, h("path", { d: "M6 11 1 4h10z" })));
14
+ }
15
+ if (this.trend === "up") {
16
+ return (h("svg", { width: "10", height: "10", viewBox: "0 0 12 12", fill: "currentColor", "aria-hidden": "true" }, h("path", { d: "M6 1 11 8H1z" })));
17
+ }
18
+ return null;
19
+ }
20
+ render() {
21
+ return (h(Host, { key: 'd4d0f5f87e9049b60b849afa096438bb5defa710' }, h("div", { key: '9dbd07ca51110a52ea852894401b0908b4cf7d30', class: "card" }, h("p", { key: '41e30e19f7ca5d26df13381e34a6c6a87ca530ce', class: "label" }, this.label), h("div", { key: '40c72d2e2bda9fb9017a52eec04737c673910ea3', class: "value-row" }, h("span", { key: 'b217030e5603cd2c0e0a99913461e83047a73378', class: "value" }, this.value), this.delta && (h("span", { key: 'df0a67ef011043f334512a43c1a6fb1ac9bb6978', class: { delta: true, [`trend-${this.trend}`]: true } }, this.renderArrow(), this.delta))), h("div", { key: '3e4fb6a69cf7b22d2a1f60f28f5f5747f900165a', class: "extra" }, h("slot", { key: '97237fcf1fc5c46a30426728c0f240cab4808541' })))));
22
+ }
23
+ };
24
+ UiStat.style = uiStatCss();
25
+
26
+ export { UiStat as ui_stat };
@@ -24,7 +24,7 @@ const UiSwitch = class {
24
24
  };
25
25
  }
26
26
  render() {
27
- return (h(Host, { key: '0650dcb564622448421a576b17093cfeeb7a3a6d' }, h("button", { key: '09e705ce9642f4c11b84bc876577b9e55dab1e52', class: "switch", type: "button", role: "switch", "aria-checked": this.checked ? "true" : "false", disabled: this.disabled, onClick: this.toggle, onKeyDown: this.onKeyDown }, h("span", { key: 'd237bee4724d5f9a199f4794217d1528c074caac', class: "thumb" }))));
27
+ return (h(Host, { key: '428fb05e4d51811bca60b1e3513c38002bcdd6f7' }, h("button", { key: '39192341845fd5877a6a73f3c7ef8257a526601e', class: "switch", type: "button", role: "switch", "aria-checked": this.checked ? "true" : "false", disabled: this.disabled, onClick: this.toggle, onKeyDown: this.onKeyDown }, h("span", { key: '51fa9f37d6e7083e8aaf4de69e234dbb56bc4c8b', class: "thumb" }))));
28
28
  }
29
29
  };
30
30
  UiSwitch.style = uiSwitchCss();
@@ -0,0 +1,23 @@
1
+ import { r as registerInstance, h, H as Host } from './index-DYwlrXg_.js';
2
+
3
+ const uiTableCss = () => `:host{display:block}.wrapper{overflow:hidden;border:1px solid var(--ui-border);background:var(--ui-panel);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px) saturate(140%);border-radius:var(--ui-radius-lg);font-family:var(--ui-font-sans)}.table{width:100%;border-collapse:collapse}.table thead th{padding:0.75rem 1rem;font-size:0.7rem;font-weight:600;text-transform:uppercase;letter-spacing:0.05em;color:var(--ui-text-faint);background:var(--ui-chip)}.table tbody td{padding:0.75rem 1rem;font-size:0.875rem;color:var(--ui-text-soft)}.table tbody tr{border-top:1px solid var(--ui-border)}.table.striped tbody tr:nth-child(even){background:color-mix(in srgb, var(--ui-chip) 50%, transparent)}.table.hoverable tbody tr:hover{background:var(--ui-chip)}`;
4
+
5
+ const UiTable = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ /** Definição das colunas. */
9
+ this.columns = [];
10
+ /** Linhas de dados. */
11
+ this.rows = [];
12
+ /** Aplica fundo alternado nas linhas pares. */
13
+ this.striped = false;
14
+ /** Destaca a linha sob o cursor. */
15
+ this.hoverable = true;
16
+ }
17
+ render() {
18
+ return (h(Host, { key: 'e62b59e8da83f4b9f0c3d622623bbe216d3cfb8f' }, h("div", { key: 'e46a0eeeedaa9efa10867a9e38a03514a6d23d0b', class: "wrapper" }, h("table", { key: 'fe0a34ee49101b57d74e0e2ad765861bf5e3509e', class: { table: true, striped: this.striped, hoverable: this.hoverable } }, h("thead", { key: '0ea948edf967524a5fc55df8bdc453a3fd6a58a4' }, h("tr", { key: '69d9be2deeb57d4811ebdb8714d0713d675c8c1e' }, this.columns.map((column) => (h("th", { key: column.key, style: { textAlign: column.align ?? "left" } }, column.label))))), h("tbody", { key: '4b0fa5fbc25f6f0952da9a85bd03289f24ffdf9a' }, this.rows.map((row, rowIndex) => (h("tr", { key: rowIndex }, this.columns.map((column) => (h("td", { key: column.key, style: { textAlign: column.align ?? "left" } }, String(row[column.key] ?? ""))))))))))));
19
+ }
20
+ };
21
+ UiTable.style = uiTableCss();
22
+
23
+ export { UiTable as ui_table };
@@ -18,10 +18,10 @@ const UiTabs = class {
18
18
  };
19
19
  }
20
20
  render() {
21
- return (h(Host, { key: '8828dc9385a8c206a751e39fda9869116dda3001' }, h("div", { key: '8e13dc53f1c03da5a52adb8ec86da91c78c502b2', class: "tablist", role: "tablist" }, this.items.map((item) => {
21
+ return (h(Host, { key: '498d6b8302e63ed96533c7d68f4ac00c06b513cb' }, h("div", { key: '20699e632c2596a7157dd69e0f77b7db75b8b40e', class: "tablist", role: "tablist" }, this.items.map((item) => {
22
22
  const active = item.value === this.value;
23
23
  return (h("button", { key: item.value, class: { tab: true, active }, type: "button", role: "tab", "aria-selected": active ? "true" : "false", onClick: () => this.select(item.value) }, item.label));
24
- })), h("div", { key: '1e46e18417426af6053490cde8e7637e4bae7855', class: "panel", role: "tabpanel" }, h("slot", { key: 'efb63794fca013a54a1b2f261c4a72cd18ce3ef0', name: this.value }))));
24
+ })), h("div", { key: 'd4d5577f928378d8e400779954831fd5f6416c04', class: "panel", role: "tabpanel" }, h("slot", { key: '77e86a40c41666945704a560222edd22cd92443f', name: this.value }))));
25
25
  }
26
26
  };
27
27
  UiTabs.style = uiTabsCss();
@@ -25,7 +25,7 @@ const UiTextarea = class {
25
25
  };
26
26
  }
27
27
  render() {
28
- return (h(Host, { key: 'f0bafb6320cd48642dac3b5f1e07399f88a78b03' }, h("textarea", { key: 'fc99c0b899dd17477928b9f38273fd822d46935b', class: { textarea: true, invalid: this.invalid }, name: this.name, rows: this.rows, placeholder: this.placeholder, disabled: this.disabled, "aria-invalid": this.invalid ? "true" : null, onInput: this.onInput, onChange: this.onChange }, this.value)));
28
+ return (h(Host, { key: '4134da9c40b56d7a690aacf84f285d32c76e0e97' }, h("textarea", { key: 'ed094856a7982bb44cc2a6b756daf5ee12f57c01', class: { textarea: true, invalid: this.invalid }, name: this.name, rows: this.rows, placeholder: this.placeholder, disabled: this.disabled, "aria-invalid": this.invalid ? "true" : null, onInput: this.onInput, onChange: this.onChange }, this.value)));
29
29
  }
30
30
  };
31
31
  UiTextarea.style = uiTextareaCss();
@@ -55,7 +55,7 @@ const UiThemeToggle = class {
55
55
  return (h("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("circle", { cx: "12", cy: "12", r: "4" }), h("line", { x1: "12", y1: "2", x2: "12", y2: "4" }), h("line", { x1: "12", y1: "20", x2: "12", y2: "22" }), h("line", { x1: "2", y1: "12", x2: "4", y2: "12" }), h("line", { x1: "20", y1: "12", x2: "22", y2: "12" }), h("line", { x1: "4.93", y1: "4.93", x2: "6.34", y2: "6.34" }), h("line", { x1: "17.66", y1: "17.66", x2: "19.07", y2: "19.07" }), h("line", { x1: "4.93", y1: "19.07", x2: "6.34", y2: "17.66" }), h("line", { x1: "17.66", y1: "6.34", x2: "19.07", y2: "4.93" })));
56
56
  }
57
57
  render() {
58
- return (h(Host, { key: '6b55c31df3938ab37336e4e4c4ed90e9b149a440' }, h("button", { key: '7640122c47871bc67aad6f74b59229219fdb348b', class: "toggle", type: "button", "aria-label": this.isDark ? "Ativar tema claro" : "Ativar tema escuro", "aria-pressed": this.isDark ? "true" : "false", onClick: this.toggle }, this.renderIcon())));
58
+ return (h(Host, { key: 'a654dba08923ee4ede01577964a9c1ae00152eeb' }, h("button", { key: '84477ec9d4693aa93457fb6564ceae1ab2c3516b', class: "toggle", type: "button", "aria-label": this.isDark ? "Ativar tema claro" : "Ativar tema escuro", "aria-pressed": this.isDark ? "true" : "false", onClick: this.toggle }, this.renderIcon())));
59
59
  }
60
60
  };
61
61
  UiThemeToggle.style = uiThemeToggleCss();
@@ -52,7 +52,7 @@ const UiToast = class {
52
52
  this.dismiss();
53
53
  }
54
54
  render() {
55
- return (h(Host, { key: 'fe0318f91899e78faeb2ac07a7a06bfe42f9d3fd' }, this.open && (h("div", { key: '66dc197d7a493ad7a7cb9aa982fc92bc0541d21f', class: { toast: true, [`variant-${this.variant}`]: true }, role: "status" }, h("div", { key: 'df1fbb34582de4d10a84402653e7d7d528d8faa0', class: "body" }, this.heading && h("p", { key: '7c14d43a9397320bda3a79b60637da9d48c31945', class: "heading" }, this.heading), this.description && (h("p", { key: '6c83f1b075b3df34c1ce05e8c43627903ddbba4e', class: "description" }, this.description))), h("button", { key: '922acc1bc264b59ce708014decb078182d7909b4', class: "close", type: "button", "aria-label": "Fechar", onClick: () => this.dismiss() }, h("svg", { key: '10541297b8fc83a5da11b640933f6c3695602cb0', width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("line", { key: '964b3dc70120841eb01fffeef9e7ddcbd30880ec', x1: "18", y1: "6", x2: "6", y2: "18" }), h("line", { key: 'e45490846076269a527a0f722e32e61206cc2d9d', x1: "6", y1: "6", x2: "18", y2: "18" })))))));
55
+ return (h(Host, { key: '21a97579800abf5e870eec28557e06165b96d404' }, this.open && (h("div", { key: 'e77a782182779213db337796c83eff1d0cf5d5c2', class: { toast: true, [`variant-${this.variant}`]: true }, role: "status" }, h("div", { key: '0d6c35786aa00e5f6678e33944df564f1ad8edec', class: "body" }, this.heading && h("p", { key: '1b91fe3a120c8caf7ba614d1d658121d77b52be5', class: "heading" }, this.heading), this.description && (h("p", { key: 'dff799cd6f2c4fd62fa716538a9de375ee1f49af', class: "description" }, this.description))), h("button", { key: 'c30f977f65a960b4062965ac77b2e3ac9d09dc8a', class: "close", type: "button", "aria-label": "Fechar", onClick: () => this.dismiss() }, h("svg", { key: 'ae2d9a2fab756ce67c5a7379bb3a4f93fec4222f', width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("line", { key: '29972be7ff1556a629365956f39c7c0bfe85d512', x1: "18", y1: "6", x2: "6", y2: "18" }), h("line", { key: '59087f986b5dd641be586d04b4aa70f1a09dcfe3', x1: "6", y1: "6", x2: "18", y2: "18" })))))));
56
56
  }
57
57
  static get watchers() { return {
58
58
  "open": [{
@@ -19,7 +19,7 @@ const UiToaster = class {
19
19
  this.items = this.items.filter((item) => item.id !== id);
20
20
  }
21
21
  render() {
22
- return (h(Host, { key: '18ad65a18488bd061c2fa8eb2ad33c41a472d850' }, h("div", { key: 'de7ae9b62cd155d13c5a8d018ea2970d509e74e6', class: "container" }, this.items.map((item) => (h("ui-toast", { key: item.id, open: true, heading: item.heading, description: item.description, variant: item.variant ?? "default", duration: item.duration ?? 4000, onUiClose: () => this.remove(item.id) }))))));
22
+ return (h(Host, { key: '608a15f7a5805eb336aeb5eed46fc7ca9f7ef32e' }, h("div", { key: 'ebf5b3f7cdafa526fe0845d3025bf10579beb848', class: "container" }, this.items.map((item) => (h("ui-toast", { key: item.id, open: true, heading: item.heading, description: item.description, variant: item.variant ?? "default", duration: item.duration ?? 4000, onUiClose: () => this.remove(item.id) }))))));
23
23
  }
24
24
  };
25
25
  UiToaster.style = uiToasterCss();
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, a as getElement } from './index-DYwlrXg_.js';
2
- import { a as autoUpdate, c as computePosition, o as offset, f as flip, s as shift } from './floating-ui.dom-CyBRmmbs.js';
2
+ import { a as autoUpdate, c as computePosition, o as offset, f as flip, s as shift } from './floating-ui.dom-DDtwbwIl.js';
3
3
 
4
4
  const uiTooltipCss = () => `:host{display:inline-block}.trigger{display:inline-flex}.tooltip{position:fixed;top:0;left:0;z-index:50;width:max-content;max-width:18rem;padding:0.4rem 0.7rem;font-family:var(--ui-font-sans);font-size:0.75rem;font-weight:500;line-height:1.4;color:var(--ui-foreground);background:color-mix(in srgb, var(--ui-background) 90%, var(--ui-foreground) 8%);border:1px solid var(--ui-border-strong);box-shadow:var(--ui-shadow-lg);border-radius:var(--ui-radius-sm);pointer-events:none;opacity:0;transform:scale(0.96);transition:opacity var(--ui-duration) var(--ui-ease), transform var(--ui-duration) var(--ui-ease)}.tooltip.is-visible{opacity:1;transform:scale(1)}`;
5
5
 
@@ -53,7 +53,7 @@ const UiTooltip = class {
53
53
  this.cleanup = undefined;
54
54
  }
55
55
  render() {
56
- return (h(Host, { key: '5a3f2a7cf235a6c31c8a4d3ebd4f0d517c7e7b5d', onMouseEnter: this.onEnter, onMouseLeave: this.onLeave, onFocusin: this.onEnter, onFocusout: this.onLeave }, h("span", { key: 'f626c5ec5686959449c5a2dd1c80551fd6b19087', class: "trigger", ref: (el) => (this.triggerEl = el) }, h("slot", { key: '08a19214efd0eba04d715b76a63a2cc53ed3a5c6' })), h("div", { key: 'b598af62ab976599a5274cc85f01b4ab7543dabf', class: { tooltip: true, "is-visible": this.visible }, role: "tooltip", ref: (el) => (this.floatingEl = el) }, this.content)));
56
+ return (h(Host, { key: '401cfeba060afec776fd2455ab597f5591733566', onMouseEnter: this.onEnter, onMouseLeave: this.onLeave, onFocusin: this.onEnter, onFocusout: this.onLeave }, h("span", { key: '6ee621aefa5092194d3e1c3dabf5a33501421c6c', class: "trigger", ref: (el) => (this.triggerEl = el) }, h("slot", { key: '771078940a2c4e17ecf30dc39f6e0f0c90691b5e' })), h("div", { key: '263d4868a251cab4f302a8fe1d890a419f4158d1', class: { tooltip: true, "is-visible": this.visible }, role: "tooltip", ref: (el) => (this.floatingEl = el) }, this.content)));
57
57
  }
58
58
  get host() { return getElement(this); }
59
59
  };
package/dist/esm/uikit.js CHANGED
@@ -16,5 +16,5 @@ var patchBrowser = () => {
16
16
 
17
17
  patchBrowser().then(async (options) => {
18
18
  await globalScripts();
19
- return bootstrapLazy([["ui-loading-overlay",[[1,"ui-loading-overlay",{"visible":[4],"label":[1],"spinnerSize":[1,"spinner-size"]}]]],["ui-toaster",[[1,"ui-toaster",{"items":[32],"toast":[64]}]]],["ui-accordion",[[257,"ui-accordion"]]],["ui-accordion-item",[[257,"ui-accordion-item",{"heading":[1],"open":[1540]}]]],["ui-avatar",[[1,"ui-avatar",{"src":[1],"alt":[1],"fallback":[1]}]]],["ui-badge",[[257,"ui-badge",{"variant":[1]}]]],["ui-button",[[257,"ui-button",{"variant":[1],"size":[1],"disabled":[4],"loading":[4],"type":[1]}]]],["ui-card",[[257,"ui-card"]]],["ui-checkbox",[[1,"ui-checkbox",{"checked":[1540],"disabled":[4],"name":[1],"value":[1]}]]],["ui-dialog",[[257,"ui-dialog",{"open":[1540],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-drawer",[[257,"ui-drawer",{"open":[1540],"side":[513],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-dropdown-item",[[257,"ui-dropdown-item",{"disabled":[516]}]]],["ui-dropdown-menu",[[257,"ui-dropdown-menu",{"open":[1540],"placement":[1],"show":[64],"close":[64]},[[0,"uiDropdownClose","onItemClose"]],{"open":[{"onOpenChange":0}]}]]],["ui-field",[[257,"ui-field",{"label":[1],"description":[1],"error":[1],"required":[4],"fieldId":[1,"field-id"]}]]],["ui-input",[[1,"ui-input",{"value":[1025],"placeholder":[1],"type":[1],"disabled":[4],"invalid":[4],"name":[1]}]]],["ui-label",[[257,"ui-label"]]],["ui-popover",[[257,"ui-popover",{"open":[1540],"placement":[1],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-progress",[[1,"ui-progress",{"value":[2],"max":[2],"indeterminate":[4]}]]],["ui-radio-group",[[1,"ui-radio-group",{"value":[1025],"name":[1],"options":[16],"disabled":[4]}]]],["ui-reveal",[[257,"ui-reveal",{"delay":[2],"visible":[32]}]]],["ui-scroll-progress",[[1,"ui-scroll-progress",{"progress":[32]}]]],["ui-section",[[257,"ui-section",{"eyebrow":[1],"heading":[1],"description":[1]}]]],["ui-select",[[1,"ui-select",{"value":[1025],"disabled":[4],"name":[1],"options":[16],"placeholder":[1]}]]],["ui-separator",[[1,"ui-separator",{"orientation":[513]}]]],["ui-skeleton",[[1,"ui-skeleton"]]],["ui-slider",[[1,"ui-slider",{"value":[1026],"min":[2],"max":[2],"step":[2],"disabled":[4]}]]],["ui-switch",[[1,"ui-switch",{"checked":[1540],"disabled":[4]}]]],["ui-tabs",[[257,"ui-tabs",{"value":[1537],"items":[16]}]]],["ui-textarea",[[1,"ui-textarea",{"value":[1025],"placeholder":[1],"disabled":[4],"invalid":[4],"name":[1],"rows":[2]}]]],["ui-theme-toggle",[[1,"ui-theme-toggle",{"isDark":[32]}]]],["ui-tooltip",[[257,"ui-tooltip",{"content":[1],"placement":[1],"openDelay":[2,"open-delay"],"visible":[32]}]]],["ui-spinner",[[1,"ui-spinner",{"size":[1]}]]],["ui-toast",[[1,"ui-toast",{"open":[1540],"variant":[1],"heading":[1],"description":[1],"duration":[2],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]]], options);
19
+ return bootstrapLazy([["ui-loading-overlay",[[1,"ui-loading-overlay",{"visible":[4],"label":[1],"spinnerSize":[1,"spinner-size"]}]]],["ui-toaster",[[1,"ui-toaster",{"items":[32],"toast":[64]}]]],["ui-accordion",[[257,"ui-accordion"]]],["ui-accordion-item",[[257,"ui-accordion-item",{"heading":[1],"open":[1540]}]]],["ui-alert",[[257,"ui-alert",{"variant":[1],"heading":[1],"dismissible":[4],"open":[32]}]]],["ui-avatar",[[1,"ui-avatar",{"src":[1],"alt":[1],"fallback":[1],"status":[1]}]]],["ui-avatar-group",[[257,"ui-avatar-group"]]],["ui-badge",[[257,"ui-badge",{"variant":[1],"dot":[4],"removable":[4]}]]],["ui-breadcrumb",[[257,"ui-breadcrumb"]]],["ui-breadcrumb-item",[[257,"ui-breadcrumb-item",{"href":[1],"current":[4]}]]],["ui-button",[[257,"ui-button",{"variant":[1],"size":[1],"disabled":[4],"loading":[4],"type":[1],"full":[516]}]]],["ui-card",[[257,"ui-card"]]],["ui-checkbox",[[1,"ui-checkbox",{"checked":[1540],"disabled":[4],"name":[1],"value":[1]}]]],["ui-combobox",[[1,"ui-combobox",{"options":[16],"value":[1025],"placeholder":[1],"query":[32],"open":[32],"activeIndex":[32]}]]],["ui-container",[[257,"ui-container",{"size":[1],"padded":[4]}]]],["ui-date-picker",[[1,"ui-date-picker",{"value":[1025],"placeholder":[1],"open":[32],"viewYear":[32],"viewMonth":[32]},null,{"value":[{"onValueChange":0}]}]]],["ui-dialog",[[257,"ui-dialog",{"open":[1540],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-drawer",[[257,"ui-drawer",{"open":[1540],"side":[513],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-dropdown-item",[[257,"ui-dropdown-item",{"disabled":[516]}]]],["ui-dropdown-menu",[[257,"ui-dropdown-menu",{"open":[1540],"placement":[1],"show":[64],"close":[64]},[[0,"uiDropdownClose","onItemClose"]],{"open":[{"onOpenChange":0}]}]]],["ui-field",[[257,"ui-field",{"label":[1],"description":[1],"error":[1],"required":[4],"fieldId":[1,"field-id"]}]]],["ui-file-upload",[[1,"ui-file-upload",{"accept":[1],"multiple":[4],"label":[1],"files":[32],"dragging":[32]}]]],["ui-grid",[[257,"ui-grid",{"columns":[2],"gap":[1],"minItemWidth":[1,"min-item-width"]}]]],["ui-input",[[257,"ui-input",{"value":[1025],"placeholder":[1],"type":[1],"disabled":[4],"invalid":[4],"name":[1],"clearable":[4]}]]],["ui-label",[[257,"ui-label"]]],["ui-navbar",[[257,"ui-navbar"]]],["ui-pagination",[[1,"ui-pagination",{"total":[2],"current":[1538],"siblings":[2]}]]],["ui-popover",[[257,"ui-popover",{"open":[1540],"placement":[1],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-progress",[[1,"ui-progress",{"value":[2],"max":[2],"indeterminate":[4]}]]],["ui-progress-circular",[[1,"ui-progress-circular",{"value":[2],"max":[2],"size":[1],"strokeWidth":[2,"stroke-width"],"indeterminate":[4],"showValue":[4,"show-value"]}]]],["ui-radio-group",[[1,"ui-radio-group",{"value":[1025],"name":[1],"options":[16],"disabled":[4]}]]],["ui-rating",[[1,"ui-rating",{"value":[1026],"max":[2],"readonly":[4],"hoverValue":[32]}]]],["ui-reveal",[[257,"ui-reveal",{"delay":[2],"visible":[32]}]]],["ui-scroll-progress",[[1,"ui-scroll-progress",{"progress":[32]}]]],["ui-section",[[257,"ui-section",{"eyebrow":[1],"heading":[1],"description":[1]}]]],["ui-segmented",[[1,"ui-segmented",{"items":[16],"value":[1537]}]]],["ui-select",[[1,"ui-select",{"value":[1025],"disabled":[4],"name":[1],"options":[16],"placeholder":[1]}]]],["ui-separator",[[1,"ui-separator",{"orientation":[513]}]]],["ui-skeleton",[[1,"ui-skeleton"]]],["ui-slider",[[1,"ui-slider",{"value":[1026],"min":[2],"max":[2],"step":[2],"disabled":[4]}]]],["ui-stack",[[257,"ui-stack",{"direction":[1],"gap":[1],"align":[1],"justify":[1],"wrap":[4]}]]],["ui-stat",[[257,"ui-stat",{"label":[1],"value":[1],"delta":[1],"trend":[1]}]]],["ui-switch",[[1,"ui-switch",{"checked":[1540],"disabled":[4]}]]],["ui-table",[[1,"ui-table",{"columns":[16],"rows":[16],"striped":[4],"hoverable":[4]}]]],["ui-tabs",[[257,"ui-tabs",{"value":[1537],"items":[16]}]]],["ui-textarea",[[1,"ui-textarea",{"value":[1025],"placeholder":[1],"disabled":[4],"invalid":[4],"name":[1],"rows":[2]}]]],["ui-theme-toggle",[[1,"ui-theme-toggle",{"isDark":[32]}]]],["ui-tooltip",[[257,"ui-tooltip",{"content":[1],"placement":[1],"openDelay":[2,"open-delay"],"visible":[32]}]]],["ui-spinner",[[1,"ui-spinner",{"size":[1]}]]],["ui-toast",[[1,"ui-toast",{"open":[1540],"variant":[1],"heading":[1],"description":[1],"duration":[2],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]]], options);
20
20
  });
@@ -0,0 +1,17 @@
1
+ import { EventEmitter } from "../../stencil-public-runtime";
2
+ export type UiAlertVariant = "info" | "success" | "warning" | "danger";
3
+ export declare class UiAlert {
4
+ /** Variante visual. */
5
+ variant: UiAlertVariant;
6
+ /** Título do alerta. */
7
+ heading?: string;
8
+ /** Exibe o botão de fechar. */
9
+ dismissible: boolean;
10
+ /** Controla a visibilidade interna do alerta. */
11
+ open: boolean;
12
+ /** Emitido quando o alerta é fechado. */
13
+ uiClose: EventEmitter<void>;
14
+ private dismiss;
15
+ private renderIcon;
16
+ render(): any;
17
+ }
@@ -5,5 +5,7 @@ export declare class UiAvatar {
5
5
  alt: string;
6
6
  /** Texto exibido quando não há imagem (ex.: iniciais). */
7
7
  fallback?: string;
8
+ /** Indicador de status. */
9
+ status?: "online" | "offline" | "busy" | "away";
8
10
  render(): any;
9
11
  }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Agrupa avatares sobrepostos. Use com elementos `<ui-avatar>` no slot default.
3
+ */
4
+ export declare class UiAvatarGroup {
5
+ render(): any;
6
+ }
@@ -1,6 +1,13 @@
1
+ import { EventEmitter } from "../../stencil-public-runtime";
1
2
  export type UiBadgeVariant = "default" | "solid" | "outline" | "success" | "warning" | "danger" | "info";
2
3
  export declare class UiBadge {
3
4
  /** Variante visual. */
4
5
  variant: UiBadgeVariant;
6
+ /** Exibe um ponto colorido à esquerda. */
7
+ dot: boolean;
8
+ /** Exibe um botão para remover o badge. */
9
+ removable: boolean;
10
+ /** Emitido ao clicar no botão de remover. */
11
+ uiRemove: EventEmitter<void>;
5
12
  render(): any;
6
13
  }
@@ -0,0 +1,3 @@
1
+ export declare class UiBreadcrumb {
2
+ render(): any;
3
+ }
@@ -0,0 +1,8 @@
1
+ export declare class UiBreadcrumbItem {
2
+ /** Destino do link. */
3
+ href?: string;
4
+ /** Indica o item atual (página corrente). */
5
+ current: boolean;
6
+ private renderSeparator;
7
+ render(): any;
8
+ }
@@ -11,5 +11,7 @@ export declare class UiButton {
11
11
  loading: boolean;
12
12
  /** Tipo do botão nativo. */
13
13
  type: "button" | "submit" | "reset";
14
+ /** Ocupa 100% da largura disponível. */
15
+ full: boolean;
14
16
  render(): any;
15
17
  }
@@ -0,0 +1,38 @@
1
+ import { EventEmitter } from "../../stencil-public-runtime";
2
+ export interface UiComboboxOption {
3
+ label: string;
4
+ value: string;
5
+ }
6
+ export declare class UiCombobox {
7
+ host: HTMLElement;
8
+ /** Opções disponíveis para autocomplete. */
9
+ options: UiComboboxOption[];
10
+ /** Valor selecionado. */
11
+ value: string;
12
+ /** Placeholder do campo. */
13
+ placeholder: string;
14
+ /** Texto digitado no campo. */
15
+ query: string;
16
+ /** Indica se a lista flutuante está aberta. */
17
+ open: boolean;
18
+ /** Índice da opção destacada. */
19
+ activeIndex: number;
20
+ /** Emitido ao selecionar uma opção. */
21
+ uiChange: EventEmitter<string>;
22
+ private inputEl?;
23
+ private listEl?;
24
+ private cleanup?;
25
+ private listId;
26
+ componentWillLoad(): void;
27
+ disconnectedCallback(): void;
28
+ private get filtered();
29
+ private setOpen;
30
+ private start;
31
+ private stop;
32
+ private select;
33
+ private onInput;
34
+ private onFocus;
35
+ private onKeydown;
36
+ private onDocumentClick;
37
+ render(): any;
38
+ }
@@ -0,0 +1,8 @@
1
+ export type UiContainerSize = "sm" | "md" | "lg" | "xl" | "full";
2
+ export declare class UiContainer {
3
+ /** Largura máxima do container. */
4
+ size: UiContainerSize;
5
+ /** Aplica padding lateral responsivo. */
6
+ padded: boolean;
7
+ render(): any;
8
+ }