@ark-ui/react 0.0.0-rc-20230319215607 → 0.0.0-rc-20230320101349

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 (201) hide show
  1. package/dist/accordion/accordion-content.d.ts +1 -1
  2. package/dist/accordion/accordion-context.d.ts +1 -1
  3. package/dist/accordion/accordion-icon.d.ts +1 -1
  4. package/dist/accordion/accordion-item-context.d.ts +1 -1
  5. package/dist/accordion/accordion-item.d.ts +2 -2
  6. package/dist/accordion/accordion-trigger.d.ts +1 -1
  7. package/dist/accordion/accordion.d.ts +3 -3
  8. package/dist/accordion/use-accordion.d.ts +1 -1
  9. package/dist/carousel/carousel-context.d.ts +1 -1
  10. package/dist/carousel/carousel-next-slide-trigger.d.ts +1 -1
  11. package/dist/carousel/carousel-prev-slide-trigger.d.ts +1 -1
  12. package/dist/carousel/carousel-slide-group.d.ts +1 -1
  13. package/dist/carousel/carousel-slide.d.ts +2 -2
  14. package/dist/carousel/carousel-viewport.d.ts +1 -1
  15. package/dist/carousel/carousel.d.ts +5 -5
  16. package/dist/carousel/use-carousel.d.ts +1 -1
  17. package/dist/checkbox/checkbox-context.d.ts +1 -1
  18. package/dist/checkbox/checkbox-control.d.ts +1 -1
  19. package/dist/checkbox/checkbox-input.d.ts +1 -1
  20. package/dist/checkbox/checkbox-label.d.ts +1 -1
  21. package/dist/checkbox/checkbox.d.ts +5 -5
  22. package/dist/checkbox/use-checkbox.d.ts +1 -1
  23. package/dist/combobox/combobox-content.d.ts +1 -1
  24. package/dist/combobox/combobox-context.d.ts +1 -1
  25. package/dist/combobox/combobox-control.d.ts +1 -1
  26. package/dist/combobox/combobox-input.d.ts +1 -1
  27. package/dist/combobox/combobox-label.d.ts +1 -1
  28. package/dist/combobox/combobox-option.d.ts +2 -2
  29. package/dist/combobox/combobox-positioner.d.ts +1 -1
  30. package/dist/combobox/combobox-trigger.d.ts +1 -1
  31. package/dist/combobox/combobox.d.ts +3 -3
  32. package/dist/combobox/use-combobox.d.ts +1 -1
  33. package/dist/dialog/dialog-backdrop.d.ts +1 -1
  34. package/dist/dialog/dialog-close-trigger.d.ts +1 -1
  35. package/dist/dialog/dialog-container.d.ts +1 -1
  36. package/dist/dialog/dialog-content.d.ts +1 -1
  37. package/dist/dialog/dialog-context.d.ts +1 -1
  38. package/dist/dialog/dialog-description.d.ts +1 -1
  39. package/dist/dialog/dialog-title.d.ts +1 -1
  40. package/dist/dialog/dialog-trigger.d.ts +1 -1
  41. package/dist/dialog/dialog.d.ts +4 -4
  42. package/dist/dialog/use-dialog.d.ts +1 -1
  43. package/dist/editable/editable-area.d.ts +1 -1
  44. package/dist/editable/editable-cancel-trigger.d.ts +1 -1
  45. package/dist/editable/editable-context.d.ts +1 -1
  46. package/dist/editable/editable-control.d.ts +1 -1
  47. package/dist/editable/editable-edit-trigger.d.ts +1 -1
  48. package/dist/editable/editable-input.d.ts +1 -1
  49. package/dist/editable/editable-label.d.ts +1 -1
  50. package/dist/editable/editable-preview.d.ts +1 -1
  51. package/dist/editable/editable-submit-trigger.d.ts +1 -1
  52. package/dist/editable/editable.d.ts +5 -5
  53. package/dist/editable/use-editable.d.ts +1 -1
  54. package/dist/environment/environment-context.d.ts +1 -1
  55. package/dist/factory.d.ts +2 -2
  56. package/dist/hover-card/hover-card-arrow-tip.d.ts +1 -1
  57. package/dist/hover-card/hover-card-arrow.d.ts +1 -1
  58. package/dist/hover-card/hover-card-content.d.ts +1 -1
  59. package/dist/hover-card/hover-card-context.d.ts +1 -1
  60. package/dist/hover-card/hover-card-positioner.d.ts +1 -1
  61. package/dist/hover-card/hover-card-trigger.d.ts +1 -1
  62. package/dist/hover-card/hover-card.d.ts +2 -2
  63. package/dist/hover-card/use-hover-card.d.ts +1 -1
  64. package/dist/menu/menu-arrow-tip.d.ts +1 -1
  65. package/dist/menu/menu-arrow.d.ts +1 -1
  66. package/dist/menu/menu-content.d.ts +1 -1
  67. package/dist/menu/menu-context-trigger.d.ts +1 -1
  68. package/dist/menu/menu-context.d.ts +1 -1
  69. package/dist/menu/menu-item-group-label.d.ts +2 -2
  70. package/dist/menu/menu-item-group.d.ts +3 -3
  71. package/dist/menu/menu-item.d.ts +3 -3
  72. package/dist/menu/menu-option-item.d.ts +4 -4
  73. package/dist/menu/menu-positioner.d.ts +1 -1
  74. package/dist/menu/menu-separator.d.ts +1 -1
  75. package/dist/menu/menu-trigger-item.d.ts +1 -1
  76. package/dist/menu/menu-trigger.d.ts +1 -1
  77. package/dist/menu/menu.d.ts +3 -3
  78. package/dist/menu/use-menu.d.ts +1 -1
  79. package/dist/number-input/number-input-context.d.ts +1 -1
  80. package/dist/number-input/number-input-control.d.ts +1 -1
  81. package/dist/number-input/number-input-decrement-trigger.d.ts +1 -1
  82. package/dist/number-input/number-input-field.d.ts +1 -1
  83. package/dist/number-input/number-input-increment-trigger.d.ts +1 -1
  84. package/dist/number-input/number-input-label.d.ts +1 -1
  85. package/dist/number-input/number-input-scrubber.d.ts +1 -1
  86. package/dist/number-input/number-input.d.ts +3 -3
  87. package/dist/number-input/use-number-input.d.ts +1 -1
  88. package/dist/pagination/pagination-context.d.ts +1 -1
  89. package/dist/pagination/pagination-ellipsis.d.ts +2 -2
  90. package/dist/pagination/pagination-list.d.ts +1 -1
  91. package/dist/pagination/pagination-next-page-trigger.d.ts +2 -2
  92. package/dist/pagination/pagination-page-trigger.d.ts +3 -3
  93. package/dist/pagination/pagination-prev-page-trigger.d.ts +2 -2
  94. package/dist/pagination/pagination.d.ts +4 -4
  95. package/dist/pagination/use-pagination.d.ts +1 -1
  96. package/dist/pin-input/pin-input-context.d.ts +1 -1
  97. package/dist/pin-input/pin-input-control.d.ts +1 -1
  98. package/dist/pin-input/pin-input-field.d.ts +1 -1
  99. package/dist/pin-input/pin-input-label.d.ts +1 -1
  100. package/dist/pin-input/pin-input.d.ts +3 -3
  101. package/dist/pin-input/use-pin-input.d.ts +1 -1
  102. package/dist/popover/popover-anchor.d.ts +1 -1
  103. package/dist/popover/popover-arrow-tip.d.ts +1 -1
  104. package/dist/popover/popover-arrow.d.ts +1 -1
  105. package/dist/popover/popover-close-trigger.d.ts +1 -1
  106. package/dist/popover/popover-content.d.ts +1 -1
  107. package/dist/popover/popover-context.d.ts +1 -1
  108. package/dist/popover/popover-description.d.ts +1 -1
  109. package/dist/popover/popover-positioner.d.ts +1 -1
  110. package/dist/popover/popover-title.d.ts +1 -1
  111. package/dist/popover/popover-trigger.d.ts +1 -1
  112. package/dist/popover/popover.d.ts +2 -2
  113. package/dist/popover/use-popover.d.ts +1 -1
  114. package/dist/pressable/pressable.d.ts +3 -3
  115. package/dist/pressable/use-pressable.d.ts +1 -1
  116. package/dist/radio-group/radio-context.d.ts +1 -1
  117. package/dist/radio-group/radio-control.d.ts +1 -1
  118. package/dist/radio-group/radio-group-context.d.ts +1 -1
  119. package/dist/radio-group/radio-group-label.d.ts +1 -1
  120. package/dist/radio-group/radio-group.d.ts +3 -3
  121. package/dist/radio-group/radio-input.d.ts +1 -1
  122. package/dist/radio-group/radio-label.d.ts +1 -1
  123. package/dist/radio-group/radio.d.ts +2 -2
  124. package/dist/radio-group/use-radio-group.d.ts +1 -1
  125. package/dist/range-slider/range-slider-context.d.ts +1 -1
  126. package/dist/range-slider/range-slider-control.d.ts +1 -1
  127. package/dist/range-slider/range-slider-marker-group.d.ts +1 -1
  128. package/dist/range-slider/range-slider-marker.d.ts +2 -2
  129. package/dist/range-slider/range-slider-output.d.ts +4 -4
  130. package/dist/range-slider/range-slider-range.d.ts +1 -1
  131. package/dist/range-slider/range-slider-thumb.d.ts +2 -2
  132. package/dist/range-slider/range-slider-track.d.ts +1 -1
  133. package/dist/range-slider/range-slider.d.ts +4 -4
  134. package/dist/range-slider/use-range-slider.d.ts +1 -1
  135. package/dist/rating-group/rating-context.d.ts +1 -1
  136. package/dist/rating-group/rating-group-context.d.ts +1 -1
  137. package/dist/rating-group/rating-group-control.d.ts +3 -3
  138. package/dist/rating-group/rating-group-label.d.ts +1 -1
  139. package/dist/rating-group/rating-group.d.ts +3 -3
  140. package/dist/rating-group/rating.d.ts +3 -3
  141. package/dist/rating-group/use-rating-group.d.ts +1 -1
  142. package/dist/select/select-content.d.ts +1 -1
  143. package/dist/select/select-context.d.ts +1 -1
  144. package/dist/select/select-label.d.ts +1 -1
  145. package/dist/select/select-option-group-label.d.ts +2 -2
  146. package/dist/select/select-option-group.d.ts +2 -2
  147. package/dist/select/select-option.d.ts +2 -2
  148. package/dist/select/select-positioner.d.ts +1 -1
  149. package/dist/select/select-trigger.d.ts +1 -1
  150. package/dist/select/select.d.ts +3 -3
  151. package/dist/select/use-select.d.ts +1 -1
  152. package/dist/slider/slider-context.d.ts +1 -1
  153. package/dist/slider/slider-control.d.ts +1 -1
  154. package/dist/slider/slider-marker-group.d.ts +1 -1
  155. package/dist/slider/slider-marker.d.ts +2 -2
  156. package/dist/slider/slider-output.d.ts +4 -4
  157. package/dist/slider/slider-range.d.ts +1 -1
  158. package/dist/slider/slider-thumb.d.ts +1 -1
  159. package/dist/slider/slider-track.d.ts +1 -1
  160. package/dist/slider/slider.d.ts +5 -5
  161. package/dist/slider/use-slider.d.ts +1 -1
  162. package/dist/splitter/splitter-context.d.ts +1 -1
  163. package/dist/splitter/splitter-panel.d.ts +3 -3
  164. package/dist/splitter/splitter-resize-trigger.d.ts +3 -3
  165. package/dist/splitter/splitter.d.ts +3 -3
  166. package/dist/splitter/use-splitter.d.ts +2 -2
  167. package/dist/tabs/tab-content.d.ts +3 -3
  168. package/dist/tabs/tab-indicator.d.ts +1 -1
  169. package/dist/tabs/tab-list.d.ts +1 -1
  170. package/dist/tabs/tab-trigger.d.ts +3 -3
  171. package/dist/tabs/tabs-context.d.ts +1 -1
  172. package/dist/tabs/tabs.d.ts +3 -3
  173. package/dist/tabs/use-tabs.d.ts +2 -2
  174. package/dist/tags-input/tag-delete-trigger.d.ts +3 -3
  175. package/dist/tags-input/tag-input.d.ts +3 -3
  176. package/dist/tags-input/tag.d.ts +2 -2
  177. package/dist/tags-input/tags-input-clear-trigger.d.ts +1 -1
  178. package/dist/tags-input/tags-input-context.d.ts +1 -1
  179. package/dist/tags-input/tags-input-control.d.ts +1 -1
  180. package/dist/tags-input/tags-input-field.d.ts +1 -1
  181. package/dist/tags-input/tags-input-label.d.ts +1 -1
  182. package/dist/tags-input/tags-input.d.ts +4 -4
  183. package/dist/tags-input/use-tags-input.d.ts +1 -1
  184. package/dist/toast/toast-close-trigger.d.ts +1 -1
  185. package/dist/toast/toast-description.d.ts +1 -1
  186. package/dist/toast/toast-group.d.ts +4 -4
  187. package/dist/toast/toast-item-context.d.ts +1 -1
  188. package/dist/toast/toast-placements.d.ts +2 -2
  189. package/dist/toast/toast-provider.d.ts +2 -2
  190. package/dist/toast/toast-title.d.ts +1 -1
  191. package/dist/toast/toast.d.ts +3 -3
  192. package/dist/tooltip/tooltip-arrow-tip.d.ts +1 -1
  193. package/dist/tooltip/tooltip-arrow.d.ts +1 -1
  194. package/dist/tooltip/tooltip-content.d.ts +1 -1
  195. package/dist/tooltip/tooltip-context.d.ts +1 -1
  196. package/dist/tooltip/tooltip-positioner.d.ts +1 -1
  197. package/dist/tooltip/tooltip-trigger.d.ts +1 -1
  198. package/dist/tooltip/tooltip.d.ts +2 -2
  199. package/dist/tooltip/use-tooltip.d.ts +1 -1
  200. package/dist/use-effect-once.d.ts +1 -1
  201. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
3
- import type { Assign } from '../types';
4
- import type { UseMenuReturn } from './use-menu';
2
+ import { type HTMLArkProps } from '../factory';
3
+ import { type Assign } from '../types';
4
+ import { type UseMenuReturn } from './use-menu';
5
5
  type MenuItemGroupParams = Parameters<UseMenuReturn['api']['getItemGroupProps']>[0];
6
6
  export type MenuItemGroupProps = Assign<HTMLArkProps<'div'>, MenuItemGroupParams>;
7
7
  export declare const MenuItemGroup: ComponentWithAs<"div", MenuItemGroupProps>;
@@ -1,7 +1,7 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
3
- import type { Assign } from '../types';
4
- import type { UseMenuReturn } from './use-menu';
2
+ import { type HTMLArkProps } from '../factory';
3
+ import { type Assign } from '../types';
4
+ import { type UseMenuReturn } from './use-menu';
5
5
  type MenuItemParams = Parameters<UseMenuReturn['api']['getItemProps']>[0];
6
6
  export type MenuItemProps = Assign<HTMLArkProps<'button'>, MenuItemParams>;
7
7
  export declare const MenuItem: ComponentWithAs<"div", MenuItemProps>;
@@ -1,8 +1,8 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import type { connect } from '@zag-js/menu';
3
- import type { ReactNode } from 'react';
4
- import { HTMLArkProps } from '../factory';
5
- import type { Assign } from '../types';
2
+ import { type connect } from '@zag-js/menu';
3
+ import { type ReactNode } from 'react';
4
+ import { type HTMLArkProps } from '../factory';
5
+ import { type Assign } from '../types';
6
6
  export type MenuOptionItemState = {
7
7
  isActive: boolean;
8
8
  };
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type MenuPositionerProps = HTMLArkProps<'div'>;
4
4
  export declare const MenuPositioner: ComponentWithAs<"div", MenuPositionerProps>;
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type MenuSeparatorProps = HTMLArkProps<'hr'>;
4
4
  export declare const MenuSeparator: ComponentWithAs<"hr", MenuSeparatorProps>;
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type MenuTriggerItemProps = HTMLArkProps<'div'>;
4
4
  export declare const MenuTriggerItem: ComponentWithAs<"div", MenuTriggerItemProps>;
@@ -1,4 +1,4 @@
1
- import type { JSXElementConstructor, ReactElement } from 'react';
1
+ import type { JSXElementConstructor, type ReactElement } from 'react';
2
2
  export type MenuTriggerProps = {
3
3
  children: ReactElement;
4
4
  };
@@ -1,6 +1,6 @@
1
- import { ReactNode } from 'react';
2
- import type { Assign } from '../types';
3
- import { UseMenuProps } from './use-menu';
1
+ import { type ReactNode } from 'react';
2
+ import { type Assign } from '../types';
3
+ import { type UseMenuProps } from './use-menu';
4
4
  export type MenuState = {
5
5
  isOpen: boolean;
6
6
  onClose: () => void;
@@ -1,5 +1,5 @@
1
1
  import * as menu from '@zag-js/menu';
2
- import type { Optional } from '../types';
2
+ import { type Optional } from '../types';
3
3
  export type UseMenuProps = Optional<menu.Context, 'id'>;
4
4
  export type UseMenuReturn = {
5
5
  machine: ReturnType<typeof menu.machine>;
@@ -1,5 +1,5 @@
1
1
  import type { Provider, HTMLAttributes, DetailedHTMLProps, LabelHTMLAttributes, InputHTMLAttributes, ButtonHTMLAttributes } from 'react';
2
- import type { UseNumberInputReturn } from './use-number-input';
2
+ import { type UseNumberInputReturn } from './use-number-input';
3
3
  export type NumberInputContext = UseNumberInputReturn;
4
4
  export declare const NumberInputProvider: Provider<{
5
5
  isFocused: boolean;
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type NumberInputControlProps = HTMLArkProps<'div'>;
4
4
  export declare const NumberInputControl: ComponentWithAs<"div", NumberInputControlProps>;
@@ -1,4 +1,4 @@
1
- import type { JSXElementConstructor, ReactElement } from 'react';
1
+ import type { JSXElementConstructor, type ReactElement } from 'react';
2
2
  export type NumberInputDecrementTriggerProps = {
3
3
  children: ReactElement;
4
4
  };
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type NumberInputFieldProps = HTMLArkProps<'input'>;
4
4
  export declare const NumberInputField: ComponentWithAs<"input", NumberInputFieldProps>;
@@ -1,4 +1,4 @@
1
- import type { JSXElementConstructor, ReactElement } from 'react';
1
+ import type { JSXElementConstructor, type ReactElement } from 'react';
2
2
  export type NumberInputIncrementTriggerProps = {
3
3
  children: ReactElement;
4
4
  };
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type NumberInputLabelProps = HTMLArkProps<'label'>;
4
4
  export declare const NumberInputLabel: ComponentWithAs<"label", NumberInputLabelProps>;
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type NumberInputScrubberProps = HTMLArkProps<'div'>;
4
4
  export declare const NumberInputScrubber: ComponentWithAs<"div", NumberInputScrubberProps>;
@@ -1,6 +1,6 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
3
- import type { Assign } from '../types';
4
- import { UseNumberInputProps } from './use-number-input';
2
+ import { type HTMLArkProps } from '../factory';
3
+ import { type Assign } from '../types';
4
+ import { type UseNumberInputProps } from './use-number-input';
5
5
  export type NumberInputProps = Assign<HTMLArkProps<'div'>, UseNumberInputProps>;
6
6
  export declare const NumberInput: ComponentWithAs<"div", NumberInputProps>;
@@ -1,6 +1,6 @@
1
1
  import type { HTMLAttributes, DetailedHTMLProps, LabelHTMLAttributes, InputHTMLAttributes, ButtonHTMLAttributes } from 'react';
2
2
  import * as numberInput from '@zag-js/number-input';
3
- import type { Optional } from '../types';
3
+ import { type Optional } from '../types';
4
4
  export type UseNumberInputProps = Optional<numberInput.Context, 'id'> & {
5
5
  defaultValue?: numberInput.Context['value'];
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import type { PaginationRange } from '@zag-js/pagination/dist/pagination.types';
2
2
  import type { Provider, HTMLAttributes } from 'react';
3
- import type { UsePaginationReturn } from './use-pagination';
3
+ import { type UsePaginationReturn } from './use-pagination';
4
4
  export type PaginationContext = UsePaginationReturn;
5
5
  export declare const PaginationProvider: Provider<{
6
6
  page: number;
@@ -1,6 +1,6 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
3
- import type { Assign } from '../types';
2
+ import { type HTMLArkProps } from '../factory';
3
+ import { type Assign } from '../types';
4
4
  export type PaginationEllipsisProps = Assign<HTMLArkProps<'li'>, {
5
5
  index: number;
6
6
  }>;
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type PaginationListProps = HTMLArkProps<'ul'>;
4
4
  export declare const PaginationList: ComponentWithAs<"ul", PaginationListProps>;
@@ -1,6 +1,6 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { ReactElement } from 'react';
3
- import { HTMLArkProps } from '../factory';
2
+ import { type ReactElement } from 'react';
3
+ import { type HTMLArkProps } from '../factory';
4
4
  export type PaginationNextPageTriggerProps = HTMLArkProps<'li'> & {
5
5
  children: ReactElement;
6
6
  };
@@ -1,7 +1,7 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { ReactElement } from 'react';
3
- import { HTMLArkProps } from '../factory';
4
- import type { Assign } from '../types';
2
+ import { type ReactElement } from 'react';
3
+ import { type HTMLArkProps } from '../factory';
4
+ import { type Assign } from '../types';
5
5
  export type PaginationPageTriggerProps = Assign<HTMLArkProps<'li'>, {
6
6
  children: ReactElement;
7
7
  value: number;
@@ -1,6 +1,6 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { ReactElement } from 'react';
3
- import { HTMLArkProps } from '../factory';
2
+ import { type ReactElement } from 'react';
3
+ import { type HTMLArkProps } from '../factory';
4
4
  export type PaginationPrevPageTriggerProps = HTMLArkProps<'li'> & {
5
5
  children: ReactElement;
6
6
  };
@@ -1,8 +1,8 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import type { ReactNode } from 'react';
3
- import { HTMLArkProps } from '../factory';
4
- import type { Assign } from '../types';
5
- import { UsePaginationProps, UsePaginationReturn } from './use-pagination';
2
+ import { type ReactNode } from 'react';
3
+ import { type HTMLArkProps } from '../factory';
4
+ import { type Assign } from '../types';
5
+ import { type UsePaginationProps, type UsePaginationReturn } from './use-pagination';
6
6
  export type PaginationProps = Assign<Assign<HTMLArkProps<'nav'>, UsePaginationProps>, {
7
7
  children: ReactNode | ((pages: UsePaginationReturn) => ReactNode);
8
8
  }>;
@@ -1,7 +1,7 @@
1
1
  import type { HTMLAttributes } from 'react';
2
2
  import type { PaginationRange } from '@zag-js/pagination/dist/pagination.types';
3
3
  import * as pagination from '@zag-js/pagination';
4
- import type { Optional } from '../types';
4
+ import { type Optional } from '../types';
5
5
  export type UsePaginationProps = Optional<pagination.Context, 'id'>;
6
6
  export declare const usePagination: (props: UsePaginationProps) => {
7
7
  page: number;
@@ -1,5 +1,5 @@
1
1
  import type { Provider, HTMLAttributes, DetailedHTMLProps, LabelHTMLAttributes, InputHTMLAttributes } from 'react';
2
- import type { UsePinInputReturn } from './use-pin-input';
2
+ import { type UsePinInputReturn } from './use-pin-input';
3
3
  export type PinInputContext = UsePinInputReturn;
4
4
  export declare const PinInputProvider: Provider<{
5
5
  value: string[];
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type PinInputControlProps = HTMLArkProps<'div'>;
4
4
  export declare const PinInputControl: ComponentWithAs<"div", PinInputControlProps>;
@@ -1,5 +1,5 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type PinInputFieldProps = {
4
4
  index: number;
5
5
  } & HTMLArkProps<'input'>;
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type PinInputLabelProps = HTMLArkProps<'label'>;
4
4
  export declare const PinInputLabel: ComponentWithAs<"label", PinInputLabelProps>;
@@ -1,6 +1,6 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
3
- import type { Assign } from '../types';
4
- import { UsePinInputProps } from './use-pin-input';
2
+ import { type HTMLArkProps } from '../factory';
3
+ import { type Assign } from '../types';
4
+ import { type UsePinInputProps } from './use-pin-input';
5
5
  export type PinInputProps = Assign<HTMLArkProps<'div'>, UsePinInputProps>;
6
6
  export declare const PinInput: ComponentWithAs<"div", PinInputProps>;
@@ -1,6 +1,6 @@
1
1
  import type { HTMLAttributes, DetailedHTMLProps, LabelHTMLAttributes, InputHTMLAttributes } from 'react';
2
2
  import * as pinInput from '@zag-js/pin-input';
3
- import type { Optional } from '../types';
3
+ import { type Optional } from '../types';
4
4
  export type UsePinInputProps = Optional<pinInput.Context, 'id'> & {
5
5
  defaultValue?: pinInput.Context['value'];
6
6
  };
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type PopoverAnchorProps = HTMLArkProps<'div'>;
4
4
  export declare const PopoverAnchor: ComponentWithAs<"div", PopoverAnchorProps>;
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type PopoverArrowTipProps = HTMLArkProps<'div'>;
4
4
  export declare const PopoverArrowTip: ComponentWithAs<"div", PopoverArrowTipProps>;
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type PopoverArrowProps = HTMLArkProps<'div'>;
4
4
  export declare const PopoverArrow: ComponentWithAs<"div", PopoverArrowProps>;
@@ -1,4 +1,4 @@
1
- import type { JSXElementConstructor, ReactElement } from 'react';
1
+ import type { JSXElementConstructor, type ReactElement } from 'react';
2
2
  export type PopoverCloseTriggerProps = {
3
3
  children: ReactElement;
4
4
  };
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type PopoverContentProps = HTMLArkProps<'div'>;
4
4
  export declare const PopoverContent: ComponentWithAs<"div", PopoverContentProps>;
@@ -1,5 +1,5 @@
1
1
  import type { Provider, HTMLAttributes, DetailedHTMLProps, ButtonHTMLAttributes } from 'react';
2
- import type { UsePopoverReturn } from './use-popover';
2
+ import { type UsePopoverReturn } from './use-popover';
3
3
  export type PopoverContext = UsePopoverReturn;
4
4
  export declare const PopoverProvider: Provider<{
5
5
  portalled: boolean;
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type PopoverDescriptionProps = HTMLArkProps<'div'>;
4
4
  export declare const PopoverDescription: ComponentWithAs<"div", PopoverDescriptionProps>;
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type PopoverPositionerProps = HTMLArkProps<'div'>;
4
4
  export declare const PopoverPositioner: ComponentWithAs<"div", PopoverPositionerProps>;
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type PopoverTitleProps = HTMLArkProps<'div'>;
4
4
  export declare const PopoverTitle: ComponentWithAs<"div", PopoverTitleProps>;
@@ -1,4 +1,4 @@
1
- import type { JSXElementConstructor, ReactElement } from 'react';
1
+ import type { JSXElementConstructor, type ReactElement } from 'react';
2
2
  export type PopoverTriggerProps = {
3
3
  children: ReactElement;
4
4
  };
@@ -1,4 +1,4 @@
1
- import type { PropsWithChildren } from 'react';
2
- import { UsePopoverProps } from './use-popover';
1
+ import { type PropsWithChildren } from 'react';
2
+ import { type UsePopoverProps } from './use-popover';
3
3
  export type PopoverProps = PropsWithChildren<UsePopoverProps>;
4
4
  export declare const Popover: (props: PopoverProps) => JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import type { HTMLAttributes, DetailedHTMLProps, ButtonHTMLAttributes } from 'react';
2
2
  import * as popover from '@zag-js/popover';
3
- import type { Optional } from '../types';
3
+ import { type Optional } from '../types';
4
4
  export type UsePopoverProps = Optional<popover.Context, 'id'> & {
5
5
  /**
6
6
  * Control the open state of the popover.
@@ -1,6 +1,6 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
3
- import type { Assign } from '../types';
4
- import { UsePressableProps } from './use-pressable';
2
+ import { type HTMLArkProps } from '../factory';
3
+ import { type Assign } from '../types';
4
+ import { type UsePressableProps } from './use-pressable';
5
5
  export type PressableProps = Assign<HTMLArkProps<'button'>, UsePressableProps>;
6
6
  export declare const Pressable: ComponentWithAs<"button", PressableProps>;
@@ -1,6 +1,6 @@
1
1
  import type { HTMLAttributes } from 'react';
2
2
  import * as pressable from '@zag-js/pressable';
3
- import type { Optional } from '../types';
3
+ import { type Optional } from '../types';
4
4
  export type UsePressableProps = Optional<pressable.Context, 'id'>;
5
5
  export type UsePressableReturn = ReturnType<typeof usePressable>;
6
6
  export declare const usePressable: (props?: UsePressableProps) => {
@@ -1,5 +1,5 @@
1
1
  import type { RadioProps } from '@zag-js/radio-group/dist/radio-group.types';
2
2
  import type { Provider } from 'react';
3
- import type { connect } from '@zag-js/radio-group';
3
+ import { type connect } from '@zag-js/radio-group';
4
4
  export type RadioContext = Parameters<ReturnType<typeof connect>['getRadioProps']>[0];
5
5
  export declare const RadioProvider: Provider<RadioProps>, useRadioContext: () => RadioProps;
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type RadioControlProps = HTMLArkProps<'div'>;
4
4
  export declare const RadioControl: ComponentWithAs<"div", RadioControlProps>;
@@ -1,6 +1,6 @@
1
1
  import type { RadioProps, InputProps } from '@zag-js/radio-group/dist/radio-group.types';
2
2
  import type { Provider, HTMLAttributes, DetailedHTMLProps, LabelHTMLAttributes, InputHTMLAttributes } from 'react';
3
- import type { UseRadioGroupReturn } from './use-radio-group';
3
+ import { type UseRadioGroupReturn } from './use-radio-group';
4
4
  export type RadioGroupContext = UseRadioGroupReturn;
5
5
  export declare const RadioGroupProvider: Provider<{
6
6
  value: string | null;
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type RadioGroupLabelProps = HTMLArkProps<'label'>;
4
4
  export declare const RadioGroupLabel: ComponentWithAs<"label", RadioGroupLabelProps>;
@@ -1,6 +1,6 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
3
- import type { Assign } from '../types';
4
- import { UseRadioGroupProps } from './use-radio-group';
2
+ import { type HTMLArkProps } from '../factory';
3
+ import { type Assign } from '../types';
4
+ import { type UseRadioGroupProps } from './use-radio-group';
5
5
  export type RadioGroupProps = Assign<HTMLArkProps<'div'>, UseRadioGroupProps>;
6
6
  export declare const RadioGroup: ComponentWithAs<"div", UseRadioGroupProps>;
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type RadioInputProps = HTMLArkProps<'input'>;
4
4
  export declare const RadioInput: ComponentWithAs<"input", RadioInputProps>;
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type RadioLabelProps = HTMLArkProps<'span'>;
4
4
  export declare const RadioLabel: ComponentWithAs<"span", RadioLabelProps>;
@@ -1,5 +1,5 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
3
- import { RadioContext } from './radio-context';
2
+ import { type HTMLArkProps } from '../factory';
3
+ import { type RadioContext } from './radio-context';
4
4
  export type RadioProps = Omit<HTMLArkProps<'label'>, keyof RadioContext> & RadioContext;
5
5
  export declare const Radio: ComponentWithAs<"label", RadioProps>;
@@ -1,7 +1,7 @@
1
1
  import type { HTMLAttributes, DetailedHTMLProps, LabelHTMLAttributes, InputHTMLAttributes } from 'react';
2
2
  import type { RadioProps, InputProps } from '@zag-js/radio-group/dist/radio-group.types';
3
3
  import * as radio from '@zag-js/radio-group';
4
- import type { Optional } from '../types';
4
+ import { type Optional } from '../types';
5
5
  export type UseRadioGroupProps = Optional<radio.Context, 'id'> & {
6
6
  defaultValue?: radio.Context['value'];
7
7
  };
@@ -1,5 +1,5 @@
1
1
  import type { Provider, DetailedHTMLProps, LabelHTMLAttributes, HTMLAttributes, OutputHTMLAttributes, InputHTMLAttributes } from 'react';
2
- import type { UseRangeSliderReturn } from './use-range-slider';
2
+ import { type UseRangeSliderReturn } from './use-range-slider';
3
3
  export type RangeSliderContext = UseRangeSliderReturn;
4
4
  export declare const RangeSliderProvider: Provider<{
5
5
  value: number[];
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type RangeSliderControlProps = HTMLArkProps<'div'>;
4
4
  export declare const RangeSliderControl: ComponentWithAs<"div", RangeSliderControlProps>;
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type RangeSliderMarkerGroupProps = HTMLArkProps<'div'>;
4
4
  export declare const RangeSliderMarkerGroup: ComponentWithAs<"div", RangeSliderMarkerGroupProps>;
@@ -1,5 +1,5 @@
1
- import type { ComponentWithAs, Assign } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
1
+ import type { ComponentWithAs, type Assign } from '@polymorphic-factory/react';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type RangeSliderMarkerProps = Assign<HTMLArkProps<'span'>, {
4
4
  value: number;
5
5
  }>;
@@ -1,8 +1,8 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import type { ReactNode } from 'react';
3
- import { HTMLArkProps } from '../factory';
4
- import type { Assign } from '../types';
5
- import type { UseRangeSliderReturn } from './use-range-slider';
2
+ import { type ReactNode } from 'react';
3
+ import { type HTMLArkProps } from '../factory';
4
+ import { type Assign } from '../types';
5
+ import { type UseRangeSliderReturn } from './use-range-slider';
6
6
  export type RangeSliderOutputProps = Assign<HTMLArkProps<'output'>, {
7
7
  children?: ((api: UseRangeSliderReturn) => ReactNode) | ReactNode;
8
8
  }>;
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type RangeSliderRangeProps = HTMLArkProps<'div'>;
4
4
  export declare const RangeSliderRange: ComponentWithAs<"div", RangeSliderRangeProps>;
@@ -1,6 +1,6 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
3
- import type { Assign } from '../types';
2
+ import { type HTMLArkProps } from '../factory';
3
+ import { type Assign } from '../types';
4
4
  export type RangeSliderThumbProps = Assign<HTMLArkProps<'div'>, {
5
5
  index: number;
6
6
  }>;
@@ -1,4 +1,4 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import { HTMLArkProps } from '../factory';
2
+ import { type HTMLArkProps } from '../factory';
3
3
  export type RangeSliderTrackProps = HTMLArkProps<'div'>;
4
4
  export declare const RangeSliderTrack: ComponentWithAs<"div", RangeSliderTrackProps>;
@@ -1,8 +1,8 @@
1
1
  import type { ComponentWithAs } from '@polymorphic-factory/react';
2
- import type { ReactNode } from 'react';
3
- import { HTMLArkProps } from '../factory';
4
- import type { Assign } from '../types';
5
- import { UseRangeSliderProps, UseRangeSliderReturn } from './use-range-slider';
2
+ import { type ReactNode } from 'react';
3
+ import { type HTMLArkProps } from '../factory';
4
+ import { type Assign } from '../types';
5
+ import { type UseRangeSliderProps, type UseRangeSliderReturn } from './use-range-slider';
6
6
  export type RangeSliderProps = Assign<HTMLArkProps<'div'>, UseRangeSliderProps & {
7
7
  children?: ((api: UseRangeSliderReturn) => ReactNode) | ReactNode;
8
8
  }>;
@@ -1,6 +1,6 @@
1
1
  import type { DetailedHTMLProps, LabelHTMLAttributes, HTMLAttributes, OutputHTMLAttributes, InputHTMLAttributes } from 'react';
2
2
  import * as rangeSlider from '@zag-js/range-slider';
3
- import type { Optional } from '../types';
3
+ import { type Optional } from '../types';
4
4
  export type UseRangeSliderProps = Optional<rangeSlider.Context, 'id'> & {
5
5
  defaultValue?: rangeSlider.Context['value'];
6
6
  };
@@ -1,5 +1,5 @@
1
1
  import type { Provider } from 'react';
2
- import type { connect } from '@zag-js/rating-group';
2
+ import { type connect } from '@zag-js/rating-group';
3
3
  export type RatingContext = ReturnType<ReturnType<typeof connect>['getRatingState']>;
4
4
  export declare const RatingProvider: Provider<{
5
5
  isEqual: boolean;
@@ -1,5 +1,5 @@
1
1
  import type { Provider, HTMLAttributes, DetailedHTMLProps, InputHTMLAttributes } from 'react';
2
- import type { UseRatingGroupReturn } from './use-rating-group';
2
+ import { type UseRatingGroupReturn } from './use-rating-group';
3
3
  export type RatingGroupContext = UseRatingGroupReturn;
4
4
  export declare const RatingGroupProvider: Provider<{
5
5
  isHovering: boolean;