@skeletonlabs/skeleton-react 4.0.0-next.23 → 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 (241) hide show
  1. package/dist/components/accordion/anatomy/item-content.d.ts +2 -2
  2. package/dist/components/accordion/anatomy/item-indicator.d.ts +2 -2
  3. package/dist/components/accordion/anatomy/item-trigger.d.ts +2 -2
  4. package/dist/components/accordion/anatomy/root-provider.d.ts +2 -2
  5. package/dist/components/accordion/anatomy/root.d.ts +2 -2
  6. package/dist/components/app-bar/anatomy/headline.d.ts +2 -2
  7. package/dist/components/app-bar/anatomy/lead.d.ts +2 -2
  8. package/dist/components/app-bar/anatomy/root.d.ts +2 -2
  9. package/dist/components/app-bar/anatomy/toolbar.d.ts +2 -2
  10. package/dist/components/app-bar/anatomy/trail.d.ts +2 -2
  11. package/dist/components/avatar/anatomy/root-provider.d.ts +2 -2
  12. package/dist/components/avatar/anatomy/root.d.ts +2 -2
  13. package/dist/components/combobox/anatomy/item-group.d.ts +2 -2
  14. package/dist/components/combobox/anatomy/item.d.ts +2 -2
  15. package/dist/components/combobox/anatomy/root-provider.d.ts +2 -2
  16. package/dist/components/combobox/anatomy/root.d.ts +2 -2
  17. package/dist/components/date-picker/anatomy/content.d.ts +2 -2
  18. package/dist/components/date-picker/anatomy/content.d.ts.map +1 -1
  19. package/dist/components/date-picker/anatomy/control.d.ts +2 -2
  20. package/dist/components/date-picker/anatomy/control.d.ts.map +1 -1
  21. package/dist/components/date-picker/anatomy/input.d.ts +2 -2
  22. package/dist/components/date-picker/anatomy/label.d.ts +2 -2
  23. package/dist/components/date-picker/anatomy/month-select.d.ts +2 -2
  24. package/dist/components/date-picker/anatomy/next-trigger.d.ts +2 -2
  25. package/dist/components/date-picker/anatomy/positioner.d.ts +2 -2
  26. package/dist/components/date-picker/anatomy/prev-trigger.d.ts +2 -2
  27. package/dist/components/date-picker/anatomy/range-text.d.ts +2 -2
  28. package/dist/components/date-picker/anatomy/root-provider.d.ts +2 -2
  29. package/dist/components/date-picker/anatomy/root.d.ts +2 -2
  30. package/dist/components/date-picker/anatomy/table-body.d.ts +2 -2
  31. package/dist/components/date-picker/anatomy/table-cell-trigger.d.ts +2 -2
  32. package/dist/components/date-picker/anatomy/table-cell.d.ts +2 -2
  33. package/dist/components/date-picker/anatomy/table-head.d.ts +2 -2
  34. package/dist/components/date-picker/anatomy/table-header.d.ts +2 -2
  35. package/dist/components/date-picker/anatomy/table-row.d.ts +2 -2
  36. package/dist/components/date-picker/anatomy/table.d.ts +2 -2
  37. package/dist/components/date-picker/anatomy/trigger.d.ts +2 -2
  38. package/dist/components/date-picker/anatomy/view-control.d.ts +2 -2
  39. package/dist/components/date-picker/anatomy/view-trigger.d.ts +2 -2
  40. package/dist/components/date-picker/anatomy/view.d.ts +2 -2
  41. package/dist/components/date-picker/anatomy/year-select.d.ts +2 -2
  42. package/dist/components/dialog/anatomy/root-provider.d.ts +2 -2
  43. package/dist/components/dialog/anatomy/root-provider.d.ts.map +1 -1
  44. package/dist/components/dialog/anatomy/root.d.ts +2 -2
  45. package/dist/components/file-upload/anatomy/item.d.ts +2 -2
  46. package/dist/components/file-upload/anatomy/root-provider.d.ts +2 -2
  47. package/dist/components/file-upload/anatomy/root.d.ts +2 -2
  48. package/dist/components/listbox/anatomy/content.d.ts +10 -0
  49. package/dist/components/listbox/anatomy/content.d.ts.map +1 -0
  50. package/dist/components/listbox/anatomy/content.js +20 -0
  51. package/dist/components/listbox/anatomy/content.js.map +1 -0
  52. package/dist/components/listbox/anatomy/input.d.ts +10 -0
  53. package/dist/components/listbox/anatomy/input.d.ts.map +1 -0
  54. package/dist/components/listbox/anatomy/input.js +17 -0
  55. package/dist/components/listbox/anatomy/input.js.map +1 -0
  56. package/dist/components/listbox/anatomy/item-group-label.d.ts +11 -0
  57. package/dist/components/listbox/anatomy/item-group-label.d.ts.map +1 -0
  58. package/dist/components/listbox/anatomy/item-group-label.js +27 -0
  59. package/dist/components/listbox/anatomy/item-group-label.js.map +1 -0
  60. package/dist/components/listbox/anatomy/item-group.d.ts +11 -0
  61. package/dist/components/listbox/anatomy/item-group.d.ts.map +1 -0
  62. package/dist/components/listbox/anatomy/item-group.js +29 -0
  63. package/dist/components/listbox/anatomy/item-group.js.map +1 -0
  64. package/dist/components/listbox/anatomy/item-indicator.d.ts +10 -0
  65. package/dist/components/listbox/anatomy/item-indicator.d.ts.map +1 -0
  66. package/dist/components/listbox/anatomy/item-indicator.js +23 -0
  67. package/dist/components/listbox/anatomy/item-indicator.js.map +1 -0
  68. package/dist/components/listbox/anatomy/item-text.d.ts +10 -0
  69. package/dist/components/listbox/anatomy/item-text.d.ts.map +1 -0
  70. package/dist/components/listbox/anatomy/item-text.js +22 -0
  71. package/dist/components/listbox/anatomy/item-text.js.map +1 -0
  72. package/dist/components/listbox/anatomy/item.d.ts +11 -0
  73. package/dist/components/listbox/anatomy/item.d.ts.map +1 -0
  74. package/dist/components/listbox/anatomy/item.js +26 -0
  75. package/dist/components/listbox/anatomy/item.js.map +1 -0
  76. package/dist/components/listbox/anatomy/label.d.ts +10 -0
  77. package/dist/components/listbox/anatomy/label.d.ts.map +1 -0
  78. package/dist/components/listbox/anatomy/label.js +20 -0
  79. package/dist/components/listbox/anatomy/label.js.map +1 -0
  80. package/dist/components/listbox/anatomy/root-context.d.ts +11 -0
  81. package/dist/components/listbox/anatomy/root-context.d.ts.map +1 -0
  82. package/dist/components/listbox/anatomy/root-context.js +13 -0
  83. package/dist/components/listbox/anatomy/root-context.js.map +1 -0
  84. package/dist/components/listbox/anatomy/root-provider.d.ts +13 -0
  85. package/dist/components/listbox/anatomy/root-provider.d.ts.map +1 -0
  86. package/dist/components/listbox/anatomy/root-provider.js +21 -0
  87. package/dist/components/listbox/anatomy/root-provider.js.map +1 -0
  88. package/dist/components/listbox/anatomy/root.d.ts +11 -0
  89. package/dist/components/listbox/anatomy/root.d.ts.map +1 -0
  90. package/dist/components/listbox/anatomy/root.js +25 -0
  91. package/dist/components/listbox/anatomy/root.js.map +1 -0
  92. package/dist/components/listbox/modules/anatomy.d.ts +28 -0
  93. package/dist/components/listbox/modules/anatomy.d.ts.map +1 -0
  94. package/dist/components/listbox/modules/anatomy.js +29 -0
  95. package/dist/components/listbox/modules/anatomy.js.map +1 -0
  96. package/dist/components/listbox/modules/item-context.js +8 -0
  97. package/dist/components/listbox/modules/item-context.js.map +1 -0
  98. package/dist/components/listbox/modules/item-group-context.js +8 -0
  99. package/dist/components/listbox/modules/item-group-context.js.map +1 -0
  100. package/dist/components/listbox/modules/provider.d.ts +8 -0
  101. package/dist/components/listbox/modules/provider.d.ts.map +1 -0
  102. package/dist/components/listbox/modules/provider.js +16 -0
  103. package/dist/components/listbox/modules/provider.js.map +1 -0
  104. package/dist/components/listbox/modules/root-context.js +8 -0
  105. package/dist/components/listbox/modules/root-context.js.map +1 -0
  106. package/dist/components/navigation/anatomy/content.d.ts +2 -2
  107. package/dist/components/navigation/anatomy/content.d.ts.map +1 -1
  108. package/dist/components/navigation/anatomy/footer.d.ts +2 -2
  109. package/dist/components/navigation/anatomy/footer.d.ts.map +1 -1
  110. package/dist/components/navigation/anatomy/group.d.ts +2 -2
  111. package/dist/components/navigation/anatomy/group.d.ts.map +1 -1
  112. package/dist/components/navigation/anatomy/header.d.ts +2 -2
  113. package/dist/components/navigation/anatomy/header.d.ts.map +1 -1
  114. package/dist/components/navigation/anatomy/label.d.ts +2 -2
  115. package/dist/components/navigation/anatomy/label.d.ts.map +1 -1
  116. package/dist/components/navigation/anatomy/menu.d.ts +2 -2
  117. package/dist/components/navigation/anatomy/menu.d.ts.map +1 -1
  118. package/dist/components/navigation/anatomy/root.d.ts +2 -2
  119. package/dist/components/pagination/anatomy/ellipsis.d.ts +2 -2
  120. package/dist/components/pagination/anatomy/root-provider.d.ts +2 -2
  121. package/dist/components/pagination/anatomy/root.d.ts +2 -2
  122. package/dist/components/popover/anatomy/arrow-tip.d.ts +2 -2
  123. package/dist/components/popover/anatomy/arrow.d.ts +2 -2
  124. package/dist/components/popover/anatomy/root-provider.d.ts +2 -2
  125. package/dist/components/popover/anatomy/root.d.ts +2 -2
  126. package/dist/components/portal/anatomy/root.d.ts +2 -2
  127. package/dist/components/portal/anatomy/root.d.ts.map +1 -1
  128. package/dist/components/progress/anatomy/root-provider.d.ts +2 -2
  129. package/dist/components/progress/anatomy/root.d.ts +2 -2
  130. package/dist/components/rating-group/anatomy/control.d.ts +2 -2
  131. package/dist/components/rating-group/anatomy/hidden-input.d.ts +2 -2
  132. package/dist/components/rating-group/anatomy/item.d.ts +2 -2
  133. package/dist/components/rating-group/anatomy/label.d.ts +2 -2
  134. package/dist/components/rating-group/anatomy/root-provider.d.ts +2 -2
  135. package/dist/components/segmented-control/anatomy/control.d.ts +2 -2
  136. package/dist/components/segmented-control/anatomy/indicator.d.ts +2 -2
  137. package/dist/components/segmented-control/anatomy/item-hidden-input.d.ts +2 -2
  138. package/dist/components/segmented-control/anatomy/item-text.d.ts +2 -2
  139. package/dist/components/segmented-control/anatomy/item.d.ts +2 -2
  140. package/dist/components/segmented-control/anatomy/label.d.ts +2 -2
  141. package/dist/components/segmented-control/anatomy/root-provider.d.ts +2 -2
  142. package/dist/components/segmented-control/anatomy/root.d.ts +2 -2
  143. package/dist/components/slider/anatomy/control.d.ts +2 -2
  144. package/dist/components/slider/anatomy/hidden-input.d.ts +2 -2
  145. package/dist/components/slider/anatomy/label.d.ts +2 -2
  146. package/dist/components/slider/anatomy/marker-group.d.ts +2 -2
  147. package/dist/components/slider/anatomy/marker.d.ts +2 -2
  148. package/dist/components/slider/anatomy/range.d.ts +2 -2
  149. package/dist/components/slider/anatomy/root-provider.d.ts +2 -2
  150. package/dist/components/slider/anatomy/root.d.ts +2 -2
  151. package/dist/components/slider/anatomy/thumb.d.ts +2 -2
  152. package/dist/components/slider/anatomy/track.d.ts +2 -2
  153. package/dist/components/switch/anatomy/hidden-input.d.ts +2 -2
  154. package/dist/components/switch/anatomy/label.d.ts +2 -2
  155. package/dist/components/switch/anatomy/root-provider.d.ts +2 -2
  156. package/dist/components/switch/anatomy/root.d.ts +2 -2
  157. package/dist/components/tabs/anatomy/root-provider.d.ts +2 -2
  158. package/dist/components/tabs/anatomy/root.d.ts +2 -2
  159. package/dist/components/tags-input/anatomy/clear-trigger.d.ts +2 -2
  160. package/dist/components/tags-input/anatomy/control.d.ts +2 -2
  161. package/dist/components/tags-input/anatomy/hidden-input.d.ts +2 -2
  162. package/dist/components/tags-input/anatomy/item.d.ts +2 -2
  163. package/dist/components/tags-input/anatomy/root-provider.d.ts +2 -2
  164. package/dist/components/tags-input/anatomy/root.d.ts +2 -2
  165. package/dist/components/toast/anatomy/action-trigger.d.ts +2 -2
  166. package/dist/components/toast/anatomy/group.d.ts +2 -2
  167. package/dist/components/toast/anatomy/root.d.ts +2 -2
  168. package/dist/components/tooltip/anatomy/positioner.d.ts +2 -2
  169. package/dist/components/tooltip/anatomy/root-provider.d.ts +2 -2
  170. package/dist/components/tooltip/anatomy/root.d.ts +2 -2
  171. package/dist/components/tree-view/anatomy/branch-content.d.ts +10 -0
  172. package/dist/components/tree-view/anatomy/branch-content.d.ts.map +1 -0
  173. package/dist/components/tree-view/anatomy/branch-content.js +22 -0
  174. package/dist/components/tree-view/anatomy/branch-content.js.map +1 -0
  175. package/dist/components/tree-view/anatomy/branch-control.d.ts +10 -0
  176. package/dist/components/tree-view/anatomy/branch-control.d.ts.map +1 -0
  177. package/dist/components/tree-view/anatomy/branch-control.js +22 -0
  178. package/dist/components/tree-view/anatomy/branch-control.js.map +1 -0
  179. package/dist/components/tree-view/anatomy/branch-indent-guide.d.ts +10 -0
  180. package/dist/components/tree-view/anatomy/branch-indent-guide.d.ts.map +1 -0
  181. package/dist/components/tree-view/anatomy/branch-indent-guide.js +22 -0
  182. package/dist/components/tree-view/anatomy/branch-indent-guide.js.map +1 -0
  183. package/dist/components/tree-view/anatomy/branch-indicator.d.ts +10 -0
  184. package/dist/components/tree-view/anatomy/branch-indicator.d.ts.map +1 -0
  185. package/dist/components/tree-view/anatomy/branch-indicator.js +23 -0
  186. package/dist/components/tree-view/anatomy/branch-indicator.js.map +1 -0
  187. package/dist/components/tree-view/anatomy/branch-text.d.ts +10 -0
  188. package/dist/components/tree-view/anatomy/branch-text.d.ts.map +1 -0
  189. package/dist/components/tree-view/anatomy/branch-text.js +22 -0
  190. package/dist/components/tree-view/anatomy/branch-text.js.map +1 -0
  191. package/dist/components/tree-view/anatomy/branch.d.ts +10 -0
  192. package/dist/components/tree-view/anatomy/branch.d.ts.map +1 -0
  193. package/dist/components/tree-view/anatomy/branch.js +22 -0
  194. package/dist/components/tree-view/anatomy/branch.js.map +1 -0
  195. package/dist/components/tree-view/anatomy/item.d.ts +10 -0
  196. package/dist/components/tree-view/anatomy/item.d.ts.map +1 -0
  197. package/dist/components/tree-view/anatomy/item.js +22 -0
  198. package/dist/components/tree-view/anatomy/item.js.map +1 -0
  199. package/dist/components/tree-view/anatomy/label.d.ts +17 -0
  200. package/dist/components/tree-view/anatomy/label.d.ts.map +1 -0
  201. package/dist/components/tree-view/anatomy/label.js +21 -0
  202. package/dist/components/tree-view/anatomy/label.js.map +1 -0
  203. package/dist/components/tree-view/anatomy/node-provider.d.ts +12 -0
  204. package/dist/components/tree-view/anatomy/node-provider.d.ts.map +1 -0
  205. package/dist/components/tree-view/anatomy/node-provider.js +15 -0
  206. package/dist/components/tree-view/anatomy/node-provider.js.map +1 -0
  207. package/dist/components/tree-view/anatomy/root-context.d.ts +11 -0
  208. package/dist/components/tree-view/anatomy/root-context.d.ts.map +1 -0
  209. package/dist/components/tree-view/anatomy/root-context.js +13 -0
  210. package/dist/components/tree-view/anatomy/root-context.js.map +1 -0
  211. package/dist/components/tree-view/anatomy/root-provider.d.ts +13 -0
  212. package/dist/components/tree-view/anatomy/root-provider.d.ts.map +1 -0
  213. package/dist/components/tree-view/anatomy/root-provider.js +21 -0
  214. package/dist/components/tree-view/anatomy/root-provider.js.map +1 -0
  215. package/dist/components/tree-view/anatomy/root.d.ts +11 -0
  216. package/dist/components/tree-view/anatomy/root.d.ts.map +1 -0
  217. package/dist/components/tree-view/anatomy/root.js +25 -0
  218. package/dist/components/tree-view/anatomy/root.js.map +1 -0
  219. package/dist/components/tree-view/anatomy/tree.d.ts +10 -0
  220. package/dist/components/tree-view/anatomy/tree.d.ts.map +1 -0
  221. package/dist/components/tree-view/anatomy/tree.js +20 -0
  222. package/dist/components/tree-view/anatomy/tree.js.map +1 -0
  223. package/dist/components/tree-view/modules/anatomy.d.ts +32 -0
  224. package/dist/components/tree-view/modules/anatomy.d.ts.map +1 -0
  225. package/dist/components/tree-view/modules/anatomy.js +33 -0
  226. package/dist/components/tree-view/modules/anatomy.js.map +1 -0
  227. package/dist/components/tree-view/modules/create-tree-view-collection.d.ts +8 -0
  228. package/dist/components/tree-view/modules/create-tree-view-collection.d.ts.map +1 -0
  229. package/dist/components/tree-view/modules/create-tree-view-collection.js +10 -0
  230. package/dist/components/tree-view/modules/create-tree-view-collection.js.map +1 -0
  231. package/dist/components/tree-view/modules/node-context.js +8 -0
  232. package/dist/components/tree-view/modules/node-context.js.map +1 -0
  233. package/dist/components/tree-view/modules/provider.d.ts +8 -0
  234. package/dist/components/tree-view/modules/provider.d.ts.map +1 -0
  235. package/dist/components/tree-view/modules/provider.js +16 -0
  236. package/dist/components/tree-view/modules/provider.js.map +1 -0
  237. package/dist/components/tree-view/modules/root-context.js +8 -0
  238. package/dist/components/tree-view/modules/root-context.js.map +1 -0
  239. package/dist/index.d.ts +28 -1
  240. package/dist/index.js +6 -1
  241. 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 react69 from "react";
4
4
 
5
5
  //#region src/components/slider/anatomy/control.d.ts
6
6
  interface SliderControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function Control(props: SliderControlProps): react71.JSX.Element;
7
+ declare function Control(props: SliderControlProps): react69.JSX.Element;
8
8
  //#endregion
9
9
  export { Control, SliderControlProps };
10
10
  //# sourceMappingURL=control.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 react67 from "react";
3
+ import * as react66 from "react";
4
4
 
5
5
  //#region src/components/slider/anatomy/hidden-input.d.ts
6
6
  interface SliderHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
7
- declare function HiddenInput(props: SliderHiddenInputProps): react67.JSX.Element;
7
+ declare function HiddenInput(props: SliderHiddenInputProps): react66.JSX.Element;
8
8
  //#endregion
9
9
  export { HiddenInput, SliderHiddenInputProps };
10
10
  //# sourceMappingURL=hidden-input.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 react69 from "react";
3
+ import * as react68 from "react";
4
4
 
5
5
  //#region src/components/slider/anatomy/label.d.ts
6
6
  interface SliderLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label'> {}
7
- declare function Label(props: SliderLabelProps): react69.JSX.Element;
7
+ declare function Label(props: SliderLabelProps): react68.JSX.Element;
8
8
  //#endregion
9
9
  export { Label, SliderLabelProps };
10
10
  //# sourceMappingURL=label.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 react72 from "react";
3
+ import * as react71 from "react";
4
4
 
5
5
  //#region src/components/slider/anatomy/marker-group.d.ts
6
6
  interface SliderMarkerGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function MarkerGroup(props: SliderMarkerGroupProps): react72.JSX.Element;
7
+ declare function MarkerGroup(props: SliderMarkerGroupProps): react71.JSX.Element;
8
8
  //#endregion
9
9
  export { MarkerGroup, SliderMarkerGroupProps };
10
10
  //# sourceMappingURL=marker-group.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 react65 from "react";
3
+ import * as react72 from "react";
4
4
  import { MarkerProps } from "@zag-js/slider";
5
5
 
6
6
  //#region src/components/slider/anatomy/marker.d.ts
7
7
  interface SliderMarkerProps extends MarkerProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
8
- declare function Marker(props: SliderMarkerProps): react65.JSX.Element;
8
+ declare function Marker(props: SliderMarkerProps): react72.JSX.Element;
9
9
  //#endregion
10
10
  export { Marker, SliderMarkerProps };
11
11
  //# sourceMappingURL=marker.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 react68 from "react";
3
+ import * as react67 from "react";
4
4
 
5
5
  //#region src/components/slider/anatomy/range.d.ts
6
6
  interface SliderRangeProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function Range(props: SliderRangeProps): react68.JSX.Element;
7
+ declare function Range(props: SliderRangeProps): react67.JSX.Element;
8
8
  //#endregion
9
9
  export { Range, SliderRangeProps };
10
10
  //# sourceMappingURL=range.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 { useSlider } from "../modules/provider.js";
4
- import * as react_jsx_runtime27 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime29 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/slider/anatomy/root-provider.d.ts
7
7
  interface SliderRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {
8
8
  value: ReturnType<typeof useSlider>;
9
9
  }
10
- declare function SliderRootProvider(props: SliderRootProviderProps): react_jsx_runtime27.JSX.Element;
10
+ declare function SliderRootProvider(props: SliderRootProviderProps): react_jsx_runtime29.JSX.Element;
11
11
  //#endregion
12
12
  export { SliderRootProvider, SliderRootProviderProps };
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_runtime26 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime28 from "react/jsx-runtime";
4
4
  import { Props } from "@zag-js/slider";
5
5
 
6
6
  //#region src/components/slider/anatomy/root.d.ts
7
7
  interface SliderRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue' | 'aria-label' | 'aria-labelledby'> {}
8
- declare function SliderRoot(props: SliderRootProps): react_jsx_runtime26.JSX.Element;
8
+ declare function SliderRoot(props: SliderRootProps): react_jsx_runtime28.JSX.Element;
9
9
  //#endregion
10
10
  export { SliderRoot, SliderRootProps };
11
11
  //# sourceMappingURL=root.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_runtime28 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime30 from "react/jsx-runtime";
4
4
  import { ThumbProps } from "@zag-js/slider";
5
5
 
6
6
  //#region src/components/slider/anatomy/thumb.d.ts
7
7
  interface SliderThumbProps extends ThumbProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
8
- declare function Thumb(props: SliderThumbProps): react_jsx_runtime28.JSX.Element;
8
+ declare function Thumb(props: SliderThumbProps): react_jsx_runtime30.JSX.Element;
9
9
  //#endregion
10
10
  export { SliderThumbProps, Thumb };
11
11
  //# sourceMappingURL=thumb.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 react66 from "react";
3
+ import * as react65 from "react";
4
4
 
5
5
  //#region src/components/slider/anatomy/track.d.ts
6
6
  interface SliderTrackProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function Track(props: SliderTrackProps): react66.JSX.Element;
7
+ declare function Track(props: SliderTrackProps): react65.JSX.Element;
8
8
  //#endregion
9
9
  export { SliderTrackProps, Track };
10
10
  //# sourceMappingURL=track.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 react75 from "react";
4
4
 
5
5
  //#region src/components/switch/anatomy/hidden-input.d.ts
6
6
  interface SwitchHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
7
- declare function HiddenInput(props: SwitchHiddenInputProps): react74.JSX.Element;
7
+ declare function HiddenInput(props: SwitchHiddenInputProps): react75.JSX.Element;
8
8
  //#endregion
9
9
  export { HiddenInput, SwitchHiddenInputProps };
10
10
  //# sourceMappingURL=hidden-input.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 react74 from "react";
4
4
 
5
5
  //#region src/components/switch/anatomy/label.d.ts
6
6
  interface SwitchLabelProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
7
- declare function Label(props: SwitchLabelProps): react75.JSX.Element;
7
+ declare function Label(props: SwitchLabelProps): react74.JSX.Element;
8
8
  //#endregion
9
9
  export { Label, SwitchLabelProps };
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 { useSwitch } from "../modules/provider.js";
4
- import * as react_jsx_runtime29 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime31 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/switch/anatomy/root-provider.d.ts
7
7
  interface SwitchRootProviderProps extends PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {
8
8
  value: ReturnType<typeof useSwitch>;
9
9
  }
10
- declare function RootProvider(props: SwitchRootProviderProps): react_jsx_runtime29.JSX.Element;
10
+ declare function RootProvider(props: SwitchRootProviderProps): react_jsx_runtime31.JSX.Element;
11
11
  //#endregion
12
12
  export { RootProvider, SwitchRootProviderProps };
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_runtime44 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime51 from "react/jsx-runtime";
4
4
  import { Props } from "@zag-js/switch";
5
5
 
6
6
  //#region src/components/switch/anatomy/root.d.ts
7
7
  interface SwitchRootProps extends Omit<Props, 'id'>, PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {}
8
- declare function Root(props: SwitchRootProps): react_jsx_runtime44.JSX.Element;
8
+ declare function Root(props: SwitchRootProps): react_jsx_runtime51.JSX.Element;
9
9
  //#endregion
10
10
  export { Root };
11
11
  //# sourceMappingURL=root.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 { useTabs } from "../modules/provider.js";
4
- import * as react_jsx_runtime31 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime33 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/tabs/anatomy/root-provider.d.ts
7
7
  interface TabsRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {
8
8
  value: ReturnType<typeof useTabs>;
9
9
  }
10
- declare function RootProvider(props: TabsRootProviderProps): react_jsx_runtime31.JSX.Element;
10
+ declare function RootProvider(props: TabsRootProviderProps): react_jsx_runtime33.JSX.Element;
11
11
  //#endregion
12
12
  export { RootProvider, TabsRootProviderProps };
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_runtime30 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime32 from "react/jsx-runtime";
4
4
  import { Props } from "@zag-js/tabs";
5
5
 
6
6
  //#region src/components/tabs/anatomy/root.d.ts
7
7
  interface TabsRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
8
- declare function Root(props: TabsRootProps): react_jsx_runtime30.JSX.Element;
8
+ declare function Root(props: TabsRootProps): react_jsx_runtime32.JSX.Element;
9
9
  //#endregion
10
10
  export { Root, TabsRootProps };
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 react81 from "react";
3
+ import * as react83 from "react";
4
4
 
5
5
  //#region src/components/tags-input/anatomy/clear-trigger.d.ts
6
6
  interface TagsInputClearTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
7
- declare function ClearTrigger(props: TagsInputClearTriggerProps): react81.JSX.Element;
7
+ declare function ClearTrigger(props: TagsInputClearTriggerProps): react83.JSX.Element;
8
8
  //#endregion
9
9
  export { ClearTrigger, TagsInputClearTriggerProps };
10
10
  //# sourceMappingURL=clear-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 react82 from "react";
3
+ import * as react81 from "react";
4
4
 
5
5
  //#region src/components/tags-input/anatomy/control.d.ts
6
6
  interface TagsInputControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function Control(props: TagsInputControlProps): react82.JSX.Element;
7
+ declare function Control(props: TagsInputControlProps): react81.JSX.Element;
8
8
  //#endregion
9
9
  export { Control, TagsInputControlProps };
10
10
  //# sourceMappingURL=control.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 react83 from "react";
3
+ import * as react82 from "react";
4
4
 
5
5
  //#region src/components/tags-input/anatomy/hidden-input.d.ts
6
6
  interface TagsInputHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
7
- declare function HiddenInput(props: TagsInputHiddenInputProps): react83.JSX.Element;
7
+ declare function HiddenInput(props: TagsInputHiddenInputProps): react82.JSX.Element;
8
8
  //#endregion
9
9
  export { HiddenInput, TagsInputHiddenInputProps };
10
10
  //# sourceMappingURL=hidden-input.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_runtime32 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime34 from "react/jsx-runtime";
4
4
  import { ItemProps } from "@zag-js/tags-input";
5
5
 
6
6
  //#region src/components/tags-input/anatomy/item.d.ts
7
7
  interface TagsInputItemProps extends ItemProps, PropsWithElement<'span'>, HTMLAttributes<'span'> {}
8
- declare function Item(props: TagsInputItemProps): react_jsx_runtime32.JSX.Element;
8
+ declare function Item(props: TagsInputItemProps): react_jsx_runtime34.JSX.Element;
9
9
  //#endregion
10
10
  export { Item, TagsInputItemProps };
11
11
  //# sourceMappingURL=item.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_runtime34 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_runtime34.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_runtime33 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_runtime33.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 react120 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): react120.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,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_runtime35 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_runtime35.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,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_runtime36 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_runtime36.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 react_jsx_runtime37 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_runtime37.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_runtime39 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_runtime39.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_runtime38 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_runtime38.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
@@ -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"}