@skeletonlabs/skeleton-react 4.0.0-next.24 → 4.0.0-next.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 (330) hide show
  1. package/dist/components/accordion/anatomy/item-content.d.ts +2 -2
  2. package/dist/components/accordion/anatomy/item-content.d.ts.map +1 -1
  3. package/dist/components/accordion/anatomy/item-indicator.d.ts +2 -2
  4. package/dist/components/accordion/anatomy/item-indicator.d.ts.map +1 -1
  5. package/dist/components/accordion/anatomy/item-trigger.d.ts +2 -2
  6. package/dist/components/accordion/anatomy/item-trigger.d.ts.map +1 -1
  7. package/dist/components/accordion/anatomy/item.d.ts +2 -2
  8. package/dist/components/accordion/anatomy/item.d.ts.map +1 -1
  9. package/dist/components/accordion/anatomy/root-provider.d.ts +2 -2
  10. package/dist/components/accordion/anatomy/root-provider.d.ts.map +1 -1
  11. package/dist/components/accordion/anatomy/root.d.ts +2 -2
  12. package/dist/components/accordion/anatomy/root.d.ts.map +1 -1
  13. package/dist/components/avatar/anatomy/fallback.d.ts +2 -2
  14. package/dist/components/avatar/anatomy/fallback.d.ts.map +1 -1
  15. package/dist/components/avatar/anatomy/image.d.ts +2 -2
  16. package/dist/components/avatar/anatomy/image.d.ts.map +1 -1
  17. package/dist/components/avatar/anatomy/root-provider.d.ts +2 -2
  18. package/dist/components/avatar/anatomy/root-provider.d.ts.map +1 -1
  19. package/dist/components/avatar/anatomy/root.d.ts +2 -2
  20. package/dist/components/avatar/anatomy/root.d.ts.map +1 -1
  21. package/dist/components/combobox/anatomy/content.d.ts +2 -2
  22. package/dist/components/combobox/anatomy/content.d.ts.map +1 -1
  23. package/dist/components/combobox/anatomy/control.d.ts +2 -2
  24. package/dist/components/combobox/anatomy/input.d.ts +2 -2
  25. package/dist/components/combobox/anatomy/item-group-label.d.ts +2 -2
  26. package/dist/components/combobox/anatomy/item-group.d.ts +2 -2
  27. package/dist/components/combobox/anatomy/item-group.d.ts.map +1 -1
  28. package/dist/components/combobox/anatomy/item-indicator.d.ts +2 -2
  29. package/dist/components/combobox/anatomy/item-text.d.ts +2 -2
  30. package/dist/components/combobox/anatomy/item.d.ts +2 -2
  31. package/dist/components/combobox/anatomy/item.d.ts.map +1 -1
  32. package/dist/components/combobox/anatomy/label.d.ts +2 -2
  33. package/dist/components/combobox/anatomy/positioner.d.ts +2 -2
  34. package/dist/components/combobox/anatomy/root-provider.d.ts +2 -2
  35. package/dist/components/combobox/anatomy/root-provider.d.ts.map +1 -1
  36. package/dist/components/combobox/anatomy/root.d.ts +2 -2
  37. package/dist/components/combobox/anatomy/root.d.ts.map +1 -1
  38. package/dist/components/combobox/anatomy/trigger.d.ts +2 -2
  39. package/dist/components/date-picker/anatomy/content.d.ts +2 -2
  40. package/dist/components/date-picker/anatomy/control.d.ts +2 -2
  41. package/dist/components/date-picker/anatomy/input.d.ts +2 -2
  42. package/dist/components/date-picker/anatomy/label.d.ts +2 -2
  43. package/dist/components/date-picker/anatomy/month-select.d.ts +2 -2
  44. package/dist/components/date-picker/anatomy/next-trigger.d.ts +2 -2
  45. package/dist/components/date-picker/anatomy/positioner.d.ts +2 -2
  46. package/dist/components/date-picker/anatomy/prev-trigger.d.ts +2 -2
  47. package/dist/components/date-picker/anatomy/range-text.d.ts +2 -2
  48. package/dist/components/date-picker/anatomy/root-provider.d.ts +2 -2
  49. package/dist/components/date-picker/anatomy/root.d.ts +2 -2
  50. package/dist/components/date-picker/anatomy/table-body.d.ts +2 -2
  51. package/dist/components/date-picker/anatomy/table-cell-trigger.d.ts +2 -2
  52. package/dist/components/date-picker/anatomy/table-cell.d.ts +2 -2
  53. package/dist/components/date-picker/anatomy/table-head.d.ts +2 -2
  54. package/dist/components/date-picker/anatomy/table-header.d.ts +2 -2
  55. package/dist/components/date-picker/anatomy/table-row.d.ts +2 -2
  56. package/dist/components/date-picker/anatomy/table.d.ts +2 -2
  57. package/dist/components/date-picker/anatomy/trigger.d.ts +2 -2
  58. package/dist/components/date-picker/anatomy/view-control.d.ts +2 -2
  59. package/dist/components/date-picker/anatomy/view-trigger.d.ts +2 -2
  60. package/dist/components/date-picker/anatomy/view.d.ts +2 -2
  61. package/dist/components/date-picker/anatomy/year-select.d.ts +2 -2
  62. package/dist/components/dialog/anatomy/backdrop.d.ts +2 -2
  63. package/dist/components/dialog/anatomy/backdrop.d.ts.map +1 -1
  64. package/dist/components/dialog/anatomy/close-trigger.d.ts +2 -2
  65. package/dist/components/dialog/anatomy/close-trigger.d.ts.map +1 -1
  66. package/dist/components/dialog/anatomy/content.d.ts +2 -2
  67. package/dist/components/dialog/anatomy/content.d.ts.map +1 -1
  68. package/dist/components/dialog/anatomy/description.d.ts +2 -2
  69. package/dist/components/dialog/anatomy/description.d.ts.map +1 -1
  70. package/dist/components/dialog/anatomy/positioner.d.ts +2 -2
  71. package/dist/components/dialog/anatomy/positioner.d.ts.map +1 -1
  72. package/dist/components/dialog/anatomy/root-provider.d.ts +2 -2
  73. package/dist/components/dialog/anatomy/root-provider.d.ts.map +1 -1
  74. package/dist/components/dialog/anatomy/root.d.ts +2 -2
  75. package/dist/components/dialog/anatomy/title.d.ts +2 -2
  76. package/dist/components/dialog/anatomy/title.d.ts.map +1 -1
  77. package/dist/components/dialog/anatomy/trigger.d.ts +2 -2
  78. package/dist/components/file-upload/anatomy/dropzone.d.ts +2 -2
  79. package/dist/components/file-upload/anatomy/hidden-input.d.ts +2 -2
  80. package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts +2 -2
  81. package/dist/components/file-upload/anatomy/item-group.d.ts +2 -2
  82. package/dist/components/file-upload/anatomy/item-name.d.ts +2 -2
  83. package/dist/components/file-upload/anatomy/item-size-text.d.ts +2 -2
  84. package/dist/components/file-upload/anatomy/item.d.ts +2 -2
  85. package/dist/components/file-upload/anatomy/item.d.ts.map +1 -1
  86. package/dist/components/file-upload/anatomy/label.d.ts +2 -2
  87. package/dist/components/file-upload/anatomy/root-provider.d.ts +2 -2
  88. package/dist/components/file-upload/anatomy/root-provider.d.ts.map +1 -1
  89. package/dist/components/file-upload/anatomy/root.d.ts +2 -2
  90. package/dist/components/file-upload/anatomy/root.d.ts.map +1 -1
  91. package/dist/components/file-upload/anatomy/trigger.d.ts +2 -2
  92. package/dist/components/listbox/anatomy/content.d.ts +10 -0
  93. package/dist/components/listbox/anatomy/content.d.ts.map +1 -0
  94. package/dist/components/listbox/anatomy/content.js +20 -0
  95. package/dist/components/listbox/anatomy/content.js.map +1 -0
  96. package/dist/components/listbox/anatomy/input.d.ts +10 -0
  97. package/dist/components/listbox/anatomy/input.d.ts.map +1 -0
  98. package/dist/components/listbox/anatomy/input.js +17 -0
  99. package/dist/components/listbox/anatomy/input.js.map +1 -0
  100. package/dist/components/listbox/anatomy/item-group-label.d.ts +11 -0
  101. package/dist/components/listbox/anatomy/item-group-label.d.ts.map +1 -0
  102. package/dist/components/listbox/anatomy/item-group-label.js +27 -0
  103. package/dist/components/listbox/anatomy/item-group-label.js.map +1 -0
  104. package/dist/components/listbox/anatomy/item-group.d.ts +11 -0
  105. package/dist/components/listbox/anatomy/item-group.d.ts.map +1 -0
  106. package/dist/components/listbox/anatomy/item-group.js +29 -0
  107. package/dist/components/listbox/anatomy/item-group.js.map +1 -0
  108. package/dist/components/listbox/anatomy/item-indicator.d.ts +10 -0
  109. package/dist/components/listbox/anatomy/item-indicator.d.ts.map +1 -0
  110. package/dist/components/listbox/anatomy/item-indicator.js +23 -0
  111. package/dist/components/listbox/anatomy/item-indicator.js.map +1 -0
  112. package/dist/components/listbox/anatomy/item-text.d.ts +10 -0
  113. package/dist/components/listbox/anatomy/item-text.d.ts.map +1 -0
  114. package/dist/components/listbox/anatomy/item-text.js +22 -0
  115. package/dist/components/listbox/anatomy/item-text.js.map +1 -0
  116. package/dist/components/listbox/anatomy/item.d.ts +11 -0
  117. package/dist/components/listbox/anatomy/item.d.ts.map +1 -0
  118. package/dist/components/listbox/anatomy/item.js +26 -0
  119. package/dist/components/listbox/anatomy/item.js.map +1 -0
  120. package/dist/components/listbox/anatomy/label.d.ts +10 -0
  121. package/dist/components/listbox/anatomy/label.d.ts.map +1 -0
  122. package/dist/components/listbox/anatomy/label.js +20 -0
  123. package/dist/components/listbox/anatomy/label.js.map +1 -0
  124. package/dist/components/listbox/anatomy/root-context.d.ts +11 -0
  125. package/dist/components/listbox/anatomy/root-context.d.ts.map +1 -0
  126. package/dist/components/listbox/anatomy/root-context.js +13 -0
  127. package/dist/components/listbox/anatomy/root-context.js.map +1 -0
  128. package/dist/components/listbox/anatomy/root-provider.d.ts +13 -0
  129. package/dist/components/listbox/anatomy/root-provider.d.ts.map +1 -0
  130. package/dist/components/listbox/anatomy/root-provider.js +21 -0
  131. package/dist/components/listbox/anatomy/root-provider.js.map +1 -0
  132. package/dist/components/listbox/anatomy/root.d.ts +11 -0
  133. package/dist/components/listbox/anatomy/root.d.ts.map +1 -0
  134. package/dist/components/listbox/anatomy/root.js +25 -0
  135. package/dist/components/listbox/anatomy/root.js.map +1 -0
  136. package/dist/components/listbox/modules/anatomy.d.ts +28 -0
  137. package/dist/components/listbox/modules/anatomy.d.ts.map +1 -0
  138. package/dist/components/listbox/modules/anatomy.js +29 -0
  139. package/dist/components/listbox/modules/anatomy.js.map +1 -0
  140. package/dist/components/listbox/modules/item-context.js +8 -0
  141. package/dist/components/listbox/modules/item-context.js.map +1 -0
  142. package/dist/components/listbox/modules/item-group-context.js +8 -0
  143. package/dist/components/listbox/modules/item-group-context.js.map +1 -0
  144. package/dist/components/listbox/modules/provider.d.ts +8 -0
  145. package/dist/components/listbox/modules/provider.d.ts.map +1 -0
  146. package/dist/components/listbox/modules/provider.js +16 -0
  147. package/dist/components/listbox/modules/provider.js.map +1 -0
  148. package/dist/components/listbox/modules/root-context.js +8 -0
  149. package/dist/components/listbox/modules/root-context.js.map +1 -0
  150. package/dist/components/navigation/anatomy/content.d.ts +2 -2
  151. package/dist/components/navigation/anatomy/content.d.ts.map +1 -1
  152. package/dist/components/navigation/anatomy/footer.d.ts +2 -2
  153. package/dist/components/navigation/anatomy/footer.d.ts.map +1 -1
  154. package/dist/components/navigation/anatomy/group.d.ts +2 -2
  155. package/dist/components/navigation/anatomy/group.d.ts.map +1 -1
  156. package/dist/components/navigation/anatomy/header.d.ts +2 -2
  157. package/dist/components/navigation/anatomy/header.d.ts.map +1 -1
  158. package/dist/components/navigation/anatomy/label.d.ts +2 -2
  159. package/dist/components/navigation/anatomy/label.d.ts.map +1 -1
  160. package/dist/components/navigation/anatomy/menu.d.ts +2 -2
  161. package/dist/components/navigation/anatomy/menu.d.ts.map +1 -1
  162. package/dist/components/navigation/anatomy/root.d.ts +2 -2
  163. package/dist/components/navigation/anatomy/root.d.ts.map +1 -1
  164. package/dist/components/pagination/anatomy/ellipsis.d.ts +2 -2
  165. package/dist/components/pagination/anatomy/item.d.ts +2 -2
  166. package/dist/components/pagination/anatomy/next-trigger.d.ts +2 -2
  167. package/dist/components/pagination/anatomy/prev-trigger.d.ts +2 -2
  168. package/dist/components/pagination/anatomy/root-provider.d.ts +2 -2
  169. package/dist/components/pagination/anatomy/root-provider.d.ts.map +1 -1
  170. package/dist/components/pagination/anatomy/root.d.ts +2 -2
  171. package/dist/components/pagination/anatomy/root.d.ts.map +1 -1
  172. package/dist/components/popover/anatomy/arrow-tip.d.ts +2 -2
  173. package/dist/components/popover/anatomy/arrow-tip.d.ts.map +1 -1
  174. package/dist/components/popover/anatomy/arrow.d.ts +2 -2
  175. package/dist/components/popover/anatomy/arrow.d.ts.map +1 -1
  176. package/dist/components/popover/anatomy/close-trigger.d.ts +2 -2
  177. package/dist/components/popover/anatomy/content.d.ts +2 -2
  178. package/dist/components/popover/anatomy/description.d.ts +2 -2
  179. package/dist/components/popover/anatomy/positioner.d.ts +2 -2
  180. package/dist/components/popover/anatomy/root-provider.d.ts +2 -2
  181. package/dist/components/popover/anatomy/root-provider.d.ts.map +1 -1
  182. package/dist/components/popover/anatomy/root.d.ts +2 -2
  183. package/dist/components/popover/anatomy/root.d.ts.map +1 -1
  184. package/dist/components/popover/anatomy/title.d.ts +2 -2
  185. package/dist/components/popover/anatomy/trigger.d.ts +2 -2
  186. package/dist/components/portal/anatomy/root.d.ts +2 -2
  187. package/dist/components/progress/anatomy/circle-range.d.ts +2 -2
  188. package/dist/components/progress/anatomy/circle-track.d.ts +2 -2
  189. package/dist/components/progress/anatomy/circle.d.ts +2 -2
  190. package/dist/components/progress/anatomy/label.d.ts +2 -2
  191. package/dist/components/progress/anatomy/range.d.ts +2 -2
  192. package/dist/components/progress/anatomy/root-provider.d.ts +2 -2
  193. package/dist/components/progress/anatomy/root.d.ts +2 -2
  194. package/dist/components/progress/anatomy/track.d.ts +2 -2
  195. package/dist/components/progress/anatomy/value-text.d.ts +2 -2
  196. package/dist/components/rating-group/anatomy/control.d.ts +2 -2
  197. package/dist/components/rating-group/anatomy/hidden-input.d.ts +2 -2
  198. package/dist/components/rating-group/anatomy/item.d.ts +2 -2
  199. package/dist/components/rating-group/anatomy/label.d.ts +2 -2
  200. package/dist/components/rating-group/anatomy/root-provider.d.ts +2 -2
  201. package/dist/components/rating-group/anatomy/root.d.ts +2 -2
  202. package/dist/components/segmented-control/anatomy/control.d.ts +2 -2
  203. package/dist/components/segmented-control/anatomy/indicator.d.ts +2 -2
  204. package/dist/components/segmented-control/anatomy/item-hidden-input.d.ts +2 -2
  205. package/dist/components/segmented-control/anatomy/item-text.d.ts +2 -2
  206. package/dist/components/segmented-control/anatomy/item.d.ts +2 -2
  207. package/dist/components/segmented-control/anatomy/label.d.ts +2 -2
  208. package/dist/components/segmented-control/anatomy/root-provider.d.ts +2 -2
  209. package/dist/components/segmented-control/anatomy/root.d.ts +2 -2
  210. package/dist/components/slider/anatomy/control.d.ts +2 -2
  211. package/dist/components/slider/anatomy/hidden-input.d.ts +2 -2
  212. package/dist/components/slider/anatomy/label.d.ts +2 -2
  213. package/dist/components/slider/anatomy/marker-group.d.ts +2 -2
  214. package/dist/components/slider/anatomy/marker.d.ts +2 -2
  215. package/dist/components/slider/anatomy/range.d.ts +2 -2
  216. package/dist/components/slider/anatomy/root-provider.d.ts +2 -2
  217. package/dist/components/slider/anatomy/root.d.ts +2 -2
  218. package/dist/components/slider/anatomy/thumb.d.ts +2 -2
  219. package/dist/components/slider/anatomy/track.d.ts +2 -2
  220. package/dist/components/slider/anatomy/value-text.d.ts +2 -2
  221. package/dist/components/switch/anatomy/control.d.ts +2 -2
  222. package/dist/components/switch/anatomy/hidden-input.d.ts +2 -2
  223. package/dist/components/switch/anatomy/label.d.ts +2 -2
  224. package/dist/components/switch/anatomy/root-provider.d.ts +2 -2
  225. package/dist/components/switch/anatomy/root.d.ts +2 -2
  226. package/dist/components/switch/anatomy/thumb.d.ts +2 -2
  227. package/dist/components/tabs/anatomy/content.d.ts +2 -2
  228. package/dist/components/tabs/anatomy/indicator.d.ts +2 -2
  229. package/dist/components/tabs/anatomy/list.d.ts +2 -2
  230. package/dist/components/tabs/anatomy/root-provider.d.ts +2 -2
  231. package/dist/components/tabs/anatomy/root.d.ts +2 -2
  232. package/dist/components/tabs/anatomy/trigger.d.ts +2 -2
  233. package/dist/components/tags-input/anatomy/clear-trigger.d.ts +2 -2
  234. package/dist/components/tags-input/anatomy/control.d.ts +2 -2
  235. package/dist/components/tags-input/anatomy/hidden-input.d.ts +2 -2
  236. package/dist/components/tags-input/anatomy/input.d.ts +2 -2
  237. package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts +2 -2
  238. package/dist/components/tags-input/anatomy/item-input.d.ts +2 -2
  239. package/dist/components/tags-input/anatomy/item-preview.d.ts +2 -2
  240. package/dist/components/tags-input/anatomy/item-text.d.ts +2 -2
  241. package/dist/components/tags-input/anatomy/item.d.ts +2 -2
  242. package/dist/components/tags-input/anatomy/label.d.ts +2 -2
  243. package/dist/components/tags-input/anatomy/root-provider.d.ts +2 -2
  244. package/dist/components/tags-input/anatomy/root.d.ts +2 -2
  245. package/dist/components/toast/anatomy/action-trigger.d.ts +2 -2
  246. package/dist/components/toast/anatomy/action-trigger.d.ts.map +1 -1
  247. package/dist/components/toast/anatomy/close-trigger.d.ts +2 -2
  248. package/dist/components/toast/anatomy/description.d.ts +2 -2
  249. package/dist/components/toast/anatomy/group.d.ts +2 -2
  250. package/dist/components/toast/anatomy/message.d.ts +2 -2
  251. package/dist/components/toast/anatomy/root.d.ts +2 -2
  252. package/dist/components/toast/anatomy/title.d.ts +2 -2
  253. package/dist/components/tooltip/anatomy/arrow-tip.d.ts +2 -2
  254. package/dist/components/tooltip/anatomy/arrow.d.ts +2 -2
  255. package/dist/components/tooltip/anatomy/content.d.ts +2 -2
  256. package/dist/components/tooltip/anatomy/positioner.d.ts +2 -2
  257. package/dist/components/tooltip/anatomy/root-provider.d.ts +2 -2
  258. package/dist/components/tooltip/anatomy/root.d.ts +2 -2
  259. package/dist/components/tooltip/anatomy/trigger.d.ts +2 -2
  260. package/dist/components/tree-view/anatomy/branch-content.d.ts +10 -0
  261. package/dist/components/tree-view/anatomy/branch-content.d.ts.map +1 -0
  262. package/dist/components/tree-view/anatomy/branch-content.js +22 -0
  263. package/dist/components/tree-view/anatomy/branch-content.js.map +1 -0
  264. package/dist/components/tree-view/anatomy/branch-control.d.ts +10 -0
  265. package/dist/components/tree-view/anatomy/branch-control.d.ts.map +1 -0
  266. package/dist/components/tree-view/anatomy/branch-control.js +22 -0
  267. package/dist/components/tree-view/anatomy/branch-control.js.map +1 -0
  268. package/dist/components/tree-view/anatomy/branch-indent-guide.d.ts +10 -0
  269. package/dist/components/tree-view/anatomy/branch-indent-guide.d.ts.map +1 -0
  270. package/dist/components/tree-view/anatomy/branch-indent-guide.js +22 -0
  271. package/dist/components/tree-view/anatomy/branch-indent-guide.js.map +1 -0
  272. package/dist/components/tree-view/anatomy/branch-indicator.d.ts +10 -0
  273. package/dist/components/tree-view/anatomy/branch-indicator.d.ts.map +1 -0
  274. package/dist/components/tree-view/anatomy/branch-indicator.js +23 -0
  275. package/dist/components/tree-view/anatomy/branch-indicator.js.map +1 -0
  276. package/dist/components/tree-view/anatomy/branch-text.d.ts +10 -0
  277. package/dist/components/tree-view/anatomy/branch-text.d.ts.map +1 -0
  278. package/dist/components/tree-view/anatomy/branch-text.js +22 -0
  279. package/dist/components/tree-view/anatomy/branch-text.js.map +1 -0
  280. package/dist/components/tree-view/anatomy/branch.d.ts +10 -0
  281. package/dist/components/tree-view/anatomy/branch.d.ts.map +1 -0
  282. package/dist/components/tree-view/anatomy/branch.js +22 -0
  283. package/dist/components/tree-view/anatomy/branch.js.map +1 -0
  284. package/dist/components/tree-view/anatomy/item.d.ts +10 -0
  285. package/dist/components/tree-view/anatomy/item.d.ts.map +1 -0
  286. package/dist/components/tree-view/anatomy/item.js +22 -0
  287. package/dist/components/tree-view/anatomy/item.js.map +1 -0
  288. package/dist/components/tree-view/anatomy/label.d.ts +17 -0
  289. package/dist/components/tree-view/anatomy/label.d.ts.map +1 -0
  290. package/dist/components/tree-view/anatomy/label.js +21 -0
  291. package/dist/components/tree-view/anatomy/label.js.map +1 -0
  292. package/dist/components/tree-view/anatomy/node-provider.d.ts +12 -0
  293. package/dist/components/tree-view/anatomy/node-provider.d.ts.map +1 -0
  294. package/dist/components/tree-view/anatomy/node-provider.js +15 -0
  295. package/dist/components/tree-view/anatomy/node-provider.js.map +1 -0
  296. package/dist/components/tree-view/anatomy/root-context.d.ts +11 -0
  297. package/dist/components/tree-view/anatomy/root-context.d.ts.map +1 -0
  298. package/dist/components/tree-view/anatomy/root-context.js +13 -0
  299. package/dist/components/tree-view/anatomy/root-context.js.map +1 -0
  300. package/dist/components/tree-view/anatomy/root-provider.d.ts +13 -0
  301. package/dist/components/tree-view/anatomy/root-provider.d.ts.map +1 -0
  302. package/dist/components/tree-view/anatomy/root-provider.js +21 -0
  303. package/dist/components/tree-view/anatomy/root-provider.js.map +1 -0
  304. package/dist/components/tree-view/anatomy/root.d.ts +11 -0
  305. package/dist/components/tree-view/anatomy/root.d.ts.map +1 -0
  306. package/dist/components/tree-view/anatomy/root.js +25 -0
  307. package/dist/components/tree-view/anatomy/root.js.map +1 -0
  308. package/dist/components/tree-view/anatomy/tree.d.ts +10 -0
  309. package/dist/components/tree-view/anatomy/tree.d.ts.map +1 -0
  310. package/dist/components/tree-view/anatomy/tree.js +20 -0
  311. package/dist/components/tree-view/anatomy/tree.js.map +1 -0
  312. package/dist/components/tree-view/modules/anatomy.d.ts +32 -0
  313. package/dist/components/tree-view/modules/anatomy.d.ts.map +1 -0
  314. package/dist/components/tree-view/modules/anatomy.js +33 -0
  315. package/dist/components/tree-view/modules/anatomy.js.map +1 -0
  316. package/dist/components/tree-view/modules/create-tree-view-collection.d.ts +8 -0
  317. package/dist/components/tree-view/modules/create-tree-view-collection.d.ts.map +1 -0
  318. package/dist/components/tree-view/modules/create-tree-view-collection.js +10 -0
  319. package/dist/components/tree-view/modules/create-tree-view-collection.js.map +1 -0
  320. package/dist/components/tree-view/modules/node-context.js +8 -0
  321. package/dist/components/tree-view/modules/node-context.js.map +1 -0
  322. package/dist/components/tree-view/modules/provider.d.ts +8 -0
  323. package/dist/components/tree-view/modules/provider.d.ts.map +1 -0
  324. package/dist/components/tree-view/modules/provider.js +16 -0
  325. package/dist/components/tree-view/modules/provider.js.map +1 -0
  326. package/dist/components/tree-view/modules/root-context.js +8 -0
  327. package/dist/components/tree-view/modules/root-context.js.map +1 -0
  328. package/dist/index.d.ts +28 -1
  329. package/dist/index.js +6 -1
  330. package/package.json +4 -2
@@ -1,10 +1,10 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react71 from "react";
3
+ import * as react89 from "react";
4
4
 
5
5
  //#region src/components/tags-input/anatomy/label.d.ts
6
6
  interface TagsInputLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label'> {}
7
- declare function Label(props: TagsInputLabelProps): react71.JSX.Element;
7
+ declare function Label(props: TagsInputLabelProps): react89.JSX.Element;
8
8
  //#endregion
9
9
  export { Label, TagsInputLabelProps };
10
10
  //# sourceMappingURL=label.d.ts.map
@@ -1,13 +1,13 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
3
  import { useTagsInput } from "../modules/provider.js";
4
- import * as react_jsx_runtime24 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime36 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/tags-input/anatomy/root-provider.d.ts
7
7
  interface TagsInputRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {
8
8
  value: ReturnType<typeof useTagsInput>;
9
9
  }
10
- declare function RootProvider(props: TagsInputRootProviderProps): react_jsx_runtime24.JSX.Element;
10
+ declare function RootProvider(props: TagsInputRootProviderProps): react_jsx_runtime36.JSX.Element;
11
11
  //#endregion
12
12
  export { RootProvider, TagsInputRootProviderProps };
13
13
  //# sourceMappingURL=root-provider.d.ts.map
@@ -1,11 +1,11 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react_jsx_runtime23 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime35 from "react/jsx-runtime";
4
4
  import { Props } from "@zag-js/tags-input";
5
5
 
6
6
  //#region src/components/tags-input/anatomy/root.d.ts
7
7
  interface TagsInputRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
8
- declare function Root(props: TagsInputRootProps): react_jsx_runtime23.JSX.Element;
8
+ declare function Root(props: TagsInputRootProps): react_jsx_runtime35.JSX.Element;
9
9
  //#endregion
10
10
  export { Root, TagsInputRootProps };
11
11
  //# sourceMappingURL=root.d.ts.map
@@ -1,10 +1,10 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react98 from "react";
3
+ import * as react134 from "react";
4
4
 
5
5
  //#region src/components/toast/anatomy/action-trigger.d.ts
6
6
  interface ToastActionTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
7
- declare function ActionTrigger(props: ToastActionTriggerProps): react98.JSX.Element;
7
+ declare function ActionTrigger(props: ToastActionTriggerProps): react134.JSX.Element;
8
8
  //#endregion
9
9
  export { ActionTrigger };
10
10
  //# sourceMappingURL=action-trigger.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"action-trigger.d.ts","names":[],"sources":["../../../../src/components/toast/anatomy/action-trigger.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,uBAAA,SAAgC,4BAA4B;iBAErD,aAAA,QAAqB,0BAAuB,OAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"action-trigger.d.ts","names":[],"sources":["../../../../src/components/toast/anatomy/action-trigger.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,uBAAA,SAAgC,4BAA4B;iBAErD,aAAA,QAAqB,0BAAuB,QAAA,CAAA,GAAA,CAAA"}
@@ -1,10 +1,10 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react72 from "react";
3
+ import * as react90 from "react";
4
4
 
5
5
  //#region src/components/toast/anatomy/close-trigger.d.ts
6
6
  interface ToastCloseTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
7
- declare function CloseTrigger(props: ToastCloseTriggerProps): react72.JSX.Element;
7
+ declare function CloseTrigger(props: ToastCloseTriggerProps): react90.JSX.Element;
8
8
  //#endregion
9
9
  export { CloseTrigger, ToastCloseTriggerProps };
10
10
  //# sourceMappingURL=close-trigger.d.ts.map
@@ -1,10 +1,10 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react73 from "react";
3
+ import * as react91 from "react";
4
4
 
5
5
  //#region src/components/toast/anatomy/description.d.ts
6
6
  interface ToastDescriptionProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function Description(props: ToastDescriptionProps): react73.JSX.Element;
7
+ declare function Description(props: ToastDescriptionProps): react91.JSX.Element;
8
8
  //#endregion
9
9
  export { Description, ToastDescriptionProps };
10
10
  //# sourceMappingURL=description.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
3
  import { JSX } from "react";
4
- import * as react_jsx_runtime25 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime37 from "react/jsx-runtime";
5
5
  import { Props, Store } from "@zag-js/toast";
6
6
 
7
7
  //#region src/components/toast/anatomy/group.d.ts
@@ -9,7 +9,7 @@ interface ToastGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div',
9
9
  toaster: Store;
10
10
  children?: (toast: Props) => JSX.Element | null;
11
11
  }
12
- declare function Group(props: ToastGroupProps): react_jsx_runtime25.JSX.Element;
12
+ declare function Group(props: ToastGroupProps): react_jsx_runtime37.JSX.Element;
13
13
  //#endregion
14
14
  export { Group, ToastGroupProps };
15
15
  //# sourceMappingURL=group.d.ts.map
@@ -1,10 +1,10 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react74 from "react";
3
+ import * as react92 from "react";
4
4
 
5
5
  //#region src/components/toast/anatomy/message.d.ts
6
6
  interface ToastMessageProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function Message(props: ToastMessageProps): react74.JSX.Element;
7
+ declare function Message(props: ToastMessageProps): react92.JSX.Element;
8
8
  //#endregion
9
9
  export { Message, ToastMessageProps };
10
10
  //# sourceMappingURL=message.d.ts.map
@@ -1,13 +1,13 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react_jsx_runtime26 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime38 from "react/jsx-runtime";
4
4
  import { Options } from "@zag-js/toast";
5
5
 
6
6
  //#region src/components/toast/anatomy/root.d.ts
7
7
  interface ToastRootProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {
8
8
  toast: Omit<Options, 'id' | 'parent'>;
9
9
  }
10
- declare function Root(props: ToastRootProps): react_jsx_runtime26.JSX.Element;
10
+ declare function Root(props: ToastRootProps): react_jsx_runtime38.JSX.Element;
11
11
  //#endregion
12
12
  export { Root, ToastRootProps };
13
13
  //# sourceMappingURL=root.d.ts.map
@@ -1,10 +1,10 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react75 from "react";
3
+ import * as react93 from "react";
4
4
 
5
5
  //#region src/components/toast/anatomy/title.d.ts
6
6
  interface ToastTitleProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function Title(props: ToastTitleProps): react75.JSX.Element;
7
+ declare function Title(props: ToastTitleProps): react93.JSX.Element;
8
8
  //#endregion
9
9
  export { Title, ToastTitleProps };
10
10
  //# sourceMappingURL=title.d.ts.map
@@ -1,10 +1,10 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react93 from "react";
3
+ import * as react95 from "react";
4
4
 
5
5
  //#region src/components/tooltip/anatomy/arrow-tip.d.ts
6
6
  interface TooltipArrowTipProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function ArrowTip(props: TooltipArrowTipProps): react93.JSX.Element;
7
+ declare function ArrowTip(props: TooltipArrowTipProps): react95.JSX.Element;
8
8
  //#endregion
9
9
  export { ArrowTip, TooltipArrowTipProps };
10
10
  //# sourceMappingURL=arrow-tip.d.ts.map
@@ -1,10 +1,10 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react92 from "react";
3
+ import * as react94 from "react";
4
4
 
5
5
  //#region src/components/tooltip/anatomy/arrow.d.ts
6
6
  interface TooltipArrowProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function Arrow(props: TooltipArrowProps): react92.JSX.Element;
7
+ declare function Arrow(props: TooltipArrowProps): react94.JSX.Element;
8
8
  //#endregion
9
9
  export { Arrow, TooltipArrowProps };
10
10
  //# sourceMappingURL=arrow.d.ts.map
@@ -1,10 +1,10 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react94 from "react";
3
+ import * as react96 from "react";
4
4
 
5
5
  //#region src/components/tooltip/anatomy/content.d.ts
6
6
  interface TooltipContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function Content(props: TooltipContentProps): react94.JSX.Element;
7
+ declare function Content(props: TooltipContentProps): react96.JSX.Element;
8
8
  //#endregion
9
9
  export { Content, TooltipContentProps };
10
10
  //# sourceMappingURL=content.d.ts.map
@@ -1,10 +1,10 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react_jsx_runtime35 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime39 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/tooltip/anatomy/positioner.d.ts
6
6
  interface TooltipPositionerProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function Positioner(props: TooltipPositionerProps): react_jsx_runtime35.JSX.Element;
7
+ declare function Positioner(props: TooltipPositionerProps): react_jsx_runtime39.JSX.Element;
8
8
  //#endregion
9
9
  export { Positioner, TooltipPositionerProps };
10
10
  //# sourceMappingURL=positioner.d.ts.map
@@ -1,12 +1,12 @@
1
1
  import { useTooltip } from "../modules/provider.js";
2
2
  import { PropsWithChildren } from "react";
3
- import * as react_jsx_runtime37 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime41 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/tooltip/anatomy/root-provider.d.ts
6
6
  interface TooltipRootProviderProps extends PropsWithChildren {
7
7
  value: ReturnType<typeof useTooltip>;
8
8
  }
9
- declare function RootProvider(props: TooltipRootProviderProps): react_jsx_runtime37.JSX.Element;
9
+ declare function RootProvider(props: TooltipRootProviderProps): react_jsx_runtime41.JSX.Element;
10
10
  //#endregion
11
11
  export { RootProvider, TooltipRootProviderProps };
12
12
  //# sourceMappingURL=root-provider.d.ts.map
@@ -1,10 +1,10 @@
1
1
  import { PropsWithChildren } from "react";
2
- import * as react_jsx_runtime36 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime40 from "react/jsx-runtime";
3
3
  import { Props } from "@zag-js/tooltip";
4
4
 
5
5
  //#region src/components/tooltip/anatomy/root.d.ts
6
6
  interface TooltipRootProps extends PropsWithChildren, Omit<Props, 'id'> {}
7
- declare function Root(props: TooltipRootProps): react_jsx_runtime36.JSX.Element;
7
+ declare function Root(props: TooltipRootProps): react_jsx_runtime40.JSX.Element;
8
8
  //#endregion
9
9
  export { Root, TooltipRootProps };
10
10
  //# sourceMappingURL=root.d.ts.map
@@ -1,10 +1,10 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react95 from "react";
3
+ import * as react97 from "react";
4
4
 
5
5
  //#region src/components/tooltip/anatomy/trigger.d.ts
6
6
  interface TooltipTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
7
- declare function Trigger(props: TooltipTriggerProps): react95.JSX.Element;
7
+ declare function Trigger(props: TooltipTriggerProps): react97.JSX.Element;
8
8
  //#endregion
9
9
  export { TooltipTriggerProps, Trigger };
10
10
  //# sourceMappingURL=trigger.d.ts.map
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
+ import { PropsWithElement } from "../../../internal/props-with-element.js";
3
+ import * as react104 from "react";
4
+
5
+ //#region src/components/tree-view/anatomy/branch-content.d.ts
6
+ interface TreeViewBranchContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
+ declare function BranchContent(props: TreeViewBranchContentProps): react104.JSX.Element;
8
+ //#endregion
9
+ export { BranchContent, TreeViewBranchContentProps };
10
+ //# sourceMappingURL=branch-content.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"branch-content.d.ts","names":[],"sources":["../../../../src/components/tree-view/anatomy/branch-content.tsx"],"sourcesContent":[],"mappings":";;;;;UAQiB,0BAAA,SAAmC,yBAAyB;iBAErD,aAAA,QAAqB,6BAA0B,QAAA,CAAA,GAAA,CAAA"}
@@ -0,0 +1,22 @@
1
+ import { NodeContext } from "../modules/node-context.js";
2
+ import { RootContext } from "../modules/root-context.js";
3
+ import { use } from "react";
4
+ import { mergeProps } from "@zag-js/react";
5
+ import { classesTreeView } from "@skeletonlabs/skeleton-common";
6
+ import { jsx } from "react/jsx-runtime";
7
+
8
+ //#region src/components/tree-view/anatomy/branch-content.tsx
9
+ function BranchContent(props) {
10
+ const treeView = use(RootContext);
11
+ const nodeProps = use(NodeContext);
12
+ const { element, children,...rest } = props;
13
+ const attributes = mergeProps(treeView.getBranchContentProps(nodeProps), { className: classesTreeView.branchContent }, rest);
14
+ return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
15
+ ...attributes,
16
+ children
17
+ });
18
+ }
19
+
20
+ //#endregion
21
+ export { BranchContent as default };
22
+ //# sourceMappingURL=branch-content.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"branch-content.js","names":[],"sources":["../../../../src/components/tree-view/anatomy/branch-content.tsx"],"sourcesContent":["import { NodeContext } from '../modules/node-context';\nimport { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTreeView } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TreeViewBranchContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function BranchContent(props: TreeViewBranchContentProps) {\n\tconst treeView = use(RootContext);\n\tconst nodeProps = use(NodeContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttreeView.getBranchContentProps(nodeProps),\n\t\t{\n\t\t\tclassName: classesTreeView.branchContent,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,cAAc,OAAmC;CACxE,MAAM,WAAW,IAAI,YAAY;CACjC,MAAM,YAAY,IAAI,YAAY;CAElC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,SAAS,sBAAsB,UAAU,EACzC,EACC,WAAW,gBAAgB,eAC3B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
+ import { PropsWithElement } from "../../../internal/props-with-element.js";
3
+ import * as react101 from "react";
4
+
5
+ //#region src/components/tree-view/anatomy/branch-control.d.ts
6
+ interface TreeViewBranchControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
+ declare function BranchControl(props: TreeViewBranchControlProps): react101.JSX.Element;
8
+ //#endregion
9
+ export { BranchControl, TreeViewBranchControlProps };
10
+ //# sourceMappingURL=branch-control.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"branch-control.d.ts","names":[],"sources":["../../../../src/components/tree-view/anatomy/branch-control.tsx"],"sourcesContent":[],"mappings":";;;;;UAQiB,0BAAA,SAAmC,yBAAyB;iBAErD,aAAA,QAAqB,6BAA0B,QAAA,CAAA,GAAA,CAAA"}
@@ -0,0 +1,22 @@
1
+ import { NodeContext } from "../modules/node-context.js";
2
+ import { RootContext } from "../modules/root-context.js";
3
+ import { use } from "react";
4
+ import { mergeProps } from "@zag-js/react";
5
+ import { classesTreeView } from "@skeletonlabs/skeleton-common";
6
+ import { jsx } from "react/jsx-runtime";
7
+
8
+ //#region src/components/tree-view/anatomy/branch-control.tsx
9
+ function BranchControl(props) {
10
+ const treeView = use(RootContext);
11
+ const nodeProps = use(NodeContext);
12
+ const { element, children,...rest } = props;
13
+ const attributes = mergeProps(treeView.getBranchControlProps(nodeProps), { className: classesTreeView.branchControl }, rest);
14
+ return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
15
+ ...attributes,
16
+ children
17
+ });
18
+ }
19
+
20
+ //#endregion
21
+ export { BranchControl as default };
22
+ //# sourceMappingURL=branch-control.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"branch-control.js","names":[],"sources":["../../../../src/components/tree-view/anatomy/branch-control.tsx"],"sourcesContent":["import { NodeContext } from '../modules/node-context';\nimport { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTreeView } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TreeViewBranchControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function BranchControl(props: TreeViewBranchControlProps) {\n\tconst treeView = use(RootContext);\n\tconst nodeProps = use(NodeContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttreeView.getBranchControlProps(nodeProps),\n\t\t{\n\t\t\tclassName: classesTreeView.branchControl,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,cAAc,OAAmC;CACxE,MAAM,WAAW,IAAI,YAAY;CACjC,MAAM,YAAY,IAAI,YAAY;CAElC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,SAAS,sBAAsB,UAAU,EACzC,EACC,WAAW,gBAAgB,eAC3B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
+ import { PropsWithElement } from "../../../internal/props-with-element.js";
3
+ import * as react105 from "react";
4
+
5
+ //#region src/components/tree-view/anatomy/branch-indent-guide.d.ts
6
+ interface TreeViewBranchIndentGuideProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
+ declare function BranchIndentGuide(props: TreeViewBranchIndentGuideProps): react105.JSX.Element;
8
+ //#endregion
9
+ export { BranchIndentGuide, TreeViewBranchIndentGuideProps };
10
+ //# sourceMappingURL=branch-indent-guide.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"branch-indent-guide.d.ts","names":[],"sources":["../../../../src/components/tree-view/anatomy/branch-indent-guide.tsx"],"sourcesContent":[],"mappings":";;;;;UAQiB,8BAAA,SAAuC,yBAAyB;iBAEzD,iBAAA,QAAyB,iCAA8B,QAAA,CAAA,GAAA,CAAA"}
@@ -0,0 +1,22 @@
1
+ import { NodeContext } from "../modules/node-context.js";
2
+ import { RootContext } from "../modules/root-context.js";
3
+ import { use } from "react";
4
+ import { mergeProps } from "@zag-js/react";
5
+ import { classesTreeView } from "@skeletonlabs/skeleton-common";
6
+ import { jsx } from "react/jsx-runtime";
7
+
8
+ //#region src/components/tree-view/anatomy/branch-indent-guide.tsx
9
+ function BranchIndentGuide(props) {
10
+ const treeView = use(RootContext);
11
+ const nodeProps = use(NodeContext);
12
+ const { element, children,...rest } = props;
13
+ const attributes = mergeProps(treeView.getBranchIndentGuideProps(nodeProps), { className: classesTreeView.branchIndentGuide }, rest);
14
+ return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
15
+ ...attributes,
16
+ children
17
+ });
18
+ }
19
+
20
+ //#endregion
21
+ export { BranchIndentGuide as default };
22
+ //# sourceMappingURL=branch-indent-guide.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"branch-indent-guide.js","names":[],"sources":["../../../../src/components/tree-view/anatomy/branch-indent-guide.tsx"],"sourcesContent":["import { NodeContext } from '../modules/node-context';\nimport { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTreeView } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TreeViewBranchIndentGuideProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function BranchIndentGuide(props: TreeViewBranchIndentGuideProps) {\n\tconst treeView = use(RootContext);\n\tconst nodeProps = use(NodeContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttreeView.getBranchIndentGuideProps(nodeProps),\n\t\t{\n\t\t\tclassName: classesTreeView.branchIndentGuide,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,kBAAkB,OAAuC;CAChF,MAAM,WAAW,IAAI,YAAY;CACjC,MAAM,YAAY,IAAI,YAAY;CAElC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,SAAS,0BAA0B,UAAU,EAC7C,EACC,WAAW,gBAAgB,mBAC3B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
+ import { PropsWithElement } from "../../../internal/props-with-element.js";
3
+ import * as react103 from "react";
4
+
5
+ //#region src/components/tree-view/anatomy/branch-indicator.d.ts
6
+ interface TreeViewBranchIndicatorProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
7
+ declare function BranchIndicator(props: TreeViewBranchIndicatorProps): react103.JSX.Element;
8
+ //#endregion
9
+ export { BranchIndicator, TreeViewBranchIndicatorProps };
10
+ //# sourceMappingURL=branch-indicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"branch-indicator.d.ts","names":[],"sources":["../../../../src/components/tree-view/anatomy/branch-indicator.tsx"],"sourcesContent":[],"mappings":";;;;;UAUiB,4BAAA,SAAqC,0BAA0B;iBAExD,eAAA,QAAuB,+BAA4B,QAAA,CAAA,GAAA,CAAA"}
@@ -0,0 +1,23 @@
1
+ import ChevronRight from "../../../internal/components/chevron-right.js";
2
+ import { NodeContext } from "../modules/node-context.js";
3
+ import { RootContext } from "../modules/root-context.js";
4
+ import { use } from "react";
5
+ import { mergeProps } from "@zag-js/react";
6
+ import { classesTreeView } from "@skeletonlabs/skeleton-common";
7
+ import { jsx } from "react/jsx-runtime";
8
+
9
+ //#region src/components/tree-view/anatomy/branch-indicator.tsx
10
+ function BranchIndicator(props) {
11
+ const treeView = use(RootContext);
12
+ const nodeProps = use(NodeContext);
13
+ const { element, children = /* @__PURE__ */ jsx(ChevronRight, { className: "size-4" }),...rest } = props;
14
+ const attributes = mergeProps(treeView.getBranchIndicatorProps(nodeProps), { className: classesTreeView.branchIndicator }, rest);
15
+ return element ? element(attributes) : /* @__PURE__ */ jsx("span", {
16
+ ...attributes,
17
+ children
18
+ });
19
+ }
20
+
21
+ //#endregion
22
+ export { BranchIndicator as default };
23
+ //# sourceMappingURL=branch-indicator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"branch-indicator.js","names":[],"sources":["../../../../src/components/tree-view/anatomy/branch-indicator.tsx"],"sourcesContent":["// oxlint-disable-next-line no-unused-vars\nimport { NodeContext } from '../modules/node-context';\nimport { RootContext } from '../modules/root-context';\nimport ChevronRight from '@/internal/components/chevron-right';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTreeView } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TreeViewBranchIndicatorProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function BranchIndicator(props: TreeViewBranchIndicatorProps) {\n\tconst treeView = use(RootContext);\n\tconst nodeProps = use(NodeContext);\n\n\tconst { element, children = <ChevronRight className=\"size-4\" />, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttreeView.getBranchIndicatorProps(nodeProps),\n\t\t{\n\t\t\tclassName: classesTreeView.branchIndicator,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <span {...attributes}>{children}</span>;\n}\n"],"mappings":";;;;;;;;;AAYA,SAAwB,gBAAgB,OAAqC;CAC5E,MAAM,WAAW,IAAI,YAAY;CACjC,MAAM,YAAY,IAAI,YAAY;CAElC,MAAM,EAAE,SAAS,WAAW,oBAAC,gBAAa,WAAU,WAAW,CAAE,GAAG,SAAS;CAE7E,MAAM,aAAa,WAClB,SAAS,wBAAwB,UAAU,EAC3C,EACC,WAAW,gBAAgB,iBAC3B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAK,GAAI;EAAa;GAAgB"}
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
+ import { PropsWithElement } from "../../../internal/props-with-element.js";
3
+ import * as react102 from "react";
4
+
5
+ //#region src/components/tree-view/anatomy/branch-text.d.ts
6
+ interface TreeViewBranchTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
7
+ declare function BranchText(props: TreeViewBranchTextProps): react102.JSX.Element;
8
+ //#endregion
9
+ export { BranchText, TreeViewBranchTextProps };
10
+ //# sourceMappingURL=branch-text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"branch-text.d.ts","names":[],"sources":["../../../../src/components/tree-view/anatomy/branch-text.tsx"],"sourcesContent":[],"mappings":";;;;;UAQiB,uBAAA,SAAgC,0BAA0B;iBAEnD,UAAA,QAAkB,0BAAuB,QAAA,CAAA,GAAA,CAAA"}
@@ -0,0 +1,22 @@
1
+ import { NodeContext } from "../modules/node-context.js";
2
+ import { RootContext } from "../modules/root-context.js";
3
+ import { use } from "react";
4
+ import { mergeProps } from "@zag-js/react";
5
+ import { classesTreeView } from "@skeletonlabs/skeleton-common";
6
+ import { jsx } from "react/jsx-runtime";
7
+
8
+ //#region src/components/tree-view/anatomy/branch-text.tsx
9
+ function BranchText(props) {
10
+ const treeView = use(RootContext);
11
+ const nodeProps = use(NodeContext);
12
+ const { element, children,...rest } = props;
13
+ const attributes = mergeProps(treeView.getBranchTextProps(nodeProps), { className: classesTreeView.branchText }, rest);
14
+ return element ? element(attributes) : /* @__PURE__ */ jsx("span", {
15
+ ...attributes,
16
+ children
17
+ });
18
+ }
19
+
20
+ //#endregion
21
+ export { BranchText as default };
22
+ //# sourceMappingURL=branch-text.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"branch-text.js","names":[],"sources":["../../../../src/components/tree-view/anatomy/branch-text.tsx"],"sourcesContent":["import { NodeContext } from '../modules/node-context';\nimport { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTreeView } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TreeViewBranchTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function BranchText(props: TreeViewBranchTextProps) {\n\tconst treeView = use(RootContext);\n\tconst nodeProps = use(NodeContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttreeView.getBranchTextProps(nodeProps),\n\t\t{\n\t\t\tclassName: classesTreeView.branchText,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <span {...attributes}>{children}</span>;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,WAAW,OAAgC;CAClE,MAAM,WAAW,IAAI,YAAY;CACjC,MAAM,YAAY,IAAI,YAAY;CAElC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,SAAS,mBAAmB,UAAU,EACtC,EACC,WAAW,gBAAgB,YAC3B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAK,GAAI;EAAa;GAAgB"}
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
+ import { PropsWithElement } from "../../../internal/props-with-element.js";
3
+ import * as react100 from "react";
4
+
5
+ //#region src/components/tree-view/anatomy/branch.d.ts
6
+ interface TreeViewBranchProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
+ declare function Branch(props: TreeViewBranchProps): react100.JSX.Element;
8
+ //#endregion
9
+ export { Branch, TreeViewBranchProps };
10
+ //# sourceMappingURL=branch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"branch.d.ts","names":[],"sources":["../../../../src/components/tree-view/anatomy/branch.tsx"],"sourcesContent":[],"mappings":";;;;;UAQiB,mBAAA,SAA4B,yBAAyB;iBAE9C,MAAA,QAAc,sBAAmB,QAAA,CAAA,GAAA,CAAA"}
@@ -0,0 +1,22 @@
1
+ import { NodeContext } from "../modules/node-context.js";
2
+ import { RootContext } from "../modules/root-context.js";
3
+ import { use } from "react";
4
+ import { mergeProps } from "@zag-js/react";
5
+ import { classesTreeView } from "@skeletonlabs/skeleton-common";
6
+ import { jsx } from "react/jsx-runtime";
7
+
8
+ //#region src/components/tree-view/anatomy/branch.tsx
9
+ function Branch(props) {
10
+ const treeView = use(RootContext);
11
+ const nodeProps = use(NodeContext);
12
+ const { element, children,...rest } = props;
13
+ const attributes = mergeProps(treeView.getBranchProps(nodeProps), { className: classesTreeView.branch }, rest);
14
+ return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
15
+ ...attributes,
16
+ children
17
+ });
18
+ }
19
+
20
+ //#endregion
21
+ export { Branch as default };
22
+ //# sourceMappingURL=branch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"branch.js","names":[],"sources":["../../../../src/components/tree-view/anatomy/branch.tsx"],"sourcesContent":["import { NodeContext } from '../modules/node-context';\nimport { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTreeView } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TreeViewBranchProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Branch(props: TreeViewBranchProps) {\n\tconst treeView = use(RootContext);\n\tconst nodeProps = use(NodeContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttreeView.getBranchProps(nodeProps),\n\t\t{\n\t\t\tclassName: classesTreeView.branch,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,OAAO,OAA4B;CAC1D,MAAM,WAAW,IAAI,YAAY;CACjC,MAAM,YAAY,IAAI,YAAY;CAElC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,SAAS,eAAe,UAAU,EAClC,EACC,WAAW,gBAAgB,QAC3B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
+ import { PropsWithElement } from "../../../internal/props-with-element.js";
3
+ import * as react99 from "react";
4
+
5
+ //#region src/components/tree-view/anatomy/item.d.ts
6
+ interface TreeViewItemProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
+ declare function Item(props: TreeViewItemProps): react99.JSX.Element;
8
+ //#endregion
9
+ export { Item, TreeViewItemProps };
10
+ //# sourceMappingURL=item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"item.d.ts","names":[],"sources":["../../../../src/components/tree-view/anatomy/item.tsx"],"sourcesContent":[],"mappings":";;;;;UAQiB,iBAAA,SAA0B,yBAAyB;iBAE5C,IAAA,QAAY,oBAAiB,OAAA,CAAA,GAAA,CAAA"}
@@ -0,0 +1,22 @@
1
+ import { NodeContext } from "../modules/node-context.js";
2
+ import { RootContext } from "../modules/root-context.js";
3
+ import { use } from "react";
4
+ import { mergeProps } from "@zag-js/react";
5
+ import { classesTreeView } from "@skeletonlabs/skeleton-common";
6
+ import { jsx } from "react/jsx-runtime";
7
+
8
+ //#region src/components/tree-view/anatomy/item.tsx
9
+ function Item(props) {
10
+ const treeView = use(RootContext);
11
+ const nodeProps = use(NodeContext);
12
+ const { element, children,...rest } = props;
13
+ const attributes = mergeProps(treeView.getItemProps(nodeProps), { className: classesTreeView.item }, rest);
14
+ return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
15
+ ...attributes,
16
+ children
17
+ });
18
+ }
19
+
20
+ //#endregion
21
+ export { Item as default };
22
+ //# sourceMappingURL=item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"item.js","names":[],"sources":["../../../../src/components/tree-view/anatomy/item.tsx"],"sourcesContent":["import { NodeContext } from '../modules/node-context';\nimport { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTreeView } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TreeViewItemProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function Item(props: TreeViewItemProps) {\n\tconst treeView = use(RootContext);\n\tconst nodeProps = use(NodeContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttreeView.getItemProps(nodeProps),\n\t\t{\n\t\t\tclassName: classesTreeView.item,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,KAAK,OAA0B;CACtD,MAAM,WAAW,IAAI,YAAY;CACjC,MAAM,YAAY,IAAI,YAAY;CAElC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,SAAS,aAAa,UAAU,EAChC,EACC,WAAW,gBAAgB,MAC3B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
@@ -0,0 +1,17 @@
1
+ import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
+ import { PropsWithElement } from "../../../internal/props-with-element.js";
3
+ import { JSX } from "react";
4
+
5
+ //#region src/components/tree-view/anatomy/label.d.ts
6
+ interface TreeViewLabelProps extends PropsWithElement<'h3'>, HTMLAttributes<'h3'> {
7
+ /**
8
+ * The level of the heading.
9
+ *
10
+ * @defaultValue 3
11
+ */
12
+ level?: 1 | 2 | 3 | 4 | 5 | 6;
13
+ }
14
+ declare function Label(props: TreeViewLabelProps): JSX.Element;
15
+ //#endregion
16
+ export { Label, TreeViewLabelProps };
17
+ //# sourceMappingURL=label.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label.d.ts","names":[],"sources":["../../../../src/components/tree-view/anatomy/label.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,kBAAA,SAA2B,wBAAwB;;AAApE;;;;EAAkF,KAAA,CAAA,EAAA,CAAA,GAAA,CAAA,GAAA,CAAA,GAAA,CAAA,GAAA,CAAA,GAAA,CAAA;AAOjF;AAE4B,iBAAL,KAAA,CAAK,KAAA,EAAQ,kBAAR,CAAA,EAA0B,GAAA,CAAA,OAA1B"}