@yamada-ui/react 2.2.1-dev-20260428155230 → 2.2.1-dev-20260428160818

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 (253) hide show
  1. package/dist/cjs/components/breadcrumb/use-breadcrumb.cjs +3 -5
  2. package/dist/cjs/components/breadcrumb/use-breadcrumb.cjs.map +1 -1
  3. package/dist/esm/components/breadcrumb/use-breadcrumb.js +3 -5
  4. package/dist/esm/components/breadcrumb/use-breadcrumb.js.map +1 -1
  5. package/dist/types/components/accordion/accordion.d.ts +4 -2
  6. package/dist/types/components/accordion/accordion.style.d.ts +1 -1
  7. package/dist/types/components/accordion/use-accordion.d.ts +11 -11
  8. package/dist/types/components/action-bar/action-bar.d.ts +3 -2
  9. package/dist/types/components/airy/airy.d.ts +3 -2
  10. package/dist/types/components/alert/alert.d.ts +5 -2
  11. package/dist/types/components/alpha-slider/alpha-slider.d.ts +3 -2
  12. package/dist/types/components/aspect-ratio/aspect-ratio.d.ts +2 -2
  13. package/dist/types/components/autocomplete/autocomplete.d.ts +4 -2
  14. package/dist/types/components/autocomplete/autocomplete.style.d.ts +1 -1
  15. package/dist/types/components/autocomplete/use-autocomplete.d.ts +7 -5
  16. package/dist/types/components/avatar/avatar.d.ts +5 -5
  17. package/dist/types/components/avatar/use-avatar-group.d.ts +2 -2
  18. package/dist/types/components/badge/badge.d.ts +2 -2
  19. package/dist/types/components/bleed/bleed.d.ts +2 -2
  20. package/dist/types/components/blockquote/blockquote.d.ts +2 -2
  21. package/dist/types/components/breadcrumb/breadcrumb.d.ts +2 -2
  22. package/dist/types/components/breadcrumb/breadcrumb.style.d.ts +1 -1
  23. package/dist/types/components/breadcrumb/use-breadcrumb.d.ts +2 -2
  24. package/dist/types/components/button/button-group.d.ts +1 -0
  25. package/dist/types/components/button/button.d.ts +3 -2
  26. package/dist/types/components/button/icon-button.d.ts +2 -2
  27. package/dist/types/components/calendar/calendar.d.ts +3 -2
  28. package/dist/types/components/calendar/calendar.style.d.ts +2 -2
  29. package/dist/types/components/calendar/use-calendar.d.ts +9 -8
  30. package/dist/types/components/card/card.d.ts +2 -2
  31. package/dist/types/components/carousel/carousel.d.ts +3 -2
  32. package/dist/types/components/carousel/carousel.style.d.ts +2 -2
  33. package/dist/types/components/carousel/use-carousel.d.ts +3 -3
  34. package/dist/types/components/center/center.d.ts +2 -2
  35. package/dist/types/components/chart/area-chart.d.ts +2 -2
  36. package/dist/types/components/chart/bar-chart.d.ts +2 -2
  37. package/dist/types/components/chart/chart.d.ts +5 -5
  38. package/dist/types/components/chart/composed-chart.d.ts +2 -2
  39. package/dist/types/components/chart/donut-chart.d.ts +2 -2
  40. package/dist/types/components/chart/pie-chart.d.ts +2 -2
  41. package/dist/types/components/chart/radar-chart.d.ts +2 -2
  42. package/dist/types/components/chart/radial-chart.d.ts +2 -2
  43. package/dist/types/components/chart/use-chart.d.ts +2 -2
  44. package/dist/types/components/checkbox/checkbox-group.d.ts +2 -0
  45. package/dist/types/components/checkbox/checkbox.d.ts +5 -4
  46. package/dist/types/components/checkbox/use-checkbox-group.d.ts +3 -2
  47. package/dist/types/components/checkbox/use-checkbox.d.ts +1 -0
  48. package/dist/types/components/checkbox-card/checkbox-card-group.d.ts +3 -0
  49. package/dist/types/components/checkbox-card/checkbox-card.d.ts +6 -4
  50. package/dist/types/components/circle-progress/circle-progress.d.ts +3 -2
  51. package/dist/types/components/close-button/close-button.d.ts +3 -2
  52. package/dist/types/components/code/code.d.ts +2 -2
  53. package/dist/types/components/collapse/collapse.d.ts +3 -2
  54. package/dist/types/components/color-picker/color-picker.d.ts +6 -2
  55. package/dist/types/components/color-picker/color-picker.style.d.ts +1 -1
  56. package/dist/types/components/color-picker/use-color-picker.d.ts +5 -2
  57. package/dist/types/components/color-selector/color-selector.d.ts +6 -2
  58. package/dist/types/components/color-selector/color-selector.style.d.ts +2 -2
  59. package/dist/types/components/color-selector/use-color-selector.d.ts +5 -3
  60. package/dist/types/components/color-swatch/color-swatch.d.ts +2 -2
  61. package/dist/types/components/container/container.d.ts +2 -2
  62. package/dist/types/components/data-list/data-list.d.ts +2 -2
  63. package/dist/types/components/data-list/data-list.style.d.ts +1 -1
  64. package/dist/types/components/date-picker/date-picker.d.ts +5 -2
  65. package/dist/types/components/date-picker/use-date-picker.d.ts +7 -4
  66. package/dist/types/components/drawer/drawer.d.ts +5 -2
  67. package/dist/types/components/drawer/drawer.style.d.ts +2 -2
  68. package/dist/types/components/drawer/use-drawer.d.ts +2 -0
  69. package/dist/types/components/dropzone/dropzone.d.ts +7 -4
  70. package/dist/types/components/dropzone/use-dropzone.d.ts +1 -0
  71. package/dist/types/components/editable/editable.d.ts +5 -4
  72. package/dist/types/components/editable/use-editable.d.ts +3 -2
  73. package/dist/types/components/em/em.d.ts +2 -2
  74. package/dist/types/components/empty-state/empty-state.d.ts +2 -2
  75. package/dist/types/components/fade/fade.d.ts +3 -2
  76. package/dist/types/components/fade-scale/fade-scale.d.ts +1 -0
  77. package/dist/types/components/field/field.d.ts +3 -3
  78. package/dist/types/components/field/use-field-props.d.ts +3 -3
  79. package/dist/types/components/fieldset/fieldset.d.ts +4 -3
  80. package/dist/types/components/file-button/file-button.d.ts +4 -2
  81. package/dist/types/components/file-button/use-file-button.d.ts +20 -18
  82. package/dist/types/components/file-input/file-input.d.ts +4 -2
  83. package/dist/types/components/file-input/use-file-input.d.ts +16 -15
  84. package/dist/types/components/flex/flex.d.ts +2 -2
  85. package/dist/types/components/flip/flip.d.ts +5 -4
  86. package/dist/types/components/flip/flip.style.d.ts +1 -1
  87. package/dist/types/components/float/float.d.ts +2 -2
  88. package/dist/types/components/form/form.d.ts +4 -3
  89. package/dist/types/components/format/format-byte.d.ts +4 -4
  90. package/dist/types/components/format/format-date-time.d.ts +4 -4
  91. package/dist/types/components/format/format-number.d.ts +2 -2
  92. package/dist/types/components/format/use-format-byte.d.ts +1 -0
  93. package/dist/types/components/format/use-format-date-time.d.ts +1 -0
  94. package/dist/types/components/format/use-format-number.d.ts +1 -0
  95. package/dist/types/components/grid/grid-item.d.ts +2 -2
  96. package/dist/types/components/grid/grid.d.ts +2 -2
  97. package/dist/types/components/group/group.d.ts +3 -2
  98. package/dist/types/components/group/use-group.d.ts +2 -2
  99. package/dist/types/components/heading/heading.d.ts +2 -2
  100. package/dist/types/components/highlight/highlight.d.ts +2 -0
  101. package/dist/types/components/hue-slider/hue-slider.d.ts +4 -3
  102. package/dist/types/components/icon/icon.d.ts +5 -5
  103. package/dist/types/components/image/image.d.ts +2 -2
  104. package/dist/types/components/indicator/indicator.d.ts +5 -4
  105. package/dist/types/components/infinite-scroll-area/infinite-scroll-area.d.ts +2 -2
  106. package/dist/types/components/input/input-addon.d.ts +2 -2
  107. package/dist/types/components/input/input-element.d.ts +2 -2
  108. package/dist/types/components/input/input-group.d.ts +2 -0
  109. package/dist/types/components/input/input.d.ts +3 -2
  110. package/dist/types/components/kbd/kbd.d.ts +2 -2
  111. package/dist/types/components/link/link.d.ts +2 -2
  112. package/dist/types/components/link-box/link-box.d.ts +2 -2
  113. package/dist/types/components/list/list.d.ts +2 -2
  114. package/dist/types/components/list/list.style.d.ts +2 -2
  115. package/dist/types/components/loading/loading-provider.d.ts +2 -2
  116. package/dist/types/components/loading/loading.d.ts +4 -3
  117. package/dist/types/components/loading/use-loading-component.d.ts +1 -0
  118. package/dist/types/components/mark/mark.d.ts +2 -2
  119. package/dist/types/components/menu/menu.d.ts +3 -2
  120. package/dist/types/components/menu/use-menu.d.ts +11 -11
  121. package/dist/types/components/modal/modal.d.ts +6 -2
  122. package/dist/types/components/modal/modal.style.d.ts +2 -2
  123. package/dist/types/components/native-accordion/native-accordion.d.ts +2 -2
  124. package/dist/types/components/native-accordion/native-accordion.style.d.ts +2 -2
  125. package/dist/types/components/native-accordion/use-native-accordion.d.ts +2 -2
  126. package/dist/types/components/native-popover/native-popover.d.ts +2 -2
  127. package/dist/types/components/native-select/native-select.d.ts +4 -2
  128. package/dist/types/components/native-select/use-native-select.d.ts +1 -0
  129. package/dist/types/components/native-table/native-table.d.ts +4 -4
  130. package/dist/types/components/notice/notice.style.d.ts +1 -1
  131. package/dist/types/components/notice/use-notice.d.ts +3 -0
  132. package/dist/types/components/number-input/number-input.d.ts +3 -2
  133. package/dist/types/components/number-input/number-input.style.d.ts +1 -1
  134. package/dist/types/components/number-input/use-number-input.d.ts +1 -0
  135. package/dist/types/components/pagination/pagination.d.ts +3 -2
  136. package/dist/types/components/pagination/pagination.style.d.ts +1 -1
  137. package/dist/types/components/pagination/use-pagination.d.ts +2 -2
  138. package/dist/types/components/password-input/password-input.d.ts +3 -2
  139. package/dist/types/components/password-input/strength-meter.d.ts +2 -2
  140. package/dist/types/components/password-input/use-password-input.d.ts +3 -2
  141. package/dist/types/components/picture/picture.d.ts +1 -0
  142. package/dist/types/components/pin-input/pin-input.d.ts +4 -2
  143. package/dist/types/components/pin-input/use-pin-input.d.ts +8 -7
  144. package/dist/types/components/popover/popover.d.ts +3 -2
  145. package/dist/types/components/progress/progress.d.ts +4 -4
  146. package/dist/types/components/progress/use-progress.d.ts +706 -706
  147. package/dist/types/components/qr-code/qr-code.d.ts +2 -2
  148. package/dist/types/components/radio/radio-group.d.ts +2 -0
  149. package/dist/types/components/radio/radio.d.ts +5 -4
  150. package/dist/types/components/radio/use-radio-group.d.ts +3 -2
  151. package/dist/types/components/radio/use-radio.d.ts +1 -0
  152. package/dist/types/components/radio-card/radio-card-group.d.ts +3 -0
  153. package/dist/types/components/radio-card/radio-card.d.ts +6 -4
  154. package/dist/types/components/rating/rating.style.d.ts +2 -2
  155. package/dist/types/components/rating/use-rating.d.ts +8 -7
  156. package/dist/types/components/reorder/reorder.d.ts +3 -2
  157. package/dist/types/components/reorder/reorder.style.d.ts +1 -1
  158. package/dist/types/components/reorder/use-reorder.d.ts +3 -3
  159. package/dist/types/components/resizable/resizable.d.ts +2 -2
  160. package/dist/types/components/resizable/resizable.style.d.ts +2 -2
  161. package/dist/types/components/resizable/use-resizable.d.ts +2 -2
  162. package/dist/types/components/ripple/ripple.d.ts +3 -2
  163. package/dist/types/components/ripple/use-ripple.d.ts +2 -2
  164. package/dist/types/components/rotate/rotate.d.ts +3 -2
  165. package/dist/types/components/saturation-slider/saturation-slider.d.ts +2 -2
  166. package/dist/types/components/saturation-slider/use-saturation-slider.d.ts +3 -2
  167. package/dist/types/components/scroll-area/scroll-area.d.ts +2 -2
  168. package/dist/types/components/segmented-control/segmented-control.d.ts +3 -2
  169. package/dist/types/components/segmented-control/segmented-control.style.d.ts +2 -2
  170. package/dist/types/components/segmented-control/use-segmented-control.d.ts +10 -9
  171. package/dist/types/components/select/select.d.ts +4 -2
  172. package/dist/types/components/select/select.style.d.ts +1 -1
  173. package/dist/types/components/select/use-select.d.ts +6 -4
  174. package/dist/types/components/separator/separator.d.ts +2 -2
  175. package/dist/types/components/sidebar/sidebar.d.ts +7 -2
  176. package/dist/types/components/sidebar/use-sidebar.d.ts +9 -9
  177. package/dist/types/components/simple-grid/simple-grid.d.ts +3 -2
  178. package/dist/types/components/skeleton/skeleton.d.ts +2 -2
  179. package/dist/types/components/slide/slide.d.ts +3 -2
  180. package/dist/types/components/slide-fade/slide-fade.d.ts +3 -2
  181. package/dist/types/components/slider/slider.d.ts +2 -2
  182. package/dist/types/components/slider/use-slider.d.ts +3 -2
  183. package/dist/types/components/snacks/snacks.d.ts +2 -0
  184. package/dist/types/components/snacks/use-snacks.d.ts +1 -0
  185. package/dist/types/components/stack/h-stack.d.ts +2 -2
  186. package/dist/types/components/stack/stack.d.ts +2 -2
  187. package/dist/types/components/stack/v-stack.d.ts +2 -2
  188. package/dist/types/components/stack/z-stack.d.ts +2 -2
  189. package/dist/types/components/stat/stat.d.ts +2 -2
  190. package/dist/types/components/status/status.d.ts +2 -2
  191. package/dist/types/components/steps/steps.d.ts +2 -2
  192. package/dist/types/components/steps/steps.style.d.ts +1 -1
  193. package/dist/types/components/steps/use-steps.d.ts +10 -10
  194. package/dist/types/components/switch/switch.d.ts +2 -2
  195. package/dist/types/components/switch/use-switch.d.ts +1 -0
  196. package/dist/types/components/table/table.d.ts +4 -2
  197. package/dist/types/components/tabs/tabs.d.ts +2 -2
  198. package/dist/types/components/tabs/use-tabs.d.ts +16 -16
  199. package/dist/types/components/tag/tag.d.ts +2 -2
  200. package/dist/types/components/tag/tag.style.d.ts +1 -1
  201. package/dist/types/components/text/text.d.ts +2 -2
  202. package/dist/types/components/textarea/textarea.d.ts +4 -2
  203. package/dist/types/components/textarea/use-autosize.d.ts +2 -2
  204. package/dist/types/components/timeline/timeline.d.ts +5 -5
  205. package/dist/types/components/timeline/timeline.style.d.ts +1 -1
  206. package/dist/types/components/tip/tip.d.ts +3 -0
  207. package/dist/types/components/toggle/toggle-group.d.ts +1 -1
  208. package/dist/types/components/toggle/toggle.d.ts +7 -5
  209. package/dist/types/components/toggle/use-toggle-group.d.ts +2 -2
  210. package/dist/types/components/toggle/use-toggle.d.ts +3 -2
  211. package/dist/types/components/tooltip/tooltip.d.ts +4 -2
  212. package/dist/types/components/tree/tree.d.ts +6 -2
  213. package/dist/types/components/tree/tree.style.d.ts +1 -1
  214. package/dist/types/components/tree/use-tree.d.ts +183 -182
  215. package/dist/types/components/visually-hidden/visually-hidden.d.ts +2 -2
  216. package/dist/types/components/wrap/wrap.d.ts +3 -2
  217. package/dist/types/core/components/create-component.d.ts +7 -9
  218. package/dist/types/core/components/index.types.d.ts +0 -1
  219. package/dist/types/core/components/use-component-style.d.ts +0 -2
  220. package/dist/types/core/components/utils.d.ts +0 -1
  221. package/dist/types/core/constant.d.ts +0 -1
  222. package/dist/types/core/css/calc.d.ts +0 -1
  223. package/dist/types/core/css/config.d.ts +0 -1
  224. package/dist/types/core/css/css.d.ts +0 -1
  225. package/dist/types/core/css/index.types.d.ts +0 -1
  226. package/dist/types/core/css/styles.d.ts +0 -1
  227. package/dist/types/core/css/token.d.ts +0 -1
  228. package/dist/types/core/css/use-css.d.ts +0 -1
  229. package/dist/types/core/css/utils.d.ts +0 -2
  230. package/dist/types/core/generated-theme-tokens.types.d.ts +0 -1
  231. package/dist/types/core/index.d.ts +0 -2
  232. package/dist/types/core/system/color-mode-provider.d.ts +2 -2
  233. package/dist/types/core/system/config.d.ts +0 -1
  234. package/dist/types/core/system/create-system.d.ts +0 -1
  235. package/dist/types/core/system/factory.d.ts +0 -1
  236. package/dist/types/core/system/index.types.d.ts +0 -1
  237. package/dist/types/core/system/storage-script.d.ts +3 -3
  238. package/dist/types/core/system/styled.d.ts +2 -3
  239. package/dist/types/core/system/system-provider.d.ts +2 -2
  240. package/dist/types/core/system/var.d.ts +0 -2
  241. package/dist/types/hooks/use-async-callback/index.d.ts +1 -0
  242. package/dist/types/hooks/use-breakpoint/use-breakpoint-state.d.ts +2 -2
  243. package/dist/types/hooks/use-clipboard/index.d.ts +2 -2
  244. package/dist/types/hooks/use-combobox/index.d.ts +13 -12
  245. package/dist/types/hooks/use-counter/index.d.ts +2 -2
  246. package/dist/types/hooks/use-descendants/index.d.ts +2 -2
  247. package/dist/types/hooks/use-field-sizing/index.d.ts +2 -2
  248. package/dist/types/hooks/use-hover/index.d.ts +2 -2
  249. package/dist/types/index.d.ts +106 -0
  250. package/dist/types/providers/i18n-provider/i18n-provider.d.ts +3 -3
  251. package/dist/types/providers/ui-provider/ui-provider.d.ts +3 -2
  252. package/dist/types/utils/children.d.ts +2 -2
  253. package/package.json +2 -2
@@ -4,7 +4,7 @@ import "../../core/index.js";
4
4
  import { QrCodeStyle } from "./qr-code.style.js";
5
5
  import { UseQrCodeProps } from "./use-qr-code.js";
6
6
  import "../../index.js";
7
- import * as react159 from "react";
7
+ import * as react888 from "react";
8
8
 
9
9
  //#region src/components/qr-code/qr-code.d.ts
10
10
  interface QrCodeRootProps extends Omit<HTMLStyledProps, "border" | "invert">, ThemeProps<QrCodeStyle>, UseQrCodeProps {
@@ -17,7 +17,7 @@ interface QrCodeRootProps extends Omit<HTMLStyledProps, "border" | "invert">, Th
17
17
  */
18
18
  patternProps?: QrCodePatternProps;
19
19
  }
20
- declare const QrCodePropsContext: react159.Context<Partial<QrCodeRootProps> | undefined>, useQrCodePropsContext: () => Partial<QrCodeRootProps> | undefined;
20
+ declare const QrCodePropsContext: react888.Context<Partial<QrCodeRootProps> | undefined>, useQrCodePropsContext: () => Partial<QrCodeRootProps> | undefined;
21
21
  /**
22
22
  * `QrCode` is a component that displays a QR code.
23
23
  *
@@ -3,6 +3,8 @@ import { GenericsComponent } from "../../core/components/index.types.js";
3
3
  import "../../core/index.js";
4
4
  import { UseInputBorderProps } from "../input/use-input-border.js";
5
5
  import { GroupProps } from "../group/group.js";
6
+ import "../group/index.js";
7
+ import "../input/index.js";
6
8
  import { RadioStyle } from "./radio.style.js";
7
9
  import { Radio, RadioProps } from "./radio.js";
8
10
  import { UseRadioGroupProps } from "./use-radio-group.js";
@@ -5,12 +5,13 @@ import { As, Component, GenericsComponent, HTMLStyledProps } from "../../core/co
5
5
  import { ComponentOptions, ComponentSlot, ComponentSlotName, InitialProps, SuperProps, UseComponentPropsOptions } from "../../core/components/create-component.js";
6
6
  import "../../core/index.js";
7
7
  import { UseInputBorderProps } from "../input/use-input-border.js";
8
+ import "../input/index.js";
8
9
  import { RadioStyle } from "./radio.style.js";
9
10
  import { UseRadioProps } from "./use-radio.js";
10
11
  import "../../index.js";
11
- import * as react161 from "react";
12
+ import * as react178 from "react";
12
13
  import { ReactElement } from "react";
13
- import * as _yamada_ui_utils9 from "@yamada-ui/utils";
14
+ import * as _yamada_ui_utils13 from "@yamada-ui/utils";
14
15
 
15
16
  //#region src/components/radio/radio.d.ts
16
17
  interface RadioProps<Y extends string = string> extends Merge<HTMLStyledProps<"label">, UseRadioProps<Y>>, ThemeProps<RadioStyle>, UseInputBorderProps {
@@ -31,7 +32,7 @@ interface RadioProps<Y extends string = string> extends Merge<HTMLStyledProps<"l
31
32
  */
32
33
  rootProps?: HTMLStyledProps<"label">;
33
34
  }
34
- declare const component: <H extends As | "fragment" = "div", R extends _yamada_ui_utils9.Dict = _yamada_ui_utils9.Dict<any>>(el: H | react161.FC<R>, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"label" | "group" | "root" | "indicator", {
35
+ declare const component: <H extends "fragment" | As = "div", R extends _yamada_ui_utils13.Dict = _yamada_ui_utils13.Dict<any>>(el: H | react178.FC<R>, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"label" | "group" | "root" | "indicator", {
35
36
  shape: {
36
37
  circle: {
37
38
  indicator: {
@@ -137,7 +138,7 @@ declare const component: <H extends As | "fragment" = "div", R extends _yamada_u
137
138
  name,
138
139
  className,
139
140
  ...options
140
- }?: ComponentOptions) => (initialProps?: InitialProps<R>, ...superProps: SuperProps<R>[]) => H extends "fragment" ? react161.FunctionComponent<R> : Component<Exclude<H, "fragment">, R>, RadioPropsContext: react161.Context<Partial<RadioProps<string>> | undefined>, useRadioPropsContext: () => Partial<RadioProps<string>> | undefined, useRootComponentProps: <Y extends _yamada_ui_utils9.Dict = {}, R extends keyof Y = keyof Y>(props: Y, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"label" | "group" | "root" | "indicator", {
141
+ }?: ComponentOptions) => (initialProps?: InitialProps<R>, ...superProps: SuperProps<R>[]) => H extends "fragment" ? react178.FunctionComponent<R> : Component<Exclude<H, "fragment">, R>, RadioPropsContext: react178.Context<Partial<RadioProps<string>> | undefined>, useRadioPropsContext: () => Partial<RadioProps<string>> | undefined, useRootComponentProps: <Y extends _yamada_ui_utils13.Dict = {}, R extends keyof Y = keyof Y>(props: Y, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"label" | "group" | "root" | "indicator", {
141
142
  shape: {
142
143
  circle: {
143
144
  indicator: {
@@ -1,12 +1,13 @@
1
1
  import { HTMLProps, PropGetter } from "../../core/components/index.types.js";
2
2
  import "../../core/index.js";
3
3
  import { FieldProps } from "../field/field.js";
4
- import * as react160 from "react";
4
+ import "../field/index.js";
5
+ import * as react181 from "react";
5
6
  import { ChangeEvent } from "react";
6
7
 
7
8
  //#region src/components/radio/use-radio-group.d.ts
8
9
  interface RadioGroupContext extends Omit<UseRadioGroupReturn, "getRootProps"> {}
9
- declare const RadioGroupContext: react160.Context<RadioGroupContext | undefined>, useRadioGroupContext: () => RadioGroupContext | undefined;
10
+ declare const RadioGroupContext: react181.Context<RadioGroupContext | undefined>, useRadioGroupContext: () => RadioGroupContext | undefined;
10
11
  interface UseRadioGroupProps<Y extends string = string> extends Omit<HTMLProps, "defaultValue" | "onChange" | "value">, FieldProps {
11
12
  /**
12
13
  * The initial value of the radio group.
@@ -1,6 +1,7 @@
1
1
  import { HTMLProps, HTMLRefAttributes, PropGetter } from "../../core/components/index.types.js";
2
2
  import "../../core/index.js";
3
3
  import { FieldProps } from "../field/field.js";
4
+ import "../field/index.js";
4
5
  import { ChangeEvent, ChangeEventHandler, FocusEventHandler } from "react";
5
6
 
6
7
  //#region src/components/radio/use-radio.d.ts
@@ -3,7 +3,10 @@ import { GenericsComponent } from "../../core/components/index.types.js";
3
3
  import "../../core/index.js";
4
4
  import { UseInputBorderProps } from "../input/use-input-border.js";
5
5
  import { GroupProps } from "../group/group.js";
6
+ import "../group/index.js";
7
+ import "../input/index.js";
6
8
  import { UseRadioGroupProps } from "../radio/use-radio-group.js";
9
+ import "../radio/index.js";
7
10
  import { RadioCardStyle } from "./radio-card.style.js";
8
11
  import { RadioCardRoot, RadioCardRootProps } from "./radio-card.js";
9
12
  import { ReactElement } from "react";
@@ -5,12 +5,14 @@ import { As, Component, GenericsComponent, HTMLStyledProps } from "../../core/co
5
5
  import { ComponentOptions, ComponentSlot, ComponentSlotName, InitialProps, SuperProps, UseComponentPropsOptions } from "../../core/components/create-component.js";
6
6
  import "../../core/index.js";
7
7
  import { UseInputBorderProps } from "../input/use-input-border.js";
8
+ import "../input/index.js";
8
9
  import { UseRadioProps } from "../radio/use-radio.js";
10
+ import "../radio/index.js";
9
11
  import { RadioCardStyle } from "./radio-card.style.js";
10
12
  import "../../index.js";
11
- import * as react156 from "react";
13
+ import * as react175 from "react";
12
14
  import { ReactElement, ReactNode } from "react";
13
- import * as _yamada_ui_utils6 from "@yamada-ui/utils";
15
+ import * as _yamada_ui_utils10 from "@yamada-ui/utils";
14
16
 
15
17
  //#region src/components/radio-card/radio-card.d.ts
16
18
  interface RadioCardRootProps<Y extends string = string> extends Merge<HTMLStyledProps<"label">, UseRadioProps<Y>>, ThemeProps<RadioCardStyle>, UseInputBorderProps {
@@ -57,7 +59,7 @@ interface RadioCardRootProps<Y extends string = string> extends Merge<HTMLStyled
57
59
  */
58
60
  rootProps?: HTMLStyledProps<"label">;
59
61
  }
60
- declare const component: <H extends As | "fragment" = "div", R extends _yamada_ui_utils6.Dict = _yamada_ui_utils6.Dict<any>>(el: H | react156.FC<R>, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"group" | "root" | "description" | "indicator" | "addon", {
62
+ declare const component: <H extends "fragment" | As = "div", R extends _yamada_ui_utils10.Dict = _yamada_ui_utils10.Dict<any>>(el: H | react175.FC<R>, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"group" | "root" | "description" | "indicator" | "addon", {
61
63
  justify: {
62
64
  end: {
63
65
  addon: {
@@ -234,7 +236,7 @@ declare const component: <H extends As | "fragment" = "div", R extends _yamada_u
234
236
  name,
235
237
  className,
236
238
  ...options
237
- }?: ComponentOptions) => (initialProps?: InitialProps<R>, ...superProps: SuperProps<R>[]) => H extends "fragment" ? react156.FunctionComponent<R> : Component<Exclude<H, "fragment">, R>, RadioCardPropsContext: react156.Context<Partial<RadioCardRootProps<string>> | undefined>, useRadioCardPropsContext: () => Partial<RadioCardRootProps<string>> | undefined, useRootComponentProps: <Y extends _yamada_ui_utils6.Dict = {}, R extends keyof Y = keyof Y>(props: Y, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"group" | "root" | "description" | "indicator" | "addon", {
239
+ }?: ComponentOptions) => (initialProps?: InitialProps<R>, ...superProps: SuperProps<R>[]) => H extends "fragment" ? react175.FunctionComponent<R> : Component<Exclude<H, "fragment">, R>, RadioCardPropsContext: react175.Context<Partial<RadioCardRootProps<string>> | undefined>, useRadioCardPropsContext: () => Partial<RadioCardRootProps<string>> | undefined, useRootComponentProps: <Y extends _yamada_ui_utils10.Dict = {}, R extends keyof Y = keyof Y>(props: Y, slot?: ComponentSlot<ComponentSlotName<ComponentSlotStyle<"group" | "root" | "description" | "indicator" | "addon", {
238
240
  justify: {
239
241
  end: {
240
242
  addon: {
@@ -3,7 +3,7 @@ import { CSSModifierObject, CSSPropObject, CSSSlotObject } from "../../core/css/
3
3
  import "../../index.js";
4
4
 
5
5
  //#region src/components/rating/rating.style.d.ts
6
- declare const ratingStyle: ComponentSlotStyle<"group" | "icon" | "root" | "item", CSSPropObject<CSSSlotObject<"group" | "icon" | "root" | "item">>, {
6
+ declare const ratingStyle: ComponentSlotStyle<"group" | "icon" | "item" | "root", CSSPropObject<CSSSlotObject<"group" | "icon" | "item" | "root">>, {
7
7
  xs: {
8
8
  icon: {
9
9
  fontSize: "md";
@@ -29,7 +29,7 @@ declare const ratingStyle: ComponentSlotStyle<"group" | "icon" | "root" | "item"
29
29
  fontSize: "3xl";
30
30
  };
31
31
  };
32
- }, CSSModifierObject<CSSSlotObject<"group" | "icon" | "root" | "item">>>;
32
+ }, CSSModifierObject<CSSSlotObject<"group" | "icon" | "item" | "root">>>;
33
33
  type RatingStyle = typeof ratingStyle;
34
34
  //#endregion
35
35
  export { RatingStyle, ratingStyle };
@@ -1,11 +1,12 @@
1
1
  import { HTMLProps, PropGetter } from "../../core/components/index.types.js";
2
2
  import "../../core/index.js";
3
3
  import { FieldProps } from "../field/field.js";
4
- import * as react144 from "react";
4
+ import "../field/index.js";
5
+ import * as react166 from "react";
5
6
 
6
7
  //#region src/components/rating/use-rating.d.ts
7
8
  interface RatingContext extends Omit<UseRatingReturn, "getRootProps"> {}
8
- declare const RatingContext: react144.Context<RatingContext>, useRatingContext: () => RatingContext;
9
+ declare const RatingContext: react166.Context<RatingContext>, useRatingContext: () => RatingContext;
9
10
  interface UseRatingProps extends FieldProps, Omit<HTMLProps, "color" | "defaultValue" | "onChange"> {
10
11
  /**
11
12
  * Number of controls that should be rendered.
@@ -64,12 +65,12 @@ declare const useRating: (props?: UseRatingProps) => {
64
65
  highlightSelectedOnly: boolean;
65
66
  hoveredValue: number;
66
67
  interactive: boolean;
67
- outsideRef: react144.RefObject<boolean>;
68
+ outsideRef: react166.RefObject<boolean>;
68
69
  readOnly: boolean | undefined;
69
70
  required: boolean | undefined;
70
71
  roundedValue: number;
71
- setHoveredValue: react144.Dispatch<react144.SetStateAction<number>>;
72
- setValue: react144.Dispatch<react144.SetStateAction<number>>;
72
+ setHoveredValue: react166.Dispatch<react166.SetStateAction<number>>;
73
+ setValue: react166.Dispatch<react166.SetStateAction<number>>;
73
74
  value: number;
74
75
  ariaProps: {
75
76
  "aria-describedby": any;
@@ -85,8 +86,8 @@ declare const useRating: (props?: UseRatingProps) => {
85
86
  "data-required": string | undefined;
86
87
  };
87
88
  eventProps: {
88
- onBlur: (ev?: react144.FocusEvent<HTMLDivElement, Element> | undefined) => void;
89
- onFocus: (ev?: react144.FocusEvent<HTMLDivElement, Element> | undefined) => void;
89
+ onBlur: (ev?: react166.FocusEvent<HTMLDivElement, Element> | undefined) => void;
90
+ onFocus: (ev?: react166.FocusEvent<HTMLDivElement, Element> | undefined) => void;
90
91
  };
91
92
  getRootProps: PropGetter<"div", undefined, undefined>;
92
93
  };
@@ -3,10 +3,11 @@ import { ThemeProps } from "../../core/system/index.types.js";
3
3
  import { Component, GenericsComponent, HTMLStyledProps } from "../../core/components/index.types.js";
4
4
  import "../../core/index.js";
5
5
  import { HTMLMotionProps } from "../motion/index.types.js";
6
+ import "../motion/index.js";
6
7
  import { ReorderStyle } from "./reorder.style.js";
7
8
  import { UseReorderItemProps, UseReorderProps } from "./use-reorder.js";
8
9
  import "../../index.js";
9
- import * as react155 from "react";
10
+ import * as react165 from "react";
10
11
  import { PropsWithChildren, ReactElement } from "react";
11
12
 
12
13
  //#region src/components/reorder/reorder.d.ts
@@ -18,7 +19,7 @@ interface ReorderRootProps<Y = string> extends Merge<HTMLMotionProps<"ul">, Omit
18
19
  */
19
20
  items?: ReorderItem<Y>[];
20
21
  }
21
- declare const ReorderPropsContext: react155.Context<Partial<ReorderRootProps<string>> | undefined>, useReorderPropsContext: () => Partial<ReorderRootProps<string>> | undefined;
22
+ declare const ReorderPropsContext: react165.Context<Partial<ReorderRootProps<string>> | undefined>, useReorderPropsContext: () => Partial<ReorderRootProps<string>> | undefined;
22
23
  /**
23
24
  * `Reorder` is a component that allows you to change the order of items using drag and drop.
24
25
  *
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  import "../../index.js";
3
3
 
4
4
  //#region src/components/reorder/reorder.style.d.ts
5
- declare const reorderStyle: ComponentSlotStyle<"root" | "item" | "trigger", {
5
+ declare const reorderStyle: ComponentSlotStyle<"item" | "root" | "trigger", {
6
6
  /**
7
7
  * The orientation of the reorder.
8
8
  *
@@ -2,7 +2,7 @@ import { Merge } from "../../utils/index.js";
2
2
  import { Orientation } from "../../core/system/index.types.js";
3
3
  import { PropGetter } from "../../core/components/index.types.js";
4
4
  import "../../core/index.js";
5
- import * as react153 from "react";
5
+ import * as react163 from "react";
6
6
  import { PropsWithChildren, ReactElement, ReactNode } from "react";
7
7
  import { HTMLMotionProps, Reorder } from "motion/react";
8
8
 
@@ -10,11 +10,11 @@ import { HTMLMotionProps, Reorder } from "motion/react";
10
10
  type ReorderGroupProps<Y = string> = Merge<HTMLMotionProps<"ul">, Pick<Parameters<typeof Reorder.Group<Y>>[0], "axis" | "onReorder" | "values">>;
11
11
  type ReorderItemProps<Y = string> = Merge<HTMLMotionProps<"li">, Partial<Pick<Parameters<typeof Reorder.Item<Y>>[0], "layout" | "value">>>;
12
12
  interface ReorderContext extends Pick<UseReorderProps, "orientation"> {}
13
- declare const ReorderContext: react153.Context<ReorderContext>, useReorderContext: () => ReorderContext;
13
+ declare const ReorderContext: react163.Context<ReorderContext>, useReorderContext: () => ReorderContext;
14
14
  interface ReorderItemContext {
15
15
  getTriggerProps: PropGetter;
16
16
  }
17
- declare const ReorderItemContext: react153.Context<ReorderItemContext>, useReorderItemContext: () => ReorderItemContext;
17
+ declare const ReorderItemContext: react163.Context<ReorderItemContext>, useReorderItemContext: () => ReorderItemContext;
18
18
  interface UseReorderProps<Y = string> extends Partial<Omit<ReorderGroupProps<Y>, "children" | "onChange" | "values">>, PropsWithChildren {
19
19
  /**
20
20
  * The component to be used for the item.
@@ -4,7 +4,7 @@ import "../../core/index.js";
4
4
  import { ResizableStyle } from "./resizable.style.js";
5
5
  import { UseResizableItemProps, UseResizableProps, UseResizableTriggerProps } from "./use-resizable.js";
6
6
  import "../../index.js";
7
- import * as react143 from "react";
7
+ import * as react160 from "react";
8
8
  import { ReactElement } from "react";
9
9
 
10
10
  //#region src/components/resizable/resizable.d.ts
@@ -14,7 +14,7 @@ import { ReactElement } from "react";
14
14
  * @see https://yamada-ui.com/docs/components/resizable
15
15
  */
16
16
  interface ResizableRootProps extends HTMLStyledProps, ThemeProps<ResizableStyle>, Omit<UseResizableProps, "orientation"> {}
17
- declare const ResizablePropsContext: react143.Context<Partial<ResizableRootProps> | undefined>, useResizablePropsContext: () => Partial<ResizableRootProps> | undefined;
17
+ declare const ResizablePropsContext: react160.Context<Partial<ResizableRootProps> | undefined>, useResizablePropsContext: () => Partial<ResizableRootProps> | undefined;
18
18
  declare const ResizableRoot: Component<"div", ResizableRootProps>;
19
19
  interface ResizableItemProps extends HTMLStyledPropsWithoutAs, UseResizableItemProps {}
20
20
  declare const ResizableItem: Component<"div", ResizableItemProps>;
@@ -3,7 +3,7 @@ import { CSSModifierObject, CSSSlotObject } from "../../core/css/index.types.js"
3
3
  import "../../index.js";
4
4
 
5
5
  //#region src/components/resizable/resizable.style.d.ts
6
- declare const resizableStyle: ComponentSlotStyle<"icon" | "root" | "item" | "trigger", {
6
+ declare const resizableStyle: ComponentSlotStyle<"icon" | "item" | "root" | "trigger", {
7
7
  /**
8
8
  * The orientation of the resizable.
9
9
  *
@@ -21,7 +21,7 @@ declare const resizableStyle: ComponentSlotStyle<"icon" | "root" | "item" | "tri
21
21
  };
22
22
  };
23
23
  };
24
- }, CSSModifierObject<CSSSlotObject<"icon" | "root" | "item" | "trigger">>, {
24
+ }, CSSModifierObject<CSSSlotObject<"icon" | "item" | "root" | "trigger">>, {
25
25
  border: {
26
26
  icon: {
27
27
  bg: "colorScheme.muted";
@@ -1,12 +1,12 @@
1
1
  import { HTMLProps, PropGetter } from "../../core/components/index.types.js";
2
2
  import "../../core/index.js";
3
- import * as react142 from "react";
3
+ import * as react159 from "react";
4
4
  import { RefObject } from "react";
5
5
  import { GroupImperativeHandle, GroupProps, LayoutStorage, PanelImperativeHandle, PanelProps, SeparatorProps, useDefaultLayout as useResizableLayout } from "react-resizable-panels";
6
6
 
7
7
  //#region src/components/resizable/use-resizable.d.ts
8
8
  interface ResizableContext extends Omit<UseResizableReturn, "getRootProps"> {}
9
- declare const ResizableContext: react142.Context<ResizableContext>, useResizableContext: () => ResizableContext;
9
+ declare const ResizableContext: react159.Context<ResizableContext>, useResizableContext: () => ResizableContext;
10
10
  interface ResizableStorage extends LayoutStorage {}
11
11
  interface ResizableRootControl extends GroupImperativeHandle {}
12
12
  interface ResizableItemControl extends PanelImperativeHandle {}
@@ -2,10 +2,11 @@ import { ThemeProps } from "../../core/system/index.types.js";
2
2
  import { Component } from "../../core/components/index.types.js";
3
3
  import "../../core/index.js";
4
4
  import { HTMLMotionProps } from "../motion/index.types.js";
5
+ import "../motion/index.js";
5
6
  import { RippleStyle } from "./ripple.style.js";
6
7
  import { RippleOptions } from "./use-ripple.js";
7
8
  import "../../index.js";
8
- import * as react141 from "react";
9
+ import * as react162 from "react";
9
10
  import { Key } from "react";
10
11
 
11
12
  //#region src/components/ripple/ripple.d.ts
@@ -25,7 +26,7 @@ interface RippleProps extends HTMLMotionProps<"span">, ThemeProps<RippleStyle> {
25
26
  */
26
27
  disabled?: boolean;
27
28
  }
28
- declare const RipplePropsContext: react141.Context<Partial<RippleProps> | undefined>, useRipplePropsContext: () => Partial<RippleProps> | undefined;
29
+ declare const RipplePropsContext: react162.Context<Partial<RippleProps> | undefined>, useRipplePropsContext: () => Partial<RippleProps> | undefined;
29
30
  /**
30
31
  * `Ripple` is a component that adds a ripple effect to elements, allowing users to recognize when they have clicked.
31
32
  *
@@ -1,4 +1,4 @@
1
- import * as react140 from "react";
1
+ import * as react161 from "react";
2
2
  import { Key, MouseEventHandler } from "react";
3
3
 
4
4
  //#region src/components/ripple/use-ripple.d.ts
@@ -18,7 +18,7 @@ declare const useRipple: <Y = HTMLElement>({
18
18
  }?: UseRippleProps<Y>) => {
19
19
  ripples: RippleOptions[];
20
20
  onClear: (key: Key) => void;
21
- onClick: (ev?: react140.MouseEvent<Y, MouseEvent> | undefined) => void;
21
+ onClick: (ev?: react161.MouseEvent<Y, MouseEvent> | undefined) => void;
22
22
  };
23
23
  type UseRippleReturn = ReturnType<typeof useRipple>;
24
24
  //#endregion
@@ -2,9 +2,10 @@ import { KeyframeIdent, ThemeProps } from "../../core/system/index.types.js";
2
2
  import { Component } from "../../core/components/index.types.js";
3
3
  import "../../core/index.js";
4
4
  import { HTMLMotionProps } from "../motion/index.types.js";
5
+ import "../motion/index.js";
5
6
  import { RotateStyle } from "./rotate.style.js";
6
7
  import "../../index.js";
7
- import * as react949 from "react";
8
+ import * as react158 from "react";
8
9
  import { ReactNode } from "react";
9
10
 
10
11
  //#region src/components/rotate/rotate.d.ts
@@ -62,7 +63,7 @@ interface RotateProps extends Omit<HTMLMotionProps<"button">, "onChange" | "rota
62
63
  */
63
64
  onChange?: (value: KeyframeIdent) => void;
64
65
  }
65
- declare const RotatePropsContext: react949.Context<Partial<RotateProps> | undefined>, useRotatePropsContext: () => Partial<RotateProps> | undefined;
66
+ declare const RotatePropsContext: react158.Context<Partial<RotateProps> | undefined>, useRotatePropsContext: () => Partial<RotateProps> | undefined;
66
67
  /**
67
68
  * `Rotate` is an animation component that alternately rotates two elements as they switch.
68
69
  *
@@ -5,7 +5,7 @@ import "../../core/index.js";
5
5
  import { SaturationSliderStyle } from "./saturation-slider.style.js";
6
6
  import { UseSaturationSliderProps } from "./use-saturation-slider.js";
7
7
  import "../../index.js";
8
- import * as react139 from "react";
8
+ import * as react157 from "react";
9
9
 
10
10
  //#region src/components/saturation-slider/saturation-slider.d.ts
11
11
  interface SaturationSliderRootProps extends Merge<HTMLStyledProps, UseSaturationSliderProps>, ThemeProps<SaturationSliderStyle> {
@@ -22,7 +22,7 @@ interface SaturationSliderRootProps extends Merge<HTMLStyledProps, UseSaturation
22
22
  */
23
23
  trackProps?: SaturationSliderTrackProps;
24
24
  }
25
- declare const SaturationSliderPropsContext: react139.Context<Partial<SaturationSliderRootProps> | undefined>, useSaturationSliderPropsContext: () => Partial<SaturationSliderRootProps> | undefined;
25
+ declare const SaturationSliderPropsContext: react157.Context<Partial<SaturationSliderRootProps> | undefined>, useSaturationSliderPropsContext: () => Partial<SaturationSliderRootProps> | undefined;
26
26
  /**
27
27
  * `SaturationSlider` is a component used to allow the user to select a color saturation.
28
28
  *
@@ -1,7 +1,8 @@
1
1
  import { HTMLProps, HTMLRefAttributes, PropGetter } from "../../core/components/index.types.js";
2
2
  import "../../core/index.js";
3
3
  import { FieldProps } from "../field/field.js";
4
- import * as react137 from "react";
4
+ import "../field/index.js";
5
+ import * as react154 from "react";
5
6
 
6
7
  //#region src/components/saturation-slider/use-saturation-slider.d.ts
7
8
  interface UseSaturationSliderProps extends Omit<HTMLProps, "defaultValue" | "onChange" | "ref">, HTMLRefAttributes<"input">, FieldProps {
@@ -51,7 +52,7 @@ interface UseSaturationSliderProps extends Omit<HTMLProps, "defaultValue" | "onC
51
52
  onChangeStart?: (value: [number, number, number]) => void;
52
53
  }
53
54
  declare const useSaturationSlider: (props?: UseSaturationSliderProps) => {
54
- setValue: react137.Dispatch<react137.SetStateAction<[number, number, number]>>;
55
+ setValue: react154.Dispatch<react154.SetStateAction<[number, number, number]>>;
55
56
  value: [number, number, number];
56
57
  getInputProps: PropGetter<"input", undefined, undefined>;
57
58
  getRootProps: PropGetter<"div", undefined, undefined>;
@@ -4,11 +4,11 @@ import "../../core/index.js";
4
4
  import { ScrollAreaStyle } from "./scroll-area.style.js";
5
5
  import { UseScrollAreaProps } from "./use-scroll-area.js";
6
6
  import "../../index.js";
7
- import * as react947 from "react";
7
+ import * as react156 from "react";
8
8
 
9
9
  //#region src/components/scroll-area/scroll-area.d.ts
10
10
  interface ScrollAreaProps extends HTMLStyledProps, ThemeProps<ScrollAreaStyle>, UseScrollAreaProps {}
11
- declare const ScrollAreaPropsContext: react947.Context<Partial<ScrollAreaProps> | undefined>, useScrollAreaPropsContext: () => Partial<ScrollAreaProps> | undefined;
11
+ declare const ScrollAreaPropsContext: react156.Context<Partial<ScrollAreaProps> | undefined>, useScrollAreaPropsContext: () => Partial<ScrollAreaProps> | undefined;
12
12
  /**
13
13
  * `ScrollArea` is a component that displays a customized scrollbar.
14
14
  *
@@ -2,9 +2,10 @@ import { ThemeProps } from "../../core/system/index.types.js";
2
2
  import { GenericsComponent, HTMLStyledProps } from "../../core/components/index.types.js";
3
3
  import "../../core/index.js";
4
4
  import { HTMLMotionProps } from "../motion/index.types.js";
5
+ import "../motion/index.js";
5
6
  import { SegmentedControlStyle } from "./segmented-control.style.js";
6
7
  import { UseSegmentedControlItemProps, UseSegmentedControlProps } from "./use-segmented-control.js";
7
- import * as react136 from "react";
8
+ import * as react153 from "react";
8
9
  import { ReactElement, ReactNode } from "react";
9
10
 
10
11
  //#region src/components/segmented-control/segmented-control.d.ts
@@ -27,7 +28,7 @@ interface SegmentedControlRootProps<Y extends string = string> extends Omit<HTML
27
28
  */
28
29
  itemProps?: SegmentedControlItemProps;
29
30
  }
30
- declare const SegmentedControlPropsContext: react136.Context<Partial<SegmentedControlRootProps<string>> | undefined>, useSegmentedControlPropsContext: () => Partial<SegmentedControlRootProps<string>> | undefined;
31
+ declare const SegmentedControlPropsContext: react153.Context<Partial<SegmentedControlRootProps<string>> | undefined>, useSegmentedControlPropsContext: () => Partial<SegmentedControlRootProps<string>> | undefined;
31
32
  /**
32
33
  * `SegmentedControl` is a component used for allowing users to select one option from multiple choices.
33
34
  *
@@ -3,7 +3,7 @@ import { CSSModifierObject, CSSSlotObject } from "../../core/css/index.types.js"
3
3
  import "../../index.js";
4
4
 
5
5
  //#region src/components/segmented-control/segmented-control.style.d.ts
6
- declare const segmentedControlStyle: ComponentSlotStyle<"root" | "item" | "indicator", {
6
+ declare const segmentedControlStyle: ComponentSlotStyle<"item" | "root" | "indicator", {
7
7
  /**
8
8
  * If `true`, the segmented control will be full rounded.
9
9
  *
@@ -115,7 +115,7 @@ declare const segmentedControlStyle: ComponentSlotStyle<"root" | "item" | "indic
115
115
  };
116
116
  };
117
117
  };
118
- }, CSSModifierObject<CSSSlotObject<"root" | "item" | "indicator">>>;
118
+ }, CSSModifierObject<CSSSlotObject<"item" | "root" | "indicator">>>;
119
119
  type SegmentedControlStyle = typeof segmentedControlStyle;
120
120
  //#endregion
121
121
  export { SegmentedControlStyle, segmentedControlStyle };
@@ -2,14 +2,15 @@ import { Orientation } from "../../core/system/index.types.js";
2
2
  import { HTMLProps, PropGetter } from "../../core/components/index.types.js";
3
3
  import "../../core/index.js";
4
4
  import { FieldProps } from "../field/field.js";
5
+ import "../field/index.js";
5
6
  import { Descendant } from "../../hooks/use-descendants/index.js";
6
7
  import "../../index.js";
7
- import * as react127 from "react";
8
+ import * as react143 from "react";
8
9
 
9
10
  //#region src/components/segmented-control/use-segmented-control.d.ts
10
11
  interface SegmentedControlContext extends Omit<UseSegmentedControlReturn, "descendants" | "getRootProps"> {}
11
- declare const SegmentedControlContext: react127.Context<SegmentedControlContext>, useSegmentedControlContext: () => SegmentedControlContext;
12
- declare const SegmentedControlDescendantsContext: react127.Context<{
12
+ declare const SegmentedControlContext: react143.Context<SegmentedControlContext>, useSegmentedControlContext: () => SegmentedControlContext;
13
+ declare const SegmentedControlDescendantsContext: react143.Context<{
13
14
  active: (target?: HTMLInputElement | Descendant<HTMLInputElement, {}> | null | undefined, options?: FocusOptions) => void;
14
15
  count: (props?: Partial<{}> | undefined) => number;
15
16
  destroy: () => void;
@@ -28,7 +29,7 @@ declare const SegmentedControlDescendantsContext: react127.Context<{
28
29
  prevValue: (indexOrNode: number | HTMLInputElement | Descendant<HTMLInputElement, {}> | null, loop?: boolean, props?: Partial<{}> | undefined) => Descendant<HTMLInputElement, {}> | undefined;
29
30
  register: (props?: {
30
31
  disabled?: boolean | ((node: HTMLInputElement) => boolean) | undefined;
31
- } | undefined) => react127.RefCallback<HTMLInputElement>;
32
+ } | undefined) => react143.RefCallback<HTMLInputElement>;
32
33
  unregister: (node?: HTMLInputElement | null | undefined) => void;
33
34
  value: (indexOrNode: number | HTMLInputElement | null) => Descendant<HTMLInputElement, {}> | undefined;
34
35
  values: (props?: Partial<{}> | undefined) => Descendant<HTMLInputElement, {}>[];
@@ -54,12 +55,12 @@ declare const SegmentedControlDescendantsContext: react127.Context<{
54
55
  prevValue: (indexOrNode: number | HTMLInputElement | Descendant<HTMLInputElement, {}> | null, loop?: boolean, props?: Partial<{}> | undefined) => Descendant<HTMLInputElement, {}> | undefined;
55
56
  register: (props?: {
56
57
  disabled?: boolean | ((node: HTMLInputElement) => boolean) | undefined;
57
- } | undefined) => react127.RefCallback<HTMLInputElement>;
58
+ } | undefined) => react143.RefCallback<HTMLInputElement>;
58
59
  unregister: (node?: HTMLInputElement | null | undefined) => void;
59
60
  value: (indexOrNode: number | HTMLInputElement | null) => Descendant<HTMLInputElement, {}> | undefined;
60
61
  values: (props?: Partial<{}> | undefined) => Descendant<HTMLInputElement, {}>[];
61
62
  };
62
- register: react127.RefCallback<HTMLInputElement>;
63
+ register: react143.RefCallback<HTMLInputElement>;
63
64
  }, useSegmentedControlDescendants: () => {
64
65
  active: (target?: HTMLInputElement | Descendant<HTMLInputElement, {}> | null | undefined, options?: FocusOptions) => void;
65
66
  count: (props?: Partial<{}> | undefined) => number;
@@ -79,7 +80,7 @@ declare const SegmentedControlDescendantsContext: react127.Context<{
79
80
  prevValue: (indexOrNode: number | HTMLInputElement | Descendant<HTMLInputElement, {}> | null, loop?: boolean, props?: Partial<{}> | undefined) => Descendant<HTMLInputElement, {}> | undefined;
80
81
  register: (props?: {
81
82
  disabled?: boolean | ((node: HTMLInputElement) => boolean) | undefined;
82
- } | undefined) => react127.RefCallback<HTMLInputElement>;
83
+ } | undefined) => react143.RefCallback<HTMLInputElement>;
83
84
  unregister: (node?: HTMLInputElement | null | undefined) => void;
84
85
  value: (indexOrNode: number | HTMLInputElement | null) => Descendant<HTMLInputElement, {}> | undefined;
85
86
  values: (props?: Partial<{}> | undefined) => Descendant<HTMLInputElement, {}>[];
@@ -152,7 +153,7 @@ declare const useSegmentedControl: <Y extends string = string>({
152
153
  prevValue: (indexOrNode: number | HTMLInputElement | Descendant<HTMLInputElement, {}> | null, loop?: boolean, props?: Partial<{}> | undefined) => Descendant<HTMLInputElement, {}> | undefined;
153
154
  register: (props?: {
154
155
  disabled?: boolean | ((node: HTMLInputElement) => boolean) | undefined;
155
- } | undefined) => react127.RefCallback<HTMLInputElement>;
156
+ } | undefined) => react143.RefCallback<HTMLInputElement>;
156
157
  unregister: (node?: HTMLInputElement | null | undefined) => void;
157
158
  value: (indexOrNode: number | HTMLInputElement | null) => Descendant<HTMLInputElement, {}> | undefined;
158
159
  values: (props?: Partial<{}> | undefined) => Descendant<HTMLInputElement, {}>[];
@@ -160,7 +161,7 @@ declare const useSegmentedControl: <Y extends string = string>({
160
161
  disabled: boolean | undefined;
161
162
  orientation: Orientation;
162
163
  readOnly: boolean | undefined;
163
- setValue: react127.Dispatch<react127.SetStateAction<Y>>;
164
+ setValue: react143.Dispatch<react143.SetStateAction<Y>>;
164
165
  value: Y;
165
166
  getRootProps: PropGetter<"div", undefined, undefined>;
166
167
  };
@@ -3,14 +3,16 @@ import { ThemeProps } from "../../core/system/index.types.js";
3
3
  import { Component, GenericsComponent, HTMLStyledProps } from "../../core/components/index.types.js";
4
4
  import "../../core/index.js";
5
5
  import { PopoverContentProps, UsePopoverStyleProps, UsePopupAnimationProps } from "../popover/popover.js";
6
+ import "../popover/index.js";
6
7
  import { UseComboboxGroupProps } from "../../hooks/use-combobox/index.js";
7
8
  import { UseInputBorderProps } from "../input/use-input-border.js";
8
9
  import { InputElementProps } from "../input/input-element.js";
9
10
  import { InputGroupRootProps } from "../input/input-group.js";
11
+ import "../input/index.js";
10
12
  import { SelectStyle } from "./select.style.js";
11
13
  import { UseSelectOptionProps, UseSelectProps } from "./use-select.js";
12
14
  import "../../index.js";
13
- import * as react126 from "react";
15
+ import * as react152 from "react";
14
16
  import { ReactElement, ReactNode } from "react";
15
17
 
16
18
  //#region src/components/select/select.d.ts
@@ -58,7 +60,7 @@ interface SelectRootProps<Multiple extends boolean = false> extends Omit<HTMLSty
58
60
  */
59
61
  rootProps?: InputGroupRootProps;
60
62
  }
61
- declare const SelectPropsContext: react126.Context<Partial<SelectRootProps<false>> | undefined>, useSelectPropsContext: () => Partial<SelectRootProps<false>> | undefined;
63
+ declare const SelectPropsContext: react152.Context<Partial<SelectRootProps<false>> | undefined>, useSelectPropsContext: () => Partial<SelectRootProps<false>> | undefined;
62
64
  /**
63
65
  * `Select` is a component used for allowing a user to choose one option from a list.
64
66
  *
@@ -2,7 +2,7 @@ import { ComponentSlotStyle } from "../../core/system/index.types.js";
2
2
  import "../../index.js";
3
3
 
4
4
  //#region src/components/select/select.style.d.ts
5
- declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "group" | "separator" | "icon" | "root" | "field" | "indicator" | "valueText", {
5
+ declare const selectStyle: ComponentSlotStyle<"label" | "option" | "content" | "group" | "separator" | "icon" | "root" | "indicator" | "field" | "valueText", {
6
6
  /**
7
7
  * If `true`, wrap the value text.
8
8
  *