@skeletonlabs/skeleton-react 4.0.1 → 4.1.0

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 (242) 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/toggle-group/anatomy/item.d.ts +11 -0
  198. package/dist/components/toggle-group/anatomy/item.js +22 -0
  199. package/dist/components/toggle-group/anatomy/root-context.d.ts +11 -0
  200. package/dist/components/toggle-group/anatomy/root-context.js +13 -0
  201. package/dist/components/toggle-group/anatomy/root-provider.d.ts +13 -0
  202. package/dist/components/toggle-group/anatomy/root-provider.js +21 -0
  203. package/dist/components/toggle-group/anatomy/root.d.ts +11 -0
  204. package/dist/components/toggle-group/anatomy/root.js +25 -0
  205. package/dist/components/toggle-group/modules/anatomy.d.ts +14 -0
  206. package/dist/components/toggle-group/modules/anatomy.js +15 -0
  207. package/dist/components/toggle-group/modules/provider.d.ts +8 -0
  208. package/dist/components/toggle-group/modules/provider.js +15 -0
  209. package/dist/components/toggle-group/modules/root-context.js +8 -0
  210. package/dist/components/tooltip/anatomy/arrow-tip.d.ts +2 -2
  211. package/dist/components/tooltip/anatomy/arrow.d.ts +2 -2
  212. package/dist/components/tooltip/anatomy/content.d.ts +2 -2
  213. package/dist/components/tooltip/anatomy/positioner.d.ts +2 -2
  214. package/dist/components/tooltip/anatomy/root-provider.d.ts +2 -2
  215. package/dist/components/tooltip/anatomy/root.d.ts +2 -2
  216. package/dist/components/tooltip/anatomy/trigger.d.ts +2 -2
  217. package/dist/components/tooltip/modules/provider.js +2 -3
  218. package/dist/components/tree-view/anatomy/branch-content.d.ts +2 -2
  219. package/dist/components/tree-view/anatomy/branch-control.d.ts +2 -2
  220. package/dist/components/tree-view/anatomy/branch-indent-guide.d.ts +2 -2
  221. package/dist/components/tree-view/anatomy/branch-indicator.d.ts +2 -2
  222. package/dist/components/tree-view/anatomy/branch-text.d.ts +2 -2
  223. package/dist/components/tree-view/anatomy/branch.d.ts +2 -2
  224. package/dist/components/tree-view/anatomy/item.d.ts +2 -2
  225. package/dist/components/tree-view/anatomy/label.d.ts +2 -2
  226. package/dist/components/tree-view/anatomy/node-provider.d.ts +2 -2
  227. package/dist/components/tree-view/anatomy/root-provider.d.ts +2 -2
  228. package/dist/components/tree-view/anatomy/root.d.ts +2 -2
  229. package/dist/components/tree-view/anatomy/tree.d.ts +2 -2
  230. package/dist/components/tree-view/modules/provider.js +2 -3
  231. package/dist/index.d.ts +7 -1
  232. package/dist/index.js +3 -1
  233. package/dist/internal/components/calendar.js +11 -12
  234. package/dist/internal/components/check.js +11 -12
  235. package/dist/internal/components/chevron-down.js +11 -12
  236. package/dist/internal/components/chevron-left.js +11 -12
  237. package/dist/internal/components/chevron-right.js +11 -12
  238. package/dist/internal/components/star-empty.js +9 -10
  239. package/dist/internal/components/star-full.js +7 -8
  240. package/dist/internal/components/star-half.js +9 -10
  241. package/dist/internal/components/x.js +11 -12
  242. package/package.json +4 -3
@@ -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_runtime72 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime17 from "react/jsx-runtime";
4
4
  import { Props } from "@zag-js/file-upload";
5
5
 
6
6
  //#region src/components/file-upload/anatomy/root.d.ts
7
7
  interface FileUploadRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, Omit<HTMLAttributes<'div'>, 'id' | 'dir'> {}
8
- declare function Root(props: FileUploadRootProps): react_jsx_runtime72.JSX.Element;
8
+ declare function Root(props: FileUploadRootProps): react_jsx_runtime17.JSX.Element;
9
9
  //#endregion
10
10
  export { FileUploadRootProps, Root };
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_runtime74 from "react/jsx-runtime";
3
+ import * as react55 from "react";
4
4
 
5
5
  //#region src/components/file-upload/anatomy/trigger.d.ts
6
6
  interface FileUploadTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
7
- declare function Trigger(props: FileUploadTriggerProps): react_jsx_runtime74.JSX.Element;
7
+ declare function Trigger(props: FileUploadTriggerProps): react55.JSX.Element;
8
8
  //#endregion
9
9
  export { FileUploadTriggerProps, Trigger };
10
10
  //# sourceMappingURL=trigger.d.ts.map
@@ -4,11 +4,10 @@ import { connect, machine } from "@zag-js/file-upload";
4
4
 
5
5
  //#region src/components/file-upload/modules/provider.ts
6
6
  function useFileUpload(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
@@ -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_runtime121 from "react/jsx-runtime";
3
+ import * as react61 from "react";
4
4
 
5
5
  //#region src/components/listbox/anatomy/content.d.ts
6
6
  interface ListboxContentProps extends PropsWithElement<'ul'>, HTMLAttributes<'ul'> {}
7
- declare function Content(props: ListboxContentProps): react_jsx_runtime121.JSX.Element;
7
+ declare function Content(props: ListboxContentProps): react61.JSX.Element;
8
8
  //#endregion
9
9
  export { Content, ListboxContentProps };
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_runtime116 from "react/jsx-runtime";
3
+ import * as react57 from "react";
4
4
 
5
5
  //#region src/components/listbox/anatomy/input.d.ts
6
6
  interface ListboxInputProps extends PropsWithElement<'input'>, Omit<HTMLAttributes<'input'>, 'children'> {}
7
- declare function Input(props: ListboxInputProps): react_jsx_runtime116.JSX.Element;
7
+ declare function Input(props: ListboxInputProps): react57.JSX.Element;
8
8
  //#endregion
9
9
  export { Input, ListboxInputProps };
10
10
  //# sourceMappingURL=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_runtime114 from "react/jsx-runtime";
3
+ import * as react56 from "react";
4
4
  import { ItemGroupLabelProps } from "@zag-js/listbox";
5
5
 
6
6
  //#region src/components/listbox/anatomy/item-group-label.d.ts
7
7
  interface ListboxItemGroupLabelProps extends Omit<ItemGroupLabelProps, 'htmlFor'>, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
8
- declare function ItemGroupLabel(props: ListboxItemGroupLabelProps): react_jsx_runtime114.JSX.Element;
8
+ declare function ItemGroupLabel(props: ListboxItemGroupLabelProps): react56.JSX.Element;
9
9
  //#endregion
10
10
  export { ItemGroupLabel, ListboxItemGroupLabelProps };
11
11
  //# sourceMappingURL=item-group-label.d.ts.map
@@ -9,9 +9,8 @@ import { splitItemGroupLabelProps } from "@zag-js/listbox";
9
9
  //#region src/components/listbox/anatomy/item-group-label.tsx
10
10
  function ItemGroupLabel(props) {
11
11
  const listbox = use(RootContext);
12
- const itemGroupProps = use(ItemGroupContext);
13
12
  const [itemGroupLabelProps, componentProps] = splitItemGroupLabelProps({
14
- htmlFor: itemGroupProps.id,
13
+ htmlFor: use(ItemGroupContext).id,
15
14
  ...props
16
15
  });
17
16
  const { element, children,...rest } = componentProps;
@@ -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_runtime113 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime20 from "react/jsx-runtime";
4
4
  import { ItemGroupProps } from "@zag-js/listbox";
5
5
 
6
6
  //#region src/components/listbox/anatomy/item-group.d.ts
7
7
  interface ListboxItemGroupProps extends Omit<ItemGroupProps, 'id'>, PropsWithElement<'div'>, Omit<HTMLAttributes<'div'>, 'id'> {}
8
- declare function ItemGroup(props: ListboxItemGroupProps): react_jsx_runtime113.JSX.Element;
8
+ declare function ItemGroup(props: ListboxItemGroupProps): react_jsx_runtime20.JSX.Element;
9
9
  //#endregion
10
10
  export { ItemGroup, ListboxItemGroupProps };
11
11
  //# sourceMappingURL=item-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 react_jsx_runtime117 from "react/jsx-runtime";
3
+ import * as react58 from "react";
4
4
 
5
5
  //#region src/components/listbox/anatomy/item-indicator.d.ts
6
6
  interface ListboxItemIndicatorProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
7
- declare function ItemIndicator(props: ListboxItemIndicatorProps): react_jsx_runtime117.JSX.Element;
7
+ declare function ItemIndicator(props: ListboxItemIndicatorProps): react58.JSX.Element;
8
8
  //#endregion
9
9
  export { ItemIndicator, ListboxItemIndicatorProps };
10
10
  //# sourceMappingURL=item-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_runtime118 from "react/jsx-runtime";
3
+ import * as react59 from "react";
4
4
 
5
5
  //#region src/components/listbox/anatomy/item-text.d.ts
6
6
  interface ListboxItemTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
7
- declare function ItemText(props: ListboxItemTextProps): react_jsx_runtime118.JSX.Element;
7
+ declare function ItemText(props: ListboxItemTextProps): react59.JSX.Element;
8
8
  //#endregion
9
9
  export { ItemText, ListboxItemTextProps };
10
10
  //# sourceMappingURL=item-text.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_runtime115 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime21 from "react/jsx-runtime";
4
4
  import { ItemProps } from "@zag-js/listbox";
5
5
 
6
6
  //#region src/components/listbox/anatomy/item.d.ts
7
7
  interface ListboxItemProps extends ItemProps, PropsWithElement<'li'>, HTMLAttributes<'li'> {}
8
- declare function Item(props: ListboxItemProps): react_jsx_runtime115.JSX.Element;
8
+ declare function Item(props: ListboxItemProps): react_jsx_runtime21.JSX.Element;
9
9
  //#endregion
10
10
  export { Item, ListboxItemProps };
11
11
  //# sourceMappingURL=item.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_runtime120 from "react/jsx-runtime";
3
+ import * as react60 from "react";
4
4
 
5
5
  //#region src/components/listbox/anatomy/label.d.ts
6
6
  interface ListboxLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label'> {}
7
- declare function Label(props: ListboxLabelProps): react_jsx_runtime120.JSX.Element;
7
+ declare function Label(props: ListboxLabelProps): react60.JSX.Element;
8
8
  //#endregion
9
9
  export { Label, ListboxLabelProps };
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 { useListbox } from "../modules/provider.js";
4
- import * as react_jsx_runtime119 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime22 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/listbox/anatomy/root-provider.d.ts
7
7
  interface ListboxRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue' | 'onSelect'> {
8
8
  value: ReturnType<typeof useListbox>;
9
9
  }
10
- declare function RootProvider(props: ListboxRootProviderProps): react_jsx_runtime119.JSX.Element;
10
+ declare function RootProvider(props: ListboxRootProviderProps): react_jsx_runtime22.JSX.Element;
11
11
  //#endregion
12
12
  export { ListboxRootProviderProps, RootProvider };
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_runtime112 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime19 from "react/jsx-runtime";
4
4
  import { Props } from "@zag-js/listbox";
5
5
 
6
6
  //#region src/components/listbox/anatomy/root.d.ts
7
7
  interface ListboxRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue' | 'onSelect'> {}
8
- declare function Root(props: ListboxRootProps): react_jsx_runtime112.JSX.Element;
8
+ declare function Root(props: ListboxRootProps): react_jsx_runtime19.JSX.Element;
9
9
  //#endregion
10
10
  export { ListboxRootProps, Root };
11
11
  //# sourceMappingURL=root.d.ts.map
@@ -4,11 +4,10 @@ import { connect, machine } from "@zag-js/listbox";
4
4
 
5
5
  //#region src/components/listbox/modules/provider.ts
6
6
  function useListbox(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
@@ -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_runtime125 from "react/jsx-runtime";
3
+ import * as react64 from "react";
4
4
 
5
5
  //#region src/components/navigation/anatomy/content.d.ts
6
6
  interface NavigationContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function NavigationContent(props: NavigationContentProps): react_jsx_runtime125.JSX.Element;
7
+ declare function NavigationContent(props: NavigationContentProps): react64.JSX.Element;
8
8
  //#endregion
9
9
  export { NavigationContent, NavigationContentProps };
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_runtime126 from "react/jsx-runtime";
3
+ import * as react65 from "react";
4
4
 
5
5
  //#region src/components/navigation/anatomy/footer.d.ts
6
6
  interface NavigationFooterProps extends PropsWithElement<'footer'>, HTMLAttributes<'footer'> {}
7
- declare function NavigationFooter(props: NavigationFooterProps): react_jsx_runtime126.JSX.Element;
7
+ declare function NavigationFooter(props: NavigationFooterProps): react65.JSX.Element;
8
8
  //#endregion
9
9
  export { NavigationFooter, NavigationFooterProps };
10
10
  //# sourceMappingURL=footer.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_runtime127 from "react/jsx-runtime";
3
+ import * as react66 from "react";
4
4
 
5
5
  //#region src/components/navigation/anatomy/group.d.ts
6
6
  interface NavigationGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function NavigationGroup(props: NavigationGroupProps): react_jsx_runtime127.JSX.Element;
7
+ declare function NavigationGroup(props: NavigationGroupProps): react66.JSX.Element;
8
8
  //#endregion
9
9
  export { NavigationGroup, NavigationGroupProps };
10
10
  //# 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 react_jsx_runtime124 from "react/jsx-runtime";
3
+ import * as react63 from "react";
4
4
 
5
5
  //#region src/components/navigation/anatomy/header.d.ts
6
6
  interface NavigationHeaderProps extends PropsWithElement<'header'>, HTMLAttributes<'header'> {}
7
- declare function NavigationHeader(props: NavigationHeaderProps): react_jsx_runtime124.JSX.Element;
7
+ declare function NavigationHeader(props: NavigationHeaderProps): react63.JSX.Element;
8
8
  //#endregion
9
9
  export { NavigationHeader, NavigationHeaderProps };
10
10
  //# sourceMappingURL=header.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_runtime128 from "react/jsx-runtime";
3
+ import * as react67 from "react";
4
4
 
5
5
  //#region src/components/navigation/anatomy/label.d.ts
6
6
  interface NavigationLabelProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function NavigationLabel(props: NavigationLabelProps): react_jsx_runtime128.JSX.Element;
7
+ declare function NavigationLabel(props: NavigationLabelProps): react67.JSX.Element;
8
8
  //#endregion
9
9
  export { NavigationLabel, NavigationLabelProps };
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 react_jsx_runtime123 from "react/jsx-runtime";
3
+ import * as react62 from "react";
4
4
 
5
5
  //#region src/components/navigation/anatomy/menu.d.ts
6
6
  interface NavigationMenuProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function NavigationMenu(props: NavigationMenuProps): react_jsx_runtime123.JSX.Element;
7
+ declare function NavigationMenu(props: NavigationMenuProps): react62.JSX.Element;
8
8
  //#endregion
9
9
  export { NavigationMenu, NavigationMenuProps };
10
10
  //# sourceMappingURL=menu.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_runtime122 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime23 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/navigation/anatomy/root.d.ts
6
6
  interface NavigationRootProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {
@@ -11,7 +11,7 @@ interface NavigationRootProps extends PropsWithElement<'div'>, HTMLAttributes<'d
11
11
  * */
12
12
  layout?: 'bar' | 'rail' | 'sidebar';
13
13
  }
14
- declare function NavigationRoot(props: NavigationRootProps): react_jsx_runtime122.JSX.Element;
14
+ declare function NavigationRoot(props: NavigationRootProps): react_jsx_runtime23.JSX.Element;
15
15
  //#endregion
16
16
  export { NavigationRoot, NavigationRootProps };
17
17
  //# 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_runtime0 from "react/jsx-runtime";
3
+ import * as react68 from "react";
4
4
  import { EllipsisProps } from "@zag-js/pagination";
5
5
 
6
6
  //#region src/components/pagination/anatomy/ellipsis.d.ts
7
7
  interface PaginationEllipsisProps extends EllipsisProps, PropsWithElement<'span'>, HTMLAttributes<'span'> {}
8
- declare function Ellipsis(props: PaginationEllipsisProps): react_jsx_runtime0.JSX.Element;
8
+ declare function Ellipsis(props: PaginationEllipsisProps): react68.JSX.Element;
9
9
  //#endregion
10
10
  export { Ellipsis, PaginationEllipsisProps };
11
11
  //# sourceMappingURL=ellipsis.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_runtime1 from "react/jsx-runtime";
3
+ import * as react71 from "react";
4
4
  import { ItemProps } from "@zag-js/pagination";
5
5
 
6
6
  //#region src/components/pagination/anatomy/item.d.ts
7
7
  interface PaginationItemProps extends ItemProps, PropsWithElement<'a'>, HTMLAttributes<'a', 'type'> {}
8
- declare function Item(props: PaginationItemProps): react_jsx_runtime1.JSX.Element;
8
+ declare function Item(props: PaginationItemProps): react71.JSX.Element;
9
9
  //#endregion
10
10
  export { Item, PaginationItemProps };
11
11
  //# sourceMappingURL=item.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_runtime4 from "react/jsx-runtime";
3
+ import * as react70 from "react";
4
4
 
5
5
  //#region src/components/pagination/anatomy/next-trigger.d.ts
6
6
  interface PaginationNextTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
7
- declare function NextTrigger(props: PaginationNextTriggerProps): react_jsx_runtime4.JSX.Element;
7
+ declare function NextTrigger(props: PaginationNextTriggerProps): react70.JSX.Element;
8
8
  //#endregion
9
9
  export { NextTrigger, PaginationNextTriggerProps };
10
10
  //# sourceMappingURL=next-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 react_jsx_runtime2 from "react/jsx-runtime";
3
+ import * as react69 from "react";
4
4
 
5
5
  //#region src/components/pagination/anatomy/prev-trigger.d.ts
6
6
  interface PaginationPrevTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
7
- declare function PrevTrigger(props: PaginationPrevTriggerProps): react_jsx_runtime2.JSX.Element;
7
+ declare function PrevTrigger(props: PaginationPrevTriggerProps): react69.JSX.Element;
8
8
  //#endregion
9
9
  export { PaginationPrevTriggerProps, PrevTrigger };
10
10
  //# sourceMappingURL=prev-trigger.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 { usePagination } from "../modules/provider.js";
4
- import * as react_jsx_runtime0 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime24 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/pagination/anatomy/root-provider.d.ts
7
7
  interface PaginationRootProviderProps extends PropsWithElement<'nav'>, HTMLAttributes<'nav', 'id' | 'dir'> {
8
8
  value: ReturnType<typeof usePagination>;
9
9
  }
10
- declare function PaginationRootProvider(props: PaginationRootProviderProps): react_jsx_runtime0.JSX.Element;
10
+ declare function PaginationRootProvider(props: PaginationRootProviderProps): react_jsx_runtime24.JSX.Element;
11
11
  //#endregion
12
12
  export { PaginationRootProvider, PaginationRootProviderProps };
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_runtime3 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime25 from "react/jsx-runtime";
4
4
  import { Props } from "@zag-js/pagination";
5
5
 
6
6
  //#region src/components/pagination/anatomy/root.d.ts
7
7
  interface PaginationRootProps extends Omit<Props, 'id'>, PropsWithElement<'nav'>, HTMLAttributes<'nav', 'id' | 'dir'> {}
8
- declare function PaginationRoot(props: PaginationRootProps): react_jsx_runtime3.JSX.Element;
8
+ declare function PaginationRoot(props: PaginationRootProps): react_jsx_runtime25.JSX.Element;
9
9
  //#endregion
10
10
  export { PaginationRoot, PaginationRootProps };
11
11
  //# sourceMappingURL=root.d.ts.map
@@ -4,11 +4,10 @@ import { connect, machine } from "@zag-js/pagination";
4
4
 
5
5
  //#region src/components/pagination/modules/provider.ts
6
6
  function usePagination(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
@@ -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_runtime13 from "react/jsx-runtime";
3
+ import * as react78 from "react";
4
4
 
5
5
  //#region src/components/popover/anatomy/arrow-tip.d.ts
6
6
  interface PopoverArrowTipProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function ArrowTip(props: PopoverArrowTipProps): react_jsx_runtime13.JSX.Element;
7
+ declare function ArrowTip(props: PopoverArrowTipProps): react78.JSX.Element;
8
8
  //#endregion
9
9
  export { ArrowTip, PopoverArrowTipProps };
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 react_jsx_runtime11 from "react/jsx-runtime";
3
+ import * as react77 from "react";
4
4
 
5
5
  //#region src/components/popover/anatomy/arrow.d.ts
6
6
  interface PopoverArrowProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function Arrow(props: PopoverArrowProps): react_jsx_runtime11.JSX.Element;
7
+ declare function Arrow(props: PopoverArrowProps): react77.JSX.Element;
8
8
  //#endregion
9
9
  export { Arrow, PopoverArrowProps };
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 react_jsx_runtime5 from "react/jsx-runtime";
3
+ import * as react72 from "react";
4
4
 
5
5
  //#region src/components/popover/anatomy/close-trigger.d.ts
6
6
  interface PopoverCloseTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
7
- declare function CloseTrigger(props: PopoverCloseTriggerProps): react_jsx_runtime5.JSX.Element;
7
+ declare function CloseTrigger(props: PopoverCloseTriggerProps): react72.JSX.Element;
8
8
  //#endregion
9
9
  export { CloseTrigger, PopoverCloseTriggerProps };
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 react_jsx_runtime6 from "react/jsx-runtime";
3
+ import * as react73 from "react";
4
4
 
5
5
  //#region src/components/popover/anatomy/content.d.ts
6
6
  interface PopoverContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function Content(props: PopoverContentProps): react_jsx_runtime6.JSX.Element;
7
+ declare function Content(props: PopoverContentProps): react73.JSX.Element;
8
8
  //#endregion
9
9
  export { Content, PopoverContentProps };
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_runtime7 from "react/jsx-runtime";
3
+ import * as react74 from "react";
4
4
 
5
5
  //#region src/components/popover/anatomy/description.d.ts
6
6
  interface PopoverDescriptionProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function Description(props: PopoverDescriptionProps): react_jsx_runtime7.JSX.Element;
7
+ declare function Description(props: PopoverDescriptionProps): react74.JSX.Element;
8
8
  //#endregion
9
9
  export { Description, PopoverDescriptionProps };
10
10
  //# sourceMappingURL=description.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_runtime9 from "react/jsx-runtime";
3
+ import * as react75 from "react";
4
4
 
5
5
  //#region src/components/popover/anatomy/positioner.d.ts
6
6
  interface PopoverPositionerProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function Positioner(props: PopoverPositionerProps): react_jsx_runtime9.JSX.Element;
7
+ declare function Positioner(props: PopoverPositionerProps): react75.JSX.Element;
8
8
  //#endregion
9
9
  export { PopoverPositionerProps, Positioner };
10
10
  //# sourceMappingURL=positioner.d.ts.map
@@ -1,12 +1,12 @@
1
1
  import { usePopover } from "../modules/provider.js";
2
2
  import { PropsWithChildren } from "react";
3
- import * as react_jsx_runtime10 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime27 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/popover/anatomy/root-provider.d.ts
6
6
  interface PopoverRootProviderProps extends PropsWithChildren {
7
7
  value: ReturnType<typeof usePopover>;
8
8
  }
9
- declare function RootProvider(props: PopoverRootProviderProps): react_jsx_runtime10.JSX.Element;
9
+ declare function RootProvider(props: PopoverRootProviderProps): react_jsx_runtime27.JSX.Element;
10
10
  //#endregion
11
11
  export { PopoverRootProviderProps, RootProvider };
12
12
  //# sourceMappingURL=root-provider.d.ts.map
@@ -1,10 +1,10 @@
1
1
  import { PropsWithChildren } from "react";
2
- import * as react_jsx_runtime8 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime26 from "react/jsx-runtime";
3
3
  import { Props } from "@zag-js/popover";
4
4
 
5
5
  //#region src/components/popover/anatomy/root.d.ts
6
6
  interface PopoverRootProps extends PropsWithChildren, Omit<Props, 'id'> {}
7
- declare function Root(props: PopoverRootProps): react_jsx_runtime8.JSX.Element;
7
+ declare function Root(props: PopoverRootProps): react_jsx_runtime26.JSX.Element;
8
8
  //#endregion
9
9
  export { PopoverRootProps, Root };
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 react_jsx_runtime12 from "react/jsx-runtime";
3
+ import * as react76 from "react";
4
4
 
5
5
  //#region src/components/popover/anatomy/title.d.ts
6
6
  interface PopoverTitleProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
7
- declare function Title(props: PopoverTitleProps): react_jsx_runtime12.JSX.Element;
7
+ declare function Title(props: PopoverTitleProps): react76.JSX.Element;
8
8
  //#endregion
9
9
  export { PopoverTitleProps, Title };
10
10
  //# sourceMappingURL=title.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 react79 from "react";
3
4
  import { PropsWithChildren } from "react";
4
- import * as react_jsx_runtime14 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/popover/anatomy/trigger.d.ts
7
7
  interface PopoverTriggerProps extends PropsWithChildren, PropsWithElement<'button'>, HTMLAttributes<'button'> {}
8
- declare function Trigger(props: PopoverTriggerProps): react_jsx_runtime14.JSX.Element;
8
+ declare function Trigger(props: PopoverTriggerProps): react79.JSX.Element;
9
9
  //#endregion
10
10
  export { PopoverTriggerProps, Trigger };
11
11
  //# sourceMappingURL=trigger.d.ts.map
@@ -4,11 +4,10 @@ import { connect, machine } from "@zag-js/popover";
4
4
 
5
5
  //#region src/components/popover/modules/provider.ts
6
6
  function usePopover(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
@@ -1,5 +1,5 @@
1
1
  import { PropsWithChildren } from "react";
2
- import * as react_jsx_runtime15 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime28 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/portal/anatomy/root.d.ts
5
5
  interface PortalRootProps extends Required<PropsWithChildren> {
@@ -16,7 +16,7 @@ interface PortalRootProps extends Required<PropsWithChildren> {
16
16
  */
17
17
  target?: HTMLElement;
18
18
  }
19
- declare function Root(props: PortalRootProps): react_jsx_runtime15.JSX.Element;
19
+ declare function Root(props: PortalRootProps): react_jsx_runtime28.JSX.Element;
20
20
  //#endregion
21
21
  export { PortalRootProps, Root };
22
22
  //# sourceMappingURL=root.d.ts.map