@threadlabs/looma 0.2.4 → 0.2.6

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 (428) hide show
  1. package/dist/chunk-3K45IWIJ.js +4733 -0
  2. package/dist/chunk-MLKGABMK.js +9 -0
  3. package/dist/chunk-UHHA4WT5.js +2916 -0
  4. package/dist/declarative-generated.cjs +135 -0
  5. package/dist/declarative-generated.d.cts +10 -0
  6. package/dist/declarative-generated.d.ts +10 -0
  7. package/dist/declarative-generated.js +111 -0
  8. package/dist/declarative.cjs +2944 -0
  9. package/dist/declarative.d.cts +27 -0
  10. package/dist/declarative.d.ts +27 -0
  11. package/dist/declarative.js +13 -0
  12. package/dist/index.cjs +7480 -6457
  13. package/dist/index.d.cts +4 -58
  14. package/dist/index.d.ts +4 -58
  15. package/dist/index.js +15 -27
  16. package/dist/loader.cjs +7654 -0
  17. package/dist/loader.d.cts +4 -0
  18. package/dist/loader.d.ts +4 -0
  19. package/dist/loader.js +16 -0
  20. package/dist/valibot.cjs +31 -0
  21. package/dist/valibot.d.cts +10 -0
  22. package/dist/valibot.d.ts +1 -43
  23. package/dist/valibot.js +2 -0
  24. package/dist/{types/field/validation.d.ts → validation-bxcou-l-.d.cts} +13 -11
  25. package/dist/validation-bxcou-l-.d.ts +58 -0
  26. package/editor/{chunk-B5WVJOPV.js → chunk-BXICJBWS.js} +118 -8
  27. package/editor/{chunk-ZOUKEZ77.js → chunk-JK53ENSG.js} +8 -21
  28. package/editor/chunk-WI7ZA44X.js +2558 -0
  29. package/editor/extensions/index.d.ts +11 -2
  30. package/editor/extensions/index.js +9 -7
  31. package/editor/index.d.ts +1 -1
  32. package/editor/index.js +10 -8
  33. package/editor/ui.js +2 -2
  34. package/editor.css +32 -0
  35. package/layout/index.cjs +466 -400
  36. package/layout/index.d.cts +1 -2
  37. package/layout/index.d.ts +1 -2
  38. package/layout/index.js +471 -395
  39. package/package.json +14 -5
  40. package/styles.css +8 -8
  41. package/vue/chunk-4DPYH3IT.js +3538 -0
  42. package/vue/editor/index.d.ts +17 -7
  43. package/vue/editor/index.js +53 -35
  44. package/vue/index.d.ts +48 -31
  45. package/vue/index.js +1 -1
  46. package/dist/chunk-24OTMNIU.js +0 -1617
  47. package/dist/chunk-D5WRORG6.js +0 -366
  48. package/dist/chunk-HNFCGIBP.js +0 -8
  49. package/dist/chunk-NB6DBRXQ.js +0 -323
  50. package/dist/chunk-OF57X5AR.js +0 -10
  51. package/dist/chunk-TL4FIE7X.js +0 -93
  52. package/dist/chunk-UL7UIUJZ.js +0 -20
  53. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
  54. package/dist/cjs/controlled-state-BFya8rAX.js +0 -9
  55. package/dist/cjs/events-TcQIzpNv.js +0 -19
  56. package/dist/cjs/icons-BAdjrnhS.js +0 -680
  57. package/dist/cjs/id-CYbKpaYr.js +0 -9
  58. package/dist/cjs/index-BHG9Rpil.js +0 -1602
  59. package/dist/cjs/index.cjs.js +0 -2
  60. package/dist/cjs/loader.cjs.js +0 -13
  61. package/dist/cjs/looma.cjs.js +0 -25
  62. package/dist/cjs/manager-Ce25WRtl.js +0 -95
  63. package/dist/cjs/positioning-CCR6ifPj.js +0 -426
  64. package/dist/cjs/ui-affordance-scope.cjs.entry.js +0 -43
  65. package/dist/cjs/ui-avatar-group.cjs.entry.js +0 -43
  66. package/dist/cjs/ui-avatar.cjs.entry.js +0 -50
  67. package/dist/cjs/ui-badge.cjs.entry.js +0 -19
  68. package/dist/cjs/ui-button.cjs.entry.js +0 -75
  69. package/dist/cjs/ui-callout.cjs.entry.js +0 -27
  70. package/dist/cjs/ui-checkbox.cjs.entry.js +0 -97
  71. package/dist/cjs/ui-chip_2.cjs.entry.js +0 -258
  72. package/dist/cjs/ui-combobox.cjs.entry.js +0 -708
  73. package/dist/cjs/ui-context-menu.cjs.entry.js +0 -239
  74. package/dist/cjs/ui-dialog.cjs.entry.js +0 -131
  75. package/dist/cjs/ui-disclosure.cjs.entry.js +0 -112
  76. package/dist/cjs/ui-editable.cjs.entry.js +0 -100
  77. package/dist/cjs/ui-floating-action-button.cjs.entry.js +0 -20
  78. package/dist/cjs/ui-form-field.cjs.entry.js +0 -114
  79. package/dist/cjs/ui-icon-button.cjs.entry.js +0 -23
  80. package/dist/cjs/ui-input.cjs.entry.js +0 -106
  81. package/dist/cjs/ui-menu-item.cjs.entry.js +0 -19
  82. package/dist/cjs/ui-menu.cjs.entry.js +0 -182
  83. package/dist/cjs/ui-popover.cjs.entry.js +0 -135
  84. package/dist/cjs/ui-radio-group.cjs.entry.js +0 -134
  85. package/dist/cjs/ui-radio.cjs.entry.js +0 -94
  86. package/dist/cjs/ui-search-result-row.cjs.entry.js +0 -47
  87. package/dist/cjs/ui-search-shell.cjs.entry.js +0 -39
  88. package/dist/cjs/ui-select.cjs.entry.js +0 -108
  89. package/dist/cjs/ui-switch.cjs.entry.js +0 -74
  90. package/dist/cjs/ui-tabs.cjs.entry.js +0 -118
  91. package/dist/cjs/ui-textarea.cjs.entry.js +0 -110
  92. package/dist/cjs/ui-toast-region.cjs.entry.js +0 -93
  93. package/dist/cjs/ui-top-bar.cjs.entry.js +0 -43
  94. package/dist/cjs/ui-tree-item.cjs.entry.js +0 -135
  95. package/dist/cjs/ui-tree.cjs.entry.js +0 -500
  96. package/dist/collection/collection-manifest.json +0 -45
  97. package/dist/collection/components/ui-affordance-scope/ui-affordance-scope.css +0 -8
  98. package/dist/collection/components/ui-affordance-scope/ui-affordance-scope.js +0 -70
  99. package/dist/collection/components/ui-avatar/ui-avatar.css +0 -35
  100. package/dist/collection/components/ui-avatar/ui-avatar.js +0 -130
  101. package/dist/collection/components/ui-avatar-group/ui-avatar-group.css +0 -32
  102. package/dist/collection/components/ui-avatar-group/ui-avatar-group.js +0 -95
  103. package/dist/collection/components/ui-badge/ui-badge.css +0 -90
  104. package/dist/collection/components/ui-badge/ui-badge.js +0 -62
  105. package/dist/collection/components/ui-button/ui-button.css +0 -121
  106. package/dist/collection/components/ui-button/ui-button.js +0 -141
  107. package/dist/collection/components/ui-callout/ui-callout.css +0 -74
  108. package/dist/collection/components/ui-callout/ui-callout.js +0 -59
  109. package/dist/collection/components/ui-checkbox/ui-checkbox.css +0 -24
  110. package/dist/collection/components/ui-checkbox/ui-checkbox.js +0 -228
  111. package/dist/collection/components/ui-chip/ui-chip.css +0 -57
  112. package/dist/collection/components/ui-chip/ui-chip.js +0 -67
  113. package/dist/collection/components/ui-combobox/ui-combobox.css +0 -47
  114. package/dist/collection/components/ui-combobox/ui-combobox.js +0 -1295
  115. package/dist/collection/components/ui-context-menu/ui-context-menu.css +0 -34
  116. package/dist/collection/components/ui-context-menu/ui-context-menu.js +0 -311
  117. package/dist/collection/components/ui-dialog/ui-dialog.css +0 -72
  118. package/dist/collection/components/ui-dialog/ui-dialog.js +0 -242
  119. package/dist/collection/components/ui-disclosure/ui-disclosure.css +0 -7
  120. package/dist/collection/components/ui-disclosure/ui-disclosure.js +0 -184
  121. package/dist/collection/components/ui-editable/ui-editable.css +0 -2
  122. package/dist/collection/components/ui-editable/ui-editable.js +0 -196
  123. package/dist/collection/components/ui-floating-action-button/ui-floating-action-button.css +0 -73
  124. package/dist/collection/components/ui-floating-action-button/ui-floating-action-button.js +0 -85
  125. package/dist/collection/components/ui-form-field/ui-form-field.css +0 -25
  126. package/dist/collection/components/ui-form-field/ui-form-field.js +0 -180
  127. package/dist/collection/components/ui-icon-button/ui-icon-button.css +0 -145
  128. package/dist/collection/components/ui-icon-button/ui-icon-button.js +0 -128
  129. package/dist/collection/components/ui-input/ui-input.css +0 -48
  130. package/dist/collection/components/ui-input/ui-input.js +0 -217
  131. package/dist/collection/components/ui-menu/ui-menu.css +0 -73
  132. package/dist/collection/components/ui-menu/ui-menu.js +0 -280
  133. package/dist/collection/components/ui-menu-item/ui-menu-item.css +0 -32
  134. package/dist/collection/components/ui-menu-item/ui-menu-item.js +0 -64
  135. package/dist/collection/components/ui-popover/ui-popover.css +0 -58
  136. package/dist/collection/components/ui-popover/ui-popover.js +0 -232
  137. package/dist/collection/components/ui-radio/ui-radio.css +0 -22
  138. package/dist/collection/components/ui-radio/ui-radio.js +0 -226
  139. package/dist/collection/components/ui-radio-group/ui-radio-group.css +0 -10
  140. package/dist/collection/components/ui-radio-group/ui-radio-group.js +0 -247
  141. package/dist/collection/components/ui-search-result-row/ui-search-result-row.css +0 -80
  142. package/dist/collection/components/ui-search-result-row/ui-search-result-row.js +0 -100
  143. package/dist/collection/components/ui-search-shell/ui-search-shell.css +0 -63
  144. package/dist/collection/components/ui-search-shell/ui-search-shell.js +0 -46
  145. package/dist/collection/components/ui-select/ui-select.css +0 -64
  146. package/dist/collection/components/ui-select/ui-select.js +0 -218
  147. package/dist/collection/components/ui-switch/ui-switch.css +0 -63
  148. package/dist/collection/components/ui-switch/ui-switch.js +0 -185
  149. package/dist/collection/components/ui-tabs/ui-tabs.css +0 -68
  150. package/dist/collection/components/ui-tabs/ui-tabs.js +0 -190
  151. package/dist/collection/components/ui-textarea/ui-textarea.css +0 -49
  152. package/dist/collection/components/ui-textarea/ui-textarea.js +0 -241
  153. package/dist/collection/components/ui-toast-region/ui-toast-region.css +0 -59
  154. package/dist/collection/components/ui-toast-region/ui-toast-region.js +0 -126
  155. package/dist/collection/components/ui-tooltip/ui-tooltip.css +0 -43
  156. package/dist/collection/components/ui-tooltip/ui-tooltip.js +0 -430
  157. package/dist/collection/components/ui-top-bar/ui-top-bar.css +0 -51
  158. package/dist/collection/components/ui-top-bar/ui-top-bar.js +0 -52
  159. package/dist/collection/components/ui-tree/ui-tree.css +0 -12
  160. package/dist/collection/components/ui-tree/ui-tree.js +0 -515
  161. package/dist/collection/components/ui-tree-item/ui-tree-item.css +0 -217
  162. package/dist/collection/components/ui-tree-item/ui-tree-item.js +0 -406
  163. package/dist/collection/field/combobox.js +0 -4
  164. package/dist/collection/field/editable.js +0 -1
  165. package/dist/collection/field/multi-combobox.js +0 -1
  166. package/dist/collection/field/valibot.js +0 -5
  167. package/dist/collection/field/validation.js +0 -62
  168. package/dist/collection/icons.js +0 -71
  169. package/dist/collection/input-modality.js +0 -24
  170. package/dist/collection/overlay/manager.js +0 -92
  171. package/dist/collection/overlay/positioning.js +0 -424
  172. package/dist/collection/utils/controlled-state.js +0 -4
  173. package/dist/collection/utils/drag-drop.js +0 -51
  174. package/dist/collection/utils/events.js +0 -13
  175. package/dist/collection/utils/id.js +0 -5
  176. package/dist/collection/utils/initials.js +0 -11
  177. package/dist/components/index.d.ts +0 -102
  178. package/dist/components/index.js +0 -1
  179. package/dist/components/p-6SWSrfmW.js +0 -1
  180. package/dist/components/p-B_DaIVEY.js +0 -1
  181. package/dist/components/p-Bh_1GxOD.js +0 -1
  182. package/dist/components/p-BnGhGgTH.js +0 -1
  183. package/dist/components/p-BzaB_bXo.js +0 -1
  184. package/dist/components/p-C-0syqXZ.js +0 -1
  185. package/dist/components/p-CoFximGM.js +0 -13
  186. package/dist/components/p-JwSoedEO.js +0 -1
  187. package/dist/components/p-Vc4ExHFc.js +0 -1
  188. package/dist/components/p-hgBUJRDa.js +0 -1
  189. package/dist/components/ui-affordance-scope.d.ts +0 -11
  190. package/dist/components/ui-affordance-scope.js +0 -1
  191. package/dist/components/ui-avatar-group.d.ts +0 -11
  192. package/dist/components/ui-avatar-group.js +0 -1
  193. package/dist/components/ui-avatar.d.ts +0 -11
  194. package/dist/components/ui-avatar.js +0 -1
  195. package/dist/components/ui-badge.d.ts +0 -11
  196. package/dist/components/ui-badge.js +0 -1
  197. package/dist/components/ui-button.d.ts +0 -11
  198. package/dist/components/ui-button.js +0 -1
  199. package/dist/components/ui-callout.d.ts +0 -11
  200. package/dist/components/ui-callout.js +0 -1
  201. package/dist/components/ui-checkbox.d.ts +0 -11
  202. package/dist/components/ui-checkbox.js +0 -1
  203. package/dist/components/ui-chip.d.ts +0 -11
  204. package/dist/components/ui-chip.js +0 -1
  205. package/dist/components/ui-combobox.d.ts +0 -11
  206. package/dist/components/ui-combobox.js +0 -1
  207. package/dist/components/ui-context-menu.d.ts +0 -11
  208. package/dist/components/ui-context-menu.js +0 -1
  209. package/dist/components/ui-dialog.d.ts +0 -11
  210. package/dist/components/ui-dialog.js +0 -1
  211. package/dist/components/ui-disclosure.d.ts +0 -11
  212. package/dist/components/ui-disclosure.js +0 -1
  213. package/dist/components/ui-editable.d.ts +0 -11
  214. package/dist/components/ui-editable.js +0 -1
  215. package/dist/components/ui-floating-action-button.d.ts +0 -11
  216. package/dist/components/ui-floating-action-button.js +0 -1
  217. package/dist/components/ui-form-field.d.ts +0 -11
  218. package/dist/components/ui-form-field.js +0 -1
  219. package/dist/components/ui-icon-button.d.ts +0 -11
  220. package/dist/components/ui-icon-button.js +0 -1
  221. package/dist/components/ui-input.d.ts +0 -11
  222. package/dist/components/ui-input.js +0 -1
  223. package/dist/components/ui-menu-item.d.ts +0 -11
  224. package/dist/components/ui-menu-item.js +0 -1
  225. package/dist/components/ui-menu.d.ts +0 -11
  226. package/dist/components/ui-menu.js +0 -1
  227. package/dist/components/ui-popover.d.ts +0 -11
  228. package/dist/components/ui-popover.js +0 -1
  229. package/dist/components/ui-radio-group.d.ts +0 -11
  230. package/dist/components/ui-radio-group.js +0 -1
  231. package/dist/components/ui-radio.d.ts +0 -11
  232. package/dist/components/ui-radio.js +0 -1
  233. package/dist/components/ui-search-result-row.d.ts +0 -11
  234. package/dist/components/ui-search-result-row.js +0 -1
  235. package/dist/components/ui-search-shell.d.ts +0 -11
  236. package/dist/components/ui-search-shell.js +0 -1
  237. package/dist/components/ui-select.d.ts +0 -11
  238. package/dist/components/ui-select.js +0 -1
  239. package/dist/components/ui-switch.d.ts +0 -11
  240. package/dist/components/ui-switch.js +0 -1
  241. package/dist/components/ui-tabs.d.ts +0 -11
  242. package/dist/components/ui-tabs.js +0 -1
  243. package/dist/components/ui-textarea.d.ts +0 -11
  244. package/dist/components/ui-textarea.js +0 -1
  245. package/dist/components/ui-toast-region.d.ts +0 -11
  246. package/dist/components/ui-toast-region.js +0 -1
  247. package/dist/components/ui-tooltip.d.ts +0 -11
  248. package/dist/components/ui-tooltip.js +0 -1
  249. package/dist/components/ui-top-bar.d.ts +0 -11
  250. package/dist/components/ui-top-bar.js +0 -1
  251. package/dist/components/ui-tree-item.d.ts +0 -11
  252. package/dist/components/ui-tree-item.js +0 -1
  253. package/dist/components/ui-tree.d.ts +0 -11
  254. package/dist/components/ui-tree.js +0 -1
  255. package/dist/esm/app-globals-DQuL1Twl.js +0 -3
  256. package/dist/esm/controlled-state-BnGhGgTH.js +0 -6
  257. package/dist/esm/events-JwSoedEO.js +0 -15
  258. package/dist/esm/icons-CoFximGM.js +0 -678
  259. package/dist/esm/id-hgBUJRDa.js +0 -7
  260. package/dist/esm/index-8BGiMGQ0.js +0 -1593
  261. package/dist/esm/index.js +0 -1
  262. package/dist/esm/loader.js +0 -11
  263. package/dist/esm/looma.js +0 -21
  264. package/dist/esm/manager-C-0syqXZ.js +0 -91
  265. package/dist/esm/positioning-ZOr-2PSe.js +0 -421
  266. package/dist/esm/ui-affordance-scope.entry.js +0 -41
  267. package/dist/esm/ui-avatar-group.entry.js +0 -41
  268. package/dist/esm/ui-avatar.entry.js +0 -48
  269. package/dist/esm/ui-badge.entry.js +0 -17
  270. package/dist/esm/ui-button.entry.js +0 -73
  271. package/dist/esm/ui-callout.entry.js +0 -25
  272. package/dist/esm/ui-checkbox.entry.js +0 -95
  273. package/dist/esm/ui-chip_2.entry.js +0 -255
  274. package/dist/esm/ui-combobox.entry.js +0 -706
  275. package/dist/esm/ui-context-menu.entry.js +0 -237
  276. package/dist/esm/ui-dialog.entry.js +0 -129
  277. package/dist/esm/ui-disclosure.entry.js +0 -110
  278. package/dist/esm/ui-editable.entry.js +0 -98
  279. package/dist/esm/ui-floating-action-button.entry.js +0 -18
  280. package/dist/esm/ui-form-field.entry.js +0 -112
  281. package/dist/esm/ui-icon-button.entry.js +0 -21
  282. package/dist/esm/ui-input.entry.js +0 -104
  283. package/dist/esm/ui-menu-item.entry.js +0 -17
  284. package/dist/esm/ui-menu.entry.js +0 -180
  285. package/dist/esm/ui-popover.entry.js +0 -133
  286. package/dist/esm/ui-radio-group.entry.js +0 -132
  287. package/dist/esm/ui-radio.entry.js +0 -92
  288. package/dist/esm/ui-search-result-row.entry.js +0 -45
  289. package/dist/esm/ui-search-shell.entry.js +0 -37
  290. package/dist/esm/ui-select.entry.js +0 -106
  291. package/dist/esm/ui-switch.entry.js +0 -72
  292. package/dist/esm/ui-tabs.entry.js +0 -116
  293. package/dist/esm/ui-textarea.entry.js +0 -108
  294. package/dist/esm/ui-toast-region.entry.js +0 -91
  295. package/dist/esm/ui-top-bar.entry.js +0 -41
  296. package/dist/esm/ui-tree-item.entry.js +0 -133
  297. package/dist/esm/ui-tree.entry.js +0 -498
  298. package/dist/index.cjs.js +0 -1
  299. package/dist/looma/index.esm.js +0 -0
  300. package/dist/looma/looma.esm.js +0 -1
  301. package/dist/looma/p-08f80207.entry.js +0 -1
  302. package/dist/looma/p-0b5b8d9e.entry.js +0 -1
  303. package/dist/looma/p-1249a806.entry.js +0 -1
  304. package/dist/looma/p-16e0669d.entry.js +0 -1
  305. package/dist/looma/p-1c00670f.entry.js +0 -1
  306. package/dist/looma/p-1c5a7522.entry.js +0 -1
  307. package/dist/looma/p-22842f8c.entry.js +0 -1
  308. package/dist/looma/p-2915d5c0.entry.js +0 -1
  309. package/dist/looma/p-3b2961a6.entry.js +0 -1
  310. package/dist/looma/p-3f60f4c8.entry.js +0 -1
  311. package/dist/looma/p-424d6719.entry.js +0 -1
  312. package/dist/looma/p-4caccfce.entry.js +0 -1
  313. package/dist/looma/p-5fdcee1d.entry.js +0 -1
  314. package/dist/looma/p-6d8b99ee.entry.js +0 -1
  315. package/dist/looma/p-6f20d470.entry.js +0 -1
  316. package/dist/looma/p-7c0b5364.entry.js +0 -1
  317. package/dist/looma/p-8BGiMGQ0.js +0 -2
  318. package/dist/looma/p-8bdd9495.entry.js +0 -1
  319. package/dist/looma/p-99116a72.entry.js +0 -1
  320. package/dist/looma/p-9cfbf722.entry.js +0 -1
  321. package/dist/looma/p-9d2662ca.entry.js +0 -1
  322. package/dist/looma/p-9ff2fa19.entry.js +0 -1
  323. package/dist/looma/p-BnGhGgTH.js +0 -1
  324. package/dist/looma/p-C-0syqXZ.js +0 -1
  325. package/dist/looma/p-CoFximGM.js +0 -13
  326. package/dist/looma/p-DQuL1Twl.js +0 -1
  327. package/dist/looma/p-JwSoedEO.js +0 -1
  328. package/dist/looma/p-ZOr-2PSe.js +0 -1
  329. package/dist/looma/p-a2dd4c6c.entry.js +0 -1
  330. package/dist/looma/p-add67e4c.entry.js +0 -1
  331. package/dist/looma/p-b6ede6bb.entry.js +0 -1
  332. package/dist/looma/p-b76e2111.entry.js +0 -1
  333. package/dist/looma/p-ca2a54fd.entry.js +0 -1
  334. package/dist/looma/p-d372b0db.entry.js +0 -1
  335. package/dist/looma/p-d4825822.entry.js +0 -1
  336. package/dist/looma/p-d56571a2.entry.js +0 -1
  337. package/dist/looma/p-d5c3954f.entry.js +0 -1
  338. package/dist/looma/p-e604e906.entry.js +0 -1
  339. package/dist/looma/p-f1f7c5cb.entry.js +0 -1
  340. package/dist/looma/p-hgBUJRDa.js +0 -1
  341. package/dist/types/components/ui-affordance-scope/ui-affordance-scope.d.ts +0 -11
  342. package/dist/types/components/ui-avatar/ui-avatar.d.ts +0 -11
  343. package/dist/types/components/ui-avatar-group/ui-avatar-group.d.ts +0 -11
  344. package/dist/types/components/ui-badge/ui-badge.d.ts +0 -5
  345. package/dist/types/components/ui-button/ui-button.d.ts +0 -13
  346. package/dist/types/components/ui-callout/ui-callout.d.ts +0 -6
  347. package/dist/types/components/ui-checkbox/ui-checkbox.d.ts +0 -20
  348. package/dist/types/components/ui-chip/ui-chip.d.ts +0 -8
  349. package/dist/types/components/ui-combobox/ui-combobox.d.ts +0 -128
  350. package/dist/types/components/ui-context-menu/ui-context-menu.d.ts +0 -43
  351. package/dist/types/components/ui-dialog/ui-dialog.d.ts +0 -27
  352. package/dist/types/components/ui-disclosure/ui-disclosure.d.ts +0 -21
  353. package/dist/types/components/ui-editable/ui-editable.d.ts +0 -24
  354. package/dist/types/components/ui-floating-action-button/ui-floating-action-button.d.ts +0 -6
  355. package/dist/types/components/ui-form-field/ui-form-field.d.ts +0 -18
  356. package/dist/types/components/ui-icon-button/ui-icon-button.d.ts +0 -9
  357. package/dist/types/components/ui-input/ui-input.d.ts +0 -19
  358. package/dist/types/components/ui-menu/ui-menu.d.ts +0 -28
  359. package/dist/types/components/ui-menu-item/ui-menu-item.d.ts +0 -5
  360. package/dist/types/components/ui-popover/ui-popover.d.ts +0 -26
  361. package/dist/types/components/ui-radio/ui-radio.d.ts +0 -20
  362. package/dist/types/components/ui-radio-group/ui-radio-group.d.ts +0 -21
  363. package/dist/types/components/ui-search-result-row/ui-search-result-row.d.ts +0 -15
  364. package/dist/types/components/ui-search-shell/ui-search-shell.d.ts +0 -9
  365. package/dist/types/components/ui-select/ui-select.d.ts +0 -20
  366. package/dist/types/components/ui-switch/ui-switch.d.ts +0 -16
  367. package/dist/types/components/ui-tabs/ui-tabs.d.ts +0 -18
  368. package/dist/types/components/ui-textarea/ui-textarea.d.ts +0 -20
  369. package/dist/types/components/ui-toast-region/ui-toast-region.d.ts +0 -16
  370. package/dist/types/components/ui-tooltip/ui-tooltip.d.ts +0 -57
  371. package/dist/types/components/ui-top-bar/ui-top-bar.d.ts +0 -12
  372. package/dist/types/components/ui-tree/ui-tree.d.ts +0 -53
  373. package/dist/types/components/ui-tree-item/ui-tree-item.d.ts +0 -44
  374. package/dist/types/components.d.ts +0 -1889
  375. package/dist/types/field/combobox.d.ts +0 -46
  376. package/dist/types/field/editable.d.ts +0 -5
  377. package/dist/types/field/multi-combobox.d.ts +0 -11
  378. package/dist/types/field/valibot.d.ts +0 -7
  379. package/dist/types/icons.d.ts +0 -53
  380. package/dist/types/input-modality.d.ts +0 -6
  381. package/dist/types/overlay/manager.d.ts +0 -17
  382. package/dist/types/overlay/positioning.d.ts +0 -74
  383. package/dist/types/stencil-public-runtime.d.ts +0 -1860
  384. package/dist/types/utils/controlled-state.d.ts +0 -4
  385. package/dist/types/utils/drag-drop.d.ts +0 -15
  386. package/dist/types/utils/events.d.ts +0 -4
  387. package/dist/types/utils/id.d.ts +0 -1
  388. package/dist/types/utils/initials.d.ts +0 -1
  389. package/dist/ui-affordance-scope.entry-L6TIXYOP.js +0 -54
  390. package/dist/ui-avatar-group.entry-TCAA6P72.js +0 -51
  391. package/dist/ui-avatar.entry-52DQ7VXA.js +0 -51
  392. package/dist/ui-badge.entry-2XCAA6LL.js +0 -22
  393. package/dist/ui-button.entry-MNFBMNSX.js +0 -83
  394. package/dist/ui-callout.entry-SSHT5TH2.js +0 -32
  395. package/dist/ui-checkbox.entry-LOWIWIWI.js +0 -111
  396. package/dist/ui-chip_2.entry-BIMTSF6C.js +0 -272
  397. package/dist/ui-combobox.entry-25Z4MN7N.js +0 -717
  398. package/dist/ui-context-menu.entry-YZDL5Y4M.js +0 -248
  399. package/dist/ui-dialog.entry-HIXZX5AB.js +0 -146
  400. package/dist/ui-disclosure.entry-2JZHZNDQ.js +0 -126
  401. package/dist/ui-editable.entry-U3VR3XPT.js +0 -110
  402. package/dist/ui-floating-action-button.entry-6S3QN3KJ.js +0 -23
  403. package/dist/ui-form-field.entry-GQOSMLHT.js +0 -120
  404. package/dist/ui-icon-button.entry-QJXKVDM6.js +0 -26
  405. package/dist/ui-input.entry-UWMQ6JMP.js +0 -114
  406. package/dist/ui-menu-item.entry-NHNZKKJS.js +0 -22
  407. package/dist/ui-menu.entry-D53RUJND.js +0 -192
  408. package/dist/ui-popover.entry-7ZSIWCFQ.js +0 -152
  409. package/dist/ui-radio-group.entry-37MSYIH4.js +0 -142
  410. package/dist/ui-radio.entry-7YGCDHXT.js +0 -108
  411. package/dist/ui-search-result-row.entry-6FCCLGAS.js +0 -50
  412. package/dist/ui-search-shell.entry-HSBEXPER.js +0 -41
  413. package/dist/ui-select.entry-GIDIAYRD.js +0 -117
  414. package/dist/ui-switch.entry-MYAL6XPC.js +0 -87
  415. package/dist/ui-tabs.entry-R4TEXQSD.js +0 -128
  416. package/dist/ui-textarea.entry-FW32JNDV.js +0 -119
  417. package/dist/ui-toast-region.entry-BTMFPKZF.js +0 -104
  418. package/dist/ui-top-bar.entry-5DQGJF3B.js +0 -49
  419. package/dist/ui-tree-item.entry-ADT7DSOS.js +0 -145
  420. package/dist/ui-tree.entry-7PYQ5RIN.js +0 -470
  421. package/editor/chunk-64GLF274.js +0 -1271
  422. package/layout/index.css +0 -387
  423. package/loader/cdn.js +0 -1
  424. package/loader/index.cjs.js +0 -1
  425. package/loader/index.d.ts +0 -24
  426. package/loader/index.es2017.js +0 -1
  427. package/loader/index.js +0 -2
  428. package/vue/chunk-ROMBQS2L.js +0 -352
@@ -1,58 +0,0 @@
1
- :host {
2
- --ui-popover-viewport-gap: var(--ui-space-2, 0.5rem);
3
- box-sizing: border-box;
4
- max-inline-size: min(
5
- 20rem,
6
- calc(100vw - (var(--ui-popover-viewport-gap) * 2))
7
- );
8
- max-block-size: calc(100dvh - (var(--ui-popover-viewport-gap) * 2));
9
- overflow: visible;
10
- padding: 0;
11
- border: 0;
12
- border-radius: 0;
13
- background: transparent;
14
- box-shadow: none;
15
- }
16
-
17
- .popover__surface {
18
- box-sizing: border-box;
19
- max-inline-size: inherit;
20
- max-block-size: inherit;
21
- overflow: auto;
22
- padding: var(--ui-space-3);
23
- background: var(--ui-surface-elevated);
24
- border: 1px solid var(--ui-border-default);
25
- border-radius: var(--ui-radius-3);
26
- box-shadow: var(--ui-shadow-lg);
27
- }
28
-
29
- :host(:not([data-open])) {
30
- display: none;
31
- }
32
-
33
- :host([popover]) {
34
- position: fixed;
35
- inset: auto;
36
- margin: 0;
37
- opacity: 0;
38
- transform: translateY(-4px) scale(0.99);
39
- transition:
40
- opacity var(--ui-motion-fast) var(--ui-motion-ease),
41
- transform var(--ui-motion-fast) var(--ui-motion-ease),
42
- display var(--ui-motion-fast) allow-discrete,
43
- overlay var(--ui-motion-fast) allow-discrete;
44
- }
45
-
46
- :host([popover]:popover-open) { opacity: 1; transform: translateY(0) scale(1); }
47
-
48
- @starting-style {
49
- :host([popover]:popover-open) { opacity: 0; transform: translateY(-4px) scale(0.99); }
50
- }
51
-
52
- :host([hidden]) {
53
- display: none !important;
54
- }
55
-
56
- @media (prefers-reduced-motion: reduce) {
57
- :host([popover]) { transition: none; }
58
- }
@@ -1,232 +0,0 @@
1
- import { Host, h } from "@stencil/core";
2
- import { openOverlay, closeOverlay, requestTopOverlayClose } from "../../overlay/manager";
3
- import { dispatchDetail } from "../../utils/events";
4
- import { controlledOrDefault, isControlled } from "../../utils/controlled-state";
5
- import { createAnchoredSurface, } from "../../overlay/positioning";
6
- export class UIPopover {
7
- host;
8
- /** Controlled open state. Omit it to use defaultOpen and local interaction state. */
9
- open;
10
- defaultOpen = false;
11
- /** Optional id of the element this popover follows in the top layer. */
12
- for;
13
- placement = 'bottom-start';
14
- internalOpen = false;
15
- overlayId = `ui-popover-${Math.random().toString(36).slice(2, 11)}`;
16
- anchor = null;
17
- surface = null;
18
- syncFromProp() {
19
- if (isControlled(this.open))
20
- this.internalOpen = this.open;
21
- }
22
- onOpenChange() {
23
- this.syncOverlay();
24
- if (this.internalOpen) {
25
- dispatchDetail(this.host, 'open', {
26
- open: true,
27
- reason: 'programmatic',
28
- trigger: 'programmatic',
29
- });
30
- }
31
- else {
32
- dispatchDetail(this.host, 'close', {
33
- open: false,
34
- reason: 'programmatic',
35
- trigger: 'programmatic',
36
- });
37
- }
38
- }
39
- resetSurface() {
40
- this.setupSurface();
41
- this.syncSurface();
42
- }
43
- setupSurface() {
44
- this.surface?.destroy();
45
- this.surface = null;
46
- this.anchor = this.for ? this.host.ownerDocument.getElementById(this.for) : null;
47
- if (!this.anchor)
48
- return;
49
- this.surface = createAnchoredSurface(this.host, {
50
- anchor: this.anchor,
51
- placement: this.placement,
52
- });
53
- }
54
- syncSurface() {
55
- if (!this.surface)
56
- return;
57
- if (this.internalOpen)
58
- this.surface.show();
59
- else
60
- this.surface.hide();
61
- }
62
- syncOverlay() {
63
- this.syncSurface();
64
- if (this.internalOpen) {
65
- openOverlay({
66
- id: this.overlayId,
67
- modal: false,
68
- element: this.host,
69
- relatedElements: this.anchor ? [this.anchor] : undefined,
70
- dismissible: true,
71
- requestClose: (reason, trigger) => this.handleRequestClose(reason, trigger),
72
- });
73
- }
74
- else {
75
- closeOverlay(this.overlayId);
76
- }
77
- }
78
- componentDidLoad() {
79
- this.internalOpen = controlledOrDefault(this.open, this.defaultOpen);
80
- this.host.addEventListener('keydown', this.onKeydown);
81
- this.setupSurface();
82
- this.syncOverlay();
83
- }
84
- disconnectedCallback() {
85
- this.host.removeEventListener('keydown', this.onKeydown);
86
- this.surface?.destroy();
87
- this.surface = null;
88
- closeOverlay(this.overlayId);
89
- }
90
- componentDidUpdate() {
91
- this.syncOverlay();
92
- }
93
- handleRequestClose(reason, trigger) {
94
- if (!isControlled(this.open))
95
- this.internalOpen = false;
96
- dispatchDetail(this.host, 'close', {
97
- open: false,
98
- reason: reason,
99
- trigger: trigger,
100
- });
101
- }
102
- onKeydown = (e) => {
103
- if (e.key === 'Escape') {
104
- requestTopOverlayClose('escape', 'keyboard');
105
- }
106
- };
107
- render() {
108
- return (h(Host, { key: '65a0927abc40450205989704bfde2cf7fd80d1f9', "data-open": this.internalOpen ? '' : undefined, onKeyDown: this.onKeydown }, h("div", { key: '255acaf99e0fe70a92048351b24bdfde1a4ea45f', class: "popover__surface" }, h("slot", { key: '9d2f6c9d5a0f7a2766225aef0ec5b98b33ec9f07' }))));
109
- }
110
- static get is() { return "ui-popover"; }
111
- static get encapsulation() { return "shadow"; }
112
- static get originalStyleUrls() {
113
- return {
114
- "$": ["ui-popover.css"]
115
- };
116
- }
117
- static get styleUrls() {
118
- return {
119
- "$": ["ui-popover.css"]
120
- };
121
- }
122
- static get properties() {
123
- return {
124
- "open": {
125
- "type": "boolean",
126
- "mutable": false,
127
- "complexType": {
128
- "original": "boolean",
129
- "resolved": "boolean",
130
- "references": {}
131
- },
132
- "required": false,
133
- "optional": true,
134
- "docs": {
135
- "tags": [],
136
- "text": "Controlled open state. Omit it to use defaultOpen and local interaction state."
137
- },
138
- "getter": false,
139
- "setter": false,
140
- "reflect": false,
141
- "attribute": "open"
142
- },
143
- "defaultOpen": {
144
- "type": "boolean",
145
- "mutable": false,
146
- "complexType": {
147
- "original": "boolean",
148
- "resolved": "boolean",
149
- "references": {}
150
- },
151
- "required": false,
152
- "optional": false,
153
- "docs": {
154
- "tags": [],
155
- "text": ""
156
- },
157
- "getter": false,
158
- "setter": false,
159
- "reflect": false,
160
- "attribute": "default-open",
161
- "defaultValue": "false"
162
- },
163
- "for": {
164
- "type": "string",
165
- "mutable": false,
166
- "complexType": {
167
- "original": "string",
168
- "resolved": "string",
169
- "references": {}
170
- },
171
- "required": false,
172
- "optional": true,
173
- "docs": {
174
- "tags": [],
175
- "text": "Optional id of the element this popover follows in the top layer."
176
- },
177
- "getter": false,
178
- "setter": false,
179
- "reflect": false,
180
- "attribute": "for"
181
- },
182
- "placement": {
183
- "type": "string",
184
- "mutable": false,
185
- "complexType": {
186
- "original": "AnchoredPlacement",
187
- "resolved": "\"bottom-end\" | \"bottom-start\" | \"top-end\" | \"top-start\"",
188
- "references": {
189
- "AnchoredPlacement": {
190
- "location": "import",
191
- "path": "../../overlay/positioning",
192
- "id": "src/overlay/positioning.ts::AnchoredPlacement",
193
- "referenceLocation": "AnchoredPlacement"
194
- }
195
- }
196
- },
197
- "required": false,
198
- "optional": false,
199
- "docs": {
200
- "tags": [],
201
- "text": ""
202
- },
203
- "getter": false,
204
- "setter": false,
205
- "reflect": false,
206
- "attribute": "placement",
207
- "defaultValue": "'bottom-start'"
208
- }
209
- };
210
- }
211
- static get states() {
212
- return {
213
- "internalOpen": {}
214
- };
215
- }
216
- static get elementRef() { return "host"; }
217
- static get watchers() {
218
- return [{
219
- "propName": "open",
220
- "methodName": "syncFromProp"
221
- }, {
222
- "propName": "internalOpen",
223
- "methodName": "onOpenChange"
224
- }, {
225
- "propName": "for",
226
- "methodName": "resetSurface"
227
- }, {
228
- "propName": "placement",
229
- "methodName": "resetSurface"
230
- }];
231
- }
232
- }
@@ -1,22 +0,0 @@
1
- :host {
2
- display: inline-flex;
3
- align-items: center;
4
- gap: var(--ui-space-2);
5
- color: var(--ui-text-primary);
6
- }
7
-
8
- :host([data-disabled='true']),
9
- :host([aria-disabled='true']) {
10
- opacity: 0.6;
11
- cursor: not-allowed;
12
- }
13
-
14
- ::slotted(input[type='radio']) {
15
- accent-color: var(--ui-accent-solid);
16
- cursor: pointer;
17
- }
18
-
19
- ::slotted(input[type='radio']:focus-visible) {
20
- outline: 2px solid var(--ui-accent-solid);
21
- outline-offset: 2px;
22
- }
@@ -1,226 +0,0 @@
1
- import { Host, h } from "@stencil/core";
2
- import { eventToTrigger } from "../../utils/events";
3
- import { dispatchDetail } from "../../utils/events";
4
- import { controlledOrDefault, isControlled } from "../../utils/controlled-state";
5
- export class UIRadio {
6
- host;
7
- /** Controlled checked state. Omit it to use defaultChecked and local interaction state. */
8
- checked;
9
- defaultChecked = false;
10
- disabled = false;
11
- name = '';
12
- required = false;
13
- value = 'on';
14
- internalChecked = false;
15
- slotRef;
16
- syncFromProp() {
17
- if (isControlled(this.checked))
18
- this.internalChecked = this.checked;
19
- }
20
- syncToInput() {
21
- const input = this.getInput();
22
- if (!input)
23
- return;
24
- this.host.toggleAttribute('data-disabled', this.disabled);
25
- input.checked = this.internalChecked;
26
- input.disabled = this.disabled;
27
- input.name = this.name;
28
- input.required = this.required;
29
- input.value = this.value;
30
- }
31
- componentDidLoad() {
32
- this.internalChecked = controlledOrDefault(this.checked, this.defaultChecked);
33
- this.slotRef?.addEventListener('slotchange', () => this.syncToInput());
34
- this.syncToInput();
35
- const input = this.getInput();
36
- input?.addEventListener('change', this.onInputChange);
37
- }
38
- disconnectedCallback() {
39
- const input = this.getInput();
40
- input?.removeEventListener('change', this.onInputChange);
41
- }
42
- componentDidUpdate() {
43
- this.syncToInput();
44
- }
45
- getInput() {
46
- const slot = this.host.shadowRoot?.querySelector('slot');
47
- const nodes = slot?.assignedElements() ?? Array.from(this.host.children);
48
- return nodes.find((el) => el instanceof HTMLInputElement && el.type === 'radio') ?? null;
49
- }
50
- onInputChange = (e) => {
51
- const input = e.target;
52
- if (!input || !input.checked)
53
- return;
54
- if (!isControlled(this.checked))
55
- this.internalChecked = true;
56
- else
57
- this.syncToInput();
58
- dispatchDetail(this.host, 'change', {
59
- checked: true,
60
- value: this.value,
61
- trigger: eventToTrigger(e),
62
- });
63
- };
64
- render() {
65
- return (h(Host, { key: '32df72dff7253956875ef28f593462ddbbb90eef', role: "radio", "aria-checked": String(this.internalChecked), "aria-disabled": String(this.disabled), "data-disabled": this.disabled ? '' : undefined }, h("slot", { key: '0c78f3e3bdf4d618547b267128c6fc0fdd651599', ref: (el) => (this.slotRef = el) })));
66
- }
67
- static get is() { return "ui-radio"; }
68
- static get encapsulation() { return "shadow"; }
69
- static get originalStyleUrls() {
70
- return {
71
- "$": ["ui-radio.css"]
72
- };
73
- }
74
- static get styleUrls() {
75
- return {
76
- "$": ["ui-radio.css"]
77
- };
78
- }
79
- static get properties() {
80
- return {
81
- "checked": {
82
- "type": "boolean",
83
- "mutable": false,
84
- "complexType": {
85
- "original": "boolean",
86
- "resolved": "boolean",
87
- "references": {}
88
- },
89
- "required": false,
90
- "optional": true,
91
- "docs": {
92
- "tags": [],
93
- "text": "Controlled checked state. Omit it to use defaultChecked and local interaction state."
94
- },
95
- "getter": false,
96
- "setter": false,
97
- "reflect": false,
98
- "attribute": "checked"
99
- },
100
- "defaultChecked": {
101
- "type": "boolean",
102
- "mutable": false,
103
- "complexType": {
104
- "original": "boolean",
105
- "resolved": "boolean",
106
- "references": {}
107
- },
108
- "required": false,
109
- "optional": false,
110
- "docs": {
111
- "tags": [],
112
- "text": ""
113
- },
114
- "getter": false,
115
- "setter": false,
116
- "reflect": false,
117
- "attribute": "default-checked",
118
- "defaultValue": "false"
119
- },
120
- "disabled": {
121
- "type": "boolean",
122
- "mutable": false,
123
- "complexType": {
124
- "original": "boolean",
125
- "resolved": "boolean",
126
- "references": {}
127
- },
128
- "required": false,
129
- "optional": false,
130
- "docs": {
131
- "tags": [],
132
- "text": ""
133
- },
134
- "getter": false,
135
- "setter": false,
136
- "reflect": false,
137
- "attribute": "disabled",
138
- "defaultValue": "false"
139
- },
140
- "name": {
141
- "type": "string",
142
- "mutable": false,
143
- "complexType": {
144
- "original": "string",
145
- "resolved": "string",
146
- "references": {}
147
- },
148
- "required": false,
149
- "optional": false,
150
- "docs": {
151
- "tags": [],
152
- "text": ""
153
- },
154
- "getter": false,
155
- "setter": false,
156
- "reflect": false,
157
- "attribute": "name",
158
- "defaultValue": "''"
159
- },
160
- "required": {
161
- "type": "boolean",
162
- "mutable": false,
163
- "complexType": {
164
- "original": "boolean",
165
- "resolved": "boolean",
166
- "references": {}
167
- },
168
- "required": false,
169
- "optional": false,
170
- "docs": {
171
- "tags": [],
172
- "text": ""
173
- },
174
- "getter": false,
175
- "setter": false,
176
- "reflect": false,
177
- "attribute": "required",
178
- "defaultValue": "false"
179
- },
180
- "value": {
181
- "type": "string",
182
- "mutable": false,
183
- "complexType": {
184
- "original": "string",
185
- "resolved": "string",
186
- "references": {}
187
- },
188
- "required": false,
189
- "optional": false,
190
- "docs": {
191
- "tags": [],
192
- "text": ""
193
- },
194
- "getter": false,
195
- "setter": false,
196
- "reflect": false,
197
- "attribute": "value",
198
- "defaultValue": "'on'"
199
- }
200
- };
201
- }
202
- static get states() {
203
- return {
204
- "internalChecked": {}
205
- };
206
- }
207
- static get elementRef() { return "host"; }
208
- static get watchers() {
209
- return [{
210
- "propName": "checked",
211
- "methodName": "syncFromProp"
212
- }, {
213
- "propName": "disabled",
214
- "methodName": "syncToInput"
215
- }, {
216
- "propName": "name",
217
- "methodName": "syncToInput"
218
- }, {
219
- "propName": "required",
220
- "methodName": "syncToInput"
221
- }, {
222
- "propName": "value",
223
- "methodName": "syncToInput"
224
- }];
225
- }
226
- }
@@ -1,10 +0,0 @@
1
- :host {
2
- display: inline-flex;
3
- align-items: center;
4
- gap: var(--ui-space-2);
5
- }
6
-
7
- :host([data-orientation='vertical']) {
8
- display: inline-grid;
9
- justify-items: start;
10
- }