@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,74 +0,0 @@
1
- :host {
2
- --ui-callout-surface: var(--ui-info-soft);
3
- --ui-callout-text: var(--ui-text-primary);
4
- --ui-callout-border: var(--ui-info-solid);
5
- --ui-callout-icon: var(--ui-info-solid);
6
- --ui-callout-padding-block: var(--ui-space-2);
7
- --ui-callout-padding-inline: var(--ui-space-3);
8
- --ui-callout-icon-column: 1rem;
9
- --ui-callout-gap: var(--ui-space-2);
10
- --ui-callout-icon-size: 1rem;
11
- --ui-callout-border-width: 1px;
12
- --ui-callout-leading-border-width: 4px;
13
-
14
- display: block;
15
- max-width: 100%;
16
- }
17
-
18
- .callout__surface {
19
- display: grid;
20
- grid-template-columns: var(--ui-callout-icon-column) minmax(0, 1fr);
21
- gap: var(--ui-callout-gap);
22
- align-items: start;
23
- padding: var(--ui-callout-padding-block) var(--ui-callout-padding-inline);
24
- border: var(--ui-callout-border-width) solid color-mix(in srgb, var(--ui-callout-border) 35%, transparent);
25
- border-inline-start: var(--ui-callout-leading-border-width) solid var(--ui-callout-border);
26
- border-radius: var(--ui-radius-2);
27
- background: var(--ui-callout-surface);
28
- color: var(--ui-callout-text);
29
- font-family: var(--ui-font-family-sans);
30
- font-size: var(--ui-font-size-sm);
31
- font-weight: var(--ui-font-normal);
32
- line-height: var(--ui-line-height-md);
33
- }
34
-
35
- .icon {
36
- display: grid;
37
- place-items: center;
38
- inline-size: var(--ui-callout-icon-column);
39
- block-size: var(--ui-callout-icon-column);
40
- color: var(--ui-callout-icon);
41
- }
42
-
43
- .icon svg {
44
- inline-size: var(--ui-callout-icon-size);
45
- block-size: var(--ui-callout-icon-size);
46
- }
47
-
48
- .content {
49
- min-inline-size: 0;
50
- }
51
-
52
- :host([data-tone='note']) {
53
- --ui-callout-surface: var(--ui-surface-muted);
54
- --ui-callout-border: var(--ui-border-strong);
55
- --ui-callout-icon: var(--ui-text-secondary);
56
- }
57
-
58
- :host([data-tone='warning']) {
59
- --ui-callout-surface: var(--ui-warning-soft);
60
- --ui-callout-border: var(--ui-warning-solid);
61
- --ui-callout-icon: var(--ui-warning-solid);
62
- }
63
-
64
- :host([data-tone='success']) {
65
- --ui-callout-surface: var(--ui-success-soft);
66
- --ui-callout-border: var(--ui-success-solid);
67
- --ui-callout-icon: var(--ui-success-solid);
68
- }
69
-
70
- :host([data-tone='error']) {
71
- --ui-callout-surface: var(--ui-danger-soft);
72
- --ui-callout-border: var(--ui-danger-solid);
73
- --ui-callout-icon: var(--ui-danger-solid);
74
- }
@@ -1,59 +0,0 @@
1
- import { Host, h } from "@stencil/core";
2
- import { loomaIconMarkup } from "../../icons";
3
- const toneIcons = {
4
- info: 'info',
5
- note: 'notebook-pen',
6
- warning: 'triangle-alert',
7
- success: 'circle-check',
8
- error: 'circle-x',
9
- };
10
- /** A static semantic message with a tone-specific icon. */
11
- export class UICallout {
12
- tone = 'info';
13
- render() {
14
- const icon = toneIcons[this.tone] ?? toneIcons.info;
15
- return (h(Host, { key: '94bae6fbb688e5c8da979a3bebc12c51b8689c8a', role: "note", "data-tone": this.tone }, h("div", { key: '8fe1a3dae5b7cd3679d187cef018fa0cd810fb76', class: "callout__surface" }, h("span", { key: 'ed62ad8e29c30489e075631d83f1732d7a53a378', class: "icon", "aria-hidden": "true", innerHTML: loomaIconMarkup(icon) }), h("div", { key: '97638d28e3979f71913c17b2501a90e3a9251f0f', class: "content" }, h("slot", { key: '6a91a0d3f189eae28aabbe278924ba7f89015f34' })))));
16
- }
17
- static get is() { return "ui-callout"; }
18
- static get encapsulation() { return "shadow"; }
19
- static get originalStyleUrls() {
20
- return {
21
- "$": ["ui-callout.css"]
22
- };
23
- }
24
- static get styleUrls() {
25
- return {
26
- "$": ["ui-callout.css"]
27
- };
28
- }
29
- static get properties() {
30
- return {
31
- "tone": {
32
- "type": "string",
33
- "mutable": false,
34
- "complexType": {
35
- "original": "CalloutTone",
36
- "resolved": "\"error\" | \"info\" | \"note\" | \"success\" | \"warning\"",
37
- "references": {
38
- "CalloutTone": {
39
- "location": "local",
40
- "path": "/home/runner/work/looma/looma/packages/core/src/components/ui-callout/ui-callout.tsx",
41
- "id": "src/components/ui-callout/ui-callout.tsx::CalloutTone"
42
- }
43
- }
44
- },
45
- "required": false,
46
- "optional": false,
47
- "docs": {
48
- "tags": [],
49
- "text": ""
50
- },
51
- "getter": false,
52
- "setter": false,
53
- "reflect": false,
54
- "attribute": "tone",
55
- "defaultValue": "'info'"
56
- }
57
- };
58
- }
59
- }
@@ -1,24 +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([aria-disabled='true']),
9
- :host([data-disabled='true']) {
10
- opacity: 0.6;
11
- cursor: not-allowed;
12
- }
13
-
14
- ::slotted(input[type='checkbox']) {
15
- accent-color: var(--ui-accent-solid);
16
- width: 1.125em;
17
- height: 1.125em;
18
- cursor: pointer;
19
- }
20
-
21
- ::slotted(input[type='checkbox']:focus-visible) {
22
- outline: 2px solid var(--ui-accent-solid);
23
- outline-offset: 2px;
24
- }
@@ -1,228 +0,0 @@
1
- import { Host, h } from "@stencil/core";
2
- import { eventToTrigger, dispatchDetail } from "../../utils/events";
3
- import { controlledOrDefault, isControlled } from "../../utils/controlled-state";
4
- export class UICheckbox {
5
- host;
6
- /** Controlled checked state. Omit it to use defaultChecked and local interaction state. */
7
- checked;
8
- defaultChecked = false;
9
- disabled = false;
10
- indeterminate = false;
11
- required = false;
12
- value = 'on';
13
- internalChecked = false;
14
- slotRef;
15
- syncFromProp() {
16
- if (isControlled(this.checked))
17
- this.internalChecked = this.checked;
18
- }
19
- syncToInput() {
20
- const input = this.getInput();
21
- if (!input)
22
- return;
23
- this.host.dataset.disabled = this.disabled ? 'true' : '';
24
- this.host.setAttribute('aria-disabled', String(this.disabled));
25
- input.checked = this.internalChecked;
26
- input.indeterminate = this.indeterminate;
27
- input.disabled = this.disabled;
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 === 'checkbox') ?? null;
49
- }
50
- onInputChange = (e) => {
51
- const input = e.target;
52
- if (!input)
53
- return;
54
- const checked = input.checked;
55
- if (!isControlled(this.checked))
56
- this.internalChecked = checked;
57
- else
58
- this.syncToInput();
59
- this.indeterminate = input.indeterminate;
60
- dispatchDetail(this.host, 'change', {
61
- checked,
62
- value: this.value,
63
- trigger: eventToTrigger(e),
64
- });
65
- };
66
- render() {
67
- return (h(Host, { key: 'eb46eb41a5ab871058960bd2aa1163a03144bc0f', role: "checkbox", "aria-checked": this.indeterminate ? 'mixed' : String(this.internalChecked), "aria-disabled": String(this.disabled), "data-disabled": this.disabled ? '' : undefined }, h("slot", { key: 'ce18b1f1b63efebf048cd67b87064641cf4d915c', ref: (el) => (this.slotRef = el) })));
68
- }
69
- static get is() { return "ui-checkbox"; }
70
- static get encapsulation() { return "shadow"; }
71
- static get originalStyleUrls() {
72
- return {
73
- "$": ["ui-checkbox.css"]
74
- };
75
- }
76
- static get styleUrls() {
77
- return {
78
- "$": ["ui-checkbox.css"]
79
- };
80
- }
81
- static get properties() {
82
- return {
83
- "checked": {
84
- "type": "boolean",
85
- "mutable": false,
86
- "complexType": {
87
- "original": "boolean",
88
- "resolved": "boolean",
89
- "references": {}
90
- },
91
- "required": false,
92
- "optional": true,
93
- "docs": {
94
- "tags": [],
95
- "text": "Controlled checked state. Omit it to use defaultChecked and local interaction state."
96
- },
97
- "getter": false,
98
- "setter": false,
99
- "reflect": false,
100
- "attribute": "checked"
101
- },
102
- "defaultChecked": {
103
- "type": "boolean",
104
- "mutable": false,
105
- "complexType": {
106
- "original": "boolean",
107
- "resolved": "boolean",
108
- "references": {}
109
- },
110
- "required": false,
111
- "optional": false,
112
- "docs": {
113
- "tags": [],
114
- "text": ""
115
- },
116
- "getter": false,
117
- "setter": false,
118
- "reflect": false,
119
- "attribute": "default-checked",
120
- "defaultValue": "false"
121
- },
122
- "disabled": {
123
- "type": "boolean",
124
- "mutable": false,
125
- "complexType": {
126
- "original": "boolean",
127
- "resolved": "boolean",
128
- "references": {}
129
- },
130
- "required": false,
131
- "optional": false,
132
- "docs": {
133
- "tags": [],
134
- "text": ""
135
- },
136
- "getter": false,
137
- "setter": false,
138
- "reflect": false,
139
- "attribute": "disabled",
140
- "defaultValue": "false"
141
- },
142
- "indeterminate": {
143
- "type": "boolean",
144
- "mutable": false,
145
- "complexType": {
146
- "original": "boolean",
147
- "resolved": "boolean",
148
- "references": {}
149
- },
150
- "required": false,
151
- "optional": false,
152
- "docs": {
153
- "tags": [],
154
- "text": ""
155
- },
156
- "getter": false,
157
- "setter": false,
158
- "reflect": false,
159
- "attribute": "indeterminate",
160
- "defaultValue": "false"
161
- },
162
- "required": {
163
- "type": "boolean",
164
- "mutable": false,
165
- "complexType": {
166
- "original": "boolean",
167
- "resolved": "boolean",
168
- "references": {}
169
- },
170
- "required": false,
171
- "optional": false,
172
- "docs": {
173
- "tags": [],
174
- "text": ""
175
- },
176
- "getter": false,
177
- "setter": false,
178
- "reflect": false,
179
- "attribute": "required",
180
- "defaultValue": "false"
181
- },
182
- "value": {
183
- "type": "string",
184
- "mutable": false,
185
- "complexType": {
186
- "original": "string",
187
- "resolved": "string",
188
- "references": {}
189
- },
190
- "required": false,
191
- "optional": false,
192
- "docs": {
193
- "tags": [],
194
- "text": ""
195
- },
196
- "getter": false,
197
- "setter": false,
198
- "reflect": false,
199
- "attribute": "value",
200
- "defaultValue": "'on'"
201
- }
202
- };
203
- }
204
- static get states() {
205
- return {
206
- "internalChecked": {}
207
- };
208
- }
209
- static get elementRef() { return "host"; }
210
- static get watchers() {
211
- return [{
212
- "propName": "checked",
213
- "methodName": "syncFromProp"
214
- }, {
215
- "propName": "internalChecked",
216
- "methodName": "syncToInput"
217
- }, {
218
- "propName": "indeterminate",
219
- "methodName": "syncToInput"
220
- }, {
221
- "propName": "disabled",
222
- "methodName": "syncToInput"
223
- }, {
224
- "propName": "required",
225
- "methodName": "syncToInput"
226
- }];
227
- }
228
- }
@@ -1,57 +0,0 @@
1
- :host {
2
- --ui-chip-surface: var(--ui-surface-subtle);
3
- --ui-chip-text: var(--ui-text-secondary);
4
- --ui-chip-border: var(--ui-border-default);
5
- --ui-chip-font-size: var(--ui-font-size-xs);
6
- --ui-chip-font-weight: var(--ui-font-normal);
7
- --ui-chip-line-height: var(--ui-line-height-tight);
8
- --ui-chip-padding-block: var(--ui-space-0-5);
9
- --ui-chip-padding-inline: var(--ui-space-2);
10
- --ui-chip-notch: var(--ui-space-1);
11
-
12
- display: inline-flex;
13
- min-width: 0;
14
- max-width: 100%;
15
- }
16
-
17
- :host([data-size='sm']) {
18
- --ui-chip-font-size: var(--ui-font-size-sm);
19
- }
20
-
21
- .chip__surface {
22
- display: inline-flex;
23
- align-items: center;
24
- box-sizing: border-box;
25
- min-width: 0;
26
- max-width: 100%;
27
- padding: var(--ui-chip-padding-block) var(--ui-chip-padding-inline);
28
- border: 1px solid var(--ui-chip-border);
29
- background: var(--ui-chip-surface);
30
- /* The shared light-DOM reset establishes a baseline host color; the chip's
31
- semantic text hook must remain authoritative for consumer color systems. */
32
- color: var(--ui-chip-text) !important;
33
- /* The shared light-DOM reset establishes inherited defaults; this compact
34
- metadata primitive owns its own typography contract. */
35
- font-family: var(--ui-font-family-sans) !important;
36
- font-size: var(--ui-chip-font-size) !important;
37
- font-weight: var(--ui-chip-font-weight) !important;
38
- line-height: var(--ui-chip-line-height) !important;
39
- }
40
-
41
- .chip__label {
42
- min-width: 0;
43
- max-width: 100%;
44
- overflow: hidden;
45
- text-overflow: ellipsis;
46
- white-space: nowrap;
47
- }
48
-
49
- :host([data-appearance='pill']) .chip__surface {
50
- border-radius: var(--ui-radius-round);
51
- }
52
-
53
- :host([data-appearance='tag']) .chip__surface {
54
- border: 0;
55
- padding-inline-end: calc(var(--ui-chip-padding-inline) + var(--ui-chip-notch));
56
- clip-path: polygon(0 0, calc(100% - var(--ui-chip-notch)) 0, 100% 50%, calc(100% - var(--ui-chip-notch)) 100%, 0 100%);
57
- }
@@ -1,67 +0,0 @@
1
- import { Host, h } from "@stencil/core";
2
- /** A compact, non-interactive metadata label. */
3
- export class UIChip {
4
- /** `tag` has a square leading edge and an angled trailing edge; `pill` is fully rounded. */
5
- appearance = 'tag';
6
- /** Compact typography size. */
7
- size = 'xs';
8
- render() {
9
- return (h(Host, { key: '970cb48cf8d70c47feaab90fe428c09f0d052a03', "data-appearance": this.appearance, "data-size": this.size }, h("span", { key: '6d8c6104d2869520097a2a61bd2a887b363b4912', class: "chip__surface" }, h("span", { key: '638fb68ff5dffa629576c9e1079bb3169f2adb4f', class: "chip__label" }, h("slot", { key: '8b31f2130e202e18d7717aee6add6bc6e7f119b5' })))));
10
- }
11
- static get is() { return "ui-chip"; }
12
- static get encapsulation() { return "shadow"; }
13
- static get originalStyleUrls() {
14
- return {
15
- "$": ["ui-chip.css"]
16
- };
17
- }
18
- static get styleUrls() {
19
- return {
20
- "$": ["ui-chip.css"]
21
- };
22
- }
23
- static get properties() {
24
- return {
25
- "appearance": {
26
- "type": "string",
27
- "mutable": false,
28
- "complexType": {
29
- "original": "'tag' | 'pill'",
30
- "resolved": "\"pill\" | \"tag\"",
31
- "references": {}
32
- },
33
- "required": false,
34
- "optional": false,
35
- "docs": {
36
- "tags": [],
37
- "text": "`tag` has a square leading edge and an angled trailing edge; `pill` is fully rounded."
38
- },
39
- "getter": false,
40
- "setter": false,
41
- "reflect": false,
42
- "attribute": "appearance",
43
- "defaultValue": "'tag'"
44
- },
45
- "size": {
46
- "type": "string",
47
- "mutable": false,
48
- "complexType": {
49
- "original": "'xs' | 'sm'",
50
- "resolved": "\"sm\" | \"xs\"",
51
- "references": {}
52
- },
53
- "required": false,
54
- "optional": false,
55
- "docs": {
56
- "tags": [],
57
- "text": "Compact typography size."
58
- },
59
- "getter": false,
60
- "setter": false,
61
- "reflect": false,
62
- "attribute": "size",
63
- "defaultValue": "'xs'"
64
- }
65
- };
66
- }
67
- }
@@ -1,47 +0,0 @@
1
- :host { display: grid; gap: var(--ui-space-1); min-inline-size: 0; color: var(--ui-text-primary); font: inherit; }
2
- label { color: var(--ui-field-label-color, var(--ui-text-primary)); font-size: var(--ui-field-label-size, 0.875rem); font-weight: var(--ui-field-label-weight, 500); }
3
- .field { display: flex; min-inline-size: 0; border: 1px solid var(--ui-control-border, var(--ui-border-default)); border-radius: var(--ui-radius-2); background: var(--ui-control-surface, var(--ui-surface-default)); }
4
- .field:focus-within { border-color: var(--ui-control-focus, var(--ui-focus-ring)); outline: 2px solid var(--ui-control-focus, var(--ui-focus-ring)); outline-offset: 1px; }
5
- input { appearance: none; width: 100%; min-inline-size: 0; min-block-size: var(--ui-control-min-block-size, 2.75rem); box-sizing: border-box; border: 0; border-radius: inherit; background: transparent; color: inherit; font: inherit; line-height: var(--ui-line-height-md); padding: var(--ui-space-2) var(--ui-space-3); margin: 0; outline: none; }
6
- :host([data-size='sm']) input { min-block-size: var(--ui-field-compact-size, 2rem); padding: var(--ui-space-1) var(--ui-space-2); }
7
- button { appearance: none; border: 0; border-radius: var(--ui-radius-2); background: transparent; color: var(--ui-field-affordance-color, var(--ui-text-secondary)); font: inherit; font-weight: var(--ui-field-affordance-weight, 400); min-inline-size: 2rem; padding: var(--ui-space-1); cursor: pointer; }
8
- button:hover:enabled { background: var(--ui-surface-muted); color: var(--ui-text-primary); }
9
- button:focus-visible { outline: 2px solid var(--ui-focus-ring); outline-offset: -3px; }
10
- input:disabled, button:disabled { color: var(--ui-text-muted); cursor: not-allowed; }
11
- .field:has(input:disabled) { background: var(--ui-control-surface-disabled, var(--ui-surface-muted)); }
12
- :host([data-validation='error']) .field { border-color: var(--ui-danger-solid, var(--ui-accent-active)); }
13
- .popup { box-sizing: border-box; min-inline-size: 12rem; max-inline-size: calc(100vw - 1rem); max-block-size: var(--ui-combobox-max-block-size, 18rem); overflow: auto; margin: 0; padding: var(--ui-space-1); border: 1px solid var(--ui-border-default); border-radius: var(--ui-radius-2); background: var(--ui-surface-elevated); color: var(--ui-text-primary); box-shadow: var(--ui-shadow-md); }
14
- [hidden] { display: none !important; }
15
- .option { padding: var(--ui-space-2) var(--ui-space-3); border-radius: var(--ui-radius-1); cursor: pointer; overflow-wrap: anywhere; }
16
- .option:hover, .option[data-active] { background: var(--ui-surface-muted); outline: 1px solid var(--ui-focus-ring); outline-offset: -1px; }
17
- .option[aria-disabled='true'] { color: var(--ui-text-muted); cursor: not-allowed; }
18
- .primary { display: block; color: var(--ui-option-primary-color, var(--ui-text-primary)); font-weight: var(--ui-option-primary-weight, 500); }
19
- .secondary { display: block; color: var(--ui-option-secondary-color, var(--ui-text-secondary)); font-weight: var(--ui-option-secondary-weight, 400); font-size: var(--ui-font-size-sm); }
20
- .message, .group { color: var(--ui-field-message-color, var(--ui-text-secondary)); font-weight: var(--ui-field-message-weight, 400); font-size: var(--ui-font-size-sm); line-height: var(--ui-line-height-md); overflow-wrap: anywhere; }
21
- .group, .popup .message { padding: var(--ui-space-2) var(--ui-space-3); }
22
- .sr-only { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
23
- @media (pointer: coarse) { button { min-inline-size: 2.75rem; min-block-size: 2.75rem; } }
24
- @media (forced-colors: active) { .field, .popup { border-color: CanvasText; } .option[data-active] { outline-color: Highlight; } }
25
-
26
- /* Multiple mode: chips wrap before the cursor on one flexible field line. */
27
- :host([multiple]) .field { flex-wrap: wrap; align-items: center; gap: var(--ui-space-1); min-block-size: var(--ui-multi-combobox-min-block-size, 2.5rem); padding: var(--ui-space-1); }
28
- :host([multiple]) input { flex: 1 0 var(--ui-multi-combobox-input-min-inline-size, 5rem); width: auto; min-block-size: 1.75rem; padding: var(--ui-space-0-5) var(--ui-space-1); }
29
- .items { display: contents; }
30
- .item {
31
- appearance: none;
32
- display: inline-flex;
33
- min-inline-size: 0;
34
- max-inline-size: min(100%, var(--ui-multi-combobox-item-max-inline-size, 12rem));
35
- overflow: hidden;
36
- padding: 0;
37
- border: 0;
38
- border-radius: var(--ui-radius-1);
39
- background: transparent;
40
- color: inherit;
41
- font: inherit;
42
- cursor: default;
43
- }
44
- .item > slot { display: block; min-inline-size: 0; max-inline-size: 100%; overflow: hidden; }
45
- .item > slot::slotted(*) { min-inline-size: 0; max-inline-size: 100%; }
46
- .item:focus-visible { outline: 2px solid var(--ui-focus-ring); outline-offset: 1px; }
47
- .item:disabled { opacity: .6; }