@skeletonlabs/skeleton-react 4.0.1 → 4.0.2

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 (227) 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/item.d.ts +2 -2
  5. package/dist/components/accordion/anatomy/root-provider.d.ts +2 -2
  6. package/dist/components/accordion/anatomy/root.d.ts +2 -2
  7. package/dist/components/accordion/modules/provider.js +2 -3
  8. package/dist/components/app-bar/anatomy/headline.d.ts +2 -2
  9. package/dist/components/app-bar/anatomy/lead.d.ts +2 -2
  10. package/dist/components/app-bar/anatomy/root.d.ts +2 -2
  11. package/dist/components/app-bar/anatomy/toolbar.d.ts +2 -2
  12. package/dist/components/app-bar/anatomy/trail.d.ts +2 -2
  13. package/dist/components/avatar/anatomy/fallback.d.ts +2 -2
  14. package/dist/components/avatar/anatomy/image.d.ts +2 -2
  15. package/dist/components/avatar/anatomy/root-provider.d.ts +2 -2
  16. package/dist/components/avatar/anatomy/root.d.ts +2 -2
  17. package/dist/components/avatar/modules/provider.js +2 -3
  18. package/dist/components/collapsible/anatomy/content.d.ts +2 -2
  19. package/dist/components/collapsible/anatomy/indicator.d.ts +2 -2
  20. package/dist/components/collapsible/anatomy/root-provider.d.ts +2 -2
  21. package/dist/components/collapsible/anatomy/root.d.ts +2 -2
  22. package/dist/components/collapsible/anatomy/trigger.d.ts +2 -2
  23. package/dist/components/collapsible/modules/provider.js +2 -3
  24. package/dist/components/combobox/anatomy/content.d.ts +2 -2
  25. package/dist/components/combobox/anatomy/control.d.ts +2 -2
  26. package/dist/components/combobox/anatomy/input.d.ts +2 -2
  27. package/dist/components/combobox/anatomy/item-group-label.d.ts +2 -2
  28. package/dist/components/combobox/anatomy/item-group-label.js +1 -2
  29. package/dist/components/combobox/anatomy/item-group.d.ts +2 -2
  30. package/dist/components/combobox/anatomy/item-indicator.d.ts +2 -2
  31. package/dist/components/combobox/anatomy/item-text.d.ts +2 -2
  32. package/dist/components/combobox/anatomy/item.d.ts +2 -2
  33. package/dist/components/combobox/anatomy/label.d.ts +2 -2
  34. package/dist/components/combobox/anatomy/positioner.d.ts +2 -2
  35. package/dist/components/combobox/anatomy/root-provider.d.ts +2 -2
  36. package/dist/components/combobox/anatomy/root.d.ts +2 -2
  37. package/dist/components/combobox/anatomy/trigger.d.ts +2 -2
  38. package/dist/components/combobox/modules/provider.js +2 -3
  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/preset-trigger.d.ts +2 -2
  47. package/dist/components/date-picker/anatomy/prev-trigger.d.ts +2 -2
  48. package/dist/components/date-picker/anatomy/range-text.d.ts +2 -2
  49. package/dist/components/date-picker/anatomy/root-provider.d.ts +2 -2
  50. package/dist/components/date-picker/anatomy/root.d.ts +2 -2
  51. package/dist/components/date-picker/anatomy/table-body.d.ts +2 -2
  52. package/dist/components/date-picker/anatomy/table-cell-trigger.d.ts +2 -2
  53. package/dist/components/date-picker/anatomy/table-cell.d.ts +2 -2
  54. package/dist/components/date-picker/anatomy/table-head.d.ts +2 -2
  55. package/dist/components/date-picker/anatomy/table-header.d.ts +2 -2
  56. package/dist/components/date-picker/anatomy/table-row.d.ts +2 -2
  57. package/dist/components/date-picker/anatomy/table.d.ts +2 -2
  58. package/dist/components/date-picker/anatomy/trigger.d.ts +2 -2
  59. package/dist/components/date-picker/anatomy/view-control.d.ts +2 -2
  60. package/dist/components/date-picker/anatomy/view-trigger.d.ts +2 -2
  61. package/dist/components/date-picker/anatomy/view.d.ts +2 -2
  62. package/dist/components/date-picker/anatomy/year-select.d.ts +2 -2
  63. package/dist/components/date-picker/modules/provider.js +2 -3
  64. package/dist/components/dialog/anatomy/backdrop.d.ts +2 -2
  65. package/dist/components/dialog/anatomy/close-trigger.d.ts +2 -2
  66. package/dist/components/dialog/anatomy/content.d.ts +2 -2
  67. package/dist/components/dialog/anatomy/description.d.ts +2 -2
  68. package/dist/components/dialog/anatomy/positioner.d.ts +2 -2
  69. package/dist/components/dialog/anatomy/root-provider.d.ts +2 -2
  70. package/dist/components/dialog/anatomy/root.d.ts +2 -2
  71. package/dist/components/dialog/anatomy/title.d.ts +2 -2
  72. package/dist/components/dialog/anatomy/trigger.d.ts +2 -2
  73. package/dist/components/dialog/modules/provider.js +2 -3
  74. package/dist/components/file-upload/anatomy/dropzone.d.ts +2 -2
  75. package/dist/components/file-upload/anatomy/hidden-input.d.ts +2 -2
  76. package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts +2 -2
  77. package/dist/components/file-upload/anatomy/item-group.d.ts +2 -2
  78. package/dist/components/file-upload/anatomy/item-name.d.ts +2 -2
  79. package/dist/components/file-upload/anatomy/item-size-text.d.ts +2 -2
  80. package/dist/components/file-upload/anatomy/item.d.ts +2 -2
  81. package/dist/components/file-upload/anatomy/label.d.ts +2 -2
  82. package/dist/components/file-upload/anatomy/root-provider.d.ts +2 -2
  83. package/dist/components/file-upload/anatomy/root.d.ts +2 -2
  84. package/dist/components/file-upload/anatomy/trigger.d.ts +2 -2
  85. package/dist/components/file-upload/modules/provider.js +2 -3
  86. package/dist/components/listbox/anatomy/content.d.ts +2 -2
  87. package/dist/components/listbox/anatomy/input.d.ts +2 -2
  88. package/dist/components/listbox/anatomy/item-group-label.d.ts +2 -2
  89. package/dist/components/listbox/anatomy/item-group-label.js +1 -2
  90. package/dist/components/listbox/anatomy/item-group.d.ts +2 -2
  91. package/dist/components/listbox/anatomy/item-indicator.d.ts +2 -2
  92. package/dist/components/listbox/anatomy/item-text.d.ts +2 -2
  93. package/dist/components/listbox/anatomy/item.d.ts +2 -2
  94. package/dist/components/listbox/anatomy/label.d.ts +2 -2
  95. package/dist/components/listbox/anatomy/root-provider.d.ts +2 -2
  96. package/dist/components/listbox/anatomy/root.d.ts +2 -2
  97. package/dist/components/listbox/modules/provider.js +2 -3
  98. package/dist/components/navigation/anatomy/content.d.ts +2 -2
  99. package/dist/components/navigation/anatomy/footer.d.ts +2 -2
  100. package/dist/components/navigation/anatomy/group.d.ts +2 -2
  101. package/dist/components/navigation/anatomy/header.d.ts +2 -2
  102. package/dist/components/navigation/anatomy/label.d.ts +2 -2
  103. package/dist/components/navigation/anatomy/menu.d.ts +2 -2
  104. package/dist/components/navigation/anatomy/root.d.ts +2 -2
  105. package/dist/components/pagination/anatomy/ellipsis.d.ts +2 -2
  106. package/dist/components/pagination/anatomy/item.d.ts +2 -2
  107. package/dist/components/pagination/anatomy/next-trigger.d.ts +2 -2
  108. package/dist/components/pagination/anatomy/prev-trigger.d.ts +2 -2
  109. package/dist/components/pagination/anatomy/root-provider.d.ts +2 -2
  110. package/dist/components/pagination/anatomy/root.d.ts +2 -2
  111. package/dist/components/pagination/modules/provider.js +2 -3
  112. package/dist/components/popover/anatomy/arrow-tip.d.ts +2 -2
  113. package/dist/components/popover/anatomy/arrow.d.ts +2 -2
  114. package/dist/components/popover/anatomy/close-trigger.d.ts +2 -2
  115. package/dist/components/popover/anatomy/content.d.ts +2 -2
  116. package/dist/components/popover/anatomy/description.d.ts +2 -2
  117. package/dist/components/popover/anatomy/positioner.d.ts +2 -2
  118. package/dist/components/popover/anatomy/root-provider.d.ts +2 -2
  119. package/dist/components/popover/anatomy/root.d.ts +2 -2
  120. package/dist/components/popover/anatomy/title.d.ts +2 -2
  121. package/dist/components/popover/anatomy/trigger.d.ts +2 -2
  122. package/dist/components/popover/modules/provider.js +2 -3
  123. package/dist/components/portal/anatomy/root.d.ts +2 -2
  124. package/dist/components/progress/anatomy/circle-range.d.ts +2 -2
  125. package/dist/components/progress/anatomy/circle-track.d.ts +2 -2
  126. package/dist/components/progress/anatomy/circle.d.ts +2 -2
  127. package/dist/components/progress/anatomy/label.d.ts +2 -2
  128. package/dist/components/progress/anatomy/range.d.ts +2 -2
  129. package/dist/components/progress/anatomy/root-provider.d.ts +2 -2
  130. package/dist/components/progress/anatomy/root.d.ts +2 -2
  131. package/dist/components/progress/anatomy/track.d.ts +2 -2
  132. package/dist/components/progress/anatomy/value-text.d.ts +2 -2
  133. package/dist/components/progress/modules/provider.js +2 -3
  134. package/dist/components/rating-group/anatomy/control.d.ts +2 -2
  135. package/dist/components/rating-group/anatomy/hidden-input.d.ts +2 -2
  136. package/dist/components/rating-group/anatomy/item.d.ts +2 -2
  137. package/dist/components/rating-group/anatomy/label.d.ts +2 -2
  138. package/dist/components/rating-group/anatomy/root-provider.d.ts +2 -2
  139. package/dist/components/rating-group/anatomy/root.d.ts +2 -2
  140. package/dist/components/rating-group/modules/provider.js +2 -3
  141. package/dist/components/segmented-control/anatomy/control.d.ts +2 -2
  142. package/dist/components/segmented-control/anatomy/indicator.d.ts +2 -2
  143. package/dist/components/segmented-control/anatomy/item-hidden-input.d.ts +2 -2
  144. package/dist/components/segmented-control/anatomy/item-text.d.ts +2 -2
  145. package/dist/components/segmented-control/anatomy/item.d.ts +2 -2
  146. package/dist/components/segmented-control/anatomy/label.d.ts +2 -2
  147. package/dist/components/segmented-control/anatomy/root-provider.d.ts +2 -2
  148. package/dist/components/segmented-control/anatomy/root.d.ts +2 -2
  149. package/dist/components/segmented-control/modules/provider.js +2 -3
  150. package/dist/components/slider/anatomy/control.d.ts +2 -2
  151. package/dist/components/slider/anatomy/hidden-input.d.ts +2 -2
  152. package/dist/components/slider/anatomy/label.d.ts +2 -2
  153. package/dist/components/slider/anatomy/marker-group.d.ts +2 -2
  154. package/dist/components/slider/anatomy/marker.d.ts +2 -2
  155. package/dist/components/slider/anatomy/range.d.ts +2 -2
  156. package/dist/components/slider/anatomy/root-provider.d.ts +2 -2
  157. package/dist/components/slider/anatomy/root.d.ts +2 -2
  158. package/dist/components/slider/anatomy/thumb.d.ts +2 -2
  159. package/dist/components/slider/anatomy/track.d.ts +2 -2
  160. package/dist/components/slider/anatomy/value-text.d.ts +2 -2
  161. package/dist/components/slider/modules/provider.js +2 -3
  162. package/dist/components/switch/anatomy/control.d.ts +2 -2
  163. package/dist/components/switch/anatomy/hidden-input.d.ts +2 -2
  164. package/dist/components/switch/anatomy/label.d.ts +2 -2
  165. package/dist/components/switch/anatomy/root-provider.d.ts +2 -2
  166. package/dist/components/switch/anatomy/root.d.ts +2 -2
  167. package/dist/components/switch/anatomy/thumb.d.ts +2 -2
  168. package/dist/components/switch/modules/provider.js +2 -3
  169. package/dist/components/tabs/anatomy/content.d.ts +2 -2
  170. package/dist/components/tabs/anatomy/indicator.d.ts +2 -2
  171. package/dist/components/tabs/anatomy/list.d.ts +2 -2
  172. package/dist/components/tabs/anatomy/root-provider.d.ts +2 -2
  173. package/dist/components/tabs/anatomy/root.d.ts +2 -2
  174. package/dist/components/tabs/anatomy/trigger.d.ts +2 -2
  175. package/dist/components/tabs/modules/provider.js +2 -3
  176. package/dist/components/tags-input/anatomy/clear-trigger.d.ts +2 -2
  177. package/dist/components/tags-input/anatomy/control.d.ts +2 -2
  178. package/dist/components/tags-input/anatomy/hidden-input.d.ts +2 -2
  179. package/dist/components/tags-input/anatomy/input.d.ts +2 -2
  180. package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts +2 -2
  181. package/dist/components/tags-input/anatomy/item-input.d.ts +2 -2
  182. package/dist/components/tags-input/anatomy/item-preview.d.ts +2 -2
  183. package/dist/components/tags-input/anatomy/item-text.d.ts +2 -2
  184. package/dist/components/tags-input/anatomy/item.d.ts +2 -2
  185. package/dist/components/tags-input/anatomy/label.d.ts +2 -2
  186. package/dist/components/tags-input/anatomy/root-provider.d.ts +2 -2
  187. package/dist/components/tags-input/anatomy/root.d.ts +2 -2
  188. package/dist/components/tags-input/modules/provider.js +2 -3
  189. package/dist/components/toast/anatomy/action-trigger.d.ts +2 -2
  190. package/dist/components/toast/anatomy/close-trigger.d.ts +2 -2
  191. package/dist/components/toast/anatomy/description.d.ts +2 -2
  192. package/dist/components/toast/anatomy/group.d.ts +2 -2
  193. package/dist/components/toast/anatomy/message.d.ts +2 -2
  194. package/dist/components/toast/anatomy/root.d.ts +2 -2
  195. package/dist/components/toast/anatomy/root.js +2 -3
  196. package/dist/components/toast/anatomy/title.d.ts +2 -2
  197. package/dist/components/tooltip/anatomy/arrow-tip.d.ts +2 -2
  198. package/dist/components/tooltip/anatomy/arrow.d.ts +2 -2
  199. package/dist/components/tooltip/anatomy/content.d.ts +2 -2
  200. package/dist/components/tooltip/anatomy/positioner.d.ts +2 -2
  201. package/dist/components/tooltip/anatomy/root-provider.d.ts +2 -2
  202. package/dist/components/tooltip/anatomy/root.d.ts +2 -2
  203. package/dist/components/tooltip/anatomy/trigger.d.ts +2 -2
  204. package/dist/components/tooltip/modules/provider.js +2 -3
  205. package/dist/components/tree-view/anatomy/branch-content.d.ts +2 -2
  206. package/dist/components/tree-view/anatomy/branch-control.d.ts +2 -2
  207. package/dist/components/tree-view/anatomy/branch-indent-guide.d.ts +2 -2
  208. package/dist/components/tree-view/anatomy/branch-indicator.d.ts +2 -2
  209. package/dist/components/tree-view/anatomy/branch-text.d.ts +2 -2
  210. package/dist/components/tree-view/anatomy/branch.d.ts +2 -2
  211. package/dist/components/tree-view/anatomy/item.d.ts +2 -2
  212. package/dist/components/tree-view/anatomy/label.d.ts +2 -2
  213. package/dist/components/tree-view/anatomy/node-provider.d.ts +2 -2
  214. package/dist/components/tree-view/anatomy/root-provider.d.ts +2 -2
  215. package/dist/components/tree-view/anatomy/root.d.ts +2 -2
  216. package/dist/components/tree-view/anatomy/tree.d.ts +2 -2
  217. package/dist/components/tree-view/modules/provider.js +2 -3
  218. package/dist/internal/components/calendar.js +11 -12
  219. package/dist/internal/components/check.js +11 -12
  220. package/dist/internal/components/chevron-down.js +11 -12
  221. package/dist/internal/components/chevron-left.js +11 -12
  222. package/dist/internal/components/chevron-right.js +11 -12
  223. package/dist/internal/components/star-empty.js +9 -10
  224. package/dist/internal/components/star-full.js +7 -8
  225. package/dist/internal/components/star-half.js +9 -10
  226. package/dist/internal/components/x.js +11 -12
  227. package/package.json +3 -3
@@ -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_runtime188 from "react/jsx-runtime";
3
+ import * as react133 from "react";
4
4
 
5
5
  //#region src/components/tree-view/anatomy/branch-control.d.ts
6
6
  interface TreeViewBranchControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function BranchControl(props: TreeViewBranchControlProps): react_jsx_runtime188.JSX.Element;
7
+ declare function BranchControl(props: TreeViewBranchControlProps): react133.JSX.Element;
8
8
  //#endregion
9
9
  export { BranchControl, TreeViewBranchControlProps };
10
10
  //# sourceMappingURL=branch-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 react_jsx_runtime192 from "react/jsx-runtime";
3
+ import * as react137 from "react";
4
4
 
5
5
  //#region src/components/tree-view/anatomy/branch-indent-guide.d.ts
6
6
  interface TreeViewBranchIndentGuideProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function BranchIndentGuide(props: TreeViewBranchIndentGuideProps): react_jsx_runtime192.JSX.Element;
7
+ declare function BranchIndentGuide(props: TreeViewBranchIndentGuideProps): react137.JSX.Element;
8
8
  //#endregion
9
9
  export { BranchIndentGuide, TreeViewBranchIndentGuideProps };
10
10
  //# sourceMappingURL=branch-indent-guide.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_runtime190 from "react/jsx-runtime";
3
+ import * as react135 from "react";
4
4
 
5
5
  //#region src/components/tree-view/anatomy/branch-indicator.d.ts
6
6
  interface TreeViewBranchIndicatorProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
7
- declare function BranchIndicator(props: TreeViewBranchIndicatorProps): react_jsx_runtime190.JSX.Element;
7
+ declare function BranchIndicator(props: TreeViewBranchIndicatorProps): react135.JSX.Element;
8
8
  //#endregion
9
9
  export { BranchIndicator, TreeViewBranchIndicatorProps };
10
10
  //# sourceMappingURL=branch-indicator.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_runtime189 from "react/jsx-runtime";
3
+ import * as react134 from "react";
4
4
 
5
5
  //#region src/components/tree-view/anatomy/branch-text.d.ts
6
6
  interface TreeViewBranchTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
7
- declare function BranchText(props: TreeViewBranchTextProps): react_jsx_runtime189.JSX.Element;
7
+ declare function BranchText(props: TreeViewBranchTextProps): react134.JSX.Element;
8
8
  //#endregion
9
9
  export { BranchText, TreeViewBranchTextProps };
10
10
  //# sourceMappingURL=branch-text.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_runtime187 from "react/jsx-runtime";
3
+ import * as react132 from "react";
4
4
 
5
5
  //#region src/components/tree-view/anatomy/branch.d.ts
6
6
  interface TreeViewBranchProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function Branch(props: TreeViewBranchProps): react_jsx_runtime187.JSX.Element;
7
+ declare function Branch(props: TreeViewBranchProps): react132.JSX.Element;
8
8
  //#endregion
9
9
  export { Branch, TreeViewBranchProps };
10
10
  //# sourceMappingURL=branch.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_runtime186 from "react/jsx-runtime";
3
+ import * as react131 from "react";
4
4
 
5
5
  //#region src/components/tree-view/anatomy/item.d.ts
6
6
  interface TreeViewItemProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function Item(props: TreeViewItemProps): react_jsx_runtime186.JSX.Element;
7
+ declare function Item(props: TreeViewItemProps): react131.JSX.Element;
8
8
  //#endregion
9
9
  export { Item, TreeViewItemProps };
10
10
  //# sourceMappingURL=item.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from "../../../internal/html-attributes.js";
2
2
  import { PropsWithElement } from "../../../internal/props-with-element.js";
3
- import * as react_jsx_runtime170 from "react/jsx-runtime";
3
+ import { JSX } from "react";
4
4
 
5
5
  //#region src/components/tree-view/anatomy/label.d.ts
6
6
  interface TreeViewLabelProps extends PropsWithElement<'h3'>, HTMLAttributes<'h3'> {
@@ -11,7 +11,7 @@ interface TreeViewLabelProps extends PropsWithElement<'h3'>, HTMLAttributes<'h3'
11
11
  */
12
12
  level?: 1 | 2 | 3 | 4 | 5 | 6;
13
13
  }
14
- declare function Label(props: TreeViewLabelProps): react_jsx_runtime170.JSX.Element;
14
+ declare function Label(props: TreeViewLabelProps): JSX.Element;
15
15
  //#endregion
16
16
  export { Label, TreeViewLabelProps };
17
17
  //# sourceMappingURL=label.d.ts.map
@@ -1,12 +1,12 @@
1
1
  import { PropsWithChildren } from "react";
2
- import * as react_jsx_runtime193 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime53 from "react/jsx-runtime";
3
3
  import { NodeProps } from "@zag-js/tree-view";
4
4
 
5
5
  //#region src/components/tree-view/anatomy/node-provider.d.ts
6
6
  interface TreeViewNodeProviderProps extends PropsWithChildren {
7
7
  value: NodeProps;
8
8
  }
9
- declare function NodeProvider(props: TreeViewNodeProviderProps): react_jsx_runtime193.JSX.Element;
9
+ declare function NodeProvider(props: TreeViewNodeProviderProps): react_jsx_runtime53.JSX.Element;
10
10
  //#endregion
11
11
  export { NodeProvider, TreeViewNodeProviderProps };
12
12
  //# sourceMappingURL=node-provider.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 { useTreeView } from "../modules/provider.js";
4
- import * as react_jsx_runtime184 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime52 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/tree-view/anatomy/root-provider.d.ts
7
7
  interface TreeViewRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {
8
8
  value: ReturnType<typeof useTreeView>;
9
9
  }
10
- declare function RootProvider(props: TreeViewRootProviderProps): react_jsx_runtime184.JSX.Element;
10
+ declare function RootProvider(props: TreeViewRootProviderProps): react_jsx_runtime52.JSX.Element;
11
11
  //#endregion
12
12
  export { RootProvider, TreeViewRootProviderProps };
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_runtime183 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime51 from "react/jsx-runtime";
4
4
  import { Props } from "@zag-js/tree-view";
5
5
 
6
6
  //#region src/components/tree-view/anatomy/root.d.ts
7
7
  interface TreeViewRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
8
- declare function Root(props: TreeViewRootProps): react_jsx_runtime183.JSX.Element;
8
+ declare function Root(props: TreeViewRootProps): react_jsx_runtime51.JSX.Element;
9
9
  //#endregion
10
10
  export { Root, TreeViewRootProps };
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 react_jsx_runtime185 from "react/jsx-runtime";
3
+ import * as react130 from "react";
4
4
 
5
5
  //#region src/components/tree-view/anatomy/tree.d.ts
6
6
  interface TreeViewTreeProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function Tree(props: TreeViewTreeProps): react_jsx_runtime185.JSX.Element;
7
+ declare function Tree(props: TreeViewTreeProps): react130.JSX.Element;
8
8
  //#endregion
9
9
  export { Tree, TreeViewTreeProps };
10
10
  //# sourceMappingURL=tree.d.ts.map
@@ -4,11 +4,10 @@ import { connect, machine } from "@zag-js/tree-view";
4
4
 
5
5
  //#region src/components/tree-view/modules/provider.ts
6
6
  function useTreeView(props = {}) {
7
- const service = useMachine(machine, {
7
+ return connect(useMachine(machine, {
8
8
  id: useId(),
9
9
  ...props
10
- });
11
- return connect(service, normalizeProps);
10
+ }), normalizeProps);
12
11
  }
13
12
 
14
13
  //#endregion
@@ -4,19 +4,18 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/internal/components/calendar.tsx
5
5
  function Calendar(props) {
6
6
  const { ...rest } = props;
7
- const attributes = mergeProps({
8
- xmlns: "http://www.w3.org/2000/svg",
9
- width: "24",
10
- height: "24",
11
- viewBox: "0 0 24 24",
12
- fill: "none",
13
- stroke: "currentColor",
14
- strokeWidth: "2",
15
- strokeLinecap: "round",
16
- strokeLinejoin: "round"
17
- }, rest);
18
7
  return /* @__PURE__ */ jsxs("svg", {
19
- ...attributes,
8
+ ...mergeProps({
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ width: "24",
11
+ height: "24",
12
+ viewBox: "0 0 24 24",
13
+ fill: "none",
14
+ stroke: "currentColor",
15
+ strokeWidth: "2",
16
+ strokeLinecap: "round",
17
+ strokeLinejoin: "round"
18
+ }, rest),
20
19
  children: [
21
20
  /* @__PURE__ */ jsx("path", { d: "M8 2v4" }),
22
21
  /* @__PURE__ */ jsx("path", { d: "M16 2v4" }),
@@ -4,19 +4,18 @@ import { jsx } from "react/jsx-runtime";
4
4
  //#region src/internal/components/check.tsx
5
5
  function Check(props) {
6
6
  const { ...rest } = props;
7
- const attributes = mergeProps({
8
- xmlns: "http://www.w3.org/2000/svg",
9
- width: "24",
10
- height: "24",
11
- viewBox: "0 0 24 24",
12
- fill: "none",
13
- stroke: "currentColor",
14
- strokeWidth: "2",
15
- strokeLinecap: "round",
16
- strokeLinejoin: "round"
17
- }, rest);
18
7
  return /* @__PURE__ */ jsx("svg", {
19
- ...attributes,
8
+ ...mergeProps({
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ width: "24",
11
+ height: "24",
12
+ viewBox: "0 0 24 24",
13
+ fill: "none",
14
+ stroke: "currentColor",
15
+ strokeWidth: "2",
16
+ strokeLinecap: "round",
17
+ strokeLinejoin: "round"
18
+ }, rest),
20
19
  children: /* @__PURE__ */ jsx("path", { d: "M20 6 9 17l-5-5" })
21
20
  });
22
21
  }
@@ -4,19 +4,18 @@ import { jsx } from "react/jsx-runtime";
4
4
  //#region src/internal/components/chevron-down.tsx
5
5
  function ChevronDown(props) {
6
6
  const { ...rest } = props;
7
- const attributes = mergeProps({
8
- xmlns: "http://www.w3.org/2000/svg",
9
- width: "24",
10
- height: "24",
11
- viewBox: "0 0 24 24",
12
- fill: "none",
13
- stroke: "currentColor",
14
- strokeWidth: "2",
15
- strokeLinecap: "round",
16
- strokeLinejoin: "round"
17
- }, rest);
18
7
  return /* @__PURE__ */ jsx("svg", {
19
- ...attributes,
8
+ ...mergeProps({
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ width: "24",
11
+ height: "24",
12
+ viewBox: "0 0 24 24",
13
+ fill: "none",
14
+ stroke: "currentColor",
15
+ strokeWidth: "2",
16
+ strokeLinecap: "round",
17
+ strokeLinejoin: "round"
18
+ }, rest),
20
19
  children: /* @__PURE__ */ jsx("path", { d: "m6 9 6 6 6-6" })
21
20
  });
22
21
  }
@@ -4,19 +4,18 @@ import { jsx } from "react/jsx-runtime";
4
4
  //#region src/internal/components/chevron-left.tsx
5
5
  function ChevronLeft(props) {
6
6
  const { ...rest } = props;
7
- const attributes = mergeProps({
8
- xmlns: "http://www.w3.org/2000/svg",
9
- width: "24",
10
- height: "24",
11
- viewBox: "0 0 24 24",
12
- fill: "none",
13
- stroke: "currentColor",
14
- strokeWidth: "2",
15
- strokeLinecap: "round",
16
- strokeLinejoin: "round"
17
- }, rest);
18
7
  return /* @__PURE__ */ jsx("svg", {
19
- ...attributes,
8
+ ...mergeProps({
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ width: "24",
11
+ height: "24",
12
+ viewBox: "0 0 24 24",
13
+ fill: "none",
14
+ stroke: "currentColor",
15
+ strokeWidth: "2",
16
+ strokeLinecap: "round",
17
+ strokeLinejoin: "round"
18
+ }, rest),
20
19
  children: /* @__PURE__ */ jsx("path", { d: "m15 18-6-6 6-6" })
21
20
  });
22
21
  }
@@ -4,19 +4,18 @@ import { jsx } from "react/jsx-runtime";
4
4
  //#region src/internal/components/chevron-right.tsx
5
5
  function ChevronRight(props) {
6
6
  const { ...rest } = props;
7
- const attributes = mergeProps({
8
- xmlns: "http://www.w3.org/2000/svg",
9
- width: "24",
10
- height: "24",
11
- viewBox: "0 0 24 24",
12
- fill: "none",
13
- stroke: "currentColor",
14
- strokeWidth: "2",
15
- strokeLinecap: "round",
16
- strokeLinejoin: "round"
17
- }, rest);
18
7
  return /* @__PURE__ */ jsx("svg", {
19
- ...attributes,
8
+ ...mergeProps({
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ width: "24",
11
+ height: "24",
12
+ viewBox: "0 0 24 24",
13
+ fill: "none",
14
+ stroke: "currentColor",
15
+ strokeWidth: "2",
16
+ strokeLinecap: "round",
17
+ strokeLinejoin: "round"
18
+ }, rest),
20
19
  children: /* @__PURE__ */ jsx("path", { d: "m9 18 6-6-6-6" })
21
20
  });
22
21
  }
@@ -4,17 +4,16 @@ import { jsx } from "react/jsx-runtime";
4
4
  //#region src/internal/components/star-empty.tsx
5
5
  function StarEmpty(props) {
6
6
  const { ...rest } = props;
7
- const attributes = mergeProps({
8
- xmlns: "http://www.w3.org/2000/svg",
9
- width: "24",
10
- height: "24",
11
- viewBox: "0 0 24 24",
12
- fill: "none",
13
- stroke: "currentColor",
14
- strokeWidth: "1.5"
15
- }, rest);
16
7
  return /* @__PURE__ */ jsx("svg", {
17
- ...attributes,
8
+ ...mergeProps({
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ width: "24",
11
+ height: "24",
12
+ viewBox: "0 0 24 24",
13
+ fill: "none",
14
+ stroke: "currentColor",
15
+ strokeWidth: "1.5"
16
+ }, rest),
18
17
  children: /* @__PURE__ */ jsx("path", {
19
18
  strokeLinecap: "round",
20
19
  strokeLinejoin: "round",
@@ -4,15 +4,14 @@ import { jsx } from "react/jsx-runtime";
4
4
  //#region src/internal/components/star-full.tsx
5
5
  function StarFull(props) {
6
6
  const { ...rest } = props;
7
- const attributes = mergeProps({
8
- xmlns: "http://www.w3.org/2000/svg",
9
- width: "24",
10
- height: "24",
11
- viewBox: "0 0 24 24",
12
- fill: "currentColor"
13
- }, rest);
14
7
  return /* @__PURE__ */ jsx("svg", {
15
- ...attributes,
8
+ ...mergeProps({
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ width: "24",
11
+ height: "24",
12
+ viewBox: "0 0 24 24",
13
+ fill: "currentColor"
14
+ }, rest),
16
15
  children: /* @__PURE__ */ jsx("path", {
17
16
  fillRule: "evenodd",
18
17
  clipRule: "evenodd",
@@ -4,17 +4,16 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/internal/components/star-half.tsx
5
5
  function StarHalf(props) {
6
6
  const { ...rest } = props;
7
- const attributes = mergeProps({
8
- xmlns: "http://www.w3.org/2000/svg",
9
- width: "24",
10
- height: "24",
11
- viewBox: "0 0 24 24",
12
- fill: "none",
13
- stroke: "currentColor",
14
- strokeWidth: "1.5"
15
- }, rest);
16
7
  return /* @__PURE__ */ jsxs("svg", {
17
- ...attributes,
8
+ ...mergeProps({
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ width: "24",
11
+ height: "24",
12
+ viewBox: "0 0 24 24",
13
+ fill: "none",
14
+ stroke: "currentColor",
15
+ strokeWidth: "1.5"
16
+ }, rest),
18
17
  children: [/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs("linearGradient", {
19
18
  id: "half-fill",
20
19
  x1: "0%",
@@ -4,19 +4,18 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  //#region src/internal/components/x.tsx
5
5
  function X(props) {
6
6
  const { ...rest } = props;
7
- const attributes = mergeProps({
8
- xmlns: "http://www.w3.org/2000/svg",
9
- width: "24",
10
- height: "24",
11
- viewBox: "0 0 24 24",
12
- fill: "none",
13
- stroke: "currentColor",
14
- strokeWidth: "2",
15
- strokeLinecap: "round",
16
- strokeLinejoin: "round"
17
- }, rest);
18
7
  return /* @__PURE__ */ jsxs("svg", {
19
- ...attributes,
8
+ ...mergeProps({
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ width: "24",
11
+ height: "24",
12
+ viewBox: "0 0 24 24",
13
+ fill: "none",
14
+ stroke: "currentColor",
15
+ strokeWidth: "2",
16
+ strokeLinecap: "round",
17
+ strokeLinejoin: "round"
18
+ }, rest),
20
19
  children: [/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" }), /* @__PURE__ */ jsx("path", { d: "m6 6 12 12" })]
21
20
  });
22
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skeletonlabs/skeleton-react",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "The React package for Skeleton.",
5
5
  "author": "endigo9740 <chris@skeletonlabs.dev>",
6
6
  "repository": {
@@ -43,7 +43,7 @@
43
43
  "@zag-js/toast": "1.26.1",
44
44
  "@zag-js/tooltip": "1.26.1",
45
45
  "@zag-js/tree-view": "1.26.1",
46
- "@skeletonlabs/skeleton-common": "4.0.1"
46
+ "@skeletonlabs/skeleton-common": "4.0.2"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "react": "^18.0.0 || ^19.0.0",
@@ -53,7 +53,7 @@
53
53
  "@testing-library/jest-dom": "6.9.1",
54
54
  "@testing-library/react": "16.3.0",
55
55
  "@types/react": "19.2.2",
56
- "@types/react-dom": "19.2.1",
56
+ "@types/react-dom": "19.2.2",
57
57
  "@vitejs/plugin-react": "5.0.4",
58
58
  "jsdom": "27.0.0",
59
59
  "react": "19.2.0",