@threadlabs/looma 0.2.5 → 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 (427) 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/vue/chunk-4DPYH3IT.js +3538 -0
  41. package/vue/editor/index.d.ts +17 -7
  42. package/vue/editor/index.js +53 -35
  43. package/vue/index.d.ts +48 -31
  44. package/vue/index.js +1 -1
  45. package/dist/chunk-24OTMNIU.js +0 -1617
  46. package/dist/chunk-D5WRORG6.js +0 -366
  47. package/dist/chunk-HNFCGIBP.js +0 -8
  48. package/dist/chunk-NB6DBRXQ.js +0 -323
  49. package/dist/chunk-OF57X5AR.js +0 -10
  50. package/dist/chunk-TL4FIE7X.js +0 -93
  51. package/dist/chunk-UL7UIUJZ.js +0 -20
  52. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
  53. package/dist/cjs/controlled-state-BFya8rAX.js +0 -9
  54. package/dist/cjs/events-TcQIzpNv.js +0 -19
  55. package/dist/cjs/icons-BAdjrnhS.js +0 -680
  56. package/dist/cjs/id-CYbKpaYr.js +0 -9
  57. package/dist/cjs/index-BHG9Rpil.js +0 -1602
  58. package/dist/cjs/index.cjs.js +0 -2
  59. package/dist/cjs/loader.cjs.js +0 -13
  60. package/dist/cjs/looma.cjs.js +0 -25
  61. package/dist/cjs/manager-Ce25WRtl.js +0 -95
  62. package/dist/cjs/positioning-CCR6ifPj.js +0 -426
  63. package/dist/cjs/ui-affordance-scope.cjs.entry.js +0 -43
  64. package/dist/cjs/ui-avatar-group.cjs.entry.js +0 -43
  65. package/dist/cjs/ui-avatar.cjs.entry.js +0 -50
  66. package/dist/cjs/ui-badge.cjs.entry.js +0 -19
  67. package/dist/cjs/ui-button.cjs.entry.js +0 -75
  68. package/dist/cjs/ui-callout.cjs.entry.js +0 -27
  69. package/dist/cjs/ui-checkbox.cjs.entry.js +0 -97
  70. package/dist/cjs/ui-chip_2.cjs.entry.js +0 -258
  71. package/dist/cjs/ui-combobox.cjs.entry.js +0 -708
  72. package/dist/cjs/ui-context-menu.cjs.entry.js +0 -239
  73. package/dist/cjs/ui-dialog.cjs.entry.js +0 -131
  74. package/dist/cjs/ui-disclosure.cjs.entry.js +0 -112
  75. package/dist/cjs/ui-editable.cjs.entry.js +0 -100
  76. package/dist/cjs/ui-floating-action-button.cjs.entry.js +0 -20
  77. package/dist/cjs/ui-form-field.cjs.entry.js +0 -114
  78. package/dist/cjs/ui-icon-button.cjs.entry.js +0 -23
  79. package/dist/cjs/ui-input.cjs.entry.js +0 -106
  80. package/dist/cjs/ui-menu-item.cjs.entry.js +0 -19
  81. package/dist/cjs/ui-menu.cjs.entry.js +0 -182
  82. package/dist/cjs/ui-popover.cjs.entry.js +0 -135
  83. package/dist/cjs/ui-radio-group.cjs.entry.js +0 -134
  84. package/dist/cjs/ui-radio.cjs.entry.js +0 -94
  85. package/dist/cjs/ui-search-result-row.cjs.entry.js +0 -47
  86. package/dist/cjs/ui-search-shell.cjs.entry.js +0 -39
  87. package/dist/cjs/ui-select.cjs.entry.js +0 -108
  88. package/dist/cjs/ui-switch.cjs.entry.js +0 -74
  89. package/dist/cjs/ui-tabs.cjs.entry.js +0 -118
  90. package/dist/cjs/ui-textarea.cjs.entry.js +0 -110
  91. package/dist/cjs/ui-toast-region.cjs.entry.js +0 -93
  92. package/dist/cjs/ui-top-bar.cjs.entry.js +0 -43
  93. package/dist/cjs/ui-tree-item.cjs.entry.js +0 -135
  94. package/dist/cjs/ui-tree.cjs.entry.js +0 -500
  95. package/dist/collection/collection-manifest.json +0 -45
  96. package/dist/collection/components/ui-affordance-scope/ui-affordance-scope.css +0 -8
  97. package/dist/collection/components/ui-affordance-scope/ui-affordance-scope.js +0 -70
  98. package/dist/collection/components/ui-avatar/ui-avatar.css +0 -35
  99. package/dist/collection/components/ui-avatar/ui-avatar.js +0 -130
  100. package/dist/collection/components/ui-avatar-group/ui-avatar-group.css +0 -32
  101. package/dist/collection/components/ui-avatar-group/ui-avatar-group.js +0 -95
  102. package/dist/collection/components/ui-badge/ui-badge.css +0 -90
  103. package/dist/collection/components/ui-badge/ui-badge.js +0 -62
  104. package/dist/collection/components/ui-button/ui-button.css +0 -121
  105. package/dist/collection/components/ui-button/ui-button.js +0 -141
  106. package/dist/collection/components/ui-callout/ui-callout.css +0 -74
  107. package/dist/collection/components/ui-callout/ui-callout.js +0 -59
  108. package/dist/collection/components/ui-checkbox/ui-checkbox.css +0 -24
  109. package/dist/collection/components/ui-checkbox/ui-checkbox.js +0 -228
  110. package/dist/collection/components/ui-chip/ui-chip.css +0 -57
  111. package/dist/collection/components/ui-chip/ui-chip.js +0 -67
  112. package/dist/collection/components/ui-combobox/ui-combobox.css +0 -47
  113. package/dist/collection/components/ui-combobox/ui-combobox.js +0 -1295
  114. package/dist/collection/components/ui-context-menu/ui-context-menu.css +0 -34
  115. package/dist/collection/components/ui-context-menu/ui-context-menu.js +0 -311
  116. package/dist/collection/components/ui-dialog/ui-dialog.css +0 -72
  117. package/dist/collection/components/ui-dialog/ui-dialog.js +0 -242
  118. package/dist/collection/components/ui-disclosure/ui-disclosure.css +0 -7
  119. package/dist/collection/components/ui-disclosure/ui-disclosure.js +0 -184
  120. package/dist/collection/components/ui-editable/ui-editable.css +0 -2
  121. package/dist/collection/components/ui-editable/ui-editable.js +0 -196
  122. package/dist/collection/components/ui-floating-action-button/ui-floating-action-button.css +0 -73
  123. package/dist/collection/components/ui-floating-action-button/ui-floating-action-button.js +0 -85
  124. package/dist/collection/components/ui-form-field/ui-form-field.css +0 -25
  125. package/dist/collection/components/ui-form-field/ui-form-field.js +0 -180
  126. package/dist/collection/components/ui-icon-button/ui-icon-button.css +0 -145
  127. package/dist/collection/components/ui-icon-button/ui-icon-button.js +0 -128
  128. package/dist/collection/components/ui-input/ui-input.css +0 -48
  129. package/dist/collection/components/ui-input/ui-input.js +0 -217
  130. package/dist/collection/components/ui-menu/ui-menu.css +0 -73
  131. package/dist/collection/components/ui-menu/ui-menu.js +0 -280
  132. package/dist/collection/components/ui-menu-item/ui-menu-item.css +0 -32
  133. package/dist/collection/components/ui-menu-item/ui-menu-item.js +0 -64
  134. package/dist/collection/components/ui-popover/ui-popover.css +0 -58
  135. package/dist/collection/components/ui-popover/ui-popover.js +0 -232
  136. package/dist/collection/components/ui-radio/ui-radio.css +0 -22
  137. package/dist/collection/components/ui-radio/ui-radio.js +0 -226
  138. package/dist/collection/components/ui-radio-group/ui-radio-group.css +0 -10
  139. package/dist/collection/components/ui-radio-group/ui-radio-group.js +0 -247
  140. package/dist/collection/components/ui-search-result-row/ui-search-result-row.css +0 -80
  141. package/dist/collection/components/ui-search-result-row/ui-search-result-row.js +0 -100
  142. package/dist/collection/components/ui-search-shell/ui-search-shell.css +0 -63
  143. package/dist/collection/components/ui-search-shell/ui-search-shell.js +0 -46
  144. package/dist/collection/components/ui-select/ui-select.css +0 -64
  145. package/dist/collection/components/ui-select/ui-select.js +0 -218
  146. package/dist/collection/components/ui-switch/ui-switch.css +0 -63
  147. package/dist/collection/components/ui-switch/ui-switch.js +0 -185
  148. package/dist/collection/components/ui-tabs/ui-tabs.css +0 -68
  149. package/dist/collection/components/ui-tabs/ui-tabs.js +0 -190
  150. package/dist/collection/components/ui-textarea/ui-textarea.css +0 -49
  151. package/dist/collection/components/ui-textarea/ui-textarea.js +0 -241
  152. package/dist/collection/components/ui-toast-region/ui-toast-region.css +0 -59
  153. package/dist/collection/components/ui-toast-region/ui-toast-region.js +0 -126
  154. package/dist/collection/components/ui-tooltip/ui-tooltip.css +0 -43
  155. package/dist/collection/components/ui-tooltip/ui-tooltip.js +0 -430
  156. package/dist/collection/components/ui-top-bar/ui-top-bar.css +0 -51
  157. package/dist/collection/components/ui-top-bar/ui-top-bar.js +0 -52
  158. package/dist/collection/components/ui-tree/ui-tree.css +0 -12
  159. package/dist/collection/components/ui-tree/ui-tree.js +0 -515
  160. package/dist/collection/components/ui-tree-item/ui-tree-item.css +0 -217
  161. package/dist/collection/components/ui-tree-item/ui-tree-item.js +0 -406
  162. package/dist/collection/field/combobox.js +0 -4
  163. package/dist/collection/field/editable.js +0 -1
  164. package/dist/collection/field/multi-combobox.js +0 -1
  165. package/dist/collection/field/valibot.js +0 -5
  166. package/dist/collection/field/validation.js +0 -62
  167. package/dist/collection/icons.js +0 -71
  168. package/dist/collection/input-modality.js +0 -24
  169. package/dist/collection/overlay/manager.js +0 -92
  170. package/dist/collection/overlay/positioning.js +0 -424
  171. package/dist/collection/utils/controlled-state.js +0 -4
  172. package/dist/collection/utils/drag-drop.js +0 -51
  173. package/dist/collection/utils/events.js +0 -13
  174. package/dist/collection/utils/id.js +0 -5
  175. package/dist/collection/utils/initials.js +0 -11
  176. package/dist/components/index.d.ts +0 -102
  177. package/dist/components/index.js +0 -1
  178. package/dist/components/p-6SWSrfmW.js +0 -1
  179. package/dist/components/p-B_DaIVEY.js +0 -1
  180. package/dist/components/p-Bh_1GxOD.js +0 -1
  181. package/dist/components/p-BnGhGgTH.js +0 -1
  182. package/dist/components/p-BzaB_bXo.js +0 -1
  183. package/dist/components/p-C-0syqXZ.js +0 -1
  184. package/dist/components/p-CoFximGM.js +0 -13
  185. package/dist/components/p-JwSoedEO.js +0 -1
  186. package/dist/components/p-Vc4ExHFc.js +0 -1
  187. package/dist/components/p-hgBUJRDa.js +0 -1
  188. package/dist/components/ui-affordance-scope.d.ts +0 -11
  189. package/dist/components/ui-affordance-scope.js +0 -1
  190. package/dist/components/ui-avatar-group.d.ts +0 -11
  191. package/dist/components/ui-avatar-group.js +0 -1
  192. package/dist/components/ui-avatar.d.ts +0 -11
  193. package/dist/components/ui-avatar.js +0 -1
  194. package/dist/components/ui-badge.d.ts +0 -11
  195. package/dist/components/ui-badge.js +0 -1
  196. package/dist/components/ui-button.d.ts +0 -11
  197. package/dist/components/ui-button.js +0 -1
  198. package/dist/components/ui-callout.d.ts +0 -11
  199. package/dist/components/ui-callout.js +0 -1
  200. package/dist/components/ui-checkbox.d.ts +0 -11
  201. package/dist/components/ui-checkbox.js +0 -1
  202. package/dist/components/ui-chip.d.ts +0 -11
  203. package/dist/components/ui-chip.js +0 -1
  204. package/dist/components/ui-combobox.d.ts +0 -11
  205. package/dist/components/ui-combobox.js +0 -1
  206. package/dist/components/ui-context-menu.d.ts +0 -11
  207. package/dist/components/ui-context-menu.js +0 -1
  208. package/dist/components/ui-dialog.d.ts +0 -11
  209. package/dist/components/ui-dialog.js +0 -1
  210. package/dist/components/ui-disclosure.d.ts +0 -11
  211. package/dist/components/ui-disclosure.js +0 -1
  212. package/dist/components/ui-editable.d.ts +0 -11
  213. package/dist/components/ui-editable.js +0 -1
  214. package/dist/components/ui-floating-action-button.d.ts +0 -11
  215. package/dist/components/ui-floating-action-button.js +0 -1
  216. package/dist/components/ui-form-field.d.ts +0 -11
  217. package/dist/components/ui-form-field.js +0 -1
  218. package/dist/components/ui-icon-button.d.ts +0 -11
  219. package/dist/components/ui-icon-button.js +0 -1
  220. package/dist/components/ui-input.d.ts +0 -11
  221. package/dist/components/ui-input.js +0 -1
  222. package/dist/components/ui-menu-item.d.ts +0 -11
  223. package/dist/components/ui-menu-item.js +0 -1
  224. package/dist/components/ui-menu.d.ts +0 -11
  225. package/dist/components/ui-menu.js +0 -1
  226. package/dist/components/ui-popover.d.ts +0 -11
  227. package/dist/components/ui-popover.js +0 -1
  228. package/dist/components/ui-radio-group.d.ts +0 -11
  229. package/dist/components/ui-radio-group.js +0 -1
  230. package/dist/components/ui-radio.d.ts +0 -11
  231. package/dist/components/ui-radio.js +0 -1
  232. package/dist/components/ui-search-result-row.d.ts +0 -11
  233. package/dist/components/ui-search-result-row.js +0 -1
  234. package/dist/components/ui-search-shell.d.ts +0 -11
  235. package/dist/components/ui-search-shell.js +0 -1
  236. package/dist/components/ui-select.d.ts +0 -11
  237. package/dist/components/ui-select.js +0 -1
  238. package/dist/components/ui-switch.d.ts +0 -11
  239. package/dist/components/ui-switch.js +0 -1
  240. package/dist/components/ui-tabs.d.ts +0 -11
  241. package/dist/components/ui-tabs.js +0 -1
  242. package/dist/components/ui-textarea.d.ts +0 -11
  243. package/dist/components/ui-textarea.js +0 -1
  244. package/dist/components/ui-toast-region.d.ts +0 -11
  245. package/dist/components/ui-toast-region.js +0 -1
  246. package/dist/components/ui-tooltip.d.ts +0 -11
  247. package/dist/components/ui-tooltip.js +0 -1
  248. package/dist/components/ui-top-bar.d.ts +0 -11
  249. package/dist/components/ui-top-bar.js +0 -1
  250. package/dist/components/ui-tree-item.d.ts +0 -11
  251. package/dist/components/ui-tree-item.js +0 -1
  252. package/dist/components/ui-tree.d.ts +0 -11
  253. package/dist/components/ui-tree.js +0 -1
  254. package/dist/esm/app-globals-DQuL1Twl.js +0 -3
  255. package/dist/esm/controlled-state-BnGhGgTH.js +0 -6
  256. package/dist/esm/events-JwSoedEO.js +0 -15
  257. package/dist/esm/icons-CoFximGM.js +0 -678
  258. package/dist/esm/id-hgBUJRDa.js +0 -7
  259. package/dist/esm/index-8BGiMGQ0.js +0 -1593
  260. package/dist/esm/index.js +0 -1
  261. package/dist/esm/loader.js +0 -11
  262. package/dist/esm/looma.js +0 -21
  263. package/dist/esm/manager-C-0syqXZ.js +0 -91
  264. package/dist/esm/positioning-ZOr-2PSe.js +0 -421
  265. package/dist/esm/ui-affordance-scope.entry.js +0 -41
  266. package/dist/esm/ui-avatar-group.entry.js +0 -41
  267. package/dist/esm/ui-avatar.entry.js +0 -48
  268. package/dist/esm/ui-badge.entry.js +0 -17
  269. package/dist/esm/ui-button.entry.js +0 -73
  270. package/dist/esm/ui-callout.entry.js +0 -25
  271. package/dist/esm/ui-checkbox.entry.js +0 -95
  272. package/dist/esm/ui-chip_2.entry.js +0 -255
  273. package/dist/esm/ui-combobox.entry.js +0 -706
  274. package/dist/esm/ui-context-menu.entry.js +0 -237
  275. package/dist/esm/ui-dialog.entry.js +0 -129
  276. package/dist/esm/ui-disclosure.entry.js +0 -110
  277. package/dist/esm/ui-editable.entry.js +0 -98
  278. package/dist/esm/ui-floating-action-button.entry.js +0 -18
  279. package/dist/esm/ui-form-field.entry.js +0 -112
  280. package/dist/esm/ui-icon-button.entry.js +0 -21
  281. package/dist/esm/ui-input.entry.js +0 -104
  282. package/dist/esm/ui-menu-item.entry.js +0 -17
  283. package/dist/esm/ui-menu.entry.js +0 -180
  284. package/dist/esm/ui-popover.entry.js +0 -133
  285. package/dist/esm/ui-radio-group.entry.js +0 -132
  286. package/dist/esm/ui-radio.entry.js +0 -92
  287. package/dist/esm/ui-search-result-row.entry.js +0 -45
  288. package/dist/esm/ui-search-shell.entry.js +0 -37
  289. package/dist/esm/ui-select.entry.js +0 -106
  290. package/dist/esm/ui-switch.entry.js +0 -72
  291. package/dist/esm/ui-tabs.entry.js +0 -116
  292. package/dist/esm/ui-textarea.entry.js +0 -108
  293. package/dist/esm/ui-toast-region.entry.js +0 -91
  294. package/dist/esm/ui-top-bar.entry.js +0 -41
  295. package/dist/esm/ui-tree-item.entry.js +0 -133
  296. package/dist/esm/ui-tree.entry.js +0 -498
  297. package/dist/index.cjs.js +0 -1
  298. package/dist/looma/index.esm.js +0 -0
  299. package/dist/looma/looma.esm.js +0 -1
  300. package/dist/looma/p-08f80207.entry.js +0 -1
  301. package/dist/looma/p-0b5b8d9e.entry.js +0 -1
  302. package/dist/looma/p-1249a806.entry.js +0 -1
  303. package/dist/looma/p-16e0669d.entry.js +0 -1
  304. package/dist/looma/p-1c00670f.entry.js +0 -1
  305. package/dist/looma/p-1c5a7522.entry.js +0 -1
  306. package/dist/looma/p-22842f8c.entry.js +0 -1
  307. package/dist/looma/p-2915d5c0.entry.js +0 -1
  308. package/dist/looma/p-3b2961a6.entry.js +0 -1
  309. package/dist/looma/p-3f60f4c8.entry.js +0 -1
  310. package/dist/looma/p-424d6719.entry.js +0 -1
  311. package/dist/looma/p-4caccfce.entry.js +0 -1
  312. package/dist/looma/p-5fdcee1d.entry.js +0 -1
  313. package/dist/looma/p-6d8b99ee.entry.js +0 -1
  314. package/dist/looma/p-6f20d470.entry.js +0 -1
  315. package/dist/looma/p-7c0b5364.entry.js +0 -1
  316. package/dist/looma/p-8BGiMGQ0.js +0 -2
  317. package/dist/looma/p-8bdd9495.entry.js +0 -1
  318. package/dist/looma/p-99116a72.entry.js +0 -1
  319. package/dist/looma/p-9cfbf722.entry.js +0 -1
  320. package/dist/looma/p-9d2662ca.entry.js +0 -1
  321. package/dist/looma/p-9ff2fa19.entry.js +0 -1
  322. package/dist/looma/p-BnGhGgTH.js +0 -1
  323. package/dist/looma/p-C-0syqXZ.js +0 -1
  324. package/dist/looma/p-CoFximGM.js +0 -13
  325. package/dist/looma/p-DQuL1Twl.js +0 -1
  326. package/dist/looma/p-JwSoedEO.js +0 -1
  327. package/dist/looma/p-ZOr-2PSe.js +0 -1
  328. package/dist/looma/p-a2dd4c6c.entry.js +0 -1
  329. package/dist/looma/p-add67e4c.entry.js +0 -1
  330. package/dist/looma/p-b6ede6bb.entry.js +0 -1
  331. package/dist/looma/p-b76e2111.entry.js +0 -1
  332. package/dist/looma/p-ca2a54fd.entry.js +0 -1
  333. package/dist/looma/p-d372b0db.entry.js +0 -1
  334. package/dist/looma/p-d4825822.entry.js +0 -1
  335. package/dist/looma/p-d56571a2.entry.js +0 -1
  336. package/dist/looma/p-d5c3954f.entry.js +0 -1
  337. package/dist/looma/p-e604e906.entry.js +0 -1
  338. package/dist/looma/p-f1f7c5cb.entry.js +0 -1
  339. package/dist/looma/p-hgBUJRDa.js +0 -1
  340. package/dist/types/components/ui-affordance-scope/ui-affordance-scope.d.ts +0 -11
  341. package/dist/types/components/ui-avatar/ui-avatar.d.ts +0 -11
  342. package/dist/types/components/ui-avatar-group/ui-avatar-group.d.ts +0 -11
  343. package/dist/types/components/ui-badge/ui-badge.d.ts +0 -5
  344. package/dist/types/components/ui-button/ui-button.d.ts +0 -13
  345. package/dist/types/components/ui-callout/ui-callout.d.ts +0 -6
  346. package/dist/types/components/ui-checkbox/ui-checkbox.d.ts +0 -20
  347. package/dist/types/components/ui-chip/ui-chip.d.ts +0 -8
  348. package/dist/types/components/ui-combobox/ui-combobox.d.ts +0 -128
  349. package/dist/types/components/ui-context-menu/ui-context-menu.d.ts +0 -43
  350. package/dist/types/components/ui-dialog/ui-dialog.d.ts +0 -27
  351. package/dist/types/components/ui-disclosure/ui-disclosure.d.ts +0 -21
  352. package/dist/types/components/ui-editable/ui-editable.d.ts +0 -24
  353. package/dist/types/components/ui-floating-action-button/ui-floating-action-button.d.ts +0 -6
  354. package/dist/types/components/ui-form-field/ui-form-field.d.ts +0 -18
  355. package/dist/types/components/ui-icon-button/ui-icon-button.d.ts +0 -9
  356. package/dist/types/components/ui-input/ui-input.d.ts +0 -19
  357. package/dist/types/components/ui-menu/ui-menu.d.ts +0 -28
  358. package/dist/types/components/ui-menu-item/ui-menu-item.d.ts +0 -5
  359. package/dist/types/components/ui-popover/ui-popover.d.ts +0 -26
  360. package/dist/types/components/ui-radio/ui-radio.d.ts +0 -20
  361. package/dist/types/components/ui-radio-group/ui-radio-group.d.ts +0 -21
  362. package/dist/types/components/ui-search-result-row/ui-search-result-row.d.ts +0 -15
  363. package/dist/types/components/ui-search-shell/ui-search-shell.d.ts +0 -9
  364. package/dist/types/components/ui-select/ui-select.d.ts +0 -20
  365. package/dist/types/components/ui-switch/ui-switch.d.ts +0 -16
  366. package/dist/types/components/ui-tabs/ui-tabs.d.ts +0 -18
  367. package/dist/types/components/ui-textarea/ui-textarea.d.ts +0 -20
  368. package/dist/types/components/ui-toast-region/ui-toast-region.d.ts +0 -16
  369. package/dist/types/components/ui-tooltip/ui-tooltip.d.ts +0 -57
  370. package/dist/types/components/ui-top-bar/ui-top-bar.d.ts +0 -12
  371. package/dist/types/components/ui-tree/ui-tree.d.ts +0 -53
  372. package/dist/types/components/ui-tree-item/ui-tree-item.d.ts +0 -44
  373. package/dist/types/components.d.ts +0 -1889
  374. package/dist/types/field/combobox.d.ts +0 -46
  375. package/dist/types/field/editable.d.ts +0 -5
  376. package/dist/types/field/multi-combobox.d.ts +0 -11
  377. package/dist/types/field/valibot.d.ts +0 -7
  378. package/dist/types/icons.d.ts +0 -53
  379. package/dist/types/input-modality.d.ts +0 -6
  380. package/dist/types/overlay/manager.d.ts +0 -17
  381. package/dist/types/overlay/positioning.d.ts +0 -74
  382. package/dist/types/stencil-public-runtime.d.ts +0 -1860
  383. package/dist/types/utils/controlled-state.d.ts +0 -4
  384. package/dist/types/utils/drag-drop.d.ts +0 -15
  385. package/dist/types/utils/events.d.ts +0 -4
  386. package/dist/types/utils/id.d.ts +0 -1
  387. package/dist/types/utils/initials.d.ts +0 -1
  388. package/dist/ui-affordance-scope.entry-L6TIXYOP.js +0 -54
  389. package/dist/ui-avatar-group.entry-TCAA6P72.js +0 -51
  390. package/dist/ui-avatar.entry-52DQ7VXA.js +0 -51
  391. package/dist/ui-badge.entry-2XCAA6LL.js +0 -22
  392. package/dist/ui-button.entry-MNFBMNSX.js +0 -83
  393. package/dist/ui-callout.entry-SSHT5TH2.js +0 -32
  394. package/dist/ui-checkbox.entry-LOWIWIWI.js +0 -111
  395. package/dist/ui-chip_2.entry-BIMTSF6C.js +0 -272
  396. package/dist/ui-combobox.entry-25Z4MN7N.js +0 -717
  397. package/dist/ui-context-menu.entry-YZDL5Y4M.js +0 -248
  398. package/dist/ui-dialog.entry-HIXZX5AB.js +0 -146
  399. package/dist/ui-disclosure.entry-2JZHZNDQ.js +0 -126
  400. package/dist/ui-editable.entry-U3VR3XPT.js +0 -110
  401. package/dist/ui-floating-action-button.entry-6S3QN3KJ.js +0 -23
  402. package/dist/ui-form-field.entry-GQOSMLHT.js +0 -120
  403. package/dist/ui-icon-button.entry-QJXKVDM6.js +0 -26
  404. package/dist/ui-input.entry-UWMQ6JMP.js +0 -114
  405. package/dist/ui-menu-item.entry-NHNZKKJS.js +0 -22
  406. package/dist/ui-menu.entry-D53RUJND.js +0 -192
  407. package/dist/ui-popover.entry-7ZSIWCFQ.js +0 -152
  408. package/dist/ui-radio-group.entry-37MSYIH4.js +0 -142
  409. package/dist/ui-radio.entry-7YGCDHXT.js +0 -108
  410. package/dist/ui-search-result-row.entry-6FCCLGAS.js +0 -50
  411. package/dist/ui-search-shell.entry-HSBEXPER.js +0 -41
  412. package/dist/ui-select.entry-GIDIAYRD.js +0 -117
  413. package/dist/ui-switch.entry-MYAL6XPC.js +0 -87
  414. package/dist/ui-tabs.entry-R4TEXQSD.js +0 -128
  415. package/dist/ui-textarea.entry-FW32JNDV.js +0 -119
  416. package/dist/ui-toast-region.entry-BTMFPKZF.js +0 -104
  417. package/dist/ui-top-bar.entry-5DQGJF3B.js +0 -49
  418. package/dist/ui-tree-item.entry-ADT7DSOS.js +0 -145
  419. package/dist/ui-tree.entry-7PYQ5RIN.js +0 -470
  420. package/editor/chunk-64GLF274.js +0 -1271
  421. package/layout/index.css +0 -387
  422. package/loader/cdn.js +0 -1
  423. package/loader/index.cjs.js +0 -1
  424. package/loader/index.d.ts +0 -24
  425. package/loader/index.es2017.js +0 -1
  426. package/loader/index.js +0 -2
  427. package/vue/chunk-ROMBQS2L.js +0 -352
@@ -1,217 +0,0 @@
1
- :host {
2
- --ui-tree-indent: 16px;
3
- --ui-tree-row-min-height: 32px;
4
- --ui-tree-drop-color: var(--ui-accent-solid);
5
-
6
- position: relative;
7
- display: block;
8
- min-inline-size: 0;
9
- margin-inline-start: calc(var(--ui-tree-item-depth, 0) * var(--ui-tree-indent));
10
- }
11
-
12
- .row {
13
- position: relative;
14
- display: grid;
15
- grid-template-columns: 20px auto minmax(0, 1fr) auto;
16
- align-items: center;
17
- min-block-size: var(--ui-tree-row-min-height);
18
- min-inline-size: 0;
19
- font-size: var(--ui-tree-font-size, var(--ui-font-size-ui, 0.9375rem));
20
- border-radius: var(--ui-radius-md);
21
- color: var(--ui-text-secondary);
22
- transition:
23
- background-color var(--ui-motion-fast) var(--ui-motion-ease),
24
- color var(--ui-motion-fast) var(--ui-motion-ease),
25
- opacity var(--ui-motion-fast) var(--ui-motion-ease),
26
- box-shadow var(--ui-motion-fast) var(--ui-motion-ease),
27
- min-block-size var(--ui-motion-base) var(--ui-motion-ease);
28
- }
29
-
30
- .row:hover,
31
- :host([data-selected]) .row,
32
- .row:focus-within {
33
- color: var(--ui-text-primary);
34
- background: var(--ui-surface-muted);
35
- }
36
-
37
- :host([data-disabled]) .row {
38
- opacity: 0.55;
39
- }
40
-
41
- :host([data-dragging]) .row {
42
- opacity: 0.42;
43
- }
44
-
45
- :host(:focus) {
46
- outline: none;
47
- }
48
-
49
- :host(:focus-visible) .row {
50
- box-shadow: 0 0 0 2px var(--ui-focus-ring);
51
- }
52
-
53
- :host([data-drop-position='inside']) .row {
54
- background: var(--ui-accent-subtle);
55
- box-shadow: inset 0 0 0 1px var(--ui-tree-drop-color);
56
- }
57
-
58
- .disclosure,
59
- .disclosure-spacer {
60
- grid-column: 1;
61
- grid-row: 1;
62
- inline-size: 20px;
63
- block-size: 28px;
64
- }
65
-
66
- .disclosure {
67
- display: grid;
68
- place-items: center;
69
- padding: 0;
70
- color: var(--ui-text-muted);
71
- background: transparent;
72
- border: 0;
73
- border-radius: var(--ui-radius-sm);
74
- cursor: pointer;
75
- }
76
-
77
- .disclosure:hover {
78
- color: var(--ui-text-primary);
79
- background: var(--ui-surface-elevated);
80
- }
81
-
82
- .disclosure-icon {
83
- display: block;
84
- inline-size: 14px;
85
- block-size: 14px;
86
- transform: rotate(-90deg);
87
- transition: transform var(--ui-motion-fast) var(--ui-motion-ease);
88
- }
89
-
90
- .disclosure-icon--expanded {
91
- transform: rotate(0deg);
92
- }
93
-
94
- .disclosure-icon :is(svg),
95
- .drag-handle :is(svg) {
96
- display: block;
97
- inline-size: 100%;
98
- block-size: 100%;
99
- }
100
-
101
- .leading {
102
- display: none;
103
- }
104
-
105
- .leading:has(*) {
106
- display: inline-grid;
107
- place-items: center;
108
- grid-column: 2;
109
- grid-row: 1;
110
- inline-size: 16px;
111
- block-size: 16px;
112
- margin-inline-start: var(--ui-space-1);
113
- }
114
-
115
- .label {
116
- grid-column: 3;
117
- grid-row: 1;
118
- min-inline-size: 0;
119
- padding: var(--ui-space-1) var(--ui-space-2);
120
- }
121
-
122
- .actions {
123
- grid-column: 4;
124
- grid-row: 1;
125
- display: inline-flex;
126
- align-items: center;
127
- min-inline-size: 0;
128
- }
129
-
130
- .drag-handle {
131
- position: absolute;
132
- z-index: 2;
133
- inset-block-start: 50%;
134
- inset-inline-start: -22px;
135
- inline-size: 20px;
136
- block-size: 32px;
137
- display: grid;
138
- place-items: center;
139
- padding: 7px 3px;
140
- color: var(--ui-text-muted);
141
- background: var(--ui-surface-elevated);
142
- border: 1px solid transparent;
143
- border-radius: var(--ui-radius-sm);
144
- cursor: grab;
145
- opacity: 0;
146
- pointer-events: none;
147
- transform: translateY(-50%);
148
- transition: opacity var(--ui-motion-fast) var(--ui-motion-ease);
149
- }
150
-
151
- .row:hover .drag-handle,
152
- .drag-handle:focus-visible,
153
- :host([data-dragging]) .drag-handle {
154
- opacity: 1;
155
- pointer-events: auto;
156
- }
157
-
158
- .drag-handle:active {
159
- cursor: grabbing;
160
- }
161
-
162
- .drop-indicator {
163
- position: absolute;
164
- z-index: 3;
165
- inset-inline: 1px;
166
- display: none;
167
- block-size: 2px;
168
- border-radius: 999px;
169
- background: var(--ui-tree-drop-color);
170
- pointer-events: none;
171
- }
172
-
173
- .drop-indicator::before,
174
- .drop-indicator::after {
175
- content: '';
176
- position: absolute;
177
- inset-block-start: 50%;
178
- inline-size: 7px;
179
- block-size: 7px;
180
- border: 2px solid var(--ui-tree-drop-color);
181
- border-radius: 999px;
182
- background: var(--ui-surface-elevated);
183
- transform: translateY(-50%);
184
- }
185
-
186
- .drop-indicator::before { inset-inline-start: -1px; }
187
- .drop-indicator::after { inset-inline-end: -1px; }
188
-
189
- :host([data-drop-position='before']) .row-drop-indicator {
190
- display: block;
191
- inset-block-start: -1px;
192
- }
193
-
194
- :host([data-drop-position='after']) .subtree-drop-indicator {
195
- display: block;
196
- inset-block-end: -1px;
197
- }
198
-
199
- .children[hidden] {
200
- display: none;
201
- }
202
-
203
- :host-context(html[data-ui-input-modality='touch']) {
204
- --ui-tree-row-min-height: 44px;
205
- }
206
-
207
- :host-context(html[data-ui-input-modality='touch']) .drag-handle {
208
- display: none;
209
- }
210
-
211
- @media (prefers-reduced-motion: reduce) {
212
- .row,
213
- .disclosure-icon,
214
- .drag-handle {
215
- transition: none;
216
- }
217
- }
@@ -1,406 +0,0 @@
1
- import { Host, h } from "@stencil/core";
2
- import { dispatchDetail, eventToTrigger } from "../../utils/events";
3
- import { loomaIconMarkup } from "../../icons";
4
- export class UITreeItem {
5
- host;
6
- /** Stable application identifier emitted by tree interaction events. */
7
- itemId = '';
8
- /** Accessible name used by the disclosure and drag handle. */
9
- label = '';
10
- /** Application hierarchy depth override used for drop constraints. Defaults to structural nesting. */
11
- dropDepth;
12
- /** Virtualized-tree descendant-depth override for the tree's max-depth drop constraint. */
13
- subtreeDepth;
14
- /** Whether this item accepts children and exposes disclosure behavior. */
15
- container = false;
16
- /** Whether this item participates in pointer drag and drop. */
17
- sortable = false;
18
- /** Application-defined kind used to reject incompatible sibling drops. */
19
- dragType = 'item';
20
- /** Application-defined parent/list identity included with reorder events. */
21
- dropScope = '';
22
- /** Comma-separated drag kinds accepted as children. Empty accepts every kind. */
23
- accepts = '';
24
- /** Controlled expansion value. When omitted, `default-expanded` initializes uncontrolled state. */
25
- expanded;
26
- /** Initial uncontrolled expansion value. */
27
- defaultExpanded = false;
28
- selected = false;
29
- disabled = false;
30
- internalExpanded = false;
31
- structuralLevel = 1;
32
- tabStop = false;
33
- syncExpandedFromProp() {
34
- // A defined prop owns the rendered state; clearing it resumes the current
35
- // uncontrolled state instead of replaying the initial default.
36
- if (this.expanded !== undefined)
37
- this.internalExpanded = this.expanded;
38
- }
39
- componentWillLoad() {
40
- this.internalExpanded = this.expanded ?? this.defaultExpanded;
41
- this.updateStructuralLevel();
42
- }
43
- connectedCallback() {
44
- this.host.addEventListener('ui-tree-auto-expand', this.onAutoExpand);
45
- this.host.addEventListener('ui-tree-structure-sync', this.updateStructuralLevel);
46
- this.host.addEventListener('ui-tree-roving-tab-stop', this.onRovingTabStop);
47
- this.host.addEventListener('ui-tree-request-expanded', this.onExpansionRequest);
48
- }
49
- disconnectedCallback() {
50
- this.host.removeEventListener('ui-tree-auto-expand', this.onAutoExpand);
51
- this.host.removeEventListener('ui-tree-structure-sync', this.updateStructuralLevel);
52
- this.host.removeEventListener('ui-tree-roving-tab-stop', this.onRovingTabStop);
53
- this.host.removeEventListener('ui-tree-request-expanded', this.onExpansionRequest);
54
- }
55
- updateStructuralLevel = () => {
56
- const tree = this.host.closest('ui-tree');
57
- let ancestor = this.host.parentElement?.closest('ui-tree-item') ?? null;
58
- let level = 1;
59
- while (ancestor && tree?.contains(ancestor)) {
60
- level += 1;
61
- ancestor = ancestor.parentElement?.closest('ui-tree-item') ?? null;
62
- }
63
- if (this.structuralLevel !== level)
64
- this.structuralLevel = level;
65
- };
66
- setExpanded(expanded, trigger) {
67
- const current = this.isExpanded();
68
- if (!this.container || this.disabled || current === expanded)
69
- return;
70
- if (this.expanded === undefined)
71
- this.internalExpanded = expanded;
72
- dispatchDetail(this.host, 'expand', { id: this.itemId, expanded, trigger });
73
- this.host.dispatchEvent(new CustomEvent('ui-tree-expansion-change'));
74
- }
75
- isExpanded() {
76
- return this.expanded ?? this.internalExpanded;
77
- }
78
- onAutoExpand = () => {
79
- this.setExpanded(true, 'pointer');
80
- };
81
- onRovingTabStop = (event) => {
82
- this.tabStop = Boolean(event.detail?.active) && !this.disabled;
83
- };
84
- onExpansionRequest = (event) => {
85
- const detail = event.detail;
86
- if (typeof detail?.expanded === 'boolean')
87
- this.setExpanded(detail.expanded, detail.trigger ?? 'keyboard');
88
- };
89
- onDisclosureClick = (event) => {
90
- event.stopPropagation();
91
- this.setExpanded(!this.isExpanded(), eventToTrigger(event));
92
- };
93
- onDisclosureKeydown = (event) => {
94
- if (event.key !== 'ArrowRight' && event.key !== 'ArrowLeft')
95
- return;
96
- event.preventDefault();
97
- event.stopPropagation();
98
- this.setExpanded(event.key === 'ArrowRight', 'keyboard');
99
- };
100
- onRowClick = (event) => {
101
- if (!this.container || this.disabled)
102
- return;
103
- const path = event.composedPath();
104
- const interactive = path.some((node) => node instanceof HTMLElement && (node.matches('a, button, input, select, textarea, [role="button"], [role="link"]')
105
- || node.getAttribute('slot') === 'actions'));
106
- if (!interactive)
107
- this.setExpanded(!this.isExpanded(), eventToTrigger(event));
108
- };
109
- render() {
110
- const level = this.structuralLevel;
111
- const expanded = this.isExpanded();
112
- const disclosureLabel = `${expanded ? 'Collapse' : 'Expand'} ${this.label || 'item'}`;
113
- const dragLabel = `Drag ${this.label || 'item'} to reorder`;
114
- return (h(Host, { key: '0ce6384903be2181055c76808cd4664dcfa8de54', role: "treeitem", "aria-label": this.label || undefined, "aria-level": String(level), "aria-expanded": this.container ? String(expanded) : undefined, "aria-selected": String(this.selected), "aria-disabled": this.disabled ? 'true' : undefined, "data-container": this.container ? '' : undefined, "data-selected": this.selected ? '' : undefined, "data-disabled": this.disabled ? '' : undefined, "data-drag-type": this.dragType || 'item', "data-drop-scope": this.dropScope || undefined, "data-accepts": this.accepts || undefined, tabIndex: this.disabled || !this.tabStop ? -1 : 0, style: {
115
- '--ui-tree-item-depth': String(level - 1),
116
- 'margin-inline-start': level > 1 ? 'var(--ui-tree-indent, 16px)' : '0px',
117
- } }, h("div", { key: '7d6923da8fd8be7fffc7cf345ac4d1211217c21a', class: "row", part: "row", onClick: this.onRowClick }, this.sortable && !this.disabled ? (h("button", { class: "drag-handle", part: "drag-handle", type: "button", draggable: true, "aria-label": dragLabel, title: dragLabel }, h("span", { innerHTML: loomaIconMarkup('grip-vertical') }))) : null, this.container ? (h("button", { class: "disclosure", part: "disclosure", type: "button", "aria-label": disclosureLabel, "aria-expanded": String(expanded), disabled: this.disabled, onClick: this.onDisclosureClick, onKeyDown: this.onDisclosureKeydown }, h("span", { class: { 'disclosure-icon': true, 'disclosure-icon--expanded': expanded }, innerHTML: loomaIconMarkup('chevron-down') }))) : h("span", { class: "disclosure-spacer", "aria-hidden": "true" }), h("span", { key: 'ef8959fc858b90c7ea26c8ff740cfe02fb372686', class: "leading", part: "leading" }, h("slot", { key: '1e00da2acd23ae6430e38b26502d9f3951461c93', name: "leading" })), h("span", { key: 'f37a63aa0c6e73f134442589314fae01e01cf782', class: "label", part: "label" }, h("slot", { key: 'f527d8a33927d72502d5cbbbe0cb5739d7bdbaf2' })), h("span", { key: 'de6492f81ac5747d913132c275abb9157d18deab', class: "actions", part: "actions" }, h("slot", { key: 'f5316e3a5fb67130ef1401253dc5ef6b7072840e', name: "actions" })), h("span", { key: '89da3b2bab7a953368810319148a644e62bc9a47', class: "drop-indicator row-drop-indicator", part: "drop-indicator", "aria-hidden": "true" })), this.container ? (h("div", { class: "children", part: "children", role: "group", hidden: !expanded }, h("slot", { name: "children" }))) : null, h("span", { key: '9a66f1ba72290a037ef02ccbd49243463ba34b67', class: "drop-indicator subtree-drop-indicator", part: "drop-indicator", "aria-hidden": "true" })));
118
- }
119
- static get is() { return "ui-tree-item"; }
120
- static get encapsulation() { return "shadow"; }
121
- static get originalStyleUrls() {
122
- return {
123
- "$": ["ui-tree-item.css"]
124
- };
125
- }
126
- static get styleUrls() {
127
- return {
128
- "$": ["ui-tree-item.css"]
129
- };
130
- }
131
- static get properties() {
132
- return {
133
- "itemId": {
134
- "type": "string",
135
- "mutable": false,
136
- "complexType": {
137
- "original": "string",
138
- "resolved": "string",
139
- "references": {}
140
- },
141
- "required": false,
142
- "optional": false,
143
- "docs": {
144
- "tags": [],
145
- "text": "Stable application identifier emitted by tree interaction events."
146
- },
147
- "getter": false,
148
- "setter": false,
149
- "reflect": false,
150
- "attribute": "item-id",
151
- "defaultValue": "''"
152
- },
153
- "label": {
154
- "type": "string",
155
- "mutable": false,
156
- "complexType": {
157
- "original": "string",
158
- "resolved": "string",
159
- "references": {}
160
- },
161
- "required": false,
162
- "optional": false,
163
- "docs": {
164
- "tags": [],
165
- "text": "Accessible name used by the disclosure and drag handle."
166
- },
167
- "getter": false,
168
- "setter": false,
169
- "reflect": false,
170
- "attribute": "label",
171
- "defaultValue": "''"
172
- },
173
- "dropDepth": {
174
- "type": "number",
175
- "mutable": false,
176
- "complexType": {
177
- "original": "number",
178
- "resolved": "number",
179
- "references": {}
180
- },
181
- "required": false,
182
- "optional": true,
183
- "docs": {
184
- "tags": [],
185
- "text": "Application hierarchy depth override used for drop constraints. Defaults to structural nesting."
186
- },
187
- "getter": false,
188
- "setter": false,
189
- "reflect": false,
190
- "attribute": "drop-depth"
191
- },
192
- "subtreeDepth": {
193
- "type": "number",
194
- "mutable": false,
195
- "complexType": {
196
- "original": "number",
197
- "resolved": "number",
198
- "references": {}
199
- },
200
- "required": false,
201
- "optional": true,
202
- "docs": {
203
- "tags": [],
204
- "text": "Virtualized-tree descendant-depth override for the tree's max-depth drop constraint."
205
- },
206
- "getter": false,
207
- "setter": false,
208
- "reflect": false,
209
- "attribute": "subtree-depth"
210
- },
211
- "container": {
212
- "type": "boolean",
213
- "mutable": false,
214
- "complexType": {
215
- "original": "boolean",
216
- "resolved": "boolean",
217
- "references": {}
218
- },
219
- "required": false,
220
- "optional": false,
221
- "docs": {
222
- "tags": [],
223
- "text": "Whether this item accepts children and exposes disclosure behavior."
224
- },
225
- "getter": false,
226
- "setter": false,
227
- "reflect": false,
228
- "attribute": "container",
229
- "defaultValue": "false"
230
- },
231
- "sortable": {
232
- "type": "boolean",
233
- "mutable": false,
234
- "complexType": {
235
- "original": "boolean",
236
- "resolved": "boolean",
237
- "references": {}
238
- },
239
- "required": false,
240
- "optional": false,
241
- "docs": {
242
- "tags": [],
243
- "text": "Whether this item participates in pointer drag and drop."
244
- },
245
- "getter": false,
246
- "setter": false,
247
- "reflect": false,
248
- "attribute": "sortable",
249
- "defaultValue": "false"
250
- },
251
- "dragType": {
252
- "type": "string",
253
- "mutable": false,
254
- "complexType": {
255
- "original": "string",
256
- "resolved": "string",
257
- "references": {}
258
- },
259
- "required": false,
260
- "optional": false,
261
- "docs": {
262
- "tags": [],
263
- "text": "Application-defined kind used to reject incompatible sibling drops."
264
- },
265
- "getter": false,
266
- "setter": false,
267
- "reflect": false,
268
- "attribute": "drag-type",
269
- "defaultValue": "'item'"
270
- },
271
- "dropScope": {
272
- "type": "string",
273
- "mutable": false,
274
- "complexType": {
275
- "original": "string",
276
- "resolved": "string",
277
- "references": {}
278
- },
279
- "required": false,
280
- "optional": false,
281
- "docs": {
282
- "tags": [],
283
- "text": "Application-defined parent/list identity included with reorder events."
284
- },
285
- "getter": false,
286
- "setter": false,
287
- "reflect": false,
288
- "attribute": "drop-scope",
289
- "defaultValue": "''"
290
- },
291
- "accepts": {
292
- "type": "string",
293
- "mutable": false,
294
- "complexType": {
295
- "original": "string",
296
- "resolved": "string",
297
- "references": {}
298
- },
299
- "required": false,
300
- "optional": false,
301
- "docs": {
302
- "tags": [],
303
- "text": "Comma-separated drag kinds accepted as children. Empty accepts every kind."
304
- },
305
- "getter": false,
306
- "setter": false,
307
- "reflect": false,
308
- "attribute": "accepts",
309
- "defaultValue": "''"
310
- },
311
- "expanded": {
312
- "type": "boolean",
313
- "mutable": false,
314
- "complexType": {
315
- "original": "boolean",
316
- "resolved": "boolean",
317
- "references": {}
318
- },
319
- "required": false,
320
- "optional": true,
321
- "docs": {
322
- "tags": [],
323
- "text": "Controlled expansion value. When omitted, `default-expanded` initializes uncontrolled state."
324
- },
325
- "getter": false,
326
- "setter": false,
327
- "reflect": false,
328
- "attribute": "expanded"
329
- },
330
- "defaultExpanded": {
331
- "type": "boolean",
332
- "mutable": false,
333
- "complexType": {
334
- "original": "boolean",
335
- "resolved": "boolean",
336
- "references": {}
337
- },
338
- "required": false,
339
- "optional": false,
340
- "docs": {
341
- "tags": [],
342
- "text": "Initial uncontrolled expansion value."
343
- },
344
- "getter": false,
345
- "setter": false,
346
- "reflect": false,
347
- "attribute": "default-expanded",
348
- "defaultValue": "false"
349
- },
350
- "selected": {
351
- "type": "boolean",
352
- "mutable": false,
353
- "complexType": {
354
- "original": "boolean",
355
- "resolved": "boolean",
356
- "references": {}
357
- },
358
- "required": false,
359
- "optional": false,
360
- "docs": {
361
- "tags": [],
362
- "text": ""
363
- },
364
- "getter": false,
365
- "setter": false,
366
- "reflect": false,
367
- "attribute": "selected",
368
- "defaultValue": "false"
369
- },
370
- "disabled": {
371
- "type": "boolean",
372
- "mutable": false,
373
- "complexType": {
374
- "original": "boolean",
375
- "resolved": "boolean",
376
- "references": {}
377
- },
378
- "required": false,
379
- "optional": false,
380
- "docs": {
381
- "tags": [],
382
- "text": ""
383
- },
384
- "getter": false,
385
- "setter": false,
386
- "reflect": false,
387
- "attribute": "disabled",
388
- "defaultValue": "false"
389
- }
390
- };
391
- }
392
- static get states() {
393
- return {
394
- "internalExpanded": {},
395
- "structuralLevel": {},
396
- "tabStop": {}
397
- };
398
- }
399
- static get elementRef() { return "host"; }
400
- static get watchers() {
401
- return [{
402
- "propName": "expanded",
403
- "methodName": "syncExpandedFromProp"
404
- }];
405
- }
406
- }
@@ -1,4 +0,0 @@
1
- /** Map domain records at the boundary, preserving typed metadata for rich rows. */
2
- export function mapComboboxOptions(rows, map) {
3
- return rows.map(row => ({ ...map(row), metadata: row }));
4
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- /** Valibot's Standard Schema implementation preserves async transforms and issue paths.
2
- * Type-only Valibot imports keep the adapter free of a schema-library runtime. */
3
- export function valibotField(schema, options = {}) {
4
- return { ...options, schema };
5
- }