@andespindola/ui-core 0.1.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 (298) hide show
  1. package/README.md +45 -0
  2. package/dist/cjs/floating-ui.dom-BPemvNRD.js +1542 -0
  3. package/dist/cjs/index-Cb1tfi_9.js +1728 -0
  4. package/dist/cjs/index.cjs.js +2 -0
  5. package/dist/cjs/loader.cjs.js +12 -0
  6. package/dist/cjs/ui-accordion-item.cjs.entry.js +27 -0
  7. package/dist/cjs/ui-accordion.cjs.entry.js +17 -0
  8. package/dist/cjs/ui-avatar.cjs.entry.js +19 -0
  9. package/dist/cjs/ui-badge.cjs.entry.js +19 -0
  10. package/dist/cjs/ui-button.cjs.entry.js +31 -0
  11. package/dist/cjs/ui-card.cjs.entry.js +17 -0
  12. package/dist/cjs/ui-checkbox.cjs.entry.js +34 -0
  13. package/dist/cjs/ui-dialog.cjs.entry.js +57 -0
  14. package/dist/cjs/ui-drawer.cjs.entry.js +59 -0
  15. package/dist/cjs/ui-dropdown-item.cjs.entry.js +27 -0
  16. package/dist/cjs/ui-dropdown-menu.cjs.entry.js +97 -0
  17. package/dist/cjs/ui-field.cjs.entry.js +19 -0
  18. package/dist/cjs/ui-input.cjs.entry.js +35 -0
  19. package/dist/cjs/ui-label.cjs.entry.js +17 -0
  20. package/dist/cjs/ui-loading-overlay.cjs.entry.js +24 -0
  21. package/dist/cjs/ui-popover.cjs.entry.js +94 -0
  22. package/dist/cjs/ui-progress.cjs.entry.js +33 -0
  23. package/dist/cjs/ui-radio-group.cjs.entry.js +49 -0
  24. package/dist/cjs/ui-reveal.cjs.entry.js +41 -0
  25. package/dist/cjs/ui-scroll-progress.cjs.entry.js +37 -0
  26. package/dist/cjs/ui-section.cjs.entry.js +23 -0
  27. package/dist/cjs/ui-select.cjs.entry.js +28 -0
  28. package/dist/cjs/ui-separator.cjs.entry.js +19 -0
  29. package/dist/cjs/ui-skeleton.cjs.entry.js +17 -0
  30. package/dist/cjs/ui-slider.cjs.entry.js +37 -0
  31. package/dist/cjs/ui-spinner.cjs.entry.js +19 -0
  32. package/dist/cjs/ui-switch.cjs.entry.js +34 -0
  33. package/dist/cjs/ui-tabs.cjs.entry.js +31 -0
  34. package/dist/cjs/ui-textarea.cjs.entry.js +35 -0
  35. package/dist/cjs/ui-theme-toggle.cjs.entry.js +65 -0
  36. package/dist/cjs/ui-toast.cjs.entry.js +67 -0
  37. package/dist/cjs/ui-toaster.cjs.entry.js +29 -0
  38. package/dist/cjs/ui-tooltip.cjs.entry.js +64 -0
  39. package/dist/cjs/uikit.cjs.js +24 -0
  40. package/dist/collection/collection-manifest.json +45 -0
  41. package/dist/collection/components/ui-accordion/ui-accordion.css +4 -0
  42. package/dist/collection/components/ui-accordion/ui-accordion.js +18 -0
  43. package/dist/collection/components/ui-accordion-item/ui-accordion-item.css +42 -0
  44. package/dist/collection/components/ui-accordion-item/ui-accordion-item.js +91 -0
  45. package/dist/collection/components/ui-avatar/ui-avatar.css +30 -0
  46. package/dist/collection/components/ui-avatar/ui-avatar.js +84 -0
  47. package/dist/collection/components/ui-badge/ui-badge.css +46 -0
  48. package/dist/collection/components/ui-badge/ui-badge.js +52 -0
  49. package/dist/collection/components/ui-button/ui-button.css +130 -0
  50. package/dist/collection/components/ui-button/ui-button.js +150 -0
  51. package/dist/collection/components/ui-card/ui-card.css +24 -0
  52. package/dist/collection/components/ui-card/ui-card.js +18 -0
  53. package/dist/collection/components/ui-checkbox/ui-checkbox.css +46 -0
  54. package/dist/collection/components/ui-checkbox/ui-checkbox.js +136 -0
  55. package/dist/collection/components/ui-dialog/ui-dialog.css +48 -0
  56. package/dist/collection/components/ui-dialog/ui-dialog.js +140 -0
  57. package/dist/collection/components/ui-drawer/ui-drawer.css +88 -0
  58. package/dist/collection/components/ui-drawer/ui-drawer.js +162 -0
  59. package/dist/collection/components/ui-dropdown-item/ui-dropdown-item.css +36 -0
  60. package/dist/collection/components/ui-dropdown-item/ui-dropdown-item.js +71 -0
  61. package/dist/collection/components/ui-dropdown-menu/ui-dropdown-menu.css +39 -0
  62. package/dist/collection/components/ui-dropdown-menu/ui-dropdown-menu.js +216 -0
  63. package/dist/collection/components/ui-field/ui-field.css +34 -0
  64. package/dist/collection/components/ui-field/ui-field.js +122 -0
  65. package/dist/collection/components/ui-input/ui-input.css +40 -0
  66. package/dist/collection/components/ui-input/ui-input.js +191 -0
  67. package/dist/collection/components/ui-label/ui-label.css +10 -0
  68. package/dist/collection/components/ui-label/ui-label.js +18 -0
  69. package/dist/collection/components/ui-loading-overlay/ui-loading-overlay.css +24 -0
  70. package/dist/collection/components/ui-loading-overlay/ui-loading-overlay.js +102 -0
  71. package/dist/collection/components/ui-popover/ui-popover.css +36 -0
  72. package/dist/collection/components/ui-popover/ui-popover.js +204 -0
  73. package/dist/collection/components/ui-progress/ui-progress.css +32 -0
  74. package/dist/collection/components/ui-progress/ui-progress.js +100 -0
  75. package/dist/collection/components/ui-radio-group/ui-radio-group.css +67 -0
  76. package/dist/collection/components/ui-radio-group/ui-radio-group.js +155 -0
  77. package/dist/collection/components/ui-reveal/ui-reveal.css +17 -0
  78. package/dist/collection/components/ui-reveal/ui-reveal.js +73 -0
  79. package/dist/collection/components/ui-scroll-progress/ui-scroll-progress.css +20 -0
  80. package/dist/collection/components/ui-scroll-progress/ui-scroll-progress.js +45 -0
  81. package/dist/collection/components/ui-section/ui-section.css +32 -0
  82. package/dist/collection/components/ui-section/ui-section.js +90 -0
  83. package/dist/collection/components/ui-select/ui-select.css +49 -0
  84. package/dist/collection/components/ui-select/ui-select.js +153 -0
  85. package/dist/collection/components/ui-separator/ui-separator.css +15 -0
  86. package/dist/collection/components/ui-separator/ui-separator.js +52 -0
  87. package/dist/collection/components/ui-skeleton/ui-skeleton.css +27 -0
  88. package/dist/collection/components/ui-skeleton/ui-skeleton.js +18 -0
  89. package/dist/collection/components/ui-slider/ui-slider.css +80 -0
  90. package/dist/collection/components/ui-slider/ui-slider.js +175 -0
  91. package/dist/collection/components/ui-spinner/ui-spinner.css +39 -0
  92. package/dist/collection/components/ui-spinner/ui-spinner.js +52 -0
  93. package/dist/collection/components/ui-switch/ui-switch.css +47 -0
  94. package/dist/collection/components/ui-switch/ui-switch.js +98 -0
  95. package/dist/collection/components/ui-tabs/ui-tabs.css +38 -0
  96. package/dist/collection/components/ui-tabs/ui-tabs.js +99 -0
  97. package/dist/collection/components/ui-textarea/ui-textarea.css +42 -0
  98. package/dist/collection/components/ui-textarea/ui-textarea.js +191 -0
  99. package/dist/collection/components/ui-theme-toggle/ui-theme-toggle.css +28 -0
  100. package/dist/collection/components/ui-theme-toggle/ui-theme-toggle.js +90 -0
  101. package/dist/collection/components/ui-toast/ui-toast.css +81 -0
  102. package/dist/collection/components/ui-toast/ui-toast.js +234 -0
  103. package/dist/collection/components/ui-toaster/ui-toaster.css +15 -0
  104. package/dist/collection/components/ui-toaster/ui-toaster.js +67 -0
  105. package/dist/collection/components/ui-tooltip/ui-tooltip.css +37 -0
  106. package/dist/collection/components/ui-tooltip/ui-tooltip.js +143 -0
  107. package/dist/collection/index.js +1 -0
  108. package/dist/components/index.d.ts +35 -0
  109. package/dist/components/index.js +1 -0
  110. package/dist/components/p-Bz9HyboB.js +1 -0
  111. package/dist/components/p-C8ePpPG3.js +1 -0
  112. package/dist/components/p-CyBRmmbs.js +1 -0
  113. package/dist/components/ui-accordion-item.d.ts +11 -0
  114. package/dist/components/ui-accordion-item.js +1 -0
  115. package/dist/components/ui-accordion.d.ts +11 -0
  116. package/dist/components/ui-accordion.js +1 -0
  117. package/dist/components/ui-avatar.d.ts +11 -0
  118. package/dist/components/ui-avatar.js +1 -0
  119. package/dist/components/ui-badge.d.ts +11 -0
  120. package/dist/components/ui-badge.js +1 -0
  121. package/dist/components/ui-button.d.ts +11 -0
  122. package/dist/components/ui-button.js +1 -0
  123. package/dist/components/ui-card.d.ts +11 -0
  124. package/dist/components/ui-card.js +1 -0
  125. package/dist/components/ui-checkbox.d.ts +11 -0
  126. package/dist/components/ui-checkbox.js +1 -0
  127. package/dist/components/ui-dialog.d.ts +11 -0
  128. package/dist/components/ui-dialog.js +1 -0
  129. package/dist/components/ui-drawer.d.ts +11 -0
  130. package/dist/components/ui-drawer.js +1 -0
  131. package/dist/components/ui-dropdown-item.d.ts +11 -0
  132. package/dist/components/ui-dropdown-item.js +1 -0
  133. package/dist/components/ui-dropdown-menu.d.ts +11 -0
  134. package/dist/components/ui-dropdown-menu.js +1 -0
  135. package/dist/components/ui-field.d.ts +11 -0
  136. package/dist/components/ui-field.js +1 -0
  137. package/dist/components/ui-input.d.ts +11 -0
  138. package/dist/components/ui-input.js +1 -0
  139. package/dist/components/ui-label.d.ts +11 -0
  140. package/dist/components/ui-label.js +1 -0
  141. package/dist/components/ui-loading-overlay.d.ts +11 -0
  142. package/dist/components/ui-loading-overlay.js +1 -0
  143. package/dist/components/ui-popover.d.ts +11 -0
  144. package/dist/components/ui-popover.js +1 -0
  145. package/dist/components/ui-progress.d.ts +11 -0
  146. package/dist/components/ui-progress.js +1 -0
  147. package/dist/components/ui-radio-group.d.ts +11 -0
  148. package/dist/components/ui-radio-group.js +1 -0
  149. package/dist/components/ui-reveal.d.ts +11 -0
  150. package/dist/components/ui-reveal.js +1 -0
  151. package/dist/components/ui-scroll-progress.d.ts +11 -0
  152. package/dist/components/ui-scroll-progress.js +1 -0
  153. package/dist/components/ui-section.d.ts +11 -0
  154. package/dist/components/ui-section.js +1 -0
  155. package/dist/components/ui-select.d.ts +11 -0
  156. package/dist/components/ui-select.js +1 -0
  157. package/dist/components/ui-separator.d.ts +11 -0
  158. package/dist/components/ui-separator.js +1 -0
  159. package/dist/components/ui-skeleton.d.ts +11 -0
  160. package/dist/components/ui-skeleton.js +1 -0
  161. package/dist/components/ui-slider.d.ts +11 -0
  162. package/dist/components/ui-slider.js +1 -0
  163. package/dist/components/ui-spinner.d.ts +11 -0
  164. package/dist/components/ui-spinner.js +1 -0
  165. package/dist/components/ui-switch.d.ts +11 -0
  166. package/dist/components/ui-switch.js +1 -0
  167. package/dist/components/ui-tabs.d.ts +11 -0
  168. package/dist/components/ui-tabs.js +1 -0
  169. package/dist/components/ui-textarea.d.ts +11 -0
  170. package/dist/components/ui-textarea.js +1 -0
  171. package/dist/components/ui-theme-toggle.d.ts +11 -0
  172. package/dist/components/ui-theme-toggle.js +1 -0
  173. package/dist/components/ui-toast.d.ts +11 -0
  174. package/dist/components/ui-toast.js +1 -0
  175. package/dist/components/ui-toaster.d.ts +11 -0
  176. package/dist/components/ui-toaster.js +1 -0
  177. package/dist/components/ui-tooltip.d.ts +11 -0
  178. package/dist/components/ui-tooltip.js +1 -0
  179. package/dist/esm/floating-ui.dom-CyBRmmbs.js +1536 -0
  180. package/dist/esm/index-DYwlrXg_.js +1718 -0
  181. package/dist/esm/index.js +1 -0
  182. package/dist/esm/loader.js +10 -0
  183. package/dist/esm/ui-accordion-item.entry.js +25 -0
  184. package/dist/esm/ui-accordion.entry.js +15 -0
  185. package/dist/esm/ui-avatar.entry.js +17 -0
  186. package/dist/esm/ui-badge.entry.js +17 -0
  187. package/dist/esm/ui-button.entry.js +29 -0
  188. package/dist/esm/ui-card.entry.js +15 -0
  189. package/dist/esm/ui-checkbox.entry.js +32 -0
  190. package/dist/esm/ui-dialog.entry.js +55 -0
  191. package/dist/esm/ui-drawer.entry.js +57 -0
  192. package/dist/esm/ui-dropdown-item.entry.js +25 -0
  193. package/dist/esm/ui-dropdown-menu.entry.js +95 -0
  194. package/dist/esm/ui-field.entry.js +17 -0
  195. package/dist/esm/ui-input.entry.js +33 -0
  196. package/dist/esm/ui-label.entry.js +15 -0
  197. package/dist/esm/ui-loading-overlay.entry.js +22 -0
  198. package/dist/esm/ui-popover.entry.js +92 -0
  199. package/dist/esm/ui-progress.entry.js +31 -0
  200. package/dist/esm/ui-radio-group.entry.js +47 -0
  201. package/dist/esm/ui-reveal.entry.js +39 -0
  202. package/dist/esm/ui-scroll-progress.entry.js +35 -0
  203. package/dist/esm/ui-section.entry.js +21 -0
  204. package/dist/esm/ui-select.entry.js +26 -0
  205. package/dist/esm/ui-separator.entry.js +17 -0
  206. package/dist/esm/ui-skeleton.entry.js +15 -0
  207. package/dist/esm/ui-slider.entry.js +35 -0
  208. package/dist/esm/ui-spinner.entry.js +17 -0
  209. package/dist/esm/ui-switch.entry.js +32 -0
  210. package/dist/esm/ui-tabs.entry.js +29 -0
  211. package/dist/esm/ui-textarea.entry.js +33 -0
  212. package/dist/esm/ui-theme-toggle.entry.js +63 -0
  213. package/dist/esm/ui-toast.entry.js +65 -0
  214. package/dist/esm/ui-toaster.entry.js +27 -0
  215. package/dist/esm/ui-tooltip.entry.js +62 -0
  216. package/dist/esm/uikit.js +20 -0
  217. package/dist/index.cjs.js +1 -0
  218. package/dist/index.js +1 -0
  219. package/dist/types/components/ui-accordion/ui-accordion.d.ts +3 -0
  220. package/dist/types/components/ui-accordion-item/ui-accordion-item.d.ts +11 -0
  221. package/dist/types/components/ui-avatar/ui-avatar.d.ts +9 -0
  222. package/dist/types/components/ui-badge/ui-badge.d.ts +6 -0
  223. package/dist/types/components/ui-button/ui-button.d.ts +15 -0
  224. package/dist/types/components/ui-card/ui-card.d.ts +3 -0
  225. package/dist/types/components/ui-checkbox/ui-checkbox.d.ts +16 -0
  226. package/dist/types/components/ui-dialog/ui-dialog.d.ts +18 -0
  227. package/dist/types/components/ui-drawer/ui-drawer.d.ts +20 -0
  228. package/dist/types/components/ui-dropdown-item/ui-dropdown-item.d.ts +10 -0
  229. package/dist/types/components/ui-dropdown-menu/ui-dropdown-menu.d.ts +28 -0
  230. package/dist/types/components/ui-field/ui-field.d.ts +13 -0
  231. package/dist/types/components/ui-input/ui-input.d.ts +22 -0
  232. package/dist/types/components/ui-label/ui-label.d.ts +3 -0
  233. package/dist/types/components/ui-loading-overlay/ui-loading-overlay.d.ts +15 -0
  234. package/dist/types/components/ui-popover/ui-popover.d.ts +27 -0
  235. package/dist/types/components/ui-progress/ui-progress.d.ts +11 -0
  236. package/dist/types/components/ui-radio-group/ui-radio-group.d.ts +20 -0
  237. package/dist/types/components/ui-reveal/ui-reveal.d.ts +11 -0
  238. package/dist/types/components/ui-scroll-progress/ui-scroll-progress.d.ts +8 -0
  239. package/dist/types/components/ui-section/ui-section.d.ts +9 -0
  240. package/dist/types/components/ui-select/ui-select.d.ts +21 -0
  241. package/dist/types/components/ui-separator/ui-separator.d.ts +6 -0
  242. package/dist/types/components/ui-skeleton/ui-skeleton.d.ts +3 -0
  243. package/dist/types/components/ui-slider/ui-slider.d.ts +20 -0
  244. package/dist/types/components/ui-spinner/ui-spinner.d.ts +6 -0
  245. package/dist/types/components/ui-switch/ui-switch.d.ts +12 -0
  246. package/dist/types/components/ui-tabs/ui-tabs.d.ts +15 -0
  247. package/dist/types/components/ui-textarea/ui-textarea.d.ts +22 -0
  248. package/dist/types/components/ui-theme-toggle/ui-theme-toggle.d.ts +13 -0
  249. package/dist/types/components/ui-toast/ui-toast.d.ts +28 -0
  250. package/dist/types/components/ui-toaster/ui-toaster.d.ts +19 -0
  251. package/dist/types/components/ui-tooltip/ui-tooltip.d.ts +21 -0
  252. package/dist/types/components.d.ts +1727 -0
  253. package/dist/types/index.d.ts +1 -0
  254. package/dist/types/stencil-public-runtime.d.ts +1861 -0
  255. package/dist/uikit/index.esm.js +0 -0
  256. package/dist/uikit/p-06d6d907.entry.js +1 -0
  257. package/dist/uikit/p-0fb4949b.entry.js +1 -0
  258. package/dist/uikit/p-162302d1.entry.js +1 -0
  259. package/dist/uikit/p-19b81437.entry.js +1 -0
  260. package/dist/uikit/p-24edfe3e.entry.js +1 -0
  261. package/dist/uikit/p-3d30bc7a.entry.js +1 -0
  262. package/dist/uikit/p-4382718f.entry.js +1 -0
  263. package/dist/uikit/p-4a1abc1c.entry.js +1 -0
  264. package/dist/uikit/p-57058c30.entry.js +1 -0
  265. package/dist/uikit/p-5df32809.entry.js +1 -0
  266. package/dist/uikit/p-5ea42ee5.entry.js +1 -0
  267. package/dist/uikit/p-629c1728.entry.js +1 -0
  268. package/dist/uikit/p-76f0f79f.entry.js +1 -0
  269. package/dist/uikit/p-83159bfc.entry.js +1 -0
  270. package/dist/uikit/p-8bcd423c.entry.js +1 -0
  271. package/dist/uikit/p-8cebbe65.entry.js +1 -0
  272. package/dist/uikit/p-90d49509.entry.js +1 -0
  273. package/dist/uikit/p-94fb298e.entry.js +1 -0
  274. package/dist/uikit/p-9aa557d1.entry.js +1 -0
  275. package/dist/uikit/p-9c57cf57.entry.js +1 -0
  276. package/dist/uikit/p-9d784b04.entry.js +1 -0
  277. package/dist/uikit/p-9e7b81ef.entry.js +1 -0
  278. package/dist/uikit/p-9f7c6ca8.entry.js +1 -0
  279. package/dist/uikit/p-CyBRmmbs.js +1 -0
  280. package/dist/uikit/p-DYwlrXg_.js +2 -0
  281. package/dist/uikit/p-a7be1c69.entry.js +1 -0
  282. package/dist/uikit/p-b30aa6a6.entry.js +1 -0
  283. package/dist/uikit/p-b61e3df4.entry.js +1 -0
  284. package/dist/uikit/p-c72ed105.entry.js +1 -0
  285. package/dist/uikit/p-cb2adfb7.entry.js +1 -0
  286. package/dist/uikit/p-cf10ca3b.entry.js +1 -0
  287. package/dist/uikit/p-e410c789.entry.js +1 -0
  288. package/dist/uikit/p-f7402442.entry.js +1 -0
  289. package/dist/uikit/p-fd05c146.entry.js +1 -0
  290. package/dist/uikit/p-fd1648bf.entry.js +1 -0
  291. package/dist/uikit/uikit.css +6 -0
  292. package/dist/uikit/uikit.esm.js +1 -0
  293. package/loader/cdn.js +1 -0
  294. package/loader/index.cjs.js +1 -0
  295. package/loader/index.d.ts +24 -0
  296. package/loader/index.es2017.js +1 -0
  297. package/loader/index.js +2 -0
  298. package/package.json +48 -0
@@ -0,0 +1 @@
1
+ import{t as e,p as t,H as o,c as i,h as a,a as s}from"./index.js";const r=t(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.uiToggle=i(this,"uiToggle"),this.heading="",this.open=!1,this.onToggle=e=>{this.open=e.currentTarget.open,this.uiToggle.emit(this.open)}}render(){return a(s,{key:"c1c8a792a0e8ab52c4750af995c98ffda3b47cf0"},a("details",{key:"3eaa096ad9a9b0f22fe0b2a34b254deb4e6b7df5",open:this.open,onToggle:this.onToggle},a("summary",{key:"eb86d25aa684879440b87ce1113d282fb07e81ce"},a("span",{key:"c70e1823bec0a32432cf74438c6d62a7b145e067",class:"heading"},this.heading),a("svg",{key:"65f9e9179ec29d10115a6938be5fb2481bdcbcfc",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"},a("polyline",{key:"def877261275e0eb0f830651fe35d524497686b9",points:"6 9 12 15 18 9"}))),a("div",{key:"91c0120a4a7c02cbdb97bded4c77e6eeea63ce83",class:"content"},a("slot",{key:"590ed083fb0a3969bdadb2376532b4ceb9bcc597"}))))}static get style(){return":host{display:block;font-family:var(--ui-font-sans);border-bottom:1px solid var(--ui-border)}summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;cursor:pointer;font-weight:500;color:var(--ui-foreground);list-style:none;outline:none}summary::-webkit-details-marker{display:none}summary:focus-visible{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring);border-radius:var(--ui-radius-sm)}.chevron{flex:none;color:var(--ui-text-muted);transition:transform var(--ui-duration) var(--ui-ease)}details[open] .chevron{transform:rotate(180deg)}.content{padding-bottom:1rem;color:var(--ui-text-muted)}"}},[257,"ui-accordion-item",{heading:[1],open:[1540]}]);function n(){"undefined"!=typeof customElements&&["ui-accordion-item"].forEach((t=>{"ui-accordion-item"===t&&(customElements.get(e(t))||customElements.define(e(t),r))}))}n();const c=r,d=n;export{c as UiAccordionItem,d as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiAccordion extends Components.UiAccordion, HTMLElement {}
4
+ export const UiAccordion: {
5
+ prototype: UiAccordion;
6
+ new (): UiAccordion;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t,p as s,H as e,h as o,a as c}from"./index.js";const n=s(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return o(c,{key:"0d6a0faf16d8cacc925818349b38f8acaa186fdb"},o("slot",{key:"060f07d2ed0104666101f2984affc84eb33239d0"}))}static get style(){return":host{display:block;font-family:var(--ui-font-sans)}"}},[257,"ui-accordion"]);function a(){"undefined"!=typeof customElements&&["ui-accordion"].forEach((s=>{"ui-accordion"===s&&(customElements.get(t(s))||customElements.define(t(s),n))}))}a();const i=n,r=a;export{i as UiAccordion,r as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiAvatar extends Components.UiAvatar, HTMLElement {}
4
+ export const UiAvatar: {
5
+ prototype: UiAvatar;
6
+ new (): UiAvatar;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as a,p as t,H as e,h as i,a as s}from"./index.js";const r=t(class extends e{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.alt=""}render(){return i(s,{key:"5c1258b170c4bb32cca3177574292a2b7661ebf2"},i("span",{key:"35991cb32d1958e8c5b11ccba182e9d43531aadb",class:"avatar"},this.src?i("img",{class:"image",src:this.src,alt:this.alt}):i("span",{class:"fallback"},this.fallback)))}static get style(){return":host{display:inline-block;}.avatar{display:inline-flex;align-items:center;justify-content:center;width:var(--ui-avatar-size, 2.5rem);height:var(--ui-avatar-size, 2.5rem);border-radius:var(--ui-radius-full);border:1px solid var(--ui-border);background:var(--ui-chip);overflow:hidden;font-family:var(--ui-font-sans)}.image{width:100%;height:100%;object-fit:cover}.fallback{font-size:0.875rem;font-weight:500;color:var(--ui-text-muted);line-height:1}"}},[1,"ui-avatar",{src:[1],alt:[1],fallback:[1]}]);function c(){"undefined"!=typeof customElements&&["ui-avatar"].forEach((t=>{"ui-avatar"===t&&(customElements.get(a(t))||customElements.define(a(t),r))}))}c();const n=r,l=c;export{n as UiAvatar,l as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiBadge extends Components.UiBadge, HTMLElement {}
4
+ export const UiBadge: {
5
+ prototype: UiBadge;
6
+ new (): UiBadge;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as r,p as a,H as e,h as n,a as i}from"./index.js";const o=a(class extends e{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.variant="default"}render(){return n(i,{key:"260e9e23ffa9a624e17e5a794217402ab2167f31"},n("span",{key:"1b0d40c5b9a46c5928132d050e3c2f9e3bcd4ea8",class:{badge:!0,["variant-"+this.variant]:!0}},n("slot",{key:"9680659040a4d48bdb53415e40bbbef9819063d9"})))}static get style(){return":host{display:inline-flex}.badge{display:inline-flex;align-items:center;gap:0.25rem;border:1px solid transparent;border-radius:var(--ui-radius-full);padding:0.25rem 0.75rem;font-family:var(--ui-font-sans);font-size:0.75rem;font-weight:500;backdrop-filter:blur(22px)}.variant-default{background:var(--ui-chip);border-color:var(--ui-border);color:var(--ui-text-soft)}.variant-solid{background:var(--ui-accent);color:var(--ui-accent-contrast)}.variant-outline{border-color:var(--ui-border-strong);color:var(--ui-foreground)}.variant-success{background:color-mix(in srgb, var(--ui-success) 15%, transparent);color:var(--ui-success)}.variant-warning{background:color-mix(in srgb, var(--ui-warning) 15%, transparent);color:var(--ui-warning)}.variant-danger{background:color-mix(in srgb, var(--ui-danger) 15%, transparent);color:var(--ui-danger)}.variant-info{background:color-mix(in srgb, var(--ui-info) 15%, transparent);color:var(--ui-info)}"}},[257,"ui-badge",{variant:[1]}]);function t(){"undefined"!=typeof customElements&&["ui-badge"].forEach((a=>{"ui-badge"===a&&(customElements.get(r(a))||customElements.define(r(a),o))}))}t();const s=o,c=t;export{s as UiBadge,c as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiButton extends Components.UiButton, HTMLElement {}
4
+ export const UiButton: {
5
+ prototype: UiButton;
6
+ new (): UiButton;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as r,p as t,H as e,h as i,a}from"./index.js";const n=t(class extends e{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.variant="default",this.size="md",this.disabled=!1,this.loading=!1,this.type="button"}render(){return i(a,{key:"bf18a1f72babada2698ce42f54bf2d73b0d41d0b"},i("button",{key:"f08a766e14d139d7031dac4fa5846fbc0749328f",class:{btn:!0,["variant-"+this.variant]:!0,["size-"+this.size]:!0},type:this.type,disabled:this.disabled||this.loading,"aria-busy":this.loading?"true":null},this.loading&&i("span",{key:"a3e87dd124b697050a657b9957884c231aa58c54",class:"spinner","aria-hidden":"true"}),i("slot",{key:"87a720f06602011042d70a91918a0b2157abb163"})))}static get style(){return":host{display:inline-block}.btn{display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;white-space:nowrap;border:1px solid transparent;border-radius:var(--ui-radius-full);font-family:var(--ui-font-sans);font-weight:500;cursor:pointer;outline:none;transition:all var(--ui-duration) var(--ui-ease)}.btn:active{transform:scale(0.98)}.btn:focus-visible{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring)}.btn:disabled{pointer-events:none;opacity:0.5}.size-sm{height:2.25rem;padding:0 1rem;font-size:0.75rem}.size-md{height:2.75rem;padding:0 1.25rem;font-size:0.875rem}.size-lg{height:3rem;padding:0 1.5rem;font-size:1rem}.size-icon{height:2.5rem;width:2.5rem;padding:0}.variant-solid{background:var(--ui-accent);color:var(--ui-accent-contrast);box-shadow:var(--ui-shadow)}.variant-solid:hover{filter:brightness(1.1)}.variant-default{background:var(--ui-panel-strong);color:var(--ui-foreground);border-color:var(--ui-border);backdrop-filter:blur(22px)}.variant-default:hover{border-color:var(--ui-border-strong)}.variant-subtle{background:var(--ui-chip);color:var(--ui-foreground);border-color:var(--ui-border);backdrop-filter:blur(22px)}.variant-subtle:hover{background:var(--ui-panel)}.variant-outline{color:var(--ui-foreground);border-color:var(--ui-border-strong)}.variant-outline:hover{background:var(--ui-chip)}.variant-ghost{color:var(--ui-text-soft)}.variant-ghost:hover{background:var(--ui-chip)}.variant-destructive{background:var(--ui-danger);color:var(--ui-on-status)}.variant-destructive:hover{filter:brightness(1.1)}.variant-link{color:var(--ui-accent);text-underline-offset:4px}.variant-link:hover{text-decoration:underline}.spinner{width:1rem;height:1rem;border-radius:9999px;border:2px solid currentColor;border-top-color:transparent;animation:ui-button-spin 0.7s linear infinite}@keyframes ui-button-spin{to{transform:rotate(360deg)}}"}},[257,"ui-button",{variant:[1],size:[1],disabled:[4],loading:[4],type:[1]}]);function o(){"undefined"!=typeof customElements&&["ui-button"].forEach((t=>{"ui-button"===t&&(customElements.get(r(t))||customElements.define(r(t),n))}))}o();const s=n,d=o;export{s as UiButton,d as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiCard extends Components.UiCard, HTMLElement {}
4
+ export const UiCard: {
5
+ prototype: UiCard;
6
+ new (): UiCard;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as e,p as t,H as r,h as s,a as o}from"./index.js";const d=t(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(o,{key:"7e2833cdc6f37c6b8577c17677840913fb7cd9e1"},s("div",{key:"223c291e98af73ee2c299b8649773cfcf54388d7",class:"card"},s("slot",{key:"e948386bcd492c31e264d50cf27d26e98dd771eb"})))}static get style(){return':host{display:block}.card{border:1px solid var(--ui-border);background:var(--ui-panel);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px) saturate(140%);border-radius:var(--ui-radius-xl);color:var(--ui-foreground);padding:1.5rem}::slotted([slot="title"]){font-size:1.125rem;font-weight:600;letter-spacing:-0.01em}::slotted([slot="description"]){color:var(--ui-text-muted);font-size:0.875rem}'}},[257,"ui-card"]);function c(){"undefined"!=typeof customElements&&["ui-card"].forEach((t=>{"ui-card"===t&&(customElements.get(e(t))||customElements.define(e(t),d))}))}c();const a=d,i=c;export{a as UiCard,i as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiCheckbox extends Components.UiCheckbox, HTMLElement {}
4
+ export const UiCheckbox: {
5
+ prototype: UiCheckbox;
6
+ new (): UiCheckbox;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as e,p as t,H as i,c as a,h as c,a as r}from"./index.js";const s=t(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.uiChange=a(this,"uiChange"),this.checked=!1,this.disabled=!1,this.toggle=()=>{this.disabled||(this.checked=!this.checked,this.uiChange.emit(this.checked))},this.onKeyDown=e=>{" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),this.toggle())}}render(){return c(r,{key:"218342fd572fe2a937ef30501ceb1286ed9872ac"},c("button",{key:"c54f4b4d663c472e08aeff9016da9d3fe63072fd",class:"checkbox",type:"button",role:"checkbox","aria-checked":this.checked?"true":"false",disabled:this.disabled,onClick:this.toggle,onKeyDown:this.onKeyDown},c("svg",{key:"a4f460f90eeaa930b0d867ad1aadf99550ff3c9a",class:"check",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"3","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},c("polyline",{key:"e96040e1a3058b910203023d882aa8da62ec9fce",points:"20 6 9 17 4 12"}))))}static get style(){return':host{display:inline-flex}.checkbox{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;padding:0;border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);background:var(--ui-panel);cursor:pointer;outline:none;transition:all var(--ui-duration) var(--ui-ease)}.checkbox:focus-visible{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring)}.checkbox[aria-checked="true"]{background:var(--ui-accent);border-color:var(--ui-accent)}.checkbox:disabled{opacity:0.5;pointer-events:none}.check{width:0.875rem;height:0.875rem;color:var(--ui-accent-contrast);opacity:0;transform:scale(0.6);transition:all var(--ui-duration) var(--ui-ease)}.checkbox[aria-checked="true"] .check{opacity:1;transform:scale(1)}'}},[1,"ui-checkbox",{checked:[1540],disabled:[4],name:[1],value:[1]}]);function o(){"undefined"!=typeof customElements&&["ui-checkbox"].forEach((t=>{"ui-checkbox"===t&&(customElements.get(e(t))||customElements.define(e(t),s))}))}o();const n=s,d=o;export{n as UiCheckbox,d as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiDialog extends Components.UiDialog, HTMLElement {}
4
+ export const UiDialog: {
5
+ prototype: UiDialog;
6
+ new (): UiDialog;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t,p as e,H as a,c as s,h as o,a as i}from"./index.js";const n=e(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.uiClose=s(this,"uiClose"),this.open=!1,this.onClose=()=>{this.open&&(this.open=!1,this.uiClose.emit())},this.onBackdropClick=t=>{t.target===this.dialogEl&&this.close()}}onOpenChange(t){this.sync(t)}componentDidLoad(){this.sync(this.open)}sync(t){this.dialogEl&&(t&&!this.dialogEl.open?this.dialogEl.showModal():!t&&this.dialogEl.open&&this.dialogEl.close())}async show(){this.open=!0}async close(){this.open=!1}render(){return o(i,{key:"c61dad5c30282e7a0ff063b713fff567be0b2183"},o("dialog",{key:"55e3de816fcdaafce020a8edb30e469f6d579df7",class:"dialog",ref:t=>this.dialogEl=t,onClose:this.onClose,onCancel:this.onClose,onClick:this.onBackdropClick},o("div",{key:"39b8436aca48ee79ff63a1cd81640697be8007cf",class:"content"},o("slot",{key:"e8d509cd882aa1e3a97f66486baf4afacdf36767"}))))}static get watchers(){return{open:[{onOpenChange:0}]}}static get style(){return'.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)}}'}},[257,"ui-dialog",{open:[1540],show:[64],close:[64]},void 0,{open:[{onOpenChange:0}]}]);function r(){"undefined"!=typeof customElements&&["ui-dialog"].forEach((e=>{"ui-dialog"===e&&(customElements.get(t(e))||customElements.define(t(e),n))}))}r();const d=n,c=r;export{d as UiDialog,c as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiDrawer extends Components.UiDrawer, HTMLElement {}
4
+ export const UiDrawer: {
5
+ prototype: UiDrawer;
6
+ new (): UiDrawer;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t,p as r,H as i,c as e,h as o,a as s}from"./index.js";const a=r(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.uiClose=e(this,"uiClose"),this.open=!1,this.side="right",this.onClose=()=>{this.open&&(this.open=!1,this.uiClose.emit())},this.onBackdropClick=t=>{t.target===this.dialogEl&&this.close()}}onOpenChange(t){this.sync(t)}componentDidLoad(){this.sync(this.open)}sync(t){this.dialogEl&&(t&&!this.dialogEl.open?this.dialogEl.showModal():!t&&this.dialogEl.open&&this.dialogEl.close())}async show(){this.open=!0}async close(){this.open=!1}render(){return o(s,{key:"96c4f4cec0fdc9a8601448bfc9a16dda37b33507"},o("dialog",{key:"72ef71e674d116c9d2f47bf4d997fc9d5ca1472d",class:"drawer side-"+this.side,ref:t=>this.dialogEl=t,onClose:this.onClose,onCancel:this.onClose,onClick:this.onBackdropClick},o("div",{key:"25e537c059dcc33085bd0c0c47aa39448a16176b",class:"content"},o("slot",{key:"3c0b746055fb6f1ac6a8c0c4713aa9cd47fd1a00"}))))}static get watchers(){return{open:[{onOpenChange:0}]}}static get style(){return":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)}}"}},[257,"ui-drawer",{open:[1540],side:[513],show:[64],close:[64]},void 0,{open:[{onOpenChange:0}]}]);function n(){"undefined"!=typeof customElements&&["ui-drawer"].forEach((r=>{"ui-drawer"===r&&(customElements.get(t(r))||customElements.define(t(r),a))}))}n();const d=a,h=n;export{d as UiDrawer,h as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiDropdownItem extends Components.UiDropdownItem, HTMLElement {}
4
+ export const UiDropdownItem: {
5
+ prototype: UiDropdownItem;
6
+ new (): UiDropdownItem;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as e,p as t,H as i,c as s,h as o,a as r}from"./index.js";const n=t(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.uiSelect=s(this,"uiSelect"),this.disabled=!1,this.onClick=()=>{this.disabled||(this.uiSelect.emit(),this.host.dispatchEvent(new CustomEvent("uiDropdownClose",{bubbles:!0,composed:!0})))}}render(){return o(r,{key:"9e88bb2a1ccec0a6c5f088cdd40a7881cba6e3ac"},o("button",{key:"371c531f920cbd1a5374b8c6812d9b67c97e44f4",type:"button",class:"item",role:"menuitem",disabled:this.disabled,onClick:this.onClick},o("slot",{key:"fe16aad1402e098180719edd9110c83ee550224c"})))}get host(){return this}static get style(){return":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}"}},[257,"ui-dropdown-item",{disabled:[516]}]);function a(){"undefined"!=typeof customElements&&["ui-dropdown-item"].forEach((t=>{"ui-dropdown-item"===t&&(customElements.get(e(t))||customElements.define(e(t),n))}))}a();const d=n,c=a;export{d as UiDropdownItem,c as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiDropdownMenu extends Components.UiDropdownMenu, HTMLElement {}
4
+ export const UiDropdownMenu: {
5
+ prototype: UiDropdownMenu;
6
+ new (): UiDropdownMenu;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t,p as s,H as e,c as i,h as n,a as o}from"./index.js";import{a,c as r,o as c,f as h,s as d}from"./p-CyBRmmbs.js";const l=s(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.uiOpenChange=i(this,"uiOpenChange"),this.open=!1,this.placement="bottom",this.onTriggerClick=t=>{t.stopPropagation(),this.setOpen(!this.open)},this.onDocumentClick=t=>{this.open&&(t.composedPath().includes(this.host)||this.setOpen(!1))},this.onKeydown=t=>{"Escape"===t.key&&this.open&&this.setOpen(!1)}}onOpenChange(t){t?(requestAnimationFrame((()=>this.start())),document.addEventListener("click",this.onDocumentClick),document.addEventListener("keydown",this.onKeydown)):(this.stop(),document.removeEventListener("click",this.onDocumentClick),document.removeEventListener("keydown",this.onKeydown))}disconnectedCallback(){this.stop(),document.removeEventListener("click",this.onDocumentClick),document.removeEventListener("keydown",this.onKeydown)}async show(){this.setOpen(!0)}async close(){this.setOpen(!1)}onItemClose(){this.setOpen(!1)}setOpen(t){this.open!==t&&(this.open=t,this.uiOpenChange.emit(t))}start(){this.triggerEl&&this.floatingEl&&(this.stop(),this.cleanup=a(this.triggerEl,this.floatingEl,(()=>{this.triggerEl&&this.floatingEl&&r(this.triggerEl,this.floatingEl,{placement:this.placement,middleware:[c(8),h(),d({padding:8})]}).then((({x:t,y:s})=>{Object.assign(this.floatingEl.style,{left:t+"px",top:s+"px"})}))})))}stop(){this.cleanup?.(),this.cleanup=void 0}render(){return n(o,{key:"83694eb278f8a9c711ae30677254a4168dbd825f"},n("span",{key:"dabab12417ed473e22097578c07842f36a05e397",class:"trigger",ref:t=>this.triggerEl=t,onClick:this.onTriggerClick},n("slot",{key:"6e3b0f1c2c83a48c0c70a2416c6e0ac34b05c68e",name:"trigger"})),n("div",{key:"2b6059c9bfa98c6f5bc9656d86ffeaf1009a887b",class:{menu:!0,"is-open":this.open},role:"menu",ref:t=>this.floatingEl=t},n("slot",{key:"af01e24903f705ef30174ba37735d774b8e5aa99"})))}get host(){return this}static get watchers(){return{open:[{onOpenChange:0}]}}static get style(){return":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)}"}},[257,"ui-dropdown-menu",{open:[1540],placement:[1],show:[64],close:[64]},[[0,"uiDropdownClose","onItemClose"]],{open:[{onOpenChange:0}]}]);function u(){"undefined"!=typeof customElements&&["ui-dropdown-menu"].forEach((s=>{"ui-dropdown-menu"===s&&(customElements.get(t(s))||customElements.define(t(s),l))}))}u();const m=l,p=u;export{m as UiDropdownMenu,p as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiField extends Components.UiField, HTMLElement {}
4
+ export const UiField: {
5
+ prototype: UiField;
6
+ new (): UiField;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as e,p as i,H as r,h as s,a as t}from"./index.js";const a=i(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.required=!1}render(){return s(t,{key:"1f944085a10d6c795ce06a7a91021fee46780347"},s("div",{key:"a2f2fde238292d543c65bf6e1ed0dfd0dce424f9",class:"field"},this.label&&s("label",{key:"4f450b5e43f1ea8dda3b3134022a010391a2f404",class:"label",htmlFor:this.fieldId},this.label,this.required&&s("span",{key:"1853d16b19752584b646a294dcbe2b8359ec12b4",class:"required","aria-hidden":"true"}," *")),s("slot",{key:"75adc24c2264e3e954618737769232535caa13e4"}),this.error?s("p",{class:"error",role:"alert"},this.error):this.description&&s("p",{class:"description"},this.description)))}static get style(){return":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)}"}},[257,"ui-field",{label:[1],description:[1],error:[1],required:[4],fieldId:[1,"field-id"]}]);function o(){"undefined"!=typeof customElements&&["ui-field"].forEach((i=>{"ui-field"===i&&(customElements.get(e(i))||customElements.define(e(i),a))}))}o();const d=a,l=o;export{d as UiField,l as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiInput extends Components.UiInput, HTMLElement {}
4
+ export const UiInput: {
5
+ prototype: UiInput;
6
+ new (): UiInput;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as i,p as t,H as e,c as s,h as n,a as r}from"./index.js";const a=t(class extends e{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow(),this.uiInput=s(this,"uiInput"),this.uiChange=s(this,"uiChange"),this.value="",this.type="text",this.disabled=!1,this.invalid=!1,this.onInput=i=>{const t=i.target;this.value=t.value,this.uiInput.emit(t.value)},this.onChange=i=>{this.uiChange.emit(i.target.value)}}render(){return n(r,{key:"e2ca2973fb898cde6988d2422f8b346662caf375"},n("input",{key:"6e2b0358dc583f448a71f95f319d0fd675536c60",class:{input:!0,invalid:this.invalid},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}))}static get style(){return":host{display:block}.input{width:100%;height:2.75rem;padding:0 1rem;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;outline:none;backdrop-filter:blur(22px);transition:all var(--ui-duration) var(--ui-ease);box-sizing:border-box}.input::placeholder{color:var(--ui-text-faint)}.input:focus-visible{border-color:var(--ui-accent);box-shadow:0 0 0 2px var(--ui-ring)}.input:disabled{opacity:0.5;pointer-events:none}.input.invalid{border-color:var(--ui-danger)}.input.invalid:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb, var(--ui-danger) 40%, transparent)}"}},[1,"ui-input",{value:[1025],placeholder:[1],type:[1],disabled:[4],invalid:[4],name:[1]}]);function o(){"undefined"!=typeof customElements&&["ui-input"].forEach((t=>{"ui-input"===t&&(customElements.get(i(t))||customElements.define(i(t),a))}))}o();const u=a,d=o;export{u as UiInput,d as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiLabel extends Components.UiLabel, HTMLElement {}
4
+ export const UiLabel: {
5
+ prototype: UiLabel;
6
+ new (): UiLabel;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as e,p as t,H as s,h as a,a as c}from"./index.js";const l=t(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return a(c,{key:"bb726d8b26a82776e688532b6fbe69c178308c75"},a("label",{key:"bfd33ad1561fcee62395be37e83894cdce0ec259",class:"label"},a("slot",{key:"c0ac5938df3aea7219a59caf46cb7cd152046770"})))}static get style(){return":host{display:inline-block}.label{font-family:var(--ui-font-sans);font-size:0.875rem;font-weight:500;color:var(--ui-foreground)}"}},[257,"ui-label"]);function n(){"undefined"!=typeof customElements&&["ui-label"].forEach((t=>{"ui-label"===t&&(customElements.get(e(t))||customElements.define(e(t),l))}))}n();const o=l,i=n;export{o as UiLabel,i as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiLoadingOverlay extends Components.UiLoadingOverlay, HTMLElement {}
4
+ export const UiLoadingOverlay: {
5
+ prototype: UiLoadingOverlay;
6
+ new (): UiLoadingOverlay;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as e,p as s,H as i,h as t,a as n}from"./index.js";import{d as r}from"./p-Bz9HyboB.js";const o=s(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.visible=!1,this.spinnerSize="md"}render(){return this.visible?t(n,{role:"status","aria-live":"polite"},t("div",{class:"overlay"},t("ui-spinner",{size:this.spinnerSize}),this.label&&t("p",{class:"label"},this.label))):t(n,null)}static get style(){return":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)}"}},[1,"ui-loading-overlay",{visible:[4],label:[1],spinnerSize:[1,"spinner-size"]}]);function a(){"undefined"!=typeof customElements&&["ui-loading-overlay","ui-spinner"].forEach((s=>{switch(s){case"ui-loading-overlay":customElements.get(e(s))||customElements.define(e(s),o);break;case"ui-spinner":customElements.get(e(s))||r()}}))}a();const l=o,u=a;export{l as UiLoadingOverlay,u as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiPopover extends Components.UiPopover, HTMLElement {}
4
+ export const UiPopover: {
5
+ prototype: UiPopover;
6
+ new (): UiPopover;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t,p as s,H as i,c as e,h as a,a as o}from"./index.js";import{a as n,c as r,o as c,f as h,s as d}from"./p-CyBRmmbs.js";const p=s(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.uiOpenChange=e(this,"uiOpenChange"),this.open=!1,this.placement="bottom",this.onTriggerClick=t=>{t.stopPropagation(),this.setOpen(!this.open)},this.onDocumentClick=t=>{this.open&&(t.composedPath().includes(this.host)||this.setOpen(!1))},this.onKeydown=t=>{"Escape"===t.key&&this.open&&this.setOpen(!1)}}onOpenChange(t){t?(requestAnimationFrame((()=>this.start())),document.addEventListener("click",this.onDocumentClick),document.addEventListener("keydown",this.onKeydown)):(this.stop(),document.removeEventListener("click",this.onDocumentClick),document.removeEventListener("keydown",this.onKeydown))}disconnectedCallback(){this.stop(),document.removeEventListener("click",this.onDocumentClick),document.removeEventListener("keydown",this.onKeydown)}async show(){this.setOpen(!0)}async close(){this.setOpen(!1)}setOpen(t){this.open!==t&&(this.open=t,this.uiOpenChange.emit(t))}start(){this.triggerEl&&this.floatingEl&&(this.stop(),this.cleanup=n(this.triggerEl,this.floatingEl,(()=>{this.triggerEl&&this.floatingEl&&r(this.triggerEl,this.floatingEl,{placement:this.placement,middleware:[c(8),h(),d({padding:8})]}).then((({x:t,y:s})=>{Object.assign(this.floatingEl.style,{left:t+"px",top:s+"px"})}))})))}stop(){this.cleanup?.(),this.cleanup=void 0}render(){return a(o,{key:"193a3f6fb440dc2da1837c2387511d38f71e7da3"},a("span",{key:"8732b0b40340e39ac26b80e38864438cf9bf01cc",class:"trigger",ref:t=>this.triggerEl=t,onClick:this.onTriggerClick},a("slot",{key:"d51743b5fa62e8fd5c5639ba2d9681caa8556fb0",name:"trigger"})),a("div",{key:"a2ae9fd5bb67dc1ad4243ac478ecc11cb4c28665",class:{panel:!0,"is-open":this.open},ref:t=>this.floatingEl=t},a("slot",{key:"655d8b979962d25dabe8497516be51199ce16452"})))}get host(){return this}static get watchers(){return{open:[{onOpenChange:0}]}}static get style(){return":host{display:inline-block}.trigger{display:inline-flex}.panel{position:fixed;top:0;left:0;z-index:50;width:18rem;max-width:calc(100vw - 1rem);padding:1rem;font-family:var(--ui-font-sans);color:var(--ui-foreground);border:1px solid var(--ui-border);background:var(--ui-panel-strong);box-shadow:var(--ui-shadow-lg);backdrop-filter:blur(22px);border-radius:var(--ui-radius);visibility:hidden;opacity:0;transform:scale(0.96);transition:opacity var(--ui-duration) var(--ui-ease), transform var(--ui-duration) var(--ui-ease)}.panel.is-open{visibility:visible;opacity:1;transform:scale(1)}"}},[257,"ui-popover",{open:[1540],placement:[1],show:[64],close:[64]},void 0,{open:[{onOpenChange:0}]}]);function l(){"undefined"!=typeof customElements&&["ui-popover"].forEach((s=>{"ui-popover"===s&&(customElements.get(t(s))||customElements.define(t(s),p))}))}l();const u=p,m=l;export{u as UiPopover,m as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiProgress extends Components.UiProgress, HTMLElement {}
4
+ export const UiProgress: {
5
+ prototype: UiProgress;
6
+ new (): UiProgress;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as e,p as i,H as t,h as s,a as r}from"./index.js";const a=i(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.value=null,this.max=100,this.indeterminate=!1}get isIndeterminate(){return this.indeterminate||null===this.value}get percent(){return null===this.value||this.max<=0?0:Math.min(Math.max(this.value,0),this.max)/this.max*100}render(){const e=!this.isIndeterminate;return s(r,{key:"0be3e6f551bf5401e033a7faba2787eb4166eb0a",role:"progressbar","aria-valuenow":e?this.value+"":void 0,"aria-valuemin":e?"0":void 0,"aria-valuemax":e?this.max+"":void 0},s("div",{key:"89151bf96326053ce60b71a2f2f9b6c13d721e39",class:"track"},s("div",{key:"2cdf8f8cbbe7729813e8e78b671fc43b7ebec153",class:{indicator:!0,indeterminate:this.isIndeterminate},style:e?{width:this.percent+"%"}:void 0})))}static get style(){return":host{display:block}.track{width:100%;height:0.5rem;border-radius:var(--ui-radius-full);background:var(--ui-chip);overflow:hidden}.indicator{height:100%;border-radius:var(--ui-radius-full);background:var(--ui-accent);transition:width var(--ui-duration) var(--ui-ease)}.indicator.indeterminate{width:40%;animation:ui-progress-slide 1.2s ease-in-out infinite}@keyframes ui-progress-slide{0%{transform:translateX(-100%)}100%{transform:translateX(250%)}}"}},[1,"ui-progress",{value:[2],max:[2],indeterminate:[4]}]);function n(){"undefined"!=typeof customElements&&["ui-progress"].forEach((i=>{"ui-progress"===i&&(customElements.get(e(i))||customElements.define(e(i),a))}))}n();const o=a,u=n;export{o as UiProgress,u as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiRadioGroup extends Components.UiRadioGroup, HTMLElement {}
4
+ export const UiRadioGroup: {
5
+ prototype: UiRadioGroup;
6
+ new (): UiRadioGroup;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as i,p as r,H as e,c as a,h as t,a as o}from"./index.js";const s=r(class extends e{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow(),this.uiChange=a(this,"uiChange"),this.options=[],this.disabled=!1,this.select=i=>{this.disabled||i===this.value||(this.value=i,this.uiChange.emit(i))},this.onKeyDown=(i,r)=>{if(this.disabled)return;const e=this.options.length;if(0===e)return;let a=-1;"ArrowDown"===i.key||"ArrowRight"===i.key?a=(r+1)%e:"ArrowUp"!==i.key&&"ArrowLeft"!==i.key||(a=(r-1+e)%e),a>=0&&(i.preventDefault(),this.select(this.options[a].value))}}render(){return t(o,{key:"80b7e45cfc95e7e82015db2fa893b374ba73cf07"},t("div",{key:"1133cd7ad3f9eb9ebaa0ac6c8a2ca3e2a52c46a9",class:"group",role:"radiogroup"},this.options.map(((i,r)=>{const e=i.value===this.value;return t("button",{class:"radio",type:"button",role:"radio","aria-checked":e?"true":"false",tabindex:e||!this.value&&0===r?"0":"-1",disabled:this.disabled,onClick:()=>this.select(i.value),onKeyDown:i=>this.onKeyDown(i,r)},t("span",{class:"indicator"},t("span",{class:"dot"})),t("span",{class:"label"},i.label))}))))}static get style(){return':host{display:block}.group{display:flex;flex-direction:column;gap:0.5rem}.radio{display:inline-flex;align-items:center;gap:0.625rem;padding:0;border:none;background:transparent;color:var(--ui-foreground);font-family:var(--ui-font-sans);font-size:0.875rem;cursor:pointer;outline:none}.radio:disabled{opacity:0.5;pointer-events:none}.indicator{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-full);background:var(--ui-panel);transition:all var(--ui-duration) var(--ui-ease)}.radio:focus-visible .indicator{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring)}.radio[aria-checked="true"] .indicator{border-color:var(--ui-accent)}.dot{width:0.625rem;height:0.625rem;border-radius:var(--ui-radius-full);background:var(--ui-accent);opacity:0;transform:scale(0.4);transition:all var(--ui-duration) var(--ui-ease)}.radio[aria-checked="true"] .dot{opacity:1;transform:scale(1)}.label{line-height:1.25rem}'}},[1,"ui-radio-group",{value:[1025],name:[1],options:[16],disabled:[4]}]);function n(){"undefined"!=typeof customElements&&["ui-radio-group"].forEach((r=>{"ui-radio-group"===r&&(customElements.get(i(r))||customElements.define(i(r),s))}))}n();const d=s,c=n;export{d as UiRadioGroup,c as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiReveal extends Components.UiReveal, HTMLElement {}
4
+ export const UiReveal: {
5
+ prototype: UiReveal;
6
+ new (): UiReveal;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as e,p as t,H as s,h as i,a as r}from"./index.js";const a=t(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.delay=0,this.visible=!1}connectedCallback(){"undefined"!=typeof IntersectionObserver?(this.observer=new IntersectionObserver((e=>{for(const t of e)if(t.isIntersecting){this.visible=!0,this.observer?.disconnect();break}})),this.observer.observe(this.host)):this.visible=!0}disconnectedCallback(){this.observer?.disconnect()}render(){return i(r,{key:"926e1c25b8463f92dc35a010d58b9bd622932c21"},i("div",{key:"0561142e1b0955e22d12056f316c98556cb5365d",class:{reveal:!0,visible:this.visible},style:{transitionDelay:this.delay+"ms"}},i("slot",{key:"bd53a6ca33153d3f7768a7662e5e5b78ea221cc6"})))}get host(){return this}static get style(){return":host{display:block}.reveal{opacity:0;transform:translateY(16px);filter:blur(8px);transition:opacity 0.6s var(--ui-ease), transform 0.6s var(--ui-ease), filter 0.6s var(--ui-ease)}.reveal.visible{opacity:1;transform:none;filter:none}"}},[257,"ui-reveal",{delay:[2],visible:[32]}]);function n(){"undefined"!=typeof customElements&&["ui-reveal"].forEach((t=>{"ui-reveal"===t&&(customElements.get(e(t))||customElements.define(e(t),a))}))}n();const o=a,c=n;export{o as UiReveal,c as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiScrollProgress extends Components.UiScrollProgress, HTMLElement {}
4
+ export const UiScrollProgress: {
5
+ prototype: UiScrollProgress;
6
+ new (): UiScrollProgress;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as e,p as s,H as t,h as r,a}from"./index.js";const i=s(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.progress=0,this.onScroll=()=>{if("undefined"==typeof document)return;const e=document.documentElement,s=e.scrollHeight-e.clientHeight;this.progress=s>0?e.scrollTop/s:0}}connectedCallback(){"undefined"!=typeof window&&(window.addEventListener("scroll",this.onScroll,{passive:!0}),this.onScroll())}disconnectedCallback(){"undefined"!=typeof window&&window.removeEventListener("scroll",this.onScroll)}render(){return r(a,{key:"7eced0439a2d6ef04d085396a6fc0e69fbe798ed"},r("div",{key:"30db3ea1a3fce2a26ebca96568e939c4a0183922",class:"bar",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Math.round(100*this.progress),style:{transform:`scaleX(${this.progress})`}}))}static get style(){return":host{display:block}.bar{position:fixed;top:0;left:0;width:100%;height:2px;transform-origin:left;transform:scaleX(0);background:linear-gradient( 90deg, var(--ui-accent), var(--ui-accent-strong) );z-index:100;transition:transform var(--ui-duration) var(--ui-ease)}"}},[1,"ui-scroll-progress",{progress:[32]}]);function n(){"undefined"!=typeof customElements&&["ui-scroll-progress"].forEach((s=>{"ui-scroll-progress"===s&&(customElements.get(e(s))||customElements.define(e(s),i))}))}n();const o=i,c=n;export{o as UiScrollProgress,c as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiSection extends Components.UiSection, HTMLElement {}
4
+ export const UiSection: {
5
+ prototype: UiSection;
6
+ new (): UiSection;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as e,p as t,H as a,h as s,a as i}from"./index.js";const r=t(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.eyebrow="",this.heading="",this.description=""}render(){return s(i,{key:"63ee126b1e457a4dcd01a66aa519e6fae8377db6"},s("section",{key:"34f3c07dca2e9f6a3c288b7c41abaf2a3502129f"},this.eyebrow&&s("p",{key:"7c71e3e38e56872757d017ba4f59949f50518c6f",class:"eyebrow"},this.eyebrow),this.heading&&s("h2",{key:"b8f42a4ae5d2e5d8fb80a4cb9de07ca10c2423fd",class:"heading"},this.heading),this.description&&s("p",{key:"faeba9733afaa52e7a08629459dd708b4f647740",class:"description"},this.description),s("slot",{key:"99e906d4ca93461c35125acb4eb3401ed76929fe"})))}static get style(){return":host{display:block;font-family:var(--ui-font-sans)}section{max-width:80rem;margin:0 auto;padding:5rem 1.25rem}.eyebrow{margin:0 0 0.75rem;text-transform:uppercase;letter-spacing:0.08em;font-size:0.75rem;font-weight:600;color:var(--ui-accent)}.heading{margin:0 0 1rem;font-size:1.875rem;font-weight:600;color:var(--ui-foreground)}.description{margin:0 0 2rem;max-width:42rem;color:var(--ui-text-muted)}"}},[257,"ui-section",{eyebrow:[1],heading:[1],description:[1]}]);function c(){"undefined"!=typeof customElements&&["ui-section"].forEach((t=>{"ui-section"===t&&(customElements.get(e(t))||customElements.define(e(t),r))}))}c();const n=r,o=c;export{n as UiSection,o as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiSelect extends Components.UiSelect, HTMLElement {}
4
+ export const UiSelect: {
5
+ prototype: UiSelect;
6
+ new (): UiSelect;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as e,p as t,H as i,c as s,h as o,a}from"./index.js";const r=t(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.uiChange=s(this,"uiChange"),this.disabled=!1,this.options=[],this.onChange=e=>{const t=e.target.value;this.value=t,this.uiChange.emit(t)}}render(){return o(a,{key:"1ebd6a8472a116ad071e9504ab0756daddb27824"},o("div",{key:"5d2d00f41b8f74202156d0af7c150b89d79dc1a4",class:"wrapper"},o("select",{key:"7b370433247f03a126ce13005a3697ba5b04845f",class:"select",name:this.name,disabled:this.disabled,onChange:this.onChange},this.placeholder&&o("option",{key:"9e482642eebeab0b1b1c5b56a6730fb5ecbd9617",value:"",disabled:!0,selected:!(void 0!==this.value&&""!==this.value)},this.placeholder),this.options.map((e=>o("option",{value:e.value,selected:e.value===this.value},e.label)))),o("svg",{key:"7d66788b8d8b51169ae28e5e5c5a31c0b637e377",class:"chevron",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},o("polyline",{key:"aaa00671ba95ebd20f81174fc27bf218b16dfc64",points:"6 9 12 15 18 9"}))))}static get style(){return":host{display:block}.wrapper{position:relative;display:block;width:100%}.select{width:100%;height:2.75rem;padding:0 2.5rem 0 1rem;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;outline:none;backdrop-filter:blur(22px);transition:all var(--ui-duration) var(--ui-ease);box-sizing:border-box;cursor:pointer;-webkit-appearance:none;appearance:none}.select:focus-visible{border-color:var(--ui-accent);box-shadow:0 0 0 2px var(--ui-ring)}.select:disabled{opacity:0.5;pointer-events:none}.chevron{position:absolute;top:50%;right:0.875rem;width:1.125rem;height:1.125rem;color:var(--ui-text-muted);transform:translateY(-50%);pointer-events:none}"}},[1,"ui-select",{value:[1025],disabled:[4],name:[1],options:[16],placeholder:[1]}]);function n(){"undefined"!=typeof customElements&&["ui-select"].forEach((t=>{"ui-select"===t&&(customElements.get(e(t))||customElements.define(e(t),r))}))}n();const d=r,c=n;export{d as UiSelect,c as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiSeparator extends Components.UiSeparator, HTMLElement {}
4
+ export const UiSeparator: {
5
+ prototype: UiSeparator;
6
+ new (): UiSeparator;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t,p as e,H as o,h as i,a as s}from"./index.js";const r=e(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.orientation="horizontal"}render(){return i(s,{key:"212e4b763ad309ef74ba2e21592a0d4091fb0fcf",role:"separator","aria-orientation":this.orientation,class:"orientation-"+this.orientation})}static get style(){return":host{display:block;background:var(--ui-border)}:host(.orientation-horizontal){width:100%;height:1px}:host(.orientation-vertical){display:inline-block;width:1px;height:100%}"}},[1,"ui-separator",{orientation:[513]}]);function a(){"undefined"!=typeof customElements&&["ui-separator"].forEach((e=>{"ui-separator"===e&&(customElements.get(t(e))||customElements.define(t(e),r))}))}a();const n=r,c=a;export{n as UiSeparator,c as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiSkeleton extends Components.UiSkeleton, HTMLElement {}
4
+ export const UiSkeleton: {
5
+ prototype: UiSkeleton;
6
+ new (): UiSkeleton;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as e,p as s,H as t,h as i,a as n}from"./index.js";const o=s(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return i(n,{key:"19b59c75e9ff1607c731227bd344a0d082de5366"},i("span",{key:"6eb968b5bd87768818381db897a090a2783ad938",class:"skeleton"}))}static get style(){return":host{display:block}.skeleton{display:block;width:100%;height:100%;border-radius:var(--ui-radius-sm);background:linear-gradient( 90deg, var(--ui-chip), var(--ui-panel), var(--ui-chip) );background-size:200% 100%;animation:ui-skeleton-shimmer 1.5s ease-in-out infinite}@keyframes ui-skeleton-shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}"}},[1,"ui-skeleton"]);function a(){"undefined"!=typeof customElements&&["ui-skeleton"].forEach((s=>{"ui-skeleton"===s&&(customElements.get(e(s))||customElements.define(e(s),o))}))}a();const r=o,u=a;export{r as UiSkeleton,u as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiSlider extends Components.UiSlider, HTMLElement {}
4
+ export const UiSlider: {
5
+ prototype: UiSlider;
6
+ new (): UiSlider;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as r,p as e,H as i,c as s,h as a,a as t}from"./index.js";const n=e(class extends i{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.uiInput=s(this,"uiInput"),this.uiChange=s(this,"uiChange"),this.value=50,this.min=0,this.max=100,this.step=1,this.disabled=!1,this.onInput=r=>{const e=Number(r.target.value);this.value=e,this.uiInput.emit(e)},this.onChange=r=>{this.uiChange.emit(Number(r.target.value))}}render(){return a(t,{key:"dc7f810ebfdde28731d2e1c491596caf03c2476e"},a("input",{key:"cac37f559b5587d18fee732e11d6515d57d23466",class:"slider",type:"range",min:this.min,max:this.max,step:this.step,value:this.value,disabled:this.disabled,onInput:this.onInput,onChange:this.onChange}))}static get style(){return":host{display:block}.slider{width:100%;height:1.25rem;margin:0;background:transparent;cursor:pointer;outline:none;-webkit-appearance:none;appearance:none}.slider:disabled{opacity:0.5;pointer-events:none}.slider::-webkit-slider-runnable-track{height:0.375rem;border-radius:var(--ui-radius-full);background:var(--ui-chip)}.slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:1.125rem;height:1.125rem;margin-top:-0.375rem;border-radius:var(--ui-radius-full);background:var(--ui-accent);box-shadow:var(--ui-shadow-sm);transition:transform var(--ui-duration) var(--ui-ease)}.slider::-webkit-slider-thumb:hover{transform:scale(1.1)}.slider:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring)}.slider::-moz-range-track{height:0.375rem;border-radius:var(--ui-radius-full);background:var(--ui-chip)}.slider::-moz-range-progress{height:0.375rem;border-radius:var(--ui-radius-full);background:var(--ui-accent)}.slider::-moz-range-thumb{width:1.125rem;height:1.125rem;border:none;border-radius:var(--ui-radius-full);background:var(--ui-accent);box-shadow:var(--ui-shadow-sm);transition:transform var(--ui-duration) var(--ui-ease)}.slider::-moz-range-thumb:hover{transform:scale(1.1)}.slider:focus-visible::-moz-range-thumb{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring)}"}},[1,"ui-slider",{value:[1026],min:[2],max:[2],step:[2],disabled:[4]}]);function u(){"undefined"!=typeof customElements&&["ui-slider"].forEach((e=>{"ui-slider"===e&&(customElements.get(r(e))||customElements.define(r(e),n))}))}u();const d=n,o=u;export{d as UiSlider,o as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiSpinner extends Components.UiSpinner, HTMLElement {}
4
+ export const UiSpinner: {
5
+ prototype: UiSpinner;
6
+ new (): UiSpinner;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{U as o,d as s}from"./p-Bz9HyboB.js";const p=o,r=s;export{p as UiSpinner,r as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiSwitch extends Components.UiSwitch, HTMLElement {}
4
+ export const UiSwitch: {
5
+ prototype: UiSwitch;
6
+ new (): UiSwitch;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t,p as i,H as s,c as e,h as r,a}from"./index.js";const o=i(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.uiChange=e(this,"uiChange"),this.checked=!1,this.disabled=!1,this.toggle=()=>{this.disabled||(this.checked=!this.checked,this.uiChange.emit(this.checked))},this.onKeyDown=t=>{" "!==t.key&&"Enter"!==t.key||(t.preventDefault(),this.toggle())}}render(){return r(a,{key:"495f30df67c0277471c4d01920f5608700943132"},r("button",{key:"8327f2d141877994b6ddd3ba8b474e816cb2f949",class:"switch",type:"button",role:"switch","aria-checked":this.checked?"true":"false",disabled:this.disabled,onClick:this.toggle,onKeyDown:this.onKeyDown},r("span",{key:"e91d3ffd7b8fdfb1a64f96746c5a396ecaecb882",class:"thumb"})))}static get style(){return':host{display:inline-flex}.switch{position:relative;width:2.75rem;height:1.5rem;padding:0;border:1px solid var(--ui-border);border-radius:var(--ui-radius-full);background:var(--ui-chip);cursor:pointer;outline:none;transition:background var(--ui-duration) var(--ui-ease)}.switch:focus-visible{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring)}.switch[aria-checked="true"]{background:var(--ui-accent);border-color:var(--ui-accent)}.switch:disabled{opacity:0.5;pointer-events:none}.thumb{position:absolute;top:50%;left:0.125rem;width:1.25rem;height:1.25rem;border-radius:9999px;background:var(--ui-on-status);box-shadow:var(--ui-shadow-sm);transform:translateY(-50%);transition:transform var(--ui-duration) var(--ui-ease)}.switch[aria-checked="true"] .thumb{transform:translate(1.25rem, -50%)}'}},[1,"ui-switch",{checked:[1540],disabled:[4]}]);function n(){"undefined"!=typeof customElements&&["ui-switch"].forEach((i=>{"ui-switch"===i&&(customElements.get(t(i))||customElements.define(t(i),o))}))}n();const c=o,u=n;export{c as UiSwitch,u as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiTabs extends Components.UiTabs, HTMLElement {}
4
+ export const UiTabs: {
5
+ prototype: UiTabs;
6
+ new (): UiTabs;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t,p as a,H as e,c as r,h as i,a as s}from"./index.js";const o=a(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.uiChange=r(this,"uiChange"),this.value="",this.items=[],this.select=t=>{t!==this.value&&(this.value=t,this.uiChange.emit(t))}}render(){return i(s,{key:"8828dc9385a8c206a751e39fda9869116dda3001"},i("div",{key:"8e13dc53f1c03da5a52adb8ec86da91c78c502b2",class:"tablist",role:"tablist"},this.items.map((t=>{const a=t.value===this.value;return i("button",{key:t.value,class:{tab:!0,active:a},type:"button",role:"tab","aria-selected":a?"true":"false",onClick:()=>this.select(t.value)},t.label)}))),i("slot",{key:"1cd08dfe5ae2e2b6bf55eb90cb55f2c757c5589f",name:this.value}))}static get style(){return":host{display:block;font-family:var(--ui-font-sans)}.tablist{display:inline-flex;gap:0.25rem;padding:0.25rem;border:1px solid var(--ui-border);border-radius:var(--ui-radius-full);background:var(--ui-chip)}.tab{appearance:none;border:none;padding:0.375rem 0.875rem;border-radius:var(--ui-radius-full);background:transparent;color:var(--ui-text-muted);font:inherit;font-size:0.875rem;font-weight:500;cursor:pointer;outline:none;transition:background var(--ui-duration) var(--ui-ease), color var(--ui-duration) var(--ui-ease)}.tab:focus-visible{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring)}.tab.active{background:var(--ui-panel-strong);color:var(--ui-foreground)}"}},[257,"ui-tabs",{value:[1537],items:[16]}]);function n(){"undefined"!=typeof customElements&&["ui-tabs"].forEach((a=>{"ui-tabs"===a&&(customElements.get(t(a))||customElements.define(t(a),o))}))}n();const u=o,d=n;export{u as UiTabs,d as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiTextarea extends Components.UiTextarea, HTMLElement {}
4
+ export const UiTextarea: {
5
+ prototype: UiTextarea;
6
+ new (): UiTextarea;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as e,p as t,H as i,c as a,h as r,a as s}from"./index.js";const o=t(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.uiInput=a(this,"uiInput"),this.uiChange=a(this,"uiChange"),this.value="",this.disabled=!1,this.invalid=!1,this.rows=4,this.onInput=e=>{const t=e.target;this.value=t.value,this.uiInput.emit(t.value)},this.onChange=e=>{this.uiChange.emit(e.target.value)}}render(){return r(s,{key:"9dfb606e8b193b4ce3cc9f085454ff849892e838"},r("textarea",{key:"0f4aa4078cae931c3e246613d51645162673b7d5",class:{textarea:!0,invalid:this.invalid},name:this.name,rows:this.rows,placeholder:this.placeholder,disabled:this.disabled,"aria-invalid":this.invalid?"true":null,onInput:this.onInput,onChange:this.onChange},this.value))}static get style(){return":host{display:block}.textarea{width:100%;min-height:7rem;padding:0.75rem 1rem;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;line-height:1.5;outline:none;backdrop-filter:blur(22px);transition:all var(--ui-duration) var(--ui-ease);box-sizing:border-box;resize:vertical}.textarea::placeholder{color:var(--ui-text-faint)}.textarea:focus-visible{border-color:var(--ui-accent);box-shadow:0 0 0 2px var(--ui-ring)}.textarea:disabled{opacity:0.5;pointer-events:none}.textarea.invalid{border-color:var(--ui-danger)}.textarea.invalid:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb, var(--ui-danger) 40%, transparent)}"}},[1,"ui-textarea",{value:[1025],placeholder:[1],disabled:[4],invalid:[4],name:[1],rows:[2]}]);function n(){"undefined"!=typeof customElements&&["ui-textarea"].forEach((t=>{"ui-textarea"===t&&(customElements.get(e(t))||customElements.define(e(t),o))}))}n();const d=o,l=n;export{d as UiTextarea,l as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiThemeToggle extends Components.UiThemeToggle, HTMLElement {}
4
+ export const UiThemeToggle: {
5
+ prototype: UiThemeToggle;
6
+ new (): UiThemeToggle;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{t as e,p as i,H as t,c as r,h as n,a as o}from"./index.js";const s="ui-theme",a=i(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.uiThemeChange=r(this,"uiThemeChange"),this.isDark=!1,this.toggle=()=>{if(this.isDark=!this.isDark,"undefined"!=typeof window)try{window.localStorage.setItem(s,this.isDark?"dark":"light")}catch{}this.applyTheme(),this.uiThemeChange.emit(this.isDark?"dark":"light")}}connectedCallback(){this.isDark=this.resolveInitialTheme(),this.applyTheme()}resolveInitialTheme(){if("undefined"==typeof window)return!1;try{const e=window.localStorage.getItem(s);if("dark"===e)return!0;if("light"===e)return!1}catch{}return"function"==typeof window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches}applyTheme(){"undefined"!=typeof document&&document.documentElement.classList.toggle("dark",this.isDark)}renderIcon(){return this.isDark?n("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},n("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})):n("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},n("circle",{cx:"12",cy:"12",r:"4"}),n("line",{x1:"12",y1:"2",x2:"12",y2:"4"}),n("line",{x1:"12",y1:"20",x2:"12",y2:"22"}),n("line",{x1:"2",y1:"12",x2:"4",y2:"12"}),n("line",{x1:"20",y1:"12",x2:"22",y2:"12"}),n("line",{x1:"4.93",y1:"4.93",x2:"6.34",y2:"6.34"}),n("line",{x1:"17.66",y1:"17.66",x2:"19.07",y2:"19.07"}),n("line",{x1:"4.93",y1:"19.07",x2:"6.34",y2:"17.66"}),n("line",{x1:"17.66",y1:"6.34",x2:"19.07",y2:"4.93"}))}render(){return n(o,{key:"f4bbcb8298cf3dbc50c31a816e97b32b45a115a4"},n("button",{key:"f86adcf499252f07d2aaae4c6b07cf0d4bcb4c01",class:"toggle",type:"button","aria-label":this.isDark?"Ativar tema claro":"Ativar tema escuro","aria-pressed":this.isDark?"true":"false",onClick:this.toggle},this.renderIcon()))}static get style(){return":host{display:inline-flex}.toggle{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;padding:0;border:1px solid var(--ui-border);border-radius:var(--ui-radius-full);background:var(--ui-chip);color:var(--ui-foreground);cursor:pointer;outline:none;transition:background var(--ui-duration) var(--ui-ease), color var(--ui-duration) var(--ui-ease)}.toggle:focus-visible{box-shadow:0 0 0 2px var(--ui-background), 0 0 0 4px var(--ui-ring)}.toggle:hover{color:var(--ui-accent)}"}},[1,"ui-theme-toggle",{isDark:[32]}]);function d(){"undefined"!=typeof customElements&&["ui-theme-toggle"].forEach((i=>{"ui-theme-toggle"===i&&(customElements.get(e(i))||customElements.define(e(i),a))}))}d();const l=a,u=d;export{l as UiThemeToggle,u as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface UiToast extends Components.UiToast, HTMLElement {}
4
+ export const UiToast: {
5
+ prototype: UiToast;
6
+ new (): UiToast;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{U as o,d as p}from"./p-C8ePpPG3.js";const s=o,r=p;export{s as UiToast,r as defineCustomElement}