@threadlabs/looma 0.1.23 → 0.1.25

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 (309) hide show
  1. package/dist/chunk-HNFCGIBP.js +8 -0
  2. package/dist/chunk-NB6DBRXQ.js +323 -0
  3. package/dist/{chunk-GDMQKT5F.js → chunk-UY423IKN.js} +33 -30
  4. package/dist/cjs/controlled-state-BFya8rAX.js +9 -0
  5. package/dist/cjs/icons-BAdjrnhS.js +680 -0
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/looma.cjs.js +1 -1
  8. package/dist/cjs/ui-affordance-scope.cjs.entry.js +1 -1
  9. package/dist/cjs/ui-avatar-group.cjs.entry.js +9 -17
  10. package/dist/cjs/ui-avatar.cjs.entry.js +2 -2
  11. package/dist/cjs/ui-badge.cjs.entry.js +2 -2
  12. package/dist/cjs/ui-button.cjs.entry.js +1 -1
  13. package/dist/cjs/ui-callout.cjs.entry.js +27 -0
  14. package/dist/cjs/ui-checkbox.cjs.entry.js +13 -7
  15. package/dist/cjs/{ui-combobox.cjs.entry.js → ui-chip_2.cjs.entry.js} +29 -4
  16. package/dist/cjs/ui-context-menu.cjs.entry.js +1 -1
  17. package/dist/cjs/ui-dialog.cjs.entry.js +44 -8
  18. package/dist/cjs/ui-disclosure.cjs.entry.js +9 -6
  19. package/dist/cjs/ui-editable.cjs.entry.js +100 -0
  20. package/dist/cjs/ui-floating-action-button.cjs.entry.js +1 -1
  21. package/dist/cjs/ui-form-field.cjs.entry.js +59 -4
  22. package/dist/cjs/ui-icon-button.cjs.entry.js +1 -1
  23. package/dist/cjs/ui-input.cjs.entry.js +1 -1
  24. package/dist/cjs/ui-menu-item.cjs.entry.js +2 -2
  25. package/dist/cjs/ui-menu.cjs.entry.js +14 -9
  26. package/dist/cjs/ui-multi-combobox.cjs.entry.js +158 -0
  27. package/dist/cjs/ui-popover.cjs.entry.js +10 -7
  28. package/dist/cjs/ui-radio-group.cjs.entry.js +1 -1
  29. package/dist/cjs/ui-radio.cjs.entry.js +16 -7
  30. package/dist/cjs/ui-search-result-row.cjs.entry.js +1 -1
  31. package/dist/cjs/ui-search-shell.cjs.entry.js +1 -1
  32. package/dist/cjs/ui-select.cjs.entry.js +1 -1
  33. package/dist/cjs/ui-switch.cjs.entry.js +19 -10
  34. package/dist/cjs/ui-tabs.cjs.entry.js +10 -9
  35. package/dist/cjs/ui-textarea.cjs.entry.js +1 -1
  36. package/dist/cjs/ui-toast-region.cjs.entry.js +30 -19
  37. package/dist/cjs/ui-tooltip.cjs.entry.js +12 -8
  38. package/dist/cjs/ui-top-bar.cjs.entry.js +1 -1
  39. package/dist/cjs/ui-tree-item.cjs.entry.js +54 -617
  40. package/dist/cjs/ui-tree.cjs.entry.js +123 -11
  41. package/dist/collection/collection-manifest.json +4 -0
  42. package/dist/collection/components/ui-affordance-scope/ui-affordance-scope.js +1 -1
  43. package/dist/collection/components/ui-avatar/ui-avatar.css +4 -4
  44. package/dist/collection/components/ui-avatar/ui-avatar.js +1 -1
  45. package/dist/collection/components/ui-avatar-group/ui-avatar-group.css +2 -2
  46. package/dist/collection/components/ui-avatar-group/ui-avatar-group.js +8 -16
  47. package/dist/collection/components/ui-badge/ui-badge.css +64 -48
  48. package/dist/collection/components/ui-badge/ui-badge.js +1 -1
  49. package/dist/collection/components/ui-button/ui-button.js +1 -1
  50. package/dist/collection/components/ui-callout/ui-callout.css +74 -0
  51. package/dist/collection/components/ui-callout/ui-callout.js +59 -0
  52. package/dist/collection/components/ui-checkbox/ui-checkbox.js +16 -11
  53. package/dist/collection/components/ui-chip/ui-chip.css +47 -0
  54. package/dist/collection/components/ui-chip/ui-chip.js +67 -0
  55. package/dist/collection/components/ui-combobox/ui-combobox.js +49 -4
  56. package/dist/collection/components/ui-context-menu/ui-context-menu.js +1 -1
  57. package/dist/collection/components/ui-dialog/ui-dialog.js +49 -13
  58. package/dist/collection/components/ui-disclosure/ui-disclosure.js +12 -10
  59. package/dist/collection/components/ui-editable/ui-editable.css +2 -0
  60. package/dist/collection/components/ui-editable/ui-editable.js +196 -0
  61. package/dist/collection/components/ui-floating-action-button/ui-floating-action-button.js +1 -1
  62. package/dist/collection/components/ui-form-field/ui-form-field.js +59 -4
  63. package/dist/collection/components/ui-icon-button/ui-icon-button.js +1 -1
  64. package/dist/collection/components/ui-input/ui-input.js +1 -1
  65. package/dist/collection/components/ui-menu/ui-menu.css +12 -23
  66. package/dist/collection/components/ui-menu/ui-menu.js +16 -12
  67. package/dist/collection/components/ui-menu-item/ui-menu-item.css +9 -3
  68. package/dist/collection/components/ui-menu-item/ui-menu-item.js +1 -1
  69. package/dist/collection/components/ui-multi-combobox/ui-multi-combobox.css +29 -0
  70. package/dist/collection/components/ui-multi-combobox/ui-multi-combobox.js +503 -0
  71. package/dist/collection/components/ui-popover/ui-popover.css +14 -5
  72. package/dist/collection/components/ui-popover/ui-popover.js +12 -10
  73. package/dist/collection/components/ui-radio/ui-radio.js +24 -11
  74. package/dist/collection/components/ui-radio-group/ui-radio-group.js +1 -1
  75. package/dist/collection/components/ui-search-result-row/ui-search-result-row.js +1 -1
  76. package/dist/collection/components/ui-search-shell/ui-search-shell.js +1 -1
  77. package/dist/collection/components/ui-select/ui-select.js +1 -1
  78. package/dist/collection/components/ui-switch/ui-switch.js +22 -14
  79. package/dist/collection/components/ui-tabs/ui-tabs.js +13 -13
  80. package/dist/collection/components/ui-textarea/ui-textarea.js +1 -1
  81. package/dist/collection/components/ui-toast-region/ui-toast-region.js +30 -19
  82. package/dist/collection/components/ui-tooltip/ui-tooltip.css +16 -7
  83. package/dist/collection/components/ui-tooltip/ui-tooltip.js +14 -11
  84. package/dist/collection/components/ui-top-bar/ui-top-bar.js +1 -1
  85. package/dist/collection/components/ui-tree/ui-tree.css +2 -1
  86. package/dist/collection/components/ui-tree/ui-tree.js +122 -10
  87. package/dist/collection/components/ui-tree-item/ui-tree-item.js +61 -44
  88. package/dist/collection/field/editable.js +1 -0
  89. package/dist/collection/field/multi-combobox.js +1 -0
  90. package/dist/collection/icons.js +6 -1
  91. package/dist/collection/utils/controlled-state.js +4 -0
  92. package/dist/components/index.d.ts +8 -0
  93. package/dist/components/index.js +1 -1
  94. package/dist/components/p-B9CzOHvE.js +1 -0
  95. package/dist/components/p-BMgIcOh-.js +1 -0
  96. package/dist/components/p-BVteuP_d.js +1 -0
  97. package/dist/components/p-BnGhGgTH.js +1 -0
  98. package/dist/components/p-C6p-ygxq.js +1 -0
  99. package/dist/components/p-CoFximGM.js +13 -0
  100. package/dist/components/ui-affordance-scope.js +1 -1
  101. package/dist/components/ui-avatar-group.js +1 -1
  102. package/dist/components/ui-avatar.js +1 -1
  103. package/dist/components/ui-badge.js +1 -1
  104. package/dist/components/ui-button.js +1 -1
  105. package/dist/components/ui-callout.d.ts +11 -0
  106. package/dist/components/ui-callout.js +1 -0
  107. package/dist/components/ui-checkbox.js +1 -1
  108. package/dist/components/ui-chip.d.ts +11 -0
  109. package/dist/components/ui-chip.js +1 -0
  110. package/dist/components/ui-combobox.js +1 -1
  111. package/dist/components/ui-context-menu.js +1 -1
  112. package/dist/components/ui-dialog.js +1 -1
  113. package/dist/components/ui-disclosure.js +1 -1
  114. package/dist/components/ui-editable.d.ts +11 -0
  115. package/dist/components/ui-editable.js +1 -0
  116. package/dist/components/ui-floating-action-button.js +1 -1
  117. package/dist/components/ui-form-field.js +1 -1
  118. package/dist/components/ui-icon-button.js +1 -1
  119. package/dist/components/ui-input.js +1 -1
  120. package/dist/components/ui-menu-item.js +1 -1
  121. package/dist/components/ui-menu.js +1 -1
  122. package/dist/components/ui-multi-combobox.d.ts +11 -0
  123. package/dist/components/ui-multi-combobox.js +1 -0
  124. package/dist/components/ui-popover.js +1 -1
  125. package/dist/components/ui-radio-group.js +1 -1
  126. package/dist/components/ui-radio.js +1 -1
  127. package/dist/components/ui-search-result-row.js +1 -1
  128. package/dist/components/ui-search-shell.js +1 -1
  129. package/dist/components/ui-select.js +1 -1
  130. package/dist/components/ui-switch.js +1 -1
  131. package/dist/components/ui-tabs.js +1 -1
  132. package/dist/components/ui-textarea.js +1 -1
  133. package/dist/components/ui-toast-region.js +1 -1
  134. package/dist/components/ui-tooltip.js +1 -1
  135. package/dist/components/ui-top-bar.js +1 -1
  136. package/dist/components/ui-tree-item.js +1 -13
  137. package/dist/components/ui-tree.js +1 -1
  138. package/dist/esm/controlled-state-BnGhGgTH.js +6 -0
  139. package/dist/esm/icons-CoFximGM.js +678 -0
  140. package/dist/esm/loader.js +1 -1
  141. package/dist/esm/looma.js +1 -1
  142. package/dist/esm/ui-affordance-scope.entry.js +1 -1
  143. package/dist/esm/ui-avatar-group.entry.js +9 -17
  144. package/dist/esm/ui-avatar.entry.js +2 -2
  145. package/dist/esm/ui-badge.entry.js +2 -2
  146. package/dist/esm/ui-button.entry.js +1 -1
  147. package/dist/esm/ui-callout.entry.js +25 -0
  148. package/dist/esm/ui-checkbox.entry.js +13 -7
  149. package/dist/esm/{ui-combobox.entry.js → ui-chip_2.entry.js} +30 -6
  150. package/dist/esm/ui-context-menu.entry.js +1 -1
  151. package/dist/esm/ui-dialog.entry.js +44 -8
  152. package/dist/esm/ui-disclosure.entry.js +9 -6
  153. package/dist/esm/ui-editable.entry.js +98 -0
  154. package/dist/esm/ui-floating-action-button.entry.js +1 -1
  155. package/dist/esm/ui-form-field.entry.js +59 -4
  156. package/dist/esm/ui-icon-button.entry.js +1 -1
  157. package/dist/esm/ui-input.entry.js +1 -1
  158. package/dist/esm/ui-menu-item.entry.js +2 -2
  159. package/dist/esm/ui-menu.entry.js +14 -9
  160. package/dist/esm/ui-multi-combobox.entry.js +156 -0
  161. package/dist/esm/ui-popover.entry.js +10 -7
  162. package/dist/esm/ui-radio-group.entry.js +1 -1
  163. package/dist/esm/ui-radio.entry.js +16 -7
  164. package/dist/esm/ui-search-result-row.entry.js +1 -1
  165. package/dist/esm/ui-search-shell.entry.js +1 -1
  166. package/dist/esm/ui-select.entry.js +1 -1
  167. package/dist/esm/ui-switch.entry.js +19 -10
  168. package/dist/esm/ui-tabs.entry.js +10 -9
  169. package/dist/esm/ui-textarea.entry.js +1 -1
  170. package/dist/esm/ui-toast-region.entry.js +30 -19
  171. package/dist/esm/ui-tooltip.entry.js +12 -8
  172. package/dist/esm/ui-top-bar.entry.js +1 -1
  173. package/dist/esm/ui-tree-item.entry.js +54 -617
  174. package/dist/esm/ui-tree.entry.js +123 -11
  175. package/dist/index.cjs +1552 -894
  176. package/dist/index.d.cts +23 -1
  177. package/dist/index.d.ts +23 -1
  178. package/dist/index.js +12 -2
  179. package/dist/looma/looma.esm.js +1 -1
  180. package/dist/looma/p-08f80207.entry.js +1 -0
  181. package/dist/looma/{p-ed368426.entry.js → p-0e1741cb.entry.js} +1 -1
  182. package/dist/looma/p-0ef4bf13.entry.js +1 -0
  183. package/dist/looma/{p-7e0bb7f6.entry.js → p-166f8593.entry.js} +1 -1
  184. package/dist/looma/p-262a542c.entry.js +1 -0
  185. package/dist/looma/{p-13347631.entry.js → p-26d357ae.entry.js} +1 -1
  186. package/dist/looma/p-30f01909.entry.js +1 -0
  187. package/dist/looma/p-393e3e02.entry.js +1 -0
  188. package/dist/looma/p-3a44b9f9.entry.js +1 -0
  189. package/dist/looma/p-558d4f5b.entry.js +1 -0
  190. package/dist/looma/{p-5a87b59d.entry.js → p-5780cefa.entry.js} +1 -1
  191. package/dist/looma/p-5a7261e1.entry.js +1 -0
  192. package/dist/looma/p-5fdcee1d.entry.js +1 -0
  193. package/dist/looma/{p-add36e74.entry.js → p-72338f53.entry.js} +1 -1
  194. package/dist/looma/p-7319c147.entry.js +1 -0
  195. package/dist/looma/p-78b7e466.entry.js +1 -0
  196. package/dist/looma/{p-a90d2821.entry.js → p-7ab661ec.entry.js} +1 -1
  197. package/dist/looma/p-7eb04f09.entry.js +1 -0
  198. package/dist/looma/{p-69a5557b.entry.js → p-81c533f5.entry.js} +1 -1
  199. package/dist/looma/p-87f501cf.entry.js +1 -0
  200. package/dist/looma/p-89e71bbb.entry.js +1 -0
  201. package/dist/looma/{p-8b8840b8.entry.js → p-92cd1841.entry.js} +1 -1
  202. package/dist/looma/{p-f0487ff3.entry.js → p-95eb3b58.entry.js} +1 -1
  203. package/dist/looma/p-96ec4d7a.entry.js +1 -0
  204. package/dist/looma/p-9d2662ca.entry.js +1 -0
  205. package/dist/looma/p-BnGhGgTH.js +1 -0
  206. package/dist/looma/p-CoFximGM.js +13 -0
  207. package/dist/looma/p-add67e4c.entry.js +1 -0
  208. package/dist/looma/p-b6c776fb.entry.js +1 -0
  209. package/dist/looma/p-bcb1b47b.entry.js +1 -0
  210. package/dist/looma/p-d56571a2.entry.js +1 -0
  211. package/dist/looma/{p-582973b5.entry.js → p-d62da01d.entry.js} +1 -1
  212. package/dist/looma/{p-f74e5546.entry.js → p-dbcb479c.entry.js} +1 -1
  213. package/dist/looma/p-e14024bf.entry.js +1 -0
  214. package/dist/looma/{p-5da09f47.entry.js → p-fc180770.entry.js} +1 -1
  215. package/dist/types/components/ui-avatar-group/ui-avatar-group.d.ts +1 -2
  216. package/dist/types/components/ui-callout/ui-callout.d.ts +6 -0
  217. package/dist/types/components/ui-checkbox/ui-checkbox.d.ts +2 -1
  218. package/dist/types/components/ui-chip/ui-chip.d.ts +8 -0
  219. package/dist/types/components/ui-combobox/ui-combobox.d.ts +4 -0
  220. package/dist/types/components/ui-dialog/ui-dialog.d.ts +7 -1
  221. package/dist/types/components/ui-disclosure/ui-disclosure.d.ts +2 -1
  222. package/dist/types/components/ui-editable/ui-editable.d.ts +24 -0
  223. package/dist/types/components/ui-form-field/ui-form-field.d.ts +8 -0
  224. package/dist/types/components/ui-menu/ui-menu.d.ts +2 -1
  225. package/dist/types/components/ui-multi-combobox/ui-multi-combobox.d.ts +47 -0
  226. package/dist/types/components/ui-popover/ui-popover.d.ts +2 -1
  227. package/dist/types/components/ui-radio/ui-radio.d.ts +4 -1
  228. package/dist/types/components/ui-switch/ui-switch.d.ts +2 -1
  229. package/dist/types/components/ui-tabs/ui-tabs.d.ts +2 -1
  230. package/dist/types/components/ui-toast-region/ui-toast-region.d.ts +3 -1
  231. package/dist/types/components/ui-tooltip/ui-tooltip.d.ts +2 -1
  232. package/dist/types/components/ui-tree/ui-tree.d.ts +12 -0
  233. package/dist/types/components/ui-tree-item/ui-tree-item.d.ts +11 -7
  234. package/dist/types/components.d.ts +343 -46
  235. package/dist/types/field/editable.d.ts +5 -0
  236. package/dist/types/field/multi-combobox.d.ts +11 -0
  237. package/dist/types/icons.d.ts +5 -0
  238. package/dist/types/utils/controlled-state.d.ts +4 -0
  239. package/dist/{ui-affordance-scope.entry-VO4C2MZX.js → ui-affordance-scope.entry-VSSP52ZP.js} +2 -2
  240. package/dist/ui-avatar-group.entry-JMCLL6FW.js +51 -0
  241. package/dist/{ui-avatar.entry-T6FU6ZYM.js → ui-avatar.entry-X2YQ3QPG.js} +3 -3
  242. package/dist/ui-badge.entry-OJ6FJJKL.js +22 -0
  243. package/dist/{ui-button.entry-7UXMUGHN.js → ui-button.entry-ZN6JLND7.js} +2 -2
  244. package/dist/ui-callout.entry-7K6NXQ7U.js +32 -0
  245. package/dist/{ui-checkbox.entry-DMZJB3RE.js → ui-checkbox.entry-GUYRVU6O.js} +17 -8
  246. package/dist/{ui-combobox.entry-ZCTPXEES.js → ui-chip_2.entry-M2DOTIGY.js} +32 -7
  247. package/dist/{ui-context-menu.entry-2WMCBGCP.js → ui-context-menu.entry-BM7FHOUJ.js} +5 -5
  248. package/dist/{ui-dialog.entry-WO23XOSW.js → ui-dialog.entry-AZAD37CG.js} +50 -12
  249. package/dist/{ui-disclosure.entry-USX7OUEW.js → ui-disclosure.entry-XDPGKMBK.js} +13 -7
  250. package/dist/ui-editable.entry-S3TE6KFT.js +110 -0
  251. package/dist/{ui-floating-action-button.entry-MXDIN7MV.js → ui-floating-action-button.entry-U7HGA3CS.js} +2 -2
  252. package/dist/ui-form-field.entry-C2ZSP3TM.js +120 -0
  253. package/dist/{ui-icon-button.entry-MJUNXHBU.js → ui-icon-button.entry-P6H2LY7D.js} +2 -2
  254. package/dist/{ui-input.entry-AWG63YIG.js → ui-input.entry-GTNQJCQ2.js} +2 -2
  255. package/dist/ui-menu-item.entry-2HWOGUO5.js +22 -0
  256. package/dist/{ui-menu.entry-IT3GW5TL.js → ui-menu.entry-NZ7ER54K.js} +22 -14
  257. package/dist/ui-multi-combobox.entry-DZ5LLSVQ.js +167 -0
  258. package/dist/{ui-popover.entry-ZQQB4N6E.js → ui-popover.entry-ZOEQMUWG.js} +17 -11
  259. package/dist/{ui-radio-group.entry-V7PCTS7I.js → ui-radio-group.entry-QCQ46EK5.js} +2 -2
  260. package/dist/{ui-radio.entry-JYH6TQBI.js → ui-radio.entry-QAATWUYT.js} +20 -8
  261. package/dist/{ui-search-result-row.entry-JBNYXXUN.js → ui-search-result-row.entry-2I3DH2OT.js} +2 -2
  262. package/dist/{ui-search-shell.entry-TEAWE76O.js → ui-search-shell.entry-7RS55ORF.js} +2 -2
  263. package/dist/{ui-select.entry-F3A6TE2U.js → ui-select.entry-6O4KD4G7.js} +2 -2
  264. package/dist/{ui-switch.entry-MJIICMP2.js → ui-switch.entry-DY5PSHCQ.js} +23 -11
  265. package/dist/{ui-tabs.entry-6REFIUHV.js → ui-tabs.entry-6X56UOUE.js} +14 -10
  266. package/dist/{ui-textarea.entry-OJTXCED7.js → ui-textarea.entry-RDYP6O77.js} +2 -2
  267. package/dist/{ui-toast-region.entry-NOFXLKPS.js → ui-toast-region.entry-EBY42KS5.js} +32 -23
  268. package/dist/{ui-tooltip.entry-COWTWVHX.js → ui-tooltip.entry-PLXMPOKV.js} +19 -12
  269. package/dist/{ui-top-bar.entry-PIAWXJNV.js → ui-top-bar.entry-QKE2DLVD.js} +2 -2
  270. package/dist/ui-tree-item.entry-TC6YWIC6.js +145 -0
  271. package/dist/{ui-tree.entry-XYI3ZFAZ.js → ui-tree.entry-UL6UHCUT.js} +114 -12
  272. package/editor/{chunk-QCOYOVQL.js → chunk-B5WVJOPV.js} +113 -97
  273. package/editor/extensions/index.d.ts +14 -6
  274. package/editor/extensions/index.js +1 -1
  275. package/editor/index.js +1 -1
  276. package/editor.css +37 -20
  277. package/package.json +1 -1
  278. package/styles.css +10 -0
  279. package/tokens.css +3 -0
  280. package/vue/{chunk-JLW23USW.js → chunk-GXQY27K2.js} +112 -17
  281. package/vue/editor/index.d.ts +5 -15
  282. package/vue/editor/index.js +1 -1
  283. package/vue/index.d.ts +442 -116
  284. package/vue/index.js +9 -1
  285. package/dist/components/p-CaietZcq.js +0 -1
  286. package/dist/components/p-DHd18bK7.js +0 -1
  287. package/dist/looma/p-14c081cf.entry.js +0 -1
  288. package/dist/looma/p-25366205.entry.js +0 -1
  289. package/dist/looma/p-2e3aa869.entry.js +0 -1
  290. package/dist/looma/p-40fe7fee.entry.js +0 -1
  291. package/dist/looma/p-446cda76.entry.js +0 -1
  292. package/dist/looma/p-4fc1b005.entry.js +0 -13
  293. package/dist/looma/p-6a8a4736.entry.js +0 -1
  294. package/dist/looma/p-6bf4038b.entry.js +0 -1
  295. package/dist/looma/p-8204fee6.entry.js +0 -1
  296. package/dist/looma/p-8238e0dc.entry.js +0 -1
  297. package/dist/looma/p-99d88efb.entry.js +0 -1
  298. package/dist/looma/p-a27669b1.entry.js +0 -1
  299. package/dist/looma/p-a6ee76b7.entry.js +0 -1
  300. package/dist/looma/p-b6398a6b.entry.js +0 -1
  301. package/dist/looma/p-d50faaff.entry.js +0 -1
  302. package/dist/looma/p-d77278ce.entry.js +0 -1
  303. package/dist/looma/p-d9ec13b7.entry.js +0 -1
  304. package/dist/looma/p-ecf8005f.entry.js +0 -1
  305. package/dist/ui-avatar-group.entry-TAXJRIIU.js +0 -59
  306. package/dist/ui-badge.entry-MZFYNBMJ.js +0 -22
  307. package/dist/ui-form-field.entry-7ZCMEHPY.js +0 -67
  308. package/dist/ui-menu-item.entry-HFTWG62N.js +0 -22
  309. package/dist/ui-tree-item.entry-BSEWNL2O.js +0 -389
@@ -0,0 +1,8 @@
1
+ // dist/esm/controlled-state-BnGhGgTH.js
2
+ var isControlled = (value) => value !== void 0;
3
+ var controlledOrDefault = (value, defaultValue) => value === void 0 ? defaultValue : value;
4
+
5
+ export {
6
+ isControlled,
7
+ controlledOrDefault
8
+ };
@@ -0,0 +1,323 @@
1
+ // dist/esm/icons-CoFximGM.js
2
+ var Bold = [
3
+ ["path", { d: "M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8" }]
4
+ ];
5
+ var Braces = [
6
+ ["path", { d: "M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1" }],
7
+ ["path", { d: "M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1" }]
8
+ ];
9
+ var ChevronDown = [["path", { d: "m6 9 6 6 6-6" }]];
10
+ var ChevronLeft = [["path", { d: "m15 18-6-6 6-6" }]];
11
+ var CircleCheck = [
12
+ ["circle", { cx: "12", cy: "12", r: "10" }],
13
+ ["path", { d: "m9 12 2 2 4-4" }]
14
+ ];
15
+ var CircleX = [
16
+ ["circle", { cx: "12", cy: "12", r: "10" }],
17
+ ["path", { d: "m15 9-6 6" }],
18
+ ["path", { d: "m9 9 6 6" }]
19
+ ];
20
+ var CodeXml = [
21
+ ["path", { d: "m18 16 4-4-4-4" }],
22
+ ["path", { d: "m6 8-4 4 4 4" }],
23
+ ["path", { d: "m14.5 4-5 16" }]
24
+ ];
25
+ var Columns3 = [
26
+ ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
27
+ ["path", { d: "M9 3v18" }],
28
+ ["path", { d: "M15 3v18" }]
29
+ ];
30
+ var Ellipsis = [
31
+ ["circle", { cx: "12", cy: "12", r: "1" }],
32
+ ["circle", { cx: "19", cy: "12", r: "1" }],
33
+ ["circle", { cx: "5", cy: "12", r: "1" }]
34
+ ];
35
+ var Eraser = [
36
+ [
37
+ "path",
38
+ {
39
+ d: "M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21"
40
+ }
41
+ ],
42
+ ["path", { d: "m5.082 11.09 8.828 8.828" }]
43
+ ];
44
+ var GripHorizontal = [
45
+ ["circle", { cx: "12", cy: "9", r: "1" }],
46
+ ["circle", { cx: "19", cy: "9", r: "1" }],
47
+ ["circle", { cx: "5", cy: "9", r: "1" }],
48
+ ["circle", { cx: "12", cy: "15", r: "1" }],
49
+ ["circle", { cx: "19", cy: "15", r: "1" }],
50
+ ["circle", { cx: "5", cy: "15", r: "1" }]
51
+ ];
52
+ var GripVertical = [
53
+ ["circle", { cx: "9", cy: "12", r: "1" }],
54
+ ["circle", { cx: "9", cy: "5", r: "1" }],
55
+ ["circle", { cx: "9", cy: "19", r: "1" }],
56
+ ["circle", { cx: "15", cy: "12", r: "1" }],
57
+ ["circle", { cx: "15", cy: "5", r: "1" }],
58
+ ["circle", { cx: "15", cy: "19", r: "1" }]
59
+ ];
60
+ var Heading1 = [
61
+ ["path", { d: "M4 12h8" }],
62
+ ["path", { d: "M4 18V6" }],
63
+ ["path", { d: "M12 18V6" }],
64
+ ["path", { d: "m17 12 3-2v8" }]
65
+ ];
66
+ var Heading2 = [
67
+ ["path", { d: "M4 12h8" }],
68
+ ["path", { d: "M4 18V6" }],
69
+ ["path", { d: "M12 18V6" }],
70
+ ["path", { d: "M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1" }]
71
+ ];
72
+ var Heading3 = [
73
+ ["path", { d: "M4 12h8" }],
74
+ ["path", { d: "M4 18V6" }],
75
+ ["path", { d: "M12 18V6" }],
76
+ ["path", { d: "M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2" }],
77
+ ["path", { d: "M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2" }]
78
+ ];
79
+ var Highlighter = [
80
+ ["path", { d: "m9 11-6 6v3h9l3-3" }],
81
+ ["path", { d: "m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4" }]
82
+ ];
83
+ var Image = [
84
+ ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2" }],
85
+ ["circle", { cx: "9", cy: "9", r: "2" }],
86
+ ["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" }]
87
+ ];
88
+ var Info = [
89
+ ["circle", { cx: "12", cy: "12", r: "10" }],
90
+ ["path", { d: "M12 16v-4" }],
91
+ ["path", { d: "M12 8h.01" }]
92
+ ];
93
+ var Italic = [
94
+ ["line", { x1: "19", x2: "10", y1: "4", y2: "4" }],
95
+ ["line", { x1: "14", x2: "5", y1: "20", y2: "20" }],
96
+ ["line", { x1: "15", x2: "9", y1: "4", y2: "20" }]
97
+ ];
98
+ var ListOrdered = [
99
+ ["path", { d: "M11 5h10" }],
100
+ ["path", { d: "M11 12h10" }],
101
+ ["path", { d: "M11 19h10" }],
102
+ ["path", { d: "M4 4h1v5" }],
103
+ ["path", { d: "M4 9h2" }],
104
+ ["path", { d: "M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02" }]
105
+ ];
106
+ var ListTodo = [
107
+ ["path", { d: "M13 5h8" }],
108
+ ["path", { d: "M13 12h8" }],
109
+ ["path", { d: "M13 19h8" }],
110
+ ["path", { d: "m3 17 2 2 4-4" }],
111
+ ["rect", { x: "3", y: "4", width: "6", height: "6", rx: "1" }]
112
+ ];
113
+ var List = [
114
+ ["path", { d: "M3 5h.01" }],
115
+ ["path", { d: "M3 12h.01" }],
116
+ ["path", { d: "M3 19h.01" }],
117
+ ["path", { d: "M8 5h13" }],
118
+ ["path", { d: "M8 12h13" }],
119
+ ["path", { d: "M8 19h13" }]
120
+ ];
121
+ var Merge = [
122
+ ["path", { d: "m8 6 4-4 4 4" }],
123
+ ["path", { d: "M12 2v10.3a4 4 0 0 1-1.172 2.872L4 22" }],
124
+ ["path", { d: "m20 22-5-5" }]
125
+ ];
126
+ var Minus = [["path", { d: "M5 12h14" }]];
127
+ var NotebookPen = [
128
+ ["path", { d: "M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4" }],
129
+ ["path", { d: "M2 6h4" }],
130
+ ["path", { d: "M2 10h4" }],
131
+ ["path", { d: "M2 14h4" }],
132
+ ["path", { d: "M2 18h4" }],
133
+ [
134
+ "path",
135
+ {
136
+ d: "M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z"
137
+ }
138
+ ]
139
+ ];
140
+ var PaintBucket = [
141
+ ["path", { d: "m19 11-8-8-8.6 8.6a2 2 0 0 0 0 2.8l5.2 5.2c.8.8 2 .8 2.8 0L19 11Z" }],
142
+ ["path", { d: "m5 2 5 5" }],
143
+ ["path", { d: "M2 13h15" }],
144
+ ["path", { d: "M22 20a2 2 0 1 1-4 0c0-1.6 1.7-2.4 2-4 .3 1.6 2 2.4 2 4Z" }]
145
+ ];
146
+ var PanelBottom = [
147
+ ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
148
+ ["path", { d: "M3 15h18" }]
149
+ ];
150
+ var PanelLeft = [
151
+ ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
152
+ ["path", { d: "M9 3v18" }]
153
+ ];
154
+ var PanelRight = [
155
+ ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
156
+ ["path", { d: "M15 3v18" }]
157
+ ];
158
+ var PanelTop = [
159
+ ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
160
+ ["path", { d: "M3 9h18" }]
161
+ ];
162
+ var Pilcrow = [
163
+ ["path", { d: "M13 4v16" }],
164
+ ["path", { d: "M17 4v16" }],
165
+ ["path", { d: "M19 4H9.5a4.5 4.5 0 0 0 0 9H13" }]
166
+ ];
167
+ var Plus = [
168
+ ["path", { d: "M5 12h14" }],
169
+ ["path", { d: "M12 5v14" }]
170
+ ];
171
+ var Quote = [
172
+ [
173
+ "path",
174
+ {
175
+ d: "M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z"
176
+ }
177
+ ],
178
+ [
179
+ "path",
180
+ {
181
+ d: "M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z"
182
+ }
183
+ ]
184
+ ];
185
+ var Redo2 = [
186
+ ["path", { d: "m15 14 5-5-5-5" }],
187
+ ["path", { d: "M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13" }]
188
+ ];
189
+ var Rows3 = [
190
+ ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }],
191
+ ["path", { d: "M21 9H3" }],
192
+ ["path", { d: "M21 15H3" }]
193
+ ];
194
+ var Split = [
195
+ ["path", { d: "M16 3h5v5" }],
196
+ ["path", { d: "M8 3H3v5" }],
197
+ ["path", { d: "M12 22v-8.3a4 4 0 0 0-1.172-2.872L3 3" }],
198
+ ["path", { d: "m15 9 6-6" }]
199
+ ];
200
+ var Strikethrough = [
201
+ ["path", { d: "M16 4H9a3 3 0 0 0-2.83 4" }],
202
+ ["path", { d: "M14 12a4 4 0 0 1 0 8H6" }],
203
+ ["line", { x1: "4", x2: "20", y1: "12", y2: "12" }]
204
+ ];
205
+ var Table2 = [
206
+ [
207
+ "path",
208
+ {
209
+ d: "M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18"
210
+ }
211
+ ]
212
+ ];
213
+ var TextAlignCenter = [
214
+ ["path", { d: "M21 5H3" }],
215
+ ["path", { d: "M17 12H7" }],
216
+ ["path", { d: "M19 19H5" }]
217
+ ];
218
+ var TextAlignEnd = [
219
+ ["path", { d: "M21 5H3" }],
220
+ ["path", { d: "M21 12H9" }],
221
+ ["path", { d: "M21 19H7" }]
222
+ ];
223
+ var TextAlignStart = [
224
+ ["path", { d: "M21 5H3" }],
225
+ ["path", { d: "M15 12H3" }],
226
+ ["path", { d: "M17 19H3" }]
227
+ ];
228
+ var Trash2 = [
229
+ ["path", { d: "M10 11v6" }],
230
+ ["path", { d: "M14 11v6" }],
231
+ ["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" }],
232
+ ["path", { d: "M3 6h18" }],
233
+ ["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" }]
234
+ ];
235
+ var TriangleAlert = [
236
+ ["path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" }],
237
+ ["path", { d: "M12 9v4" }],
238
+ ["path", { d: "M12 17h.01" }]
239
+ ];
240
+ var Underline = [
241
+ ["path", { d: "M6 4v6a6 6 0 0 0 12 0V4" }],
242
+ ["line", { x1: "4", x2: "20", y1: "20", y2: "20" }]
243
+ ];
244
+ var Undo2 = [
245
+ ["path", { d: "M9 14 4 9l5-5" }],
246
+ ["path", { d: "M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11" }]
247
+ ];
248
+ var LOOMA_ICONS = {
249
+ "align-center": TextAlignCenter,
250
+ "align-left": TextAlignStart,
251
+ "align-right": TextAlignEnd,
252
+ bold: Bold,
253
+ braces: Braces,
254
+ "circle-check": CircleCheck,
255
+ "circle-x": CircleX,
256
+ "chevron-down": ChevronDown,
257
+ "chevron-left": ChevronLeft,
258
+ "code-xml": CodeXml,
259
+ columns: Columns3,
260
+ ellipsis: Ellipsis,
261
+ eraser: Eraser,
262
+ "grip-horizontal": GripHorizontal,
263
+ "grip-vertical": GripVertical,
264
+ "heading-1": Heading1,
265
+ "heading-2": Heading2,
266
+ "heading-3": Heading3,
267
+ highlighter: Highlighter,
268
+ image: Image,
269
+ info: Info,
270
+ italic: Italic,
271
+ list: List,
272
+ "list-ordered": ListOrdered,
273
+ "list-todo": ListTodo,
274
+ merge: Merge,
275
+ "notebook-pen": NotebookPen,
276
+ minus: Minus,
277
+ "paint-bucket": PaintBucket,
278
+ "panel-bottom": PanelBottom,
279
+ "panel-left": PanelLeft,
280
+ "panel-right": PanelRight,
281
+ "panel-top": PanelTop,
282
+ pilcrow: Pilcrow,
283
+ plus: Plus,
284
+ quote: Quote,
285
+ redo: Redo2,
286
+ rows: Rows3,
287
+ split: Split,
288
+ strikethrough: Strikethrough,
289
+ table: Table2,
290
+ trash: Trash2,
291
+ "triangle-alert": TriangleAlert,
292
+ underline: Underline,
293
+ undo: Undo2
294
+ };
295
+ function serializeAttributes(attributes) {
296
+ return Object.entries(attributes).map(([name, value]) => ` ${name}="${escapeAttribute(value)}"`).join("");
297
+ }
298
+ function escapeAttribute(value) {
299
+ return String(value).replaceAll("&", "&").replaceAll('"', """);
300
+ }
301
+ function serializeIconNode(node) {
302
+ const [tag, attributes] = node;
303
+ return `<${tag}${serializeAttributes(attributes)}></${tag}>`;
304
+ }
305
+ function loomaIconMarkup(name, className = "looma-icon") {
306
+ return [
307
+ `<svg class="${escapeAttribute(className)}" data-looma-icon="${name}" aria-hidden="true" focusable="false"`,
308
+ ' viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"',
309
+ ' stroke-linecap="round" stroke-linejoin="round">',
310
+ LOOMA_ICONS[name].map(serializeIconNode).join(""),
311
+ "</svg>"
312
+ ].join("");
313
+ }
314
+
315
+ export {
316
+ loomaIconMarkup
317
+ };
318
+ /**
319
+ * @license lucide v0.554.0 - ISC
320
+ *
321
+ * This source code is licensed under the ISC license.
322
+ * See the LICENSE file in the root directory of this source tree.
323
+ */
@@ -6,36 +6,39 @@ var __glob = (map) => (path) => {
6
6
 
7
7
  // import("./**/*.entry.js") in dist/esm/index-8BGiMGQ0.js
8
8
  var globImport_entry_js = __glob({
9
- "./ui-affordance-scope.entry.js": () => import("./ui-affordance-scope.entry-VO4C2MZX.js"),
10
- "./ui-avatar-group.entry.js": () => import("./ui-avatar-group.entry-TAXJRIIU.js"),
11
- "./ui-avatar.entry.js": () => import("./ui-avatar.entry-T6FU6ZYM.js"),
12
- "./ui-badge.entry.js": () => import("./ui-badge.entry-MZFYNBMJ.js"),
13
- "./ui-button.entry.js": () => import("./ui-button.entry-7UXMUGHN.js"),
14
- "./ui-checkbox.entry.js": () => import("./ui-checkbox.entry-DMZJB3RE.js"),
15
- "./ui-combobox.entry.js": () => import("./ui-combobox.entry-ZCTPXEES.js"),
16
- "./ui-context-menu.entry.js": () => import("./ui-context-menu.entry-2WMCBGCP.js"),
17
- "./ui-dialog.entry.js": () => import("./ui-dialog.entry-WO23XOSW.js"),
18
- "./ui-disclosure.entry.js": () => import("./ui-disclosure.entry-USX7OUEW.js"),
19
- "./ui-floating-action-button.entry.js": () => import("./ui-floating-action-button.entry-MXDIN7MV.js"),
20
- "./ui-form-field.entry.js": () => import("./ui-form-field.entry-7ZCMEHPY.js"),
21
- "./ui-icon-button.entry.js": () => import("./ui-icon-button.entry-MJUNXHBU.js"),
22
- "./ui-input.entry.js": () => import("./ui-input.entry-AWG63YIG.js"),
23
- "./ui-menu-item.entry.js": () => import("./ui-menu-item.entry-HFTWG62N.js"),
24
- "./ui-menu.entry.js": () => import("./ui-menu.entry-IT3GW5TL.js"),
25
- "./ui-popover.entry.js": () => import("./ui-popover.entry-ZQQB4N6E.js"),
26
- "./ui-radio-group.entry.js": () => import("./ui-radio-group.entry-V7PCTS7I.js"),
27
- "./ui-radio.entry.js": () => import("./ui-radio.entry-JYH6TQBI.js"),
28
- "./ui-search-result-row.entry.js": () => import("./ui-search-result-row.entry-JBNYXXUN.js"),
29
- "./ui-search-shell.entry.js": () => import("./ui-search-shell.entry-TEAWE76O.js"),
30
- "./ui-select.entry.js": () => import("./ui-select.entry-F3A6TE2U.js"),
31
- "./ui-switch.entry.js": () => import("./ui-switch.entry-MJIICMP2.js"),
32
- "./ui-tabs.entry.js": () => import("./ui-tabs.entry-6REFIUHV.js"),
33
- "./ui-textarea.entry.js": () => import("./ui-textarea.entry-OJTXCED7.js"),
34
- "./ui-toast-region.entry.js": () => import("./ui-toast-region.entry-NOFXLKPS.js"),
35
- "./ui-tooltip.entry.js": () => import("./ui-tooltip.entry-COWTWVHX.js"),
36
- "./ui-top-bar.entry.js": () => import("./ui-top-bar.entry-PIAWXJNV.js"),
37
- "./ui-tree-item.entry.js": () => import("./ui-tree-item.entry-BSEWNL2O.js"),
38
- "./ui-tree.entry.js": () => import("./ui-tree.entry-XYI3ZFAZ.js")
9
+ "./ui-affordance-scope.entry.js": () => import("./ui-affordance-scope.entry-VSSP52ZP.js"),
10
+ "./ui-avatar-group.entry.js": () => import("./ui-avatar-group.entry-JMCLL6FW.js"),
11
+ "./ui-avatar.entry.js": () => import("./ui-avatar.entry-X2YQ3QPG.js"),
12
+ "./ui-badge.entry.js": () => import("./ui-badge.entry-OJ6FJJKL.js"),
13
+ "./ui-button.entry.js": () => import("./ui-button.entry-ZN6JLND7.js"),
14
+ "./ui-callout.entry.js": () => import("./ui-callout.entry-7K6NXQ7U.js"),
15
+ "./ui-checkbox.entry.js": () => import("./ui-checkbox.entry-GUYRVU6O.js"),
16
+ "./ui-chip_2.entry.js": () => import("./ui-chip_2.entry-M2DOTIGY.js"),
17
+ "./ui-context-menu.entry.js": () => import("./ui-context-menu.entry-BM7FHOUJ.js"),
18
+ "./ui-dialog.entry.js": () => import("./ui-dialog.entry-AZAD37CG.js"),
19
+ "./ui-disclosure.entry.js": () => import("./ui-disclosure.entry-XDPGKMBK.js"),
20
+ "./ui-editable.entry.js": () => import("./ui-editable.entry-S3TE6KFT.js"),
21
+ "./ui-floating-action-button.entry.js": () => import("./ui-floating-action-button.entry-U7HGA3CS.js"),
22
+ "./ui-form-field.entry.js": () => import("./ui-form-field.entry-C2ZSP3TM.js"),
23
+ "./ui-icon-button.entry.js": () => import("./ui-icon-button.entry-P6H2LY7D.js"),
24
+ "./ui-input.entry.js": () => import("./ui-input.entry-GTNQJCQ2.js"),
25
+ "./ui-menu-item.entry.js": () => import("./ui-menu-item.entry-2HWOGUO5.js"),
26
+ "./ui-menu.entry.js": () => import("./ui-menu.entry-NZ7ER54K.js"),
27
+ "./ui-multi-combobox.entry.js": () => import("./ui-multi-combobox.entry-DZ5LLSVQ.js"),
28
+ "./ui-popover.entry.js": () => import("./ui-popover.entry-ZOEQMUWG.js"),
29
+ "./ui-radio-group.entry.js": () => import("./ui-radio-group.entry-QCQ46EK5.js"),
30
+ "./ui-radio.entry.js": () => import("./ui-radio.entry-QAATWUYT.js"),
31
+ "./ui-search-result-row.entry.js": () => import("./ui-search-result-row.entry-2I3DH2OT.js"),
32
+ "./ui-search-shell.entry.js": () => import("./ui-search-shell.entry-7RS55ORF.js"),
33
+ "./ui-select.entry.js": () => import("./ui-select.entry-6O4KD4G7.js"),
34
+ "./ui-switch.entry.js": () => import("./ui-switch.entry-DY5PSHCQ.js"),
35
+ "./ui-tabs.entry.js": () => import("./ui-tabs.entry-6X56UOUE.js"),
36
+ "./ui-textarea.entry.js": () => import("./ui-textarea.entry-RDYP6O77.js"),
37
+ "./ui-toast-region.entry.js": () => import("./ui-toast-region.entry-EBY42KS5.js"),
38
+ "./ui-tooltip.entry.js": () => import("./ui-tooltip.entry-PLXMPOKV.js"),
39
+ "./ui-top-bar.entry.js": () => import("./ui-top-bar.entry-QKE2DLVD.js"),
40
+ "./ui-tree-item.entry.js": () => import("./ui-tree-item.entry-TC6YWIC6.js"),
41
+ "./ui-tree.entry.js": () => import("./ui-tree.entry-UL6UHCUT.js")
39
42
  });
40
43
 
41
44
  // dist/esm/index-8BGiMGQ0.js
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ /** A state prop is controlled only when the consumer supplies a value. */
4
+ const isControlled = (value) => value !== undefined;
5
+ /** Defaults apply only when a corresponding controlled prop is omitted. */
6
+ const controlledOrDefault = (value, defaultValue) => value === undefined ? defaultValue : value;
7
+
8
+ exports.controlledOrDefault = controlledOrDefault;
9
+ exports.isControlled = isControlled;