@andespindola/ui-core 0.2.0 → 0.4.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 (331) hide show
  1. package/dist/cjs/{floating-ui.dom-BPemvNRD.js → floating-ui.dom-BZk7Blsu.js} +93 -0
  2. package/dist/cjs/{index-Cb1tfi_9.js → index-DV8CICae.js} +1 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/ui-accordion-item.cjs.entry.js +2 -2
  5. package/dist/cjs/ui-accordion.cjs.entry.js +2 -2
  6. package/dist/cjs/ui-alert.cjs.entry.js +1 -1
  7. package/dist/cjs/ui-avatar-group.cjs.entry.js +2 -2
  8. package/dist/cjs/ui-avatar.cjs.entry.js +2 -2
  9. package/dist/cjs/ui-badge.cjs.entry.js +1 -1
  10. package/dist/cjs/ui-breadcrumb-item.cjs.entry.js +2 -2
  11. package/dist/cjs/ui-breadcrumb.cjs.entry.js +2 -2
  12. package/dist/cjs/ui-button.cjs.entry.js +2 -2
  13. package/dist/cjs/ui-card.cjs.entry.js +2 -2
  14. package/dist/cjs/ui-carousel.cjs.entry.js +104 -0
  15. package/dist/cjs/ui-checkbox.cjs.entry.js +2 -2
  16. package/dist/cjs/ui-combobox.cjs.entry.js +153 -0
  17. package/dist/cjs/ui-command.cjs.entry.js +137 -0
  18. package/dist/cjs/ui-container.cjs.entry.js +2 -2
  19. package/dist/cjs/ui-date-picker.cjs.entry.js +171 -0
  20. package/dist/cjs/ui-dialog.cjs.entry.js +2 -2
  21. package/dist/cjs/ui-drawer.cjs.entry.js +2 -2
  22. package/dist/cjs/ui-dropdown-item.cjs.entry.js +2 -2
  23. package/dist/cjs/ui-dropdown-menu.cjs.entry.js +3 -3
  24. package/dist/cjs/ui-field.cjs.entry.js +2 -2
  25. package/dist/cjs/ui-file-upload.cjs.entry.js +57 -0
  26. package/dist/cjs/ui-grid.cjs.entry.js +2 -2
  27. package/dist/cjs/ui-input.cjs.entry.js +2 -2
  28. package/dist/cjs/ui-label.cjs.entry.js +2 -2
  29. package/dist/cjs/ui-loading-overlay.cjs.entry.js +1 -1
  30. package/dist/cjs/ui-navbar.cjs.entry.js +17 -0
  31. package/dist/cjs/ui-pagination.cjs.entry.js +3 -3
  32. package/dist/cjs/ui-popover.cjs.entry.js +3 -3
  33. package/dist/cjs/ui-progress-circular.cjs.entry.js +44 -0
  34. package/dist/cjs/ui-progress.cjs.entry.js +2 -2
  35. package/dist/cjs/ui-radio-group.cjs.entry.js +2 -2
  36. package/dist/cjs/ui-rating.cjs.entry.js +45 -0
  37. package/dist/cjs/ui-reveal.cjs.entry.js +2 -2
  38. package/dist/cjs/ui-scroll-progress.cjs.entry.js +2 -2
  39. package/dist/cjs/ui-section.cjs.entry.js +2 -2
  40. package/dist/cjs/ui-segmented.cjs.entry.js +2 -2
  41. package/dist/cjs/ui-select.cjs.entry.js +2 -2
  42. package/dist/cjs/ui-separator.cjs.entry.js +2 -2
  43. package/dist/cjs/ui-skeleton.cjs.entry.js +2 -2
  44. package/dist/cjs/ui-slider.cjs.entry.js +2 -2
  45. package/dist/cjs/ui-spinner.cjs.entry.js +2 -2
  46. package/dist/cjs/ui-stack.cjs.entry.js +2 -2
  47. package/dist/cjs/ui-stat.cjs.entry.js +2 -2
  48. package/dist/cjs/ui-switch.cjs.entry.js +2 -2
  49. package/dist/cjs/ui-table.cjs.entry.js +25 -0
  50. package/dist/cjs/ui-tabs.cjs.entry.js +3 -3
  51. package/dist/cjs/ui-textarea.cjs.entry.js +2 -2
  52. package/dist/cjs/ui-theme-toggle.cjs.entry.js +2 -2
  53. package/dist/cjs/ui-timeline-item.cjs.entry.js +19 -0
  54. package/dist/cjs/ui-timeline.cjs.entry.js +17 -0
  55. package/dist/cjs/ui-toast.cjs.entry.js +2 -2
  56. package/dist/cjs/ui-toaster.cjs.entry.js +2 -2
  57. package/dist/cjs/ui-tooltip.cjs.entry.js +3 -3
  58. package/dist/cjs/uikit.cjs.js +2 -2
  59. package/dist/collection/collection-manifest.json +11 -0
  60. package/dist/collection/components/ui-accordion/ui-accordion.js +1 -1
  61. package/dist/collection/components/ui-accordion-item/ui-accordion-item.js +1 -1
  62. package/dist/collection/components/ui-avatar/ui-avatar.js +1 -1
  63. package/dist/collection/components/ui-avatar-group/ui-avatar-group.js +1 -1
  64. package/dist/collection/components/ui-breadcrumb/ui-breadcrumb.js +1 -1
  65. package/dist/collection/components/ui-breadcrumb-item/ui-breadcrumb-item.js +1 -1
  66. package/dist/collection/components/ui-button/ui-button.css +2 -0
  67. package/dist/collection/components/ui-card/ui-card.js +1 -1
  68. package/dist/collection/components/ui-carousel/ui-carousel.css +103 -0
  69. package/dist/collection/components/ui-carousel/ui-carousel.js +273 -0
  70. package/dist/collection/components/ui-checkbox/ui-checkbox.js +1 -1
  71. package/dist/collection/components/ui-combobox/ui-combobox.css +93 -0
  72. package/dist/collection/components/ui-combobox/ui-combobox.js +248 -0
  73. package/dist/collection/components/ui-command/ui-command.css +85 -0
  74. package/dist/collection/components/ui-command/ui-command.js +290 -0
  75. package/dist/collection/components/ui-container/ui-container.js +1 -1
  76. package/dist/collection/components/ui-date-picker/ui-date-picker.css +176 -0
  77. package/dist/collection/components/ui-date-picker/ui-date-picker.js +243 -0
  78. package/dist/collection/components/ui-dialog/ui-dialog.js +1 -1
  79. package/dist/collection/components/ui-drawer/ui-drawer.js +1 -1
  80. package/dist/collection/components/ui-dropdown-item/ui-dropdown-item.js +1 -1
  81. package/dist/collection/components/ui-dropdown-menu/ui-dropdown-menu.js +1 -1
  82. package/dist/collection/components/ui-field/ui-field.js +1 -1
  83. package/dist/collection/components/ui-file-upload/ui-file-upload.css +79 -0
  84. package/dist/collection/components/ui-file-upload/ui-file-upload.js +151 -0
  85. package/dist/collection/components/ui-grid/ui-grid.js +1 -1
  86. package/dist/collection/components/ui-input/ui-input.js +1 -1
  87. package/dist/collection/components/ui-label/ui-label.js +1 -1
  88. package/dist/collection/components/ui-navbar/ui-navbar.css +36 -0
  89. package/dist/collection/components/ui-navbar/ui-navbar.js +18 -0
  90. package/dist/collection/components/ui-pagination/ui-pagination.js +2 -2
  91. package/dist/collection/components/ui-popover/ui-popover.js +1 -1
  92. package/dist/collection/components/ui-progress/ui-progress.js +1 -1
  93. package/dist/collection/components/ui-progress-circular/ui-progress-circular.css +46 -0
  94. package/dist/collection/components/ui-progress-circular/ui-progress-circular.js +171 -0
  95. package/dist/collection/components/ui-radio-group/ui-radio-group.js +1 -1
  96. package/dist/collection/components/ui-rating/ui-rating.css +52 -0
  97. package/dist/collection/components/ui-rating/ui-rating.js +134 -0
  98. package/dist/collection/components/ui-reveal/ui-reveal.js +1 -1
  99. package/dist/collection/components/ui-scroll-progress/ui-scroll-progress.js +1 -1
  100. package/dist/collection/components/ui-section/ui-section.js +1 -1
  101. package/dist/collection/components/ui-segmented/ui-segmented.js +1 -1
  102. package/dist/collection/components/ui-select/ui-select.js +1 -1
  103. package/dist/collection/components/ui-separator/ui-separator.js +1 -1
  104. package/dist/collection/components/ui-skeleton/ui-skeleton.js +1 -1
  105. package/dist/collection/components/ui-slider/ui-slider.js +1 -1
  106. package/dist/collection/components/ui-spinner/ui-spinner.js +1 -1
  107. package/dist/collection/components/ui-stack/ui-stack.js +1 -1
  108. package/dist/collection/components/ui-stat/ui-stat.js +1 -1
  109. package/dist/collection/components/ui-switch/ui-switch.js +1 -1
  110. package/dist/collection/components/ui-table/ui-table.css +46 -0
  111. package/dist/collection/components/ui-table/ui-table.js +119 -0
  112. package/dist/collection/components/ui-tabs/ui-tabs.js +2 -2
  113. package/dist/collection/components/ui-textarea/ui-textarea.js +1 -1
  114. package/dist/collection/components/ui-theme-toggle/ui-theme-toggle.js +1 -1
  115. package/dist/collection/components/ui-timeline/ui-timeline.css +8 -0
  116. package/dist/collection/components/ui-timeline/ui-timeline.js +18 -0
  117. package/dist/collection/components/ui-timeline-item/ui-timeline-item.css +83 -0
  118. package/dist/collection/components/ui-timeline-item/ui-timeline-item.js +90 -0
  119. package/dist/collection/components/ui-toast/ui-toast.js +1 -1
  120. package/dist/collection/components/ui-toaster/ui-toaster.js +1 -1
  121. package/dist/collection/components/ui-tooltip/ui-tooltip.js +1 -1
  122. package/dist/components/index.js +1 -1
  123. package/dist/components/{p-CgsjJD8o.js → p-DAnXvxY_.js} +1 -1
  124. package/dist/components/{p-CyBRmmbs.js → p-DDtwbwIl.js} +1 -1
  125. package/dist/components/{p-BwNtNvTb.js → p-yTNEyxh1.js} +1 -1
  126. package/dist/components/ui-accordion-item.js +1 -1
  127. package/dist/components/ui-accordion.js +1 -1
  128. package/dist/components/ui-avatar-group.js +1 -1
  129. package/dist/components/ui-avatar.js +1 -1
  130. package/dist/components/ui-breadcrumb-item.js +1 -1
  131. package/dist/components/ui-breadcrumb.js +1 -1
  132. package/dist/components/ui-button.js +1 -1
  133. package/dist/components/ui-card.js +1 -1
  134. package/dist/components/ui-carousel.d.ts +11 -0
  135. package/dist/components/ui-carousel.js +1 -0
  136. package/dist/components/ui-checkbox.js +1 -1
  137. package/dist/components/ui-combobox.d.ts +11 -0
  138. package/dist/components/ui-combobox.js +1 -0
  139. package/dist/components/ui-command.d.ts +11 -0
  140. package/dist/components/ui-command.js +1 -0
  141. package/dist/components/ui-container.js +1 -1
  142. package/dist/components/ui-date-picker.d.ts +11 -0
  143. package/dist/components/ui-date-picker.js +1 -0
  144. package/dist/components/ui-dialog.js +1 -1
  145. package/dist/components/ui-drawer.js +1 -1
  146. package/dist/components/ui-dropdown-item.js +1 -1
  147. package/dist/components/ui-dropdown-menu.js +1 -1
  148. package/dist/components/ui-field.js +1 -1
  149. package/dist/components/ui-file-upload.d.ts +11 -0
  150. package/dist/components/ui-file-upload.js +1 -0
  151. package/dist/components/ui-grid.js +1 -1
  152. package/dist/components/ui-input.js +1 -1
  153. package/dist/components/ui-label.js +1 -1
  154. package/dist/components/ui-loading-overlay.js +1 -1
  155. package/dist/components/ui-navbar.d.ts +11 -0
  156. package/dist/components/ui-navbar.js +1 -0
  157. package/dist/components/ui-pagination.js +1 -1
  158. package/dist/components/ui-popover.js +1 -1
  159. package/dist/components/ui-progress-circular.d.ts +11 -0
  160. package/dist/components/ui-progress-circular.js +1 -0
  161. package/dist/components/ui-progress.js +1 -1
  162. package/dist/components/ui-radio-group.js +1 -1
  163. package/dist/components/ui-rating.d.ts +11 -0
  164. package/dist/components/ui-rating.js +1 -0
  165. package/dist/components/ui-reveal.js +1 -1
  166. package/dist/components/ui-scroll-progress.js +1 -1
  167. package/dist/components/ui-section.js +1 -1
  168. package/dist/components/ui-segmented.js +1 -1
  169. package/dist/components/ui-select.js +1 -1
  170. package/dist/components/ui-separator.js +1 -1
  171. package/dist/components/ui-skeleton.js +1 -1
  172. package/dist/components/ui-slider.js +1 -1
  173. package/dist/components/ui-spinner.js +1 -1
  174. package/dist/components/ui-stack.js +1 -1
  175. package/dist/components/ui-stat.js +1 -1
  176. package/dist/components/ui-switch.js +1 -1
  177. package/dist/components/ui-table.d.ts +11 -0
  178. package/dist/components/ui-table.js +1 -0
  179. package/dist/components/ui-tabs.js +1 -1
  180. package/dist/components/ui-textarea.js +1 -1
  181. package/dist/components/ui-theme-toggle.js +1 -1
  182. package/dist/components/ui-timeline-item.d.ts +11 -0
  183. package/dist/components/ui-timeline-item.js +1 -0
  184. package/dist/components/ui-timeline.d.ts +11 -0
  185. package/dist/components/ui-timeline.js +1 -0
  186. package/dist/components/ui-toast.js +1 -1
  187. package/dist/components/ui-toaster.js +1 -1
  188. package/dist/components/ui-tooltip.js +1 -1
  189. package/dist/esm/{floating-ui.dom-CyBRmmbs.js → floating-ui.dom-DDtwbwIl.js} +93 -1
  190. package/dist/esm/{index-DYwlrXg_.js → index-COlwaVJP.js} +1 -1
  191. package/dist/esm/loader.js +3 -3
  192. package/dist/esm/ui-accordion-item.entry.js +2 -2
  193. package/dist/esm/ui-accordion.entry.js +2 -2
  194. package/dist/esm/ui-alert.entry.js +1 -1
  195. package/dist/esm/ui-avatar-group.entry.js +2 -2
  196. package/dist/esm/ui-avatar.entry.js +2 -2
  197. package/dist/esm/ui-badge.entry.js +1 -1
  198. package/dist/esm/ui-breadcrumb-item.entry.js +2 -2
  199. package/dist/esm/ui-breadcrumb.entry.js +2 -2
  200. package/dist/esm/ui-button.entry.js +2 -2
  201. package/dist/esm/ui-card.entry.js +2 -2
  202. package/dist/esm/ui-carousel.entry.js +102 -0
  203. package/dist/esm/ui-checkbox.entry.js +2 -2
  204. package/dist/esm/ui-combobox.entry.js +151 -0
  205. package/dist/esm/ui-command.entry.js +135 -0
  206. package/dist/esm/ui-container.entry.js +2 -2
  207. package/dist/esm/ui-date-picker.entry.js +169 -0
  208. package/dist/esm/ui-dialog.entry.js +2 -2
  209. package/dist/esm/ui-drawer.entry.js +2 -2
  210. package/dist/esm/ui-dropdown-item.entry.js +2 -2
  211. package/dist/esm/ui-dropdown-menu.entry.js +3 -3
  212. package/dist/esm/ui-field.entry.js +2 -2
  213. package/dist/esm/ui-file-upload.entry.js +55 -0
  214. package/dist/esm/ui-grid.entry.js +2 -2
  215. package/dist/esm/ui-input.entry.js +2 -2
  216. package/dist/esm/ui-label.entry.js +2 -2
  217. package/dist/esm/ui-loading-overlay.entry.js +1 -1
  218. package/dist/esm/ui-navbar.entry.js +15 -0
  219. package/dist/esm/ui-pagination.entry.js +3 -3
  220. package/dist/esm/ui-popover.entry.js +3 -3
  221. package/dist/esm/ui-progress-circular.entry.js +42 -0
  222. package/dist/esm/ui-progress.entry.js +2 -2
  223. package/dist/esm/ui-radio-group.entry.js +2 -2
  224. package/dist/esm/ui-rating.entry.js +43 -0
  225. package/dist/esm/ui-reveal.entry.js +2 -2
  226. package/dist/esm/ui-scroll-progress.entry.js +2 -2
  227. package/dist/esm/ui-section.entry.js +2 -2
  228. package/dist/esm/ui-segmented.entry.js +2 -2
  229. package/dist/esm/ui-select.entry.js +2 -2
  230. package/dist/esm/ui-separator.entry.js +2 -2
  231. package/dist/esm/ui-skeleton.entry.js +2 -2
  232. package/dist/esm/ui-slider.entry.js +2 -2
  233. package/dist/esm/ui-spinner.entry.js +2 -2
  234. package/dist/esm/ui-stack.entry.js +2 -2
  235. package/dist/esm/ui-stat.entry.js +2 -2
  236. package/dist/esm/ui-switch.entry.js +2 -2
  237. package/dist/esm/ui-table.entry.js +23 -0
  238. package/dist/esm/ui-tabs.entry.js +3 -3
  239. package/dist/esm/ui-textarea.entry.js +2 -2
  240. package/dist/esm/ui-theme-toggle.entry.js +2 -2
  241. package/dist/esm/ui-timeline-item.entry.js +17 -0
  242. package/dist/esm/ui-timeline.entry.js +15 -0
  243. package/dist/esm/ui-toast.entry.js +2 -2
  244. package/dist/esm/ui-toaster.entry.js +2 -2
  245. package/dist/esm/ui-tooltip.entry.js +3 -3
  246. package/dist/esm/uikit.js +3 -3
  247. package/dist/types/components/ui-carousel/ui-carousel.d.ts +35 -0
  248. package/dist/types/components/ui-combobox/ui-combobox.d.ts +38 -0
  249. package/dist/types/components/ui-command/ui-command.d.ts +42 -0
  250. package/dist/types/components/ui-date-picker/ui-date-picker.d.ts +42 -0
  251. package/dist/types/components/ui-file-upload/ui-file-upload.d.ts +24 -0
  252. package/dist/types/components/ui-navbar/ui-navbar.d.ts +3 -0
  253. package/dist/types/components/ui-progress-circular/ui-progress-circular.d.ts +17 -0
  254. package/dist/types/components/ui-rating/ui-rating.d.ts +17 -0
  255. package/dist/types/components/ui-table/ui-table.d.ts +16 -0
  256. package/dist/types/components/ui-timeline/ui-timeline.d.ts +3 -0
  257. package/dist/types/components/ui-timeline-item/ui-timeline-item.d.ts +10 -0
  258. package/dist/types/components.d.ts +645 -0
  259. package/dist/types/index.d.ts +1 -0
  260. package/dist/uikit/{p-635862e6.entry.js → p-02583f33.entry.js} +1 -1
  261. package/dist/uikit/p-0b8fb2cc.entry.js +1 -0
  262. package/dist/uikit/{p-595e146f.entry.js → p-12777ebf.entry.js} +1 -1
  263. package/dist/uikit/p-186d394f.entry.js +1 -0
  264. package/dist/uikit/{p-fd05c146.entry.js → p-247f7a40.entry.js} +1 -1
  265. package/dist/uikit/{p-67963692.entry.js → p-24c9885b.entry.js} +1 -1
  266. package/dist/uikit/p-26c4b4f9.entry.js +1 -0
  267. package/dist/uikit/p-2716a9e4.entry.js +1 -0
  268. package/dist/uikit/{p-25637424.entry.js → p-27c609c2.entry.js} +1 -1
  269. package/dist/uikit/{p-5951a496.entry.js → p-2a4de93f.entry.js} +1 -1
  270. package/dist/uikit/{p-2601d8b6.entry.js → p-2ce36223.entry.js} +1 -1
  271. package/dist/uikit/p-30834f9e.entry.js +1 -0
  272. package/dist/uikit/{p-db07f9c5.entry.js → p-333a3598.entry.js} +1 -1
  273. package/dist/uikit/{p-86ed6154.entry.js → p-33a19160.entry.js} +1 -1
  274. package/dist/uikit/{p-a977a0db.entry.js → p-400536f7.entry.js} +1 -1
  275. package/dist/uikit/{p-81b45a43.entry.js → p-411a753f.entry.js} +1 -1
  276. package/dist/uikit/p-41355be1.entry.js +1 -0
  277. package/dist/uikit/p-4281fc69.entry.js +1 -0
  278. package/dist/uikit/p-4c2fb226.entry.js +1 -0
  279. package/dist/uikit/{p-45e80e73.entry.js → p-5562b70d.entry.js} +1 -1
  280. package/dist/uikit/{p-fd832f52.entry.js → p-56b1bf3f.entry.js} +1 -1
  281. package/dist/uikit/p-57adf02c.entry.js +1 -0
  282. package/dist/uikit/{p-cd0ec835.entry.js → p-58035d5a.entry.js} +1 -1
  283. package/dist/uikit/{p-567f7496.entry.js → p-5ff44eca.entry.js} +1 -1
  284. package/dist/uikit/{p-3996590f.entry.js → p-66037a7c.entry.js} +1 -1
  285. package/dist/uikit/p-6d58ff8d.entry.js +1 -0
  286. package/dist/uikit/p-7a04fd11.entry.js +1 -0
  287. package/dist/uikit/p-7aeed213.entry.js +1 -0
  288. package/dist/uikit/p-80236139.entry.js +1 -0
  289. package/dist/uikit/{p-a92a7b19.entry.js → p-81a37bda.entry.js} +1 -1
  290. package/dist/uikit/{p-2de05aac.entry.js → p-849347da.entry.js} +1 -1
  291. package/dist/uikit/p-866a0947.entry.js +1 -0
  292. package/dist/uikit/{p-74b60a60.entry.js → p-86bf22c1.entry.js} +1 -1
  293. package/dist/uikit/p-98234aed.entry.js +1 -0
  294. package/dist/uikit/p-COlwaVJP.js +2 -0
  295. package/dist/uikit/{p-CyBRmmbs.js → p-DDtwbwIl.js} +1 -1
  296. package/dist/uikit/{p-95cd976e.entry.js → p-a312d278.entry.js} +1 -1
  297. package/dist/uikit/{p-12db6a6e.entry.js → p-a4b535ad.entry.js} +1 -1
  298. package/dist/uikit/{p-94ad46a5.entry.js → p-a8f81996.entry.js} +1 -1
  299. package/dist/uikit/{p-1d016ea4.entry.js → p-aa0ce28c.entry.js} +1 -1
  300. package/dist/uikit/{p-979f6178.entry.js → p-aa41b084.entry.js} +1 -1
  301. package/dist/uikit/p-acce5342.entry.js +1 -0
  302. package/dist/uikit/p-b232849a.entry.js +1 -0
  303. package/dist/uikit/{p-dca9f6f9.entry.js → p-bd287e67.entry.js} +1 -1
  304. package/dist/uikit/p-bf66ce1b.entry.js +1 -0
  305. package/dist/uikit/{p-6c0e9809.entry.js → p-c0b3f5a3.entry.js} +1 -1
  306. package/dist/uikit/{p-09895cd0.entry.js → p-c29317aa.entry.js} +1 -1
  307. package/dist/uikit/{p-faa98928.entry.js → p-d73e789a.entry.js} +1 -1
  308. package/dist/uikit/p-dc00c84b.entry.js +1 -0
  309. package/dist/uikit/{p-3fc062a6.entry.js → p-de2bb69c.entry.js} +1 -1
  310. package/dist/uikit/{p-7f2c2924.entry.js → p-e2e35a6b.entry.js} +1 -1
  311. package/dist/uikit/{p-a01305a5.entry.js → p-e32fa613.entry.js} +1 -1
  312. package/dist/uikit/p-e61e7ef1.entry.js +1 -0
  313. package/dist/uikit/p-e891fec3.entry.js +1 -0
  314. package/dist/uikit/p-ef6ec7f7.entry.js +1 -0
  315. package/dist/uikit/p-faa31e8c.entry.js +1 -0
  316. package/dist/uikit/uikit.css +1 -1
  317. package/dist/uikit/uikit.esm.js +1 -1
  318. package/package.json +1 -1
  319. package/dist/uikit/p-0cba0d11.entry.js +0 -1
  320. package/dist/uikit/p-55a23f91.entry.js +0 -1
  321. package/dist/uikit/p-7a3d85da.entry.js +0 -1
  322. package/dist/uikit/p-97d4dbf4.entry.js +0 -1
  323. package/dist/uikit/p-9a4dc343.entry.js +0 -1
  324. package/dist/uikit/p-9a9590b9.entry.js +0 -1
  325. package/dist/uikit/p-DYwlrXg_.js +0 -2
  326. package/dist/uikit/p-a080f46a.entry.js +0 -1
  327. package/dist/uikit/p-b2df8437.entry.js +0 -1
  328. package/dist/uikit/p-c73c1009.entry.js +0 -1
  329. package/dist/uikit/p-d20452b4.entry.js +0 -1
  330. package/dist/uikit/p-d7021157.entry.js +0 -1
  331. package/dist/uikit/p-ddd70374.entry.js +0 -1
@@ -0,0 +1,137 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-DV8CICae.js');
4
+
5
+ const uiCommandCss = () => `.command{padding:0;border:none;background:transparent;max-width:none;max-height:none;color:var(--ui-foreground)}.command::backdrop{background:var(--ui-overlay);backdrop-filter:blur(4px)}.panel{margin:12vh auto 0;width:min(40rem, 92vw);border:1px solid var(--ui-border);background:var(--ui-panel-strong);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px) saturate(140%);border-radius:var(--ui-radius-xl);overflow:hidden;font-family:var(--ui-font-sans)}.search{width:100%;box-sizing:border-box;border:none;border-bottom:1px solid var(--ui-border);background:transparent;color:var(--ui-foreground);font-family:var(--ui-font-sans);font-size:1rem;padding:1rem;outline:none}.search::placeholder{color:var(--ui-text-faint)}.list{max-height:50vh;overflow:auto;padding:0.5rem}.group{text-transform:uppercase;font-size:0.7rem;letter-spacing:0.04em;color:var(--ui-text-faint);padding:0.5rem 0.75rem 0.25rem}.item{display:flex;align-items:center;justify-content:space-between;gap:0.75rem;padding:0.5rem 0.75rem;border-radius:var(--ui-radius-sm);cursor:pointer}.item.active{background:var(--ui-chip)}.label{color:var(--ui-foreground)}.hint{color:var(--ui-text-faint);font-size:0.8rem}.empty{text-align:center;color:var(--ui-text-faint);padding:1.5rem 1rem}`;
6
+
7
+ const UiCommand = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ this.uiSelect = index.createEvent(this, "uiSelect");
11
+ /** Controla a abertura da paleta de comandos. */
12
+ this.open = false;
13
+ /** Itens disponíveis na paleta. */
14
+ this.items = [];
15
+ /** Placeholder do campo de busca. */
16
+ this.placeholder = "Buscar comando…";
17
+ /** Abre/fecha com Cmd/Ctrl+K quando habilitado. */
18
+ this.hotkey = true;
19
+ /** Texto digitado na busca. */
20
+ this.query = "";
21
+ /** Índice do item destacado na lista filtrada. */
22
+ this.activeIndex = 0;
23
+ this.onHotkey = (event) => {
24
+ if ((event.metaKey || event.ctrlKey) && event.key.toLowerCase() === "k") {
25
+ event.preventDefault();
26
+ this.open = !this.open;
27
+ }
28
+ };
29
+ this.onClose = () => {
30
+ if (this.open)
31
+ this.open = false;
32
+ this.query = "";
33
+ this.activeIndex = 0;
34
+ };
35
+ this.onInput = (event) => {
36
+ this.query = event.target.value;
37
+ this.activeIndex = 0;
38
+ };
39
+ this.onKeydown = (event) => {
40
+ const items = this.filtered;
41
+ switch (event.key) {
42
+ case "ArrowDown":
43
+ event.preventDefault();
44
+ if (items.length === 0)
45
+ return;
46
+ this.activeIndex = (this.activeIndex + 1) % items.length;
47
+ break;
48
+ case "ArrowUp":
49
+ event.preventDefault();
50
+ if (items.length === 0)
51
+ return;
52
+ this.activeIndex =
53
+ (this.activeIndex - 1 + items.length) % items.length;
54
+ break;
55
+ case "Enter":
56
+ if (items[this.activeIndex]) {
57
+ event.preventDefault();
58
+ this.select(items[this.activeIndex]);
59
+ }
60
+ break;
61
+ }
62
+ };
63
+ }
64
+ onOpenChange(value) {
65
+ this.sync(value);
66
+ if (value) {
67
+ requestAnimationFrame(() => this.inputEl?.focus());
68
+ }
69
+ }
70
+ componentDidLoad() {
71
+ this.sync(this.open);
72
+ }
73
+ connectedCallback() {
74
+ if (this.hotkey && typeof document !== "undefined") {
75
+ document.addEventListener("keydown", this.onHotkey);
76
+ }
77
+ }
78
+ disconnectedCallback() {
79
+ if (typeof document !== "undefined") {
80
+ document.removeEventListener("keydown", this.onHotkey);
81
+ }
82
+ }
83
+ sync(value) {
84
+ if (!this.dialogEl)
85
+ return;
86
+ if (value && !this.dialogEl.open)
87
+ this.dialogEl.showModal();
88
+ else if (!value && this.dialogEl.open)
89
+ this.dialogEl.close();
90
+ }
91
+ /** Abre a paleta imperativamente. */
92
+ async show() {
93
+ this.open = true;
94
+ }
95
+ /** Fecha a paleta imperativamente. */
96
+ async close() {
97
+ this.open = false;
98
+ }
99
+ get filtered() {
100
+ const term = this.query.toLowerCase();
101
+ return this.items.filter((item) => item.label.toLowerCase().includes(term));
102
+ }
103
+ select(item) {
104
+ this.uiSelect.emit(item.value);
105
+ this.open = false;
106
+ this.query = "";
107
+ this.activeIndex = 0;
108
+ }
109
+ render() {
110
+ const items = this.filtered;
111
+ let flatIndex = -1;
112
+ const seenGroups = new Set();
113
+ return (index.h(index.Host, { key: '2c99a55d42f0fa90a2b2ec4cae3d0952429fe861' }, index.h("dialog", { key: '514c6b029111f2fbba14ce430f515c3528b6666f', class: "command", ref: (el) => (this.dialogEl = el), onClose: this.onClose, onCancel: this.onClose }, index.h("div", { key: '430a2fd81e35ff4f2478a45d1398df7a575ce92d', class: "panel" }, index.h("input", { key: '2eb475315a08d49f5716fd3aac87e1ce9d3d937b', class: "search", type: "text", role: "combobox", "aria-expanded": "true", "aria-autocomplete": "list", autocomplete: "off", value: this.query, placeholder: this.placeholder, ref: (el) => (this.inputEl = el), onInput: this.onInput, onKeyDown: this.onKeydown }), index.h("div", { key: '031e45085143e13aa360b0f2641a1fc80c4f75ab', class: "list", role: "listbox" }, items.length === 0 ? (index.h("div", { class: "empty" }, "Nenhum comando")) : (items.map((item) => {
114
+ flatIndex += 1;
115
+ const index$1 = flatIndex;
116
+ const showGroup = item.group !== undefined && !seenGroups.has(item.group);
117
+ if (item.group !== undefined)
118
+ seenGroups.add(item.group);
119
+ return [
120
+ showGroup ? (index.h("div", { class: "group" }, item.group)) : null,
121
+ index.h("div", { class: { item: true, active: index$1 === this.activeIndex }, role: "option", "aria-selected": index$1 === this.activeIndex ? "true" : "false", onMouseEnter: () => (this.activeIndex = index$1), onMouseDown: (event) => {
122
+ event.preventDefault();
123
+ this.select(item);
124
+ } }, index.h("span", { class: "label" }, item.label), item.hint ? (index.h("span", { class: "hint" }, item.hint)) : null),
125
+ ];
126
+ })))))));
127
+ }
128
+ get host() { return index.getElement(this); }
129
+ static get watchers() { return {
130
+ "open": [{
131
+ "onOpenChange": 0
132
+ }]
133
+ }; }
134
+ };
135
+ UiCommand.style = uiCommandCss();
136
+
137
+ exports.ui_command = UiCommand;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Cb1tfi_9.js');
3
+ var index = require('./index-DV8CICae.js');
4
4
 
5
5
  const uiContainerCss = () => `:host{display:block;width:100%}.container{margin-inline:auto;width:100%;font-family:var(--ui-font-sans)}.size-sm{max-width:40rem}.size-md{max-width:48rem}.size-lg{max-width:64rem}.size-xl{max-width:80rem}.size-full{max-width:none}.padded{padding-inline:1.25rem}@media (min-width: 640px){.padded{padding-inline:2rem}}`;
6
6
 
@@ -18,7 +18,7 @@ const UiContainer = class {
18
18
  [`size-${this.size}`]: true,
19
19
  padded: this.padded,
20
20
  };
21
- return (index.h(index.Host, { key: '4f00ee39f0ae347fafac349ee8e42c991c8013dd' }, index.h("div", { key: 'a0f8f0c6d418f119c6631d0387f9328af8fbb416', class: classes }, index.h("slot", { key: '86178f8371c958123fcf8b7e6bfe059aeed9f690' }))));
21
+ return (index.h(index.Host, { key: '474a0aeda3c1caad66af3108381f325dbec41566' }, index.h("div", { key: 'df5fdea525ac34873923b65408f971957fb53186', class: classes }, index.h("slot", { key: 'e83ff090d3634368b7425db0d4c94f860934c951' }))));
22
22
  }
23
23
  };
24
24
  UiContainer.style = uiContainerCss();
@@ -0,0 +1,171 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-DV8CICae.js');
4
+ var floatingUi_dom = require('./floating-ui.dom-BZk7Blsu.js');
5
+
6
+ const uiDatePickerCss = () => `:host{display:inline-block;font-family:var(--ui-font-sans)}.field{display:inline-flex;align-items:center;justify-content:space-between;gap:0.5rem;width:100%;min-width:12rem;height:2.75rem;padding:0 0.875rem;border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-panel);color:var(--ui-foreground);font-family:var(--ui-font-sans);font-size:0.875rem;text-align:left;cursor:pointer;backdrop-filter:blur(22px);transition:all var(--ui-duration) var(--ui-ease);box-sizing:border-box}.field:hover{border-color:var(--ui-border-strong)}.field:focus-visible{outline:none;border-color:var(--ui-accent);box-shadow:0 0 0 2px var(--ui-ring)}.label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ui-foreground)}.label.placeholder{color:var(--ui-text-faint)}.icon{flex:none;color:var(--ui-text-muted)}.calendar{position:fixed;top:0;left:0;z-index:50;width:17rem;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)}.calendar.is-open{visibility:visible;opacity:1;transform:scale(1)}.header{display:flex;align-items:center;justify-content:space-between;margin-bottom:0.75rem}.month-label{font-size:0.875rem;font-weight:600;text-transform:capitalize;color:var(--ui-foreground)}.nav{display:inline-flex;align-items:center;justify-content:center;flex:none;width:2rem;height:2rem;padding:0;border:none;border-radius:var(--ui-radius-full);background:transparent;color:var(--ui-text-soft);cursor:pointer;transition:all var(--ui-duration) var(--ui-ease)}.nav:hover{background:var(--ui-chip);color:var(--ui-foreground)}.weekdays{display:grid;grid-template-columns:repeat(7, 1fr);margin-bottom:0.25rem}.weekday{display:flex;align-items:center;justify-content:center;height:1.75rem;font-size:0.7rem;color:var(--ui-text-faint)}.grid{display:grid;grid-template-columns:repeat(7, 1fr);gap:0.125rem;justify-items:center}.day{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;border:1px solid transparent;border-radius:var(--ui-radius-full);background:transparent;color:var(--ui-foreground);font-family:var(--ui-font-sans);font-size:0.8125rem;cursor:pointer;transition:all var(--ui-duration) var(--ui-ease)}.day.empty{cursor:default;pointer-events:none}.day:hover:not(.empty):not(.selected){background:var(--ui-chip)}.day.today{border-color:var(--ui-accent)}.day.selected{background:var(--ui-accent);color:var(--ui-accent-contrast);border-color:transparent}`;
7
+
8
+ const WEEKDAYS = ["D", "S", "T", "Q", "Q", "S", "S"];
9
+ const UiDatePicker = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.uiChange = index.createEvent(this, "uiChange");
13
+ /** Data selecionada no formato ISO "YYYY-MM-DD". */
14
+ this.value = "";
15
+ /** Texto exibido quando nenhuma data está selecionada. */
16
+ this.placeholder = "Selecione a data";
17
+ /** Controla a visibilidade do calendário. */
18
+ this.open = false;
19
+ this.onTriggerClick = (event) => {
20
+ event.stopPropagation();
21
+ this.setOpen(!this.open);
22
+ };
23
+ this.onDocumentClick = (event) => {
24
+ if (!this.open)
25
+ return;
26
+ if (event.composedPath().includes(this.host))
27
+ return;
28
+ this.setOpen(false);
29
+ };
30
+ this.onKeydown = (event) => {
31
+ if (event.key === "Escape" && this.open)
32
+ this.setOpen(false);
33
+ };
34
+ this.prevMonth = (event) => {
35
+ event.stopPropagation();
36
+ if (this.viewMonth === 0) {
37
+ this.viewMonth = 11;
38
+ this.viewYear -= 1;
39
+ }
40
+ else {
41
+ this.viewMonth -= 1;
42
+ }
43
+ };
44
+ this.nextMonth = (event) => {
45
+ event.stopPropagation();
46
+ if (this.viewMonth === 11) {
47
+ this.viewMonth = 0;
48
+ this.viewYear += 1;
49
+ }
50
+ else {
51
+ this.viewMonth += 1;
52
+ }
53
+ };
54
+ }
55
+ componentWillLoad() {
56
+ this.syncViewFromValue();
57
+ }
58
+ onValueChange() {
59
+ this.syncViewFromValue();
60
+ }
61
+ disconnectedCallback() {
62
+ this.stop();
63
+ document.removeEventListener("click", this.onDocumentClick);
64
+ document.removeEventListener("keydown", this.onKeydown);
65
+ }
66
+ syncViewFromValue() {
67
+ const parsed = this.parseValue(this.value);
68
+ const base = parsed ?? new Date();
69
+ this.viewYear = base.getFullYear();
70
+ this.viewMonth = base.getMonth();
71
+ }
72
+ /** Converte o ISO em Date local, evitando shift de fuso. */
73
+ parseValue(value) {
74
+ if (!value)
75
+ return null;
76
+ const match = /^(\d{4})-(\d{2})-(\d{2})$/.exec(value);
77
+ if (!match)
78
+ return null;
79
+ const [, y, m, d] = match;
80
+ return new Date(Number(y), Number(m) - 1, Number(d));
81
+ }
82
+ /** Gera o ISO "YYYY-MM-DD" a partir de componentes locais. */
83
+ toISO(year, month, day) {
84
+ const mm = String(month + 1).padStart(2, "0");
85
+ const dd = String(day).padStart(2, "0");
86
+ return `${year}-${mm}-${dd}`;
87
+ }
88
+ formatValue() {
89
+ const parsed = this.parseValue(this.value);
90
+ return parsed ? parsed.toLocaleDateString("pt-BR") : "";
91
+ }
92
+ monthLabel() {
93
+ return new Date(this.viewYear, this.viewMonth, 1).toLocaleDateString("pt-BR", { month: "long", year: "numeric" });
94
+ }
95
+ setOpen(value) {
96
+ if (this.open === value)
97
+ return;
98
+ this.open = value;
99
+ if (value) {
100
+ this.syncViewFromValue();
101
+ requestAnimationFrame(() => this.start());
102
+ document.addEventListener("click", this.onDocumentClick);
103
+ document.addEventListener("keydown", this.onKeydown);
104
+ }
105
+ else {
106
+ this.stop();
107
+ document.removeEventListener("click", this.onDocumentClick);
108
+ document.removeEventListener("keydown", this.onKeydown);
109
+ }
110
+ }
111
+ start() {
112
+ if (!this.triggerEl || !this.floatingEl)
113
+ return;
114
+ this.stop();
115
+ this.cleanup = floatingUi_dom.autoUpdate(this.triggerEl, this.floatingEl, () => {
116
+ if (!this.triggerEl || !this.floatingEl)
117
+ return;
118
+ floatingUi_dom.computePosition(this.triggerEl, this.floatingEl, {
119
+ placement: "bottom-start",
120
+ middleware: [floatingUi_dom.offset(6), floatingUi_dom.flip(), floatingUi_dom.shift({ padding: 8 })],
121
+ }).then(({ x, y }) => {
122
+ Object.assign(this.floatingEl.style, { left: `${x}px`, top: `${y}px` });
123
+ });
124
+ });
125
+ }
126
+ stop() {
127
+ this.cleanup?.();
128
+ this.cleanup = undefined;
129
+ }
130
+ selectDay(day) {
131
+ this.value = this.toISO(this.viewYear, this.viewMonth, day);
132
+ this.setOpen(false);
133
+ this.uiChange.emit(this.value);
134
+ }
135
+ buildDays() {
136
+ const firstWeekday = new Date(this.viewYear, this.viewMonth, 1).getDay();
137
+ const daysInMonth = new Date(this.viewYear, this.viewMonth + 1, 0).getDate();
138
+ const leading = Array.from({ length: firstWeekday }, () => 0);
139
+ const days = Array.from({ length: daysInMonth }, (_, i) => i + 1);
140
+ return [...leading, ...days];
141
+ }
142
+ isToday(day) {
143
+ const now = new Date();
144
+ return (day === now.getDate() &&
145
+ this.viewMonth === now.getMonth() &&
146
+ this.viewYear === now.getFullYear());
147
+ }
148
+ isSelected(day) {
149
+ return this.value === this.toISO(this.viewYear, this.viewMonth, day);
150
+ }
151
+ render() {
152
+ const display = this.formatValue();
153
+ return (index.h(index.Host, { key: '2c7c34f0f2b688e7f4788c135ce46dc27576390a' }, index.h("button", { key: '0e36f9b8e3a96376b186e97eba82621d513ca041', type: "button", class: "field", ref: (el) => (this.triggerEl = el), onClick: this.onTriggerClick, "aria-haspopup": "dialog", "aria-expanded": this.open ? "true" : "false" }, index.h("span", { key: '74e80a1defef918550ad375440ed96bbc77e4545', class: { label: true, placeholder: !display } }, display || this.placeholder), index.h("svg", { key: 'bdc13113d3545c1978bd5c0654e38baac83e8ef4', class: "icon", viewBox: "0 0 24 24", width: "18", height: "18", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, index.h("rect", { key: 'a67ced294fbaf97735a027773d5900b8e444e1fb', x: "3", y: "4", width: "18", height: "18", rx: "2" }), index.h("path", { key: 'ab89ca2d6b92e0e094439e07aa8f33a77d00520d', d: "M16 2v4M8 2v4M3 10h18" }))), index.h("div", { key: 'cdd601edb1497cea10eaa026037684530aec0f0e', class: { calendar: true, "is-open": this.open }, role: "dialog", ref: (el) => (this.floatingEl = el) }, index.h("div", { key: '83dda2789c83c34fb1996a7601c564eefe0403f9', class: "header" }, index.h("button", { key: '4e2a0966a1f17a17005f767c9d8a396cf1e8e8bc', type: "button", class: "nav", "aria-label": "M\u00EAs anterior", onClick: this.prevMonth }, index.h("svg", { key: '3ff66e36cd36166da633c3c8d5379af0d561a973', viewBox: "0 0 24 24", width: "16", height: "16", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, index.h("path", { key: '677dcab4309b5814429a6cd5528cf4a84d836fdf', d: "m15 18-6-6 6-6" }))), index.h("span", { key: 'd478e154bb6c3ad7f43e37c042a0ee8de73bdc55', class: "month-label" }, this.monthLabel()), index.h("button", { key: '8b7a399d6885f38cba8b9b79f5911cf8e1d3b97f', type: "button", class: "nav", "aria-label": "Pr\u00F3ximo m\u00EAs", onClick: this.nextMonth }, index.h("svg", { key: '1b3b7558875c3328af1cae826bebe9b488dfe822', viewBox: "0 0 24 24", width: "16", height: "16", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, index.h("path", { key: '9c486397121befd51b7e0b8dcdc04afe8d8ecc90', d: "m9 18 6-6-6-6" })))), index.h("div", { key: '460ae2803e427ed67625355c88a97b46cf307311', class: "weekdays" }, WEEKDAYS.map((label) => (index.h("span", { class: "weekday" }, label)))), index.h("div", { key: '6bd0d6b507f75a66b9496a18fba9fe2b8dcc3f7e', class: "grid" }, this.buildDays().map((day) => day === 0 ? (index.h("span", { class: "day empty" })) : (index.h("button", { type: "button", class: {
154
+ day: true,
155
+ today: this.isToday(day),
156
+ selected: this.isSelected(day),
157
+ }, onClick: (event) => {
158
+ event.stopPropagation();
159
+ this.selectDay(day);
160
+ } }, day)))))));
161
+ }
162
+ get host() { return index.getElement(this); }
163
+ static get watchers() { return {
164
+ "value": [{
165
+ "onValueChange": 0
166
+ }]
167
+ }; }
168
+ };
169
+ UiDatePicker.style = uiDatePickerCss();
170
+
171
+ exports.ui_date_picker = UiDatePicker;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Cb1tfi_9.js');
3
+ var index = require('./index-DV8CICae.js');
4
4
 
5
5
  const uiDialogCss = () => `.dialog{padding:0;border:none;background:transparent;max-width:32rem;width:calc(100% - 2rem);color:var(--ui-foreground)}.dialog::backdrop{background:var(--ui-overlay);backdrop-filter:blur(4px)}.dialog[open]{animation:ui-dialog-in var(--ui-duration) var(--ui-ease)}.content{border:1px solid var(--ui-border);background:var(--ui-panel-strong);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px) saturate(140%);border-radius:var(--ui-radius-xl);padding:1.5rem;font-family:var(--ui-font-sans)}::slotted([slot="title"]){font-size:1.125rem;font-weight:600}::slotted([slot="description"]){color:var(--ui-text-muted);font-size:0.875rem}@keyframes ui-dialog-in{from{opacity:0;transform:scale(0.96) translateY(6px)}to{opacity:1;transform:scale(1) translateY(0)}}`;
6
6
 
@@ -44,7 +44,7 @@ const UiDialog = class {
44
44
  this.open = false;
45
45
  }
46
46
  render() {
47
- return (index.h(index.Host, { key: 'e6c34700dc04fd3754eedeab279a67cd3997fb3d' }, index.h("dialog", { key: 'fdb23f89bd4b9aef79abaec586bf39add47ce013', class: "dialog", ref: (el) => (this.dialogEl = el), onClose: this.onClose, onCancel: this.onClose, onClick: this.onBackdropClick }, index.h("div", { key: '8a86f47c263d4fac68debdcef9cc8ed7e0be7ca8', class: "content" }, index.h("slot", { key: 'fe9d9105c13670104b5a60c939f9256b44694e8e' })))));
47
+ return (index.h(index.Host, { key: '84c982a7870da6b7517f7f989574c41684fd47d1' }, index.h("dialog", { key: 'f83e558d1344f2612d719032df6e4d652212ce94', class: "dialog", ref: (el) => (this.dialogEl = el), onClose: this.onClose, onCancel: this.onClose, onClick: this.onBackdropClick }, index.h("div", { key: 'f0506fc17bb608a4b4a33c113e749d9fdb637508', class: "content" }, index.h("slot", { key: 'ceab792ebd46acefe430467fb9b6c260e658b7bc' })))));
48
48
  }
49
49
  static get watchers() { return {
50
50
  "open": [{
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Cb1tfi_9.js');
3
+ var index = require('./index-DV8CICae.js');
4
4
 
5
5
  const uiDrawerCss = () => `:host{display:contents}.drawer{position:fixed;margin:0;padding:0;border:none;max-width:none;max-height:none;background:transparent;overflow:visible}.drawer::backdrop{background:var(--ui-overlay);backdrop-filter:blur(2px)}.side-right{top:0;right:0;bottom:0;height:100%;width:min(24rem, 100%)}.side-bottom{left:0;right:0;bottom:0;width:100%;max-height:85vh}.content{box-sizing:border-box;width:100%;height:100%;padding:1.5rem;overflow:auto;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)}.side-right .content{border-top-left-radius:var(--ui-radius-xl);border-bottom-left-radius:var(--ui-radius-xl)}.side-bottom .content{border-top-left-radius:var(--ui-radius-xl);border-top-right-radius:var(--ui-radius-xl)}.side-right[open]{animation:ui-drawer-slide-right var(--ui-duration) var(--ui-ease)}.side-bottom[open]{animation:ui-drawer-slide-bottom var(--ui-duration) var(--ui-ease)}@keyframes ui-drawer-slide-right{from{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes ui-drawer-slide-bottom{from{transform:translateY(100%)}to{transform:translateY(0)}}`;
6
6
 
@@ -46,7 +46,7 @@ const UiDrawer = class {
46
46
  this.open = false;
47
47
  }
48
48
  render() {
49
- return (index.h(index.Host, { key: '5d44e7d604eab21d2d30d5cbaaa225658c8e7e71' }, index.h("dialog", { key: 'ecdfc2057a8864f6b8dc961ddcd51c3f349b2b54', class: `drawer side-${this.side}`, ref: (el) => (this.dialogEl = el), onClose: this.onClose, onCancel: this.onClose, onClick: this.onBackdropClick }, index.h("div", { key: 'c14965ebb97a2c77d06c4a50466d00bf4036bafa', class: "content" }, index.h("slot", { key: '2bdbb4cbd2cd30ade870090c5383d398cfb6772b' })))));
49
+ return (index.h(index.Host, { key: '54cb020ae5aa52d797edea5e2fe52c176255a6db' }, index.h("dialog", { key: '20ffadd987ef28b2f5a0907258e325a6aa12eead', class: `drawer side-${this.side}`, ref: (el) => (this.dialogEl = el), onClose: this.onClose, onCancel: this.onClose, onClick: this.onBackdropClick }, index.h("div", { key: 'a2acad5175956ee2033fec822c7448ec290976fc', class: "content" }, index.h("slot", { key: '0aa72c14305d3766a4b860ebfd69d5d74825b8a2' })))));
50
50
  }
51
51
  static get watchers() { return {
52
52
  "open": [{
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Cb1tfi_9.js');
3
+ var index = require('./index-DV8CICae.js');
4
4
 
5
5
  const uiDropdownItemCss = () => `:host{display:block}.item{display:flex;align-items:center;gap:0.5rem;width:100%;padding:0.5rem 0.625rem;font-family:var(--ui-font-sans);font-size:0.875rem;text-align:left;color:var(--ui-foreground);background:transparent;border:none;border-radius:var(--ui-radius-sm);cursor:pointer;outline:none;transition:background var(--ui-duration) var(--ui-ease)}.item:hover,.item:focus-visible{background:var(--ui-chip)}.item:focus-visible{box-shadow:0 0 0 2px var(--ui-ring)}.item:disabled{pointer-events:none;opacity:0.5;cursor:default}`;
6
6
 
@@ -18,7 +18,7 @@ const UiDropdownItem = class {
18
18
  };
19
19
  }
20
20
  render() {
21
- return (index.h(index.Host, { key: 'a73d394ff94b232151c37e749d398f4485f46bde' }, index.h("button", { key: '3827857b88fc5d63681e80dc2cc470b58faf69e1', type: "button", class: "item", role: "menuitem", disabled: this.disabled, onClick: this.onClick }, index.h("slot", { key: 'a6dbd79c7b171ef6a8a53aa5da39fbca37725e1c' }))));
21
+ return (index.h(index.Host, { key: 'f4da8e0539fe502d384b1a1f423d6ade545db2b7' }, index.h("button", { key: '7c21a87c78f86be58837d1aa3c3936f23a94b875', type: "button", class: "item", role: "menuitem", disabled: this.disabled, onClick: this.onClick }, index.h("slot", { key: 'dba824914003737f6f00380d5c0b20151bf4ac98' }))));
22
22
  }
23
23
  get host() { return index.getElement(this); }
24
24
  };
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Cb1tfi_9.js');
4
- var floatingUi_dom = require('./floating-ui.dom-BPemvNRD.js');
3
+ var index = require('./index-DV8CICae.js');
4
+ var floatingUi_dom = require('./floating-ui.dom-BZk7Blsu.js');
5
5
 
6
6
  const uiDropdownMenuCss = () => `:host{display:inline-block}.trigger{display:inline-flex}.menu{position:fixed;top:0;left:0;z-index:50;display:flex;flex-direction:column;gap:0.125rem;min-width:10rem;max-width:calc(100vw - 1rem);padding:0.375rem;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)}.menu.is-open{visibility:visible;opacity:1;transform:scale(1)}`;
7
7
 
@@ -83,7 +83,7 @@ const UiDropdownMenu = class {
83
83
  this.cleanup = undefined;
84
84
  }
85
85
  render() {
86
- return (index.h(index.Host, { key: '6d1ac3cd9096527745a84f24443a3b230bf2aaf0' }, index.h("span", { key: '5594e37030b1fd69260b4de30393aacfbc636ca3', class: "trigger", ref: (el) => (this.triggerEl = el), onClick: this.onTriggerClick }, index.h("slot", { key: '763b6bf28fe4c79a13a2cc5a620d19e51ae5f6e2', name: "trigger" })), index.h("div", { key: '0bec01181593abbcb1a8634eb027ce0cef0d860d', class: { menu: true, "is-open": this.open }, role: "menu", ref: (el) => (this.floatingEl = el) }, index.h("slot", { key: '1b1fa528fc1186c81dd433d0cb9b775df8357641' }))));
86
+ return (index.h(index.Host, { key: 'dba2609a1d3e10b1c4c51dc9e4d0679f85a3ac2f' }, index.h("span", { key: '8d031050b223a1a36e4cf6397f2c2643ec6ba24e', class: "trigger", ref: (el) => (this.triggerEl = el), onClick: this.onTriggerClick }, index.h("slot", { key: 'ce5c02c8237a2fdeb20b24cbb314ea4759644250', name: "trigger" })), index.h("div", { key: '1d30dd7ec7a9d5df68bb4e3755437a10e4eaac31', class: { menu: true, "is-open": this.open }, role: "menu", ref: (el) => (this.floatingEl = el) }, index.h("slot", { key: 'a79af6f26779ade4b263c8ae602f2ec5b585a0e3' }))));
87
87
  }
88
88
  get host() { return index.getElement(this); }
89
89
  static get watchers() { return {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Cb1tfi_9.js');
3
+ var index = require('./index-DV8CICae.js');
4
4
 
5
5
  const uiFieldCss = () => `:host{display:block}.field{display:flex;flex-direction:column;gap:0.375rem}.label{font-family:var(--ui-font-sans);font-size:0.875rem;font-weight:500;color:var(--ui-foreground)}.required{color:var(--ui-danger)}.error{margin:0;font-family:var(--ui-font-sans);font-size:0.75rem;color:var(--ui-danger)}.description{margin:0;font-family:var(--ui-font-sans);font-size:0.75rem;color:var(--ui-text-muted)}`;
6
6
 
@@ -11,7 +11,7 @@ const UiField = class {
11
11
  this.required = false;
12
12
  }
13
13
  render() {
14
- return (index.h(index.Host, { key: '1910a6ce3a389ab7faa9e3b46e0397e6a9bfbaab' }, index.h("div", { key: 'fb76fb030b9af9129578f7b2f0b85eaffefc8d67', class: "field" }, this.label && (index.h("label", { key: '659a7c0982360c133891a1a22a98cdae32a529ed', class: "label", htmlFor: this.fieldId }, this.label, this.required && (index.h("span", { key: 'de93f19b8a2dd063df1175c00c68c0b7c9b092d6', class: "required", "aria-hidden": "true" }, " *")))), index.h("slot", { key: 'a510f107aab90a202c178f1d22727689db828fdc' }), this.error ? (index.h("p", { class: "error", role: "alert" }, this.error)) : (this.description && index.h("p", { class: "description" }, this.description)))));
14
+ return (index.h(index.Host, { key: '39a0e70cee489fd42753b1ce7a8c6fea25915bbb' }, index.h("div", { key: 'b20f08499de84d3af305d6ce6f74a1c880a05dfe', class: "field" }, this.label && (index.h("label", { key: '88a56e87813dcbc42fb087e9ba3472a98cbb7ad9', class: "label", htmlFor: this.fieldId }, this.label, this.required && (index.h("span", { key: '7b5143e178547005dc7e2559c0c28a23f105c2a3', class: "required", "aria-hidden": "true" }, " *")))), index.h("slot", { key: '71f80cc67afb75615e058d42fab0db72e13cc89f' }), this.error ? (index.h("p", { class: "error", role: "alert" }, this.error)) : (this.description && index.h("p", { class: "description" }, this.description)))));
15
15
  }
16
16
  };
17
17
  UiField.style = uiFieldCss();
@@ -0,0 +1,57 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-DV8CICae.js');
4
+
5
+ const uiFileUploadCss = () => `:host{display:block}.dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0.5rem;width:100%;padding:1.5rem;border:2px dashed var(--ui-border-strong);border-radius:var(--ui-radius-lg);background:transparent;font-family:var(--ui-font-sans);cursor:pointer;transition:background var(--ui-duration) var(--ui-ease), border-color var(--ui-duration) var(--ui-ease)}.dropzone:hover,.dropzone.dragging{background:var(--ui-chip)}.dropzone:focus-visible{outline:none;box-shadow:0 0 0 2px var(--ui-ring)}.icon{color:var(--ui-text-soft)}.label{font-size:0.875rem;color:var(--ui-text-muted)}.hint{font-size:0.75rem;color:var(--ui-text-faint)}.files{list-style:none;margin:0.75rem 0 0;padding:0;display:flex;flex-direction:column;gap:0.375rem}.file{display:flex;align-items:center;justify-content:space-between;gap:0.75rem;padding:0.5rem 0.75rem;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-panel);font-family:var(--ui-font-sans)}.file-name{font-size:0.875rem;color:var(--ui-foreground);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-size{flex-shrink:0;font-size:0.75rem;color:var(--ui-text-muted)}`;
6
+
7
+ const UiFileUpload = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ this.uiChange = index.createEvent(this, "uiChange");
11
+ /** Permite múltiplos arquivos. */
12
+ this.multiple = false;
13
+ /** Texto principal da zona de upload. */
14
+ this.label = "Arraste arquivos ou clique para enviar";
15
+ /** Arquivos atualmente selecionados. */
16
+ this.files = [];
17
+ /** Indica se há arraste sobre a zona. */
18
+ this.dragging = false;
19
+ this.openPicker = () => {
20
+ this.inputEl?.click();
21
+ };
22
+ this.onInputChange = (event) => {
23
+ const target = event.target;
24
+ this.setFiles(target.files);
25
+ };
26
+ this.onDragOver = (event) => {
27
+ event.preventDefault();
28
+ this.dragging = true;
29
+ };
30
+ this.onDragLeave = () => {
31
+ this.dragging = false;
32
+ };
33
+ this.onDrop = (event) => {
34
+ event.preventDefault();
35
+ this.dragging = false;
36
+ this.setFiles(event.dataTransfer?.files ?? null);
37
+ };
38
+ }
39
+ setFiles(list) {
40
+ if (!list)
41
+ return;
42
+ this.files = Array.from(list);
43
+ this.uiChange.emit(this.files);
44
+ }
45
+ formatSize(bytes) {
46
+ if (bytes >= 1024 * 1024) {
47
+ return `${(bytes / (1024 * 1024)).toFixed(1)} MB`;
48
+ }
49
+ return `${(bytes / 1024).toFixed(1)} KB`;
50
+ }
51
+ render() {
52
+ return (index.h(index.Host, { key: 'a8ca0fb9e4fbbfdba11a8f290124af65a0480093' }, index.h("button", { key: 'fd077d08e014e28b1f2411bb09a7d8a49afd7ceb', type: "button", class: { dropzone: true, dragging: this.dragging }, onClick: this.openPicker, onDragOver: this.onDragOver, onDragLeave: this.onDragLeave, onDrop: this.onDrop }, index.h("svg", { key: '2d68e2377435eeb88645a887091c0b6c2d707c5c', class: "icon", viewBox: "0 0 24 24", width: "2rem", height: "2rem", fill: "none", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }, index.h("path", { key: '677380bbdb141a320a97d1163c5410312b003ed4', d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }), index.h("polyline", { key: '42deea2aa62b6908fdd0e45ec64e9cabcf225da6', points: "17 8 12 3 7 8" }), index.h("line", { key: '12a28663905914b21b4c355bc96064d8e9ae4045', x1: "12", y1: "3", x2: "12", y2: "15" })), index.h("span", { key: '77bedaa863521eb1960fedd51b82e453606fe3e5', class: "label" }, this.label), this.accept ? (index.h("span", { class: "hint" }, this.accept)) : null), index.h("input", { key: '9facb4fee3805f4c0a9286e5bed67eae1b8e799b', type: "file", hidden: true, accept: this.accept, multiple: this.multiple, ref: (el) => (this.inputEl = el), onChange: this.onInputChange }), this.files.length > 0 ? (index.h("ul", { class: "files" }, this.files.map((file) => (index.h("li", { class: "file" }, index.h("span", { class: "file-name" }, file.name), index.h("span", { class: "file-size" }, this.formatSize(file.size))))))) : null));
53
+ }
54
+ };
55
+ UiFileUpload.style = uiFileUploadCss();
56
+
57
+ exports.ui_file_upload = UiFileUpload;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Cb1tfi_9.js');
3
+ var index = require('./index-DV8CICae.js');
4
4
 
5
5
  const uiGridCss = () => `:host{display:block}.grid{display:grid;font-family:var(--ui-font-sans)}`;
6
6
 
@@ -26,7 +26,7 @@ const UiGrid = class {
26
26
  : `repeat(${this.columns}, minmax(0, 1fr))`,
27
27
  gap: GAP[this.gap],
28
28
  };
29
- return (index.h(index.Host, { key: '465a816e064af42d8282185ee92e32477a6112fd' }, index.h("div", { key: 'da2e151c56959ced55477e3fe6c99aa5563b38aa', class: "grid", style: style }, index.h("slot", { key: '5bb285ce0feaf16d066b627010fc3fb595a85c15' }))));
29
+ return (index.h(index.Host, { key: 'ecafabf2b7902db681cd4ce15e8d4f8d8480f0d6' }, index.h("div", { key: '52aac0fe0cea374a7a083c5fb385882c1fd7b2e7', class: "grid", style: style }, index.h("slot", { key: '8b686a8e53fb33a94def9b6675df0df94dad14a6' }))));
30
30
  }
31
31
  };
32
32
  UiGrid.style = uiGridCss();
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Cb1tfi_9.js');
3
+ var index = require('./index-DV8CICae.js');
4
4
 
5
5
  const uiInputCss = () => `:host{display:block}.field{display:flex;align-items:center;gap:0.5rem;width:100%;height:2.75rem;padding:0 0.875rem;border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-panel);backdrop-filter:blur(22px);transition:all var(--ui-duration) var(--ui-ease);box-sizing:border-box}.field:hover:not(.disabled){border-color:var(--ui-border-strong)}.field:focus-within{border-color:var(--ui-accent);box-shadow:0 0 0 2px var(--ui-ring)}.field.invalid{border-color:var(--ui-danger)}.field.invalid:focus-within{box-shadow:0 0 0 2px color-mix(in srgb, var(--ui-danger) 40%, transparent)}.field.disabled{opacity:0.5;pointer-events:none}.input{flex:1;min-width:0;height:100%;border:none;background:transparent;color:var(--ui-foreground);font-family:var(--ui-font-sans);font-size:0.875rem;outline:none}.input::placeholder{color:var(--ui-text-faint)}.affix{display:inline-flex;align-items:center;color:var(--ui-text-muted)}.affix::slotted(svg),::slotted([slot="prefix"]),::slotted([slot="suffix"]){display:inline-flex;color:var(--ui-text-muted)}.clear{display:inline-flex;align-items:center;justify-content:center;flex:none;width:1.25rem;height:1.25rem;padding:0;border:none;border-radius:var(--ui-radius-full);background:var(--ui-chip);color:var(--ui-text-muted);cursor:pointer;transition:all var(--ui-duration) var(--ui-ease)}.clear:hover{color:var(--ui-foreground);background:var(--ui-panel-strong)}`;
6
6
 
@@ -35,7 +35,7 @@ const UiInput = class {
35
35
  }
36
36
  render() {
37
37
  const showClear = this.clearable && !!this.value && !this.disabled;
38
- return (index.h(index.Host, { key: 'a87a7c9a1aba5631099f2f9c3a3083a9e7374854' }, index.h("div", { key: '04d3493ab32a4636f3f2540aaba0b30e4c018225', class: { field: true, invalid: this.invalid, disabled: this.disabled } }, index.h("span", { key: '66fa079a8b6ccc62dca78f4266d92800dd8727b0', class: "affix" }, index.h("slot", { key: 'c9db74515db3226bc730beb42a2a8f2d8eb6ee9f', name: "prefix" })), index.h("input", { key: 'a8f4db568e49ee22b5eeae078c4e4b3fdbc48983', class: "input", type: this.type, value: this.value, name: this.name, placeholder: this.placeholder, disabled: this.disabled, "aria-invalid": this.invalid ? "true" : null, onInput: this.onInput, onChange: this.onChange }), showClear && (index.h("button", { key: 'e38a2279db1b1c677274a6e22019bf3183ae1920', class: "clear", type: "button", "aria-label": "Limpar", onClick: this.clear }, index.h("svg", { key: '0982ea65d3b1598620953fcd600b1eb1945348ee', viewBox: "0 0 24 24", width: "14", height: "14", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round" }, index.h("path", { key: '26f833d4ccf8feab9f2ec4f4527b8c8e9c00d09b', d: "M18 6 6 18M6 6l12 12" })))), index.h("span", { key: '22c7d4d4a030157a4a9eb73ef0a260f4db56c848', class: "affix" }, index.h("slot", { key: 'fa74011b1237908aa9eea78f88294afcdf09f0f5', name: "suffix" })))));
38
+ return (index.h(index.Host, { key: 'e9eb32b17bc234a3e97c570f6a2e0eaabf3763f9' }, index.h("div", { key: '8545c0a5c3a4ac48e11ebe7d9f0bc46738cf967f', class: { field: true, invalid: this.invalid, disabled: this.disabled } }, index.h("span", { key: '5f2273b9913a6e3c4f2328aedd1c68f5481ffc33', class: "affix" }, index.h("slot", { key: 'a6430217baeb4bf8f794c3b3da9d8a5d1f1934ea', name: "prefix" })), index.h("input", { key: '878396509802ac7fd2e6527fd9ff134280271981', class: "input", type: this.type, value: this.value, name: this.name, placeholder: this.placeholder, disabled: this.disabled, "aria-invalid": this.invalid ? "true" : null, onInput: this.onInput, onChange: this.onChange }), showClear && (index.h("button", { key: '07328458e2c91c87affea1ae462e97c45c2861b7', class: "clear", type: "button", "aria-label": "Limpar", onClick: this.clear }, index.h("svg", { key: '604ecae919eb8c115e4fc46d8a3b9ecc2f1f8937', viewBox: "0 0 24 24", width: "14", height: "14", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round" }, index.h("path", { key: '824a4aeff8afcd9a87bb386232d7c541fb9aad5a', d: "M18 6 6 18M6 6l12 12" })))), index.h("span", { key: 'c0c577e12a4f01520286da06512130de943781dc', class: "affix" }, index.h("slot", { key: '5b2f1281359134f2714ede53446cf853b7a2eb61', name: "suffix" })))));
39
39
  }
40
40
  };
41
41
  UiInput.style = uiInputCss();
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Cb1tfi_9.js');
3
+ var index = require('./index-DV8CICae.js');
4
4
 
5
5
  const uiLabelCss = () => `:host{display:inline-block}.label{font-family:var(--ui-font-sans);font-size:0.875rem;font-weight:500;color:var(--ui-foreground)}`;
6
6
 
@@ -9,7 +9,7 @@ const UiLabel = class {
9
9
  index.registerInstance(this, hostRef);
10
10
  }
11
11
  render() {
12
- return (index.h(index.Host, { key: '15695a208223a3270e49d72972a49c26fe3acd4d' }, index.h("label", { key: 'a6d0290c845797368e59fa936b80c8fee55dbcb1', class: "label" }, index.h("slot", { key: 'daae42c194f0c31d69a82bfad95a97b85cf2cdf2' }))));
12
+ return (index.h(index.Host, { key: '213a75753c53932901162e5ddae563d8fae95e7e' }, index.h("label", { key: '12718a028e0e7986e107ebe3c189339e1cbde003', class: "label" }, index.h("slot", { key: 'd83412a17a6cf21d5b99fc16e365d67911f4f515' }))));
13
13
  }
14
14
  };
15
15
  UiLabel.style = uiLabelCss();
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Cb1tfi_9.js');
3
+ var index = require('./index-DV8CICae.js');
4
4
 
5
5
  const uiLoadingOverlayCss = () => `:host{display:contents}.overlay{position:absolute;inset:0;z-index:40;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0.75rem;background:var(--ui-overlay);backdrop-filter:blur(4px);border-radius:inherit;font-family:var(--ui-font-sans)}.label{margin:0;font-size:0.875rem;color:var(--ui-text-soft)}`;
6
6
 
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-DV8CICae.js');
4
+
5
+ const uiNavbarCss = () => `:host{display:block}.navbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:0.75rem 1.25rem;background:var(--ui-panel-strong);backdrop-filter:blur(22px);border-bottom:1px solid var(--ui-border);font-family:var(--ui-font-sans);color:var(--ui-text-soft)}.brand{display:flex;align-items:center;gap:0.5rem;font-weight:600;color:var(--ui-foreground)}.center{display:flex;align-items:center;gap:1rem}.actions{display:flex;align-items:center;gap:0.75rem}`;
6
+
7
+ const UiNavbar = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ render() {
12
+ return (index.h(index.Host, { key: '940a8e9cc97673bb8142fe9be09a5744d6d61a06' }, index.h("nav", { key: 'd802871dd15c8ebbf21cbe40bb07a820b60c784a', class: "navbar" }, index.h("div", { key: 'ee85458ac62b6de535df4c7a3d258debbb35372e', class: "brand" }, index.h("slot", { key: 'f7748f6b9c8d2d8a72e4bae46e6d75689e19ffe2', name: "brand" })), index.h("div", { key: '60396a2ca70f078373108615989e0c4761d9d30b', class: "center" }, index.h("slot", { key: 'f260618d58d6e09fa5847489b1bc679813b29f2f' })), index.h("div", { key: '2ba5af2e7f45be35f1427249e68356c5445a513f', class: "actions" }, index.h("slot", { key: '5cf983d9fb58a516bd0f70e9ec0cc6b48b6607ef', name: "actions" })))));
13
+ }
14
+ };
15
+ UiNavbar.style = uiNavbarCss();
16
+
17
+ exports.ui_navbar = UiNavbar;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Cb1tfi_9.js');
3
+ var index = require('./index-DV8CICae.js');
4
4
 
5
5
  const uiPaginationCss = () => `:host{display:inline-block}.pagination{display:inline-flex;align-items:center;gap:0.25rem;font-family:var(--ui-font-sans)}.page{display:inline-flex;align-items:center;justify-content:center;min-width:2.25rem;height:2.25rem;padding:0 0.5rem;border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:transparent;color:var(--ui-foreground);font-family:var(--ui-font-sans);font-size:0.875rem;cursor:pointer;outline:none;transition:all var(--ui-duration) var(--ui-ease)}.page:hover{border-color:var(--ui-border-strong);background:var(--ui-chip)}.page:focus-visible{box-shadow:0 0 0 2px var(--ui-ring)}.page:disabled{pointer-events:none;opacity:0.5}.page.active{background:var(--ui-accent);color:var(--ui-accent-contrast);border-color:var(--ui-accent);box-shadow:var(--ui-shadow-sm)}.ellipsis{display:inline-flex;align-items:center;justify-content:center;min-width:2.25rem;height:2.25rem;color:var(--ui-text-faint);font-size:0.875rem}`;
6
6
 
@@ -49,13 +49,13 @@ const UiPagination = class {
49
49
  const total = Math.max(this.total, 1);
50
50
  const current = this.clamp(this.current);
51
51
  const entries = this.buildRange();
52
- return (index.h(index.Host, { key: '405a1c41db3850f25ffc14a053b12c0767809b1e' }, index.h("nav", { key: 'bd9baa3307cb5576ca81ab82653b44ccd4cb0385', class: "pagination", role: "navigation", "aria-label": "Pagina\u00E7\u00E3o" }, index.h("button", { key: '8efdfeb278037fabab6b82ba4083a7d23a00d612', class: "page nav", type: "button", "aria-label": "P\u00E1gina anterior", disabled: current <= 1, onClick: () => this.go(current - 1) }, "\u2039"), entries.map((entry, index$1) => {
52
+ return (index.h(index.Host, { key: '58d36fd4a14897c7a01573b6d626e4b6282fbeda' }, index.h("nav", { key: '80f0b2a4dceba2aea9d6e957a694aaa82eb86823', class: "pagination", role: "navigation", "aria-label": "Pagina\u00E7\u00E3o" }, index.h("button", { key: '9d102598d2216b0ddee599ba622287a62cd67598', class: "page nav", type: "button", "aria-label": "P\u00E1gina anterior", disabled: current <= 1, onClick: () => this.go(current - 1) }, "\u2039"), entries.map((entry, index$1) => {
53
53
  if (entry === "...") {
54
54
  return (index.h("span", { key: `ellipsis-${index$1}`, class: "ellipsis", "aria-hidden": "true" }, "\u2026"));
55
55
  }
56
56
  const active = entry === current;
57
57
  return (index.h("button", { key: entry, class: { page: true, active }, type: "button", "aria-label": `Página ${entry}`, "aria-current": active ? "page" : undefined, onClick: () => this.go(entry) }, entry));
58
- }), index.h("button", { key: '5ba13b9a59857423e65a4d10630eb66cc32c30fe', class: "page nav", type: "button", "aria-label": "Pr\u00F3xima p\u00E1gina", disabled: current >= total, onClick: () => this.go(current + 1) }, "\u203A"))));
58
+ }), index.h("button", { key: '8aa783a48a5ee13b6af2ad2e7b9e05d99f67df79', class: "page nav", type: "button", "aria-label": "Pr\u00F3xima p\u00E1gina", disabled: current >= total, onClick: () => this.go(current + 1) }, "\u203A"))));
59
59
  }
60
60
  };
61
61
  UiPagination.style = uiPaginationCss();