@andespindola/ui-core 0.2.0 → 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 (285) 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-avatar-group.cjs.entry.js +1 -1
  6. package/dist/cjs/ui-avatar.cjs.entry.js +1 -1
  7. package/dist/cjs/ui-breadcrumb-item.cjs.entry.js +1 -1
  8. package/dist/cjs/ui-breadcrumb.cjs.entry.js +1 -1
  9. package/dist/cjs/ui-button.cjs.entry.js +1 -1
  10. package/dist/cjs/ui-card.cjs.entry.js +1 -1
  11. package/dist/cjs/ui-checkbox.cjs.entry.js +1 -1
  12. package/dist/cjs/ui-combobox.cjs.entry.js +153 -0
  13. package/dist/cjs/ui-container.cjs.entry.js +1 -1
  14. package/dist/cjs/ui-date-picker.cjs.entry.js +171 -0
  15. package/dist/cjs/ui-dialog.cjs.entry.js +1 -1
  16. package/dist/cjs/ui-drawer.cjs.entry.js +1 -1
  17. package/dist/cjs/ui-dropdown-item.cjs.entry.js +1 -1
  18. package/dist/cjs/ui-dropdown-menu.cjs.entry.js +2 -2
  19. package/dist/cjs/ui-field.cjs.entry.js +1 -1
  20. package/dist/cjs/ui-file-upload.cjs.entry.js +57 -0
  21. package/dist/cjs/ui-grid.cjs.entry.js +1 -1
  22. package/dist/cjs/ui-input.cjs.entry.js +1 -1
  23. package/dist/cjs/ui-label.cjs.entry.js +1 -1
  24. package/dist/cjs/ui-navbar.cjs.entry.js +17 -0
  25. package/dist/cjs/ui-pagination.cjs.entry.js +2 -2
  26. package/dist/cjs/ui-popover.cjs.entry.js +2 -2
  27. package/dist/cjs/ui-progress-circular.cjs.entry.js +44 -0
  28. package/dist/cjs/ui-progress.cjs.entry.js +1 -1
  29. package/dist/cjs/ui-radio-group.cjs.entry.js +1 -1
  30. package/dist/cjs/ui-rating.cjs.entry.js +45 -0
  31. package/dist/cjs/ui-reveal.cjs.entry.js +1 -1
  32. package/dist/cjs/ui-scroll-progress.cjs.entry.js +1 -1
  33. package/dist/cjs/ui-section.cjs.entry.js +1 -1
  34. package/dist/cjs/ui-segmented.cjs.entry.js +1 -1
  35. package/dist/cjs/ui-select.cjs.entry.js +1 -1
  36. package/dist/cjs/ui-separator.cjs.entry.js +1 -1
  37. package/dist/cjs/ui-skeleton.cjs.entry.js +1 -1
  38. package/dist/cjs/ui-slider.cjs.entry.js +1 -1
  39. package/dist/cjs/ui-spinner.cjs.entry.js +1 -1
  40. package/dist/cjs/ui-stack.cjs.entry.js +1 -1
  41. package/dist/cjs/ui-stat.cjs.entry.js +1 -1
  42. package/dist/cjs/ui-switch.cjs.entry.js +1 -1
  43. package/dist/cjs/ui-table.cjs.entry.js +25 -0
  44. package/dist/cjs/ui-tabs.cjs.entry.js +2 -2
  45. package/dist/cjs/ui-textarea.cjs.entry.js +1 -1
  46. package/dist/cjs/ui-theme-toggle.cjs.entry.js +1 -1
  47. package/dist/cjs/ui-toast.cjs.entry.js +1 -1
  48. package/dist/cjs/ui-toaster.cjs.entry.js +1 -1
  49. package/dist/cjs/ui-tooltip.cjs.entry.js +2 -2
  50. package/dist/cjs/uikit.cjs.js +1 -1
  51. package/dist/collection/collection-manifest.json +7 -0
  52. package/dist/collection/components/ui-accordion/ui-accordion.js +1 -1
  53. package/dist/collection/components/ui-accordion-item/ui-accordion-item.js +1 -1
  54. package/dist/collection/components/ui-avatar/ui-avatar.js +1 -1
  55. package/dist/collection/components/ui-avatar-group/ui-avatar-group.js +1 -1
  56. package/dist/collection/components/ui-breadcrumb/ui-breadcrumb.js +1 -1
  57. package/dist/collection/components/ui-breadcrumb-item/ui-breadcrumb-item.js +1 -1
  58. package/dist/collection/components/ui-button/ui-button.css +2 -0
  59. package/dist/collection/components/ui-card/ui-card.js +1 -1
  60. package/dist/collection/components/ui-checkbox/ui-checkbox.js +1 -1
  61. package/dist/collection/components/ui-combobox/ui-combobox.css +93 -0
  62. package/dist/collection/components/ui-combobox/ui-combobox.js +248 -0
  63. package/dist/collection/components/ui-container/ui-container.js +1 -1
  64. package/dist/collection/components/ui-date-picker/ui-date-picker.css +176 -0
  65. package/dist/collection/components/ui-date-picker/ui-date-picker.js +243 -0
  66. package/dist/collection/components/ui-dialog/ui-dialog.js +1 -1
  67. package/dist/collection/components/ui-drawer/ui-drawer.js +1 -1
  68. package/dist/collection/components/ui-dropdown-item/ui-dropdown-item.js +1 -1
  69. package/dist/collection/components/ui-dropdown-menu/ui-dropdown-menu.js +1 -1
  70. package/dist/collection/components/ui-field/ui-field.js +1 -1
  71. package/dist/collection/components/ui-file-upload/ui-file-upload.css +79 -0
  72. package/dist/collection/components/ui-file-upload/ui-file-upload.js +151 -0
  73. package/dist/collection/components/ui-grid/ui-grid.js +1 -1
  74. package/dist/collection/components/ui-input/ui-input.js +1 -1
  75. package/dist/collection/components/ui-label/ui-label.js +1 -1
  76. package/dist/collection/components/ui-navbar/ui-navbar.css +36 -0
  77. package/dist/collection/components/ui-navbar/ui-navbar.js +18 -0
  78. package/dist/collection/components/ui-pagination/ui-pagination.js +2 -2
  79. package/dist/collection/components/ui-popover/ui-popover.js +1 -1
  80. package/dist/collection/components/ui-progress/ui-progress.js +1 -1
  81. package/dist/collection/components/ui-progress-circular/ui-progress-circular.css +46 -0
  82. package/dist/collection/components/ui-progress-circular/ui-progress-circular.js +171 -0
  83. package/dist/collection/components/ui-radio-group/ui-radio-group.js +1 -1
  84. package/dist/collection/components/ui-rating/ui-rating.css +52 -0
  85. package/dist/collection/components/ui-rating/ui-rating.js +134 -0
  86. package/dist/collection/components/ui-reveal/ui-reveal.js +1 -1
  87. package/dist/collection/components/ui-scroll-progress/ui-scroll-progress.js +1 -1
  88. package/dist/collection/components/ui-section/ui-section.js +1 -1
  89. package/dist/collection/components/ui-segmented/ui-segmented.js +1 -1
  90. package/dist/collection/components/ui-select/ui-select.js +1 -1
  91. package/dist/collection/components/ui-separator/ui-separator.js +1 -1
  92. package/dist/collection/components/ui-skeleton/ui-skeleton.js +1 -1
  93. package/dist/collection/components/ui-slider/ui-slider.js +1 -1
  94. package/dist/collection/components/ui-spinner/ui-spinner.js +1 -1
  95. package/dist/collection/components/ui-stack/ui-stack.js +1 -1
  96. package/dist/collection/components/ui-stat/ui-stat.js +1 -1
  97. package/dist/collection/components/ui-switch/ui-switch.js +1 -1
  98. package/dist/collection/components/ui-table/ui-table.css +46 -0
  99. package/dist/collection/components/ui-table/ui-table.js +119 -0
  100. package/dist/collection/components/ui-tabs/ui-tabs.js +2 -2
  101. package/dist/collection/components/ui-textarea/ui-textarea.js +1 -1
  102. package/dist/collection/components/ui-theme-toggle/ui-theme-toggle.js +1 -1
  103. package/dist/collection/components/ui-toast/ui-toast.js +1 -1
  104. package/dist/collection/components/ui-toaster/ui-toaster.js +1 -1
  105. package/dist/collection/components/ui-tooltip/ui-tooltip.js +1 -1
  106. package/dist/components/{p-CgsjJD8o.js → p-DDJE__UC.js} +1 -1
  107. package/dist/{uikit/p-CyBRmmbs.js → components/p-DDtwbwIl.js} +1 -1
  108. package/dist/components/{p-BwNtNvTb.js → p-DUT2Q8Df.js} +1 -1
  109. package/dist/components/ui-accordion-item.js +1 -1
  110. package/dist/components/ui-accordion.js +1 -1
  111. package/dist/components/ui-avatar-group.js +1 -1
  112. package/dist/components/ui-avatar.js +1 -1
  113. package/dist/components/ui-breadcrumb-item.js +1 -1
  114. package/dist/components/ui-breadcrumb.js +1 -1
  115. package/dist/components/ui-button.js +1 -1
  116. package/dist/components/ui-card.js +1 -1
  117. package/dist/components/ui-checkbox.js +1 -1
  118. package/dist/components/ui-combobox.d.ts +11 -0
  119. package/dist/components/ui-combobox.js +1 -0
  120. package/dist/components/ui-container.js +1 -1
  121. package/dist/components/ui-date-picker.d.ts +11 -0
  122. package/dist/components/ui-date-picker.js +1 -0
  123. package/dist/components/ui-dialog.js +1 -1
  124. package/dist/components/ui-drawer.js +1 -1
  125. package/dist/components/ui-dropdown-item.js +1 -1
  126. package/dist/components/ui-dropdown-menu.js +1 -1
  127. package/dist/components/ui-field.js +1 -1
  128. package/dist/components/ui-file-upload.d.ts +11 -0
  129. package/dist/components/ui-file-upload.js +1 -0
  130. package/dist/components/ui-grid.js +1 -1
  131. package/dist/components/ui-input.js +1 -1
  132. package/dist/components/ui-label.js +1 -1
  133. package/dist/components/ui-loading-overlay.js +1 -1
  134. package/dist/components/ui-navbar.d.ts +11 -0
  135. package/dist/components/ui-navbar.js +1 -0
  136. package/dist/components/ui-pagination.js +1 -1
  137. package/dist/components/ui-popover.js +1 -1
  138. package/dist/components/ui-progress-circular.d.ts +11 -0
  139. package/dist/components/ui-progress-circular.js +1 -0
  140. package/dist/components/ui-progress.js +1 -1
  141. package/dist/components/ui-radio-group.js +1 -1
  142. package/dist/components/ui-rating.d.ts +11 -0
  143. package/dist/components/ui-rating.js +1 -0
  144. package/dist/components/ui-reveal.js +1 -1
  145. package/dist/components/ui-scroll-progress.js +1 -1
  146. package/dist/components/ui-section.js +1 -1
  147. package/dist/components/ui-segmented.js +1 -1
  148. package/dist/components/ui-select.js +1 -1
  149. package/dist/components/ui-separator.js +1 -1
  150. package/dist/components/ui-skeleton.js +1 -1
  151. package/dist/components/ui-slider.js +1 -1
  152. package/dist/components/ui-spinner.js +1 -1
  153. package/dist/components/ui-stack.js +1 -1
  154. package/dist/components/ui-stat.js +1 -1
  155. package/dist/components/ui-switch.js +1 -1
  156. package/dist/components/ui-table.d.ts +11 -0
  157. package/dist/components/ui-table.js +1 -0
  158. package/dist/components/ui-tabs.js +1 -1
  159. package/dist/components/ui-textarea.js +1 -1
  160. package/dist/components/ui-theme-toggle.js +1 -1
  161. package/dist/components/ui-toast.js +1 -1
  162. package/dist/components/ui-toaster.js +1 -1
  163. package/dist/components/ui-tooltip.js +1 -1
  164. package/dist/esm/{floating-ui.dom-CyBRmmbs.js → floating-ui.dom-DDtwbwIl.js} +93 -1
  165. package/dist/esm/loader.js +1 -1
  166. package/dist/esm/ui-accordion-item.entry.js +1 -1
  167. package/dist/esm/ui-accordion.entry.js +1 -1
  168. package/dist/esm/ui-avatar-group.entry.js +1 -1
  169. package/dist/esm/ui-avatar.entry.js +1 -1
  170. package/dist/esm/ui-breadcrumb-item.entry.js +1 -1
  171. package/dist/esm/ui-breadcrumb.entry.js +1 -1
  172. package/dist/esm/ui-button.entry.js +1 -1
  173. package/dist/esm/ui-card.entry.js +1 -1
  174. package/dist/esm/ui-checkbox.entry.js +1 -1
  175. package/dist/esm/ui-combobox.entry.js +151 -0
  176. package/dist/esm/ui-container.entry.js +1 -1
  177. package/dist/esm/ui-date-picker.entry.js +169 -0
  178. package/dist/esm/ui-dialog.entry.js +1 -1
  179. package/dist/esm/ui-drawer.entry.js +1 -1
  180. package/dist/esm/ui-dropdown-item.entry.js +1 -1
  181. package/dist/esm/ui-dropdown-menu.entry.js +2 -2
  182. package/dist/esm/ui-field.entry.js +1 -1
  183. package/dist/esm/ui-file-upload.entry.js +55 -0
  184. package/dist/esm/ui-grid.entry.js +1 -1
  185. package/dist/esm/ui-input.entry.js +1 -1
  186. package/dist/esm/ui-label.entry.js +1 -1
  187. package/dist/esm/ui-navbar.entry.js +15 -0
  188. package/dist/esm/ui-pagination.entry.js +2 -2
  189. package/dist/esm/ui-popover.entry.js +2 -2
  190. package/dist/esm/ui-progress-circular.entry.js +42 -0
  191. package/dist/esm/ui-progress.entry.js +1 -1
  192. package/dist/esm/ui-radio-group.entry.js +1 -1
  193. package/dist/esm/ui-rating.entry.js +43 -0
  194. package/dist/esm/ui-reveal.entry.js +1 -1
  195. package/dist/esm/ui-scroll-progress.entry.js +1 -1
  196. package/dist/esm/ui-section.entry.js +1 -1
  197. package/dist/esm/ui-segmented.entry.js +1 -1
  198. package/dist/esm/ui-select.entry.js +1 -1
  199. package/dist/esm/ui-separator.entry.js +1 -1
  200. package/dist/esm/ui-skeleton.entry.js +1 -1
  201. package/dist/esm/ui-slider.entry.js +1 -1
  202. package/dist/esm/ui-spinner.entry.js +1 -1
  203. package/dist/esm/ui-stack.entry.js +1 -1
  204. package/dist/esm/ui-stat.entry.js +1 -1
  205. package/dist/esm/ui-switch.entry.js +1 -1
  206. package/dist/esm/ui-table.entry.js +23 -0
  207. package/dist/esm/ui-tabs.entry.js +2 -2
  208. package/dist/esm/ui-textarea.entry.js +1 -1
  209. package/dist/esm/ui-theme-toggle.entry.js +1 -1
  210. package/dist/esm/ui-toast.entry.js +1 -1
  211. package/dist/esm/ui-toaster.entry.js +1 -1
  212. package/dist/esm/ui-tooltip.entry.js +2 -2
  213. package/dist/esm/uikit.js +1 -1
  214. package/dist/types/components/ui-combobox/ui-combobox.d.ts +38 -0
  215. package/dist/types/components/ui-date-picker/ui-date-picker.d.ts +42 -0
  216. package/dist/types/components/ui-file-upload/ui-file-upload.d.ts +24 -0
  217. package/dist/types/components/ui-navbar/ui-navbar.d.ts +3 -0
  218. package/dist/types/components/ui-progress-circular/ui-progress-circular.d.ts +17 -0
  219. package/dist/types/components/ui-rating/ui-rating.d.ts +17 -0
  220. package/dist/types/components/ui-table/ui-table.d.ts +16 -0
  221. package/dist/types/components.d.ts +409 -0
  222. package/dist/types/index.d.ts +1 -0
  223. package/dist/uikit/{p-81b45a43.entry.js → p-008118af.entry.js} +1 -1
  224. package/dist/uikit/p-0715db16.entry.js +1 -0
  225. package/dist/uikit/p-10afa395.entry.js +1 -0
  226. package/dist/uikit/{p-25637424.entry.js → p-1449f229.entry.js} +1 -1
  227. package/dist/uikit/{p-567f7496.entry.js → p-1514ae37.entry.js} +1 -1
  228. package/dist/uikit/{p-cd0ec835.entry.js → p-1685191b.entry.js} +1 -1
  229. package/dist/uikit/p-1ef7948f.entry.js +1 -0
  230. package/dist/uikit/p-283e7623.entry.js +1 -0
  231. package/dist/uikit/p-2d92ce04.entry.js +1 -0
  232. package/dist/uikit/{p-faa98928.entry.js → p-3995852d.entry.js} +1 -1
  233. package/dist/uikit/p-3b1f92da.entry.js +1 -0
  234. package/dist/uikit/p-3fdfad2e.entry.js +1 -0
  235. package/dist/uikit/p-4044ebde.entry.js +1 -0
  236. package/dist/uikit/{p-95cd976e.entry.js → p-413cfbc6.entry.js} +1 -1
  237. package/dist/uikit/p-4ba0e4bc.entry.js +1 -0
  238. package/dist/uikit/{p-635862e6.entry.js → p-5e0bc34a.entry.js} +1 -1
  239. package/dist/uikit/{p-86ed6154.entry.js → p-60910c03.entry.js} +1 -1
  240. package/dist/uikit/{p-c73c1009.entry.js → p-62881327.entry.js} +1 -1
  241. package/dist/uikit/p-6c51a216.entry.js +1 -0
  242. package/dist/uikit/p-6d363a02.entry.js +1 -0
  243. package/dist/uikit/{p-67963692.entry.js → p-8535f5c9.entry.js} +1 -1
  244. package/dist/uikit/{p-2601d8b6.entry.js → p-88238a16.entry.js} +1 -1
  245. package/dist/uikit/{p-595e146f.entry.js → p-894fc85f.entry.js} +1 -1
  246. package/dist/uikit/p-8b882367.entry.js +1 -0
  247. package/dist/uikit/{p-12db6a6e.entry.js → p-9310b73b.entry.js} +1 -1
  248. package/dist/uikit/{p-1d016ea4.entry.js → p-99b7e461.entry.js} +1 -1
  249. package/dist/uikit/p-9d8d420e.entry.js +1 -0
  250. package/dist/uikit/{p-55a23f91.entry.js → p-9dbe7e12.entry.js} +1 -1
  251. package/dist/uikit/{p-09895cd0.entry.js → p-9f09fcec.entry.js} +1 -1
  252. package/dist/{components/p-CyBRmmbs.js → uikit/p-DDtwbwIl.js} +1 -1
  253. package/dist/uikit/{p-a977a0db.entry.js → p-a3d819cd.entry.js} +1 -1
  254. package/dist/uikit/{p-979f6178.entry.js → p-b0f2b1c8.entry.js} +1 -1
  255. package/dist/uikit/{p-3996590f.entry.js → p-b7e30398.entry.js} +1 -1
  256. package/dist/uikit/p-bac2c523.entry.js +1 -0
  257. package/dist/uikit/p-bbc718ef.entry.js +1 -0
  258. package/dist/uikit/{p-74b60a60.entry.js → p-bdd30484.entry.js} +1 -1
  259. package/dist/uikit/{p-fd832f52.entry.js → p-c1a9db7c.entry.js} +1 -1
  260. package/dist/uikit/p-c2138fb9.entry.js +1 -0
  261. package/dist/uikit/{p-ddd70374.entry.js → p-c94492ff.entry.js} +1 -1
  262. package/dist/uikit/{p-7f2c2924.entry.js → p-ccca2aeb.entry.js} +1 -1
  263. package/dist/uikit/{p-a01305a5.entry.js → p-d7ab158f.entry.js} +1 -1
  264. package/dist/uikit/p-da807078.entry.js +1 -0
  265. package/dist/uikit/p-e2065caa.entry.js +1 -0
  266. package/dist/uikit/{p-dca9f6f9.entry.js → p-f2983e94.entry.js} +1 -1
  267. package/dist/uikit/{p-2de05aac.entry.js → p-f4344cce.entry.js} +1 -1
  268. package/dist/uikit/{p-3fc062a6.entry.js → p-fb89d9a4.entry.js} +1 -1
  269. package/dist/uikit/p-fbe7806c.entry.js +1 -0
  270. package/dist/uikit/p-ffcd1faf.entry.js +1 -0
  271. package/dist/uikit/uikit.esm.js +1 -1
  272. package/package.json +1 -1
  273. package/dist/uikit/p-0cba0d11.entry.js +0 -1
  274. package/dist/uikit/p-6c0e9809.entry.js +0 -1
  275. package/dist/uikit/p-7a3d85da.entry.js +0 -1
  276. package/dist/uikit/p-94ad46a5.entry.js +0 -1
  277. package/dist/uikit/p-97d4dbf4.entry.js +0 -1
  278. package/dist/uikit/p-9a4dc343.entry.js +0 -1
  279. package/dist/uikit/p-9a9590b9.entry.js +0 -1
  280. package/dist/uikit/p-a080f46a.entry.js +0 -1
  281. package/dist/uikit/p-a92a7b19.entry.js +0 -1
  282. package/dist/uikit/p-b2df8437.entry.js +0 -1
  283. package/dist/uikit/p-d20452b4.entry.js +0 -1
  284. package/dist/uikit/p-d7021157.entry.js +0 -1
  285. package/dist/uikit/p-db07f9c5.entry.js +0 -1
@@ -18,7 +18,7 @@ var patchBrowser = () => {
18
18
 
19
19
  patchBrowser().then(async (options) => {
20
20
  await index.globalScripts();
21
- return index.bootstrapLazy([["ui-loading-overlay.cjs",[[1,"ui-loading-overlay",{"visible":[4],"label":[1],"spinnerSize":[1,"spinner-size"]}]]],["ui-toaster.cjs",[[1,"ui-toaster",{"items":[32],"toast":[64]}]]],["ui-accordion.cjs",[[257,"ui-accordion"]]],["ui-accordion-item.cjs",[[257,"ui-accordion-item",{"heading":[1],"open":[1540]}]]],["ui-alert.cjs",[[257,"ui-alert",{"variant":[1],"heading":[1],"dismissible":[4],"open":[32]}]]],["ui-avatar.cjs",[[1,"ui-avatar",{"src":[1],"alt":[1],"fallback":[1],"status":[1]}]]],["ui-avatar-group.cjs",[[257,"ui-avatar-group"]]],["ui-badge.cjs",[[257,"ui-badge",{"variant":[1],"dot":[4],"removable":[4]}]]],["ui-breadcrumb.cjs",[[257,"ui-breadcrumb"]]],["ui-breadcrumb-item.cjs",[[257,"ui-breadcrumb-item",{"href":[1],"current":[4]}]]],["ui-button.cjs",[[257,"ui-button",{"variant":[1],"size":[1],"disabled":[4],"loading":[4],"type":[1],"full":[516]}]]],["ui-card.cjs",[[257,"ui-card"]]],["ui-checkbox.cjs",[[1,"ui-checkbox",{"checked":[1540],"disabled":[4],"name":[1],"value":[1]}]]],["ui-container.cjs",[[257,"ui-container",{"size":[1],"padded":[4]}]]],["ui-dialog.cjs",[[257,"ui-dialog",{"open":[1540],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-drawer.cjs",[[257,"ui-drawer",{"open":[1540],"side":[513],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-dropdown-item.cjs",[[257,"ui-dropdown-item",{"disabled":[516]}]]],["ui-dropdown-menu.cjs",[[257,"ui-dropdown-menu",{"open":[1540],"placement":[1],"show":[64],"close":[64]},[[0,"uiDropdownClose","onItemClose"]],{"open":[{"onOpenChange":0}]}]]],["ui-field.cjs",[[257,"ui-field",{"label":[1],"description":[1],"error":[1],"required":[4],"fieldId":[1,"field-id"]}]]],["ui-grid.cjs",[[257,"ui-grid",{"columns":[2],"gap":[1],"minItemWidth":[1,"min-item-width"]}]]],["ui-input.cjs",[[257,"ui-input",{"value":[1025],"placeholder":[1],"type":[1],"disabled":[4],"invalid":[4],"name":[1],"clearable":[4]}]]],["ui-label.cjs",[[257,"ui-label"]]],["ui-pagination.cjs",[[1,"ui-pagination",{"total":[2],"current":[1538],"siblings":[2]}]]],["ui-popover.cjs",[[257,"ui-popover",{"open":[1540],"placement":[1],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-progress.cjs",[[1,"ui-progress",{"value":[2],"max":[2],"indeterminate":[4]}]]],["ui-radio-group.cjs",[[1,"ui-radio-group",{"value":[1025],"name":[1],"options":[16],"disabled":[4]}]]],["ui-reveal.cjs",[[257,"ui-reveal",{"delay":[2],"visible":[32]}]]],["ui-scroll-progress.cjs",[[1,"ui-scroll-progress",{"progress":[32]}]]],["ui-section.cjs",[[257,"ui-section",{"eyebrow":[1],"heading":[1],"description":[1]}]]],["ui-segmented.cjs",[[1,"ui-segmented",{"items":[16],"value":[1537]}]]],["ui-select.cjs",[[1,"ui-select",{"value":[1025],"disabled":[4],"name":[1],"options":[16],"placeholder":[1]}]]],["ui-separator.cjs",[[1,"ui-separator",{"orientation":[513]}]]],["ui-skeleton.cjs",[[1,"ui-skeleton"]]],["ui-slider.cjs",[[1,"ui-slider",{"value":[1026],"min":[2],"max":[2],"step":[2],"disabled":[4]}]]],["ui-stack.cjs",[[257,"ui-stack",{"direction":[1],"gap":[1],"align":[1],"justify":[1],"wrap":[4]}]]],["ui-stat.cjs",[[257,"ui-stat",{"label":[1],"value":[1],"delta":[1],"trend":[1]}]]],["ui-switch.cjs",[[1,"ui-switch",{"checked":[1540],"disabled":[4]}]]],["ui-tabs.cjs",[[257,"ui-tabs",{"value":[1537],"items":[16]}]]],["ui-textarea.cjs",[[1,"ui-textarea",{"value":[1025],"placeholder":[1],"disabled":[4],"invalid":[4],"name":[1],"rows":[2]}]]],["ui-theme-toggle.cjs",[[1,"ui-theme-toggle",{"isDark":[32]}]]],["ui-tooltip.cjs",[[257,"ui-tooltip",{"content":[1],"placement":[1],"openDelay":[2,"open-delay"],"visible":[32]}]]],["ui-spinner.cjs",[[1,"ui-spinner",{"size":[1]}]]],["ui-toast.cjs",[[1,"ui-toast",{"open":[1540],"variant":[1],"heading":[1],"description":[1],"duration":[2],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]]], options);
21
+ return index.bootstrapLazy([["ui-loading-overlay.cjs",[[1,"ui-loading-overlay",{"visible":[4],"label":[1],"spinnerSize":[1,"spinner-size"]}]]],["ui-toaster.cjs",[[1,"ui-toaster",{"items":[32],"toast":[64]}]]],["ui-accordion.cjs",[[257,"ui-accordion"]]],["ui-accordion-item.cjs",[[257,"ui-accordion-item",{"heading":[1],"open":[1540]}]]],["ui-alert.cjs",[[257,"ui-alert",{"variant":[1],"heading":[1],"dismissible":[4],"open":[32]}]]],["ui-avatar.cjs",[[1,"ui-avatar",{"src":[1],"alt":[1],"fallback":[1],"status":[1]}]]],["ui-avatar-group.cjs",[[257,"ui-avatar-group"]]],["ui-badge.cjs",[[257,"ui-badge",{"variant":[1],"dot":[4],"removable":[4]}]]],["ui-breadcrumb.cjs",[[257,"ui-breadcrumb"]]],["ui-breadcrumb-item.cjs",[[257,"ui-breadcrumb-item",{"href":[1],"current":[4]}]]],["ui-button.cjs",[[257,"ui-button",{"variant":[1],"size":[1],"disabled":[4],"loading":[4],"type":[1],"full":[516]}]]],["ui-card.cjs",[[257,"ui-card"]]],["ui-checkbox.cjs",[[1,"ui-checkbox",{"checked":[1540],"disabled":[4],"name":[1],"value":[1]}]]],["ui-combobox.cjs",[[1,"ui-combobox",{"options":[16],"value":[1025],"placeholder":[1],"query":[32],"open":[32],"activeIndex":[32]}]]],["ui-container.cjs",[[257,"ui-container",{"size":[1],"padded":[4]}]]],["ui-date-picker.cjs",[[1,"ui-date-picker",{"value":[1025],"placeholder":[1],"open":[32],"viewYear":[32],"viewMonth":[32]},null,{"value":[{"onValueChange":0}]}]]],["ui-dialog.cjs",[[257,"ui-dialog",{"open":[1540],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-drawer.cjs",[[257,"ui-drawer",{"open":[1540],"side":[513],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-dropdown-item.cjs",[[257,"ui-dropdown-item",{"disabled":[516]}]]],["ui-dropdown-menu.cjs",[[257,"ui-dropdown-menu",{"open":[1540],"placement":[1],"show":[64],"close":[64]},[[0,"uiDropdownClose","onItemClose"]],{"open":[{"onOpenChange":0}]}]]],["ui-field.cjs",[[257,"ui-field",{"label":[1],"description":[1],"error":[1],"required":[4],"fieldId":[1,"field-id"]}]]],["ui-file-upload.cjs",[[1,"ui-file-upload",{"accept":[1],"multiple":[4],"label":[1],"files":[32],"dragging":[32]}]]],["ui-grid.cjs",[[257,"ui-grid",{"columns":[2],"gap":[1],"minItemWidth":[1,"min-item-width"]}]]],["ui-input.cjs",[[257,"ui-input",{"value":[1025],"placeholder":[1],"type":[1],"disabled":[4],"invalid":[4],"name":[1],"clearable":[4]}]]],["ui-label.cjs",[[257,"ui-label"]]],["ui-navbar.cjs",[[257,"ui-navbar"]]],["ui-pagination.cjs",[[1,"ui-pagination",{"total":[2],"current":[1538],"siblings":[2]}]]],["ui-popover.cjs",[[257,"ui-popover",{"open":[1540],"placement":[1],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["ui-progress.cjs",[[1,"ui-progress",{"value":[2],"max":[2],"indeterminate":[4]}]]],["ui-progress-circular.cjs",[[1,"ui-progress-circular",{"value":[2],"max":[2],"size":[1],"strokeWidth":[2,"stroke-width"],"indeterminate":[4],"showValue":[4,"show-value"]}]]],["ui-radio-group.cjs",[[1,"ui-radio-group",{"value":[1025],"name":[1],"options":[16],"disabled":[4]}]]],["ui-rating.cjs",[[1,"ui-rating",{"value":[1026],"max":[2],"readonly":[4],"hoverValue":[32]}]]],["ui-reveal.cjs",[[257,"ui-reveal",{"delay":[2],"visible":[32]}]]],["ui-scroll-progress.cjs",[[1,"ui-scroll-progress",{"progress":[32]}]]],["ui-section.cjs",[[257,"ui-section",{"eyebrow":[1],"heading":[1],"description":[1]}]]],["ui-segmented.cjs",[[1,"ui-segmented",{"items":[16],"value":[1537]}]]],["ui-select.cjs",[[1,"ui-select",{"value":[1025],"disabled":[4],"name":[1],"options":[16],"placeholder":[1]}]]],["ui-separator.cjs",[[1,"ui-separator",{"orientation":[513]}]]],["ui-skeleton.cjs",[[1,"ui-skeleton"]]],["ui-slider.cjs",[[1,"ui-slider",{"value":[1026],"min":[2],"max":[2],"step":[2],"disabled":[4]}]]],["ui-stack.cjs",[[257,"ui-stack",{"direction":[1],"gap":[1],"align":[1],"justify":[1],"wrap":[4]}]]],["ui-stat.cjs",[[257,"ui-stat",{"label":[1],"value":[1],"delta":[1],"trend":[1]}]]],["ui-switch.cjs",[[1,"ui-switch",{"checked":[1540],"disabled":[4]}]]],["ui-table.cjs",[[1,"ui-table",{"columns":[16],"rows":[16],"striped":[4],"hoverable":[4]}]]],["ui-tabs.cjs",[[257,"ui-tabs",{"value":[1537],"items":[16]}]]],["ui-textarea.cjs",[[1,"ui-textarea",{"value":[1025],"placeholder":[1],"disabled":[4],"invalid":[4],"name":[1],"rows":[2]}]]],["ui-theme-toggle.cjs",[[1,"ui-theme-toggle",{"isDark":[32]}]]],["ui-tooltip.cjs",[[257,"ui-tooltip",{"content":[1],"placement":[1],"openDelay":[2,"open-delay"],"visible":[32]}]]],["ui-spinner.cjs",[[1,"ui-spinner",{"size":[1]}]]],["ui-toast.cjs",[[1,"ui-toast",{"open":[1540],"variant":[1],"heading":[1],"description":[1],"duration":[2],"show":[64],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]]], options);
22
22
  });
23
23
 
24
24
  exports.setNonce = index.setNonce;
@@ -3,6 +3,7 @@
3
3
  "components/ui-alert/ui-alert.js",
4
4
  "components/ui-badge/ui-badge.js",
5
5
  "components/ui-button/ui-button.js",
6
+ "components/ui-combobox/ui-combobox.js",
6
7
  "components/ui-container/ui-container.js",
7
8
  "components/ui-grid/ui-grid.js",
8
9
  "components/ui-spinner/ui-spinner.js",
@@ -12,6 +13,7 @@
12
13
  "components/ui-separator/ui-separator.js",
13
14
  "components/ui-stack/ui-stack.js",
14
15
  "components/ui-stat/ui-stat.js",
16
+ "components/ui-table/ui-table.js",
15
17
  "components/ui-tabs/ui-tabs.js",
16
18
  "components/ui-toast/ui-toast.js",
17
19
  "components/ui-toaster/ui-toaster.js",
@@ -23,17 +25,22 @@
23
25
  "components/ui-breadcrumb-item/ui-breadcrumb-item.js",
24
26
  "components/ui-card/ui-card.js",
25
27
  "components/ui-checkbox/ui-checkbox.js",
28
+ "components/ui-date-picker/ui-date-picker.js",
26
29
  "components/ui-dialog/ui-dialog.js",
27
30
  "components/ui-drawer/ui-drawer.js",
28
31
  "components/ui-dropdown-item/ui-dropdown-item.js",
29
32
  "components/ui-dropdown-menu/ui-dropdown-menu.js",
30
33
  "components/ui-field/ui-field.js",
34
+ "components/ui-file-upload/ui-file-upload.js",
31
35
  "components/ui-input/ui-input.js",
32
36
  "components/ui-label/ui-label.js",
33
37
  "components/ui-loading-overlay/ui-loading-overlay.js",
38
+ "components/ui-navbar/ui-navbar.js",
34
39
  "components/ui-pagination/ui-pagination.js",
35
40
  "components/ui-popover/ui-popover.js",
36
41
  "components/ui-progress/ui-progress.js",
42
+ "components/ui-progress-circular/ui-progress-circular.js",
43
+ "components/ui-rating/ui-rating.js",
37
44
  "components/ui-reveal/ui-reveal.js",
38
45
  "components/ui-scroll-progress/ui-scroll-progress.js",
39
46
  "components/ui-section/ui-section.js",
@@ -1,7 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class UiAccordion {
3
3
  render() {
4
- return (h(Host, { key: '839f17ea9b81b97b0ca49e89d9907c6a0571f049' }, h("slot", { key: '71badd4150a835acfaa0d5867287a30c8a0b7936' })));
4
+ return (h(Host, { key: '0242c529aecf9b0f35958f21f9df65d4cba8ba37' }, h("slot", { key: '394493e0939fa0224be6233830f588e88e49a2d3' })));
5
5
  }
6
6
  static get is() { return "ui-accordion"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -12,7 +12,7 @@ export class UiAccordionItem {
12
12
  };
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: '4b2e9ef0cda9117df86bef529c4bead45bbe8090' }, h("details", { key: '18c5ff6f8d9ac966d36240949670d84fc2603883', open: this.open, onToggle: this.onToggle }, h("summary", { key: '608bb56fe9b4558d50dc50be2edb922233de35aa' }, h("span", { key: '5d65f0199fff46a4a32139ab1565533dfb299ea9', class: "heading" }, this.heading), h("svg", { key: 'dd32e7223d4eab848185fe027e86892643e98070', class: "chevron", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("polyline", { key: 'd9d02a5e5cfe20a77ae5cd6e383962656038d6d5', points: "6 9 12 15 18 9" }))), h("div", { key: 'b82b7a754b6eb160044b0eadf85ff7a8812e80a5', class: "content" }, h("slot", { key: 'c6a5b13158bbef248980737d9cea866178d2122c' })))));
15
+ return (h(Host, { key: '613b3accfe538702304aeaa7d826297948cd2c45' }, h("details", { key: '912854f32a5e15fbb2e708b4de5e0c4059733722', open: this.open, onToggle: this.onToggle }, h("summary", { key: '814a3332eb5dd4fbf340ae7cdb55fe8f618c0253' }, h("span", { key: '63ab8d2d1a60ea7327577b80547897aa0d78e2dd', class: "heading" }, this.heading), h("svg", { key: 'c6812c39cbe86ad0e09d61d44bfff3784c93d462', class: "chevron", width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("polyline", { key: '67969ddf96e125133c9b7a4d59edb5a9af21a319', points: "6 9 12 15 18 9" }))), h("div", { key: 'e8e1adb834e3749848db663b0a27b672fb33302d', class: "content" }, h("slot", { key: '3d22b0d25f5000e6e9402658ec52996c2f9f3c09' })))));
16
16
  }
17
17
  static get is() { return "ui-accordion-item"; }
18
18
  static get encapsulation() { return "shadow"; }
@@ -5,7 +5,7 @@ export class UiAvatar {
5
5
  this.alt = "";
6
6
  }
7
7
  render() {
8
- return (h(Host, { key: '0a3b07acb18d2ddeecf3b072fcd6913dbc187474' }, h("span", { key: '9b6c302f378ef47385f43d24a3fe491cdec0bfe0', class: "wrapper" }, h("span", { key: '5093f8e180da9c3b1583da7f651bc69be89821b9', class: "avatar" }, this.src ? (h("img", { class: "image", src: this.src, alt: this.alt })) : (h("span", { class: "fallback" }, this.fallback))), this.status && (h("span", { key: '920d70149458e747aef1ac35c945a0b403986928', class: `status status-${this.status}`, "aria-label": this.status })))));
8
+ return (h(Host, { key: '3f5862531fd7c0df254cca0be373c4f5661bac1c' }, h("span", { key: '2c831417964e89d68f3535321868aa0fab82df26', class: "wrapper" }, h("span", { key: '7573d9b9bdd3c07e7913002923722e19eb652d8e', class: "avatar" }, this.src ? (h("img", { class: "image", src: this.src, alt: this.alt })) : (h("span", { class: "fallback" }, this.fallback))), this.status && (h("span", { key: 'adb6bf39438427a853fffe2eb84b95474aa8c123', class: `status status-${this.status}`, "aria-label": this.status })))));
9
9
  }
10
10
  static get is() { return "ui-avatar"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -4,7 +4,7 @@ import { h, Host } from "@stencil/core";
4
4
  */
5
5
  export class UiAvatarGroup {
6
6
  render() {
7
- return (h(Host, { key: '2413b9065333e5beb192143529b60daceefc11fe' }, h("div", { key: 'df93cb1e73bc05abfee09226111da32f50bf908d', class: "group" }, h("slot", { key: 'fa7fc7b57b009355e32c904cc78b46848403c0eb' }))));
7
+ return (h(Host, { key: 'ffbc4f069a58a5c5e9bf014ec9fc41d11ceb24b8' }, h("div", { key: 'c6f7c559740f193c0347f7834169fbd2eb252272', class: "group" }, h("slot", { key: 'd66719ad68488098d753eefc8da5cc65bf6a85a4' }))));
8
8
  }
9
9
  static get is() { return "ui-avatar-group"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class UiBreadcrumb {
3
3
  render() {
4
- return (h(Host, { key: '3c86ea43e5dde2c8486b49f8c2ece55f66c4dec5' }, h("nav", { key: '6da35c2ffc4b7c2aa13d3321ed6227d97be59e80', "aria-label": "breadcrumb" }, h("ol", { key: '567cb7aaf4e8ae8f1e15369b45b482104f1264da' }, h("slot", { key: '5f942426d1195ea0eae8256ebfb01d25b6f350ab' })))));
4
+ return (h(Host, { key: '93726eb6ef05c505f409ec5b313e7db50c0d0a78' }, h("nav", { key: 'dc02b8d95d1c0998e2e7533ab8ed214fb9c19a63', "aria-label": "breadcrumb" }, h("ol", { key: '41dc2d7fe3cbf1b684723d759ef0d00f17bf2e00' }, h("slot", { key: 'eb64652ac37ca5ce1ebd865260ad1ac2c5dd7548' })))));
5
5
  }
6
6
  static get is() { return "ui-breadcrumb"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -9,7 +9,7 @@ export class UiBreadcrumbItem {
9
9
  }
10
10
  render() {
11
11
  const isLink = this.href && !this.current;
12
- return (h(Host, { key: '20d22dde2f7b6b4c03a76b4e6be851a0c4cd39d5' }, isLink ? (h("a", { class: "link", href: this.href }, h("slot", null))) : (h("span", { class: "current", "aria-current": this.current ? "page" : undefined }, h("slot", null))), !this.current && this.renderSeparator()));
12
+ return (h(Host, { key: '20f1a108e5275c29e2fbb243720a8b70efb10b24' }, isLink ? (h("a", { class: "link", href: this.href }, h("slot", null))) : (h("span", { class: "current", "aria-current": this.current ? "page" : undefined }, h("slot", null))), !this.current && this.renderSeparator()));
13
13
  }
14
14
  static get is() { return "ui-breadcrumb-item"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -19,6 +19,8 @@
19
19
  white-space: nowrap;
20
20
  border: 1px solid transparent;
21
21
  border-radius: var(--ui-radius-full);
22
+ background: transparent;
23
+ color: var(--ui-foreground);
22
24
  font-family: var(--ui-font-sans);
23
25
  font-weight: 500;
24
26
  cursor: pointer;
@@ -1,7 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class UiCard {
3
3
  render() {
4
- return (h(Host, { key: '39ddf0a9974086fcc9ad3fc89f1e1d6858e2fead' }, h("div", { key: 'e8e510a468dc662f9fc76affce785a9b37edc205', class: "card" }, h("slot", { key: 'ee92d4bc2fa1738d84689d989d4e113d515acc83', name: "title" }), h("slot", { key: '6e87c2406474b6ea2aa370d1602ff02a89c4f4d5', name: "description" }), h("slot", { key: 'a388b4bc2d9c5e328ade55ac38c870afc9ade82c' }), h("slot", { key: '071ce297db672e332cf2d354a395b07e100b16a1', name: "footer" }))));
4
+ return (h(Host, { key: '2f6568112992159a78a5c9dac99bd1a453cd779a' }, h("div", { key: '3d76798bf20f98b20a8d7b1847896f9641585cda', class: "card" }, h("slot", { key: 'cf396f9448c56b96859072327f5f82bb00f0c36d', name: "title" }), h("slot", { key: '04fdf85b8c4ffa318b084616ba902998d085a990', name: "description" }), h("slot", { key: 'a716446f123d47c8f47bea6915ac7489dd41fd45' }), h("slot", { key: '9b2e4abc3987a04e72b13eff8cacf3257b89f174', name: "footer" }))));
5
5
  }
6
6
  static get is() { return "ui-card"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -19,7 +19,7 @@ export class UiCheckbox {
19
19
  };
20
20
  }
21
21
  render() {
22
- return (h(Host, { key: '73477b35af6a093e87ae8a5b33232690888ca98c' }, h("button", { key: '235b0102bbdd9a0ef23c3230acbba9aebdb06898', class: "checkbox", type: "button", role: "checkbox", "aria-checked": this.checked ? "true" : "false", disabled: this.disabled, onClick: this.toggle, onKeyDown: this.onKeyDown }, h("svg", { key: '3aaa64d1d173991b2c785298586aab66471e9285', class: "check", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("polyline", { key: 'baaca1ba97901e5a9d4e97640221f35cdeb02351', points: "20 6 9 17 4 12" })))));
22
+ return (h(Host, { key: 'ec07dd3898dfb9eeac1a07d41895be145a8f03f0' }, h("button", { key: '7d1e72daf042994ba140703e5f8ce2bb5558932d', class: "checkbox", type: "button", role: "checkbox", "aria-checked": this.checked ? "true" : "false", disabled: this.disabled, onClick: this.toggle, onKeyDown: this.onKeyDown }, h("svg", { key: 'f1a59bc59f90e6bce5b289a4a05da51778788c19', class: "check", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "3", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("polyline", { key: '6ea7bc0406e6e8befd6ceea7193423bd433d9a63', points: "20 6 9 17 4 12" })))));
23
23
  }
24
24
  static get is() { return "ui-checkbox"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -0,0 +1,93 @@
1
+ :host {
2
+ display: block;
3
+ }
4
+
5
+ .field {
6
+ display: flex;
7
+ align-items: center;
8
+ gap: 0.5rem;
9
+ width: 100%;
10
+ height: 2.75rem;
11
+ padding: 0 0.875rem;
12
+ border: 1px solid var(--ui-border);
13
+ border-radius: var(--ui-radius-sm);
14
+ background: var(--ui-panel);
15
+ backdrop-filter: blur(22px);
16
+ transition: all var(--ui-duration) var(--ui-ease);
17
+ box-sizing: border-box;
18
+ }
19
+
20
+ .field:hover {
21
+ border-color: var(--ui-border-strong);
22
+ }
23
+
24
+ .field:focus-within {
25
+ border-color: var(--ui-accent);
26
+ box-shadow: 0 0 0 2px var(--ui-ring);
27
+ }
28
+
29
+ .input {
30
+ flex: 1;
31
+ min-width: 0;
32
+ height: 100%;
33
+ border: none;
34
+ background: transparent;
35
+ color: var(--ui-foreground);
36
+ font-family: var(--ui-font-sans);
37
+ font-size: 0.875rem;
38
+ outline: none;
39
+ }
40
+
41
+ .input::placeholder {
42
+ color: var(--ui-text-faint);
43
+ }
44
+
45
+ .list {
46
+ position: fixed;
47
+ top: 0;
48
+ left: 0;
49
+ z-index: 50;
50
+ max-height: 16rem;
51
+ overflow-y: auto;
52
+ padding: 0.25rem;
53
+ font-family: var(--ui-font-sans);
54
+ color: var(--ui-foreground);
55
+ border: 1px solid var(--ui-border);
56
+ background: var(--ui-panel-strong);
57
+ box-shadow: var(--ui-shadow-lg);
58
+ backdrop-filter: blur(22px);
59
+ border-radius: var(--ui-radius);
60
+ visibility: hidden;
61
+ opacity: 0;
62
+ transition:
63
+ opacity var(--ui-duration) var(--ui-ease),
64
+ visibility var(--ui-duration) var(--ui-ease);
65
+ }
66
+
67
+ .list.is-open {
68
+ visibility: visible;
69
+ opacity: 1;
70
+ }
71
+
72
+ .option {
73
+ padding: 0.5rem 0.75rem;
74
+ font-size: 0.875rem;
75
+ color: var(--ui-foreground);
76
+ border-radius: var(--ui-radius-sm);
77
+ cursor: pointer;
78
+ transition: background var(--ui-duration) var(--ui-ease);
79
+ }
80
+
81
+ .option.active {
82
+ background: var(--ui-chip);
83
+ }
84
+
85
+ .option.selected {
86
+ color: var(--ui-accent);
87
+ }
88
+
89
+ .empty {
90
+ padding: 0.5rem 0.75rem;
91
+ font-size: 0.875rem;
92
+ color: var(--ui-text-faint);
93
+ }
@@ -0,0 +1,248 @@
1
+ import { h, Host, } from "@stencil/core";
2
+ import { computePosition, autoUpdate, offset, flip, shift, size, } from "@floating-ui/dom";
3
+ export class UiCombobox {
4
+ constructor() {
5
+ /** Opções disponíveis para autocomplete. */
6
+ this.options = [];
7
+ /** Valor selecionado. */
8
+ this.value = "";
9
+ /** Placeholder do campo. */
10
+ this.placeholder = "";
11
+ /** Texto digitado no campo. */
12
+ this.query = "";
13
+ /** Indica se a lista flutuante está aberta. */
14
+ this.open = false;
15
+ /** Índice da opção destacada. */
16
+ this.activeIndex = -1;
17
+ this.listId = `ui-combobox-list-${Math.random().toString(36).slice(2, 9)}`;
18
+ this.onInput = (event) => {
19
+ this.query = event.target.value;
20
+ this.activeIndex = -1;
21
+ this.setOpen(true);
22
+ };
23
+ this.onFocus = () => {
24
+ this.setOpen(true);
25
+ };
26
+ this.onKeydown = (event) => {
27
+ const items = this.filtered;
28
+ switch (event.key) {
29
+ case "ArrowDown":
30
+ event.preventDefault();
31
+ if (!this.open) {
32
+ this.setOpen(true);
33
+ return;
34
+ }
35
+ if (items.length === 0)
36
+ return;
37
+ this.activeIndex = (this.activeIndex + 1) % items.length;
38
+ break;
39
+ case "ArrowUp":
40
+ event.preventDefault();
41
+ if (items.length === 0)
42
+ return;
43
+ this.activeIndex =
44
+ (this.activeIndex - 1 + items.length) % items.length;
45
+ break;
46
+ case "Enter":
47
+ if (this.open && this.activeIndex >= 0 && items[this.activeIndex]) {
48
+ event.preventDefault();
49
+ this.select(items[this.activeIndex]);
50
+ }
51
+ break;
52
+ case "Escape":
53
+ if (this.open) {
54
+ event.preventDefault();
55
+ this.setOpen(false);
56
+ }
57
+ break;
58
+ }
59
+ };
60
+ this.onDocumentClick = (event) => {
61
+ if (!this.open)
62
+ return;
63
+ if (event.composedPath().includes(this.host))
64
+ return;
65
+ this.setOpen(false);
66
+ };
67
+ }
68
+ componentWillLoad() {
69
+ const selected = this.options.find((option) => option.value === this.value);
70
+ if (selected)
71
+ this.query = selected.label;
72
+ }
73
+ disconnectedCallback() {
74
+ this.stop();
75
+ document.removeEventListener("click", this.onDocumentClick);
76
+ }
77
+ get filtered() {
78
+ const term = this.query.toLowerCase();
79
+ return this.options.filter((option) => option.label.toLowerCase().includes(term));
80
+ }
81
+ setOpen(value) {
82
+ if (this.open === value)
83
+ return;
84
+ this.open = value;
85
+ if (value) {
86
+ requestAnimationFrame(() => this.start());
87
+ document.addEventListener("click", this.onDocumentClick);
88
+ }
89
+ else {
90
+ this.stop();
91
+ this.activeIndex = -1;
92
+ document.removeEventListener("click", this.onDocumentClick);
93
+ }
94
+ }
95
+ start() {
96
+ if (!this.inputEl || !this.listEl)
97
+ return;
98
+ this.stop();
99
+ this.cleanup = autoUpdate(this.inputEl, this.listEl, () => {
100
+ if (!this.inputEl || !this.listEl)
101
+ return;
102
+ computePosition(this.inputEl, this.listEl, {
103
+ placement: "bottom-start",
104
+ middleware: [
105
+ offset(6),
106
+ flip(),
107
+ shift({ padding: 8 }),
108
+ size({
109
+ apply: ({ rects, elements }) => {
110
+ Object.assign(elements.floating.style, {
111
+ width: `${rects.reference.width}px`,
112
+ });
113
+ },
114
+ }),
115
+ ],
116
+ }).then(({ x, y }) => {
117
+ Object.assign(this.listEl.style, { left: `${x}px`, top: `${y}px` });
118
+ });
119
+ });
120
+ }
121
+ stop() {
122
+ this.cleanup?.();
123
+ this.cleanup = undefined;
124
+ }
125
+ select(option) {
126
+ this.value = option.value;
127
+ this.query = option.label;
128
+ this.setOpen(false);
129
+ this.uiChange.emit(option.value);
130
+ }
131
+ render() {
132
+ const items = this.filtered;
133
+ return (h(Host, { key: '64d332f96d0cb39e1889eb56dbf448f67e5ed240' }, h("div", { key: '30f829b5eff180aa97a2bbb2f90a4e289768df71', class: "field" }, h("input", { key: 'f6df95047db674d2e49d34fed6057cffc86eab49', class: "input", type: "text", role: "combobox", value: this.query, placeholder: this.placeholder, autocomplete: "off", "aria-expanded": this.open ? "true" : "false", "aria-controls": this.listId, "aria-autocomplete": "list", ref: (el) => (this.inputEl = el), onInput: this.onInput, onFocus: this.onFocus, onKeyDown: this.onKeydown })), h("div", { key: 'de55c7ad59dfa3e35aeac8799366e3ee849d1398', id: this.listId, class: { list: true, "is-open": this.open }, role: "listbox", ref: (el) => (this.listEl = el) }, items.length === 0 ? (h("div", { class: "empty" }, "Nenhum resultado")) : (items.map((option, index) => (h("div", { class: {
134
+ option: true,
135
+ active: index === this.activeIndex,
136
+ selected: option.value === this.value,
137
+ }, role: "option", "aria-selected": option.value === this.value ? "true" : "false", onMouseEnter: () => (this.activeIndex = index), onMouseDown: (event) => {
138
+ event.preventDefault();
139
+ this.select(option);
140
+ } }, option.label)))))));
141
+ }
142
+ static get is() { return "ui-combobox"; }
143
+ static get encapsulation() { return "shadow"; }
144
+ static get originalStyleUrls() {
145
+ return {
146
+ "$": ["ui-combobox.css"]
147
+ };
148
+ }
149
+ static get styleUrls() {
150
+ return {
151
+ "$": ["ui-combobox.css"]
152
+ };
153
+ }
154
+ static get properties() {
155
+ return {
156
+ "options": {
157
+ "type": "unknown",
158
+ "mutable": false,
159
+ "complexType": {
160
+ "original": "UiComboboxOption[]",
161
+ "resolved": "UiComboboxOption[]",
162
+ "references": {
163
+ "UiComboboxOption": {
164
+ "location": "local",
165
+ "path": "/Users/andersonespindola/.ghq/github.com/andersonflima/ui/packages/core/src/components/ui-combobox/ui-combobox.tsx",
166
+ "id": "src/components/ui-combobox/ui-combobox.tsx::UiComboboxOption"
167
+ }
168
+ }
169
+ },
170
+ "required": false,
171
+ "optional": false,
172
+ "docs": {
173
+ "tags": [],
174
+ "text": "Op\u00E7\u00F5es dispon\u00EDveis para autocomplete."
175
+ },
176
+ "getter": false,
177
+ "setter": false,
178
+ "defaultValue": "[]"
179
+ },
180
+ "value": {
181
+ "type": "string",
182
+ "mutable": true,
183
+ "complexType": {
184
+ "original": "string",
185
+ "resolved": "string",
186
+ "references": {}
187
+ },
188
+ "required": false,
189
+ "optional": false,
190
+ "docs": {
191
+ "tags": [],
192
+ "text": "Valor selecionado."
193
+ },
194
+ "getter": false,
195
+ "setter": false,
196
+ "reflect": false,
197
+ "attribute": "value",
198
+ "defaultValue": "\"\""
199
+ },
200
+ "placeholder": {
201
+ "type": "string",
202
+ "mutable": false,
203
+ "complexType": {
204
+ "original": "string",
205
+ "resolved": "string",
206
+ "references": {}
207
+ },
208
+ "required": false,
209
+ "optional": false,
210
+ "docs": {
211
+ "tags": [],
212
+ "text": "Placeholder do campo."
213
+ },
214
+ "getter": false,
215
+ "setter": false,
216
+ "reflect": false,
217
+ "attribute": "placeholder",
218
+ "defaultValue": "\"\""
219
+ }
220
+ };
221
+ }
222
+ static get states() {
223
+ return {
224
+ "query": {},
225
+ "open": {},
226
+ "activeIndex": {}
227
+ };
228
+ }
229
+ static get events() {
230
+ return [{
231
+ "method": "uiChange",
232
+ "name": "uiChange",
233
+ "bubbles": true,
234
+ "cancelable": true,
235
+ "composed": true,
236
+ "docs": {
237
+ "tags": [],
238
+ "text": "Emitido ao selecionar uma op\u00E7\u00E3o."
239
+ },
240
+ "complexType": {
241
+ "original": "string",
242
+ "resolved": "string",
243
+ "references": {}
244
+ }
245
+ }];
246
+ }
247
+ static get elementRef() { return "host"; }
248
+ }
@@ -12,7 +12,7 @@ export class UiContainer {
12
12
  [`size-${this.size}`]: true,
13
13
  padded: this.padded,
14
14
  };
15
- return (h(Host, { key: '4f00ee39f0ae347fafac349ee8e42c991c8013dd' }, h("div", { key: 'a0f8f0c6d418f119c6631d0387f9328af8fbb416', class: classes }, h("slot", { key: '86178f8371c958123fcf8b7e6bfe059aeed9f690' }))));
15
+ return (h(Host, { key: 'd9f407cdd15aa38d7e21898f4088d58846e38f22' }, h("div", { key: '7c7596a79dedc3daf94ac5440447c4608e037854', class: classes }, h("slot", { key: '5005378ea1514e2d96fa0cdba219055161ee6688' }))));
16
16
  }
17
17
  static get is() { return "ui-container"; }
18
18
  static get encapsulation() { return "shadow"; }